fuzz_target_init:
   90|      2|{
   91|      2|    (void)argc;
   92|      2|    (void)argv;
   93|      2|    fuzz_init_r();
   94|       |
   95|       |    /* Reusable text container -- each iteration swaps its CHARSXP. */
   96|      2|    Rf_protect(x_text = Rf_allocVector(STRSXP, 1));
  ------------------
  |  |  126|      2|#define STRSXP	    16	  /* string vectors */
  ------------------
   97|       |
   98|     34|    for (int i = 0; i < N_CALLS; i++) {
  ------------------
  |  |   30|     34|#define N_CALLS 16
  ------------------
  |  Branch (98:21): [True: 32, False: 2]
  ------------------
   99|     32|        SEXP wrapper;
  100|     32|        Rf_protect(wrapper = fuzz_make_wrapper(sources[i]));
  101|     32|        Rf_protect(calls[i] = Rf_lang2(wrapper, x_text));
  102|     32|    }
  103|       |
  104|      2|    fuzz_label_calls(calls, N_CALLS);
  ------------------
  |  |   30|      2|#define N_CALLS 16
  ------------------
  105|       |
  106|       |    /* Warmup: load grDevices and the colour name table. */
  107|      2|    SET_STRING_ELT(x_text, 0, Rf_mkChar("red\n#FF000080\n3\n0.5\ntransparent"));
  108|     34|    for (int i = 0; i < N_CALLS; i++)
  ------------------
  |  |   30|     34|#define N_CALLS 16
  ------------------
  |  Branch (108:21): [True: 32, False: 2]
  ------------------
  109|     32|        fuzz_eval_silent(calls[i], R_GlobalEnv);
  110|       |
  111|      2|    return 0;
  112|      2|}
fuzz_target_run:
  115|  3.90k|{
  116|  3.90k|    if (size < 2 || size > FUZZ_MAX_INPUT || memchr(data + 1, '\0', size - 1))
  ------------------
  |  |   29|  7.79k|#define FUZZ_MAX_INPUT (1024 * 16)
  ------------------
  |  Branch (116:9): [True: 4, False: 3.89k]
  |  Branch (116:21): [True: 0, False: 3.89k]
  |  Branch (116:46): [True: 1, False: 3.89k]
  ------------------
  117|      5|        return 0;
  118|       |
  119|  3.89k|    char buffer[FUZZ_MAX_INPUT];
  120|  3.89k|    memcpy(buffer, data + 1, size - 1);
  121|  3.89k|    buffer[size - 1] = '\0';
  122|  3.89k|    if (!fuzz_set_string(x_text, buffer))
  ------------------
  |  Branch (122:9): [True: 0, False: 3.89k]
  ------------------
  123|      0|        return 0;
  124|       |
  125|  3.89k|    fuzz_eval_silent(calls[data[0] % N_CALLS], R_GlobalEnv);
  ------------------
  |  |   30|  3.89k|#define N_CALLS 16
  ------------------
  126|  3.89k|    return 0;
  127|  3.89k|}

LLVMFuzzerInitialize:
  989|      2|{
  990|      2|#ifdef FUZZ_ENGINE_LIBFUZZER
  991|      2|    fuzz_split_exec_time_scaling(argc, argv);
  992|      2|#endif
  993|       |
  994|       |    /* libFuzzer parses this itself; the alarm wrapper needs the value. */
  995|     13|    for (int i = 1; i < *argc; i++) {
  ------------------
  |  Branch (995:21): [True: 11, False: 2]
  ------------------
  996|     11|        const char *arg = (*argv)[i];
  997|     11|        if (strncmp(arg, "-timeout=", 9) == 0)
  ------------------
  |  Branch (997:13): [True: 2, False: 9]
  ------------------
  998|      2|            fuzz_alarm.timeout = atoi(arg + 9);
  999|     11|    }
 1000|       |
 1001|      2|    fuzz_init_job_t job = { argc, argv, 0 };
 1002|      2|    fuzz_run_on_r_thread(fuzz_do_target_init, &job);
 1003|      2|    return job.result;
 1004|      2|}
LLVMFuzzerTestOneInput:
 1007|  3.90k|{
 1008|  3.90k|    fuzz_alarm_wrap();
 1009|       |
 1010|  3.90k|    fuzz_run_job_t job = { data, size, 0 };
 1011|  3.90k|    fuzz_run_on_r_thread(fuzz_do_target_run, &job);
 1012|  3.90k|    return job.result;
 1013|  3.90k|}
colors.c:fuzz_split_exec_time_scaling:
  958|      2|{
  959|      9|    for (int i = 1; i < *argc; i++) {
  ------------------
  |  Branch (959:21): [True: 8, False: 1]
  ------------------
  960|      8|        if (strncmp((*argv)[i], FUZZ_EXEC_TIME_FLAG,
  ------------------
  |  |  952|      8|#define FUZZ_EXEC_TIME_FLAG "-entropic_scale_per_exec_time="
  ------------------
  |  Branch (960:13): [True: 1, False: 7]
  ------------------
  961|      8|                    strlen(FUZZ_EXEC_TIME_FLAG)) == 0)
  ------------------
  |  |  952|      8|#define FUZZ_EXEC_TIME_FLAG "-entropic_scale_per_exec_time="
  ------------------
  962|      1|            return;
  963|      8|    }
  964|       |
  965|       |    /* Not rand(): unseeded, it gives every session the same answer. */
  966|      1|    unsigned char coin;
  967|      1|    FILE *urandom = fopen("/dev/urandom", "rb");
  968|      1|    if (urandom == NULL || fread(&coin, 1, 1, urandom) != 1)
  ------------------
  |  Branch (968:9): [True: 0, False: 1]
  |  Branch (968:28): [True: 0, False: 1]
  ------------------
  969|      0|        coin = (unsigned char)getpid();
  970|      1|    if (urandom != NULL)
  ------------------
  |  Branch (970:9): [True: 1, False: 0]
  ------------------
  971|      1|        fclose(urandom);
  972|       |
  973|      1|    fuzz_split_argv = malloc((*argc + 2) * sizeof(char *));
  974|      1|    if (fuzz_split_argv == NULL)
  ------------------
  |  Branch (974:9): [True: 0, False: 1]
  ------------------
  975|      0|        return;
  976|      1|    memcpy(fuzz_split_argv, *argv, *argc * sizeof(char *));
  977|      1|    fuzz_split_argv[*argc] = (coin & 1) ? FUZZ_EXEC_TIME_FLAG "1"
  ------------------
  |  |  952|      0|#define FUZZ_EXEC_TIME_FLAG "-entropic_scale_per_exec_time="
  ------------------
  |  Branch (977:30): [True: 0, False: 1]
  ------------------
  978|      1|                                        : FUZZ_EXEC_TIME_FLAG "0";
  ------------------
  |  |  952|      1|#define FUZZ_EXEC_TIME_FLAG "-entropic_scale_per_exec_time="
  ------------------
  979|      1|    fuzz_split_argv[*argc + 1] = NULL;
  980|       |
  981|       |    fprintf(stderr, "fuzz: this session runs with %s\n",
  982|      1|            fuzz_split_argv[*argc]);
  983|      1|    *argv = fuzz_split_argv;
  984|      1|    (*argc)++;
  985|      1|}
colors.c:fuzz_run_on_r_thread:
  559|  3.90k|{
  560|  3.90k|    if (!fuzz_r_thread.started) {
  ------------------
  |  Branch (560:9): [True: 2, False: 3.90k]
  ------------------
  561|      2|        static int atfork_registered = 0;
  562|      2|        if (!atfork_registered) {
  ------------------
  |  Branch (562:13): [True: 2, False: 0]
  ------------------
  563|      2|            if (pthread_atfork(NULL, NULL, fuzz_r_thread_forget) != 0) {
  ------------------
  |  Branch (563:17): [True: 0, False: 2]
  ------------------
  564|      0|                fprintf(stderr, "fuzz: cannot register the fork handler\n");
  565|      0|                abort();
  566|      0|            }
  567|      2|            atfork_registered = 1;
  568|      2|        }
  569|       |
  570|      2|        pthread_attr_t attr;
  571|      2|        if (pthread_attr_init(&attr) != 0 ||
  ------------------
  |  Branch (571:13): [True: 0, False: 2]
  ------------------
  572|      2|            pthread_attr_setstacksize(&attr, FUZZ_R_STACK_SIZE) != 0 ||
  ------------------
  |  |  174|      2|# define FUZZ_R_STACK_SIZE ((size_t)1 << 30)
  ------------------
  |  Branch (572:13): [True: 0, False: 2]
  ------------------
  573|      2|            pthread_create(&fuzz_r_thread.thread, &attr,
  ------------------
  |  Branch (573:13): [True: 0, False: 2]
  ------------------
  574|      2|                           fuzz_r_thread_main, NULL) != 0) {
  575|      0|            fprintf(stderr, "fuzz: cannot start the R thread\n");
  576|      0|            abort();
  577|      0|        }
  578|      2|        pthread_attr_destroy(&attr);
  579|      2|        fuzz_r_thread.started = 1;
  580|      2|    }
  581|       |
  582|  3.90k|    if (fuzz_on_r_thread()) {
  ------------------
  |  Branch (582:9): [True: 0, False: 3.90k]
  ------------------
  583|      0|        fn(arg);
  584|      0|        return;
  585|      0|    }
  586|       |
  587|  3.90k|    fuzz_job_t job = { fn, arg };
  588|  3.90k|    if (atomic_fetch_add(&fuzz_alarm.input, 1) + 1 == 0)
  ------------------
  |  Branch (588:9): [True: 0, False: 3.90k]
  ------------------
  589|  3.90k|        atomic_fetch_add(&fuzz_alarm.input, 1);  /* wrapped past 0, which is none */
  590|       |
  591|  3.90k|    pthread_mutex_lock(&fuzz_r_thread.mutex);
  592|  3.90k|    fuzz_r_thread.job = &job;
  593|  3.90k|    pthread_cond_broadcast(&fuzz_r_thread.cond);
  594|  7.80k|    while (fuzz_r_thread.job != NULL)
  ------------------
  |  Branch (594:12): [True: 3.90k, False: 3.90k]
  ------------------
  595|  3.90k|        pthread_cond_wait(&fuzz_r_thread.cond, &fuzz_r_thread.mutex);
  596|  3.90k|    pthread_mutex_unlock(&fuzz_r_thread.mutex);
  597|       |
  598|       |    /* Idle again: ticks count, and libFuzzer's clock for the next input
  599|       |     * starts after this. */
  600|  3.90k|    atomic_store(&fuzz_alarm.finishing, 0);
  601|       |    clock_gettime(CLOCK_REALTIME, &fuzz_alarm.armed);
  602|  3.90k|}
colors.c:fuzz_r_thread_main:
  499|      2|{
  500|      2|    (void)unused;
  501|       |    /* The frame address rather than a local's: under ASAN an address-taken
  502|       |     * local may sit on the fake stack, nowhere near this thread's stack.
  503|       |     * R_CStackStart matters only once R is initialized; fuzz_init_r()
  504|       |     * sets it again after Rf_initialize_R has overwritten it. */
  505|      2|    fuzz_r_thread.stack_top = (uintptr_t)__builtin_frame_address(0);
  506|      2|    R_CStackStart = fuzz_r_thread.stack_top;
  507|       |
  508|       |    /* libFuzzer's -timeout alarm is acted on only by the thread running
  509|       |     * its loop (the main thread); delivered here it would be ignored and
  510|       |     * the input would run on.  Block it so the kernel cannot pick this
  511|       |     * thread; fuzz_alarm_handler below gets this thread's stack into the
  512|       |     * timeout report instead. */
  513|      2|    sigset_t alarm;
  514|      2|    sigemptyset(&alarm);
  515|      2|    sigaddset(&alarm, SIGALRM);
  516|      2|    pthread_sigmask(SIG_BLOCK, &alarm, NULL);
  517|       |
  518|      2|    pthread_mutex_lock(&fuzz_r_thread.mutex);
  519|  3.90k|    for (;;) {
  520|  7.80k|        while (fuzz_r_thread.job == NULL)
  ------------------
  |  Branch (520:16): [True: 3.90k, False: 3.90k]
  ------------------
  521|  3.90k|            pthread_cond_wait(&fuzz_r_thread.cond, &fuzz_r_thread.mutex);
  522|  3.90k|        fuzz_job_t *job = fuzz_r_thread.job;
  523|  3.90k|        pthread_mutex_unlock(&fuzz_r_thread.mutex);
  524|       |
  525|  3.90k|        clock_gettime(CLOCK_REALTIME, &fuzz_alarm.started);
  526|  3.90k|        atomic_store(&fuzz_alarm.running, 1);
  527|  3.90k|        job->fn(job->arg);
  528|  3.90k|        atomic_store(&fuzz_alarm.running, 0);
  529|       |
  530|  3.90k|        pthread_mutex_lock(&fuzz_r_thread.mutex);
  531|  3.90k|        fuzz_r_thread.job = NULL;
  532|  3.90k|        pthread_cond_broadcast(&fuzz_r_thread.cond);
  533|  3.90k|    }
  534|       |    return NULL;
  535|      2|}
colors.c:fuzz_on_r_thread:
  538|  3.90k|{
  539|  3.90k|    return fuzz_r_thread.started &&
  ------------------
  |  Branch (539:12): [True: 3.90k, False: 0]
  ------------------
  540|  3.90k|           pthread_equal(pthread_self(), fuzz_r_thread.thread);
  ------------------
  |  Branch (540:12): [True: 2, False: 3.90k]
  ------------------
  541|  3.90k|}
colors.c:fuzz_do_target_init:
  922|      2|{
  923|      2|    fuzz_init_job_t *job = data;
  924|      2|    job->result = fuzz_target_init(job->argc, job->argv);
  925|      2|}
colors.c:fuzz_alarm_wrap:
  473|  3.90k|{
  474|  3.90k|    if (fuzz_alarm.wrapped)
  ------------------
  |  Branch (474:9): [True: 3.90k, False: 1]
  ------------------
  475|  3.90k|        return;
  476|      1|    fuzz_alarm.wrapped = 1;
  477|       |
  478|      1|    struct sigaction current;
  479|      1|    if (sigaction(SIGALRM, NULL, &current) != 0 ||
  ------------------
  |  Branch (479:9): [True: 0, False: 1]
  ------------------
  480|      1|        !(current.sa_flags & SA_SIGINFO) || current.sa_sigaction == NULL)
  ------------------
  |  Branch (480:9): [True: 0, False: 1]
  |  Branch (480:45): [True: 0, False: 1]
  ------------------
  481|      0|        return;  /* no alarm: AFL++'s driver, -timeout=0, tests */
  482|       |
  483|      1|    struct sigaction dump;
  484|      1|    memset(&dump, 0, sizeof dump);
  485|      1|    dump.sa_sigaction = fuzz_dump_handler;
  486|      1|    dump.sa_flags = SA_SIGINFO;
  487|      1|    sigemptyset(&dump.sa_mask);
  488|      1|    if (sigaction(FUZZ_DUMP_SIGNAL, &dump, NULL) != 0)
  ------------------
  |  |  246|      1|# define FUZZ_DUMP_SIGNAL SIGRTMIN   /* untouched by libFuzzer, glibc and R */
  ------------------
  |  Branch (488:9): [True: 0, False: 1]
  ------------------
  489|      0|        return;
  490|       |
  491|      1|    fuzz_alarm.chain = current;
  492|      1|    struct sigaction wrapper = current;
  493|      1|    wrapper.sa_sigaction = fuzz_alarm_handler;
  494|      1|    if (sigaction(SIGALRM, &wrapper, NULL) != 0)
  ------------------
  |  Branch (494:9): [True: 0, False: 1]
  ------------------
  495|      0|        sigaction(FUZZ_DUMP_SIGNAL, &(struct sigaction){ .sa_handler = SIG_DFL }, NULL);
  ------------------
  |  |  246|      0|# define FUZZ_DUMP_SIGNAL SIGRTMIN   /* untouched by libFuzzer, glibc and R */
  ------------------
  496|      1|}
colors.c:fuzz_alarm_handler:
  424|      3|{
  425|      3|    if (atomic_load(&fuzz_alarm.finishing))
  ------------------
  |  Branch (425:9): [True: 0, False: 3]
  ------------------
  426|      0|        return;
  427|       |
  428|      3|    if (atomic_load(&fuzz_alarm.running) &&
  ------------------
  |  Branch (428:9): [True: 3, False: 0]
  ------------------
  429|      3|        fuzz_seconds_since(&fuzz_alarm.armed) >= fuzz_alarm.timeout - 1) {
  ------------------
  |  Branch (429:9): [True: 0, False: 3]
  ------------------
  430|      0|        struct timespec tick = { 0, fuzz_alarm.poll_ns };
  431|       |
  432|       |        /* Hold until the input is out of time by its own clock as well;
  433|       |         * one that finishes first, even in the last sleep, was within
  434|       |         * its time.  The clock is read before the input is looked at, so
  435|       |         * an input seen running was running at a moment past the
  436|       |         * timeout, whatever delay falls between the two. */
  437|      0|        for (;;) {
  438|      0|            long age = fuzz_seconds_since(&fuzz_alarm.started);
  439|      0|            if (!atomic_load(&fuzz_alarm.running)) {
  ------------------
  |  Branch (439:17): [True: 0, False: 0]
  ------------------
  440|      0|                atomic_store(&fuzz_alarm.finishing, 1);
  441|      0|                return;
  442|      0|            }
  443|      0|            if (age >= fuzz_alarm.timeout)
  ------------------
  |  Branch (443:17): [True: 0, False: 0]
  ------------------
  444|      0|                break;
  445|      0|            nanosleep(&tick, NULL);
  446|      0|        }
  447|       |
  448|      0|        unsigned input = atomic_load(&fuzz_alarm.input);
  449|      0|        if (atomic_load(&fuzz_alarm.requested) != input) {
  ------------------
  |  Branch (449:13): [True: 0, False: 0]
  ------------------
  450|      0|            atomic_store(&fuzz_alarm.requested, input);
  451|      0|            fuzz_write_stderr("==fuzz== R thread, where the input is running:\n");
  452|      0|            if (pthread_kill(fuzz_r_thread.thread, FUZZ_DUMP_SIGNAL) != 0)
  ------------------
  |  |  246|      0|# define FUZZ_DUMP_SIGNAL SIGRTMIN   /* untouched by libFuzzer, glibc and R */
  ------------------
  |  Branch (452:17): [True: 0, False: 0]
  ------------------
  453|      0|                atomic_store(&fuzz_alarm.done, input);
  454|      0|        }
  455|       |
  456|       |        /* Symbolizing takes a moment; a thread that never answers (stuck
  457|       |         * in the allocator, say) must not hold up the report, and an
  458|       |         * input finishing now is reported all the same: it was out of
  459|       |         * time already. */
  460|      0|        for (int i = 0; i < 5000; i++) {
  ------------------
  |  Branch (460:25): [True: 0, False: 0]
  ------------------
  461|      0|            if (atomic_load(&fuzz_alarm.done) == input ||
  ------------------
  |  Branch (461:17): [True: 0, False: 0]
  ------------------
  462|      0|                !atomic_load(&fuzz_alarm.running))
  ------------------
  |  Branch (462:17): [True: 0, False: 0]
  ------------------
  463|      0|                break;
  464|      0|            nanosleep(&tick, NULL);
  465|      0|        }
  466|      0|    }
  467|      3|    fuzz_alarm.chain.sa_sigaction(sig, info, context);
  468|      3|}
colors.c:fuzz_seconds_since:
  412|      3|{
  413|      3|    struct timespec now;
  414|      3|    clock_gettime(CLOCK_REALTIME, &now);
  415|       |
  416|      3|    long seconds = now.tv_sec - then->tv_sec;
  417|      3|    if (now.tv_nsec < then->tv_nsec)
  ------------------
  |  Branch (417:9): [True: 1, False: 2]
  ------------------
  418|      1|        seconds--;
  419|      3|    return seconds;
  420|      3|}
colors.c:fuzz_do_target_run:
  934|  3.90k|{
  935|  3.90k|    fuzz_run_job_t *job = data;
  936|  3.90k|    atomic_store(&fuzz_label_current, -1);
  937|  3.90k|    job->result = fuzz_target_run(job->data, job->size);
  938|       |    atomic_store(&fuzz_label_current, -1);
  939|  3.90k|}
colors.c:fuzz_init_r:
  615|      2|{
  616|      2|    if (!fuzz_on_r_thread()) {
  ------------------
  |  Branch (616:9): [True: 0, False: 2]
  ------------------
  617|      0|        fprintf(stderr, "fuzz_init_r: must run on the R thread "
  618|      0|                        "(define fuzz_target_init, not LLVMFuzzerInitialize)\n");
  619|      0|        abort();
  620|      0|    }
  621|       |
  622|      2|    fuzz_set_r_home();
  623|      2|    fuzz_set_vsize_limit();
  624|       |
  625|       |    /* GC consistency failures ("untraced old-to-new reference", a node
  626|       |     * with a bad type) are memory corruption, not input errors.  R's
  627|       |     * default is to report and carry on; this makes gc_error() fatal
  628|       |     * (through R_Suicide, which instrumentation/0004 turns into abort)
  629|       |     * so they surface as crashes at the collection that found them. */
  630|      2|    if (getenv("_R_GC_FAIL_ON_ERROR_") == NULL)
  ------------------
  |  Branch (630:9): [True: 1, False: 1]
  ------------------
  631|      1|        setenv("_R_GC_FAIL_ON_ERROR_", "yes", 1);
  632|       |
  633|       |    /* R's SIGSEGV/SIGILL/etc. handlers enter an interactive recovery
  634|       |     * prompt instead of crashing, which would hang the fuzzer.  Telling
  635|       |     * R not to install them (rather than resetting to SIG_DFL after
  636|       |     * init) keeps the sanitizers' own handlers in place, so wild-pointer
  637|       |     * faults still get full ASAN reports and clean deduplication. */
  638|      2|    R_SignalHandlers = 0;
  639|       |
  640|       |    /* The two halves of Rf_initEmbeddedR, with the C stack check fixed
  641|       |     * up in between.  On Linux Rf_initialize_R takes R_CStackStart from
  642|       |     * __libc_stack_end, the main thread's stack, so from this thread
  643|       |     * every R_CheckStack() while setup_Rmainloop loads base would see
  644|       |     * terabytes of usage and R would abort ("unable to initialize the
  645|       |     * JIT").  macOS never sets it when embedded, which hides this
  646|       |     * locally.  Switch the check off for startup, then measure against
  647|       |     * this thread: R_CheckStack() fires as an ordinary R error at
  648|       |     * FUZZ_R_CSTACK_LIMIT (see there for why it is not the whole stack).
  649|       |     * setup_Rmainloop itself would turn any limit above 100 MB into
  650|       |     * "unlimited", hence setting it after. */
  651|      2|    char *r_argv[] = {"R", "--vanilla", "--no-echo", "--no-restore"};
  652|      2|    int r_argc = sizeof(r_argv) / sizeof(r_argv[0]);
  653|      2|    Rf_initialize_R(r_argc, r_argv);
  654|      2|    R_CStackStart = fuzz_r_thread.stack_top;
  655|      2|    R_CStackLimit = (uintptr_t)-1;
  656|      2|    R_Interactive = TRUE;   /* as Rf_initEmbeddedR */
  657|      2|    setup_Rmainloop();
  658|      2|    R_CStackLimit = FUZZ_R_CSTACK_LIMIT;
  ------------------
  |  |  191|      2|# define FUZZ_R_CSTACK_LIMIT ((uintptr_t)48 << 20)
  ------------------
  659|       |
  660|      2|    fuzz_suppress_warnings();
  661|      2|}
colors.c:fuzz_set_r_home:
   71|      2|{
   72|       |    /* Skip if R_HOME is already set (e.g., for local testing) */
   73|      2|    if (getenv("R_HOME") != NULL)
  ------------------
  |  Branch (73:9): [True: 1, False: 1]
  ------------------
   74|      1|        return;
   75|       |
   76|      1|    char exe[PATH_MAX];
   77|      1|    ssize_t len = readlink("/proc/self/exe", exe, sizeof(exe) - 1);
   78|      1|    if (len <= 0)
  ------------------
  |  Branch (78:9): [True: 0, False: 1]
  ------------------
   79|      0|        return;
   80|      1|    exe[len] = '\0';
   81|       |
   82|       |    /* Find the directory containing the binary */
   83|      1|    char *slash = strrchr(exe, '/');
   84|      1|    if (slash == NULL)
  ------------------
  |  Branch (84:9): [True: 0, False: 1]
  ------------------
   85|      0|        return;
   86|      1|    *slash = '\0';
   87|       |
   88|      1|    char r_home[PATH_MAX];
   89|      1|    snprintf(r_home, sizeof(r_home), "%s/r-install/lib/R", exe);
   90|      1|    setenv("R_HOME", r_home, 1);
   91|      1|}
colors.c:fuzz_set_vsize_limit:
  135|      2|{
  136|      2|    if (getenv("R_MAX_VSIZE") == NULL)
  ------------------
  |  Branch (136:9): [True: 1, False: 1]
  ------------------
  137|      1|        setenv("R_MAX_VSIZE", FUZZ_R_MAX_VSIZE, 1);
  ------------------
  |  |  131|      1|# define FUZZ_R_MAX_VSIZE "1Gb"
  ------------------
  138|      2|}
colors.c:fuzz_suppress_warnings:
   53|      2|{
   54|      2|    int error = 0;
   55|      2|    SEXP warn_call;
   56|      2|    Rf_protect(warn_call = Rf_lang2(Rf_install("options"),
   57|      2|                                    Rf_ScalarInteger(-1)));
   58|      2|    SET_TAG(CDR(warn_call), Rf_install("warn"));
   59|      2|    R_tryEval(warn_call, R_GlobalEnv, &error);
   60|      2|    Rf_unprotect(1);
   61|      2|}
colors.c:fuzz_make_wrapper:
  738|     32|{
  739|     32|    ParseStatus status;
  740|     32|    SEXP text, parsed, wrapper;
  741|     32|    Rf_protect(text = Rf_mkString(source));
  742|     32|    Rf_protect(parsed = R_ParseVector(text, -1, &status, R_NilValue));
  743|     32|    if (status != PARSE_OK || XLENGTH(parsed) != 1)
  ------------------
  |  Branch (743:9): [True: 0, False: 32]
  |  Branch (743:31): [True: 0, False: 32]
  ------------------
  744|      0|        abort();
  745|       |
  746|     32|    wrapper = Rf_eval(VECTOR_ELT(parsed, 0), R_GlobalEnv);
  747|     32|    Rf_unprotect(2);
  748|     32|    return wrapper;
  749|     32|}
colors.c:fuzz_label_calls:
  375|      2|{
  376|     34|    for (int i = 0; i < n; i++)
  ------------------
  |  Branch (376:21): [True: 32, False: 2]
  ------------------
  377|     32|        fuzz_label_call(calls[i], i, n);
  378|      2|}
colors.c:fuzz_label_call:
  333|     32|{
  334|     32|    if (call == NULL || call == R_NilValue)
  ------------------
  |  Branch (334:9): [True: 0, False: 32]
  |  Branch (334:25): [True: 0, False: 32]
  ------------------
  335|      0|        return;
  336|       |
  337|       |    /* A call shared by several slots (run under different settings, say)
  338|       |     * keeps one label naming them all. */
  339|    272|    for (int i = 0; i < fuzz_n_labels; i++) {
  ------------------
  |  Branch (339:21): [True: 240, False: 32]
  ------------------
  340|    240|        if (fuzz_labels[i].call != call)
  ------------------
  |  Branch (340:13): [True: 240, False: 0]
  ------------------
  341|    240|            continue;
  342|      0|        char *old = fuzz_labels[i].text;
  343|      0|        char *of = strstr(old, " of ");  /* "==fuzz== slot 7 of 9:" */
  344|      0|        size_t size = strlen(old) + 32;
  345|      0|        char *buf = malloc(size);
  346|      0|        if (of == NULL || buf == NULL) {
  ------------------
  |  Branch (346:13): [True: 0, False: 0]
  |  Branch (346:27): [True: 0, False: 0]
  ------------------
  347|      0|            free(buf);
  348|      0|            return;
  349|      0|        }
  350|      0|        snprintf(buf, size, "%.*s, %d%s", (int)(of - old), old, slot, of);
  351|      0|        fuzz_labels[i].text = buf;
  352|      0|        free(old);
  353|      0|        return;
  354|      0|    }
  355|     32|    if (fuzz_n_labels == FUZZ_MAX_LABELS)
  ------------------
  |  |  285|     32|#define FUZZ_MAX_LABELS 128
  ------------------
  |  Branch (355:9): [True: 0, False: 32]
  ------------------
  356|      0|        return;
  357|       |
  358|     32|    char *buf = malloc(FUZZ_LABEL_MAX);
  ------------------
  |  |  286|     32|#define FUZZ_LABEL_MAX 4096
  ------------------
  359|     32|    if (buf == NULL)
  ------------------
  |  Branch (359:9): [True: 0, False: 32]
  ------------------
  360|      0|        return;
  361|     32|    int n = snprintf(buf, FUZZ_LABEL_MAX, "==fuzz== slot %d of %d:\n", slot, n_slots);
  ------------------
  |  |  286|     32|#define FUZZ_LABEL_MAX 4096
  ------------------
  362|       |
  363|       |    /* A failed deparse leaves the header alone. */
  364|     32|    fuzz_deparse_job_t job = { call, buf, (size_t)n };
  365|     32|    R_ToplevelExec(fuzz_do_deparse, &job);
  366|       |
  367|     32|    fuzz_labels[fuzz_n_labels].call = call;
  368|     32|    fuzz_labels[fuzz_n_labels].text = buf;
  369|     32|    fuzz_n_labels++;
  370|     32|}
colors.c:fuzz_do_deparse:
  317|     32|{
  318|     32|    fuzz_deparse_job_t *job = data;
  319|     32|    SEXP quoted, expr, lines;
  320|     32|    Rf_protect(quoted = Rf_lang2(R_QuoteSymbol, job->call));
  321|     32|    Rf_protect(expr = Rf_lang2(Rf_install("deparse"), quoted));
  322|     32|    Rf_protect(lines = Rf_eval(expr, R_BaseEnv));
  323|    258|    for (R_xlen_t i = 0; i < XLENGTH(lines); i++) {
  ------------------
  |  Branch (323:26): [True: 226, False: 32]
  ------------------
  324|    226|        if (!fuzz_label_append_line(job, CHAR(STRING_ELT(lines, i)))) {
  ------------------
  |  |  203|    226|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (324:13): [True: 0, False: 226]
  ------------------
  325|      0|            memcpy(job->buf + job->len, "    ...\n", sizeof "    ...\n");
  326|      0|            break;
  327|      0|        }
  328|    226|    }
  329|     32|    Rf_unprotect(3);
  330|     32|}
colors.c:fuzz_label_append_line:
  304|    226|{
  305|    226|    size_t n = strlen(line);
  306|    226|    if (job->len + 4 + n + 1 >= FUZZ_LABEL_MAX - sizeof "    ...\n")
  ------------------
  |  |  286|    226|#define FUZZ_LABEL_MAX 4096
  ------------------
  |  Branch (306:9): [True: 0, False: 226]
  ------------------
  307|      0|        return 0;
  308|    226|    memcpy(job->buf + job->len, "    ", 4);
  309|    226|    memcpy(job->buf + job->len + 4, line, n);
  310|    226|    job->buf[job->len + 4 + n] = '\n';
  311|    226|    job->len += 4 + n + 1;
  312|    226|    job->buf[job->len] = '\0';
  313|    226|    return 1;
  314|    226|}
colors.c:fuzz_eval_silent:
  686|  3.92k|{
  687|  3.92k|    int error = 0;
  688|  3.92k|    fuzz_label_enter(call);
  689|       |#ifdef FUZZ_PRINT_ERRORS
  690|       |    R_tryEval(call, env, &error);
  691|       |#else
  692|  3.92k|    R_tryEvalSilent(call, env, &error);
  693|  3.92k|#endif
  694|  3.92k|}
colors.c:fuzz_label_enter:
  382|  3.92k|{
  383|  3.92k|    int found = -1;
  384|  34.6k|    for (int i = 0; i < fuzz_n_labels; i++) {
  ------------------
  |  Branch (384:21): [True: 34.6k, False: 0]
  ------------------
  385|  34.6k|        if (fuzz_labels[i].call == call) {
  ------------------
  |  Branch (385:13): [True: 3.92k, False: 30.6k]
  ------------------
  386|  3.92k|            found = i;
  387|  3.92k|            break;
  388|  3.92k|        }
  389|  34.6k|    }
  390|       |    atomic_store(&fuzz_label_current, found);
  391|  3.92k|}
colors.c:fuzz_set_string:
  717|  3.89k|{
  718|  3.89k|    fuzz_string_data_t sd = { vec, str };
  719|  3.89k|    return R_ToplevelExec(fuzz_do_set_string, &sd);
  720|  3.89k|}
colors.c:fuzz_do_set_string:
  711|  3.89k|{
  712|  3.89k|    fuzz_string_data_t *sd = (fuzz_string_data_t *)data;
  713|  3.89k|    SET_STRING_ELT(sd->vec, 0, Rf_mkChar(sd->str));
  714|  3.89k|}

tre_regcompb:
  135|  1.43k|{
  136|  1.43k|  int ret;
  137|  1.43k|  tre_char_t *wregex;
  138|  1.43k|  size_t wlen, n = strlen(regex);
  139|  1.43k|  unsigned int i;
  140|  1.43k|  const unsigned char *str = (const unsigned char *)regex;
  141|  1.43k|  tre_char_t *wstr;
  142|       |
  143|  1.43k|  wregex = xmalloc(sizeof(tre_char_t) * (n + 1));
  ------------------
  |  |   67|  1.43k|#define xmalloc(size) malloc(size)
  ------------------
  144|  1.43k|  if (wregex == NULL) return REG_ESPACE;
  ------------------
  |  Branch (144:7): [True: 0, False: 1.43k]
  ------------------
  145|  1.43k|  wstr = wregex;
  146|       |
  147|  33.9k|  for (i = 0; i < n; i++) *(wstr++) = *(str++);
  ------------------
  |  Branch (147:15): [True: 32.5k, False: 1.43k]
  ------------------
  148|  1.43k|  wlen = n;
  149|  1.43k|  wregex[wlen] = L'\0';
  150|  1.43k|  ret = tre_compile(preg, wregex, wlen, cflags | REG_USEBYTES);
  ------------------
  |  |  109|  1.43k|#define REG_USEBYTES    (REG_UNGREEDY << 1)
  |  |  ------------------
  |  |  |  |  107|  1.43k|#define REG_UNGREEDY    (REG_RIGHT_ASSOC << 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  106|  1.43k|#define REG_RIGHT_ASSOC (REG_LITERAL << 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  105|  1.43k|#define REG_LITERAL	(REG_NOSUB << 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  101|  1.43k|#define REG_NOSUB	(REG_NEWLINE << 1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  100|  1.43k|#define REG_NEWLINE	(REG_ICASE << 1)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   99|  1.43k|#define REG_ICASE	(REG_EXTENDED << 1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |   98|  1.43k|#define REG_EXTENDED	1
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  151|  1.43k|  xfree(wregex);
  ------------------
  |  |   69|  1.43k|#define xfree(ptr) free(ptr)
  ------------------
  152|  1.43k|  return ret;
  153|  1.43k|}
tre_regfree:
  172|  1.43k|{
  173|  1.43k|  tre_free(preg);
  174|  1.43k|}

tre_fill_pmatch:
   62|   108k|{
   63|   108k|  tre_submatch_data_t *submatch_data;
   64|   108k|  unsigned int i, j;
   65|   108k|  int *parents;
   66|       |
   67|   108k|  i = 0;
   68|   108k|  if (match_eo >= 0 && !(cflags & REG_NOSUB))
  ------------------
  |  |  101|   108k|#define REG_NOSUB	(REG_NEWLINE << 1)
  |  |  ------------------
  |  |  |  |  100|   108k|#define REG_NEWLINE	(REG_ICASE << 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |   99|   108k|#define REG_ICASE	(REG_EXTENDED << 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   98|   108k|#define REG_EXTENDED	1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (68:7): [True: 108k, False: 0]
  |  Branch (68:24): [True: 108k, False: 348]
  ------------------
   69|   108k|    {
   70|       |      /* Construct submatch offsets from the tags. */
   71|   108k|      DPRINT(("end tag = t%d = %d\n", tnfa->end_tag, match_eo));
  ------------------
  |  |   27|   108k|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 108k]
  |  |  ------------------
  ------------------
   72|   108k|      submatch_data = tnfa->submatch_data;
   73|   217k|      while (i < tnfa->num_submatches && i < nmatch)
  ------------------
  |  Branch (73:14): [True: 108k, False: 108k]
  |  Branch (73:42): [True: 108k, False: 0]
  ------------------
   74|   108k|	{
   75|   108k|	  if (submatch_data[i].so_tag == tnfa->end_tag)
  ------------------
  |  Branch (75:8): [True: 0, False: 108k]
  ------------------
   76|      0|	    pmatch[i].rm_so = match_eo;
   77|   108k|	  else
   78|   108k|	    pmatch[i].rm_so = tags[submatch_data[i].so_tag];
   79|       |
   80|   108k|	  if (submatch_data[i].eo_tag == tnfa->end_tag)
  ------------------
  |  Branch (80:8): [True: 108k, False: 6]
  ------------------
   81|   108k|	    pmatch[i].rm_eo = match_eo;
   82|      6|	  else
   83|      6|	    pmatch[i].rm_eo = tags[submatch_data[i].eo_tag];
   84|       |
   85|       |	  /* If either of the endpoints were not used, this submatch
   86|       |	     was not part of the match. */
   87|   108k|	  if (pmatch[i].rm_so == -1 || pmatch[i].rm_eo == -1)
  ------------------
  |  Branch (87:8): [True: 2, False: 108k]
  |  Branch (87:33): [True: 0, False: 108k]
  ------------------
   88|      2|	    pmatch[i].rm_so = pmatch[i].rm_eo = -1;
   89|       |
   90|   108k|	  DPRINT(("pmatch[%d] = {t%d = %d, t%d = %d}\n", i,
  ------------------
  |  |   27|   108k|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 108k]
  |  |  ------------------
  ------------------
   91|   108k|		  submatch_data[i].so_tag, pmatch[i].rm_so,
   92|   108k|		  submatch_data[i].eo_tag, pmatch[i].rm_eo));
   93|   108k|	  i++;
   94|   108k|	}
   95|       |      /* Reset all submatches that are not within all of their parent
   96|       |	 submatches. */
   97|   108k|      i = 0;
   98|   217k|      while (i < tnfa->num_submatches && i < nmatch)
  ------------------
  |  Branch (98:14): [True: 108k, False: 108k]
  |  Branch (98:42): [True: 108k, False: 0]
  ------------------
   99|   108k|	{
  100|   108k|	  if (pmatch[i].rm_eo == -1)
  ------------------
  |  Branch (100:8): [True: 2, False: 108k]
  ------------------
  101|   108k|	    assert(pmatch[i].rm_so == -1);
  ------------------
  |  |   55|      2|#define assert(a) R_assert(a)
  |  |  ------------------
  |  |  |  |  230|      2|#define R_assert(e) ((e) ? (void) 0 : Rf_error("assertion '%s' failed in executing regexp: file '%s', line %d\n", #e, __FILE__, __LINE__))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (230:22): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  102|   108k|	  assert(pmatch[i].rm_so <= pmatch[i].rm_eo);
  ------------------
  |  |   55|   108k|#define assert(a) R_assert(a)
  |  |  ------------------
  |  |  |  |  230|   108k|#define R_assert(e) ((e) ? (void) 0 : Rf_error("assertion '%s' failed in executing regexp: file '%s', line %d\n", #e, __FILE__, __LINE__))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (230:22): [True: 108k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  103|       |
  104|   108k|	  parents = submatch_data[i].parents;
  105|   108k|	  if (parents != NULL)
  ------------------
  |  Branch (105:8): [True: 18, False: 108k]
  ------------------
  106|     36|	    for (j = 0; parents[j] >= 0; j++)
  ------------------
  |  Branch (106:18): [True: 18, False: 18]
  ------------------
  107|     18|	      {
  108|     18|		DPRINT(("pmatch[%d] parent %d\n", i, parents[j]));
  ------------------
  |  |   27|     18|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 18]
  |  |  ------------------
  ------------------
  109|     18|		if (pmatch[i].rm_so < pmatch[parents[j]].rm_so
  ------------------
  |  Branch (109:7): [True: 2, False: 16]
  ------------------
  110|     16|		    || pmatch[i].rm_eo > pmatch[parents[j]].rm_eo)
  ------------------
  |  Branch (110:10): [True: 0, False: 16]
  ------------------
  111|      2|		  pmatch[i].rm_so = pmatch[i].rm_eo = -1;
  112|     18|	      }
  113|   108k|	  i++;
  114|   108k|	}
  115|   108k|    }
  116|       |
  117|  1.08M|  while (i < nmatch)
  ------------------
  |  Branch (117:10): [True: 975k, False: 108k]
  ------------------
  118|   975k|    {
  119|   975k|      pmatch[i].rm_so = -1;
  120|   975k|      pmatch[i].rm_eo = -1;
  121|   975k|      i++;
  122|   975k|    }
  123|   108k|}
tre_regexecb:
  232|   153k|{
  233|   153k|  tre_tnfa_t *tnfa = (void *)preg->TRE_REGEX_T_FIELD;
  ------------------
  |  |   15|   153k|#define TRE_REGEX_T_FIELD value
  ------------------
  234|       |
  235|   153k|  return tre_match(tnfa, str, (unsigned)-1, STR_BYTE, nmatch, pmatch, eflags);
  236|   153k|}
regexec.c:tre_match:
  148|   153k|{
  149|   153k|  reg_errcode_t status;
  150|   153k|  int *tags = NULL, eo;
  151|   153k|  if (tnfa->num_tags > 0 && nmatch > 0)
  ------------------
  |  Branch (151:7): [True: 149k, False: 4.57k]
  |  Branch (151:29): [True: 149k, False: 0]
  ------------------
  152|   149k|    {
  153|       |#ifdef TRE_USE_ALLOCA
  154|       |      tags = alloca(sizeof(*tags) * tnfa->num_tags);
  155|       |#else /* !TRE_USE_ALLOCA */
  156|   149k|      tags = xmalloc(sizeof(*tags) * tnfa->num_tags);
  ------------------
  |  |   67|   149k|#define xmalloc(size) malloc(size)
  ------------------
  157|   149k|#endif /* !TRE_USE_ALLOCA */
  158|   149k|      if (tags == NULL)
  ------------------
  |  Branch (158:11): [True: 0, False: 149k]
  ------------------
  159|      0|	return REG_ESPACE;
  160|   149k|    }
  161|       |
  162|       |  /* Dispatch to the appropriate matcher. */
  163|   153k|  if (tnfa->have_backrefs || eflags & REG_BACKTRACKING_MATCHER)
  ------------------
  |  |  117|   153k|#define REG_BACKTRACKING_MATCHER (REG_APPROX_MATCHER << 1)
  |  |  ------------------
  |  |  |  |  116|   153k|#define REG_APPROX_MATCHER	 (REG_NOTEOL << 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  113|   153k|#define REG_NOTEOL (REG_NOTBOL << 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|   153k|#define REG_NOTBOL 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (163:7): [True: 0, False: 153k]
  |  Branch (163:30): [True: 0, False: 153k]
  ------------------
  164|      0|    {
  165|       |      /* The regex has back references, use the backtracking matcher. */
  166|      0|      if (type == STR_USER)
  ------------------
  |  Branch (166:11): [True: 0, False: 0]
  ------------------
  167|      0|	{
  168|      0|	  const tre_str_source *source = string;
  169|      0|	  if (source->rewind == NULL || source->compare == NULL) {
  ------------------
  |  Branch (169:8): [True: 0, False: 0]
  |  Branch (169:34): [True: 0, False: 0]
  ------------------
  170|       |	    /* The backtracking matcher requires rewind and compare
  171|       |	       capabilities from the input stream. */
  172|      0|#ifndef TRE_USE_ALLOCA
  173|      0|	    if (tags)
  ------------------
  |  Branch (173:10): [True: 0, False: 0]
  ------------------
  174|      0|		xfree(tags);
  ------------------
  |  |   69|      0|#define xfree(ptr) free(ptr)
  ------------------
  175|      0|#endif /* !TRE_USE_ALLOCA */
  176|      0|	    return REG_BADPAT;
  177|      0|	  }
  178|      0|	}
  179|      0|      status = tre_tnfa_run_backtrack(tnfa, string, (int)len, type,
  180|      0|				      tags, eflags, &eo);
  181|      0|    }
  182|   153k|#ifdef TRE_APPROX
  183|   153k|  else if (tnfa->have_approx || eflags & REG_APPROX_MATCHER)
  ------------------
  |  |  116|   153k|#define REG_APPROX_MATCHER	 (REG_NOTEOL << 1)
  |  |  ------------------
  |  |  |  |  113|   153k|#define REG_NOTEOL (REG_NOTBOL << 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|   153k|#define REG_NOTBOL 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (183:12): [True: 0, False: 153k]
  |  Branch (183:33): [True: 0, False: 153k]
  ------------------
  184|      0|    {
  185|       |      /* The regex uses approximate matching, use the approximate matcher. */
  186|      0|      regamatch_t match;
  187|      0|      regaparams_t params;
  188|      0|      tre_regaparams_default(&params);
  189|      0|      params.max_err = 0;
  190|      0|      params.max_cost = 0;
  191|      0|      status = tre_tnfa_run_approx(tnfa, string, (int)len, type, tags,
  192|      0|				   &match, params, eflags, &eo);
  193|      0|    }
  194|   153k|#endif /* TRE_APPROX */
  195|   153k|  else
  196|   153k|    {
  197|       |      /* Exact matching, no back references, use the parallel matcher. */
  198|   153k|      status = tre_tnfa_run_parallel(tnfa, string, (int)len, type,
  199|   153k|				     tags, eflags, &eo);
  200|   153k|    }
  201|       |
  202|   153k|  if (status == REG_OK)
  ------------------
  |  Branch (202:7): [True: 108k, False: 44.9k]
  ------------------
  203|       |    /* A match was found, so fill the submatch registers. */
  204|   108k|    tre_fill_pmatch(nmatch, pmatch, tnfa->cflags, tnfa, tags, eo);
  205|   153k|#ifndef TRE_USE_ALLOCA
  206|   153k|  if (tags)
  ------------------
  |  Branch (206:7): [True: 149k, False: 4.57k]
  ------------------
  207|   149k|    xfree(tags);
  ------------------
  |  |   69|   149k|#define xfree(ptr) free(ptr)
  ------------------
  208|   153k|#endif /* !TRE_USE_ALLOCA */
  209|   153k|  return status;
  210|   153k|}

tre_ast_new_node:
   20|  62.2k|{
   21|  62.2k|  tre_ast_node_t *node;
   22|       |
   23|  62.2k|  node = tre_mem_calloc(mem, sizeof(*node));
  ------------------
  |  |   45|  62.2k|#define tre_mem_calloc(mem, size) tre_mem_alloc_impl(mem, 0, NULL, 1, size)
  ------------------
   24|  62.2k|  if (!node)
  ------------------
  |  Branch (24:7): [True: 0, False: 62.2k]
  ------------------
   25|      0|    return NULL;
   26|  62.2k|  node->obj = tre_mem_calloc(mem, size);
  ------------------
  |  |   45|  62.2k|#define tre_mem_calloc(mem, size) tre_mem_alloc_impl(mem, 0, NULL, 1, size)
  ------------------
   27|  62.2k|  if (!node->obj)
  ------------------
  |  Branch (27:7): [True: 0, False: 62.2k]
  ------------------
   28|      0|    return NULL;
   29|  62.2k|  node->type = type;
   30|  62.2k|  node->nullable = -1;
   31|  62.2k|  node->submatch_id = -1;
   32|       |
   33|  62.2k|  return node;
   34|  62.2k|}
tre_ast_new_literal:
   38|  33.8k|{
   39|  33.8k|  tre_ast_node_t *node;
   40|  33.8k|  tre_literal_t *lit;
   41|       |
   42|  33.8k|  node = tre_ast_new_node(mem, LITERAL, sizeof(tre_literal_t));
   43|  33.8k|  if (!node)
  ------------------
  |  Branch (43:7): [True: 0, False: 33.8k]
  ------------------
   44|      0|    return NULL;
   45|  33.8k|  lit = node->obj;
   46|  33.8k|  lit->code_min = code_min;
   47|  33.8k|  lit->code_max = code_max;
   48|  33.8k|  lit->position = position;
   49|       |
   50|  33.8k|  return node;
   51|  33.8k|}
tre_ast_new_iter:
   56|    208|{
   57|    208|  tre_ast_node_t *node;
   58|    208|  tre_iteration_t *iter;
   59|       |
   60|    208|  node = tre_ast_new_node(mem, ITERATION, sizeof(tre_iteration_t));
   61|    208|  if (!node)
  ------------------
  |  Branch (61:7): [True: 0, False: 208]
  ------------------
   62|      0|    return NULL;
   63|    208|  iter = node->obj;
   64|    208|  iter->arg = arg;
   65|    208|  iter->min = min;
   66|    208|  iter->max = max;
   67|    208|  iter->minimal = minimal;
   68|    208|  node->num_submatches = arg->num_submatches;
   69|       |
   70|    208|  return node;
   71|    208|}
tre_ast_new_union:
   75|  26.1k|{
   76|  26.1k|  tre_ast_node_t *node;
   77|       |
   78|  26.1k|  node = tre_ast_new_node(mem, UNION, sizeof(tre_union_t));
   79|  26.1k|  if (node == NULL)
  ------------------
  |  Branch (79:7): [True: 0, False: 26.1k]
  ------------------
   80|      0|    return NULL;
   81|  26.1k|  ((tre_union_t *)node->obj)->left = left;
   82|  26.1k|  ((tre_union_t *)node->obj)->right = right;
   83|  26.1k|  node->num_submatches = left->num_submatches + right->num_submatches;
   84|       |
   85|  26.1k|  return node;
   86|  26.1k|}
tre_ast_new_catenation:
   91|  2.09k|{
   92|  2.09k|  tre_ast_node_t *node;
   93|       |
   94|  2.09k|  node = tre_ast_new_node(mem, CATENATION, sizeof(tre_catenation_t));
   95|  2.09k|  if (node == NULL)
  ------------------
  |  Branch (95:7): [True: 0, False: 2.09k]
  ------------------
   96|      0|    return NULL;
   97|  2.09k|  ((tre_catenation_t *)node->obj)->left = left;
   98|  2.09k|  ((tre_catenation_t *)node->obj)->right = right;
   99|       |  // UBSAN warning in clang 10: signed integer overflow
  100|  2.09k|  double tmp = (double)left->num_submatches + (double)right->num_submatches;
  101|  2.09k|  if (tmp >= INT_MIN && tmp <= INT_MAX)
  ------------------
  |  Branch (101:7): [True: 2.09k, False: 0]
  |  Branch (101:25): [True: 2.09k, False: 0]
  ------------------
  102|  2.09k|      node->num_submatches = left->num_submatches + right->num_submatches;
  103|      0|  else node->num_submatches = 0;
  104|       |
  105|  2.09k|  return node;
  106|  2.09k|}

tre_compile:
 1893|  1.43k|{
 1894|  1.43k|  tre_stack_t *stack;
 1895|  1.43k|  tre_ast_node_t *tree, *tmp_ast_l, *tmp_ast_r;
 1896|  1.43k|  tre_pos_and_tags_t *p;
 1897|  1.43k|  int *counts = NULL, *offs = NULL;
 1898|  1.43k|  int i, add = 0;
 1899|  1.43k|  tre_tnfa_transition_t *transitions, *initial;
 1900|  1.43k|  tre_tnfa_t *tnfa = NULL;
 1901|  1.43k|  tre_submatch_data_t *submatch_data;
 1902|  1.43k|  tre_tag_direction_t *tag_directions = NULL;
 1903|  1.43k|  reg_errcode_t errcode;
 1904|  1.43k|  tre_mem_t mem;
 1905|       |
 1906|       |  /* Parse context. */
 1907|  1.43k|  tre_parse_ctx_t parse_ctx;
 1908|       |
 1909|       |  /* Allocate a stack used throughout the compilation process for various
 1910|       |     purposes. */
 1911|  1.43k|  stack = tre_stack_new(512, 10240, 128);
 1912|  1.43k|  if (!stack)
  ------------------
  |  Branch (1912:7): [True: 0, False: 1.43k]
  ------------------
 1913|      0|    return REG_ESPACE;
 1914|       |  /* Allocate a fast memory allocator. */
 1915|  1.43k|  mem = tre_mem_new();
  ------------------
  |  |   36|  1.43k|#define tre_mem_new()  tre_mem_new_impl(0, NULL)
  ------------------
 1916|  1.43k|  if (!mem)
  ------------------
  |  Branch (1916:7): [True: 0, False: 1.43k]
  ------------------
 1917|      0|    {
 1918|      0|      tre_stack_destroy(stack);
 1919|      0|      return REG_ESPACE;
 1920|      0|    }
 1921|       |
 1922|       |  /* Parse the regexp. */
 1923|  1.43k|  memset(&parse_ctx, 0, sizeof(parse_ctx));
 1924|  1.43k|  parse_ctx.mem = mem;
 1925|  1.43k|  parse_ctx.stack = stack;
 1926|  1.43k|  parse_ctx.re = regex;
 1927|  1.43k|  parse_ctx.len = n;
 1928|  1.43k|  parse_ctx.cflags = cflags;
 1929|  1.43k|  parse_ctx.max_backref = -1;
 1930|       |  /* workaround for PR#14408: use 8-bit optimizations in 8-bit mode */
 1931|  1.43k|  parse_ctx.cur_max = (cflags & REG_USEBYTES) ? 1 : TRE_MB_CUR_MAX;
  ------------------
  |  |  109|  1.43k|#define REG_USEBYTES    (REG_UNGREEDY << 1)
  |  |  ------------------
  |  |  |  |  107|  1.43k|#define REG_UNGREEDY    (REG_RIGHT_ASSOC << 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  106|  1.43k|#define REG_RIGHT_ASSOC (REG_LITERAL << 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  105|  1.43k|#define REG_LITERAL	(REG_NOSUB << 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  101|  1.43k|#define REG_NOSUB	(REG_NEWLINE << 1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  100|  1.43k|#define REG_NEWLINE	(REG_ICASE << 1)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   99|  1.43k|#define REG_ICASE	(REG_EXTENDED << 1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |   98|  1.43k|#define REG_EXTENDED	1
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                parse_ctx.cur_max = (cflags & REG_USEBYTES) ? 1 : TRE_MB_CUR_MAX;
  ------------------
  |  |   68|  1.43k|#define TRE_MB_CUR_MAX MB_CUR_MAX
  ------------------
  |  Branch (1931:23): [True: 1.43k, False: 0]
  ------------------
 1932|  1.43k|  DPRINT(("tre_compile: parsing '%.*" STRF "'\n", (int)n, regex));
  ------------------
  |  |   27|  1.43k|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 1.43k]
  |  |  ------------------
  ------------------
 1933|  1.43k|  errcode = tre_parse(&parse_ctx);
 1934|  1.43k|  if (errcode != REG_OK)
  ------------------
  |  Branch (1934:7): [True: 0, False: 1.43k]
  ------------------
 1935|      0|    ERROR_EXIT(errcode);
  ------------------
  |  | 1882|      0|  do				  \
  |  | 1883|      0|    {				  \
  |  | 1884|      0|      errcode = err;		  \
  |  | 1885|      0|      if (/*CONSTCOND*/(void)1,1)	  \
  |  |  ------------------
  |  |  |  Branch (1885:24): [True: 0, Folded]
  |  |  ------------------
  |  | 1886|      0|      	goto error_exit;	  \
  |  | 1887|      0|    }				  \
  |  | 1888|      0| while (/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (1888:22): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1936|  1.43k|  preg->re_nsub = parse_ctx.submatch_id - 1;
 1937|  1.43k|  tree = parse_ctx.result;
 1938|       |
 1939|       |  /* Back references and approximate matching cannot currently be used
 1940|       |     in the same regexp. */
 1941|  1.43k|  if (parse_ctx.max_backref >= 0 && parse_ctx.have_approx)
  ------------------
  |  Branch (1941:7): [True: 0, False: 1.43k]
  |  Branch (1941:37): [True: 0, False: 0]
  ------------------
 1942|      0|    ERROR_EXIT(REG_BADPAT);
  ------------------
  |  | 1882|      0|  do				  \
  |  | 1883|      0|    {				  \
  |  | 1884|      0|      errcode = err;		  \
  |  | 1885|      0|      if (/*CONSTCOND*/(void)1,1)	  \
  |  |  ------------------
  |  |  |  Branch (1885:24): [True: 0, Folded]
  |  |  ------------------
  |  | 1886|      0|      	goto error_exit;	  \
  |  | 1887|      0|    }				  \
  |  | 1888|      0| while (/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (1888:22): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1943|       |
 1944|       |#ifdef TRE_DEBUG
 1945|       |  tre_ast_print(tree);
 1946|       |#endif /* TRE_DEBUG */
 1947|       |
 1948|       |  /* Referring to nonexistent subexpressions is illegal. */
 1949|  1.43k|  if (parse_ctx.max_backref > (int)preg->re_nsub)
  ------------------
  |  Branch (1949:7): [True: 0, False: 1.43k]
  ------------------
 1950|      0|    ERROR_EXIT(REG_ESUBREG);
  ------------------
  |  | 1882|      0|  do				  \
  |  | 1883|      0|    {				  \
  |  | 1884|      0|      errcode = err;		  \
  |  | 1885|      0|      if (/*CONSTCOND*/(void)1,1)	  \
  |  |  ------------------
  |  |  |  Branch (1885:24): [True: 0, Folded]
  |  |  ------------------
  |  | 1886|      0|      	goto error_exit;	  \
  |  | 1887|      0|    }				  \
  |  | 1888|      0| while (/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (1888:22): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1951|       |
 1952|       |  /* Allocate the TNFA struct. */
 1953|  1.43k|  tnfa = xcalloc(1, sizeof(tre_tnfa_t));
  ------------------
  |  |   68|  1.43k|#define xcalloc(nmemb, size) calloc(nmemb, size)
  ------------------
 1954|  1.43k|  if (tnfa == NULL)
  ------------------
  |  Branch (1954:7): [True: 0, False: 1.43k]
  ------------------
 1955|      0|    ERROR_EXIT(REG_ESPACE);
  ------------------
  |  | 1882|      0|  do				  \
  |  | 1883|      0|    {				  \
  |  | 1884|      0|      errcode = err;		  \
  |  | 1885|      0|      if (/*CONSTCOND*/(void)1,1)	  \
  |  |  ------------------
  |  |  |  Branch (1885:24): [True: 0, Folded]
  |  |  ------------------
  |  | 1886|      0|      	goto error_exit;	  \
  |  | 1887|      0|    }				  \
  |  | 1888|      0| while (/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (1888:22): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1956|  1.43k|  tnfa->have_backrefs = parse_ctx.max_backref >= 0;
 1957|  1.43k|  tnfa->have_approx = parse_ctx.have_approx;
 1958|  1.43k|  tnfa->num_submatches = parse_ctx.submatch_id;
 1959|       |
 1960|       |  /* Set up tags for submatch addressing.  If REG_NOSUB is set and the
 1961|       |     regexp does not have back references, this can be skipped. */
 1962|  1.43k|  if (tnfa->have_backrefs || !(cflags & REG_NOSUB))
  ------------------
  |  |  101|  1.43k|#define REG_NOSUB	(REG_NEWLINE << 1)
  |  |  ------------------
  |  |  |  |  100|  1.43k|#define REG_NEWLINE	(REG_ICASE << 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |   99|  1.43k|#define REG_ICASE	(REG_EXTENDED << 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   98|  1.43k|#define REG_EXTENDED	1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1962:7): [True: 0, False: 1.43k]
  |  Branch (1962:30): [True: 1.37k, False: 57]
  ------------------
 1963|  1.37k|    {
 1964|  1.37k|      DPRINT(("tre_compile: setting up tags\n"));
  ------------------
  |  |   27|  1.37k|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 1.37k]
  |  |  ------------------
  ------------------
 1965|       |
 1966|       |      /* Figure out how many tags we will need. */
 1967|  1.37k|      errcode = tre_add_tags(NULL, stack, tree, tnfa);
 1968|  1.37k|      if (errcode != REG_OK)
  ------------------
  |  Branch (1968:11): [True: 0, False: 1.37k]
  ------------------
 1969|      0|	ERROR_EXIT(errcode);
  ------------------
  |  | 1882|      0|  do				  \
  |  | 1883|      0|    {				  \
  |  | 1884|      0|      errcode = err;		  \
  |  | 1885|      0|      if (/*CONSTCOND*/(void)1,1)	  \
  |  |  ------------------
  |  |  |  Branch (1885:24): [True: 0, Folded]
  |  |  ------------------
  |  | 1886|      0|      	goto error_exit;	  \
  |  | 1887|      0|    }				  \
  |  | 1888|      0| while (/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (1888:22): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1970|       |#ifdef TRE_DEBUG
 1971|       |      tre_ast_print(tree);
 1972|       |#endif /* TRE_DEBUG */
 1973|       |
 1974|  1.37k|      if (tnfa->num_tags > 0)
  ------------------
  |  Branch (1974:11): [True: 1.37k, False: 0]
  ------------------
 1975|  1.37k|	{
 1976|  1.37k|	  tag_directions = xmalloc(sizeof(*tag_directions)
  ------------------
  |  |   67|  1.37k|#define xmalloc(size) malloc(size)
  ------------------
 1977|  1.37k|				   * (tnfa->num_tags + 1));
 1978|  1.37k|	  if (tag_directions == NULL)
  ------------------
  |  Branch (1978:8): [True: 0, False: 1.37k]
  ------------------
 1979|      0|	    ERROR_EXIT(REG_ESPACE);
  ------------------
  |  | 1882|      0|  do				  \
  |  | 1883|      0|    {				  \
  |  | 1884|      0|      errcode = err;		  \
  |  | 1885|      0|      if (/*CONSTCOND*/(void)1,1)	  \
  |  |  ------------------
  |  |  |  Branch (1885:24): [True: 0, Folded]
  |  |  ------------------
  |  | 1886|      0|      	goto error_exit;	  \
  |  | 1887|      0|    }				  \
  |  | 1888|      0| while (/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (1888:22): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1980|  1.37k|	  tnfa->tag_directions = tag_directions;
 1981|  1.37k|	  memset(tag_directions, -1,
 1982|  1.37k|		 sizeof(*tag_directions) * (tnfa->num_tags + 1));
 1983|  1.37k|	}
 1984|  1.37k|      tnfa->minimal_tags = xcalloc((unsigned)tnfa->num_tags * 2 + 1,
  ------------------
  |  |   68|  1.37k|#define xcalloc(nmemb, size) calloc(nmemb, size)
  ------------------
 1985|  1.37k|				   sizeof(tnfa->minimal_tags));
 1986|  1.37k|      if (tnfa->minimal_tags == NULL)
  ------------------
  |  Branch (1986:11): [True: 0, False: 1.37k]
  ------------------
 1987|      0|	ERROR_EXIT(REG_ESPACE);
  ------------------
  |  | 1882|      0|  do				  \
  |  | 1883|      0|    {				  \
  |  | 1884|      0|      errcode = err;		  \
  |  | 1885|      0|      if (/*CONSTCOND*/(void)1,1)	  \
  |  |  ------------------
  |  |  |  Branch (1885:24): [True: 0, Folded]
  |  |  ------------------
  |  | 1886|      0|      	goto error_exit;	  \
  |  | 1887|      0|    }				  \
  |  | 1888|      0| while (/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (1888:22): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1988|       |
 1989|  1.37k|      submatch_data = xcalloc((unsigned)parse_ctx.submatch_id,
  ------------------
  |  |   68|  1.37k|#define xcalloc(nmemb, size) calloc(nmemb, size)
  ------------------
 1990|  1.37k|			      sizeof(*submatch_data));
 1991|  1.37k|      if (submatch_data == NULL)
  ------------------
  |  Branch (1991:11): [True: 0, False: 1.37k]
  ------------------
 1992|      0|	ERROR_EXIT(REG_ESPACE);
  ------------------
  |  | 1882|      0|  do				  \
  |  | 1883|      0|    {				  \
  |  | 1884|      0|      errcode = err;		  \
  |  | 1885|      0|      if (/*CONSTCOND*/(void)1,1)	  \
  |  |  ------------------
  |  |  |  Branch (1885:24): [True: 0, Folded]
  |  |  ------------------
  |  | 1886|      0|      	goto error_exit;	  \
  |  | 1887|      0|    }				  \
  |  | 1888|      0| while (/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (1888:22): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1993|  1.37k|      tnfa->submatch_data = submatch_data;
 1994|       |
 1995|  1.37k|      errcode = tre_add_tags(mem, stack, tree, tnfa);
 1996|  1.37k|      if (errcode != REG_OK)
  ------------------
  |  Branch (1996:11): [True: 0, False: 1.37k]
  ------------------
 1997|      0|	ERROR_EXIT(errcode);
  ------------------
  |  | 1882|      0|  do				  \
  |  | 1883|      0|    {				  \
  |  | 1884|      0|      errcode = err;		  \
  |  | 1885|      0|      if (/*CONSTCOND*/(void)1,1)	  \
  |  |  ------------------
  |  |  |  Branch (1885:24): [True: 0, Folded]
  |  |  ------------------
  |  | 1886|      0|      	goto error_exit;	  \
  |  | 1887|      0|    }				  \
  |  | 1888|      0| while (/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (1888:22): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1998|       |
 1999|       |#ifdef TRE_DEBUG
 2000|       |      for (i = 0; i < parse_ctx.submatch_id; i++)
 2001|       |	DPRINT(("pmatch[%d] = {t%d, t%d}\n",
 2002|       |		i, submatch_data[i].so_tag, submatch_data[i].eo_tag));
 2003|       |      for (i = 0; i < tnfa->num_tags; i++)
 2004|       |	DPRINT(("t%d is %s\n", i,
 2005|       |		tag_directions[i] == TRE_TAG_MINIMIZE ?
 2006|       |		"minimized" : "maximized"));
 2007|       |#endif /* TRE_DEBUG */
 2008|  1.37k|    }
 2009|       |
 2010|       |  /* Expand iteration nodes. */
 2011|  1.43k|  errcode = tre_expand_ast(mem, stack, tree, &parse_ctx.position,
 2012|  1.43k|			   tag_directions, &tnfa->params_depth);
 2013|  1.43k|  if (errcode != REG_OK)
  ------------------
  |  Branch (2013:7): [True: 0, False: 1.43k]
  ------------------
 2014|      0|    ERROR_EXIT(errcode);
  ------------------
  |  | 1882|      0|  do				  \
  |  | 1883|      0|    {				  \
  |  | 1884|      0|      errcode = err;		  \
  |  | 1885|      0|      if (/*CONSTCOND*/(void)1,1)	  \
  |  |  ------------------
  |  |  |  Branch (1885:24): [True: 0, Folded]
  |  |  ------------------
  |  | 1886|      0|      	goto error_exit;	  \
  |  | 1887|      0|    }				  \
  |  | 1888|      0| while (/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (1888:22): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2015|       |
 2016|       |  /* Add a dummy node for the final state.
 2017|       |     XXX - For certain patterns this dummy node can be optimized away,
 2018|       |	   for example "a*" or "ab*".	Figure out a simple way to detect
 2019|       |	   this possibility. */
 2020|  1.43k|  tmp_ast_l = tree;
 2021|  1.43k|  tmp_ast_r = tre_ast_new_literal(mem, 0, 0, parse_ctx.position++);
 2022|  1.43k|  if (tmp_ast_r == NULL)
  ------------------
  |  Branch (2022:7): [True: 0, False: 1.43k]
  ------------------
 2023|      0|    ERROR_EXIT(REG_ESPACE);
  ------------------
  |  | 1882|      0|  do				  \
  |  | 1883|      0|    {				  \
  |  | 1884|      0|      errcode = err;		  \
  |  | 1885|      0|      if (/*CONSTCOND*/(void)1,1)	  \
  |  |  ------------------
  |  |  |  Branch (1885:24): [True: 0, Folded]
  |  |  ------------------
  |  | 1886|      0|      	goto error_exit;	  \
  |  | 1887|      0|    }				  \
  |  | 1888|      0| while (/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (1888:22): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2024|       |
 2025|  1.43k|  tree = tre_ast_new_catenation(mem, tmp_ast_l, tmp_ast_r);
 2026|  1.43k|  if (tree == NULL)
  ------------------
  |  Branch (2026:7): [True: 0, False: 1.43k]
  ------------------
 2027|      0|    ERROR_EXIT(REG_ESPACE);
  ------------------
  |  | 1882|      0|  do				  \
  |  | 1883|      0|    {				  \
  |  | 1884|      0|      errcode = err;		  \
  |  | 1885|      0|      if (/*CONSTCOND*/(void)1,1)	  \
  |  |  ------------------
  |  |  |  Branch (1885:24): [True: 0, Folded]
  |  |  ------------------
  |  | 1886|      0|      	goto error_exit;	  \
  |  | 1887|      0|    }				  \
  |  | 1888|      0| while (/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (1888:22): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2028|       |
 2029|       |#ifdef TRE_DEBUG
 2030|       |  tre_ast_print(tree);
 2031|       |  DPRINT(("Number of states: %d\n", parse_ctx.position));
 2032|       |#endif /* TRE_DEBUG */
 2033|       |
 2034|  1.43k|  errcode = tre_compute_nfl(mem, stack, tree);
 2035|  1.43k|  if (errcode != REG_OK)
  ------------------
  |  Branch (2035:7): [True: 0, False: 1.43k]
  ------------------
 2036|      0|    ERROR_EXIT(errcode);
  ------------------
  |  | 1882|      0|  do				  \
  |  | 1883|      0|    {				  \
  |  | 1884|      0|      errcode = err;		  \
  |  | 1885|      0|      if (/*CONSTCOND*/(void)1,1)	  \
  |  |  ------------------
  |  |  |  Branch (1885:24): [True: 0, Folded]
  |  |  ------------------
  |  | 1886|      0|      	goto error_exit;	  \
  |  | 1887|      0|    }				  \
  |  | 1888|      0| while (/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (1888:22): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2037|       |
 2038|  1.43k|  counts = xmalloc(sizeof(int) * parse_ctx.position);
  ------------------
  |  |   67|  1.43k|#define xmalloc(size) malloc(size)
  ------------------
 2039|  1.43k|  if (counts == NULL)
  ------------------
  |  Branch (2039:7): [True: 0, False: 1.43k]
  ------------------
 2040|      0|    ERROR_EXIT(REG_ESPACE);
  ------------------
  |  | 1882|      0|  do				  \
  |  | 1883|      0|    {				  \
  |  | 1884|      0|      errcode = err;		  \
  |  | 1885|      0|      if (/*CONSTCOND*/(void)1,1)	  \
  |  |  ------------------
  |  |  |  Branch (1885:24): [True: 0, Folded]
  |  |  ------------------
  |  | 1886|      0|      	goto error_exit;	  \
  |  | 1887|      0|    }				  \
  |  | 1888|      0| while (/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (1888:22): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2041|       |
 2042|  1.43k|  offs = xmalloc(sizeof(int) * parse_ctx.position);
  ------------------
  |  |   67|  1.43k|#define xmalloc(size) malloc(size)
  ------------------
 2043|  1.43k|  if (offs == NULL)
  ------------------
  |  Branch (2043:7): [True: 0, False: 1.43k]
  ------------------
 2044|      0|    ERROR_EXIT(REG_ESPACE);
  ------------------
  |  | 1882|      0|  do				  \
  |  | 1883|      0|    {				  \
  |  | 1884|      0|      errcode = err;		  \
  |  | 1885|      0|      if (/*CONSTCOND*/(void)1,1)	  \
  |  |  ------------------
  |  |  |  Branch (1885:24): [True: 0, Folded]
  |  |  ------------------
  |  | 1886|      0|      	goto error_exit;	  \
  |  | 1887|      0|    }				  \
  |  | 1888|      0| while (/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (1888:22): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2045|       |
 2046|  4.83k|  for (i = 0; i < parse_ctx.position; i++)
  ------------------
  |  Branch (2046:15): [True: 3.39k, False: 1.43k]
  ------------------
 2047|  3.39k|    counts[i] = 0;
 2048|  1.43k|  tre_ast_to_tnfa(tree, NULL, counts, NULL);
 2049|       |
 2050|  1.43k|  add = 0;
 2051|  4.83k|  for (i = 0; i < parse_ctx.position; i++)
  ------------------
  |  Branch (2051:15): [True: 3.39k, False: 1.43k]
  ------------------
 2052|  3.39k|    {
 2053|  3.39k|      offs[i] = add;
 2054|  3.39k|      add += counts[i] + 1;
 2055|  3.39k|      counts[i] = 0;
 2056|  3.39k|    }
 2057|  1.43k|  transitions = xcalloc((unsigned)add + 1, sizeof(*transitions));
  ------------------
  |  |   68|  1.43k|#define xcalloc(nmemb, size) calloc(nmemb, size)
  ------------------
 2058|  1.43k|  if (transitions == NULL)
  ------------------
  |  Branch (2058:7): [True: 0, False: 1.43k]
  ------------------
 2059|      0|    ERROR_EXIT(REG_ESPACE);
  ------------------
  |  | 1882|      0|  do				  \
  |  | 1883|      0|    {				  \
  |  | 1884|      0|      errcode = err;		  \
  |  | 1885|      0|      if (/*CONSTCOND*/(void)1,1)	  \
  |  |  ------------------
  |  |  |  Branch (1885:24): [True: 0, Folded]
  |  |  ------------------
  |  | 1886|      0|      	goto error_exit;	  \
  |  | 1887|      0|    }				  \
  |  | 1888|      0| while (/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (1888:22): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2060|  1.43k|  tnfa->transitions = transitions;
 2061|  1.43k|  tnfa->num_transitions = add;
 2062|       |
 2063|  1.43k|  DPRINT(("Converting to TNFA:\n"));
  ------------------
  |  |   27|  1.43k|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 1.43k]
  |  |  ------------------
  ------------------
 2064|  1.43k|  errcode = tre_ast_to_tnfa(tree, transitions, counts, offs);
 2065|  1.43k|  if (errcode != REG_OK)
  ------------------
  |  Branch (2065:7): [True: 0, False: 1.43k]
  ------------------
 2066|      0|    ERROR_EXIT(errcode);
  ------------------
  |  | 1882|      0|  do				  \
  |  | 1883|      0|    {				  \
  |  | 1884|      0|      errcode = err;		  \
  |  | 1885|      0|      if (/*CONSTCOND*/(void)1,1)	  \
  |  |  ------------------
  |  |  |  Branch (1885:24): [True: 0, Folded]
  |  |  ------------------
  |  | 1886|      0|      	goto error_exit;	  \
  |  | 1887|      0|    }				  \
  |  | 1888|      0| while (/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (1888:22): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2067|       |
 2068|       |  /* If in eight bit mode, compute a table of characters that can be the
 2069|       |     first character of a match. */
 2070|  1.43k|  tnfa->first_char = -1;
 2071|  1.43k|  if (TRE_MB_CUR_MAX == 1 && !tmp_ast_l->nullable)
  ------------------
  |  |   68|  1.43k|#define TRE_MB_CUR_MAX MB_CUR_MAX
  ------------------
  |  Branch (2071:7): [True: 1.43k, False: 0]
  |  Branch (2071:30): [True: 1.43k, False: 0]
  ------------------
 2072|  1.43k|    {
 2073|  1.43k|      int count = 0;
 2074|  1.43k|      tre_cint_t k;
 2075|  1.43k|      DPRINT(("Characters that can start a match:"));
  ------------------
  |  |   27|  1.43k|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 1.43k]
  |  |  ------------------
  ------------------
 2076|  1.43k|      tnfa->firstpos_chars = xcalloc(256, sizeof(char));
  ------------------
  |  |   68|  1.43k|#define xcalloc(nmemb, size) calloc(nmemb, size)
  ------------------
 2077|  1.43k|      if (tnfa->firstpos_chars == NULL)
  ------------------
  |  Branch (2077:11): [True: 0, False: 1.43k]
  ------------------
 2078|      0|	ERROR_EXIT(REG_ESPACE);
  ------------------
  |  | 1882|      0|  do				  \
  |  | 1883|      0|    {				  \
  |  | 1884|      0|      errcode = err;		  \
  |  | 1885|      0|      if (/*CONSTCOND*/(void)1,1)	  \
  |  |  ------------------
  |  |  |  Branch (1885:24): [True: 0, Folded]
  |  |  ------------------
  |  | 1886|      0|      	goto error_exit;	  \
  |  | 1887|      0|    }				  \
  |  | 1888|      0| while (/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (1888:22): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2079|  29.0k|      for (p = tree->firstpos; p->position >= 0; p++)
  ------------------
  |  Branch (2079:32): [True: 27.5k, False: 1.43k]
  ------------------
 2080|  27.5k|	{
 2081|  27.5k|	  tre_tnfa_transition_t *j = transitions + offs[p->position];
 2082|   627k|	  while (j->state != NULL)
  ------------------
  |  Branch (2082:11): [True: 599k, False: 27.5k]
  ------------------
 2083|   599k|	    {
 2084|  1.23M|	      for (k = j->code_min; k <= j->code_max && k < 256; k++)
  ------------------
  |  Branch (2084:30): [True: 636k, False: 599k]
  |  Branch (2084:50): [True: 636k, False: 136]
  ------------------
 2085|   636k|		{
 2086|   636k|		  DPRINT((" %d", k));
  ------------------
  |  |   27|   636k|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 636k]
  |  |  ------------------
  ------------------
 2087|   636k|		  tnfa->firstpos_chars[k] = 1;
 2088|   636k|		  count++;
 2089|   636k|		}
 2090|   599k|	      j++;
 2091|   599k|	    }
 2092|  27.5k|	}
 2093|  1.43k|      DPRINT(("\n"));
  ------------------
  |  |   27|  1.43k|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 1.43k]
  |  |  ------------------
  ------------------
 2094|  1.43k|#define TRE_OPTIMIZE_FIRST_CHAR 1
 2095|  1.43k|#if TRE_OPTIMIZE_FIRST_CHAR
 2096|  1.43k|      if (count == 1)
  ------------------
  |  Branch (2096:11): [True: 52, False: 1.38k]
  ------------------
 2097|     52|	{
 2098|  4.28k|	  for (k = 0; k < 256; k++)
  ------------------
  |  Branch (2098:16): [True: 4.28k, False: 0]
  ------------------
 2099|  4.28k|	    if (tnfa->firstpos_chars[k])
  ------------------
  |  Branch (2099:10): [True: 52, False: 4.22k]
  ------------------
 2100|     52|	      {
 2101|     52|		DPRINT(("first char must be %d\n", k));
  ------------------
  |  |   27|     52|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 52]
  |  |  ------------------
  ------------------
 2102|     52|		tnfa->first_char = k;
 2103|     52|		xfree(tnfa->firstpos_chars);
  ------------------
  |  |   69|     52|#define xfree(ptr) free(ptr)
  ------------------
 2104|     52|		tnfa->firstpos_chars = NULL;
 2105|     52|		break;
 2106|     52|	      }
 2107|     52|	}
 2108|  1.43k|#endif
 2109|       |
 2110|  1.43k|    }
 2111|      0|  else
 2112|      0|    tnfa->firstpos_chars = NULL;
 2113|       |
 2114|       |
 2115|  1.43k|  p = tree->firstpos;
 2116|  1.43k|  i = 0;
 2117|  29.0k|  while (p->position >= 0)
  ------------------
  |  Branch (2117:10): [True: 27.5k, False: 1.43k]
  ------------------
 2118|  27.5k|    {
 2119|  27.5k|      i++;
 2120|       |
 2121|       |#ifdef TRE_DEBUG
 2122|       |      {
 2123|       |	int *tags;
 2124|       |	DPRINT(("initial: %d", p->position));
 2125|       |	tags = p->tags;
 2126|       |	if (tags != NULL)
 2127|       |	  {
 2128|       |	    if (*tags >= 0)
 2129|       |	      DPRINT(("/"));
 2130|       |	    while (*tags >= 0)
 2131|       |	      {
 2132|       |		DPRINT(("%d", *tags));
 2133|       |		tags++;
 2134|       |		if (*tags >= 0)
 2135|       |		  DPRINT((","));
 2136|       |	      }
 2137|       |	  }
 2138|       |	DPRINT((", assert %d", p->assertions));
 2139|       |	if (p->params)
 2140|       |	  {
 2141|       |	    DPRINT((", "));
 2142|       |	    tre_print_params(p->params);
 2143|       |	  }
 2144|       |	DPRINT(("\n"));
 2145|       |      }
 2146|       |#endif /* TRE_DEBUG */
 2147|       |
 2148|  27.5k|      p++;
 2149|  27.5k|    }
 2150|       |
 2151|  1.43k|  initial = xcalloc((unsigned)i + 1, sizeof(tre_tnfa_transition_t));
  ------------------
  |  |   68|  1.43k|#define xcalloc(nmemb, size) calloc(nmemb, size)
  ------------------
 2152|  1.43k|  if (initial == NULL)
  ------------------
  |  Branch (2152:7): [True: 0, False: 1.43k]
  ------------------
 2153|      0|    ERROR_EXIT(REG_ESPACE);
  ------------------
  |  | 1882|      0|  do				  \
  |  | 1883|      0|    {				  \
  |  | 1884|      0|      errcode = err;		  \
  |  | 1885|      0|      if (/*CONSTCOND*/(void)1,1)	  \
  |  |  ------------------
  |  |  |  Branch (1885:24): [True: 0, Folded]
  |  |  ------------------
  |  | 1886|      0|      	goto error_exit;	  \
  |  | 1887|      0|    }				  \
  |  | 1888|      0| while (/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (1888:22): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2154|  1.43k|  tnfa->initial = initial;
 2155|       |
 2156|  1.43k|  i = 0;
 2157|  29.0k|  for (p = tree->firstpos; p->position >= 0; p++)
  ------------------
  |  Branch (2157:28): [True: 27.5k, False: 1.43k]
  ------------------
 2158|  27.5k|    {
 2159|  27.5k|      initial[i].state = transitions + offs[p->position];
 2160|  27.5k|      initial[i].state_id = p->position;
 2161|  27.5k|      initial[i].tags = NULL;
 2162|       |      /* Copy the arrays p->tags, and p->params, they are allocated
 2163|       |	 from a tre_mem object. */
 2164|  27.5k|      if (p->tags)
  ------------------
  |  Branch (2164:11): [True: 27.5k, False: 4]
  ------------------
 2165|  27.5k|	{
 2166|  27.5k|	  int j;
 2167|  55.2k|	  for (j = 0; p->tags[j] >= 0; j++);
  ------------------
  |  Branch (2167:16): [True: 27.6k, False: 27.5k]
  ------------------
 2168|  27.5k|	  initial[i].tags = xmalloc(sizeof(*p->tags) * (j + 1));
  ------------------
  |  |   67|  27.5k|#define xmalloc(size) malloc(size)
  ------------------
 2169|  27.5k|	  if (!initial[i].tags)
  ------------------
  |  Branch (2169:8): [True: 0, False: 27.5k]
  ------------------
 2170|      0|	    ERROR_EXIT(REG_ESPACE);
  ------------------
  |  | 1882|      0|  do				  \
  |  | 1883|      0|    {				  \
  |  | 1884|      0|      errcode = err;		  \
  |  | 1885|      0|      if (/*CONSTCOND*/(void)1,1)	  \
  |  |  ------------------
  |  |  |  Branch (1885:24): [True: 0, Folded]
  |  |  ------------------
  |  | 1886|      0|      	goto error_exit;	  \
  |  | 1887|      0|    }				  \
  |  | 1888|      0| while (/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (1888:22): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2171|  27.5k|	  memcpy(initial[i].tags, p->tags, sizeof(*p->tags) * (j + 1));
 2172|  27.5k|	}
 2173|  27.5k|      initial[i].params = NULL;
 2174|  27.5k|      if (p->params)
  ------------------
  |  Branch (2174:11): [True: 0, False: 27.5k]
  ------------------
 2175|      0|	{
 2176|      0|	  initial[i].params = xmalloc(sizeof(*p->params) * TRE_PARAM_LAST);
  ------------------
  |  |   67|      0|#define xmalloc(size) malloc(size)
  ------------------
 2177|      0|	  if (!initial[i].params)
  ------------------
  |  Branch (2177:8): [True: 0, False: 0]
  ------------------
 2178|      0|	    ERROR_EXIT(REG_ESPACE);
  ------------------
  |  | 1882|      0|  do				  \
  |  | 1883|      0|    {				  \
  |  | 1884|      0|      errcode = err;		  \
  |  | 1885|      0|      if (/*CONSTCOND*/(void)1,1)	  \
  |  |  ------------------
  |  |  |  Branch (1885:24): [True: 0, Folded]
  |  |  ------------------
  |  | 1886|      0|      	goto error_exit;	  \
  |  | 1887|      0|    }				  \
  |  | 1888|      0| while (/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (1888:22): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2179|      0|	  memcpy(initial[i].params, p->params,
 2180|      0|		 sizeof(*p->params) * TRE_PARAM_LAST);
 2181|      0|	}
 2182|  27.5k|      initial[i].assertions = p->assertions;
 2183|  27.5k|      i++;
 2184|  27.5k|    }
 2185|  1.43k|  initial[i].state = NULL;
 2186|       |
 2187|  1.43k|  tnfa->num_transitions = add;
 2188|  1.43k|  tnfa->final = transitions + offs[tree->lastpos[0].position];
 2189|  1.43k|  tnfa->num_states = parse_ctx.position;
 2190|  1.43k|  tnfa->cflags = cflags;
 2191|       |
 2192|  1.43k|  DPRINT(("final state %p\n", (void *)tnfa->final));
  ------------------
  |  |   27|  1.43k|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 1.43k]
  |  |  ------------------
  ------------------
 2193|       |
 2194|  1.43k|  tre_mem_destroy(mem);
 2195|  1.43k|  tre_stack_destroy(stack);
 2196|  1.43k|  xfree(counts);
  ------------------
  |  |   69|  1.43k|#define xfree(ptr) free(ptr)
  ------------------
 2197|  1.43k|  xfree(offs);
  ------------------
  |  |   69|  1.43k|#define xfree(ptr) free(ptr)
  ------------------
 2198|       |
 2199|  1.43k|  preg->TRE_REGEX_T_FIELD = (void *)tnfa;
  ------------------
  |  |   15|  1.43k|#define TRE_REGEX_T_FIELD value
  ------------------
 2200|  1.43k|  return REG_OK;
 2201|       |
 2202|      0| error_exit:
 2203|       |  /* Free everything that was allocated and return the error code. */
 2204|      0|  tre_mem_destroy(mem);
 2205|      0|  if (stack != NULL)
  ------------------
  |  Branch (2205:7): [True: 0, False: 0]
  ------------------
 2206|      0|    tre_stack_destroy(stack);
 2207|      0|  if (counts != NULL)
  ------------------
  |  Branch (2207:7): [True: 0, False: 0]
  ------------------
 2208|      0|    xfree(counts);
  ------------------
  |  |   69|      0|#define xfree(ptr) free(ptr)
  ------------------
 2209|      0|  if (offs != NULL)
  ------------------
  |  Branch (2209:7): [True: 0, False: 0]
  ------------------
 2210|      0|    xfree(offs);
  ------------------
  |  |   69|      0|#define xfree(ptr) free(ptr)
  ------------------
 2211|      0|  preg->TRE_REGEX_T_FIELD = (void *)tnfa;
  ------------------
  |  |   15|      0|#define TRE_REGEX_T_FIELD value
  ------------------
 2212|      0|  tre_free(preg);
 2213|      0|  return errcode;
 2214|  1.43k|}
tre_free:
 2221|  1.43k|{
 2222|  1.43k|  tre_tnfa_t *tnfa;
 2223|  1.43k|  unsigned int i;
 2224|  1.43k|  tre_tnfa_transition_t *trans;
 2225|       |
 2226|  1.43k|  tnfa = (void *)preg->TRE_REGEX_T_FIELD;
  ------------------
  |  |   15|  1.43k|#define TRE_REGEX_T_FIELD value
  ------------------
 2227|  1.43k|  if (!tnfa)
  ------------------
  |  Branch (2227:7): [True: 0, False: 1.43k]
  ------------------
 2228|      0|    return;
 2229|       |
 2230|  33.4k|  for (i = 0; i < tnfa->num_transitions; i++)
  ------------------
  |  Branch (2230:15): [True: 31.9k, False: 1.43k]
  ------------------
 2231|  31.9k|    if (tnfa->transitions[i].state)
  ------------------
  |  Branch (2231:9): [True: 28.4k, False: 3.53k]
  ------------------
 2232|  28.4k|      {
 2233|  28.4k|	if (tnfa->transitions[i].tags)
  ------------------
  |  Branch (2233:6): [True: 27.5k, False: 860]
  ------------------
 2234|  27.5k|	  xfree(tnfa->transitions[i].tags);
  ------------------
  |  |   69|  27.5k|#define xfree(ptr) free(ptr)
  ------------------
 2235|  28.4k|	if (tnfa->transitions[i].neg_classes)
  ------------------
  |  Branch (2235:6): [True: 0, False: 28.4k]
  ------------------
 2236|      0|	  xfree(tnfa->transitions[i].neg_classes);
  ------------------
  |  |   69|      0|#define xfree(ptr) free(ptr)
  ------------------
 2237|  28.4k|	if (tnfa->transitions[i].params)
  ------------------
  |  Branch (2237:6): [True: 0, False: 28.4k]
  ------------------
 2238|      0|	  xfree(tnfa->transitions[i].params);
  ------------------
  |  |   69|      0|#define xfree(ptr) free(ptr)
  ------------------
 2239|  28.4k|      }
 2240|  1.43k|  if (tnfa->transitions)
  ------------------
  |  Branch (2240:7): [True: 1.43k, False: 0]
  ------------------
 2241|  1.43k|    xfree(tnfa->transitions);
  ------------------
  |  |   69|  1.43k|#define xfree(ptr) free(ptr)
  ------------------
 2242|       |
 2243|  1.43k|  if (tnfa->initial)
  ------------------
  |  Branch (2243:7): [True: 1.43k, False: 0]
  ------------------
 2244|  1.43k|    {
 2245|  29.0k|      for (trans = tnfa->initial; trans->state; trans++)
  ------------------
  |  Branch (2245:35): [True: 27.5k, False: 1.43k]
  ------------------
 2246|  27.5k|	{
 2247|  27.5k|	  if (trans->tags)
  ------------------
  |  Branch (2247:8): [True: 27.5k, False: 4]
  ------------------
 2248|  27.5k|	    xfree(trans->tags);
  ------------------
  |  |   69|  27.5k|#define xfree(ptr) free(ptr)
  ------------------
 2249|  27.5k|	  if (trans->params)
  ------------------
  |  Branch (2249:8): [True: 0, False: 27.5k]
  ------------------
 2250|      0|	    xfree(trans->params);
  ------------------
  |  |   69|      0|#define xfree(ptr) free(ptr)
  ------------------
 2251|  27.5k|	}
 2252|  1.43k|      xfree(tnfa->initial);
  ------------------
  |  |   69|  1.43k|#define xfree(ptr) free(ptr)
  ------------------
 2253|  1.43k|    }
 2254|       |
 2255|  1.43k|  if (tnfa->submatch_data)
  ------------------
  |  Branch (2255:7): [True: 1.37k, False: 57]
  ------------------
 2256|  1.37k|    {
 2257|  2.88k|      for (i = 0; i < tnfa->num_submatches; i++)
  ------------------
  |  Branch (2257:19): [True: 1.51k, False: 1.37k]
  ------------------
 2258|  1.51k|	if (tnfa->submatch_data[i].parents)
  ------------------
  |  Branch (2258:6): [True: 136, False: 1.37k]
  ------------------
 2259|    136|	  xfree(tnfa->submatch_data[i].parents);
  ------------------
  |  |   69|    136|#define xfree(ptr) free(ptr)
  ------------------
 2260|  1.37k|      xfree(tnfa->submatch_data);
  ------------------
  |  |   69|  1.37k|#define xfree(ptr) free(ptr)
  ------------------
 2261|  1.37k|    }
 2262|       |
 2263|  1.43k|  if (tnfa->tag_directions)
  ------------------
  |  Branch (2263:7): [True: 1.37k, False: 57]
  ------------------
 2264|  1.37k|    xfree(tnfa->tag_directions);
  ------------------
  |  |   69|  1.37k|#define xfree(ptr) free(ptr)
  ------------------
 2265|  1.43k|  if (tnfa->firstpos_chars)
  ------------------
  |  Branch (2265:7): [True: 1.38k, False: 52]
  ------------------
 2266|  1.38k|    xfree(tnfa->firstpos_chars);
  ------------------
  |  |   69|  1.38k|#define xfree(ptr) free(ptr)
  ------------------
 2267|  1.43k|  if (tnfa->minimal_tags)
  ------------------
  |  Branch (2267:7): [True: 1.37k, False: 57]
  ------------------
 2268|  1.37k|    xfree(tnfa->minimal_tags);
  ------------------
  |  |   69|  1.37k|#define xfree(ptr) free(ptr)
  ------------------
 2269|  1.43k|  xfree(tnfa);
  ------------------
  |  |   69|  1.43k|#define xfree(ptr) free(ptr)
  ------------------
 2270|  1.43k|}
tre-compile.c:tre_add_tags:
  148|  2.75k|{
  149|  2.75k|  reg_errcode_t status = REG_OK;
  150|  2.75k|  tre_addtags_symbol_t symbol;
  151|  2.75k|  tre_ast_node_t *node = tree; /* Tree node we are currently looking at. */
  152|  2.75k|  int bottom = tre_stack_num_objects(stack);
  153|       |  /* True for first pass (counting number of needed tags) */
  154|  2.75k|  int first_pass = (mem == NULL || tnfa == NULL);
  ------------------
  |  Branch (154:21): [True: 1.37k, False: 1.37k]
  |  Branch (154:36): [True: 0, False: 1.37k]
  ------------------
  155|  2.75k|  int *regset, *orig_regset;
  156|  2.75k|  int num_tags = 0; /* Total number of tags. */
  157|  2.75k|  int num_minimals = 0;	 /* Number of special minimal tags. */
  158|  2.75k|  int tag = 0;	    /* The tag that is to be added next. */
  159|  2.75k|  int next_tag = 1; /* Next tag to use after this one. */
  160|  2.75k|  int *parents;	    /* Stack of submatches the current submatch is
  161|       |		       contained in. */
  162|  2.75k|  int minimal_tag = -1; /* Tag that marks the beginning of a minimal match. */
  163|  2.75k|  tre_tag_states_t *saved_states;
  164|       |
  165|  2.75k|  tre_tag_direction_t direction = TRE_TAG_MINIMIZE;
  166|  2.75k|  if (!first_pass)
  ------------------
  |  Branch (166:7): [True: 1.37k, False: 1.37k]
  ------------------
  167|  1.37k|    {
  168|  1.37k|      tnfa->end_tag = 0;
  169|  1.37k|      tnfa->minimal_tags[0] = -1;
  170|  1.37k|    }
  171|       |
  172|  2.75k|  regset = xmalloc(sizeof(*regset) * ((tnfa->num_submatches + 1) * 2));
  ------------------
  |  |   67|  2.75k|#define xmalloc(size) malloc(size)
  ------------------
  173|  2.75k|  if (regset == NULL)
  ------------------
  |  Branch (173:7): [True: 0, False: 2.75k]
  ------------------
  174|      0|    return REG_ESPACE;
  175|  2.75k|  regset[0] = -1;
  176|  2.75k|  orig_regset = regset;
  177|       |
  178|  2.75k|  parents = xmalloc(sizeof(*parents) * (tnfa->num_submatches + 1));
  ------------------
  |  |   67|  2.75k|#define xmalloc(size) malloc(size)
  ------------------
  179|  2.75k|  if (parents == NULL)
  ------------------
  |  Branch (179:7): [True: 0, False: 2.75k]
  ------------------
  180|      0|    {
  181|      0|      xfree(regset);
  ------------------
  |  |   69|      0|#define xfree(ptr) free(ptr)
  ------------------
  182|      0|      return REG_ESPACE;
  183|      0|    }
  184|  2.75k|  parents[0] = -1;
  185|       |
  186|  2.75k|  saved_states = xmalloc(sizeof(*saved_states) * (tnfa->num_submatches + 1));
  ------------------
  |  |   67|  2.75k|#define xmalloc(size) malloc(size)
  ------------------
  187|  2.75k|  if (saved_states == NULL)
  ------------------
  |  Branch (187:7): [True: 0, False: 2.75k]
  ------------------
  188|      0|    {
  189|      0|      xfree(regset);
  ------------------
  |  |   69|      0|#define xfree(ptr) free(ptr)
  ------------------
  190|      0|      xfree(parents);
  ------------------
  |  |   69|      0|#define xfree(ptr) free(ptr)
  ------------------
  191|      0|      return REG_ESPACE;
  192|      0|    }
  193|  2.75k|  else
  194|  2.75k|    {
  195|  2.75k|      unsigned int i;
  196|  8.52k|      for (i = 0; i <= tnfa->num_submatches; i++)
  ------------------
  |  Branch (196:19): [True: 5.77k, False: 2.75k]
  ------------------
  197|  5.77k|	saved_states[i].tag = -1;
  198|  2.75k|    }
  199|       |
  200|  2.75k|  STACK_PUSH(stack, voidptr, node);
  ------------------
  |  |   53|  2.75k|  do									      \
  |  |   54|  2.75k|    {									      \
  |  |   55|  2.75k|      status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   56|  2.75k|    }									      \
  |  |   57|  2.75k|  while (/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (57:23): [Folded, False: 2.75k]
  |  |  ------------------
  ------------------
  201|  2.75k|  STACK_PUSH(stack, int, ADDTAGS_RECURSE);
  ------------------
  |  |   53|  2.75k|  do									      \
  |  |   54|  2.75k|    {									      \
  |  |   55|  2.75k|      status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   56|  2.75k|    }									      \
  |  |   57|  2.75k|  while (/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (57:23): [Folded, False: 2.75k]
  |  |  ------------------
  ------------------
  202|       |
  203|   220k|  while (tre_stack_num_objects(stack) > bottom)
  ------------------
  |  Branch (203:10): [True: 218k, False: 2.75k]
  ------------------
  204|   218k|    {
  205|   218k|      if (status != REG_OK)
  ------------------
  |  Branch (205:11): [True: 0, False: 218k]
  ------------------
  206|      0|	break;
  207|       |
  208|   218k|      symbol = (tre_addtags_symbol_t)tre_stack_pop_int(stack);
  209|   218k|      switch (symbol)
  210|   218k|	{
  211|       |
  212|  3.02k|	case ADDTAGS_SET_SUBMATCH_END:
  ------------------
  |  Branch (212:2): [True: 3.02k, False: 215k]
  ------------------
  213|  3.02k|	  {
  214|  3.02k|	    int id = tre_stack_pop_int(stack);
  215|  3.02k|	    int i;
  216|       |
  217|       |	    /* Add end of this submatch to regset. */
  218|  3.13k|	    for (i = 0; regset[i] >= 0; i++);
  ------------------
  |  Branch (218:18): [True: 108, False: 3.02k]
  ------------------
  219|  3.02k|	    regset[i] = id * 2 + 1;
  220|  3.02k|	    regset[i + 1] = -1;
  221|       |
  222|       |	    /* Pop this submatch from the parents stack. */
  223|  6.32k|	    for (i = 0; parents[i] >= 0; i++);
  ------------------
  |  Branch (223:18): [True: 3.29k, False: 3.02k]
  ------------------
  224|  3.02k|	    parents[i - 1] = -1;
  225|  3.02k|	    break;
  226|      0|	  }
  227|       |
  228|   108k|	case ADDTAGS_RECURSE:
  ------------------
  |  Branch (228:2): [True: 108k, False: 109k]
  ------------------
  229|   108k|	  node = tre_stack_pop_voidptr(stack);
  230|       |
  231|   108k|	  if (node->submatch_id >= 0)
  ------------------
  |  Branch (231:8): [True: 3.02k, False: 105k]
  ------------------
  232|  3.02k|	    {
  233|  3.02k|	      int id = node->submatch_id;
  234|  3.02k|	      int i;
  235|       |
  236|       |
  237|       |	      /* Add start of this submatch to regset. */
  238|  3.13k|	      for (i = 0; regset[i] >= 0; i++);
  ------------------
  |  Branch (238:20): [True: 112, False: 3.02k]
  ------------------
  239|  3.02k|	      regset[i] = id * 2;
  240|  3.02k|	      regset[i + 1] = -1;
  241|       |
  242|  3.02k|	      if (!first_pass)
  ------------------
  |  Branch (242:12): [True: 1.51k, False: 1.51k]
  ------------------
  243|  1.51k|		{
  244|  1.64k|		  for (i = 0; parents[i] >= 0; i++);
  ------------------
  |  Branch (244:17): [True: 136, False: 1.51k]
  ------------------
  245|  1.51k|		  tnfa->submatch_data[id].parents = NULL;
  246|  1.51k|		  if (i > 0)
  ------------------
  |  Branch (246:9): [True: 136, False: 1.37k]
  ------------------
  247|    136|		    {
  248|    136|		      int *p = xmalloc(sizeof(*p) * (i + 1));
  ------------------
  |  |   67|    136|#define xmalloc(size) malloc(size)
  ------------------
  249|    136|		      if (p == NULL)
  ------------------
  |  Branch (249:13): [True: 0, False: 136]
  ------------------
  250|      0|			{
  251|      0|			  status = REG_ESPACE;
  252|      0|			  break;
  253|      0|			}
  254|    136|		      assert(tnfa->submatch_data[id].parents == NULL);
  ------------------
  |  |   32|    136|#define assert(a) R_assert(a)
  |  |  ------------------
  |  |  |  |  230|    136|#define R_assert(e) ((e) ? (void) 0 : Rf_error("assertion '%s' failed in executing regexp: file '%s', line %d\n", #e, __FILE__, __LINE__))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (230:22): [True: 136, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  255|    136|		      tnfa->submatch_data[id].parents = p;
  256|    272|		      for (i = 0; parents[i] >= 0; i++)
  ------------------
  |  Branch (256:21): [True: 136, False: 136]
  ------------------
  257|    136|			p[i] = parents[i];
  258|    136|		      p[i] = -1;
  259|    136|		    }
  260|  1.51k|		}
  261|       |
  262|       |	      /* Add end of this submatch to regset after processing this
  263|       |		 node. */
  264|  3.02k|	      STACK_PUSHX(stack, int, node->submatch_id);
  ------------------
  |  |   60|  3.02k|  {									      \
  |  |   61|  3.02k|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|  3.02k|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 3.02k]
  |  |  ------------------
  |  |   63|  3.02k|      break;								      \
  |  |   64|  3.02k|  }
  ------------------
  265|  3.02k|	      STACK_PUSHX(stack, int, ADDTAGS_SET_SUBMATCH_END);
  ------------------
  |  |   60|  3.02k|  {									      \
  |  |   61|  3.02k|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|  3.02k|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 3.02k]
  |  |  ------------------
  |  |   63|  3.02k|      break;								      \
  |  |   64|  3.02k|  }
  ------------------
  266|  3.02k|	    }
  267|       |
  268|   108k|	  switch (node->type)
  ------------------
  |  Branch (268:12): [True: 108k, False: 0]
  ------------------
  269|   108k|	    {
  270|  55.7k|	    case LITERAL:
  ------------------
  |  Branch (270:6): [True: 55.7k, False: 53.1k]
  ------------------
  271|  55.7k|	      {
  272|  55.7k|		tre_literal_t *lit = node->obj;
  273|       |
  274|  55.7k|		if (!IS_SPECIAL(lit) || IS_BACKREF(lit))
  ------------------
  |  |   32|   111k|#define IS_SPECIAL(x)	((x)->code_min < 0)
  ------------------
              		if (!IS_SPECIAL(lit) || IS_BACKREF(lit))
  ------------------
  |  |   36|    124|#define IS_BACKREF(x)	((x)->code_min == BACKREF)
  |  |  ------------------
  |  |  |  |   29|    124|#define BACKREF	  -4   /* Back reference leaf. */
  |  |  ------------------
  |  |  |  Branch (36:23): [True: 0, False: 124]
  |  |  ------------------
  ------------------
  |  Branch (274:7): [True: 55.6k, False: 124]
  ------------------
  275|  55.6k|		  {
  276|  55.6k|		    int i;
  277|  55.6k|		    DPRINT(("Literal %d-%d\n",
  ------------------
  |  |   27|  55.6k|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 55.6k]
  |  |  ------------------
  ------------------
  278|  55.6k|			    (int)lit->code_min, (int)lit->code_max));
  279|  55.6k|		    if (regset[0] >= 0)
  ------------------
  |  Branch (279:11): [True: 300, False: 55.3k]
  ------------------
  280|    300|		      {
  281|       |			/* Regset is not empty, so add a tag before the
  282|       |			   literal or backref. */
  283|    300|			if (!first_pass)
  ------------------
  |  Branch (283:8): [True: 150, False: 150]
  ------------------
  284|    150|			  {
  285|    150|			    status = tre_add_tag_left(mem, node, tag);
  286|    150|			    tnfa->tag_directions[tag] = direction;
  287|    150|			    if (minimal_tag >= 0)
  ------------------
  |  Branch (287:12): [True: 0, False: 150]
  ------------------
  288|      0|			      {
  289|      0|				DPRINT(("Minimal %d, %d\n", minimal_tag, tag));
  ------------------
  |  |   27|      0|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
  290|      0|				for (i = 0; tnfa->minimal_tags[i] >= 0; i++);
  ------------------
  |  Branch (290:17): [True: 0, False: 0]
  ------------------
  291|      0|				tnfa->minimal_tags[i] = tag;
  292|      0|				tnfa->minimal_tags[i + 1] = minimal_tag;
  293|      0|				tnfa->minimal_tags[i + 2] = -1;
  294|      0|				minimal_tag = -1;
  295|      0|				num_minimals++;
  296|      0|			      }
  297|    150|			    tre_purge_regset(regset, tnfa, tag);
  298|    150|			  }
  299|    150|			else
  300|    150|			  {
  301|    150|			    DPRINT(("  num_tags = 1\n"));
  ------------------
  |  |   27|    150|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 150]
  |  |  ------------------
  ------------------
  302|    150|			    node->num_tags = 1;
  303|    150|			  }
  304|       |
  305|    300|			DPRINT(("  num_tags++\n"));
  ------------------
  |  |   27|    300|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 300]
  |  |  ------------------
  ------------------
  306|    300|			regset[0] = -1;
  307|    300|			tag = next_tag;
  308|    300|			num_tags++;
  309|    300|			next_tag++;
  310|    300|		      }
  311|  55.6k|		  }
  312|    124|		else
  313|    124|		  {
  314|    124|		    assert(!IS_TAG(lit));
  ------------------
  |  |   32|    124|#define assert(a) R_assert(a)
  |  |  ------------------
  |  |  |  |  230|    124|#define R_assert(e) ((e) ? (void) 0 : Rf_error("assertion '%s' failed in executing regexp: file '%s', line %d\n", #e, __FILE__, __LINE__))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (230:22): [True: 124, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  315|    124|		  }
  316|  55.7k|		break;
  317|      0|	      }
  318|    744|	    case CATENATION:
  ------------------
  |  Branch (318:6): [True: 744, False: 108k]
  ------------------
  319|    744|	      {
  320|    744|		tre_catenation_t *cat = node->obj;
  321|    744|		tre_ast_node_t *left = cat->left;
  322|    744|		tre_ast_node_t *right = cat->right;
  323|    744|		int reserved_tag = -1;
  324|    744|		DPRINT(("Catenation, next_tag = %d\n", next_tag));
  ------------------
  |  |   27|    744|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 744]
  |  |  ------------------
  ------------------
  325|       |
  326|       |
  327|       |		/* After processing right child. */
  328|    744|		STACK_PUSHX(stack, voidptr, node);
  ------------------
  |  |   60|    744|  {									      \
  |  |   61|    744|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|    744|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 744]
  |  |  ------------------
  |  |   63|    744|      break;								      \
  |  |   64|    744|  }
  ------------------
  329|    744|		STACK_PUSHX(stack, int, ADDTAGS_AFTER_CAT_RIGHT);
  ------------------
  |  |   60|    744|  {									      \
  |  |   61|    744|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|    744|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 744]
  |  |  ------------------
  |  |   63|    744|      break;								      \
  |  |   64|    744|  }
  ------------------
  330|       |
  331|       |		/* Process right child. */
  332|    744|		STACK_PUSHX(stack, voidptr, right);
  ------------------
  |  |   60|    744|  {									      \
  |  |   61|    744|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|    744|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 744]
  |  |  ------------------
  |  |   63|    744|      break;								      \
  |  |   64|    744|  }
  ------------------
  333|    744|		STACK_PUSHX(stack, int, ADDTAGS_RECURSE);
  ------------------
  |  |   60|    744|  {									      \
  |  |   61|    744|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|    744|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 744]
  |  |  ------------------
  |  |   63|    744|      break;								      \
  |  |   64|    744|  }
  ------------------
  334|       |
  335|       |		/* After processing left child. */
  336|    744|		STACK_PUSHX(stack, int, next_tag + left->num_tags);
  ------------------
  |  |   60|    744|  {									      \
  |  |   61|    744|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|    744|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 744]
  |  |  ------------------
  |  |   63|    744|      break;								      \
  |  |   64|    744|  }
  ------------------
  337|    744|		DPRINT(("  Pushing %d for after left\n",
  ------------------
  |  |   27|    744|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 744]
  |  |  ------------------
  ------------------
  338|    744|			next_tag + left->num_tags));
  339|    744|		if (left->num_tags > 0 && right->num_tags > 0)
  ------------------
  |  Branch (339:7): [True: 342, False: 402]
  |  Branch (339:29): [True: 134, False: 208]
  ------------------
  340|    134|		  {
  341|       |		    /* Reserve the next tag to the right child. */
  342|    134|		    DPRINT(("  Reserving next_tag %d to right child\n",
  ------------------
  |  |   27|    134|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 134]
  |  |  ------------------
  ------------------
  343|    134|			    next_tag));
  344|    134|		    reserved_tag = next_tag;
  345|    134|		    next_tag++;
  346|    134|		  }
  347|    744|		STACK_PUSHX(stack, int, reserved_tag);
  ------------------
  |  |   60|    744|  {									      \
  |  |   61|    744|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|    744|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 744]
  |  |  ------------------
  |  |   63|    744|      break;								      \
  |  |   64|    744|  }
  ------------------
  348|    744|		STACK_PUSHX(stack, int, ADDTAGS_AFTER_CAT_LEFT);
  ------------------
  |  |   60|    744|  {									      \
  |  |   61|    744|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|    744|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 744]
  |  |  ------------------
  |  |   63|    744|      break;								      \
  |  |   64|    744|  }
  ------------------
  349|       |
  350|       |		/* Process left child. */
  351|    744|		STACK_PUSHX(stack, voidptr, left);
  ------------------
  |  |   60|    744|  {									      \
  |  |   61|    744|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|    744|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 744]
  |  |  ------------------
  |  |   63|    744|      break;								      \
  |  |   64|    744|  }
  ------------------
  352|    744|		STACK_PUSHX(stack, int, ADDTAGS_RECURSE);
  ------------------
  |  |   60|    744|  {									      \
  |  |   61|    744|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|    744|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 744]
  |  |  ------------------
  |  |   63|    744|      break;								      \
  |  |   64|    744|  }
  ------------------
  353|       |
  354|    744|		}
  355|      0|	      break;
  356|    176|	    case ITERATION:
  ------------------
  |  Branch (356:6): [True: 176, False: 108k]
  ------------------
  357|    176|	      {
  358|    176|		tre_iteration_t *iter = node->obj;
  359|    176|		DPRINT(("Iteration\n"));
  ------------------
  |  |   27|    176|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 176]
  |  |  ------------------
  ------------------
  360|       |
  361|    176|		if (first_pass)
  ------------------
  |  Branch (361:7): [True: 88, False: 88]
  ------------------
  362|     88|		  {
  363|     88|		    STACK_PUSHX(stack, int, regset[0] >= 0 || iter->minimal);
  ------------------
  |  |   60|     88|  {									      \
  |  |   61|     94|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |  ------------------
  |  |  |  Branch (61:44): [True: 82, False: 6]
  |  |  |  Branch (61:44): [True: 0, False: 6]
  |  |  ------------------
  |  |   62|     88|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 88]
  |  |  ------------------
  |  |   63|     88|      break;								      \
  |  |   64|     88|  }
  ------------------
  364|     88|		  }
  365|     88|		else
  366|     88|		  {
  367|     88|		    STACK_PUSHX(stack, int, tag);
  ------------------
  |  |   60|     88|  {									      \
  |  |   61|     88|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|     88|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 88]
  |  |  ------------------
  |  |   63|     88|      break;								      \
  |  |   64|     88|  }
  ------------------
  368|     88|		    STACK_PUSHX(stack, int, iter->minimal);
  ------------------
  |  |   60|     88|  {									      \
  |  |   61|     88|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|     88|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 88]
  |  |  ------------------
  |  |   63|     88|      break;								      \
  |  |   64|     88|  }
  ------------------
  369|     88|		  }
  370|    176|		STACK_PUSHX(stack, voidptr, node);
  ------------------
  |  |   60|    176|  {									      \
  |  |   61|    176|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|    176|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 176]
  |  |  ------------------
  |  |   63|    176|      break;								      \
  |  |   64|    176|  }
  ------------------
  371|    176|		STACK_PUSHX(stack, int, ADDTAGS_AFTER_ITERATION);
  ------------------
  |  |   60|    176|  {									      \
  |  |   61|    176|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|    176|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 176]
  |  |  ------------------
  |  |   63|    176|      break;								      \
  |  |   64|    176|  }
  ------------------
  372|       |
  373|    176|		STACK_PUSHX(stack, voidptr, iter->arg);
  ------------------
  |  |   60|    176|  {									      \
  |  |   61|    176|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|    176|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 176]
  |  |  ------------------
  |  |   63|    176|      break;								      \
  |  |   64|    176|  }
  ------------------
  374|    176|		STACK_PUSHX(stack, int, ADDTAGS_RECURSE);
  ------------------
  |  |   60|    176|  {									      \
  |  |   61|    176|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|    176|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 176]
  |  |  ------------------
  |  |   63|    176|      break;								      \
  |  |   64|    176|  }
  ------------------
  375|       |
  376|       |		/* Regset is not empty, so add a tag here. */
  377|    176|		if (regset[0] >= 0 || iter->minimal)
  ------------------
  |  Branch (377:7): [True: 164, False: 12]
  |  Branch (377:25): [True: 0, False: 12]
  ------------------
  378|    164|		  {
  379|    164|		    if (!first_pass)
  ------------------
  |  Branch (379:11): [True: 82, False: 82]
  ------------------
  380|     82|		      {
  381|     82|			int i;
  382|     82|			status = tre_add_tag_left(mem, node, tag);
  383|     82|			if (iter->minimal)
  ------------------
  |  Branch (383:8): [True: 0, False: 82]
  ------------------
  384|      0|			  tnfa->tag_directions[tag] = TRE_TAG_MAXIMIZE;
  385|     82|			else
  386|     82|			  tnfa->tag_directions[tag] = direction;
  387|     82|			if (minimal_tag >= 0)
  ------------------
  |  Branch (387:8): [True: 0, False: 82]
  ------------------
  388|      0|			  {
  389|      0|			    DPRINT(("Minimal %d, %d\n", minimal_tag, tag));
  ------------------
  |  |   27|      0|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
  390|      0|			    for (i = 0; tnfa->minimal_tags[i] >= 0; i++);
  ------------------
  |  Branch (390:20): [True: 0, False: 0]
  ------------------
  391|      0|			    tnfa->minimal_tags[i] = tag;
  392|      0|			    tnfa->minimal_tags[i + 1] = minimal_tag;
  393|      0|			    tnfa->minimal_tags[i + 2] = -1;
  394|      0|			    minimal_tag = -1;
  395|      0|			    num_minimals++;
  396|      0|			  }
  397|     82|			tre_purge_regset(regset, tnfa, tag);
  398|     82|		      }
  399|       |
  400|    164|		    DPRINT(("  num_tags++\n"));
  ------------------
  |  |   27|    164|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 164]
  |  |  ------------------
  ------------------
  401|    164|		    regset[0] = -1;
  402|    164|		    tag = next_tag;
  403|    164|		    num_tags++;
  404|    164|		    next_tag++;
  405|    164|		  }
  406|    176|		direction = TRE_TAG_MINIMIZE;
  407|    176|	      }
  408|      0|	      break;
  409|  52.2k|	    case UNION:
  ------------------
  |  Branch (409:6): [True: 52.2k, False: 56.6k]
  ------------------
  410|  52.2k|	      {
  411|  52.2k|		tre_union_t *uni = node->obj;
  412|  52.2k|		tre_ast_node_t *left = uni->left;
  413|  52.2k|		tre_ast_node_t *right = uni->right;
  414|  52.2k|		int left_tag;
  415|  52.2k|		int right_tag;
  416|       |
  417|  52.2k|		if (regset[0] >= 0)
  ------------------
  |  Branch (417:7): [True: 2.61k, False: 49.6k]
  ------------------
  418|  2.61k|		  {
  419|  2.61k|		    left_tag = next_tag;
  420|  2.61k|		    right_tag = next_tag + 1;
  421|  2.61k|		  }
  422|  49.6k|		else
  423|  49.6k|		  {
  424|  49.6k|		    left_tag = tag;
  425|  49.6k|		    right_tag = next_tag;
  426|  49.6k|		  }
  427|       |
  428|  52.2k|		DPRINT(("Union\n"));
  ------------------
  |  |   27|  52.2k|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 52.2k]
  |  |  ------------------
  ------------------
  429|       |
  430|       |		/* After processing right child. */
  431|  52.2k|		STACK_PUSHX(stack, int, right_tag);
  ------------------
  |  |   60|  52.2k|  {									      \
  |  |   61|  52.2k|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|  52.2k|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 52.2k]
  |  |  ------------------
  |  |   63|  52.2k|      break;								      \
  |  |   64|  52.2k|  }
  ------------------
  432|  52.2k|		STACK_PUSHX(stack, int, left_tag);
  ------------------
  |  |   60|  52.2k|  {									      \
  |  |   61|  52.2k|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|  52.2k|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 52.2k]
  |  |  ------------------
  |  |   63|  52.2k|      break;								      \
  |  |   64|  52.2k|  }
  ------------------
  433|  52.2k|		STACK_PUSHX(stack, voidptr, regset);
  ------------------
  |  |   60|  52.2k|  {									      \
  |  |   61|  52.2k|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|  52.2k|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 52.2k]
  |  |  ------------------
  |  |   63|  52.2k|      break;								      \
  |  |   64|  52.2k|  }
  ------------------
  434|  52.2k|		STACK_PUSHX(stack, int, regset[0] >= 0);
  ------------------
  |  |   60|  52.2k|  {									      \
  |  |   61|  52.2k|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|  52.2k|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 52.2k]
  |  |  ------------------
  |  |   63|  52.2k|      break;								      \
  |  |   64|  52.2k|  }
  ------------------
  435|  52.2k|		STACK_PUSHX(stack, voidptr, node);
  ------------------
  |  |   60|  52.2k|  {									      \
  |  |   61|  52.2k|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|  52.2k|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 52.2k]
  |  |  ------------------
  |  |   63|  52.2k|      break;								      \
  |  |   64|  52.2k|  }
  ------------------
  436|  52.2k|		STACK_PUSHX(stack, voidptr, right);
  ------------------
  |  |   60|  52.2k|  {									      \
  |  |   61|  52.2k|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|  52.2k|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 52.2k]
  |  |  ------------------
  |  |   63|  52.2k|      break;								      \
  |  |   64|  52.2k|  }
  ------------------
  437|  52.2k|		STACK_PUSHX(stack, voidptr, left);
  ------------------
  |  |   60|  52.2k|  {									      \
  |  |   61|  52.2k|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|  52.2k|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 52.2k]
  |  |  ------------------
  |  |   63|  52.2k|      break;								      \
  |  |   64|  52.2k|  }
  ------------------
  438|  52.2k|		STACK_PUSHX(stack, int, ADDTAGS_AFTER_UNION_RIGHT);
  ------------------
  |  |   60|  52.2k|  {									      \
  |  |   61|  52.2k|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|  52.2k|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 52.2k]
  |  |  ------------------
  |  |   63|  52.2k|      break;								      \
  |  |   64|  52.2k|  }
  ------------------
  439|       |
  440|       |		/* Process right child. */
  441|  52.2k|		STACK_PUSHX(stack, voidptr, right);
  ------------------
  |  |   60|  52.2k|  {									      \
  |  |   61|  52.2k|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|  52.2k|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 52.2k]
  |  |  ------------------
  |  |   63|  52.2k|      break;								      \
  |  |   64|  52.2k|  }
  ------------------
  442|  52.2k|		STACK_PUSHX(stack, int, ADDTAGS_RECURSE);
  ------------------
  |  |   60|  52.2k|  {									      \
  |  |   61|  52.2k|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|  52.2k|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 52.2k]
  |  |  ------------------
  |  |   63|  52.2k|      break;								      \
  |  |   64|  52.2k|  }
  ------------------
  443|       |
  444|       |		/* After processing left child. */
  445|  52.2k|		STACK_PUSHX(stack, int, ADDTAGS_AFTER_UNION_LEFT);
  ------------------
  |  |   60|  52.2k|  {									      \
  |  |   61|  52.2k|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|  52.2k|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 52.2k]
  |  |  ------------------
  |  |   63|  52.2k|      break;								      \
  |  |   64|  52.2k|  }
  ------------------
  446|       |
  447|       |		/* Process left child. */
  448|  52.2k|		STACK_PUSHX(stack, voidptr, left);
  ------------------
  |  |   60|  52.2k|  {									      \
  |  |   61|  52.2k|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|  52.2k|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 52.2k]
  |  |  ------------------
  |  |   63|  52.2k|      break;								      \
  |  |   64|  52.2k|  }
  ------------------
  449|  52.2k|		STACK_PUSHX(stack, int, ADDTAGS_RECURSE);
  ------------------
  |  |   60|  52.2k|  {									      \
  |  |   61|  52.2k|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|  52.2k|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 52.2k]
  |  |  ------------------
  |  |   63|  52.2k|      break;								      \
  |  |   64|  52.2k|  }
  ------------------
  450|       |
  451|       |		/* Regset is not empty, so add a tag here. */
  452|  52.2k|		if (regset[0] >= 0)
  ------------------
  |  Branch (452:7): [True: 2.61k, False: 49.6k]
  ------------------
  453|  2.61k|		  {
  454|  2.61k|		    if (!first_pass)
  ------------------
  |  Branch (454:11): [True: 1.30k, False: 1.30k]
  ------------------
  455|  1.30k|		      {
  456|  1.30k|			int i;
  457|  1.30k|			status = tre_add_tag_left(mem, node, tag);
  458|  1.30k|			tnfa->tag_directions[tag] = direction;
  459|  1.30k|			if (minimal_tag >= 0)
  ------------------
  |  Branch (459:8): [True: 0, False: 1.30k]
  ------------------
  460|      0|			  {
  461|      0|			    DPRINT(("Minimal %d, %d\n", minimal_tag, tag));
  ------------------
  |  |   27|      0|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
  462|      0|			    for (i = 0; tnfa->minimal_tags[i] >= 0; i++);
  ------------------
  |  Branch (462:20): [True: 0, False: 0]
  ------------------
  463|      0|			    tnfa->minimal_tags[i] = tag;
  464|      0|			    tnfa->minimal_tags[i + 1] = minimal_tag;
  465|      0|			    tnfa->minimal_tags[i + 2] = -1;
  466|      0|			    minimal_tag = -1;
  467|      0|			    num_minimals++;
  468|      0|			  }
  469|  1.30k|			tre_purge_regset(regset, tnfa, tag);
  470|  1.30k|		      }
  471|       |
  472|  2.61k|		    DPRINT(("  num_tags++\n"));
  ------------------
  |  |   27|  2.61k|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 2.61k]
  |  |  ------------------
  ------------------
  473|  2.61k|		    regset[0] = -1;
  474|  2.61k|		    tag = next_tag;
  475|  2.61k|		    num_tags++;
  476|  2.61k|		    next_tag++;
  477|  2.61k|		  }
  478|       |
  479|  52.2k|		if (node->num_submatches > 0)
  ------------------
  |  Branch (479:7): [True: 2.61k, False: 49.6k]
  ------------------
  480|  2.61k|		  {
  481|       |		    /* The next two tags are reserved for markers. */
  482|  2.61k|		    next_tag++;
  483|  2.61k|		    tag = next_tag;
  484|  2.61k|		    next_tag++;
  485|  2.61k|		  }
  486|       |
  487|  52.2k|		break;
  488|  52.2k|	      }
  489|   108k|	    }
  490|       |
  491|   108k|	  if (node->submatch_id >= 0)
  ------------------
  |  Branch (491:8): [True: 3.02k, False: 105k]
  ------------------
  492|  3.02k|	    {
  493|  3.02k|	      int i;
  494|       |	      /* Push this submatch on the parents stack. */
  495|  3.29k|	      for (i = 0; parents[i] >= 0; i++);
  ------------------
  |  Branch (495:20): [True: 272, False: 3.02k]
  ------------------
  496|  3.02k|	      parents[i] = node->submatch_id;
  497|  3.02k|	      parents[i + 1] = -1;
  498|  3.02k|	    }
  499|       |
  500|   108k|	  break; /* end case: ADDTAGS_RECURSE */
  501|       |
  502|    176|	case ADDTAGS_AFTER_ITERATION:
  ------------------
  |  Branch (502:2): [True: 176, False: 217k]
  ------------------
  503|    176|	  {
  504|    176|	    int minimal = 0;
  505|    176|	    int enter_tag;
  506|    176|	    node = tre_stack_pop_voidptr(stack);
  507|    176|	    if (first_pass)
  ------------------
  |  Branch (507:10): [True: 88, False: 88]
  ------------------
  508|     88|	      {
  509|     88|		node->num_tags = ((tre_iteration_t *)node->obj)->arg->num_tags
  510|     88|		  + tre_stack_pop_int(stack);
  511|     88|		minimal_tag = -1;
  512|     88|	      }
  513|     88|	    else
  514|     88|	      {
  515|     88|		minimal = tre_stack_pop_int(stack);
  516|     88|		enter_tag = tre_stack_pop_int(stack);
  517|     88|		if (minimal)
  ------------------
  |  Branch (517:7): [True: 0, False: 88]
  ------------------
  518|      0|		  minimal_tag = enter_tag;
  519|     88|	      }
  520|       |
  521|    176|	    DPRINT(("After iteration\n"));
  ------------------
  |  |   27|    176|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 176]
  |  |  ------------------
  ------------------
  522|    176|	    if (!first_pass)
  ------------------
  |  Branch (522:10): [True: 88, False: 88]
  ------------------
  523|     88|	      {
  524|     88|		DPRINT(("  Setting direction to %s\n",
  ------------------
  |  |   27|     88|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 88]
  |  |  ------------------
  ------------------
  525|     88|			minimal ? "minimize" : "maximize"));
  526|     88|		if (minimal)
  ------------------
  |  Branch (526:7): [True: 0, False: 88]
  ------------------
  527|      0|		  direction = TRE_TAG_MINIMIZE;
  528|     88|		else
  529|     88|		  direction = TRE_TAG_MAXIMIZE;
  530|     88|	      }
  531|    176|	    break;
  532|   108k|	  }
  533|       |
  534|    744|	case ADDTAGS_AFTER_CAT_LEFT:
  ------------------
  |  Branch (534:2): [True: 744, False: 217k]
  ------------------
  535|    744|	  {
  536|    744|	    int new_tag = tre_stack_pop_int(stack);
  537|    744|	    next_tag = tre_stack_pop_int(stack);
  538|    744|	    DPRINT(("After cat left, tag = %d, next_tag = %d\n",
  ------------------
  |  |   27|    744|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 744]
  |  |  ------------------
  ------------------
  539|    744|		    tag, next_tag));
  540|    744|	    if (new_tag >= 0)
  ------------------
  |  Branch (540:10): [True: 134, False: 610]
  ------------------
  541|    134|	      {
  542|    134|		DPRINT(("  Setting tag to %d\n", new_tag));
  ------------------
  |  |   27|    134|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 134]
  |  |  ------------------
  ------------------
  543|    134|		tag = new_tag;
  544|    134|	      }
  545|    744|	    break;
  546|   108k|	  }
  547|       |
  548|    744|	case ADDTAGS_AFTER_CAT_RIGHT:
  ------------------
  |  Branch (548:2): [True: 744, False: 217k]
  ------------------
  549|    744|	  DPRINT(("After cat right\n"));
  ------------------
  |  |   27|    744|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 744]
  |  |  ------------------
  ------------------
  550|    744|	  node = tre_stack_pop_voidptr(stack);
  551|    744|	  if (first_pass)
  ------------------
  |  Branch (551:8): [True: 372, False: 372]
  ------------------
  552|    372|	    node->num_tags = ((tre_catenation_t *)node->obj)->left->num_tags
  553|    372|	      + ((tre_catenation_t *)node->obj)->right->num_tags;
  554|    744|	  break;
  555|       |
  556|  52.2k|	case ADDTAGS_AFTER_UNION_LEFT:
  ------------------
  |  Branch (556:2): [True: 52.2k, False: 165k]
  ------------------
  557|  52.2k|	  DPRINT(("After union left\n"));
  ------------------
  |  |   27|  52.2k|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 52.2k]
  |  |  ------------------
  ------------------
  558|       |	  /* Lift the bottom of the `regset' array so that when processing
  559|       |	     the right operand the items currently in the array are
  560|       |	     invisible.	 The original bottom was saved at ADDTAGS_UNION and
  561|       |	     will be restored at ADDTAGS_AFTER_UNION_RIGHT below. */
  562|  52.2k|	  while (*regset >= 0)
  ------------------
  |  Branch (562:11): [True: 0, False: 52.2k]
  ------------------
  563|      0|	    regset++;
  564|  52.2k|	  break;
  565|       |
  566|  52.2k|	case ADDTAGS_AFTER_UNION_RIGHT:
  ------------------
  |  Branch (566:2): [True: 52.2k, False: 165k]
  ------------------
  567|  52.2k|	  {
  568|  52.2k|	    int added_tags, tag_left, tag_right;
  569|  52.2k|	    tre_ast_node_t *left = tre_stack_pop_voidptr(stack);
  570|  52.2k|	    tre_ast_node_t *right = tre_stack_pop_voidptr(stack);
  571|  52.2k|	    DPRINT(("After union right\n"));
  ------------------
  |  |   27|  52.2k|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 52.2k]
  |  |  ------------------
  ------------------
  572|  52.2k|	    node = tre_stack_pop_voidptr(stack);
  573|  52.2k|	    added_tags = tre_stack_pop_int(stack);
  574|  52.2k|	    if (first_pass)
  ------------------
  |  Branch (574:10): [True: 26.1k, False: 26.1k]
  ------------------
  575|  26.1k|	      {
  576|  26.1k|		node->num_tags = ((tre_union_t *)node->obj)->left->num_tags
  577|  26.1k|		  + ((tre_union_t *)node->obj)->right->num_tags + added_tags
  578|  26.1k|		  + ((node->num_submatches > 0) ? 2 : 0);
  ------------------
  |  Branch (578:8): [True: 1.30k, False: 24.8k]
  ------------------
  579|  26.1k|	      }
  580|  52.2k|	    regset = tre_stack_pop_voidptr(stack);
  581|  52.2k|	    tag_left = tre_stack_pop_int(stack);
  582|  52.2k|	    tag_right = tre_stack_pop_int(stack);
  583|       |
  584|       |	    /* Add tags after both children, the left child gets a smaller
  585|       |	       tag than the right child.  This guarantees that we prefer
  586|       |	       the left child over the right child. */
  587|       |	    /* XXX - This is not always necessary (if the children have
  588|       |	       tags which must be seen for every match of that child). */
  589|       |	    /* XXX - Check if this is the only place where tre_add_tag_right
  590|       |	       is used.	 If so, use tre_add_tag_left (putting the tag before
  591|       |	       the child as opposed after the child) and throw away
  592|       |	       tre_add_tag_right. */
  593|  52.2k|	    if (node->num_submatches > 0)
  ------------------
  |  Branch (593:10): [True: 2.61k, False: 49.6k]
  ------------------
  594|  2.61k|	      {
  595|  2.61k|		if (!first_pass)
  ------------------
  |  Branch (595:7): [True: 1.30k, False: 1.30k]
  ------------------
  596|  1.30k|		  {
  597|  1.30k|		    status = tre_add_tag_right(mem, left, tag_left);
  598|  1.30k|		    tnfa->tag_directions[tag_left] = TRE_TAG_MAXIMIZE;
  599|  1.30k|		    status = tre_add_tag_right(mem, right, tag_right);
  600|  1.30k|		    tnfa->tag_directions[tag_right] = TRE_TAG_MAXIMIZE;
  601|  1.30k|		  }
  602|  2.61k|		DPRINT(("  num_tags += 2\n"));
  ------------------
  |  |   27|  2.61k|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 2.61k]
  |  |  ------------------
  ------------------
  603|  2.61k|		num_tags += 2;
  604|  2.61k|	      }
  605|  52.2k|	    direction = TRE_TAG_MAXIMIZE;
  606|  52.2k|	    break;
  607|   108k|	  }
  608|       |
  609|      0|	default:
  ------------------
  |  Branch (609:2): [True: 0, False: 218k]
  ------------------
  610|      0|	  assert(0);
  ------------------
  |  |   32|      0|#define assert(a) R_assert(a)
  |  |  ------------------
  |  |  |  |  230|      0|#define R_assert(e) ((e) ? (void) 0 : Rf_error("assertion '%s' failed in executing regexp: file '%s', line %d\n", #e, __FILE__, __LINE__))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (230:22): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  611|      0|	  break;
  612|       |
  613|   218k|	} /* end switch(symbol) */
  614|   218k|    } /* end while(tre_stack_num_objects(stack) > bottom) */
  615|       |
  616|  2.75k|  if (!first_pass)
  ------------------
  |  Branch (616:7): [True: 1.37k, False: 1.37k]
  ------------------
  617|  1.37k|    tre_purge_regset(regset, tnfa, tag);
  618|       |
  619|  2.75k|  if (!first_pass && minimal_tag >= 0)
  ------------------
  |  Branch (619:7): [True: 1.37k, False: 1.37k]
  |  Branch (619:22): [True: 0, False: 1.37k]
  ------------------
  620|      0|    {
  621|      0|      int i;
  622|      0|      DPRINT(("Minimal %d, %d\n", minimal_tag, tag));
  ------------------
  |  |   27|      0|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
  623|      0|      for (i = 0; tnfa->minimal_tags[i] >= 0; i++);
  ------------------
  |  Branch (623:19): [True: 0, False: 0]
  ------------------
  624|      0|      tnfa->minimal_tags[i] = tag;
  625|      0|      tnfa->minimal_tags[i + 1] = minimal_tag;
  626|      0|      tnfa->minimal_tags[i + 2] = -1;
  627|      0|      minimal_tag = -1;
  628|      0|      num_minimals++;
  629|      0|    }
  630|       |
  631|  2.75k|  DPRINT(("tre_add_tags: %s complete.  Number of tags %d.\n",
  ------------------
  |  |   27|  2.75k|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 2.75k]
  |  |  ------------------
  ------------------
  632|  2.75k|	  first_pass? "First pass" : "Second pass", num_tags));
  633|       |
  634|  2.75k|  assert(tree->num_tags == num_tags);
  ------------------
  |  |   32|  2.75k|#define assert(a) R_assert(a)
  |  |  ------------------
  |  |  |  |  230|  2.75k|#define R_assert(e) ((e) ? (void) 0 : Rf_error("assertion '%s' failed in executing regexp: file '%s', line %d\n", #e, __FILE__, __LINE__))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (230:22): [True: 2.75k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  635|  2.75k|  tnfa->end_tag = num_tags;
  636|  2.75k|  tnfa->num_tags = num_tags;
  637|  2.75k|  tnfa->num_minimals = num_minimals;
  638|  2.75k|  xfree(orig_regset);
  ------------------
  |  |   69|  2.75k|#define xfree(ptr) free(ptr)
  ------------------
  639|  2.75k|  xfree(parents);
  ------------------
  |  |   69|  2.75k|#define xfree(ptr) free(ptr)
  ------------------
  640|  2.75k|  xfree(saved_states);
  ------------------
  |  |   69|  2.75k|#define xfree(ptr) free(ptr)
  ------------------
  641|  2.75k|  return status;
  642|  2.75k|}
tre-compile.c:tre_add_tag_left:
   44|  1.53k|{
   45|  1.53k|  tre_catenation_t *c;
   46|       |
   47|  1.53k|  DPRINT(("add_tag_left: tag %d\n", tag_id));
  ------------------
  |  |   27|  1.53k|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 1.53k]
  |  |  ------------------
  ------------------
   48|       |
   49|  1.53k|  c = tre_mem_alloc(mem, sizeof(*c));
  ------------------
  |  |   40|  1.53k|#define tre_mem_alloc(mem, size) tre_mem_alloc_impl(mem, 0, NULL, 0, size)
  ------------------
   50|  1.53k|  if (c == NULL)
  ------------------
  |  Branch (50:7): [True: 0, False: 1.53k]
  ------------------
   51|      0|    return REG_ESPACE;
   52|  1.53k|  c->left = tre_ast_new_literal(mem, TAG, tag_id, -1);
  ------------------
  |  |   28|  1.53k|#define TAG	  -3   /* Tag leaf. */
  ------------------
   53|  1.53k|  if (c->left == NULL)
  ------------------
  |  Branch (53:7): [True: 0, False: 1.53k]
  ------------------
   54|      0|    return REG_ESPACE;
   55|  1.53k|  c->right = tre_mem_alloc(mem, sizeof(tre_ast_node_t));
  ------------------
  |  |   40|  1.53k|#define tre_mem_alloc(mem, size) tre_mem_alloc_impl(mem, 0, NULL, 0, size)
  ------------------
   56|  1.53k|  if (c->right == NULL)
  ------------------
  |  Branch (56:7): [True: 0, False: 1.53k]
  ------------------
   57|      0|    return REG_ESPACE;
   58|       |
   59|  1.53k|  c->right->obj = node->obj;
   60|  1.53k|  c->right->type = node->type;
   61|  1.53k|  c->right->nullable = -1;
   62|  1.53k|  c->right->submatch_id = -1;
   63|  1.53k|  c->right->firstpos = NULL;
   64|       |  c->right->lastpos = NULL;
   65|  1.53k|  c->right->num_tags = 0;
   66|  1.53k|  node->obj = c;
   67|  1.53k|  node->type = CATENATION;
   68|  1.53k|  return REG_OK;
   69|  1.53k|}
tre-compile.c:tre_purge_regset:
  124|  2.91k|{
  125|  2.91k|  int i;
  126|       |
  127|  5.93k|  for (i = 0; regset[i] >= 0; i++)
  ------------------
  |  Branch (127:15): [True: 3.02k, False: 2.91k]
  ------------------
  128|  3.02k|    {
  129|  3.02k|      int id = regset[i] / 2;
  130|  3.02k|      int start = !(regset[i] % 2);
  131|  3.02k|      DPRINT(("  Using tag %d for %s offset of "
  ------------------
  |  |   27|  3.02k|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 3.02k]
  |  |  ------------------
  ------------------
  132|  3.02k|	      "submatch %d\n", tag,
  133|  3.02k|	      start ? "start" : "end", id));
  134|  3.02k|      if (start)
  ------------------
  |  Branch (134:11): [True: 1.51k, False: 1.51k]
  ------------------
  135|  1.51k|	tnfa->submatch_data[id].so_tag = tag;
  136|  1.51k|      else
  137|  1.51k|	tnfa->submatch_data[id].eo_tag = tag;
  138|  3.02k|    }
  139|  2.91k|  regset[0] = -1;
  140|  2.91k|}
tre-compile.c:tre_add_tag_right:
   76|  2.61k|{
   77|  2.61k|  tre_catenation_t *c;
   78|       |
   79|  2.61k|  DPRINT(("tre_add_tag_right: tag %d\n", tag_id));
  ------------------
  |  |   27|  2.61k|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 2.61k]
  |  |  ------------------
  ------------------
   80|       |
   81|  2.61k|  c = tre_mem_alloc(mem, sizeof(*c));
  ------------------
  |  |   40|  2.61k|#define tre_mem_alloc(mem, size) tre_mem_alloc_impl(mem, 0, NULL, 0, size)
  ------------------
   82|  2.61k|  if (c == NULL)
  ------------------
  |  Branch (82:7): [True: 0, False: 2.61k]
  ------------------
   83|      0|    return REG_ESPACE;
   84|  2.61k|  c->right = tre_ast_new_literal(mem, TAG, tag_id, -1);
  ------------------
  |  |   28|  2.61k|#define TAG	  -3   /* Tag leaf. */
  ------------------
   85|  2.61k|  if (c->right == NULL)
  ------------------
  |  Branch (85:7): [True: 0, False: 2.61k]
  ------------------
   86|      0|    return REG_ESPACE;
   87|  2.61k|  c->left = tre_mem_alloc(mem, sizeof(tre_ast_node_t));
  ------------------
  |  |   40|  2.61k|#define tre_mem_alloc(mem, size) tre_mem_alloc_impl(mem, 0, NULL, 0, size)
  ------------------
   88|  2.61k|  if (c->left == NULL)
  ------------------
  |  Branch (88:7): [True: 0, False: 2.61k]
  ------------------
   89|      0|    return REG_ESPACE;
   90|       |
   91|  2.61k|  c->left->obj = node->obj;
   92|  2.61k|  c->left->type = node->type;
   93|  2.61k|  c->left->nullable = -1;
   94|  2.61k|  c->left->submatch_id = -1;
   95|  2.61k|  c->left->firstpos = NULL;
   96|       |  c->left->lastpos = NULL;
   97|  2.61k|  c->left->num_tags = 0;
   98|  2.61k|  node->obj = c;
   99|  2.61k|  node->type = CATENATION;
  100|  2.61k|  return REG_OK;
  101|  2.61k|}
tre-compile.c:tre_expand_ast:
  816|  1.43k|{
  817|  1.43k|  reg_errcode_t status = REG_OK;
  818|  1.43k|  int bottom = tre_stack_num_objects(stack);
  819|  1.43k|  int pos_add = 0;
  820|  1.43k|  int pos_add_total = 0;
  821|  1.43k|  int max_pos = 0;
  822|       |  /* Current approximate matching parameters. */
  823|  1.43k|  int params[TRE_PARAM_LAST];
  824|       |  /* Approximate parameter nesting level. */
  825|  1.43k|  int params_depth = 0;
  826|  1.43k|  int iter_depth = 0;
  827|  1.43k|  int i;
  828|       |
  829|  14.3k|  for (i = 0; i < TRE_PARAM_LAST; i++)
  ------------------
  |  Branch (829:15): [True: 12.8k, False: 1.43k]
  ------------------
  830|  12.8k|    params[i] = TRE_PARAM_DEFAULT;
  ------------------
  |  |  257|  12.8k|#define TRE_PARAM_DEFAULT -2
  ------------------
  831|       |
  832|  1.43k|  STACK_PUSHR(stack, voidptr, ast);
  ------------------
  |  |   67|  1.43k|  {									      \
  |  |   68|  1.43k|    reg_errcode_t _status;						      \
  |  |   69|  1.43k|    _status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   70|  1.43k|    if (_status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (70:9): [True: 0, False: 1.43k]
  |  |  ------------------
  |  |   71|  1.43k|      return _status;							      \
  |  |   72|  1.43k|  }
  ------------------
  833|  1.43k|  STACK_PUSHR(stack, int, EXPAND_RECURSE);
  ------------------
  |  |   67|  1.43k|  {									      \
  |  |   68|  1.43k|    reg_errcode_t _status;						      \
  |  |   69|  1.43k|    _status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   70|  1.43k|    if (_status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (70:9): [True: 0, False: 1.43k]
  |  |  ------------------
  |  |   71|  1.43k|      return _status;							      \
  |  |   72|  1.43k|  }
  ------------------
  834|  65.2k|  while (status == REG_OK && tre_stack_num_objects(stack) > bottom)
  ------------------
  |  Branch (834:10): [True: 65.2k, False: 0]
  |  Branch (834:30): [True: 63.7k, False: 1.43k]
  ------------------
  835|  63.7k|    {
  836|  63.7k|      tre_ast_node_t *node;
  837|  63.7k|      tre_expand_ast_symbol_t symbol;
  838|       |
  839|  63.7k|      if (status != REG_OK)
  ------------------
  |  Branch (839:11): [True: 0, False: 63.7k]
  ------------------
  840|      0|	break;
  841|       |
  842|  63.7k|      DPRINT(("pos_add %d\n", pos_add));
  ------------------
  |  |   27|  63.7k|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 63.7k]
  |  |  ------------------
  ------------------
  843|       |
  844|  63.7k|      symbol = (tre_expand_ast_symbol_t)tre_stack_pop_int(stack);
  845|  63.7k|      node = tre_stack_pop_voidptr(stack);
  846|  63.7k|      switch (symbol)
  847|  63.7k|	{
  848|  63.5k|	case EXPAND_RECURSE:
  ------------------
  |  Branch (848:2): [True: 63.5k, False: 208]
  ------------------
  849|  63.5k|	  switch (node->type)
  850|  63.5k|	    {
  851|  32.3k|	    case LITERAL:
  ------------------
  |  Branch (851:6): [True: 32.3k, False: 31.1k]
  ------------------
  852|  32.3k|	      {
  853|  32.3k|		tre_literal_t *lit= node->obj;
  854|  32.3k|		if (!IS_SPECIAL(lit) || IS_BACKREF(lit))
  ------------------
  |  |   32|  64.7k|#define IS_SPECIAL(x)	((x)->code_min < 0)
  ------------------
              		if (!IS_SPECIAL(lit) || IS_BACKREF(lit))
  ------------------
  |  |   36|  4.30k|#define IS_BACKREF(x)	((x)->code_min == BACKREF)
  |  |  ------------------
  |  |  |  |   29|  4.30k|#define BACKREF	  -4   /* Back reference leaf. */
  |  |  ------------------
  |  |  |  Branch (36:23): [True: 0, False: 4.30k]
  |  |  ------------------
  ------------------
  |  Branch (854:7): [True: 28.0k, False: 4.30k]
  ------------------
  855|  28.0k|		  {
  856|  28.0k|		    lit->position += pos_add;
  857|  28.0k|		    if (lit->position > max_pos)
  ------------------
  |  Branch (857:11): [True: 531, False: 27.5k]
  ------------------
  858|    531|		      max_pos = lit->position;
  859|  28.0k|		  }
  860|  32.3k|		break;
  861|      0|	      }
  862|  26.1k|	    case UNION:
  ------------------
  |  Branch (862:6): [True: 26.1k, False: 37.4k]
  ------------------
  863|  26.1k|	      {
  864|  26.1k|		tre_union_t *uni = node->obj;
  865|  26.1k|		STACK_PUSHX(stack, voidptr, uni->right);
  ------------------
  |  |   60|  26.1k|  {									      \
  |  |   61|  26.1k|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|  26.1k|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 26.1k]
  |  |  ------------------
  |  |   63|  26.1k|      break;								      \
  |  |   64|  26.1k|  }
  ------------------
  866|  26.1k|		STACK_PUSHX(stack, int, EXPAND_RECURSE);
  ------------------
  |  |   60|  26.1k|  {									      \
  |  |   61|  26.1k|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|  26.1k|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 26.1k]
  |  |  ------------------
  |  |   63|  26.1k|      break;								      \
  |  |   64|  26.1k|  }
  ------------------
  867|  26.1k|		STACK_PUSHX(stack, voidptr, uni->left);
  ------------------
  |  |   60|  26.1k|  {									      \
  |  |   61|  26.1k|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|  26.1k|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 26.1k]
  |  |  ------------------
  |  |   63|  26.1k|      break;								      \
  |  |   64|  26.1k|  }
  ------------------
  868|  26.1k|		STACK_PUSHX(stack, int, EXPAND_RECURSE);
  ------------------
  |  |   60|  26.1k|  {									      \
  |  |   61|  26.1k|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|  26.1k|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 26.1k]
  |  |  ------------------
  |  |   63|  26.1k|      break;								      \
  |  |   64|  26.1k|  }
  ------------------
  869|  26.1k|		break;
  870|  26.1k|	      }
  871|  4.80k|	    case CATENATION:
  ------------------
  |  Branch (871:6): [True: 4.80k, False: 58.7k]
  ------------------
  872|  4.80k|	      {
  873|  4.80k|		tre_catenation_t *cat = node->obj;
  874|  4.80k|		STACK_PUSHX(stack, voidptr, cat->right);
  ------------------
  |  |   60|  4.80k|  {									      \
  |  |   61|  4.80k|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|  4.80k|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 4.80k]
  |  |  ------------------
  |  |   63|  4.80k|      break;								      \
  |  |   64|  4.80k|  }
  ------------------
  875|  4.80k|		STACK_PUSHX(stack, int, EXPAND_RECURSE);
  ------------------
  |  |   60|  4.80k|  {									      \
  |  |   61|  4.80k|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|  4.80k|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 4.80k]
  |  |  ------------------
  |  |   63|  4.80k|      break;								      \
  |  |   64|  4.80k|  }
  ------------------
  876|  4.80k|		STACK_PUSHX(stack, voidptr, cat->left);
  ------------------
  |  |   60|  4.80k|  {									      \
  |  |   61|  4.80k|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|  4.80k|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 4.80k]
  |  |  ------------------
  |  |   63|  4.80k|      break;								      \
  |  |   64|  4.80k|  }
  ------------------
  877|  4.80k|		STACK_PUSHX(stack, int, EXPAND_RECURSE);
  ------------------
  |  |   60|  4.80k|  {									      \
  |  |   61|  4.80k|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|  4.80k|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 4.80k]
  |  |  ------------------
  |  |   63|  4.80k|      break;								      \
  |  |   64|  4.80k|  }
  ------------------
  878|  4.80k|		break;
  879|  4.80k|	      }
  880|    208|	    case ITERATION:
  ------------------
  |  Branch (880:6): [True: 208, False: 63.3k]
  ------------------
  881|    208|	      {
  882|    208|		tre_iteration_t *iter = node->obj;
  883|    208|		STACK_PUSHX(stack, int, pos_add);
  ------------------
  |  |   60|    208|  {									      \
  |  |   61|    208|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|    208|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 208]
  |  |  ------------------
  |  |   63|    208|      break;								      \
  |  |   64|    208|  }
  ------------------
  884|    208|		STACK_PUSHX(stack, voidptr, node);
  ------------------
  |  |   60|    208|  {									      \
  |  |   61|    208|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|    208|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 208]
  |  |  ------------------
  |  |   63|    208|      break;								      \
  |  |   64|    208|  }
  ------------------
  885|    208|		STACK_PUSHX(stack, int, EXPAND_AFTER_ITER);
  ------------------
  |  |   60|    208|  {									      \
  |  |   61|    208|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|    208|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 208]
  |  |  ------------------
  |  |   63|    208|      break;								      \
  |  |   64|    208|  }
  ------------------
  886|    208|		STACK_PUSHX(stack, voidptr, iter->arg);
  ------------------
  |  |   60|    208|  {									      \
  |  |   61|    208|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|    208|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 208]
  |  |  ------------------
  |  |   63|    208|      break;								      \
  |  |   64|    208|  }
  ------------------
  887|    208|		STACK_PUSHX(stack, int, EXPAND_RECURSE);
  ------------------
  |  |   60|    208|  {									      \
  |  |   61|    208|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|    208|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 208]
  |  |  ------------------
  |  |   63|    208|      break;								      \
  |  |   64|    208|  }
  ------------------
  888|       |		/* If we are going to expand this node at EXPAND_AFTER_ITER
  889|       |		   then don't increase the `pos' fields of the nodes now, it
  890|       |		   will get done when expanding. */
  891|    208|		if (iter->min > 1 || iter->max > 1)
  ------------------
  |  Branch (891:7): [True: 0, False: 208]
  |  Branch (891:24): [True: 0, False: 208]
  ------------------
  892|      0|		  pos_add = 0;
  893|    208|		iter_depth++;
  894|    208|		DPRINT(("iter\n"));
  ------------------
  |  |   27|    208|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 208]
  |  |  ------------------
  ------------------
  895|    208|		break;
  896|    208|	      }
  897|      0|	    default:
  ------------------
  |  Branch (897:6): [True: 0, False: 63.5k]
  ------------------
  898|      0|	      assert(0);
  ------------------
  |  |   32|      0|#define assert(a) R_assert(a)
  |  |  ------------------
  |  |  |  |  230|      0|#define R_assert(e) ((e) ? (void) 0 : Rf_error("assertion '%s' failed in executing regexp: file '%s', line %d\n", #e, __FILE__, __LINE__))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (230:22): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  899|      0|	      break;
  900|  63.5k|	    }
  901|  63.5k|	  break;
  902|  63.5k|	case EXPAND_AFTER_ITER:
  ------------------
  |  Branch (902:2): [True: 208, False: 63.5k]
  ------------------
  903|    208|	  {
  904|    208|	    tre_iteration_t *iter = node->obj;
  905|    208|	    int pos_add_last;
  906|    208|	    pos_add = tre_stack_pop_int(stack);
  907|    208|	    pos_add_last = pos_add;
  908|    208|	    if (iter->min > 1 || iter->max > 1)
  ------------------
  |  Branch (908:10): [True: 0, False: 208]
  |  Branch (908:27): [True: 0, False: 208]
  ------------------
  909|      0|	      {
  910|      0|		tre_ast_node_t *seq1 = NULL, *seq2 = NULL;
  911|      0|		int j;
  912|      0|		int pos_add_save = pos_add;
  913|       |
  914|       |		/* Create a catenated sequence of copies of the node. */
  915|      0|		for (j = 0; j < iter->min; j++)
  ------------------
  |  Branch (915:15): [True: 0, False: 0]
  ------------------
  916|      0|		  {
  917|      0|		    tre_ast_node_t *copy;
  918|       |		    /* Remove tags from all but the last copy. */
  919|      0|		    int flags = ((j + 1 < iter->min)
  ------------------
  |  Branch (919:20): [True: 0, False: 0]
  ------------------
  920|      0|				 ? COPY_REMOVE_TAGS
  ------------------
  |  |  656|      0|#define COPY_REMOVE_TAGS	 1
  ------------------
  921|      0|				 : COPY_MAXIMIZE_FIRST_TAG);
  ------------------
  |  |  657|      0|#define COPY_MAXIMIZE_FIRST_TAG	 2
  ------------------
  922|      0|		    DPRINT(("  pos_add %d\n", pos_add));
  ------------------
  |  |   27|      0|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
  923|      0|		    pos_add_save = pos_add;
  924|      0|		    status = tre_copy_ast(mem, stack, iter->arg, flags,
  925|      0|					  &pos_add, tag_directions, &copy,
  926|      0|					  &max_pos);
  927|      0|		    if (status != REG_OK)
  ------------------
  |  Branch (927:11): [True: 0, False: 0]
  ------------------
  928|      0|		      return status;
  929|      0|		    if (max_pos > TRE_EXPAND_MAX_POSITIONS)
  ------------------
  |  |  808|      0|#define TRE_EXPAND_MAX_POSITIONS 100000
  ------------------
  |  Branch (929:11): [True: 0, False: 0]
  ------------------
  930|      0|		      return REG_ESPACE;
  931|      0|		    if (seq1 != NULL)
  ------------------
  |  Branch (931:11): [True: 0, False: 0]
  ------------------
  932|      0|		      seq1 = tre_ast_new_catenation(mem, seq1, copy);
  933|      0|		    else
  934|      0|		      seq1 = copy;
  935|      0|		    if (seq1 == NULL)
  ------------------
  |  Branch (935:11): [True: 0, False: 0]
  ------------------
  936|      0|		      return REG_ESPACE;
  937|      0|		  }
  938|       |
  939|      0|		if (iter->max == -1)
  ------------------
  |  Branch (939:7): [True: 0, False: 0]
  ------------------
  940|      0|		  {
  941|       |		    /* No upper limit. */
  942|      0|		    pos_add_save = pos_add;
  943|      0|		    status = tre_copy_ast(mem, stack, iter->arg, 0,
  944|      0|					  &pos_add, NULL, &seq2, &max_pos);
  945|      0|		    if (status != REG_OK)
  ------------------
  |  Branch (945:11): [True: 0, False: 0]
  ------------------
  946|      0|		      return status;
  947|      0|		    seq2 = tre_ast_new_iter(mem, seq2, 0, -1, 0);
  948|      0|		    if (seq2 == NULL)
  ------------------
  |  Branch (948:11): [True: 0, False: 0]
  ------------------
  949|      0|		      return REG_ESPACE;
  950|      0|		  }
  951|      0|		else
  952|      0|		  {
  953|      0|		    for (j = iter->min; j < iter->max; j++)
  ------------------
  |  Branch (953:27): [True: 0, False: 0]
  ------------------
  954|      0|		      {
  955|      0|			tre_ast_node_t *tmp, *copy;
  956|      0|			pos_add_save = pos_add;
  957|      0|			status = tre_copy_ast(mem, stack, iter->arg, 0,
  958|      0|					      &pos_add, NULL, &copy, &max_pos);
  959|      0|			if (status != REG_OK)
  ------------------
  |  Branch (959:8): [True: 0, False: 0]
  ------------------
  960|      0|			  return status;
  961|      0|			if (max_pos > TRE_EXPAND_MAX_POSITIONS)
  ------------------
  |  |  808|      0|#define TRE_EXPAND_MAX_POSITIONS 100000
  ------------------
  |  Branch (961:8): [True: 0, False: 0]
  ------------------
  962|      0|			  return REG_ESPACE;
  963|      0|			if (seq2 != NULL)
  ------------------
  |  Branch (963:8): [True: 0, False: 0]
  ------------------
  964|      0|			  seq2 = tre_ast_new_catenation(mem, copy, seq2);
  965|      0|			else
  966|      0|			  seq2 = copy;
  967|      0|			if (seq2 == NULL)
  ------------------
  |  Branch (967:8): [True: 0, False: 0]
  ------------------
  968|      0|			  return REG_ESPACE;
  969|      0|			tmp = tre_ast_new_literal(mem, EMPTY, -1, -1);
  ------------------
  |  |   26|      0|#define EMPTY	  -1   /* Empty leaf (denotes empty string). */
  ------------------
  970|      0|			if (tmp == NULL)
  ------------------
  |  Branch (970:8): [True: 0, False: 0]
  ------------------
  971|      0|			  return REG_ESPACE;
  972|      0|			seq2 = tre_ast_new_union(mem, tmp, seq2);
  973|      0|			if (seq2 == NULL)
  ------------------
  |  Branch (973:8): [True: 0, False: 0]
  ------------------
  974|      0|			  return REG_ESPACE;
  975|      0|		      }
  976|      0|		  }
  977|       |
  978|      0|		pos_add = pos_add_save;
  979|      0|		if (seq1 == NULL)
  ------------------
  |  Branch (979:7): [True: 0, False: 0]
  ------------------
  980|      0|		  seq1 = seq2;
  981|      0|		else if (seq2 != NULL)
  ------------------
  |  Branch (981:12): [True: 0, False: 0]
  ------------------
  982|      0|		  seq1 = tre_ast_new_catenation(mem, seq1, seq2);
  983|      0|		if (seq1 == NULL)
  ------------------
  |  Branch (983:7): [True: 0, False: 0]
  ------------------
  984|      0|		  return REG_ESPACE;
  985|      0|		node->obj = seq1->obj;
  986|      0|		node->type = seq1->type;
  987|      0|	      }
  988|       |
  989|    208|	    iter_depth--;
  990|    208|	    pos_add_total += pos_add - pos_add_last;
  991|    208|	    if (iter_depth == 0)
  ------------------
  |  Branch (991:10): [True: 180, False: 28]
  ------------------
  992|    180|	      pos_add = pos_add_total;
  993|       |
  994|       |	    /* If approximate parameters are specified, surround the result
  995|       |	       with two parameter setting nodes.  The one on the left sets
  996|       |	       the specified parameters, and the one on the right restores
  997|       |	       the old parameters. */
  998|    208|	    if (iter->params)
  ------------------
  |  Branch (998:10): [True: 0, False: 208]
  ------------------
  999|      0|	      {
 1000|      0|		tre_ast_node_t *tmp_l, *tmp_r, *tmp_node, *node_copy;
 1001|      0|		int *old_params;
 1002|       |
 1003|      0|		tmp_l = tre_ast_new_literal(mem, PARAMETER, 0, -1);
  ------------------
  |  |   30|      0|#define PARAMETER -5   /* Parameter. */
  ------------------
 1004|      0|		if (!tmp_l)
  ------------------
  |  Branch (1004:7): [True: 0, False: 0]
  ------------------
 1005|      0|		  return REG_ESPACE;
 1006|      0|		((tre_literal_t *)tmp_l->obj)->u.params = iter->params;
 1007|      0|		iter->params[TRE_PARAM_DEPTH] = params_depth + 1;
 1008|      0|		tmp_r = tre_ast_new_literal(mem, PARAMETER, 0, -1);
  ------------------
  |  |   30|      0|#define PARAMETER -5   /* Parameter. */
  ------------------
 1009|      0|		if (!tmp_r)
  ------------------
  |  Branch (1009:7): [True: 0, False: 0]
  ------------------
 1010|      0|		  return REG_ESPACE;
 1011|      0|		old_params = tre_mem_alloc(mem, sizeof(*old_params)
  ------------------
  |  |   40|      0|#define tre_mem_alloc(mem, size) tre_mem_alloc_impl(mem, 0, NULL, 0, size)
  ------------------
 1012|      0|					   * TRE_PARAM_LAST);
 1013|      0|		if (!old_params)
  ------------------
  |  Branch (1013:7): [True: 0, False: 0]
  ------------------
 1014|      0|		  return REG_ESPACE;
 1015|      0|		for (i = 0; i < TRE_PARAM_LAST; i++)
  ------------------
  |  Branch (1015:15): [True: 0, False: 0]
  ------------------
 1016|      0|		  old_params[i] = params[i];
 1017|      0|		((tre_literal_t *)tmp_r->obj)->u.params = old_params;
 1018|      0|		old_params[TRE_PARAM_DEPTH] = params_depth;
 1019|       |		/* XXX - this is the only place where ast_new_node is
 1020|       |		   needed -- should be moved inside AST module. */
 1021|      0|		node_copy = tre_ast_new_node(mem, node->type,
 1022|      0|					     sizeof(tre_iteration_t));
 1023|      0|		if (!node_copy)
  ------------------
  |  Branch (1023:7): [True: 0, False: 0]
  ------------------
 1024|      0|		  return REG_ESPACE;
 1025|      0|		node_copy->obj = node->obj;
 1026|      0|		tmp_node = tre_ast_new_catenation(mem, tmp_l, node_copy);
 1027|      0|		if (!tmp_node)
  ------------------
  |  Branch (1027:7): [True: 0, False: 0]
  ------------------
 1028|      0|		  return REG_ESPACE;
 1029|      0|		tmp_node = tre_ast_new_catenation(mem, tmp_node, tmp_r);
 1030|      0|		if (!tmp_node)
  ------------------
  |  Branch (1030:7): [True: 0, False: 0]
  ------------------
 1031|      0|		  return REG_ESPACE;
 1032|       |		/* Replace the contents of `node' with `tmp_node'. */
 1033|      0|		memcpy(node, tmp_node, sizeof(*node));
 1034|      0|		node->obj = tmp_node->obj;
 1035|      0|		node->type = tmp_node->type;
 1036|      0|		params_depth++;
 1037|      0|		if (params_depth > *max_depth)
  ------------------
  |  Branch (1037:7): [True: 0, False: 0]
  ------------------
 1038|      0|		  *max_depth = params_depth;
 1039|      0|	      }
 1040|    208|	    break;
 1041|    208|	  }
 1042|    208|	default:
  ------------------
  |  Branch (1042:2): [True: 0, False: 63.7k]
  ------------------
 1043|      0|	  assert(0);
  ------------------
  |  |   32|      0|#define assert(a) R_assert(a)
  |  |  ------------------
  |  |  |  |  230|      0|#define R_assert(e) ((e) ? (void) 0 : Rf_error("assertion '%s' failed in executing regexp: file '%s', line %d\n", #e, __FILE__, __LINE__))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (230:22): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1044|      0|	  break;
 1045|  63.7k|	}
 1046|  63.7k|    }
 1047|       |
 1048|  1.43k|  *position += pos_add_total;
 1049|       |
 1050|       |  /* `max_pos' should never be larger than `*position' if the above
 1051|       |     code works, but just an extra safeguard let's make sure
 1052|       |     `*position' is set large enough so enough memory will be
 1053|       |     allocated for the transition table. */
 1054|  1.43k|  if (max_pos > *position)
  ------------------
  |  Branch (1054:7): [True: 0, False: 1.43k]
  ------------------
 1055|      0|    *position = max_pos;
 1056|       |
 1057|       |#ifdef TRE_DEBUG
 1058|       |  DPRINT(("Expanded AST:\n"));
 1059|       |  tre_ast_print(ast);
 1060|       |  DPRINT(("*position %d, max_pos %d\n", *position, max_pos));
 1061|       |#endif
 1062|       |
 1063|  1.43k|  return status;
 1064|  1.43k|}
tre-compile.c:tre_compute_nfl:
 1336|  1.43k|{
 1337|  1.43k|  int bottom = tre_stack_num_objects(stack);
 1338|       |
 1339|  1.43k|  STACK_PUSHR(stack, voidptr, tree);
  ------------------
  |  |   67|  1.43k|  {									      \
  |  |   68|  1.43k|    reg_errcode_t _status;						      \
  |  |   69|  1.43k|    _status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   70|  1.43k|    if (_status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (70:9): [True: 0, False: 1.43k]
  |  |  ------------------
  |  |   71|  1.43k|      return _status;							      \
  |  |   72|  1.43k|  }
  ------------------
 1340|  1.43k|  STACK_PUSHR(stack, int, NFL_RECURSE);
  ------------------
  |  |   67|  1.43k|  {									      \
  |  |   68|  1.43k|    reg_errcode_t _status;						      \
  |  |   69|  1.43k|    _status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   70|  1.43k|    if (_status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (70:9): [True: 0, False: 1.43k]
  |  |  ------------------
  |  |   71|  1.43k|      return _status;							      \
  |  |   72|  1.43k|  }
  ------------------
 1341|       |
 1342|   100k|  while (tre_stack_num_objects(stack) > bottom)
  ------------------
  |  Branch (1342:10): [True: 99.0k, False: 1.43k]
  ------------------
 1343|  99.0k|    {
 1344|  99.0k|      tre_nfl_stack_symbol_t symbol;
 1345|  99.0k|      tre_ast_node_t *node;
 1346|       |
 1347|  99.0k|      symbol = (tre_nfl_stack_symbol_t)tre_stack_pop_int(stack);
 1348|  99.0k|      node = tre_stack_pop_voidptr(stack);
 1349|  99.0k|      switch (symbol)
 1350|  99.0k|	{
 1351|  66.4k|	case NFL_RECURSE:
  ------------------
  |  Branch (1351:2): [True: 66.4k, False: 32.6k]
  ------------------
 1352|  66.4k|	  switch (node->type)
  ------------------
  |  Branch (1352:12): [True: 66.4k, False: 0]
  ------------------
 1353|  66.4k|	    {
 1354|  33.8k|	    case LITERAL:
  ------------------
  |  Branch (1354:6): [True: 33.8k, False: 32.6k]
  ------------------
 1355|  33.8k|	      {
 1356|  33.8k|		tre_literal_t *lit = (tre_literal_t *)node->obj;
 1357|  33.8k|		if (IS_BACKREF(lit))
  ------------------
  |  |   36|  33.8k|#define IS_BACKREF(x)	((x)->code_min == BACKREF)
  |  |  ------------------
  |  |  |  |   29|  33.8k|#define BACKREF	  -4   /* Back reference leaf. */
  |  |  ------------------
  |  |  |  Branch (36:23): [True: 0, False: 33.8k]
  |  |  ------------------
  ------------------
 1358|      0|		  {
 1359|       |		    /* Back references: nullable = false, firstpos = {i},
 1360|       |		       lastpos = {i}. */
 1361|      0|		    node->nullable = 0;
 1362|      0|		    node->firstpos = tre_set_one(mem, lit->position, 0,
 1363|      0|					     TRE_CHAR_MAX, 0, NULL, -1);
  ------------------
  |  |   64|      0|# define TRE_CHAR_MAX WCHAR_MAX
  ------------------
 1364|      0|		    if (!node->firstpos)
  ------------------
  |  Branch (1364:11): [True: 0, False: 0]
  ------------------
 1365|      0|		      return REG_ESPACE;
 1366|      0|		    node->lastpos = tre_set_one(mem, lit->position, 0,
 1367|      0|						TRE_CHAR_MAX, 0, NULL,
  ------------------
  |  |   64|      0|# define TRE_CHAR_MAX WCHAR_MAX
  ------------------
 1368|      0|						(int)lit->code_max);
 1369|      0|		    if (!node->lastpos)
  ------------------
  |  Branch (1369:11): [True: 0, False: 0]
  ------------------
 1370|      0|		      return REG_ESPACE;
 1371|      0|		  }
 1372|  33.8k|		else if (lit->code_min < 0)
  ------------------
  |  Branch (1372:12): [True: 4.30k, False: 29.5k]
  ------------------
 1373|  4.30k|		  {
 1374|       |		    /* Tags, empty strings, params, and zero width assertions:
 1375|       |		       nullable = true, firstpos = {}, and lastpos = {}. */
 1376|  4.30k|		    node->nullable = 1;
 1377|  4.30k|		    node->firstpos = tre_set_empty(mem);
 1378|  4.30k|		    if (!node->firstpos)
  ------------------
  |  Branch (1378:11): [True: 0, False: 4.30k]
  ------------------
 1379|      0|		      return REG_ESPACE;
 1380|  4.30k|		    node->lastpos = tre_set_empty(mem);
 1381|  4.30k|		    if (!node->lastpos)
  ------------------
  |  Branch (1381:11): [True: 0, False: 4.30k]
  ------------------
 1382|      0|		      return REG_ESPACE;
 1383|  4.30k|		  }
 1384|  29.5k|		else
 1385|  29.5k|		  {
 1386|       |		    /* Literal at position i: nullable = false, firstpos = {i},
 1387|       |		       lastpos = {i}. */
 1388|  29.5k|		    node->nullable = 0;
 1389|  29.5k|		    node->firstpos =
 1390|  29.5k|		      tre_set_one(mem, lit->position, (int)lit->code_min,
 1391|  29.5k|				  (int)lit->code_max, 0, NULL, -1);
 1392|  29.5k|		    if (!node->firstpos)
  ------------------
  |  Branch (1392:11): [True: 0, False: 29.5k]
  ------------------
 1393|      0|		      return REG_ESPACE;
 1394|  29.5k|		    node->lastpos = tre_set_one(mem, lit->position,
 1395|  29.5k|						(int)lit->code_min,
 1396|  29.5k|						(int)lit->code_max,
 1397|  29.5k|						lit->u.class, lit->neg_classes,
 1398|  29.5k|						-1);
 1399|  29.5k|		    if (!node->lastpos)
  ------------------
  |  Branch (1399:11): [True: 0, False: 29.5k]
  ------------------
 1400|      0|		      return REG_ESPACE;
 1401|  29.5k|		  }
 1402|  33.8k|		break;
 1403|  33.8k|	      }
 1404|       |
 1405|  33.8k|	    case UNION:
  ------------------
  |  Branch (1405:6): [True: 26.1k, False: 40.2k]
  ------------------
 1406|       |	      /* Compute the attributes for the two subtrees, and after that
 1407|       |		 for this node. */
 1408|  26.1k|	      STACK_PUSHR(stack, voidptr, node);
  ------------------
  |  |   67|  26.1k|  {									      \
  |  |   68|  26.1k|    reg_errcode_t _status;						      \
  |  |   69|  26.1k|    _status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   70|  26.1k|    if (_status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (70:9): [True: 0, False: 26.1k]
  |  |  ------------------
  |  |   71|  26.1k|      return _status;							      \
  |  |   72|  26.1k|  }
  ------------------
 1409|  26.1k|	      STACK_PUSHR(stack, int, NFL_POST_UNION);
  ------------------
  |  |   67|  26.1k|  {									      \
  |  |   68|  26.1k|    reg_errcode_t _status;						      \
  |  |   69|  26.1k|    _status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   70|  26.1k|    if (_status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (70:9): [True: 0, False: 26.1k]
  |  |  ------------------
  |  |   71|  26.1k|      return _status;							      \
  |  |   72|  26.1k|  }
  ------------------
 1410|  26.1k|	      STACK_PUSHR(stack, voidptr, ((tre_union_t *)node->obj)->right);
  ------------------
  |  |   67|  26.1k|  {									      \
  |  |   68|  26.1k|    reg_errcode_t _status;						      \
  |  |   69|  26.1k|    _status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   70|  26.1k|    if (_status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (70:9): [True: 0, False: 26.1k]
  |  |  ------------------
  |  |   71|  26.1k|      return _status;							      \
  |  |   72|  26.1k|  }
  ------------------
 1411|  26.1k|	      STACK_PUSHR(stack, int, NFL_RECURSE);
  ------------------
  |  |   67|  26.1k|  {									      \
  |  |   68|  26.1k|    reg_errcode_t _status;						      \
  |  |   69|  26.1k|    _status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   70|  26.1k|    if (_status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (70:9): [True: 0, False: 26.1k]
  |  |  ------------------
  |  |   71|  26.1k|      return _status;							      \
  |  |   72|  26.1k|  }
  ------------------
 1412|  26.1k|	      STACK_PUSHR(stack, voidptr, ((tre_union_t *)node->obj)->left);
  ------------------
  |  |   67|  26.1k|  {									      \
  |  |   68|  26.1k|    reg_errcode_t _status;						      \
  |  |   69|  26.1k|    _status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   70|  26.1k|    if (_status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (70:9): [True: 0, False: 26.1k]
  |  |  ------------------
  |  |   71|  26.1k|      return _status;							      \
  |  |   72|  26.1k|  }
  ------------------
 1413|  26.1k|	      STACK_PUSHR(stack, int, NFL_RECURSE);
  ------------------
  |  |   67|  26.1k|  {									      \
  |  |   68|  26.1k|    reg_errcode_t _status;						      \
  |  |   69|  26.1k|    _status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   70|  26.1k|    if (_status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (70:9): [True: 0, False: 26.1k]
  |  |  ------------------
  |  |   71|  26.1k|      return _status;							      \
  |  |   72|  26.1k|  }
  ------------------
 1414|  26.1k|	      break;
 1415|       |
 1416|  6.24k|	    case CATENATION:
  ------------------
  |  Branch (1416:6): [True: 6.24k, False: 60.1k]
  ------------------
 1417|       |	      /* Compute the attributes for the two subtrees, and after that
 1418|       |		 for this node. */
 1419|  6.24k|	      STACK_PUSHR(stack, voidptr, node);
  ------------------
  |  |   67|  6.24k|  {									      \
  |  |   68|  6.24k|    reg_errcode_t _status;						      \
  |  |   69|  6.24k|    _status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   70|  6.24k|    if (_status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (70:9): [True: 0, False: 6.24k]
  |  |  ------------------
  |  |   71|  6.24k|      return _status;							      \
  |  |   72|  6.24k|  }
  ------------------
 1420|  6.24k|	      STACK_PUSHR(stack, int, NFL_POST_CATENATION);
  ------------------
  |  |   67|  6.24k|  {									      \
  |  |   68|  6.24k|    reg_errcode_t _status;						      \
  |  |   69|  6.24k|    _status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   70|  6.24k|    if (_status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (70:9): [True: 0, False: 6.24k]
  |  |  ------------------
  |  |   71|  6.24k|      return _status;							      \
  |  |   72|  6.24k|  }
  ------------------
 1421|  6.24k|	      STACK_PUSHR(stack, voidptr, ((tre_catenation_t *)node->obj)->right);
  ------------------
  |  |   67|  6.24k|  {									      \
  |  |   68|  6.24k|    reg_errcode_t _status;						      \
  |  |   69|  6.24k|    _status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   70|  6.24k|    if (_status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (70:9): [True: 0, False: 6.24k]
  |  |  ------------------
  |  |   71|  6.24k|      return _status;							      \
  |  |   72|  6.24k|  }
  ------------------
 1422|  6.24k|	      STACK_PUSHR(stack, int, NFL_RECURSE);
  ------------------
  |  |   67|  6.24k|  {									      \
  |  |   68|  6.24k|    reg_errcode_t _status;						      \
  |  |   69|  6.24k|    _status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   70|  6.24k|    if (_status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (70:9): [True: 0, False: 6.24k]
  |  |  ------------------
  |  |   71|  6.24k|      return _status;							      \
  |  |   72|  6.24k|  }
  ------------------
 1423|  6.24k|	      STACK_PUSHR(stack, voidptr, ((tre_catenation_t *)node->obj)->left);
  ------------------
  |  |   67|  6.24k|  {									      \
  |  |   68|  6.24k|    reg_errcode_t _status;						      \
  |  |   69|  6.24k|    _status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   70|  6.24k|    if (_status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (70:9): [True: 0, False: 6.24k]
  |  |  ------------------
  |  |   71|  6.24k|      return _status;							      \
  |  |   72|  6.24k|  }
  ------------------
 1424|  6.24k|	      STACK_PUSHR(stack, int, NFL_RECURSE);
  ------------------
  |  |   67|  6.24k|  {									      \
  |  |   68|  6.24k|    reg_errcode_t _status;						      \
  |  |   69|  6.24k|    _status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   70|  6.24k|    if (_status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (70:9): [True: 0, False: 6.24k]
  |  |  ------------------
  |  |   71|  6.24k|      return _status;							      \
  |  |   72|  6.24k|  }
  ------------------
 1425|  6.24k|	      break;
 1426|       |
 1427|    208|	    case ITERATION:
  ------------------
  |  Branch (1427:6): [True: 208, False: 66.2k]
  ------------------
 1428|       |	      /* Compute the attributes for the subtree, and after that for
 1429|       |		 this node. */
 1430|    208|	      STACK_PUSHR(stack, voidptr, node);
  ------------------
  |  |   67|    208|  {									      \
  |  |   68|    208|    reg_errcode_t _status;						      \
  |  |   69|    208|    _status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   70|    208|    if (_status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (70:9): [True: 0, False: 208]
  |  |  ------------------
  |  |   71|    208|      return _status;							      \
  |  |   72|    208|  }
  ------------------
 1431|    208|	      STACK_PUSHR(stack, int, NFL_POST_ITERATION);
  ------------------
  |  |   67|    208|  {									      \
  |  |   68|    208|    reg_errcode_t _status;						      \
  |  |   69|    208|    _status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   70|    208|    if (_status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (70:9): [True: 0, False: 208]
  |  |  ------------------
  |  |   71|    208|      return _status;							      \
  |  |   72|    208|  }
  ------------------
 1432|    208|	      STACK_PUSHR(stack, voidptr, ((tre_iteration_t *)node->obj)->arg);
  ------------------
  |  |   67|    208|  {									      \
  |  |   68|    208|    reg_errcode_t _status;						      \
  |  |   69|    208|    _status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   70|    208|    if (_status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (70:9): [True: 0, False: 208]
  |  |  ------------------
  |  |   71|    208|      return _status;							      \
  |  |   72|    208|  }
  ------------------
 1433|    208|	      STACK_PUSHR(stack, int, NFL_RECURSE);
  ------------------
  |  |   67|    208|  {									      \
  |  |   68|    208|    reg_errcode_t _status;						      \
  |  |   69|    208|    _status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   70|    208|    if (_status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (70:9): [True: 0, False: 208]
  |  |  ------------------
  |  |   71|    208|      return _status;							      \
  |  |   72|    208|  }
  ------------------
 1434|    208|	      break;
 1435|  66.4k|	    }
 1436|  66.4k|	  break; /* end case: NFL_RECURSE */
 1437|       |
 1438|  66.4k|	case NFL_POST_UNION:
  ------------------
  |  Branch (1438:2): [True: 26.1k, False: 72.8k]
  ------------------
 1439|  26.1k|	  {
 1440|  26.1k|	    tre_union_t *uni = (tre_union_t *)node->obj;
 1441|  26.1k|	    node->nullable = uni->left->nullable || uni->right->nullable;
  ------------------
  |  Branch (1441:23): [True: 28, False: 26.1k]
  |  Branch (1441:46): [True: 0, False: 26.1k]
  ------------------
 1442|  26.1k|	    node->firstpos = tre_set_union(mem, uni->left->firstpos,
 1443|  26.1k|					   uni->right->firstpos, NULL, 0, NULL);
 1444|  26.1k|	    if (!node->firstpos)
  ------------------
  |  Branch (1444:10): [True: 0, False: 26.1k]
  ------------------
 1445|      0|	      return REG_ESPACE;
 1446|  26.1k|	    node->lastpos = tre_set_union(mem, uni->left->lastpos,
 1447|  26.1k|					  uni->right->lastpos, NULL, 0, NULL);
 1448|  26.1k|	    if (!node->lastpos)
  ------------------
  |  Branch (1448:10): [True: 0, False: 26.1k]
  ------------------
 1449|      0|	      return REG_ESPACE;
 1450|  26.1k|	    break;
 1451|  26.1k|	  }
 1452|       |
 1453|  26.1k|	case NFL_POST_ITERATION:
  ------------------
  |  Branch (1453:2): [True: 208, False: 98.8k]
  ------------------
 1454|    208|	  {
 1455|    208|	    tre_iteration_t *iter = (tre_iteration_t *)node->obj;
 1456|       |
 1457|    208|	    if (iter->min == 0 || iter->arg->nullable)
  ------------------
  |  Branch (1457:10): [True: 90, False: 118]
  |  Branch (1457:28): [True: 0, False: 118]
  ------------------
 1458|     90|	      node->nullable = 1;
 1459|    118|	    else
 1460|    118|	      node->nullable = 0;
 1461|    208|	    node->firstpos = iter->arg->firstpos;
 1462|    208|	    node->lastpos = iter->arg->lastpos;
 1463|    208|	    break;
 1464|  26.1k|	  }
 1465|       |
 1466|  6.24k|	case NFL_POST_CATENATION:
  ------------------
  |  Branch (1466:2): [True: 6.24k, False: 92.8k]
  ------------------
 1467|  6.24k|	  {
 1468|  6.24k|	    int num_tags, *tags, assertions, params_seen;
 1469|  6.24k|	    int *params;
 1470|  6.24k|	    reg_errcode_t status;
 1471|  6.24k|	    tre_catenation_t *cat = node->obj;
 1472|  6.24k|	    node->nullable = cat->left->nullable && cat->right->nullable;
  ------------------
  |  Branch (1472:23): [True: 1.73k, False: 4.50k]
  |  Branch (1472:46): [True: 168, False: 1.56k]
  ------------------
 1473|       |
 1474|       |	    /* Compute firstpos. */
 1475|  6.24k|	    if (cat->left->nullable)
  ------------------
  |  Branch (1475:10): [True: 1.73k, False: 4.50k]
  ------------------
 1476|  1.73k|	      {
 1477|       |		/* The left side matches the empty string.  Make a first pass
 1478|       |		   with tre_match_empty() to get the number of tags and
 1479|       |		   parameters. */
 1480|  1.73k|		status = tre_match_empty(stack, cat->left,
 1481|  1.73k|					 NULL, NULL, NULL, &num_tags,
 1482|  1.73k|					 &params_seen);
 1483|  1.73k|		if (status != REG_OK)
  ------------------
  |  Branch (1483:7): [True: 0, False: 1.73k]
  ------------------
 1484|      0|		  return status;
 1485|       |		/* Allocate arrays for the tags and parameters. */
 1486|  1.73k|		tags = xmalloc(sizeof(*tags) * (num_tags + 1));
  ------------------
  |  |   67|  1.73k|#define xmalloc(size) malloc(size)
  ------------------
 1487|  1.73k|		if (!tags)
  ------------------
  |  Branch (1487:7): [True: 0, False: 1.73k]
  ------------------
 1488|      0|		  return REG_ESPACE;
 1489|  1.73k|		tags[0] = -1;
 1490|  1.73k|		assertions = 0;
 1491|  1.73k|		params = NULL;
 1492|  1.73k|		if (params_seen)
  ------------------
  |  Branch (1492:7): [True: 0, False: 1.73k]
  ------------------
 1493|      0|		  {
 1494|      0|		    params = tre_mem_alloc(mem, sizeof(*params)
  ------------------
  |  |   40|      0|#define tre_mem_alloc(mem, size) tre_mem_alloc_impl(mem, 0, NULL, 0, size)
  ------------------
 1495|      0|					   * TRE_PARAM_LAST);
 1496|      0|		    if (!params)
  ------------------
  |  Branch (1496:11): [True: 0, False: 0]
  ------------------
 1497|      0|		      {
 1498|      0|			xfree(tags);
  ------------------
  |  |   69|      0|#define xfree(ptr) free(ptr)
  ------------------
 1499|      0|			return REG_ESPACE;
 1500|      0|		      }
 1501|      0|		  }
 1502|       |		/* Second pass with tre_mach_empty() to get the list of
 1503|       |		   tags and parameters. */
 1504|  1.73k|		status = tre_match_empty(stack, cat->left, tags,
 1505|  1.73k|					 &assertions, params, NULL, NULL);
 1506|  1.73k|		if (status != REG_OK)
  ------------------
  |  Branch (1506:7): [True: 0, False: 1.73k]
  ------------------
 1507|      0|		  {
 1508|      0|		    xfree(tags);
  ------------------
  |  |   69|      0|#define xfree(ptr) free(ptr)
  ------------------
 1509|      0|		    return status;
 1510|      0|		  }
 1511|  1.73k|		node->firstpos =
 1512|  1.73k|		  tre_set_union(mem, cat->right->firstpos, cat->left->firstpos,
 1513|  1.73k|				tags, assertions, params);
 1514|  1.73k|		xfree(tags);
  ------------------
  |  |   69|  1.73k|#define xfree(ptr) free(ptr)
  ------------------
 1515|  1.73k|		if (!node->firstpos)
  ------------------
  |  Branch (1515:7): [True: 0, False: 1.73k]
  ------------------
 1516|      0|		  return REG_ESPACE;
 1517|  1.73k|	      }
 1518|  4.50k|	    else
 1519|  4.50k|	      {
 1520|  4.50k|		node->firstpos = cat->left->firstpos;
 1521|  4.50k|	      }
 1522|       |
 1523|       |	    /* Compute lastpos. */
 1524|  6.24k|	    if (cat->right->nullable)
  ------------------
  |  Branch (1524:10): [True: 2.82k, False: 3.41k]
  ------------------
 1525|  2.82k|	      {
 1526|       |		/* The right side matches the empty string.  Make a first pass
 1527|       |		   with tre_match_empty() to get the number of tags and
 1528|       |		   parameters. */
 1529|  2.82k|		status = tre_match_empty(stack, cat->right,
 1530|  2.82k|					 NULL, NULL, NULL, &num_tags,
 1531|  2.82k|					 &params_seen);
 1532|  2.82k|		if (status != REG_OK)
  ------------------
  |  Branch (1532:7): [True: 0, False: 2.82k]
  ------------------
 1533|      0|		  return status;
 1534|       |		/* Allocate arrays for the tags and parameters. */
 1535|  2.82k|		tags = xmalloc(sizeof(int) * (num_tags + 1));
  ------------------
  |  |   67|  2.82k|#define xmalloc(size) malloc(size)
  ------------------
 1536|  2.82k|		if (!tags)
  ------------------
  |  Branch (1536:7): [True: 0, False: 2.82k]
  ------------------
 1537|      0|		  return REG_ESPACE;
 1538|  2.82k|		tags[0] = -1;
 1539|  2.82k|		assertions = 0;
 1540|  2.82k|		params = NULL;
 1541|  2.82k|		if (params_seen)
  ------------------
  |  Branch (1541:7): [True: 0, False: 2.82k]
  ------------------
 1542|      0|		  {
 1543|      0|		    params = tre_mem_alloc(mem, sizeof(*params)
  ------------------
  |  |   40|      0|#define tre_mem_alloc(mem, size) tre_mem_alloc_impl(mem, 0, NULL, 0, size)
  ------------------
 1544|      0|					   * TRE_PARAM_LAST);
 1545|      0|		    if (!params)
  ------------------
  |  Branch (1545:11): [True: 0, False: 0]
  ------------------
 1546|      0|		      {
 1547|      0|			xfree(tags);
  ------------------
  |  |   69|      0|#define xfree(ptr) free(ptr)
  ------------------
 1548|      0|			return REG_ESPACE;
 1549|      0|		      }
 1550|      0|		  }
 1551|       |		/* Second pass with tre_mach_empty() to get the list of
 1552|       |		   tags and parameters. */
 1553|  2.82k|		status = tre_match_empty(stack, cat->right, tags,
 1554|  2.82k|					 &assertions, params, NULL, NULL);
 1555|  2.82k|		if (status != REG_OK)
  ------------------
  |  Branch (1555:7): [True: 0, False: 2.82k]
  ------------------
 1556|      0|		  {
 1557|      0|		    xfree(tags);
  ------------------
  |  |   69|      0|#define xfree(ptr) free(ptr)
  ------------------
 1558|      0|		    return status;
 1559|      0|		  }
 1560|  2.82k|		node->lastpos =
 1561|  2.82k|		  tre_set_union(mem, cat->left->lastpos, cat->right->lastpos,
 1562|  2.82k|				tags, assertions, params);
 1563|  2.82k|		xfree(tags);
  ------------------
  |  |   69|  2.82k|#define xfree(ptr) free(ptr)
  ------------------
 1564|  2.82k|		if (!node->lastpos)
  ------------------
  |  Branch (1564:7): [True: 0, False: 2.82k]
  ------------------
 1565|      0|		  return REG_ESPACE;
 1566|  2.82k|	      }
 1567|  3.41k|	    else
 1568|  3.41k|	      {
 1569|  3.41k|		node->lastpos = cat->right->lastpos;
 1570|  3.41k|	      }
 1571|  6.24k|	    break;
 1572|  6.24k|	  }
 1573|       |
 1574|  6.24k|	default:
  ------------------
  |  Branch (1574:2): [True: 0, False: 99.0k]
  ------------------
 1575|      0|	  assert(0);
  ------------------
  |  |   32|      0|#define assert(a) R_assert(a)
  |  |  ------------------
  |  |  |  |  230|      0|#define R_assert(e) ((e) ? (void) 0 : Rf_error("assertion '%s' failed in executing regexp: file '%s', line %d\n", #e, __FILE__, __LINE__))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (230:22): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1576|      0|	  break;
 1577|  99.0k|	}
 1578|  99.0k|    }
 1579|       |
 1580|  1.43k|  return REG_OK;
 1581|  1.43k|}
tre-compile.c:tre_set_one:
 1085|  59.0k|{
 1086|  59.0k|  tre_pos_and_tags_t *new_set;
 1087|       |
 1088|  59.0k|  new_set = tre_mem_calloc(mem, sizeof(*new_set) * 2);
  ------------------
  |  |   45|  59.0k|#define tre_mem_calloc(mem, size) tre_mem_alloc_impl(mem, 0, NULL, 1, size)
  ------------------
 1089|  59.0k|  if (new_set == NULL)
  ------------------
  |  Branch (1089:7): [True: 0, False: 59.0k]
  ------------------
 1090|      0|    return NULL;
 1091|       |
 1092|  59.0k|  new_set[0].position = position;
 1093|  59.0k|  new_set[0].code_min = code_min;
 1094|  59.0k|  new_set[0].code_max = code_max;
 1095|  59.0k|  new_set[0].class = class;
 1096|  59.0k|  new_set[0].neg_classes = neg_classes;
 1097|  59.0k|  new_set[0].backref = backref;
 1098|  59.0k|  new_set[1].position = -1;
 1099|  59.0k|  new_set[1].code_min = -1;
 1100|  59.0k|  new_set[1].code_max = -1;
 1101|       |
 1102|  59.0k|  return new_set;
 1103|  59.0k|}
tre-compile.c:tre_set_empty:
 1068|  8.61k|{
 1069|  8.61k|  tre_pos_and_tags_t *new_set;
 1070|       |
 1071|  8.61k|  new_set = tre_mem_calloc(mem, sizeof(*new_set));
  ------------------
  |  |   45|  8.61k|#define tre_mem_calloc(mem, size) tre_mem_alloc_impl(mem, 0, NULL, 1, size)
  ------------------
 1072|  8.61k|  if (new_set == NULL)
  ------------------
  |  Branch (1072:7): [True: 0, False: 8.61k]
  ------------------
 1073|      0|    return NULL;
 1074|       |
 1075|  8.61k|  new_set[0].position = -1;
 1076|  8.61k|  new_set[0].code_min = -1;
 1077|  8.61k|  new_set[0].code_max = -1;
 1078|       |
 1079|  8.61k|  return new_set;
 1080|  8.61k|}
tre-compile.c:tre_set_union:
 1108|  56.8k|{
 1109|  56.8k|  int s1, s2, i, j;
 1110|  56.8k|  tre_pos_and_tags_t *new_set;
 1111|  56.8k|  int *new_tags;
 1112|  56.8k|  int num_tags;
 1113|       |
 1114|  61.2k|  for (num_tags = 0; tags != NULL && tags[num_tags] >= 0; num_tags++);
  ------------------
  |  Branch (1114:22): [True: 8.93k, False: 52.3k]
  |  Branch (1114:38): [True: 4.37k, False: 4.56k]
  ------------------
 1115|   684k|  for (s1 = 0; set1[s1].position >= 0; s1++);
  ------------------
  |  Branch (1115:16): [True: 627k, False: 56.8k]
  ------------------
 1116|   109k|  for (s2 = 0; set2[s2].position >= 0; s2++);
  ------------------
  |  Branch (1116:16): [True: 52.7k, False: 56.8k]
  ------------------
 1117|  56.8k|  new_set = tre_mem_calloc(mem, sizeof(*new_set) * (s1 + s2 + 1));
  ------------------
  |  |   45|  56.8k|#define tre_mem_calloc(mem, size) tre_mem_alloc_impl(mem, 0, NULL, 1, size)
  ------------------
 1118|  56.8k|  if (!new_set )
  ------------------
  |  Branch (1118:7): [True: 0, False: 56.8k]
  ------------------
 1119|      0|    return NULL;
 1120|       |
 1121|   684k|  for (s1 = 0; set1[s1].position >= 0; s1++)
  ------------------
  |  Branch (1121:16): [True: 627k, False: 56.8k]
  ------------------
 1122|   627k|    {
 1123|   627k|      new_set[s1].position = set1[s1].position;
 1124|   627k|      new_set[s1].code_min = set1[s1].code_min;
 1125|   627k|      new_set[s1].code_max = set1[s1].code_max;
 1126|   627k|      new_set[s1].assertions = set1[s1].assertions | assertions;
 1127|   627k|      new_set[s1].class = set1[s1].class;
 1128|   627k|      new_set[s1].neg_classes = set1[s1].neg_classes;
 1129|   627k|      new_set[s1].backref = set1[s1].backref;
 1130|   627k|      if (set1[s1].tags == NULL && tags == NULL)
  ------------------
  |  Branch (1130:11): [True: 601k, False: 26.2k]
  |  Branch (1130:36): [True: 546k, False: 55.1k]
  ------------------
 1131|   546k|	new_set[s1].tags = NULL;
 1132|  81.3k|      else
 1133|  81.3k|	{
 1134|   107k|	  for (i = 0; set1[s1].tags != NULL && set1[s1].tags[i] >= 0; i++);
  ------------------
  |  Branch (1134:16): [True: 52.4k, False: 55.1k]
  |  Branch (1134:41): [True: 26.2k, False: 26.2k]
  ------------------
 1135|  81.3k|	  new_tags = tre_mem_alloc(mem, (sizeof(*new_tags)
  ------------------
  |  |   40|  81.3k|#define tre_mem_alloc(mem, size) tre_mem_alloc_impl(mem, 0, NULL, 0, size)
  ------------------
 1136|  81.3k|					 * (i + num_tags + 1)));
 1137|  81.3k|	  if (new_tags == NULL)
  ------------------
  |  Branch (1137:8): [True: 0, False: 81.3k]
  ------------------
 1138|      0|	    return NULL;
 1139|   107k|	  for (j = 0; j < i; j++)
  ------------------
  |  Branch (1139:16): [True: 26.2k, False: 81.3k]
  ------------------
 1140|  26.2k|	    new_tags[j] = set1[s1].tags[j];
 1141|   136k|	  for (i = 0; i < num_tags; i++)
  ------------------
  |  Branch (1141:16): [True: 55.2k, False: 81.3k]
  ------------------
 1142|  55.2k|	    new_tags[j + i] = tags[i];
 1143|  81.3k|	  new_tags[j + i] = -1;
 1144|  81.3k|	  new_set[s1].tags = new_tags;
 1145|  81.3k|	}
 1146|   627k|      if (set1[s1].params)
  ------------------
  |  Branch (1146:11): [True: 0, False: 627k]
  ------------------
 1147|      0|	new_set[s1].params = set1[s1].params;
 1148|   627k|      if (params)
  ------------------
  |  Branch (1148:11): [True: 0, False: 627k]
  ------------------
 1149|      0|	{
 1150|      0|	  if (!new_set[s1].params)
  ------------------
  |  Branch (1150:8): [True: 0, False: 0]
  ------------------
 1151|      0|	    new_set[s1].params = params;
 1152|      0|	  else
 1153|      0|	    {
 1154|      0|	      new_set[s1].params = tre_mem_alloc(mem, sizeof(*params) *
  ------------------
  |  |   40|      0|#define tre_mem_alloc(mem, size) tre_mem_alloc_impl(mem, 0, NULL, 0, size)
  ------------------
 1155|      0|						 TRE_PARAM_LAST);
 1156|      0|	      if (!new_set[s1].params)
  ------------------
  |  Branch (1156:12): [True: 0, False: 0]
  ------------------
 1157|      0|		return NULL;
 1158|      0|	      for (i = 0; i < TRE_PARAM_LAST; i++)
  ------------------
  |  Branch (1158:20): [True: 0, False: 0]
  ------------------
 1159|      0|		if (params[i] != TRE_PARAM_UNSET)
  ------------------
  |  |  254|      0|#define TRE_PARAM_UNSET -1
  ------------------
  |  Branch (1159:7): [True: 0, False: 0]
  ------------------
 1160|      0|		  new_set[s1].params[i] = params[i];
 1161|      0|	    }
 1162|      0|	}
 1163|   627k|    }
 1164|       |
 1165|   109k|  for (s2 = 0; set2[s2].position >= 0; s2++)
  ------------------
  |  Branch (1165:16): [True: 52.7k, False: 56.8k]
  ------------------
 1166|  52.7k|    {
 1167|  52.7k|      new_set[s1 + s2].position = set2[s2].position;
 1168|  52.7k|      new_set[s1 + s2].code_min = set2[s2].code_min;
 1169|  52.7k|      new_set[s1 + s2].code_max = set2[s2].code_max;
 1170|       |      /* XXX - why not | assertions here as well? */
 1171|  52.7k|      new_set[s1 + s2].assertions = set2[s2].assertions;
 1172|  52.7k|      new_set[s1 + s2].class = set2[s2].class;
 1173|  52.7k|      new_set[s1 + s2].neg_classes = set2[s2].neg_classes;
 1174|  52.7k|      new_set[s1 + s2].backref = set2[s2].backref;
 1175|  52.7k|      if (set2[s2].tags == NULL)
  ------------------
  |  Branch (1175:11): [True: 51.2k, False: 1.56k]
  ------------------
 1176|  51.2k|	new_set[s1 + s2].tags = NULL;
 1177|  1.56k|      else
 1178|  1.56k|	{
 1179|  3.18k|	  for (i = 0; set2[s2].tags[i] >= 0; i++);
  ------------------
  |  Branch (1179:16): [True: 1.61k, False: 1.56k]
  ------------------
 1180|  1.56k|	  new_tags = tre_mem_alloc(mem, sizeof(*new_tags) * (i + 1));
  ------------------
  |  |   40|  1.56k|#define tre_mem_alloc(mem, size) tre_mem_alloc_impl(mem, 0, NULL, 0, size)
  ------------------
 1181|  1.56k|	  if (new_tags == NULL)
  ------------------
  |  Branch (1181:8): [True: 0, False: 1.56k]
  ------------------
 1182|      0|	    return NULL;
 1183|  3.18k|	  for (j = 0; j < i; j++)
  ------------------
  |  Branch (1183:16): [True: 1.61k, False: 1.56k]
  ------------------
 1184|  1.61k|	    new_tags[j] = set2[s2].tags[j];
 1185|  1.56k|	  new_tags[j] = -1;
 1186|  1.56k|	  new_set[s1 + s2].tags = new_tags;
 1187|  1.56k|	}
 1188|  52.7k|      if (set2[s2].params)
  ------------------
  |  Branch (1188:11): [True: 0, False: 52.7k]
  ------------------
 1189|      0|	new_set[s1 + s2].params = set2[s2].params;
 1190|  52.7k|      if (params)
  ------------------
  |  Branch (1190:11): [True: 0, False: 52.7k]
  ------------------
 1191|      0|	{
 1192|      0|	  if (!new_set[s1 + s2].params)
  ------------------
  |  Branch (1192:8): [True: 0, False: 0]
  ------------------
 1193|      0|	    new_set[s1 + s2].params = params;
 1194|      0|	  else
 1195|      0|	    {
 1196|      0|	      new_set[s1 + s2].params = tre_mem_alloc(mem, sizeof(*params) *
  ------------------
  |  |   40|      0|#define tre_mem_alloc(mem, size) tre_mem_alloc_impl(mem, 0, NULL, 0, size)
  ------------------
 1197|      0|						      TRE_PARAM_LAST);
 1198|      0|	      if (!new_set[s1 + s2].params)
  ------------------
  |  Branch (1198:12): [True: 0, False: 0]
  ------------------
 1199|      0|		return NULL;
 1200|      0|	      for (i = 0; i < TRE_PARAM_LAST; i++)
  ------------------
  |  Branch (1200:20): [True: 0, False: 0]
  ------------------
 1201|      0|		if (params[i] != TRE_PARAM_UNSET)
  ------------------
  |  |  254|      0|#define TRE_PARAM_UNSET -1
  ------------------
  |  Branch (1201:7): [True: 0, False: 0]
  ------------------
 1202|      0|		  new_set[s1 + s2].params[i] = params[i];
 1203|      0|	    }
 1204|      0|	}
 1205|  52.7k|    }
 1206|  56.8k|  new_set[s1 + s2].position = -1;
 1207|  56.8k|  return new_set;
 1208|  56.8k|}
tre-compile.c:tre_match_empty:
 1218|  9.12k|{
 1219|  9.12k|  tre_literal_t *lit;
 1220|  9.12k|  tre_union_t *uni;
 1221|  9.12k|  tre_catenation_t *cat;
 1222|  9.12k|  tre_iteration_t *iter;
 1223|  9.12k|  int i;
 1224|  9.12k|  int bottom = tre_stack_num_objects(stack);
 1225|  9.12k|  reg_errcode_t status = REG_OK;
 1226|  9.12k|  if (num_tags_seen)
  ------------------
  |  Branch (1226:7): [True: 4.56k, False: 4.56k]
  ------------------
 1227|  4.56k|    *num_tags_seen = 0;
 1228|  9.12k|  if (params_seen)
  ------------------
  |  Branch (1228:7): [True: 4.56k, False: 4.56k]
  ------------------
 1229|  4.56k|    *params_seen = 0;
 1230|       |
 1231|  9.12k|  status = tre_stack_push_voidptr(stack, node);
 1232|       |
 1233|       |  /* Walk through the tree recursively. */
 1234|  19.5k|  while (status == REG_OK && tre_stack_num_objects(stack) > bottom)
  ------------------
  |  Branch (1234:10): [True: 19.5k, False: 0]
  |  Branch (1234:30): [True: 10.4k, False: 9.12k]
  ------------------
 1235|  10.4k|    {
 1236|  10.4k|      node = tre_stack_pop_voidptr(stack);
 1237|       |
 1238|  10.4k|      switch (node->type)
 1239|  10.4k|	{
 1240|  9.28k|	case LITERAL:
  ------------------
  |  Branch (1240:2): [True: 9.28k, False: 1.13k]
  ------------------
 1241|  9.28k|	  lit = (tre_literal_t *)node->obj;
 1242|  9.28k|	  switch (lit->code_min)
 1243|  9.28k|	    {
 1244|  8.74k|	    case TAG:
  ------------------
  |  |   28|  8.74k|#define TAG	  -3   /* Tag leaf. */
  ------------------
  |  Branch (1244:6): [True: 8.74k, False: 534]
  ------------------
 1245|  8.74k|	      if (lit->code_max >= 0)
  ------------------
  |  Branch (1245:12): [True: 8.74k, False: 0]
  ------------------
 1246|  8.74k|		{
 1247|  8.74k|		  if (tags != NULL)
  ------------------
  |  Branch (1247:9): [True: 4.37k, False: 4.37k]
  ------------------
 1248|  4.37k|		    {
 1249|       |		      /* Add the tag to `tags'. */
 1250|  4.48k|		      for (i = 0; tags[i] >= 0; i++)
  ------------------
  |  Branch (1250:21): [True: 112, False: 4.37k]
  ------------------
 1251|    112|			if (tags[i] == lit->code_max)
  ------------------
  |  Branch (1251:8): [True: 0, False: 112]
  ------------------
 1252|      0|			  break;
 1253|  4.37k|		      if (tags[i] < 0)
  ------------------
  |  Branch (1253:13): [True: 4.37k, False: 0]
  ------------------
 1254|  4.37k|			{
 1255|  4.37k|			  tags[i] = (int)lit->code_max;
 1256|  4.37k|			  tags[i + 1] = -1;
 1257|  4.37k|			}
 1258|  4.37k|		    }
 1259|  8.74k|		  if (num_tags_seen)
  ------------------
  |  Branch (1259:9): [True: 4.37k, False: 4.37k]
  ------------------
 1260|  4.37k|		    (*num_tags_seen)++;
 1261|  8.74k|		}
 1262|  8.74k|	      break;
 1263|    476|	    case ASSERTION:
  ------------------
  |  |   27|    476|#define ASSERTION -2   /* Assertion leaf. */
  ------------------
  |  Branch (1263:6): [True: 476, False: 8.80k]
  ------------------
 1264|    476|	      assert(lit->code_max >= 1
  ------------------
  |  |   32|    476|#define assert(a) R_assert(a)
  |  |  ------------------
  |  |  |  |  230|    476|#define R_assert(e) ((e) ? (void) 0 : Rf_error("assertion '%s' failed in executing regexp: file '%s', line %d\n", #e, __FILE__, __LINE__))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (230:23): [True: 476, False: 0]
  |  |  |  |  |  Branch (230:23): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1265|    476|		     || lit->code_max <= ASSERT_LAST);
 1266|    476|	      if (assertions != NULL)
  ------------------
  |  Branch (1266:12): [True: 238, False: 238]
  ------------------
 1267|    238|		*assertions |= lit->code_max;
 1268|    476|	      break;
 1269|      0|	    case PARAMETER:
  ------------------
  |  |   30|      0|#define PARAMETER -5   /* Parameter. */
  ------------------
  |  Branch (1269:6): [True: 0, False: 9.28k]
  ------------------
 1270|      0|	      if (params != NULL)
  ------------------
  |  Branch (1270:12): [True: 0, False: 0]
  ------------------
 1271|      0|		for (i = 0; i < TRE_PARAM_LAST; i++)
  ------------------
  |  Branch (1271:15): [True: 0, False: 0]
  ------------------
 1272|      0|		  params[i] = lit->u.params[i];
 1273|      0|	      if (params_seen != NULL)
  ------------------
  |  Branch (1273:12): [True: 0, False: 0]
  ------------------
 1274|      0|		*params_seen = 1;
 1275|      0|	      break;
 1276|     58|	    case EMPTY:
  ------------------
  |  |   26|     58|#define EMPTY	  -1   /* Empty leaf (denotes empty string). */
  ------------------
  |  Branch (1276:6): [True: 58, False: 9.22k]
  ------------------
 1277|     58|	      break;
 1278|      0|	    default:
  ------------------
  |  Branch (1278:6): [True: 0, False: 9.28k]
  ------------------
 1279|      0|	      assert(0);
  ------------------
  |  |   32|      0|#define assert(a) R_assert(a)
  |  |  ------------------
  |  |  |  |  230|      0|#define R_assert(e) ((e) ? (void) 0 : Rf_error("assertion '%s' failed in executing regexp: file '%s', line %d\n", #e, __FILE__, __LINE__))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (230:22): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1280|      0|	      break;
 1281|  9.28k|	    }
 1282|  9.28k|	  break;
 1283|       |
 1284|  9.28k|	case UNION:
  ------------------
  |  Branch (1284:2): [True: 168, False: 10.2k]
  ------------------
 1285|       |	  /* Subexpressions starting earlier take priority over ones
 1286|       |	     starting later, so we prefer the left subexpression over the
 1287|       |	     right subexpression. */
 1288|    168|	  uni = (tre_union_t *)node->obj;
 1289|    168|	  if (uni->left->nullable)
  ------------------
  |  Branch (1289:8): [True: 168, False: 0]
  ------------------
 1290|    168|	    STACK_PUSHX(stack, voidptr, uni->left)
  ------------------
  |  |   60|    168|  {									      \
  |  |   61|    168|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|    168|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 168]
  |  |  ------------------
  |  |   63|    168|      break;								      \
  |  |   64|    168|  }
  ------------------
 1291|      0|	  else if (uni->right->nullable)
  ------------------
  |  Branch (1291:13): [True: 0, False: 0]
  ------------------
 1292|      0|	    STACK_PUSHX(stack, voidptr, uni->right)
  ------------------
  |  |   60|      0|  {									      \
  |  |   61|      0|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|      0|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   63|      0|      break;								      \
  |  |   64|      0|  }
  ------------------
 1293|      0|	  else
 1294|      0|	    assert(0);
  ------------------
  |  |   32|      0|#define assert(a) R_assert(a)
  |  |  ------------------
  |  |  |  |  230|      0|#define R_assert(e) ((e) ? (void) 0 : Rf_error("assertion '%s' failed in executing regexp: file '%s', line %d\n", #e, __FILE__, __LINE__))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (230:22): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1295|    168|	  break;
 1296|       |
 1297|    560|	case CATENATION:
  ------------------
  |  Branch (1297:2): [True: 560, False: 9.85k]
  ------------------
 1298|       |	  /* The path must go through both children. */
 1299|    560|	  cat = (tre_catenation_t *)node->obj;
 1300|    560|	  assert(cat->left->nullable);
  ------------------
  |  |   32|    560|#define assert(a) R_assert(a)
  |  |  ------------------
  |  |  |  |  230|    560|#define R_assert(e) ((e) ? (void) 0 : Rf_error("assertion '%s' failed in executing regexp: file '%s', line %d\n", #e, __FILE__, __LINE__))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (230:22): [True: 560, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1301|    560|	  assert(cat->right->nullable);
  ------------------
  |  |   32|    560|#define assert(a) R_assert(a)
  |  |  ------------------
  |  |  |  |  230|    560|#define R_assert(e) ((e) ? (void) 0 : Rf_error("assertion '%s' failed in executing regexp: file '%s', line %d\n", #e, __FILE__, __LINE__))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (230:22): [True: 560, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1302|    560|	  STACK_PUSHX(stack, voidptr, cat->left);
  ------------------
  |  |   60|    560|  {									      \
  |  |   61|    560|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|    560|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 560]
  |  |  ------------------
  |  |   63|    560|      break;								      \
  |  |   64|    560|  }
  ------------------
 1303|    560|	  STACK_PUSHX(stack, voidptr, cat->right);
  ------------------
  |  |   60|    560|  {									      \
  |  |   61|    560|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|    560|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 560]
  |  |  ------------------
  |  |   63|    560|      break;								      \
  |  |   64|    560|  }
  ------------------
 1304|    560|	  break;
 1305|       |
 1306|    404|	case ITERATION:
  ------------------
  |  Branch (1306:2): [True: 404, False: 10.0k]
  ------------------
 1307|       |	  /* A match with an empty string is preferred over no match at
 1308|       |	     all, so we go through the argument if possible. */
 1309|    404|	  iter = (tre_iteration_t *)node->obj;
 1310|    404|	  if (iter->arg->nullable)
  ------------------
  |  Branch (1310:8): [True: 0, False: 404]
  ------------------
 1311|    404|	    STACK_PUSHX(stack, voidptr, iter->arg);
  ------------------
  |  |   60|      0|  {									      \
  |  |   61|      0|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|      0|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   63|      0|      break;								      \
  |  |   64|      0|  }
  ------------------
 1312|    404|	  break;
 1313|       |
 1314|      0|	default:
  ------------------
  |  Branch (1314:2): [True: 0, False: 10.4k]
  ------------------
 1315|      0|	  assert(0);
  ------------------
  |  |   32|      0|#define assert(a) R_assert(a)
  |  |  ------------------
  |  |  |  |  230|      0|#define R_assert(e) ((e) ? (void) 0 : Rf_error("assertion '%s' failed in executing regexp: file '%s', line %d\n", #e, __FILE__, __LINE__))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (230:22): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1316|      0|	  break;
 1317|  10.4k|	}
 1318|  10.4k|    }
 1319|       |
 1320|  9.12k|  return status;
 1321|  9.12k|}
tre-compile.c:tre_ast_to_tnfa:
 1870|  2.86k|{
 1871|  2.86k|  reg_errcode_t errcode;
 1872|  2.86k|  tre_stack_t *stack;
 1873|       |  /* I made up max_size, there is no reason for that particular value */
 1874|  2.86k|  stack = tre_stack_new(1024, 256*1024, 4096);
 1875|  2.86k|  errcode = tre_ast_to_tnfa_iter(stack, node, transitions, counts, offs);
 1876|  2.86k|  tre_stack_destroy(stack);
 1877|  2.86k|  return errcode;
 1878|  2.86k|}
tre-compile.c:tre_ast_to_tnfa_iter:
 1809|  2.86k|{
 1810|  2.86k|  tre_union_t *uni;
 1811|  2.86k|  tre_catenation_t *cat;
 1812|  2.86k|  tre_iteration_t *iter;
 1813|  2.86k|  reg_errcode_t errcode = REG_OK;
 1814|       |
 1815|  2.86k|  STACK_PUSHR(stack, voidptr, node);
  ------------------
  |  |   67|  2.86k|  {									      \
  |  |   68|  2.86k|    reg_errcode_t _status;						      \
  |  |   69|  2.86k|    _status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   70|  2.86k|    if (_status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (70:9): [True: 0, False: 2.86k]
  |  |  ------------------
  |  |   71|  2.86k|      return _status;							      \
  |  |   72|  2.86k|  }
  ------------------
 1816|       |
 1817|   135k|  while (tre_stack_num_objects(stack)) {
  ------------------
  |  Branch (1817:10): [True: 132k, False: 2.86k]
  ------------------
 1818|   132k|    node = (tre_ast_node_t*) tre_stack_pop_voidptr(stack);
 1819|       |
 1820|   132k|    switch (node->type)
  ------------------
  |  Branch (1820:13): [True: 132k, False: 0]
  ------------------
 1821|   132k|      {
 1822|  67.6k|      case LITERAL:
  ------------------
  |  Branch (1822:7): [True: 67.6k, False: 65.2k]
  ------------------
 1823|  67.6k|	break;
 1824|       |
 1825|  52.3k|      case UNION:
  ------------------
  |  Branch (1825:7): [True: 52.3k, False: 80.5k]
  ------------------
 1826|  52.3k|	uni = (tre_union_t *)node->obj;
 1827|  52.3k|	STACK_PUSHR(stack, voidptr, uni->right);
  ------------------
  |  |   67|  52.3k|  {									      \
  |  |   68|  52.3k|    reg_errcode_t _status;						      \
  |  |   69|  52.3k|    _status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   70|  52.3k|    if (_status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (70:9): [True: 0, False: 52.3k]
  |  |  ------------------
  |  |   71|  52.3k|      return _status;							      \
  |  |   72|  52.3k|  }
  ------------------
 1828|  52.3k|	STACK_PUSHR(stack, voidptr, uni->left);
  ------------------
  |  |   67|  52.3k|  {									      \
  |  |   68|  52.3k|    reg_errcode_t _status;						      \
  |  |   69|  52.3k|    _status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   70|  52.3k|    if (_status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (70:9): [True: 0, False: 52.3k]
  |  |  ------------------
  |  |   71|  52.3k|      return _status;							      \
  |  |   72|  52.3k|  }
  ------------------
 1829|  52.3k|	break;
 1830|       |
 1831|  12.4k|      case CATENATION:
  ------------------
  |  Branch (1831:7): [True: 12.4k, False: 120k]
  ------------------
 1832|  12.4k|	cat = (tre_catenation_t *)node->obj;
 1833|       |	/* Add a transition from each position in cat->left->lastpos
 1834|       |	   to each position in cat->right->firstpos. */
 1835|  12.4k|	errcode = tre_make_trans(cat->left->lastpos, cat->right->firstpos,
 1836|  12.4k|				 transitions, counts, offs);
 1837|  12.4k|	if (errcode != REG_OK)
  ------------------
  |  Branch (1837:6): [True: 0, False: 12.4k]
  ------------------
 1838|      0|	  return errcode;
 1839|       |	
 1840|  12.4k|	STACK_PUSHR(stack, voidptr, cat->right);
  ------------------
  |  |   67|  12.4k|  {									      \
  |  |   68|  12.4k|    reg_errcode_t _status;						      \
  |  |   69|  12.4k|    _status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   70|  12.4k|    if (_status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (70:9): [True: 0, False: 12.4k]
  |  |  ------------------
  |  |   71|  12.4k|      return _status;							      \
  |  |   72|  12.4k|  }
  ------------------
 1841|  12.4k|	STACK_PUSHR(stack, voidptr, cat->left);
  ------------------
  |  |   67|  12.4k|  {									      \
  |  |   68|  12.4k|    reg_errcode_t _status;						      \
  |  |   69|  12.4k|    _status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   70|  12.4k|    if (_status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (70:9): [True: 0, False: 12.4k]
  |  |  ------------------
  |  |   71|  12.4k|      return _status;							      \
  |  |   72|  12.4k|  }
  ------------------
 1842|  12.4k|	break;
 1843|       |
 1844|    416|      case ITERATION:
  ------------------
  |  Branch (1844:7): [True: 416, False: 132k]
  ------------------
 1845|    416|	iter = (tre_iteration_t *)node->obj;
 1846|       |	// assert(iter->max == -1 || iter->max == 1);
 1847|    416|	if(!(iter->max == -1 || iter->max == 1)) return REG_BADBR;
  ------------------
  |  Branch (1847:7): [True: 416, False: 0]
  |  Branch (1847:26): [True: 0, False: 0]
  ------------------
 1848|       |
 1849|    416|	if (iter->max == -1)
  ------------------
  |  Branch (1849:6): [True: 416, False: 0]
  ------------------
 1850|    416|	  {
 1851|       |	    // assert(iter->min == 0 || iter->min == 1);
 1852|    416|	    if(!(iter->min == 0 || iter->min == 1)) return REG_BADBR;
  ------------------
  |  Branch (1852:11): [True: 180, False: 236]
  |  Branch (1852:29): [True: 236, False: 0]
  ------------------
 1853|       |	    /* Add a transition from each last position in the iterated
 1854|       |	       expression to each first position. */
 1855|    416|	    errcode = tre_make_trans(iter->arg->lastpos, iter->arg->firstpos,
 1856|    416|				     transitions, counts, offs);
 1857|    416|	    if (errcode != REG_OK)
  ------------------
  |  Branch (1857:10): [True: 0, False: 416]
  ------------------
 1858|      0|	      return errcode;	  
 1859|    416|	  }
 1860|    416|	STACK_PUSHR(stack, voidptr, iter->arg);
  ------------------
  |  |   67|    416|  {									      \
  |  |   68|    416|    reg_errcode_t _status;						      \
  |  |   69|    416|    _status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   70|    416|    if (_status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (70:9): [True: 0, False: 416]
  |  |  ------------------
  |  |   71|    416|      return _status;							      \
  |  |   72|    416|  }
  ------------------
 1861|    416|	break;
 1862|   132k|      }
 1863|   132k|  }
 1864|  2.86k|  return REG_OK;
 1865|  2.86k|}
tre-compile.c:tre_make_trans:
 1589|  12.8k|{
 1590|  12.8k|  tre_pos_and_tags_t *orig_p2 = p2;
 1591|  12.8k|  tre_tnfa_transition_t *trans;
 1592|  12.8k|  int i, j, k, l, dup, prev_p2_pos;
 1593|       |
 1594|  12.8k|  if (transitions != NULL)
  ------------------
  |  Branch (1594:7): [True: 6.44k, False: 6.44k]
  ------------------
 1595|  62.3k|    while (p1->position >= 0)
  ------------------
  |  Branch (1595:12): [True: 55.8k, False: 6.44k]
  ------------------
 1596|  55.8k|      {
 1597|  55.8k|	p2 = orig_p2;
 1598|  55.8k|	prev_p2_pos = -1;
 1599|  84.4k|	while (p2->position >= 0)
  ------------------
  |  Branch (1599:9): [True: 28.5k, False: 55.8k]
  ------------------
 1600|  28.5k|	  {
 1601|       |	    /* Optimization: if this position was already handled, skip it. */
 1602|  28.5k|	    if (p2->position == prev_p2_pos)
  ------------------
  |  Branch (1602:10): [True: 136, False: 28.4k]
  ------------------
 1603|    136|	      {
 1604|    136|		p2++;
 1605|    136|		continue;
 1606|    136|	      }
 1607|  28.4k|	    prev_p2_pos = p2->position;
 1608|       |	    /* Set `trans' to point to the next unused transition from
 1609|       |	       position `p1->position'. */
 1610|  28.4k|	    trans = transitions + offs[p1->position];
 1611|   315k|	    while (trans->state != NULL)
  ------------------
  |  Branch (1611:13): [True: 286k, False: 28.4k]
  ------------------
 1612|   286k|	      {
 1613|       |#if 0
 1614|       |		/* If we find a previous transition from `p1->position' to
 1615|       |		   `p2->position', it is overwritten.  This can happen only
 1616|       |		   if there are nested loops in the regexp, like in "((a)*)*".
 1617|       |		   In POSIX.2 repetition using the outer loop is always
 1618|       |		   preferred over using the inner loop.	 Therefore the
 1619|       |		   transition for the inner loop is useless and can be thrown
 1620|       |		   away. */
 1621|       |		/* XXX - The same position is used for all nodes in a bracket
 1622|       |		   expression, so this optimization cannot be used (it will
 1623|       |		   break bracket expressions) unless I figure out a way to
 1624|       |		   detect it here. */
 1625|       |		if (trans->state_id == p2->position)
 1626|       |		  {
 1627|       |		    DPRINT(("*"));
 1628|       |		    break;
 1629|       |		  }
 1630|       |#endif
 1631|   286k|		trans++;
 1632|   286k|	      }
 1633|       |
 1634|  28.4k|	    if (trans->state == NULL)
  ------------------
  |  Branch (1634:10): [True: 28.4k, False: 0]
  ------------------
 1635|  28.4k|	      (trans + 1)->state = NULL;
 1636|       |	    /* Use the character ranges, assertions, etc. from `p1' for
 1637|       |	       the transition from `p1' to `p2'. */
 1638|  28.4k|	    trans->code_min = (tre_cint_t) p1->code_min;
 1639|  28.4k|	    trans->code_max = (tre_cint_t) p1->code_max;
 1640|  28.4k|	    trans->state = transitions + offs[p2->position];
 1641|  28.4k|	    trans->state_id = p2->position;
 1642|  28.4k|	    trans->assertions = p1->assertions | p2->assertions
 1643|  28.4k|	      | (p1->class ? ASSERT_CHAR_CLASS : 0)
  ------------------
  |  |  212|      0|#define ASSERT_CHAR_CLASS	  4   /* Character class in `class'. */
  ------------------
  |  Branch (1643:11): [True: 0, False: 28.4k]
  ------------------
 1644|  28.4k|	      | (p1->neg_classes != NULL ? ASSERT_CHAR_CLASS_NEG : 0);
  ------------------
  |  |  213|      0|#define ASSERT_CHAR_CLASS_NEG	  8   /* Character classes in `neg_classes'. */
  ------------------
  |  Branch (1644:11): [True: 0, False: 28.4k]
  ------------------
 1645|  28.4k|	    if (p1->backref >= 0)
  ------------------
  |  Branch (1645:10): [True: 0, False: 28.4k]
  ------------------
 1646|      0|	      {
 1647|      0|		assert((trans->assertions & ASSERT_CHAR_CLASS) == 0);
  ------------------
  |  |   32|      0|#define assert(a) R_assert(a)
  |  |  ------------------
  |  |  |  |  230|      0|#define R_assert(e) ((e) ? (void) 0 : Rf_error("assertion '%s' failed in executing regexp: file '%s', line %d\n", #e, __FILE__, __LINE__))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (230:22): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1648|      0|		assert(p2->backref < 0);
  ------------------
  |  |   32|      0|#define assert(a) R_assert(a)
  |  |  ------------------
  |  |  |  |  230|      0|#define R_assert(e) ((e) ? (void) 0 : Rf_error("assertion '%s' failed in executing regexp: file '%s', line %d\n", #e, __FILE__, __LINE__))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (230:22): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1649|      0|		trans->u.backref = p1->backref;
 1650|      0|		trans->assertions |= ASSERT_BACKREF;
  ------------------
  |  |  218|      0|#define ASSERT_BACKREF		256   /* A back reference in `backref'. */
  ------------------
 1651|      0|	      }
 1652|  28.4k|	    else
 1653|  28.4k|	      trans->u.class = p1->class;
 1654|  28.4k|	    if (p1->neg_classes != NULL)
  ------------------
  |  Branch (1654:10): [True: 0, False: 28.4k]
  ------------------
 1655|      0|	      {
 1656|      0|		for (i = 0; p1->neg_classes[i] != (tre_ctype_t)0; i++);
  ------------------
  |  Branch (1656:15): [True: 0, False: 0]
  ------------------
 1657|      0|		trans->neg_classes =
 1658|      0|		  xmalloc(sizeof(*trans->neg_classes) * (i + 1));
  ------------------
  |  |   67|      0|#define xmalloc(size) malloc(size)
  ------------------
 1659|      0|		if (trans->neg_classes == NULL)
  ------------------
  |  Branch (1659:7): [True: 0, False: 0]
  ------------------
 1660|      0|		  return REG_ESPACE;
 1661|      0|		for (i = 0; p1->neg_classes[i] != (tre_ctype_t)0; i++)
  ------------------
  |  Branch (1661:15): [True: 0, False: 0]
  ------------------
 1662|      0|		  trans->neg_classes[i] = p1->neg_classes[i];
 1663|      0|		trans->neg_classes[i] = (tre_ctype_t)0;
 1664|      0|	      }
 1665|  28.4k|	    else
 1666|  28.4k|	      trans->neg_classes = NULL;
 1667|       |
 1668|       |	    /* Find out how many tags this transition has. */
 1669|  28.4k|	    i = 0;
 1670|  28.4k|	    if (p1->tags != NULL)
  ------------------
  |  Branch (1670:10): [True: 27.5k, False: 942]
  ------------------
 1671|  55.0k|	      while(p1->tags[i] >= 0)
  ------------------
  |  Branch (1671:14): [True: 27.5k, False: 27.5k]
  ------------------
 1672|  27.5k|		i++;
 1673|  28.4k|	    j = 0;
 1674|  28.4k|	    if (p2->tags != NULL)
  ------------------
  |  Branch (1674:10): [True: 274, False: 28.1k]
  ------------------
 1675|    604|	      while(p2->tags[j] >= 0)
  ------------------
  |  Branch (1675:14): [True: 330, False: 274]
  ------------------
 1676|    330|		j++;
 1677|       |
 1678|       |	    /* If we are overwriting a transition, free the old tag array. */
 1679|  28.4k|	    if (trans->tags != NULL)
  ------------------
  |  Branch (1679:10): [True: 0, False: 28.4k]
  ------------------
 1680|      0|	      xfree(trans->tags);
  ------------------
  |  |   69|      0|#define xfree(ptr) free(ptr)
  ------------------
 1681|  28.4k|	    trans->tags = NULL;
 1682|       |
 1683|       |	    /* If there were any tags, allocate an array and fill it. */
 1684|  28.4k|	    if (i + j > 0)
  ------------------
  |  Branch (1684:10): [True: 27.5k, False: 860]
  ------------------
 1685|  27.5k|	      {
 1686|  27.5k|		trans->tags = xmalloc(sizeof(*trans->tags) * (i + j + 1));
  ------------------
  |  |   67|  27.5k|#define xmalloc(size) malloc(size)
  ------------------
 1687|  27.5k|		if (!trans->tags)
  ------------------
  |  Branch (1687:7): [True: 0, False: 27.5k]
  ------------------
 1688|      0|		  return REG_ESPACE;
 1689|  27.5k|		i = 0;
 1690|  27.5k|		if (p1->tags != NULL)
  ------------------
  |  Branch (1690:7): [True: 27.4k, False: 136]
  ------------------
 1691|  54.9k|		  while(p1->tags[i] >= 0)
  ------------------
  |  Branch (1691:11): [True: 27.5k, False: 27.4k]
  ------------------
 1692|  27.5k|		    {
 1693|  27.5k|		      trans->tags[i] = p1->tags[i];
 1694|  27.5k|		      i++;
 1695|  27.5k|		    }
 1696|  27.5k|		l = i;
 1697|  27.5k|		j = 0;
 1698|  27.5k|		if (p2->tags != NULL)
  ------------------
  |  Branch (1698:7): [True: 274, False: 27.3k]
  ------------------
 1699|    604|		  while (p2->tags[j] >= 0)
  ------------------
  |  Branch (1699:12): [True: 330, False: 274]
  ------------------
 1700|    330|		    {
 1701|       |		      /* Don't add duplicates. */
 1702|    330|		      dup = 0;
 1703|    580|		      for (k = 0; k < i; k++)
  ------------------
  |  Branch (1703:21): [True: 250, False: 330]
  ------------------
 1704|    250|			if (trans->tags[k] == p2->tags[j])
  ------------------
  |  Branch (1704:8): [True: 0, False: 250]
  ------------------
 1705|      0|			  {
 1706|      0|			    dup = 1;
 1707|      0|			    break;
 1708|      0|			  }
 1709|    330|		      if (!dup)
  ------------------
  |  Branch (1709:13): [True: 330, False: 0]
  ------------------
 1710|    330|			trans->tags[l++] = p2->tags[j];
 1711|    330|		      j++;
 1712|    330|		    }
 1713|  27.5k|		trans->tags[l] = -1;
 1714|  27.5k|	      }
 1715|       |
 1716|       |	    /* Set the parameter array.	 If both `p2' and `p1' have same
 1717|       |	       parameters, the values in `p2' override those in `p1'. */
 1718|  28.4k|	    if (p1->params || p2->params)
  ------------------
  |  Branch (1718:10): [True: 0, False: 28.4k]
  |  Branch (1718:24): [True: 0, False: 28.4k]
  ------------------
 1719|      0|	      {
 1720|      0|		if (!trans->params)
  ------------------
  |  Branch (1720:7): [True: 0, False: 0]
  ------------------
 1721|      0|		  trans->params = xmalloc(sizeof(*trans->params)
  ------------------
  |  |   67|      0|#define xmalloc(size) malloc(size)
  ------------------
 1722|      0|					  * TRE_PARAM_LAST);
 1723|      0|		if (!trans->params)
  ------------------
  |  Branch (1723:7): [True: 0, False: 0]
  ------------------
 1724|      0|		  return REG_ESPACE;
 1725|      0|		for (i = 0; i < TRE_PARAM_LAST; i++)
  ------------------
  |  Branch (1725:15): [True: 0, False: 0]
  ------------------
 1726|      0|		  {
 1727|      0|		    trans->params[i] = TRE_PARAM_UNSET;
  ------------------
  |  |  254|      0|#define TRE_PARAM_UNSET -1
  ------------------
 1728|      0|		    if (p1->params && p1->params[i] != TRE_PARAM_UNSET)
  ------------------
  |  |  254|      0|#define TRE_PARAM_UNSET -1
  ------------------
  |  Branch (1728:11): [True: 0, False: 0]
  |  Branch (1728:25): [True: 0, False: 0]
  ------------------
 1729|      0|		      trans->params[i] = p1->params[i];
 1730|      0|		    if (p2->params && p2->params[i] != TRE_PARAM_UNSET)
  ------------------
  |  |  254|      0|#define TRE_PARAM_UNSET -1
  ------------------
  |  Branch (1730:11): [True: 0, False: 0]
  |  Branch (1730:25): [True: 0, False: 0]
  ------------------
 1731|      0|		      trans->params[i] = p2->params[i];
 1732|      0|		  }
 1733|      0|	      }
 1734|  28.4k|	    else
 1735|  28.4k|	      {
 1736|  28.4k|		if (trans->params)
  ------------------
  |  Branch (1736:7): [True: 0, False: 28.4k]
  ------------------
 1737|      0|		  xfree(trans->params);
  ------------------
  |  |   69|      0|#define xfree(ptr) free(ptr)
  ------------------
 1738|  28.4k|		trans->params = NULL;
 1739|  28.4k|	      }
 1740|       |
 1741|       |
 1742|       |#ifdef TRE_DEBUG
 1743|       |	    {
 1744|       |	      int *tags;
 1745|       |
 1746|       |	      DPRINT(("	 %2d -> %2d on %3d", p1->position, p2->position,
 1747|       |		      p1->code_min));
 1748|       |	      if (p1->code_max != p1->code_min)
 1749|       |		DPRINT(("-%3d", p1->code_max));
 1750|       |	      tags = trans->tags;
 1751|       |	      if (tags)
 1752|       |		{
 1753|       |		  DPRINT((", tags ["));
 1754|       |		  while (*tags >= 0)
 1755|       |		    {
 1756|       |		      DPRINT(("%d", *tags));
 1757|       |		      tags++;
 1758|       |		      if (*tags >= 0)
 1759|       |			DPRINT((","));
 1760|       |		    }
 1761|       |		  DPRINT(("]"));
 1762|       |		}
 1763|       |	      if (trans->assertions)
 1764|       |		DPRINT((", assert %d", trans->assertions));
 1765|       |	      if (trans->assertions & ASSERT_BACKREF)
 1766|       |		DPRINT((", backref %d", trans->u.backref));
 1767|       |	      else if (trans->u.class)
 1768|       |		DPRINT((", class %ld", (long)trans->u.class));
 1769|       |	      if (trans->neg_classes)
 1770|       |		DPRINT((", neg_classes %p", trans->neg_classes));
 1771|       |	      if (trans->params)
 1772|       |		{
 1773|       |		  DPRINT((", "));
 1774|       |		  tre_print_params(trans->params);
 1775|       |		}
 1776|       |	      DPRINT(("\n"));
 1777|       |	    }
 1778|       |#endif /* TRE_DEBUG */
 1779|  28.4k|	    p2++;
 1780|  28.4k|	  }
 1781|  55.8k|	p1++;
 1782|  55.8k|      }
 1783|  6.44k|  else
 1784|       |    /* Compute a maximum limit for the number of transitions leaving
 1785|       |       from each state. */
 1786|  62.3k|    while (p1->position >= 0)
  ------------------
  |  Branch (1786:12): [True: 55.8k, False: 6.44k]
  ------------------
 1787|  55.8k|      {
 1788|  55.8k|	p2 = orig_p2;
 1789|  84.4k|	while (p2->position >= 0)
  ------------------
  |  Branch (1789:9): [True: 28.5k, False: 55.8k]
  ------------------
 1790|  28.5k|	  {
 1791|  28.5k|	    counts[p1->position]++;
 1792|  28.5k|	    p2++;
 1793|  28.5k|	  }
 1794|  55.8k|	p1++;
 1795|  55.8k|      }
 1796|  12.8k|  return REG_OK;
 1797|  12.8k|}

tre_tnfa_run_parallel:
  111|   153k|{
  112|       |  /* State variables required by GET_NEXT_WCHAR. */
  113|   153k|  tre_char_t prev_c = 0, next_c = 0;
  114|   153k|  const char *str_byte = string;
  115|   153k|  int pos = -1;
  116|   153k|  unsigned int pos_add_next = 1;
  117|   153k|#ifdef TRE_WCHAR
  118|   153k|  const wchar_t *str_wide = string;
  119|   153k|#ifdef TRE_MBSTATE
  120|   153k|  mbstate_t mbstate;
  121|   153k|#endif /* TRE_MBSTATE */
  122|   153k|#endif /* TRE_WCHAR */
  123|   153k|  int reg_notbol = eflags & REG_NOTBOL;
  ------------------
  |  |  112|   153k|#define REG_NOTBOL 1
  ------------------
  124|   153k|  int reg_noteol = eflags & REG_NOTEOL;
  ------------------
  |  |  113|   153k|#define REG_NOTEOL (REG_NOTBOL << 1)
  |  |  ------------------
  |  |  |  |  112|   153k|#define REG_NOTBOL 1
  |  |  ------------------
  ------------------
  125|   153k|  int reg_newline = tnfa->cflags & REG_NEWLINE;
  ------------------
  |  |  100|   153k|#define REG_NEWLINE	(REG_ICASE << 1)
  |  |  ------------------
  |  |  |  |   99|   153k|#define REG_ICASE	(REG_EXTENDED << 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|   153k|#define REG_EXTENDED	1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  126|   153k|  int str_user_end = 0;
  127|       |
  128|   153k|  char *buf;
  129|   153k|  tre_tnfa_transition_t *trans_i;
  130|   153k|  tre_tnfa_reach_t *reach, *reach_next, *reach_i, *reach_next_i;
  131|   153k|  tre_reach_pos_t *reach_pos;
  132|   153k|  int *tag_i;
  133|   153k|  int num_tags, i;
  134|       |
  135|   153k|  int match_eo = -1;	   /* end offset of match (-1 if no match found yet) */
  136|   153k|  int new_match = 0;
  137|   153k|  int *tmp_tags = NULL;
  138|   153k|  int *tmp_iptr;
  139|       |
  140|   153k|#ifdef TRE_MBSTATE
  141|   153k|  memset(&mbstate, '\0', sizeof(mbstate));
  142|   153k|#endif /* TRE_MBSTATE */
  143|       |
  144|   153k|  DPRINT(("tre_tnfa_run_parallel, input type %d\n", type));
  ------------------
  |  |   27|   153k|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 153k]
  |  |  ------------------
  ------------------
  145|       |
  146|   153k|  if (!match_tags)
  ------------------
  |  Branch (146:7): [True: 4.57k, False: 149k]
  ------------------
  147|  4.57k|    num_tags = 0;
  148|   149k|  else
  149|   149k|    num_tags = tnfa->num_tags;
  150|       |
  151|       |  /* Allocate memory for temporary data required for matching.	This needs to
  152|       |     be done for every matching operation to be thread safe.  This allocates
  153|       |     everything in a single large block from the stack frame using alloca()
  154|       |     or with malloc() if alloca is unavailable. */
  155|   153k|  {
  156|   153k|    int tbytes, rbytes, pbytes, xbytes, total_bytes;
  157|   153k|    char *tmp_buf;
  158|       |    /* Compute the length of the block we need. */
  159|   153k|    tbytes = sizeof(*tmp_tags) * num_tags;
  160|   153k|    rbytes = sizeof(*reach_next) * (tnfa->num_states + 1);
  161|   153k|    pbytes = sizeof(*reach_pos) * tnfa->num_states;
  162|   153k|    xbytes = sizeof(int) * num_tags;
  163|   153k|    total_bytes =
  164|   153k|      (sizeof(long) - 1) * 4 /* for alignment paddings */
  165|   153k|      + (rbytes + xbytes * tnfa->num_states) * 2 + tbytes + pbytes;
  166|       |
  167|       |    /* Allocate the memory. */
  168|       |#ifdef TRE_USE_ALLOCA
  169|       |    buf = alloca(total_bytes);
  170|       |#else /* !TRE_USE_ALLOCA */
  171|   153k|    buf = xmalloc((unsigned)total_bytes);
  ------------------
  |  |   67|   153k|#define xmalloc(size) malloc(size)
  ------------------
  172|   153k|#endif /* !TRE_USE_ALLOCA */
  173|   153k|    if (buf == NULL)
  ------------------
  |  Branch (173:9): [True: 0, False: 153k]
  ------------------
  174|      0|      return REG_ESPACE;
  175|   153k|    memset(buf, 0, (size_t)total_bytes);
  176|       |
  177|       |    /* Get the various pointers within tmp_buf (properly aligned). */
  178|   153k|    tmp_tags = (void *)buf;
  179|   153k|    tmp_buf = buf + tbytes;
  180|   153k|    tmp_buf += ALIGN(tmp_buf, anytype);
  ------------------
  |  |  154|   153k|  ((((size_t)ptr) % sizeof(type)) \
  |  |  ------------------
  |  |  |  Branch (154:4): [True: 149k, False: 4.61k]
  |  |  ------------------
  |  |  155|   153k|   ? (sizeof(type) - (((size_t)ptr) % sizeof(type))) \
  |  |  156|   153k|   : 0)
  ------------------
  181|   153k|    reach_next = (void *)tmp_buf;
  182|   153k|    tmp_buf += rbytes;
  183|   153k|    tmp_buf += ALIGN(tmp_buf, anytype);
  ------------------
  |  |  154|   153k|  ((((size_t)ptr) % sizeof(type)) \
  |  |  ------------------
  |  |  |  Branch (154:4): [True: 0, False: 153k]
  |  |  ------------------
  |  |  155|   153k|   ? (sizeof(type) - (((size_t)ptr) % sizeof(type))) \
  |  |  156|   153k|   : 0)
  ------------------
  184|   153k|    reach = (void *)tmp_buf;
  185|   153k|    tmp_buf += rbytes;
  186|   153k|    tmp_buf += ALIGN(tmp_buf, anytype);
  ------------------
  |  |  154|   153k|  ((((size_t)ptr) % sizeof(type)) \
  |  |  ------------------
  |  |  |  Branch (154:4): [True: 0, False: 153k]
  |  |  ------------------
  |  |  155|   153k|   ? (sizeof(type) - (((size_t)ptr) % sizeof(type))) \
  |  |  156|   153k|   : 0)
  ------------------
  187|   153k|    reach_pos = (void *)tmp_buf;
  188|   153k|    tmp_buf += pbytes;
  189|   153k|    tmp_buf += ALIGN(tmp_buf, anytype);
  ------------------
  |  |  154|   153k|  ((((size_t)ptr) % sizeof(type)) \
  |  |  ------------------
  |  |  |  Branch (154:4): [True: 0, False: 153k]
  |  |  ------------------
  |  |  155|   153k|   ? (sizeof(type) - (((size_t)ptr) % sizeof(type))) \
  |  |  156|   153k|   : 0)
  ------------------
  190|   484k|    for (i = 0; i < tnfa->num_states; i++)
  ------------------
  |  Branch (190:17): [True: 330k, False: 153k]
  ------------------
  191|   330k|      {
  192|   330k|	reach[i].tags = (void *)tmp_buf;
  193|   330k|	tmp_buf += xbytes;
  194|   330k|	reach_next[i].tags = (void *)tmp_buf;
  195|   330k|	tmp_buf += xbytes;
  196|   330k|      }
  197|   153k|  }
  198|       |
  199|   484k|  for (i = 0; i < tnfa->num_states; i++)
  ------------------
  |  Branch (199:15): [True: 330k, False: 153k]
  ------------------
  200|   330k|    reach_pos[i].pos = -1;
  201|       |
  202|       |  /* If only one character can start a match, find it first. */
  203|   153k|  if (tnfa->first_char >= 0 && type == STR_BYTE && str_byte)
  ------------------
  |  Branch (203:7): [True: 4.56k, False: 149k]
  |  Branch (203:32): [True: 4.56k, False: 0]
  |  Branch (203:52): [True: 4.56k, False: 0]
  ------------------
  204|  4.56k|    {
  205|  4.56k|      const char *orig_str = str_byte;
  206|  4.56k|      int first = tnfa->first_char;
  207|       |
  208|  4.56k|      if (len >= 0)
  ------------------
  |  Branch (208:11): [True: 0, False: 4.56k]
  ------------------
  209|      0|	str_byte = memchr(orig_str, first, (size_t)len);
  210|  4.56k|      else
  211|  4.56k|	str_byte = strchr(orig_str, first);
  212|  4.56k|      if (str_byte == NULL)
  ------------------
  |  Branch (212:11): [True: 1.66k, False: 2.90k]
  ------------------
  213|  1.66k|	{
  214|  1.66k|#ifndef TRE_USE_ALLOCA
  215|  1.66k|	  if (buf)
  ------------------
  |  Branch (215:8): [True: 1.66k, False: 0]
  ------------------
  216|  1.66k|	    xfree(buf);
  ------------------
  |  |   69|  1.66k|#define xfree(ptr) free(ptr)
  ------------------
  217|  1.66k|#endif /* !TRE_USE_ALLOCA */
  218|  1.66k|	  return REG_NOMATCH;
  219|  1.66k|	}
  220|  2.90k|      DPRINT(("skipped %lu chars\n", (unsigned long)(str_byte - orig_str)));
  ------------------
  |  |   27|  2.90k|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 2.90k]
  |  |  ------------------
  ------------------
  221|  2.90k|      if (str_byte >= orig_str + 1)
  ------------------
  |  Branch (221:11): [True: 28, False: 2.88k]
  ------------------
  222|     28|	prev_c = (unsigned char)*(str_byte - 1);
  223|  2.90k|      next_c = (unsigned char)*str_byte;
  224|  2.90k|      pos = (int)(str_byte - orig_str);
  225|  2.90k|      if (len < 0 || pos < len)
  ------------------
  |  Branch (225:11): [True: 2.90k, False: 0]
  |  Branch (225:22): [True: 0, False: 0]
  ------------------
  226|  2.90k|	str_byte++;
  227|  2.90k|    }
  228|   149k|  else
  229|   149k|    {
  230|   149k|      GET_NEXT_WCHAR();
  ------------------
  |  |   18|   149k|  do {									      \
  |  |   19|   149k|    prev_c = next_c;							      \
  |  |   20|   149k|    if (type == STR_BYTE)						      \
  |  |  ------------------
  |  |  |  Branch (20:9): [True: 149k, False: 0]
  |  |  ------------------
  |  |   21|   149k|      {									      \
  |  |   22|   149k|	pos++;								      \
  |  |   23|   149k|	if (len >= 0 && pos >= len)					      \
  |  |  ------------------
  |  |  |  Branch (23:6): [True: 0, False: 149k]
  |  |  |  Branch (23:18): [True: 0, False: 0]
  |  |  ------------------
  |  |   24|   149k|	  next_c = '\0';						      \
  |  |   25|   149k|	else								      \
  |  |   26|   149k|	  next_c = (unsigned char)(*str_byte++);			      \
  |  |   27|   149k|      }									      \
  |  |   28|   149k|    else if (type == STR_WIDE)						      \
  |  |  ------------------
  |  |  |  Branch (28:14): [True: 0, False: 0]
  |  |  ------------------
  |  |   29|      0|      {									      \
  |  |   30|      0|	pos++;								      \
  |  |   31|      0|	if (len >= 0 && pos >= len)					      \
  |  |  ------------------
  |  |  |  Branch (31:6): [True: 0, False: 0]
  |  |  |  Branch (31:18): [True: 0, False: 0]
  |  |  ------------------
  |  |   32|      0|	  next_c = L'\0';						      \
  |  |   33|      0|	else								      \
  |  |   34|      0|	  next_c = *str_wide++;						      \
  |  |   35|      0|      }									      \
  |  |   36|      0|    else if (type == STR_MBS)						      \
  |  |  ------------------
  |  |  |  Branch (36:14): [True: 0, False: 0]
  |  |  ------------------
  |  |   37|      0|      {									      \
  |  |   38|      0|        pos += pos_add_next;					      	      \
  |  |   39|      0|	if (str_byte == NULL)						      \
  |  |  ------------------
  |  |  |  Branch (39:6): [True: 0, False: 0]
  |  |  ------------------
  |  |   40|      0|	  next_c = L'\0';						      \
  |  |   41|      0|	else								      \
  |  |   42|      0|	  {								      \
  |  |   43|      0|	    size_t w;							      \
  |  |   44|      0|	    int max;							      \
  |  |   45|      0|	    if (len >= 0)						      \
  |  |  ------------------
  |  |  |  Branch (45:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   46|      0|	      max = len - pos;						      \
  |  |   47|      0|	    else							      \
  |  |   48|      0|	      max = 32;							      \
  |  |   49|      0|	    if (max <= 0)						      \
  |  |  ------------------
  |  |  |  Branch (49:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   50|      0|	      {								      \
  |  |   51|      0|		next_c = L'\0';						      \
  |  |   52|      0|		pos_add_next = 1;					      \
  |  |   53|      0|	      }								      \
  |  |   54|      0|	    else							      \
  |  |   55|      0|	      {								      \
  |  |   56|      0|		w = tre_mbrtowc(&next_c, str_byte, (size_t)max, &mbstate);    \
  |  |  ------------------
  |  |  |  |   33|      0|#define tre_mbrtowc(pwc, s, n, ps) (mbrtowc((pwc), (s), (n), (ps)))
  |  |  ------------------
  |  |   57|      0|		if (w == (size_t)-1 || w == (size_t)-2)			      \
  |  |  ------------------
  |  |  |  Branch (57:7): [True: 0, False: 0]
  |  |  |  Branch (57:26): [True: 0, False: 0]
  |  |  ------------------
  |  |   58|      0|		  return REG_NOMATCH;					      \
  |  |   59|      0|		if (w == 0 && len >= 0)					      \
  |  |  ------------------
  |  |  |  Branch (59:7): [True: 0, False: 0]
  |  |  |  Branch (59:17): [True: 0, False: 0]
  |  |  ------------------
  |  |   60|      0|		  {							      \
  |  |   61|      0|		    pos_add_next = 1;					      \
  |  |   62|      0|		    next_c = 0;						      \
  |  |   63|      0|		    str_byte++;						      \
  |  |   64|      0|		  }							      \
  |  |   65|      0|		else							      \
  |  |   66|      0|		  {							      \
  |  |   67|      0|		    pos_add_next = (unsigned int)w;					      \
  |  |   68|      0|		    str_byte += w;					      \
  |  |   69|      0|		  }							      \
  |  |   70|      0|	      }								      \
  |  |   71|      0|	  }								      \
  |  |   72|      0|      }									      \
  |  |   73|      0|    else if (type == STR_USER)						      \
  |  |  ------------------
  |  |  |  Branch (73:14): [True: 0, False: 0]
  |  |  ------------------
  |  |   74|      0|      {									      \
  |  |   75|      0|        pos += pos_add_next;					      	      \
  |  |   76|      0|	str_user_end = str_source->get_next_char(&next_c, &pos_add_next,      \
  |  |  ------------------
  |  |  |  |    9|      0|#define str_source ((const tre_str_source*)string)
  |  |  ------------------
  |  |   77|      0|                                                 str_source->context);	      \
  |  |  ------------------
  |  |  |  |    9|      0|#define str_source ((const tre_str_source*)string)
  |  |  ------------------
  |  |   78|      0|      }									      \
  |  |   79|   149k|  } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (79:24): [Folded, False: 149k]
  |  |  ------------------
  ------------------
  231|   149k|      pos = 0;
  232|   149k|    }
  233|       |
  234|       |#if 0
  235|       |  /* Skip over characters that cannot possibly be the first character
  236|       |     of a match. */
  237|       |  if (tnfa->firstpos_chars != NULL)
  238|       |    {
  239|       |      char *chars = tnfa->firstpos_chars;
  240|       |
  241|       |      if (len < 0)
  242|       |	{
  243|       |	  const char *orig_str = str_byte;
  244|       |	  /* XXX - use strpbrk() and wcspbrk() because they might be
  245|       |	     optimized for the target architecture.  Try also strcspn()
  246|       |	     and wcscspn() and compare the speeds. */
  247|       |	  while (next_c != L'\0' && !chars[next_c])
  248|       |	    {
  249|       |	      next_c = *str_byte++;
  250|       |	    }
  251|       |	  prev_c = *(str_byte - 2);
  252|       |	  pos += str_byte - orig_str;
  253|       |	  DPRINT(("skipped %d chars\n", str_byte - orig_str));
  254|       |	}
  255|       |      else
  256|       |	{
  257|       |	  while (pos <= len && !chars[next_c])
  258|       |	    {
  259|       |	      prev_c = next_c;
  260|       |	      next_c = (unsigned char)(*str_byte++);
  261|       |	      pos++;
  262|       |	    }
  263|       |	}
  264|       |    }
  265|       |#endif
  266|       |
  267|   152k|  DPRINT(("length: %d\n", len));
  ------------------
  |  |   27|   152k|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 152k]
  |  |  ------------------
  ------------------
  268|   152k|  DPRINT(("pos:chr/code | states and tags\n"));
  ------------------
  |  |   27|   152k|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 152k]
  |  |  ------------------
  ------------------
  269|   152k|  DPRINT(("-------------+------------------------------------------------\n"));
  ------------------
  |  |   27|   152k|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 152k]
  |  |  ------------------
  ------------------
  270|       |
  271|   152k|  reach_next_i = reach_next;
  272|  1.12M|  while (/*CONSTCOND*/(void)1,1)
  ------------------
  |  Branch (272:23): [True: 1.12M, Folded]
  ------------------
  273|  1.12M|    {
  274|       |      /* If no match found yet, add the initial states to `reach_next'. */
  275|  1.12M|      if (match_eo < 0)
  ------------------
  |  Branch (275:11): [True: 903k, False: 217k]
  ------------------
  276|   903k|	{
  277|   903k|	  DPRINT((" init >"));
  ------------------
  |  |   27|   903k|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 903k]
  |  |  ------------------
  ------------------
  278|   903k|	  trans_i = tnfa->initial;
  279|  19.7M|	  while (trans_i->state != NULL)
  ------------------
  |  Branch (279:11): [True: 18.8M, False: 903k]
  ------------------
  280|  18.8M|	    {
  281|  18.8M|	      if (reach_pos[trans_i->state_id].pos < pos)
  ------------------
  |  Branch (281:12): [True: 903k, False: 17.9M]
  ------------------
  282|   903k|		{
  283|   903k|		  if (trans_i->assertions
  ------------------
  |  Branch (283:9): [True: 46.9k, False: 856k]
  ------------------
  284|  46.9k|		      && CHECK_ASSERTIONS(trans_i->assertions))
  ------------------
  |  |  144|  46.9k|  (((assertions & ASSERT_AT_BOL)					      \
  |  |  ------------------
  |  |  |  |  210|  46.9k|#define ASSERT_AT_BOL		  1   /* Beginning of line. */
  |  |  ------------------
  |  |  |  Branch (144:5): [True: 46.9k, False: 0]
  |  |  ------------------
  |  |  145|  46.9k|    && (pos > 0 || reg_notbol)						      \
  |  |  ------------------
  |  |  |  Branch (145:9): [True: 43.9k, False: 3.00k]
  |  |  |  Branch (145:20): [True: 0, False: 3.00k]
  |  |  ------------------
  |  |  146|  46.9k|    && (prev_c != L'\n' || !reg_newline))				      \
  |  |  ------------------
  |  |  |  Branch (146:9): [True: 43.9k, False: 0]
  |  |  |  Branch (146:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  147|  46.9k|   || ((assertions & ASSERT_AT_EOL)					      \
  |  |  ------------------
  |  |  |  |  211|  3.00k|#define ASSERT_AT_EOL		  2   /* End of line. */
  |  |  ------------------
  |  |  |  Branch (147:8): [True: 0, False: 3.00k]
  |  |  ------------------
  |  |  148|  3.00k|       && (next_c != L'\0' || reg_noteol)				      \
  |  |  ------------------
  |  |  |  Branch (148:12): [True: 0, False: 0]
  |  |  |  Branch (148:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  149|  3.00k|       && (next_c != L'\n' || !reg_newline))				      \
  |  |  ------------------
  |  |  |  Branch (149:12): [True: 0, False: 0]
  |  |  |  Branch (149:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  150|  46.9k|   || ((assertions & ASSERT_AT_BOW)					      \
  |  |  ------------------
  |  |  |  |  214|  3.00k|#define ASSERT_AT_BOW		 16   /* Beginning of word. */
  |  |  ------------------
  |  |  |  Branch (150:8): [True: 0, False: 3.00k]
  |  |  ------------------
  |  |  151|  3.00k|       && (IS_WORD_CHAR(prev_c) || !IS_WORD_CHAR(next_c)))	              \
  |  |  ------------------
  |  |  |  |  141|      0|#define IS_WORD_CHAR(c)	 ((c) == L'_' || tre_isalnum(c))
  |  |  |  |  ------------------
  |  |  |  |  |  |   75|      0|#define tre_isalnum iswalnum
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (141:27): [True: 0, False: 0]
  |  |  |  |  |  Branch (141:42): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                      && (IS_WORD_CHAR(prev_c) || !IS_WORD_CHAR(next_c)))	              \
  |  |  ------------------
  |  |  |  |  141|      0|#define IS_WORD_CHAR(c)	 ((c) == L'_' || tre_isalnum(c))
  |  |  |  |  ------------------
  |  |  |  |  |  |   75|      0|#define tre_isalnum iswalnum
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (141:27): [True: 0, False: 0]
  |  |  |  |  |  Branch (141:42): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  152|  46.9k|   || ((assertions & ASSERT_AT_EOW)					      \
  |  |  ------------------
  |  |  |  |  215|  3.00k|#define ASSERT_AT_EOW		 32   /* End of word. */
  |  |  ------------------
  |  |  |  Branch (152:8): [True: 0, False: 3.00k]
  |  |  ------------------
  |  |  153|  3.00k|       && (!IS_WORD_CHAR(prev_c) || IS_WORD_CHAR(next_c)))		      \
  |  |  ------------------
  |  |  |  |  141|      0|#define IS_WORD_CHAR(c)	 ((c) == L'_' || tre_isalnum(c))
  |  |  |  |  ------------------
  |  |  |  |  |  |   75|      0|#define tre_isalnum iswalnum
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (141:27): [True: 0, False: 0]
  |  |  |  |  |  Branch (141:42): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                      && (!IS_WORD_CHAR(prev_c) || IS_WORD_CHAR(next_c)))		      \
  |  |  ------------------
  |  |  |  |  141|      0|#define IS_WORD_CHAR(c)	 ((c) == L'_' || tre_isalnum(c))
  |  |  |  |  ------------------
  |  |  |  |  |  |   75|      0|#define tre_isalnum iswalnum
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (141:27): [True: 0, False: 0]
  |  |  |  |  |  Branch (141:42): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  154|  46.9k|   || ((assertions & ASSERT_AT_WB)					      \
  |  |  ------------------
  |  |  |  |  216|  3.00k|#define ASSERT_AT_WB		 64   /* Word boundary. */
  |  |  ------------------
  |  |  |  Branch (154:8): [True: 0, False: 3.00k]
  |  |  ------------------
  |  |  155|  3.00k|       && (pos != 0 && next_c != L'\0'					      \
  |  |  ------------------
  |  |  |  Branch (155:12): [True: 0, False: 0]
  |  |  |  Branch (155:24): [True: 0, False: 0]
  |  |  ------------------
  |  |  156|      0|	   && IS_WORD_CHAR(prev_c) == IS_WORD_CHAR(next_c)))		      \
  |  |  ------------------
  |  |  |  |  141|      0|#define IS_WORD_CHAR(c)	 ((c) == L'_' || tre_isalnum(c))
  |  |  |  |  ------------------
  |  |  |  |  |  |   75|      0|#define tre_isalnum iswalnum
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (141:27): [True: 0, False: 0]
  |  |  |  |  |  Branch (141:42): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               	   && IS_WORD_CHAR(prev_c) == IS_WORD_CHAR(next_c)))		      \
  |  |  ------------------
  |  |  |  |  141|      0|#define IS_WORD_CHAR(c)	 ((c) == L'_' || tre_isalnum(c))
  |  |  |  |  ------------------
  |  |  |  |  |  |   75|      0|#define tre_isalnum iswalnum
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (141:27): [True: 0, False: 0]
  |  |  |  |  |  Branch (141:42): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (156:8): [True: 0, False: 0]
  |  |  ------------------
  |  |  157|  46.9k|   || ((assertions & ASSERT_AT_WB_NEG)					      \
  |  |  ------------------
  |  |  |  |  217|  3.00k|#define ASSERT_AT_WB_NEG	128   /* Not a word boundary. */
  |  |  ------------------
  |  |  |  Branch (157:8): [True: 0, False: 3.00k]
  |  |  ------------------
  |  |  158|  3.00k|       && (pos == 0 || next_c == L'\0'					      \
  |  |  ------------------
  |  |  |  Branch (158:12): [True: 0, False: 0]
  |  |  |  Branch (158:24): [True: 0, False: 0]
  |  |  ------------------
  |  |  159|      0|	   || IS_WORD_CHAR(prev_c) != IS_WORD_CHAR(next_c))))
  |  |  ------------------
  |  |  |  |  141|      0|#define IS_WORD_CHAR(c)	 ((c) == L'_' || tre_isalnum(c))
  |  |  |  |  ------------------
  |  |  |  |  |  |   75|      0|#define tre_isalnum iswalnum
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (141:27): [True: 0, False: 0]
  |  |  |  |  |  Branch (141:42): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               	   || IS_WORD_CHAR(prev_c) != IS_WORD_CHAR(next_c))))
  |  |  ------------------
  |  |  |  |  141|      0|#define IS_WORD_CHAR(c)	 ((c) == L'_' || tre_isalnum(c))
  |  |  |  |  ------------------
  |  |  |  |  |  |   75|      0|#define tre_isalnum iswalnum
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (141:27): [True: 0, False: 0]
  |  |  |  |  |  Branch (141:42): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (159:8): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  285|  43.9k|		    {
  286|  43.9k|		      DPRINT(("assertion failed\n"));
  ------------------
  |  |   27|  43.9k|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 43.9k]
  |  |  ------------------
  ------------------
  287|  43.9k|		      trans_i++;
  288|  43.9k|		      continue;
  289|  43.9k|		    }
  290|       |
  291|   859k|		  DPRINT((" %p", (void *)trans_i->state));
  ------------------
  |  |   27|   859k|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 859k]
  |  |  ------------------
  ------------------
  292|   859k|		  reach_next_i->state = trans_i->state;
  293|  3.43M|		  for (i = 0; i < num_tags; i++)
  ------------------
  |  Branch (293:17): [True: 2.57M, False: 859k]
  ------------------
  294|  2.57M|		    reach_next_i->tags[i] = -1;
  295|   859k|		  tag_i = trans_i->tags;
  296|   859k|		  if (tag_i)
  ------------------
  |  Branch (296:9): [True: 859k, False: 0]
  ------------------
  297|  1.71M|		    while (*tag_i >= 0)
  ------------------
  |  Branch (297:14): [True: 857k, False: 859k]
  ------------------
  298|   857k|		      {
  299|   857k|			if (*tag_i < num_tags)
  ------------------
  |  Branch (299:8): [True: 857k, False: 0]
  ------------------
  300|   857k|			  reach_next_i->tags[*tag_i] = pos;
  301|   857k|			tag_i++;
  302|   857k|		      }
  303|   859k|		  if (reach_next_i->state == tnfa->final)
  ------------------
  |  Branch (303:9): [True: 0, False: 859k]
  ------------------
  304|      0|		    {
  305|      0|		      DPRINT(("	 found empty match\n"));
  ------------------
  |  |   27|      0|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
  306|      0|		      match_eo = pos;
  307|      0|		      new_match = 1;
  308|      0|		      for (i = 0; i < num_tags; i++)
  ------------------
  |  Branch (308:21): [True: 0, False: 0]
  ------------------
  309|      0|			match_tags[i] = reach_next_i->tags[i];
  310|      0|		    }
  311|   859k|		  reach_pos[trans_i->state_id].pos = pos;
  312|   859k|		  reach_pos[trans_i->state_id].tags = &reach_next_i->tags;
  313|   859k|		  reach_next_i++;
  314|   859k|		}
  315|  18.8M|	      trans_i++;
  316|  18.8M|	    }
  317|   903k|	  DPRINT(("\n"));
  ------------------
  |  |   27|   903k|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 903k]
  |  |  ------------------
  ------------------
  318|   903k|	  reach_next_i->state = NULL;
  319|   903k|	}
  320|   217k|      else
  321|   217k|	{
  322|   217k|	  if (num_tags == 0 || reach_next_i == reach_next)
  ------------------
  |  Branch (322:8): [True: 348, False: 217k]
  |  Branch (322:25): [True: 108k, False: 108k]
  ------------------
  323|       |	    /* We have found a match. */
  324|   108k|	    break;
  325|   217k|	}
  326|       |
  327|       |      /* Check for end of string. */
  328|  1.01M|      if (len < 0)
  ------------------
  |  Branch (328:11): [True: 1.01M, False: 0]
  ------------------
  329|  1.01M|	{
  330|  1.01M|	  if (type == STR_USER)
  ------------------
  |  Branch (330:8): [True: 0, False: 1.01M]
  ------------------
  331|      0|	    {
  332|      0|	      if (str_user_end)
  ------------------
  |  Branch (332:12): [True: 0, False: 0]
  ------------------
  333|      0|		break;
  334|      0|	    }
  335|  1.01M|	  else if (next_c == L'\0')
  ------------------
  |  Branch (335:13): [True: 43.4k, False: 969k]
  ------------------
  336|  43.4k|	    break;
  337|  1.01M|	}
  338|      0|      else
  339|      0|	{
  340|      0|	  if (pos >= len)
  ------------------
  |  Branch (340:8): [True: 0, False: 0]
  ------------------
  341|      0|	    break;
  342|      0|	}
  343|       |
  344|   969k|      GET_NEXT_WCHAR();
  ------------------
  |  |   18|   969k|  do {									      \
  |  |   19|   969k|    prev_c = next_c;							      \
  |  |   20|   969k|    if (type == STR_BYTE)						      \
  |  |  ------------------
  |  |  |  Branch (20:9): [True: 969k, False: 0]
  |  |  ------------------
  |  |   21|   969k|      {									      \
  |  |   22|   969k|	pos++;								      \
  |  |   23|   969k|	if (len >= 0 && pos >= len)					      \
  |  |  ------------------
  |  |  |  Branch (23:6): [True: 0, False: 969k]
  |  |  |  Branch (23:18): [True: 0, False: 0]
  |  |  ------------------
  |  |   24|   969k|	  next_c = '\0';						      \
  |  |   25|   969k|	else								      \
  |  |   26|   969k|	  next_c = (unsigned char)(*str_byte++);			      \
  |  |   27|   969k|      }									      \
  |  |   28|   969k|    else if (type == STR_WIDE)						      \
  |  |  ------------------
  |  |  |  Branch (28:14): [True: 0, False: 0]
  |  |  ------------------
  |  |   29|      0|      {									      \
  |  |   30|      0|	pos++;								      \
  |  |   31|      0|	if (len >= 0 && pos >= len)					      \
  |  |  ------------------
  |  |  |  Branch (31:6): [True: 0, False: 0]
  |  |  |  Branch (31:18): [True: 0, False: 0]
  |  |  ------------------
  |  |   32|      0|	  next_c = L'\0';						      \
  |  |   33|      0|	else								      \
  |  |   34|      0|	  next_c = *str_wide++;						      \
  |  |   35|      0|      }									      \
  |  |   36|      0|    else if (type == STR_MBS)						      \
  |  |  ------------------
  |  |  |  Branch (36:14): [True: 0, False: 0]
  |  |  ------------------
  |  |   37|      0|      {									      \
  |  |   38|      0|        pos += pos_add_next;					      	      \
  |  |   39|      0|	if (str_byte == NULL)						      \
  |  |  ------------------
  |  |  |  Branch (39:6): [True: 0, False: 0]
  |  |  ------------------
  |  |   40|      0|	  next_c = L'\0';						      \
  |  |   41|      0|	else								      \
  |  |   42|      0|	  {								      \
  |  |   43|      0|	    size_t w;							      \
  |  |   44|      0|	    int max;							      \
  |  |   45|      0|	    if (len >= 0)						      \
  |  |  ------------------
  |  |  |  Branch (45:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   46|      0|	      max = len - pos;						      \
  |  |   47|      0|	    else							      \
  |  |   48|      0|	      max = 32;							      \
  |  |   49|      0|	    if (max <= 0)						      \
  |  |  ------------------
  |  |  |  Branch (49:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   50|      0|	      {								      \
  |  |   51|      0|		next_c = L'\0';						      \
  |  |   52|      0|		pos_add_next = 1;					      \
  |  |   53|      0|	      }								      \
  |  |   54|      0|	    else							      \
  |  |   55|      0|	      {								      \
  |  |   56|      0|		w = tre_mbrtowc(&next_c, str_byte, (size_t)max, &mbstate);    \
  |  |  ------------------
  |  |  |  |   33|      0|#define tre_mbrtowc(pwc, s, n, ps) (mbrtowc((pwc), (s), (n), (ps)))
  |  |  ------------------
  |  |   57|      0|		if (w == (size_t)-1 || w == (size_t)-2)			      \
  |  |  ------------------
  |  |  |  Branch (57:7): [True: 0, False: 0]
  |  |  |  Branch (57:26): [True: 0, False: 0]
  |  |  ------------------
  |  |   58|      0|		  return REG_NOMATCH;					      \
  |  |   59|      0|		if (w == 0 && len >= 0)					      \
  |  |  ------------------
  |  |  |  Branch (59:7): [True: 0, False: 0]
  |  |  |  Branch (59:17): [True: 0, False: 0]
  |  |  ------------------
  |  |   60|      0|		  {							      \
  |  |   61|      0|		    pos_add_next = 1;					      \
  |  |   62|      0|		    next_c = 0;						      \
  |  |   63|      0|		    str_byte++;						      \
  |  |   64|      0|		  }							      \
  |  |   65|      0|		else							      \
  |  |   66|      0|		  {							      \
  |  |   67|      0|		    pos_add_next = (unsigned int)w;					      \
  |  |   68|      0|		    str_byte += w;					      \
  |  |   69|      0|		  }							      \
  |  |   70|      0|	      }								      \
  |  |   71|      0|	  }								      \
  |  |   72|      0|      }									      \
  |  |   73|      0|    else if (type == STR_USER)						      \
  |  |  ------------------
  |  |  |  Branch (73:14): [True: 0, False: 0]
  |  |  ------------------
  |  |   74|      0|      {									      \
  |  |   75|      0|        pos += pos_add_next;					      	      \
  |  |   76|      0|	str_user_end = str_source->get_next_char(&next_c, &pos_add_next,      \
  |  |  ------------------
  |  |  |  |    9|      0|#define str_source ((const tre_str_source*)string)
  |  |  ------------------
  |  |   77|      0|                                                 str_source->context);	      \
  |  |  ------------------
  |  |  |  |    9|      0|#define str_source ((const tre_str_source*)string)
  |  |  ------------------
  |  |   78|      0|      }									      \
  |  |   79|   969k|  } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (79:24): [Folded, False: 969k]
  |  |  ------------------
  ------------------
  345|       |
  346|       |#ifdef TRE_DEBUG
  347|       |      DPRINT(("%3d:%2lc/%05d |", pos - 1, (tre_cint_t)prev_c, (int)prev_c));
  348|       |      tre_print_reach(tnfa, reach_next, num_tags);
  349|       |      DPRINT(("%3d:%2lc/%05d |", pos, (tre_cint_t)next_c, (int)next_c));
  350|       |      tre_print_reach(tnfa, reach_next, num_tags);
  351|       |#endif /* TRE_DEBUG */
  352|       |
  353|       |      /* Swap `reach' and `reach_next'. */
  354|   969k|      reach_i = reach;
  355|   969k|      reach = reach_next;
  356|   969k|      reach_next = reach_i;
  357|       |
  358|       |      /* For each state in `reach', weed out states that don't fulfill the
  359|       |	 minimal matching conditions. */
  360|   969k|      if (tnfa->num_minimals && new_match)
  ------------------
  |  Branch (360:11): [True: 0, False: 969k]
  |  Branch (360:33): [True: 0, False: 0]
  ------------------
  361|      0|	{
  362|      0|	  new_match = 0;
  363|      0|	  reach_next_i = reach_next;
  364|      0|	  for (reach_i = reach; reach_i->state; reach_i++)
  ------------------
  |  Branch (364:26): [True: 0, False: 0]
  ------------------
  365|      0|	    {
  366|      0|	      int skip = 0;
  367|      0|	      for (i = 0; tnfa->minimal_tags[i] >= 0; i += 2)
  ------------------
  |  Branch (367:20): [True: 0, False: 0]
  ------------------
  368|      0|		{
  369|      0|		  int end = tnfa->minimal_tags[i];
  370|      0|		  int start = tnfa->minimal_tags[i + 1];
  371|      0|		  DPRINT(("  Minimal start %d, end %d\n", start, end));
  ------------------
  |  |   27|      0|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
  372|      0|		  if (end >= num_tags)
  ------------------
  |  Branch (372:9): [True: 0, False: 0]
  ------------------
  373|      0|		    {
  374|      0|		      DPRINT(("	 Throwing %p out.\n", reach_i->state));
  ------------------
  |  |   27|      0|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
  375|      0|		      skip = 1;
  376|      0|		      break;
  377|      0|		    }
  378|      0|		  else if (reach_i->tags[start] == match_tags[start]
  ------------------
  |  Branch (378:14): [True: 0, False: 0]
  ------------------
  379|      0|			   && reach_i->tags[end] < match_tags[end])
  ------------------
  |  Branch (379:10): [True: 0, False: 0]
  ------------------
  380|      0|		    {
  381|      0|		      DPRINT(("	 Throwing %p out because t%d < %d\n",
  ------------------
  |  |   27|      0|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
  382|      0|			      reach_i->state, end, match_tags[end]));
  383|      0|		      skip = 1;
  384|      0|		      break;
  385|      0|		    }
  386|      0|		}
  387|      0|	      if (!skip)
  ------------------
  |  Branch (387:12): [True: 0, False: 0]
  ------------------
  388|      0|		{
  389|      0|		  reach_next_i->state = reach_i->state;
  390|      0|		  tmp_iptr = reach_next_i->tags;
  391|      0|		  reach_next_i->tags = reach_i->tags;
  392|      0|		  reach_i->tags = tmp_iptr;
  393|      0|		  reach_next_i++;
  394|      0|		}
  395|      0|	    }
  396|      0|	  reach_next_i->state = NULL;
  397|       |
  398|       |	  /* Swap `reach' and `reach_next'. */
  399|      0|	  reach_i = reach;
  400|      0|	  reach = reach_next;
  401|      0|	  reach_next = reach_i;
  402|      0|	}
  403|       |
  404|       |      /* For each state in `reach' see if there is a transition leaving with
  405|       |	 the current input symbol to a state not yet in `reach_next', and
  406|       |	 add the destination states to `reach_next'. */
  407|   969k|      reach_next_i = reach_next;
  408|  1.90M|      for (reach_i = reach; reach_i->state; reach_i++)
  ------------------
  |  Branch (408:29): [True: 935k, False: 969k]
  ------------------
  409|   935k|	{
  410|  18.8M|	  for (trans_i = reach_i->state; trans_i->state; trans_i++)
  ------------------
  |  Branch (410:35): [True: 17.9M, False: 935k]
  ------------------
  411|  17.9M|	    {
  412|       |	      /* Does this transition match the input symbol? */
  413|  17.9M|	      if (trans_i->code_min <= (tre_cint_t)prev_c &&
  ------------------
  |  Branch (413:12): [True: 14.5M, False: 3.41M]
  ------------------
  414|  14.5M|		  trans_i->code_max >= (tre_cint_t)prev_c)
  ------------------
  |  Branch (414:5): [True: 373k, False: 14.1M]
  ------------------
  415|   373k|		{
  416|   373k|		  if (trans_i->assertions
  ------------------
  |  Branch (416:9): [True: 112, False: 373k]
  ------------------
  417|    112|		      && (CHECK_ASSERTIONS(trans_i->assertions)
  ------------------
  |  |  144|    224|  (((assertions & ASSERT_AT_BOL)					      \
  |  |  ------------------
  |  |  |  |  210|    112|#define ASSERT_AT_BOL		  1   /* Beginning of line. */
  |  |  ------------------
  |  |  |  Branch (144:5): [True: 0, False: 112]
  |  |  ------------------
  |  |  145|    112|    && (pos > 0 || reg_notbol)						      \
  |  |  ------------------
  |  |  |  Branch (145:9): [True: 0, False: 0]
  |  |  |  Branch (145:20): [True: 0, False: 0]
  |  |  ------------------
  |  |  146|    112|    && (prev_c != L'\n' || !reg_newline))				      \
  |  |  ------------------
  |  |  |  Branch (146:9): [True: 0, False: 0]
  |  |  |  Branch (146:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  147|    112|   || ((assertions & ASSERT_AT_EOL)					      \
  |  |  ------------------
  |  |  |  |  211|    112|#define ASSERT_AT_EOL		  2   /* End of line. */
  |  |  ------------------
  |  |  |  Branch (147:8): [True: 112, False: 0]
  |  |  ------------------
  |  |  148|    112|       && (next_c != L'\0' || reg_noteol)				      \
  |  |  ------------------
  |  |  |  Branch (148:12): [True: 68, False: 44]
  |  |  |  Branch (148:31): [True: 0, False: 44]
  |  |  ------------------
  |  |  149|    112|       && (next_c != L'\n' || !reg_newline))				      \
  |  |  ------------------
  |  |  |  Branch (149:12): [True: 68, False: 0]
  |  |  |  Branch (149:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  150|    112|   || ((assertions & ASSERT_AT_BOW)					      \
  |  |  ------------------
  |  |  |  |  214|     44|#define ASSERT_AT_BOW		 16   /* Beginning of word. */
  |  |  ------------------
  |  |  |  Branch (150:8): [True: 0, False: 44]
  |  |  ------------------
  |  |  151|     44|       && (IS_WORD_CHAR(prev_c) || !IS_WORD_CHAR(next_c)))	              \
  |  |  ------------------
  |  |  |  |  141|      0|#define IS_WORD_CHAR(c)	 ((c) == L'_' || tre_isalnum(c))
  |  |  |  |  ------------------
  |  |  |  |  |  |   75|      0|#define tre_isalnum iswalnum
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (141:27): [True: 0, False: 0]
  |  |  |  |  |  Branch (141:42): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                      && (IS_WORD_CHAR(prev_c) || !IS_WORD_CHAR(next_c)))	              \
  |  |  ------------------
  |  |  |  |  141|      0|#define IS_WORD_CHAR(c)	 ((c) == L'_' || tre_isalnum(c))
  |  |  |  |  ------------------
  |  |  |  |  |  |   75|      0|#define tre_isalnum iswalnum
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (141:27): [True: 0, False: 0]
  |  |  |  |  |  Branch (141:42): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  152|    112|   || ((assertions & ASSERT_AT_EOW)					      \
  |  |  ------------------
  |  |  |  |  215|     44|#define ASSERT_AT_EOW		 32   /* End of word. */
  |  |  ------------------
  |  |  |  Branch (152:8): [True: 0, False: 44]
  |  |  ------------------
  |  |  153|     44|       && (!IS_WORD_CHAR(prev_c) || IS_WORD_CHAR(next_c)))		      \
  |  |  ------------------
  |  |  |  |  141|      0|#define IS_WORD_CHAR(c)	 ((c) == L'_' || tre_isalnum(c))
  |  |  |  |  ------------------
  |  |  |  |  |  |   75|      0|#define tre_isalnum iswalnum
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (141:27): [True: 0, False: 0]
  |  |  |  |  |  Branch (141:42): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                      && (!IS_WORD_CHAR(prev_c) || IS_WORD_CHAR(next_c)))		      \
  |  |  ------------------
  |  |  |  |  141|      0|#define IS_WORD_CHAR(c)	 ((c) == L'_' || tre_isalnum(c))
  |  |  |  |  ------------------
  |  |  |  |  |  |   75|      0|#define tre_isalnum iswalnum
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (141:27): [True: 0, False: 0]
  |  |  |  |  |  Branch (141:42): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  154|    112|   || ((assertions & ASSERT_AT_WB)					      \
  |  |  ------------------
  |  |  |  |  216|     44|#define ASSERT_AT_WB		 64   /* Word boundary. */
  |  |  ------------------
  |  |  |  Branch (154:8): [True: 0, False: 44]
  |  |  ------------------
  |  |  155|     44|       && (pos != 0 && next_c != L'\0'					      \
  |  |  ------------------
  |  |  |  Branch (155:12): [True: 0, False: 0]
  |  |  |  Branch (155:24): [True: 0, False: 0]
  |  |  ------------------
  |  |  156|      0|	   && IS_WORD_CHAR(prev_c) == IS_WORD_CHAR(next_c)))		      \
  |  |  ------------------
  |  |  |  |  141|      0|#define IS_WORD_CHAR(c)	 ((c) == L'_' || tre_isalnum(c))
  |  |  |  |  ------------------
  |  |  |  |  |  |   75|      0|#define tre_isalnum iswalnum
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (141:27): [True: 0, False: 0]
  |  |  |  |  |  Branch (141:42): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               	   && IS_WORD_CHAR(prev_c) == IS_WORD_CHAR(next_c)))		      \
  |  |  ------------------
  |  |  |  |  141|      0|#define IS_WORD_CHAR(c)	 ((c) == L'_' || tre_isalnum(c))
  |  |  |  |  ------------------
  |  |  |  |  |  |   75|      0|#define tre_isalnum iswalnum
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (141:27): [True: 0, False: 0]
  |  |  |  |  |  Branch (141:42): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (156:8): [True: 0, False: 0]
  |  |  ------------------
  |  |  157|    224|   || ((assertions & ASSERT_AT_WB_NEG)					      \
  |  |  ------------------
  |  |  |  |  217|     44|#define ASSERT_AT_WB_NEG	128   /* Not a word boundary. */
  |  |  ------------------
  |  |  |  Branch (157:8): [True: 0, False: 44]
  |  |  ------------------
  |  |  158|     44|       && (pos == 0 || next_c == L'\0'					      \
  |  |  ------------------
  |  |  |  Branch (158:12): [True: 0, False: 0]
  |  |  |  Branch (158:24): [True: 0, False: 0]
  |  |  ------------------
  |  |  159|      0|	   || IS_WORD_CHAR(prev_c) != IS_WORD_CHAR(next_c))))
  |  |  ------------------
  |  |  |  |  141|      0|#define IS_WORD_CHAR(c)	 ((c) == L'_' || tre_isalnum(c))
  |  |  |  |  ------------------
  |  |  |  |  |  |   75|      0|#define tre_isalnum iswalnum
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (141:27): [True: 0, False: 0]
  |  |  |  |  |  Branch (141:42): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               	   || IS_WORD_CHAR(prev_c) != IS_WORD_CHAR(next_c))))
  |  |  ------------------
  |  |  |  |  141|      0|#define IS_WORD_CHAR(c)	 ((c) == L'_' || tre_isalnum(c))
  |  |  |  |  ------------------
  |  |  |  |  |  |   75|      0|#define tre_isalnum iswalnum
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (141:27): [True: 0, False: 0]
  |  |  |  |  |  Branch (141:42): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (159:8): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  418|     44|			  || CHECK_CHAR_CLASSES(trans_i, tnfa, eflags)))
  ------------------
  |  |  162|     44|  (((trans_i->assertions & ASSERT_CHAR_CLASS)                                 \
  |  |  ------------------
  |  |  |  |  212|     44|#define ASSERT_CHAR_CLASS	  4   /* Character class in `class'. */
  |  |  ------------------
  |  |  |  Branch (162:5): [True: 0, False: 44]
  |  |  ------------------
  |  |  163|     44|       && !(tnfa->cflags & REG_ICASE)                                         \
  |  |  ------------------
  |  |  |  |   99|      0|#define REG_ICASE	(REG_EXTENDED << 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|      0|#define REG_EXTENDED	1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (163:11): [True: 0, False: 0]
  |  |  ------------------
  |  |  164|     44|       && !tre_isctype((tre_cint_t)prev_c, trans_i->u.class))                 \
  |  |  ------------------
  |  |  |  |  139|      0|#define tre_isctype(c, type) iswctype(c, type)
  |  |  ------------------
  |  |  |  Branch (164:11): [True: 0, False: 0]
  |  |  ------------------
  |  |  165|     44|    || ((trans_i->assertions & ASSERT_CHAR_CLASS)                             \
  |  |  ------------------
  |  |  |  |  212|     44|#define ASSERT_CHAR_CLASS	  4   /* Character class in `class'. */
  |  |  ------------------
  |  |  |  Branch (165:9): [True: 0, False: 44]
  |  |  ------------------
  |  |  166|     44|        && (tnfa->cflags & REG_ICASE)                                         \
  |  |  ------------------
  |  |  |  |   99|      0|#define REG_ICASE	(REG_EXTENDED << 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|      0|#define REG_EXTENDED	1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (166:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  167|     44|        && !tre_isctype(tre_tolower((tre_cint_t)prev_c),trans_i->u.class)     \
  |  |  ------------------
  |  |  |  |  139|     44|#define tre_isctype(c, type) iswctype(c, type)
  |  |  ------------------
  |  |  |  Branch (167:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  168|     44|	&& !tre_isctype(tre_toupper((tre_cint_t)prev_c),trans_i->u.class))    \
  |  |  ------------------
  |  |  |  |  139|      0|#define tre_isctype(c, type) iswctype(c, type)
  |  |  ------------------
  |  |  |  Branch (168:5): [True: 0, False: 0]
  |  |  ------------------
  |  |  169|     44|    || ((trans_i->assertions & ASSERT_CHAR_CLASS_NEG)                         \
  |  |  ------------------
  |  |  |  |  213|     44|#define ASSERT_CHAR_CLASS_NEG	  8   /* Character classes in `neg_classes'. */
  |  |  ------------------
  |  |  |  Branch (169:9): [True: 0, False: 44]
  |  |  ------------------
  |  |  170|     44|        && tre_neg_char_classes_match(trans_i->neg_classes,(tre_cint_t)prev_c,\
  |  |  ------------------
  |  |  |  Branch (170:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  171|      0|                                      tnfa->cflags & REG_ICASE)))
  |  |  ------------------
  |  |  |  |   99|      0|#define REG_ICASE	(REG_EXTENDED << 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|      0|#define REG_EXTENDED	1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  419|     68|		    {
  420|     68|		      DPRINT(("assertion failed\n"));
  ------------------
  |  |   27|     68|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 68]
  |  |  ------------------
  ------------------
  421|     68|		      continue;
  422|     68|		    }
  423|       |
  424|       |		  /* Compute the tags after this transition. */
  425|  1.48M|		  for (i = 0; i < num_tags; i++)
  ------------------
  |  Branch (425:17): [True: 1.10M, False: 373k]
  ------------------
  426|  1.10M|		    tmp_tags[i] = reach_i->tags[i];
  427|   373k|		  tag_i = trans_i->tags;
  428|   373k|		  if (tag_i != NULL)
  ------------------
  |  Branch (428:9): [True: 366k, False: 6.89k]
  ------------------
  429|   736k|		    while (*tag_i >= 0)
  ------------------
  |  Branch (429:14): [True: 370k, False: 366k]
  ------------------
  430|   370k|		      {
  431|   370k|			if (*tag_i < num_tags)
  ------------------
  |  Branch (431:8): [True: 370k, False: 0]
  ------------------
  432|   370k|			  tmp_tags[*tag_i] = pos;
  433|   370k|			tag_i++;
  434|   370k|		      }
  435|       |
  436|   373k|		  if (reach_pos[trans_i->state_id].pos < pos)
  ------------------
  |  Branch (436:9): [True: 117k, False: 256k]
  ------------------
  437|   117k|		    {
  438|       |		      /* Found an unvisited node. */
  439|   117k|		      reach_next_i->state = trans_i->state;
  440|   117k|		      tmp_iptr = reach_next_i->tags;
  441|   117k|		      reach_next_i->tags = tmp_tags;
  442|   117k|		      tmp_tags = tmp_iptr;
  443|   117k|		      reach_pos[trans_i->state_id].pos = pos;
  444|   117k|		      reach_pos[trans_i->state_id].tags = &reach_next_i->tags;
  445|       |
  446|   117k|		      if (reach_next_i->state == tnfa->final
  ------------------
  |  Branch (446:13): [True: 109k, False: 7.90k]
  ------------------
  447|   109k|			  && (match_eo == -1
  ------------------
  |  Branch (447:10): [True: 108k, False: 278]
  ------------------
  448|    278|			      || (num_tags > 0
  ------------------
  |  Branch (448:14): [True: 278, False: 0]
  ------------------
  449|    278|				  && reach_next_i->tags[0] <= match_tags[0])))
  ------------------
  |  Branch (449:10): [True: 278, False: 0]
  ------------------
  450|   109k|			{
  451|   109k|			  DPRINT(("  found match %p\n", trans_i->state));
  ------------------
  |  |   27|   109k|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 109k]
  |  |  ------------------
  ------------------
  452|   109k|			  match_eo = pos;
  453|   109k|			  new_match = 1;
  454|   435k|			  for (i = 0; i < num_tags; i++)
  ------------------
  |  Branch (454:18): [True: 325k, False: 109k]
  ------------------
  455|   325k|			    match_tags[i] = reach_next_i->tags[i];
  456|   109k|			}
  457|   117k|		      reach_next_i++;
  458|       |
  459|   117k|		    }
  460|   256k|		  else
  461|   256k|		    {
  462|   256k|		      assert(reach_pos[trans_i->state_id].pos == pos);
  ------------------
  |  |   68|   256k|#define assert(a) R_assert(a)
  |  |  ------------------
  |  |  |  |  230|   256k|#define R_assert(e) ((e) ? (void) 0 : Rf_error("assertion '%s' failed in executing regexp: file '%s', line %d\n", #e, __FILE__, __LINE__))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (230:22): [True: 256k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  463|       |		      /* Another path has also reached this state.  We choose
  464|       |			 the winner by examining the tag values for both
  465|       |			 paths. */
  466|   256k|		      if (tre_tag_order(num_tags, tnfa->tag_directions,
  ------------------
  |  Branch (466:13): [True: 0, False: 256k]
  ------------------
  467|   256k|					tmp_tags,
  468|   256k|					*reach_pos[trans_i->state_id].tags))
  469|      0|			{
  470|       |			  /* The new path wins. */
  471|      0|			  tmp_iptr = *reach_pos[trans_i->state_id].tags;
  472|      0|			  *reach_pos[trans_i->state_id].tags = tmp_tags;
  473|      0|			  if (trans_i->state == tnfa->final)
  ------------------
  |  Branch (473:10): [True: 0, False: 0]
  ------------------
  474|      0|			    {
  475|      0|			      DPRINT(("	 found better match\n"));
  ------------------
  |  |   27|      0|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
  476|      0|			      match_eo = pos;
  477|      0|			      new_match = 1;
  478|      0|			      for (i = 0; i < num_tags; i++)
  ------------------
  |  Branch (478:22): [True: 0, False: 0]
  ------------------
  479|      0|				match_tags[i] = tmp_tags[i];
  480|      0|			    }
  481|      0|			  tmp_tags = tmp_iptr;
  482|      0|			}
  483|   256k|		    }
  484|   373k|		}
  485|  17.9M|	    }
  486|   935k|	}
  487|   969k|      reach_next_i->state = NULL;
  488|   969k|    }
  489|       |
  490|   152k|  DPRINT(("match end offset = %d\n", match_eo));
  ------------------
  |  |   27|   152k|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 152k]
  |  |  ------------------
  ------------------
  491|       |
  492|   152k|#ifndef TRE_USE_ALLOCA
  493|   152k|  if (buf)
  ------------------
  |  Branch (493:7): [True: 152k, False: 0]
  ------------------
  494|   152k|    xfree(buf);
  ------------------
  |  |   69|   152k|#define xfree(ptr) free(ptr)
  ------------------
  495|   152k|#endif /* !TRE_USE_ALLOCA */
  496|       |
  497|   152k|  *match_end_ofs = match_eo;
  498|   152k|  return match_eo >= 0 ? REG_OK : REG_NOMATCH;
  ------------------
  |  Branch (498:10): [True: 108k, False: 43.2k]
  ------------------
  499|   152k|}

tre-match-parallel.c:tre_tag_order:
  180|   256k|{
  181|   256k|  int i;
  182|  1.02M|  for (i = 0; i < num_tags; i++)
  ------------------
  |  Branch (182:15): [True: 770k, False: 256k]
  ------------------
  183|   770k|    {
  184|   770k|      if (tag_directions[i] == TRE_TAG_MINIMIZE)
  ------------------
  |  Branch (184:11): [True: 256k, False: 513k]
  ------------------
  185|   256k|	{
  186|   256k|	  if (t1[i] < t2[i])
  ------------------
  |  Branch (186:8): [True: 0, False: 256k]
  ------------------
  187|      0|	    return 1;
  188|   256k|	  if (t1[i] > t2[i])
  ------------------
  |  Branch (188:8): [True: 4, False: 256k]
  ------------------
  189|      4|	    return 0;
  190|   256k|	}
  191|   513k|      else
  192|   513k|	{
  193|   513k|	  if (t1[i] > t2[i])
  ------------------
  |  Branch (193:8): [True: 0, False: 513k]
  ------------------
  194|      0|	    return 1;
  195|   513k|	  if (t1[i] < t2[i])
  ------------------
  |  Branch (195:8): [True: 0, False: 513k]
  ------------------
  196|      0|	    return 0;
  197|   513k|	}
  198|   770k|    }
  199|       |  /*  assert(0);*/
  200|   256k|  return 0;
  201|   256k|}

tre_mem_new_impl:
   30|  1.43k|{
   31|  1.43k|  tre_mem_t mem;
   32|  1.43k|  if (provided)
  ------------------
  |  Branch (32:7): [True: 0, False: 1.43k]
  ------------------
   33|      0|    {
   34|      0|      mem = provided_block;
   35|      0|      memset(mem, 0, sizeof(*mem));
   36|      0|    }
   37|  1.43k|  else
   38|  1.43k|    mem = xcalloc(1, sizeof(*mem));
  ------------------
  |  |   68|  1.43k|#define xcalloc(nmemb, size) calloc(nmemb, size)
  ------------------
   39|  1.43k|  if (mem == NULL)
  ------------------
  |  Branch (39:7): [True: 0, False: 1.43k]
  ------------------
   40|      0|    return NULL;
   41|  1.43k|  return mem;
   42|  1.43k|}
tre_mem_destroy:
   48|  1.43k|{
   49|  1.43k|  tre_list_t *tmp, *l = mem->blocks;
   50|       |
   51|  18.3k|  while (l != NULL)
  ------------------
  |  Branch (51:10): [True: 16.9k, False: 1.43k]
  ------------------
   52|  16.9k|    {
   53|  16.9k|      xfree(l->data);
  ------------------
  |  |   69|  16.9k|#define xfree(ptr) free(ptr)
  ------------------
   54|  16.9k|      tmp = l->next;
   55|  16.9k|      xfree(l);
  ------------------
  |  |   69|  16.9k|#define xfree(ptr) free(ptr)
  ------------------
   56|  16.9k|      l = tmp;
   57|  16.9k|    }
   58|  1.43k|  xfree(mem);
  ------------------
  |  |   69|  1.43k|#define xfree(ptr) free(ptr)
  ------------------
   59|  1.43k|}
tre_mem_alloc_impl:
   67|   340k|{
   68|   340k|  void *ptr;
   69|       |
   70|   340k|  if (mem->failed)
  ------------------
  |  Branch (70:7): [True: 0, False: 340k]
  ------------------
   71|      0|    {
   72|      0|      DPRINT(("tre_mem_alloc: oops, called after failure?!\n"));
  ------------------
  |  |   27|      0|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
   73|      0|      return NULL;
   74|      0|    }
   75|       |
   76|       |#ifdef MALLOC_DEBUGGING
   77|       |  if (!provided)
   78|       |    {
   79|       |      ptr = xmalloc(1);
   80|       |      if (ptr == NULL)
   81|       |	{
   82|       |	  DPRINT(("tre_mem_alloc: xmalloc forced failure\n"));
   83|       |	  mem->failed = 1;
   84|       |	  return NULL;
   85|       |	}
   86|       |      xfree(ptr);
   87|       |    }
   88|       |#endif /* MALLOC_DEBUGGING */
   89|       |
   90|   340k|  if (mem->n < size)
  ------------------
  |  Branch (90:7): [True: 16.9k, False: 323k]
  ------------------
   91|  16.9k|    {
   92|       |      /* We need more memory than is available in the current block.
   93|       |	 Allocate a new block. */
   94|  16.9k|      tre_list_t *l;
   95|  16.9k|      if (provided)
  ------------------
  |  Branch (95:11): [True: 0, False: 16.9k]
  ------------------
   96|      0|	{
   97|      0|	  DPRINT(("tre_mem_alloc: using provided block\n"));
  ------------------
  |  |   27|      0|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
   98|      0|	  if (provided_block == NULL)
  ------------------
  |  Branch (98:8): [True: 0, False: 0]
  ------------------
   99|      0|	    {
  100|      0|	      DPRINT(("tre_mem_alloc: provided block was NULL\n"));
  ------------------
  |  |   27|      0|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
  101|      0|	      mem->failed = 1;
  102|      0|	      return NULL;
  103|      0|	    }
  104|      0|	  mem->ptr = provided_block;
  105|      0|	  mem->n = TRE_MEM_BLOCK_SIZE;
  ------------------
  |  |   14|      0|#define TRE_MEM_BLOCK_SIZE 1024
  ------------------
  106|      0|	}
  107|  16.9k|      else
  108|  16.9k|	{
  109|  16.9k|	  size_t block_size;
  110|  16.9k|	  if (size * 8 > TRE_MEM_BLOCK_SIZE)
  ------------------
  |  |   14|  16.9k|#define TRE_MEM_BLOCK_SIZE 1024
  ------------------
  |  Branch (110:8): [True: 8.73k, False: 8.20k]
  ------------------
  111|  8.73k|	    block_size = size * 8;
  112|  8.20k|	  else
  113|  8.20k|	    block_size = TRE_MEM_BLOCK_SIZE;
  ------------------
  |  |   14|  8.20k|#define TRE_MEM_BLOCK_SIZE 1024
  ------------------
  114|  16.9k|	  DPRINT(("tre_mem_alloc: allocating new %lu byte block\n",
  ------------------
  |  |   27|  16.9k|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 16.9k]
  |  |  ------------------
  ------------------
  115|  16.9k|		  (unsigned long)block_size));
  116|  16.9k|	  l = xmalloc(sizeof(*l));
  ------------------
  |  |   67|  16.9k|#define xmalloc(size) malloc(size)
  ------------------
  117|  16.9k|	  if (l == NULL)
  ------------------
  |  Branch (117:8): [True: 0, False: 16.9k]
  ------------------
  118|      0|	    {
  119|      0|	      mem->failed = 1;
  120|      0|	      return NULL;
  121|      0|	    }
  122|  16.9k|	  l->data = xmalloc(block_size);
  ------------------
  |  |   67|  16.9k|#define xmalloc(size) malloc(size)
  ------------------
  123|  16.9k|	  if (l->data == NULL)
  ------------------
  |  Branch (123:8): [True: 0, False: 16.9k]
  ------------------
  124|      0|	    {
  125|      0|	      xfree(l);
  ------------------
  |  |   69|      0|#define xfree(ptr) free(ptr)
  ------------------
  126|      0|	      mem->failed = 1;
  127|      0|	      return NULL;
  128|      0|	    }
  129|  16.9k|	  l->next = NULL;
  130|  16.9k|	  if (mem->current != NULL)
  ------------------
  |  Branch (130:8): [True: 15.5k, False: 1.43k]
  ------------------
  131|  15.5k|	    mem->current->next = l;
  132|  16.9k|	  if (mem->blocks == NULL)
  ------------------
  |  Branch (132:8): [True: 1.43k, False: 15.5k]
  ------------------
  133|  1.43k|	    mem->blocks = l;
  134|  16.9k|	  mem->current = l;
  135|  16.9k|	  mem->ptr = l->data;
  136|  16.9k|	  mem->n = block_size;
  137|  16.9k|	}
  138|  16.9k|    }
  139|       |
  140|       |  /* Make sure the next pointer will be aligned. */
  141|   340k|  size += ALIGN(mem->ptr + size, anytype);
  ------------------
  |  |  154|   340k|  ((((size_t)ptr) % sizeof(type)) \
  |  |  ------------------
  |  |  |  Branch (154:4): [True: 342, False: 339k]
  |  |  ------------------
  |  |  155|   340k|   ? (sizeof(type) - (((size_t)ptr) % sizeof(type))) \
  |  |  156|   340k|   : 0)
  ------------------
  142|       |
  143|       |  /* Allocate from current block. */
  144|   340k|  ptr = mem->ptr;
  145|   340k|  mem->ptr += size;
  146|   340k|  mem->n -= size;
  147|       |
  148|       |  /* Set to zero if needed. */
  149|   340k|  if (zero)
  ------------------
  |  Branch (149:7): [True: 249k, False: 91.2k]
  ------------------
  150|   249k|    memset(ptr, 0, size);
  151|       |
  152|   340k|  return ptr;
  153|   340k|}

tre_parse:
  967|  1.43k|{
  968|  1.43k|  tre_ast_node_t *result = NULL;
  969|  1.43k|  tre_parse_re_stack_symbol_t symbol;
  970|  1.43k|  reg_errcode_t status = REG_OK;
  971|  1.43k|  tre_stack_t *stack = ctx->stack;
  972|  1.43k|  int bottom = tre_stack_num_objects(stack);
  973|  1.43k|  int depth = 0;
  974|  1.43k|  int temporary_cflags = 0;
  975|       |
  976|  1.43k|  DPRINT(("tre_parse: parsing '%.*" STRF "', len = %d\n",
  ------------------
  |  |   27|  1.43k|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 1.43k]
  |  |  ------------------
  ------------------
  977|  1.43k|	  ctx->len, ctx->re, ctx->len));
  978|       |
  979|  1.43k|  if (!ctx->nofirstsub)
  ------------------
  |  Branch (979:7): [True: 1.43k, False: 0]
  ------------------
  980|  1.43k|    {
  981|  1.43k|      STACK_PUSH(stack, int, ctx->submatch_id);
  ------------------
  |  |   53|  1.43k|  do									      \
  |  |   54|  1.43k|    {									      \
  |  |   55|  1.43k|      status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   56|  1.43k|    }									      \
  |  |   57|  1.43k|  while (/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (57:23): [Folded, False: 1.43k]
  |  |  ------------------
  ------------------
  982|  1.43k|      STACK_PUSH(stack, int, PARSE_MARK_FOR_SUBMATCH);
  ------------------
  |  |   53|  1.43k|  do									      \
  |  |   54|  1.43k|    {									      \
  |  |   55|  1.43k|      status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   56|  1.43k|    }									      \
  |  |   57|  1.43k|  while (/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (57:23): [Folded, False: 1.43k]
  |  |  ------------------
  ------------------
  983|  1.43k|      ctx->submatch_id++;
  984|  1.43k|    }
  985|  1.43k|  STACK_PUSH(stack, int, PARSE_RE);
  ------------------
  |  |   53|  1.43k|  do									      \
  |  |   54|  1.43k|    {									      \
  |  |   55|  1.43k|      status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   56|  1.43k|    }									      \
  |  |   57|  1.43k|  while (/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (57:23): [Folded, False: 1.43k]
  |  |  ------------------
  ------------------
  986|  1.43k|  ctx->re_start = ctx->re;
  987|  1.43k|  ctx->re_end = ctx->re + ctx->len;
  988|       |
  989|       |
  990|       |  /* The following is basically just a recursive descent parser.  I use
  991|       |     an explicit stack instead of recursive functions mostly because of
  992|       |     two reasons: compatibility with systems which have an overflowable
  993|       |     call stack, and efficiency (both in lines of code and speed).  */
  994|  17.7k|  while (tre_stack_num_objects(stack) > bottom && status == REG_OK)
  ------------------
  |  Branch (994:10): [True: 16.3k, False: 1.43k]
  |  Branch (994:51): [True: 16.3k, False: 0]
  ------------------
  995|  16.3k|    {
  996|  16.3k|      if (status != REG_OK)
  ------------------
  |  Branch (996:11): [True: 0, False: 16.3k]
  ------------------
  997|      0|	break;
  998|  16.3k|      symbol = tre_stack_pop_int(stack);
  999|  16.3k|      switch (symbol)
 1000|  16.3k|	{
 1001|  1.59k|	case PARSE_RE:
  ------------------
  |  Branch (1001:2): [True: 1.59k, False: 14.7k]
  ------------------
 1002|       |	  /* Parse a full regexp.  A regexp is one or more branches,
 1003|       |	     separated by the union operator `|'. */
 1004|  1.59k|#ifdef REG_LITERAL
 1005|  1.59k|	  if (!(ctx->cflags & REG_LITERAL)
  ------------------
  |  |  105|  1.59k|#define REG_LITERAL	(REG_NOSUB << 1)
  |  |  ------------------
  |  |  |  |  101|  1.59k|#define REG_NOSUB	(REG_NEWLINE << 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|  1.59k|#define REG_NEWLINE	(REG_ICASE << 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   99|  1.59k|#define REG_ICASE	(REG_EXTENDED << 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   98|  1.59k|#define REG_EXTENDED	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1005:8): [True: 1.59k, False: 0]
  ------------------
 1006|  1.59k|	      && ctx->cflags & REG_EXTENDED)
  ------------------
  |  |   98|  1.59k|#define REG_EXTENDED	1
  ------------------
  |  Branch (1006:11): [True: 1.59k, False: 0]
  ------------------
 1007|  1.59k|#endif /* REG_LITERAL */
 1008|  1.59k|	    STACK_PUSHX(stack, int, PARSE_UNION);
  ------------------
  |  |   60|  1.59k|  {									      \
  |  |   61|  1.59k|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|  1.59k|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 1.59k]
  |  |  ------------------
  |  |   63|  1.59k|      break;								      \
  |  |   64|  1.59k|  }
  ------------------
 1009|  1.59k|	  STACK_PUSHX(stack, int, PARSE_BRANCH);
  ------------------
  |  |   60|  1.59k|  {									      \
  |  |   61|  1.59k|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|  1.59k|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 1.59k]
  |  |  ------------------
  |  |   63|  1.59k|      break;								      \
  |  |   64|  1.59k|  }
  ------------------
 1010|  1.59k|	  break;
 1011|       |
 1012|  1.62k|	case PARSE_BRANCH:
  ------------------
  |  Branch (1012:2): [True: 1.62k, False: 14.7k]
  ------------------
 1013|       |	  /* Parse a branch.  A branch is one or more pieces, concatenated.
 1014|       |	     A piece is an atom possibly followed by a postfix operator. */
 1015|  1.62k|	  STACK_PUSHX(stack, int, PARSE_CATENATION);
  ------------------
  |  |   60|  1.62k|  {									      \
  |  |   61|  1.62k|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|  1.62k|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 1.62k]
  |  |  ------------------
  |  |   63|  1.62k|      break;								      \
  |  |   64|  1.62k|  }
  ------------------
 1016|  1.62k|	  STACK_PUSHX(stack, int, PARSE_PIECE);
  ------------------
  |  |   60|  1.62k|  {									      \
  |  |   61|  1.62k|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|  1.62k|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 1.62k]
  |  |  ------------------
  |  |   63|  1.62k|      break;								      \
  |  |   64|  1.62k|  }
  ------------------
 1017|  1.62k|	  break;
 1018|       |
 1019|  2.25k|	case PARSE_PIECE:
  ------------------
  |  Branch (1019:2): [True: 2.25k, False: 14.0k]
  ------------------
 1020|       |	  /* Parse a piece.  A piece is an atom possibly followed by one
 1021|       |	     or more postfix operators. */
 1022|  2.25k|#ifdef REG_LITERAL
 1023|  2.25k|	  if (!(ctx->cflags & REG_LITERAL))
  ------------------
  |  |  105|  2.25k|#define REG_LITERAL	(REG_NOSUB << 1)
  |  |  ------------------
  |  |  |  |  101|  2.25k|#define REG_NOSUB	(REG_NEWLINE << 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|  2.25k|#define REG_NEWLINE	(REG_ICASE << 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   99|  2.25k|#define REG_ICASE	(REG_EXTENDED << 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   98|  2.25k|#define REG_EXTENDED	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1023:8): [True: 2.25k, False: 0]
  ------------------
 1024|  2.25k|#endif /* REG_LITERAL */
 1025|  2.25k|	    STACK_PUSHX(stack, int, PARSE_POSTFIX);
  ------------------
  |  |   60|  2.25k|  {									      \
  |  |   61|  2.25k|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|  2.25k|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 2.25k]
  |  |  ------------------
  |  |   63|  2.25k|      break;								      \
  |  |   64|  2.25k|  }
  ------------------
 1026|  2.25k|	  STACK_PUSHX(stack, int, PARSE_ATOM);
  ------------------
  |  |   60|  2.25k|  {									      \
  |  |   61|  2.25k|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|  2.25k|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 2.25k]
  |  |  ------------------
  |  |   63|  2.25k|      break;								      \
  |  |   64|  2.25k|  }
  ------------------
 1027|  2.25k|	  break;
 1028|       |
 1029|  2.25k|	case PARSE_CATENATION:
  ------------------
  |  Branch (1029:2): [True: 2.25k, False: 14.0k]
  ------------------
 1030|       |	  /* If the expression has not ended, parse another piece. */
 1031|  2.25k|	  {
 1032|  2.25k|	    tre_char_t c;
 1033|  2.25k|	    if (ctx->re >= ctx->re_end)
  ------------------
  |  Branch (1033:10): [True: 1.43k, False: 822]
  ------------------
 1034|  1.43k|	      break;
 1035|    822|	    c = *ctx->re;
 1036|    822|#ifdef REG_LITERAL
 1037|    822|	    if (!(ctx->cflags & REG_LITERAL))
  ------------------
  |  |  105|    822|#define REG_LITERAL	(REG_NOSUB << 1)
  |  |  ------------------
  |  |  |  |  101|    822|#define REG_NOSUB	(REG_NEWLINE << 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|    822|#define REG_NEWLINE	(REG_ICASE << 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   99|    822|#define REG_ICASE	(REG_EXTENDED << 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   98|    822|#define REG_EXTENDED	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1037:10): [True: 822, False: 0]
  ------------------
 1038|    822|	      {
 1039|    822|#endif /* REG_LITERAL */
 1040|    822|		if (ctx->cflags & REG_EXTENDED && c == CHAR_PIPE)
  ------------------
  |  |   98|  1.64k|#define REG_EXTENDED	1
  ------------------
              		if (ctx->cflags & REG_EXTENDED && c == CHAR_PIPE)
  ------------------
  |  |   32|    822|#define CHAR_PIPE	   L'|'
  ------------------
  |  Branch (1040:7): [True: 822, False: 0]
  |  Branch (1040:37): [True: 29, False: 793]
  ------------------
 1041|     29|		  break;
 1042|    793|		if ((ctx->cflags & REG_EXTENDED
  ------------------
  |  |   98|  1.58k|#define REG_EXTENDED	1
  ------------------
  |  Branch (1042:8): [True: 793, False: 0]
  ------------------
 1043|    793|		     && c == CHAR_RPAREN && depth > 0)
  ------------------
  |  |   34|  1.58k|#define CHAR_RPAREN	   L')'
  ------------------
  |  Branch (1043:11): [True: 165, False: 628]
  |  Branch (1043:31): [True: 165, False: 0]
  ------------------
 1044|    628|		    || (!(ctx->cflags & REG_EXTENDED)
  ------------------
  |  |   98|    628|#define REG_EXTENDED	1
  ------------------
  |  Branch (1044:11): [True: 0, False: 628]
  ------------------
 1045|      0|			&& (c == CHAR_BACKSLASH
  ------------------
  |  |   49|      0|#define CHAR_BACKSLASH	   L'\\'
  ------------------
  |  Branch (1045:8): [True: 0, False: 0]
  ------------------
 1046|      0|			    && ctx->re + 1 < ctx->re_end
  ------------------
  |  Branch (1046:11): [True: 0, False: 0]
  ------------------
 1047|      0|			    && *(ctx->re + 1) == CHAR_RPAREN)))
  ------------------
  |  |   34|      0|#define CHAR_RPAREN	   L')'
  ------------------
  |  Branch (1047:11): [True: 0, False: 0]
  ------------------
 1048|    165|		  {
 1049|    165|		    if (!(ctx->cflags & REG_EXTENDED) && depth == 0)
  ------------------
  |  |   98|    165|#define REG_EXTENDED	1
  ------------------
  |  Branch (1049:11): [True: 0, False: 165]
  |  Branch (1049:44): [True: 0, False: 0]
  ------------------
 1050|      0|		      status = REG_EPAREN;
 1051|    165|		    DPRINT(("tre_parse:	  group end: '%.*" STRF "'\n",
  ------------------
  |  |   27|    165|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 165]
  |  |  ------------------
  ------------------
 1052|    165|			    REST(ctx->re)));
 1053|    165|		    depth--;
 1054|    165|		    if (!(ctx->cflags & REG_EXTENDED))
  ------------------
  |  |   98|    165|#define REG_EXTENDED	1
  ------------------
  |  Branch (1054:11): [True: 0, False: 165]
  ------------------
 1055|      0|		      ctx->re += 2;
 1056|    165|		    break;
 1057|    165|		  }
 1058|    793|#ifdef REG_LITERAL
 1059|    793|	      }
 1060|    628|#endif /* REG_LITERAL */
 1061|       |
 1062|    628|#ifdef REG_RIGHT_ASSOC
 1063|    628|	    if (ctx->cflags & REG_RIGHT_ASSOC)
  ------------------
  |  |  106|    628|#define REG_RIGHT_ASSOC (REG_LITERAL << 1)
  |  |  ------------------
  |  |  |  |  105|    628|#define REG_LITERAL	(REG_NOSUB << 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  101|    628|#define REG_NOSUB	(REG_NEWLINE << 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  100|    628|#define REG_NEWLINE	(REG_ICASE << 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   99|    628|#define REG_ICASE	(REG_EXTENDED << 1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   98|    628|#define REG_EXTENDED	1
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1063:10): [True: 0, False: 628]
  ------------------
 1064|      0|	      {
 1065|       |		/* Right associative concatenation. */
 1066|      0|		STACK_PUSHX(stack, voidptr, result);
  ------------------
  |  |   60|      0|  {									      \
  |  |   61|      0|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|      0|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   63|      0|      break;								      \
  |  |   64|      0|  }
  ------------------
 1067|      0|		STACK_PUSHX(stack, int, PARSE_POST_CATENATION);
  ------------------
  |  |   60|      0|  {									      \
  |  |   61|      0|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|      0|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   63|      0|      break;								      \
  |  |   64|      0|  }
  ------------------
 1068|      0|		STACK_PUSHX(stack, int, PARSE_CATENATION);
  ------------------
  |  |   60|      0|  {									      \
  |  |   61|      0|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|      0|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   63|      0|      break;								      \
  |  |   64|      0|  }
  ------------------
 1069|      0|		STACK_PUSHX(stack, int, PARSE_PIECE);
  ------------------
  |  |   60|      0|  {									      \
  |  |   61|      0|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|      0|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   63|      0|      break;								      \
  |  |   64|      0|  }
  ------------------
 1070|      0|	      }
 1071|    628|	    else
 1072|    628|#endif /* REG_RIGHT_ASSOC */
 1073|    628|	      {
 1074|       |		/* Default case, left associative concatenation. */
 1075|    628|		STACK_PUSHX(stack, int, PARSE_CATENATION);
  ------------------
  |  |   60|    628|  {									      \
  |  |   61|    628|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|    628|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 628]
  |  |  ------------------
  |  |   63|    628|      break;								      \
  |  |   64|    628|  }
  ------------------
 1076|    628|		STACK_PUSHX(stack, voidptr, result);
  ------------------
  |  |   60|    628|  {									      \
  |  |   61|    628|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|    628|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 628]
  |  |  ------------------
  |  |   63|    628|      break;								      \
  |  |   64|    628|  }
  ------------------
 1077|    628|		STACK_PUSHX(stack, int, PARSE_POST_CATENATION);
  ------------------
  |  |   60|    628|  {									      \
  |  |   61|    628|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|    628|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 628]
  |  |  ------------------
  |  |   63|    628|      break;								      \
  |  |   64|    628|  }
  ------------------
 1078|    628|		STACK_PUSHX(stack, int, PARSE_PIECE);
  ------------------
  |  |   60|    628|  {									      \
  |  |   61|    628|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|    628|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 628]
  |  |  ------------------
  |  |   63|    628|      break;								      \
  |  |   64|    628|  }
  ------------------
 1079|    628|	      }
 1080|    628|	    break;
 1081|    628|	  }
 1082|       |
 1083|    628|	case PARSE_POST_CATENATION:
  ------------------
  |  Branch (1083:2): [True: 628, False: 15.7k]
  ------------------
 1084|    628|	  {
 1085|    628|	    tre_ast_node_t *tree = tre_stack_pop_voidptr(stack);
 1086|    628|	    tre_ast_node_t *tmp_node;
 1087|    628|	    tmp_node = tre_ast_new_catenation(ctx->mem, tree, result);
 1088|    628|	    if (!tmp_node)
  ------------------
  |  Branch (1088:10): [True: 0, False: 628]
  ------------------
 1089|      0|	      return REG_ESPACE;
 1090|    628|	    result = tmp_node;
 1091|    628|	    break;
 1092|    628|	  }
 1093|       |
 1094|  1.62k|	case PARSE_UNION:
  ------------------
  |  Branch (1094:2): [True: 1.62k, False: 14.7k]
  ------------------
 1095|  1.62k|	  if (ctx->re >= ctx->re_end)
  ------------------
  |  Branch (1095:8): [True: 1.43k, False: 194]
  ------------------
 1096|  1.43k|	    break;
 1097|    194|#ifdef REG_LITERAL
 1098|    194|	  if (ctx->cflags & REG_LITERAL)
  ------------------
  |  |  105|    194|#define REG_LITERAL	(REG_NOSUB << 1)
  |  |  ------------------
  |  |  |  |  101|    194|#define REG_NOSUB	(REG_NEWLINE << 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|    194|#define REG_NEWLINE	(REG_ICASE << 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   99|    194|#define REG_ICASE	(REG_EXTENDED << 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   98|    194|#define REG_EXTENDED	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1098:8): [True: 0, False: 194]
  ------------------
 1099|      0|	    break;
 1100|    194|#endif /* REG_LITERAL */
 1101|    194|	  switch (*ctx->re)
 1102|    194|	    {
 1103|     29|	    case CHAR_PIPE:
  ------------------
  |  |   32|     29|#define CHAR_PIPE	   L'|'
  ------------------
  |  Branch (1103:6): [True: 29, False: 165]
  ------------------
 1104|     29|	      DPRINT(("tre_parse:	union: '%.*" STRF "'\n",
  ------------------
  |  |   27|     29|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 29]
  |  |  ------------------
  ------------------
 1105|     29|		      REST(ctx->re)));
 1106|     29|	      STACK_PUSHX(stack, int, PARSE_UNION);
  ------------------
  |  |   60|     29|  {									      \
  |  |   61|     29|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|     29|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 29]
  |  |  ------------------
  |  |   63|     29|      break;								      \
  |  |   64|     29|  }
  ------------------
 1107|     29|	      STACK_PUSHX(stack, voidptr, result);
  ------------------
  |  |   60|     29|  {									      \
  |  |   61|     29|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|     29|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 29]
  |  |  ------------------
  |  |   63|     29|      break;								      \
  |  |   64|     29|  }
  ------------------
 1108|     29|	      STACK_PUSHX(stack, int, PARSE_POST_UNION);
  ------------------
  |  |   60|     29|  {									      \
  |  |   61|     29|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|     29|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 29]
  |  |  ------------------
  |  |   63|     29|      break;								      \
  |  |   64|     29|  }
  ------------------
 1109|     29|	      STACK_PUSHX(stack, int, PARSE_BRANCH);
  ------------------
  |  |   60|     29|  {									      \
  |  |   61|     29|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|     29|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 29]
  |  |  ------------------
  |  |   63|     29|      break;								      \
  |  |   64|     29|  }
  ------------------
 1110|     29|	      ctx->re++;
 1111|     29|	      break;
 1112|       |
 1113|    165|	    case CHAR_RPAREN:
  ------------------
  |  |   34|    165|#define CHAR_RPAREN	   L')'
  ------------------
  |  Branch (1113:6): [True: 165, False: 29]
  ------------------
 1114|    165|	      ctx->re++;
 1115|    165|	      break;
 1116|       |
 1117|      0|	    default:
  ------------------
  |  Branch (1117:6): [True: 0, False: 194]
  ------------------
 1118|      0|	      break;
 1119|    194|	    }
 1120|    194|	  break;
 1121|       |
 1122|    194|	case PARSE_POST_UNION:
  ------------------
  |  Branch (1122:2): [True: 29, False: 16.3k]
  ------------------
 1123|     29|	  {
 1124|     29|	    tre_ast_node_t *tmp_node;
 1125|     29|	    tre_ast_node_t *tree = tre_stack_pop_voidptr(stack);
 1126|     29|	    tmp_node = tre_ast_new_union(ctx->mem, tree, result);
 1127|     29|	    if (!tmp_node)
  ------------------
  |  Branch (1127:10): [True: 0, False: 29]
  ------------------
 1128|      0|	      return REG_ESPACE;
 1129|     29|	    result = tmp_node;
 1130|     29|	    break;
 1131|     29|	  }
 1132|       |
 1133|  2.46k|	case PARSE_POSTFIX:
  ------------------
  |  Branch (1133:2): [True: 2.46k, False: 13.8k]
  ------------------
 1134|       |	  /* Parse postfix operators. */
 1135|  2.46k|	  if (ctx->re >= ctx->re_end)
  ------------------
  |  Branch (1135:8): [True: 1.43k, False: 1.03k]
  ------------------
 1136|  1.43k|	    break;
 1137|  1.03k|#ifdef REG_LITERAL
 1138|  1.03k|	  if (ctx->cflags & REG_LITERAL)
  ------------------
  |  |  105|  1.03k|#define REG_LITERAL	(REG_NOSUB << 1)
  |  |  ------------------
  |  |  |  |  101|  1.03k|#define REG_NOSUB	(REG_NEWLINE << 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|  1.03k|#define REG_NEWLINE	(REG_ICASE << 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   99|  1.03k|#define REG_ICASE	(REG_EXTENDED << 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   98|  1.03k|#define REG_EXTENDED	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1138:8): [True: 0, False: 1.03k]
  ------------------
 1139|      0|	    break;
 1140|  1.03k|#endif /* REG_LITERAL */
 1141|  1.03k|	  switch (*ctx->re)
  ------------------
  |  Branch (1141:12): [True: 238, False: 792]
  ------------------
 1142|  1.03k|	    {
 1143|    118|	    case CHAR_PLUS:
  ------------------
  |  |   42|    118|#define CHAR_PLUS	   L'+'
  ------------------
  |  Branch (1143:6): [True: 118, False: 912]
  ------------------
 1144|    118|	    case CHAR_QUESTIONMARK:
  ------------------
  |  |   41|    118|#define CHAR_QUESTIONMARK  L'?'
  ------------------
  |  Branch (1144:6): [True: 0, False: 1.03k]
  ------------------
 1145|    118|	      if (!(ctx->cflags & REG_EXTENDED))
  ------------------
  |  |   98|    118|#define REG_EXTENDED	1
  ------------------
  |  Branch (1145:12): [True: 0, False: 118]
  ------------------
 1146|      0|		break;
 1147|       |		/*FALLTHROUGH*/
 1148|    208|	    case CHAR_STAR:
  ------------------
  |  |   40|    208|#define CHAR_STAR	   L'*'
  ------------------
  |  Branch (1148:6): [True: 90, False: 940]
  ------------------
 1149|    208|	      {
 1150|    208|		tre_ast_node_t *tmp_node;
 1151|    208|		int minimal = (ctx->cflags & REG_UNGREEDY) ? 1 : 0;
  ------------------
  |  |  107|    208|#define REG_UNGREEDY    (REG_RIGHT_ASSOC << 1)
  |  |  ------------------
  |  |  |  |  106|    208|#define REG_RIGHT_ASSOC (REG_LITERAL << 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  105|    208|#define REG_LITERAL	(REG_NOSUB << 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  101|    208|#define REG_NOSUB	(REG_NEWLINE << 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  100|    208|#define REG_NEWLINE	(REG_ICASE << 1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   99|    208|#define REG_ICASE	(REG_EXTENDED << 1)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   98|    208|#define REG_EXTENDED	1
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1151:17): [True: 0, False: 208]
  ------------------
 1152|    208|		int rep_min = 0;
 1153|    208|		int rep_max = -1;
 1154|       |#ifdef TRE_DEBUG
 1155|       |		const tre_char_t *tmp_re;
 1156|       |#endif
 1157|       |
 1158|    208|		if (*ctx->re == CHAR_PLUS)
  ------------------
  |  |   42|    208|#define CHAR_PLUS	   L'+'
  ------------------
  |  Branch (1158:7): [True: 118, False: 90]
  ------------------
 1159|    118|		  rep_min = 1;
 1160|    208|		if (*ctx->re == CHAR_QUESTIONMARK)
  ------------------
  |  |   41|    208|#define CHAR_QUESTIONMARK  L'?'
  ------------------
  |  Branch (1160:7): [True: 0, False: 208]
  ------------------
 1161|      0|		  rep_max = 1;
 1162|       |#ifdef TRE_DEBUG
 1163|       |		tmp_re = ctx->re;
 1164|       |#endif
 1165|       |
 1166|    208|		if (ctx->re + 1 < ctx->re_end)
  ------------------
  |  Branch (1166:7): [True: 206, False: 2]
  ------------------
 1167|    206|		  {
 1168|    206|		    if (*(ctx->re + 1) == CHAR_QUESTIONMARK)
  ------------------
  |  |   41|    206|#define CHAR_QUESTIONMARK  L'?'
  ------------------
  |  Branch (1168:11): [True: 0, False: 206]
  ------------------
 1169|      0|		      {
 1170|      0|			minimal = !(ctx->cflags & REG_UNGREEDY);
  ------------------
  |  |  107|      0|#define REG_UNGREEDY    (REG_RIGHT_ASSOC << 1)
  |  |  ------------------
  |  |  |  |  106|      0|#define REG_RIGHT_ASSOC (REG_LITERAL << 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  105|      0|#define REG_LITERAL	(REG_NOSUB << 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  101|      0|#define REG_NOSUB	(REG_NEWLINE << 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  100|      0|#define REG_NEWLINE	(REG_ICASE << 1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   99|      0|#define REG_ICASE	(REG_EXTENDED << 1)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   98|      0|#define REG_EXTENDED	1
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1171|      0|			ctx->re++;
 1172|      0|		      }
 1173|    206|		    else if (*(ctx->re + 1) == CHAR_STAR
  ------------------
  |  |   40|    412|#define CHAR_STAR	   L'*'
  ------------------
  |  Branch (1173:16): [True: 0, False: 206]
  ------------------
 1174|    206|			     || *(ctx->re + 1) == CHAR_PLUS)
  ------------------
  |  |   42|    206|#define CHAR_PLUS	   L'+'
  ------------------
  |  Branch (1174:12): [True: 0, False: 206]
  ------------------
 1175|      0|		      {
 1176|       |			/* These are reserved for future extensions. */
 1177|      0|			return REG_BADRPT;
 1178|      0|		      }
 1179|    206|		  }
 1180|       |
 1181|    208|		DPRINT(("tre_parse: %s star: '%.*" STRF "'\n",
  ------------------
  |  |   27|    208|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 208]
  |  |  ------------------
  ------------------
 1182|    208|			minimal ? "  minimal" : "greedy", REST(tmp_re)));
 1183|    208|		ctx->re++;
 1184|    208|		tmp_node = tre_ast_new_iter(ctx->mem, result, rep_min, rep_max,
 1185|    208|					    minimal);
 1186|    208|		if (tmp_node == NULL)
  ------------------
  |  Branch (1186:7): [True: 0, False: 208]
  ------------------
 1187|      0|		  return REG_ESPACE;
 1188|    208|		result = tmp_node;
 1189|    208|		STACK_PUSHX(stack, int, PARSE_POSTFIX);
  ------------------
  |  |   60|    208|  {									      \
  |  |   61|    208|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|    208|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 208]
  |  |  ------------------
  |  |   63|    208|      break;								      \
  |  |   64|    208|  }
  ------------------
 1190|    208|	      }
 1191|      0|	      break;
 1192|       |
 1193|     30|	    case CHAR_BACKSLASH:
  ------------------
  |  |   49|     30|#define CHAR_BACKSLASH	   L'\\'
  ------------------
  |  Branch (1193:6): [True: 30, False: 1.00k]
  ------------------
 1194|       |	      /* "\{" is special without REG_EXTENDED */
 1195|     30|	      if (!(ctx->cflags & REG_EXTENDED)
  ------------------
  |  |   98|     30|#define REG_EXTENDED	1
  ------------------
  |  Branch (1195:12): [True: 0, False: 30]
  ------------------
 1196|      0|		  && ctx->re + 1 < ctx->re_end
  ------------------
  |  Branch (1196:8): [True: 0, False: 0]
  ------------------
 1197|      0|		  && *(ctx->re + 1) == CHAR_LBRACE)
  ------------------
  |  |   35|      0|#define CHAR_LBRACE	   L'{'
  ------------------
  |  Branch (1197:8): [True: 0, False: 0]
  ------------------
 1198|      0|		{
 1199|      0|		  ctx->re++;
 1200|      0|		  goto parse_brace;
 1201|      0|		}
 1202|     30|	      else
 1203|     30|		break;
 1204|       |
 1205|      0|	    case CHAR_LBRACE:
  ------------------
  |  |   35|      0|#define CHAR_LBRACE	   L'{'
  ------------------
  |  Branch (1205:6): [True: 0, False: 1.03k]
  ------------------
 1206|       |	      /* "{" is literal without REG_EXTENDED */
 1207|      0|	      if (!(ctx->cflags & REG_EXTENDED))
  ------------------
  |  |   98|      0|#define REG_EXTENDED	1
  ------------------
  |  Branch (1207:12): [True: 0, False: 0]
  ------------------
 1208|      0|		break;
 1209|       |
 1210|      0|	    parse_brace:
 1211|      0|	      DPRINT(("tre_parse:	bound: '%.*" STRF "'\n",
  ------------------
  |  |   27|      0|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1212|      0|		      REST(ctx->re)));
 1213|      0|	      ctx->re++;
 1214|       |
 1215|      0|	      status = tre_parse_bound(ctx, &result);
 1216|      0|	      if (status != REG_OK)
  ------------------
  |  Branch (1216:12): [True: 0, False: 0]
  ------------------
 1217|      0|		return status;
 1218|      0|	      STACK_PUSHX(stack, int, PARSE_POSTFIX);
  ------------------
  |  |   60|      0|  {									      \
  |  |   61|      0|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|      0|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   63|      0|      break;								      \
  |  |   64|      0|  }
  ------------------
 1219|      0|	      break;
 1220|  1.03k|	    }
 1221|  1.03k|	  break;
 1222|       |
 1223|  2.25k|	case PARSE_ATOM:
  ------------------
  |  Branch (1223:2): [True: 2.25k, False: 14.0k]
  ------------------
 1224|       |	  /* Parse an atom.  An atom is a regular expression enclosed in `()',
 1225|       |	     an empty set of `()', a bracket expression, `.', `^', `$',
 1226|       |	     a `\' followed by a character, or a single character. */
 1227|       |
 1228|       |	  /* End of regexp? (empty string). */
 1229|  2.25k|	  if (ctx->re >= ctx->re_end)
  ------------------
  |  Branch (1229:8): [True: 0, False: 2.25k]
  ------------------
 1230|      0|	    goto parse_literal;
 1231|       |
 1232|  2.25k|#ifdef REG_LITERAL
 1233|  2.25k|	  if (ctx->cflags & REG_LITERAL)
  ------------------
  |  |  105|  2.25k|#define REG_LITERAL	(REG_NOSUB << 1)
  |  |  ------------------
  |  |  |  |  101|  2.25k|#define REG_NOSUB	(REG_NEWLINE << 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|  2.25k|#define REG_NEWLINE	(REG_ICASE << 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   99|  2.25k|#define REG_ICASE	(REG_EXTENDED << 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   98|  2.25k|#define REG_EXTENDED	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1233:8): [True: 0, False: 2.25k]
  ------------------
 1234|      0|	    goto parse_literal;
 1235|  2.25k|#endif /* REG_LITERAL */
 1236|       |
 1237|  2.25k|	  switch (*ctx->re)
 1238|  2.25k|	    {
 1239|    165|	    case CHAR_LPAREN:  /* parenthesized subexpression */
  ------------------
  |  |   33|    165|#define CHAR_LPAREN	   L'('
  ------------------
  |  Branch (1239:6): [True: 165, False: 2.09k]
  ------------------
 1240|       |
 1241|       |	      /* Handle "(?...)" extensions.  They work in a way similar
 1242|       |		 to Perls corresponding extensions. */
 1243|    165|	      if (ctx->cflags & REG_EXTENDED
  ------------------
  |  |   98|    330|#define REG_EXTENDED	1
  ------------------
  |  Branch (1243:12): [True: 165, False: 0]
  ------------------
 1244|    165|		  && ctx->re + 1 < ctx->re_end
  ------------------
  |  Branch (1244:8): [True: 165, False: 0]
  ------------------
 1245|    165|		  && *(ctx->re + 1) == CHAR_QUESTIONMARK)
  ------------------
  |  |   41|    165|#define CHAR_QUESTIONMARK  L'?'
  ------------------
  |  Branch (1245:8): [True: 0, False: 165]
  ------------------
 1246|      0|		{
 1247|      0|		  int new_cflags = ctx->cflags;
 1248|      0|		  int bit = 1;
 1249|      0|		  DPRINT(("tre_parse:	extension: '%.*" STRF "\n",
  ------------------
  |  |   27|      0|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1250|      0|			  REST(ctx->re)));
 1251|      0|		  ctx->re += 2;
 1252|      0|		  while (/*CONSTCOND*/(void)1,1)
  ------------------
  |  Branch (1252:25): [True: 0, Folded]
  ------------------
 1253|      0|		    {
 1254|      0|		      if (ctx->re >= ctx->re_end)
  ------------------
  |  Branch (1254:13): [True: 0, False: 0]
  ------------------
 1255|      0|			return REG_BADPAT;
 1256|      0|		      if (*ctx->re == L'i')
  ------------------
  |  Branch (1256:13): [True: 0, False: 0]
  ------------------
 1257|      0|			{
 1258|      0|			  DPRINT(("tre_parse:	    icase: '%.*" STRF "\n",
  ------------------
  |  |   27|      0|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1259|      0|				  REST(ctx->re)));
 1260|      0|			  if (bit)
  ------------------
  |  Branch (1260:10): [True: 0, False: 0]
  ------------------
 1261|      0|			    new_cflags |= REG_ICASE;
  ------------------
  |  |   99|      0|#define REG_ICASE	(REG_EXTENDED << 1)
  |  |  ------------------
  |  |  |  |   98|      0|#define REG_EXTENDED	1
  |  |  ------------------
  ------------------
 1262|      0|			  else
 1263|      0|			    new_cflags &= ~REG_ICASE;
  ------------------
  |  |   99|      0|#define REG_ICASE	(REG_EXTENDED << 1)
  |  |  ------------------
  |  |  |  |   98|      0|#define REG_EXTENDED	1
  |  |  ------------------
  ------------------
 1264|      0|			  ctx->re++;
 1265|      0|			}
 1266|      0|		      else if (*ctx->re == L'n')
  ------------------
  |  Branch (1266:18): [True: 0, False: 0]
  ------------------
 1267|      0|			{
 1268|      0|			  DPRINT(("tre_parse:	  newline: '%.*" STRF "\n",
  ------------------
  |  |   27|      0|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1269|      0|				  REST(ctx->re)));
 1270|      0|			  if (bit)
  ------------------
  |  Branch (1270:10): [True: 0, False: 0]
  ------------------
 1271|      0|			    new_cflags |= REG_NEWLINE;
  ------------------
  |  |  100|      0|#define REG_NEWLINE	(REG_ICASE << 1)
  |  |  ------------------
  |  |  |  |   99|      0|#define REG_ICASE	(REG_EXTENDED << 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|      0|#define REG_EXTENDED	1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1272|      0|			  else
 1273|      0|			    new_cflags &= ~REG_NEWLINE;
  ------------------
  |  |  100|      0|#define REG_NEWLINE	(REG_ICASE << 1)
  |  |  ------------------
  |  |  |  |   99|      0|#define REG_ICASE	(REG_EXTENDED << 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|      0|#define REG_EXTENDED	1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1274|      0|			  ctx->re++;
 1275|      0|			}
 1276|      0|#ifdef REG_RIGHT_ASSOC
 1277|      0|		      else if (*ctx->re == L'r')
  ------------------
  |  Branch (1277:18): [True: 0, False: 0]
  ------------------
 1278|      0|			{
 1279|      0|			  DPRINT(("tre_parse: right assoc: '%.*" STRF "\n",
  ------------------
  |  |   27|      0|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1280|      0|				  REST(ctx->re)));
 1281|      0|			  if (bit)
  ------------------
  |  Branch (1281:10): [True: 0, False: 0]
  ------------------
 1282|      0|			    new_cflags |= REG_RIGHT_ASSOC;
  ------------------
  |  |  106|      0|#define REG_RIGHT_ASSOC (REG_LITERAL << 1)
  |  |  ------------------
  |  |  |  |  105|      0|#define REG_LITERAL	(REG_NOSUB << 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  101|      0|#define REG_NOSUB	(REG_NEWLINE << 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  100|      0|#define REG_NEWLINE	(REG_ICASE << 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   99|      0|#define REG_ICASE	(REG_EXTENDED << 1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   98|      0|#define REG_EXTENDED	1
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1283|      0|			  else
 1284|      0|			    new_cflags &= ~REG_RIGHT_ASSOC;
  ------------------
  |  |  106|      0|#define REG_RIGHT_ASSOC (REG_LITERAL << 1)
  |  |  ------------------
  |  |  |  |  105|      0|#define REG_LITERAL	(REG_NOSUB << 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  101|      0|#define REG_NOSUB	(REG_NEWLINE << 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  100|      0|#define REG_NEWLINE	(REG_ICASE << 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   99|      0|#define REG_ICASE	(REG_EXTENDED << 1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   98|      0|#define REG_EXTENDED	1
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1285|      0|			  ctx->re++;
 1286|      0|			}
 1287|      0|#endif /* REG_RIGHT_ASSOC */
 1288|      0|#ifdef REG_UNGREEDY
 1289|      0|		      else if (*ctx->re == L'U')
  ------------------
  |  Branch (1289:18): [True: 0, False: 0]
  ------------------
 1290|      0|			{
 1291|      0|			  DPRINT(("tre_parse:    ungreedy: '%.*" STRF "\n",
  ------------------
  |  |   27|      0|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1292|      0|				  REST(ctx->re)));
 1293|      0|			  if (bit)
  ------------------
  |  Branch (1293:10): [True: 0, False: 0]
  ------------------
 1294|      0|			    new_cflags |= REG_UNGREEDY;
  ------------------
  |  |  107|      0|#define REG_UNGREEDY    (REG_RIGHT_ASSOC << 1)
  |  |  ------------------
  |  |  |  |  106|      0|#define REG_RIGHT_ASSOC (REG_LITERAL << 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  105|      0|#define REG_LITERAL	(REG_NOSUB << 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  101|      0|#define REG_NOSUB	(REG_NEWLINE << 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  100|      0|#define REG_NEWLINE	(REG_ICASE << 1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   99|      0|#define REG_ICASE	(REG_EXTENDED << 1)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   98|      0|#define REG_EXTENDED	1
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1295|      0|			  else
 1296|      0|			    new_cflags &= ~REG_UNGREEDY;
  ------------------
  |  |  107|      0|#define REG_UNGREEDY    (REG_RIGHT_ASSOC << 1)
  |  |  ------------------
  |  |  |  |  106|      0|#define REG_RIGHT_ASSOC (REG_LITERAL << 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  105|      0|#define REG_LITERAL	(REG_NOSUB << 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  101|      0|#define REG_NOSUB	(REG_NEWLINE << 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  100|      0|#define REG_NEWLINE	(REG_ICASE << 1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   99|      0|#define REG_ICASE	(REG_EXTENDED << 1)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   98|      0|#define REG_EXTENDED	1
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1297|      0|			  ctx->re++;
 1298|      0|			}
 1299|      0|#endif /* REG_UNGREEDY */
 1300|      0|		      else if (*ctx->re == CHAR_MINUS)
  ------------------
  |  |   39|      0|#define CHAR_MINUS	   L'-'
  ------------------
  |  Branch (1300:18): [True: 0, False: 0]
  ------------------
 1301|      0|			{
 1302|      0|			  DPRINT(("tre_parse:	 turn off: '%.*" STRF "\n",
  ------------------
  |  |   27|      0|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1303|      0|				  REST(ctx->re)));
 1304|      0|			  ctx->re++;
 1305|      0|			  bit = 0;
 1306|      0|			}
 1307|      0|		      else if (*ctx->re == CHAR_COLON)
  ------------------
  |  |   44|      0|#define CHAR_COLON	   L':'
  ------------------
  |  Branch (1307:18): [True: 0, False: 0]
  ------------------
 1308|      0|			{
 1309|      0|			  DPRINT(("tre_parse:	 no group: '%.*" STRF "\n",
  ------------------
  |  |   27|      0|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1310|      0|				  REST(ctx->re)));
 1311|      0|			  ctx->re++;
 1312|      0|			  depth++;
 1313|      0|			  break;
 1314|      0|			}
 1315|      0|		      else if (*ctx->re == CHAR_HASH)
  ------------------
  |  |   50|      0|#define CHAR_HASH	   L'#'
  ------------------
  |  Branch (1315:18): [True: 0, False: 0]
  ------------------
 1316|      0|			{
 1317|      0|			  DPRINT(("tre_parse:    comment: '%.*" STRF "\n",
  ------------------
  |  |   27|      0|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1318|      0|				  REST(ctx->re)));
 1319|       |			  /* A comment can contain any character except a
 1320|       |			     right parenthesis */
 1321|      0|			  while (ctx->re < ctx->re_end
  ------------------
  |  Branch (1321:13): [True: 0, False: 0]
  ------------------
 1322|      0|				 && *ctx->re != CHAR_RPAREN)
  ------------------
  |  |   34|      0|#define CHAR_RPAREN	   L')'
  ------------------
  |  Branch (1322:9): [True: 0, False: 0]
  ------------------
 1323|      0|			    ctx->re++;
 1324|      0|			  if (ctx->re < ctx->re_end && *ctx->re == CHAR_RPAREN)
  ------------------
  |  |   34|      0|#define CHAR_RPAREN	   L')'
  ------------------
  |  Branch (1324:10): [True: 0, False: 0]
  |  Branch (1324:35): [True: 0, False: 0]
  ------------------
 1325|      0|			    {
 1326|      0|			      ctx->re++;
 1327|      0|			      break;
 1328|      0|			    }
 1329|      0|			  else
 1330|      0|			    return REG_BADPAT;
 1331|      0|			}
 1332|      0|		      else if (*ctx->re == CHAR_RPAREN)
  ------------------
  |  |   34|      0|#define CHAR_RPAREN	   L')'
  ------------------
  |  Branch (1332:18): [True: 0, False: 0]
  ------------------
 1333|      0|			{
 1334|      0|			  ctx->re++;
 1335|      0|			  break;
 1336|      0|			}
 1337|      0|		      else
 1338|      0|			return REG_BADPAT;
 1339|      0|		    }
 1340|       |
 1341|       |		  /* Turn on the cflags changes for the rest of the
 1342|       |		     enclosing group. */
 1343|      0|		  STACK_PUSHX(stack, int, ctx->cflags);
  ------------------
  |  |   60|      0|  {									      \
  |  |   61|      0|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|      0|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   63|      0|      break;								      \
  |  |   64|      0|  }
  ------------------
 1344|      0|		  STACK_PUSHX(stack, int, PARSE_RESTORE_CFLAGS);
  ------------------
  |  |   60|      0|  {									      \
  |  |   61|      0|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|      0|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   63|      0|      break;								      \
  |  |   64|      0|  }
  ------------------
 1345|      0|		  STACK_PUSHX(stack, int, PARSE_RE);
  ------------------
  |  |   60|      0|  {									      \
  |  |   61|      0|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|      0|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   63|      0|      break;								      \
  |  |   64|      0|  }
  ------------------
 1346|      0|		  ctx->cflags = new_cflags;
 1347|      0|		  break;
 1348|      0|		}
 1349|       |
 1350|    165|	      if (ctx->cflags & REG_EXTENDED
  ------------------
  |  |   98|    330|#define REG_EXTENDED	1
  ------------------
  |  Branch (1350:12): [True: 165, False: 0]
  ------------------
 1351|      0|		  || (ctx->re > ctx->re_start
  ------------------
  |  Branch (1351:9): [True: 0, False: 0]
  ------------------
 1352|      0|		      && *(ctx->re - 1) == CHAR_BACKSLASH))
  ------------------
  |  |   49|      0|#define CHAR_BACKSLASH	   L'\\'
  ------------------
  |  Branch (1352:12): [True: 0, False: 0]
  ------------------
 1353|    165|		{
 1354|    165|		  depth++;
 1355|    165|		  if (ctx->re + 2 < ctx->re_end
  ------------------
  |  Branch (1355:9): [True: 165, False: 0]
  ------------------
 1356|    165|		      && *(ctx->re + 1) == CHAR_QUESTIONMARK
  ------------------
  |  |   41|    330|#define CHAR_QUESTIONMARK  L'?'
  ------------------
  |  Branch (1356:12): [True: 0, False: 165]
  ------------------
 1357|      0|		      && *(ctx->re + 2) == CHAR_COLON)
  ------------------
  |  |   44|      0|#define CHAR_COLON	   L':'
  ------------------
  |  Branch (1357:12): [True: 0, False: 0]
  ------------------
 1358|      0|		    {
 1359|      0|		      DPRINT(("tre_parse: group begin: '%.*" STRF
  ------------------
  |  |   27|      0|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1360|      0|			      "', no submatch\n", REST(ctx->re)));
 1361|       |		      /* Don't mark for submatching. */
 1362|      0|		      ctx->re += 3;
 1363|      0|		      STACK_PUSHX(stack, int, PARSE_RE);
  ------------------
  |  |   60|      0|  {									      \
  |  |   61|      0|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|      0|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   63|      0|      break;								      \
  |  |   64|      0|  }
  ------------------
 1364|      0|		    }
 1365|    165|		  else
 1366|    165|		    {
 1367|    165|		      DPRINT(("tre_parse: group begin: '%.*" STRF
  ------------------
  |  |   27|    165|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 165]
  |  |  ------------------
  ------------------
 1368|    165|			      "', submatch %d\n", REST(ctx->re),
 1369|    165|			      ctx->submatch_id));
 1370|    165|		      ctx->re++;
 1371|       |		      /* First parse a whole RE, then mark the resulting tree
 1372|       |			 for submatching. */
 1373|    165|		      STACK_PUSHX(stack, int, ctx->submatch_id);
  ------------------
  |  |   60|    165|  {									      \
  |  |   61|    165|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|    165|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 165]
  |  |  ------------------
  |  |   63|    165|      break;								      \
  |  |   64|    165|  }
  ------------------
 1374|    165|		      STACK_PUSHX(stack, int, PARSE_MARK_FOR_SUBMATCH);
  ------------------
  |  |   60|    165|  {									      \
  |  |   61|    165|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|    165|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 165]
  |  |  ------------------
  |  |   63|    165|      break;								      \
  |  |   64|    165|  }
  ------------------
 1375|    165|		      STACK_PUSHX(stack, int, PARSE_RE);
  ------------------
  |  |   60|    165|  {									      \
  |  |   61|    165|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|    165|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 165]
  |  |  ------------------
  |  |   63|    165|      break;								      \
  |  |   64|    165|  }
  ------------------
 1376|    165|		      ctx->submatch_id++;
 1377|    165|		    }
 1378|    165|		}
 1379|      0|	      else
 1380|      0|		goto parse_literal;
 1381|    165|	      break;
 1382|       |
 1383|    165|	    case CHAR_RPAREN:  /* end of current subexpression */
  ------------------
  |  |   34|      0|#define CHAR_RPAREN	   L')'
  ------------------
  |  Branch (1383:6): [True: 0, False: 2.25k]
  ------------------
 1384|      0|	      if ((ctx->cflags & REG_EXTENDED && depth > 0)
  ------------------
  |  |   98|      0|#define REG_EXTENDED	1
  ------------------
  |  Branch (1384:13): [True: 0, False: 0]
  |  Branch (1384:43): [True: 0, False: 0]
  ------------------
 1385|      0|		  || (!(ctx->cflags & REG_EXTENDED) && ctx->re > ctx->re_start
  ------------------
  |  |   98|      0|#define REG_EXTENDED	1
  ------------------
  |  Branch (1385:9): [True: 0, False: 0]
  |  Branch (1385:42): [True: 0, False: 0]
  ------------------
 1386|      0|		      && *(ctx->re - 1) == CHAR_BACKSLASH))
  ------------------
  |  |   49|      0|#define CHAR_BACKSLASH	   L'\\'
  ------------------
  |  Branch (1386:12): [True: 0, False: 0]
  ------------------
 1387|      0|		{
 1388|      0|		  DPRINT(("tre_parse:	    empty: '%.*" STRF "'\n",
  ------------------
  |  |   27|      0|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1389|      0|			  REST(ctx->re)));
 1390|       |		  /* We were expecting an atom, but instead the current
 1391|       |		     subexpression was closed.	POSIX leaves the meaning of
 1392|       |		     this to be implementation-defined.	 We interpret this as
 1393|       |		     an empty expression (which matches an empty string).  */
 1394|      0|		  result = tre_ast_new_literal(ctx->mem, EMPTY, -1, -1);
  ------------------
  |  |   26|      0|#define EMPTY	  -1   /* Empty leaf (denotes empty string). */
  ------------------
 1395|      0|		  if (result == NULL)
  ------------------
  |  Branch (1395:9): [True: 0, False: 0]
  ------------------
 1396|      0|		    return REG_ESPACE;
 1397|      0|		  if (!(ctx->cflags & REG_EXTENDED))
  ------------------
  |  |   98|      0|#define REG_EXTENDED	1
  ------------------
  |  Branch (1397:9): [True: 0, False: 0]
  ------------------
 1398|      0|		    ctx->re--;
 1399|      0|		}
 1400|      0|	      else
 1401|      0|		goto parse_literal;
 1402|      0|	      break;
 1403|       |
 1404|  1.48k|	    case CHAR_LBRACKET: /* bracket expression */
  ------------------
  |  |   37|  1.48k|#define CHAR_LBRACKET	   L'['
  ------------------
  |  Branch (1404:6): [True: 1.48k, False: 769]
  ------------------
 1405|  1.48k|	      DPRINT(("tre_parse:     bracket: '%.*" STRF "'\n",
  ------------------
  |  |   27|  1.48k|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 1.48k]
  |  |  ------------------
  ------------------
 1406|  1.48k|		      REST(ctx->re)));
 1407|  1.48k|	      ctx->re++;
 1408|  1.48k|	      status = tre_parse_bracket(ctx, &result);
 1409|  1.48k|	      if (status != REG_OK)
  ------------------
  |  Branch (1409:12): [True: 0, False: 1.48k]
  ------------------
 1410|      0|		return status;
 1411|  1.48k|	      break;
 1412|       |
 1413|  1.48k|	    case CHAR_BACKSLASH:
  ------------------
  |  |   49|     34|#define CHAR_BACKSLASH	   L'\\'
  ------------------
  |  Branch (1413:6): [True: 34, False: 2.22k]
  ------------------
 1414|       |	      /* If this is "\(" or "\)" chew off the backslash and
 1415|       |		 try again. */
 1416|     34|	      if (!(ctx->cflags & REG_EXTENDED)
  ------------------
  |  |   98|     34|#define REG_EXTENDED	1
  ------------------
  |  Branch (1416:12): [True: 0, False: 34]
  ------------------
 1417|      0|		  && ctx->re + 1 < ctx->re_end
  ------------------
  |  Branch (1417:8): [True: 0, False: 0]
  ------------------
 1418|      0|		  && (*(ctx->re + 1) == CHAR_LPAREN
  ------------------
  |  |   33|      0|#define CHAR_LPAREN	   L'('
  ------------------
  |  Branch (1418:9): [True: 0, False: 0]
  ------------------
 1419|      0|		      || *(ctx->re + 1) == CHAR_RPAREN))
  ------------------
  |  |   34|      0|#define CHAR_RPAREN	   L')'
  ------------------
  |  Branch (1419:12): [True: 0, False: 0]
  ------------------
 1420|      0|		{
 1421|      0|		  ctx->re++;
 1422|      0|		  STACK_PUSHX(stack, int, PARSE_ATOM);
  ------------------
  |  |   60|      0|  {									      \
  |  |   61|      0|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|      0|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   63|      0|      break;								      \
  |  |   64|      0|  }
  ------------------
 1423|      0|		  break;
 1424|      0|		}
 1425|       |
 1426|       |	      /* If a macro is used, parse the expanded macro recursively. */
 1427|     34|	      {
 1428|     34|		tre_char_t buf[64];
 1429|     34|		tre_expand_macro(ctx->re + 1, ctx->re_end,
 1430|     34|				 buf, elementsof(buf));
  ------------------
  |  |   30|     34|#define elementsof(x)	( sizeof(x) / sizeof(x[0]) )
  ------------------
 1431|     34|		if (buf[0] != 0)
  ------------------
  |  Branch (1431:7): [True: 0, False: 34]
  ------------------
 1432|      0|		  {
 1433|      0|		    tre_parse_ctx_t subctx;
 1434|      0|		    memcpy(&subctx, ctx, sizeof(subctx));
 1435|      0|		    subctx.re = buf;
 1436|      0|		    subctx.len = tre_strlen(buf);
  ------------------
  |  |   97|      0|#define tre_strlen  wcslen
  ------------------
 1437|      0|		    subctx.nofirstsub = 1;
 1438|      0|		    status = tre_parse(&subctx);
 1439|      0|		    if (status != REG_OK)
  ------------------
  |  Branch (1439:11): [True: 0, False: 0]
  ------------------
 1440|      0|		      return status;
 1441|      0|		    ctx->re += 2;
 1442|      0|		    ctx->position = subctx.position;
 1443|      0|		    result = subctx.result;
 1444|      0|		    break;
 1445|      0|		  }
 1446|     34|	      }
 1447|       |
 1448|     34|	      if (ctx->re + 1 >= ctx->re_end)
  ------------------
  |  Branch (1448:12): [True: 0, False: 34]
  ------------------
 1449|       |		/* Trailing backslash. */
 1450|      0|		return REG_EESCAPE;
 1451|       |
 1452|     34|#ifdef REG_LITERAL
 1453|     34|	      if (*(ctx->re + 1) == L'Q')
  ------------------
  |  Branch (1453:12): [True: 0, False: 34]
  ------------------
 1454|      0|		{
 1455|      0|		  DPRINT(("tre_parse: tmp literal: '%.*" STRF "'\n",
  ------------------
  |  |   27|      0|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1456|      0|			  REST(ctx->re)));
 1457|      0|		  ctx->cflags |= REG_LITERAL;
  ------------------
  |  |  105|      0|#define REG_LITERAL	(REG_NOSUB << 1)
  |  |  ------------------
  |  |  |  |  101|      0|#define REG_NOSUB	(REG_NEWLINE << 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#define REG_NEWLINE	(REG_ICASE << 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   99|      0|#define REG_ICASE	(REG_EXTENDED << 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   98|      0|#define REG_EXTENDED	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1458|      0|		  temporary_cflags |= REG_LITERAL;
  ------------------
  |  |  105|      0|#define REG_LITERAL	(REG_NOSUB << 1)
  |  |  ------------------
  |  |  |  |  101|      0|#define REG_NOSUB	(REG_NEWLINE << 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|      0|#define REG_NEWLINE	(REG_ICASE << 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   99|      0|#define REG_ICASE	(REG_EXTENDED << 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   98|      0|#define REG_EXTENDED	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1459|      0|		  ctx->re += 2;
 1460|      0|		  STACK_PUSHX(stack, int, PARSE_ATOM);
  ------------------
  |  |   60|      0|  {									      \
  |  |   61|      0|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|      0|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   63|      0|      break;								      \
  |  |   64|      0|  }
  ------------------
 1461|      0|		  break;
 1462|      0|		}
 1463|     34|#endif /* REG_LITERAL */
 1464|       |
 1465|     34|	      DPRINT(("tre_parse:  bleep: '%.*" STRF "'\n", REST(ctx->re)));
  ------------------
  |  |   27|     34|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 34]
  |  |  ------------------
  ------------------
 1466|     34|	      ctx->re++;
 1467|     34|	      switch (*ctx->re)
 1468|     34|		{
 1469|      0|		case L'b':
  ------------------
  |  Branch (1469:3): [True: 0, False: 34]
  ------------------
 1470|      0|		  result = tre_ast_new_literal(ctx->mem, ASSERTION,
  ------------------
  |  |   27|      0|#define ASSERTION -2   /* Assertion leaf. */
  ------------------
 1471|      0|					       ASSERT_AT_WB, -1);
  ------------------
  |  |  216|      0|#define ASSERT_AT_WB		 64   /* Word boundary. */
  ------------------
 1472|      0|		  ctx->re++;
 1473|      0|		  break;
 1474|      0|		case L'B':
  ------------------
  |  Branch (1474:3): [True: 0, False: 34]
  ------------------
 1475|      0|		  result = tre_ast_new_literal(ctx->mem, ASSERTION,
  ------------------
  |  |   27|      0|#define ASSERTION -2   /* Assertion leaf. */
  ------------------
 1476|      0|					       ASSERT_AT_WB_NEG, -1);
  ------------------
  |  |  217|      0|#define ASSERT_AT_WB_NEG	128   /* Not a word boundary. */
  ------------------
 1477|      0|		  ctx->re++;
 1478|      0|		  break;
 1479|      0|		case L'<':
  ------------------
  |  Branch (1479:3): [True: 0, False: 34]
  ------------------
 1480|      0|		  result = tre_ast_new_literal(ctx->mem, ASSERTION,
  ------------------
  |  |   27|      0|#define ASSERTION -2   /* Assertion leaf. */
  ------------------
 1481|      0|					       ASSERT_AT_BOW, -1);
  ------------------
  |  |  214|      0|#define ASSERT_AT_BOW		 16   /* Beginning of word. */
  ------------------
 1482|      0|		  ctx->re++;
 1483|      0|		  break;
 1484|      0|		case L'>':
  ------------------
  |  Branch (1484:3): [True: 0, False: 34]
  ------------------
 1485|      0|		  result = tre_ast_new_literal(ctx->mem, ASSERTION,
  ------------------
  |  |   27|      0|#define ASSERTION -2   /* Assertion leaf. */
  ------------------
 1486|      0|					       ASSERT_AT_EOW, -1);
  ------------------
  |  |  215|      0|#define ASSERT_AT_EOW		 32   /* End of word. */
  ------------------
 1487|      0|		  ctx->re++;
 1488|      0|		  break;
 1489|      0|		case L'x':
  ------------------
  |  Branch (1489:3): [True: 0, False: 34]
  ------------------
 1490|      0|		  ctx->re++;
 1491|      0|		  if (ctx->re < ctx->re_end && ctx->re[0] != CHAR_LBRACE)
  ------------------
  |  |   35|      0|#define CHAR_LBRACE	   L'{'
  ------------------
  |  Branch (1491:9): [True: 0, False: 0]
  |  Branch (1491:34): [True: 0, False: 0]
  ------------------
 1492|      0|		    {
 1493|       |		      /* 8 bit hex char. */
 1494|      0|		      char tmp[3] = {0, 0, 0};
 1495|      0|		      long val;
 1496|      0|		      DPRINT(("tre_parse:  8 bit hex: '%.*" STRF "'\n",
  ------------------
  |  |   27|      0|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1497|      0|			      REST(ctx->re - 2)));
 1498|       |
 1499|      0|		      if (ctx->re < ctx->re_end && tre_isxdigit(ctx->re[0]))
  ------------------
  |  |   86|      0|#define tre_isxdigit iswxdigit
  ------------------
  |  Branch (1499:13): [True: 0, False: 0]
  |  Branch (1499:38): [True: 0, False: 0]
  ------------------
 1500|      0|			{
 1501|      0|			  tmp[0] = (char)ctx->re[0];
 1502|      0|			  ctx->re++;
 1503|      0|			}
 1504|      0|		      if (ctx->re < ctx->re_end && tre_isxdigit(ctx->re[0]))
  ------------------
  |  |   86|      0|#define tre_isxdigit iswxdigit
  ------------------
  |  Branch (1504:13): [True: 0, False: 0]
  |  Branch (1504:38): [True: 0, False: 0]
  ------------------
 1505|      0|			{
 1506|      0|			  tmp[1] = (char)ctx->re[0];
 1507|      0|			  ctx->re++;
 1508|      0|			}
 1509|      0|		      val = strtol(tmp, NULL, 16);
 1510|      0|		      result = tre_ast_new_literal(ctx->mem, (int)val,
 1511|      0|						   (int)val, ctx->position);
 1512|      0|		      ctx->position++;
 1513|      0|		      break;
 1514|      0|		    }
 1515|      0|		  else if (ctx->re < ctx->re_end)
  ------------------
  |  Branch (1515:14): [True: 0, False: 0]
  ------------------
 1516|      0|		    {
 1517|       |		      /* Wide char. */
 1518|      0|		      char tmp[32];
 1519|      0|		      long val;
 1520|      0|		      int i = 0;
 1521|      0|		      ctx->re++;
 1522|      0|		      while (ctx->re < ctx->re_end)
  ------------------
  |  Branch (1522:16): [True: 0, False: 0]
  ------------------
 1523|      0|			{
 1524|      0|			  if (ctx->re[0] == CHAR_RBRACE)
  ------------------
  |  |   36|      0|#define CHAR_RBRACE	   L'}'
  ------------------
  |  Branch (1524:10): [True: 0, False: 0]
  ------------------
 1525|      0|			    break;
 1526|      0|			  if (tre_isxdigit(ctx->re[0]))
  ------------------
  |  |   86|      0|#define tre_isxdigit iswxdigit
  ------------------
  |  Branch (1526:10): [True: 0, False: 0]
  ------------------
 1527|      0|			    {
 1528|      0|			      if (i >= (int)sizeof(tmp) - 1)
  ------------------
  |  Branch (1528:14): [True: 0, False: 0]
  ------------------
 1529|      0|				return REG_EBRACE;
 1530|      0|			      tmp[i] = (char)ctx->re[0];
 1531|      0|			      i++;
 1532|      0|			      ctx->re++;
 1533|      0|			      continue;
 1534|      0|			    }
 1535|      0|			  return REG_EBRACE;
 1536|      0|			}
 1537|      0|		      ctx->re++;
 1538|      0|		      tmp[i] = 0;
 1539|      0|		      val = strtol(tmp, NULL, 16);
 1540|      0|		      result = tre_ast_new_literal(ctx->mem, (int)val, (int)val,
 1541|      0|						   ctx->position);
 1542|      0|		      ctx->position++;
 1543|      0|		      break;
 1544|      0|		    }
 1545|       |		  /*FALLTHROUGH*/
 1546|       |
 1547|     34|		default:
  ------------------
  |  Branch (1547:3): [True: 34, False: 0]
  ------------------
 1548|     34|		  if (ctx->re >= ctx->re_end)
  ------------------
  |  Branch (1548:9): [True: 0, False: 34]
  ------------------
 1549|      0|		    return REG_EESCAPE;
 1550|     34|		  if (tre_isdigit(*ctx->re))
  ------------------
  |  |   79|     34|#define tre_isdigit iswdigit
  ------------------
  |  Branch (1550:9): [True: 0, False: 34]
  ------------------
 1551|      0|		    {
 1552|       |		      /* Back reference. */
 1553|      0|		      int val = *ctx->re - L'0';
 1554|      0|		      DPRINT(("tre_parse:     backref: '%.*" STRF "'\n",
  ------------------
  |  |   27|      0|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1555|      0|			      REST(ctx->re - 1)));
 1556|      0|		      result = tre_ast_new_literal(ctx->mem, BACKREF, val,
  ------------------
  |  |   29|      0|#define BACKREF	  -4   /* Back reference leaf. */
  ------------------
 1557|      0|						   ctx->position);
 1558|      0|		      if (result == NULL)
  ------------------
  |  Branch (1558:13): [True: 0, False: 0]
  ------------------
 1559|      0|			return REG_ESPACE;
 1560|      0|		      ctx->position++;
 1561|      0|		      ctx->max_backref = MAX(val, ctx->max_backref);
  ------------------
  |  |  169|      0|#define MAX(a, b) (((a) >= (b)) ? (a) : (b))
  |  |  ------------------
  |  |  |  Branch (169:20): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1562|      0|		      ctx->re++;
 1563|      0|		    }
 1564|     34|		  else
 1565|     34|		    {
 1566|       |		      /* Escaped character. */
 1567|     34|		      DPRINT(("tre_parse:     escaped: '%.*" STRF "'\n",
  ------------------
  |  |   27|     34|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 34]
  |  |  ------------------
  ------------------
 1568|     34|			      REST(ctx->re - 1)));
 1569|     34|		      result = tre_ast_new_literal(ctx->mem, *ctx->re, *ctx->re,
 1570|     34|						   ctx->position);
 1571|     34|		      ctx->position++;
 1572|     34|		      ctx->re++;
 1573|     34|		    }
 1574|     34|		  break;
 1575|     34|		}
 1576|     34|	      if (result == NULL)
  ------------------
  |  Branch (1576:12): [True: 0, False: 34]
  ------------------
 1577|      0|		return REG_ESPACE;
 1578|     34|	      break;
 1579|       |
 1580|     52|	    case CHAR_PERIOD:	 /* the any-symbol */
  ------------------
  |  |   43|     52|#define CHAR_PERIOD	   L'.'
  ------------------
  |  Branch (1580:6): [True: 52, False: 2.20k]
  ------------------
 1581|     52|	      DPRINT(("tre_parse:	  any: '%.*" STRF "'\n",
  ------------------
  |  |   27|     52|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 52]
  |  |  ------------------
  ------------------
 1582|     52|		      REST(ctx->re)));
 1583|     52|	      if (ctx->cflags & REG_NEWLINE)
  ------------------
  |  |  100|     52|#define REG_NEWLINE	(REG_ICASE << 1)
  |  |  ------------------
  |  |  |  |   99|     52|#define REG_ICASE	(REG_EXTENDED << 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|     52|#define REG_EXTENDED	1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1583:12): [True: 0, False: 52]
  ------------------
 1584|      0|		{
 1585|      0|		  tre_ast_node_t *tmp1;
 1586|      0|		  tre_ast_node_t *tmp2;
 1587|      0|		  tmp1 = tre_ast_new_literal(ctx->mem, 0, L'\n' - 1,
 1588|      0|					     ctx->position);
 1589|      0|		  if (!tmp1)
  ------------------
  |  Branch (1589:9): [True: 0, False: 0]
  ------------------
 1590|      0|		    return REG_ESPACE;
 1591|      0|		  tmp2 = tre_ast_new_literal(ctx->mem, L'\n' + 1, TRE_CHAR_MAX,
  ------------------
  |  |   64|      0|# define TRE_CHAR_MAX WCHAR_MAX
  ------------------
 1592|      0|					     ctx->position + 1);
 1593|      0|		  if (!tmp2)
  ------------------
  |  Branch (1593:9): [True: 0, False: 0]
  ------------------
 1594|      0|		    return REG_ESPACE;
 1595|      0|		  result = tre_ast_new_union(ctx->mem, tmp1, tmp2);
 1596|      0|		  if (!result)
  ------------------
  |  Branch (1596:9): [True: 0, False: 0]
  ------------------
 1597|      0|		    return REG_ESPACE;
 1598|      0|		  ctx->position += 2;
 1599|      0|		}
 1600|     52|	      else
 1601|     52|		{
 1602|     52|		  result = tre_ast_new_literal(ctx->mem, 0, TRE_CHAR_MAX,
  ------------------
  |  |   64|     52|# define TRE_CHAR_MAX WCHAR_MAX
  ------------------
 1603|     52|					       ctx->position);
 1604|     52|		  if (!result)
  ------------------
  |  Branch (1604:9): [True: 0, False: 52]
  ------------------
 1605|      0|		    return REG_ESPACE;
 1606|     52|		  ctx->position++;
 1607|     52|		}
 1608|     52|	      ctx->re++;
 1609|     52|	      break;
 1610|       |
 1611|     82|	    case CHAR_CARET:	 /* beginning of line assertion */
  ------------------
  |  |   47|     82|#define CHAR_CARET	   L'^'
  ------------------
  |  Branch (1611:6): [True: 82, False: 2.17k]
  ------------------
 1612|       |	      /* '^' has a special meaning everywhere in EREs, and in the
 1613|       |		 beginning of the RE and after \( is BREs. */
 1614|     82|	      if (ctx->cflags & REG_EXTENDED
  ------------------
  |  |   98|    164|#define REG_EXTENDED	1
  ------------------
  |  Branch (1614:12): [True: 82, False: 0]
  ------------------
 1615|      0|		  || (ctx->re - 2 >= ctx->re_start
  ------------------
  |  Branch (1615:9): [True: 0, False: 0]
  ------------------
 1616|      0|		      && *(ctx->re - 2) == CHAR_BACKSLASH
  ------------------
  |  |   49|      0|#define CHAR_BACKSLASH	   L'\\'
  ------------------
  |  Branch (1616:12): [True: 0, False: 0]
  ------------------
 1617|      0|		      && *(ctx->re - 1) == CHAR_LPAREN)
  ------------------
  |  |   33|      0|#define CHAR_LPAREN	   L'('
  ------------------
  |  Branch (1617:12): [True: 0, False: 0]
  ------------------
 1618|      0|		  || ctx->re == ctx->re_start)
  ------------------
  |  Branch (1618:8): [True: 0, False: 0]
  ------------------
 1619|     82|		{
 1620|     82|		  DPRINT(("tre_parse:	      BOL: '%.*" STRF "'\n",
  ------------------
  |  |   27|     82|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 82]
  |  |  ------------------
  ------------------
 1621|     82|			  REST(ctx->re)));
 1622|     82|		  result = tre_ast_new_literal(ctx->mem, ASSERTION,
  ------------------
  |  |   27|     82|#define ASSERTION -2   /* Assertion leaf. */
  ------------------
 1623|     82|					       ASSERT_AT_BOL, -1);
  ------------------
  |  |  210|     82|#define ASSERT_AT_BOL		  1   /* Beginning of line. */
  ------------------
 1624|     82|		  if (result == NULL)
  ------------------
  |  Branch (1624:9): [True: 0, False: 82]
  ------------------
 1625|      0|		    return REG_ESPACE;
 1626|     82|		  ctx->re++;
 1627|     82|		}
 1628|      0|	      else
 1629|      0|		goto parse_literal;
 1630|     82|	      break;
 1631|       |
 1632|     82|	    case CHAR_DOLLAR:	 /* end of line assertion. */
  ------------------
  |  |   48|     44|#define CHAR_DOLLAR	   L'$'
  ------------------
  |  Branch (1632:6): [True: 44, False: 2.21k]
  ------------------
 1633|       |	      /* '$' is special everywhere in EREs, and in the end of the
 1634|       |		 string and before \) is BREs. */
 1635|     44|	      if (ctx->cflags & REG_EXTENDED
  ------------------
  |  |   98|     88|#define REG_EXTENDED	1
  ------------------
  |  Branch (1635:12): [True: 44, False: 0]
  ------------------
 1636|      0|		  || (ctx->re + 2 < ctx->re_end
  ------------------
  |  Branch (1636:9): [True: 0, False: 0]
  ------------------
 1637|      0|		      && *(ctx->re + 1) == CHAR_BACKSLASH
  ------------------
  |  |   49|      0|#define CHAR_BACKSLASH	   L'\\'
  ------------------
  |  Branch (1637:12): [True: 0, False: 0]
  ------------------
 1638|      0|		      && *(ctx->re + 2) == CHAR_RPAREN)
  ------------------
  |  |   34|      0|#define CHAR_RPAREN	   L')'
  ------------------
  |  Branch (1638:12): [True: 0, False: 0]
  ------------------
 1639|      0|		  || ctx->re + 1 == ctx->re_end)
  ------------------
  |  Branch (1639:8): [True: 0, False: 0]
  ------------------
 1640|     44|		{
 1641|     44|		  DPRINT(("tre_parse:	      EOL: '%.*" STRF "'\n",
  ------------------
  |  |   27|     44|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 44]
  |  |  ------------------
  ------------------
 1642|     44|			  REST(ctx->re)));
 1643|     44|		  result = tre_ast_new_literal(ctx->mem, ASSERTION,
  ------------------
  |  |   27|     44|#define ASSERTION -2   /* Assertion leaf. */
  ------------------
 1644|     44|					       ASSERT_AT_EOL, -1);
  ------------------
  |  |  211|     44|#define ASSERT_AT_EOL		  2   /* End of line. */
  ------------------
 1645|     44|		  if (result == NULL)
  ------------------
  |  Branch (1645:9): [True: 0, False: 44]
  ------------------
 1646|      0|		    return REG_ESPACE;
 1647|     44|		  ctx->re++;
 1648|     44|		}
 1649|      0|	      else
 1650|      0|		goto parse_literal;
 1651|     44|	      break;
 1652|       |
 1653|    392|	    default:
  ------------------
  |  Branch (1653:6): [True: 392, False: 1.86k]
  ------------------
 1654|    392|	    parse_literal:
 1655|       |
 1656|    392|	      if (temporary_cflags && ctx->re + 1 < ctx->re_end
  ------------------
  |  Branch (1656:12): [True: 0, False: 392]
  |  Branch (1656:32): [True: 0, False: 0]
  ------------------
 1657|      0|		  && *ctx->re == CHAR_BACKSLASH && *(ctx->re + 1) == L'E')
  ------------------
  |  |   49|    392|#define CHAR_BACKSLASH	   L'\\'
  ------------------
  |  Branch (1657:8): [True: 0, False: 0]
  |  Branch (1657:38): [True: 0, False: 0]
  ------------------
 1658|      0|		{
 1659|      0|		  DPRINT(("tre_parse:	 end tmps: '%.*" STRF "'\n",
  ------------------
  |  |   27|      0|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1660|      0|			  REST(ctx->re)));
 1661|      0|		  ctx->cflags &= ~temporary_cflags;
 1662|      0|		  temporary_cflags = 0;
 1663|      0|		  ctx->re += 2;
 1664|      0|		  STACK_PUSHX(stack, int, PARSE_PIECE);
  ------------------
  |  |   60|      0|  {									      \
  |  |   61|      0|    status = tre_stack_push_ ## typetag(s, value);			      \
  |  |   62|      0|    if (status != REG_OK)						      \
  |  |  ------------------
  |  |  |  Branch (62:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   63|      0|      break;								      \
  |  |   64|      0|  }
  ------------------
 1665|      0|		  break;
 1666|      0|		}
 1667|       |
 1668|       |
 1669|       |	      /* We are expecting an atom.  If the subexpression (or the whole
 1670|       |		 regexp) ends here, we interpret it as an empty expression
 1671|       |		 (which matches an empty string).  */
 1672|    392|	      if (
 1673|    392|#ifdef REG_LITERAL
 1674|    392|		  !(ctx->cflags & REG_LITERAL) &&
  ------------------
  |  |  105|    392|#define REG_LITERAL	(REG_NOSUB << 1)
  |  |  ------------------
  |  |  |  |  101|    392|#define REG_NOSUB	(REG_NEWLINE << 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|    392|#define REG_NEWLINE	(REG_ICASE << 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   99|    392|#define REG_ICASE	(REG_EXTENDED << 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   98|    392|#define REG_EXTENDED	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1674:5): [True: 392, False: 0]
  ------------------
 1675|    392|#endif /* REG_LITERAL */
 1676|    392|		  (ctx->re >= ctx->re_end
  ------------------
  |  Branch (1676:6): [True: 0, False: 392]
  ------------------
 1677|    392|		   || *ctx->re == CHAR_STAR
  ------------------
  |  |   40|    784|#define CHAR_STAR	   L'*'
  ------------------
  |  Branch (1677:9): [True: 0, False: 392]
  ------------------
 1678|    392|		   || (ctx->cflags & REG_EXTENDED
  ------------------
  |  |   98|    784|#define REG_EXTENDED	1
  ------------------
  |  Branch (1678:10): [True: 392, False: 0]
  ------------------
 1679|    392|		       && (*ctx->re == CHAR_PIPE
  ------------------
  |  |   32|    784|#define CHAR_PIPE	   L'|'
  ------------------
  |  Branch (1679:14): [True: 0, False: 392]
  ------------------
 1680|    392|			   || *ctx->re == CHAR_LBRACE
  ------------------
  |  |   35|    784|#define CHAR_LBRACE	   L'{'
  ------------------
  |  Branch (1680:10): [True: 0, False: 392]
  ------------------
 1681|    392|			   || *ctx->re == CHAR_PLUS
  ------------------
  |  |   42|    784|#define CHAR_PLUS	   L'+'
  ------------------
  |  Branch (1681:10): [True: 0, False: 392]
  ------------------
 1682|    392|			   || *ctx->re == CHAR_QUESTIONMARK))
  ------------------
  |  |   41|    392|#define CHAR_QUESTIONMARK  L'?'
  ------------------
  |  Branch (1682:10): [True: 0, False: 392]
  ------------------
 1683|       |		   /* Test for "\)" in BRE mode. */
 1684|    392|		   || (!(ctx->cflags & REG_EXTENDED)
  ------------------
  |  |   98|    392|#define REG_EXTENDED	1
  ------------------
  |  Branch (1684:10): [True: 0, False: 392]
  ------------------
 1685|      0|		       && ctx->re + 1 < ctx->re_end
  ------------------
  |  Branch (1685:13): [True: 0, False: 0]
  ------------------
 1686|      0|		       && *ctx->re == CHAR_BACKSLASH
  ------------------
  |  |   49|    392|#define CHAR_BACKSLASH	   L'\\'
  ------------------
  |  Branch (1686:13): [True: 0, False: 0]
  ------------------
 1687|      0|		       && *(ctx->re + 1) == CHAR_LBRACE)))
  ------------------
  |  |   35|      0|#define CHAR_LBRACE	   L'{'
  ------------------
  |  Branch (1687:13): [True: 0, False: 0]
  ------------------
 1688|      0|		{
 1689|      0|		  DPRINT(("tre_parse:	    empty: '%.*" STRF "'\n",
  ------------------
  |  |   27|      0|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1690|      0|			  REST(ctx->re)));
 1691|      0|		  result = tre_ast_new_literal(ctx->mem, EMPTY, -1, -1);
  ------------------
  |  |   26|      0|#define EMPTY	  -1   /* Empty leaf (denotes empty string). */
  ------------------
 1692|      0|		  if (!result)
  ------------------
  |  Branch (1692:9): [True: 0, False: 0]
  ------------------
 1693|      0|		    return REG_ESPACE;
 1694|      0|		  break;
 1695|      0|		}
 1696|       |
 1697|       |/* R change */
 1698|    392|	      if ((ctx->cflags & REG_LITERAL)
  ------------------
  |  |  105|    392|#define REG_LITERAL	(REG_NOSUB << 1)
  |  |  ------------------
  |  |  |  |  101|    392|#define REG_NOSUB	(REG_NEWLINE << 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  100|    392|#define REG_NEWLINE	(REG_ICASE << 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   99|    392|#define REG_ICASE	(REG_EXTENDED << 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   98|    392|#define REG_EXTENDED	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1698:12): [True: 0, False: 392]
  ------------------
 1699|      0|		  && (ctx->re >= ctx->re_end || !ctx->re[0])) {
  ------------------
  |  Branch (1699:9): [True: 0, False: 0]
  |  Branch (1699:35): [True: 0, False: 0]
  ------------------
 1700|      0|		  DPRINT(("tre_parse:	    literal empty: '%.*" STRF "'\n",
  ------------------
  |  |   27|      0|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1701|      0|			  REST(ctx->re)));
 1702|      0|		  result = tre_ast_new_literal(ctx->mem, EMPTY, -1, -1);
  ------------------
  |  |   26|      0|#define EMPTY	  -1   /* Empty leaf (denotes empty string). */
  ------------------
 1703|      0|		  if (!result)
  ------------------
  |  Branch (1703:9): [True: 0, False: 0]
  ------------------
 1704|      0|		    return REG_ESPACE;
 1705|      0|		  break;
 1706|      0|	      }
 1707|       |/* end R change */
 1708|       |
 1709|    392|	      DPRINT(("tre_parse:     literal: '%.*" STRF "'\n",
  ------------------
  |  |   27|    392|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 392]
  |  |  ------------------
  ------------------
 1710|    392|		      REST(ctx->re)));
 1711|       |	      /* Note that we can't use an tre_isalpha() test here, since there
 1712|       |		 may be characters which are alphabetic but neither upper or
 1713|       |		 lower case. */
 1714|    392|	      if (ctx->cflags & REG_ICASE
  ------------------
  |  |   99|    784|#define REG_ICASE	(REG_EXTENDED << 1)
  |  |  ------------------
  |  |  |  |   98|    392|#define REG_EXTENDED	1
  |  |  ------------------
  ------------------
  |  Branch (1714:12): [True: 0, False: 392]
  ------------------
 1715|      0|		  && (tre_isupper(*ctx->re) || tre_islower(*ctx->re)))
  ------------------
  |  |   85|      0|#define tre_isupper iswupper
  ------------------
              		  && (tre_isupper(*ctx->re) || tre_islower(*ctx->re)))
  ------------------
  |  |   81|      0|#define tre_islower iswlower
  ------------------
  |  Branch (1715:9): [True: 0, False: 0]
  |  Branch (1715:34): [True: 0, False: 0]
  ------------------
 1716|      0|		{
 1717|      0|		  tre_ast_node_t *tmp1;
 1718|      0|		  tre_ast_node_t *tmp2;
 1719|       |
 1720|       |		  /* XXX - Can there be more than one opposite-case
 1721|       |		     counterpoints for some character in some locale?  Or
 1722|       |		     more than two characters which all should be regarded
 1723|       |		     the same character if case is ignored?  If yes, there
 1724|       |		     does not seem to be a portable way to detect it.  I guess
 1725|       |		     that at least for multi-character collating elements there
 1726|       |		     could be several opposite-case counterpoints, but they
 1727|       |		     cannot be supported portably anyway. */
 1728|      0|		  tmp1 = tre_ast_new_literal(ctx->mem, tre_toupper(*ctx->re),
  ------------------
  |  |   95|      0|#define tre_toupper towupper
  ------------------
 1729|      0|					     tre_toupper(*ctx->re),
  ------------------
  |  |   95|      0|#define tre_toupper towupper
  ------------------
 1730|      0|					     ctx->position);
 1731|      0|		  if (!tmp1)
  ------------------
  |  Branch (1731:9): [True: 0, False: 0]
  ------------------
 1732|      0|		    return REG_ESPACE;
 1733|      0|		  tmp2 = tre_ast_new_literal(ctx->mem, tre_tolower(*ctx->re),
  ------------------
  |  |   94|      0|#define tre_tolower towlower
  ------------------
 1734|      0|					     tre_tolower(*ctx->re),
  ------------------
  |  |   94|      0|#define tre_tolower towlower
  ------------------
 1735|      0|					     ctx->position);
 1736|      0|		  if (!tmp2)
  ------------------
  |  Branch (1736:9): [True: 0, False: 0]
  ------------------
 1737|      0|		    return REG_ESPACE;
 1738|      0|		  result = tre_ast_new_union(ctx->mem, tmp1, tmp2);
 1739|      0|		  if (!result)
  ------------------
  |  Branch (1739:9): [True: 0, False: 0]
  ------------------
 1740|      0|		    return REG_ESPACE;
 1741|      0|		}
 1742|    392|	      else
 1743|    392|		{
 1744|    392|		  result = tre_ast_new_literal(ctx->mem, *ctx->re, *ctx->re,
 1745|    392|					       ctx->position);
 1746|    392|		  if (!result)
  ------------------
  |  Branch (1746:9): [True: 0, False: 392]
  ------------------
 1747|      0|		    return REG_ESPACE;
 1748|    392|		}
 1749|    392|	      ctx->position++;
 1750|    392|	      ctx->re++;
 1751|    392|	      break;
 1752|  2.25k|	    }
 1753|  2.25k|	  break;
 1754|       |
 1755|  2.25k|	case PARSE_MARK_FOR_SUBMATCH:
  ------------------
  |  Branch (1755:2): [True: 1.59k, False: 14.7k]
  ------------------
 1756|  1.59k|	  {
 1757|  1.59k|	    int submatch_id = tre_stack_pop_int(stack);
 1758|       |
 1759|  1.59k|            if(result) {
  ------------------
  |  Branch (1759:16): [True: 1.59k, False: 0]
  ------------------
 1760|  1.59k|	      if (result->submatch_id >= 0)
  ------------------
  |  Branch (1760:12): [True: 29, False: 1.56k]
  ------------------
 1761|     29|	        {
 1762|     29|		  tre_ast_node_t *n, *tmp_node;
 1763|     29|		  n = tre_ast_new_literal(ctx->mem, EMPTY, -1, -1);
  ------------------
  |  |   26|     29|#define EMPTY	  -1   /* Empty leaf (denotes empty string). */
  ------------------
 1764|     29|		  if (n == NULL)
  ------------------
  |  Branch (1764:9): [True: 0, False: 29]
  ------------------
 1765|      0|		    return REG_ESPACE;
 1766|     29|		  tmp_node = tre_ast_new_catenation(ctx->mem, n, result);
 1767|     29|		  if (tmp_node == NULL)
  ------------------
  |  Branch (1767:9): [True: 0, False: 29]
  ------------------
 1768|      0|		    return REG_ESPACE;
 1769|     29|		  tmp_node->num_submatches = result->num_submatches;
 1770|     29|		  result = tmp_node;
 1771|     29|	        }
 1772|  1.59k|	      result->submatch_id = submatch_id;
 1773|  1.59k|	      result->num_submatches++;
 1774|  1.59k|	    }
 1775|  1.59k|	    break;
 1776|  1.59k|	  }
 1777|       |
 1778|  1.59k|	case PARSE_RESTORE_CFLAGS:
  ------------------
  |  Branch (1778:2): [True: 0, False: 16.3k]
  ------------------
 1779|      0|	  ctx->cflags = tre_stack_pop_int(stack);
 1780|      0|	  break;
 1781|       |
 1782|      0|	default:
  ------------------
  |  Branch (1782:2): [True: 0, False: 16.3k]
  ------------------
 1783|      0|	  assert(0);
  ------------------
  |  |   29|      0|#define assert(a) R_assert(a)
  |  |  ------------------
  |  |  |  |  230|      0|#define R_assert(e) ((e) ? (void) 0 : Rf_error("assertion '%s' failed in executing regexp: file '%s', line %d\n", #e, __FILE__, __LINE__))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (230:22): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1784|      0|	  break;
 1785|  16.3k|	}
 1786|  16.3k|    }
 1787|       |
 1788|       |  /* Check for missing closing parentheses. */
 1789|  1.43k|  if (depth > 0)
  ------------------
  |  Branch (1789:7): [True: 0, False: 1.43k]
  ------------------
 1790|      0|    return REG_EPAREN;
 1791|       |
 1792|  1.43k|  if (status == REG_OK)
  ------------------
  |  Branch (1792:7): [True: 1.43k, False: 0]
  ------------------
 1793|  1.43k|    ctx->result = result;
 1794|       |
 1795|  1.43k|  return status;
 1796|  1.43k|}
tre-parse.c:tre_parse_bracket:
  440|  1.48k|{
  441|  1.48k|  tre_ast_node_t *node = NULL;
  442|  1.48k|  int negate = 0;
  443|  1.48k|  reg_errcode_t status = REG_OK;
  444|  1.48k|  tre_ast_node_t **items, *u, *n;
  445|  1.48k|  int i = 0, j, max_i = 32, curr_max, curr_min;
  446|  1.48k|  tre_ctype_t neg_classes[MAX_NEG_CLASSES];
  447|  1.48k|  int num_neg_classes = 0;
  448|       |
  449|       |  /* Start off with an array of `max_i' elements. */
  450|  1.48k|  items = xmalloc(sizeof(*items) * max_i);
  ------------------
  |  |   67|  1.48k|#define xmalloc(size) malloc(size)
  ------------------
  451|  1.48k|  if (items == NULL)
  ------------------
  |  Branch (451:7): [True: 0, False: 1.48k]
  ------------------
  452|      0|    return REG_ESPACE;
  453|       |
  454|  1.48k|  if (ctx->re >= ctx->re_end)
  ------------------
  |  Branch (454:7): [True: 0, False: 1.48k]
  ------------------
  455|      0|    {
  456|      0|      xfree(items);
  ------------------
  |  |   69|      0|#define xfree(ptr) free(ptr)
  ------------------
  457|      0|      return REG_EBRACK;
  458|      0|    }
  459|       |
  460|  1.48k|  if (*ctx->re == CHAR_CARET)
  ------------------
  |  |   47|  1.48k|#define CHAR_CARET	   L'^'
  ------------------
  |  Branch (460:7): [True: 56, False: 1.43k]
  ------------------
  461|     56|    {
  462|     56|      DPRINT(("tre_parse_bracket: negate: '%.*" STRF "'\n", REST(ctx->re)));
  ------------------
  |  |   27|     56|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 56]
  |  |  ------------------
  ------------------
  463|     56|      negate = 1;
  464|     56|      ctx->re++;
  465|     56|    }
  466|       |
  467|  1.48k|  status = tre_parse_bracket_items(ctx, negate, neg_classes, &num_neg_classes,
  468|  1.48k|				   &items, &i, &max_i);
  469|       |
  470|  1.48k|  if (status != REG_OK)
  ------------------
  |  Branch (470:7): [True: 0, False: 1.48k]
  ------------------
  471|      0|    goto parse_bracket_done;
  472|       |
  473|       |  /* Sort the array if we need to negate it. */
  474|  1.48k|  if (negate)
  ------------------
  |  Branch (474:7): [True: 56, False: 1.43k]
  ------------------
  475|     56|    qsort(items, (unsigned)i, sizeof(*items), tre_compare_items);
  476|       |
  477|  1.48k|  curr_max = curr_min = 0;
  478|       |  /* Build a union of the items in the array, negated if necessary. */
  479|  29.0k|  for (j = 0; j < i && status == REG_OK; j++)
  ------------------
  |  Branch (479:15): [True: 27.5k, False: 1.48k]
  |  Branch (479:24): [True: 27.5k, False: 0]
  ------------------
  480|  27.5k|    {
  481|  27.5k|      int min, max;
  482|  27.5k|      tre_literal_t *l = items[j]->obj;
  483|  27.5k|      min = (int) l->code_min;
  484|  27.5k|      max = (int) l->code_max;
  485|       |
  486|  27.5k|      DPRINT(("item: %d - %d, class %p, curr_max = %d\n",
  ------------------
  |  |   27|  27.5k|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 27.5k]
  |  |  ------------------
  ------------------
  487|  27.5k|	      (int)l->code_min, (int)l->code_max, (void *)l->u.class, curr_max));
  488|       |
  489|  27.5k|      if (negate)
  ------------------
  |  Branch (489:11): [True: 56, False: 27.5k]
  ------------------
  490|     56|	{
  491|     56|	  if (min < curr_max)
  ------------------
  |  Branch (491:8): [True: 0, False: 56]
  ------------------
  492|      0|	    {
  493|       |	      /* Overlap. */
  494|      0|	      curr_max = MAX(max + 1, curr_max);
  ------------------
  |  |  169|      0|#define MAX(a, b) (((a) >= (b)) ? (a) : (b))
  |  |  ------------------
  |  |  |  Branch (169:20): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  495|      0|	      DPRINT(("overlap, curr_max = %d\n", curr_max));
  ------------------
  |  |   27|      0|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
  496|      0|	      l = NULL;
  497|      0|	    }
  498|     56|	  else
  499|     56|	    {
  500|       |	      /* No overlap. */
  501|     56|	      curr_max = min - 1;
  502|     56|	      if (curr_max >= curr_min)
  ------------------
  |  Branch (502:12): [True: 56, False: 0]
  ------------------
  503|     56|		{
  504|     56|		  DPRINT(("no overlap\n"));
  ------------------
  |  |   27|     56|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 56]
  |  |  ------------------
  ------------------
  505|     56|		  l->code_min = curr_min;
  506|     56|		  l->code_max = curr_max;
  507|     56|		}
  508|      0|	      else
  509|      0|		{
  510|      0|		  DPRINT(("no overlap, zero room\n"));
  ------------------
  |  |   27|      0|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
  511|      0|		  l = NULL;
  512|      0|		}
  513|     56|	      curr_min = curr_max = max + 1;
  514|     56|	    }
  515|     56|	}
  516|       |
  517|  27.5k|      if (l != NULL)
  ------------------
  |  Branch (517:11): [True: 27.5k, False: 0]
  ------------------
  518|  27.5k|	{
  519|  27.5k|	  int k;
  520|  27.5k|	  DPRINT(("creating %d - %d\n", (int)l->code_min, (int)l->code_max));
  ------------------
  |  |   27|  27.5k|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 27.5k]
  |  |  ------------------
  ------------------
  521|  27.5k|	  l->position = ctx->position;
  522|  27.5k|	  if (num_neg_classes > 0)
  ------------------
  |  Branch (522:8): [True: 0, False: 27.5k]
  ------------------
  523|      0|	    {
  524|      0|	      l->neg_classes = tre_mem_alloc(ctx->mem,
  ------------------
  |  |   40|      0|#define tre_mem_alloc(mem, size) tre_mem_alloc_impl(mem, 0, NULL, 0, size)
  ------------------
  525|      0|					     (sizeof(l->neg_classes)
  526|      0|					      * (num_neg_classes + 1)));
  527|      0|	      if (l->neg_classes == NULL)
  ------------------
  |  Branch (527:12): [True: 0, False: 0]
  ------------------
  528|      0|		{
  529|      0|		  status = REG_ESPACE;
  530|      0|		  break;
  531|      0|		}
  532|      0|	      for (k = 0; k < num_neg_classes; k++)
  ------------------
  |  Branch (532:20): [True: 0, False: 0]
  ------------------
  533|      0|		l->neg_classes[k] = neg_classes[k];
  534|      0|	      l->neg_classes[k] = (tre_ctype_t)0;
  535|      0|	    }
  536|  27.5k|	  else
  537|  27.5k|	    l->neg_classes = NULL;
  538|  27.5k|	  if (node == NULL)
  ------------------
  |  Branch (538:8): [True: 1.48k, False: 26.0k]
  ------------------
  539|  1.48k|	    node = items[j];
  540|  26.0k|	  else
  541|  26.0k|	    {
  542|  26.0k|	      u = tre_ast_new_union(ctx->mem, node, items[j]);
  543|  26.0k|	      if (u == NULL)
  ------------------
  |  Branch (543:12): [True: 0, False: 26.0k]
  ------------------
  544|      0|		status = REG_ESPACE;
  545|  26.0k|	      node = u;
  546|  26.0k|	    }
  547|  27.5k|	}
  548|  27.5k|    }
  549|       |
  550|  1.48k|  if (status != REG_OK)
  ------------------
  |  Branch (550:7): [True: 0, False: 1.48k]
  ------------------
  551|      0|    goto parse_bracket_done;
  552|       |
  553|  1.48k|  if (negate)
  ------------------
  |  Branch (553:7): [True: 56, False: 1.43k]
  ------------------
  554|     56|    {
  555|     56|      int k;
  556|     56|      DPRINT(("final: creating %d - %d\n", curr_min, (int)TRE_CHAR_MAX));
  ------------------
  |  |   27|     56|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 56]
  |  |  ------------------
  ------------------
  557|     56|      n = tre_ast_new_literal(ctx->mem, curr_min, TRE_CHAR_MAX, ctx->position);
  ------------------
  |  |   64|     56|# define TRE_CHAR_MAX WCHAR_MAX
  ------------------
  558|     56|      if (n == NULL)
  ------------------
  |  Branch (558:11): [True: 0, False: 56]
  ------------------
  559|      0|	status = REG_ESPACE;
  560|     56|      else
  561|     56|	{
  562|     56|	  tre_literal_t *l = n->obj;
  563|     56|	  if (num_neg_classes > 0)
  ------------------
  |  Branch (563:8): [True: 0, False: 56]
  ------------------
  564|      0|	    {
  565|      0|	      l->neg_classes = tre_mem_alloc(ctx->mem,
  ------------------
  |  |   40|      0|#define tre_mem_alloc(mem, size) tre_mem_alloc_impl(mem, 0, NULL, 0, size)
  ------------------
  566|      0|					     (sizeof(l->neg_classes)
  567|      0|					      * (num_neg_classes + 1)));
  568|      0|	      if (l->neg_classes == NULL)
  ------------------
  |  Branch (568:12): [True: 0, False: 0]
  ------------------
  569|      0|		{
  570|      0|		  status = REG_ESPACE;
  571|      0|		  goto parse_bracket_done;
  572|      0|		}
  573|      0|	      for (k = 0; k < num_neg_classes; k++)
  ------------------
  |  Branch (573:20): [True: 0, False: 0]
  ------------------
  574|      0|		l->neg_classes[k] = neg_classes[k];
  575|      0|	      l->neg_classes[k] = (tre_ctype_t)0;
  576|      0|	    }
  577|     56|	  else
  578|     56|	    l->neg_classes = NULL;
  579|     56|	  if (node == NULL)
  ------------------
  |  Branch (579:8): [True: 0, False: 56]
  ------------------
  580|      0|	    node = n;
  581|     56|	  else
  582|     56|	    {
  583|     56|	      u = tre_ast_new_union(ctx->mem, node, n);
  584|     56|	      if (u == NULL)
  ------------------
  |  Branch (584:12): [True: 0, False: 56]
  ------------------
  585|      0|		status = REG_ESPACE;
  586|     56|	      node = u;
  587|     56|	    }
  588|     56|	}
  589|     56|    }
  590|       |
  591|  1.48k|  if (status != REG_OK)
  ------------------
  |  Branch (591:7): [True: 0, False: 1.48k]
  ------------------
  592|      0|    goto parse_bracket_done;
  593|       |
  594|       |#ifdef TRE_DEBUG
  595|       |  tre_ast_print(node);
  596|       |#endif /* TRE_DEBUG */
  597|       |
  598|  1.48k| parse_bracket_done:
  599|  1.48k|  xfree(items);
  ------------------
  |  |   69|  1.48k|#define xfree(ptr) free(ptr)
  ------------------
  600|  1.48k|  ctx->position++;
  601|  1.48k|  *result = node;
  602|  1.48k|  return status;
  603|  1.48k|}
tre-parse.c:tre_parse_bracket_items:
  266|  1.48k|{
  267|  1.48k|  const tre_char_t *re = ctx->re;
  268|  1.48k|  reg_errcode_t status = REG_OK;
  269|  1.48k|  tre_ctype_t class = (tre_ctype_t)0;
  270|  1.48k|  int i = *num_items;
  271|  1.48k|  int max_i = *items_size;
  272|  1.48k|  int skip;
  273|       |
  274|       |  /* Build an array of the items in the bracket expression. */
  275|  29.0k|  while (status == REG_OK)
  ------------------
  |  Branch (275:10): [True: 29.0k, False: 0]
  ------------------
  276|  29.0k|    {
  277|  29.0k|      skip = 0;
  278|  29.0k|      if (re >= ctx->re_end)
  ------------------
  |  Branch (278:11): [True: 0, False: 29.0k]
  ------------------
  279|      0|	{
  280|      0|	  status = REG_EBRACK;
  281|      0|	}
  282|  29.0k|      else if (*re == CHAR_RBRACKET && re > ctx->re)
  ------------------
  |  |   38|  58.0k|#define CHAR_RBRACKET	   L']'
  ------------------
  |  Branch (282:16): [True: 1.48k, False: 27.5k]
  |  Branch (282:40): [True: 1.48k, False: 0]
  ------------------
  283|  1.48k|	{
  284|  1.48k|	  DPRINT(("tre_parse_bracket:	done: '%.*" STRF "'\n", REST(re)));
  ------------------
  |  |   27|  1.48k|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 1.48k]
  |  |  ------------------
  ------------------
  285|  1.48k|	  re++;
  286|  1.48k|	  break;
  287|  1.48k|	}
  288|  27.5k|      else
  289|  27.5k|	{
  290|  27.5k|	  tre_cint_t min = 0, max = 0;
  291|       |
  292|  27.5k|	  class = (tre_ctype_t)0;
  293|  27.5k|	  if (re + 2 < ctx->re_end
  ------------------
  |  Branch (293:8): [True: 26.2k, False: 1.27k]
  ------------------
  294|  26.2k|	      && *(re + 1) == CHAR_MINUS && *(re + 2) != CHAR_RBRACKET)
  ------------------
  |  |   39|  53.8k|#define CHAR_MINUS	   L'-'
  ------------------
              	      && *(re + 1) == CHAR_MINUS && *(re + 2) != CHAR_RBRACKET)
  ------------------
  |  |   38|     68|#define CHAR_RBRACKET	   L']'
  ------------------
  |  Branch (294:11): [True: 68, False: 26.2k]
  |  Branch (294:38): [True: 0, False: 68]
  ------------------
  295|      0|	    {
  296|      0|	      DPRINT(("tre_parse_bracket:  range: '%.*" STRF "'\n", REST(re)));
  ------------------
  |  |   27|      0|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
  297|      0|	      min = *re;
  298|      0|	      max = *(re + 2);
  299|      0|	      re += 3;
  300|       |	      /* XXX - Should use collation order instead of encoding values
  301|       |		 in character ranges. */
  302|      0|	      if (min > max)
  ------------------
  |  Branch (302:12): [True: 0, False: 0]
  ------------------
  303|      0|		status = REG_ERANGE;
  304|      0|	    }
  305|  27.5k|	  else if (re + 1 < ctx->re_end
  ------------------
  |  Branch (305:13): [True: 27.5k, False: 0]
  ------------------
  306|  27.5k|		   && *re == CHAR_LBRACKET && *(re + 1) == CHAR_PERIOD)
  ------------------
  |  |   37|  55.1k|#define CHAR_LBRACKET	   L'['
  ------------------
              		   && *re == CHAR_LBRACKET && *(re + 1) == CHAR_PERIOD)
  ------------------
  |  |   43|     96|#define CHAR_PERIOD	   L'.'
  ------------------
  |  Branch (306:9): [True: 96, False: 27.4k]
  |  Branch (306:33): [True: 0, False: 96]
  ------------------
  307|      0|	    status = REG_ECOLLATE;
  308|  27.5k|	  else if (re + 1 < ctx->re_end
  ------------------
  |  Branch (308:13): [True: 27.5k, False: 0]
  ------------------
  309|  27.5k|		   && *re == CHAR_LBRACKET && *(re + 1) == CHAR_EQUAL)
  ------------------
  |  |   37|  55.1k|#define CHAR_LBRACKET	   L'['
  ------------------
              		   && *re == CHAR_LBRACKET && *(re + 1) == CHAR_EQUAL)
  ------------------
  |  |   45|     96|#define CHAR_EQUAL	   L'='
  ------------------
  |  Branch (309:9): [True: 96, False: 27.4k]
  |  Branch (309:33): [True: 0, False: 96]
  ------------------
  310|      0|	    status = REG_ECOLLATE;
  311|  27.5k|	  else if (re + 1 < ctx->re_end
  ------------------
  |  Branch (311:13): [True: 27.5k, False: 0]
  ------------------
  312|  27.5k|		   && *re == CHAR_LBRACKET && *(re + 1) == CHAR_COLON)
  ------------------
  |  |   37|  55.1k|#define CHAR_LBRACKET	   L'['
  ------------------
              		   && *re == CHAR_LBRACKET && *(re + 1) == CHAR_COLON)
  ------------------
  |  |   44|     96|#define CHAR_COLON	   L':'
  ------------------
  |  Branch (312:9): [True: 96, False: 27.4k]
  |  Branch (312:33): [True: 96, False: 0]
  ------------------
  313|     96|	    {
  314|     96|	      char tmp_str[64];
  315|     96|	      const tre_char_t *endptr = re + 2;
  316|     96|	      size_t len;
  317|     96|	      DPRINT(("tre_parse_bracket:  class: '%.*" STRF "'\n", REST(re)));
  ------------------
  |  |   27|     96|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 96]
  |  |  ------------------
  ------------------
  318|    576|	      while (endptr < ctx->re_end && *endptr != CHAR_COLON)
  ------------------
  |  |   44|    576|#define CHAR_COLON	   L':'
  ------------------
  |  Branch (318:15): [True: 576, False: 0]
  |  Branch (318:39): [True: 480, False: 96]
  ------------------
  319|    480|		endptr++;
  320|     96|	      if (endptr != ctx->re_end)
  ------------------
  |  Branch (320:12): [True: 96, False: 0]
  ------------------
  321|     96|		{
  322|     96|		  len = MIN(endptr - re - 2, 63);
  ------------------
  |  |  170|     96|#define MIN(a, b) (((a) <= (b)) ? (a) : (b))
  |  |  ------------------
  |  |  |  Branch (170:20): [True: 96, False: 0]
  |  |  ------------------
  ------------------
  323|     96|#ifdef TRE_WCHAR
  324|     96|		  {
  325|     96|		    tre_char_t tmp_wcs[64];
  326|     96|		    wcsncpy(tmp_wcs, re + 2, len);
  327|     96|		    tmp_wcs[len] = L'\0';
  328|       |#if defined HAVE_WCSRTOMBS
  329|       |		    {
  330|       |		      mbstate_t state;
  331|       |		      const tre_char_t *src = tmp_wcs;
  332|       |		      memset(&state, '\0', sizeof(state));
  333|       |		      len = wcsrtombs(tmp_str, &src, sizeof(tmp_str), &state);
  334|       |		    }
  335|       |#elif defined HAVE_WCSTOMBS
  336|       |		    len = wcstombs(tmp_str, tmp_wcs, 63);
  337|     96|#endif /* defined HAVE_WCSTOMBS */
  338|     96|		  }
  339|       |#else /* !TRE_WCHAR */
  340|       |		  strncpy(tmp_str, (const char*)re + 2, len);
  341|       |#endif /* !TRE_WCHAR */
  342|       |		  /* wcsrtombs()/wcstombs() return (size_t)-1 if the class name
  343|       |		     contains characters that do not convert, and may return a
  344|       |		     length equal to the buffer size if it converts exactly.
  345|       |		     Either way tmp_str[len] would land outside tmp_str. */
  346|     96|		  if (len == (size_t)-1)
  ------------------
  |  Branch (346:9): [True: 0, False: 96]
  ------------------
  347|      0|		    len = 0;
  348|     96|		  else if (len >= sizeof(tmp_str))
  ------------------
  |  Branch (348:14): [True: 0, False: 96]
  ------------------
  349|      0|		    len = sizeof(tmp_str) - 1;
  350|     96|		  tmp_str[len] = '\0';
  351|     96|		  DPRINT(("  class name: %s\n", tmp_str));
  ------------------
  |  |   27|     96|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 96]
  |  |  ------------------
  ------------------
  352|     96|		  class = tre_ctype(tmp_str);
  ------------------
  |  |  140|     96|#define tre_ctype(s)   wctype(s)
  ------------------
  353|     96|		  if (!class)
  ------------------
  |  Branch (353:9): [True: 0, False: 96]
  ------------------
  354|      0|		    status = REG_ECTYPE;
  355|       |		  /* Optimize character classes for 8 bit character sets. */
  356|     96|		  if (status == REG_OK && ctx->cur_max == 1)
  ------------------
  |  Branch (356:9): [True: 96, False: 0]
  |  Branch (356:29): [True: 96, False: 0]
  ------------------
  357|     96|		    {
  358|     96|		      status = tre_expand_ctype(ctx->mem, class, items,
  359|     96|						&i, &max_i, ctx->cflags);
  360|     96|		      class = (tre_ctype_t)0;
  361|     96|		      skip = 1;
  362|     96|		    }
  363|     96|		  re = endptr + 2;
  364|     96|		}
  365|      0|	      else
  366|      0|		status = REG_ECTYPE;
  367|     96|	      min = 0;
  368|     96|	      max = TRE_CHAR_MAX;
  ------------------
  |  |   64|     96|# define TRE_CHAR_MAX WCHAR_MAX
  ------------------
  369|     96|	    }
  370|  27.4k|	  else
  371|  27.4k|	    {
  372|  27.4k|	      DPRINT(("tre_parse_bracket:   char: '%.*" STRF "'\n", REST(re)));
  ------------------
  |  |   27|  27.4k|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 27.4k]
  |  |  ------------------
  ------------------
  373|  27.4k|	      if (*re == CHAR_MINUS && re + 1 < ctx->re_end
  ------------------
  |  |   39|  54.9k|#define CHAR_MINUS	   L'-'
  ------------------
  |  Branch (373:12): [True: 1.30k, False: 26.1k]
  |  Branch (373:33): [True: 1.30k, False: 0]
  ------------------
  374|  1.30k|		  && *(re + 1) != CHAR_RBRACKET && ctx->re != re)
  ------------------
  |  |   38|  28.7k|#define CHAR_RBRACKET	   L']'
  ------------------
  |  Branch (374:8): [True: 1.23k, False: 68]
  |  Branch (374:38): [True: 0, False: 1.23k]
  ------------------
  375|       |		/* Two ranges are not allowed to share and endpoint. */
  376|      0|		status = REG_ERANGE;
  377|  27.4k|	      min = max = *re++;
  378|  27.4k|	    }
  379|       |
  380|  27.5k|	  if (status != REG_OK)
  ------------------
  |  Branch (380:8): [True: 0, False: 27.5k]
  ------------------
  381|      0|	    break;
  382|       |
  383|  27.5k|	  if (class && negate)
  ------------------
  |  Branch (383:8): [True: 0, False: 27.5k]
  |  Branch (383:17): [True: 0, False: 0]
  ------------------
  384|      0|	    if (*num_neg_classes >= MAX_NEG_CLASSES)
  ------------------
  |  |  254|      0|#define MAX_NEG_CLASSES 64
  ------------------
  |  Branch (384:10): [True: 0, False: 0]
  ------------------
  385|      0|	      status = REG_ESPACE;
  386|      0|	    else
  387|      0|	      neg_classes[(*num_neg_classes)++] = class;
  388|  27.5k|	  else if (!skip)
  ------------------
  |  Branch (388:13): [True: 27.4k, False: 96]
  ------------------
  389|  27.4k|	    {
  390|  27.4k|	      status = tre_new_item(ctx->mem, min, max, &i, &max_i, items);
  391|  27.4k|	      if (status != REG_OK)
  ------------------
  |  Branch (391:12): [True: 0, False: 27.4k]
  ------------------
  392|      0|		break;
  393|  27.4k|	      ((tre_literal_t*)((*items)[i-1])->obj)->u.class = class;
  394|  27.4k|	    }
  395|       |
  396|       |	  /* Add opposite-case counterpoints if REG_ICASE is present.
  397|       |	     This is broken if there are more than two "same" characters. */
  398|  27.5k|	  if (ctx->cflags & REG_ICASE && !class && status == REG_OK && !skip)
  ------------------
  |  |   99|  55.1k|#define REG_ICASE	(REG_EXTENDED << 1)
  |  |  ------------------
  |  |  |  |   98|  27.5k|#define REG_EXTENDED	1
  |  |  ------------------
  ------------------
  |  Branch (398:8): [True: 0, False: 27.5k]
  |  Branch (398:35): [True: 0, False: 0]
  |  Branch (398:45): [True: 0, False: 0]
  |  Branch (398:65): [True: 0, False: 0]
  ------------------
  399|      0|	    {
  400|      0|	      tre_cint_t cmin, ccurr;
  401|       |
  402|      0|	      DPRINT(("adding opposite-case counterpoints\n"));
  ------------------
  |  |   27|      0|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
  403|      0|	      while (min <= max)
  ------------------
  |  Branch (403:15): [True: 0, False: 0]
  ------------------
  404|      0|		{
  405|      0|		  if (tre_islower(min))
  ------------------
  |  |   81|      0|#define tre_islower iswlower
  ------------------
  |  Branch (405:9): [True: 0, False: 0]
  ------------------
  406|      0|		    {
  407|      0|		      cmin = ccurr = tre_toupper(min++);
  ------------------
  |  |   95|      0|#define tre_toupper towupper
  ------------------
  408|      0|		      while (tre_islower(min) && tre_toupper(min) == ccurr + 1
  ------------------
  |  |   81|      0|#define tre_islower iswlower
  ------------------
              		      while (tre_islower(min) && tre_toupper(min) == ccurr + 1
  ------------------
  |  |   95|      0|#define tre_toupper towupper
  ------------------
  |  Branch (408:16): [True: 0, False: 0]
  |  Branch (408:36): [True: 0, False: 0]
  ------------------
  409|      0|			     && min <= max)
  ------------------
  |  Branch (409:12): [True: 0, False: 0]
  ------------------
  410|      0|			ccurr = tre_toupper(min++);
  ------------------
  |  |   95|      0|#define tre_toupper towupper
  ------------------
  411|      0|		      status = tre_new_item(ctx->mem, cmin, ccurr,
  412|      0|					    &i, &max_i, items);
  413|      0|		    }
  414|      0|		  else if (tre_isupper(min))
  ------------------
  |  |   85|      0|#define tre_isupper iswupper
  ------------------
  |  Branch (414:14): [True: 0, False: 0]
  ------------------
  415|      0|		    {
  416|      0|		      cmin = ccurr = tre_tolower(min++);
  ------------------
  |  |   94|      0|#define tre_tolower towlower
  ------------------
  417|      0|		      while (tre_isupper(min) && tre_tolower(min) == ccurr + 1
  ------------------
  |  |   85|      0|#define tre_isupper iswupper
  ------------------
              		      while (tre_isupper(min) && tre_tolower(min) == ccurr + 1
  ------------------
  |  |   94|      0|#define tre_tolower towlower
  ------------------
  |  Branch (417:16): [True: 0, False: 0]
  |  Branch (417:36): [True: 0, False: 0]
  ------------------
  418|      0|			     && min <= max)
  ------------------
  |  Branch (418:12): [True: 0, False: 0]
  ------------------
  419|      0|			ccurr = tre_tolower(min++);
  ------------------
  |  |   94|      0|#define tre_tolower towlower
  ------------------
  420|      0|		      status = tre_new_item(ctx->mem, cmin, ccurr,
  421|      0|					    &i, &max_i, items);
  422|      0|		    }
  423|      0|		  else min++;
  424|      0|		  if (status != REG_OK)
  ------------------
  |  Branch (424:9): [True: 0, False: 0]
  ------------------
  425|      0|		    break;
  426|      0|		}
  427|      0|	      if (status != REG_OK)
  ------------------
  |  Branch (427:12): [True: 0, False: 0]
  ------------------
  428|      0|		break;
  429|      0|	    }
  430|  27.5k|	}
  431|  29.0k|    }
  432|  1.48k|  *num_items = i;
  433|  1.48k|  *items_size = max_i;
  434|  1.48k|  ctx->re = re;
  435|  1.48k|  return status;
  436|  1.48k|}
tre-parse.c:tre_expand_ctype:
  129|     96|{
  130|     96|  reg_errcode_t status = REG_OK;
  131|     96|  tre_cint_t c;
  132|     96|  int j, min = -1, max = 0;
  133|       |  //assert(TRE_MB_CUR_MAX == 1); It is the ctx->cur_max that matters
  134|       |
  135|     96|  DPRINT(("  expanding class to character ranges\n"));
  ------------------
  |  |   27|     96|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 96]
  |  |  ------------------
  ------------------
  136|  24.6k|  for (j = 0; (j < 256) && (status == REG_OK); j++)
  ------------------
  |  Branch (136:15): [True: 24.5k, False: 96]
  |  Branch (136:28): [True: 24.5k, False: 0]
  ------------------
  137|  24.5k|    {
  138|  24.5k|      c = (tre_cint_t) j;
  139|  24.5k|      if (tre_isctype(c, class)
  ------------------
  |  |  139|  49.1k|#define tre_isctype(c, type) iswctype(c, type)
  |  |  ------------------
  |  |  |  Branch (139:30): [True: 1.04k, False: 23.5k]
  |  |  ------------------
  ------------------
  140|  23.5k|	  || ((cflags & REG_ICASE)
  ------------------
  |  |   99|  23.5k|#define REG_ICASE	(REG_EXTENDED << 1)
  |  |  ------------------
  |  |  |  |   98|  23.5k|#define REG_EXTENDED	1
  |  |  ------------------
  ------------------
  |  Branch (140:8): [True: 0, False: 23.5k]
  ------------------
  141|      0|	      && (tre_isctype(tre_tolower(c), class)
  ------------------
  |  |  139|      0|#define tre_isctype(c, type) iswctype(c, type)
  |  |  ------------------
  |  |  |  Branch (139:30): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  142|      0|		  || tre_isctype(tre_toupper(c), class))))
  ------------------
  |  |  139|      0|#define tre_isctype(c, type) iswctype(c, type)
  |  |  ------------------
  |  |  |  Branch (139:30): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  143|  1.04k|{
  144|  1.04k|	  if (min < 0)
  ------------------
  |  Branch (144:8): [True: 102, False: 946]
  ------------------
  145|    102|	    min = c;
  146|  1.04k|	  max = c;
  147|  1.04k|	}
  148|  23.5k|      else if (min >= 0)
  ------------------
  |  Branch (148:16): [True: 102, False: 23.4k]
  ------------------
  149|    102|	{
  150|    102|	  DPRINT(("  range %c (%d) to %c (%d)\n", min, min, max, max));
  ------------------
  |  |   27|    102|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 102]
  |  |  ------------------
  ------------------
  151|    102|	  status = tre_new_item(mem, min, max, i, max_i, items);
  152|    102|	  min = -1;
  153|    102|	}
  154|  24.5k|    }
  155|     96|  if (min >= 0 && status == REG_OK)
  ------------------
  |  Branch (155:7): [True: 0, False: 96]
  |  Branch (155:19): [True: 0, False: 0]
  ------------------
  156|      0|    status = tre_new_item(mem, min, max, i, max_i, items);
  157|     96|  return status;
  158|     96|}
tre-parse.c:tre_new_item:
   99|  27.5k|{
  100|  27.5k|  reg_errcode_t status;
  101|  27.5k|  tre_ast_node_t **array = *items;
  102|       |  /* Allocate more space if necessary. */
  103|  27.5k|  if (*i >= *max_i)
  ------------------
  |  Branch (103:7): [True: 0, False: 27.5k]
  ------------------
  104|      0|    {
  105|      0|      tre_ast_node_t **new_items;
  106|      0|      DPRINT(("out of array space, i = %d\n", *i));
  ------------------
  |  |   27|      0|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
  107|       |      /* If the array is already 1024 items large, give up -- there's
  108|       |	 probably an error in the regexp (e.g. not a '\0' terminated
  109|       |	 string and missing ']') */
  110|      0|      if (*max_i > 1024)
  ------------------
  |  Branch (110:11): [True: 0, False: 0]
  ------------------
  111|      0|	return REG_ESPACE;
  112|      0|      *max_i *= 2;
  113|      0|      new_items = xrealloc(array, sizeof(*items) * *max_i);
  ------------------
  |  |   70|      0|#define xrealloc(ptr, new_size) realloc(ptr, new_size)
  ------------------
  114|      0|      if (new_items == NULL)
  ------------------
  |  Branch (114:11): [True: 0, False: 0]
  ------------------
  115|      0|	return REG_ESPACE;
  116|      0|      *items = array = new_items;
  117|      0|    }
  118|  27.5k|  array[*i] = tre_ast_new_literal(mem, min, max, -1);
  119|  27.5k|  status = array[*i] == NULL ? REG_ESPACE : REG_OK;
  ------------------
  |  Branch (119:12): [True: 0, False: 27.5k]
  ------------------
  120|  27.5k|  (*i)++;
  121|  27.5k|  return status;
  122|  27.5k|}
tre-parse.c:tre_expand_macro:
   73|     34|{
   74|     34|  int i;
   75|       |
   76|     34|  buf[0] = 0;
   77|     34|  if (regex >= regex_end)
  ------------------
  |  Branch (77:7): [True: 0, False: 34]
  ------------------
   78|      0|    return;
   79|       |
   80|    442|  for (i = 0; tre_macros[i].expansion; i++)
  ------------------
  |  Branch (80:15): [True: 408, False: 34]
  ------------------
   81|    408|    {
   82|    408|      if (tre_macros[i].c == *regex)
  ------------------
  |  Branch (82:11): [True: 0, False: 408]
  ------------------
   83|      0|	{
   84|      0|	  unsigned int j;
   85|      0|	  DPRINT(("Expanding macro '%c' => '%s'\n",
  ------------------
  |  |   27|      0|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
   86|      0|		  tre_macros[i].c, tre_macros[i].expansion));
   87|       |	  // R_change:  - 1 is r62537
   88|      0|	  for (j = 0; tre_macros[i].expansion[j] && j < buf_len - 1; j++)
  ------------------
  |  Branch (88:16): [True: 0, False: 0]
  |  Branch (88:46): [True: 0, False: 0]
  ------------------
   89|      0|	    buf[j] = tre_macros[i].expansion[j];
   90|      0|	  buf[j] = 0;
   91|      0|	  break;
   92|      0|	}
   93|    408|    }
   94|     34|}

tre_stack_new:
   37|  4.29k|{
   38|  4.29k|  tre_stack_t *s;
   39|       |
   40|  4.29k|  s = xmalloc(sizeof(*s));
  ------------------
  |  |   67|  4.29k|#define xmalloc(size) malloc(size)
  ------------------
   41|  4.29k|  if (s != NULL)
  ------------------
  |  Branch (41:7): [True: 4.29k, False: 0]
  ------------------
   42|  4.29k|    {
   43|  4.29k|      s->stack = xmalloc(sizeof(*s->stack) * size);
  ------------------
  |  |   67|  4.29k|#define xmalloc(size) malloc(size)
  ------------------
   44|  4.29k|      if (s->stack == NULL)
  ------------------
  |  Branch (44:11): [True: 0, False: 4.29k]
  ------------------
   45|      0|	{
   46|      0|	  xfree(s);
  ------------------
  |  |   69|      0|#define xfree(ptr) free(ptr)
  ------------------
   47|      0|	  return NULL;
   48|      0|	}
   49|  4.29k|      s->size = size;
   50|  4.29k|      s->max_size = max_size;
   51|  4.29k|      s->increment = increment;
   52|  4.29k|      s->ptr = 0;
   53|  4.29k|    }
   54|  4.29k|  return s;
   55|  4.29k|}
tre_stack_destroy:
   59|  4.29k|{
   60|  4.29k|  xfree(s->stack);
  ------------------
  |  |   69|  4.29k|#define xfree(ptr) free(ptr)
  ------------------
   61|  4.29k|  xfree(s);
  ------------------
  |  |   69|  4.29k|#define xfree(ptr) free(ptr)
  ------------------
   62|  4.29k|}
tre_stack_num_objects:
   66|   575k|{
   67|   575k|  return s->ptr;
   68|   575k|}
tre_stack_push_int:
  110|   560k|  declare_pushf(typetag, type) {     \
  111|   560k|    union tre_stack_item item;	     \
  112|   560k|    item.typetag ## _value = value;  \
  113|   560k|    return tre_stack_push(s, item);  \
  114|   560k|}
tre_stack_push_voidptr:
  110|   625k|  declare_pushf(typetag, type) {     \
  111|   625k|    union tre_stack_item item;	     \
  112|   625k|    item.typetag ## _value = value;  \
  113|   625k|    return tre_stack_push(s, item);  \
  114|   625k|}
tre_stack_pop_int:
  120|   560k|  declare_popf(typetag, type) {			    \
  121|   560k|    return s->stack[--s->ptr].typetag ## _value;    \
  122|   560k|  }
tre_stack_pop_voidptr:
  120|   625k|  declare_popf(typetag, type) {			    \
  121|   625k|    return s->stack[--s->ptr].typetag ## _value;    \
  122|   625k|  }
tre-stack.c:tre_stack_push:
   72|  1.18M|{
   73|  1.18M|  if (s->ptr < s->size)
  ------------------
  |  Branch (73:7): [True: 1.18M, False: 0]
  ------------------
   74|  1.18M|    {
   75|  1.18M|      s->stack[s->ptr] = value;
   76|  1.18M|      s->ptr++;
   77|  1.18M|    }
   78|      0|  else
   79|      0|    {
   80|      0|      if (s->size >= s->max_size)
  ------------------
  |  Branch (80:11): [True: 0, False: 0]
  ------------------
   81|      0|	{
   82|      0|	  DPRINT(("tre_stack_push: stack full\n"));
  ------------------
  |  |   27|      0|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
   83|      0|	  return REG_ESPACE;
   84|      0|	}
   85|      0|      else
   86|      0|	{
   87|      0|	  union tre_stack_item *new_buffer;
   88|      0|	  int new_size;
   89|      0|	  DPRINT(("tre_stack_push: trying to realloc more space\n"));
  ------------------
  |  |   27|      0|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
   90|      0|	  new_size = s->size + s->increment;
   91|      0|	  if (new_size > s->max_size)
  ------------------
  |  Branch (91:8): [True: 0, False: 0]
  ------------------
   92|      0|	    new_size = s->max_size;
   93|      0|	  new_buffer = xrealloc(s->stack, sizeof(*new_buffer) * new_size);
  ------------------
  |  |   70|      0|#define xrealloc(ptr, new_size) realloc(ptr, new_size)
  ------------------
   94|      0|	  if (new_buffer == NULL)
  ------------------
  |  Branch (94:8): [True: 0, False: 0]
  ------------------
   95|      0|	    {
   96|      0|	      DPRINT(("tre_stack_push: realloc failed.\n"));
  ------------------
  |  |   27|      0|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
   97|      0|	      return REG_ESPACE;
   98|      0|	    }
   99|      0|	  DPRINT(("tre_stack_push: realloc succeeded.\n"));
  ------------------
  |  |   27|      0|#define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0)
  |  |  ------------------
  |  |  |  Branch (27:47): [Folded, False: 0]
  |  |  ------------------
  ------------------
  100|      0|	  assert(new_size > s->size);
  ------------------
  |  |   19|      0|#define assert(a) R_assert(a)
  |  |  ------------------
  |  |  |  |  230|      0|#define R_assert(e) ((e) ? (void) 0 : Rf_error("assertion '%s' failed in executing regexp: file '%s', line %d\n", #e, __FILE__, __LINE__))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (230:22): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  101|      0|	  s->size = new_size;
  102|      0|	  s->stack = new_buffer;
  103|      0|	  tre_stack_push(s, value);
  104|      0|	}
  105|      0|    }
  106|  1.18M|  return REG_OK;
  107|  1.18M|}

Rf_allocVector:
  608|  47.0M|{
  609|  47.0M|    return allocVector3(type, length, NULL);
  ------------------
  |  |  876|  47.0M|#define allocVector3		Rf_allocVector3
  ------------------
  610|  47.0M|}
CHKVEC:
  109|   210M|/*HIDDEN (inlining)*/ INLINE_FUN void CHKVEC(SEXP x) {
  110|   210M|    switch (TYPEOF(x)) {
  111|      0|    case CHARSXP:
  ------------------
  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  ------------------
  |  Branch (111:5): [True: 0, False: 210M]
  ------------------
  112|  12.2M|    case LGLSXP:
  ------------------
  |  |  121|  12.2M|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (112:5): [True: 12.2M, False: 198M]
  ------------------
  113|   133M|    case INTSXP:
  ------------------
  |  |  123|   133M|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (113:5): [True: 121M, False: 88.8M]
  ------------------
  114|   137M|    case REALSXP:
  ------------------
  |  |  124|   137M|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (114:5): [True: 3.21M, False: 207M]
  ------------------
  115|   137M|    case CPLXSXP:
  ------------------
  |  |  125|   137M|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (115:5): [True: 4, False: 210M]
  ------------------
  116|   155M|    case STRSXP:
  ------------------
  |  |  126|   155M|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (116:5): [True: 18.0M, False: 192M]
  ------------------
  117|   210M|    case VECSXP:
  ------------------
  |  |  131|   210M|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (117:5): [True: 55.3M, False: 155M]
  ------------------
  118|   210M|    case EXPRSXP:
  ------------------
  |  |  132|   210M|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (118:5): [True: 60, False: 210M]
  ------------------
  119|   210M|    case RAWSXP:
  ------------------
  |  |  136|   210M|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (119:5): [True: 7.31k, False: 210M]
  ------------------
  120|   210M|    case WEAKREFSXP:
  ------------------
  |  |  135|   210M|#define WEAKREFSXP  23    /* weak reference */
  ------------------
  |  Branch (120:5): [True: 0, False: 210M]
  ------------------
  121|   210M|	break;
  122|      0|    default:
  ------------------
  |  Branch (122:5): [True: 0, False: 210M]
  ------------------
  123|      0|	error("cannot get data pointer of '%s' objects", R_typeToChar(x));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  124|   210M|    }
  125|   210M|}
DATAPTR:
  130|   167M|INLINE_FUN void *DATAPTR(SEXP x) {
  131|   167M|    CHKVEC(x);
  132|   167M|    if (ALTREP(x))
  ------------------
  |  Branch (132:9): [True: 372, False: 167M]
  ------------------
  133|    372|	return ALTVEC_DATAPTR(x);
  134|   167M|#ifdef CATCH_ZERO_LENGTH_ACCESS
  135|       |    /* Attempts to read or write elements of a zero length vector will
  136|       |       result in a segfault, rather than read and write random memory.
  137|       |       Returning NULL would be more natural, but Matrix seems to assume
  138|       |       that even zero-length vectors have non-NULL data pointers, so
  139|       |       return (void *) 1 instead. Zero-length CHARSXP objects still
  140|       |       have a trailing zero byte so they are not handled. */
  141|   167M|    else if (STDVEC_LENGTH(x) == 0 && TYPEOF(x) != CHARSXP)
  ------------------
  |  |  120|  11.7k|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  ------------------
  |  Branch (141:14): [True: 11.7k, False: 167M]
  |  Branch (141:39): [True: 11.7k, False: 0]
  ------------------
  142|  11.7k|	return (void *) 1;
  143|   167M|#endif
  144|   167M|    else
  145|   167M|	return STDVEC_DATAPTR(x);
  146|   167M|}
DATAPTR_RO:
  148|  42.8M|INLINE_FUN const void *DATAPTR_RO(SEXP x) {
  149|  42.8M|    CHKVEC(x);
  150|  42.8M|    if (ALTREP(x))
  ------------------
  |  Branch (150:9): [True: 11.3k, False: 42.8M]
  ------------------
  151|  11.3k|	return ALTVEC_DATAPTR_RO(x);
  152|  42.8M|    else
  153|  42.8M|	return STDVEC_DATAPTR(x);
  154|  42.8M|}
DATAPTR_OR_NULL:
  156|  8.73k|INLINE_FUN const void *DATAPTR_OR_NULL(SEXP x) {
  157|  8.73k|    CHKVEC(x);
  158|  8.73k|    if (ALTREP(x))
  ------------------
  |  Branch (158:9): [True: 104, False: 8.63k]
  ------------------
  159|    104|	return ALTVEC_DATAPTR_OR_NULL(x);
  160|  8.63k|    else
  161|  8.63k|	return STDVEC_DATAPTR(x);
  162|  8.73k|}
INTEGER_OR_NULL:
  194|    104|INLINE_FUN const int *INTEGER_OR_NULL(SEXP x) {
  195|    104|    CHECK_VECTOR_INT(x);
  ------------------
  |  |  168|    104|# define CHECK_VECTOR_INT(x) do {				\
  |  |  169|    104|	if (! (TYPEOF(x) == INTSXP || TYPEOF(x) == LGLSXP))	\
  |  |  ------------------
  |  |  |  |  123|    208|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	if (! (TYPEOF(x) == INTSXP || TYPEOF(x) == LGLSXP))	\
  |  |  ------------------
  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  ------------------
  |  |  |  Branch (169:9): [True: 104, False: 0]
  |  |  |  Branch (169:32): [True: 0, False: 0]
  |  |  ------------------
  |  |  170|    104|	    error("bad INTSXP vector");				\
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |  171|    104|    } while (0)
  |  |  ------------------
  |  |  |  Branch (171:14): [Folded, False: 104]
  |  |  ------------------
  ------------------
  196|    104|    return ALTREP(x) ? ALTVEC_DATAPTR_OR_NULL(x) : STDVEC_DATAPTR(x);
  ------------------
  |  Branch (196:12): [True: 104, False: 0]
  ------------------
  197|    104|}
XLENGTH_EX:
  215|   664M|{
  216|   664M|    return ALTREP(x) ? ALTREP_LENGTH(x) : STDVEC_LENGTH(x);
  ------------------
  |  Branch (216:12): [True: 223k, False: 664M]
  ------------------
  217|   664M|}
XTRUELENGTH:
  220|  21.4M|{
  221|  21.4M|    return ALTREP(x) ? ALTREP_TRUELENGTH(x) : STDVEC_TRUELENGTH(x);
  ------------------
  |  Branch (221:12): [True: 1.32k, False: 21.4M]
  ------------------
  222|  21.4M|}
LENGTH_EX:
  225|  85.9M|{
  226|  85.9M|    if (x == R_NilValue) return 0;
  ------------------
  |  Branch (226:9): [True: 0, False: 85.9M]
  ------------------
  227|  85.9M|    R_xlen_t len = XLENGTH(x);
  228|  85.9M|#ifdef LONG_VECTOR_SUPPORT
  229|  85.9M|    if (len > R_SHORT_LEN_MAX)
  ------------------
  |  |   77|  85.9M|# define R_SHORT_LEN_MAX 2147483647
  ------------------
  |  Branch (229:9): [True: 0, False: 85.9M]
  ------------------
  230|      0|	R_BadLongVector(x, file, line);
  231|  85.9M|#endif
  232|  85.9M|    return (int) len;
  233|  85.9M|}
LOGICAL0:
  333|  3.37M|/*HIDDEN (inlining)*/ INLINE_FUN int *LOGICAL0(SEXP x) {
  334|  3.37M|    CHECK_STDVEC_LGL(x);
  ------------------
  |  |  236|  3.37M|# define CHECK_STDVEC_LGL(x) do {				\
  |  |  237|  3.37M|	CHECK_VECTOR_LGL(x);					\
  |  |  ------------------
  |  |  |  |  165|  3.37M|# define CHECK_VECTOR_LGL(x) do {				\
  |  |  |  |  166|  3.37M|	if (TYPEOF(x) != LGLSXP) error("bad LGLSXP vector");	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  121|  3.37M|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  ------------------
  |  |  |  |               	if (TYPEOF(x) != LGLSXP) error("bad LGLSXP vector");	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (166:6): [True: 0, False: 3.37M]
  |  |  |  |  ------------------
  |  |  |  |  167|  3.37M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (167:14): [Folded, False: 3.37M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  238|  3.37M|	if (ALTREP(x)) error("bad standard LGLSXP vector");	\
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |  |  Branch (238:6): [True: 0, False: 3.37M]
  |  |  ------------------
  |  |  239|  3.37M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (239:14): [Folded, False: 3.37M]
  |  |  ------------------
  ------------------
  335|  3.37M|    return (int *) STDVEC_DATAPTR(x);
  336|  3.37M|}
SCALAR_LVAL:
  338|  7.89M|HIDDEN INLINE_FUN int SCALAR_LVAL(SEXP x) {
  339|  7.89M|    CHECK_SCALAR_LGL(x);
  ------------------
  |  |  257|  7.89M|# define CHECK_SCALAR_LGL(x) do {				\
  |  |  258|  7.89M|	CHECK_VECTOR_LGL(x);					\
  |  |  ------------------
  |  |  |  |  165|  7.89M|# define CHECK_VECTOR_LGL(x) do {				\
  |  |  |  |  166|  7.89M|	if (TYPEOF(x) != LGLSXP) error("bad LGLSXP vector");	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  121|  7.89M|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  ------------------
  |  |  |  |               	if (TYPEOF(x) != LGLSXP) error("bad LGLSXP vector");	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (166:6): [True: 0, False: 7.89M]
  |  |  |  |  ------------------
  |  |  |  |  167|  7.89M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (167:14): [Folded, False: 7.89M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  259|  7.89M|	if (XLENGTH(x) != 1) error("bad LGLSXP scalar");	\
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |  |  Branch (259:6): [True: 0, False: 7.89M]
  |  |  ------------------
  |  |  260|  7.89M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (260:14): [Folded, False: 7.89M]
  |  |  ------------------
  ------------------
  340|  7.89M|    return LOGICAL(x)[0];
  341|  7.89M|}
INTEGER0:
  348|  10.3M|/*HIDDEN (inlining)*/ INLINE_FUN int *INTEGER0(SEXP x) {
  349|  10.3M|    CHECK_STDVEC_INT(x);
  ------------------
  |  |  240|  10.3M|# define CHECK_STDVEC_INT(x) do {				\
  |  |  241|  10.3M|	CHECK_VECTOR_INT(x);					\
  |  |  ------------------
  |  |  |  |  168|  10.3M|# define CHECK_VECTOR_INT(x) do {				\
  |  |  |  |  169|  10.3M|	if (! (TYPEOF(x) == INTSXP || TYPEOF(x) == LGLSXP))	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  123|  20.6M|#define INTSXP	    13	  /* integer vectors */
  |  |  |  |  ------------------
  |  |  |  |               	if (! (TYPEOF(x) == INTSXP || TYPEOF(x) == LGLSXP))	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (169:9): [True: 10.3M, False: 0]
  |  |  |  |  |  Branch (169:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  170|  10.3M|	    error("bad INTSXP vector");				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  ------------------
  |  |  |  |  171|  10.3M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (171:14): [Folded, False: 10.3M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  242|  10.3M|	if (ALTREP(x)) error("bad standard INTSXP vector");	\
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |  |  Branch (242:6): [True: 0, False: 10.3M]
  |  |  ------------------
  |  |  243|  10.3M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (243:14): [Folded, False: 10.3M]
  |  |  ------------------
  ------------------
  350|  10.3M|    return (int *) STDVEC_DATAPTR(x);
  351|  10.3M|}
SCALAR_IVAL:
  352|  6.39M|HIDDEN INLINE_FUN int SCALAR_IVAL(SEXP x) {
  353|  6.39M|    CHECK_SCALAR_INT(x);
  ------------------
  |  |  261|  6.39M|# define CHECK_SCALAR_INT(x) do {				\
  |  |  262|  6.39M|	CHECK_VECTOR_INT(x);					\
  |  |  ------------------
  |  |  |  |  168|  6.39M|# define CHECK_VECTOR_INT(x) do {				\
  |  |  |  |  169|  6.39M|	if (! (TYPEOF(x) == INTSXP || TYPEOF(x) == LGLSXP))	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  123|  12.7M|#define INTSXP	    13	  /* integer vectors */
  |  |  |  |  ------------------
  |  |  |  |               	if (! (TYPEOF(x) == INTSXP || TYPEOF(x) == LGLSXP))	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (169:9): [True: 6.39M, False: 0]
  |  |  |  |  |  Branch (169:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  170|  6.39M|	    error("bad INTSXP vector");				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  ------------------
  |  |  |  |  171|  6.39M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (171:14): [Folded, False: 6.39M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  263|  6.39M|	if (XLENGTH(x) != 1) error("bad INTSXP scalar");	\
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |  |  Branch (263:6): [True: 0, False: 6.39M]
  |  |  ------------------
  |  |  264|  6.39M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (264:14): [Folded, False: 6.39M]
  |  |  ------------------
  ------------------
  354|  6.39M|    return INTEGER(x)[0];
  355|  6.39M|}
SET_SCALAR_IVAL:
  356|  8.49M|/*HIDDEN (inlining)*/ INLINE_FUN void SET_SCALAR_IVAL(SEXP x, int v) {
  357|  8.49M|    CHECK_SCALAR_INT(x);
  ------------------
  |  |  261|  8.49M|# define CHECK_SCALAR_INT(x) do {				\
  |  |  262|  8.49M|	CHECK_VECTOR_INT(x);					\
  |  |  ------------------
  |  |  |  |  168|  8.49M|# define CHECK_VECTOR_INT(x) do {				\
  |  |  |  |  169|  8.49M|	if (! (TYPEOF(x) == INTSXP || TYPEOF(x) == LGLSXP))	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  123|  16.9M|#define INTSXP	    13	  /* integer vectors */
  |  |  |  |  ------------------
  |  |  |  |               	if (! (TYPEOF(x) == INTSXP || TYPEOF(x) == LGLSXP))	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (169:9): [True: 8.49M, False: 0]
  |  |  |  |  |  Branch (169:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  170|  8.49M|	    error("bad INTSXP vector");				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  ------------------
  |  |  |  |  171|  8.49M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (171:14): [Folded, False: 8.49M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  263|  8.49M|	if (XLENGTH(x) != 1) error("bad INTSXP scalar");	\
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |  |  Branch (263:6): [True: 0, False: 8.49M]
  |  |  ------------------
  |  |  264|  8.49M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (264:14): [Folded, False: 8.49M]
  |  |  ------------------
  ------------------
  358|  8.49M|    INTEGER(x)[0] = v;
  359|  8.49M|}
REAL0:
  361|  5.37M|/*HIDDEN*/ INLINE_FUN double *REAL0(SEXP x) {
  362|  5.37M|    CHECK_STDVEC_REAL(x);
  ------------------
  |  |  244|  5.37M|# define CHECK_STDVEC_REAL(x) do {				\
  |  |  245|  5.37M|	CHECK_VECTOR_REAL(x);					\
  |  |  ------------------
  |  |  |  |  172|  5.37M|# define CHECK_VECTOR_REAL(x) do {				\
  |  |  |  |  173|  5.37M|	if (TYPEOF(x) != REALSXP) error("bad REALSXP vector");	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  124|  5.37M|#define REALSXP	    14	  /* real variables */
  |  |  |  |  ------------------
  |  |  |  |               	if (TYPEOF(x) != REALSXP) error("bad REALSXP vector");	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (173:6): [True: 0, False: 5.37M]
  |  |  |  |  ------------------
  |  |  |  |  174|  5.37M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (174:14): [Folded, False: 5.37M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  246|  5.37M|	if (ALTREP(x)) error("bad standard REALSXP vector");	\
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |  |  Branch (246:6): [True: 0, False: 5.37M]
  |  |  ------------------
  |  |  247|  5.37M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (247:14): [Folded, False: 5.37M]
  |  |  ------------------
  ------------------
  363|  5.37M|    return (double *) STDVEC_DATAPTR(x);
  364|  5.37M|}
SCALAR_DVAL:
  365|  16.6k|HIDDEN INLINE_FUN double SCALAR_DVAL(SEXP x) {
  366|  16.6k|    CHECK_SCALAR_REAL(x);
  ------------------
  |  |  265|  16.6k|# define CHECK_SCALAR_REAL(x) do {				\
  |  |  266|  16.6k|	CHECK_VECTOR_REAL(x);					\
  |  |  ------------------
  |  |  |  |  172|  16.6k|# define CHECK_VECTOR_REAL(x) do {				\
  |  |  |  |  173|  16.6k|	if (TYPEOF(x) != REALSXP) error("bad REALSXP vector");	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  124|  16.6k|#define REALSXP	    14	  /* real variables */
  |  |  |  |  ------------------
  |  |  |  |               	if (TYPEOF(x) != REALSXP) error("bad REALSXP vector");	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (173:6): [True: 0, False: 16.6k]
  |  |  |  |  ------------------
  |  |  |  |  174|  16.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (174:14): [Folded, False: 16.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  267|  16.6k|	if (XLENGTH(x) != 1) error("bad REALSXP scalar");	\
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |  |  Branch (267:6): [True: 0, False: 16.6k]
  |  |  ------------------
  |  |  268|  16.6k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (268:14): [Folded, False: 16.6k]
  |  |  ------------------
  ------------------
  367|  16.6k|    return REAL(x)[0];
  368|  16.6k|}
SET_SCALAR_DVAL:
  369|  24.6k|/*HIDDEN (inlining)*/ INLINE_FUN void SET_SCALAR_DVAL(SEXP x, double v) {
  370|  24.6k|    CHECK_SCALAR_REAL(x);
  ------------------
  |  |  265|  24.6k|# define CHECK_SCALAR_REAL(x) do {				\
  |  |  266|  24.6k|	CHECK_VECTOR_REAL(x);					\
  |  |  ------------------
  |  |  |  |  172|  24.6k|# define CHECK_VECTOR_REAL(x) do {				\
  |  |  |  |  173|  24.6k|	if (TYPEOF(x) != REALSXP) error("bad REALSXP vector");	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  124|  24.6k|#define REALSXP	    14	  /* real variables */
  |  |  |  |  ------------------
  |  |  |  |               	if (TYPEOF(x) != REALSXP) error("bad REALSXP vector");	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (173:6): [True: 0, False: 24.6k]
  |  |  |  |  ------------------
  |  |  |  |  174|  24.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (174:14): [Folded, False: 24.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  267|  24.6k|	if (XLENGTH(x) != 1) error("bad REALSXP scalar");	\
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |  |  Branch (267:6): [True: 0, False: 24.6k]
  |  |  ------------------
  |  |  268|  24.6k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (268:14): [Folded, False: 24.6k]
  |  |  ------------------
  ------------------
  371|  24.6k|    REAL(x)[0] = v;
  372|  24.6k|}
RAW0:
  387|  3.36M|/*HIDDEN (inlining)*/ INLINE_FUN Rbyte *RAW0(SEXP x) {
  388|  3.36M|    CHECK_STDVEC_RAW(x);
  ------------------
  |  |  252|  3.36M|# define CHECK_STDVEC_RAW(x) do {				\
  |  |  253|  3.36M|	CHECK_VECTOR_RAW(x);					\
  |  |  ------------------
  |  |  |  |  178|  3.36M|# define CHECK_VECTOR_RAW(x) do {				\
  |  |  |  |  179|  3.36M|	if (TYPEOF(x) != RAWSXP) error("bad RAWSXP vector");	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  136|  3.36M|#define RAWSXP      24    /* raw bytes */
  |  |  |  |  ------------------
  |  |  |  |               	if (TYPEOF(x) != RAWSXP) error("bad RAWSXP vector");	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (179:6): [True: 0, False: 3.36M]
  |  |  |  |  ------------------
  |  |  |  |  180|  3.36M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (180:14): [Folded, False: 3.36M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  254|  3.36M|	if (ALTREP(x)) error("bad standard RAWSXP vector");	\
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |  |  Branch (254:6): [True: 0, False: 3.36M]
  |  |  ------------------
  |  |  255|  3.36M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (255:14): [Folded, False: 3.36M]
  |  |  ------------------
  ------------------
  389|  3.36M|    return (Rbyte *) STDVEC_DATAPTR(x);
  390|  3.36M|}
ALTREP_CLASS:
  400|   440k|INLINE_FUN SEXP ALTREP_CLASS(SEXP x) { return TAG(x); }
R_altrep_data1:
  402|   685k|INLINE_FUN SEXP R_altrep_data1(SEXP x) { return CAR(x); }
R_altrep_data2:
  403|   226k|INLINE_FUN SEXP R_altrep_data2(SEXP x) { return CDR(x); }
R_set_altrep_data1:
  404|      8|INLINE_FUN void R_set_altrep_data1(SEXP x, SEXP v) { SETCAR(x, v); }
R_set_altrep_data2:
  405|  3.77k|INLINE_FUN void R_set_altrep_data2(SEXP x, SEXP v) { SETCDR(x, v); }
INTEGER_ELT:
  408|  6.08M|{
  409|  6.08M|    CHECK_VECTOR_INT_ELT(x, i);
  ------------------
  |  |  289|  6.08M|# define CHECK_VECTOR_INT_ELT(x, i) do {	\
  |  |  290|  6.08M|	SEXP ce__x__ = (x);			\
  |  |  291|  6.08M|	R_xlen_t ce__i__ = (i);			\
  |  |  292|  6.08M|	CHECK_VECTOR_INT(ce__x__);		\
  |  |  ------------------
  |  |  |  |  168|  6.08M|# define CHECK_VECTOR_INT(x) do {				\
  |  |  |  |  169|  6.08M|	if (! (TYPEOF(x) == INTSXP || TYPEOF(x) == LGLSXP))	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  123|  12.1M|#define INTSXP	    13	  /* integer vectors */
  |  |  |  |  ------------------
  |  |  |  |               	if (! (TYPEOF(x) == INTSXP || TYPEOF(x) == LGLSXP))	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (169:9): [True: 6.08M, False: 0]
  |  |  |  |  |  Branch (169:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  170|  6.08M|	    error("bad INTSXP vector");				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  ------------------
  |  |  |  |  171|  6.08M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (171:14): [Folded, False: 6.08M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  293|  6.08M|	CHECK_BOUNDS_ELT(ce__x__, ce__i__);	\
  |  |  ------------------
  |  |  |  |  278|  6.08M|# define CHECK_BOUNDS_ELT(x, i) do {			\
  |  |  |  |  279|  6.08M|	if (i < 0 || i > XLENGTH(x))			\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (279:6): [True: 0, False: 6.08M]
  |  |  |  |  |  Branch (279:15): [True: 0, False: 6.08M]
  |  |  |  |  ------------------
  |  |  |  |  280|  6.08M|	    error("subscript out of bounds");		\
  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  ------------------
  |  |  |  |  281|  6.08M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (281:14): [Folded, False: 6.08M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  294|  6.08M|} while (0)
  |  |  ------------------
  |  |  |  Branch (294:10): [Folded, False: 6.08M]
  |  |  ------------------
  ------------------
  410|  6.08M|    return ALTREP(x) ? ALTINTEGER_ELT(x, i) : INTEGER0(x)[i];
  ------------------
  |  Branch (410:12): [True: 1.56k, False: 6.08M]
  ------------------
  411|  6.08M|}
SET_INTEGER_ELT:
  414|      2|{
  415|      2|    CHECK_VECTOR_INT_ELT(x, i);
  ------------------
  |  |  289|      2|# define CHECK_VECTOR_INT_ELT(x, i) do {	\
  |  |  290|      2|	SEXP ce__x__ = (x);			\
  |  |  291|      2|	R_xlen_t ce__i__ = (i);			\
  |  |  292|      2|	CHECK_VECTOR_INT(ce__x__);		\
  |  |  ------------------
  |  |  |  |  168|      2|# define CHECK_VECTOR_INT(x) do {				\
  |  |  |  |  169|      2|	if (! (TYPEOF(x) == INTSXP || TYPEOF(x) == LGLSXP))	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  123|      4|#define INTSXP	    13	  /* integer vectors */
  |  |  |  |  ------------------
  |  |  |  |               	if (! (TYPEOF(x) == INTSXP || TYPEOF(x) == LGLSXP))	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (169:9): [True: 2, False: 0]
  |  |  |  |  |  Branch (169:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  170|      2|	    error("bad INTSXP vector");				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  ------------------
  |  |  |  |  171|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (171:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  293|      2|	CHECK_BOUNDS_ELT(ce__x__, ce__i__);	\
  |  |  ------------------
  |  |  |  |  278|      2|# define CHECK_BOUNDS_ELT(x, i) do {			\
  |  |  |  |  279|      2|	if (i < 0 || i > XLENGTH(x))			\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (279:6): [True: 0, False: 2]
  |  |  |  |  |  Branch (279:15): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  |  280|      2|	    error("subscript out of bounds");		\
  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  ------------------
  |  |  |  |  281|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (281:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  294|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (294:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
  416|      2|    if (ALTREP(x)) ALTINTEGER_SET_ELT(x, i, v);
  ------------------
  |  Branch (416:9): [True: 0, False: 2]
  ------------------
  417|      2|    else INTEGER0(x)[i] = v;
  418|      2|}
LOGICAL_ELT:
  421|  2.27M|{
  422|  2.27M|    CHECK_VECTOR_LGL_ELT(x, i);
  ------------------
  |  |  283|  2.27M|# define CHECK_VECTOR_LGL_ELT(x, i) do {	\
  |  |  284|  2.27M|	SEXP ce__x__ = (x);			\
  |  |  285|  2.27M|	R_xlen_t ce__i__ = (i);			\
  |  |  286|  2.27M|	CHECK_VECTOR_LGL(ce__x__);		\
  |  |  ------------------
  |  |  |  |  165|  2.27M|# define CHECK_VECTOR_LGL(x) do {				\
  |  |  |  |  166|  2.27M|	if (TYPEOF(x) != LGLSXP) error("bad LGLSXP vector");	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  121|  2.27M|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  ------------------
  |  |  |  |               	if (TYPEOF(x) != LGLSXP) error("bad LGLSXP vector");	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (166:6): [True: 0, False: 2.27M]
  |  |  |  |  ------------------
  |  |  |  |  167|  2.27M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (167:14): [Folded, False: 2.27M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  287|  2.27M|	CHECK_BOUNDS_ELT(ce__x__, ce__i__);	\
  |  |  ------------------
  |  |  |  |  278|  2.27M|# define CHECK_BOUNDS_ELT(x, i) do {			\
  |  |  |  |  279|  2.27M|	if (i < 0 || i > XLENGTH(x))			\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (279:6): [True: 0, False: 2.27M]
  |  |  |  |  |  Branch (279:15): [True: 0, False: 2.27M]
  |  |  |  |  ------------------
  |  |  |  |  280|  2.27M|	    error("subscript out of bounds");		\
  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  ------------------
  |  |  |  |  281|  2.27M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (281:14): [Folded, False: 2.27M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  288|  2.27M|} while (0)
  |  |  ------------------
  |  |  |  Branch (288:10): [Folded, False: 2.27M]
  |  |  ------------------
  ------------------
  423|  2.27M|    return ALTREP(x) ? ALTLOGICAL_ELT(x, i) : LOGICAL0(x)[i];
  ------------------
  |  Branch (423:12): [True: 0, False: 2.27M]
  ------------------
  424|  2.27M|}
REAL_ELT:
  434|  3.36M|{
  435|  3.36M|    CHECK_VECTOR_REAL_ELT(x, i);
  ------------------
  |  |  295|  3.36M|# define CHECK_VECTOR_REAL_ELT(x, i) do {	\
  |  |  296|  3.36M|	SEXP ce__x__ = (x);			\
  |  |  297|  3.36M|	R_xlen_t ce__i__ = (i);			\
  |  |  298|  3.36M|	CHECK_VECTOR_REAL(ce__x__);		\
  |  |  ------------------
  |  |  |  |  172|  3.36M|# define CHECK_VECTOR_REAL(x) do {				\
  |  |  |  |  173|  3.36M|	if (TYPEOF(x) != REALSXP) error("bad REALSXP vector");	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  124|  3.36M|#define REALSXP	    14	  /* real variables */
  |  |  |  |  ------------------
  |  |  |  |               	if (TYPEOF(x) != REALSXP) error("bad REALSXP vector");	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (173:6): [True: 0, False: 3.36M]
  |  |  |  |  ------------------
  |  |  |  |  174|  3.36M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (174:14): [Folded, False: 3.36M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  299|  3.36M|	CHECK_BOUNDS_ELT(ce__x__, ce__i__);	\
  |  |  ------------------
  |  |  |  |  278|  3.36M|# define CHECK_BOUNDS_ELT(x, i) do {			\
  |  |  |  |  279|  3.36M|	if (i < 0 || i > XLENGTH(x))			\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (279:6): [True: 0, False: 3.36M]
  |  |  |  |  |  Branch (279:15): [True: 0, False: 3.36M]
  |  |  |  |  ------------------
  |  |  |  |  280|  3.36M|	    error("subscript out of bounds");		\
  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  ------------------
  |  |  |  |  281|  3.36M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (281:14): [Folded, False: 3.36M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  300|  3.36M|} while (0)
  |  |  ------------------
  |  |  |  Branch (300:10): [Folded, False: 3.36M]
  |  |  ------------------
  ------------------
  436|  3.36M|    return ALTREP(x) ? ALTREAL_ELT(x, i) : REAL0(x)[i];
  ------------------
  |  Branch (436:12): [True: 0, False: 3.36M]
  ------------------
  437|  3.36M|}
RAW_ELT:
  460|   192k|{
  461|   192k|    CHECK_VECTOR_RAW_ELT(x, i);
  ------------------
  |  |  307|   192k|# define CHECK_VECTOR_RAW_ELT(x, i) do {	\
  |  |  308|   192k|	SEXP ce__x__ = (x);			\
  |  |  309|   192k|	R_xlen_t ce__i__ = (i);			\
  |  |  310|   192k|	CHECK_VECTOR_RAW(ce__x__);		\
  |  |  ------------------
  |  |  |  |  178|   192k|# define CHECK_VECTOR_RAW(x) do {				\
  |  |  |  |  179|   192k|	if (TYPEOF(x) != RAWSXP) error("bad RAWSXP vector");	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  136|   192k|#define RAWSXP      24    /* raw bytes */
  |  |  |  |  ------------------
  |  |  |  |               	if (TYPEOF(x) != RAWSXP) error("bad RAWSXP vector");	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (179:6): [True: 0, False: 192k]
  |  |  |  |  ------------------
  |  |  |  |  180|   192k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (180:14): [Folded, False: 192k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  311|   192k|	CHECK_BOUNDS_ELT(ce__x__, ce__i__);	\
  |  |  ------------------
  |  |  |  |  278|   192k|# define CHECK_BOUNDS_ELT(x, i) do {			\
  |  |  |  |  279|   192k|	if (i < 0 || i > XLENGTH(x))			\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (279:6): [True: 0, False: 192k]
  |  |  |  |  |  Branch (279:15): [True: 0, False: 192k]
  |  |  |  |  ------------------
  |  |  |  |  280|   192k|	    error("subscript out of bounds");		\
  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  ------------------
  |  |  |  |  281|   192k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (281:14): [Folded, False: 192k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  312|   192k|} while (0)
  |  |  ------------------
  |  |  |  Branch (312:10): [Folded, False: 192k]
  |  |  ------------------
  ------------------
  462|   192k|    return ALTREP(x) ? ALTRAW_ELT(x, i) : RAW0(x)[i];
  ------------------
  |  Branch (462:12): [True: 0, False: 192k]
  ------------------
  463|   192k|}
Rf_length:
  538|  52.4M|{
  539|  52.4M|    switch (TYPEOF(s)) {
  540|  1.17M|    case NILSXP:
  ------------------
  |  |  111|  1.17M|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (540:5): [True: 1.17M, False: 51.2M]
  ------------------
  541|  1.17M|	return 0;
  542|  17.6k|    case LGLSXP:
  ------------------
  |  |  121|  17.6k|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (542:5): [True: 17.6k, False: 52.4M]
  ------------------
  543|  1.13M|    case INTSXP:
  ------------------
  |  |  123|  1.13M|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (543:5): [True: 1.11M, False: 51.3M]
  ------------------
  544|  1.20M|    case REALSXP:
  ------------------
  |  |  124|  1.20M|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (544:5): [True: 66.7k, False: 52.4M]
  ------------------
  545|  1.20M|    case CPLXSXP:
  ------------------
  |  |  125|  1.20M|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (545:5): [True: 0, False: 52.4M]
  ------------------
  546|  11.7M|    case STRSXP:
  ------------------
  |  |  126|  11.7M|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (546:5): [True: 10.5M, False: 41.8M]
  ------------------
  547|  11.7M|    case CHARSXP:
  ------------------
  |  |  120|  11.7M|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  ------------------
  |  Branch (547:5): [True: 0, False: 52.4M]
  ------------------
  548|  19.3M|    case VECSXP:
  ------------------
  |  |  131|  19.3M|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (548:5): [True: 7.50M, False: 44.9M]
  ------------------
  549|  19.3M|    case EXPRSXP:
  ------------------
  |  |  132|  19.3M|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (549:5): [True: 12, False: 52.4M]
  ------------------
  550|  19.3M|    case RAWSXP:
  ------------------
  |  |  136|  19.3M|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (550:5): [True: 0, False: 52.4M]
  ------------------
  551|  19.3M|	return LENGTH(s);
  552|  30.9M|    case LISTSXP:
  ------------------
  |  |  113|  30.9M|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (552:5): [True: 30.9M, False: 21.5M]
  ------------------
  553|  31.9M|    case LANGSXP:
  ------------------
  |  |  117|  31.9M|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (553:5): [True: 1.05M, False: 51.4M]
  ------------------
  554|  31.9M|    case DOTSXP:
  ------------------
  |  |  127|  31.9M|#define DOTSXP	    17	  /* dot-dot-dot object */
  ------------------
  |  Branch (554:5): [True: 17.3k, False: 52.4M]
  ------------------
  555|  31.9M|    {
  556|  31.9M|	int i = 0;
  557|  79.9M|	while (s != NULL && s != R_NilValue) {
  ------------------
  |  Branch (557:9): [True: 79.9M, False: 0]
  |  Branch (557:22): [True: 47.9M, False: 31.9M]
  ------------------
  558|  47.9M|	    i++;
  559|  47.9M|	    s = CDR(s);
  560|  47.9M|	}
  561|  31.9M|	return i;
  562|  31.9M|    }
  563|     14|    case ENVSXP:
  ------------------
  |  |  115|     14|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (563:5): [True: 14, False: 52.4M]
  ------------------
  564|     14|	return Rf_envlength(s);
  565|  10.6k|    default:
  ------------------
  |  Branch (565:5): [True: 10.6k, False: 52.4M]
  ------------------
  566|  10.6k|	return 1;
  567|  52.4M|    }
  568|  52.4M|}
Rf_xlength:
  573|  70.0M|{
  574|  70.0M|    switch (TYPEOF(s)) {
  575|  15.1k|    case NILSXP:
  ------------------
  |  |  111|  15.1k|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (575:5): [True: 15.1k, False: 69.9M]
  ------------------
  576|  15.1k|	return 0;
  577|  2.15M|    case LGLSXP:
  ------------------
  |  |  121|  2.15M|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (577:5): [True: 2.15M, False: 67.8M]
  ------------------
  578|  4.28M|    case INTSXP:
  ------------------
  |  |  123|  4.28M|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (578:5): [True: 2.12M, False: 67.8M]
  ------------------
  579|  4.42M|    case REALSXP:
  ------------------
  |  |  124|  4.42M|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (579:5): [True: 139k, False: 69.8M]
  ------------------
  580|  4.42M|    case CPLXSXP:
  ------------------
  |  |  125|  4.42M|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (580:5): [True: 0, False: 70.0M]
  ------------------
  581|  32.1M|    case STRSXP:
  ------------------
  |  |  126|  32.1M|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (581:5): [True: 27.7M, False: 42.2M]
  ------------------
  582|  32.1M|    case CHARSXP:
  ------------------
  |  |  120|  32.1M|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  ------------------
  |  Branch (582:5): [True: 0, False: 70.0M]
  ------------------
  583|  69.9M|    case VECSXP:
  ------------------
  |  |  131|  69.9M|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (583:5): [True: 37.8M, False: 32.1M]
  ------------------
  584|  69.9M|    case EXPRSXP:
  ------------------
  |  |  132|  69.9M|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (584:5): [True: 48, False: 70.0M]
  ------------------
  585|  69.9M|    case RAWSXP:
  ------------------
  |  |  136|  69.9M|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (585:5): [True: 0, False: 70.0M]
  ------------------
  586|  69.9M|	return XLENGTH(s);
  587|  1.35k|    case LISTSXP:
  ------------------
  |  |  113|  1.35k|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (587:5): [True: 1.35k, False: 70.0M]
  ------------------
  588|  2.11k|    case LANGSXP:
  ------------------
  |  |  117|  2.11k|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (588:5): [True: 763, False: 70.0M]
  ------------------
  589|  2.11k|    case DOTSXP:
  ------------------
  |  |  127|  2.11k|#define DOTSXP	    17	  /* dot-dot-dot object */
  ------------------
  |  Branch (589:5): [True: 0, False: 70.0M]
  ------------------
  590|  2.11k|    {
  591|       |	// it is implausible this would be >= 2^31 elements, but allow it
  592|  2.11k|	R_xlen_t i = 0;
  593|  11.7k|	while (s != NULL && s != R_NilValue) {
  ------------------
  |  Branch (593:9): [True: 11.7k, False: 0]
  |  Branch (593:22): [True: 9.61k, False: 2.11k]
  ------------------
  594|  9.61k|	    i++;
  595|  9.61k|	    s = CDR(s);
  596|  9.61k|	}
  597|  2.11k|	return i;
  598|  2.11k|    }
  599|      0|    case ENVSXP:
  ------------------
  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (599:5): [True: 0, False: 70.0M]
  ------------------
  600|      0|	return Rf_envxlength(s);
  601|    571|    default:
  ------------------
  |  Branch (601:5): [True: 571, False: 70.0M]
  ------------------
  602|    571|	return 1;
  603|  70.0M|    }
  604|  70.0M|}
Rf_list1:
  648|  1.05M|{
  649|  1.05M|    return CONS(s, R_NilValue);
  ------------------
  |  |  309|  1.05M|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
  650|  1.05M|}
Rf_list2:
  654|  1.05M|{
  655|  1.05M|    PROTECT(s);
  ------------------
  |  |  357|  1.05M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  656|  1.05M|    s = CONS(s, list1(t));
  ------------------
  |  |  309|  1.05M|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
  657|  1.05M|    UNPROTECT(1);
  ------------------
  |  |  358|  1.05M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  658|  1.05M|    return s;
  659|  1.05M|}
Rf_list3:
  663|    178|{
  664|    178|    PROTECT(s);
  ------------------
  |  |  357|    178|#define PROTECT(s)	Rf_protect(s)
  ------------------
  665|    178|    s = CONS(s, list2(t, u));
  ------------------
  |  |  309|    178|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
  666|    178|    UNPROTECT(1);
  ------------------
  |  |  358|    178|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  667|    178|    return s;
  668|    178|}
Rf_list4:
  672|     24|{
  673|     24|    PROTECT(s);
  ------------------
  |  |  357|     24|#define PROTECT(s)	Rf_protect(s)
  ------------------
  674|     24|    s = CONS(s, list3(t, u, v));
  ------------------
  |  |  309|     24|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
  675|     24|    UNPROTECT(1);
  ------------------
  |  |  358|     24|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  676|     24|    return s;
  677|     24|}
Rf_listAppend:
  698|     26|{
  699|     26|    SEXP r;
  700|     26|    if (s == R_NilValue)
  ------------------
  |  Branch (700:9): [True: 0, False: 26]
  ------------------
  701|      0|	return t;
  702|     26|    r = s;
  703|     26|    while (CDR(r) != R_NilValue)
  ------------------
  |  Branch (703:12): [True: 0, False: 26]
  ------------------
  704|      0|	r = CDR(r);
  705|     26|    SETCDR(r, t);
  706|     26|    return s;
  707|     26|}
Rf_lcons:
  716|  6.33M|{
  717|  6.33M|    SEXP e = cons(car, cdr);
  ------------------
  |  |  897|  6.33M|#define cons			Rf_cons
  ------------------
  718|  6.33M|    SET_TYPEOF(e, LANGSXP);
  ------------------
  |  |  117|  6.33M|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  719|  6.33M|    return e;
  720|  6.33M|}
Rf_lang1:
  723|     74|{
  724|     74|    return LCONS(s, R_NilValue);
  ------------------
  |  |  310|     74|#define LCONS(a, b)	Rf_lcons((a), (b))		/* language lists */
  ------------------
  725|     74|}
Rf_lang2:
  728|  1.71k|{
  729|  1.71k|    PROTECT(s);
  ------------------
  |  |  357|  1.71k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  730|  1.71k|    s = LCONS(s, list1(t));
  ------------------
  |  |  310|  1.71k|#define LCONS(a, b)	Rf_lcons((a), (b))		/* language lists */
  ------------------
  731|  1.71k|    UNPROTECT(1);
  ------------------
  |  |  358|  1.71k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  732|  1.71k|    return s;
  733|  1.71k|}
Rf_lang3:
  736|  1.05M|{
  737|  1.05M|    PROTECT(s);
  ------------------
  |  |  357|  1.05M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  738|  1.05M|    s = LCONS(s, list2(t, u));
  ------------------
  |  |  310|  1.05M|#define LCONS(a, b)	Rf_lcons((a), (b))		/* language lists */
  ------------------
  739|  1.05M|    UNPROTECT(1);
  ------------------
  |  |  358|  1.05M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  740|  1.05M|    return s;
  741|  1.05M|}
Rf_lang4:
  744|    130|{
  745|    130|    PROTECT(s);
  ------------------
  |  |  357|    130|#define PROTECT(s)	Rf_protect(s)
  ------------------
  746|    130|    s = LCONS(s, list3(t, u, v));
  ------------------
  |  |  310|    130|#define LCONS(a, b)	Rf_lcons((a), (b))		/* language lists */
  ------------------
  747|    130|    UNPROTECT(1);
  ------------------
  |  |  358|    130|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  748|    130|    return s;
  749|    130|}
Rf_conformable:
  772|    266|{
  773|    266|    int i, n;
  774|    266|    PROTECT(x = getAttrib(x, R_DimSymbol));
  ------------------
  |  |  357|    266|#define PROTECT(s)	Rf_protect(s)
  ------------------
  775|    266|    y = getAttrib(y, R_DimSymbol);
  ------------------
  |  |  924|    266|#define getAttrib		Rf_getAttrib
  ------------------
  776|    266|    UNPROTECT(1);
  ------------------
  |  |  358|    266|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  777|    266|    if ((n = length(x)) != length(y))
  ------------------
  |  |  987|    266|#define length(x)		Rf_length(x)
  ------------------
                  if ((n = length(x)) != length(y))
  ------------------
  |  |  987|    266|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (777:9): [True: 0, False: 266]
  ------------------
  778|      0|	return FALSE;
  779|    798|    for (i = 0; i < n; i++)
  ------------------
  |  Branch (779:17): [True: 532, False: 266]
  ------------------
  780|    532|	if (INTEGER(x)[i] != INTEGER(y)[i])
  ------------------
  |  Branch (780:6): [True: 0, False: 532]
  ------------------
  781|      0|	    return FALSE;
  782|    266|    return TRUE;
  783|    266|}
Rf_inherits:
  789|  2.16M|{
  790|  2.16M|    SEXP klass;
  791|  2.16M|    int i, nclass;
  792|  2.16M|    if (OBJECT(s)) {
  ------------------
  |  Branch (792:9): [True: 1.05M, False: 1.10M]
  ------------------
  793|  1.05M|	klass = getAttrib(s, R_ClassSymbol);
  ------------------
  |  |  924|  1.05M|#define getAttrib		Rf_getAttrib
  ------------------
  794|  1.05M|	nclass = length(klass);
  ------------------
  |  |  987|  1.05M|#define length(x)		Rf_length(x)
  ------------------
  795|  1.06M|	for (i = 0; i < nclass; i++) {
  ------------------
  |  Branch (795:14): [True: 1.05M, False: 6.94k]
  ------------------
  796|  1.05M|	    if (!strcmp(CHAR(STRING_ELT(klass, i)), name))
  ------------------
  |  |  203|  1.05M|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (796:10): [True: 1.05M, False: 7.04k]
  ------------------
  797|  1.05M|		return TRUE;
  798|  1.05M|	}
  799|  1.05M|    }
  800|  1.11M|    return FALSE;
  801|  2.16M|}
Rf_isScalarString:
  804|  49.8M|{
  805|  49.8M|    return TYPEOF(x) == STRSXP && XLENGTH(x) == 1;
  ------------------
  |  |  126|  99.6M|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (805:12): [True: 1.06k, False: 49.8M]
  |  Branch (805:35): [True: 1.06k, False: 0]
  ------------------
  806|  49.8M|}
Rf_isValidString:
  810|  33.7k|{
  811|  33.7k|    return TYPEOF(x) == STRSXP && LENGTH(x) > 0 && TYPEOF(STRING_ELT(x, 0)) != NILSXP;
  ------------------
  |  |  126|  67.5k|#define STRSXP	    16	  /* string vectors */
  ------------------
                  return TYPEOF(x) == STRSXP && LENGTH(x) > 0 && TYPEOF(STRING_ELT(x, 0)) != NILSXP;
  ------------------
  |  |  111|  39.3k|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (811:12): [True: 5.59k, False: 28.1k]
  |  Branch (811:35): [True: 5.59k, False: 0]
  |  Branch (811:52): [True: 5.59k, False: 0]
  ------------------
  812|  33.7k|}
Rf_isValidStringF:
  816|  3.67k|{
  817|  3.67k|    return isValidString(x) && CHAR(STRING_ELT(x, 0))[0];
  ------------------
  |  |  972|  3.67k|#define isValidString		Rf_isValidString
  ------------------
                  return isValidString(x) && CHAR(STRING_ELT(x, 0))[0];
  ------------------
  |  |  203|  3.67k|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (817:12): [True: 3.67k, False: 0]
  |  Branch (817:32): [True: 3.67k, False: 0]
  ------------------
  818|  3.67k|}
Rf_isUserBinop:
  821|  4.87k|{
  822|  4.87k|    if (TYPEOF(s) == SYMSXP) {
  ------------------
  |  |  112|  4.87k|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (822:9): [True: 4.87k, False: 0]
  ------------------
  823|  4.87k|	const char *str = CHAR(PRINTNAME(s));
  ------------------
  |  |  203|  4.87k|#define CHAR(x) R_CHAR(x)
  ------------------
  824|  4.87k|	if (strlen(str) >= 2 && str[0] == '%' && str[strlen(str)-1] == '%')
  ------------------
  |  Branch (824:6): [True: 4.84k, False: 24]
  |  Branch (824:26): [True: 0, False: 4.84k]
  |  Branch (824:43): [True: 0, False: 0]
  ------------------
  825|      0|	    return TRUE;
  826|  4.87k|    }
  827|  4.87k|    return FALSE;
  828|  4.87k|}
Rf_isFunction:
  831|  5.30M|{
  832|  5.30M|    return (TYPEOF(s) == CLOSXP ||
  ------------------
  |  |  114|  10.6M|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (832:13): [True: 1.06M, False: 4.23M]
  ------------------
  833|  4.23M|	    TYPEOF(s) == BUILTINSXP ||
  ------------------
  |  |  119|  9.53M|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (833:6): [True: 1.92k, False: 4.23M]
  ------------------
  834|  4.23M|	    TYPEOF(s) == SPECIALSXP);
  ------------------
  |  |  118|  4.23M|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (834:6): [True: 120, False: 4.23M]
  ------------------
  835|  5.30M|}
Rf_isPrimitive:
  838|      2|{
  839|      2|    return (TYPEOF(s) == BUILTINSXP ||
  ------------------
  |  |  119|      4|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (839:13): [True: 0, False: 2]
  ------------------
  840|      2|	    TYPEOF(s) == SPECIALSXP);
  ------------------
  |  |  118|      2|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (840:6): [True: 2, False: 0]
  ------------------
  841|      2|}
Rf_isList:
  844|  48.4M|{
  845|  48.4M|    return (s == R_NilValue || TYPEOF(s) == LISTSXP);
  ------------------
  |  |  113|  48.4M|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (845:13): [True: 138, False: 48.4M]
  |  Branch (845:32): [True: 3.18M, False: 45.2M]
  ------------------
  846|  48.4M|}
Rf_isNewList:
  850|  4.21M|{
  851|  4.21M|    return (s == R_NilValue || TYPEOF(s) == VECSXP);
  ------------------
  |  |  131|  4.21M|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (851:13): [True: 14, False: 4.21M]
  |  Branch (851:32): [True: 4.21M, False: 0]
  ------------------
  852|  4.21M|}
Rf_isPairList:
  855|  1.10M|{
  856|  1.10M|    switch (TYPEOF(s)) {
  857|      0|    case NILSXP:
  ------------------
  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (857:5): [True: 0, False: 1.10M]
  ------------------
  858|  1.45k|    case LISTSXP:
  ------------------
  |  |  113|  1.45k|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (858:5): [True: 1.45k, False: 1.09M]
  ------------------
  859|  11.3k|    case LANGSXP:
  ------------------
  |  |  117|  11.3k|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (859:5): [True: 9.85k, False: 1.09M]
  ------------------
  860|  21.6k|    case DOTSXP:
  ------------------
  |  |  127|  21.6k|#define DOTSXP	    17	  /* dot-dot-dot object */
  ------------------
  |  Branch (860:5): [True: 10.3k, False: 1.09M]
  ------------------
  861|  21.6k|	return TRUE;
  862|  1.07M|    default:
  ------------------
  |  Branch (862:5): [True: 1.07M, False: 21.6k]
  ------------------
  863|  1.07M|	return FALSE;
  864|  1.10M|    }
  865|  1.10M|}
Rf_isVectorList:
  868|  1.08M|{
  869|  1.08M|    switch (TYPEOF(s)) {
  870|  32.8k|    case VECSXP:
  ------------------
  |  |  131|  32.8k|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (870:5): [True: 32.8k, False: 1.05M]
  ------------------
  871|  32.8k|    case EXPRSXP:
  ------------------
  |  |  132|  32.8k|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (871:5): [True: 0, False: 1.08M]
  ------------------
  872|  32.8k|	return TRUE;
  873|  1.05M|    default:
  ------------------
  |  Branch (873:5): [True: 1.05M, False: 32.8k]
  ------------------
  874|  1.05M|	return FALSE;
  875|  1.08M|    }
  876|  1.08M|}
Rf_isVectorAtomic:
  879|  7.63M|{
  880|  7.63M|    switch (TYPEOF(s)) {
  881|  2.21M|    case LGLSXP:
  ------------------
  |  |  121|  2.21M|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (881:5): [True: 2.21M, False: 5.41M]
  ------------------
  882|  6.51M|    case INTSXP:
  ------------------
  |  |  123|  6.51M|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (882:5): [True: 4.30M, False: 3.33M]
  ------------------
  883|  6.53M|    case REALSXP:
  ------------------
  |  |  124|  6.53M|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (883:5): [True: 16.2k, False: 7.61M]
  ------------------
  884|  6.53M|    case CPLXSXP:
  ------------------
  |  |  125|  6.53M|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (884:5): [True: 0, False: 7.63M]
  ------------------
  885|  6.53M|    case STRSXP:
  ------------------
  |  |  126|  6.53M|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (885:5): [True: 202, False: 7.63M]
  ------------------
  886|  6.53M|    case RAWSXP:
  ------------------
  |  |  136|  6.53M|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (886:5): [True: 0, False: 7.63M]
  ------------------
  887|  6.53M|	return TRUE;
  888|  1.10M|    default: /* including NULL */
  ------------------
  |  Branch (888:5): [True: 1.10M, False: 6.53M]
  ------------------
  889|  1.10M|	return FALSE;
  890|  7.63M|    }
  891|  7.63M|}
Rf_isVector:
  894|   252M|{
  895|   252M|    switch(TYPEOF(s)) {
  896|  3.41M|    case LGLSXP:
  ------------------
  |  |  121|  3.41M|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (896:5): [True: 3.41M, False: 249M]
  ------------------
  897|   113M|    case INTSXP:
  ------------------
  |  |  123|   113M|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (897:5): [True: 110M, False: 142M]
  ------------------
  898|   119M|    case REALSXP:
  ------------------
  |  |  124|   119M|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (898:5): [True: 5.63M, False: 247M]
  ------------------
  899|   119M|    case CPLXSXP:
  ------------------
  |  |  125|   119M|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (899:5): [True: 0, False: 252M]
  ------------------
  900|   138M|    case STRSXP:
  ------------------
  |  |  126|   138M|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (900:5): [True: 19.0M, False: 233M]
  ------------------
  901|   142M|    case RAWSXP:
  ------------------
  |  |  136|   142M|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (901:5): [True: 3.80M, False: 248M]
  ------------------
  902|       |
  903|   252M|    case VECSXP:
  ------------------
  |  |  131|   252M|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (903:5): [True: 110M, False: 142M]
  ------------------
  904|   252M|    case EXPRSXP:
  ------------------
  |  |  132|   252M|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (904:5): [True: 36, False: 252M]
  ------------------
  905|   252M|	return TRUE;
  906|  19.5k|    default:
  ------------------
  |  Branch (906:5): [True: 19.5k, False: 252M]
  ------------------
  907|  19.5k|	return FALSE;
  908|   252M|    }
  909|   252M|}
Rf_isLanguage:
  928|  29.5M|{
  929|  29.5M|    return (s == R_NilValue || TYPEOF(s) == LANGSXP);
  ------------------
  |  |  117|  29.5M|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (929:13): [True: 0, False: 29.5M]
  |  Branch (929:32): [True: 13.7k, False: 29.4M]
  ------------------
  930|  29.5M|}
Rf_isMatrix:
  933|  27.3k|{
  934|  27.3k|    SEXP t;
  935|  27.3k|    if (isVector(s)) {
  ------------------
  |  |  974|  27.3k|#define isVector		Rf_isVector
  ------------------
  |  Branch (935:9): [True: 27.0k, False: 322]
  ------------------
  936|  27.0k|	t = getAttrib(s, R_DimSymbol);
  ------------------
  |  |  924|  27.0k|#define getAttrib		Rf_getAttrib
  ------------------
  937|       |	/* You are not supposed to be able to assign a non-integer dim,
  938|       |	   although this might be possible by misuse of ATTRIB. */
  939|  27.0k|	if (TYPEOF(t) == INTSXP && LENGTH(t) == 2)
  ------------------
  |  |  123|  54.1k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (939:6): [True: 1.90k, False: 25.1k]
  |  Branch (939:29): [True: 1.90k, False: 0]
  ------------------
  940|  1.90k|	    return TRUE;
  941|  27.0k|    }
  942|  25.4k|    return FALSE;
  943|  27.3k|}
Rf_isArray:
  946|  3.24M|{
  947|  3.24M|    SEXP t;
  948|  3.24M|    if (isVector(s)) {
  ------------------
  |  |  974|  3.24M|#define isVector		Rf_isVector
  ------------------
  |  Branch (948:9): [True: 3.24M, False: 0]
  ------------------
  949|  3.24M|	t = getAttrib(s, R_DimSymbol);
  ------------------
  |  |  924|  3.24M|#define getAttrib		Rf_getAttrib
  ------------------
  950|       |	/* You are not supposed to be able to assign a 0-length dim,
  951|       |	 nor a non-integer dim */
  952|  3.24M|	if (TYPEOF(t) == INTSXP && LENGTH(t) > 0)
  ------------------
  |  |  123|  6.49M|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (952:6): [True: 29.9k, False: 3.21M]
  |  Branch (952:29): [True: 29.9k, False: 0]
  ------------------
  953|  29.9k|	    return TRUE;
  954|  3.24M|    }
  955|  3.21M|    return FALSE;
  956|  3.24M|}
Rf_isTs:
  959|  52.6k|{
  960|  52.6k|    return (isVector(s) && getAttrib(s, R_TspSymbol) != R_NilValue);
  ------------------
  |  |  974|  52.6k|#define isVector		Rf_isVector
  ------------------
                  return (isVector(s) && getAttrib(s, R_TspSymbol) != R_NilValue);
  ------------------
  |  |  924|  52.6k|#define getAttrib		Rf_getAttrib
  ------------------
  |  Branch (960:13): [True: 52.6k, False: 0]
  |  Branch (960:28): [True: 0, False: 52.6k]
  ------------------
  961|  52.6k|}
Rf_isInteger:
  965|  19.9k|{
  966|  19.9k|    return (TYPEOF(s) == INTSXP && !inherits(s, "factor"));
  ------------------
  |  |  123|  39.9k|#define INTSXP	    13	  /* integer vectors */
  ------------------
                  return (TYPEOF(s) == INTSXP && !inherits(s, "factor"));
  ------------------
  |  |  933|  3.91k|#define inherits		Rf_inherits
  ------------------
  |  Branch (966:13): [True: 3.91k, False: 16.0k]
  |  Branch (966:36): [True: 3.91k, False: 0]
  ------------------
  967|  19.9k|}
Rf_isFactor:
  970|  6.15k|{
  971|  6.15k|    return (TYPEOF(s) == INTSXP  && inherits(s, "factor"));
  ------------------
  |  |  123|  12.3k|#define INTSXP	    13	  /* integer vectors */
  ------------------
                  return (TYPEOF(s) == INTSXP  && inherits(s, "factor"));
  ------------------
  |  |  933|      4|#define inherits		Rf_inherits
  ------------------
  |  Branch (971:13): [True: 4, False: 6.15k]
  |  Branch (971:37): [True: 0, False: 4]
  ------------------
  972|  6.15k|}
Rf_isNumeric:
  986|  28.1k|{
  987|  28.1k|    switch(TYPEOF(s)) {
  988|  9.83k|    case INTSXP:
  ------------------
  |  |  123|  9.83k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (988:5): [True: 9.83k, False: 18.3k]
  ------------------
  989|  9.83k|	if (inherits(s,"factor")) return FALSE;
  ------------------
  |  |  933|  9.83k|#define inherits		Rf_inherits
  ------------------
  |  Branch (989:6): [True: 0, False: 9.83k]
  ------------------
  990|  12.2k|    case LGLSXP:
  ------------------
  |  |  121|  12.2k|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (990:5): [True: 2.36k, False: 25.8k]
  ------------------
  991|  27.5k|    case REALSXP:
  ------------------
  |  |  124|  27.5k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (991:5): [True: 15.3k, False: 12.7k]
  ------------------
  992|  27.5k|	return TRUE;
  993|    589|    default:
  ------------------
  |  Branch (993:5): [True: 589, False: 27.5k]
  ------------------
  994|    589|	return FALSE;
  995|  28.1k|    }
  996|  28.1k|}
Rf_isNumber:
 1000|  13.2k|{
 1001|  13.2k|    switch(TYPEOF(s)) {
 1002|  6.87k|    case INTSXP:
  ------------------
  |  |  123|  6.87k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1002:5): [True: 6.87k, False: 6.38k]
  ------------------
 1003|  6.87k|	if (inherits(s,"factor")) return FALSE;
  ------------------
  |  |  933|  6.87k|#define inherits		Rf_inherits
  ------------------
  |  Branch (1003:6): [True: 0, False: 6.87k]
  ------------------
 1004|  13.2k|    case LGLSXP:
  ------------------
  |  |  121|  13.2k|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (1004:5): [True: 6.38k, False: 6.87k]
  ------------------
 1005|  13.2k|    case REALSXP:
  ------------------
  |  |  124|  13.2k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1005:5): [True: 0, False: 13.2k]
  ------------------
 1006|  13.2k|    case CPLXSXP:
  ------------------
  |  |  125|  13.2k|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (1006:5): [True: 0, False: 13.2k]
  ------------------
 1007|  13.2k|	return TRUE;
 1008|      0|    default:
  ------------------
  |  Branch (1008:5): [True: 0, False: 13.2k]
  ------------------
 1009|      0|	return FALSE;
 1010|  13.2k|    }
 1011|  13.2k|}
Rf_ScalarLogical:
 1016|  6.61M|{
 1017|  6.61M|    LibExtern SEXP R_LogicalNAValue, R_TrueValue, R_FalseValue;
  ------------------
  |  |   50|  6.61M|#define LibExtern extern LibImport
  ------------------
 1018|  6.61M|    if (x == NA_LOGICAL) return R_LogicalNAValue;
  ------------------
  |  |   55|  6.61M|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (1018:9): [True: 3.45k, False: 6.60M]
  ------------------
 1019|  6.60M|    else if (x != 0) return R_TrueValue;
  ------------------
  |  Branch (1019:14): [True: 136k, False: 6.47M]
  ------------------
 1020|  6.47M|    else return R_FalseValue;
 1021|  6.61M|}
Rf_ScalarInteger:
 1024|  8.49M|{
 1025|  8.49M|    SEXP ans = allocVector(INTSXP, 1);
  ------------------
  |  |  875|  8.49M|#define allocVector		Rf_allocVector
  ------------------
                  SEXP ans = allocVector(INTSXP, 1);
  ------------------
  |  |  123|  8.49M|#define INTSXP	    13	  /* integer vectors */
  ------------------
 1026|  8.49M|    SET_SCALAR_IVAL(ans, x);
 1027|  8.49M|    return ans;
 1028|  8.49M|}
Rf_ScalarReal:
 1031|  23.6k|{
 1032|  23.6k|    SEXP ans = allocVector(REALSXP, 1);
  ------------------
  |  |  875|  23.6k|#define allocVector		Rf_allocVector
  ------------------
                  SEXP ans = allocVector(REALSXP, 1);
  ------------------
  |  |  124|  23.6k|#define REALSXP	    14	  /* real variables */
  ------------------
 1033|  23.6k|    SET_SCALAR_DVAL(ans, x);
 1034|  23.6k|    return ans;
 1035|  23.6k|}
Rf_ScalarString:
 1045|  2.13M|{
 1046|  2.13M|    SEXP ans;
 1047|  2.13M|    PROTECT(x);
  ------------------
  |  |  357|  2.13M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1048|  2.13M|    ans = allocVector(STRSXP, (R_xlen_t)1);
  ------------------
  |  |  875|  2.13M|#define allocVector		Rf_allocVector
  ------------------
                  ans = allocVector(STRSXP, (R_xlen_t)1);
  ------------------
  |  |  126|  2.13M|#define STRSXP	    16	  /* string vectors */
  ------------------
 1049|  2.13M|    SET_STRING_ELT(ans, (R_xlen_t)0, x);
 1050|  2.13M|    UNPROTECT(1);
  ------------------
  |  |  358|  2.13M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1051|  2.13M|    return ans;
 1052|  2.13M|}
Rf_mkString:
 1116|  1.06M|{
 1117|  1.06M|    SEXP t;
 1118|       |
 1119|  1.06M|    PROTECT(t = allocVector(STRSXP, (R_xlen_t)1));
  ------------------
  |  |  357|  1.06M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1120|  1.06M|    SET_STRING_ELT(t, (R_xlen_t)0, mkChar(s));
  ------------------
  |  |  998|  1.06M|#define mkChar			Rf_mkChar
  ------------------
 1121|  1.06M|    UNPROTECT(1);
  ------------------
  |  |  358|  1.06M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1122|  1.06M|    return t;
 1123|  1.06M|}
Rf_stringPositionTr:
 1127|  11.3k|stringPositionTr(SEXP string, const char *translatedElement) {
 1128|       |
 1129|  11.3k|    int slen = LENGTH(string);
 1130|  11.3k|    int i;
 1131|       |
 1132|  11.3k|    const void *vmax = vmaxget();
 1133|  23.0k|    for (i = 0 ; i < slen; i++) {
  ------------------
  |  Branch (1133:18): [True: 14.4k, False: 8.52k]
  ------------------
 1134|  14.4k|	Rboolean found = ! strcmp(translateChar(STRING_ELT(string, i)),
  ------------------
  |  | 1037|  14.4k|#define translateChar		Rf_translateChar
  ------------------
 1135|  14.4k|				  translatedElement);
 1136|  14.4k|	vmaxset(vmax);
 1137|  14.4k|        if (found)
  ------------------
  |  Branch (1137:13): [True: 2.84k, False: 11.6k]
  ------------------
 1138|  2.84k|            return i;
 1139|  14.4k|    }
 1140|  8.52k|    return -1; /* not found */
 1141|  11.3k|}
R_FixupRHS:
 1145|  1.04M|{
 1146|  1.04M|    if( y != R_NilValue && MAYBE_REFERENCED(y) ) {
  ------------------
  |  |  251|  1.04M|#define MAYBE_REFERENCED(x) (! NO_REFERENCES(x))
  |  |  ------------------
  |  |  |  Branch (251:29): [True: 1.04M, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1146:9): [True: 1.04M, False: 0]
  ------------------
 1147|  1.04M|	if (R_cycle_detected(x, y)) {
  ------------------
  |  Branch (1147:6): [True: 0, False: 1.04M]
  ------------------
 1148|       |#ifdef WARNING_ON_CYCLE_DETECT
 1149|       |	    warning("cycle detected");
 1150|       |	    R_cycle_detected(x, y);
 1151|       |#endif
 1152|      0|	    y = duplicate(y);
  ------------------
  |  |  909|      0|#define duplicate		Rf_duplicate
  ------------------
 1153|      0|	}
 1154|  1.04M|	else ENSURE_NAMEDMAX(y);
 1155|  1.04M|    }
 1156|  1.04M|    return y;
 1157|  1.04M|}
CAR:
   93|   986M|{
   94|   986M|    if (BNDCELL_TAG(e))
  ------------------
  |  Branch (94:9): [True: 0, False: 986M]
  ------------------
   95|      0|	error("bad binding access");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
   96|   986M|    return CAR0(e);
   97|   986M|}
Rf_allocVector:
  608|  47.0M|{
  609|  47.0M|    return allocVector3(type, length, NULL);
  ------------------
  |  |  876|  47.0M|#define allocVector3		Rf_allocVector3
  ------------------
  610|  47.0M|}
Rf_ScalarInteger:
 1024|  8.49M|{
 1025|  8.49M|    SEXP ans = allocVector(INTSXP, 1);
  ------------------
  |  |  875|  8.49M|#define allocVector		Rf_allocVector
  ------------------
                  SEXP ans = allocVector(INTSXP, 1);
  ------------------
  |  |  123|  8.49M|#define INTSXP	    13	  /* integer vectors */
  ------------------
 1026|  8.49M|    SET_SCALAR_IVAL(ans, x);
 1027|  8.49M|    return ans;
 1028|  8.49M|}
SET_SCALAR_IVAL:
  356|  8.49M|/*HIDDEN (inlining)*/ INLINE_FUN void SET_SCALAR_IVAL(SEXP x, int v) {
  357|  8.49M|    CHECK_SCALAR_INT(x);
  ------------------
  |  |  261|  8.49M|# define CHECK_SCALAR_INT(x) do {				\
  |  |  262|  8.49M|	CHECK_VECTOR_INT(x);					\
  |  |  ------------------
  |  |  |  |  168|  8.49M|# define CHECK_VECTOR_INT(x) do {				\
  |  |  |  |  169|  8.49M|	if (! (TYPEOF(x) == INTSXP || TYPEOF(x) == LGLSXP))	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  123|  16.9M|#define INTSXP	    13	  /* integer vectors */
  |  |  |  |  ------------------
  |  |  |  |               	if (! (TYPEOF(x) == INTSXP || TYPEOF(x) == LGLSXP))	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (169:9): [True: 8.49M, False: 0]
  |  |  |  |  |  Branch (169:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  170|  8.49M|	    error("bad INTSXP vector");				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  ------------------
  |  |  |  |  171|  8.49M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (171:14): [Folded, False: 8.49M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  263|  8.49M|	if (XLENGTH(x) != 1) error("bad INTSXP scalar");	\
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |  |  Branch (263:6): [True: 0, False: 8.49M]
  |  |  ------------------
  |  |  264|  8.49M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (264:14): [Folded, False: 8.49M]
  |  |  ------------------
  ------------------
  358|  8.49M|    INTEGER(x)[0] = v;
  359|  8.49M|}
Rf_ScalarReal:
 1031|  23.6k|{
 1032|  23.6k|    SEXP ans = allocVector(REALSXP, 1);
  ------------------
  |  |  875|  23.6k|#define allocVector		Rf_allocVector
  ------------------
                  SEXP ans = allocVector(REALSXP, 1);
  ------------------
  |  |  124|  23.6k|#define REALSXP	    14	  /* real variables */
  ------------------
 1033|  23.6k|    SET_SCALAR_DVAL(ans, x);
 1034|  23.6k|    return ans;
 1035|  23.6k|}
SET_SCALAR_DVAL:
  369|  24.6k|/*HIDDEN (inlining)*/ INLINE_FUN void SET_SCALAR_DVAL(SEXP x, double v) {
  370|  24.6k|    CHECK_SCALAR_REAL(x);
  ------------------
  |  |  265|  24.6k|# define CHECK_SCALAR_REAL(x) do {				\
  |  |  266|  24.6k|	CHECK_VECTOR_REAL(x);					\
  |  |  ------------------
  |  |  |  |  172|  24.6k|# define CHECK_VECTOR_REAL(x) do {				\
  |  |  |  |  173|  24.6k|	if (TYPEOF(x) != REALSXP) error("bad REALSXP vector");	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  124|  24.6k|#define REALSXP	    14	  /* real variables */
  |  |  |  |  ------------------
  |  |  |  |               	if (TYPEOF(x) != REALSXP) error("bad REALSXP vector");	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (173:6): [True: 0, False: 24.6k]
  |  |  |  |  ------------------
  |  |  |  |  174|  24.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (174:14): [Folded, False: 24.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  267|  24.6k|	if (XLENGTH(x) != 1) error("bad REALSXP scalar");	\
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |  |  Branch (267:6): [True: 0, False: 24.6k]
  |  |  ------------------
  |  |  268|  24.6k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (268:14): [Folded, False: 24.6k]
  |  |  ------------------
  ------------------
  371|  24.6k|    REAL(x)[0] = v;
  372|  24.6k|}
Rf_isVectorAtomic:
  879|  7.63M|{
  880|  7.63M|    switch (TYPEOF(s)) {
  881|  2.21M|    case LGLSXP:
  ------------------
  |  |  121|  2.21M|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (881:5): [True: 2.21M, False: 5.41M]
  ------------------
  882|  6.51M|    case INTSXP:
  ------------------
  |  |  123|  6.51M|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (882:5): [True: 4.30M, False: 3.33M]
  ------------------
  883|  6.53M|    case REALSXP:
  ------------------
  |  |  124|  6.53M|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (883:5): [True: 16.2k, False: 7.61M]
  ------------------
  884|  6.53M|    case CPLXSXP:
  ------------------
  |  |  125|  6.53M|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (884:5): [True: 0, False: 7.63M]
  ------------------
  885|  6.53M|    case STRSXP:
  ------------------
  |  |  126|  6.53M|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (885:5): [True: 202, False: 7.63M]
  ------------------
  886|  6.53M|    case RAWSXP:
  ------------------
  |  |  136|  6.53M|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (886:5): [True: 0, False: 7.63M]
  ------------------
  887|  6.53M|	return TRUE;
  888|  1.10M|    default: /* including NULL */
  ------------------
  |  Branch (888:5): [True: 1.10M, False: 6.53M]
  ------------------
  889|  1.10M|	return FALSE;
  890|  7.63M|    }
  891|  7.63M|}
Rf_length:
  538|  52.4M|{
  539|  52.4M|    switch (TYPEOF(s)) {
  540|  1.17M|    case NILSXP:
  ------------------
  |  |  111|  1.17M|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (540:5): [True: 1.17M, False: 51.2M]
  ------------------
  541|  1.17M|	return 0;
  542|  17.6k|    case LGLSXP:
  ------------------
  |  |  121|  17.6k|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (542:5): [True: 17.6k, False: 52.4M]
  ------------------
  543|  1.13M|    case INTSXP:
  ------------------
  |  |  123|  1.13M|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (543:5): [True: 1.11M, False: 51.3M]
  ------------------
  544|  1.20M|    case REALSXP:
  ------------------
  |  |  124|  1.20M|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (544:5): [True: 66.7k, False: 52.4M]
  ------------------
  545|  1.20M|    case CPLXSXP:
  ------------------
  |  |  125|  1.20M|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (545:5): [True: 0, False: 52.4M]
  ------------------
  546|  11.7M|    case STRSXP:
  ------------------
  |  |  126|  11.7M|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (546:5): [True: 10.5M, False: 41.8M]
  ------------------
  547|  11.7M|    case CHARSXP:
  ------------------
  |  |  120|  11.7M|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  ------------------
  |  Branch (547:5): [True: 0, False: 52.4M]
  ------------------
  548|  19.3M|    case VECSXP:
  ------------------
  |  |  131|  19.3M|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (548:5): [True: 7.50M, False: 44.9M]
  ------------------
  549|  19.3M|    case EXPRSXP:
  ------------------
  |  |  132|  19.3M|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (549:5): [True: 12, False: 52.4M]
  ------------------
  550|  19.3M|    case RAWSXP:
  ------------------
  |  |  136|  19.3M|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (550:5): [True: 0, False: 52.4M]
  ------------------
  551|  19.3M|	return LENGTH(s);
  552|  30.9M|    case LISTSXP:
  ------------------
  |  |  113|  30.9M|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (552:5): [True: 30.9M, False: 21.5M]
  ------------------
  553|  31.9M|    case LANGSXP:
  ------------------
  |  |  117|  31.9M|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (553:5): [True: 1.05M, False: 51.4M]
  ------------------
  554|  31.9M|    case DOTSXP:
  ------------------
  |  |  127|  31.9M|#define DOTSXP	    17	  /* dot-dot-dot object */
  ------------------
  |  Branch (554:5): [True: 17.3k, False: 52.4M]
  ------------------
  555|  31.9M|    {
  556|  31.9M|	int i = 0;
  557|  79.9M|	while (s != NULL && s != R_NilValue) {
  ------------------
  |  Branch (557:9): [True: 79.9M, False: 0]
  |  Branch (557:22): [True: 47.9M, False: 31.9M]
  ------------------
  558|  47.9M|	    i++;
  559|  47.9M|	    s = CDR(s);
  560|  47.9M|	}
  561|  31.9M|	return i;
  562|  31.9M|    }
  563|     14|    case ENVSXP:
  ------------------
  |  |  115|     14|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (563:5): [True: 14, False: 52.4M]
  ------------------
  564|     14|	return Rf_envlength(s);
  565|  10.6k|    default:
  ------------------
  |  Branch (565:5): [True: 10.6k, False: 52.4M]
  ------------------
  566|  10.6k|	return 1;
  567|  52.4M|    }
  568|  52.4M|}
Rf_list1:
  648|  1.05M|{
  649|  1.05M|    return CONS(s, R_NilValue);
  ------------------
  |  |  309|  1.05M|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
  650|  1.05M|}
Rf_list2:
  654|  1.05M|{
  655|  1.05M|    PROTECT(s);
  ------------------
  |  |  357|  1.05M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  656|  1.05M|    s = CONS(s, list1(t));
  ------------------
  |  |  309|  1.05M|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
  657|  1.05M|    UNPROTECT(1);
  ------------------
  |  |  358|  1.05M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  658|  1.05M|    return s;
  659|  1.05M|}
Rf_list3:
  663|    178|{
  664|    178|    PROTECT(s);
  ------------------
  |  |  357|    178|#define PROTECT(s)	Rf_protect(s)
  ------------------
  665|    178|    s = CONS(s, list2(t, u));
  ------------------
  |  |  309|    178|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
  666|    178|    UNPROTECT(1);
  ------------------
  |  |  358|    178|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  667|    178|    return s;
  668|    178|}
Rf_list4:
  672|     24|{
  673|     24|    PROTECT(s);
  ------------------
  |  |  357|     24|#define PROTECT(s)	Rf_protect(s)
  ------------------
  674|     24|    s = CONS(s, list3(t, u, v));
  ------------------
  |  |  309|     24|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
  675|     24|    UNPROTECT(1);
  ------------------
  |  |  358|     24|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  676|     24|    return s;
  677|     24|}
Rf_lcons:
  716|  6.33M|{
  717|  6.33M|    SEXP e = cons(car, cdr);
  ------------------
  |  |  897|  6.33M|#define cons			Rf_cons
  ------------------
  718|  6.33M|    SET_TYPEOF(e, LANGSXP);
  ------------------
  |  |  117|  6.33M|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  719|  6.33M|    return e;
  720|  6.33M|}
Rf_lang2:
  728|  1.71k|{
  729|  1.71k|    PROTECT(s);
  ------------------
  |  |  357|  1.71k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  730|  1.71k|    s = LCONS(s, list1(t));
  ------------------
  |  |  310|  1.71k|#define LCONS(a, b)	Rf_lcons((a), (b))		/* language lists */
  ------------------
  731|  1.71k|    UNPROTECT(1);
  ------------------
  |  |  358|  1.71k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  732|  1.71k|    return s;
  733|  1.71k|}
Rf_lang3:
  736|  1.05M|{
  737|  1.05M|    PROTECT(s);
  ------------------
  |  |  357|  1.05M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  738|  1.05M|    s = LCONS(s, list2(t, u));
  ------------------
  |  |  310|  1.05M|#define LCONS(a, b)	Rf_lcons((a), (b))		/* language lists */
  ------------------
  739|  1.05M|    UNPROTECT(1);
  ------------------
  |  |  358|  1.05M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  740|  1.05M|    return s;
  741|  1.05M|}
Rf_lang4:
  744|    130|{
  745|    130|    PROTECT(s);
  ------------------
  |  |  357|    130|#define PROTECT(s)	Rf_protect(s)
  ------------------
  746|    130|    s = LCONS(s, list3(t, u, v));
  ------------------
  |  |  310|    130|#define LCONS(a, b)	Rf_lcons((a), (b))		/* language lists */
  ------------------
  747|    130|    UNPROTECT(1);
  ------------------
  |  |  358|    130|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  748|    130|    return s;
  749|    130|}
Rf_inherits:
  789|  2.16M|{
  790|  2.16M|    SEXP klass;
  791|  2.16M|    int i, nclass;
  792|  2.16M|    if (OBJECT(s)) {
  ------------------
  |  Branch (792:9): [True: 1.05M, False: 1.10M]
  ------------------
  793|  1.05M|	klass = getAttrib(s, R_ClassSymbol);
  ------------------
  |  |  924|  1.05M|#define getAttrib		Rf_getAttrib
  ------------------
  794|  1.05M|	nclass = length(klass);
  ------------------
  |  |  987|  1.05M|#define length(x)		Rf_length(x)
  ------------------
  795|  1.06M|	for (i = 0; i < nclass; i++) {
  ------------------
  |  Branch (795:14): [True: 1.05M, False: 6.94k]
  ------------------
  796|  1.05M|	    if (!strcmp(CHAR(STRING_ELT(klass, i)), name))
  ------------------
  |  |  203|  1.05M|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (796:10): [True: 1.05M, False: 7.04k]
  ------------------
  797|  1.05M|		return TRUE;
  798|  1.05M|	}
  799|  1.05M|    }
  800|  1.11M|    return FALSE;
  801|  2.16M|}
Rf_isFunction:
  831|  5.30M|{
  832|  5.30M|    return (TYPEOF(s) == CLOSXP ||
  ------------------
  |  |  114|  10.6M|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (832:13): [True: 1.06M, False: 4.23M]
  ------------------
  833|  4.23M|	    TYPEOF(s) == BUILTINSXP ||
  ------------------
  |  |  119|  9.53M|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (833:6): [True: 1.92k, False: 4.23M]
  ------------------
  834|  4.23M|	    TYPEOF(s) == SPECIALSXP);
  ------------------
  |  |  118|  4.23M|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (834:6): [True: 120, False: 4.23M]
  ------------------
  835|  5.30M|}
Rf_isList:
  844|  48.4M|{
  845|  48.4M|    return (s == R_NilValue || TYPEOF(s) == LISTSXP);
  ------------------
  |  |  113|  48.4M|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (845:13): [True: 138, False: 48.4M]
  |  Branch (845:32): [True: 3.18M, False: 45.2M]
  ------------------
  846|  48.4M|}
Rf_isNewList:
  850|  4.21M|{
  851|  4.21M|    return (s == R_NilValue || TYPEOF(s) == VECSXP);
  ------------------
  |  |  131|  4.21M|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (851:13): [True: 14, False: 4.21M]
  |  Branch (851:32): [True: 4.21M, False: 0]
  ------------------
  852|  4.21M|}
Rf_isVector:
  894|   252M|{
  895|   252M|    switch(TYPEOF(s)) {
  896|  3.41M|    case LGLSXP:
  ------------------
  |  |  121|  3.41M|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (896:5): [True: 3.41M, False: 249M]
  ------------------
  897|   113M|    case INTSXP:
  ------------------
  |  |  123|   113M|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (897:5): [True: 110M, False: 142M]
  ------------------
  898|   119M|    case REALSXP:
  ------------------
  |  |  124|   119M|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (898:5): [True: 5.63M, False: 247M]
  ------------------
  899|   119M|    case CPLXSXP:
  ------------------
  |  |  125|   119M|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (899:5): [True: 0, False: 252M]
  ------------------
  900|   138M|    case STRSXP:
  ------------------
  |  |  126|   138M|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (900:5): [True: 19.0M, False: 233M]
  ------------------
  901|   142M|    case RAWSXP:
  ------------------
  |  |  136|   142M|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (901:5): [True: 3.80M, False: 248M]
  ------------------
  902|       |
  903|   252M|    case VECSXP:
  ------------------
  |  |  131|   252M|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (903:5): [True: 110M, False: 142M]
  ------------------
  904|   252M|    case EXPRSXP:
  ------------------
  |  |  132|   252M|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (904:5): [True: 36, False: 252M]
  ------------------
  905|   252M|	return TRUE;
  906|  19.5k|    default:
  ------------------
  |  Branch (906:5): [True: 19.5k, False: 252M]
  ------------------
  907|  19.5k|	return FALSE;
  908|   252M|    }
  909|   252M|}
Rf_isLanguage:
  928|  29.5M|{
  929|  29.5M|    return (s == R_NilValue || TYPEOF(s) == LANGSXP);
  ------------------
  |  |  117|  29.5M|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (929:13): [True: 0, False: 29.5M]
  |  Branch (929:32): [True: 13.7k, False: 29.4M]
  ------------------
  930|  29.5M|}
Rf_isMatrix:
  933|  27.3k|{
  934|  27.3k|    SEXP t;
  935|  27.3k|    if (isVector(s)) {
  ------------------
  |  |  974|  27.3k|#define isVector		Rf_isVector
  ------------------
  |  Branch (935:9): [True: 27.0k, False: 322]
  ------------------
  936|  27.0k|	t = getAttrib(s, R_DimSymbol);
  ------------------
  |  |  924|  27.0k|#define getAttrib		Rf_getAttrib
  ------------------
  937|       |	/* You are not supposed to be able to assign a non-integer dim,
  938|       |	   although this might be possible by misuse of ATTRIB. */
  939|  27.0k|	if (TYPEOF(t) == INTSXP && LENGTH(t) == 2)
  ------------------
  |  |  123|  54.1k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (939:6): [True: 1.90k, False: 25.1k]
  |  Branch (939:29): [True: 1.90k, False: 0]
  ------------------
  940|  1.90k|	    return TRUE;
  941|  27.0k|    }
  942|  25.4k|    return FALSE;
  943|  27.3k|}
Rf_isInteger:
  965|  19.9k|{
  966|  19.9k|    return (TYPEOF(s) == INTSXP && !inherits(s, "factor"));
  ------------------
  |  |  123|  39.9k|#define INTSXP	    13	  /* integer vectors */
  ------------------
                  return (TYPEOF(s) == INTSXP && !inherits(s, "factor"));
  ------------------
  |  |  933|  3.91k|#define inherits		Rf_inherits
  ------------------
  |  Branch (966:13): [True: 3.91k, False: 16.0k]
  |  Branch (966:36): [True: 3.91k, False: 0]
  ------------------
  967|  19.9k|}
Rf_isFactor:
  970|  6.15k|{
  971|  6.15k|    return (TYPEOF(s) == INTSXP  && inherits(s, "factor"));
  ------------------
  |  |  123|  12.3k|#define INTSXP	    13	  /* integer vectors */
  ------------------
                  return (TYPEOF(s) == INTSXP  && inherits(s, "factor"));
  ------------------
  |  |  933|      4|#define inherits		Rf_inherits
  ------------------
  |  Branch (971:13): [True: 4, False: 6.15k]
  |  Branch (971:37): [True: 0, False: 4]
  ------------------
  972|  6.15k|}
Rf_isNumeric:
  986|  28.1k|{
  987|  28.1k|    switch(TYPEOF(s)) {
  988|  9.83k|    case INTSXP:
  ------------------
  |  |  123|  9.83k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (988:5): [True: 9.83k, False: 18.3k]
  ------------------
  989|  9.83k|	if (inherits(s,"factor")) return FALSE;
  ------------------
  |  |  933|  9.83k|#define inherits		Rf_inherits
  ------------------
  |  Branch (989:6): [True: 0, False: 9.83k]
  ------------------
  990|  12.2k|    case LGLSXP:
  ------------------
  |  |  121|  12.2k|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (990:5): [True: 2.36k, False: 25.8k]
  ------------------
  991|  27.5k|    case REALSXP:
  ------------------
  |  |  124|  27.5k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (991:5): [True: 15.3k, False: 12.7k]
  ------------------
  992|  27.5k|	return TRUE;
  993|    589|    default:
  ------------------
  |  Branch (993:5): [True: 589, False: 27.5k]
  ------------------
  994|    589|	return FALSE;
  995|  28.1k|    }
  996|  28.1k|}
Rf_ScalarString:
 1045|  2.13M|{
 1046|  2.13M|    SEXP ans;
 1047|  2.13M|    PROTECT(x);
  ------------------
  |  |  357|  2.13M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1048|  2.13M|    ans = allocVector(STRSXP, (R_xlen_t)1);
  ------------------
  |  |  875|  2.13M|#define allocVector		Rf_allocVector
  ------------------
                  ans = allocVector(STRSXP, (R_xlen_t)1);
  ------------------
  |  |  126|  2.13M|#define STRSXP	    16	  /* string vectors */
  ------------------
 1049|  2.13M|    SET_STRING_ELT(ans, (R_xlen_t)0, x);
 1050|  2.13M|    UNPROTECT(1);
  ------------------
  |  |  358|  2.13M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1051|  2.13M|    return ans;
 1052|  2.13M|}
Rf_mkString:
 1116|  1.06M|{
 1117|  1.06M|    SEXP t;
 1118|       |
 1119|  1.06M|    PROTECT(t = allocVector(STRSXP, (R_xlen_t)1));
  ------------------
  |  |  357|  1.06M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1120|  1.06M|    SET_STRING_ELT(t, (R_xlen_t)0, mkChar(s));
  ------------------
  |  |  998|  1.06M|#define mkChar			Rf_mkChar
  ------------------
 1121|  1.06M|    UNPROTECT(1);
  ------------------
  |  |  358|  1.06M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1122|  1.06M|    return t;
 1123|  1.06M|}
Rf_isArray:
  946|  3.24M|{
  947|  3.24M|    SEXP t;
  948|  3.24M|    if (isVector(s)) {
  ------------------
  |  |  974|  3.24M|#define isVector		Rf_isVector
  ------------------
  |  Branch (948:9): [True: 3.24M, False: 0]
  ------------------
  949|  3.24M|	t = getAttrib(s, R_DimSymbol);
  ------------------
  |  |  924|  3.24M|#define getAttrib		Rf_getAttrib
  ------------------
  950|       |	/* You are not supposed to be able to assign a 0-length dim,
  951|       |	 nor a non-integer dim */
  952|  3.24M|	if (TYPEOF(t) == INTSXP && LENGTH(t) > 0)
  ------------------
  |  |  123|  6.49M|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (952:6): [True: 29.9k, False: 3.21M]
  |  Branch (952:29): [True: 29.9k, False: 0]
  ------------------
  953|  29.9k|	    return TRUE;
  954|  3.24M|    }
  955|  3.21M|    return FALSE;
  956|  3.24M|}
Rf_isVectorList:
  868|  1.08M|{
  869|  1.08M|    switch (TYPEOF(s)) {
  870|  32.8k|    case VECSXP:
  ------------------
  |  |  131|  32.8k|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (870:5): [True: 32.8k, False: 1.05M]
  ------------------
  871|  32.8k|    case EXPRSXP:
  ------------------
  |  |  132|  32.8k|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (871:5): [True: 0, False: 1.08M]
  ------------------
  872|  32.8k|	return TRUE;
  873|  1.05M|    default:
  ------------------
  |  Branch (873:5): [True: 1.05M, False: 32.8k]
  ------------------
  874|  1.05M|	return FALSE;
  875|  1.08M|    }
  876|  1.08M|}
Rf_xlength:
  573|  70.0M|{
  574|  70.0M|    switch (TYPEOF(s)) {
  575|  15.1k|    case NILSXP:
  ------------------
  |  |  111|  15.1k|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (575:5): [True: 15.1k, False: 69.9M]
  ------------------
  576|  15.1k|	return 0;
  577|  2.15M|    case LGLSXP:
  ------------------
  |  |  121|  2.15M|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (577:5): [True: 2.15M, False: 67.8M]
  ------------------
  578|  4.28M|    case INTSXP:
  ------------------
  |  |  123|  4.28M|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (578:5): [True: 2.12M, False: 67.8M]
  ------------------
  579|  4.42M|    case REALSXP:
  ------------------
  |  |  124|  4.42M|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (579:5): [True: 139k, False: 69.8M]
  ------------------
  580|  4.42M|    case CPLXSXP:
  ------------------
  |  |  125|  4.42M|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (580:5): [True: 0, False: 70.0M]
  ------------------
  581|  32.1M|    case STRSXP:
  ------------------
  |  |  126|  32.1M|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (581:5): [True: 27.7M, False: 42.2M]
  ------------------
  582|  32.1M|    case CHARSXP:
  ------------------
  |  |  120|  32.1M|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  ------------------
  |  Branch (582:5): [True: 0, False: 70.0M]
  ------------------
  583|  69.9M|    case VECSXP:
  ------------------
  |  |  131|  69.9M|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (583:5): [True: 37.8M, False: 32.1M]
  ------------------
  584|  69.9M|    case EXPRSXP:
  ------------------
  |  |  132|  69.9M|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (584:5): [True: 48, False: 70.0M]
  ------------------
  585|  69.9M|    case RAWSXP:
  ------------------
  |  |  136|  69.9M|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (585:5): [True: 0, False: 70.0M]
  ------------------
  586|  69.9M|	return XLENGTH(s);
  587|  1.35k|    case LISTSXP:
  ------------------
  |  |  113|  1.35k|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (587:5): [True: 1.35k, False: 70.0M]
  ------------------
  588|  2.11k|    case LANGSXP:
  ------------------
  |  |  117|  2.11k|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (588:5): [True: 763, False: 70.0M]
  ------------------
  589|  2.11k|    case DOTSXP:
  ------------------
  |  |  127|  2.11k|#define DOTSXP	    17	  /* dot-dot-dot object */
  ------------------
  |  Branch (589:5): [True: 0, False: 70.0M]
  ------------------
  590|  2.11k|    {
  591|       |	// it is implausible this would be >= 2^31 elements, but allow it
  592|  2.11k|	R_xlen_t i = 0;
  593|  11.7k|	while (s != NULL && s != R_NilValue) {
  ------------------
  |  Branch (593:9): [True: 11.7k, False: 0]
  |  Branch (593:22): [True: 9.61k, False: 2.11k]
  ------------------
  594|  9.61k|	    i++;
  595|  9.61k|	    s = CDR(s);
  596|  9.61k|	}
  597|  2.11k|	return i;
  598|  2.11k|    }
  599|      0|    case ENVSXP:
  ------------------
  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (599:5): [True: 0, False: 70.0M]
  ------------------
  600|      0|	return Rf_envxlength(s);
  601|    571|    default:
  ------------------
  |  Branch (601:5): [True: 571, False: 70.0M]
  ------------------
  602|    571|	return 1;
  603|  70.0M|    }
  604|  70.0M|}
CHKVEC:
  109|   210M|/*HIDDEN (inlining)*/ INLINE_FUN void CHKVEC(SEXP x) {
  110|   210M|    switch (TYPEOF(x)) {
  ------------------
  |  |  233|   210M|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
  111|      0|    case CHARSXP:
  ------------------
  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  ------------------
  |  Branch (111:5): [True: 0, False: 210M]
  ------------------
  112|  12.2M|    case LGLSXP:
  ------------------
  |  |  121|  12.2M|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (112:5): [True: 12.2M, False: 198M]
  ------------------
  113|   133M|    case INTSXP:
  ------------------
  |  |  123|   133M|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (113:5): [True: 121M, False: 88.8M]
  ------------------
  114|   137M|    case REALSXP:
  ------------------
  |  |  124|   137M|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (114:5): [True: 3.21M, False: 207M]
  ------------------
  115|   137M|    case CPLXSXP:
  ------------------
  |  |  125|   137M|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (115:5): [True: 4, False: 210M]
  ------------------
  116|   155M|    case STRSXP:
  ------------------
  |  |  126|   155M|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (116:5): [True: 18.0M, False: 192M]
  ------------------
  117|   210M|    case VECSXP:
  ------------------
  |  |  131|   210M|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (117:5): [True: 55.3M, False: 155M]
  ------------------
  118|   210M|    case EXPRSXP:
  ------------------
  |  |  132|   210M|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (118:5): [True: 60, False: 210M]
  ------------------
  119|   210M|    case RAWSXP:
  ------------------
  |  |  136|   210M|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (119:5): [True: 7.31k, False: 210M]
  ------------------
  120|   210M|    case WEAKREFSXP:
  ------------------
  |  |  135|   210M|#define WEAKREFSXP  23    /* weak reference */
  ------------------
  |  Branch (120:5): [True: 0, False: 210M]
  ------------------
  121|   210M|	break;
  122|      0|    default:
  ------------------
  |  Branch (122:5): [True: 0, False: 210M]
  ------------------
  123|      0|	error("cannot get data pointer of '%s' objects", R_typeToChar(x));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  124|   210M|    }
  125|   210M|}
DATAPTR:
  130|   167M|INLINE_FUN void *DATAPTR(SEXP x) {
  131|   167M|    CHKVEC(x);
  132|   167M|    if (ALTREP(x))
  ------------------
  |  |  242|   167M|#define ALTREP(x)       ((x)->sxpinfo.alt)
  |  |  ------------------
  |  |  |  Branch (242:25): [True: 372, False: 167M]
  |  |  ------------------
  ------------------
  133|    372|	return ALTVEC_DATAPTR(x);
  134|   167M|#ifdef CATCH_ZERO_LENGTH_ACCESS
  135|       |    /* Attempts to read or write elements of a zero length vector will
  136|       |       result in a segfault, rather than read and write random memory.
  137|       |       Returning NULL would be more natural, but Matrix seems to assume
  138|       |       that even zero-length vectors have non-NULL data pointers, so
  139|       |       return (void *) 1 instead. Zero-length CHARSXP objects still
  140|       |       have a trailing zero byte so they are not handled. */
  141|   167M|    else if (STDVEC_LENGTH(x) == 0 && TYPEOF(x) != CHARSXP)
  ------------------
  |  |  392|   167M|#define STDVEC_LENGTH(x) (((VECSEXP) (x))->vecsxp.length)
  ------------------
                  else if (STDVEC_LENGTH(x) == 0 && TYPEOF(x) != CHARSXP)
  ------------------
  |  |  233|  11.7k|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
                  else if (STDVEC_LENGTH(x) == 0 && TYPEOF(x) != CHARSXP)
  ------------------
  |  |  120|  11.7k|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  ------------------
  |  Branch (141:14): [True: 11.7k, False: 167M]
  |  Branch (141:39): [True: 11.7k, False: 0]
  ------------------
  142|  11.7k|	return (void *) 1;
  143|   167M|#endif
  144|   167M|    else
  145|   167M|	return STDVEC_DATAPTR(x);
  ------------------
  |  |  420|   167M|#define STDVEC_DATAPTR(x) ((void *) (((SEXPREC_ALIGN *) (x)) + 1))
  ------------------
  146|   167M|}
XLENGTH_EX:
  215|   664M|{
  216|   664M|    return ALTREP(x) ? ALTREP_LENGTH(x) : STDVEC_LENGTH(x);
  ------------------
  |  |  242|   664M|#define ALTREP(x)       ((x)->sxpinfo.alt)
  |  |  ------------------
  |  |  |  Branch (242:25): [True: 223k, False: 664M]
  |  |  ------------------
  ------------------
                  return ALTREP(x) ? ALTREP_LENGTH(x) : STDVEC_LENGTH(x);
  ------------------
  |  |  392|   664M|#define STDVEC_LENGTH(x) (((VECSEXP) (x))->vecsxp.length)
  ------------------
  217|   664M|}
LENGTH_EX:
  225|  85.9M|{
  226|  85.9M|    if (x == R_NilValue) return 0;
  ------------------
  |  Branch (226:9): [True: 0, False: 85.9M]
  ------------------
  227|  85.9M|    R_xlen_t len = XLENGTH(x);
  ------------------
  |  |  407|  85.9M|#define XLENGTH(x) XLENGTH_EX(x)
  ------------------
  228|  85.9M|#ifdef LONG_VECTOR_SUPPORT
  229|  85.9M|    if (len > R_SHORT_LEN_MAX)
  ------------------
  |  |   77|  85.9M|# define R_SHORT_LEN_MAX 2147483647
  ------------------
  |  Branch (229:9): [True: 0, False: 85.9M]
  ------------------
  230|      0|	R_BadLongVector(x, file, line);
  231|  85.9M|#endif
  232|  85.9M|    return (int) len;
  233|  85.9M|}
SET_SCALAR_DVAL:
  369|  24.6k|/*HIDDEN (inlining)*/ INLINE_FUN void SET_SCALAR_DVAL(SEXP x, double v) {
  370|  24.6k|    CHECK_SCALAR_REAL(x);
  ------------------
  |  |  265|  24.6k|# define CHECK_SCALAR_REAL(x) do {				\
  |  |  266|  24.6k|	CHECK_VECTOR_REAL(x);					\
  |  |  ------------------
  |  |  |  |  172|  24.6k|# define CHECK_VECTOR_REAL(x) do {				\
  |  |  |  |  173|  24.6k|	if (TYPEOF(x) != REALSXP) error("bad REALSXP vector");	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  233|  24.6k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  ------------------
  |  |  |  |               	if (TYPEOF(x) != REALSXP) error("bad REALSXP vector");	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  124|  24.6k|#define REALSXP	    14	  /* real variables */
  |  |  |  |  ------------------
  |  |  |  |               	if (TYPEOF(x) != REALSXP) error("bad REALSXP vector");	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (173:6): [True: 0, False: 24.6k]
  |  |  |  |  ------------------
  |  |  |  |  174|  24.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (174:14): [Folded, False: 24.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  267|  24.6k|	if (XLENGTH(x) != 1) error("bad REALSXP scalar");	\
  |  |  ------------------
  |  |  |  |  407|  24.6k|#define XLENGTH(x) XLENGTH_EX(x)
  |  |  ------------------
  |  |               	if (XLENGTH(x) != 1) error("bad REALSXP scalar");	\
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |  |  Branch (267:6): [True: 0, False: 24.6k]
  |  |  ------------------
  |  |  268|  24.6k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (268:14): [Folded, False: 24.6k]
  |  |  ------------------
  ------------------
  371|  24.6k|    REAL(x)[0] = v;
  ------------------
  |  |  427|  24.6k|#define REAL(x)		((double *) DATAPTR(x))
  ------------------
  372|  24.6k|}
CAR:
   93|   986M|{
   94|   986M|    if (BNDCELL_TAG(e))
  ------------------
  |  |  463|   986M|#define BNDCELL_TAG(e)	((e)->sxpinfo.extra)
  |  |  ------------------
  |  |  |  Branch (463:24): [True: 0, False: 986M]
  |  |  ------------------
  ------------------
   95|      0|	error("bad binding access");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
   96|   986M|    return CAR0(e);
  ------------------
  |  |  441|   986M|#define CAR0(e)		((e)->u.listsxp.carval)
  ------------------
   97|   986M|}
Rf_ScalarLogical:
 1016|  6.61M|{
 1017|  6.61M|    LibExtern SEXP R_LogicalNAValue, R_TrueValue, R_FalseValue;
  ------------------
  |  |   50|  6.61M|#define LibExtern extern LibImport
  ------------------
 1018|  6.61M|    if (x == NA_LOGICAL) return R_LogicalNAValue;
  ------------------
  |  |   55|  6.61M|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (1018:9): [True: 3.45k, False: 6.60M]
  ------------------
 1019|  6.60M|    else if (x != 0) return R_TrueValue;
  ------------------
  |  Branch (1019:14): [True: 136k, False: 6.47M]
  ------------------
 1020|  6.47M|    else return R_FalseValue;
 1021|  6.61M|}
Rf_lang1:
  723|     74|{
  724|     74|    return LCONS(s, R_NilValue);
  ------------------
  |  |  310|     74|#define LCONS(a, b)	Rf_lcons((a), (b))		/* language lists */
  ------------------
  725|     74|}
Rf_isPrimitive:
  838|      2|{
  839|      2|    return (TYPEOF(s) == BUILTINSXP ||
  ------------------
  |  |  119|      4|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (839:13): [True: 0, False: 2]
  ------------------
  840|      2|	    TYPEOF(s) == SPECIALSXP);
  ------------------
  |  |  118|      2|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (840:6): [True: 2, False: 0]
  ------------------
  841|      2|}

hsv:
  184|    517|{
  185|    517|    double hh, ss, vv, aa, r=0., g=0., b=0.; /* -Wall */
  186|    517|    R_xlen_t i, max, nh, ns, nv, na = 1;
  187|       |
  188|    517|    PROTECT(h = coerceVector(h,REALSXP));
  ------------------
  |  |  357|    517|#define PROTECT(s)	Rf_protect(s)
  ------------------
  189|    517|    PROTECT(s = coerceVector(s,REALSXP));
  ------------------
  |  |  357|    517|#define PROTECT(s)	Rf_protect(s)
  ------------------
  190|    517|    PROTECT(v = coerceVector(v,REALSXP));
  ------------------
  |  |  357|    517|#define PROTECT(s)	Rf_protect(s)
  ------------------
  191|    517|    if (!isNull(a)) {
  ------------------
  |  |  956|    517|#define isNull			Rf_isNull
  ------------------
  |  Branch (191:9): [True: 324, False: 193]
  ------------------
  192|    324|	a = coerceVector(a, REALSXP);
  ------------------
  |  |  895|    324|#define coerceVector		Rf_coerceVector
  ------------------
              	a = coerceVector(a, REALSXP);
  ------------------
  |  |  124|    324|#define REALSXP	    14	  /* real variables */
  ------------------
  193|    324|	na = XLENGTH(a);
  194|    324|    }
  195|    517|    PROTECT(a);
  ------------------
  |  |  357|    517|#define PROTECT(s)	Rf_protect(s)
  ------------------
  196|       |
  197|    517|    nh = XLENGTH(h);
  198|    517|    ns = XLENGTH(s);
  199|    517|    nv = XLENGTH(v);
  200|    517|    if (nh <= 0 || ns <= 0 || nv <= 0 || na <= 0) {
  ------------------
  |  Branch (200:9): [True: 21, False: 496]
  |  Branch (200:20): [True: 0, False: 496]
  |  Branch (200:31): [True: 0, False: 496]
  |  Branch (200:42): [True: 0, False: 496]
  ------------------
  201|     21|	UNPROTECT(4);
  ------------------
  |  |  358|     21|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  202|     21|	return allocVector(STRSXP, 0);
  ------------------
  |  |  875|     21|#define allocVector		Rf_allocVector
  ------------------
              	return allocVector(STRSXP, 0);
  ------------------
  |  |  126|     21|#define STRSXP	    16	  /* string vectors */
  ------------------
  203|     21|    }
  204|    496|    max = nh;
  205|    496|    if (max < ns) max = ns;
  ------------------
  |  Branch (205:9): [True: 0, False: 496]
  ------------------
  206|    496|    if (max < nv) max = nv;
  ------------------
  |  Branch (206:9): [True: 0, False: 496]
  ------------------
  207|    496|    if (max < na) max = na;
  ------------------
  |  Branch (207:9): [True: 0, False: 496]
  ------------------
  208|    496|    SEXP c = PROTECT(allocVector(STRSXP, max));
  ------------------
  |  |  357|    496|#define PROTECT(s)	Rf_protect(s)
  ------------------
  209|    496|    if(max == 0) {
  ------------------
  |  Branch (209:8): [True: 0, False: 496]
  ------------------
  210|      0|        UNPROTECT(5);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  211|      0|        return(c);
  212|      0|    }
  213|       |
  214|    496|    if(isNull(a)) {
  ------------------
  |  |  956|    496|#define isNull			Rf_isNull
  ------------------
  |  Branch (214:8): [True: 193, False: 303]
  ------------------
  215|    625|	for (i = 0; i < max; i++) {
  ------------------
  |  Branch (215:14): [True: 432, False: 193]
  ------------------
  216|    432|	hh = REAL(h)[i % nh];
  217|    432|	ss = REAL(s)[i % ns];
  218|    432|	vv = REAL(v)[i % nv];
  219|    432|	if (hh < 0 || hh > 1 || ss < 0 || ss > 1 || vv < 0 || vv > 1)
  ------------------
  |  Branch (219:6): [True: 1, False: 431]
  |  Branch (219:16): [True: 49, False: 382]
  |  Branch (219:26): [True: 0, False: 382]
  |  Branch (219:36): [True: 0, False: 382]
  |  Branch (219:46): [True: 0, False: 382]
  |  Branch (219:56): [True: 0, False: 382]
  ------------------
  220|     50|	    error(_("invalid hsv color"));
  ------------------
  |  |   88|     50|#define error Rf_error
  ------------------
              	    error(_("invalid hsv color"));
  ------------------
  |  |   27|     50|#define _(String) dgettext ("grDevices", String)
  ------------------
  221|    432|	hsv2rgb(hh, ss, vv, &r, &g, &b);
  222|    432|	SET_STRING_ELT(c, i, mkChar(RGB2rgb(ScaleColor(r), ScaleColor(g),
  ------------------
  |  |  998|    432|#define mkChar			Rf_mkChar
  ------------------
  223|    432|					    ScaleColor(b))));
  224|       |
  225|    432|	}
  226|    303|    } else {
  227|   241k|	for (i = 0; i < max; i++) {
  ------------------
  |  Branch (227:14): [True: 241k, False: 303]
  ------------------
  228|   241k|	hh = REAL(h)[i % nh];
  229|   241k|	ss = REAL(s)[i % ns];
  230|   241k|	vv = REAL(v)[i % nv];
  231|   241k|	aa = REAL(a)[i % na];
  232|   241k|	if (hh < 0 || hh > 1 || ss < 0 || ss > 1 || vv < 0 || vv > 1 ||
  ------------------
  |  Branch (232:6): [True: 0, False: 241k]
  |  Branch (232:16): [True: 0, False: 241k]
  |  Branch (232:26): [True: 0, False: 241k]
  |  Branch (232:36): [True: 0, False: 241k]
  |  Branch (232:46): [True: 0, False: 241k]
  |  Branch (232:56): [True: 0, False: 241k]
  ------------------
  233|   241k|	    aa < 0 || aa > 1)
  ------------------
  |  Branch (233:6): [True: 0, False: 241k]
  |  Branch (233:16): [True: 0, False: 241k]
  ------------------
  234|      0|	    error(_("invalid hsv color"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("invalid hsv color"));
  ------------------
  |  |   27|      0|#define _(String) dgettext ("grDevices", String)
  ------------------
  235|   241k|	hsv2rgb(hh, ss, vv, &r, &g, &b);
  236|   241k|	SET_STRING_ELT(c, i, mkChar(RGBA2rgb(ScaleColor(r), ScaleColor(g),
  ------------------
  |  |  998|   241k|#define mkChar			Rf_mkChar
  ------------------
  237|   241k|					     ScaleColor(b), ScaleAlpha(aa))));
  238|   241k|	}
  239|    303|    }
  240|    496|    UNPROTECT(5);
  ------------------
  |  |  358|    496|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  241|    496|    return c;
  242|    496|}
hcl:
  313|    868|{
  314|    868|    double H, C, L, A, r, g, b;
  315|    868|    R_xlen_t nh, nc, nl, na = 1, max, i;
  316|    868|    int ir, ig, ib;
  317|    868|    int fixup;
  318|       |
  319|    868|    PROTECT(h = coerceVector(h, REALSXP));
  ------------------
  |  |  357|    868|#define PROTECT(s)	Rf_protect(s)
  ------------------
  320|    868|    PROTECT(c = coerceVector(c, REALSXP));
  ------------------
  |  |  357|    868|#define PROTECT(s)	Rf_protect(s)
  ------------------
  321|    868|    PROTECT(l = coerceVector(l, REALSXP));
  ------------------
  |  |  357|    868|#define PROTECT(s)	Rf_protect(s)
  ------------------
  322|    868|    if (!isNull(a)) {
  ------------------
  |  |  956|    868|#define isNull			Rf_isNull
  ------------------
  |  Branch (322:9): [True: 326, False: 542]
  ------------------
  323|    326|	a = coerceVector(a, REALSXP);
  ------------------
  |  |  895|    326|#define coerceVector		Rf_coerceVector
  ------------------
              	a = coerceVector(a, REALSXP);
  ------------------
  |  |  124|    326|#define REALSXP	    14	  /* real variables */
  ------------------
  324|    326|	na = XLENGTH(a);
  325|    326|    }
  326|    868|    PROTECT(a);
  ------------------
  |  |  357|    868|#define PROTECT(s)	Rf_protect(s)
  ------------------
  327|    868|    fixup = asLogical(sfixup);
  ------------------
  |  |  886|    868|#define asLogical		Rf_asLogical
  ------------------
  328|    868|    nh = XLENGTH(h);
  329|    868|    nc = XLENGTH(c);
  330|    868|    nl = XLENGTH(l);
  331|    868|    if (nh <= 0 || nc <= 0 || nl <= 0 || na <= 0) {
  ------------------
  |  Branch (331:9): [True: 66, False: 802]
  |  Branch (331:20): [True: 0, False: 802]
  |  Branch (331:31): [True: 0, False: 802]
  |  Branch (331:42): [True: 0, False: 802]
  ------------------
  332|     66|	UNPROTECT(4);
  ------------------
  |  |  358|     66|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  333|     66|	return(allocVector(STRSXP, 0));
  ------------------
  |  |  875|     66|#define allocVector		Rf_allocVector
  ------------------
              	return(allocVector(STRSXP, 0));
  ------------------
  |  |  126|     66|#define STRSXP	    16	  /* string vectors */
  ------------------
  334|     66|    }
  335|    802|    max = nh;
  336|    802|    if (max < nc) max = nc;
  ------------------
  |  Branch (336:9): [True: 0, False: 802]
  ------------------
  337|    802|    if (max < nl) max = nl;
  ------------------
  |  Branch (337:9): [True: 0, False: 802]
  ------------------
  338|    802|    if (max < na) max = na;
  ------------------
  |  Branch (338:9): [True: 0, False: 802]
  ------------------
  339|    802|    SEXP ans = PROTECT(allocVector(STRSXP, max));
  ------------------
  |  |  357|    802|#define PROTECT(s)	Rf_protect(s)
  ------------------
  340|    802|    if (isNull(a)) {
  ------------------
  |  |  956|    802|#define isNull			Rf_isNull
  ------------------
  |  Branch (340:9): [True: 509, False: 293]
  ------------------
  341|  57.9k|	for (i = 0; i < max; i++) {
  ------------------
  |  Branch (341:14): [True: 57.4k, False: 509]
  ------------------
  342|  57.4k|	    H = REAL(h)[i % nh];
  343|  57.4k|	    C = REAL(c)[i % nc];
  344|  57.4k|	    L = REAL(l)[i % nl];
  345|  57.4k|	    if (R_FINITE(H) && R_FINITE(C) && R_FINITE(L)) {
  ------------------
  |  |   82|  57.4k|# define R_FINITE(x)    isfinite(x)
  ------------------
              	    if (R_FINITE(H) && R_FINITE(C) && R_FINITE(L)) {
  ------------------
  |  |   82|  57.4k|# define R_FINITE(x)    isfinite(x)
  ------------------
              	    if (R_FINITE(H) && R_FINITE(C) && R_FINITE(L)) {
  ------------------
  |  |   82|  57.4k|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (345:10): [True: 21.4k, False: 35.9k]
  |  Branch (345:25): [True: 21.2k, False: 249]
  |  Branch (345:40): [True: 21.2k, False: 0]
  ------------------
  346|  21.2k|		if (L < 0 || L > WHITE_Y || C < 0) error(_("invalid hcl color"));
  ------------------
  |  |  247|  42.4k|#define WHITE_Y 100.000
  ------------------
              		if (L < 0 || L > WHITE_Y || C < 0) error(_("invalid hcl color"));
  ------------------
  |  |   88|      5|#define error Rf_error
  ------------------
              		if (L < 0 || L > WHITE_Y || C < 0) error(_("invalid hcl color"));
  ------------------
  |  |   27|      5|#define _(String) dgettext ("grDevices", String)
  ------------------
  |  Branch (346:7): [True: 5, False: 21.2k]
  |  Branch (346:16): [True: 0, False: 21.2k]
  |  Branch (346:31): [True: 0, False: 21.2k]
  ------------------
  347|  21.2k|		hcl2rgb(H, C, L, &r, &g, &b);
  348|  21.2k|		ir = (int) (255 * r + .5);
  349|  21.2k|		ig = (int) (255 * g + .5);
  350|  21.2k|		ib = (int) (255 * b + .5);
  351|  21.2k|		if (FixupColor(&ir, &ig, &ib) && !fixup)
  ------------------
  |  Branch (351:7): [True: 16.5k, False: 4.65k]
  |  Branch (351:36): [True: 0, False: 16.5k]
  ------------------
  352|      0|		    SET_STRING_ELT(ans, i, NA_STRING);
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  353|  21.2k|		else
  354|  21.2k|		    SET_STRING_ELT(ans, i, mkChar(RGB2rgb(ir, ig, ib)));
  ------------------
  |  |  998|  21.2k|#define mkChar			Rf_mkChar
  ------------------
  355|  36.2k|	    } else SET_STRING_ELT(ans, i, NA_STRING);
  ------------------
  |  |  433|  36.2k|#define NA_STRING	R_NaString
  ------------------
  356|  57.4k|	}
  357|    509|    } else {
  358|  4.38k|	for (i = 0; i < max; i++) {
  ------------------
  |  Branch (358:14): [True: 4.09k, False: 293]
  ------------------
  359|  4.09k|	    H = REAL(h)[i % nh];
  360|  4.09k|	    C = REAL(c)[i % nc];
  361|  4.09k|	    L = REAL(l)[i % nl];
  362|  4.09k|	    A = REAL(a)[i % na];
  363|  4.09k|	    if (!R_FINITE(A)) A = 1;
  ------------------
  |  |   82|  4.09k|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (363:10): [True: 0, False: 4.09k]
  ------------------
  364|  4.09k|	    if (R_FINITE(H) && R_FINITE(C) && R_FINITE(L)) {
  ------------------
  |  |   82|  4.09k|# define R_FINITE(x)    isfinite(x)
  ------------------
              	    if (R_FINITE(H) && R_FINITE(C) && R_FINITE(L)) {
  ------------------
  |  |   82|  4.09k|# define R_FINITE(x)    isfinite(x)
  ------------------
              	    if (R_FINITE(H) && R_FINITE(C) && R_FINITE(L)) {
  ------------------
  |  |   82|  4.09k|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (364:10): [True: 4.09k, False: 0]
  |  Branch (364:25): [True: 4.09k, False: 0]
  |  Branch (364:40): [True: 4.09k, False: 0]
  ------------------
  365|  4.09k|		if (L < 0 || L > WHITE_Y || C < 0 || A < 0 || A > 1)
  ------------------
  |  |  247|  8.18k|#define WHITE_Y 100.000
  ------------------
  |  Branch (365:7): [True: 0, False: 4.09k]
  |  Branch (365:16): [True: 188, False: 3.90k]
  |  Branch (365:31): [True: 0, False: 3.90k]
  |  Branch (365:40): [True: 0, False: 3.90k]
  |  Branch (365:49): [True: 0, False: 3.90k]
  ------------------
  366|    188|		    error(_("invalid hcl color"));
  ------------------
  |  |   88|    188|#define error Rf_error
  ------------------
              		    error(_("invalid hcl color"));
  ------------------
  |  |   27|    188|#define _(String) dgettext ("grDevices", String)
  ------------------
  367|  4.09k|		hcl2rgb(H, C, L, &r, &g, &b);
  368|  4.09k|		ir = (int) (255 * r + .5);
  369|  4.09k|		ig = (int) (255 * g + .5);
  370|  4.09k|		ib = (int) (255 * b + .5);
  371|  4.09k|		if (FixupColor(&ir, &ig, &ib) && !fixup)
  ------------------
  |  Branch (371:7): [True: 1.08k, False: 3.00k]
  |  Branch (371:36): [True: 1.08k, False: 0]
  ------------------
  372|  1.08k|		    SET_STRING_ELT(ans, i, NA_STRING);
  ------------------
  |  |  433|  1.08k|#define NA_STRING	R_NaString
  ------------------
  373|  3.00k|		else
  374|  3.00k|		    SET_STRING_ELT(ans, i, mkChar(RGBA2rgb(ir, ig, ib,
  ------------------
  |  |  998|  3.00k|#define mkChar			Rf_mkChar
  ------------------
  375|  3.00k|							   ScaleAlpha(A))));
  376|  4.09k|	    } else SET_STRING_ELT(ans, i, NA_STRING);
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  377|  4.09k|	}
  378|    293|    }
  379|    802|    UNPROTECT(5);
  ------------------
  |  |  358|    802|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  380|    802|    return ans;
  381|    868|}
rgb:
  392|  1.26k|{
  393|  1.26k|    R_xlen_t i, l_max, nr, ng, nb, na = 1;
  394|  1.26k|    bool max_1 = false;
  395|  1.26k|    double mV = asReal(MCV);
  ------------------
  |  |  889|  1.26k|#define asReal			Rf_asReal
  ------------------
  396|       |
  397|  1.26k|    if(!R_FINITE(mV) || mV == 0.)
  ------------------
  |  |   82|  1.26k|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (397:8): [True: 53, False: 1.20k]
  |  Branch (397:25): [True: 0, False: 1.20k]
  ------------------
  398|     53|	error(_("invalid value of 'maxColorValue'"));
  ------------------
  |  |   88|     53|#define error Rf_error
  ------------------
              	error(_("invalid value of 'maxColorValue'"));
  ------------------
  |  |   27|     53|#define _(String) dgettext ("grDevices", String)
  ------------------
  399|  1.26k|    if(mV == 255.) {
  ------------------
  |  Branch (399:8): [True: 831, False: 430]
  ------------------
  400|    831|	PROTECT(r = coerceVector(r, INTSXP));
  ------------------
  |  |  357|    831|#define PROTECT(s)	Rf_protect(s)
  ------------------
  401|    831|	PROTECT(g = coerceVector(g, INTSXP));
  ------------------
  |  |  357|    831|#define PROTECT(s)	Rf_protect(s)
  ------------------
  402|    831|	PROTECT(b = coerceVector(b, INTSXP));
  ------------------
  |  |  357|    831|#define PROTECT(s)	Rf_protect(s)
  ------------------
  403|    831|	if(!isNull(a)) a = coerceVector(a, INTSXP);
  ------------------
  |  |  956|    831|#define isNull			Rf_isNull
  ------------------
              	if(!isNull(a)) a = coerceVector(a, INTSXP);
  ------------------
  |  |  895|     29|#define coerceVector		Rf_coerceVector
  ------------------
              	if(!isNull(a)) a = coerceVector(a, INTSXP);
  ------------------
  |  |  123|     29|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (403:5): [True: 29, False: 802]
  ------------------
  404|    831|    } else {
  405|    430|	PROTECT(r = coerceVector(r, REALSXP));
  ------------------
  |  |  357|    430|#define PROTECT(s)	Rf_protect(s)
  ------------------
  406|    430|	PROTECT(g = coerceVector(g, REALSXP));
  ------------------
  |  |  357|    430|#define PROTECT(s)	Rf_protect(s)
  ------------------
  407|    430|	PROTECT(b = coerceVector(b, REALSXP));
  ------------------
  |  |  357|    430|#define PROTECT(s)	Rf_protect(s)
  ------------------
  408|    430|	if(!isNull(a)) a = coerceVector(a, REALSXP);
  ------------------
  |  |  956|    430|#define isNull			Rf_isNull
  ------------------
              	if(!isNull(a)) a = coerceVector(a, REALSXP);
  ------------------
  |  |  895|    377|#define coerceVector		Rf_coerceVector
  ------------------
              	if(!isNull(a)) a = coerceVector(a, REALSXP);
  ------------------
  |  |  124|    377|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (408:5): [True: 377, False: 53]
  ------------------
  409|    430|	max_1 = (mV == 1.);
  410|    430|    }
  411|  1.26k|    PROTECT(a);
  ------------------
  |  |  357|  1.26k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  412|       |
  413|  1.26k|    nr = XLENGTH(r); ng = XLENGTH(g); nb = XLENGTH(b); 
  414|  1.26k|    if (!isNull(a)) na = XLENGTH(a);
  ------------------
  |  |  956|  1.26k|#define isNull			Rf_isNull
  ------------------
  |  Branch (414:9): [True: 406, False: 855]
  ------------------
  415|  1.26k|    if (nr <= 0 || ng <= 0 || nb <= 0 || na <= 0) {
  ------------------
  |  Branch (415:9): [True: 143, False: 1.11k]
  |  Branch (415:20): [True: 0, False: 1.11k]
  |  Branch (415:31): [True: 0, False: 1.11k]
  |  Branch (415:42): [True: 0, False: 1.11k]
  ------------------
  416|     90|	UNPROTECT(4);
  ------------------
  |  |  358|     90|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  417|     90|	return allocVector(STRSXP, 0);
  ------------------
  |  |  875|     90|#define allocVector		Rf_allocVector
  ------------------
              	return allocVector(STRSXP, 0);
  ------------------
  |  |  126|     90|#define STRSXP	    16	  /* string vectors */
  ------------------
  418|     90|    }
  419|  1.17k|    l_max = nr;
  420|  1.17k|    if (l_max < ng) l_max = ng;
  ------------------
  |  Branch (420:9): [True: 0, False: 1.17k]
  ------------------
  421|  1.17k|    if (l_max < nb) l_max = nb;
  ------------------
  |  Branch (421:9): [True: 0, False: 1.17k]
  ------------------
  422|  1.17k|    if (l_max < na) l_max = na;
  ------------------
  |  Branch (422:9): [True: 0, False: 1.17k]
  ------------------
  423|       |
  424|  1.17k|    PROTECT(nam = coerceVector(nam, STRSXP));
  ------------------
  |  |  357|  1.17k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  425|  1.17k|    if (length(nam) != 0 && length(nam) != l_max)
  ------------------
  |  |  987|  1.17k|#define length(x)		Rf_length(x)
  ------------------
                  if (length(nam) != 0 && length(nam) != l_max)
  ------------------
  |  |  987|      6|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (425:9): [True: 6, False: 1.16k]
  |  Branch (425:29): [True: 0, False: 6]
  ------------------
  426|      0|	error(_("invalid 'names' vector"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid 'names' vector"));
  ------------------
  |  |   27|      0|#define _(String) dgettext ("grDevices", String)
  ------------------
  427|  1.17k|    SEXP c = PROTECT(allocVector(STRSXP, l_max));
  ------------------
  |  |  357|  1.17k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  428|       |
  429|  1.17k|    if(mV == 255.0) {
  ------------------
  |  Branch (429:8): [True: 784, False: 387]
  ------------------
  430|    784|	if(isNull(a)) {
  ------------------
  |  |  956|    784|#define isNull			Rf_isNull
  ------------------
  |  Branch (430:5): [True: 755, False: 29]
  ------------------
  431|    755|	    _R_set_c_RGB(CheckColor(INTEGER(r)[i%nr]),
  ------------------
  |  |  384|   146k|    { for (i = 0; i < l_max; i++)  \
  |  |  ------------------
  |  |  |  Branch (384:19): [True: 146k, False: 755]
  |  |  ------------------
  |  |  385|   146k|	    SET_STRING_ELT(c, i, mkChar(RGB2rgb(_R,_G,_B))); }
  |  |  ------------------
  |  |  |  |  998|   146k|#define mkChar			Rf_mkChar
  |  |  ------------------
  ------------------
  432|    755|			  CheckColor(INTEGER(g)[i%ng]),
  433|    755|			  CheckColor(INTEGER(b)[i%nb]));
  434|    755|	} else {
  435|     29|	    _R_set_c_RGBA(CheckColor(INTEGER(r)[i%nr]),
  ------------------
  |  |  388|    400|    { for (i = 0; i < l_max; i++)  \
  |  |  ------------------
  |  |  |  Branch (388:19): [True: 371, False: 29]
  |  |  ------------------
  |  |  389|    371|	    SET_STRING_ELT(c, i, mkChar(RGBA2rgb(_R,_G,_B,_A))); }
  |  |  ------------------
  |  |  |  |  998|    371|#define mkChar			Rf_mkChar
  |  |  ------------------
  ------------------
  436|     29|			  CheckColor(INTEGER(g)[i%ng]),
  437|     29|			  CheckColor(INTEGER(b)[i%nb]),
  438|     29|			  CheckAlpha(INTEGER(a)[i%na]));
  439|     29|	}
  440|    784|    }
  441|    387|    else if(max_1) {
  ------------------
  |  Branch (441:13): [True: 286, False: 101]
  ------------------
  442|    286|	if(isNull(a)) {
  ------------------
  |  |  956|    286|#define isNull			Rf_isNull
  ------------------
  |  Branch (442:5): [True: 0, False: 286]
  ------------------
  443|      0|	    _R_set_c_RGB(ScaleColor(REAL(r)[i%nr]),
  ------------------
  |  |  384|      0|    { for (i = 0; i < l_max; i++)  \
  |  |  ------------------
  |  |  |  Branch (384:19): [True: 0, False: 0]
  |  |  ------------------
  |  |  385|      0|	    SET_STRING_ELT(c, i, mkChar(RGB2rgb(_R,_G,_B))); }
  |  |  ------------------
  |  |  |  |  998|      0|#define mkChar			Rf_mkChar
  |  |  ------------------
  ------------------
  444|      0|			 ScaleColor(REAL(g)[i%ng]),
  445|      0|			 ScaleColor(REAL(b)[i%nb]));
  446|    286|	} else {
  447|    286|	    _R_set_c_RGBA(ScaleColor(REAL(r)[i%nr]),
  ------------------
  |  |  388|  59.3k|    { for (i = 0; i < l_max; i++)  \
  |  |  ------------------
  |  |  |  Branch (388:19): [True: 59.0k, False: 286]
  |  |  ------------------
  |  |  389|  59.0k|	    SET_STRING_ELT(c, i, mkChar(RGBA2rgb(_R,_G,_B,_A))); }
  |  |  ------------------
  |  |  |  |  998|  59.0k|#define mkChar			Rf_mkChar
  |  |  ------------------
  ------------------
  448|    286|			  ScaleColor(REAL(g)[i%ng]),
  449|    286|			  ScaleColor(REAL(b)[i%nb]),
  450|    286|			  ScaleAlpha(REAL(a)[i%na]));
  451|    286|	}
  452|    286|    }
  453|    101|    else { /* maxColorVal not in {1, 255} */
  454|    101|	if(isNull(a)) {
  ------------------
  |  |  956|    101|#define isNull			Rf_isNull
  ------------------
  |  Branch (454:5): [True: 0, False: 101]
  ------------------
  455|      0|	    _R_set_c_RGB(ScaleColor(REAL(r)[i%nr] / mV),
  ------------------
  |  |  384|      0|    { for (i = 0; i < l_max; i++)  \
  |  |  ------------------
  |  |  |  Branch (384:19): [True: 0, False: 0]
  |  |  ------------------
  |  |  385|      0|	    SET_STRING_ELT(c, i, mkChar(RGB2rgb(_R,_G,_B))); }
  |  |  ------------------
  |  |  |  |  998|      0|#define mkChar			Rf_mkChar
  |  |  ------------------
  ------------------
  456|      0|			 ScaleColor(REAL(g)[i%ng] / mV),
  457|      0|			 ScaleColor(REAL(b)[i%nb] / mV));
  458|    101|	} else {
  459|    101|	    _R_set_c_RGBA(ScaleColor(REAL(r)[i%nr] / mV),
  ------------------
  |  |  388|    647|    { for (i = 0; i < l_max; i++)  \
  |  |  ------------------
  |  |  |  Branch (388:19): [True: 546, False: 101]
  |  |  ------------------
  |  |  389|    546|	    SET_STRING_ELT(c, i, mkChar(RGBA2rgb(_R,_G,_B,_A))); }
  |  |  ------------------
  |  |  |  |  998|    546|#define mkChar			Rf_mkChar
  |  |  ------------------
  ------------------
  460|    101|			  ScaleColor(REAL(g)[i%ng] / mV),
  461|    101|			  ScaleColor(REAL(b)[i%nb] / mV),
  462|    101|			  ScaleAlpha(REAL(a)[i%na] / mV));
  463|    101|	}
  464|    101|    }
  465|  1.17k|    if (length(nam) != 0) setAttrib(c, R_NamesSymbol, nam);
  ------------------
  |  |  987|  1.17k|#define length(x)		Rf_length(x)
  ------------------
                  if (length(nam) != 0) setAttrib(c, R_NamesSymbol, nam);
  ------------------
  |  | 1027|      6|#define setAttrib		Rf_setAttrib
  ------------------
  |  Branch (465:9): [True: 6, False: 1.16k]
  ------------------
  466|  1.17k|    UNPROTECT(6);
  ------------------
  |  |  358|  1.17k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  467|  1.17k|    return c;
  468|  1.26k|}
gray:
  472|    574|{
  473|    574|    SEXP ans;
  474|    574|    double level;
  475|    574|    int i, ilevel, nlev;
  476|       |
  477|    574|    lev  = PROTECT(coerceVector(lev,REALSXP));
  ------------------
  |  |  357|    574|#define PROTECT(s)	Rf_protect(s)
  ------------------
  478|    574|    nlev = LENGTH(lev);
  479|    574|    ans = allocVector(STRSXP, nlev);
  ------------------
  |  |  875|    574|#define allocVector		Rf_allocVector
  ------------------
                  ans = allocVector(STRSXP, nlev);
  ------------------
  |  |  126|    574|#define STRSXP	    16	  /* string vectors */
  ------------------
  480|    574|    if(!nlev) {
  ------------------
  |  Branch (480:8): [True: 104, False: 470]
  ------------------
  481|    104|	UNPROTECT(1);
  ------------------
  |  |  358|    104|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  482|    104|	return(ans);
  483|    104|    }
  484|    470|    PROTECT(ans);
  ------------------
  |  |  357|    470|#define PROTECT(s)	Rf_protect(s)
  ------------------
  485|    470|    if(!isNull(a)) a = coerceVector(a,REALSXP); // alpha
  ------------------
  |  |  956|    470|#define isNull			Rf_isNull
  ------------------
                  if(!isNull(a)) a = coerceVector(a,REALSXP); // alpha
  ------------------
  |  |  895|    137|#define coerceVector		Rf_coerceVector
  ------------------
                  if(!isNull(a)) a = coerceVector(a,REALSXP); // alpha
  ------------------
  |  |  124|    137|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (485:8): [True: 137, False: 333]
  ------------------
  486|    470|    PROTECT(a);
  ------------------
  |  |  357|    470|#define PROTECT(s)	Rf_protect(s)
  ------------------
  487|    470|    if(isNull(a)) {
  ------------------
  |  |  956|    470|#define isNull			Rf_isNull
  ------------------
  |  Branch (487:8): [True: 333, False: 137]
  ------------------
  488|  51.2k|	for (i = 0; i < nlev; i++) {
  ------------------
  |  Branch (488:14): [True: 50.9k, False: 333]
  ------------------
  489|  50.9k|	    level = REAL(lev)[i];
  490|  50.9k|	    if (ISNAN(level) || level < 0 || level > 1)
  ------------------
  |  |   76|   101k|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 143, False: 50.7k]
  |  |  ------------------
  ------------------
  |  Branch (490:26): [True: 6, False: 50.7k]
  |  Branch (490:39): [True: 48, False: 50.7k]
  ------------------
  491|    197|		error(_("invalid gray level, must be in [0,1]."));
  ------------------
  |  |   88|    197|#define error Rf_error
  ------------------
              		error(_("invalid gray level, must be in [0,1]."));
  ------------------
  |  |   27|    197|#define _(String) dgettext ("grDevices", String)
  ------------------
  492|  50.9k|	    ilevel = (int)(255 * level + 0.5);
  493|  50.9k|	    SET_STRING_ELT(ans, i, mkChar(RGB2rgb(ilevel, ilevel, ilevel)));
  ------------------
  |  |  998|  50.9k|#define mkChar			Rf_mkChar
  ------------------
  494|  50.9k|	}
  495|    333|    } else {
  496|    137|	int na = length(a);
  ------------------
  |  |  987|    137|#define length(x)		Rf_length(x)
  ------------------
  497|    137|	if(!na) {
  ------------------
  |  Branch (497:5): [True: 0, False: 137]
  ------------------
  498|      0|	    UNPROTECT(3);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  499|      0|	    return allocVector(STRSXP, 0);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              	    return allocVector(STRSXP, 0);
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  500|      0|	}
  501|  2.56k|	for (i = 0; i < (nlev > na ? nlev : na); i++) {
  ------------------
  |  Branch (501:14): [True: 2.42k, False: 137]
  |  Branch (501:19): [True: 0, False: 2.56k]
  ------------------
  502|  2.42k|	    level = REAL(lev)[i % nlev];
  503|  2.42k|	    if (ISNAN(level) || level < 0 || level > 1)
  ------------------
  |  |   76|  4.85k|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 2.42k]
  |  |  ------------------
  ------------------
  |  Branch (503:26): [True: 0, False: 2.42k]
  |  Branch (503:39): [True: 0, False: 2.42k]
  ------------------
  504|      0|		error(_("invalid gray level, must be in [0,1]."));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("invalid gray level, must be in [0,1]."));
  ------------------
  |  |   27|      0|#define _(String) dgettext ("grDevices", String)
  ------------------
  505|  2.42k|	    ilevel = (int)(255 * level + 0.5);
  506|  2.42k|	    double aa = REAL(a)[i % na];
  507|  2.42k|	    SET_STRING_ELT(ans, i, mkChar(RGBA2rgb(ilevel, ilevel, ilevel,
  ------------------
  |  |  998|  2.42k|#define mkChar			Rf_mkChar
  ------------------
  508|  2.42k|						   ScaleAlpha(aa))));
  509|  2.42k|	}
  510|    137|    }
  511|    470|    UNPROTECT(3);
  ------------------
  |  |  358|    470|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  512|    470|    return ans;
  513|    470|}
RGB2hsv:
  520|    681|{
  521|       |/* (r,g,b) -> (h,s,v) conversion */
  522|    681|    SEXP dd, ans, names, dmns;
  523|    681|    int n, i, i3;
  524|       |
  525|    681|    rgb = PROTECT(coerceVector(rgb, REALSXP));
  ------------------
  |  |  357|    681|#define PROTECT(s)	Rf_protect(s)
  ------------------
  526|    681|    if(!isMatrix(rgb)) error("rgb is not a matrix (internally)");
  ------------------
  |  |  954|    681|#define isMatrix		Rf_isMatrix
  ------------------
                  if(!isMatrix(rgb)) error("rgb is not a matrix (internally)");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  |  Branch (526:8): [True: 0, False: 681]
  ------------------
  527|    681|    dd = getAttrib(rgb, R_DimSymbol);
  ------------------
  |  |  924|    681|#define getAttrib		Rf_getAttrib
  ------------------
  528|    681|    if(INTEGER(dd)[0] != 3) error("rgb must have 3 rows (internally)");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  |  Branch (528:8): [True: 0, False: 681]
  ------------------
  529|    681|    n = INTEGER(dd)[1];
  530|       |
  531|    681|    ans = PROTECT(allocMatrix(REALSXP, 3, n));
  ------------------
  |  |  357|    681|#define PROTECT(s)	Rf_protect(s)
  ------------------
  532|    681|    PROTECT(dmns = allocVector(VECSXP, 2));
  ------------------
  |  |  357|    681|#define PROTECT(s)	Rf_protect(s)
  ------------------
  533|       |    /* row names: */
  534|    681|    PROTECT(names = allocVector(STRSXP, 3));
  ------------------
  |  |  357|    681|#define PROTECT(s)	Rf_protect(s)
  ------------------
  535|    681|    SET_STRING_ELT(names, 0, mkChar("h"));
  ------------------
  |  |  998|    681|#define mkChar			Rf_mkChar
  ------------------
  536|    681|    SET_STRING_ELT(names, 1, mkChar("s"));
  ------------------
  |  |  998|    681|#define mkChar			Rf_mkChar
  ------------------
  537|    681|    SET_STRING_ELT(names, 2, mkChar("v"));
  ------------------
  |  |  998|    681|#define mkChar			Rf_mkChar
  ------------------
  538|    681|    SET_VECTOR_ELT(dmns, 0, names);
  539|       |    /* column names if input has: */
  540|    681|    if ((dd = getAttrib(rgb, R_DimNamesSymbol)) != R_NilValue &&
  ------------------
  |  |  924|    681|#define getAttrib		Rf_getAttrib
  ------------------
  |  Branch (540:9): [True: 414, False: 267]
  ------------------
  541|    414|	(names = VECTOR_ELT(dd, 1)) != R_NilValue)
  ------------------
  |  Branch (541:2): [True: 0, False: 414]
  ------------------
  542|      0|	SET_VECTOR_ELT(dmns, 1, names);
  543|    681|    setAttrib(ans, R_DimNamesSymbol, dmns);
  ------------------
  |  | 1027|    681|#define setAttrib		Rf_setAttrib
  ------------------
  544|    681|    UNPROTECT(2);/* names, dmns */
  ------------------
  |  |  358|    681|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  545|       |
  546|   151k|    for(i = i3 = 0; i < n; i++, i3 += 3) {
  ------------------
  |  Branch (546:21): [True: 150k, False: 681]
  ------------------
  547|   150k|	rgb2hsv(REAL(rgb)[i3+ 0],  REAL(rgb)[i3+ 1],  REAL(rgb)[i3+ 2],
  548|   150k|		&REAL(ans)[i3+ 0], &REAL(ans)[i3+ 1], &REAL(ans)[i3 +2]);
  549|   150k|    }
  550|    681|    UNPROTECT(2);
  ------------------
  |  |  358|    681|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  551|    681|    return ans;
  552|    681|}
col2rgb:
  556|  2.44k|{
  557|  2.44k|    SEXP ans, names, dmns;
  558|       |
  559|  2.44k|    int alph = asLogical(alpha);
  ------------------
  |  |  886|  2.44k|#define asLogical		Rf_asLogical
  ------------------
  560|  2.44k|    if(alph == NA_LOGICAL) error(_("invalid '%s' value"), "alpha");
  ------------------
  |  |   55|  2.44k|#define NA_LOGICAL	R_NaInt
  ------------------
                  if(alph == NA_LOGICAL) error(_("invalid '%s' value"), "alpha");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  if(alph == NA_LOGICAL) error(_("invalid '%s' value"), "alpha");
  ------------------
  |  |   27|      0|#define _(String) dgettext ("grDevices", String)
  ------------------
  |  Branch (560:8): [True: 0, False: 2.44k]
  ------------------
  561|  2.44k|    switch(TYPEOF(colors)) {
  562|    643|    case INTSXP:
  ------------------
  |  |  123|    643|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (562:5): [True: 643, False: 1.79k]
  ------------------
  563|  1.56k|    case STRSXP:
  ------------------
  |  |  126|  1.56k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (563:5): [True: 921, False: 1.52k]
  ------------------
  564|  1.56k|	break;
  565|    666|    case REALSXP:
  ------------------
  |  |  124|    666|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (565:5): [True: 666, False: 1.77k]
  ------------------
  566|    666|	colors = coerceVector(colors, INTSXP);
  ------------------
  |  |  895|    666|#define coerceVector		Rf_coerceVector
  ------------------
              	colors = coerceVector(colors, INTSXP);
  ------------------
  |  |  123|    666|#define INTSXP	    13	  /* integer vectors */
  ------------------
  567|    666|	break;
  568|    211|    default:
  ------------------
  |  Branch (568:5): [True: 211, False: 2.23k]
  ------------------
  569|    211|	colors = coerceVector(colors, STRSXP);
  ------------------
  |  |  895|    211|#define coerceVector		Rf_coerceVector
  ------------------
              	colors = coerceVector(colors, STRSXP);
  ------------------
  |  |  126|    211|#define STRSXP	    16	  /* string vectors */
  ------------------
  570|    211|	break;
  571|  2.44k|    }
  572|  2.44k|    PROTECT(colors);
  ------------------
  |  |  357|  2.44k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  573|  2.44k|    int n = LENGTH(colors);
  574|       |
  575|       |    /* First set up the output matrix */
  576|  2.44k|    PROTECT(ans = allocMatrix(INTSXP, 3+alph, n));
  ------------------
  |  |  357|  2.44k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  577|  2.44k|    PROTECT(dmns = allocVector(VECSXP, 2));
  ------------------
  |  |  357|  2.44k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  578|  2.44k|    PROTECT(names = allocVector(STRSXP, 3+alph));
  ------------------
  |  |  357|  2.44k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  579|  2.44k|    SET_STRING_ELT(names, 0, mkChar("red"));
  ------------------
  |  |  998|  2.44k|#define mkChar			Rf_mkChar
  ------------------
  580|  2.44k|    SET_STRING_ELT(names, 1, mkChar("green"));
  ------------------
  |  |  998|  2.44k|#define mkChar			Rf_mkChar
  ------------------
  581|  2.44k|    SET_STRING_ELT(names, 2, mkChar("blue"));
  ------------------
  |  |  998|  2.44k|#define mkChar			Rf_mkChar
  ------------------
  582|  2.44k|    if(alph) SET_STRING_ELT(names, 3, mkChar("alpha"));
  ------------------
  |  |  998|    450|#define mkChar			Rf_mkChar
  ------------------
  |  Branch (582:8): [True: 450, False: 1.99k]
  ------------------
  583|  2.44k|    SET_VECTOR_ELT(dmns, 0, names);
  584|  2.44k|    if ((names = getAttrib(colors, R_NamesSymbol)) != R_NilValue)
  ------------------
  |  |  924|  2.44k|#define getAttrib		Rf_getAttrib
  ------------------
  |  Branch (584:9): [True: 0, False: 2.44k]
  ------------------
  585|      0|	SET_VECTOR_ELT(dmns, 1, names);
  586|  2.44k|    setAttrib(ans, R_DimNamesSymbol, dmns);
  ------------------
  |  | 1027|  2.44k|#define setAttrib		Rf_setAttrib
  ------------------
  587|       |
  588|   233k|    for(int i = 0, j = 0; i < n; i++) {
  ------------------
  |  Branch (588:27): [True: 230k, False: 2.44k]
  ------------------
  589|   230k|	rcolor icol = inRGBpar3(colors, i, R_TRANWHITE);
  ------------------
  |  |  890|   230k|#define R_TRANWHITE     (R_RGBA(255, 255, 255, 0))
  |  |  ------------------
  |  |  |  |  880|   230k|#define R_RGBA(r,g,b,a)	((r)|((g)<<8)|((b)<<16)|((a)<<24))
  |  |  ------------------
  ------------------
  590|   230k|	INTEGER(ans)[j++] = R_RED(icol);
  ------------------
  |  |  881|   230k|#define R_RED(col)	(((col)	   )&255)
  ------------------
  591|   230k|	INTEGER(ans)[j++] = R_GREEN(icol);
  ------------------
  |  |  882|   230k|#define R_GREEN(col)	(((col)>> 8)&255)
  ------------------
  592|   230k|	INTEGER(ans)[j++] = R_BLUE(icol);
  ------------------
  |  |  883|   230k|#define R_BLUE(col)	(((col)>>16)&255)
  ------------------
  593|   230k|	if(alph) INTEGER(ans)[j++] = R_ALPHA(icol);
  ------------------
  |  |  884|  11.6k|#define R_ALPHA(col)	(((col)>>24)&255)
  ------------------
  |  Branch (593:5): [True: 11.6k, False: 218k]
  ------------------
  594|   230k|    }
  595|  2.44k|    UNPROTECT(4);
  ------------------
  |  |  358|  2.44k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  596|  2.44k|    return ans;
  597|  2.44k|}
incol2name:
 1422|  29.8k|{
 1423|  29.8k|    static char ColBuf[10]; // used for return value
 1424|       |
 1425|  29.8k|    if(R_OPAQUE(col)) {
  ------------------
  |  |  885|  29.8k|#define R_OPAQUE(col)	(R_ALPHA(col) == 255)
  |  |  ------------------
  |  |  |  |  884|  29.8k|#define R_ALPHA(col)	(((col)>>24)&255)
  |  |  ------------------
  |  |  |  Branch (885:23): [True: 29.7k, False: 82]
  |  |  ------------------
  ------------------
 1426|  11.2M|	for(int i = 0 ; ColorDataBase[i].name ; i++) {
  ------------------
  |  Branch (1426:18): [True: 11.2M, False: 14.5k]
  ------------------
 1427|  11.2M|	    if(col == ColorDataBase[i].code)
  ------------------
  |  Branch (1427:9): [True: 15.2k, False: 11.2M]
  ------------------
 1428|  15.2k|		return ColorDataBase[i].name;
 1429|  11.2M|	}
 1430|  14.5k|	ColBuf[0] = '#';
 1431|  14.5k|	ColBuf[1] = HexDigits[(col >>  4) & 15];
 1432|  14.5k|	ColBuf[2] = HexDigits[(col	    ) & 15];
 1433|  14.5k|	ColBuf[3] = HexDigits[(col >> 12) & 15];
 1434|  14.5k|	ColBuf[4] = HexDigits[(col >>  8) & 15];
 1435|  14.5k|	ColBuf[5] = HexDigits[(col >> 20) & 15];
 1436|  14.5k|	ColBuf[6] = HexDigits[(col >> 16) & 15];
 1437|  14.5k|	ColBuf[7] = '\0';
 1438|  14.5k|	return &ColBuf[0];
 1439|  29.7k|    } else if (R_TRANSPARENT(col)) {
  ------------------
  |  |  886|     82|#define R_TRANSPARENT(col) (R_ALPHA(col) == 0)
  |  |  ------------------
  |  |  |  |  884|     82|#define R_ALPHA(col)	(((col)>>24)&255)
  |  |  ------------------
  |  |  |  Branch (886:28): [True: 30, False: 52]
  |  |  ------------------
  ------------------
 1440|     30|	return "transparent";
 1441|     52|    } else {
 1442|     52|	ColBuf[0] = '#';
 1443|     52|	ColBuf[1] = HexDigits[(col >>  4) & 15];
 1444|     52|	ColBuf[2] = HexDigits[(col	) & 15];
 1445|     52|	ColBuf[3] = HexDigits[(col >> 12) & 15];
 1446|     52|	ColBuf[4] = HexDigits[(col >>  8) & 15];
 1447|     52|	ColBuf[5] = HexDigits[(col >> 20) & 15];
 1448|     52|	ColBuf[6] = HexDigits[(col >> 16) & 15];
 1449|     52|	ColBuf[7] = HexDigits[(col >> 28) & 15];
 1450|     52|	ColBuf[8] = HexDigits[(col >> 24) & 15];
 1451|     52|	ColBuf[9] = '\0';
 1452|     52|	return &ColBuf[0];
 1453|     52|    }
 1454|  29.8k|}
inRGBpar3:
 1480|   230k|{
 1481|   230k|    int indx;
 1482|   230k|    switch(TYPEOF(x))
 1483|   230k|    {
 1484|  35.7k|    case STRSXP:
  ------------------
  |  |  126|  35.7k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1484:5): [True: 35.7k, False: 194k]
  ------------------
 1485|  35.7k|	return str2col(CHAR(STRING_ELT(x, i)), bg);
  ------------------
  |  |  203|  35.7k|#define CHAR(x) R_CHAR(x)
  ------------------
 1486|      0|    case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (1486:5): [True: 0, False: 230k]
  ------------------
 1487|      0|	indx = LOGICAL(x)[i];
 1488|      0|	if (indx == NA_LOGICAL) return R_TRANWHITE;
  ------------------
  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  ------------------
              	if (indx == NA_LOGICAL) return R_TRANWHITE;
  ------------------
  |  |  890|      0|#define R_TRANWHITE     (R_RGBA(255, 255, 255, 0))
  |  |  ------------------
  |  |  |  |  880|      0|#define R_RGBA(r,g,b,a)	((r)|((g)<<8)|((b)<<16)|((a)<<24))
  |  |  ------------------
  ------------------
  |  Branch (1488:6): [True: 0, False: 0]
  ------------------
 1489|      0|	break;
 1490|   194k|    case INTSXP:
  ------------------
  |  |  123|   194k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1490:5): [True: 194k, False: 35.7k]
  ------------------
 1491|   194k|	indx = INTEGER(x)[i];
 1492|   194k|	if (indx == NA_INTEGER) return R_TRANWHITE;
  ------------------
  |  |   56|   194k|#define NA_INTEGER	R_NaInt
  ------------------
              	if (indx == NA_INTEGER) return R_TRANWHITE;
  ------------------
  |  |  890|  21.1k|#define R_TRANWHITE     (R_RGBA(255, 255, 255, 0))
  |  |  ------------------
  |  |  |  |  880|  21.1k|#define R_RGBA(r,g,b,a)	((r)|((g)<<8)|((b)<<16)|((a)<<24))
  |  |  ------------------
  ------------------
  |  Branch (1492:6): [True: 21.1k, False: 173k]
  ------------------
 1493|   173k|	break;
 1494|   173k|    case REALSXP:
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1494:5): [True: 0, False: 230k]
  ------------------
 1495|      0|	if(!R_FINITE(REAL(x)[i])) return R_TRANWHITE;
  ------------------
  |  |   82|      0|# define R_FINITE(x)    isfinite(x)
  ------------------
              	if(!R_FINITE(REAL(x)[i])) return R_TRANWHITE;
  ------------------
  |  |  890|      0|#define R_TRANWHITE     (R_RGBA(255, 255, 255, 0))
  |  |  ------------------
  |  |  |  |  880|      0|#define R_RGBA(r,g,b,a)	((r)|((g)<<8)|((b)<<16)|((a)<<24))
  |  |  ------------------
  ------------------
  |  Branch (1495:5): [True: 0, False: 0]
  ------------------
 1496|      0|	indx = (int) REAL(x)[i];
 1497|      0|	break;
 1498|      0|    default:
  ------------------
  |  Branch (1498:5): [True: 0, False: 230k]
  ------------------
 1499|      0|	warning(_("supplied color is neither numeric nor character"));
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	warning(_("supplied color is neither numeric nor character"));
  ------------------
  |  |   27|      0|#define _(String) dgettext ("grDevices", String)
  ------------------
 1500|      0|	return bg;
 1501|   230k|    }
 1502|   173k|    if (indx < 0) 
  ------------------
  |  Branch (1502:9): [True: 92, False: 173k]
  ------------------
 1503|     92|	error(_("numerical color values must be >= 0, found %d"), indx);
  ------------------
  |  |   88|     92|#define error Rf_error
  ------------------
              	error(_("numerical color values must be >= 0, found %d"), indx);
  ------------------
  |  |   27|     92|#define _(String) dgettext ("grDevices", String)
  ------------------
 1504|   173k|    if (indx == 0) return bg;
  ------------------
  |  Branch (1504:9): [True: 362, False: 173k]
  ------------------
 1505|   173k|    else return Palette[(indx-1) % PaletteSize];
 1506|   173k|}
palette:
 1509|  1.02k|{
 1510|  1.02k|    SEXP ans;
 1511|  1.02k|    rcolor color[MAX_PALETTE_SIZE];
 1512|  1.02k|    int i, n;
 1513|       |
 1514|  1.02k|    if (!isString(val)) error(_("invalid argument type"));
  ------------------
  |  |  966|  1.02k|#define isString		Rf_isString
  ------------------
                  if (!isString(val)) error(_("invalid argument type"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  if (!isString(val)) error(_("invalid argument type"));
  ------------------
  |  |   27|      0|#define _(String) dgettext ("grDevices", String)
  ------------------
  |  Branch (1514:9): [True: 0, False: 1.02k]
  ------------------
 1515|       |    /* Record the current palette */
 1516|  1.02k|    PROTECT(ans = allocVector(STRSXP, PaletteSize));
  ------------------
  |  |  357|  1.02k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1517|  30.8k|    for (i = 0; i < PaletteSize; i++)
  ------------------
  |  Branch (1517:17): [True: 29.8k, False: 1.02k]
  ------------------
 1518|  29.8k|	SET_STRING_ELT(ans, i, mkChar(incol2name(Palette[i])));
  ------------------
  |  |  998|  29.8k|#define mkChar			Rf_mkChar
  ------------------
 1519|  1.02k|    if ((n = length(val)) == 1) {
  ------------------
  |  |  987|  1.02k|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1519:9): [True: 747, False: 281]
  ------------------
 1520|    747|	if (StrMatch("default", CHAR(STRING_ELT(val, 0)))) {
  ------------------
  |  |  203|    747|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (1520:6): [True: 458, False: 289]
  ------------------
 1521|    458|	    int i;
 1522|  4.12k|	    for (i = 0; i < 8; i++)
  ------------------
  |  Branch (1522:18): [True: 3.66k, False: 458]
  ------------------
 1523|  3.66k|		Palette[i] = DefaultPalette[i];
 1524|    458|	    PaletteSize = i;
 1525|    458|	} else error(_("unknown palette (need >= 2 colors)"));
  ------------------
  |  |   88|    289|#define error Rf_error
  ------------------
              	} else error(_("unknown palette (need >= 2 colors)"));
  ------------------
  |  |   27|    289|#define _(String) dgettext ("grDevices", String)
  ------------------
 1526|    747|    }
 1527|    281|    else if (n > 1) {
  ------------------
  |  Branch (1527:14): [True: 155, False: 126]
  ------------------
 1528|    155|	if (n > MAX_PALETTE_SIZE)
  ------------------
  |  |  604|    155|#define MAX_PALETTE_SIZE 1024
  ------------------
  |  Branch (1528:6): [True: 5, False: 150]
  ------------------
 1529|      5|	    error(_("maximum number of colors is %d"), MAX_PALETTE_SIZE);
  ------------------
  |  |   88|      5|#define error Rf_error
  ------------------
              	    error(_("maximum number of colors is %d"), MAX_PALETTE_SIZE);
  ------------------
  |  |   27|      5|#define _(String) dgettext ("grDevices", String)
  ------------------
              	    error(_("maximum number of colors is %d"), MAX_PALETTE_SIZE);
  ------------------
  |  |  604|      5|#define MAX_PALETTE_SIZE 1024
  ------------------
 1530|  12.0k|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1530:14): [True: 11.9k, False: 155]
  ------------------
 1531|  11.9k|	    const char *s = CHAR(STRING_ELT(val, i));
  ------------------
  |  |  203|  11.9k|#define CHAR(x) R_CHAR(x)
  ------------------
 1532|  11.9k|	    color[i] = (s[0] == '#') ? rgb2col(s) : name2col(s);
  ------------------
  |  Branch (1532:17): [True: 11.7k, False: 196]
  ------------------
 1533|  11.9k|	}
 1534|  11.9k|	for (i = 0; i < n; i++)
  ------------------
  |  Branch (1534:14): [True: 11.8k, False: 155]
  ------------------
 1535|  11.8k|	    Palette[i] = color[i];
 1536|    155|	PaletteSize = n;
 1537|    155|    }
 1538|  1.02k|    UNPROTECT(1);
  ------------------
  |  |  358|  1.02k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1539|  1.02k|    return ans;
 1540|  1.02k|}
initPalette:
 1591|      2|{
 1592|      2|    Rg_set_col_ptrs(&inRGBpar3, &incol2name, &inR_GE_str2col, &savePalette);
 1593|       |
 1594|       |    /* Initialize the Color Database: we now pre-compute this
 1595|       |    for(int i = 0 ; ColorDataBase[i].name ; i++)
 1596|       |	ColorDataBase[i].code = rgb2col(ColorDataBase[i].rgb);
 1597|       |
 1598|       |    Install Default Palette: precomputed
 1599|       |    int i;
 1600|       |    for(i = 0 ; DefaultPalette[i] ; i++)
 1601|       |	Palette[i] = name2col(DefaultPalette[i]);
 1602|       |    PaletteSize = i;  // 8
 1603|       |    */
 1604|      2|}
colors.c:hsv2rgb:
  108|   241k|{
  109|   241k|    double f, p, q, t;
  110|   241k|    int i;
  111|       |
  112|   241k|    if (!R_FINITE(h) || !R_FINITE(s) || !R_FINITE(v)) 
  ------------------
  |  |   82|   241k|# define R_FINITE(x)    isfinite(x)
  ------------------
                  if (!R_FINITE(h) || !R_FINITE(s) || !R_FINITE(v)) 
  ------------------
  |  |   82|   241k|# define R_FINITE(x)    isfinite(x)
  ------------------
                  if (!R_FINITE(h) || !R_FINITE(s) || !R_FINITE(v)) 
  ------------------
  |  |   82|   241k|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (112:9): [True: 118, False: 241k]
  |  Branch (112:25): [True: 0, False: 241k]
  |  Branch (112:41): [True: 0, False: 241k]
  ------------------
  113|    118|	error(_("inputs must be finite")); 
  ------------------
  |  |   88|    118|#define error Rf_error
  ------------------
              	error(_("inputs must be finite")); 
  ------------------
  |  |   27|    118|#define _(String) dgettext ("grDevices", String)
  ------------------
  114|   241k|    f = modf(h * 6.0, &t);
  115|   241k|    i = ((int) t) % 6;
  116|       |
  117|   241k|    p = v * (1 - s);
  118|   241k|    q = v * (1 - s * f);
  119|   241k|    t = v * (1 - (s * (1 - f)));
  120|   241k|    switch (i) {
  121|   119k|    case 0:	*r = v;		*g = t;		*b = p;	break;
  ------------------
  |  Branch (121:5): [True: 119k, False: 122k]
  ------------------
  122|  57.9k|    case 1:	*r = q;		*g = v;		*b = p;	break;
  ------------------
  |  Branch (122:5): [True: 57.9k, False: 183k]
  ------------------
  123|  23.6k|    case 2:	*r = p;		*g = v;		*b = t;	break;
  ------------------
  |  Branch (123:5): [True: 23.6k, False: 217k]
  ------------------
  124|  18.3k|    case 3:	*r = p;		*g = q;		*b = v; break;
  ------------------
  |  Branch (124:5): [True: 18.3k, False: 223k]
  ------------------
  125|  10.6k|    case 4:	*r = t;		*g = p;		*b = v; break;
  ------------------
  |  Branch (125:5): [True: 10.6k, False: 230k]
  ------------------
  126|  11.2k|    case 5:	*r = v;		*g = p;		*b = q;	break;
  ------------------
  |  Branch (126:5): [True: 11.2k, False: 230k]
  ------------------
  127|      0|    default:
  ------------------
  |  Branch (127:5): [True: 0, False: 241k]
  ------------------
  128|      0|	error(_("bad hsv to rgb color conversion"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("bad hsv to rgb color conversion"));
  ------------------
  |  |   27|      0|#define _(String) dgettext ("grDevices", String)
  ------------------
  129|   241k|    }
  130|   241k|}
colors.c:RGB2rgb:
   37|   218k|{
   38|   218k|    ColBuf[0] = '#';
   39|   218k|    ColBuf[1] = HexDigits[(r >> 4) & 15];
   40|   218k|    ColBuf[2] = HexDigits[r & 15];
   41|   218k|    ColBuf[3] = HexDigits[(g >> 4) & 15];
   42|   218k|    ColBuf[4] = HexDigits[g & 15];
   43|   218k|    ColBuf[5] = HexDigits[(b >> 4) & 15];
   44|   218k|    ColBuf[6] = HexDigits[b & 15];
   45|   218k|    ColBuf[7] = '\0';
   46|   218k|    return &ColBuf[0];
   47|   218k|}
colors.c:ScaleColor:
   67|   902k|{
   68|   902k|    if (ISNA(x))
  ------------------
  |  |   64|   902k|#define ISNA(x)	       R_IsNA(x)
  |  |  ------------------
  |  |  |  Branch (64:24): [True: 57, False: 902k]
  |  |  ------------------
  ------------------
   69|     57|    	error(_("color intensity %s, not in [0,1]"), "NA");
  ------------------
  |  |   88|     57|#define error Rf_error
  ------------------
                  	error(_("color intensity %s, not in [0,1]"), "NA");
  ------------------
  |  |   27|     57|#define _(String) dgettext ("grDevices", String)
  ------------------
   70|   902k|    if (!R_FINITE(x) || x < 0.0 || x > 1.0)
  ------------------
  |  |   82|   902k|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (70:9): [True: 58, False: 902k]
  |  Branch (70:25): [True: 2, False: 902k]
  |  Branch (70:36): [True: 0, False: 902k]
  ------------------
   71|      3|	error(_("color intensity %g, not in [0,1]"), x);
  ------------------
  |  |   88|      3|#define error Rf_error
  ------------------
              	error(_("color intensity %g, not in [0,1]"), x);
  ------------------
  |  |   27|      3|#define _(String) dgettext ("grDevices", String)
  ------------------
   72|   902k|    return (unsigned int)(255*x + 0.5);
   73|   902k|}
colors.c:RGBA2rgb:
   51|   306k|{
   52|   306k|    ColBuf[0] = '#';
   53|   306k|    ColBuf[1] = HexDigits[(r >> 4) & 15];
   54|   306k|    ColBuf[2] = HexDigits[r & 15];
   55|   306k|    ColBuf[3] = HexDigits[(g >> 4) & 15];
   56|   306k|    ColBuf[4] = HexDigits[g & 15];
   57|   306k|    ColBuf[5] = HexDigits[(b >> 4) & 15];
   58|   306k|    ColBuf[6] = HexDigits[b & 15];
   59|   306k|    ColBuf[7] = HexDigits[(a >> 4) & 15];
   60|   306k|    ColBuf[8] = HexDigits[a & 15];
   61|   306k|    ColBuf[9] = '\0';
   62|   306k|    return &ColBuf[0];
   63|   306k|}
colors.c:ScaleAlpha:
   85|   305k|{
   86|   305k|    if (ISNA(x))
  ------------------
  |  |   64|   305k|#define ISNA(x)	       R_IsNA(x)
  |  |  ------------------
  |  |  |  Branch (64:24): [True: 0, False: 305k]
  |  |  ------------------
  ------------------
   87|      0|	error(_("alpha level %s, not in [0,1]"), "NA"); 
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("alpha level %s, not in [0,1]"), "NA"); 
  ------------------
  |  |   27|      0|#define _(String) dgettext ("grDevices", String)
  ------------------
   88|   305k|    if (!R_FINITE(x) || x < 0.0 || x > 1.0)
  ------------------
  |  |   82|   305k|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (88:9): [True: 0, False: 305k]
  |  Branch (88:25): [True: 0, False: 305k]
  |  Branch (88:36): [True: 0, False: 305k]
  ------------------
   89|      0|	error(_("alpha level %g, not in [0,1]"), x);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("alpha level %g, not in [0,1]"), x);
  ------------------
  |  |   27|      0|#define _(String) dgettext ("grDevices", String)
  ------------------
   90|   305k|    return (unsigned int)(255*x + 0.5);
   91|   305k|}
colors.c:hcl2rgb:
  275|  25.1k|{
  276|  25.1k|    if (l <= 0.0) {
  ------------------
  |  Branch (276:9): [True: 3.81k, False: 21.3k]
  ------------------
  277|  3.81k|	*R = *G = *B = 0.0;
  278|  3.81k|	return;
  279|  3.81k|    }
  280|  21.3k|    double L, U, V;
  281|  21.3k|    double u, v;
  282|  21.3k|    double X, Y, Z;
  283|       |
  284|       |    /* Step 1 : Convert to CIE-LUV */
  285|       |
  286|  21.3k|    h = DEG2RAD * h;
  ------------------
  |  |  535|  21.3k|#define	DEG2RAD 0.01745329251994329576
  ------------------
  287|  21.3k|    L = l;
  288|  21.3k|    U = c * cos(h);
  289|  21.3k|    V = c * sin(h);
  290|       |
  291|       |    /* Step 2 : Convert to CIE-XYZ */
  292|       |
  293|  21.3k|    if (L <= 0 && U == 0 && V == 0) {
  ------------------
  |  Branch (293:9): [True: 0, False: 21.3k]
  |  Branch (293:19): [True: 0, False: 0]
  |  Branch (293:29): [True: 0, False: 0]
  ------------------
  294|      0|	X = 0; Y = 0; Z = 0;
  295|      0|    }
  296|  21.3k|    else {
  297|  21.3k|	Y = WHITE_Y * ((L > 7.999592) ? pow((L + 16)/116, 3) : L / 903.3);
  ------------------
  |  |  247|  21.3k|#define WHITE_Y 100.000
  ------------------
  |  Branch (297:17): [True: 17.9k, False: 3.31k]
  ------------------
  298|  21.3k|	u = U / (13 * L) + WHITE_u;
  ------------------
  |  |  249|  21.3k|#define WHITE_u 0.1978398
  ------------------
  299|  21.3k|	v = V / (13 * L) + WHITE_v;
  ------------------
  |  |  250|  21.3k|#define WHITE_v 0.4683363
  ------------------
  300|  21.3k|	X =  9.0 * Y * u / (4 * v);
  301|  21.3k|	Z =  - X / 3 - 5 * Y + 3 * Y / v;
  302|  21.3k|    }
  303|       |
  304|       |    /* Step 4 : CIE-XYZ to sRGB */
  305|       |
  306|  21.3k|    *R = gtrans(( 3.240479 * X - 1.537150 * Y - 0.498535 * Z) / WHITE_Y);
  ------------------
  |  |  247|  21.3k|#define WHITE_Y 100.000
  ------------------
  307|  21.3k|    *G = gtrans((-0.969256 * X + 1.875992 * Y + 0.041556 * Z) / WHITE_Y);
  ------------------
  |  |  247|  21.3k|#define WHITE_Y 100.000
  ------------------
  308|  21.3k|    *B = gtrans(( 0.055648 * X - 0.204043 * Y + 1.057311 * Z) / WHITE_Y);
  ------------------
  |  |  247|  21.3k|#define WHITE_Y 100.000
  ------------------
  309|  21.3k|}
colors.c:gtrans:
  257|  63.9k|{
  258|  63.9k|    if (u > 0.00304)
  ------------------
  |  Branch (258:9): [True: 26.2k, False: 37.6k]
  ------------------
  259|  26.2k|	return 1.055 * pow(u, (1 / GAMMA)) - 0.055;
  ------------------
  |  |  254|  26.2k|#define GAMMA 2.4
  ------------------
  260|  37.6k|    else
  261|  37.6k|	return 12.92 * u;
  262|  63.9k|}
colors.c:FixupColor:
  265|  25.1k|{
  266|  25.1k|    int fix = 0;
  267|  25.1k|    if (*r < 0) { *r = 0; fix = 1; } else if (*r > 255) { *r = 255; fix = 1; }
  ------------------
  |  Branch (267:9): [True: 1.52k, False: 23.5k]
  |  Branch (267:47): [True: 9.03k, False: 14.5k]
  ------------------
  268|  25.1k|    if (*g < 0) { *g = 0; fix = 1; } else if (*g > 255) { *g = 255; fix = 1; }
  ------------------
  |  Branch (268:9): [True: 14.6k, False: 10.4k]
  |  Branch (268:47): [True: 841, False: 9.63k]
  ------------------
  269|  25.1k|    if (*b < 0) { *b = 0; fix = 1; } else if (*b > 255) { *b = 255; fix = 1; }
  ------------------
  |  Branch (269:9): [True: 16.7k, False: 8.34k]
  |  Branch (269:47): [True: 216, False: 8.13k]
  ------------------
  270|  25.1k|    return fix;
  271|  25.1k|}
colors.c:CheckColor:
   76|   439k|{
   77|   439k|    if (x == NA_INTEGER)
  ------------------
  |  |   56|   439k|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (77:9): [True: 122, False: 438k]
  ------------------
   78|    122|    	error(_("color intensity %s, not in 0:255"), "NA");
  ------------------
  |  |   88|    122|#define error Rf_error
  ------------------
                  	error(_("color intensity %s, not in 0:255"), "NA");
  ------------------
  |  |   27|    122|#define _(String) dgettext ("grDevices", String)
  ------------------
   79|   439k|    if (x < 0 || x > 255)
  ------------------
  |  Branch (79:9): [True: 213, False: 438k]
  |  Branch (79:18): [True: 42, False: 438k]
  ------------------
   80|    133|	error(_("color intensity %d, not in 0:255"), x);
  ------------------
  |  |   88|    133|#define error Rf_error
  ------------------
              	error(_("color intensity %d, not in 0:255"), x);
  ------------------
  |  |   27|    133|#define _(String) dgettext ("grDevices", String)
  ------------------
   81|   439k|    return (unsigned int)x;
   82|   439k|}
colors.c:CheckAlpha:
   94|    349|{
   95|    349|    if (x == NA_INTEGER)
  ------------------
  |  |   56|    349|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (95:9): [True: 0, False: 349]
  ------------------
   96|      0|    	error(_("alpha level %s, not in 0:255"), "NA");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  	error(_("alpha level %s, not in 0:255"), "NA");
  ------------------
  |  |   27|      0|#define _(String) dgettext ("grDevices", String)
  ------------------
   97|    349|    if (x < 0 || x > 255)
  ------------------
  |  Branch (97:9): [True: 0, False: 349]
  |  Branch (97:18): [True: 0, False: 349]
  ------------------
   98|      0|	error(_("alpha level %d, not in 0:255"), x);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("alpha level %d, not in 0:255"), x);
  ------------------
  |  |   27|      0|#define _(String) dgettext ("grDevices", String)
  ------------------
   99|    349|    return (unsigned int)x;
  100|    349|}
colors.c:rgb2hsv:
  138|   150k|{
  139|   150k|    double min, max, delta;
  140|   150k|    bool r_max = true, b_max = false;
  141|       |    /* Compute  min(r,g,b) and max(r,g,b) and remember where max is: */
  142|   150k|    min = max = r;
  143|   150k|    if(min > g) { /* g < r */
  ------------------
  |  Branch (143:8): [True: 5.69k, False: 144k]
  ------------------
  144|  5.69k|	if(b < g)
  ------------------
  |  Branch (144:5): [True: 157, False: 5.53k]
  ------------------
  145|    157|	    min = b;/* &  max = r */
  146|  5.53k|	else { /* g <= b, g < r */
  147|  5.53k|	    min = g;
  148|  5.53k|	    if(b > r) { max = b; b_max = true; r_max = false; }
  ------------------
  |  Branch (148:9): [True: 3.98k, False: 1.55k]
  ------------------
  149|       |	    /* else : g <= b <=r */
  150|  5.53k|	}
  151|   144k|    } else { /* r <= g */
  152|   144k|	if(b > g) {
  ------------------
  |  Branch (152:5): [True: 2.44k, False: 142k]
  ------------------
  153|  2.44k|	    max = b; b_max = true; r_max = false; /* &  min = r */
  154|   142k|	} else { /* b,r <= g */
  155|   142k|	    max = g; r_max = false; /* &  min = r */
  156|   142k|	    if(b < r) min = b; /* else : r <= b <= g */
  ------------------
  |  Branch (156:9): [True: 625, False: 141k]
  ------------------
  157|   142k|	}
  158|   144k|    }
  159|       |
  160|   150k|    *v = max;
  161|   150k|    if( max == 0 || (delta = max - min) == 0) {
  ------------------
  |  Branch (161:9): [True: 135k, False: 15.3k]
  |  Branch (161:21): [True: 1.39k, False: 13.9k]
  ------------------
  162|       |	/*   r = g = b : "gray" : s = h = 0 */
  163|   136k|	*s = *h = 0;
  164|   136k|	return;
  165|   136k|    }
  166|       |    /* else : */
  167|  13.9k|    *s = delta / max;
  168|       |
  169|  13.9k|    if(r_max)
  ------------------
  |  Branch (169:8): [True: 1.71k, False: 12.2k]
  ------------------
  170|  1.71k|	*h =     ( g - b ) / delta; /* between yellow & magenta */
  171|  12.2k|    else if(b_max)
  ------------------
  |  Branch (171:13): [True: 6.42k, False: 5.82k]
  ------------------
  172|  6.42k|	*h = 4 + ( r - g ) / delta; /* between magenta & cyan */
  173|  5.82k|    else /* g == max */
  174|  5.82k|	*h = 2 + ( b - r ) / delta; /* between cyan & yellow*/
  175|       |
  176|  13.9k|    *h /= 6;
  177|  13.9k|    if(*h < 0)
  ------------------
  |  Branch (177:8): [True: 1.32k, False: 12.6k]
  ------------------
  178|  1.32k|	*h += 1.;
  179|  13.9k|    return;
  180|   150k|}
colors.c:str2col:
 1457|  35.7k|{
 1458|  35.7k|    if(s[0] == '#') return rgb2col(s);
  ------------------
  |  Branch (1458:8): [True: 899, False: 34.8k]
  ------------------
 1459|  34.8k|    else if(isdigit((int)s[0])) {
  ------------------
  |  Branch (1459:13): [True: 32.2k, False: 2.63k]
  ------------------
 1460|  32.2k|	char *ptr;
 1461|  32.2k|	int indx = (int) strtod(s, &ptr);
 1462|  32.2k|	if(*ptr) error(_("invalid color specification \"%s\""), s);
  ------------------
  |  |   88|     34|#define error Rf_error
  ------------------
              	if(*ptr) error(_("invalid color specification \"%s\""), s);
  ------------------
  |  |   27|     34|#define _(String) dgettext ("grDevices", String)
  ------------------
  |  Branch (1462:5): [True: 34, False: 32.1k]
  ------------------
 1463|  32.2k|	if (indx == 0) return bg;
  ------------------
  |  Branch (1463:6): [True: 264, False: 31.9k]
  ------------------
 1464|  31.9k|	return Palette[(indx-1) % PaletteSize];
 1465|  32.2k|    } else return name2col(s);
 1466|  35.7k|}
colors.c:StrMatch:
  622|   458k|{
  623|   560k|    for(;;) {
  624|   560k|	if(*s == '\0' && *t == '\0') return 1;
  ------------------
  |  Branch (624:5): [True: 1.61k, False: 559k]
  |  Branch (624:19): [True: 894, False: 723]
  ------------------
  625|   559k|	if(*s == ' ') { s++; continue; }
  ------------------
  |  Branch (625:5): [True: 0, False: 559k]
  ------------------
  626|   559k|	if(*t == ' ') { t++; continue; }
  ------------------
  |  Branch (626:5): [True: 18.6k, False: 541k]
  ------------------
  627|   541k|	if(tolower(*s++) != tolower(*t++)) return 0;
  ------------------
  |  Branch (627:5): [True: 0, False: 0]
  |  Branch (627:5): [Folded, False: 0]
  |  Branch (627:5): [Folded, False: 541k]
  |  Branch (627:5): [True: 457k, False: 83.8k]
  |  Branch (627:22): [True: 0, False: 0]
  |  Branch (627:22): [Folded, False: 0]
  |  Branch (627:22): [Folded, False: 541k]
  ------------------
  628|   541k|    }
  629|   458k|}
colors.c:rgb2col:
 1354|  12.6k|{
 1355|  12.6k|    unsigned int r = 0, g = 0, b = 0, a = 0; /* -Wall */
 1356|  12.6k|    if(rgb[0] != '#')
  ------------------
  |  Branch (1356:8): [True: 0, False: 12.6k]
  ------------------
 1357|      0|	error(_("invalid RGB specification"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid RGB specification"));
  ------------------
  |  |   27|      0|#define _(String) dgettext ("grDevices", String)
  ------------------
 1358|  12.6k|    switch (strlen(rgb)) {
 1359|    115|    case 9:
  ------------------
  |  Branch (1359:5): [True: 115, False: 12.5k]
  ------------------
 1360|    115|	a = 16 * hexdigit(rgb[7]) + hexdigit(rgb[8]);
 1361|  11.9k|    case 7:
  ------------------
  |  Branch (1361:5): [True: 11.8k, False: 760]
  ------------------
 1362|  11.9k|	r = 16 * hexdigit(rgb[1]) + hexdigit(rgb[2]);
 1363|  11.9k|	g = 16 * hexdigit(rgb[3]) + hexdigit(rgb[4]);
 1364|  11.9k|	b = 16 * hexdigit(rgb[5]) + hexdigit(rgb[6]);
 1365|  11.9k|	break;
 1366|    259|    case 5: 
  ------------------
  |  Branch (1366:5): [True: 259, False: 12.3k]
  ------------------
 1367|       |	// Equivalent to 16 * hexdigit(rgb[4]) + hexdigit(rgb[4]);
 1368|    259|	a = (16 + 1) * hexdigit(rgb[4]);
 1369|    634|    case 4:
  ------------------
  |  Branch (1369:5): [True: 375, False: 12.2k]
  ------------------
 1370|    634|	r = (16 + 1) * hexdigit(rgb[1]);
 1371|    634|	g = (16 + 1) * hexdigit(rgb[2]);
 1372|    634|	b = (16 + 1) * hexdigit(rgb[3]);
 1373|    634|	break;
 1374|     11|    default:
  ------------------
  |  Branch (1374:5): [True: 11, False: 12.6k]
  ------------------
 1375|     11|	error(_("invalid RGB specification"));
  ------------------
  |  |   88|     11|#define error Rf_error
  ------------------
              	error(_("invalid RGB specification"));
  ------------------
  |  |   27|     11|#define _(String) dgettext ("grDevices", String)
  ------------------
 1376|  12.6k|    }
 1377|       |
 1378|  12.4k|    switch(strlen(rgb)) {
 1379|  11.8k|    case 7: 
  ------------------
  |  Branch (1379:5): [True: 11.8k, False: 666]
  ------------------
 1380|  12.1k|    case 4:
  ------------------
  |  Branch (1380:5): [True: 349, False: 12.1k]
  ------------------
 1381|  12.1k|        return R_RGB(r, g, b);
  ------------------
  |  |  879|  12.1k|#define R_RGB(r,g,b)	((r)|((g)<<8)|((b)<<16)|0xFF000000)
  ------------------
 1382|    317|    default:
  ------------------
  |  Branch (1382:5): [True: 317, False: 12.1k]
  ------------------
 1383|    317|        return R_RGBA(r, g, b, a);
  ------------------
  |  |  880|    317|#define R_RGBA(r,g,b,a)	((r)|((g)<<8)|((b)<<16)|((a)<<24))
  ------------------
 1384|  12.4k|    }
 1385|  12.4k|}
colors.c:hexdigit:
 1343|  73.8k|{
 1344|  73.8k|    if('0' <= digit && digit <= '9') return digit - '0';
  ------------------
  |  Branch (1344:8): [True: 73.7k, False: 51]
  |  Branch (1344:24): [True: 46.4k, False: 27.3k]
  ------------------
 1345|  27.3k|    if('A' <= digit && digit <= 'F') return 10 + digit - 'A';
  ------------------
  |  Branch (1345:8): [True: 27.3k, False: 70]
  |  Branch (1345:24): [True: 26.8k, False: 424]
  ------------------
 1346|    494|    if('a' <= digit && digit <= 'f') return 10 + digit - 'a';
  ------------------
  |  Branch (1346:8): [True: 384, False: 110]
  |  Branch (1346:24): [True: 358, False: 26]
  ------------------
 1347|    136|    /*else */ error(_("invalid hex digit in 'color' or 'lty'"));
  ------------------
  |  |   88|    136|#define error Rf_error
  ------------------
                  /*else */ error(_("invalid hex digit in 'color' or 'lty'"));
  ------------------
  |  |   27|    136|#define _(String) dgettext ("grDevices", String)
  ------------------
 1348|    136|    return digit; /* never occurs (-Wall) */
 1349|    494|}
colors.c:name2col:
 1390|  2.82k|{
 1391|  2.82k|    int i;
 1392|  2.82k|    if(strcmp(nm, "NA") == 0 || strcmp(nm, "transparent") == 0)
  ------------------
  |  Branch (1392:8): [True: 1.73k, False: 1.09k]
  |  Branch (1392:33): [True: 137, False: 959]
  ------------------
 1393|       |	/*
 1394|       |	 * Paul 01/07/04 (2004-07-01?)
 1395|       |	 *
 1396|       |	 * Used to be set to NA_INTEGER.
 1397|       |	 *
 1398|       |	 * Now set to fully transparent white.
 1399|       |	 *
 1400|       |	 * In some cases, fully transparent gets caught by
 1401|       |	 * the graphics engine and no drawing occurs, but
 1402|       |	 * in other cases, transparent colours are passed to devices.
 1403|       |	 *
 1404|       |	 * All devices should respond to fully transparent by
 1405|       |	 * not drawing.
 1406|       |	 */
 1407|  1.86k|	return R_TRANWHITE;
  ------------------
  |  |  890|  1.86k|#define R_TRANWHITE     (R_RGBA(255, 255, 255, 0))
  |  |  ------------------
  |  |  |  |  880|  1.86k|#define R_RGBA(r,g,b,a)	((r)|((g)<<8)|((b)<<16)|((a)<<24))
  |  |  ------------------
  ------------------
 1408|   457k|    for(i = 0; ColorDataBase[i].name ; i++) {
  ------------------
  |  Branch (1408:16): [True: 457k, False: 523]
  ------------------
 1409|   457k|	if(StrMatch(ColorDataBase[i].name, nm))
  ------------------
  |  Branch (1409:5): [True: 436, False: 456k]
  ------------------
 1410|    436|	    return ColorDataBase[i].code;
 1411|   457k|    }
 1412|    523|    error(_("invalid color name '%s'"), nm);
  ------------------
  |  |   88|    523|#define error Rf_error
  ------------------
                  error(_("invalid color name '%s'"), nm);
  ------------------
  |  |   27|    523|#define _(String) dgettext ("grDevices", String)
  ------------------
 1413|    523|    return 0U;		/* never occurs but avoid compiler warnings */
 1414|    959|}

makeQuartzDefault:
 3620|      2|SEXP makeQuartzDefault(void) {
 3621|      2|    return ScalarLogical(FALSE);
  ------------------
  |  | 1023|      2|#define ScalarLogical		Rf_ScalarLogical
  ------------------
 3622|      2|}

R_init_grDevices:
  139|      2|{
  140|      2|    initPalette();
  141|      2|    R_registerRoutines(dll, NULL, CallEntries, NULL, ExtEntries);
  142|      2|    R_useDynamicSymbols(dll, FALSE);
  143|      2|    R_forceSymbols(dll, TRUE);
  144|       |
  145|       |#ifdef HAVE_AQUA
  146|       |/* R.app will run event loop, so if we are running under that we don't
  147|       |   need to run one here */
  148|       |    if(useaqua) setup_RdotApp();
  149|       |#endif
  150|      2|}
init.c:cairoProps:
   35|      4|{
   36|      4|    int which = asInteger(in);
  ------------------
  |  |  885|      4|#define asInteger		Rf_asInteger
  ------------------
   37|      4|    if(which == 1)
  ------------------
  |  Branch (37:8): [True: 0, False: 4]
  ------------------
   38|      0|	return ScalarLogical(
  ------------------
  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  ------------------
   39|       |#ifdef HAVE_WORKING_CAIRO
   40|       |	    1
   41|       |#else
   42|      0|	    0
   43|      0|#endif
   44|      0|	    );
   45|      4|    else if(which == 2)
  ------------------
  |  Branch (45:13): [True: 4, False: 0]
  ------------------
   46|      4|	return ScalarLogical(
  ------------------
  |  | 1023|      4|#define ScalarLogical		Rf_ScalarLogical
  ------------------
   47|       |#ifdef HAVE_PANGOCAIRO
   48|       |	    1
   49|       |#else
   50|      4|	    0
   51|      4|#endif
   52|      4|	    );
   53|      0|    return R_NilValue;
   54|      4|}

registerBase:
  364|      2|registerBase(void) {
  365|      2|    GEregisterSystem(baseCallback, &baseRegisterIndex);
  366|      2|}

R_init_graphics:
   86|      2|{
   87|      2|    R_registerRoutines(dll, NULL, CallEntries, NULL, ExtEntries);
   88|      2|    R_useDynamicSymbols(dll, FALSE);
   89|      2|    R_forceSymbols(dll, TRUE);
   90|      2|    registerBase();
   91|      2|}

R_init_methods:
   61|      2|{
   62|      2|    R_registerRoutines(dll, NULL, CallEntries, NULL, NULL);
   63|      2|    R_useDynamicSymbols(dll, FALSE);
   64|      2|    R_forceSymbols(dll, TRUE);
   65|      2|}

R_initMethodDispatch:
  148|      2|{
  149|      2|    if(envir && !isNull(envir))
  ------------------
  |  |  956|      2|#define isNull			Rf_isNull
  ------------------
  |  Branch (149:8): [True: 2, False: 0]
  |  Branch (149:17): [True: 2, False: 0]
  ------------------
  150|      2|	Methods_Namespace = envir;
  151|      2|    if(!Methods_Namespace)
  ------------------
  |  Branch (151:8): [True: 0, False: 2]
  ------------------
  152|      0|	Methods_Namespace = R_GlobalEnv;
  153|      2|    if(initialized)
  ------------------
  |  Branch (153:8): [True: 0, False: 2]
  ------------------
  154|      0|	return(envir);
  155|       |
  156|      2|    s_dot_Methods = install(".Methods");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  157|      2|    install("skeleton");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  158|      2|    install("expression");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  159|      2|    install("function");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  160|      2|    install("getAllMethods");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  161|      2|    install("objectsEnv");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  162|      2|    s_MethodsListSelect = install("MethodsListSelect");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  163|      2|    install("sys.frame");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  164|      2|    install("sys.call");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  165|      2|    install("sys.function");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  166|      2|    s_generic = install("generic");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  167|      2|    install("generic.skeleton");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  168|      2|    install("[<-");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  169|      2|    install("[[<-");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  170|      2|    s_argument = install("argument");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  171|      2|    s_allMethods = install("allMethods");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  172|       |
  173|      2|    R_FALSE = ScalarLogical(FALSE);
  ------------------
  |  | 1023|      2|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  174|      2|    R_PreserveObject(R_FALSE);
  175|      2|    R_TRUE = ScalarLogical(TRUE);
  ------------------
  |  | 1023|      2|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  176|      2|    R_PreserveObject(R_TRUE);
  177|       |
  178|       |    /* some strings (NOT symbols) */
  179|      2|    s_missing = mkString("missing");
  ------------------
  |  | 1003|      2|#define mkString		Rf_mkString
  ------------------
  180|      2|    setAttrib(s_missing, R_PackageSymbol, mkString("methods"));
  ------------------
  |  | 1027|      2|#define setAttrib		Rf_setAttrib
  ------------------
                  setAttrib(s_missing, R_PackageSymbol, mkString("methods"));
  ------------------
  |  | 1003|      2|#define mkString		Rf_mkString
  ------------------
  181|      2|    R_PreserveObject(s_missing);
  182|      2|    s_base = mkString("base");
  ------------------
  |  | 1003|      2|#define mkString		Rf_mkString
  ------------------
  183|      2|    R_PreserveObject(s_base);
  184|       |    /*  Initialize method dispatch, using the static */
  185|      2|    R_set_standardGeneric_ptr(
  186|      2|	(table_dispatch_on ? R_dispatchGeneric : R_standardGeneric)
  ------------------
  |  Branch (186:3): [True: 2, False: 0]
  ------------------
  187|      2|	, Methods_Namespace);
  188|      2|    R_set_quick_method_check(
  189|      2|	(table_dispatch_on ? R_quick_dispatch : R_quick_method_check));
  ------------------
  |  Branch (189:3): [True: 2, False: 0]
  ------------------
  190|       |
  191|       |    /* Some special lists of primitive skeleton calls.
  192|       |       These will be promises under lazy-loading.
  193|       |    */
  194|      2|    PROTECT(R_short_skeletons =
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
  195|      2|	    findVar(install(".ShortPrimitiveSkeletons"),
  196|      2|		    Methods_Namespace));
  197|      2|    if(TYPEOF(R_short_skeletons) == PROMSXP)
  ------------------
  |  |  116|      2|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (197:8): [True: 2, False: 0]
  ------------------
  198|      2|	R_short_skeletons = eval(R_short_skeletons, Methods_Namespace);
  ------------------
  |  |  913|      2|#define eval			Rf_eval
  ------------------
  199|      2|    R_PreserveObject(R_short_skeletons);
  200|      2|    UNPROTECT(1);
  ------------------
  |  |  358|      2|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  201|      2|    PROTECT(R_empty_skeletons =
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
  202|      2|	    findVar(install(".EmptyPrimitiveSkeletons"),
  203|      2|		    Methods_Namespace));
  204|      2|    if(TYPEOF(R_empty_skeletons) == PROMSXP)
  ------------------
  |  |  116|      2|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (204:8): [True: 2, False: 0]
  ------------------
  205|      2|	R_empty_skeletons = eval(R_empty_skeletons, Methods_Namespace);
  ------------------
  |  |  913|      2|#define eval			Rf_eval
  ------------------
  206|      2|    R_PreserveObject(R_empty_skeletons);
  207|      2|    UNPROTECT(1);
  ------------------
  |  |  358|      2|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  208|      2|    if(R_short_skeletons == R_UnboundValue ||
  ------------------
  |  Branch (208:8): [True: 0, False: 2]
  ------------------
  209|      2|       R_empty_skeletons == R_UnboundValue)
  ------------------
  |  Branch (209:8): [True: 0, False: 2]
  ------------------
  210|      0|	error(_("could not find the skeleton calls for 'methods' (package detached?): expect very bad things to happen"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("could not find the skeleton calls for 'methods' (package detached?): expect very bad things to happen"));
  ------------------
  |  |   23|      0|#define _(String) dgettext ("methods", String)
  ------------------
  211|       |/*
  212|       |    f_x_i_skeleton = VECTOR_ELT(R_short_skeletons, 0);
  213|       |    fgets_x_i_skeleton = VECTOR_ELT(R_short_skeletons, 1);
  214|       |    f_x_skeleton = VECTOR_ELT(R_empty_skeletons, 0);
  215|       |    fgets_x_skeleton = VECTOR_ELT(R_empty_skeletons, 1);
  216|       |*/
  217|      2|    init_loadMethod();
  218|      2|    initialized = 1;
  219|      2|    return(envir);
  220|      2|}
R_M_setPrimitiveMethods:
  732|      2|{
  733|      2|    return R_set_prim_method(fname, op, code_vec, fundef, mlist);
  734|       |    // -> ../../../main/objects.c
  735|      2|}
R_identC:
  957|  2.85k|{
  958|  2.85k|    if(TYPEOF(e1) == STRSXP && TYPEOF(e2) == STRSXP &&
  ------------------
  |  |  126|  5.71k|#define STRSXP	    16	  /* string vectors */
  ------------------
                  if(TYPEOF(e1) == STRSXP && TYPEOF(e2) == STRSXP &&
  ------------------
  |  |  126|  5.71k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (958:8): [True: 2.85k, False: 0]
  |  Branch (958:32): [True: 2.85k, False: 0]
  ------------------
  959|  2.85k|       LENGTH(e1) == 1 && LENGTH(e2) == 1 &&
  ------------------
  |  Branch (959:8): [True: 2.85k, False: 0]
  |  Branch (959:27): [True: 2.85k, False: 0]
  ------------------
  960|  2.85k|       STRING_ELT(e1, 0) == STRING_ELT(e2, 0))
  ------------------
  |  Branch (960:8): [True: 952, False: 1.90k]
  ------------------
  961|    952|	return R_TRUE;
  962|  1.90k|    else
  963|  1.90k|	return R_FALSE;
  964|  2.85k|}
R_getClassFromCache:
  967|  1.90k|{
  968|  1.90k|    SEXP value;
  969|  1.90k|    if(TYPEOF(class) == STRSXP) {
  ------------------
  |  |  126|  1.90k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (969:8): [True: 1.90k, False: 0]
  ------------------
  970|  1.90k|	if (LENGTH(class) == 0) return R_NilValue;
  ------------------
  |  Branch (970:6): [True: 0, False: 1.90k]
  ------------------
  971|  1.90k|	SEXP package = PACKAGE_SLOT(class);
  ------------------
  |  |  442|  1.90k|#define PACKAGE_SLOT(vl) getAttrib(vl, R_PackageSymbol)
  |  |  ------------------
  |  |  |  |  924|  1.90k|#define getAttrib		Rf_getAttrib
  |  |  ------------------
  ------------------
  972|  1.90k|	value = findVarInFrame(table, installTrChar(STRING_ELT(class, 0)));
  ------------------
  |  |  919|  1.90k|#define findVarInFrame		Rf_findVarInFrame
  ------------------
              	value = findVarInFrame(table, installTrChar(STRING_ELT(class, 0)));
  ------------------
  |  |  937|  1.90k|#define installTrChar		Rf_installTrChar
  ------------------
  973|  1.90k|	if(value == R_UnboundValue)
  ------------------
  |  Branch (973:5): [True: 0, False: 1.90k]
  ------------------
  974|      0|	    return R_NilValue;
  975|  1.90k|	else if(TYPEOF(package) == STRSXP) {
  ------------------
  |  |  126|  1.90k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (975:10): [True: 0, False: 1.90k]
  ------------------
  976|      0|	    SEXP defPkg = PACKAGE_SLOT(value);
  ------------------
  |  |  442|      0|#define PACKAGE_SLOT(vl) getAttrib(vl, R_PackageSymbol)
  |  |  ------------------
  |  |  |  |  924|      0|#define getAttrib		Rf_getAttrib
  |  |  ------------------
  ------------------
  977|       |	    /* check equality of package */
  978|      0|	    if(TYPEOF(defPkg) == STRSXP && length(defPkg) ==1 &&
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
              	    if(TYPEOF(defPkg) == STRSXP && length(defPkg) ==1 &&
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (978:9): [True: 0, False: 0]
  |  Branch (978:37): [True: 0, False: 0]
  ------------------
  979|      0|	       STRING_ELT(defPkg,0) != STRING_ELT(package, 0))
  ------------------
  |  Branch (979:9): [True: 0, False: 0]
  ------------------
  980|      0|		return R_NilValue;
  981|      0|	    else
  982|      0|		return value;
  983|      0|	}
  984|  1.90k|	else /* may return a list if multiple instances of class */
  985|  1.90k|	    return value;
  986|  1.90k|    }
  987|      0|    else if(TYPEOF(class) != OBJSXP) {
  ------------------
  |  |  137|      0|#define OBJSXP      25    /* object, non-vector  */
  ------------------
  |  Branch (987:13): [True: 0, False: 0]
  ------------------
  988|      0|	error(_("class should be either a character-string name or a class definition"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("class should be either a character-string name or a class definition"));
  ------------------
  |  |   23|      0|#define _(String) dgettext ("methods", String)
  ------------------
  989|      0|	return R_NilValue; /* NOT REACHED */
  990|      0|    } else /* assumes a class def, but might check */
  991|      0|	return class;
  992|  1.90k|}
R_set_method_dispatch:
 1173|      2|{
 1174|      2|    int value = asLogical(onOff);
  ------------------
  |  |  886|      2|#define asLogical		Rf_asLogical
  ------------------
 1175|      2|    if(value == NA_LOGICAL) /*  just return previous*/
  ------------------
  |  |   55|      2|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (1175:8): [True: 0, False: 2]
  ------------------
 1176|      0|	return ScalarLogical(table_dispatch_on);
  ------------------
  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  ------------------
 1177|       |    // else
 1178|      2|    bool prev = table_dispatch_on;
 1179|      2|    table_dispatch_on = (bool)value;
 1180|      2|    if(table_dispatch_on != prev) {
  ------------------
  |  Branch (1180:8): [True: 0, False: 2]
  ------------------
 1181|      0|	R_set_standardGeneric_ptr(
 1182|      0|	    (table_dispatch_on ? R_dispatchGeneric : R_standardGeneric),
  ------------------
  |  Branch (1182:7): [True: 0, False: 0]
  ------------------
 1183|      0|	    Methods_Namespace);
 1184|      0|	R_set_quick_method_check(
 1185|      0|	    (table_dispatch_on ? R_quick_dispatch : R_quick_method_check));
  ------------------
  |  Branch (1185:7): [True: 0, False: 0]
  ------------------
 1186|      0|    }
 1187|      2|    return ScalarLogical(prev);
  ------------------
  |  | 1023|      2|#define ScalarLogical		Rf_ScalarLogical
  ------------------
 1188|      2|}
methods_list_dispatch.c:init_loadMethod:
  136|      2|{
  137|      2|    R_target = install("target");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  138|      2|    R_defined = install("defined");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  139|      2|    R_nextMethod = install("nextMethod");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  140|      2|    R_loadMethod_name = install("loadMethod");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  141|      2|    R_dot_nextMethod = install(".nextMethod");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  142|      2|    R_methods_name = install("methods");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  143|      2|    R_tripleColon_name = install(":::");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  144|      2|}

ApproxTest:
  150|    966|{
  151|    966|    R_xlen_t nx = XLENGTH(x);
  152|    966|    R_approxtest(REAL(x), REAL(y), nx,
  153|    966|		 asInteger(method), asReal(f), asLogical(na_rm));
  ------------------
  |  |  885|    966|#define asInteger		Rf_asInteger
  ------------------
              		 asInteger(method), asReal(f), asLogical(na_rm));
  ------------------
  |  |  889|    966|#define asReal			Rf_asReal
  ------------------
              		 asInteger(method), asReal(f), asLogical(na_rm));
  ------------------
  |  |  886|    966|#define asLogical		Rf_asLogical
  ------------------
  154|       |    // if no error was signalled,
  155|    966|    return R_NilValue;
  156|    966|}
Approx:
  160|    966|{
  161|    966|    SEXP xout = PROTECT(coerceVector(v, REALSXP));
  ------------------
  |  |  357|    966|#define PROTECT(s)	Rf_protect(s)
  ------------------
  162|    966|    R_xlen_t nx = XLENGTH(x), nout = XLENGTH(xout);
  163|    966|    SEXP yout = PROTECT(allocVector(REALSXP, nout));
  ------------------
  |  |  357|    966|#define PROTECT(s)	Rf_protect(s)
  ------------------
  164|    966|    R_approxfun(REAL(x), REAL(y), nx, REAL(xout), REAL(yout), nout,
  165|    966|		asInteger(method), asReal(yleft), asReal(yright), asReal(f), asLogical(na_rm));
  ------------------
  |  |  885|    966|#define asInteger		Rf_asInteger
  ------------------
              		asInteger(method), asReal(yleft), asReal(yright), asReal(f), asLogical(na_rm));
  ------------------
  |  |  889|    966|#define asReal			Rf_asReal
  ------------------
              		asInteger(method), asReal(yleft), asReal(yright), asReal(f), asLogical(na_rm));
  ------------------
  |  |  889|    966|#define asReal			Rf_asReal
  ------------------
              		asInteger(method), asReal(yleft), asReal(yright), asReal(f), asLogical(na_rm));
  ------------------
  |  |  889|    966|#define asReal			Rf_asReal
  ------------------
              		asInteger(method), asReal(yleft), asReal(yright), asReal(f), asLogical(na_rm));
  ------------------
  |  |  886|    966|#define asLogical		Rf_asLogical
  ------------------
  166|    966|    UNPROTECT(2);
  ------------------
  |  |  358|    966|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  167|    966|    return yout;
  168|    966|}
approx.c:R_approxtest:
  101|    966|{
  102|    966|    switch(method) {
  103|    966|    case 1: /* linear */
  ------------------
  |  Branch (103:5): [True: 966, False: 0]
  ------------------
  104|    966|      	break;
  105|      0|    case 2: /* constant */
  ------------------
  |  Branch (105:5): [True: 0, False: 966]
  ------------------
  106|      0|	if(!R_FINITE(f) || f < 0 || f > 1)
  ------------------
  |  |   82|      0|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (106:5): [True: 0, False: 0]
  |  Branch (106:21): [True: 0, False: 0]
  |  Branch (106:30): [True: 0, False: 0]
  ------------------
  107|      0|	    error(_("approx(): invalid f value"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("approx(): invalid f value"));
  ------------------
  |  |    5|      0|#define _(String) dgettext ("stats", String)
  ------------------
  108|      0|	break;
  109|      0|    default:
  ------------------
  |  Branch (109:5): [True: 0, False: 966]
  ------------------
  110|      0|	error(_("approx(): invalid interpolation method"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("approx(): invalid interpolation method"));
  ------------------
  |  |    5|      0|#define _(String) dgettext ("stats", String)
  ------------------
  111|      0|	break;
  112|    966|    }
  113|       |    /* check interpolation method */
  114|    966|    if(na_rm) { // (x,y) should not have any NA's anymore
  ------------------
  |  Branch (114:8): [True: 966, False: 0]
  ------------------
  115|  96.6k|	for(R_xlen_t i = 0; i < nxy; i++)
  ------------------
  |  Branch (115:22): [True: 95.6k, False: 966]
  ------------------
  116|  95.6k|	    if(ISNAN(x[i]) || ISNAN(y[i]))
  ------------------
  |  |   76|   191k|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 95.6k]
  |  |  ------------------
  ------------------
              	    if(ISNAN(x[i]) || ISNAN(y[i]))
  ------------------
  |  |   76|  95.6k|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 95.6k]
  |  |  ------------------
  ------------------
  117|      0|		error(_("approx(): attempted to interpolate NA values"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("approx(): attempted to interpolate NA values"));
  ------------------
  |  |    5|      0|#define _(String) dgettext ("stats", String)
  ------------------
  118|    966|    } else { // na.rm = FALSE ==> at least y may contain NA's
  119|      0|	for(R_xlen_t i = 0; i < nxy; i++)
  ------------------
  |  Branch (119:22): [True: 0, False: 0]
  ------------------
  120|      0|	    if(ISNAN(x[i]))
  ------------------
  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  121|      0|		error(_("approx(x,y, .., na.rm=FALSE): NA values in x are not allowed"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("approx(x,y, .., na.rm=FALSE): NA values in x are not allowed"));
  ------------------
  |  |    5|      0|#define _(String) dgettext ("stats", String)
  ------------------
  122|      0|    }
  123|    966|}
approx.c:R_approxfun:
  130|    966|{
  131|    966|    appr_meth M = {0.0, 0.0, 0.0, 0.0, 0, 0}; /* -Wall */
  132|       |
  133|    966|    M.f2 = f;
  134|    966|    M.f1 = 1 - f;
  135|    966|    M.kind = method;
  136|    966|    M.ylow = yleft;
  137|    966|    M.yhigh = yright;
  138|    966|    M.na_rm = na_rm;
  139|       |#ifdef DEBUG_approx
  140|       |    REprintf("R_approxfun(x,y, nxy = %.0f, .., nout = %.0f, method = %d, ...)",
  141|       |	     (double)nxy, (double)nout, method);
  142|       |#endif
  143|  7.24k|    for(R_xlen_t i = 0; i < nout; i++)
  ------------------
  |  Branch (143:25): [True: 6.27k, False: 966]
  ------------------
  144|  6.27k|	yout[i] = ISNAN(xout[i]) ? xout[i] : approx1(xout[i], x, y, nxy, &M);
  ------------------
  |  |   76|  6.27k|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 6.27k]
  |  |  ------------------
  ------------------
  145|    966|}
approx.c:approx1:
   54|  6.27k|{
   55|       |    /* Approximate  y(v),  given (x,y)[i], i = 0,..,n-1 */
   56|       |
   57|       |#ifdef DEBUG_approx
   58|       |    REprintf("approx1(*, n = %.0f, Meth:=(f1=%g,f2=%g, kind=%d)):\n",
   59|       |	     (double)n, Meth->f1, Meth->f2, Meth->kind);
   60|       |#endif
   61|       |
   62|  6.27k|    if(!n) return R_NaN;
  ------------------
  |  Branch (62:8): [True: 0, False: 6.27k]
  ------------------
   63|       |
   64|  6.27k|    R_xlen_t
   65|  6.27k|	i = 0,
   66|  6.27k|	j = n - 1;
   67|       |    /* handle out-of-domain points */
   68|  6.27k|    if(v < x[i]) return Meth->ylow;
  ------------------
  |  Branch (68:8): [True: 0, False: 6.27k]
  ------------------
   69|  6.27k|    if(v > x[j]) return Meth->yhigh;
  ------------------
  |  Branch (69:8): [True: 0, False: 6.27k]
  ------------------
   70|       |
   71|       |
   72|       |    /* find the correct interval by bisection */
   73|  26.3k|    while(i < j - 1) { /* x[i] <= v <= x[j] */
  ------------------
  |  Branch (73:11): [True: 20.0k, False: 6.27k]
  ------------------
   74|  20.0k|	R_xlen_t ij = (i+j) / 2;
   75|       |	/* i+1 <= ij <= j-1 */
   76|  20.0k|	if(v < x[ij]) j = ij; else i = ij;
  ------------------
  |  Branch (76:5): [True: 8.97k, False: 11.0k]
  ------------------
   77|       |	/* still i < j */
   78|       |#ifdef DEBUG_approx
   79|       |	REprintf("  (i,j) = (%.0f,%.0f)\n", (double)i, (double)j);
   80|       |#endif
   81|  20.0k|    }
   82|       |    /* provably have i == j-1 */
   83|       |
   84|       |    /* interpolation */
   85|       |
   86|  6.27k|    if(v == x[j]) return y[j];
  ------------------
  |  Branch (86:8): [True: 966, False: 5.31k]
  ------------------
   87|  5.31k|    if(v == x[i]) return y[i];
  ------------------
  |  Branch (87:8): [True: 1.44k, False: 3.86k]
  ------------------
   88|       |    /* impossible: if(x[j] == x[i]) return y[i]; */
   89|       |
   90|  3.86k|    if(Meth->kind == 1) /* linear */
  ------------------
  |  Branch (90:8): [True: 3.86k, False: 0]
  ------------------
   91|  3.86k|	return y[i] + (y[j] - y[i]) * ((v - x[i])/(x[j] - x[i]));
   92|      0|    else /* 2 : constant */
   93|      0|	return (Meth->f1 != 0.0 ? y[i] * Meth->f1 : 0.0)
  ------------------
  |  Branch (93:10): [True: 0, False: 0]
  ------------------
   94|      0|	     + (Meth->f2 != 0.0 ? y[j] * Meth->f2 : 0.0);
  ------------------
  |  Branch (94:10): [True: 0, False: 0]
  ------------------
   95|  3.86k|}/* approx1() */

R_init_stats:
  309|      2|{
  310|      2|    R_registerRoutines(dll, CEntries, CallEntries, FortEntries, ExtEntries);
  311|      2|    R_useDynamicSymbols(dll, FALSE);
  312|      2|    R_forceSymbols(dll, TRUE);
  313|       |
  314|      2|    R_RegisterCCallable("stats", "nlminb_iterate", (DL_FUNC) nlminb_iterate);
  315|      2|    R_RegisterCCallable("stats", "nlsb_iterate", (DL_FUNC) nlsb_iterate);
  316|      2|    R_RegisterCCallable("stats", "Rf_divset", (DL_FUNC) Rf_divset);
  317|      2|    R_RegisterCCallable("stats", "rcont2", (DL_FUNC) rcont2);
  318|      2|    R_RegisterCCallable("stats", "dpermdist1", (DL_FUNC) dpermdist1);
  319|      2|    R_RegisterCCallable("stats", "dpermdist2", (DL_FUNC) dpermdist2);
  320|      2|}

R_init_utils:
  133|      2|{
  134|      2|    R_registerRoutines(dll, NULL, CallEntries, NULL, ExtEntries);
  135|      2|    R_useDynamicSymbols(dll, FALSE);
  136|      2|    R_forceSymbols(dll, TRUE);
  137|      2|}

readtablehead:
  809|      4|{
  810|      4|    SEXP file, comstr, ans = R_NilValue, ans2, quotes, sep;
  811|      4|    int nlines, i, c, quote = 0, nread, nbuf, buf_size = BUF_SIZE,
  ------------------
  |  |  807|      4|#define BUF_SIZE 1000
  ------------------
  812|      4|	blskip, skipNul;
  813|      4|    const char *p; char *buf;
  814|      4|    bool empty, skip, firstnonwhite;
  815|      4|    LocalData data = {NULL, 0, 0, '.', "", NO_COMCHAR, 0, NULL, false,
  ------------------
  |  |   60|      4|#define NO_COMCHAR 100000 /* won't occur even in Unicode */
  ------------------
  816|      4|		      false, 0, false, false, false};
  817|      4|    data.NAstrings = R_NilValue;
  818|       |
  819|      4|    args = CDR(args);
  820|       |
  821|      4|    file = CAR(args);		   args = CDR(args);
  822|      4|    nlines = asInteger(CAR(args)); args = CDR(args);
  ------------------
  |  |  885|      4|#define asInteger		Rf_asInteger
  ------------------
  823|      4|    comstr = CAR(args);		   args = CDR(args);
  824|      4|    blskip = asLogical(CAR(args)); args = CDR(args);
  ------------------
  |  |  886|      4|#define asLogical		Rf_asLogical
  ------------------
  825|      4|    quotes = CAR(args);		   args = CDR(args);
  826|      4|    sep = CAR(args);		   args = CDR(args);
  827|      4|    skipNul = asLogical(CAR(args));
  ------------------
  |  |  886|      4|#define asLogical		Rf_asLogical
  ------------------
  828|       |
  829|      4|    if (nlines <= 0 || nlines == NA_INTEGER)
  ------------------
  |  |   56|      4|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (829:9): [True: 0, False: 4]
  |  Branch (829:24): [True: 0, False: 4]
  ------------------
  830|      0|	error(_("invalid '%s' argument"), "nlines");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "nlines");
  ------------------
  |  |   48|      0|#define _(String) dgettext ("utils", String)
  ------------------
  831|      4|    if (blskip == NA_LOGICAL) blskip = 1;
  ------------------
  |  |   55|      4|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (831:9): [True: 0, False: 4]
  ------------------
  832|      4|    if (isString(quotes)) {
  ------------------
  |  |  966|      4|#define isString		Rf_isString
  ------------------
  |  Branch (832:9): [True: 4, False: 0]
  ------------------
  833|      4|	const char *sc = translateChar(STRING_ELT(quotes, 0));
  ------------------
  |  | 1037|      4|#define translateChar		Rf_translateChar
  ------------------
  834|       |	/* FIXME: will leak memory at long jump */
  835|       |	// strdup allocates and can fail
  836|      4|	if (strlen(sc)) strcpy(data.quoteset, sc);
  ------------------
  |  Branch (836:6): [True: 4, False: 0]
  ------------------
  837|      0|	else strcpy(data.quoteset, "");
  838|      4|    } else if (isNull(quotes))
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
  |  Branch (838:16): [True: 0, False: 0]
  ------------------
  839|      0|	strcpy(data.quoteset, "");
  840|      0|    else
  841|      0|	error(_("invalid quote symbol set"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid quote symbol set"));
  ------------------
  |  |   48|      0|#define _(String) dgettext ("utils", String)
  ------------------
  842|       |
  843|      4|    if (TYPEOF(comstr) != STRSXP || length(comstr) != 1)
  ------------------
  |  |  126|      8|#define STRSXP	    16	  /* string vectors */
  ------------------
                  if (TYPEOF(comstr) != STRSXP || length(comstr) != 1)
  ------------------
  |  |  987|      4|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (843:9): [True: 0, False: 4]
  |  Branch (843:37): [True: 0, False: 4]
  ------------------
  844|      0|	error(_("invalid '%s' argument"), "comment.char");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "comment.char");
  ------------------
  |  |   48|      0|#define _(String) dgettext ("utils", String)
  ------------------
  845|      4|    p = translateChar(STRING_ELT(comstr, 0));
  ------------------
  |  | 1037|      4|#define translateChar		Rf_translateChar
  ------------------
  846|      4|    data.comchar = NO_COMCHAR; /*  here for -Wall */
  ------------------
  |  |   60|      4|#define NO_COMCHAR 100000 /* won't occur even in Unicode */
  ------------------
  847|      4|    if (strlen(p) > 1)
  ------------------
  |  Branch (847:9): [True: 0, False: 4]
  ------------------
  848|      0|	error(_("invalid '%s' argument"), "comment.char");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "comment.char");
  ------------------
  |  |   48|      0|#define _(String) dgettext ("utils", String)
  ------------------
  849|      4|    else if (strlen(p) == 1) data.comchar = (int)*p;
  ------------------
  |  Branch (849:14): [True: 4, False: 0]
  ------------------
  850|      4|    if (isString(sep) || isNull(sep)) {
  ------------------
  |  |  966|      4|#define isString		Rf_isString
  ------------------
                  if (isString(sep) || isNull(sep)) {
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
  |  Branch (850:9): [True: 4, False: 0]
  |  Branch (850:26): [True: 0, False: 0]
  ------------------
  851|      4|	if (length(sep) == 0) data.sepchar = 0;
  ------------------
  |  |  987|      4|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (851:6): [True: 0, False: 4]
  ------------------
  852|      4|	else data.sepchar = (unsigned char) translateChar(STRING_ELT(sep, 0))[0];
  ------------------
  |  | 1037|      4|#define translateChar		Rf_translateChar
  ------------------
  853|       |	/* gets compared to chars: bug prior to 1.7.0 */
  854|      4|    } else error(_("invalid '%s' argument"), "sep");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  } else error(_("invalid '%s' argument"), "sep");
  ------------------
  |  |   48|      0|#define _(String) dgettext ("utils", String)
  ------------------
  855|      4|    if (skipNul == NA_LOGICAL) error(_("invalid '%s' argument"), "skipNul");
  ------------------
  |  |   55|      4|#define NA_LOGICAL	R_NaInt
  ------------------
                  if (skipNul == NA_LOGICAL) error(_("invalid '%s' argument"), "skipNul");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  if (skipNul == NA_LOGICAL) error(_("invalid '%s' argument"), "skipNul");
  ------------------
  |  |   48|      0|#define _(String) dgettext ("utils", String)
  ------------------
  |  Branch (855:9): [True: 0, False: 4]
  ------------------
  856|      4|    data.skipNul = (bool) skipNul;
  857|       |
  858|      4|    i = asInteger(file);
  ------------------
  |  |  885|      4|#define asInteger		Rf_asInteger
  ------------------
  859|      4|    data.con = getConnection(i);
  860|      4|    data.ttyflag = (i == 0);
  861|      4|    data.wasopen = data.con->isopen;
  862|      4|    if(!data.wasopen) {
  ------------------
  |  Branch (862:8): [True: 0, False: 4]
  ------------------
  863|      0|	strcpy(data.con->mode, "r");
  864|      0|	if(!data.con->open(data.con)) error(_("cannot open the connection"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	if(!data.con->open(data.con)) error(_("cannot open the connection"));
  ------------------
  |  |   48|      0|#define _(String) dgettext ("utils", String)
  ------------------
  |  Branch (864:5): [True: 0, False: 0]
  ------------------
  865|      4|    } else { /* for a non-blocking connection, more input may
  866|       |		have become available, so re-position */
  867|      4|	if(data.con->canseek && !data.con->blocking)
  ------------------
  |  Branch (867:5): [True: 4, False: 0]
  |  Branch (867:26): [True: 0, False: 4]
  ------------------
  868|      0|	    data.con->seek(data.con, data.con->seek(data.con, -1, 1, 1), 1, 1);
  869|      4|    }
  870|       |
  871|       |    /* FIXME: will leak memory at long jump */
  872|      4|    buf = (char *) malloc(buf_size);
  873|      4|    if(!buf)
  ------------------
  |  Branch (873:8): [True: 0, False: 4]
  ------------------
  874|      0|	error(_("cannot allocate buffer in 'readTableHead'"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("cannot allocate buffer in 'readTableHead'"));
  ------------------
  |  |   48|      0|#define _(String) dgettext ("utils", String)
  ------------------
  875|       |
  876|      4|    ans = PROTECT(allocVector(STRSXP, nlines));
  ------------------
  |  |  357|      4|#define PROTECT(s)	Rf_protect(s)
  ------------------
  877|     38|    for(nread = 0; nread < nlines; ) {
  ------------------
  |  Branch (877:20): [True: 34, False: 4]
  ------------------
  878|     34|	nbuf = 0; empty = true; skip = false; firstnonwhite = true;
  879|     34|	if (data.ttyflag)
  ------------------
  |  Branch (879:6): [True: 0, False: 34]
  ------------------
  880|      0|	    snprintf(ConsolePrompt, CONSOLE_PROMPT_SIZE, "%d: ", nread);
  ------------------
  |  |   58|      0|#define CONSOLE_PROMPT_SIZE	256
  ------------------
  881|       |	/* want to interpret comments here, not in scanchar */
  882|  1.88k|	while((c = scanchar(true, &data)) != R_EOF) {
  ------------------
  |  | 1531|  1.88k|#define R_EOF	-1
  ------------------
  |  Branch (882:8): [True: 1.88k, False: 0]
  ------------------
  883|  1.88k|	    if(nbuf >= buf_size - 3) {
  ------------------
  |  Branch (883:9): [True: 0, False: 1.88k]
  ------------------
  884|      0|		buf_size *= 2;
  885|       |		/* FIXME: will leak memory at long jump */
  886|      0|		char *tmp = (char *) realloc(buf, buf_size);
  887|      0|		if(!tmp) {
  ------------------
  |  Branch (887:6): [True: 0, False: 0]
  ------------------
  888|      0|		    free(buf);
  889|      0|		    error(_("cannot allocate buffer in 'readTableHead'"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("cannot allocate buffer in 'readTableHead'"));
  ------------------
  |  |   48|      0|#define _(String) dgettext ("utils", String)
  ------------------
  890|      0|		} else buf = tmp;
  891|      0|	    }
  892|       |	    /* Need to handle escaped embedded quotes, and how they are
  893|       |	       escaped depends on 'sep' */
  894|  1.88k|	    if(quote) {
  ------------------
  |  Branch (894:9): [True: 92, False: 1.78k]
  ------------------
  895|     92|		if(data.sepchar == 0 && c == '\\') {
  ------------------
  |  Branch (895:6): [True: 0, False: 92]
  |  Branch (895:27): [True: 0, False: 0]
  ------------------
  896|       |		    /* all escapes should be passed through */
  897|       |		    /* fillBuffer would not copy a backslash preceding quote */
  898|      0|		    buf[nbuf++] = (char) c;
  899|      0|		    c = scanchar(true, &data);
  900|      0|		    if(c == R_EOF) {
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
  |  Branch (900:10): [True: 0, False: 0]
  ------------------
  901|      0|			free(buf);
  902|      0|			error(_("\\ followed by EOF"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              			error(_("\\ followed by EOF"));
  ------------------
  |  |   48|      0|#define _(String) dgettext ("utils", String)
  ------------------
  903|      0|		    }
  904|      0|		    buf[nbuf++] = (char) c;
  905|      0|		    continue;
  906|     92|		} else if(quote && c == quote) {
  ------------------
  |  Branch (906:13): [True: 92, False: 0]
  |  Branch (906:22): [True: 6, False: 86]
  ------------------
  907|      6|		    if(data.sepchar == 0)
  ------------------
  |  Branch (907:10): [True: 0, False: 6]
  ------------------
  908|      0|			quote = 0;
  909|      6|		    else { /* need to check for doubled quote */
  910|      6|			char c2 = (char) scanchar(true, &data);
  911|      6|			if(c2 == quote)
  ------------------
  |  Branch (911:7): [True: 0, False: 6]
  ------------------
  912|      0|			    buf[nbuf++] = (char) c; /* and c = c2 */
  913|      6|			else {
  914|      6|			    unscanchar(c2, &data);
  915|      6|			    quote = 0;
  916|      6|			}
  917|      6|		    }
  918|      6|		}
  919|  1.78k|	    } else if(!skip && (firstnonwhite || data.sepchar != 0) && strchr(data.quoteset, c))
  ------------------
  |  Branch (919:16): [True: 658, False: 1.13k]
  |  Branch (919:26): [True: 34, False: 624]
  |  Branch (919:43): [True: 624, False: 0]
  |  Branch (919:65): [True: 6, False: 652]
  ------------------
  920|      6|		quote = c;
  921|  1.78k|	    else if (!skip && data.sepchar == 0 && Rspace(c))
  ------------------
  |  Branch (921:15): [True: 652, False: 1.13k]
  |  Branch (921:24): [True: 0, False: 652]
  |  Branch (921:45): [True: 0, False: 0]
  ------------------
  922|       |		/* firstnonwhite stays true within quoted section */
  923|      0|		firstnonwhite = true;
  924|  1.78k|	    else if (c != ' ' && c != '\t') firstnonwhite = false;
  ------------------
  |  Branch (924:15): [True: 1.61k, False: 170]
  |  Branch (924:27): [True: 1.53k, False: 76]
  ------------------
  925|       |	    /* A line is empty only if it contains nothing before
  926|       |	       EOL, EOF or a comment char.
  927|       |	       A line containing just white space is not empty if sep=","
  928|       |	       However foo\nEOF does not have a final empty line.
  929|       |	    */
  930|  1.88k|	    if(empty && !skip)
  ------------------
  |  Branch (930:9): [True: 1.16k, False: 716]
  |  Branch (930:18): [True: 34, False: 1.13k]
  ------------------
  931|     34|		if(c != '\n' && c != data.comchar) empty = false;
  ------------------
  |  Branch (931:6): [True: 34, False: 0]
  |  Branch (931:19): [True: 12, False: 22]
  ------------------
  932|  1.88k|	    if(!quote && !skip && c == data.comchar) skip = true;
  ------------------
  |  Branch (932:9): [True: 1.78k, False: 92]
  |  Branch (932:19): [True: 658, False: 1.13k]
  |  Branch (932:28): [True: 22, False: 636]
  ------------------
  933|  1.88k|	    if(quote || c != '\n') buf[nbuf++] = (char) c; else break;
  ------------------
  |  Branch (933:9): [True: 92, False: 1.78k]
  |  Branch (933:18): [True: 1.75k, False: 34]
  ------------------
  934|  1.88k|	}
  935|     34|	buf[nbuf] = '\0';
  936|     34|	if(data.ttyflag && empty) goto no_more_lines;
  ------------------
  |  Branch (936:5): [True: 0, False: 34]
  |  Branch (936:21): [True: 0, False: 0]
  ------------------
  937|     34|	if(!empty || (c != R_EOF && !blskip)) { /* see previous comment */
  ------------------
  |  | 1531|     44|#define R_EOF	-1
  ------------------
  |  Branch (937:5): [True: 12, False: 22]
  |  Branch (937:16): [True: 22, False: 0]
  |  Branch (937:30): [True: 0, False: 22]
  ------------------
  938|     12|	    SET_STRING_ELT(ans, nread, mkChar(buf));
  ------------------
  |  |  998|     12|#define mkChar			Rf_mkChar
  ------------------
  939|     12|	    nread++;
  940|     12|	    if (strlen(buf) < nbuf) // PR#15625
  ------------------
  |  Branch (940:10): [True: 0, False: 12]
  ------------------
  941|      0|		warning("line %d appears to contain embedded nulls", nread);
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
  942|     12|	}
  943|     34|	if(c == R_EOF) goto no_more_lines;
  ------------------
  |  | 1531|     34|#define R_EOF	-1
  ------------------
  |  Branch (943:5): [True: 0, False: 34]
  ------------------
  944|     34|    }
  945|      4|    UNPROTECT(1);
  ------------------
  |  |  358|      4|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  946|      4|    free(buf);
  947|      4|    if(!data.wasopen) data.con->close(data.con);
  ------------------
  |  Branch (947:8): [True: 0, False: 4]
  ------------------
  948|      4|    return ans;
  949|       |
  950|      0|no_more_lines:
  951|      0|    if(!data.wasopen) data.con->close(data.con);
  ------------------
  |  Branch (951:8): [True: 0, False: 0]
  ------------------
  952|      0|    if(nbuf > 0) { /* incomplete last line */
  ------------------
  |  Branch (952:8): [True: 0, False: 0]
  ------------------
  953|      0|	if(data.con->text && data.con->blocking) {
  ------------------
  |  Branch (953:5): [True: 0, False: 0]
  |  Branch (953:23): [True: 0, False: 0]
  ------------------
  954|      0|	    warning(_("incomplete final line found by readTableHeader on '%s'"),
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	    warning(_("incomplete final line found by readTableHeader on '%s'"),
  ------------------
  |  |   48|      0|#define _(String) dgettext ("utils", String)
  ------------------
  955|      0|		    data.con->description);
  956|      0|	} else {
  957|      0|	    free(buf);
  958|      0|	    error(_("incomplete final line found by readTableHeader on '%s'"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("incomplete final line found by readTableHeader on '%s'"),
  ------------------
  |  |   48|      0|#define _(String) dgettext ("utils", String)
  ------------------
  959|      0|		  data.con->description);
  960|      0|	}
  961|      0|    }
  962|      0|    free(buf);
  963|      0|    PROTECT(ans2 = allocVector(STRSXP, nread));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  964|      0|    for(i = 0; i < nread; i++)
  ------------------
  |  Branch (964:16): [True: 0, False: 0]
  ------------------
  965|      0|	SET_STRING_ELT(ans2, i, STRING_ELT(ans, i));
  966|      0|    UNPROTECT(2);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  967|      0|    return ans2;
  968|      4|}
io.c:scanchar:
  244|  1.88k|{
  245|  1.88k|    int next;
  246|  1.88k|    if (d->save) {
  ------------------
  |  Branch (246:9): [True: 6, False: 1.88k]
  ------------------
  247|      6|	next = d->save;
  248|      6|	d->save = 0;
  249|      6|    } else
  250|  1.88k|	next = scanchar_raw(d);
  251|  1.88k|    if(next == d->comchar && !inQuote) {
  ------------------
  |  Branch (251:8): [True: 44, False: 1.84k]
  |  Branch (251:30): [True: 0, False: 44]
  ------------------
  252|      0|	do
  253|      0|	    next = scanchar_raw(d);
  254|      0|	while (next != '\n' && next != R_EOF);
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
  |  Branch (254:9): [True: 0, False: 0]
  |  Branch (254:25): [True: 0, False: 0]
  ------------------
  255|      0|    }
  256|  1.88k|    if(next == '\\' && d->escapes) {
  ------------------
  |  Branch (256:8): [True: 0, False: 1.88k]
  |  Branch (256:24): [True: 0, False: 0]
  ------------------
  257|      0|	next = scanchar_raw(d);
  258|      0|	if ('0' <= next && next <= '8') {
  ------------------
  |  Branch (258:6): [True: 0, False: 0]
  |  Branch (258:21): [True: 0, False: 0]
  ------------------
  259|      0|	    int octal = next - '0';
  260|      0|	    if ('0' <= (next = scanchar_raw(d)) && next <= '8') {
  ------------------
  |  Branch (260:10): [True: 0, False: 0]
  |  Branch (260:45): [True: 0, False: 0]
  ------------------
  261|      0|		octal = 8 * octal + next - '0';
  262|      0|		if ('0' <= (next = scanchar_raw(d)) && next <= '8') {
  ------------------
  |  Branch (262:7): [True: 0, False: 0]
  |  Branch (262:42): [True: 0, False: 0]
  ------------------
  263|      0|		    octal = 8 * octal + next - '0';
  264|      0|		} else unscanchar(next, d);
  265|      0|	    } else unscanchar(next, d);
  266|      0|	    next = octal;
  267|      0|	} else
  268|      0|	    switch(next) {
  269|      0|	    case 'a': next = '\a'; break;
  ------------------
  |  Branch (269:6): [True: 0, False: 0]
  ------------------
  270|      0|	    case 'b': next = '\b'; break;
  ------------------
  |  Branch (270:6): [True: 0, False: 0]
  ------------------
  271|      0|	    case 'f': next = '\f'; break;
  ------------------
  |  Branch (271:6): [True: 0, False: 0]
  ------------------
  272|      0|	    case 'n': next = '\n'; break;
  ------------------
  |  Branch (272:6): [True: 0, False: 0]
  ------------------
  273|      0|	    case 'r': next = '\r'; break;
  ------------------
  |  Branch (273:6): [True: 0, False: 0]
  ------------------
  274|      0|	    case 't': next = '\t'; break;
  ------------------
  |  Branch (274:6): [True: 0, False: 0]
  ------------------
  275|      0|	    case 'v': next = '\v'; break;
  ------------------
  |  Branch (275:6): [True: 0, False: 0]
  ------------------
  276|      0|	    case 'x': {
  ------------------
  |  Branch (276:6): [True: 0, False: 0]
  ------------------
  277|      0|		int val = 0; int i, ext;
  278|      0|		for(i = 0; i < 2; i++) {
  ------------------
  |  Branch (278:14): [True: 0, False: 0]
  ------------------
  279|      0|		    next = scanchar_raw(d);
  280|      0|		    if(next >= '0' && next <= '9') ext = next - '0';
  ------------------
  |  Branch (280:10): [True: 0, False: 0]
  |  Branch (280:25): [True: 0, False: 0]
  ------------------
  281|      0|		    else if (next >= 'A' && next <= 'F') ext = next - 'A' + 10;
  ------------------
  |  Branch (281:16): [True: 0, False: 0]
  |  Branch (281:31): [True: 0, False: 0]
  ------------------
  282|      0|		    else if (next >= 'a' && next <= 'f') ext = next - 'a' + 10;
  ------------------
  |  Branch (282:16): [True: 0, False: 0]
  |  Branch (282:31): [True: 0, False: 0]
  ------------------
  283|      0|		    else {unscanchar(next, d); break;}
  284|      0|		    val = 16*val + ext;
  285|      0|		}
  286|      0|		next = val;
  287|      0|	    }
  288|      0|		break;
  289|      0|	    default:
  ------------------
  |  Branch (289:6): [True: 0, False: 0]
  ------------------
  290|       |		/* Any other char and even EOF escapes to itself, but we
  291|       |		   need to preserve \" etc inside quotes.
  292|       |		 */
  293|      0|		if(inQuote && strchr(d->quoteset, next)) {
  ------------------
  |  Branch (293:6): [True: 0, False: 0]
  |  Branch (293:17): [True: 0, False: 0]
  ------------------
  294|      0|		    unscanchar(next, d);
  295|      0|		    next = '\\';
  296|      0|		}
  297|      0|		break;
  298|      0|	    }
  299|      0|    }
  300|  1.88k|    return next;
  301|  1.88k|}
io.c:scanchar_raw:
  210|  1.88k|{
  211|  1.88k|    int c = (d->ttyflag) ? ConsoleGetcharWithPushBack(d->con) :
  ------------------
  |  Branch (211:13): [True: 0, False: 1.88k]
  ------------------
  212|  1.88k|	Rconn_fgetc(d->con);
  213|  1.88k|    if(c == 0) {
  ------------------
  |  Branch (213:8): [True: 0, False: 1.88k]
  ------------------
  214|      0|	if(d->skipNul) {
  ------------------
  |  Branch (214:5): [True: 0, False: 0]
  ------------------
  215|      0|	    do {
  216|      0|		c = (d->ttyflag) ? ConsoleGetcharWithPushBack(d->con) :
  ------------------
  |  Branch (216:7): [True: 0, False: 0]
  ------------------
  217|      0|		    Rconn_fgetc(d->con);
  218|      0|	    } while(c == 0);
  ------------------
  |  Branch (218:14): [True: 0, False: 0]
  ------------------
  219|      0|	}
  220|      0|    }
  221|  1.88k|    return c;
  222|  1.88k|}
io.c:unscanchar:
  225|      6|{
  226|      6|    d->save = c;
  227|      6|}

R_set_command_line_arguments:
   55|      2|{
   56|       |    // nothing here is ever freed.
   57|      2|    NumCommandLineArgs = argc;
   58|      2|    CommandLineArgs = (char**) calloc((size_t) argc, sizeof(char*));
   59|      2|    if(CommandLineArgs == NULL)
  ------------------
  |  Branch (59:8): [True: 0, False: 2]
  ------------------
   60|      0|	R_Suicide("allocation failure in R_set_command_line_arguments");
   61|       |
   62|     10|    for(int i = 0; i < argc; i++) {
  ------------------
  |  Branch (62:20): [True: 8, False: 2]
  ------------------
   63|      8|	CommandLineArgs[i] = strdup(argv[i]);
   64|      8|	if(CommandLineArgs[i] == NULL)
  ------------------
  |  Branch (64:5): [True: 0, False: 8]
  ------------------
   65|      0|	    R_Suicide("allocation failure in R_set_command_line_arguments");
   66|      8|    }
   67|      2|}
R_common_command_line:
   95|      2|{
   96|      2|    int ac = *pac, newac = 1;	/* argv[0] is process name */
   97|      2|    long lval; /* this is used for ppval, so 32-bit long is fine */
   98|      2|    char *p, **av = argv, msg[1024];
   99|      2|    Rboolean processing = TRUE;
  100|       |
  101|      2|    R_RestoreHistory = 1;
  102|      8|    while(--ac) {
  ------------------
  |  Branch (102:11): [True: 6, False: 2]
  ------------------
  103|      6|	if(processing && **++av == '-') {
  ------------------
  |  Branch (103:5): [True: 6, False: 0]
  |  Branch (103:19): [True: 6, False: 0]
  ------------------
  104|      6|	    if (!strcmp(*av, "--version")) {
  ------------------
  |  Branch (104:10): [True: 0, False: 6]
  ------------------
  105|      0|		PrintVersion(msg, 1024);
  ------------------
  |  | 1979|      0|# define PrintVersion		Rf_PrintVersion
  ------------------
  106|      0|		R_ShowMessage(msg);
  107|      0|		exit(0);
  108|      0|	    }
  109|      6|	    else if(!strcmp(*av, "--args")) {
  ------------------
  |  Branch (109:14): [True: 0, False: 6]
  ------------------
  110|       |		/* copy this through for further processing */
  111|      0|		argv[newac++] = *av;
  112|      0|		processing = FALSE;
  113|      0|	    }
  114|      6|	    else if(!strcmp(*av, "--save")) {
  ------------------
  |  Branch (114:14): [True: 0, False: 6]
  ------------------
  115|      0|		Rp->SaveAction = SA_SAVE;
  116|      0|	    }
  117|      6|	    else if(!strcmp(*av, "--no-save")) {
  ------------------
  |  Branch (117:14): [True: 0, False: 6]
  ------------------
  118|      0|		Rp->SaveAction = SA_NOSAVE;
  119|      0|	    }
  120|      6|	    else if(!strcmp(*av, "--restore")) {
  ------------------
  |  Branch (120:14): [True: 0, False: 6]
  ------------------
  121|      0|		Rp->RestoreAction = SA_RESTORE;
  122|      0|	    }
  123|      6|	    else if(!strcmp(*av, "--no-restore")) {
  ------------------
  |  Branch (123:14): [True: 2, False: 4]
  ------------------
  124|      2|		Rp->RestoreAction = SA_NORESTORE;
  125|      2|		R_RestoreHistory = 0;
  126|      2|	    }
  127|      4|	    else if(!strcmp(*av, "--no-restore-data")) {
  ------------------
  |  Branch (127:14): [True: 0, False: 4]
  ------------------
  128|      0|		Rp->RestoreAction = SA_NORESTORE;
  129|      0|	    }
  130|      4|	    else if(!strcmp(*av, "--no-restore-history")) {
  ------------------
  |  Branch (130:14): [True: 0, False: 4]
  ------------------
  131|      0|		R_RestoreHistory = 0;
  132|      0|	    }
  133|      4|	    else if (!strcmp(*av, "--silent") ||
  ------------------
  |  Branch (133:15): [True: 0, False: 4]
  ------------------
  134|      4|		     !strcmp(*av, "--quiet") ||
  ------------------
  |  Branch (134:8): [True: 0, False: 4]
  ------------------
  135|      4|		     !strcmp(*av, "-q")) {
  ------------------
  |  Branch (135:8): [True: 0, False: 4]
  ------------------
  136|      0|		Rp->R_Quiet = TRUE;
  137|      0|	    }
  138|      4|	    else if (!strcmp(*av, "--vanilla")) {
  ------------------
  |  Branch (138:15): [True: 2, False: 2]
  ------------------
  139|      2|		Rp->SaveAction = SA_NOSAVE; /* --no-save */
  140|      2|		Rp->RestoreAction = SA_NORESTORE; /* --no-restore */
  141|      2|		R_RestoreHistory = 0;     // --no-restore-history (= part of --no-restore)
  142|      2|		Rp->LoadSiteFile = FALSE; /* --no-site-file */
  143|      2|		Rp->LoadInitFile = FALSE; /* --no-init-file */
  144|      2|		Rp->NoRenviron = TRUE;    // --no-environ
  145|       |#ifdef Win32
  146|       |		R_LoadRconsole = FALSE;
  147|       |#endif
  148|      2|	    }
  149|      2|	    else if (!strcmp(*av, "--no-environ")) {
  ------------------
  |  Branch (149:15): [True: 0, False: 2]
  ------------------
  150|      0|		Rp->NoRenviron = TRUE;
  151|      0|	    }
  152|      2|	    else if (!strcmp(*av, "--verbose")) {
  ------------------
  |  Branch (152:15): [True: 0, False: 2]
  ------------------
  153|      0|		Rp->R_Verbose = TRUE;
  154|      0|	    }
  155|      2|	    else if (!strcmp(*av, "--no-echo") ||
  ------------------
  |  Branch (155:15): [True: 2, False: 0]
  ------------------
  156|      0|		     !strcmp(*av, "--slave") || // "deprecated" from R 4.0.0 (spring 2020)
  ------------------
  |  Branch (156:8): [True: 0, False: 0]
  ------------------
  157|      2|		     !strcmp(*av, "-s")) {
  ------------------
  |  Branch (157:8): [True: 0, False: 0]
  ------------------
  158|      2|		Rp->R_Quiet = TRUE;
  159|      2|		Rp->R_NoEcho = TRUE;
  160|      2|		Rp->SaveAction = SA_NOSAVE;
  161|      2|	    }
  162|      0|	    else if (!strcmp(*av, "--no-site-file")) {
  ------------------
  |  Branch (162:15): [True: 0, False: 0]
  ------------------
  163|      0|		Rp->LoadSiteFile = FALSE;
  164|      0|	    }
  165|      0|	    else if (!strcmp(*av, "--no-init-file")) {
  ------------------
  |  Branch (165:15): [True: 0, False: 0]
  ------------------
  166|      0|		Rp->LoadInitFile = FALSE;
  167|      0|	    }
  168|       |	    /* Undocumented and unused.
  169|       |	     else if (!strcmp(*av, "--debug-init")) {
  170|       |	    	Rp->DebugInitFile = TRUE;
  171|       |	     */
  172|      0|	    else if (!strncmp(*av, "--encoding", 10)) {
  ------------------
  |  Branch (172:15): [True: 0, False: 0]
  ------------------
  173|      0|		if(strlen(*av) < 12) {
  ------------------
  |  Branch (173:6): [True: 0, False: 0]
  ------------------
  174|      0|		    if(ac > 1) {ac--; av++; p = *av;} else p = NULL;
  ------------------
  |  Branch (174:10): [True: 0, False: 0]
  ------------------
  175|      0|		} else p = &(*av)[11];
  176|      0|		if (p == NULL) {
  ------------------
  |  Branch (176:7): [True: 0, False: 0]
  ------------------
  177|      0|		    R_ShowMessage(_("WARNING: no value given for --encoding"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  178|      0|		} else {
  179|      0|		    strncpy(R_StdinEnc, p, 30);
  180|      0|		    R_StdinEnc[30] = '\0';
  181|      0|		}
  182|      0|	    }
  183|       |#ifdef Win32
  184|       |	    else if (!strcmp(*av, "--no-Rconsole")) {
  185|       |		R_LoadRconsole = 0;
  186|       |	    }
  187|       |#endif
  188|      0|	    else if (!strcmp(*av, "-save") ||
  ------------------
  |  Branch (188:15): [True: 0, False: 0]
  ------------------
  189|      0|		     !strcmp(*av, "-nosave") ||
  ------------------
  |  Branch (189:8): [True: 0, False: 0]
  ------------------
  190|      0|		     !strcmp(*av, "-restore") ||
  ------------------
  |  Branch (190:8): [True: 0, False: 0]
  ------------------
  191|      0|		     !strcmp(*av, "-norestore") ||
  ------------------
  |  Branch (191:8): [True: 0, False: 0]
  ------------------
  192|      0|		     !strcmp(*av, "-noreadline") ||
  ------------------
  |  Branch (192:8): [True: 0, False: 0]
  ------------------
  193|      0|		     !strcmp(*av, "-quiet") ||
  ------------------
  |  Branch (193:8): [True: 0, False: 0]
  ------------------
  194|      0|		     !strcmp(*av, "-nsize") ||
  ------------------
  |  Branch (194:8): [True: 0, False: 0]
  ------------------
  195|      0|		     !strcmp(*av, "-vsize") ||
  ------------------
  |  Branch (195:8): [True: 0, False: 0]
  ------------------
  196|      0|		     !strncmp(*av, "--max-nsize", 11) ||
  ------------------
  |  Branch (196:8): [True: 0, False: 0]
  ------------------
  197|      0|		     !strncmp(*av, "--max-vsize", 11) ||
  ------------------
  |  Branch (197:8): [True: 0, False: 0]
  ------------------
  198|      0|		     !strcmp(*av, "-V") ||
  ------------------
  |  Branch (198:8): [True: 0, False: 0]
  ------------------
  199|      0|		     !strcmp(*av, "-n") ||
  ------------------
  |  Branch (199:8): [True: 0, False: 0]
  ------------------
  200|      0|		     !strcmp(*av, "-v")) {
  ------------------
  |  Branch (200:8): [True: 0, False: 0]
  ------------------
  201|      0|		snprintf(msg, 1024,
  202|      0|			 _("WARNING: option '%s' no longer supported"), *av);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  203|      0|		R_ShowMessage(msg);
  204|      0|	    }
  205|       |	    /* mop up --min-[nv]size */
  206|      0|	    else if( !strncmp(*av, "--min-nsize", 11) ||
  ------------------
  |  Branch (206:15): [True: 0, False: 0]
  ------------------
  207|      0|		     !strncmp(*av, "--min-vsize", 11) ) {
  ------------------
  |  Branch (207:8): [True: 0, False: 0]
  ------------------
  208|      0|		if(strlen(*av) < 13) {
  ------------------
  |  Branch (208:6): [True: 0, False: 0]
  ------------------
  209|      0|		    if(ac > 1) {ac--; av++; p = *av;} else p = NULL;
  ------------------
  |  Branch (209:10): [True: 0, False: 0]
  ------------------
  210|      0|		} else p = &(*av)[12];
  211|      0|		if (p == NULL) {
  ------------------
  |  Branch (211:7): [True: 0, False: 0]
  ------------------
  212|      0|		    snprintf(msg, 1024,
  213|      0|			     _("WARNING: no value given for '%s'"), *av);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  214|      0|		    R_ShowMessage(msg);
  215|      0|		    break;
  216|      0|		}
  217|      0|		int ierr;
  218|      0|		R_size_t value;
  219|      0|		value = R_Decode2Long(p, &ierr);
  220|      0|		if(ierr) {
  ------------------
  |  Branch (220:6): [True: 0, False: 0]
  ------------------
  221|      0|		    if(ierr < 0)
  ------------------
  |  Branch (221:10): [True: 0, False: 0]
  ------------------
  222|      0|			snprintf(msg, 1024,
  223|      0|				 _("WARNING: '%s' value is invalid: ignored"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  224|      0|				 *av);
  225|      0|		    else
  226|      0|			snprintf(msg, 1024,
  227|      0|				 _("WARNING: %s: too large and ignored"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  228|      0|				 *av);
  229|      0|		    R_ShowMessage(msg);
  230|       |
  231|      0|		} else {
  232|      0|		    if(!strncmp(*av, "--min-nsize", 11)) Rp->nsize = value;
  ------------------
  |  Branch (232:10): [True: 0, False: 0]
  ------------------
  233|      0|		    if(!strncmp(*av, "--min-vsize", 11)) Rp->vsize = value;
  ------------------
  |  Branch (233:10): [True: 0, False: 0]
  ------------------
  234|      0|		}
  235|      0|	    }
  236|      0|	    else if(strncmp(*av, "--max-ppsize", 12) == 0) {
  ------------------
  |  Branch (236:14): [True: 0, False: 0]
  ------------------
  237|      0|		if(strlen(*av) < 14) {
  ------------------
  |  Branch (237:6): [True: 0, False: 0]
  ------------------
  238|      0|		    if(ac > 1) {ac--; av++; p = *av;} else p = NULL;
  ------------------
  |  Branch (238:10): [True: 0, False: 0]
  ------------------
  239|      0|		} else p = &(*av)[13];
  240|      0|		if (p == NULL) {
  ------------------
  |  Branch (240:7): [True: 0, False: 0]
  ------------------
  241|      0|		    R_ShowMessage(_("WARNING: no value given for '--max-ppsize'"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  242|      0|		    break;
  243|      0|		}
  244|      0|		lval = strtol(p, &p, 10);
  245|      0|		if (lval < 0)
  ------------------
  |  Branch (245:7): [True: 0, False: 0]
  ------------------
  246|      0|		    R_ShowMessage(_("WARNING: '--max-ppsize' value is negative: ignored"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  247|      0|		else if (lval < 10000)
  ------------------
  |  Branch (247:12): [True: 0, False: 0]
  ------------------
  248|      0|		    R_ShowMessage(_("WARNING: '--max-ppsize' value is too small: ignored"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  249|      0|		else if (lval > 500000)
  ------------------
  |  Branch (249:12): [True: 0, False: 0]
  ------------------
  250|      0|		    R_ShowMessage(_("WARNING: '--max-ppsize' value is too large: ignored"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  251|      0|		else Rp->ppsize = (size_t) lval;
  252|      0|	    }
  253|      0|	    else if(strncmp(*av, "--max-connections", 17) == 0) {
  ------------------
  |  Branch (253:14): [True: 0, False: 0]
  ------------------
  254|      0|		if(strlen(*av) < 19) {
  ------------------
  |  Branch (254:6): [True: 0, False: 0]
  ------------------
  255|      0|		    if(ac > 1) {ac--; av++; p = *av;} else p = NULL;
  ------------------
  |  Branch (255:10): [True: 0, False: 0]
  ------------------
  256|      0|		} else p = &(*av)[18];
  257|      0|		if (p == NULL) {
  ------------------
  |  Branch (257:7): [True: 0, False: 0]
  ------------------
  258|      0|		    R_ShowMessage(_("WARNING: no value given for '--max-connections'"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  259|      0|		    break;
  260|      0|		}
  261|      0|		lval = strtol(p, &p, 10);
  262|      0|		if (lval < 0)
  ------------------
  |  Branch (262:7): [True: 0, False: 0]
  ------------------
  263|      0|		    R_ShowMessage(_("WARNING: '--max-connections' value is negative: ignored"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  264|      0|		else if (lval < 128)
  ------------------
  |  Branch (264:12): [True: 0, False: 0]
  ------------------
  265|      0|		    R_ShowMessage(_("WARNING: '--max-connections' value is too small: ignored"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  266|      0|		else if (lval > 4096)
  ------------------
  |  Branch (266:12): [True: 0, False: 0]
  ------------------
  267|      0|		    R_ShowMessage(_("WARNING: '--max-connections' value is too large: ignored"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  268|      0|		else Rp->nconnections = (int) lval;
  269|      0|	    }
  270|      0|	    else { /* unknown -option */
  271|      0|		argv[newac++] = *av;
  272|      0|	    }
  273|      6|	}
  274|      0|	else {
  275|      0|	    argv[newac++] = *av;
  276|      0|	}
  277|      6|    }
  278|      2|    *pac = newac;
  279|      2|    return;
  280|      2|}

InitDynload:
  148|      2|{
  149|      2|    initLoadedDLL();
  150|      2|    int which = addDLL(Rstrdup("base"), "base", NULL);
  151|      2|    DllInfo *dll = LoadedDLL[which];
  152|      2|    R_init_base(dll);
  153|      2|    InitFunctionHashing();
  ------------------
  |  | 1918|      2|# define InitFunctionHashing	Rf_InitFunctionHashing
  ------------------
  154|      2|}
R_useDynamicSymbols:
  283|     12|{
  284|     12|    Rboolean old;
  285|     12|    old = info->useDynamicLookup;
  286|     12|    info->useDynamicLookup = value;
  287|     12|    return old;
  288|     12|}
R_forceSymbols:
  292|     12|{
  293|     12|    Rboolean old;
  294|     12|    old = info->forceSymbols;
  295|     12|    info->forceSymbols = value;
  296|     12|    return old;
  297|     12|}
R_registerRoutines:
  358|     12|{
  359|     12|    int i, num;
  360|       |
  361|     12|    if(info == NULL)
  ------------------
  |  Branch (361:8): [True: 0, False: 12]
  ------------------
  362|      0|	error(_("R_RegisterRoutines called with invalid DllInfo object."));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("R_RegisterRoutines called with invalid DllInfo object."));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  363|       |
  364|       |    /* Default is to look in registered and then dynamic (unless
  365|       |       the is no handle such as in "base" or "embedded")
  366|       |       Potentially change in the future to be only registered
  367|       |       if there are any registered values.
  368|       |    */
  369|     12|    info->useDynamicLookup = (info->handle) ? TRUE : FALSE;
  ------------------
  |  Branch (369:30): [True: 10, False: 2]
  ------------------
  370|     12|    info->forceSymbols = FALSE;
  371|       |
  372|     12|    if(croutines) {
  ------------------
  |  Branch (372:8): [True: 2, False: 10]
  ------------------
  373|     24|	for(num = 0; croutines[num].name != NULL; num++) {;}
  ------------------
  |  Branch (373:15): [True: 22, False: 2]
  ------------------
  374|      2|	info->CSymbols = (Rf_DotCSymbol*)calloc((size_t) num,
  375|      2|						sizeof(Rf_DotCSymbol));
  376|      2|	if (!info->CSymbols)
  ------------------
  |  Branch (376:6): [True: 0, False: 2]
  ------------------
  377|      0|	    error("allocation failure in R_registerRoutines");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  378|      2|	info->numCSymbols = num;
  379|     24|	for(i = 0; i < num; i++) {
  ------------------
  |  Branch (379:13): [True: 22, False: 2]
  ------------------
  380|     22|	    R_addCRoutine(info, croutines+i, info->CSymbols + i);
  381|     22|	}
  382|      2|    }
  383|       |
  384|     12|    if(fortranRoutines) {
  ------------------
  |  Branch (384:8): [True: 4, False: 8]
  ------------------
  385|     46|	for(num = 0; fortranRoutines[num].name != NULL; num++) {;}
  ------------------
  |  Branch (385:15): [True: 42, False: 4]
  ------------------
  386|      4|	info->FortranSymbols =
  387|      4|	    (Rf_DotFortranSymbol*)calloc((size_t) num,
  388|      4|					 sizeof(Rf_DotFortranSymbol));
  389|      4|	if (!info->FortranSymbols) {
  ------------------
  |  Branch (389:6): [True: 0, False: 4]
  ------------------
  390|      0|	    free(info->CSymbols);
  391|      0|	    error("allocation failure in R_registerRoutines");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  392|      0|	}
  393|      4|	info->numFortranSymbols = num;
  394|     46|	for(i = 0; i < num; i++)
  ------------------
  |  Branch (394:13): [True: 42, False: 4]
  ------------------
  395|     42|	    R_addFortranRoutine(info, fortranRoutines+i,
  396|     42|				info->FortranSymbols + i);
  397|      4|    }
  398|       |
  399|     12|    if(callRoutines) {
  ------------------
  |  Branch (399:8): [True: 12, False: 0]
  ------------------
  400|    516|	for(num = 0; callRoutines[num].name != NULL; num++) {;}
  ------------------
  |  Branch (400:15): [True: 504, False: 12]
  ------------------
  401|     12|	info->CallSymbols =
  402|     12|	    (Rf_DotCallSymbol*)calloc((size_t) num, sizeof(Rf_DotCallSymbol));
  403|     12|	if (!info->CallSymbols) {
  ------------------
  |  Branch (403:6): [True: 0, False: 12]
  ------------------
  404|      0|	    free(info->CSymbols);
  405|      0|	    free(info->FortranSymbols);
  406|      0|	    error("allocation failure in R_registerRoutines");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  407|      0|	}
  408|     12|	info->numCallSymbols = num;
  409|    516|	for(i = 0; i < num; i++)
  ------------------
  |  Branch (409:13): [True: 504, False: 12]
  ------------------
  410|    504|	    R_addCallRoutine(info, callRoutines+i, info->CallSymbols + i);
  411|     12|    }
  412|       |
  413|     12|    if(externalRoutines) {
  ------------------
  |  Branch (413:8): [True: 8, False: 4]
  ------------------
  414|    218|	for(num = 0; externalRoutines[num].name != NULL; num++) {;}
  ------------------
  |  Branch (414:15): [True: 210, False: 8]
  ------------------
  415|      8|	info->ExternalSymbols =
  416|      8|	    (Rf_DotExternalSymbol*)calloc((size_t) num,
  417|      8|					  sizeof(Rf_DotExternalSymbol));
  418|      8|	if (!info->ExternalSymbols) {
  ------------------
  |  Branch (418:6): [True: 0, False: 8]
  ------------------
  419|      0|	    free(info->CSymbols);
  420|      0|	    free(info->FortranSymbols);
  421|      0|	    free(info->CallSymbols);
  422|      0|	    error("allocation failure in R_registerRoutines");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  423|      0|	}
  424|      8|	info->numExternalSymbols = num;
  425|       |
  426|    218|	for(i = 0; i < num; i++)
  ------------------
  |  Branch (426:13): [True: 210, False: 8]
  ------------------
  427|    210|	    R_addExternalRoutine(info, externalRoutines+i,
  428|    210|				 info->ExternalSymbols + i);
  429|      8|    }
  430|       |
  431|     12|    return(1);
  432|     12|}
R_dlsym:
 1112|     74|{
 1113|     74|    size_t len = strlen(name) + 4;
 1114|     74|    char buf[len]; /* up to 3 additional underscores */
 1115|     74|    DL_FUNC f;
 1116|       |
 1117|     74|    f = R_getDLLRegisteredSymbol(info, name, symbol);
 1118|     74|    if(f) return(f);
  ------------------
  |  Branch (1118:8): [True: 74, False: 0]
  ------------------
 1119|       |
 1120|       |
 1121|      0|    if(info->useDynamicLookup == FALSE) return(NULL);
  ------------------
  |  Branch (1121:8): [True: 0, False: 0]
  ------------------
 1122|       |
 1123|      0|#ifdef HAVE_NO_SYMBOL_UNDERSCORE
 1124|      0|    snprintf(buf, len, "%s", name);
 1125|       |#else
 1126|       |    snprintf(buf, len, "_%s", name);
 1127|       |#endif
 1128|       |
 1129|       |/* HAVE_F77_EXTRA_UNDERSCORE is only use here and not in F77_NAME etc.
 1130|       |   It seems of only historical interest */
 1131|      0|#ifdef HAVE_F77_UNDERSCORE
 1132|      0|    if(symbol && symbol->type == R_FORTRAN_SYM) {
  ------------------
  |  Branch (1132:8): [True: 0, False: 0]
  |  Branch (1132:18): [True: 0, False: 0]
  ------------------
 1133|      0|	strcat(buf, "_");
 1134|       |# ifdef HAVE_F77_EXTRA_UNDERSCORE
 1135|       |	if(strchr(name, '_')) strcat(buf, "_");
 1136|       |# endif
 1137|      0|    }
 1138|      0|#endif
 1139|       |
 1140|      0|    f = (DL_FUNC) R_osDynSymbol->dlsym(info, buf);
 1141|      0|#ifdef HAVE_F77_UNDERSCORE
 1142|      0|    if (!f && symbol && symbol->type == R_ANY_SYM) {
  ------------------
  |  Branch (1142:9): [True: 0, False: 0]
  |  Branch (1142:15): [True: 0, False: 0]
  |  Branch (1142:25): [True: 0, False: 0]
  ------------------
 1143|      0|	strcat(buf, "_");
 1144|       |# ifdef HAVE_F77_EXTRA_UNDERSCORE
 1145|       |	if(strchr(name, '_')) strcat(buf, "_");
 1146|       |# endif
 1147|      0|	f = (DL_FUNC) R_osDynSymbol->dlsym(info, buf);
 1148|      0|    }
 1149|      0|#endif
 1150|       |
 1151|      0|    if (f && symbol)
  ------------------
  |  Branch (1151:9): [True: 0, False: 0]
  |  Branch (1151:14): [True: 0, False: 0]
  ------------------
 1152|      0|	symbol->dll = info;
 1153|      0|    return f;
 1154|      0|}
do_dynload:
 1238|     10|{
 1239|     10|    char buf[2 * R_PATH_MAX];
 1240|     10|    DllInfo *info;
 1241|       |
 1242|     10|    checkArity(op,args);
  ------------------
  |  | 1793|     10|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1243|     10|    if (!isString(CAR(args)) || LENGTH(CAR(args)) != 1)
  ------------------
  |  |  966|     10|#define isString		Rf_isString
  ------------------
  |  Branch (1243:9): [True: 0, False: 10]
  |  Branch (1243:33): [True: 0, False: 10]
  ------------------
 1244|      0|	error(_("character argument expected"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("character argument expected"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1245|     10|    GetFullDLLPath(call, buf, sizeof(buf),
 1246|     10|                   translateCharFP(STRING_ELT(CAR(args), 0)));
  ------------------
  |  | 2003|     10|# define translateCharFP	Rf_translateCharFP
  ------------------
 1247|       |    /* AddDLL does this DeleteDLL(buf); */
 1248|     10|    info = AddDLL(buf, LOGICAL(CADR(args))[0], LOGICAL(CADDR(args))[0],
 1249|     10|		  translateCharFP(STRING_ELT(CADDDR(args), 0)));
  ------------------
  |  | 2003|     10|# define translateCharFP	Rf_translateCharFP
  ------------------
 1250|     10|    if(!info)
  ------------------
  |  Branch (1250:8): [True: 0, False: 10]
  ------------------
 1251|      0|	error(_("unable to load shared object '%s':\n  %s"), buf, DLLerror);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("unable to load shared object '%s':\n  %s"), buf, DLLerror);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1252|     10|    return(Rf_MakeDLLInfo(info));
 1253|     10|}
R_moduleCdynload:
 1270|      2|{
 1271|      2|    char dllpath[R_PATH_MAX], *p = getenv("R_HOME");
 1272|      2|    DllInfo *res;
 1273|       |
 1274|      2|    if(!p) return 0;
  ------------------
  |  Branch (1274:8): [True: 0, False: 2]
  ------------------
 1275|      2|#ifdef R_ARCH
 1276|      2|    snprintf(dllpath, R_PATH_MAX, "%s%smodules%s%s%s%s%s", p, FILESEP, FILESEP,
  ------------------
  |  | 1150|      2|# define R_PATH_MAX PATH_MAX
  ------------------
                  snprintf(dllpath, R_PATH_MAX, "%s%smodules%s%s%s%s%s", p, FILESEP, FILESEP,
  ------------------
  |  |  993|      2|# define FILESEP     "/"
  ------------------
                  snprintf(dllpath, R_PATH_MAX, "%s%smodules%s%s%s%s%s", p, FILESEP, FILESEP,
  ------------------
  |  |  993|      2|# define FILESEP     "/"
  ------------------
 1277|      2|	     R_ARCH, FILESEP, module, SHLIB_EXT);
  ------------------
  |  | 1085|      2|#define R_ARCH ""
  ------------------
              	     R_ARCH, FILESEP, module, SHLIB_EXT);
  ------------------
  |  |  993|      2|# define FILESEP     "/"
  ------------------
              	     R_ARCH, FILESEP, module, SHLIB_EXT);
  ------------------
  |  | 1116|      2|#define SHLIB_EXT ".so"
  ------------------
 1278|       |#else
 1279|       |    snprintf(dllpath, R_PATH_MAX, "%s%smodules%s%s%s", p, FILESEP, FILESEP,
 1280|       |	     module, SHLIB_EXT);
 1281|       |#endif
 1282|      2|    res = AddDLL(dllpath, local, now, "");
 1283|      2|    if(!res)
  ------------------
  |  Branch (1283:8): [True: 0, False: 2]
  ------------------
 1284|      0|	warning(_("unable to load shared object '%s':\n  %s"),
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	warning(_("unable to load shared object '%s':\n  %s"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1285|      0|		dllpath, DLLerror);
 1286|      2|    return res != NULL ? 1 : 0;
  ------------------
  |  Branch (1286:12): [True: 2, False: 0]
  ------------------
 1287|      2|}
R_getSymbolInfo:
 1460|     74|{
 1461|     74|    const void *vmax = vmaxget();
 1462|     74|    const char *package, *name;
 1463|     74|    R_RegisteredNativeSymbol symbol = {R_ANY_SYM, {NULL}, NULL};
 1464|     74|    SEXP sym = R_NilValue;
 1465|     74|    DL_FUNC f = NULL;
 1466|       |
 1467|     74|    package = "";
 1468|       |
 1469|     74|    if (!isString(sname) || LENGTH(sname) != 1)
  ------------------
  |  |  966|     74|#define isString		Rf_isString
  ------------------
  |  Branch (1469:9): [True: 0, False: 74]
  |  Branch (1469:29): [True: 0, False: 74]
  ------------------
 1470|      0|	error(_("invalid '%s' argument"), "name");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "name");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1471|     74|    name = translateCharFP(STRING_ELT(sname, 0));
  ------------------
  |  | 2003|     74|# define translateCharFP	Rf_translateCharFP
  ------------------
 1472|       |
 1473|     74|    if(length(spackage)) {
  ------------------
  |  |  987|     74|#define length(x)		Rf_length(x)
  |  |  ------------------
  |  |  |  Branch (987:20): [True: 74, False: 0]
  |  |  ------------------
  ------------------
 1474|     74|	if(TYPEOF(spackage) == STRSXP)
  ------------------
  |  |  126|     74|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1474:5): [True: 0, False: 74]
  ------------------
 1475|      0|	    package = translateCharFP(STRING_ELT(spackage, 0));
  ------------------
  |  | 2003|      0|# define translateCharFP	Rf_translateCharFP
  ------------------
 1476|     74|	else if(TYPEOF(spackage) == EXTPTRSXP &&
  ------------------
  |  |  134|    148|#define EXTPTRSXP   22    /* external pointer */
  ------------------
  |  Branch (1476:10): [True: 74, False: 0]
  ------------------
 1477|     74|		R_ExternalPtrTag(spackage) == install("DLLInfo")) {
  ------------------
  |  |  934|     74|#define install			Rf_install
  ------------------
  |  Branch (1477:3): [True: 74, False: 0]
  ------------------
 1478|     74|	    DllInfo *dll = (DllInfo *) R_ExternalPtrAddr(spackage);
 1479|     74|	    if (!dll)
  ------------------
  |  Branch (1479:10): [True: 0, False: 74]
  ------------------
 1480|      0|		error(_("NULL value passed for DllInfo"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("NULL value passed for DllInfo"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1481|     74|	    f = R_dlsym(dll, name, &symbol);
 1482|     74|	    package = NULL;
 1483|     74|	} else
 1484|      0|	    error(_("must pass package name or DllInfo reference"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("must pass package name or DllInfo reference"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1485|     74|    }
 1486|       |
 1487|     74|    if(package)
  ------------------
  |  Branch (1487:8): [True: 0, False: 74]
  ------------------
 1488|      0|	f = R_FindSymbol(name, package, &symbol);
 1489|       |
 1490|     74|    if(f)
  ------------------
  |  Branch (1490:8): [True: 74, False: 0]
  ------------------
 1491|     74|	sym = createRSymbolObject(sname, f, &symbol,
 1492|     74|				  asBool2(withRegistrationInfo, R_NilValue));
  ------------------
  |  | 1865|     74|# define asBool2	       	Rf_asBool2
  ------------------
 1493|       |
 1494|     74|    vmaxset(vmax);
 1495|     74|    return sym;
 1496|     74|}
R_getDllTable:
 1500|      2|{
 1501|      2|    int i;
 1502|      2|    SEXP ans, nm;
 1503|       |
 1504|      2| again:
 1505|      2|    PROTECT(ans = allocVector(VECSXP, CountDLL));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1506|      4|    for(i = 0; i < CountDLL; i++)
  ------------------
  |  Branch (1506:16): [True: 2, False: 2]
  ------------------
 1507|      2|	SET_VECTOR_ELT(ans, i, Rf_MakeDLLInfo(LoadedDLL[i]));
 1508|       |    
 1509|      2|    setAttrib(ans, R_ClassSymbol, mkString("DLLInfoList"));
  ------------------
  |  | 1027|      2|#define setAttrib		Rf_setAttrib
  ------------------
                  setAttrib(ans, R_ClassSymbol, mkString("DLLInfoList"));
  ------------------
  |  | 1003|      2|#define mkString		Rf_mkString
  ------------------
 1510|      2|    UNPROTECT(1);
  ------------------
  |  |  358|      2|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1511|       |
 1512|       |    /* There is a problem here: The allocations can cause gc, and gc
 1513|       |       may result in no longer referenced DLLs being unloaded.  So
 1514|       |       CountDLL can be reduced during this loop.  A simple work-around
 1515|       |       is to just try again until CountDLL at the end is the same as
 1516|       |       it was at the beginning.  LT */
 1517|      2|    if (CountDLL != LENGTH(ans))
  ------------------
  |  Branch (1517:9): [True: 0, False: 2]
  ------------------
 1518|      0|	goto again;
 1519|       |
 1520|      2|    PROTECT(ans);
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1521|      2|    PROTECT(nm = allocVector(STRSXP, CountDLL));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1522|      2|    setAttrib(ans, R_NamesSymbol, nm);
  ------------------
  |  | 1027|      2|#define setAttrib		Rf_setAttrib
  ------------------
 1523|      4|    for(int i = 0; i < CountDLL; i++)
  ------------------
  |  Branch (1523:20): [True: 2, False: 2]
  ------------------
 1524|      2|	SET_STRING_ELT(nm, i,
 1525|       |	               /* ->name from DllInfo */
 1526|      2|		       STRING_ELT(VECTOR_ELT(VECTOR_ELT(ans, i), 0), 0));
 1527|      2|    UNPROTECT(2);
  ------------------
  |  |  358|      2|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1528|      2|    return(ans);
 1529|      2|}
R_getRegisteredRoutines:
 1668|     10|{
 1669|     10|    DllInfo *info;
 1670|     10|    SEXP ans, snames;
 1671|     10|    int i;
 1672|     10|    const char * const names[] = {".C", ".Call", ".Fortran", ".External"};
 1673|       |
 1674|     10|    if(TYPEOF(dll) != EXTPTRSXP &&
  ------------------
  |  |  134|     20|#define EXTPTRSXP   22    /* external pointer */
  ------------------
  |  Branch (1674:8): [True: 0, False: 10]
  ------------------
 1675|      0|       R_ExternalPtrTag(dll) != install("DLLInfo"))
  ------------------
  |  |  934|      0|#define install			Rf_install
  ------------------
  |  Branch (1675:8): [True: 0, False: 0]
  ------------------
 1676|      0|	error(_("R_getRegisteredRoutines() expects a DllInfo reference"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("R_getRegisteredRoutines() expects a DllInfo reference"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1677|       |
 1678|     10|    info = (DllInfo *) R_ExternalPtrAddr(dll);
 1679|     10|    if(!info) error(_("NULL value passed for DllInfo"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  if(!info) error(_("NULL value passed for DllInfo"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (1679:8): [True: 0, False: 10]
  ------------------
 1680|       |
 1681|       |
 1682|     10|    PROTECT(ans = allocVector(VECSXP, 4));
  ------------------
  |  |  357|     10|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1683|       |
 1684|     10|    SET_VECTOR_ELT(ans, 0, R_getRoutineSymbols(R_C_SYM, info));
 1685|     10|    SET_VECTOR_ELT(ans, 1, R_getRoutineSymbols(R_CALL_SYM, info));
 1686|     10|    SET_VECTOR_ELT(ans, 2, R_getRoutineSymbols(R_FORTRAN_SYM, info));
 1687|     10|    SET_VECTOR_ELT(ans, 3, R_getRoutineSymbols(R_EXTERNAL_SYM, info));
 1688|       |
 1689|     10|    PROTECT(snames = allocVector(STRSXP, 4));
  ------------------
  |  |  357|     10|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1690|     50|    for(i = 0; i < 4; i++)
  ------------------
  |  Branch (1690:16): [True: 40, False: 10]
  ------------------
 1691|     40|	SET_STRING_ELT(snames, i, mkChar(names[i]));
  ------------------
  |  |  998|     40|#define mkChar			Rf_mkChar
  ------------------
 1692|     10|    setAttrib(ans, R_NamesSymbol, snames);
  ------------------
  |  | 1027|     10|#define setAttrib		Rf_setAttrib
  ------------------
 1693|     10|    UNPROTECT(2);
  ------------------
  |  |  358|     10|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1694|     10|    return(ans);
 1695|     10|}
do_getSymbolInfo:
 1699|     74|{
 1700|     74|    checkArity(op, args);
  ------------------
  |  | 1793|     74|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1701|     74|    return R_getSymbolInfo(CAR(args), CADR(args), CADDR(args));
 1702|     74|}
do_getDllTable:
 1707|      2|{
 1708|      2|    checkArity(op, args);
  ------------------
  |  | 1793|      2|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1709|      2|    return R_getDllTable();
 1710|      2|}
do_getRegisteredRoutines:
 1714|     10|{
 1715|     10|    checkArity(op, args);
  ------------------
  |  | 1793|     10|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1716|     10|    return R_getRegisteredRoutines(CAR(args));
 1717|     10|}
R_RegisterCCallable:
 1749|     12|{
 1750|     12|    SEXP penv = get_package_CEntry_table(package);
 1751|     12|    PROTECT(penv);
  ------------------
  |  |  357|     12|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1752|     12|    SEXP eptr = R_MakeExternalPtrFn(fptr, R_NilValue, R_NilValue);
 1753|     12|    PROTECT(eptr);
  ------------------
  |  |  357|     12|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1754|     12|    defineVar(install(name), eptr, penv);
  ------------------
  |  |  905|     12|#define defineVar		Rf_defineVar
  ------------------
                  defineVar(install(name), eptr, penv);
  ------------------
  |  |  934|     12|#define install			Rf_install
  ------------------
 1755|     12|    UNPROTECT(2);
  ------------------
  |  |  358|     12|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1756|     12|}
Rdynload.c:initLoadedDLL:
  159|      2|{
  160|      2|    if (CountDLL != 0 || LoadedDLL != NULL)
  ------------------
  |  Branch (160:9): [True: 0, False: 2]
  |  Branch (160:26): [True: 0, False: 2]
  ------------------
  161|      0|	R_Suicide("DLL table corruption detected"); /* not translated */
  162|       |
  163|       |    /* Note that it is likely that dlopen will use up at least one file
  164|       |       descriptor for each DLL loaded (it may load further dynamically
  165|       |       linked libraries), so we do not want to get close to the fd limit
  166|       |       (which may be as low as 256).
  167|       |
  168|       |       When R_MAX_NUM_DLLS environment variable is set and is in range
  169|       |       [100,1000] and the fd limit is sufficient or can be increased,
  170|       |       this becomes the maximum number of DLLs. Otherwise, R fails to start.
  171|       |
  172|       |       When R_MAX_NUM_DLLS is not set, R uses a reasonable default value
  173|       |       that matches the fd limit. R attempts to increase the limit if it
  174|       |       is too small. The goal for maximum number of DLLs is currently 614.
  175|       |
  176|       |       The limit receives increased attention with 'workflow'
  177|       |       documents which load increasingly more packages, hitting the
  178|       |       default fd limit of 256 on macOS systems.
  179|       |    */
  180|       |
  181|      2|    char *req = getenv("R_MAX_NUM_DLLS");
  182|      2|    if (req != NULL) {
  ------------------
  |  Branch (182:9): [True: 0, False: 2]
  ------------------
  183|       |	/* set exactly the requested limit, or fail */
  184|      0|	int reqlimit = atoi(req);
  185|      0|	if (reqlimit < 100) {
  ------------------
  |  Branch (185:6): [True: 0, False: 0]
  ------------------
  186|      0|	    char msg[128];
  187|      0|	    snprintf(msg, 128,
  188|      0|	      _("R_MAX_NUM_DLLS must be at least %d"), 100);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  189|      0|	    R_Suicide(msg);
  190|      0|	}
  191|      0|	if (reqlimit > 1000) {
  ------------------
  |  Branch (191:6): [True: 0, False: 0]
  ------------------
  192|      0|	    char msg[128];
  193|      0|	    snprintf(msg, 128,
  194|      0|	      _("R_MAX_NUM_DLLS cannot be bigger than %d"), 1000);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  195|      0|	    R_Suicide(msg);
  196|      0|	}
  197|      0|	int needed_fds = (int)ceil(reqlimit / 0.6);
  198|      0|	int fdlimit = R_EnsureFDLimit(needed_fds);
  199|      0|	if (fdlimit < 0 && reqlimit > 100) {
  ------------------
  |  Branch (199:6): [True: 0, False: 0]
  |  Branch (199:21): [True: 0, False: 0]
  ------------------
  200|       |	    /* this is very unlikely */
  201|      0|	    char msg[128];
  202|      0|	    snprintf(msg, 128,
  203|      0|	      _("R_MAX_NUM_DLLS cannot be bigger than %d when fd limit is not known"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  204|      0|	      100);
  205|      0|	    R_Suicide(msg);
  206|      0|	} else if (fdlimit >= 0 && fdlimit < needed_fds) {
  ------------------
  |  Branch (206:13): [True: 0, False: 0]
  |  Branch (206:29): [True: 0, False: 0]
  ------------------
  207|      0|	    int maxdlllimit = (int) (0.6 * fdlimit);
  208|      0|	    if (maxdlllimit < 100)
  ------------------
  |  Branch (208:10): [True: 0, False: 0]
  ------------------
  209|      0|		R_Suicide(_("the limit on the number of open files is too low"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  210|      0|	    char msg[128];
  211|      0|	    snprintf(msg, 128,
  212|      0|	      _("R_MAX_NUM_DLLS bigger than %d may exhaust open files limit"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  213|      0|	      maxdlllimit);
  214|      0|	    R_Suicide(msg);
  215|      0|	}
  216|       |	/* when fdlimit == -1 (not known), currently only reqlimit of 100 is
  217|       |	   allowed */
  218|      0|	MaxNumDLLs = reqlimit;
  219|      2|    } else {
  220|       |	/* set a reasonable default limit */
  221|      2|	int needed_fds = 1024;
  222|      2|	int fdlimit = R_EnsureFDLimit(needed_fds);
  223|      2|	if (fdlimit < 0)
  ------------------
  |  Branch (223:6): [True: 0, False: 2]
  ------------------
  224|      0|	    MaxNumDLLs = 100;
  225|      2|	else {
  226|      2|	    MaxNumDLLs = (int) (0.6 * fdlimit);
  227|      2|	    if (MaxNumDLLs < 100)
  ------------------
  |  Branch (227:10): [True: 0, False: 2]
  ------------------
  228|      0|		R_Suicide(_("the limit on the number of open files is too low"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  229|      2|	}
  230|      2|    }
  231|       |
  232|       |    /* memory is set to zero */
  233|      2|    LoadedDLL = (DllInfo **) calloc(MaxNumDLLs, sizeof(DllInfo*));
  234|      2|    if (LoadedDLL == NULL)
  ------------------
  |  Branch (234:9): [True: 0, False: 2]
  ------------------
  235|      0|	R_Suicide(_("could not allocate space for DLL table"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  236|      2|    DLLInfoEptrs = allocVector(VECSXP, MaxNumDLLs);
  ------------------
  |  |  875|      2|#define allocVector		Rf_allocVector
  ------------------
                  DLLInfoEptrs = allocVector(VECSXP, MaxNumDLLs);
  ------------------
  |  |  131|      2|#define VECSXP	    19	  /* generic vectors */
  ------------------
  237|      2|    R_PreserveObject(DLLInfoEptrs);
  238|      2|    SymbolEptrs = CONS(R_NilValue, R_NilValue);
  ------------------
  |  |  309|      2|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
  239|      2|    R_PreserveObject(SymbolEptrs);
  240|      2|}
Rdynload.c:R_addFortranRoutine:
  597|     42|{
  598|     42|    sym->name = Rstrdup(croutine->name);
  599|     42|    sym->fun = croutine->fun;
  600|     42|    sym->numArgs = croutine->numArgs > -1 ? croutine->numArgs : -1;
  ------------------
  |  Branch (600:20): [True: 42, False: 0]
  ------------------
  601|     42|    if(croutine->types)
  ------------------
  |  Branch (601:8): [True: 4, False: 38]
  ------------------
  602|      4|	R_setPrimitiveArgTypes(croutine, sym);
  603|     42|}
Rdynload.c:R_setPrimitiveArgTypes:
  582|      4|{
  583|      4|    sym->types = (R_NativePrimitiveArgType *)
  584|      4|	malloc(sizeof(R_NativePrimitiveArgType) * (size_t) croutine->numArgs);
  585|      4|    if(!sym->types)
  ------------------
  |  Branch (585:8): [True: 0, False: 4]
  ------------------
  586|      0|	error("allocation failure in R_setPrimitiveArgTypes");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  587|      4|    if(sym->types)
  ------------------
  |  Branch (587:8): [True: 4, False: 0]
  ------------------
  588|      4|	memcpy(sym->types, croutine->types,
  589|      4|	       sizeof(R_NativePrimitiveArgType) * (size_t) croutine->numArgs);
  590|       |
  591|      4|}
Rdynload.c:R_addExternalRoutine:
  609|    210|{
  610|    210|    sym->name = Rstrdup(croutine->name);
  611|    210|    sym->fun = croutine->fun;
  612|    210|    sym->numArgs = croutine->numArgs > -1 ? croutine->numArgs : -1;
  ------------------
  |  Branch (612:20): [True: 152, False: 58]
  ------------------
  613|    210|}
Rdynload.c:R_addCRoutine:
  618|     22|{
  619|     22|    sym->name = Rstrdup(croutine->name);
  620|     22|    sym->fun = croutine->fun;
  621|     22|    sym->numArgs = croutine->numArgs > -1 ? croutine->numArgs : -1;
  ------------------
  |  Branch (621:20): [True: 22, False: 0]
  ------------------
  622|     22|    if(croutine->types)
  ------------------
  |  Branch (622:8): [True: 0, False: 22]
  ------------------
  623|      0|	R_setPrimitiveArgTypes(croutine, sym);
  624|     22|}
Rdynload.c:R_addCallRoutine:
  629|    504|{
  630|    504|    sym->name = Rstrdup(croutine->name);
  631|    504|    sym->fun = croutine->fun;
  632|    504|    sym->numArgs = croutine->numArgs > -1 ? croutine->numArgs : -1;
  ------------------
  |  Branch (632:20): [True: 504, False: 0]
  ------------------
  633|    504|}
Rdynload.c:addDLL:
  957|     14|{
  958|     14|    int ans = CountDLL;
  959|     14|    char *name = (char *) malloc(strlen(DLLname)+1);
  960|     14|    if(name == NULL) {
  ------------------
  |  Branch (960:8): [True: 0, False: 14]
  ------------------
  961|      0|	strcpy(DLLerror, _("could not allocate space for 'name'"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  962|      0|	if(handle)
  ------------------
  |  Branch (962:5): [True: 0, False: 0]
  ------------------
  963|      0|	    R_osDynSymbol->closeLibrary(handle);
  964|      0|	free(dpath);
  965|      0|	return 0;
  966|      0|    }
  967|     14|    strcpy(name, DLLname);
  968|       |
  969|     14|    DllInfo *info = (DllInfo *) malloc(sizeof(DllInfo));
  970|     14|    if(info == NULL) {
  ------------------
  |  Branch (970:8): [True: 0, False: 14]
  ------------------
  971|      0|	strcpy(DLLerror, _("could not allocate space for 'DllInfo'"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  972|      0|	if(handle)
  ------------------
  |  Branch (972:5): [True: 0, False: 0]
  ------------------
  973|      0|	    R_osDynSymbol->closeLibrary(handle);
  974|      0|	free(name);
  975|      0|	free(dpath);
  976|      0|	return 0;
  977|      0|    }
  978|       |
  979|     14|    info->path = dpath;
  980|     14|    info->name = name;
  981|     14|    info->handle = handle;
  982|       |
  983|     14|    info->numCSymbols = 0;
  984|     14|    info->numCallSymbols = 0;
  985|     14|    info->numFortranSymbols = 0;
  986|     14|    info->numExternalSymbols = 0;
  987|     14|    info->CSymbols = NULL;
  988|     14|    info->CallSymbols = NULL;
  989|     14|    info->FortranSymbols = NULL;
  990|     14|    info->ExternalSymbols = NULL;
  991|     14|    LoadedDLL[CountDLL] = info;
  992|     14|    SET_VECTOR_ELT(DLLInfoEptrs, CountDLL, R_NilValue);
  993|     14|    CountDLL++;
  994|       |
  995|     14|    return(ans);
  996|     14|}
Rdynload.c:R_getDLLRegisteredSymbol:
 1043|     74|{
 1044|     74|    NativeSymbolType purpose = R_ANY_SYM;
 1045|       |
 1046|     74|    if(symbol)
  ------------------
  |  Branch (1046:8): [True: 74, False: 0]
  ------------------
 1047|     74|	purpose = symbol->type;
 1048|       |
 1049|     74|    if((purpose == R_ANY_SYM || purpose == R_C_SYM) &&
  ------------------
  |  Branch (1049:9): [True: 74, False: 0]
  |  Branch (1049:33): [True: 0, False: 0]
  ------------------
 1050|     74|       info->numCSymbols > 0) {
  ------------------
  |  Branch (1050:8): [True: 0, False: 74]
  ------------------
 1051|      0|	Rf_DotCSymbol *sym;
 1052|      0|	sym = Rf_lookupRegisteredCSymbol(info, name);
 1053|      0|	if(sym) {
  ------------------
  |  Branch (1053:5): [True: 0, False: 0]
  ------------------
 1054|      0|	    if(symbol) {
  ------------------
  |  Branch (1054:9): [True: 0, False: 0]
  ------------------
 1055|      0|		symbol->type = R_C_SYM;
 1056|      0|		symbol->symbol.c = sym;
 1057|      0|		symbol->dll = info;
 1058|      0|	    }
 1059|       |
 1060|      0|	    return((DL_FUNC) sym->fun);
 1061|      0|	}
 1062|      0|    }
 1063|       |
 1064|     74|    if((purpose == R_ANY_SYM || purpose == R_CALL_SYM) &&
  ------------------
  |  Branch (1064:9): [True: 74, False: 0]
  |  Branch (1064:33): [True: 0, False: 0]
  ------------------
 1065|     74|       info->numCallSymbols > 0) {
  ------------------
  |  Branch (1065:8): [True: 74, False: 0]
  ------------------
 1066|     74|	Rf_DotCallSymbol *sym;
 1067|     74|	sym = Rf_lookupRegisteredCallSymbol(info, name);
 1068|     74|	if(sym) {
  ------------------
  |  Branch (1068:5): [True: 8, False: 66]
  ------------------
 1069|      8|	    if(symbol) {
  ------------------
  |  Branch (1069:9): [True: 8, False: 0]
  ------------------
 1070|      8|		symbol->type = R_CALL_SYM;
 1071|      8|		symbol->symbol.call = sym;
 1072|      8|		symbol->dll = info;
 1073|      8|	    }
 1074|      8|	    return((DL_FUNC) sym->fun);
 1075|      8|	}
 1076|     74|    }
 1077|       |
 1078|     66|    if((purpose == R_ANY_SYM || purpose == R_FORTRAN_SYM) &&
  ------------------
  |  Branch (1078:9): [True: 66, False: 0]
  |  Branch (1078:33): [True: 0, False: 0]
  ------------------
 1079|     66|       info->numFortranSymbols > 0) {
  ------------------
  |  Branch (1079:8): [True: 0, False: 66]
  ------------------
 1080|      0|	Rf_DotFortranSymbol *sym;
 1081|      0|	sym = Rf_lookupRegisteredFortranSymbol(info, name);
 1082|      0|	if(sym) {
  ------------------
  |  Branch (1082:5): [True: 0, False: 0]
  ------------------
 1083|      0|	    if(symbol) {
  ------------------
  |  Branch (1083:9): [True: 0, False: 0]
  ------------------
 1084|      0|		symbol->type = R_FORTRAN_SYM;
 1085|      0|		symbol->symbol.fortran = sym;
 1086|      0|		symbol->dll = info;
 1087|      0|	    }
 1088|      0|	    return((DL_FUNC) sym->fun);
 1089|      0|	}
 1090|      0|    }
 1091|       |
 1092|     66|    if((purpose == R_ANY_SYM || purpose == R_EXTERNAL_SYM) &&
  ------------------
  |  Branch (1092:9): [True: 66, False: 0]
  |  Branch (1092:33): [True: 0, False: 0]
  ------------------
 1093|     66|       info->numExternalSymbols > 0) {
  ------------------
  |  Branch (1093:8): [True: 66, False: 0]
  ------------------
 1094|     66|	Rf_DotExternalSymbol *sym;
 1095|     66|	sym = Rf_lookupRegisteredExternalSymbol(info, name);
 1096|     66|	if(sym) {
  ------------------
  |  Branch (1096:5): [True: 66, False: 0]
  ------------------
 1097|     66|	    if(symbol) {
  ------------------
  |  Branch (1097:9): [True: 66, False: 0]
  ------------------
 1098|     66|		symbol->type = R_EXTERNAL_SYM;
 1099|     66|		symbol->symbol.external = sym;
 1100|     66|		symbol->dll = info;
 1101|     66|	    }
 1102|     66|	    return((DL_FUNC) sym->fun);
 1103|     66|	}
 1104|     66|    }
 1105|       |
 1106|      0|    return((DL_FUNC) NULL);
 1107|     66|}
Rdynload.c:Rf_lookupRegisteredCallSymbol:
 1021|     74|{
 1022|       |
 1023|    350|    for(int i = 0; i < info->numCallSymbols; i++) {
  ------------------
  |  Branch (1023:20): [True: 284, False: 66]
  ------------------
 1024|    284|	if(strcmp(name, info->CallSymbols[i].name) == 0)
  ------------------
  |  Branch (1024:5): [True: 8, False: 276]
  ------------------
 1025|      8|	    return(&(info->CallSymbols[i]));
 1026|    284|    }
 1027|     66|    return (Rf_DotCallSymbol*) NULL;
 1028|     74|}
Rdynload.c:Rf_lookupRegisteredExternalSymbol:
 1032|     66|{
 1033|  1.12k|    for(int i = 0; i < info->numExternalSymbols; i++) {
  ------------------
  |  Branch (1033:20): [True: 1.12k, False: 0]
  ------------------
 1034|  1.12k|	if(strcmp(name, info->ExternalSymbols[i].name) == 0)
  ------------------
  |  Branch (1034:5): [True: 66, False: 1.05k]
  ------------------
 1035|     66|	    return(&(info->ExternalSymbols[i]));
 1036|  1.12k|    }
 1037|      0|    return (Rf_DotExternalSymbol*) NULL;
 1038|     66|}
Rdynload.c:GetFullDLLPath:
 1213|     10|{
 1214|     10|    size_t res = R_osDynSymbol->getFullDLLPath(call, buf, bufsize, path);
 1215|     10|    if (res >= bufsize)
  ------------------
  |  Branch (1215:9): [True: 0, False: 10]
  ------------------
 1216|      0|	error(_("path too long")); 
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("path too long")); 
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1217|     10|}
Rdynload.c:AddDLL:
  830|     12|{
  831|     12|    HINSTANCE handle;
  832|     12|    DllInfo *info = NULL;
  833|       |
  834|     12|    int i, loc;
  835|       |
  836|     12|    loc = -1;
  837|     54|    for (i = 0; i < CountDLL; i++)
  ------------------
  |  Branch (837:17): [True: 42, False: 12]
  ------------------
  838|     42|	if (!strcmp(path, LoadedDLL[i]->path)) {
  ------------------
  |  Branch (838:6): [True: 0, False: 42]
  ------------------
  839|      0|	    loc = i;
  840|      0|	    break;
  841|      0|	}
  842|       |
  843|     12|    if (loc >= 0) {
  ------------------
  |  Branch (843:9): [True: 0, False: 12]
  ------------------
  844|       |	/* The DLL is already loaded, so move it to the head of the list
  845|       |	   and exit. We assume that the same path means the DLL file is
  846|       |	   also the same: the user should always unload a DLL file before
  847|       |	   modifying it (on Windows, it is locked, on Unix, modifying while
  848|       |	   loaded may cause a crash on function call or even dlsym()). */
  849|       |
  850|       |	/* FIXME: it might make sense to implement a reference count of how
  851|       |	   many times a DLL has been loaded, and only delete it when the count
  852|       |	   reaches zero, but that would break code relying on the existing
  853|       |	   behavior */
  854|       |
  855|      0|	DllInfo *info = LoadedDLL[loc];
  856|      0|	SEXP eptrs = PROTECT(VECTOR_ELT(DLLInfoEptrs, loc));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  857|       |
  858|      0|	for(i = loc + 1 ; i < CountDLL ; i++) {
  ------------------
  |  Branch (858:20): [True: 0, False: 0]
  ------------------
  859|      0|	    LoadedDLL[i - 1] = LoadedDLL[i];
  860|      0|	    SET_VECTOR_ELT(DLLInfoEptrs, i - 1, VECTOR_ELT(DLLInfoEptrs, i));
  861|      0|	}
  862|       |
  863|      0|	LoadedDLL[CountDLL - 1] = info;
  864|      0|	SET_VECTOR_ELT(DLLInfoEptrs, CountDLL - 1, eptrs);
  865|      0|	UNPROTECT(1); /* eptrs */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  866|      0|	return info;
  867|      0|    }
  868|       |
  869|     12|    if(CountDLL == MaxNumDLLs) {
  ------------------
  |  Branch (869:8): [True: 0, False: 12]
  ------------------
  870|      0|	strcpy(DLLerror, _("`maximal number of DLLs reached..."));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  871|      0|	return NULL;
  872|      0|    }
  873|       |
  874|     12|    handle = R_osDynSymbol->loadLibrary(path, asLocal, now, DLLsearchpath);
  875|       |
  876|     12|    if(handle == NULL) {
  ------------------
  |  Branch (876:8): [True: 0, False: 12]
  ------------------
  877|      0|	R_osDynSymbol->getError(DLLerror, DLLerrBUFSIZE);
  ------------------
  |  |  815|      0|#define DLLerrBUFSIZE 1000
  ------------------
  878|      0|	return NULL;
  879|      0|    }
  880|       |
  881|     12|    info = R_RegisterDLL(handle, path);
  882|       |
  883|       |    /* Now look for an initializing routine named R_init_<object name>.
  884|       |       If it is present, we call it. It should take a reference to the
  885|       |       DllInfo object currently being initialized.
  886|       |    */
  887|     12|    if(info) {
  ------------------
  |  Branch (887:8): [True: 12, False: 0]
  ------------------
  888|     12|	const char *nm = info->name;
  889|     12|	size_t len = strlen(nm) + 9;
  890|     12|	char tmp[len]; // R_init_ + underscore + null
  891|     12|	DllInfoInitCall f;
  892|     12|#ifdef HAVE_NO_SYMBOL_UNDERSCORE
  893|     12|	snprintf(tmp, len,  "%s%s","R_init_", info->name);
  894|       |#else
  895|       |	snprintf(tmp, len, "_%s%s","R_init_", info->name);
  896|       |#endif
  897|     12|	f = (DllInfoInitCall) R_osDynSymbol->dlsym(info, tmp);
  898|       |	/* If that failed, might have used the package name with
  899|       |	   . replaced by _ (as . it not valid in symbol names). */
  900|     12|	if(!f) {
  ------------------
  |  Branch (900:5): [True: 0, False: 12]
  ------------------
  901|       |	    /* This is potentially unsafe in MBCSs, as '.' might be
  902|       |	       part of a character: but is not in UTF-8 */
  903|      0|	    for(char *p = tmp; *p; p++) if(*p == '.') *p = '_';
  ------------------
  |  Branch (903:25): [True: 0, False: 0]
  |  Branch (903:37): [True: 0, False: 0]
  ------------------
  904|      0|	    f = (DllInfoInitCall) R_osDynSymbol->dlsym(info, tmp);
  905|      0|	}
  906|     12|	if(f) f(info);
  ------------------
  |  Branch (906:5): [True: 12, False: 0]
  ------------------
  907|     12|    }
  908|       |
  909|     12|    return info;
  910|     12|}
Rdynload.c:R_RegisterDLL:
  914|     12|{
  915|     12|    char *dpath,  DLLname[R_PATH_MAX], *p;
  916|     12|    DllInfo *info;
  917|       |
  918|     12|    dpath = (char *) malloc(strlen(path)+1);
  919|     12|    if(dpath == NULL) {
  ------------------
  |  Branch (919:8): [True: 0, False: 12]
  ------------------
  920|      0|	strcpy(DLLerror, _("could not allocate space for 'path'"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  921|      0|	R_osDynSymbol->closeLibrary(handle);
  922|      0|	return 0;
  923|      0|    }
  924|     12|    strcpy(dpath, path);
  925|       |
  926|     12|    if(R_osDynSymbol->fixPath) R_osDynSymbol->fixPath(dpath);
  ------------------
  |  Branch (926:8): [True: 0, False: 12]
  ------------------
  927|       |
  928|       |    /* keep only basename from path */
  929|     12|    p = Rf_strrchr(dpath, FILESEP[0]);
  ------------------
  |  |  993|     12|# define FILESEP     "/"
  ------------------
  930|     12|    if(!p) p = dpath; else p++;
  ------------------
  |  Branch (930:8): [True: 0, False: 12]
  ------------------
  931|     12|    if(strlen(p) < R_PATH_MAX) strcpy(DLLname, p);
  ------------------
  |  | 1150|     12|# define R_PATH_MAX PATH_MAX
  ------------------
  |  Branch (931:8): [True: 12, False: 0]
  ------------------
  932|      0|    else error(_("DLLname '%s' is too long"), p);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  else error(_("DLLname '%s' is too long"), p);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  933|       |
  934|       |    /* remove SHLIB_EXT if present */
  935|     12|    p = DLLname + strlen(DLLname) - strlen(SHLIB_EXT);
  ------------------
  |  | 1116|     12|#define SHLIB_EXT ".so"
  ------------------
  936|       |#ifdef Win32  /* case-insensitive file system */
  937|       |    if(p > DLLname && stricmp(p, SHLIB_EXT) == 0) *p = '\0';
  938|       |#else
  939|     12|    if(p > DLLname && strcmp(p, SHLIB_EXT) == 0) *p = '\0';
  ------------------
  |  | 1116|     12|#define SHLIB_EXT ".so"
  ------------------
  |  Branch (939:8): [True: 12, False: 0]
  |  Branch (939:23): [True: 12, False: 0]
  ------------------
  940|     12|#endif
  941|       |
  942|     12|    if (addDLL(dpath, DLLname, handle)) {
  ------------------
  |  Branch (942:9): [True: 12, False: 0]
  ------------------
  943|     12|	info = LoadedDLL[CountDLL-1];
  944|       |	/* default is to use old-style dynamic lookup.  The object's
  945|       |	   initialization routine can limit access by setting this to FALSE.
  946|       |	*/
  947|     12|	info->useDynamicLookup = TRUE;
  948|     12|	info->forceSymbols = FALSE;
  949|     12|	return info;
  950|     12|    } else
  951|       |	/* dpath freed in addDLL */
  952|      0|	return NULL;
  953|     12|}
Rdynload.c:Rf_MakeDLLInfo:
 1408|    790|{
 1409|    790|    SEXP ref, elNames, tmp;
 1410|    790|    int i, n;
 1411|    790|    const char *const names[] = {"name", "path", "dynamicLookup",
 1412|    790|				 "handle", "info", "forceSymbols"};
 1413|       |
 1414|    790|    n = sizeof(names)/sizeof(names[0]);
 1415|       |
 1416|    790|    PROTECT(ref = allocVector(VECSXP, n));
  ------------------
  |  |  357|    790|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1417|    790|    SET_VECTOR_ELT(ref, 0, tmp = allocVector(STRSXP, 1));
  ------------------
  |  |  875|    790|#define allocVector		Rf_allocVector
  ------------------
                  SET_VECTOR_ELT(ref, 0, tmp = allocVector(STRSXP, 1));
  ------------------
  |  |  126|    790|#define STRSXP	    16	  /* string vectors */
  ------------------
 1418|    790|    if(info->name)
  ------------------
  |  Branch (1418:8): [True: 790, False: 0]
  ------------------
 1419|    790|	SET_STRING_ELT(tmp, 0, mkChar(info->name));
  ------------------
  |  |  998|    790|#define mkChar			Rf_mkChar
  ------------------
 1420|    790|    SET_VECTOR_ELT(ref, 1, tmp = allocVector(STRSXP, 1));
  ------------------
  |  |  875|    790|#define allocVector		Rf_allocVector
  ------------------
                  SET_VECTOR_ELT(ref, 1, tmp = allocVector(STRSXP, 1));
  ------------------
  |  |  126|    790|#define STRSXP	    16	  /* string vectors */
  ------------------
 1421|    790|    if(info->path)
  ------------------
  |  Branch (1421:8): [True: 790, False: 0]
  ------------------
 1422|    790|	SET_STRING_ELT(tmp, 0, mkChar(info->path));
  ------------------
  |  |  998|    790|#define mkChar			Rf_mkChar
  ------------------
 1423|    790|    SET_VECTOR_ELT(ref, 2, ScalarLogical(info->useDynamicLookup));
  ------------------
  |  | 1023|    790|#define ScalarLogical		Rf_ScalarLogical
  ------------------
 1424|       |
 1425|    790|    SEXP ehandle = Rf_makeDllObject(info->handle);
 1426|    790|    SET_VECTOR_ELT(ref, 3, ehandle);
 1427|    790|    SEXP einfo = Rf_makeDllInfoReference(info);
 1428|    790|    SET_VECTOR_ELT(ref, 4, einfo);
 1429|    790|    R_registerSymbolEptr(ehandle, einfo);
 1430|    790|    SET_VECTOR_ELT(ref, 5, ScalarLogical(info->forceSymbols));
  ------------------
  |  | 1023|    790|#define ScalarLogical		Rf_ScalarLogical
  ------------------
 1431|       |
 1432|    790|    PROTECT(elNames = allocVector(STRSXP, n));
  ------------------
  |  |  357|    790|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1433|  5.53k|    for(i = 0; i < n; i++)
  ------------------
  |  Branch (1433:16): [True: 4.74k, False: 790]
  ------------------
 1434|  4.74k|	SET_STRING_ELT(elNames, i, mkChar(names[i]));
  ------------------
  |  |  998|  4.74k|#define mkChar			Rf_mkChar
  ------------------
 1435|    790|    setAttrib(ref, R_NamesSymbol, elNames);
  ------------------
  |  | 1027|    790|#define setAttrib		Rf_setAttrib
  ------------------
 1436|       |
 1437|    790|    setAttrib(ref, R_ClassSymbol, mkString("DLLInfo"));
  ------------------
  |  | 1027|    790|#define setAttrib		Rf_setAttrib
  ------------------
                  setAttrib(ref, R_ClassSymbol, mkString("DLLInfo"));
  ------------------
  |  | 1003|    790|#define mkString		Rf_mkString
  ------------------
 1438|       |
 1439|    790|    UNPROTECT(2);
  ------------------
  |  |  358|    790|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1440|       |
 1441|    790|    return(ref);
 1442|    790|}
Rdynload.c:Rf_makeDllObject:
 1366|    790|{
 1367|    790|    SEXP ans;
 1368|       |
 1369|    790|    PROTECT(ans = R_MakeExternalPtr(inst, install("DLLHandle"),
  ------------------
  |  |  357|    790|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1370|    790|				    R_NilValue));
 1371|    790|    setAttrib(ans, R_ClassSymbol, mkString("DLLHandle"));
  ------------------
  |  | 1027|    790|#define setAttrib		Rf_setAttrib
  ------------------
                  setAttrib(ans, R_ClassSymbol, mkString("DLLHandle"));
  ------------------
  |  | 1003|    790|#define mkString		Rf_mkString
  ------------------
 1372|    790|    UNPROTECT(1);
  ------------------
  |  |  358|    790|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1373|       |
 1374|    790|    return(ans);
 1375|    790|}
Rdynload.c:Rf_makeDllInfoReference:
 1379|    790|{
 1380|    790|    SEXP ans;
 1381|       |
 1382|    790|    int i = R_getDllIndex(info);
 1383|    790|    if (i >= 0) {
  ------------------
  |  Branch (1383:9): [True: 790, False: 0]
  ------------------
 1384|    790|	ans = VECTOR_ELT(DLLInfoEptrs, i);
 1385|    790|	if (!isNull(ans))
  ------------------
  |  |  956|    790|#define isNull			Rf_isNull
  ------------------
  |  Branch (1385:6): [True: 778, False: 12]
  ------------------
 1386|    778|	    return ans;
 1387|    790|    }
 1388|       |
 1389|     12|    PROTECT(ans = R_MakeExternalPtr((HINSTANCE) info, install("DLLInfo"),
  ------------------
  |  |  357|     12|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1390|     12|				    R_NilValue));
 1391|     12|    setAttrib(ans, R_ClassSymbol, mkString("DLLInfoReference"));
  ------------------
  |  | 1027|     12|#define setAttrib		Rf_setAttrib
  ------------------
                  setAttrib(ans, R_ClassSymbol, mkString("DLLInfoReference"));
  ------------------
  |  | 1003|     12|#define mkString		Rf_mkString
  ------------------
 1392|     12|    if (i >= 0)
  ------------------
  |  Branch (1392:9): [True: 12, False: 0]
  ------------------
 1393|     12|	SET_VECTOR_ELT(DLLInfoEptrs, i, ans);
 1394|     12|    UNPROTECT(1);
  ------------------
  |  |  358|     12|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1395|       |
 1396|     12|    return(ans);
 1397|    790|}
Rdynload.c:R_getDllIndex:
  338|    790|{
  339|    790|    int i;
  340|  3.88k|    for(i = 0; i < CountDLL; i++) {
  ------------------
  |  Branch (340:16): [True: 3.88k, False: 0]
  ------------------
  341|  3.88k|	if(LoadedDLL[i] == info) return i;
  ------------------
  |  Branch (341:5): [True: 790, False: 3.09k]
  ------------------
  342|  3.88k|    }
  343|      0|    return -1;
  344|    790|}
Rdynload.c:R_registerSymbolEptr:
  245|  1.56k|{
  246|  1.56k|    static int cleancount = MAXCOUNT;
  ------------------
  |  |  242|  1.56k|#define MAXCOUNT 10
  ------------------
  247|       |
  248|       |    /* remove unneeded entries from the list */
  249|  1.56k|    if(--cleancount <= 0) {
  ------------------
  |  Branch (249:8): [True: 156, False: 1.41k]
  ------------------
  250|    156|	cleancount = MAXCOUNT;
  ------------------
  |  |  242|    156|#define MAXCOUNT 10
  ------------------
  251|    156|	for (SEXP last = SymbolEptrs, next = CDR(SymbolEptrs);
  252|  61.4k|	     next != R_NilValue;
  ------------------
  |  Branch (252:7): [True: 61.3k, False: 156]
  ------------------
  253|  61.3k|	     next = CDR(next))
  254|  61.3k|	    if (R_WeakRefKey(CAR(next)) == R_NilValue)
  ------------------
  |  Branch (254:10): [True: 2, False: 61.3k]
  ------------------
  255|      2|		SETCDR(last, CDR(next));
  256|  61.3k|	    else
  257|  61.3k|		last = next;
  258|    156|    }
  259|       |
  260|       |    /* Add eptr to the head of the list, with weakref value identifying the
  261|       |       DllInfo. The identification is needed when deleting the DLL. */
  262|  1.56k|    SETCDR(SymbolEptrs,
  263|  1.56k|           CONS(R_MakeWeakRef(eptr, einfo, R_NilValue, FALSE),
  ------------------
  |  |  309|  1.56k|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
  264|  1.56k|                CDR(SymbolEptrs)));
  265|  1.56k|}
Rdynload.c:createRSymbolObject:
 1534|    778|{
 1535|    778|    SEXP tmp, klass, sym, names;
 1536|    778|    int n = (symbol->type != R_ANY_SYM) ? 4 : 3;
  ------------------
  |  Branch (1536:13): [True: 778, False: 0]
  ------------------
 1537|    778|    int numProtects = 0;
 1538|       |
 1539|    778|    PROTECT(sym = allocVector(VECSXP, n));    numProtects++;
  ------------------
  |  |  357|    778|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1540|    778|    PROTECT(names = allocVector(STRSXP, n));    numProtects++;
  ------------------
  |  |  357|    778|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1541|       |
 1542|    778|    if(!sname || sname == R_NilValue) {
  ------------------
  |  Branch (1542:8): [True: 704, False: 74]
  |  Branch (1542:18): [True: 0, False: 74]
  ------------------
 1543|    704|	PROTECT(sname = mkString(symbol->symbol.call->name));
  ------------------
  |  |  357|    704|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1544|    704|	numProtects++;
 1545|    704|    }
 1546|       |
 1547|    778|    SET_VECTOR_ELT(sym, 0, sname);
 1548|    778|    SET_STRING_ELT(names, 0, mkChar("name"));
  ------------------
  |  |  998|    778|#define mkChar			Rf_mkChar
  ------------------
 1549|       |
 1550|    778|    SEXP eaddress =
 1551|    778|	withRegistrationInfo && symbol && symbol->symbol.c && symbol->dll
  ------------------
  |  Branch (1551:2): [True: 778, False: 0]
  |  Branch (1551:26): [True: 778, False: 0]
  |  Branch (1551:36): [True: 778, False: 0]
  |  Branch (1551:56): [True: 778, False: 0]
  ------------------
 1552|    778|		   ? Rf_MakeRegisteredNativeSymbol(symbol)
 1553|    778|		   : Rf_MakeNativeSymbolRef(f);
 1554|    778|    SET_VECTOR_ELT(sym, 1, eaddress);
 1555|    778|    SET_STRING_ELT(names, 1, mkChar("address"));
  ------------------
  |  |  998|    778|#define mkChar			Rf_mkChar
  ------------------
 1556|    778|    if(symbol->dll) { /* now always */
  ------------------
  |  Branch (1556:8): [True: 778, False: 0]
  ------------------
 1557|    778|	SEXP rinfo = Rf_MakeDLLInfo(symbol->dll);
 1558|    778|	SET_VECTOR_ELT(sym, 2, rinfo);
 1559|    778|	SEXP einfo = VECTOR_ELT(rinfo, 4 /* info */);
 1560|    778|	R_registerSymbolEptr(eaddress, einfo);
 1561|    778|    }
 1562|    778|    SET_STRING_ELT(names, 2, mkChar("dll"));
  ------------------
  |  |  998|    778|#define mkChar			Rf_mkChar
  ------------------
 1563|       |
 1564|       |
 1565|    778|    PROTECT(klass = allocVector(STRSXP, (symbol->type != R_ANY_SYM ? 2 : 1)));
  ------------------
  |  |  357|  1.55k|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  |  |  Branch (357:31): [True: 778, False: 0]
  |  |  ------------------
  ------------------
 1566|    778|    numProtects++;
 1567|    778|    SET_STRING_ELT(klass, LENGTH(klass) - 1, mkChar("NativeSymbolInfo"));
  ------------------
  |  |  998|    778|#define mkChar			Rf_mkChar
  ------------------
 1568|       |
 1569|    778|    if(n > 3) {
  ------------------
  |  Branch (1569:8): [True: 778, False: 0]
  ------------------
 1570|       |	/* Add the registration information:
 1571|       |	   the number of arguments and the classname.
 1572|       |	*/
 1573|    778|	int nargs = -1;
 1574|    778|	char *className = "";
 1575|    778|	switch(symbol->type) {
 1576|     22|	case R_C_SYM:
  ------------------
  |  Branch (1576:2): [True: 22, False: 756]
  ------------------
 1577|     22|	    nargs = symbol->symbol.c->numArgs;
 1578|     22|	    className = "CRoutine";
 1579|     22|	    break;
 1580|    504|	case R_CALL_SYM:
  ------------------
  |  Branch (1580:2): [True: 504, False: 274]
  ------------------
 1581|    504|	    nargs = symbol->symbol.call->numArgs;
 1582|    504|	    className = "CallRoutine";
 1583|    504|	    break;
 1584|     42|	case R_FORTRAN_SYM:
  ------------------
  |  Branch (1584:2): [True: 42, False: 736]
  ------------------
 1585|     42|	    nargs = symbol->symbol.fortran->numArgs;
 1586|     42|	    className = "FortranRoutine";
 1587|     42|	    break;
 1588|    210|	case R_EXTERNAL_SYM:
  ------------------
  |  Branch (1588:2): [True: 210, False: 568]
  ------------------
 1589|    210|	    nargs = symbol->symbol.external->numArgs;
 1590|    210|	    className = "ExternalRoutine";
 1591|    210|	    break;
 1592|      0|	default:
  ------------------
  |  Branch (1592:2): [True: 0, False: 778]
  ------------------
 1593|       |	    /* Something unintended has happened if we get here. */
 1594|      0|	    error(_("unimplemented type %d in 'createRSymbolObject'"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("unimplemented type %d in 'createRSymbolObject'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1595|      0|		  symbol->type);
 1596|      0|	    break;
 1597|    778|	}
 1598|    778|	SET_VECTOR_ELT(sym, 3, tmp = ScalarInteger(nargs));
  ------------------
  |  | 1022|    778|#define ScalarInteger		Rf_ScalarInteger
  ------------------
 1599|    778|	SET_STRING_ELT(klass, 0, mkChar(className));
  ------------------
  |  |  998|    778|#define mkChar			Rf_mkChar
  ------------------
 1600|    778|	SET_STRING_ELT(names, 3, mkChar("numParameters"));
  ------------------
  |  |  998|    778|#define mkChar			Rf_mkChar
  ------------------
 1601|    778|    }
 1602|       |
 1603|    778|    setAttrib(sym, R_ClassSymbol, klass);
  ------------------
  |  | 1027|    778|#define setAttrib		Rf_setAttrib
  ------------------
 1604|    778|    setAttrib(sym, R_NamesSymbol, names);
  ------------------
  |  | 1027|    778|#define setAttrib		Rf_setAttrib
  ------------------
 1605|       |
 1606|    778|    UNPROTECT(numProtects);
  ------------------
  |  |  358|    778|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1607|    778|    return(sym);
 1608|    778|}
Rdynload.c:Rf_MakeRegisteredNativeSymbol:
 1339|    778|{
 1340|    778|    SEXP ref, klass;
 1341|    778|    R_RegisteredNativeSymbol *copy;
 1342|    778|    copy = (R_RegisteredNativeSymbol *) malloc(1 * sizeof(R_RegisteredNativeSymbol));
 1343|    778|    if(!copy) {
  ------------------
  |  Branch (1343:8): [True: 0, False: 778]
  ------------------
 1344|      0|	error(ngettext("cannot allocate memory for registered native symbol (%d byte)",
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 1345|      0|		       "cannot allocate memory for registered native symbol (%d bytes)",
 1346|      0|		      (int) sizeof(R_RegisteredNativeSymbol)),
 1347|      0|		      (int) sizeof(R_RegisteredNativeSymbol));
 1348|      0|    }
 1349|    778|    *copy = *symbol;
 1350|       |
 1351|    778|    PROTECT(ref = R_MakeExternalPtr(copy,
  ------------------
  |  |  357|    778|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1352|    778|				    install("registered native symbol"),
 1353|    778|				    R_NilValue));
 1354|    778|    R_RegisterCFinalizer(ref, freeRegisteredNativeSymbolCopy);
 1355|       |
 1356|    778|    PROTECT(klass = mkString("RegisteredNativeSymbol"));
  ------------------
  |  |  357|    778|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1357|    778|    setAttrib(ref, R_ClassSymbol, klass);
  ------------------
  |  | 1027|    778|#define setAttrib		Rf_setAttrib
  ------------------
 1358|       |
 1359|    778|    UNPROTECT(2);
  ------------------
  |  |  358|    778|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1360|    778|    return(ref);
 1361|    778|}
Rdynload.c:R_getRoutineSymbols:
 1612|     40|{
 1613|     40|    SEXP ans;
 1614|     40|    int i, num;
 1615|     40|    R_RegisteredNativeSymbol  sym;
 1616|     40|    DL_FUNC address = NULL;
 1617|       |
 1618|     40|    sym.dll = info;
 1619|     40|    sym.type =type;
 1620|       |
 1621|     40|    switch(type) {
 1622|     10|    case R_CALL_SYM: num = info->numCallSymbols;
  ------------------
  |  Branch (1622:5): [True: 10, False: 30]
  ------------------
 1623|     10|	break;
 1624|     10|    case R_C_SYM: num = info->numCSymbols;
  ------------------
  |  Branch (1624:5): [True: 10, False: 30]
  ------------------
 1625|     10|	break;
 1626|     10|    case R_FORTRAN_SYM: num = info->numFortranSymbols;
  ------------------
  |  Branch (1626:5): [True: 10, False: 30]
  ------------------
 1627|     10|	break;
 1628|     10|    case R_EXTERNAL_SYM: num = info->numExternalSymbols;
  ------------------
  |  Branch (1628:5): [True: 10, False: 30]
  ------------------
 1629|     10|	break;
 1630|      0|    default:
  ------------------
  |  Branch (1630:5): [True: 0, False: 40]
  ------------------
 1631|      0|	num = 0;
 1632|     40|    }
 1633|       |
 1634|     40|    PROTECT(ans = allocVector(VECSXP, num));
  ------------------
  |  |  357|     40|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1635|       |
 1636|    744|    for(i = 0; i < num ; i++) {
  ------------------
  |  Branch (1636:16): [True: 704, False: 40]
  ------------------
 1637|    704|	switch(type) {
 1638|    496|	case R_CALL_SYM:
  ------------------
  |  Branch (1638:2): [True: 496, False: 208]
  ------------------
 1639|    496|	    sym.symbol.call = &info->CallSymbols[i];
 1640|    496|	    address = sym.symbol.call->fun;
 1641|    496|	    break;
 1642|     22|	case R_C_SYM:
  ------------------
  |  Branch (1642:2): [True: 22, False: 682]
  ------------------
 1643|     22|	    sym.symbol.c = &info->CSymbols[i];
 1644|     22|	    address = sym.symbol.c->fun;
 1645|     22|	    break;
 1646|     42|	case R_FORTRAN_SYM:
  ------------------
  |  Branch (1646:2): [True: 42, False: 662]
  ------------------
 1647|     42|	    sym.symbol.fortran = &info->FortranSymbols[i];
 1648|     42|	    address = sym.symbol.fortran->fun;
 1649|     42|	    break;
 1650|    144|	case R_EXTERNAL_SYM:
  ------------------
  |  Branch (1650:2): [True: 144, False: 560]
  ------------------
 1651|    144|	    sym.symbol.external = &info->ExternalSymbols[i];
 1652|    144|	    address = sym.symbol.external->fun;
 1653|    144|	    break;
 1654|      0|	default:
  ------------------
  |  Branch (1654:2): [True: 0, False: 704]
  ------------------
 1655|      0|	    continue;
 1656|    704|	}
 1657|    704|	SET_VECTOR_ELT(ans, i, createRSymbolObject(NULL,  address, &sym, TRUE));/* XXX */
 1658|    704|    }
 1659|       |
 1660|     40|    setAttrib(ans, R_ClassSymbol, mkString("NativeRoutineList"));
  ------------------
  |  | 1027|     40|#define setAttrib		Rf_setAttrib
  ------------------
                  setAttrib(ans, R_ClassSymbol, mkString("NativeRoutineList"));
  ------------------
  |  | 1003|     40|#define mkString		Rf_mkString
  ------------------
 1661|     40|    UNPROTECT(1);
  ------------------
  |  |  358|     40|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1662|     40|    return(ans);
 1663|     40|}
Rdynload.c:get_package_CEntry_table:
 1730|     12|{
 1731|     12|    SEXP penv, pname;
 1732|       |
 1733|     12|    if (CEntryTable == NULL) {
  ------------------
  |  Branch (1733:9): [True: 2, False: 10]
  ------------------
 1734|      2|	CEntryTable = R_NewHashedEnv(R_NilValue, 0);
 1735|      2|	R_PreserveObject(CEntryTable);
 1736|      2|    }
 1737|     12|    pname = install(package);
  ------------------
  |  |  934|     12|#define install			Rf_install
  ------------------
 1738|     12|    penv = R_findVarInFrame(CEntryTable, pname);
 1739|     12|    if (penv == R_UnboundValue) {
  ------------------
  |  Branch (1739:9): [True: 2, False: 10]
  ------------------
 1740|      2|	penv = R_NewHashedEnv(R_NilValue, 0);
 1741|      2|	defineVar(pname, penv, CEntryTable);
  ------------------
  |  |  905|      2|#define defineVar		Rf_defineVar
  ------------------
 1742|      2|    }
 1743|     12|    return penv;
 1744|     12|}

process_system_Renviron:
  354|      2|{
  355|      2|    char *buf;
  356|      2|    int res;
  357|      2|    size_t needed =  strlen(R_Home) + strlen("/etc/Renviron") + 1;
  358|       |
  359|      2|#ifdef R_ARCH
  360|      2|    needed += strlen(R_ARCH) + 1;
  ------------------
  |  | 1085|      2|#define R_ARCH ""
  ------------------
  361|      2|#endif
  362|       |
  363|      2|#ifdef Unix
  364|      2|    if(needed > R_PATH_MAX) {
  ------------------
  |  | 1150|      2|# define R_PATH_MAX PATH_MAX
  ------------------
  |  Branch (364:8): [True: 0, False: 2]
  ------------------
  365|      0|	Renviron_warning("path to system Renviron is too long: skipping");
  366|      0|	return;
  367|      0|    }
  368|      2|#endif
  369|      2|    buf = (char *) Renviron_malloc(needed);
  370|       |
  371|      2|#ifdef R_ARCH
  372|      2|    strcpy(buf, R_Home);
  373|      2|    strcat(buf, "/etc/");
  374|      2|    strcat(buf, R_ARCH);
  ------------------
  |  | 1085|      2|#define R_ARCH ""
  ------------------
  375|      2|    strcat(buf, "/Renviron");
  376|       |#else
  377|       |    strcpy(buf, R_Home);
  378|       |    strcat(buf, "/etc/Renviron");
  379|       |#endif
  380|      2|    res = process_Renviron(buf);
  381|      2|    free(buf);
  382|      2|    if (!res)
  ------------------
  |  Branch (382:9): [True: 0, False: 2]
  ------------------
  383|      0|	Renviron_warning("cannot find system Renviron");
  384|      2|}
Renviron.c:Renviron_malloc:
  104|     42|{
  105|     42|    void *buf = malloc(size);
  106|     42|    if(!buf) Renviron_error("allocation failure in reading Renviron");
  ------------------
  |  Branch (106:8): [True: 0, False: 42]
  ------------------
  107|     42|    return buf;
  108|     42|}
Renviron.c:process_Renviron:
  273|      2|{
  274|      2|    FILE *fp;
  275|       |
  276|      2|    if (!filename) return 0;
  ------------------
  |  Branch (276:9): [True: 0, False: 2]
  ------------------
  277|       |#ifdef RENVIRON_WIN32_STANDALONE
  278|       |    fp = fopen(filename, "rt");
  279|       |#else
  280|      2|    fp = R_fopen(filename, "r");
  281|      2|#endif
  282|      2|    if (!fp) return 0;
  ------------------
  |  Branch (282:9): [True: 0, False: 2]
  ------------------
  283|       |
  284|      2|    char sm[BUF_SIZE], msg[MSG_SIZE];
  285|      2|    const char *line_prefix = "\n      ";
  286|      2|    const char *ignored_msg = "\n   They were ignored\n";
  287|      2|    const char *truncated_msg = "[... truncated]";
  288|      2|    const char *too_long = " (too long)";
  289|      2|    int errs = 0;
  290|       |
  291|    110|    while(fgets(sm, BUF_SIZE, fp)) {
  ------------------
  |  |  173|    110|#define BUF_SIZE 100000
  ------------------
  |  Branch (291:11): [True: 108, False: 2]
  ------------------
  292|    108|	sm[BUF_SIZE-1] = '\0'; /* should not be needed */
  ------------------
  |  |  173|    108|#define BUF_SIZE 100000
  ------------------
  293|       |	/* embedded nulls are not supported */
  294|    108|	int complete_line = feof(fp) || Renviron_strchr(sm, '\n');
  ------------------
  |  |   82|    108|# define Renviron_strchr Rf_strchr
  ------------------
  |  Branch (294:22): [True: 0, False: 108]
  |  Branch (294:34): [True: 108, False: 0]
  ------------------
  295|    108|	char *s = rmspace(sm), *p;
  296|    108|	if(strlen(s) == 0 || s[0] == '#') continue;
  ------------------
  |  Branch (296:5): [True: 10, False: 98]
  |  Branch (296:23): [True: 54, False: 44]
  ------------------
  297|     44|	if(!(p = Renviron_strchr(s, '=')) || !complete_line) {
  ------------------
  |  |   82|     44|# define Renviron_strchr Rf_strchr
  ------------------
  |  Branch (297:5): [True: 0, False: 44]
  |  Branch (297:39): [True: 0, False: 44]
  ------------------
  298|      0|	    if(!errs) {
  ------------------
  |  Branch (298:9): [True: 0, False: 0]
  ------------------
  299|      0|		errs = 1;
  300|      0|		Renviron_snprintf(msg, MSG_SIZE,
  ------------------
  |  |   83|      0|# define Renviron_snprintf Rsnprintf_mbcs
  ------------------
              		Renviron_snprintf(msg, MSG_SIZE,
  ------------------
  |  |  266|      0|#define MSG_SIZE 2048
  ------------------
  301|      0|			       "\n   File %s contains invalid line(s)",
  302|      0|		               filename);
  303|      0|	    }
  304|      0|	    if (strlen(msg) + strlen(line_prefix) + strlen(s) +
  ------------------
  |  Branch (304:10): [True: 0, False: 0]
  ------------------
  305|      0|	        strlen(ignored_msg) < MSG_SIZE) {
  ------------------
  |  |  266|      0|#define MSG_SIZE 2048
  ------------------
  306|       |
  307|      0|		strcat(msg, line_prefix);
  308|      0|		strcat(msg, s);
  309|      0|	    } else if (strlen(msg) + strlen(line_prefix) +
  ------------------
  |  Branch (309:17): [True: 0, False: 0]
  ------------------
  310|      0|		                45 + strlen(truncated_msg) +
  311|      0|                                     strlen(ignored_msg) < MSG_SIZE) {
  ------------------
  |  |  266|      0|#define MSG_SIZE 2048
  ------------------
  312|      0|		strcat(msg, line_prefix);
  313|      0|		strncat(msg, s, 45);
  314|      0|#ifndef RENVIRON_WIN32_STANDALONE
  315|      0|		mbcsTruncateToValid(msg);
  316|      0|#endif
  317|      0|		strcat(msg, truncated_msg);
  318|      0|	    }
  319|      0|	    if (!complete_line) {
  ------------------
  |  Branch (319:10): [True: 0, False: 0]
  ------------------
  320|      0|		if (strlen(msg) + strlen(too_long) +
  ------------------
  |  Branch (320:7): [True: 0, False: 0]
  ------------------
  321|      0|		    strlen(ignored_msg) < MSG_SIZE) {
  ------------------
  |  |  266|      0|#define MSG_SIZE 2048
  ------------------
  322|       |
  323|      0|		    strcat(msg, too_long);
  324|      0|		}
  325|       |		/* skip the rest of the line */
  326|      0|		while(!complete_line && fgets(sm, BUF_SIZE, fp)) {
  ------------------
  |  |  173|      0|#define BUF_SIZE 100000
  ------------------
  |  Branch (326:9): [True: 0, False: 0]
  |  Branch (326:27): [True: 0, False: 0]
  ------------------
  327|      0|		    sm[BUF_SIZE-1] = '\0'; /* should not be needed */
  ------------------
  |  |  173|      0|#define BUF_SIZE 100000
  ------------------
  328|      0|		    complete_line = feof(fp) || Renviron_strchr(sm, '\n');
  ------------------
  |  |   82|      0|# define Renviron_strchr Rf_strchr
  ------------------
  |  Branch (328:23): [True: 0, False: 0]
  |  Branch (328:35): [True: 0, False: 0]
  ------------------
  329|      0|		}
  330|      0|		if (!complete_line)
  ------------------
  |  Branch (330:7): [True: 0, False: 0]
  ------------------
  331|      0|		    break; /* error or EOF at line start */
  332|      0|	    }
  333|      0|	    continue;
  334|      0|	}
  335|     44|	*p = '\0';
  336|     44|	char* lhs = rmspace(s),
  337|     44|	    * rhs = findterm(rmspace(p+1));
  338|       |	/* set lhs = rhs */
  339|     44|	if(strlen(lhs) && strlen(rhs)) Putenv(lhs, rhs);
  ------------------
  |  Branch (339:5): [True: 44, False: 0]
  |  Branch (339:20): [True: 40, False: 4]
  ------------------
  340|     44|    }
  341|      2|    fclose(fp);
  342|      2|    if (errs) {
  ------------------
  |  Branch (342:9): [True: 0, False: 2]
  ------------------
  343|      0|	if (strlen(msg) + strlen(ignored_msg) < MSG_SIZE)
  ------------------
  |  |  266|      0|#define MSG_SIZE 2048
  ------------------
  |  Branch (343:6): [True: 0, False: 0]
  ------------------
  344|      0|	   strcat(msg, ignored_msg);
  345|      0|	Renviron_warning(msg);
  346|      0|    }
  347|      2|    return 1;
  348|      2|}
Renviron.c:rmspace:
  113|    240|{
  114|    240|    ssize_t i; // to be safe
  115|       |
  116|    348|    for (i = strlen(s) - 1; i >= 0 && isspace((int)s[i]); i--) s[i] = '\0';
  ------------------
  |  Branch (116:29): [True: 338, False: 10]
  |  Branch (116:39): [True: 108, False: 230]
  ------------------
  117|    240|    for (i = 0; isspace((int)s[i]); i++);
  ------------------
  |  Branch (117:17): [True: 0, False: 240]
  ------------------
  118|    240|    return s + i;
  119|    240|}
Renviron.c:findterm:
  175|     44|{
  176|     44|    char *p, *q, *r2, *ss=s;
  177|     44|    static char ans[BUF_SIZE];
  178|       |
  179|     44|    if(!strlen(s)) return "";
  ------------------
  |  Branch (179:8): [True: 0, False: 44]
  ------------------
  180|     44|    ans[0] = '\0';
  181|     86|    while(1) {
  ------------------
  |  Branch (181:11): [True: 86, Folded]
  ------------------
  182|       |	/* Look for ${...}, taking care to look for inner matches */
  183|     86|	p = Renviron_strchr(s, '$');
  ------------------
  |  |   82|     86|# define Renviron_strchr Rf_strchr
  ------------------
  184|     86|	if(!p || p[1] != '{') break;
  ------------------
  |  Branch (184:5): [True: 44, False: 42]
  |  Branch (184:11): [True: 0, False: 42]
  ------------------
  185|     42|	q = findRbrace(p+2);
  186|     42|	if(!q) break;
  ------------------
  |  Branch (186:5): [True: 0, False: 42]
  ------------------
  187|       |	/* copy over leading part */
  188|     42|	size_t nans = strlen(ans);
  189|     42|	strncat(ans, s, (size_t) (p - s)); ans[nans + p - s] = '\0';
  190|     42|	char r[q - p + 2];
  191|     42|	strncpy(r, p, (size_t) (q - p + 1));
  192|     42|	r[q - p + 1] = '\0';
  193|     42|	r2 = subterm(r);
  194|     42|	if(strlen(ans) + strlen(r2) < BUF_SIZE) strcat(ans, r2); else return ss;
  ------------------
  |  |  173|     42|#define BUF_SIZE 100000
  ------------------
  |  Branch (194:5): [True: 42, False: 0]
  ------------------
  195|       |	/* now repeat on the tail */
  196|     42|	s = q+1;
  197|     42|    }
  198|     44|    if(strlen(ans) + strlen(s) < BUF_SIZE) strcat(ans, s); else return ss;
  ------------------
  |  |  173|     44|#define BUF_SIZE 100000
  ------------------
  |  Branch (198:8): [True: 44, False: 0]
  ------------------
  199|     44|    return ans;
  200|     44|}
Renviron.c:findRbrace:
  156|     42|{
  157|     42|    char *p = s, *pl, *pr;
  158|     42|    int nl = 0, nr = 0;
  159|       |
  160|     92|    while(nr <= nl) {
  ------------------
  |  Branch (160:11): [True: 50, False: 42]
  ------------------
  161|     50|	pl = Renviron_strchr(p, '{');
  ------------------
  |  |   82|     50|# define Renviron_strchr Rf_strchr
  ------------------
  162|     50|	pr = Renviron_strchr(p, '}');
  ------------------
  |  |   82|     50|# define Renviron_strchr Rf_strchr
  ------------------
  163|     50|	if(!pr) return NULL;
  ------------------
  |  Branch (163:5): [True: 0, False: 50]
  ------------------
  164|     50|	if(!pl || pr < pl) {
  ------------------
  |  Branch (164:5): [True: 46, False: 4]
  |  Branch (164:12): [True: 0, False: 4]
  ------------------
  165|     46|	    p = pr+1; nr++;
  166|     46|	} else {
  167|      4|	    p = pl+1; nl++;
  168|      4|	}
  169|     50|    }
  170|     42|    return pr;
  171|     42|}
Renviron.c:subterm:
  126|     64|{
  127|     64|    char *p, *q;
  128|     64|    int colon = 0;
  129|       |
  130|     64|    if(strncmp(s, "${", 2)) return s;
  ------------------
  |  Branch (130:8): [True: 20, False: 44]
  ------------------
  131|     44|    if(s[strlen(s) - 1] != '}') return s;
  ------------------
  |  Branch (131:8): [True: 0, False: 44]
  ------------------
  132|       |    /*  remove leading ${ and final } */
  133|     44|    s[strlen(s) - 1] = '\0';
  134|     44|    s += 2;
  135|     44|    s = rmspace(s);
  136|     44|    if(!strlen(s)) return "";
  ------------------
  |  Branch (136:8): [True: 0, False: 44]
  ------------------
  137|     44|    p = Renviron_strchr(s, '-');
  ------------------
  |  |   82|     44|# define Renviron_strchr Rf_strchr
  ------------------
  138|     44|    if(p) {
  ------------------
  |  Branch (138:8): [True: 42, False: 2]
  ------------------
  139|     42|	q = p + 1; /* start of value */
  140|     42|	if(p - s > 1 && *(p-1) == ':') {
  ------------------
  |  Branch (140:5): [True: 42, False: 0]
  |  Branch (140:18): [True: 4, False: 38]
  ------------------
  141|      4|	    colon = 1;
  142|      4|	    *(p-1) = '\0';
  143|     38|	} else *p = '\0';
  144|     42|    } else q = NULL;
  145|     44|    p = getenv(s);
  146|     44|    if(colon) {
  ------------------
  |  Branch (146:8): [True: 4, False: 40]
  ------------------
  147|      4|	if(p && strlen(p)) return p; /* variable was set and non-empty */
  ------------------
  |  Branch (147:5): [True: 2, False: 2]
  |  Branch (147:10): [True: 2, False: 0]
  ------------------
  148|     40|    } else {
  149|     40|	if(p) return p; /* variable was set */
  ------------------
  |  Branch (149:5): [True: 19, False: 21]
  ------------------
  150|     40|    }
  151|     23|    return q ? subterm(q) : (char *) "";
  ------------------
  |  Branch (151:12): [True: 22, False: 1]
  ------------------
  152|     44|}
Renviron.c:Putenv:
  203|     40|{
  204|     40|    char *buf, *value, *p, *q, quote='\0';
  205|     40|    int inquote = 0;
  206|     40|    int failed = 0;
  207|       |
  208|     40|#ifdef HAVE_SETENV
  209|     40|    buf = (char *) Renviron_malloc((strlen(b) + 1) * sizeof(char));
  210|     40|    value = buf;
  211|       |#else
  212|       |    buf = (char *) Renviron_malloc((strlen(a) + strlen(b) + 2) * sizeof(char));
  213|       |    strcpy(buf, a); strcat(buf, "=");
  214|       |    value = buf+strlen(buf);
  215|       |#endif
  216|       |
  217|       |    /* now process the value */
  218|    602|    for(p = b, q = value; *p; p++) {
  ------------------
  |  Branch (218:27): [True: 562, False: 40]
  ------------------
  219|       |	/* remove quotes around sections, preserve \ inside quotes */
  220|    562|	if(!inquote && (*p == '"' || *p == '\'') &&
  ------------------
  |  Branch (220:5): [True: 331, False: 231]
  |  Branch (220:18): [True: 0, False: 331]
  |  Branch (220:31): [True: 21, False: 310]
  ------------------
  221|     21|	   (p == b || *(p-1) != '\\')) {
  ------------------
  |  Branch (221:6): [True: 21, False: 0]
  |  Branch (221:16): [True: 0, False: 0]
  ------------------
  222|       |
  223|     21|	    inquote = 1;
  224|     21|	    quote = *p;
  225|     21|	    continue;
  226|     21|	}
  227|    541|	if(inquote && *p == quote && *(p-1) != '\\') {
  ------------------
  |  Branch (227:5): [True: 231, False: 310]
  |  Branch (227:16): [True: 21, False: 210]
  |  Branch (227:31): [True: 21, False: 0]
  ------------------
  228|     21|	    inquote = 0;
  229|     21|	    continue;
  230|     21|	}
  231|    520|	if(!inquote && *p == '\\') {
  ------------------
  |  Branch (231:5): [True: 310, False: 210]
  |  Branch (231:17): [True: 0, False: 310]
  ------------------
  232|      0|	    if(*(p+1) == '\n') p++;
  ------------------
  |  Branch (232:9): [True: 0, False: 0]
  ------------------
  233|      0|	    else if(*(p+1) == '\\') *q++ = *p;
  ------------------
  |  Branch (233:14): [True: 0, False: 0]
  ------------------
  234|      0|	    continue;
  235|      0|	}
  236|    520|	if(inquote && *p == '\\' && *(p+1) == quote) continue;
  ------------------
  |  Branch (236:5): [True: 210, False: 310]
  |  Branch (236:16): [True: 0, False: 210]
  |  Branch (236:30): [True: 0, False: 0]
  ------------------
  237|    520|	*q++ = *p;
  238|    520|    }
  239|     40|    *q = '\0';
  240|     40|#ifdef HAVE_SETENV
  241|     40|    if(setenv(a, buf, 1))
  ------------------
  |  Branch (241:8): [True: 0, False: 40]
  ------------------
  242|      0|	failed = 1;
  243|     40|    free(buf);
  244|       |#elif defined(HAVE_PUTENV)
  245|       |    if(putenv(buf))
  246|       |	failed = 1;
  247|       |    /* no free here: storage remains in use */
  248|       |#else
  249|       |    /* pretty pointless, and was not tested prior to 2.3.0 */
  250|       |    free(buf);
  251|       |#endif
  252|     40|    if (failed) {
  ------------------
  |  Branch (252:9): [True: 0, False: 40]
  ------------------
  253|      0|	char buf[1024];
  254|      0|	Renviron_snprintf(buf, 1024,
  ------------------
  |  |   83|      0|# define Renviron_snprintf Rsnprintf_mbcs
  ------------------
  255|       |#ifdef RENVIRON_WIN32_STANDALONE
  256|       |	                  "Problem in setting variable '%s' in Renviron",
  257|       |#else
  258|       |	                  _("problem in setting variable '%s' in Renviron"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  259|      0|#endif
  260|      0|	                  a);
  261|      0|	Renviron_warning(buf);
  262|      0|    }
  263|     40|}

R_compact_intrange:
  584|  3.28k|{
  585|  3.28k|    R_xlen_t n = n1 <= n2 ? n2 - n1 + 1 : n1 - n2 + 1;
  ------------------
  |  Branch (585:18): [True: 1.26k, False: 2.02k]
  ------------------
  586|       |
  587|  3.28k|    if (n >= R_XLEN_T_MAX)
  ------------------
  |  |   76|  3.28k|# define R_XLEN_T_MAX 4503599627370496
  ------------------
  |  Branch (587:9): [True: 0, False: 3.28k]
  ------------------
  588|      0|	error("result would be too long a vector");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  589|       |
  590|  3.28k|    if (n1 <= INT_MIN || n1 > INT_MAX || n2 <= INT_MIN || n2 > INT_MAX)
  ------------------
  |  Branch (590:9): [True: 0, False: 3.28k]
  |  Branch (590:26): [True: 0, False: 3.28k]
  |  Branch (590:42): [True: 0, False: 3.28k]
  |  Branch (590:59): [True: 0, False: 3.28k]
  ------------------
  591|      0|	return new_compact_realseq(n, n1, n1 <= n2 ? 1 : -1);
  ------------------
  |  Branch (591:36): [True: 0, False: 0]
  ------------------
  592|  3.28k|    else
  593|  3.28k|	return new_compact_intseq(n, (int) n1, n1 <= n2 ? 1 : -1);
  ------------------
  |  Branch (593:41): [True: 1.26k, False: 2.02k]
  ------------------
  594|  3.28k|}
R_deferred_coerceToString:
  885|  1.43k|{
  886|  1.43k|    SEXP ans = R_NilValue;
  887|  1.43k|    switch (TYPEOF(v)) {
  888|    705|    case INTSXP:
  ------------------
  |  |  123|    705|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (888:5): [True: 705, False: 725]
  ------------------
  889|  1.43k|    case REALSXP:
  ------------------
  |  |  124|  1.43k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (889:5): [True: 725, False: 705]
  ------------------
  890|  1.43k|	PROTECT(v); /* may not be needed, but to be safe ... */
  ------------------
  |  |  357|  1.43k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  891|  1.43k|	if (info == NULL) {
  ------------------
  |  Branch (891:6): [True: 1.43k, False: 0]
  ------------------
  892|  1.43k|	    PrintDefaults(); /* to set R_print from options */
  ------------------
  |  | 1975|  1.43k|# define PrintDefaults		Rf_PrintDefaults
  ------------------
  893|  1.43k|	    info = ScalarInteger(R_print.scipen);
  ------------------
  |  | 1022|  1.43k|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  894|  1.43k|	    if (strcmp(OutDec, ".")) {
  ------------------
  |  Branch (894:10): [True: 0, False: 1.43k]
  ------------------
  895|       |		/* non-default OutDec setting -- attach as an attribute */
  896|      0|		PROTECT(info);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  897|      0|		if (R_OutDecSym == NULL)
  ------------------
  |  Branch (897:7): [True: 0, False: 0]
  ------------------
  898|      0|		    R_OutDecSym = install("OutDec");
  ------------------
  |  |  934|      0|#define install			Rf_install
  ------------------
  899|      0|		setAttrib(info, R_OutDecSym, GetOption1(R_OutDecSym));
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
              		setAttrib(info, R_OutDecSym, GetOption1(R_OutDecSym));
  ------------------
  |  |  928|      0|#define GetOption1		Rf_GetOption1
  ------------------
  900|      0|		UNPROTECT(1); /* info */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  901|      0|	    }
  902|  1.43k|	}
  903|  1.43k|	MARK_NOT_MUTABLE(v); /* make sure it can't change once captured */
  904|  1.43k|	ans = PROTECT(MAKE_DEFERRED_STRING_STATE(v, info));
  ------------------
  |  |  357|  1.43k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  905|  1.43k|	ans = R_new_altrep(R_deferred_string_class, ans, R_NilValue);
  906|  1.43k|	UNPROTECT(2); /* ans, v */
  ------------------
  |  |  358|  1.43k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  907|  1.43k|	break;
  908|      0|    default:
  ------------------
  |  Branch (908:5): [True: 0, False: 1.43k]
  ------------------
  909|      0|	error("unsupported type for deferred string coercion");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  910|  1.43k|    }
  911|  1.43k|    return ans;
  912|  1.43k|}
R_tryWrap:
 2084|      8|{
 2085|      8|    return wrap_meta(x, UNKNOWN_SORTEDNESS, FALSE);
 2086|      8|}
R_tryUnwrap:
 2108|      8|{
 2109|      8|    if (! MAYBE_SHARED(x) && is_wrapper(x) &&
  ------------------
  |  Branch (2109:9): [True: 8, False: 0]
  |  Branch (2109:30): [True: 8, False: 0]
  ------------------
 2110|      8|	WRAPPER_SORTED(x) == UNKNOWN_SORTEDNESS && ! WRAPPER_NO_NA(x)) {
  ------------------
  |  | 1453|      8|#define WRAPPER_SORTED(x) INTEGER(WRAPPER_METADATA(x))[0]
  |  |  ------------------
  |  |  |  | 1451|      8|#define WRAPPER_METADATA(x) R_altrep_data2(x)
  |  |  ------------------
  ------------------
              	WRAPPER_SORTED(x) == UNKNOWN_SORTEDNESS && ! WRAPPER_NO_NA(x)) {
  ------------------
  |  | 1454|      8|#define WRAPPER_NO_NA(x) INTEGER(WRAPPER_METADATA(x))[1]
  |  |  ------------------
  |  |  |  | 1451|      8|#define WRAPPER_METADATA(x) R_altrep_data2(x)
  |  |  ------------------
  ------------------
  |  Branch (2110:2): [True: 8, False: 0]
  |  Branch (2110:45): [True: 8, False: 0]
  ------------------
 2111|      8|	SEXP data = WRAPPER_WRAPPED(x);
  ------------------
  |  | 1449|      8|#define WRAPPER_WRAPPED(x) R_altrep_data1(x)
  ------------------
 2112|      8|	if (! MAYBE_SHARED(data)) {
  ------------------
  |  Branch (2112:6): [True: 8, False: 0]
  ------------------
 2113|      8|	    SET_ATTRIB(data, ATTRIB(x));
 2114|      8|	    SET_OBJECT(data, OBJECT(x));
 2115|      8|	    IS_S4_OBJECT(x) ? SET_S4_OBJECT(data) : UNSET_S4_OBJECT(data);
  ------------------
  |  Branch (2115:6): [True: 0, False: 8]
  ------------------
 2116|       |
 2117|       |	    /* Clear the fields to drop reference counts and set the
 2118|       |	       type to LISTSXP to limit errors in case the object is
 2119|       |	       still live. */
 2120|      8|	    void ALTREP_SET_TYPEOF(SEXP, int); /* in memory.c */
 2121|      8|	    ALTREP_SET_TYPEOF(x, LISTSXP);
  ------------------
  |  |  113|      8|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
 2122|      8|	    SETALTREP(x, 0);
 2123|      8|	    SET_ATTRIB(x, R_NilValue);
 2124|      8|	    SETCAR(x, R_NilValue);
 2125|      8|	    SETCDR(x, R_NilValue);
 2126|      8|	    SET_TAG(x, R_NilValue);
 2127|      8|	    SET_OBJECT(x, 0);
 2128|      8|	    UNSET_S4_OBJECT(x);
 2129|       |	    /* NAMED should be zero */
 2130|       |
 2131|      8|	    return data;
 2132|      8|	}
 2133|      8|    }
 2134|      0|    return x;
 2135|      8|}
R_init_altrep:
 2143|      2|{
 2144|      2|    InitCompactIntegerClass();
 2145|      2|    InitCompactRealClass();
 2146|      2|    InitDefferredStringClass();
 2147|      2|    InitMmapIntegerClass(NULL);
 2148|      2|    InitMmapRealClass(NULL);
 2149|      2|    InitWrapIntegerClass(NULL);
 2150|      2|    InitWrapLogicalClass(NULL);
 2151|      2|    InitWrapRealClass(NULL);
 2152|      2|    InitWrapComplexClass(NULL);
 2153|      2|    InitWrapRawClass(NULL);
 2154|      2|    InitWrapStringClass(NULL);
 2155|       |    InitWrapListClass(NULL);
 2156|      2|}
altclasses.c:new_compact_intseq:
  321|  3.29k|{
  322|  3.29k|    if (n == 1) return ScalarInteger(n1);
  ------------------
  |  | 1022|    562|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  |  Branch (322:9): [True: 562, False: 2.73k]
  ------------------
  323|       |
  324|  2.73k|    if (inc != 1 && inc != -1)
  ------------------
  |  Branch (324:9): [True: 2.02k, False: 713]
  |  Branch (324:21): [True: 0, False: 2.02k]
  ------------------
  325|      0|	error("compact sequences with increment %d not supported yet", inc);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  326|       |
  327|       |    /* info used REALSXP to allow for long vectors */
  328|  2.73k|    SEXP info = allocVector(REALSXP, 3);
  ------------------
  |  |  875|  2.73k|#define allocVector		Rf_allocVector
  ------------------
                  SEXP info = allocVector(REALSXP, 3);
  ------------------
  |  |  124|  2.73k|#define REALSXP	    14	  /* real variables */
  ------------------
  329|  2.73k|    REAL0(info)[0] = (double) n;
  330|  2.73k|    REAL0(info)[1] = (double) n1;
  331|  2.73k|    REAL0(info)[2] = (double) inc;
  332|       |
  333|  2.73k|    SEXP ans = R_new_altrep(R_compact_intseq_class, info, R_NilValue);
  334|  2.73k|#ifndef COMPACT_INTSEQ_MUTABLE
  335|  2.73k|    MARK_NOT_MUTABLE(ans); /* force duplicate on modify */
  336|  2.73k|#endif
  337|       |
  338|  2.73k|    return ans;
  339|  3.29k|}
altclasses.c:wrap_meta:
 2034|      8|{
 2035|      8|    switch(TYPEOF(x)) {
 2036|      0|    case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (2036:5): [True: 0, False: 8]
  ------------------
 2037|      0|    case REALSXP:
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (2037:5): [True: 0, False: 8]
  ------------------
 2038|      0|    case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (2038:5): [True: 0, False: 8]
  ------------------
 2039|      0|    case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (2039:5): [True: 0, False: 8]
  ------------------
 2040|      0|    case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (2040:5): [True: 0, False: 8]
  ------------------
 2041|      8|    case STRSXP:
  ------------------
  |  |  126|      8|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (2041:5): [True: 8, False: 0]
  ------------------
 2042|      8|    case VECSXP: break;
  ------------------
  |  |  131|      8|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (2042:5): [True: 0, False: 8]
  ------------------
 2043|      0|    default: return x;
  ------------------
  |  Branch (2043:5): [True: 0, False: 8]
  ------------------
 2044|      8|    }
 2045|       |
 2046|       |    /* avoid wrappers of wrappers, at least in some cases */
 2047|      8|    if (is_wrapper(x) && srt == UNKNOWN_SORTEDNESS && no_na == FALSE)
  ------------------
  |  Branch (2047:9): [True: 0, False: 8]
  |  Branch (2047:26): [True: 0, False: 0]
  |  Branch (2047:55): [True: 0, False: 0]
  ------------------
 2048|      0|	return shallow_duplicate(x);
  ------------------
  |  | 1030|      0|#define shallow_duplicate	Rf_shallow_duplicate
  ------------------
 2049|       |
 2050|       |#ifndef WRAPATTRIB
 2051|       |    if (ATTRIB(x) != R_NilValue)
 2052|       |	/* For objects without references we could move the attributes
 2053|       |	   to the wrapper. For objects with references the attributes
 2054|       |	   would have to be shallow duplicated at least. The object/S4
 2055|       |	   bits would need to be moved as well.	*/
 2056|       |	/* For now, just return the original object. */
 2057|       |	return x;
 2058|       |#endif
 2059|       |
 2060|      8|    if (!KNOWN_SORTED(srt) && srt != KNOWN_UNSORTED &&
  ------------------
  |  | 1162|     16|#define KNOWN_SORTED(sorted) (sorted == SORTED_DECR ||			\
  |  |  ------------------
  |  |  |  Branch (1162:31): [True: 0, False: 8]
  |  |  ------------------
  |  | 1163|      8|			      sorted == SORTED_INCR ||			\
  |  |  ------------------
  |  |  |  Branch (1163:10): [True: 0, False: 8]
  |  |  ------------------
  |  | 1164|      8|			      sorted == SORTED_DECR_NA_1ST ||		\
  |  |  ------------------
  |  |  |  Branch (1164:10): [True: 0, False: 8]
  |  |  ------------------
  |  | 1165|     16|			      sorted == SORTED_INCR_NA_1ST)
  |  |  ------------------
  |  |  |  Branch (1165:10): [True: 0, False: 8]
  |  |  ------------------
  ------------------
  |  Branch (2060:31): [True: 8, False: 0]
  ------------------
 2061|      8|	srt != UNKNOWN_SORTEDNESS)
  ------------------
  |  Branch (2061:2): [True: 0, False: 8]
  ------------------
 2062|      0|	error("srt must be -2, -1, 0, or +1, +2, or NA");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 2063|       |    
 2064|      8|    if (no_na < 0 || no_na > 1)
  ------------------
  |  Branch (2064:9): [True: 0, False: 8]
  |  Branch (2064:22): [True: 0, False: 8]
  ------------------
 2065|      0|	error("no_na must be 0 or +1");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 2066|       |
 2067|      8|    SEXP meta = allocVector(INTSXP, NMETA);
  ------------------
  |  |  875|      8|#define allocVector		Rf_allocVector
  ------------------
                  SEXP meta = allocVector(INTSXP, NMETA);
  ------------------
  |  |  123|      8|#define INTSXP	    13	  /* integer vectors */
  ------------------
                  SEXP meta = allocVector(INTSXP, NMETA);
  ------------------
  |  | 1436|      8|#define NMETA 2
  ------------------
 2068|      8|    INTEGER(meta)[0] = srt;
 2069|      8|    INTEGER(meta)[1] = no_na;
 2070|       |
 2071|      8|    return make_wrapper(x, meta);
 2072|      8|}
altclasses.c:make_wrapper:
 1979|      8|{
 1980|       |    /* If x is itself a wrapper it might be a good idea to fuse */
 1981|      8|    R_altrep_class_t cls;
 1982|      8|    switch(TYPEOF(x)) {
 1983|      0|    case INTSXP: cls = wrap_integer_class; break;
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1983:5): [True: 0, False: 8]
  ------------------
 1984|      0|    case LGLSXP: cls = wrap_logical_class; break;
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (1984:5): [True: 0, False: 8]
  ------------------
 1985|      0|    case REALSXP: cls = wrap_real_class; break;
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1985:5): [True: 0, False: 8]
  ------------------
 1986|      0|    case CPLXSXP: cls = wrap_complex_class; break;
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (1986:5): [True: 0, False: 8]
  ------------------
 1987|      0|    case RAWSXP: cls = wrap_raw_class; break;
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (1987:5): [True: 0, False: 8]
  ------------------
 1988|      8|    case STRSXP: cls = wrap_string_class; break;
  ------------------
  |  |  126|      8|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1988:5): [True: 8, False: 0]
  ------------------
 1989|      0|    case VECSXP: cls = wrap_list_class; break;
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (1989:5): [True: 0, False: 8]
  ------------------
 1990|      0|    default: error("unsupported type");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  |  Branch (1990:5): [True: 0, False: 8]
  ------------------
 1991|      8|    }
 1992|       |
 1993|      8|    SEXP ans = R_new_altrep(cls, x, meta);
 1994|       |
 1995|      8|#define WRAPATTRIB
 1996|      8|#ifdef WRAPATTRIB
 1997|      8|    if (ATTRIB(x) != R_NilValue) {
  ------------------
  |  Branch (1997:9): [True: 8, False: 0]
  ------------------
 1998|       |	/* could just move attributes if there are no references to x */
 1999|      8|	PROTECT(ans);
  ------------------
  |  |  357|      8|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2000|      8|	SET_ATTRIB(ans, shallow_duplicate(ATTRIB(x)));
  ------------------
  |  | 1030|      8|#define shallow_duplicate	Rf_shallow_duplicate
  ------------------
 2001|      8|	SET_OBJECT(ans, OBJECT(x));
 2002|      8|	IS_S4_OBJECT(x) ? SET_S4_OBJECT(ans) : UNSET_S4_OBJECT(ans);
  ------------------
  |  Branch (2002:2): [True: 0, False: 8]
  ------------------
 2003|      8|	UNPROTECT(1); /* ans */
  ------------------
  |  |  358|      8|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2004|      8|    }
 2005|      8|#endif
 2006|       |
 2007|       |#ifndef SWITCH_TO_REFCNT
 2008|       |    if (MAYBE_REFERENCED(x))
 2009|       |	/* make sure no mutation can happen through another reference */
 2010|       |	MARK_NOT_MUTABLE(x);
 2011|       |#endif
 2012|       |
 2013|      8|    WRAPPER_UNLOCK_DATA(ans);
  ------------------
  |  | 1473|      8|#define WRAPPER_UNLOCK_DATA(x) WRAPPER_SET_DATA_LOCK(x, 0)
  |  |  ------------------
  |  |  |  | 1470|      8|#define WRAPPER_SET_DATA_LOCK(x, v) SET_PRSEEN(WRAPPER_METADATA(x), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1451|      8|#define WRAPPER_METADATA(x) R_altrep_data2(x)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2014|      8|    return ans;
 2015|      8|}
altclasses.c:is_wrapper:
 2018|     16|{
 2019|     16|    if (ALTREP(x))
  ------------------
  |  Branch (2019:9): [True: 8, False: 8]
  ------------------
 2020|      8|	switch(TYPEOF(x)) {
 2021|      0|	case INTSXP: return R_altrep_inherits(x, wrap_integer_class);
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (2021:2): [True: 0, False: 8]
  ------------------
 2022|      0|	case LGLSXP: return R_altrep_inherits(x, wrap_logical_class);
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (2022:2): [True: 0, False: 8]
  ------------------
 2023|      0|	case REALSXP: return R_altrep_inherits(x, wrap_real_class);
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (2023:2): [True: 0, False: 8]
  ------------------
 2024|      0|	case CPLXSXP: return R_altrep_inherits(x, wrap_complex_class);
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (2024:2): [True: 0, False: 8]
  ------------------
 2025|      0|	case RAWSXP: return R_altrep_inherits(x, wrap_raw_class);
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (2025:2): [True: 0, False: 8]
  ------------------
 2026|      8|	case STRSXP: return R_altrep_inherits(x, wrap_string_class);
  ------------------
  |  |  126|      8|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (2026:2): [True: 8, False: 0]
  ------------------
 2027|      0|	case VECSXP: return R_altrep_inherits(x, wrap_list_class);
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (2027:2): [True: 0, False: 8]
  ------------------
 2028|      0|	default: return FALSE;
  ------------------
  |  Branch (2028:2): [True: 0, False: 8]
  ------------------
 2029|      8|	}
 2030|      8|    else return FALSE;
 2031|     16|}
altclasses.c:InitCompactIntegerClass:
  290|      2|{
  291|      2|    R_altrep_class_t cls = R_make_altinteger_class("compact_intseq", "base",
  292|      2|						   NULL);
  293|      2|    R_compact_intseq_class = cls;
  294|       |
  295|       |    /* override ALTREP methods */
  296|      2|    R_set_altrep_Unserialize_method(cls, compact_intseq_Unserialize);
  297|      2|    R_set_altrep_Serialized_state_method(cls, compact_intseq_Serialized_state);
  298|      2|    R_set_altrep_Duplicate_method(cls, compact_intseq_Duplicate);
  299|      2|    R_set_altrep_Coerce_method(cls, compact_intseq_Coerce);
  300|      2|    R_set_altrep_Inspect_method(cls, compact_intseq_Inspect);
  301|      2|    R_set_altrep_Length_method(cls, compact_intseq_Length);
  302|       |
  303|       |    /* override ALTVEC methods */
  304|      2|    R_set_altvec_Dataptr_method(cls, compact_intseq_Dataptr);
  305|      2|    R_set_altvec_Dataptr_or_null_method(cls, compact_intseq_Dataptr_or_null);
  306|       |
  307|       |    /* override ALTINTEGER methods */
  308|      2|    R_set_altinteger_Elt_method(cls, compact_intseq_Elt);
  309|      2|    R_set_altinteger_Get_region_method(cls, compact_intseq_Get_region);
  310|      2|    R_set_altinteger_Is_sorted_method(cls, compact_intseq_Is_sorted);
  311|      2|    R_set_altinteger_No_NA_method(cls, compact_intseq_No_NA);
  312|      2|    R_set_altinteger_Sum_method(cls, compact_intseq_Sum);
  313|      2|}
altclasses.c:compact_intseq_Unserialize:
   80|     10|{
   81|     10|    if ((TYPEOF(state) != REALSXP && TYPEOF(state) != INTSXP) ||
  ------------------
  |  |  124|     20|#define REALSXP	    14	  /* real variables */
  ------------------
                  if ((TYPEOF(state) != REALSXP && TYPEOF(state) != INTSXP) ||
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (81:10): [True: 0, False: 10]
  |  Branch (81:38): [True: 0, False: 0]
  ------------------
   82|     10|	XLENGTH(state) < 3)
  ------------------
  |  Branch (82:2): [True: 0, False: 10]
  ------------------
   83|      0|	error("invalid compact_intseq serialized state");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
   84|       |
   85|       |    /* The values come from a possibly corrupt stream: check them before
   86|       |       converting to integer types.  INTSXP state is still accepted for
   87|       |       objects serialized by older R. */
   88|     10|    double v[3];
   89|     40|    for (int i = 0; i < 3; i++)
  ------------------
  |  Branch (89:21): [True: 30, False: 10]
  ------------------
   90|     30|	v[i] = TYPEOF(state) == REALSXP ? REAL0(state)[i] :
  ------------------
  |  |  124|     30|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (90:9): [True: 30, False: 0]
  ------------------
   91|     30|	    INTEGER0(state)[i] == NA_INTEGER ? NA_REAL : INTEGER0(state)[i];
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
              	    INTEGER0(state)[i] == NA_INTEGER ? NA_REAL : INTEGER0(state)[i];
  ------------------
  |  |   58|      0|#define NA_REAL		R_NaReal
  ------------------
  |  Branch (91:6): [True: 0, False: 0]
  ------------------
   92|     10|    double n = v[0], n1 = v[1], inc = v[2], last = n1 + (n - 1) * inc;
   93|     10|    if (! (n >= 0 && n <= R_XLEN_T_MAX && (inc == 1 || inc == -1) &&
  ------------------
  |  |   76|     20|# define R_XLEN_T_MAX 4503599627370496
  ------------------
  |  Branch (93:12): [True: 10, False: 0]
  |  Branch (93:22): [True: 10, False: 0]
  |  Branch (93:44): [True: 10, False: 0]
  |  Branch (93:56): [True: 0, False: 0]
  ------------------
   94|     10|	   n1 > INT_MIN && n1 <= INT_MAX &&
  ------------------
  |  Branch (94:5): [True: 10, False: 0]
  |  Branch (94:21): [True: 10, False: 0]
  ------------------
   95|     10|	   (n == 0 || (last > INT_MIN && last <= INT_MAX))))
  ------------------
  |  Branch (95:6): [True: 0, False: 10]
  |  Branch (95:17): [True: 10, False: 0]
  |  Branch (95:35): [True: 10, False: 0]
  ------------------
   96|      0|	error("invalid compact_intseq serialized state");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
   97|       |
   98|     10|    return new_compact_intseq((R_xlen_t) n, (int) n1, (int) inc);
   99|     10|}
altclasses.c:compact_intseq_Duplicate:
  120|    104|{
  121|    104|    R_xlen_t n = XLENGTH(x);
  122|    104|    SEXP val = allocVector(INTSXP, n);
  ------------------
  |  |  875|    104|#define allocVector		Rf_allocVector
  ------------------
                  SEXP val = allocVector(INTSXP, n);
  ------------------
  |  |  123|    104|#define INTSXP	    13	  /* integer vectors */
  ------------------
  123|    104|    INTEGER_GET_REGION(x, 0, n, INTEGER0(val));
  124|    104|    return val;
  125|    104|}
altclasses.c:compact_intseq_Coerce:
  102|     43|{
  103|       |#ifdef COMPACT_INTSEQ_MUTABLE
  104|       |    /* This drops through to standard coercion for expanded compact
  105|       |       vectors */
  106|       |    if (COMPACT_SEQ_EXPANDED(x) != R_NilValue)
  107|       |	return NULL;
  108|       |#endif
  109|     43|    if (type == REALSXP) {
  ------------------
  |  |  124|     43|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (109:9): [True: 0, False: 43]
  ------------------
  110|      0|	SEXP info = COMPACT_SEQ_INFO(x);
  ------------------
  |  |   47|      0|#define COMPACT_SEQ_INFO(x) R_altrep_data1(x)
  ------------------
  111|      0|	R_xlen_t n = COMPACT_INTSEQ_INFO_LENGTH(info);
  ------------------
  |  |   52|      0|#define COMPACT_INTSEQ_INFO_LENGTH(info) ((R_xlen_t) REAL0(info)[0])
  ------------------
  112|      0|	int n1 = COMPACT_INTSEQ_INFO_FIRST(info);
  ------------------
  |  |   53|      0|#define COMPACT_INTSEQ_INFO_FIRST(info) ((int) REAL0(info)[1])
  ------------------
  113|      0|	int inc = COMPACT_INTSEQ_INFO_INCR(info);
  ------------------
  |  |   54|      0|#define COMPACT_INTSEQ_INFO_INCR(info) ((int) REAL0(info)[2])
  ------------------
  114|      0|	return new_compact_realseq(n, n1, inc);
  115|      0|    }
  116|     43|    else return NULL;
  117|     43|}
altclasses.c:compact_intseq_Length:
  153|  20.1k|{
  154|  20.1k|    SEXP info = COMPACT_SEQ_INFO(x);
  ------------------
  |  |   47|  20.1k|#define COMPACT_SEQ_INFO(x) R_altrep_data1(x)
  ------------------
  155|  20.1k|    return COMPACT_INTSEQ_INFO_LENGTH(info);
  ------------------
  |  |   52|  20.1k|#define COMPACT_INTSEQ_INFO_LENGTH(info) ((R_xlen_t) REAL0(info)[0])
  ------------------
  156|  20.1k|}
altclasses.c:compact_intseq_Dataptr:
  159|  11.7k|{
  160|  11.7k|    if (COMPACT_SEQ_EXPANDED(x) == R_NilValue) {
  ------------------
  |  |   48|  11.7k|#define COMPACT_SEQ_EXPANDED(x) R_altrep_data2(x)
  ------------------
  |  Branch (160:9): [True: 2.44k, False: 9.30k]
  ------------------
  161|       |	/* no need to re-run if expanded data exists */
  162|  2.44k|	PROTECT(x);
  ------------------
  |  |  357|  2.44k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  163|  2.44k|	SEXP info = COMPACT_SEQ_INFO(x);
  ------------------
  |  |   47|  2.44k|#define COMPACT_SEQ_INFO(x) R_altrep_data1(x)
  ------------------
  164|  2.44k|	R_xlen_t n = COMPACT_INTSEQ_INFO_LENGTH(info);
  ------------------
  |  |   52|  2.44k|#define COMPACT_INTSEQ_INFO_LENGTH(info) ((R_xlen_t) REAL0(info)[0])
  ------------------
  165|  2.44k|	int n1 = COMPACT_INTSEQ_INFO_FIRST(info);
  ------------------
  |  |   53|  2.44k|#define COMPACT_INTSEQ_INFO_FIRST(info) ((int) REAL0(info)[1])
  ------------------
  166|  2.44k|	int inc = COMPACT_INTSEQ_INFO_INCR(info);
  ------------------
  |  |   54|  2.44k|#define COMPACT_INTSEQ_INFO_INCR(info) ((int) REAL0(info)[2])
  ------------------
  167|  2.44k|	SEXP val = allocVector(INTSXP, n);
  ------------------
  |  |  875|  2.44k|#define allocVector		Rf_allocVector
  ------------------
              	SEXP val = allocVector(INTSXP, n);
  ------------------
  |  |  123|  2.44k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  168|  2.44k|	int *data = INTEGER(val);
  169|       |
  170|  2.44k|	if (inc == 1) {
  ------------------
  |  Branch (170:6): [True: 424, False: 2.02k]
  ------------------
  171|       |	    /* compact sequences n1 : n2 with n1 <= n2 */
  172|  2.40k|	    for (R_xlen_t i = 0; i < n; i++)
  ------------------
  |  Branch (172:27): [True: 1.98k, False: 424]
  ------------------
  173|  1.98k|		data[i] = (int) (n1 + i);
  174|    424|	}
  175|  2.02k|	else if (inc == -1) {
  ------------------
  |  Branch (175:11): [True: 2.02k, False: 0]
  ------------------
  176|       |	    /* compact sequences n1 : n2 with n1 > n2 */
  177|   956k|	    for (R_xlen_t i = 0; i < n; i++)
  ------------------
  |  Branch (177:27): [True: 954k, False: 2.02k]
  ------------------
  178|   954k|		data[i] = (int) (n1 - i);
  179|  2.02k|	}
  180|      0|	else
  181|      0|	    error("compact sequences with increment %d not supported yet", inc);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  182|       |
  183|  2.44k|	SET_COMPACT_SEQ_EXPANDED(x, val);
  ------------------
  |  |   49|  2.44k|#define SET_COMPACT_SEQ_EXPANDED(x, v) R_set_altrep_data2(x, v)
  ------------------
  184|  2.44k|	UNPROTECT(1);
  ------------------
  |  |  358|  2.44k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  185|  2.44k|    }
  186|  11.7k|    return DATAPTR_RW(COMPACT_SEQ_EXPANDED(x));
  ------------------
  |  |   48|  11.7k|#define COMPACT_SEQ_EXPANDED(x) R_altrep_data2(x)
  ------------------
  187|  11.7k|}
altclasses.c:compact_intseq_Dataptr_or_null:
  190|    208|{
  191|    208|    SEXP val = COMPACT_SEQ_EXPANDED(x);
  ------------------
  |  |   48|    208|#define COMPACT_SEQ_EXPANDED(x) R_altrep_data2(x)
  ------------------
  192|    208|    return val == R_NilValue ? NULL : DATAPTR_RO(val);
  ------------------
  |  Branch (192:12): [True: 208, False: 0]
  ------------------
  193|    208|}
altclasses.c:compact_intseq_Elt:
  196|  1.56k|{
  197|  1.56k|    SEXP ex = COMPACT_SEQ_EXPANDED(x);
  ------------------
  |  |   48|  1.56k|#define COMPACT_SEQ_EXPANDED(x) R_altrep_data2(x)
  ------------------
  198|  1.56k|    if (ex != R_NilValue)
  ------------------
  |  Branch (198:9): [True: 0, False: 1.56k]
  ------------------
  199|      0|	return INTEGER0(ex)[i];
  200|  1.56k|    else {
  201|  1.56k|	SEXP info = COMPACT_SEQ_INFO(x);
  ------------------
  |  |   47|  1.56k|#define COMPACT_SEQ_INFO(x) R_altrep_data1(x)
  ------------------
  202|  1.56k|	int n1 = COMPACT_INTSEQ_INFO_FIRST(info);
  ------------------
  |  |   53|  1.56k|#define COMPACT_INTSEQ_INFO_FIRST(info) ((int) REAL0(info)[1])
  ------------------
  203|  1.56k|	int inc = COMPACT_INTSEQ_INFO_INCR(info);
  ------------------
  |  |   54|  1.56k|#define COMPACT_INTSEQ_INFO_INCR(info) ((int) REAL0(info)[2])
  ------------------
  204|  1.56k|	return (int) (n1 + inc * i);
  205|  1.56k|    }
  206|  1.56k|}
altclasses.c:compact_intseq_Get_region:
  214|    104|{
  215|       |    /* should not get here if x is already expanded */
  216|    104|    CHECK_NOT_EXPANDED(sx);
  ------------------
  |  |  209|    104|    if (DATAPTR_OR_NULL(x) != NULL)				\
  |  |  ------------------
  |  |  |  Branch (209:9): [True: 0, False: 104]
  |  |  ------------------
  |  |  210|    104|	error("method should only handle unexpanded vectors")
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  ------------------
  217|       |
  218|    104|    SEXP info = COMPACT_SEQ_INFO(sx);
  ------------------
  |  |   47|    104|#define COMPACT_SEQ_INFO(x) R_altrep_data1(x)
  ------------------
  219|    104|    R_xlen_t size = COMPACT_INTSEQ_INFO_LENGTH(info);
  ------------------
  |  |   52|    104|#define COMPACT_INTSEQ_INFO_LENGTH(info) ((R_xlen_t) REAL0(info)[0])
  ------------------
  220|    104|    R_xlen_t n1 = COMPACT_INTSEQ_INFO_FIRST(info);
  ------------------
  |  |   53|    104|#define COMPACT_INTSEQ_INFO_FIRST(info) ((int) REAL0(info)[1])
  ------------------
  221|    104|    int inc = COMPACT_INTSEQ_INFO_INCR(info);
  ------------------
  |  |   54|    104|#define COMPACT_INTSEQ_INFO_INCR(info) ((int) REAL0(info)[2])
  ------------------
  222|       |
  223|    104|    R_xlen_t ncopy = size - i > n ? n : size - i;
  ------------------
  |  Branch (223:22): [True: 0, False: 104]
  ------------------
  224|    104|    if (inc == 1) {
  ------------------
  |  Branch (224:9): [True: 104, False: 0]
  ------------------
  225|  1.76k|	for (R_xlen_t k = 0; k < ncopy; k++)
  ------------------
  |  Branch (225:23): [True: 1.66k, False: 104]
  ------------------
  226|  1.66k|	    buf[k] = (int) (n1 + k + i);
  227|    104|	return ncopy;
  228|    104|    }
  229|      0|    else if (inc == -1) {
  ------------------
  |  Branch (229:14): [True: 0, False: 0]
  ------------------
  230|      0|	for (R_xlen_t k = 0; k < ncopy; k++)
  ------------------
  |  Branch (230:23): [True: 0, False: 0]
  ------------------
  231|      0|	    buf[k] = (int) (n1 - k - i);
  232|      0|	return ncopy;
  233|      0|    }
  234|      0|    else
  235|      0|	error("compact sequences with increment %d not supported yet", inc);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  236|    104|}
altclasses.c:InitCompactRealClass:
  531|      2|{
  532|      2|    R_altrep_class_t cls = R_make_altreal_class("compact_realseq", "base",
  533|      2|						NULL);
  534|      2|    R_compact_realseq_class = cls;
  535|       |
  536|       |    /* override ALTREP methods */
  537|      2|    R_set_altrep_Unserialize_method(cls, compact_realseq_Unserialize);
  538|      2|    R_set_altrep_Serialized_state_method(cls, compact_realseq_Serialized_state);
  539|      2|    R_set_altrep_Duplicate_method(cls, compact_realseq_Duplicate);
  540|      2|    R_set_altrep_Inspect_method(cls, compact_realseq_Inspect);
  541|      2|    R_set_altrep_Length_method(cls, compact_realseq_Length);
  542|       |
  543|       |    /* override ALTVEC methods */
  544|      2|    R_set_altvec_Dataptr_method(cls, compact_realseq_Dataptr);
  545|      2|    R_set_altvec_Dataptr_or_null_method(cls, compact_realseq_Dataptr_or_null);
  546|       |
  547|       |    /* override ALTREAL methods */
  548|      2|    R_set_altreal_Elt_method(cls, compact_realseq_Elt);
  549|      2|    R_set_altreal_Get_region_method(cls, compact_realseq_Get_region);
  550|      2|    R_set_altreal_Is_sorted_method(cls, compact_realseq_Is_sorted);
  551|      2|    R_set_altreal_No_NA_method(cls, compact_realseq_No_NA);
  552|      2|    R_set_altreal_Sum_method(cls, compact_realseq_Sum);
  553|      2|}
altclasses.c:InitDefferredStringClass:
  856|      2|{
  857|      2|    R_altrep_class_t cls = R_make_altstring_class("deferred_string", "base",
  858|      2|						  NULL);
  859|      2|    R_deferred_string_class = cls;
  860|       |
  861|       |    /* override ALTREP methods */
  862|      2|    R_set_altrep_Unserialize_method(cls, deferred_string_Unserialize);
  863|      2|    R_set_altrep_Serialized_state_method(cls, deferred_string_Serialized_state);
  864|      2|    R_set_altrep_Inspect_method(cls, deferred_string_Inspect);
  865|      2|    R_set_altrep_Length_method(cls, deferred_string_Length);
  866|       |
  867|       |    /* override ALTVEC methods */
  868|      2|    R_set_altvec_Dataptr_method(cls, deferred_string_Dataptr);
  869|      2|    R_set_altvec_Dataptr_or_null_method(cls, deferred_string_Dataptr_or_null);
  870|      2|    R_set_altvec_Extract_subset_method(cls, deferred_string_Extract_subset);
  871|       |
  872|       |    /* override ALTSTRING methods */
  873|      2|    R_set_altstring_Elt_method(cls, deferred_string_Elt);
  874|      2|    R_set_altstring_Set_elt_method(cls, deferred_string_Set_elt);
  875|      2|    R_set_altstring_Is_sorted_method(cls, deferred_string_Is_sorted);
  876|      2|    R_set_altstring_No_NA_method(cls, deferred_string_No_NA);
  877|      2|}
altclasses.c:deferred_string_Length:
  691|   202k|{
  692|   202k|    SEXP state = DEFERRED_STRING_STATE(x);
  ------------------
  |  |  605|   202k|#define DEFERRED_STRING_STATE(x) R_altrep_data1(x)
  ------------------
  693|   202k|    return state == R_NilValue ?
  ------------------
  |  Branch (693:12): [True: 0, False: 202k]
  ------------------
  694|      0|	XLENGTH(DEFERRED_STRING_EXPANDED(x)) :
  ------------------
  |  |  607|      0|#define DEFERRED_STRING_EXPANDED(x) R_altrep_data2(x)
  ------------------
  695|   202k|	XLENGTH(DEFERRED_STRING_STATE_ARG(state));
  ------------------
  |  |  611|   202k|#define DEFERRED_STRING_STATE_ARG(s) CAR(s)
  ------------------
  696|   202k|}
altclasses.c:ExpandDeferredStringElt:
  699|   198k|{
  700|       |    /* make sure the STRSXP for the expanded string is allocated */
  701|       |    /* not yet expanded strings are NULL in the STRSXP */
  702|   198k|    SEXP val = DEFERRED_STRING_EXPANDED(x);
  ------------------
  |  |  607|   198k|#define DEFERRED_STRING_EXPANDED(x) R_altrep_data2(x)
  ------------------
  703|   198k|    if (val == R_NilValue) {
  ------------------
  |  Branch (703:9): [True: 1.33k, False: 197k]
  ------------------
  704|  1.33k|	R_xlen_t n = XLENGTH(x);
  705|  1.33k|	val = allocVector(STRSXP, n);
  ------------------
  |  |  875|  1.33k|#define allocVector		Rf_allocVector
  ------------------
              	val = allocVector(STRSXP, n);
  ------------------
  |  |  126|  1.33k|#define STRSXP	    16	  /* string vectors */
  ------------------
  706|  1.33k|	if (n)
  ------------------
  |  Branch (706:6): [True: 1.33k, False: 0]
  ------------------
  707|  1.33k|	    memset(STDVEC_DATAPTR(val), 0, n * sizeof(SEXP));
  708|  1.33k|	SET_DEFERRED_STRING_EXPANDED(x, val);
  ------------------
  |  |  608|  1.33k|#define SET_DEFERRED_STRING_EXPANDED(x, v) R_set_altrep_data2(x, v)
  ------------------
  709|  1.33k|    }
  710|       |
  711|   198k|    SEXP elt = STRING_ELT(val, i);
  712|   198k|    if (elt == NULL) {
  ------------------
  |  |  911|   198k|#define elt			Rf_elt
  ------------------
  |  Branch (712:9): [True: 198k, False: 8]
  ------------------
  713|   198k|	int warn; /* not used by the coercion functions */
  714|   198k|	int savedigits, savescipen;
  715|   198k|	SEXP data = DEFERRED_STRING_ARG(x);
  ------------------
  |  |  615|   198k|    DEFERRED_STRING_STATE_ARG(DEFERRED_STRING_STATE(x))
  |  |  ------------------
  |  |  |  |  611|   198k|#define DEFERRED_STRING_STATE_ARG(s) CAR(s)
  |  |  ------------------
  ------------------
  716|   198k|	switch(TYPEOF(data)) {
  717|   169k|	case INTSXP:
  ------------------
  |  |  123|   169k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (717:2): [True: 169k, False: 29.1k]
  ------------------
  718|   169k|	    elt = StringFromInteger(INTEGER_ELT(data, i), &warn);
  ------------------
  |  |  911|   169k|#define elt			Rf_elt
  ------------------
              	    elt = StringFromInteger(INTEGER_ELT(data, i), &warn);
  ------------------
  |  | 1995|   169k|# define StringFromInteger	Rf_StringFromInteger
  ------------------
  719|   169k|	    break;
  720|  29.1k|	case REALSXP:
  ------------------
  |  |  124|  29.1k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (720:2): [True: 29.1k, False: 169k]
  ------------------
  721|  29.1k|	    savedigits = R_print.digits;
  722|  29.1k|	    savescipen = R_print.scipen;
  723|  29.1k|	    R_print.digits = DBL_DIG;/* MAX precision */
  724|  29.1k|	    R_print.scipen = DEFERRED_STRING_SCIPEN(x);
  ------------------
  |  |  619|  29.1k|    INTEGER0(DEFERRED_STRING_STATE_INFO(DEFERRED_STRING_STATE(x)))[0]
  |  |  ------------------
  |  |  |  |  612|  29.1k|#define DEFERRED_STRING_STATE_INFO(s) CDR(s)
  |  |  ------------------
  ------------------
  725|  29.1k|	    const char *myoutdec = DEFERRED_STRING_OUTDEC(x);
  726|  29.1k|	    if (strcmp(OutDec, myoutdec)) {
  ------------------
  |  Branch (726:10): [True: 0, False: 29.1k]
  ------------------
  727|       |		/* The current and saved OutDec values differ. The
  728|       |		   value to use is put in a static buffer and OutDec
  729|       |		   temporarily points to this buffer while
  730|       |		   StringFromReal is called and then reset. The buffer
  731|       |		   originally pointed to by OutDec cannot be used as
  732|       |		   it wil not be writable if the default "." has not
  733|       |		   been changed. */
  734|      0|		static char buf[10];
  735|      0|		strncpy(buf, myoutdec, sizeof buf);
  736|      0|		buf[sizeof(buf) - 1] = '\0';
  737|      0|		char *savedOutDec = OutDec;
  738|      0|		OutDec = buf;
  739|      0|		elt = StringFromReal(REAL_ELT(data, i), &warn);
  ------------------
  |  |  911|      0|#define elt			Rf_elt
  ------------------
              		elt = StringFromReal(REAL_ELT(data, i), &warn);
  ------------------
  |  | 1997|      0|# define StringFromReal		Rf_StringFromReal
  ------------------
  740|      0|		OutDec = savedOutDec;
  741|      0|	    }
  742|  29.1k|	    else
  743|  29.1k|		elt = StringFromReal(REAL_ELT(data, i), &warn);
  ------------------
  |  |  911|  29.1k|#define elt			Rf_elt
  ------------------
              		elt = StringFromReal(REAL_ELT(data, i), &warn);
  ------------------
  |  | 1997|  29.1k|# define StringFromReal		Rf_StringFromReal
  ------------------
  744|  29.1k|	    R_print.digits = savedigits;
  745|  29.1k|	    R_print.scipen = savescipen;
  746|  29.1k|	    break;
  747|      0|	default:
  ------------------
  |  Branch (747:2): [True: 0, False: 198k]
  ------------------
  748|      0|	    error("unsupported type for deferred string coercion");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  749|   198k|	}
  750|   198k|	SET_STRING_ELT(val, i, elt);
  ------------------
  |  |  911|   198k|#define elt			Rf_elt
  ------------------
  751|   198k|    }
  752|   198k|    return elt;
  ------------------
  |  |  911|   198k|#define elt			Rf_elt
  ------------------
  753|   198k|}
altclasses.c:DEFERRED_STRING_OUTDEC:
  633|  29.1k|{
  634|       |    /* The default value of OutDec at startup is ".". If it is
  635|       |       something different at the time the deferred string conversion
  636|       |       is created then the current value is stored as an attribute. */
  637|  29.1k|    if (R_OutDecSym == NULL)
  ------------------
  |  Branch (637:9): [True: 2, False: 29.1k]
  ------------------
  638|      2|	R_OutDecSym = install("OutDec");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  639|  29.1k|    SEXP info = DEFERRED_STRING_INFO(x);
  ------------------
  |  |  617|  29.1k|    DEFERRED_STRING_STATE_INFO(DEFERRED_STRING_STATE(x))
  |  |  ------------------
  |  |  |  |  612|  29.1k|#define DEFERRED_STRING_STATE_INFO(s) CDR(s)
  |  |  ------------------
  ------------------
  640|  29.1k|    if (ATTRIB(info) != R_NilValue) {
  ------------------
  |  Branch (640:9): [True: 0, False: 29.1k]
  ------------------
  641|      0|	SEXP outdecattr = getAttrib(info, R_OutDecSym);
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
  642|      0|	if (TYPEOF(outdecattr) == STRSXP && XLENGTH(outdecattr) == 1)
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (642:6): [True: 0, False: 0]
  |  Branch (642:38): [True: 0, False: 0]
  ------------------
  643|      0|	    return CHAR(STRING_ELT(outdecattr, 0));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  644|      0|    }
  645|  29.1k|    return ".";
  646|  29.1k|}
altclasses.c:deferred_string_Elt:
  785|   198k|{
  786|   198k|    SEXP state = DEFERRED_STRING_STATE(x);
  ------------------
  |  |  605|   198k|#define DEFERRED_STRING_STATE(x) R_altrep_data1(x)
  ------------------
  787|   198k|    if (state == R_NilValue)
  ------------------
  |  Branch (787:9): [True: 0, False: 198k]
  ------------------
  788|       |	/* string is fully expanded */
  789|      0|	return STRING_ELT(DEFERRED_STRING_EXPANDED(x), i);
  ------------------
  |  |  607|      0|#define DEFERRED_STRING_EXPANDED(x) R_altrep_data2(x)
  ------------------
  790|   198k|    else {
  791|       |	/* expand only the requested element */
  792|   198k|	PROTECT(x);
  ------------------
  |  |  357|   198k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  793|   198k|	SEXP elt = ExpandDeferredStringElt(x, i);
  794|   198k|	UNPROTECT(1);
  ------------------
  |  |  358|   198k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  795|   198k|	return elt;
  ------------------
  |  |  911|   198k|#define elt			Rf_elt
  ------------------
  796|   198k|    }
  797|   198k|}
altclasses.c:InitMmapIntegerClass:
 1240|      2|{
 1241|      2|    R_altrep_class_t cls =
 1242|      2|	R_make_altinteger_class("mmap_integer", MMAPPKG, dll);
  ------------------
  |  | 1236|      2|# define MMAPPKG "base"
  ------------------
 1243|      2|    mmap_integer_class = cls;
 1244|       | 
 1245|       |    /* override ALTREP methods */
 1246|      2|    R_set_altrep_Unserialize_method(cls, mmap_Unserialize);
 1247|      2|    R_set_altrep_Serialized_state_method(cls, mmap_Serialized_state);
 1248|      2|    R_set_altrep_Inspect_method(cls, mmap_Inspect);
 1249|      2|    R_set_altrep_Length_method(cls, mmap_Length);
 1250|       |
 1251|       |    /* override ALTVEC methods */
 1252|      2|    R_set_altvec_Dataptr_method(cls, mmap_Dataptr);
 1253|      2|    R_set_altvec_Dataptr_or_null_method(cls, mmap_Dataptr_or_null);
 1254|       |
 1255|       |    /* override ALTINTEGER methods */
 1256|      2|    R_set_altinteger_Elt_method(cls, mmap_integer_Elt);
 1257|      2|    R_set_altinteger_Get_region_method(cls, mmap_integer_Get_region);
 1258|      2|}
altclasses.c:InitMmapRealClass:
 1261|      2|{
 1262|      2|    R_altrep_class_t cls =
 1263|      2|	R_make_altreal_class("mmap_real", MMAPPKG, dll);
  ------------------
  |  | 1236|      2|# define MMAPPKG "base"
  ------------------
 1264|      2|    mmap_real_class = cls;
 1265|       |
 1266|       |    /* override ALTREP methods */
 1267|      2|    R_set_altrep_Unserialize_method(cls, mmap_Unserialize);
 1268|      2|    R_set_altrep_Serialized_state_method(cls, mmap_Serialized_state);
 1269|      2|    R_set_altrep_Inspect_method(cls, mmap_Inspect);
 1270|      2|    R_set_altrep_Length_method(cls, mmap_Length);
 1271|       |
 1272|       |    /* override ALTVEC methods */
 1273|      2|    R_set_altvec_Dataptr_method(cls, mmap_Dataptr);
 1274|      2|    R_set_altvec_Dataptr_or_null_method(cls, mmap_Dataptr_or_null);
 1275|       |
 1276|       |    /* override ALTREAL methods */
 1277|      2|    R_set_altreal_Elt_method(cls, mmap_real_Elt);
 1278|      2|    R_set_altreal_Get_region_method(cls, mmap_real_Get_region);
 1279|      2|}
altclasses.c:InitWrapIntegerClass:
 1805|      2|{
 1806|      2|    R_altrep_class_t cls =
 1807|      2|	R_make_altinteger_class("wrap_integer", WRAPPKG, dll);
  ------------------
  |  | 1802|      2|#define WRAPPKG "base"
  ------------------
 1808|      2|    wrap_integer_class = cls;
 1809|       | 
 1810|       |    /* override ALTREP methods */
 1811|      2|    R_set_altrep_Unserialize_method(cls, wrapper_Unserialize);
 1812|      2|    R_set_altrep_Serialized_state_method(cls, wrapper_Serialized_state);
 1813|      2|    R_set_altrep_Duplicate_method(cls, wrapper_Duplicate);
 1814|      2|    R_set_altrep_Inspect_method(cls, wrapper_Inspect);
 1815|      2|    R_set_altrep_Length_method(cls, wrapper_Length);
 1816|       |
 1817|       |    /* override ALTVEC methods */
 1818|      2|    R_set_altvec_Dataptr_method(cls, wrapper_Dataptr);
 1819|      2|    R_set_altvec_Dataptr_or_null_method(cls, wrapper_Dataptr_or_null);
 1820|      2|    R_set_altvec_Extract_subset_method(cls, wrapper_Extract_subset);
 1821|       |
 1822|       |    /* override ALTINTEGER methods */
 1823|      2|    R_set_altinteger_Elt_method(cls, wrapper_integer_Elt);
 1824|      2|    R_set_altinteger_Get_region_method(cls, wrapper_integer_Get_region);
 1825|      2|    R_set_altinteger_Is_sorted_method(cls, wrapper_integer_Is_sorted);
 1826|      2|    R_set_altinteger_No_NA_method(cls, wrapper_integer_no_NA);
 1827|      2|}
altclasses.c:wrapper_Length:
 1583|  1.31k|{
 1584|  1.31k|    return XLENGTH(WRAPPER_WRAPPED(x));
  ------------------
  |  | 1449|  1.31k|#define WRAPPER_WRAPPED(x) R_altrep_data1(x)
  ------------------
 1585|  1.31k|}
altclasses.c:WRAPPER_WRAPPED_RW:
 1477|  1.30k|{
 1478|  1.30k|    SEXP data = WRAPPER_WRAPPED(x);
  ------------------
  |  | 1449|  1.30k|#define WRAPPER_WRAPPED(x) R_altrep_data1(x)
  ------------------
 1479|  1.30k|    if (WRAPPER_DATA_IS_LOCKED(x)) {
  ------------------
  |  | 1471|  1.30k|#define WRAPPER_DATA_IS_LOCKED(x) (WRAPPER_DATA_LOCK(x) > 0)
  |  |  ------------------
  |  |  |  | 1469|  1.30k|#define WRAPPER_DATA_LOCK(x) PRSEEN(WRAPPER_METADATA(x))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1451|  1.30k|#define WRAPPER_METADATA(x) R_altrep_data2(x)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1471:35): [True: 1.29k, False: 8]
  |  |  ------------------
  ------------------
 1480|       |	/* Once data is locked it's reference count should remain at one. */
 1481|       |	/* Unless duplicate() doesn't produce a zero reference count object */ 
 1482|  1.29k|	if (MAYBE_SHARED(data) && WRAPPER_DATA_LOCK(x) == 1)
  ------------------
  |  | 1469|      0|#define WRAPPER_DATA_LOCK(x) PRSEEN(WRAPPER_METADATA(x))
  |  |  ------------------
  |  |  |  | 1451|      0|#define WRAPPER_METADATA(x) R_altrep_data2(x)
  |  |  ------------------
  ------------------
  |  Branch (1482:6): [True: 0, False: 1.29k]
  |  Branch (1482:28): [True: 0, False: 0]
  ------------------
 1483|      0|	    error("REFCNT on locked WRAPPER data increased to %d",
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 1484|      0|		  REFCNT(data));
 1485|  1.29k|    }
 1486|      8|    else {
 1487|       |	/* If the data might be shared and is accessed for possible
 1488|       |	   modification, then it needs to be duplicated now. */
 1489|      8|	if (MAYBE_SHARED(data)) {
  ------------------
  |  Branch (1489:6): [True: 8, False: 0]
  ------------------
 1490|      8|	    PROTECT(x);
  ------------------
  |  |  357|      8|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1491|      8|	    WRAPPER_SET_WRAPPED(x, shallow_duplicate(data));
  ------------------
  |  | 1450|      8|#define WRAPPER_SET_WRAPPED(x, v) R_set_altrep_data1(x, v)
  ------------------
 1492|      8|	    UNPROTECT(1);
  ------------------
  |  |  358|      8|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1493|      8|	    if (REFCNT(WRAPPER_WRAPPED(x)) == 1)
  ------------------
  |  | 1449|      8|#define WRAPPER_WRAPPED(x) R_altrep_data1(x)
  ------------------
  |  Branch (1493:10): [True: 8, False: 0]
  ------------------
 1494|      8|		WRAPPER_LOCK_DATA(x);
  ------------------
  |  | 1472|      8|#define WRAPPER_LOCK_DATA(x) WRAPPER_SET_DATA_LOCK(x, 1)
  |  |  ------------------
  |  |  |  | 1470|      8|#define WRAPPER_SET_DATA_LOCK(x, v) SET_PRSEEN(WRAPPER_METADATA(x), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1451|      8|#define WRAPPER_METADATA(x) R_altrep_data2(x)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1495|      0|	    else
 1496|      0|		WRAPPER_SET_DATA_LOCK(x, 2);
  ------------------
  |  | 1470|      0|#define WRAPPER_SET_DATA_LOCK(x, v) SET_PRSEEN(WRAPPER_METADATA(x), v)
  |  |  ------------------
  |  |  |  | 1451|      0|#define WRAPPER_METADATA(x) R_altrep_data2(x)
  |  |  ------------------
  ------------------
 1497|      8|	}
 1498|      8|	else WRAPPER_LOCK_DATA(x);
  ------------------
  |  | 1472|      0|#define WRAPPER_LOCK_DATA(x) WRAPPER_SET_DATA_LOCK(x, 1)
  |  |  ------------------
  |  |  |  | 1470|      0|#define WRAPPER_SET_DATA_LOCK(x, v) SET_PRSEEN(WRAPPER_METADATA(x), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1451|      0|#define WRAPPER_METADATA(x) R_altrep_data2(x)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1499|      8|    }
 1500|       |
 1501|       |    /* The meta data also needs to be cleared as it may no longer be
 1502|       |       valid after a write. */
 1503|  1.30k|    SEXP meta = WRAPPER_METADATA(x);
  ------------------
  |  | 1451|  1.30k|#define WRAPPER_METADATA(x) R_altrep_data2(x)
  ------------------
 1504|  1.30k|    INTEGER(meta)[0] = UNKNOWN_SORTEDNESS;
 1505|  2.61k|    for (int i = 1; i < NMETA; i++)
  ------------------
  |  | 1436|  2.61k|#define NMETA 2
  ------------------
  |  Branch (1505:21): [True: 1.30k, False: 1.30k]
  ------------------
 1506|  1.30k|	INTEGER(meta)[i] = 0;
 1507|       |
 1508|  1.30k|    return WRAPPER_WRAPPED(x);
  ------------------
  |  | 1449|  1.30k|#define WRAPPER_WRAPPED(x) R_altrep_data1(x)
  ------------------
 1509|  1.30k|}
altclasses.c:InitWrapLogicalClass:
 1830|      2|{
 1831|      2|    R_altrep_class_t cls =
 1832|      2|	R_make_altlogical_class("wrap_logical", WRAPPKG, dll);
  ------------------
  |  | 1802|      2|#define WRAPPKG "base"
  ------------------
 1833|      2|    wrap_logical_class = cls;
 1834|       | 
 1835|       |    /* override ALTREP methods */
 1836|      2|    R_set_altrep_Unserialize_method(cls, wrapper_Unserialize);
 1837|      2|    R_set_altrep_Serialized_state_method(cls, wrapper_Serialized_state);
 1838|      2|    R_set_altrep_Duplicate_method(cls, wrapper_Duplicate);
 1839|      2|    R_set_altrep_Inspect_method(cls, wrapper_Inspect);
 1840|      2|    R_set_altrep_Length_method(cls, wrapper_Length);
 1841|       |
 1842|       |    /* override ALTVEC methods */
 1843|      2|    R_set_altvec_Dataptr_method(cls, wrapper_Dataptr);
 1844|      2|    R_set_altvec_Dataptr_or_null_method(cls, wrapper_Dataptr_or_null);
 1845|      2|    R_set_altvec_Extract_subset_method(cls, wrapper_Extract_subset);
 1846|       |
 1847|       |    /* override ALTLOGICAL methods */
 1848|      2|    R_set_altlogical_Elt_method(cls, wrapper_logical_Elt);
 1849|      2|    R_set_altlogical_Get_region_method(cls, wrapper_logical_Get_region);
 1850|      2|    R_set_altlogical_Is_sorted_method(cls, wrapper_logical_Is_sorted);
 1851|      2|    R_set_altlogical_No_NA_method(cls, wrapper_logical_no_NA);
 1852|      2|}
altclasses.c:InitWrapRealClass:
 1855|      2|{
 1856|      2|    R_altrep_class_t cls =
 1857|      2|	R_make_altreal_class("wrap_real", WRAPPKG, dll);
  ------------------
  |  | 1802|      2|#define WRAPPKG "base"
  ------------------
 1858|      2|    wrap_real_class = cls;
 1859|       | 
 1860|       |    /* override ALTREP methods */
 1861|      2|    R_set_altrep_Unserialize_method(cls, wrapper_Unserialize);
 1862|      2|    R_set_altrep_Serialized_state_method(cls, wrapper_Serialized_state);
 1863|      2|    R_set_altrep_Duplicate_method(cls, wrapper_Duplicate);
 1864|      2|    R_set_altrep_Inspect_method(cls, wrapper_Inspect);
 1865|      2|    R_set_altrep_Length_method(cls, wrapper_Length);
 1866|       |
 1867|       |    /* override ALTVEC methods */
 1868|      2|    R_set_altvec_Dataptr_method(cls, wrapper_Dataptr);
 1869|      2|    R_set_altvec_Dataptr_or_null_method(cls, wrapper_Dataptr_or_null);
 1870|      2|    R_set_altvec_Extract_subset_method(cls, wrapper_Extract_subset);
 1871|       |
 1872|       |    /* override ALTREAL methods */
 1873|      2|    R_set_altreal_Elt_method(cls, wrapper_real_Elt);
 1874|      2|    R_set_altreal_Get_region_method(cls, wrapper_real_Get_region);
 1875|      2|    R_set_altreal_Is_sorted_method(cls, wrapper_real_Is_sorted);
 1876|      2|    R_set_altreal_No_NA_method(cls, wrapper_real_no_NA);
 1877|      2|}
altclasses.c:InitWrapComplexClass:
 1880|      2|{
 1881|      2|    R_altrep_class_t cls =
 1882|      2|	R_make_altcomplex_class("wrap_complex", WRAPPKG, dll);
  ------------------
  |  | 1802|      2|#define WRAPPKG "base"
  ------------------
 1883|      2|    wrap_complex_class = cls;
 1884|       | 
 1885|       |    /* override ALTREP methods */
 1886|      2|    R_set_altrep_Unserialize_method(cls, wrapper_Unserialize);
 1887|      2|    R_set_altrep_Serialized_state_method(cls, wrapper_Serialized_state);
 1888|      2|    R_set_altrep_Duplicate_method(cls, wrapper_Duplicate);
 1889|      2|    R_set_altrep_Inspect_method(cls, wrapper_Inspect);
 1890|      2|    R_set_altrep_Length_method(cls, wrapper_Length);
 1891|       |
 1892|       |    /* override ALTVEC methods */
 1893|      2|    R_set_altvec_Dataptr_method(cls, wrapper_Dataptr);
 1894|      2|    R_set_altvec_Dataptr_or_null_method(cls, wrapper_Dataptr_or_null);
 1895|      2|    R_set_altvec_Extract_subset_method(cls, wrapper_Extract_subset);
 1896|       |
 1897|       |    /* override ALTCOMPLEX methods */
 1898|      2|    R_set_altcomplex_Elt_method(cls, wrapper_complex_Elt);
 1899|      2|    R_set_altcomplex_Get_region_method(cls, wrapper_complex_Get_region);
 1900|      2|}
altclasses.c:InitWrapRawClass:
 1903|      2|{
 1904|      2|    R_altrep_class_t cls =
 1905|      2|	R_make_altraw_class("wrap_raw", WRAPPKG, dll);
  ------------------
  |  | 1802|      2|#define WRAPPKG "base"
  ------------------
 1906|      2|    wrap_raw_class = cls;
 1907|       | 
 1908|       |    /* override ALTREP methods */
 1909|      2|    R_set_altrep_Unserialize_method(cls, wrapper_Unserialize);
 1910|      2|    R_set_altrep_Serialized_state_method(cls, wrapper_Serialized_state);
 1911|      2|    R_set_altrep_Duplicate_method(cls, wrapper_Duplicate);
 1912|      2|    R_set_altrep_Inspect_method(cls, wrapper_Inspect);
 1913|      2|    R_set_altrep_Length_method(cls, wrapper_Length);
 1914|       |
 1915|       |    /* override ALTVEC methods */
 1916|      2|    R_set_altvec_Dataptr_method(cls, wrapper_Dataptr);
 1917|      2|    R_set_altvec_Dataptr_or_null_method(cls, wrapper_Dataptr_or_null);
 1918|      2|    R_set_altvec_Extract_subset_method(cls, wrapper_Extract_subset);
 1919|       |
 1920|       |    /* override ALTRAW methods */
 1921|      2|    R_set_altraw_Elt_method(cls, wrapper_raw_Elt);
 1922|      2|    R_set_altraw_Get_region_method(cls, wrapper_raw_Get_region);
 1923|      2|}
altclasses.c:InitWrapStringClass:
 1926|      2|{
 1927|      2|    R_altrep_class_t cls =
 1928|      2|	R_make_altstring_class("wrap_string", WRAPPKG, dll);
  ------------------
  |  | 1802|      2|#define WRAPPKG "base"
  ------------------
 1929|      2|    wrap_string_class = cls;
 1930|       | 
 1931|       |    /* override ALTREP methods */
 1932|      2|    R_set_altrep_Unserialize_method(cls, wrapper_Unserialize);
 1933|      2|    R_set_altrep_Serialized_state_method(cls, wrapper_Serialized_state);
 1934|      2|    R_set_altrep_Duplicate_method(cls, wrapper_Duplicate);
 1935|      2|    R_set_altrep_Inspect_method(cls, wrapper_Inspect);
 1936|      2|    R_set_altrep_Length_method(cls, wrapper_Length);
 1937|       |
 1938|       |    /* override ALTVEC methods */
 1939|      2|    R_set_altvec_Dataptr_method(cls, wrapper_Dataptr);
 1940|      2|    R_set_altvec_Dataptr_or_null_method(cls, wrapper_Dataptr_or_null);
 1941|      2|    R_set_altvec_Extract_subset_method(cls, wrapper_Extract_subset);
 1942|       |
 1943|       |    /* override ALTSTRING methods */
 1944|      2|    R_set_altstring_Elt_method(cls, wrapper_string_Elt);
 1945|      2|    R_set_altstring_Set_elt_method(cls, wrapper_string_Set_elt);
 1946|      2|    R_set_altstring_Is_sorted_method(cls, wrapper_string_Is_sorted);
 1947|      2|    R_set_altstring_No_NA_method(cls, wrapper_string_no_NA);
 1948|      2|}
altclasses.c:wrapper_string_Set_elt:
 1761|  1.30k|{
 1762|  1.30k|    SET_STRING_ELT(WRAPPER_WRAPPED_RW(x), i, v);
 1763|  1.30k|}
altclasses.c:InitWrapListClass:
 1951|      2|{
 1952|      2|    R_altrep_class_t cls =
 1953|      2|	R_make_altlist_class("wrap_list", WRAPPKG, dll);
  ------------------
  |  | 1802|      2|#define WRAPPKG "base"
  ------------------
 1954|      2|    wrap_list_class = cls;
 1955|       |
 1956|       |    /* override ALTREP methods */
 1957|      2|    R_set_altrep_Unserialize_method(cls, wrapper_Unserialize);
 1958|      2|    R_set_altrep_Serialized_state_method(cls, wrapper_Serialized_state);
 1959|      2|    R_set_altrep_Duplicate_method(cls, wrapper_Duplicate);
 1960|      2|    R_set_altrep_Inspect_method(cls, wrapper_Inspect);
 1961|      2|    R_set_altrep_Length_method(cls, wrapper_Length);
 1962|       |
 1963|       |    /* override ALTVEC methods */
 1964|      2|    R_set_altvec_Dataptr_method(cls, wrapper_Dataptr);
 1965|      2|    R_set_altvec_Dataptr_or_null_method(cls, wrapper_Dataptr_or_null);
 1966|      2|    R_set_altvec_Extract_subset_method(cls, wrapper_Extract_subset);
 1967|       |
 1968|       |    /* override ALTLIST methods */
 1969|      2|    R_set_altlist_Elt_method(cls, wrapper_list_Elt);
 1970|      2|    R_set_altlist_Set_elt_method(cls, wrapper_list_Set_elt);
 1971|      2|}

ALTREP_COERCE:
  256|     43|{
  257|     43|    return ALTREP_DISPATCH(Coerce, x, type);
  ------------------
  |  |  225|     43|#define ALTREP_DISPATCH(fun, ...) DO_DISPATCH(ALTREP, fun, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  223|     43|    type##_METHODS_TABLE(DISPATCH_TARGET(__VA_ARGS__))->fun(__VA_ARGS__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  129|     43|#define ALTREP_METHODS_TABLE(x) GENERIC_METHODS_TABLE(x, altrep)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  127|     43|    ((class##_methods_t *) CLASS_METHODS_TABLE(ALTREP_CLASS(x)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  125|     43|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  258|     43|}
ALTREP_DUPLICATE_EX:
  266|  1.43k|{
  267|  1.43k|    return ALTREP_DISPATCH(DuplicateEX, x, deep);
  ------------------
  |  |  225|  1.43k|#define ALTREP_DISPATCH(fun, ...) DO_DISPATCH(ALTREP, fun, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  223|  1.43k|    type##_METHODS_TABLE(DISPATCH_TARGET(__VA_ARGS__))->fun(__VA_ARGS__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  129|  1.43k|#define ALTREP_METHODS_TABLE(x) GENERIC_METHODS_TABLE(x, altrep)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  127|  1.43k|    ((class##_methods_t *) CLASS_METHODS_TABLE(ALTREP_CLASS(x)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  125|  1.43k|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  268|  1.43k|}
ALTREP_UNSERIALIZE_EX:
  350|     10|{
  351|     10|    if (! valid_altrep_serialized_class(info))
  ------------------
  |  Branch (351:9): [True: 0, False: 10]
  ------------------
  352|      0|	error("invalid ALTREP serialized class");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  353|       |
  354|     10|    SEXP csym = ALTREP_SERIALIZED_CLASS_CLSSYM(info);
  ------------------
  |  |   40|     10|#define ALTREP_SERIALIZED_CLASS_CLSSYM(x) CAR(x)
  ------------------
  355|     10|    SEXP psym = ALTREP_SERIALIZED_CLASS_PKGSYM(info);
  ------------------
  |  |   41|     10|#define ALTREP_SERIALIZED_CLASS_PKGSYM(x) CADR(x)
  ------------------
  356|     10|    int type = ALTREP_SERIALIZED_CLASS_TYPE(info);
  ------------------
  |  |   42|     10|#define ALTREP_SERIALIZED_CLASS_TYPE(x) INTEGER0(CADDR(x))[0]
  ------------------
  357|       |
  358|       |    /* look up the class in the registry and handle failure */
  359|     10|    SEXP class = ALTREP_UNSERIALIZE_CLASS(info);
  360|     10|    if (class == NULL) {
  ------------------
  |  Branch (360:9): [True: 0, False: 10]
  ------------------
  361|      0|	switch(type) {
  362|      0|	case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (362:2): [True: 0, False: 0]
  ------------------
  363|      0|	case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (363:2): [True: 0, False: 0]
  ------------------
  364|      0|	case REALSXP:
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (364:2): [True: 0, False: 0]
  ------------------
  365|      0|	case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (365:2): [True: 0, False: 0]
  ------------------
  366|      0|	case STRSXP:
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (366:2): [True: 0, False: 0]
  ------------------
  367|      0|	case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (367:2): [True: 0, False: 0]
  ------------------
  368|      0|	case VECSXP:
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (368:2): [True: 0, False: 0]
  ------------------
  369|      0|	case EXPRSXP:
  ------------------
  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (369:2): [True: 0, False: 0]
  ------------------
  370|      0|	    warning("cannot unserialize ALTVEC object of class '%s' from "
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
  371|      0|		    "package '%s'; returning length zero vector",
  372|      0|		    CHAR(PRINTNAME(csym)), CHAR(PRINTNAME(psym)));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
              		    CHAR(PRINTNAME(csym)), CHAR(PRINTNAME(psym)));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  373|      0|	    return allocVector(type, 0);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
  374|      0|	default:
  ------------------
  |  Branch (374:2): [True: 0, False: 0]
  ------------------
  375|      0|	    error("cannot unserialize this ALTREP object");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  376|      0|	}
  377|      0|    }
  378|       |
  379|       |    /* check the registered and unserialized types match */
  380|     10|    int rtype = ALTREP_CLASS_BASE_TYPE(class);
  ------------------
  |  |   49|     10|    ALTREP_SERIALIZED_CLASS_TYPE(ALTREP_CLASS_SERIALIZED_CLASS(x))
  |  |  ------------------
  |  |  |  |   42|     10|#define ALTREP_SERIALIZED_CLASS_TYPE(x) INTEGER0(CADDR(x))[0]
  |  |  ------------------
  ------------------
  381|     10|    if (type != rtype)
  ------------------
  |  Branch (381:9): [True: 0, False: 10]
  ------------------
  382|      0|	warning("serialized class '%s' from package '%s' has type %s; "
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
  383|      0|		"registered class has type %s",
  384|      0|		CHAR(PRINTNAME(csym)), CHAR(PRINTNAME(psym)),
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
              		CHAR(PRINTNAME(csym)), CHAR(PRINTNAME(psym)),
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  385|      0|		type2char(type), type2char(rtype));
  ------------------
  |  | 1040|      0|#define type2char		Rf_type2char
  ------------------
              		type2char(type), type2char(rtype));
  ------------------
  |  | 1040|      0|#define type2char		Rf_type2char
  ------------------
  386|       |    
  387|       |    /* dispatch to a class method */
  388|     10|    altrep_methods_t *m = CLASS_METHODS_TABLE(class);
  ------------------
  |  |  125|     10|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  ------------------
  389|     10|    SEXP val = m->UnserializeEX(class, state, attr, objf, levs);
  390|     10|    return val;
  391|     10|}
ALTREP_LENGTH:
  394|   223k|{
  395|   223k|    return ALTREP_DISPATCH(Length, x);
  ------------------
  |  |  225|   223k|#define ALTREP_DISPATCH(fun, ...) DO_DISPATCH(ALTREP, fun, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  223|   223k|    type##_METHODS_TABLE(DISPATCH_TARGET(__VA_ARGS__))->fun(__VA_ARGS__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  129|   223k|#define ALTREP_METHODS_TABLE(x) GENERIC_METHODS_TABLE(x, altrep)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  127|   223k|    ((class##_methods_t *) CLASS_METHODS_TABLE(ALTREP_CLASS(x)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  125|   223k|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  396|   223k|}
ALTREP_TRUELENGTH:
  398|  1.32k|attribute_hidden R_xlen_t ALTREP_TRUELENGTH(SEXP x) { return 0; }
ALTVEC_DATAPTR:
  428|    372|{
  429|    372|    return ALTVEC_DATAPTR_EX(x, TRUE);
  430|    372|}
ALTVEC_DATAPTR_RO:
  433|  11.3k|{
  434|  11.3k|    return ALTVEC_DATAPTR_EX(x, FALSE);
  435|  11.3k|}
ALTVEC_DATAPTR_OR_NULL:
  438|    208|{
  439|    208|    const void *val;
  440|    208|    NOGC_DISPATCH(val, ALTVEC_DISPATCH(Dataptr_or_null, x));
  ------------------
  |  |  242|    208|#define NOGC_DISPATCH(val, call) do {		\
  |  |  243|    208|	R_CHECK_THREAD;				\
  |  |  ------------------
  |  |  |  |  566|    208|# define R_CHECK_THREAD R_check_thread(__func__)
  |  |  ------------------
  |  |  244|    208|	int enabled__ = R_GCEnabled;		\
  |  |  245|    208|	R_GCEnabled = FALSE;			\
  |  |  246|    208|	val = call;				\
  |  |  247|    208|	R_GCEnabled = enabled__;		\
  |  |  248|    208|    } while (0)
  |  |  ------------------
  |  |  |  Branch (248:14): [Folded, False: 208]
  |  |  ------------------
  ------------------
  441|    208|    return val;
  442|    208|}
ALTVEC_EXTRACT_SUBSET:
  445|     50|{
  446|     50|    return ALTVEC_DISPATCH(Extract_subset, x, indx, call);
  ------------------
  |  |  226|     50|#define ALTVEC_DISPATCH(fun, ...) DO_DISPATCH(ALTVEC, fun, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  223|     50|    type##_METHODS_TABLE(DISPATCH_TARGET(__VA_ARGS__))->fun(__VA_ARGS__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  130|     50|#define ALTVEC_METHODS_TABLE(x) GENERIC_METHODS_TABLE(x, altvec)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  127|     50|    ((class##_methods_t *) CLASS_METHODS_TABLE(ALTREP_CLASS(x)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  125|     50|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  447|     50|}
ALTINTEGER_ELT:
  455|  1.56k|{
  456|  1.56k|    int val;
  457|  1.56k|    NOGC_DISPATCH(val, ALTINTEGER_DISPATCH(Elt, x, i));
  ------------------
  |  |  242|  1.56k|#define NOGC_DISPATCH(val, call) do {		\
  |  |  243|  1.56k|	R_CHECK_THREAD;				\
  |  |  ------------------
  |  |  |  |  566|  1.56k|# define R_CHECK_THREAD R_check_thread(__func__)
  |  |  ------------------
  |  |  244|  1.56k|	int enabled__ = R_GCEnabled;		\
  |  |  245|  1.56k|	R_GCEnabled = FALSE;			\
  |  |  246|  1.56k|	val = call;				\
  |  |  247|  1.56k|	R_GCEnabled = enabled__;		\
  |  |  248|  1.56k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (248:14): [Folded, False: 1.56k]
  |  |  ------------------
  ------------------
  458|  1.56k|    return val;
  459|  1.56k|}
INTEGER_GET_REGION:
  462|    104|{
  463|    104|    const int *x = INTEGER_OR_NULL(sx);
  464|    104|    if (x != NULL) {
  ------------------
  |  Branch (464:9): [True: 0, False: 104]
  ------------------
  465|      0|	R_xlen_t size = XLENGTH(sx);
  466|      0|	R_xlen_t ncopy = size - i > n ? n : size - i;
  ------------------
  |  Branch (466:19): [True: 0, False: 0]
  ------------------
  467|      0|	for (R_xlen_t k = 0; k < ncopy; k++)
  ------------------
  |  Branch (467:23): [True: 0, False: 0]
  ------------------
  468|      0|	    buf[k] = x[k + i];
  469|       |	//memcpy(buf, x + i, ncopy * sizeof(int));
  470|      0|	return ncopy;
  471|      0|    }
  472|    104|    else {
  473|    104|	R_xlen_t ncopy;
  474|    104|	NOGC_DISPATCH(ncopy, ALTINTEGER_DISPATCH(Get_region, sx, i, n, buf));
  ------------------
  |  |  242|    104|#define NOGC_DISPATCH(val, call) do {		\
  |  |  243|    104|	R_CHECK_THREAD;				\
  |  |  ------------------
  |  |  |  |  566|    104|# define R_CHECK_THREAD R_check_thread(__func__)
  |  |  ------------------
  |  |  244|    104|	int enabled__ = R_GCEnabled;		\
  |  |  245|    104|	R_GCEnabled = FALSE;			\
  |  |  246|    104|	val = call;				\
  |  |  247|    104|	R_GCEnabled = enabled__;		\
  |  |  248|    104|    } while (0)
  |  |  ------------------
  |  |  |  Branch (248:14): [Folded, False: 104]
  |  |  ------------------
  ------------------
  475|    104|	return ncopy;
  476|    104|    }
  477|    104|}
INTEGER_IS_SORTED:
  480|     10|{
  481|     10|    if (! ALTREP(x))
  ------------------
  |  Branch (481:9): [True: 10, False: 0]
  ------------------
  482|     10|	return UNKNOWN_SORTEDNESS;
  483|      0|    int val;
  484|      0|    NOGC_DISPATCH(val, ALTINTEGER_DISPATCH(Is_sorted, x));
  ------------------
  |  |  242|      0|#define NOGC_DISPATCH(val, call) do {		\
  |  |  243|      0|	R_CHECK_THREAD;				\
  |  |  ------------------
  |  |  |  |  566|      0|# define R_CHECK_THREAD R_check_thread(__func__)
  |  |  ------------------
  |  |  244|      0|	int enabled__ = R_GCEnabled;		\
  |  |  245|      0|	R_GCEnabled = FALSE;			\
  |  |  246|      0|	val = call;				\
  |  |  247|      0|	R_GCEnabled = enabled__;		\
  |  |  248|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (248:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  485|      0|    return val;
  486|     10|}
INTEGER_NO_NA:
  489|     68|{
  490|     68|    if (! ALTREP(x))
  ------------------
  |  Branch (490:9): [True: 68, False: 0]
  ------------------
  491|     68|	return 0;
  492|      0|    int val;
  493|      0|    NOGC_DISPATCH(val, ALTINTEGER_DISPATCH(No_NA, x));
  ------------------
  |  |  242|      0|#define NOGC_DISPATCH(val, call) do {		\
  |  |  243|      0|	R_CHECK_THREAD;				\
  |  |  ------------------
  |  |  |  |  566|      0|# define R_CHECK_THREAD R_check_thread(__func__)
  |  |  ------------------
  |  |  244|      0|	int enabled__ = R_GCEnabled;		\
  |  |  245|      0|	R_GCEnabled = FALSE;			\
  |  |  246|      0|	val = call;				\
  |  |  247|      0|	R_GCEnabled = enabled__;		\
  |  |  248|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (248:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  494|      0|    return val;
  495|     68|}
REAL_IS_SORTED:
  523|  4.83k|{
  524|  4.83k|    if (! ALTREP(x))
  ------------------
  |  Branch (524:9): [True: 4.83k, False: 0]
  ------------------
  525|  4.83k|	return UNKNOWN_SORTEDNESS;
  526|      0|    int val;
  527|      0|    NOGC_DISPATCH(val, ALTREAL_DISPATCH(Is_sorted, x));
  ------------------
  |  |  242|      0|#define NOGC_DISPATCH(val, call) do {		\
  |  |  243|      0|	R_CHECK_THREAD;				\
  |  |  ------------------
  |  |  |  |  566|      0|# define R_CHECK_THREAD R_check_thread(__func__)
  |  |  ------------------
  |  |  244|      0|	int enabled__ = R_GCEnabled;		\
  |  |  245|      0|	R_GCEnabled = FALSE;			\
  |  |  246|      0|	val = call;				\
  |  |  247|      0|	R_GCEnabled = enabled__;		\
  |  |  248|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (248:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  528|      0|    return val;
  529|  4.83k|}
REAL_NO_NA:
  532|    966|{
  533|    966|    if (! ALTREP(x))
  ------------------
  |  Branch (533:9): [True: 966, False: 0]
  ------------------
  534|    966|	return 0;
  535|      0|    int val;
  536|      0|    NOGC_DISPATCH(val, ALTREAL_DISPATCH(No_NA, x));
  ------------------
  |  |  242|      0|#define NOGC_DISPATCH(val, call) do {		\
  |  |  243|      0|	R_CHECK_THREAD;				\
  |  |  ------------------
  |  |  |  |  566|      0|# define R_CHECK_THREAD R_check_thread(__func__)
  |  |  ------------------
  |  |  244|      0|	int enabled__ = R_GCEnabled;		\
  |  |  245|      0|	R_GCEnabled = FALSE;			\
  |  |  246|      0|	val = call;				\
  |  |  247|      0|	R_GCEnabled = enabled__;		\
  |  |  248|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (248:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  537|      0|    return val;
  538|    966|}
ALTSTRING_ELT:
  617|   198k|{
  618|   198k|    SEXP val = NULL;
  619|       |
  620|       |    /**** move GC disabling into method? */
  621|   198k|    if (R_in_gc)
  ------------------
  |  Branch (621:9): [True: 0, False: 198k]
  ------------------
  622|      0|	error("cannot get ALTSTRING_ELT during GC");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  623|   198k|    R_CHECK_THREAD;
  ------------------
  |  |  566|   198k|# define R_CHECK_THREAD R_check_thread(__func__)
  ------------------
  624|   198k|    int enabled = R_GCEnabled;
  625|   198k|    R_GCEnabled = FALSE;
  626|       |
  627|   198k|    val = ALTSTRING_DISPATCH(Elt, x, i);
  ------------------
  |  |  232|   198k|#define ALTSTRING_DISPATCH(fun, ...) DO_DISPATCH(ALTSTRING, fun, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  223|   198k|    type##_METHODS_TABLE(DISPATCH_TARGET(__VA_ARGS__))->fun(__VA_ARGS__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  136|   198k|#define ALTSTRING_METHODS_TABLE(x) GENERIC_METHODS_TABLE(x, altstring)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  127|   198k|    ((class##_methods_t *) CLASS_METHODS_TABLE(ALTREP_CLASS(x)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  125|   198k|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  628|       |
  629|   198k|    R_GCEnabled = enabled;
  630|   198k|    return val;
  631|   198k|}
ALTSTRING_SET_ELT:
  634|  1.30k|{
  635|       |    /**** move GC disabling into method? */
  636|  1.30k|    if (R_in_gc)
  ------------------
  |  Branch (636:9): [True: 0, False: 1.30k]
  ------------------
  637|      0|	error("cannot set ALTSTRING_ELT during GC");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  638|  1.30k|    R_CHECK_THREAD;
  ------------------
  |  |  566|  1.30k|# define R_CHECK_THREAD R_check_thread(__func__)
  ------------------
  639|  1.30k|    int enabled = R_GCEnabled;
  640|  1.30k|    R_GCEnabled = FALSE;
  641|       |
  642|  1.30k|    ALTSTRING_DISPATCH(Set_elt, x, i, v);
  ------------------
  |  |  232|  1.30k|#define ALTSTRING_DISPATCH(fun, ...) DO_DISPATCH(ALTSTRING, fun, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  223|  1.30k|    type##_METHODS_TABLE(DISPATCH_TARGET(__VA_ARGS__))->fun(__VA_ARGS__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  136|  1.30k|#define ALTSTRING_METHODS_TABLE(x) GENERIC_METHODS_TABLE(x, altstring)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  127|  1.30k|    ((class##_methods_t *) CLASS_METHODS_TABLE(ALTREP_CLASS(x)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  125|  1.30k|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  643|       |
  644|  1.30k|    R_GCEnabled = enabled;
  645|  1.30k|}
R_make_altstring_class:
 1170|      4|    {								\
 1171|      4|	return  make_altrep_class(type, cname, pname, dll);	\
 1172|      4|    }
R_make_altlist_class:
 1170|      2|    {								\
 1171|      2|	return  make_altrep_class(type, cname, pname, dll);	\
 1172|      2|    }
R_make_altinteger_class:
 1170|      6|    {								\
 1171|      6|	return  make_altrep_class(type, cname, pname, dll);	\
 1172|      6|    }
R_make_altreal_class:
 1170|      6|    {								\
 1171|      6|	return  make_altrep_class(type, cname, pname, dll);	\
 1172|      6|    }
R_make_altlogical_class:
 1170|      2|    {								\
 1171|      2|	return  make_altrep_class(type, cname, pname, dll);	\
 1172|      2|    }
R_make_altraw_class:
 1170|      2|    {								\
 1171|      2|	return  make_altrep_class(type, cname, pname, dll);	\
 1172|      2|    }
R_make_altcomplex_class:
 1170|      2|    {								\
 1171|      2|	return  make_altrep_class(type, cname, pname, dll);	\
 1172|      2|    }
R_set_altrep_Unserialize_method:
 1204|     24|    {									\
 1205|     24|	CNAME##_methods_t *m = CLASS_METHODS_TABLE(R_SEXP(cls));	\
  ------------------
  |  |  125|     24|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  ------------------
 1206|     24|	m->MNAME = fun;							\
 1207|     24|    }
R_set_altrep_Serialized_state_method:
 1204|     24|    {									\
 1205|     24|	CNAME##_methods_t *m = CLASS_METHODS_TABLE(R_SEXP(cls));	\
  ------------------
  |  |  125|     24|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  ------------------
 1206|     24|	m->MNAME = fun;							\
 1207|     24|    }
R_set_altrep_Duplicate_method:
 1204|     18|    {									\
 1205|     18|	CNAME##_methods_t *m = CLASS_METHODS_TABLE(R_SEXP(cls));	\
  ------------------
  |  |  125|     18|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  ------------------
 1206|     18|	m->MNAME = fun;							\
 1207|     18|    }
R_set_altrep_Coerce_method:
 1204|      2|    {									\
 1205|      2|	CNAME##_methods_t *m = CLASS_METHODS_TABLE(R_SEXP(cls));	\
  ------------------
  |  |  125|      2|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  ------------------
 1206|      2|	m->MNAME = fun;							\
 1207|      2|    }
R_set_altrep_Inspect_method:
 1204|     24|    {									\
 1205|     24|	CNAME##_methods_t *m = CLASS_METHODS_TABLE(R_SEXP(cls));	\
  ------------------
  |  |  125|     24|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  ------------------
 1206|     24|	m->MNAME = fun;							\
 1207|     24|    }
R_set_altrep_Length_method:
 1204|     24|    {									\
 1205|     24|	CNAME##_methods_t *m = CLASS_METHODS_TABLE(R_SEXP(cls));	\
  ------------------
  |  |  125|     24|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  ------------------
 1206|     24|	m->MNAME = fun;							\
 1207|     24|    }
R_set_altvec_Dataptr_method:
 1204|     24|    {									\
 1205|     24|	CNAME##_methods_t *m = CLASS_METHODS_TABLE(R_SEXP(cls));	\
  ------------------
  |  |  125|     24|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  ------------------
 1206|     24|	m->MNAME = fun;							\
 1207|     24|    }
R_set_altvec_Dataptr_or_null_method:
 1204|     24|    {									\
 1205|     24|	CNAME##_methods_t *m = CLASS_METHODS_TABLE(R_SEXP(cls));	\
  ------------------
  |  |  125|     24|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  ------------------
 1206|     24|	m->MNAME = fun;							\
 1207|     24|    }
R_set_altvec_Extract_subset_method:
 1204|     16|    {									\
 1205|     16|	CNAME##_methods_t *m = CLASS_METHODS_TABLE(R_SEXP(cls));	\
  ------------------
  |  |  125|     16|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  ------------------
 1206|     16|	m->MNAME = fun;							\
 1207|     16|    }
R_set_altinteger_Elt_method:
 1204|      6|    {									\
 1205|      6|	CNAME##_methods_t *m = CLASS_METHODS_TABLE(R_SEXP(cls));	\
  ------------------
  |  |  125|      6|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  ------------------
 1206|      6|	m->MNAME = fun;							\
 1207|      6|    }
R_set_altinteger_Get_region_method:
 1204|      6|    {									\
 1205|      6|	CNAME##_methods_t *m = CLASS_METHODS_TABLE(R_SEXP(cls));	\
  ------------------
  |  |  125|      6|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  ------------------
 1206|      6|	m->MNAME = fun;							\
 1207|      6|    }
R_set_altinteger_Is_sorted_method:
 1204|      4|    {									\
 1205|      4|	CNAME##_methods_t *m = CLASS_METHODS_TABLE(R_SEXP(cls));	\
  ------------------
  |  |  125|      4|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  ------------------
 1206|      4|	m->MNAME = fun;							\
 1207|      4|    }
R_set_altinteger_No_NA_method:
 1204|      4|    {									\
 1205|      4|	CNAME##_methods_t *m = CLASS_METHODS_TABLE(R_SEXP(cls));	\
  ------------------
  |  |  125|      4|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  ------------------
 1206|      4|	m->MNAME = fun;							\
 1207|      4|    }
R_set_altinteger_Sum_method:
 1204|      2|    {									\
 1205|      2|	CNAME##_methods_t *m = CLASS_METHODS_TABLE(R_SEXP(cls));	\
  ------------------
  |  |  125|      2|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  ------------------
 1206|      2|	m->MNAME = fun;							\
 1207|      2|    }
R_set_altreal_Elt_method:
 1204|      6|    {									\
 1205|      6|	CNAME##_methods_t *m = CLASS_METHODS_TABLE(R_SEXP(cls));	\
  ------------------
  |  |  125|      6|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  ------------------
 1206|      6|	m->MNAME = fun;							\
 1207|      6|    }
R_set_altreal_Get_region_method:
 1204|      6|    {									\
 1205|      6|	CNAME##_methods_t *m = CLASS_METHODS_TABLE(R_SEXP(cls));	\
  ------------------
  |  |  125|      6|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  ------------------
 1206|      6|	m->MNAME = fun;							\
 1207|      6|    }
R_set_altreal_Is_sorted_method:
 1204|      4|    {									\
 1205|      4|	CNAME##_methods_t *m = CLASS_METHODS_TABLE(R_SEXP(cls));	\
  ------------------
  |  |  125|      4|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  ------------------
 1206|      4|	m->MNAME = fun;							\
 1207|      4|    }
R_set_altreal_No_NA_method:
 1204|      4|    {									\
 1205|      4|	CNAME##_methods_t *m = CLASS_METHODS_TABLE(R_SEXP(cls));	\
  ------------------
  |  |  125|      4|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  ------------------
 1206|      4|	m->MNAME = fun;							\
 1207|      4|    }
R_set_altreal_Sum_method:
 1204|      2|    {									\
 1205|      2|	CNAME##_methods_t *m = CLASS_METHODS_TABLE(R_SEXP(cls));	\
  ------------------
  |  |  125|      2|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  ------------------
 1206|      2|	m->MNAME = fun;							\
 1207|      2|    }
R_set_altlogical_Elt_method:
 1204|      2|    {									\
 1205|      2|	CNAME##_methods_t *m = CLASS_METHODS_TABLE(R_SEXP(cls));	\
  ------------------
  |  |  125|      2|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  ------------------
 1206|      2|	m->MNAME = fun;							\
 1207|      2|    }
R_set_altlogical_Get_region_method:
 1204|      2|    {									\
 1205|      2|	CNAME##_methods_t *m = CLASS_METHODS_TABLE(R_SEXP(cls));	\
  ------------------
  |  |  125|      2|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  ------------------
 1206|      2|	m->MNAME = fun;							\
 1207|      2|    }
R_set_altlogical_Is_sorted_method:
 1204|      2|    {									\
 1205|      2|	CNAME##_methods_t *m = CLASS_METHODS_TABLE(R_SEXP(cls));	\
  ------------------
  |  |  125|      2|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  ------------------
 1206|      2|	m->MNAME = fun;							\
 1207|      2|    }
R_set_altlogical_No_NA_method:
 1204|      2|    {									\
 1205|      2|	CNAME##_methods_t *m = CLASS_METHODS_TABLE(R_SEXP(cls));	\
  ------------------
  |  |  125|      2|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  ------------------
 1206|      2|	m->MNAME = fun;							\
 1207|      2|    }
R_set_altraw_Elt_method:
 1204|      2|    {									\
 1205|      2|	CNAME##_methods_t *m = CLASS_METHODS_TABLE(R_SEXP(cls));	\
  ------------------
  |  |  125|      2|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  ------------------
 1206|      2|	m->MNAME = fun;							\
 1207|      2|    }
R_set_altraw_Get_region_method:
 1204|      2|    {									\
 1205|      2|	CNAME##_methods_t *m = CLASS_METHODS_TABLE(R_SEXP(cls));	\
  ------------------
  |  |  125|      2|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  ------------------
 1206|      2|	m->MNAME = fun;							\
 1207|      2|    }
R_set_altcomplex_Elt_method:
 1204|      2|    {									\
 1205|      2|	CNAME##_methods_t *m = CLASS_METHODS_TABLE(R_SEXP(cls));	\
  ------------------
  |  |  125|      2|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  ------------------
 1206|      2|	m->MNAME = fun;							\
 1207|      2|    }
R_set_altcomplex_Get_region_method:
 1204|      2|    {									\
 1205|      2|	CNAME##_methods_t *m = CLASS_METHODS_TABLE(R_SEXP(cls));	\
  ------------------
  |  |  125|      2|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  ------------------
 1206|      2|	m->MNAME = fun;							\
 1207|      2|    }
R_set_altstring_Elt_method:
 1204|      4|    {									\
 1205|      4|	CNAME##_methods_t *m = CLASS_METHODS_TABLE(R_SEXP(cls));	\
  ------------------
  |  |  125|      4|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  ------------------
 1206|      4|	m->MNAME = fun;							\
 1207|      4|    }
R_set_altstring_Set_elt_method:
 1204|      4|    {									\
 1205|      4|	CNAME##_methods_t *m = CLASS_METHODS_TABLE(R_SEXP(cls));	\
  ------------------
  |  |  125|      4|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  ------------------
 1206|      4|	m->MNAME = fun;							\
 1207|      4|    }
R_set_altstring_Is_sorted_method:
 1204|      4|    {									\
 1205|      4|	CNAME##_methods_t *m = CLASS_METHODS_TABLE(R_SEXP(cls));	\
  ------------------
  |  |  125|      4|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  ------------------
 1206|      4|	m->MNAME = fun;							\
 1207|      4|    }
R_set_altstring_No_NA_method:
 1204|      4|    {									\
 1205|      4|	CNAME##_methods_t *m = CLASS_METHODS_TABLE(R_SEXP(cls));	\
  ------------------
  |  |  125|      4|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  ------------------
 1206|      4|	m->MNAME = fun;							\
 1207|      4|    }
R_set_altlist_Elt_method:
 1204|      2|    {									\
 1205|      2|	CNAME##_methods_t *m = CLASS_METHODS_TABLE(R_SEXP(cls));	\
  ------------------
  |  |  125|      2|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  ------------------
 1206|      2|	m->MNAME = fun;							\
 1207|      2|    }
R_set_altlist_Set_elt_method:
 1204|      2|    {									\
 1205|      2|	CNAME##_methods_t *m = CLASS_METHODS_TABLE(R_SEXP(cls));	\
  ------------------
  |  |  125|      2|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  ------------------
 1206|      2|	m->MNAME = fun;							\
 1207|      2|    }
R_new_altrep:
 1263|  4.17k|{
 1264|  4.17k|    void ALTREP_SET_TYPEOF(SEXP, int); /* in memory.c */
 1265|  4.17k|    SEXP sclass = R_SEXP(aclass);
  ------------------
  |  |   37|  4.17k|# define R_SEXP(x) (x).ptr
  ------------------
 1266|  4.17k|    int type = ALTREP_CLASS_BASE_TYPE(sclass);
  ------------------
  |  |   49|  4.17k|    ALTREP_SERIALIZED_CLASS_TYPE(ALTREP_CLASS_SERIALIZED_CLASS(x))
  |  |  ------------------
  |  |  |  |   42|  4.17k|#define ALTREP_SERIALIZED_CLASS_TYPE(x) INTEGER0(CADDR(x))[0]
  |  |  ------------------
  ------------------
 1267|  4.17k|    SEXP ans = CONS(data1, data2);
  ------------------
  |  |  309|  4.17k|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
 1268|  4.17k|    ALTREP_SET_TYPEOF(ans, type);
 1269|  4.17k|    SET_ALTREP_CLASS(ans, sclass);
 1270|  4.17k|    return ans;
 1271|  4.17k|}
R_altrep_inherits:
 1274|      8|{
 1275|      8|    return ALTREP(x) && ALTREP_CLASS(x) == R_SEXP(class);
  ------------------
  |  |   37|     16|# define R_SEXP(x) (x).ptr
  ------------------
  |  Branch (1275:12): [True: 8, False: 0]
  |  Branch (1275:25): [True: 8, False: 0]
  ------------------
 1276|      8|}
altrep.c:valid_altrep_serialized_class:
  312|     10|{
  313|     10|    if (TYPEOF(info) != LISTSXP)
  ------------------
  |  |  113|     10|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (313:9): [True: 0, False: 10]
  ------------------
  314|      0|	return FALSE;
  315|     10|    SEXP rest = CDR(info);
  316|     10|    if (TYPEOF(rest) != LISTSXP)
  ------------------
  |  |  113|     10|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (316:9): [True: 0, False: 10]
  ------------------
  317|      0|	return FALSE;
  318|     10|    rest = CDR(rest);
  319|     10|    if (TYPEOF(rest) != LISTSXP || CDR(rest) != R_NilValue)
  ------------------
  |  |  113|     20|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (319:9): [True: 0, False: 10]
  |  Branch (319:36): [True: 0, False: 10]
  ------------------
  320|      0|	return FALSE;
  321|       |
  322|     10|    SEXP stype = CAR(rest);
  323|     10|    return TYPEOF(CAR(info)) == SYMSXP &&
  ------------------
  |  |  112|     20|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (323:12): [True: 10, False: 0]
  ------------------
  324|     10|	TYPEOF(CADR(info)) == SYMSXP &&
  ------------------
  |  |  112|     20|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (324:2): [True: 10, False: 0]
  ------------------
  325|     10|	TYPEOF(stype) == INTSXP && XLENGTH(stype) == 1 &&
  ------------------
  |  |  123|     20|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (325:2): [True: 10, False: 0]
  |  Branch (325:29): [True: 10, False: 0]
  ------------------
  326|     10|	valid_altrep_serialized_type(INTEGER0(stype)[0]);
  ------------------
  |  Branch (326:2): [True: 10, False: 0]
  ------------------
  327|     10|}
altrep.c:valid_altrep_serialized_type:
  295|     10|{
  296|     10|    switch(type) {
  297|      0|    case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (297:5): [True: 0, False: 10]
  ------------------
  298|     10|    case INTSXP:
  ------------------
  |  |  123|     10|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (298:5): [True: 10, False: 0]
  ------------------
  299|     10|    case REALSXP:
  ------------------
  |  |  124|     10|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (299:5): [True: 0, False: 10]
  ------------------
  300|     10|    case CPLXSXP:
  ------------------
  |  |  125|     10|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (300:5): [True: 0, False: 10]
  ------------------
  301|     10|    case STRSXP:
  ------------------
  |  |  126|     10|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (301:5): [True: 0, False: 10]
  ------------------
  302|     10|    case RAWSXP:
  ------------------
  |  |  136|     10|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (302:5): [True: 0, False: 10]
  ------------------
  303|     10|    case VECSXP:
  ------------------
  |  |  131|     10|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (303:5): [True: 0, False: 10]
  ------------------
  304|     10|    case EXPRSXP:
  ------------------
  |  |  132|     10|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (304:5): [True: 0, False: 10]
  ------------------
  305|     10|	return true;
  306|      0|    default:
  ------------------
  |  Branch (306:5): [True: 0, False: 10]
  ------------------
  307|      0|	return false;
  308|     10|    }
  309|     10|}
altrep.c:ALTREP_UNSERIALIZE_CLASS:
  330|     10|{
  331|     10|    if (TYPEOF(info) == LISTSXP) {
  ------------------
  |  |  113|     10|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (331:9): [True: 10, False: 0]
  ------------------
  332|     10|	SEXP csym = ALTREP_SERIALIZED_CLASS_CLSSYM(info);
  ------------------
  |  |   40|     10|#define ALTREP_SERIALIZED_CLASS_CLSSYM(x) CAR(x)
  ------------------
  333|     10|	SEXP psym = ALTREP_SERIALIZED_CLASS_PKGSYM(info);
  ------------------
  |  |   41|     10|#define ALTREP_SERIALIZED_CLASS_PKGSYM(x) CADR(x)
  ------------------
  334|     10|	SEXP class = LookupClass(csym, psym);
  335|     10|	if (class == NULL) {
  ------------------
  |  Branch (335:6): [True: 0, False: 10]
  ------------------
  336|      0|	    SEXP pname = ScalarString(PRINTNAME(psym));
  ------------------
  |  | 1025|      0|#define ScalarString		Rf_ScalarString
  ------------------
  337|      0|	    PROTECT(pname);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  338|      0|	    R_tryCatchError(find_namespace, pname,
  339|      0|			    handle_namespace_error, NULL);
  340|      0|	    class = LookupClass(csym, psym);
  341|      0|	    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  342|      0|	}
  343|     10|	return class;
  344|     10|    }
  345|      0|    return NULL;
  346|     10|}
altrep.c:LookupClass:
   91|     10|{
   92|     10|    SEXP entry = LookupClassEntry(csym, psym);
   93|     10|    return entry != NULL ? CAR(entry) : NULL;
  ------------------
  |  Branch (93:12): [True: 10, False: 0]
  ------------------
   94|     10|}
altrep.c:LookupClassEntry:
   54|     34|{
   55|    276|    for (SEXP chain = CDR(Registry); chain != R_NilValue; chain = CDR(chain))
  ------------------
  |  Branch (55:38): [True: 252, False: 24]
  ------------------
   56|    252|	if (TAG(CAR(chain)) == csym && CADR(CAR(chain)) == psym)
  ------------------
  |  Branch (56:6): [True: 10, False: 242]
  |  Branch (56:33): [True: 10, False: 0]
  ------------------
   57|     10|	    return CAR(chain);
   58|     24|    return NULL;
   59|     34|}
altrep.c:ALTVEC_DATAPTR_EX:
  406|  11.7k|{
  407|       |    /* Disallow taking the writable `DATAPTR()` of an ALTLIST. This
  408|       |       check could be moved to `DATAPTR()` to catch more faulty
  409|       |       usages. */
  410|  11.7k|    if (TYPEOF(x) == VECSXP && writable)
  ------------------
  |  |  131|  23.4k|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (410:9): [True: 0, False: 11.7k]
  |  Branch (410:32): [True: 0, False: 0]
  ------------------
  411|      0|        ALTREP_ERROR_IN_CLASS("cannot take a writable DATAPTR of an ALTLIST",
  ------------------
  |  |  112|      0|#define ALTREP_ERROR_IN_CLASS(msg, x) do {			\
  |  |  113|      0|	error("%s [class: %s, pkg: %s]",			\
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |  114|      0|	      msg,						\
  |  |  115|      0|	      CHAR(PRINTNAME(ALTREP_OBJECT_CLSSYM(x))),		\
  |  |  ------------------
  |  |  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  |  |  ------------------
  |  |  116|      0|	      CHAR(PRINTNAME(ALTREP_OBJECT_PKGSYM(x))));	\
  |  |  ------------------
  |  |  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  |  |  ------------------
  |  |  117|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (117:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  412|  11.7k|			      x);
  413|       |
  414|       |    /**** move GC disabling into methods? */
  415|  11.7k|    if (R_in_gc)
  ------------------
  |  Branch (415:9): [True: 0, False: 11.7k]
  ------------------
  416|      0|	error("cannot get ALTVEC DATAPTR during GC");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  417|  11.7k|    R_CHECK_THREAD;
  ------------------
  |  |  566|  11.7k|# define R_CHECK_THREAD R_check_thread(__func__)
  ------------------
  418|  11.7k|    int enabled = R_GCEnabled;
  419|  11.7k|    R_GCEnabled = FALSE;
  420|       |
  421|  11.7k|    void *val = ALTVEC_DISPATCH(Dataptr, x, writable);
  ------------------
  |  |  226|  11.7k|#define ALTVEC_DISPATCH(fun, ...) DO_DISPATCH(ALTVEC, fun, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  223|  11.7k|    type##_METHODS_TABLE(DISPATCH_TARGET(__VA_ARGS__))->fun(__VA_ARGS__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  130|  11.7k|#define ALTVEC_METHODS_TABLE(x) GENERIC_METHODS_TABLE(x, altvec)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  127|  11.7k|    ((class##_methods_t *) CLASS_METHODS_TABLE(ALTREP_CLASS(x)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  125|  11.7k|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  422|       |
  423|  11.7k|    R_GCEnabled = enabled;
  424|  11.7k|    return val;
  425|  11.7k|}
altrep.c:make_altrep_class:
 1147|     24|{
 1148|     24|    SEXP class;
 1149|     24|    switch(type) {
 1150|      6|    case INTSXP:  MAKE_CLASS(class, altinteger); break;
  ------------------
  |  |  123|      6|#define INTSXP	    13	  /* integer vectors */
  ------------------
                  case INTSXP:  MAKE_CLASS(class, altinteger); break;
  ------------------
  |  | 1132|      6|#define MAKE_CLASS(var, type) do {				\
  |  | 1133|      6|	var = allocVector(RAWSXP, sizeof(type##_methods_t));	\
  |  |  ------------------
  |  |  |  |  875|      6|#define allocVector		Rf_allocVector
  |  |  ------------------
  |  |               	var = allocVector(RAWSXP, sizeof(type##_methods_t));	\
  |  |  ------------------
  |  |  |  |  136|      6|#define RAWSXP      24    /* raw bytes */
  |  |  ------------------
  |  | 1134|      6|	R_PreserveObject(var);					\
  |  | 1135|      6|	INIT_CLASS(var, type);					\
  |  |  ------------------
  |  |  |  | 1127|      6|#define INIT_CLASS(cls, type) do {				\
  |  |  |  | 1128|      6|	*((type##_methods_t *) (CLASS_METHODS_TABLE(cls))) =	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  125|      6|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  |  |  |  |  ------------------
  |  |  |  | 1129|      6|	    type##_default_methods;				\
  |  |  |  | 1130|      6|    } while (FALSE)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1130:14): [Folded, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1136|      6|    } while (FALSE)
  |  |  ------------------
  |  |  |  Branch (1136:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
  |  Branch (1150:5): [True: 6, False: 18]
  ------------------
 1151|      6|    case REALSXP: MAKE_CLASS(class, altreal);    break;
  ------------------
  |  |  124|      6|#define REALSXP	    14	  /* real variables */
  ------------------
                  case REALSXP: MAKE_CLASS(class, altreal);    break;
  ------------------
  |  | 1132|      6|#define MAKE_CLASS(var, type) do {				\
  |  | 1133|      6|	var = allocVector(RAWSXP, sizeof(type##_methods_t));	\
  |  |  ------------------
  |  |  |  |  875|      6|#define allocVector		Rf_allocVector
  |  |  ------------------
  |  |               	var = allocVector(RAWSXP, sizeof(type##_methods_t));	\
  |  |  ------------------
  |  |  |  |  136|      6|#define RAWSXP      24    /* raw bytes */
  |  |  ------------------
  |  | 1134|      6|	R_PreserveObject(var);					\
  |  | 1135|      6|	INIT_CLASS(var, type);					\
  |  |  ------------------
  |  |  |  | 1127|      6|#define INIT_CLASS(cls, type) do {				\
  |  |  |  | 1128|      6|	*((type##_methods_t *) (CLASS_METHODS_TABLE(cls))) =	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  125|      6|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  |  |  |  |  ------------------
  |  |  |  | 1129|      6|	    type##_default_methods;				\
  |  |  |  | 1130|      6|    } while (FALSE)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1130:14): [Folded, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1136|      6|    } while (FALSE)
  |  |  ------------------
  |  |  |  Branch (1136:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
  |  Branch (1151:5): [True: 6, False: 18]
  ------------------
 1152|      2|    case LGLSXP:  MAKE_CLASS(class, altlogical); break;
  ------------------
  |  |  121|      2|#define LGLSXP	    10	  /* logical vectors */
  ------------------
                  case LGLSXP:  MAKE_CLASS(class, altlogical); break;
  ------------------
  |  | 1132|      2|#define MAKE_CLASS(var, type) do {				\
  |  | 1133|      2|	var = allocVector(RAWSXP, sizeof(type##_methods_t));	\
  |  |  ------------------
  |  |  |  |  875|      2|#define allocVector		Rf_allocVector
  |  |  ------------------
  |  |               	var = allocVector(RAWSXP, sizeof(type##_methods_t));	\
  |  |  ------------------
  |  |  |  |  136|      2|#define RAWSXP      24    /* raw bytes */
  |  |  ------------------
  |  | 1134|      2|	R_PreserveObject(var);					\
  |  | 1135|      2|	INIT_CLASS(var, type);					\
  |  |  ------------------
  |  |  |  | 1127|      2|#define INIT_CLASS(cls, type) do {				\
  |  |  |  | 1128|      2|	*((type##_methods_t *) (CLASS_METHODS_TABLE(cls))) =	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  125|      2|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  |  |  |  |  ------------------
  |  |  |  | 1129|      2|	    type##_default_methods;				\
  |  |  |  | 1130|      2|    } while (FALSE)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1130:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1136|      2|    } while (FALSE)
  |  |  ------------------
  |  |  |  Branch (1136:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (1152:5): [True: 2, False: 22]
  ------------------
 1153|      2|    case RAWSXP:  MAKE_CLASS(class, altraw);     break;
  ------------------
  |  |  136|      2|#define RAWSXP      24    /* raw bytes */
  ------------------
                  case RAWSXP:  MAKE_CLASS(class, altraw);     break;
  ------------------
  |  | 1132|      2|#define MAKE_CLASS(var, type) do {				\
  |  | 1133|      2|	var = allocVector(RAWSXP, sizeof(type##_methods_t));	\
  |  |  ------------------
  |  |  |  |  875|      2|#define allocVector		Rf_allocVector
  |  |  ------------------
  |  |               	var = allocVector(RAWSXP, sizeof(type##_methods_t));	\
  |  |  ------------------
  |  |  |  |  136|      2|#define RAWSXP      24    /* raw bytes */
  |  |  ------------------
  |  | 1134|      2|	R_PreserveObject(var);					\
  |  | 1135|      2|	INIT_CLASS(var, type);					\
  |  |  ------------------
  |  |  |  | 1127|      2|#define INIT_CLASS(cls, type) do {				\
  |  |  |  | 1128|      2|	*((type##_methods_t *) (CLASS_METHODS_TABLE(cls))) =	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  125|      2|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  |  |  |  |  ------------------
  |  |  |  | 1129|      2|	    type##_default_methods;				\
  |  |  |  | 1130|      2|    } while (FALSE)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1130:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1136|      2|    } while (FALSE)
  |  |  ------------------
  |  |  |  Branch (1136:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (1153:5): [True: 2, False: 22]
  ------------------
 1154|      2|    case CPLXSXP: MAKE_CLASS(class, altcomplex); break;
  ------------------
  |  |  125|      2|#define CPLXSXP	    15	  /* complex variables */
  ------------------
                  case CPLXSXP: MAKE_CLASS(class, altcomplex); break;
  ------------------
  |  | 1132|      2|#define MAKE_CLASS(var, type) do {				\
  |  | 1133|      2|	var = allocVector(RAWSXP, sizeof(type##_methods_t));	\
  |  |  ------------------
  |  |  |  |  875|      2|#define allocVector		Rf_allocVector
  |  |  ------------------
  |  |               	var = allocVector(RAWSXP, sizeof(type##_methods_t));	\
  |  |  ------------------
  |  |  |  |  136|      2|#define RAWSXP      24    /* raw bytes */
  |  |  ------------------
  |  | 1134|      2|	R_PreserveObject(var);					\
  |  | 1135|      2|	INIT_CLASS(var, type);					\
  |  |  ------------------
  |  |  |  | 1127|      2|#define INIT_CLASS(cls, type) do {				\
  |  |  |  | 1128|      2|	*((type##_methods_t *) (CLASS_METHODS_TABLE(cls))) =	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  125|      2|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  |  |  |  |  ------------------
  |  |  |  | 1129|      2|	    type##_default_methods;				\
  |  |  |  | 1130|      2|    } while (FALSE)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1130:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1136|      2|    } while (FALSE)
  |  |  ------------------
  |  |  |  Branch (1136:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (1154:5): [True: 2, False: 22]
  ------------------
 1155|      4|    case STRSXP:  MAKE_CLASS(class, altstring);  break;
  ------------------
  |  |  126|      4|#define STRSXP	    16	  /* string vectors */
  ------------------
                  case STRSXP:  MAKE_CLASS(class, altstring);  break;
  ------------------
  |  | 1132|      4|#define MAKE_CLASS(var, type) do {				\
  |  | 1133|      4|	var = allocVector(RAWSXP, sizeof(type##_methods_t));	\
  |  |  ------------------
  |  |  |  |  875|      4|#define allocVector		Rf_allocVector
  |  |  ------------------
  |  |               	var = allocVector(RAWSXP, sizeof(type##_methods_t));	\
  |  |  ------------------
  |  |  |  |  136|      4|#define RAWSXP      24    /* raw bytes */
  |  |  ------------------
  |  | 1134|      4|	R_PreserveObject(var);					\
  |  | 1135|      4|	INIT_CLASS(var, type);					\
  |  |  ------------------
  |  |  |  | 1127|      4|#define INIT_CLASS(cls, type) do {				\
  |  |  |  | 1128|      4|	*((type##_methods_t *) (CLASS_METHODS_TABLE(cls))) =	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  125|      4|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  |  |  |  |  ------------------
  |  |  |  | 1129|      4|	    type##_default_methods;				\
  |  |  |  | 1130|      4|    } while (FALSE)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1130:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1136|      4|    } while (FALSE)
  |  |  ------------------
  |  |  |  Branch (1136:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  |  Branch (1155:5): [True: 4, False: 20]
  ------------------
 1156|      2|    case VECSXP:  MAKE_CLASS(class, altlist);    break;
  ------------------
  |  |  131|      2|#define VECSXP	    19	  /* generic vectors */
  ------------------
                  case VECSXP:  MAKE_CLASS(class, altlist);    break;
  ------------------
  |  | 1132|      2|#define MAKE_CLASS(var, type) do {				\
  |  | 1133|      2|	var = allocVector(RAWSXP, sizeof(type##_methods_t));	\
  |  |  ------------------
  |  |  |  |  875|      2|#define allocVector		Rf_allocVector
  |  |  ------------------
  |  |               	var = allocVector(RAWSXP, sizeof(type##_methods_t));	\
  |  |  ------------------
  |  |  |  |  136|      2|#define RAWSXP      24    /* raw bytes */
  |  |  ------------------
  |  | 1134|      2|	R_PreserveObject(var);					\
  |  | 1135|      2|	INIT_CLASS(var, type);					\
  |  |  ------------------
  |  |  |  | 1127|      2|#define INIT_CLASS(cls, type) do {				\
  |  |  |  | 1128|      2|	*((type##_methods_t *) (CLASS_METHODS_TABLE(cls))) =	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  125|      2|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  |  |  |  |  ------------------
  |  |  |  | 1129|      2|	    type##_default_methods;				\
  |  |  |  | 1130|      2|    } while (FALSE)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1130:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1136|      2|    } while (FALSE)
  |  |  ------------------
  |  |  |  Branch (1136:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (1156:5): [True: 2, False: 22]
  ------------------
 1157|      0|    default: error("unsupported ALTREP class");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  |  Branch (1157:5): [True: 0, False: 24]
  ------------------
 1158|     24|    }
 1159|     24|    RegisterClass(class, type, cname, pname, dll);
 1160|     24|    return R_cast_altrep_class(class);
 1161|     24|}
altrep.c:altrep_UnserializeEX_default:
  791|     10|{
  792|     10|    altrep_methods_t *m = CLASS_METHODS_TABLE(class);
  ------------------
  |  |  125|     10|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  ------------------
  793|     10|    SEXP val = m->Unserialize(class, state);
  794|     10|    SET_ATTRIB(val, attr);
  795|     10|    SET_OBJECT(val, objf);
  796|     10|    SETLEVELS(val, levs);
  797|     10|    return val;
  798|     10|}
altrep.c:altrep_DuplicateEX_default:
  815|  1.43k|{
  816|  1.43k|    SEXP ans = ALTREP_DUPLICATE(x, deep);
  817|       |
  818|  1.43k|    if (ans != NULL &&
  ------------------
  |  Branch (818:9): [True: 104, False: 1.32k]
  ------------------
  819|    104|	ans != x) { /* leave attributes alone if returning original */
  ------------------
  |  Branch (819:2): [True: 104, False: 0]
  ------------------
  820|       |	/* handle attributes generically */
  821|    104|	SEXP attr = ATTRIB(x);
  822|    104|	if (attr != R_NilValue) {
  ------------------
  |  Branch (822:6): [True: 0, False: 104]
  ------------------
  823|      0|	    PROTECT(ans);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  824|      0|	    SET_ATTRIB(ans, deep ? duplicate(attr) : shallow_duplicate(attr));
  ------------------
  |  |  909|      0|#define duplicate		Rf_duplicate
  ------------------
              	    SET_ATTRIB(ans, deep ? duplicate(attr) : shallow_duplicate(attr));
  ------------------
  |  | 1030|      0|#define shallow_duplicate	Rf_shallow_duplicate
  ------------------
  |  Branch (824:22): [True: 0, False: 0]
  ------------------
  825|      0|	    SET_OBJECT(ans, OBJECT(x));
  826|      0|	    IS_S4_OBJECT(x) ? SET_S4_OBJECT(ans) : UNSET_S4_OBJECT(ans);
  ------------------
  |  Branch (826:6): [True: 0, False: 0]
  ------------------
  827|      0|	    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  828|      0|	}
  829|    104|	else if (ATTRIB(ans) != R_NilValue) {
  ------------------
  |  Branch (829:11): [True: 0, False: 104]
  ------------------
  830|      0|	    SET_ATTRIB(ans, R_NilValue);
  831|      0|	    SET_OBJECT(ans, FALSE);
  832|      0|	    UNSET_S4_OBJECT(ans);
  833|      0|	}
  834|    104|    }
  835|  1.43k|    return ans;
  836|  1.43k|}
altrep.c:ALTREP_DUPLICATE:
  261|  1.43k|{
  262|  1.43k|    return ALTREP_DISPATCH(Duplicate, x, deep);
  ------------------
  |  |  225|  1.43k|#define ALTREP_DISPATCH(fun, ...) DO_DISPATCH(ALTREP, fun, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |  223|  1.43k|    type##_METHODS_TABLE(DISPATCH_TARGET(__VA_ARGS__))->fun(__VA_ARGS__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  129|  1.43k|#define ALTREP_METHODS_TABLE(x) GENERIC_METHODS_TABLE(x, altrep)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  127|  1.43k|    ((class##_methods_t *) CLASS_METHODS_TABLE(ALTREP_CLASS(x)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  125|  1.43k|#define CLASS_METHODS_TABLE(class) STDVEC_DATAPTR(class)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  263|  1.43k|}
altrep.c:altrep_Duplicate_default:
  810|  1.32k|{
  811|       |    return NULL;
  812|  1.32k|}
altrep.c:altvec_Extract_subset_default:
  861|     50|{
  862|       |    return NULL;
  863|     50|}
altrep.c:RegisterClass:
   64|     24|{
   65|     24|    PROTECT(class);
  ------------------
  |  |  357|     24|#define PROTECT(s)	Rf_protect(s)
  ------------------
   66|     24|    if (Registry == NULL) {
  ------------------
  |  Branch (66:9): [True: 2, False: 22]
  ------------------
   67|      2|	Registry = CONS(R_NilValue, R_NilValue);
  ------------------
  |  |  309|      2|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
   68|      2|	R_PreserveObject(Registry);
   69|      2|    }
   70|       |
   71|     24|    SEXP csym = install(cname);
  ------------------
  |  |  934|     24|#define install			Rf_install
  ------------------
   72|     24|    SEXP psym = install(pname);
  ------------------
  |  |  934|     24|#define install			Rf_install
  ------------------
   73|     24|    SEXP stype = PROTECT(ScalarInteger(type));
  ------------------
  |  |  357|     24|#define PROTECT(s)	Rf_protect(s)
  ------------------
   74|     24|    SEXP iptr = R_MakeExternalPtr(dll, R_NilValue, R_NilValue);
   75|     24|    SEXP entry = LookupClassEntry(csym, psym);
   76|     24|    if (entry == NULL) {
  ------------------
  |  Branch (76:9): [True: 24, False: 0]
  ------------------
   77|     24|	entry = list4(class, psym, stype, iptr);
  ------------------
  |  |  992|     24|#define list4			Rf_list4
  ------------------
   78|     24|	SET_TAG(entry, csym);
   79|     24|	SETCDR(Registry, CONS(entry, CDR(Registry)));
  ------------------
  |  |  309|     24|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
   80|     24|    }
   81|      0|    else {
   82|      0|	SETCAR(entry, class);
   83|      0|	SETCAR(CDR(CDR(entry)), stype);
   84|      0|	SETCAR(CDR(CDR(CDR(entry))), iptr);
   85|      0|    }
   86|     24|    SET_ALTREP_CLASS_SERIALIZED_CLASS(class, csym, psym, stype);
  ------------------
  |  |   39|     24|    SET_ATTRIB(x, list3(csym, psym, stype))
  |  |  ------------------
  |  |  |  |  991|     24|#define list3			Rf_list3
  |  |  ------------------
  ------------------
   87|     24|    UNPROTECT(2); /* class, stype */
  ------------------
  |  |  358|     24|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
   88|     24|}
altrep.c:R_cast_altrep_class:
 1139|     24|{
 1140|       |    /**** some king of optional check? */
 1141|     24|    R_altrep_class_t val = R_SUBTYPE_INIT(x);
  ------------------
  |  |   38|     24|# define R_SUBTYPE_INIT(x) { x }
  ------------------
 1142|     24|    return val;
 1143|     24|}
altrep.c:SET_ALTREP_CLASS:
  120|  4.17k|{
  121|  4.17k|    SETALTREP(x, 1);
  122|  4.17k|    SET_TAG(x, class);
  123|  4.17k|}

do_lapply:
   42|  2.31k|{
   43|  2.31k|    PROTECT_INDEX pidx, cidx;
   44|       |
   45|  2.31k|    checkArity(op, args);
  ------------------
  |  | 1793|  2.31k|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
   46|  2.31k|    SEXP X, XX, FUN;
   47|  2.31k|    X = checkArgIsSymbol(CAR(args));
   48|  2.31k|    XX = PROTECT(eval(CAR(args), rho));
  ------------------
  |  |  357|  2.31k|#define PROTECT(s)	Rf_protect(s)
  ------------------
   49|  2.31k|    R_xlen_t n = xlength(XX);  // a vector, so will be valid.
  ------------------
  |  | 1049|  2.31k|#define xlength(x)		Rf_xlength(x)
  ------------------
   50|  2.31k|    FUN = checkArgIsSymbol(CADR(args));
   51|  2.31k|    bool realIndx = n > INT_MAX;
   52|       |
   53|  2.31k|    SEXP ans = PROTECT(allocVector(VECSXP, n));
  ------------------
  |  |  357|  2.31k|#define PROTECT(s)	Rf_protect(s)
  ------------------
   54|  2.31k|    SEXP names = getAttrib(XX, R_NamesSymbol);
  ------------------
  |  |  924|  2.31k|#define getAttrib		Rf_getAttrib
  ------------------
   55|  2.31k|    if(!isNull(names)) setAttrib(ans, R_NamesSymbol, names);
  ------------------
  |  |  956|  2.31k|#define isNull			Rf_isNull
  ------------------
                  if(!isNull(names)) setAttrib(ans, R_NamesSymbol, names);
  ------------------
  |  | 1027|     22|#define setAttrib		Rf_setAttrib
  ------------------
  |  Branch (55:8): [True: 22, False: 2.29k]
  ------------------
   56|       |
   57|       |    /* Build call: FUN(X[[<ind>]], ...) */
   58|  2.31k|    SEXP isym = install("i");
  ------------------
  |  |  934|  2.31k|#define install			Rf_install
  ------------------
   59|  2.31k|    SEXP tmp = PROTECT(lang3(R_Bracket2Symbol, X, isym));
  ------------------
  |  |  357|  2.31k|#define PROTECT(s)	Rf_protect(s)
  ------------------
   60|  2.31k|    SEXP R_fcall = PROTECT(lang3(FUN, tmp, R_DotsSymbol));
  ------------------
  |  |  357|  2.31k|#define PROTECT(s)	Rf_protect(s)
  ------------------
   61|  2.31k|    MARK_NOT_MUTABLE(R_fcall);
   62|       |
   63|       |    /* Create the loop index variable and value */
   64|  2.31k|    SEXP ind = allocVector(realIndx ? REALSXP : INTSXP, 1);
  ------------------
  |  |  875|  2.31k|#define allocVector		Rf_allocVector
  ------------------
                  SEXP ind = allocVector(realIndx ? REALSXP : INTSXP, 1);
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
                  SEXP ind = allocVector(realIndx ? REALSXP : INTSXP, 1);
  ------------------
  |  |  123|  4.63k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (64:28): [True: 0, False: 2.31k]
  ------------------
   65|  2.31k|    PROTECT_WITH_INDEX(ind, &pidx);
  ------------------
  |  |  366|  2.31k|#define PROTECT_WITH_INDEX(x,i) R_ProtectWithIndex(x,i)
  ------------------
   66|  2.31k|    defineVar(isym, ind, rho);
  ------------------
  |  |  905|  2.31k|#define defineVar		Rf_defineVar
  ------------------
   67|  2.31k|    INCREMENT_NAMED(ind);
  ------------------
  |  |  222|  2.31k|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  ------------------
  |  |  |  Branch (222:43): [Folded, False: 2.31k]
  |  |  ------------------
  ------------------
   68|  2.31k|    R_varloc_t loc = R_findVarLocInFrame(rho, isym);
   69|  2.31k|    PROTECT_WITH_INDEX(loc.cell, &cidx);
  ------------------
  |  |  366|  2.31k|#define PROTECT_WITH_INDEX(x,i) R_ProtectWithIndex(x,i)
  ------------------
   70|       |
   71|       |
   72|  4.12k|    for(R_xlen_t i = 0; i < n; i++) {
  ------------------
  |  Branch (72:25): [True: 1.80k, False: 2.31k]
  ------------------
   73|  1.80k|	if (realIndx) REAL(ind)[0] = (double)(i + 1);
  ------------------
  |  Branch (73:6): [True: 0, False: 1.80k]
  ------------------
   74|  1.80k|	else INTEGER(ind)[0] = (int)(i + 1);
   75|  1.80k|	tmp = R_forceAndCall(R_fcall, 1, rho);
   76|  1.80k|	if (MAYBE_REFERENCED(tmp)) tmp = lazy_duplicate(tmp);
  ------------------
  |  |  251|  1.80k|#define MAYBE_REFERENCED(x) (! NO_REFERENCES(x))
  |  |  ------------------
  |  |  |  Branch (251:29): [True: 1.63k, False: 166]
  |  |  ------------------
  ------------------
              	if (MAYBE_REFERENCED(tmp)) tmp = lazy_duplicate(tmp);
  ------------------
  |  |  985|  1.63k|#define lazy_duplicate		Rf_lazy_duplicate
  ------------------
   77|  1.80k|	SET_VECTOR_ELT(ans, i, tmp);
   78|  1.80k|	if (ind != R_GetVarLocValue(loc) || MAYBE_SHARED(ind)) {
  ------------------
  |  Branch (78:6): [True: 0, False: 1.80k]
  |  Branch (78:38): [True: 0, False: 1.80k]
  ------------------
   79|       |	    /* ind has been captured or removed by FUN so fix it up */
   80|      0|	    REPROTECT(ind = duplicate(ind), pidx);
  ------------------
  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
   81|      0|	    defineVar(isym, ind, rho);
  ------------------
  |  |  905|      0|#define defineVar		Rf_defineVar
  ------------------
   82|      0|	    INCREMENT_NAMED(ind);
  ------------------
  |  |  222|      0|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  ------------------
  |  |  |  Branch (222:43): [Folded, False: 0]
  |  |  ------------------
  ------------------
   83|      0|	    loc = R_findVarLocInFrame(rho, isym);
   84|      0|	    REPROTECT(loc.cell, cidx);
  ------------------
  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
   85|      0|	}
   86|  1.80k|    }
   87|       |
   88|  2.31k|    UNPROTECT(6);
  ------------------
  |  |  358|  2.31k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
   89|  2.31k|    return ans;
   90|  2.31k|}
do_vapply:
   96|  2.82k|{
   97|  2.82k|    SEXP R_fcall, ans, names = R_NilValue, rowNames = R_NilValue,
   98|  2.82k|	X, XX, FUN, value, dim_v;
   99|  2.82k|    R_xlen_t i, n;
  100|  2.82k|    int commonLen;
  101|  2.82k|    int useNames, rnk_v = -1; // = array_rank(value) := length(dim(value))
  102|  2.82k|    bool array_value;
  103|  2.82k|    SEXPTYPE commonType;
  104|  2.82k|    PROTECT_INDEX index = 0; /* initialize to avoid a warning */
  105|       |
  106|  2.82k|    checkArity(op, args);
  ------------------
  |  | 1793|  2.82k|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  107|  2.82k|    PROTECT(X = CAR(args));
  ------------------
  |  |  357|  2.82k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  108|  2.82k|    PROTECT(XX = eval(CAR(args), rho));
  ------------------
  |  |  357|  2.82k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  109|  2.82k|    FUN = CADR(args);  /* must be unevaluated for use in e.g. bquote */
  110|  2.82k|    PROTECT(value = eval(CADDR(args), rho));
  ------------------
  |  |  357|  2.82k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  111|  2.82k|    if (!isVector(value)) error(_("'FUN.VALUE' must be a vector"));
  ------------------
  |  |  974|  2.82k|#define isVector		Rf_isVector
  ------------------
                  if (!isVector(value)) error(_("'FUN.VALUE' must be a vector"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  if (!isVector(value)) error(_("'FUN.VALUE' must be a vector"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (111:9): [True: 0, False: 2.82k]
  ------------------
  112|  2.82k|    useNames = asLogical(PROTECT(eval(CADDDR(args), rho)));
  ------------------
  |  |  886|  2.82k|#define asLogical		Rf_asLogical
  ------------------
                  useNames = asLogical(PROTECT(eval(CADDDR(args), rho)));
  ------------------
  |  |  357|  2.82k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  113|  2.82k|    UNPROTECT(1);
  ------------------
  |  |  358|  2.82k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  114|       |    // FIXME: does not protect against length > 1
  115|  2.82k|    if (useNames == NA_LOGICAL) error(_("invalid '%s' value"), "USE.NAMES");
  ------------------
  |  |   55|  2.82k|#define NA_LOGICAL	R_NaInt
  ------------------
                  if (useNames == NA_LOGICAL) error(_("invalid '%s' value"), "USE.NAMES");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  if (useNames == NA_LOGICAL) error(_("invalid '%s' value"), "USE.NAMES");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (115:9): [True: 0, False: 2.82k]
  ------------------
  116|       |
  117|  2.82k|    n = xlength(XX);
  ------------------
  |  | 1049|  2.82k|#define xlength(x)		Rf_xlength(x)
  ------------------
  118|  2.82k|    if (n == NA_INTEGER) error(_("invalid length"));
  ------------------
  |  |   56|  2.82k|#define NA_INTEGER	R_NaInt
  ------------------
                  if (n == NA_INTEGER) error(_("invalid length"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  if (n == NA_INTEGER) error(_("invalid length"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (118:9): [True: 0, False: 2.82k]
  ------------------
  119|  2.82k|    bool realIndx = n > INT_MAX;
  120|       |
  121|  2.82k|    commonLen = length(value);
  ------------------
  |  |  987|  2.82k|#define length(x)		Rf_length(x)
  ------------------
  122|  2.82k|    if (commonLen > 1 && n > INT_MAX)
  ------------------
  |  Branch (122:9): [True: 0, False: 2.82k]
  |  Branch (122:26): [True: 0, False: 0]
  ------------------
  123|      0|	error(_("long vectors are not supported for matrix/array results"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("long vectors are not supported for matrix/array results"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  124|  2.82k|    commonType = TYPEOF(value);
  125|       |    // check once here
  126|  2.82k|    if (commonType != CPLXSXP && commonType != REALSXP &&
  ------------------
  |  |  125|  5.64k|#define CPLXSXP	    15	  /* complex variables */
  ------------------
                  if (commonType != CPLXSXP && commonType != REALSXP &&
  ------------------
  |  |  124|  5.64k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (126:9): [True: 2.82k, False: 0]
  |  Branch (126:34): [True: 2.82k, False: 0]
  ------------------
  127|  2.82k|	commonType != INTSXP  && commonType != LGLSXP &&
  ------------------
  |  |  123|  5.64k|#define INTSXP	    13	  /* integer vectors */
  ------------------
              	commonType != INTSXP  && commonType != LGLSXP &&
  ------------------
  |  |  121|  5.64k|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (127:2): [True: 2.82k, False: 0]
  |  Branch (127:27): [True: 970, False: 1.85k]
  ------------------
  128|    970|	commonType != RAWSXP  && commonType != STRSXP &&
  ------------------
  |  |  136|  3.79k|#define RAWSXP      24    /* raw bytes */
  ------------------
              	commonType != RAWSXP  && commonType != STRSXP &&
  ------------------
  |  |  126|  3.79k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (128:2): [True: 970, False: 0]
  |  Branch (128:27): [True: 0, False: 970]
  ------------------
  129|      0|	commonType != VECSXP)
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (129:2): [True: 0, False: 0]
  ------------------
  130|      0|	error(_("type '%s' is not supported"), R_typeToChar(value));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("type '%s' is not supported"), R_typeToChar(value));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  131|  2.82k|    dim_v = getAttrib(value, R_DimSymbol);
  ------------------
  |  |  924|  2.82k|#define getAttrib		Rf_getAttrib
  ------------------
  132|  2.82k|    array_value = (TYPEOF(dim_v) == INTSXP && LENGTH(dim_v) >= 1);
  ------------------
  |  |  123|  5.64k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (132:20): [True: 0, False: 2.82k]
  |  Branch (132:47): [True: 0, False: 0]
  ------------------
  133|  2.82k|    PROTECT(ans = allocVector(commonType, n*commonLen));
  ------------------
  |  |  357|  2.82k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  134|  2.82k|    if (useNames) {
  ------------------
  |  Branch (134:9): [True: 1.85k, False: 966]
  ------------------
  135|  1.85k|	PROTECT(names = getAttrib(XX, R_NamesSymbol));
  ------------------
  |  |  357|  1.85k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  136|  1.85k|	if (isNull(names) && TYPEOF(XX) == STRSXP) {
  ------------------
  |  |  956|  1.85k|#define isNull			Rf_isNull
  ------------------
              	if (isNull(names) && TYPEOF(XX) == STRSXP) {
  ------------------
  |  |  126|  1.83k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (136:6): [True: 1.83k, False: 16]
  |  Branch (136:23): [True: 0, False: 1.83k]
  ------------------
  137|      0|	    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  138|      0|	    PROTECT(names = XX);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  139|      0|	}
  140|  1.85k|	PROTECT_WITH_INDEX(rowNames = getAttrib(value,
  ------------------
  |  |  366|  3.70k|#define PROTECT_WITH_INDEX(x,i) R_ProtectWithIndex(x,i)
  |  |  ------------------
  |  |  |  Branch (366:52): [True: 0, False: 1.85k]
  |  |  ------------------
  ------------------
  141|  1.85k|						array_value ? R_DimNamesSymbol
  142|  1.85k|						: R_NamesSymbol),
  143|  1.85k|			   &index);
  144|  1.85k|    }
  145|       |    /* The R level code has ensured that XX is a vector.
  146|       |       If it is atomic we can speed things up slightly by
  147|       |       using the evaluated version.
  148|       |    */
  149|  2.82k|    {
  150|  2.82k|	SEXP ind, tmp;
  151|       |	/* Build call: FUN(XX[[<ind>]], ...) */
  152|       |
  153|  2.82k|	SEXP isym = install("i");
  ------------------
  |  |  934|  2.82k|#define install			Rf_install
  ------------------
  154|  2.82k|	PROTECT(ind = allocVector(realIndx ? REALSXP : INTSXP, 1));
  ------------------
  |  |  357|  5.64k|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  |  |  Branch (357:31): [True: 0, False: 2.82k]
  |  |  ------------------
  ------------------
  155|  2.82k|	defineVar(isym, ind, rho);
  ------------------
  |  |  905|  2.82k|#define defineVar		Rf_defineVar
  ------------------
  156|  2.82k|	INCREMENT_NAMED(ind);
  ------------------
  |  |  222|  2.82k|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  ------------------
  |  |  |  Branch (222:43): [Folded, False: 2.82k]
  |  |  ------------------
  ------------------
  157|       |
  158|       |	/* Notice that it is OK to have one arg to LCONS do memory
  159|       |	   allocation and not PROTECT the result (LCONS does memory
  160|       |	   protection of its args internally), but not both of them,
  161|       |	   since the computation of one may destroy the other */
  162|  2.82k|	PROTECT(tmp = LCONS(R_Bracket2Symbol,
  ------------------
  |  |  357|  2.82k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  163|  2.82k|			    LCONS(X, LCONS(isym, R_NilValue))));
  164|  2.82k|	PROTECT(R_fcall = LCONS(FUN,
  ------------------
  |  |  357|  2.82k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  165|  2.82k|				LCONS(tmp, LCONS(R_DotsSymbol, R_NilValue))));
  166|       |
  167|  2.82k|	int common_len_offset = 0;
  168|  12.3k|	for(i = 0; i < n; i++) {
  ------------------
  |  Branch (168:13): [True: 9.49k, False: 2.82k]
  ------------------
  169|  9.49k|	    SEXP val; SEXPTYPE valType;
  170|  9.49k|	    PROTECT_INDEX indx;
  171|  9.49k|	    if (realIndx) REAL(ind)[0] = (double)(i + 1);
  ------------------
  |  Branch (171:10): [True: 0, False: 9.49k]
  ------------------
  172|  9.49k|	    else INTEGER(ind)[0] = (int)(i + 1);
  173|  9.49k|	    val = R_forceAndCall(R_fcall, 1, rho);
  174|  9.49k|	    if (MAYBE_REFERENCED(val))
  ------------------
  |  |  251|  9.49k|#define MAYBE_REFERENCED(x) (! NO_REFERENCES(x))
  |  |  ------------------
  |  |  |  Branch (251:29): [True: 5.59k, False: 3.90k]
  |  |  ------------------
  ------------------
  175|  5.59k|		val = lazy_duplicate(val); // Need to duplicate? Copying again anyway
  ------------------
  |  |  985|  5.59k|#define lazy_duplicate		Rf_lazy_duplicate
  ------------------
  176|  9.49k|	    PROTECT_WITH_INDEX(val, &indx);
  ------------------
  |  |  366|  9.49k|#define PROTECT_WITH_INDEX(x,i) R_ProtectWithIndex(x,i)
  ------------------
  177|  9.49k|	    if (length(val) != commonLen)
  ------------------
  |  |  987|  9.49k|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (177:10): [True: 0, False: 9.49k]
  ------------------
  178|      0|		error(_("values must be length %d,\n but FUN(X[[%lld]]) result is length %d"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("values must be length %d,\n but FUN(X[[%lld]]) result is length %d"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  179|      0|		       commonLen, (long long)i+1, length(val));
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  180|  9.49k|	    valType = TYPEOF(val);
  181|  9.49k|	    if (valType != commonType) {
  ------------------
  |  Branch (181:10): [True: 0, False: 9.49k]
  ------------------
  182|      0|		bool okay = false;
  183|      0|		switch (commonType) {
  ------------------
  |  Branch (183:11): [True: 0, False: 0]
  ------------------
  184|      0|		case CPLXSXP: okay = (valType == REALSXP) || (valType == INTSXP)
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
              		case CPLXSXP: okay = (valType == REALSXP) || (valType == INTSXP)
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
              		case CPLXSXP: okay = (valType == REALSXP) || (valType == INTSXP)
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (184:3): [True: 0, False: 0]
  |  Branch (184:24): [True: 0, False: 0]
  |  Branch (184:48): [True: 0, False: 0]
  ------------------
  185|      0|				    || (valType == LGLSXP); break;
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (185:12): [True: 0, False: 0]
  ------------------
  186|      0|		case REALSXP: okay = (valType == INTSXP) || (valType == LGLSXP); break;
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
              		case REALSXP: okay = (valType == INTSXP) || (valType == LGLSXP); break;
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
              		case REALSXP: okay = (valType == INTSXP) || (valType == LGLSXP); break;
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (186:3): [True: 0, False: 0]
  |  Branch (186:24): [True: 0, False: 0]
  |  Branch (186:47): [True: 0, False: 0]
  ------------------
  187|      0|		case INTSXP:  okay = (valType == LGLSXP); break;
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
              		case INTSXP:  okay = (valType == LGLSXP); break;
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (187:3): [True: 0, False: 0]
  ------------------
  188|      0|		}
  189|      0|		if (!okay)
  ------------------
  |  Branch (189:7): [True: 0, False: 0]
  ------------------
  190|      0|		    error(_("values must be type '%s',\n but FUN(X[[%lld]]) result is type '%s'"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("values must be type '%s',\n but FUN(X[[%lld]]) result is type '%s'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  191|      0|			  R_typeToChar(value), (long long)i+1, R_typeToChar(val));
  192|      0|		REPROTECT(val = coerceVector(val, commonType), indx);
  ------------------
  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
  193|      0|	    }
  194|       |	    /* Take row names from the first result only */
  195|  9.49k|	    if (i == 0 && useNames && isNull(rowNames))
  ------------------
  |  |  956|  1.84k|#define isNull			Rf_isNull
  ------------------
  |  Branch (195:10): [True: 2.80k, False: 6.69k]
  |  Branch (195:20): [True: 1.84k, False: 966]
  |  Branch (195:32): [True: 1.84k, False: 0]
  ------------------
  196|  1.84k|		REPROTECT(rowNames = getAttrib(val,
  ------------------
  |  |  367|  3.68k|#define REPROTECT(x,i) R_Reprotect(x,i)
  |  |  ------------------
  |  |  |  Branch (367:36): [True: 0, False: 1.84k]
  |  |  ------------------
  ------------------
  197|  9.49k|					       array_value ? R_DimNamesSymbol : R_NamesSymbol),
  198|  9.49k|			  index);
  199|       |	    // two cases - only for efficiency
  200|  9.49k|	    if(commonLen == 1) { // common case
  ------------------
  |  Branch (200:9): [True: 9.49k, False: 0]
  ------------------
  201|  9.49k|		switch (commonType) {
  ------------------
  |  Branch (201:11): [True: 9.49k, False: 0]
  ------------------
  202|      0|		case CPLXSXP: COMPLEX(ans)[i] = COMPLEX(val)[0]; break;
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (202:3): [True: 0, False: 9.49k]
  ------------------
  203|      0|		case REALSXP: REAL(ans)   [i] = REAL   (val)[0]; break;
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (203:3): [True: 0, False: 9.49k]
  ------------------
  204|      0|		case INTSXP:  INTEGER(ans)[i] = INTEGER(val)[0]; break;
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (204:3): [True: 0, False: 9.49k]
  ------------------
  205|  5.61k|		case LGLSXP:  LOGICAL(ans)[i] = LOGICAL(val)[0]; break;
  ------------------
  |  |  121|  5.61k|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (205:3): [True: 5.61k, False: 3.88k]
  ------------------
  206|      0|		case RAWSXP:  RAW(ans)    [i] = RAW    (val)[0]; break;
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (206:3): [True: 0, False: 9.49k]
  ------------------
  207|  3.88k|		case STRSXP:  SET_STRING_ELT(ans, i, STRING_ELT(val, 0)); break;
  ------------------
  |  |  126|  3.88k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (207:3): [True: 3.88k, False: 5.61k]
  ------------------
  208|      0|		case VECSXP:  SET_VECTOR_ELT(ans, i, VECTOR_ELT(val, 0)); break;
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (208:3): [True: 0, False: 9.49k]
  ------------------
  209|  9.49k|		}
  210|  9.49k|	    } else if (commonLen) { // commonLen > 1
  ------------------
  |  Branch (210:17): [True: 0, False: 0]
  ------------------
  211|      0|		switch (commonType) {
  ------------------
  |  Branch (211:11): [True: 0, False: 0]
  ------------------
  212|      0|		case REALSXP:
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (212:3): [True: 0, False: 0]
  ------------------
  213|      0|		    memcpy(REAL(ans) + common_len_offset,
  214|      0|			   REAL(val), commonLen * sizeof(double)); break;
  215|      0|		case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (215:3): [True: 0, False: 0]
  ------------------
  216|      0|		    memcpy(INTEGER(ans) + common_len_offset,
  217|      0|			   INTEGER(val), commonLen * sizeof(int)); break;
  218|      0|		case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (218:3): [True: 0, False: 0]
  ------------------
  219|      0|		    memcpy(LOGICAL(ans) + common_len_offset,
  220|      0|			   LOGICAL(val), commonLen * sizeof(int)); break;
  221|      0|		case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (221:3): [True: 0, False: 0]
  ------------------
  222|      0|		    memcpy(RAW(ans) + common_len_offset,
  223|      0|			   RAW(val), commonLen * sizeof(Rbyte)); break;
  224|      0|		case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (224:3): [True: 0, False: 0]
  ------------------
  225|      0|		    memcpy(COMPLEX(ans) + common_len_offset,
  226|      0|			   COMPLEX(val), commonLen * sizeof(Rcomplex)); break;
  227|      0|		case STRSXP:
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (227:3): [True: 0, False: 0]
  ------------------
  228|      0|		    for (int j = 0; j < commonLen; j++)
  ------------------
  |  Branch (228:23): [True: 0, False: 0]
  ------------------
  229|      0|			SET_STRING_ELT(ans, common_len_offset + j, STRING_ELT(val, j));
  230|      0|		    break;
  231|      0|		case VECSXP:
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (231:3): [True: 0, False: 0]
  ------------------
  232|      0|		    for (int j = 0; j < commonLen; j++)
  ------------------
  |  Branch (232:23): [True: 0, False: 0]
  ------------------
  233|      0|			SET_VECTOR_ELT(ans, common_len_offset + j, VECTOR_ELT(val, j));
  234|      0|		    break;
  235|      0|		}
  236|      0|		common_len_offset += commonLen;
  237|      0|	    }
  238|  9.49k|	    UNPROTECT(1);
  ------------------
  |  |  358|  9.49k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  239|  9.49k|	}
  240|  2.82k|	UNPROTECT(3);
  ------------------
  |  |  358|  2.82k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  241|  2.82k|    }
  242|       |
  243|  2.82k|    if (commonLen != 1) {
  ------------------
  |  Branch (243:9): [True: 0, False: 2.82k]
  ------------------
  244|      0|	SEXP dim;
  245|      0|	rnk_v = array_value ? LENGTH(dim_v) : 1;
  ------------------
  |  Branch (245:10): [True: 0, False: 0]
  ------------------
  246|      0|	PROTECT(dim = allocVector(INTSXP, rnk_v+1));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  247|      0|	if(array_value)
  ------------------
  |  Branch (247:5): [True: 0, False: 0]
  ------------------
  248|      0|	    for(int j = 0; j < rnk_v; j++)
  ------------------
  |  Branch (248:21): [True: 0, False: 0]
  ------------------
  249|      0|		INTEGER(dim)[j] = INTEGER(dim_v)[j];
  250|      0|	else
  251|      0|	    INTEGER(dim)[0] = commonLen;
  252|      0|	INTEGER(dim)[rnk_v] = (int) n;  // checked above
  253|      0|	setAttrib(ans, R_DimSymbol, dim);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  254|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  255|      0|    }
  256|       |
  257|  2.82k|    if (useNames) {
  ------------------
  |  Branch (257:9): [True: 1.85k, False: 966]
  ------------------
  258|  1.85k|	if (commonLen == 1) {
  ------------------
  |  Branch (258:6): [True: 1.85k, False: 0]
  ------------------
  259|  1.85k|	    if(!isNull(names)) setAttrib(ans, R_NamesSymbol, names);
  ------------------
  |  |  956|  1.85k|#define isNull			Rf_isNull
  ------------------
              	    if(!isNull(names)) setAttrib(ans, R_NamesSymbol, names);
  ------------------
  |  | 1027|     16|#define setAttrib		Rf_setAttrib
  ------------------
  |  Branch (259:9): [True: 16, False: 1.83k]
  ------------------
  260|  1.85k|	} else {
  261|      0|	    if (!isNull(names) || !isNull(rowNames)) {
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
              	    if (!isNull(names) || !isNull(rowNames)) {
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
  |  Branch (261:10): [True: 0, False: 0]
  |  Branch (261:28): [True: 0, False: 0]
  ------------------
  262|      0|		SEXP dimnames;
  263|      0|		PROTECT(dimnames = allocVector(VECSXP, rnk_v+1));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  264|      0|		if(array_value && !isNull(rowNames)) {
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
  |  Branch (264:6): [True: 0, False: 0]
  |  Branch (264:21): [True: 0, False: 0]
  ------------------
  265|      0|		    if(TYPEOF(rowNames) != VECSXP || LENGTH(rowNames) != rnk_v)
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (265:10): [True: 0, False: 0]
  |  Branch (265:40): [True: 0, False: 0]
  ------------------
  266|       |			// should never happen ..
  267|      0|			error(_("dimnames(<value>) is neither NULL nor list of length %d"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              			error(_("dimnames(<value>) is neither NULL nor list of length %d"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  268|      0|			      rnk_v);
  269|      0|		    for(int j = 0; j < rnk_v; j++)
  ------------------
  |  Branch (269:22): [True: 0, False: 0]
  ------------------
  270|      0|			SET_VECTOR_ELT(dimnames, j, VECTOR_ELT(rowNames, j));
  271|      0|		} else
  272|      0|		    SET_VECTOR_ELT(dimnames, 0, rowNames);
  273|       |
  274|      0|		SET_VECTOR_ELT(dimnames, rnk_v, names);
  275|      0|		setAttrib(ans, R_DimNamesSymbol, dimnames);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  276|      0|		UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  277|      0|	    }
  278|      0|	}
  279|  1.85k|	UNPROTECT(2); /* names and rowNames */
  ------------------
  |  |  358|  1.85k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  280|  1.85k|    }
  281|  2.82k|    UNPROTECT(4); /* X, XX, value, ans */
  ------------------
  |  |  358|  2.82k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  282|  2.82k|    return ans;
  283|  2.82k|}
do_islistfactor:
  399|    850|{
  400|    850|    checkArity(op, args);
  ------------------
  |  | 1793|    850|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  401|    850|    SEXP X = CAR(args);
  402|    850|    bool recursive = asBool2(CADR(args), call);
  ------------------
  |  | 1865|    850|# define asBool2	       	Rf_asBool2
  ------------------
  403|    850|    int n = length(X);
  ------------------
  |  |  987|    850|#define length(x)		Rf_length(x)
  ------------------
  404|    850|    if(n == 0 || !isVectorList(X))
  ------------------
  |  |  977|    848|#define isVectorList		Rf_isVectorList
  ------------------
  |  Branch (404:8): [True: 2, False: 848]
  |  Branch (404:18): [True: 0, False: 848]
  ------------------
  405|      2|	return ScalarLogical(false);
  ------------------
  |  | 1023|      2|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  406|       |
  407|    848|    if(!recursive) {
  ------------------
  |  Branch (407:8): [True: 26, False: 822]
  ------------------
  408|     26|	for(int i = 0; i < n; i++)
  ------------------
  |  Branch (408:17): [True: 26, False: 0]
  ------------------
  409|     26|	    if(!isFactor(VECTOR_ELT(X, i)))
  ------------------
  |  |  946|     26|#define isFactor		Rf_isFactor
  ------------------
  |  Branch (409:9): [True: 26, False: 0]
  ------------------
  410|     26|		return ScalarLogical(false);
  ------------------
  |  | 1023|     26|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  411|       |
  412|      0|	return ScalarLogical(true);
  ------------------
  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  413|     26|    }
  414|    822|    else { // recursive:  isVectorList(X) <==> X is VECSXP or EXPRSXP
  415|    822|	return ScalarLogical((islistfactor(X) == true) ? true : false);
  ------------------
  |  | 1023|    822|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  |  Branch (415:23): [True: 0, False: 822]
  ------------------
  416|    822|    }
  417|    848|}
apply.c:checkArgIsSymbol:
   27|  4.63k|static SEXP checkArgIsSymbol(SEXP x) {
   28|  4.63k|    if (TYPEOF(x) != SYMSXP)
  ------------------
  |  |  112|  4.63k|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (28:9): [True: 0, False: 4.63k]
  ------------------
   29|      0|	error("argument must be a symbol");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
   30|  4.63k|    return x;
   31|  4.63k|}
apply.c:islistfactor:
  375|  1.64k|{
  376|  1.64k|    switch(TYPEOF(X)) {
  377|    822|    case VECSXP:
  ------------------
  |  |  131|    822|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (377:5): [True: 822, False: 822]
  ------------------
  378|    822|    case EXPRSXP: {
  ------------------
  |  |  132|    822|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (378:5): [True: 0, False: 1.64k]
  ------------------
  379|    822|	int n = LENGTH(X), ans = NA_LOGICAL;
  ------------------
  |  |   55|    822|#define NA_LOGICAL	R_NaInt
  ------------------
  380|    822|	for(int i = 0; i < n; i++) {
  ------------------
  |  Branch (380:17): [True: 822, False: 0]
  ------------------
  381|    822|	    int isLF = islistfactor(VECTOR_ELT(X, i));
  382|    822|	    if(!isLF)
  ------------------
  |  Branch (382:9): [True: 822, False: 0]
  ------------------
  383|    822|		return false;
  384|      0|	    else if(isLF == true)
  ------------------
  |  Branch (384:14): [True: 0, False: 0]
  ------------------
  385|      0|		ans = true;
  386|       |	    // else isLF is NA
  387|    822|	}
  388|      0|	return ans;
  389|    822|    }
  390|    822|    default:
  ------------------
  |  Branch (390:5): [True: 822, False: 822]
  ------------------
  391|    822|	return isFactor(X);
  ------------------
  |  |  946|    822|#define isFactor		Rf_isFactor
  ------------------
  392|  1.64k|    }
  393|  1.64k|}

R_NaN_is_R_NA:
  103|  37.9k|{
  104|  37.9k|    ieee_double y;
  105|  37.9k|    y.value = x;
  106|  37.9k|    return (y.word[lw] == 1954);
  107|  37.9k|}
R_IsNA:
  110|  1.36M|{
  111|  1.36M|    return isnan(x) && R_NaN_is_R_NA(x);
  ------------------
  |  Branch (111:12): [True: 37.9k, False: 1.32M]
  |  Branch (111:24): [True: 37.7k, False: 208]
  ------------------
  112|  1.36M|}
R_IsNaN:
  115|  95.6k|{
  116|  95.6k|    return isnan(x) && ! R_NaN_is_R_NA(x);
  ------------------
  |  Branch (116:12): [True: 0, False: 95.6k]
  |  Branch (116:24): [True: 0, False: 0]
  ------------------
  117|  95.6k|}
Rf_InitArithmetic:
  143|      2|{
  144|      2|    R_NaInt = INT_MIN;
  145|      2|    R_NaReal = R_ValueOfNA();
  146|       |// we assume C99, so
  147|      2|#ifndef OLD
  148|      2|    R_NaN = NAN;
  149|      2|    R_PosInf = INFINITY;
  150|      2|    R_NegInf = -INFINITY;
  151|       |#else
  152|       |    R_NaN = 0.0/R_Zero_Hack;
  153|       |    R_PosInf = 1.0/R_Zero_Hack;
  154|       |    R_NegInf = -1.0/R_Zero_Hack;
  155|       |#endif
  156|      2|}
R_pow:
  206|   324k|{
  207|       |    /* squaring is the most common of the specially handled cases so
  208|       |       check for it first. */
  209|   324k|    if(y == 2.)
  ------------------
  |  Branch (209:8): [True: 0, False: 324k]
  ------------------
  210|      0|	return x * x;
  211|   324k|    if(x == 1. || y == 0.)
  ------------------
  |  Branch (211:8): [True: 1.23k, False: 323k]
  |  Branch (211:19): [True: 64, False: 323k]
  ------------------
  212|  1.29k|	return(1.);
  213|   323k|    if(x == 0.) {
  ------------------
  |  Branch (213:8): [True: 98.3k, False: 224k]
  ------------------
  214|  98.3k|	if(y > 0.) return(0.);
  ------------------
  |  Branch (214:5): [True: 98.3k, False: 0]
  ------------------
  215|      0|	else if(y < 0) return(R_PosInf);
  ------------------
  |  Branch (215:10): [True: 0, False: 0]
  ------------------
  216|      0|	else return(y); /* NA or NaN, we assert */
  217|  98.3k|    }
  218|   224k|    if (x >= -11. && x <= 11.) {
  ------------------
  |  Branch (218:9): [True: 224k, False: 0]
  |  Branch (218:22): [True: 224k, False: 0]
  ------------------
  219|   224k|	if(y == 4.)
  ------------------
  |  Branch (219:5): [True: 0, False: 224k]
  ------------------
  220|      0|	    return x * x * x * x;
  221|   224k|	if(y == 3.)
  ------------------
  |  Branch (221:5): [True: 21, False: 224k]
  ------------------
  222|     21|	    return x * x * x;
  223|   224k|    }
  224|   224k|    if (R_FINITE(x) && R_FINITE(y)) {
  ------------------
  |  |   82|   224k|# define R_FINITE(x)    isfinite(x)
  ------------------
                  if (R_FINITE(x) && R_FINITE(y)) {
  ------------------
  |  |   82|   224k|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (224:9): [True: 224k, False: 0]
  |  Branch (224:24): [True: 224k, False: 0]
  ------------------
  225|       |	/* There was a special case for y == 0.5 here, but
  226|       |	   gcc 4.3.0 -g -O2 mis-compiled it.  Showed up with
  227|       |	   100^0.5 as 3.162278, example(pbirthday) failed. */
  228|       |#ifdef USE_POWL_IN_R_POW
  229|       |	// this is used only on 64-bit Windows (so has powl).
  230|       |	return powl(x, y);
  231|       |#else
  232|   224k|	return pow(x, y);
  233|   224k|#endif
  234|   224k|    }
  235|      0|    if (ISNAN(x) || ISNAN(y))
  ------------------
  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
                  if (ISNAN(x) || ISNAN(y))
  ------------------
  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  236|      0|	return(x + y);
  237|      0|    if(!R_FINITE(x)) {
  ------------------
  |  |   82|      0|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (237:8): [True: 0, False: 0]
  ------------------
  238|      0|	if(x > 0)		/* Inf ^ y */
  ------------------
  |  Branch (238:5): [True: 0, False: 0]
  ------------------
  239|      0|	    return (y < 0.)? 0. : R_PosInf;
  ------------------
  |  Branch (239:13): [True: 0, False: 0]
  ------------------
  240|      0|	else {			/* (-Inf) ^ y */
  241|      0|	    if(R_FINITE(y) && y == floor(y)) /* (-Inf) ^ n */
  ------------------
  |  |   82|      0|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (241:9): [True: 0, False: 0]
  |  Branch (241:24): [True: 0, False: 0]
  ------------------
  242|      0|		return (y < 0.) ? 0. : (myfmod(y, 2.) != 0 ? x  : -x);
  ------------------
  |  Branch (242:10): [True: 0, False: 0]
  |  Branch (242:27): [True: 0, False: 0]
  ------------------
  243|      0|	}
  244|      0|    }
  245|      0|    if(!R_FINITE(y)) {
  ------------------
  |  |   82|      0|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (245:8): [True: 0, False: 0]
  ------------------
  246|      0|	if(x >= 0) {
  ------------------
  |  Branch (246:5): [True: 0, False: 0]
  ------------------
  247|      0|	    if(y > 0)		/* y == +Inf */
  ------------------
  |  Branch (247:9): [True: 0, False: 0]
  ------------------
  248|      0|		return (x >= 1) ? R_PosInf : 0.;
  ------------------
  |  Branch (248:10): [True: 0, False: 0]
  ------------------
  249|      0|	    else		/* y == -Inf */
  250|      0|		return (x < 1) ? R_PosInf : 0.;
  ------------------
  |  Branch (250:10): [True: 0, False: 0]
  ------------------
  251|      0|	}
  252|      0|    }
  253|      0|    return R_NaN; // all other cases: (-Inf)^{+-Inf, non-int}; (neg)^{+-Inf}
  254|      0|}
R_pow_di:
  257|  3.55k|{
  258|  3.55k|    double xn = 1.;
  259|       |
  260|  3.55k|    if (ISNAN(x)) return x;
  ------------------
  |  |   76|  3.55k|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 3.55k]
  |  |  ------------------
  ------------------
  261|  3.55k|    if (n == NA_INTEGER) return NA_REAL;
  ------------------
  |  |   56|  3.55k|#define NA_INTEGER	R_NaInt
  ------------------
                  if (n == NA_INTEGER) return NA_REAL;
  ------------------
  |  |   58|      0|#define NA_REAL		R_NaReal
  ------------------
  |  Branch (261:9): [True: 0, False: 3.55k]
  ------------------
  262|       |
  263|  3.55k|    if (n != 0) {
  ------------------
  |  Branch (263:9): [True: 3.55k, False: 0]
  ------------------
  264|  3.55k|	if (!R_FINITE(x)) return R_POW(x, (double)n);
  ------------------
  |  |   82|  3.55k|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (264:6): [True: 0, False: 3.55k]
  ------------------
  265|       |
  266|  3.55k|	bool is_neg = (n < 0);
  267|  3.55k|	if(is_neg) n = -n;
  ------------------
  |  Branch (267:5): [True: 0, False: 3.55k]
  ------------------
  268|  10.6k|	for(;;) {
  269|  10.6k|	    if(n & 01) xn *= x;
  ------------------
  |  Branch (269:9): [True: 7.11k, False: 3.55k]
  ------------------
  270|  10.6k|	    if(n >>= 1) x *= x; else break;
  ------------------
  |  Branch (270:9): [True: 7.11k, False: 3.55k]
  ------------------
  271|  10.6k|	}
  272|  3.55k|	if(is_neg) xn = 1. / xn;
  ------------------
  |  Branch (272:5): [True: 0, False: 3.55k]
  ------------------
  273|  3.55k|    }
  274|  3.55k|    return xn;
  275|  3.55k|}
do_arith:
  398|  8.00k|{
  399|  8.00k|    int argc;
  400|  8.00k|    if (args == R_NilValue)
  ------------------
  |  Branch (400:9): [True: 0, False: 8.00k]
  ------------------
  401|      0|	argc = 0;
  402|  8.00k|    else if (CDR(args) == R_NilValue)
  ------------------
  |  Branch (402:14): [True: 1.13k, False: 6.86k]
  ------------------
  403|  1.13k|	argc = 1;
  404|  6.86k|    else if (CDDR(args) == R_NilValue)
  ------------------
  |  Branch (404:14): [True: 6.86k, False: 0]
  ------------------
  405|  6.86k|	argc = 2;
  406|      0|    else
  407|      0|	argc = length(args);
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  408|       |
  409|  8.00k|    SEXP ans,
  410|  8.00k|	arg1 = CAR(args),
  411|  8.00k|	arg2 = CADR(args);
  412|  8.00k|    if (ATTRIB(arg1) != R_NilValue || ATTRIB(arg2) != R_NilValue) {
  ------------------
  |  Branch (412:9): [True: 0, False: 8.00k]
  |  Branch (412:39): [True: 0, False: 8.00k]
  ------------------
  413|      0|	if (DispatchGroup("Ops", call, op, args, env, &ans))
  ------------------
  |  | 1891|      0|# define DispatchGroup		Rf_DispatchGroup
  ------------------
  |  Branch (413:6): [True: 0, False: 0]
  ------------------
  414|      0|	    return ans;
  415|      0|    }
  416|  8.00k|    else if (argc == 2) {
  ------------------
  |  Branch (416:14): [True: 6.86k, False: 1.13k]
  ------------------
  417|       |	/* Handle some scaler operations immediately */
  418|  6.86k|	if (IS_SCALAR(arg1, REALSXP)) {
  ------------------
  |  |  124|  6.86k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (418:6): [True: 1.35k, False: 5.51k]
  ------------------
  419|  1.35k|	    double x1 = SCALAR_DVAL(arg1);
  420|  1.35k|	    if (IS_SCALAR(arg2, REALSXP)) {
  ------------------
  |  |  124|  1.35k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (420:10): [True: 1.35k, False: 0]
  ------------------
  421|  1.35k|		double x2 = SCALAR_DVAL(arg2);
  422|  1.35k|		ans = ScalarValue2(arg1, arg2);
  423|  1.35k|		switch (PRIMVAL(op)) {
  ------------------
  |  | 1347|  1.35k|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  |  |  ------------------
  |  |  |  Branch (1347:20): [True: 0, False: 1.35k]
  |  |  ------------------
  ------------------
  424|      0|		case PLUSOP: SET_SCALAR_DVAL(ans, x1 + x2); return ans;
  ------------------
  |  Branch (424:3): [True: 0, False: 1.35k]
  ------------------
  425|      0|		case MINUSOP: SET_SCALAR_DVAL(ans, x1 - x2); return ans;
  ------------------
  |  Branch (425:3): [True: 0, False: 1.35k]
  ------------------
  426|      0|		case TIMESOP: SET_SCALAR_DVAL(ans, x1 * x2); return ans;
  ------------------
  |  Branch (426:3): [True: 0, False: 1.35k]
  ------------------
  427|      0|		case DIVOP: SET_SCALAR_DVAL(ans, x1 / x2); return ans;
  ------------------
  |  Branch (427:3): [True: 0, False: 1.35k]
  ------------------
  428|  1.35k|		}
  429|  1.35k|	    }
  430|      0|	    else if (IS_SCALAR(arg2, INTSXP)) {
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (430:15): [True: 0, False: 0]
  ------------------
  431|      0|		int i2 = SCALAR_IVAL(arg2);
  432|      0|		double x2 = i2 != NA_INTEGER ? (double) i2 : NA_REAL;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
              		double x2 = i2 != NA_INTEGER ? (double) i2 : NA_REAL;
  ------------------
  |  |   58|      0|#define NA_REAL		R_NaReal
  ------------------
  |  Branch (432:15): [True: 0, False: 0]
  ------------------
  433|      0|		ans = ScalarValue1(arg1);
  434|      0|		switch (PRIMVAL(op)) {
  ------------------
  |  | 1347|      0|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  |  |  ------------------
  |  |  |  Branch (1347:20): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  435|      0|		case PLUSOP: SET_SCALAR_DVAL(ans, x1 + x2); return ans;
  ------------------
  |  Branch (435:3): [True: 0, False: 0]
  ------------------
  436|      0|		case MINUSOP: SET_SCALAR_DVAL(ans, x1 - x2); return ans;
  ------------------
  |  Branch (436:3): [True: 0, False: 0]
  ------------------
  437|      0|		case TIMESOP: SET_SCALAR_DVAL(ans, x1 * x2); return ans;
  ------------------
  |  Branch (437:3): [True: 0, False: 0]
  ------------------
  438|      0|		case DIVOP: SET_SCALAR_DVAL(ans, x1 / x2); return ans;
  ------------------
  |  Branch (438:3): [True: 0, False: 0]
  ------------------
  439|      0|		}
  440|      0|	    }
  441|  1.35k|	}
  442|  5.51k|	else if (IS_SCALAR(arg1, INTSXP)) {
  ------------------
  |  |  123|  5.51k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (442:11): [True: 596, False: 4.91k]
  ------------------
  443|    596|	    int i1 = SCALAR_IVAL(arg1);
  444|    596|	    if (IS_SCALAR(arg2, REALSXP)) {
  ------------------
  |  |  124|    596|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (444:10): [True: 26, False: 570]
  ------------------
  445|     26|		double x1 = i1 != NA_INTEGER ? (double) i1 : NA_REAL;
  ------------------
  |  |   56|     26|#define NA_INTEGER	R_NaInt
  ------------------
              		double x1 = i1 != NA_INTEGER ? (double) i1 : NA_REAL;
  ------------------
  |  |   58|      0|#define NA_REAL		R_NaReal
  ------------------
  |  Branch (445:15): [True: 26, False: 0]
  ------------------
  446|     26|		double x2 = SCALAR_DVAL(arg2);
  447|     26|		ans = ScalarValue1(arg2);
  448|     26|		switch (PRIMVAL(op)) {
  ------------------
  |  | 1347|     26|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  |  |  ------------------
  |  |  |  Branch (1347:20): [True: 0, False: 26]
  |  |  ------------------
  ------------------
  449|      0|		case PLUSOP: SET_SCALAR_DVAL(ans, x1 + x2); return ans;
  ------------------
  |  Branch (449:3): [True: 0, False: 26]
  ------------------
  450|      0|		case MINUSOP: SET_SCALAR_DVAL(ans, x1 - x2); return ans;
  ------------------
  |  Branch (450:3): [True: 0, False: 26]
  ------------------
  451|      0|		case TIMESOP: SET_SCALAR_DVAL(ans, x1 * x2); return ans;
  ------------------
  |  Branch (451:3): [True: 0, False: 26]
  ------------------
  452|      0|		case DIVOP: SET_SCALAR_DVAL(ans, x1 / x2); return ans;
  ------------------
  |  Branch (452:3): [True: 0, False: 26]
  ------------------
  453|     26|		}
  454|     26|	    }
  455|    570|	    else if (IS_SCALAR(arg2, INTSXP)) {
  ------------------
  |  |  123|    570|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (455:15): [True: 570, False: 0]
  ------------------
  456|    570|		bool naflag = false;
  457|    570|		int i2 = SCALAR_IVAL(arg2);
  458|    570|		switch (PRIMVAL(op)) {
  ------------------
  |  | 1347|    570|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  |  |  ------------------
  |  |  |  Branch (1347:20): [True: 0, False: 570]
  |  |  ------------------
  ------------------
  459|      0|		case PLUSOP:
  ------------------
  |  Branch (459:3): [True: 0, False: 570]
  ------------------
  460|      0|		    ans = ScalarValue2(arg1, arg2);
  461|      0|		    SET_SCALAR_IVAL(ans, R_integer_plus(i1, i2, &naflag));
  462|      0|		    CHECK_INTEGER_OVERFLOW(call, ans, naflag);
  ------------------
  |  |  312|      0|#define CHECK_INTEGER_OVERFLOW(call, ans, naflag) do {		\
  |  |  313|      0|	if (naflag) {						\
  |  |  ------------------
  |  |  |  Branch (313:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  314|      0|	    PROTECT(ans);					\
  |  |  ------------------
  |  |  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  |  315|      0|	    warningcall(call, INTEGER_OVERFLOW_WARNING);	\
  |  |  ------------------
  |  |  |  | 2018|      0|# define warningcall		Rf_warningcall
  |  |  ------------------
  |  |               	    warningcall(call, INTEGER_OVERFLOW_WARNING);	\
  |  |  ------------------
  |  |  |  |  310|      0|#define INTEGER_OVERFLOW_WARNING _("NAs produced by integer overflow")
  |  |  |  |  ------------------
  |  |  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  316|      0|	    UNPROTECT(1);					\
  |  |  ------------------
  |  |  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  |  |  ------------------
  |  |  317|      0|	}							\
  |  |  318|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (318:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  463|      0|		    return ans;
  464|      0|		case MINUSOP:
  ------------------
  |  Branch (464:3): [True: 0, False: 570]
  ------------------
  465|      0|		    ans = ScalarValue2(arg1, arg2);
  466|      0|		    SET_SCALAR_IVAL(ans, R_integer_minus(i1, i2, &naflag));
  467|      0|		    CHECK_INTEGER_OVERFLOW(call, ans, naflag);
  ------------------
  |  |  312|      0|#define CHECK_INTEGER_OVERFLOW(call, ans, naflag) do {		\
  |  |  313|      0|	if (naflag) {						\
  |  |  ------------------
  |  |  |  Branch (313:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  314|      0|	    PROTECT(ans);					\
  |  |  ------------------
  |  |  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  |  315|      0|	    warningcall(call, INTEGER_OVERFLOW_WARNING);	\
  |  |  ------------------
  |  |  |  | 2018|      0|# define warningcall		Rf_warningcall
  |  |  ------------------
  |  |               	    warningcall(call, INTEGER_OVERFLOW_WARNING);	\
  |  |  ------------------
  |  |  |  |  310|      0|#define INTEGER_OVERFLOW_WARNING _("NAs produced by integer overflow")
  |  |  |  |  ------------------
  |  |  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  316|      0|	    UNPROTECT(1);					\
  |  |  ------------------
  |  |  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  |  |  ------------------
  |  |  317|      0|	}							\
  |  |  318|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (318:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  468|      0|		    return ans;
  469|      0|		case TIMESOP:
  ------------------
  |  Branch (469:3): [True: 0, False: 570]
  ------------------
  470|      0|		    ans = ScalarValue2(arg1, arg2);
  471|      0|		    SET_SCALAR_IVAL(ans, R_integer_times(i1, i2, &naflag));
  472|      0|		    CHECK_INTEGER_OVERFLOW(call, ans, naflag);
  ------------------
  |  |  312|      0|#define CHECK_INTEGER_OVERFLOW(call, ans, naflag) do {		\
  |  |  313|      0|	if (naflag) {						\
  |  |  ------------------
  |  |  |  Branch (313:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  314|      0|	    PROTECT(ans);					\
  |  |  ------------------
  |  |  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  |  315|      0|	    warningcall(call, INTEGER_OVERFLOW_WARNING);	\
  |  |  ------------------
  |  |  |  | 2018|      0|# define warningcall		Rf_warningcall
  |  |  ------------------
  |  |               	    warningcall(call, INTEGER_OVERFLOW_WARNING);	\
  |  |  ------------------
  |  |  |  |  310|      0|#define INTEGER_OVERFLOW_WARNING _("NAs produced by integer overflow")
  |  |  |  |  ------------------
  |  |  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  316|      0|	    UNPROTECT(1);					\
  |  |  ------------------
  |  |  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  |  |  ------------------
  |  |  317|      0|	}							\
  |  |  318|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (318:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  473|      0|		    return ans;
  474|      0|		case DIVOP:
  ------------------
  |  Branch (474:3): [True: 0, False: 570]
  ------------------
  475|      0|		    return ScalarReal(R_integer_divide(i1, i2));
  ------------------
  |  | 1024|      0|#define ScalarReal		Rf_ScalarReal
  ------------------
  476|    570|		}
  477|    570|	    }
  478|    596|	}
  479|  6.86k|    }
  480|  1.13k|    else if (argc == 1) {
  ------------------
  |  Branch (480:14): [True: 1.13k, False: 0]
  ------------------
  481|  1.13k|	if (IS_SCALAR(arg1, REALSXP)) {
  ------------------
  |  |  124|  1.13k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (481:6): [True: 971, False: 166]
  ------------------
  482|    971|	    switch(PRIMVAL(op)) {
  ------------------
  |  | 1347|    971|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  |  |  ------------------
  |  |  |  Branch (1347:20): [True: 971, False: 0]
  |  |  ------------------
  ------------------
  483|      0|	    case PLUSOP: return(arg1);
  ------------------
  |  Branch (483:6): [True: 0, False: 971]
  ------------------
  484|    971|	    case MINUSOP:
  ------------------
  |  Branch (484:6): [True: 971, False: 0]
  ------------------
  485|    971|		ans = ScalarValue1(arg1);
  486|    971|		SET_SCALAR_DVAL(ans, -SCALAR_DVAL(arg1));
  487|    971|		return ans;
  488|    971|	    }
  489|    971|	}
  490|    166|	else if (IS_SCALAR(arg1, INTSXP)) {
  ------------------
  |  |  123|    166|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (490:11): [True: 166, False: 0]
  ------------------
  491|    166|	    int ival;
  492|    166|	    switch(PRIMVAL(op)) {
  ------------------
  |  | 1347|    166|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  |  |  ------------------
  |  |  |  Branch (1347:20): [True: 166, False: 0]
  |  |  ------------------
  ------------------
  493|      0|	    case PLUSOP: return(arg1);
  ------------------
  |  Branch (493:6): [True: 0, False: 166]
  ------------------
  494|    166|	    case MINUSOP:
  ------------------
  |  Branch (494:6): [True: 166, False: 0]
  ------------------
  495|    166|		ival = SCALAR_IVAL(arg1);
  496|    166|		ans = ScalarValue1(arg1);
  497|    166|		SET_SCALAR_IVAL(ans, ival == NA_INTEGER ? NA_INTEGER : -ival);
  ------------------
  |  |   56|    166|#define NA_INTEGER	R_NaInt
  ------------------
              		SET_SCALAR_IVAL(ans, ival == NA_INTEGER ? NA_INTEGER : -ival);
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (497:24): [True: 0, False: 166]
  ------------------
  498|    166|		return ans;
  499|    166|	    }
  500|    166|	}
  501|  1.13k|    }
  502|       |
  503|  6.86k|    if (argc == 2)
  ------------------
  |  Branch (503:9): [True: 6.86k, False: 0]
  ------------------
  504|  6.86k|	return R_binary(call, op, arg1, arg2);
  505|      0|    else if (argc == 1)
  ------------------
  |  Branch (505:14): [True: 0, False: 0]
  ------------------
  506|      0|	return R_unary(call, op, arg1);
  507|      0|    else
  508|      0|	errorcall(call,_("operator needs one or two arguments"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call,_("operator needs one or two arguments"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  509|      0|    return ans;			/* never used; to keep -Wall happy */
  510|  6.86k|}
R_binary:
  529|  29.6k|{
  530|  29.6k|    bool xattr, yattr, xarray, yarray, xts, yts, xS4, yS4;
  531|  29.6k|    PROTECT_INDEX xpi, ypi;
  532|  29.6k|    ARITHOP_TYPE oper = (ARITHOP_TYPE) PRIMVAL(op);
  ------------------
  |  | 1347|  29.6k|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  533|  29.6k|    int nprotect = 2; /* x and y */
  534|       |
  535|       |
  536|  29.6k|    PROTECT_WITH_INDEX(x, &xpi);
  ------------------
  |  |  366|  29.6k|#define PROTECT_WITH_INDEX(x,i) R_ProtectWithIndex(x,i)
  ------------------
  537|  29.6k|    PROTECT_WITH_INDEX(y, &ypi);
  ------------------
  |  |  366|  29.6k|#define PROTECT_WITH_INDEX(x,i) R_ProtectWithIndex(x,i)
  ------------------
  538|       |
  539|  29.6k|    FIXUP_NULL_AND_CHECK_TYPES(x, xpi);
  ------------------
  |  |  520|  29.6k|#define FIXUP_NULL_AND_CHECK_TYPES(v, vpi) do { \
  |  |  521|  29.6k|    switch (TYPEOF(v)) { \
  |  |  522|      0|    case NILSXP: REPROTECT(v = allocVector(INTSXP,0), vpi); break; \
  |  |  ------------------
  |  |  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  |  |  ------------------
  |  |                   case NILSXP: REPROTECT(v = allocVector(INTSXP,0), vpi); break; \
  |  |  ------------------
  |  |  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  |  |  ------------------
  |  |  |  Branch (522:5): [True: 0, False: 29.6k]
  |  |  ------------------
  |  |  523|  29.6k|    case CPLXSXP: case REALSXP: case INTSXP: case LGLSXP: break; \
  |  |  ------------------
  |  |  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  |  |  ------------------
  |  |                   case CPLXSXP: case REALSXP: case INTSXP: case LGLSXP: break; \
  |  |  ------------------
  |  |  |  |  124|  25.8k|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |                   case CPLXSXP: case REALSXP: case INTSXP: case LGLSXP: break; \
  |  |  ------------------
  |  |  |  |  123|  29.6k|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |                   case CPLXSXP: case REALSXP: case INTSXP: case LGLSXP: break; \
  |  |  ------------------
  |  |  |  |  121|  29.6k|#define LGLSXP	    10	  /* logical vectors */
  |  |  ------------------
  |  |  |  Branch (523:5): [True: 0, False: 29.6k]
  |  |  |  Branch (523:19): [True: 25.8k, False: 3.78k]
  |  |  |  Branch (523:33): [True: 3.78k, False: 25.8k]
  |  |  |  Branch (523:46): [True: 0, False: 29.6k]
  |  |  ------------------
  |  |  524|  29.6k|    default: errorcall(call, _("non-numeric argument to binary operator")); \
  |  |  ------------------
  |  |  |  |  912|      0|#define errorcall		Rf_errorcall
  |  |  ------------------
  |  |                   default: errorcall(call, _("non-numeric argument to binary operator")); \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  |  |  Branch (524:5): [True: 0, False: 29.6k]
  |  |  ------------------
  |  |  525|  29.6k|    } \
  |  |  526|  29.6k|} while (0)
  |  |  ------------------
  |  |  |  Branch (526:10): [Folded, False: 29.6k]
  |  |  ------------------
  ------------------
  540|  29.6k|    FIXUP_NULL_AND_CHECK_TYPES(y, ypi);
  ------------------
  |  |  520|  29.6k|#define FIXUP_NULL_AND_CHECK_TYPES(v, vpi) do { \
  |  |  521|  29.6k|    switch (TYPEOF(v)) { \
  |  |  522|      0|    case NILSXP: REPROTECT(v = allocVector(INTSXP,0), vpi); break; \
  |  |  ------------------
  |  |  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  |  |  ------------------
  |  |                   case NILSXP: REPROTECT(v = allocVector(INTSXP,0), vpi); break; \
  |  |  ------------------
  |  |  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  |  |  ------------------
  |  |  |  Branch (522:5): [True: 0, False: 29.6k]
  |  |  ------------------
  |  |  523|  29.6k|    case CPLXSXP: case REALSXP: case INTSXP: case LGLSXP: break; \
  |  |  ------------------
  |  |  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  |  |  ------------------
  |  |                   case CPLXSXP: case REALSXP: case INTSXP: case LGLSXP: break; \
  |  |  ------------------
  |  |  |  |  124|  27.1k|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |                   case CPLXSXP: case REALSXP: case INTSXP: case LGLSXP: break; \
  |  |  ------------------
  |  |  |  |  123|  27.9k|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |                   case CPLXSXP: case REALSXP: case INTSXP: case LGLSXP: break; \
  |  |  ------------------
  |  |  |  |  121|  29.6k|#define LGLSXP	    10	  /* logical vectors */
  |  |  ------------------
  |  |  |  Branch (523:5): [True: 0, False: 29.6k]
  |  |  |  Branch (523:19): [True: 27.1k, False: 2.54k]
  |  |  |  Branch (523:33): [True: 808, False: 28.8k]
  |  |  |  Branch (523:46): [True: 1.73k, False: 27.9k]
  |  |  ------------------
  |  |  524|  27.9k|    default: errorcall(call, _("non-numeric argument to binary operator")); \
  |  |  ------------------
  |  |  |  |  912|      0|#define errorcall		Rf_errorcall
  |  |  ------------------
  |  |                   default: errorcall(call, _("non-numeric argument to binary operator")); \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  |  |  Branch (524:5): [True: 0, False: 29.6k]
  |  |  ------------------
  |  |  525|  29.6k|    } \
  |  |  526|  29.6k|} while (0)
  |  |  ------------------
  |  |  |  Branch (526:10): [Folded, False: 29.6k]
  |  |  ------------------
  ------------------
  541|       |
  542|  29.6k|    R_xlen_t
  543|  29.6k|	nx = XLENGTH(x),
  544|  29.6k|	ny = XLENGTH(y);
  545|  29.6k|    if (ATTRIB(x) != R_NilValue) {
  ------------------
  |  Branch (545:9): [True: 8.65k, False: 21.0k]
  ------------------
  546|  8.65k|	xattr = true;
  547|  8.65k|	xarray = isArray(x);
  ------------------
  |  |  940|  8.65k|#define isArray			Rf_isArray
  ------------------
  548|  8.65k|	xts = isTs(x);
  ------------------
  |  |  967|  8.65k|#define isTs			Rf_isTs
  ------------------
  549|  8.65k|	xS4 = isS4(x);
  ------------------
  |  |  964|  8.65k|#define isS4			Rf_isS4
  ------------------
  550|  8.65k|    }
  551|  21.0k|    else xattr = xarray = xts = xS4 = false;
  552|  29.6k|    if (ATTRIB(y) != R_NilValue) {
  ------------------
  |  Branch (552:9): [True: 5.72k, False: 23.9k]
  ------------------
  553|  5.72k|	yattr = true;
  554|  5.72k|	yarray = isArray(y);
  ------------------
  |  |  940|  5.72k|#define isArray			Rf_isArray
  ------------------
  555|  5.72k|	yts = isTs(y);
  ------------------
  |  |  967|  5.72k|#define isTs			Rf_isTs
  ------------------
  556|  5.72k|	yS4 = isS4(y);
  ------------------
  |  |  964|  5.72k|#define isS4			Rf_isS4
  ------------------
  557|  5.72k|    }
  558|  23.9k|    else yattr = yarray = yts = yS4 = false;
  559|       |
  560|  29.6k|#define R_ARITHMETIC_ARRAY_1_SPECIAL
  561|       |
  562|  29.6k|#ifdef R_ARITHMETIC_ARRAY_1_SPECIAL
  563|       |    /* If either x or y is a matrix with length 1 and the other is a
  564|       |       vector of a different length, we want to coerce the matrix to be a vector.
  565|       |       Do we want to?  We don't do it!  BDR 2004-03-06
  566|       |
  567|       |       From 3.4.0 (Sep. 2016), this signals a warning,
  568|       |       and in the future we will disable these 2 clauses,
  569|       |       so it will give an error.
  570|       |    */
  571|       |
  572|       |    /* FIXME: Danger Will Robinson.
  573|       |     * -----  We might be trashing arguments here.
  574|       |     */
  575|  29.6k|    if (xarray != yarray) {
  ------------------
  |  Branch (575:9): [True: 7.60k, False: 22.0k]
  ------------------
  576|  7.60k|    	if (xarray && nx==1 && ny!=1) {
  ------------------
  |  Branch (576:10): [True: 6.85k, False: 750]
  |  Branch (576:20): [True: 0, False: 6.85k]
  |  Branch (576:29): [True: 0, False: 0]
  ------------------
  577|      0|	    if(ny != 0)
  ------------------
  |  Branch (577:9): [True: 0, False: 0]
  ------------------
  578|      0|		warningcall(call, _(
  ------------------
  |  | 2018|      0|# define warningcall		Rf_warningcall
  ------------------
              		warningcall(call, _(
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  579|      0|	"Recycling array of length 1 in array-vector arithmetic is deprecated.\n\
  580|      0|  Use c() or as.vector() instead."));
  581|      0|    	    REPROTECT(x = duplicate(x), xpi);
  ------------------
  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
  582|      0|    	    setAttrib(x, R_DimSymbol, R_NilValue);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  583|      0|    	}
  584|  7.60k|    	if (yarray && ny==1 && nx!=1) {
  ------------------
  |  Branch (584:10): [True: 750, False: 6.85k]
  |  Branch (584:20): [True: 0, False: 750]
  |  Branch (584:29): [True: 0, False: 0]
  ------------------
  585|      0|	    if(nx != 0)
  ------------------
  |  Branch (585:9): [True: 0, False: 0]
  ------------------
  586|      0|		warningcall(call, _(
  ------------------
  |  | 2018|      0|# define warningcall		Rf_warningcall
  ------------------
              		warningcall(call, _(
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  587|      0|	"Recycling array of length 1 in vector-array arithmetic is deprecated.\n\
  588|      0|  Use c() or as.vector() instead."));
  589|      0|    	    REPROTECT(y = duplicate(y), ypi);
  ------------------
  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
  590|      0|    	    setAttrib(y, R_DimSymbol, R_NilValue);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  591|      0|    	}
  592|  7.60k|    }
  593|  29.6k|#endif
  594|       |
  595|  29.6k|    SEXP dims, xnames, ynames;
  596|  29.6k|    if (xarray || yarray) {
  ------------------
  |  Branch (596:9): [True: 7.12k, False: 22.5k]
  |  Branch (596:19): [True: 750, False: 21.8k]
  ------------------
  597|       |	/* if one is a length-atleast-1-array and the
  598|       |	 * other  is a length-0 *non*array, then do not use array treatment */
  599|  7.87k|	if (xarray && yarray) {
  ------------------
  |  Branch (599:6): [True: 7.12k, False: 750]
  |  Branch (599:16): [True: 266, False: 6.85k]
  ------------------
  600|    266|	    if (!conformable(x, y))
  ------------------
  |  |  896|    266|#define conformable		Rf_conformable
  ------------------
  |  Branch (600:10): [True: 0, False: 266]
  ------------------
  601|      0|		errorcall(call, _("non-conformable arrays"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              		errorcall(call, _("non-conformable arrays"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  602|    266|	    PROTECT(dims = getAttrib(x, R_DimSymbol)); nprotect++;
  ------------------
  |  |  357|    266|#define PROTECT(s)	Rf_protect(s)
  ------------------
  603|    266|	}
  604|  7.60k|	else if (xarray && (ny != 0 || nx == 0)) {
  ------------------
  |  Branch (604:11): [True: 6.85k, False: 750]
  |  Branch (604:22): [True: 6.85k, False: 0]
  |  Branch (604:33): [True: 0, False: 0]
  ------------------
  605|  6.85k|	    PROTECT(dims = getAttrib(x, R_DimSymbol)); nprotect++;
  ------------------
  |  |  357|  6.85k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  606|  6.85k|	}
  607|    750|	else if (yarray && (nx != 0 || ny == 0)) {
  ------------------
  |  Branch (607:11): [True: 750, False: 0]
  |  Branch (607:22): [True: 750, False: 0]
  |  Branch (607:33): [True: 0, False: 0]
  ------------------
  608|    750|	    PROTECT(dims = getAttrib(y, R_DimSymbol)); nprotect++;
  ------------------
  |  |  357|    750|#define PROTECT(s)	Rf_protect(s)
  ------------------
  609|    750|	} else
  610|      0|	    dims = R_NilValue;
  611|  7.87k|	if (xattr) {
  ------------------
  |  Branch (611:6): [True: 7.12k, False: 750]
  ------------------
  612|  7.12k|	    PROTECT(xnames = getAttrib(x, R_DimNamesSymbol));
  ------------------
  |  |  357|  7.12k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  613|  7.12k|	    nprotect++;
  614|  7.12k|	}
  615|    750|	else xnames = R_NilValue;
  616|  7.87k|	if (yattr) {
  ------------------
  |  Branch (616:6): [True: 1.01k, False: 6.85k]
  ------------------
  617|  1.01k|	    PROTECT(ynames = getAttrib(y, R_DimNamesSymbol));
  ------------------
  |  |  357|  1.01k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  618|  1.01k|	    nprotect++;
  619|  1.01k|	}
  620|  6.85k|	else ynames = R_NilValue;
  621|  7.87k|    }
  622|  21.8k|    else {
  623|  21.8k|	dims = R_NilValue;
  624|  21.8k|	if (xattr) {
  ------------------
  |  Branch (624:6): [True: 1.53k, False: 20.2k]
  ------------------
  625|  1.53k|	    PROTECT(xnames = getAttrib(x, R_NamesSymbol));
  ------------------
  |  |  357|  1.53k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  626|  1.53k|	    nprotect++;
  627|  1.53k|	}
  628|  20.2k|	else xnames = R_NilValue;
  629|  21.8k|	if (yattr) {
  ------------------
  |  Branch (629:6): [True: 4.71k, False: 17.0k]
  ------------------
  630|  4.71k|	    PROTECT(ynames = getAttrib(y, R_NamesSymbol));
  ------------------
  |  |  357|  4.71k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  631|  4.71k|	    nprotect++;
  632|  4.71k|	}
  633|  17.0k|	else ynames = R_NilValue;
  634|  21.8k|    }
  635|       |
  636|  29.6k|    SEXP klass = NULL, tsp = NULL; // -Wall
  637|  29.6k|    if (xts || yts) {
  ------------------
  |  Branch (637:9): [True: 0, False: 29.6k]
  |  Branch (637:16): [True: 0, False: 29.6k]
  ------------------
  638|      0|	if (xts && yts) {
  ------------------
  |  Branch (638:6): [True: 0, False: 0]
  |  Branch (638:13): [True: 0, False: 0]
  ------------------
  639|       |	    /* could check ts conformance here */
  640|      0|	    PROTECT(tsp = getAttrib(x, R_TspSymbol));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  641|      0|	    PROTECT(klass = getAttrib(x, R_ClassSymbol));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  642|      0|	}
  643|      0|	else if (xts) {
  ------------------
  |  Branch (643:11): [True: 0, False: 0]
  ------------------
  644|      0|	    if (nx < ny)
  ------------------
  |  Branch (644:10): [True: 0, False: 0]
  ------------------
  645|      0|		ErrorMessage(call, ERROR_TSVEC_MISMATCH);
  ------------------
  |  | 1902|      0|# define ErrorMessage		Rf_ErrorMessage
  ------------------
  646|      0|	    PROTECT(tsp = getAttrib(x, R_TspSymbol));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  647|      0|	    PROTECT(klass = getAttrib(x, R_ClassSymbol));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  648|      0|	}
  649|      0|	else {			/* (yts) */
  650|      0|	    if (ny < nx)
  ------------------
  |  Branch (650:10): [True: 0, False: 0]
  ------------------
  651|      0|		ErrorMessage(call, ERROR_TSVEC_MISMATCH);
  ------------------
  |  | 1902|      0|# define ErrorMessage		Rf_ErrorMessage
  ------------------
  652|      0|	    PROTECT(tsp = getAttrib(y, R_TspSymbol));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  653|      0|	    PROTECT(klass = getAttrib(y, R_ClassSymbol));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  654|      0|	}
  655|      0|	nprotect += 2;
  656|      0|    }
  657|       |
  658|  29.6k|    if (nx > 0 && ny > 0 &&
  ------------------
  |  Branch (658:9): [True: 28.5k, False: 1.13k]
  |  Branch (658:19): [True: 28.5k, False: 0]
  ------------------
  659|  28.5k|	((nx > ny) ? nx % ny : ny % nx) != 0) // mismatch
  ------------------
  |  Branch (659:2): [True: 0, False: 28.5k]
  |  Branch (659:3): [True: 16.3k, False: 12.1k]
  ------------------
  660|      0|	warningcall(call,
  ------------------
  |  | 2018|      0|# define warningcall		Rf_warningcall
  ------------------
  661|      0|		    _("longer object length is not a multiple of shorter object length"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  662|       |
  663|  29.6k|    SEXP val;
  664|       |    /* need to preserve object here, as *_binary copies class attributes */
  665|  29.6k|    if (TYPEOF(x) == CPLXSXP || TYPEOF(y) == CPLXSXP) {
  ------------------
  |  |  125|  59.3k|#define CPLXSXP	    15	  /* complex variables */
  ------------------
                  if (TYPEOF(x) == CPLXSXP || TYPEOF(y) == CPLXSXP) {
  ------------------
  |  |  125|  29.6k|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (665:9): [True: 0, False: 29.6k]
  |  Branch (665:33): [True: 0, False: 29.6k]
  ------------------
  666|       |/* TODO: if not both are CPLX, work with "coordinate-wise   scalar o <2D-vector> "
  667|       |   1) can be *faster* for all ops
  668|       |   2) for '*' and '/' (with  y  DBL/INT/LGL ) really different use C standard <real> o <cmplx>
  669|       |*/
  670|      0|	COERCE_IF_NEEDED(x, CPLXSXP, xpi);
  ------------------
  |  |  512|      0|#define COERCE_IF_NEEDED(v, tp, vpi) do { \
  |  |  513|      0|    if (TYPEOF(v) != (tp)) { \
  |  |  ------------------
  |  |  |  Branch (513:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  514|      0|	int __vo__ = OBJECT(v); \
  |  |  515|      0|	REPROTECT(v = coerceVector(v, (tp)), vpi); \
  |  |  ------------------
  |  |  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  |  |  ------------------
  |  |  516|      0|	if (__vo__) SET_OBJECT(v, 1); \
  |  |  ------------------
  |  |  |  Branch (516:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  517|      0|    } \
  |  |  518|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (518:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
  671|      0|	COERCE_IF_NEEDED(y, CPLXSXP, ypi);
  ------------------
  |  |  512|      0|#define COERCE_IF_NEEDED(v, tp, vpi) do { \
  |  |  513|      0|    if (TYPEOF(v) != (tp)) { \
  |  |  ------------------
  |  |  |  Branch (513:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  514|      0|	int __vo__ = OBJECT(v); \
  |  |  515|      0|	REPROTECT(v = coerceVector(v, (tp)), vpi); \
  |  |  ------------------
  |  |  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  |  |  ------------------
  |  |  516|      0|	if (__vo__) SET_OBJECT(v, 1); \
  |  |  ------------------
  |  |  |  Branch (516:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  517|      0|    } \
  |  |  518|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (518:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
  672|      0|	val = complex_binary(oper, x, y);
  673|      0|    }
  674|  29.6k|    else if (TYPEOF(x) == REALSXP || TYPEOF(y) == REALSXP) {
  ------------------
  |  |  124|  59.3k|#define REALSXP	    14	  /* real variables */
  ------------------
                  else if (TYPEOF(x) == REALSXP || TYPEOF(y) == REALSXP) {
  ------------------
  |  |  124|  3.78k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (674:14): [True: 25.8k, False: 3.78k]
  |  Branch (674:38): [True: 1.23k, False: 2.54k]
  ------------------
  675|       |	/* real_binary can handle REALSXP or INTSXP operand, but not LGLSXP. */
  676|       |	/* Can get a LGLSXP. In base-Ex.R on 24 Oct '06, got 8 of these. */
  677|  27.1k|	if (TYPEOF(x) != INTSXP) COERCE_IF_NEEDED(x, REALSXP, xpi);
  ------------------
  |  |  123|  27.1k|#define INTSXP	    13	  /* integer vectors */
  ------------------
              	if (TYPEOF(x) != INTSXP) COERCE_IF_NEEDED(x, REALSXP, xpi);
  ------------------
  |  |  512|  25.8k|#define COERCE_IF_NEEDED(v, tp, vpi) do { \
  |  |  513|  25.8k|    if (TYPEOF(v) != (tp)) { \
  |  |  ------------------
  |  |  |  Branch (513:9): [True: 0, False: 25.8k]
  |  |  ------------------
  |  |  514|      0|	int __vo__ = OBJECT(v); \
  |  |  515|      0|	REPROTECT(v = coerceVector(v, (tp)), vpi); \
  |  |  ------------------
  |  |  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  |  |  ------------------
  |  |  516|      0|	if (__vo__) SET_OBJECT(v, 1); \
  |  |  ------------------
  |  |  |  Branch (516:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  517|      0|    } \
  |  |  518|  25.8k|} while (0)
  |  |  ------------------
  |  |  |  Branch (518:10): [Folded, False: 25.8k]
  |  |  ------------------
  ------------------
  |  Branch (677:6): [True: 25.8k, False: 1.23k]
  ------------------
  678|  27.1k|	if (TYPEOF(y) != INTSXP) COERCE_IF_NEEDED(y, REALSXP, ypi);
  ------------------
  |  |  123|  27.1k|#define INTSXP	    13	  /* integer vectors */
  ------------------
              	if (TYPEOF(y) != INTSXP) COERCE_IF_NEEDED(y, REALSXP, ypi);
  ------------------
  |  |  512|  27.1k|#define COERCE_IF_NEEDED(v, tp, vpi) do { \
  |  |  513|  27.1k|    if (TYPEOF(v) != (tp)) { \
  |  |  ------------------
  |  |  |  Branch (513:9): [True: 0, False: 27.1k]
  |  |  ------------------
  |  |  514|      0|	int __vo__ = OBJECT(v); \
  |  |  515|      0|	REPROTECT(v = coerceVector(v, (tp)), vpi); \
  |  |  ------------------
  |  |  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  |  |  ------------------
  |  |  516|      0|	if (__vo__) SET_OBJECT(v, 1); \
  |  |  ------------------
  |  |  |  Branch (516:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  517|      0|    } \
  |  |  518|  27.1k|} while (0)
  |  |  ------------------
  |  |  |  Branch (518:10): [Folded, False: 27.1k]
  |  |  ------------------
  ------------------
  |  Branch (678:6): [True: 27.1k, False: 0]
  ------------------
  679|  27.1k|	val = real_binary(oper, x, y);
  680|  27.1k|    }
  681|  2.54k|    else val = integer_binary(oper, x, y, call);
  682|       |
  683|       |    /* quick return if there are no attributes */
  684|  29.6k|    if (! xattr && ! yattr) {
  ------------------
  |  Branch (684:9): [True: 21.0k, False: 8.65k]
  |  Branch (684:20): [True: 16.9k, False: 4.04k]
  ------------------
  685|  16.9k|	UNPROTECT(nprotect);
  ------------------
  |  |  358|  16.9k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  686|  16.9k|	return val;
  687|  16.9k|    }
  688|       |
  689|  12.7k|    PROTECT(val);
  ------------------
  |  |  357|  12.7k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  690|  12.7k|    nprotect++;
  691|       |
  692|  12.7k|    if (dims != R_NilValue) {
  ------------------
  |  Branch (692:9): [True: 7.87k, False: 4.83k]
  ------------------
  693|  7.87k|	    setAttrib(val, R_DimSymbol, dims);
  ------------------
  |  | 1027|  7.87k|#define setAttrib		Rf_setAttrib
  ------------------
  694|  7.87k|	    if (xnames != R_NilValue)
  ------------------
  |  Branch (694:10): [True: 3.03k, False: 4.83k]
  ------------------
  695|  3.03k|		setAttrib(val, R_DimNamesSymbol, xnames);
  ------------------
  |  | 1027|  3.03k|#define setAttrib		Rf_setAttrib
  ------------------
  696|  4.83k|	    else if (ynames != R_NilValue)
  ------------------
  |  Branch (696:15): [True: 118, False: 4.72k]
  ------------------
  697|    118|		setAttrib(val, R_DimNamesSymbol, ynames);
  ------------------
  |  | 1027|    118|#define setAttrib		Rf_setAttrib
  ------------------
  698|  7.87k|    }
  699|  4.83k|    else {
  700|  4.83k|	if (XLENGTH(val) == xlength(xnames))
  ------------------
  |  | 1049|  4.83k|#define xlength(x)		Rf_xlength(x)
  ------------------
  |  Branch (700:6): [True: 1.53k, False: 3.29k]
  ------------------
  701|  1.53k|	    setAttrib(val, R_NamesSymbol, xnames);
  ------------------
  |  | 1027|  1.53k|#define setAttrib		Rf_setAttrib
  ------------------
  702|  3.29k|	else if (XLENGTH(val) == xlength(ynames))
  ------------------
  |  | 1049|  3.29k|#define xlength(x)		Rf_xlength(x)
  ------------------
  |  Branch (702:11): [True: 1.88k, False: 1.41k]
  ------------------
  703|  1.88k|	    setAttrib(val, R_NamesSymbol, ynames);
  ------------------
  |  | 1027|  1.88k|#define setAttrib		Rf_setAttrib
  ------------------
  704|  4.83k|    }
  705|       |
  706|  12.7k|    if (xts || yts) {		/* must set *after* dims! */
  ------------------
  |  Branch (706:9): [True: 0, False: 12.7k]
  |  Branch (706:16): [True: 0, False: 12.7k]
  ------------------
  707|      0|	setAttrib(val, R_TspSymbol, tsp);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  708|      0|	setAttrib(val, R_ClassSymbol, klass);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  709|      0|    }
  710|       |
  711|  12.7k|    if(xS4 || yS4) {   /* Only set the bit:  no method defined! */
  ------------------
  |  Branch (711:8): [True: 0, False: 12.7k]
  |  Branch (711:15): [True: 0, False: 12.7k]
  ------------------
  712|      0|	val = asS4(val, TRUE, TRUE); // from objects.c
  ------------------
  |  |  890|      0|#define asS4			Rf_asS4
  ------------------
  713|      0|    }
  714|  12.7k|    UNPROTECT(nprotect);
  ------------------
  |  |  358|  12.7k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  715|  12.7k|    return val;
  716|  29.6k|}
R_unary:
  719|     14|{
  720|     14|    ARITHOP_TYPE operation = (ARITHOP_TYPE) PRIMVAL(op);
  ------------------
  |  | 1347|     14|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  721|     14|    switch (TYPEOF(s1)) {
  722|      0|    case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (722:5): [True: 0, False: 14]
  ------------------
  723|      0|	return logical_unary(operation, s1, call);
  724|     14|    case INTSXP:
  ------------------
  |  |  123|     14|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (724:5): [True: 14, False: 0]
  ------------------
  725|     14|	return integer_unary(operation, s1, call);
  726|      0|    case REALSXP:
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (726:5): [True: 0, False: 14]
  ------------------
  727|      0|	return real_unary(operation, s1, call);
  728|      0|    case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (728:5): [True: 0, False: 14]
  ------------------
  729|      0|	return complex_unary(operation, s1, call);
  730|      0|    default:
  ------------------
  |  Branch (730:5): [True: 0, False: 14]
  ------------------
  731|      0|	errorcall(call, _("invalid argument to unary operator"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("invalid argument to unary operator"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  732|     14|    }
  733|      0|    return s1;			/* never used; to keep -Wall happy */
  734|     14|}
do_math1:
 1374|    750|{
 1375|    750|    SEXP s;
 1376|       |
 1377|    750|    checkArity(op, args);
  ------------------
  |  | 1793|    750|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1378|    750|    check1arg(args, call, "x");
  ------------------
  |  | 1872|    750|# define check1arg		Rf_check1arg
  ------------------
 1379|       |
 1380|    750|    if (DispatchGroup("Math", call, op, args, env, &s))
  ------------------
  |  | 1891|    750|# define DispatchGroup		Rf_DispatchGroup
  ------------------
  |  Branch (1380:9): [True: 0, False: 750]
  ------------------
 1381|      0|	return s;
 1382|       |
 1383|    750|    if (isComplex(CAR(args)))
  ------------------
  |  |  942|    750|#define isComplex		Rf_isComplex
  ------------------
  |  Branch (1383:9): [True: 0, False: 750]
  ------------------
 1384|      0|	return complex_math1(call, op, args, env);
 1385|       |
 1386|    750|#define MATH1(x)      math1(CAR(args), x, call);
 1387|    750|#define MATH1_SQRT(x) math1(CAR(args), Rsqrt, call);
 1388|    750|#define MATH1_EXP(x)  math1_ari(CAR(args), Rexp,  0., 1., call);
 1389|    750|#define MATH1_EXPM1(x)math1_ari(CAR(args), Rexpm1,0., 0., call);
 1390|    750|#define MATH1_LOG1P(x)math1_ari(CAR(args), Rlog1p,0., 0., call);
 1391|    750|#define MATH1_SIN(x)  math1_ari(CAR(args), Rsin,  0., 0., call);
 1392|    750|#define MATH1_ASIN(x) math1_ari(CAR(args), Rasin, 0., 0., call);
 1393|    750|#define MATH1_TAN(x)  math1_ari(CAR(args), Rtan,  0., 0., call);
 1394|    750|#define MATH1_ATAN(x) math1_ari(CAR(args), Ratan, 0., 0., call);
 1395|    750|#define MATH1_COS(x)  math1_ari(CAR(args), Rcos,  0., 1., call);
 1396|    750|#define MATH1_00(x)   math1_ari(CAR(args),  x,    0., 0., call);
 1397|    750|#define MATH1_01(x)   math1_ari(CAR(args),  x,    0., 1., call);
 1398|    750|#define MATH1_10(x)   math1_ari(CAR(args),  x,    1., 0., call);
 1399|    750|    switch (PRIMVAL(op)) {
  ------------------
  |  | 1347|    750|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
 1400|      0|    case 1: return MATH1(floor);
  ------------------
  |  | 1386|      0|#define MATH1(x)      math1(CAR(args), x, call);
  ------------------
  |  Branch (1400:5): [True: 0, False: 750]
  ------------------
 1401|      0|    case 2: return MATH1(ceil);
  ------------------
  |  | 1386|      0|#define MATH1(x)      math1(CAR(args), x, call);
  ------------------
  |  Branch (1401:5): [True: 0, False: 750]
  ------------------
 1402|    589|    case 3: return MATH1_SQRT(sqrt);
  ------------------
  |  | 1387|    589|#define MATH1_SQRT(x) math1(CAR(args), Rsqrt, call);
  ------------------
  |  Branch (1402:5): [True: 589, False: 161]
  ------------------
 1403|    161|    case 4: return MATH1(sign);
  ------------------
  |  | 1386|    161|#define MATH1(x)      math1(CAR(args), x, call);
  ------------------
  |  Branch (1403:5): [True: 161, False: 589]
  ------------------
 1404|       |	/* case 5: return MATH1(trunc); separate from 2.6.0 */
 1405|       |
 1406|      0|    case 10: return MATH1_EXP(exp);
  ------------------
  |  | 1388|      0|#define MATH1_EXP(x)  math1_ari(CAR(args), Rexp,  0., 1., call);
  ------------------
  |  Branch (1406:5): [True: 0, False: 750]
  ------------------
 1407|      0|    case 11: return MATH1_EXPM1(expm1);
  ------------------
  |  | 1389|      0|#define MATH1_EXPM1(x)math1_ari(CAR(args), Rexpm1,0., 0., call);
  ------------------
  |  Branch (1407:5): [True: 0, False: 750]
  ------------------
 1408|      0|    case 12: return MATH1_LOG1P(log1p);
  ------------------
  |  | 1390|      0|#define MATH1_LOG1P(x)math1_ari(CAR(args), Rlog1p,0., 0., call);
  ------------------
  |  Branch (1408:5): [True: 0, False: 750]
  ------------------
 1409|       |
 1410|      0|    case 20: return MATH1_COS(cos);
  ------------------
  |  | 1395|      0|#define MATH1_COS(x)  math1_ari(CAR(args), Rcos,  0., 1., call);
  ------------------
  |  Branch (1410:5): [True: 0, False: 750]
  ------------------
 1411|      0|    case 21: return MATH1_SIN(sin);
  ------------------
  |  | 1391|      0|#define MATH1_SIN(x)  math1_ari(CAR(args), Rsin,  0., 0., call);
  ------------------
  |  Branch (1411:5): [True: 0, False: 750]
  ------------------
 1412|      0|    case 22: return MATH1_TAN(tan);
  ------------------
  |  | 1393|      0|#define MATH1_TAN(x)  math1_ari(CAR(args), Rtan,  0., 0., call);
  ------------------
  |  Branch (1412:5): [True: 0, False: 750]
  ------------------
 1413|      0|    case 23: return MATH1_10(acos);
  ------------------
  |  | 1398|      0|#define MATH1_10(x)   math1_ari(CAR(args),  x,    1., 0., call);
  ------------------
  |  Branch (1413:5): [True: 0, False: 750]
  ------------------
 1414|      0|    case 24: return MATH1_ASIN(asin);
  ------------------
  |  | 1392|      0|#define MATH1_ASIN(x) math1_ari(CAR(args), Rasin, 0., 0., call);
  ------------------
  |  Branch (1414:5): [True: 0, False: 750]
  ------------------
 1415|      0|    case 25: return MATH1_ATAN(atan);
  ------------------
  |  | 1394|      0|#define MATH1_ATAN(x) math1_ari(CAR(args), Ratan, 0., 0., call);
  ------------------
  |  Branch (1415:5): [True: 0, False: 750]
  ------------------
 1416|       |
 1417|      0|    case 30: return MATH1_01(cosh);
  ------------------
  |  | 1397|      0|#define MATH1_01(x)   math1_ari(CAR(args),  x,    0., 1., call);
  ------------------
  |  Branch (1417:5): [True: 0, False: 750]
  ------------------
 1418|      0|    case 31: return MATH1_00(sinh);
  ------------------
  |  | 1396|      0|#define MATH1_00(x)   math1_ari(CAR(args),  x,    0., 0., call);
  ------------------
  |  Branch (1418:5): [True: 0, False: 750]
  ------------------
 1419|      0|    case 32: return MATH1_00(tanh);
  ------------------
  |  | 1396|      0|#define MATH1_00(x)   math1_ari(CAR(args),  x,    0., 0., call);
  ------------------
  |  Branch (1419:5): [True: 0, False: 750]
  ------------------
 1420|      0|    case 33: return MATH1_10(acosh);
  ------------------
  |  | 1398|      0|#define MATH1_10(x)   math1_ari(CAR(args),  x,    1., 0., call);
  ------------------
  |  Branch (1420:5): [True: 0, False: 750]
  ------------------
 1421|      0|    case 34: return MATH1_00(asinh);
  ------------------
  |  | 1396|      0|#define MATH1_00(x)   math1_ari(CAR(args),  x,    0., 0., call);
  ------------------
  |  Branch (1421:5): [True: 0, False: 750]
  ------------------
 1422|      0|    case 35: return MATH1_00(atanh);
  ------------------
  |  | 1396|      0|#define MATH1_00(x)   math1_ari(CAR(args),  x,    0., 0., call);
  ------------------
  |  Branch (1422:5): [True: 0, False: 750]
  ------------------
 1423|       |
 1424|      0|    case 40: return MATH1(lgammafn); // ../nmath/lgamma.c
  ------------------
  |  | 1386|      0|#define MATH1(x)      math1(CAR(args), x, call);
  ------------------
  |  Branch (1424:5): [True: 0, False: 750]
  ------------------
 1425|      0|    case 41: return MATH1(gammafn);
  ------------------
  |  | 1386|      0|#define MATH1(x)      math1(CAR(args), x, call);
  ------------------
  |  Branch (1425:5): [True: 0, False: 750]
  ------------------
 1426|       |
 1427|      0|    case 42: return MATH1(digamma); // ../nmath/polygamma.c
  ------------------
  |  | 1386|      0|#define MATH1(x)      math1(CAR(args), x, call);
  ------------------
  |  Branch (1427:5): [True: 0, False: 750]
  ------------------
 1428|      0|    case 43: return MATH1(trigamma);
  ------------------
  |  | 1386|      0|#define MATH1(x)      math1(CAR(args), x, call);
  ------------------
  |  Branch (1428:5): [True: 0, False: 750]
  ------------------
 1429|       |	/* case 44: return MATH1(tetragamma);
 1430|       |	   case 45: return MATH1(pentagamma);
 1431|       |	   removed in 2.0.0 -- rather use Math2's psigamma()
 1432|       |
 1433|       |	   case 46: return MATH1(Rf_gamma_cody); removed in 2.8.0
 1434|       |	*/
 1435|       |/* not yet:
 1436|       |    case 44: return MATH1(factorial);
 1437|       |*/
 1438|       |
 1439|      0|    case 47: return MATH1(cospi);
  ------------------
  |  | 1386|      0|#define MATH1(x)      math1(CAR(args), x, call);
  ------------------
  |  Branch (1439:5): [True: 0, False: 750]
  ------------------
 1440|      0|    case 48: return MATH1(sinpi);
  ------------------
  |  | 1386|      0|#define MATH1(x)      math1(CAR(args), x, call);
  ------------------
  |  Branch (1440:5): [True: 0, False: 750]
  ------------------
 1441|      0|    case 49: return MATH1(Rtanpi);// our own in any case
  ------------------
  |  | 1386|      0|#define MATH1(x)      math1(CAR(args), x, call);
  ------------------
  |  Branch (1441:5): [True: 0, False: 750]
  ------------------
 1442|       |
 1443|      0|    default:
  ------------------
  |  Branch (1443:5): [True: 0, False: 750]
  ------------------
 1444|      0|	errorcall(call, _("unimplemented real function of 1 argument"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("unimplemented real function of 1 argument"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1445|    750|    }
 1446|      0|    return s; /* never used; to keep -Wall happy */
 1447|    750|}
do_abs:
 1468|  2.69k|{
 1469|  2.69k|    SEXP x, s = R_NilValue /* -Wall */;
 1470|       |
 1471|  2.69k|    checkArity(op, args);
  ------------------
  |  | 1793|  2.69k|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1472|  2.69k|    check1arg(args, call, "x");
  ------------------
  |  | 1872|  2.69k|# define check1arg		Rf_check1arg
  ------------------
 1473|  2.69k|    x = CAR(args);
 1474|       |
 1475|  2.69k|    if (DispatchGroup("Math", call, op, args, env, &s))
  ------------------
  |  | 1891|  2.69k|# define DispatchGroup		Rf_DispatchGroup
  ------------------
  |  Branch (1475:9): [True: 0, False: 2.69k]
  ------------------
 1476|      0|	return s;
 1477|       |
 1478|  2.69k|    if (isInteger(x) || isLogical(x)) {
  ------------------
  |  |  949|  2.69k|#define isInteger		Rf_isInteger
  ------------------
                  if (isInteger(x) || isLogical(x)) {
  ------------------
  |  |  952|  2.69k|#define isLogical		Rf_isLogical
  ------------------
  |  Branch (1478:9): [True: 0, False: 2.69k]
  |  Branch (1478:25): [True: 0, False: 2.69k]
  ------------------
 1479|       |	/* integer or logical ==> return integer,
 1480|       |	   factor was covered by Math.factor. */
 1481|      0|	R_xlen_t i, n = XLENGTH(x);
 1482|      0|	s = (NO_REFERENCES(x) && TYPEOF(x) == INTSXP) ?
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1482:7): [True: 0, False: 0]
  |  Branch (1482:27): [True: 0, False: 0]
  ------------------
 1483|      0|	    x : allocVector(INTSXP, n);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              	    x : allocVector(INTSXP, n);
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
 1484|      0|	PROTECT(s);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1485|       |	/* Note: relying on INTEGER(.) === LOGICAL(.) : */
 1486|      0|	int *pa = INTEGER(s);
 1487|      0|	const int *px = INTEGER_RO(x);
 1488|      0|	for(i = 0 ; i < n ; i++) {
  ------------------
  |  Branch (1488:14): [True: 0, False: 0]
  ------------------
 1489|      0|	    int xi = px[i];
 1490|      0|	    pa[i] = (xi == NA_INTEGER) ? xi : abs(xi);
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (1490:14): [True: 0, False: 0]
  ------------------
 1491|      0|	}
 1492|  2.69k|    } else if (TYPEOF(x) == REALSXP) {
  ------------------
  |  |  124|  2.69k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1492:16): [True: 2.69k, False: 0]
  ------------------
 1493|  2.69k|	R_xlen_t i, n = XLENGTH(x);
 1494|  2.69k|	PROTECT(s = NO_REFERENCES(x) ? x : allocVector(REALSXP, n));
  ------------------
  |  |  357|  5.38k|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  |  |  Branch (357:31): [True: 2.53k, False: 161]
  |  |  ------------------
  ------------------
 1495|  2.69k|	double *pa = REAL(s);
 1496|  2.69k|	const double *px = REAL_RO(x);
 1497|   410k|	for(i = 0 ; i < n ; i++)
  ------------------
  |  Branch (1497:14): [True: 407k, False: 2.69k]
  ------------------
 1498|   407k|	    pa[i] = fabs(px[i]);
 1499|  2.69k|    } else if (isComplex(x)) {
  ------------------
  |  |  942|      0|#define isComplex		Rf_isComplex
  ------------------
  |  Branch (1499:16): [True: 0, False: 0]
  ------------------
 1500|      0|	SET_TAG(args, R_NilValue); /* cmathfuns want "z"; we might have "x" PR#16047 */
 1501|      0|	return do_cmathfuns(call, op, args, env);
 1502|      0|    } else
 1503|      0|	errorcall(call, R_MSG_NONNUM_MATH);
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, R_MSG_NONNUM_MATH);
  ------------------
  |  |   51|      0|#define R_MSG_NONNUM_MATH _("non-numeric argument to mathematical function")
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  ------------------
 1504|       |
 1505|  2.69k|    if (x != s && ATTRIB(x) != R_NilValue)
  ------------------
  |  Branch (1505:9): [True: 161, False: 2.53k]
  |  Branch (1505:19): [True: 161, False: 0]
  ------------------
 1506|    161|	SHALLOW_DUPLICATE_ATTRIB(s, x);
 1507|  2.69k|    UNPROTECT(1);
  ------------------
  |  |  358|  2.69k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1508|  2.69k|    return s;
 1509|  2.69k|}
do_math2:
 1661|    161|{
 1662|       |    /* For .Internals, fix up call so errorcall() behaves like error(). */
 1663|    161|    if (TYPEOF(CAR(call)) == SYMSXP && INTERNAL(CAR(call)) == op)
  ------------------
  |  |  112|    322|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (1663:9): [True: 161, False: 0]
  |  Branch (1663:40): [True: 0, False: 161]
  ------------------
 1664|      0|	call = R_CurrentExpression;
 1665|       |
 1666|    161|    checkArity(op, args);
  ------------------
  |  | 1793|    161|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1667|       |
 1668|    161|    if (isComplex(CAR(args)) ||
  ------------------
  |  |  942|    161|#define isComplex		Rf_isComplex
  ------------------
  |  Branch (1668:9): [True: 0, False: 161]
  ------------------
 1669|    161|	(PRIMVAL(op) == 0 && isComplex(CADR(args))))
  ------------------
  |  | 1347|    161|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
              	(PRIMVAL(op) == 0 && isComplex(CADR(args))))
  ------------------
  |  |  942|      0|#define isComplex		Rf_isComplex
  ------------------
  |  Branch (1669:3): [True: 0, False: 161]
  |  Branch (1669:23): [True: 0, False: 0]
  ------------------
 1670|      0|	return complex_math2(call, op, args, env);
 1671|       |
 1672|       |
 1673|    161|    switch (PRIMVAL(op)) {
  ------------------
  |  | 1347|    161|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
 1674|       |
 1675|      0|    case  0: return Math2(args, atan2);
  ------------------
  |  | 1655|      0|#define Math2(A, FUN)	  math2(CAR(A), CADR(A), FUN, call);
  ------------------
  |  Branch (1675:5): [True: 0, False: 161]
  ------------------
 1676|    161|    case 10001: return Math2(args, fround);// round(),  ../nmath/fround.c
  ------------------
  |  | 1655|    161|#define Math2(A, FUN)	  math2(CAR(A), CADR(A), FUN, call);
  ------------------
  |  Branch (1676:5): [True: 161, False: 0]
  ------------------
 1677|      0|    case 10004: return Math2(args, fprec); // signif(), ../nmath/fprec.c
  ------------------
  |  | 1655|      0|#define Math2(A, FUN)	  math2(CAR(A), CADR(A), FUN, call);
  ------------------
  |  Branch (1677:5): [True: 0, False: 161]
  ------------------
 1678|       |
 1679|      0|    case  2: return Math2(args, lbeta);
  ------------------
  |  | 1655|      0|#define Math2(A, FUN)	  math2(CAR(A), CADR(A), FUN, call);
  ------------------
  |  Branch (1679:5): [True: 0, False: 161]
  ------------------
 1680|      0|    case  3: return Math2(args, beta);
  ------------------
  |  | 1655|      0|#define Math2(A, FUN)	  math2(CAR(A), CADR(A), FUN, call);
  ------------------
  |  Branch (1680:5): [True: 0, False: 161]
  ------------------
 1681|      0|    case  4: return Math2(args, lchoose);
  ------------------
  |  | 1655|      0|#define Math2(A, FUN)	  math2(CAR(A), CADR(A), FUN, call);
  ------------------
  |  Branch (1681:5): [True: 0, False: 161]
  ------------------
 1682|      0|    case  5: return Math2(args, choose);
  ------------------
  |  | 1655|      0|#define Math2(A, FUN)	  math2(CAR(A), CADR(A), FUN, call);
  ------------------
  |  Branch (1682:5): [True: 0, False: 161]
  ------------------
 1683|       |
 1684|      0|    case  6: return Math2_1(args, dchisq);
  ------------------
  |  | 1656|      0|#define Math2_1(A, FUN)	math2_1(CAR(A), CADR(A), CADDR(A), FUN, call);
  ------------------
  |  Branch (1684:5): [True: 0, False: 161]
  ------------------
 1685|      0|    case  7: return Math2_2(args, pchisq);
  ------------------
  |  | 1657|      0|#define Math2_2(A, FUN) math2_2(CAR(A), CADR(A), CADDR(A), CADDDR(A), FUN, call)
  ------------------
  |  Branch (1685:5): [True: 0, False: 161]
  ------------------
 1686|      0|    case  8: return Math2_2(args, qchisq);
  ------------------
  |  | 1657|      0|#define Math2_2(A, FUN) math2_2(CAR(A), CADR(A), CADDR(A), CADDDR(A), FUN, call)
  ------------------
  |  Branch (1686:5): [True: 0, False: 161]
  ------------------
 1687|       |
 1688|      0|    case  9: return Math2_1(args, dexp);
  ------------------
  |  | 1656|      0|#define Math2_1(A, FUN)	math2_1(CAR(A), CADR(A), CADDR(A), FUN, call);
  ------------------
  |  Branch (1688:5): [True: 0, False: 161]
  ------------------
 1689|      0|    case 10: return Math2_2(args, pexp);
  ------------------
  |  | 1657|      0|#define Math2_2(A, FUN) math2_2(CAR(A), CADR(A), CADDR(A), CADDDR(A), FUN, call)
  ------------------
  |  Branch (1689:5): [True: 0, False: 161]
  ------------------
 1690|      0|    case 11: return Math2_2(args, qexp);
  ------------------
  |  | 1657|      0|#define Math2_2(A, FUN) math2_2(CAR(A), CADR(A), CADDR(A), CADDDR(A), FUN, call)
  ------------------
  |  Branch (1690:5): [True: 0, False: 161]
  ------------------
 1691|       |
 1692|      0|    case 12: return Math2_1(args, dgeom);
  ------------------
  |  | 1656|      0|#define Math2_1(A, FUN)	math2_1(CAR(A), CADR(A), CADDR(A), FUN, call);
  ------------------
  |  Branch (1692:5): [True: 0, False: 161]
  ------------------
 1693|      0|    case 13: return Math2_2(args, pgeom);
  ------------------
  |  | 1657|      0|#define Math2_2(A, FUN) math2_2(CAR(A), CADR(A), CADDR(A), CADDDR(A), FUN, call)
  ------------------
  |  Branch (1693:5): [True: 0, False: 161]
  ------------------
 1694|      0|    case 14: return Math2_2(args, qgeom);
  ------------------
  |  | 1657|      0|#define Math2_2(A, FUN) math2_2(CAR(A), CADR(A), CADDR(A), CADDDR(A), FUN, call)
  ------------------
  |  Branch (1694:5): [True: 0, False: 161]
  ------------------
 1695|       |
 1696|      0|    case 15: return Math2_1(args, dpois);
  ------------------
  |  | 1656|      0|#define Math2_1(A, FUN)	math2_1(CAR(A), CADR(A), CADDR(A), FUN, call);
  ------------------
  |  Branch (1696:5): [True: 0, False: 161]
  ------------------
 1697|      0|    case 16: return Math2_2(args, ppois);
  ------------------
  |  | 1657|      0|#define Math2_2(A, FUN) math2_2(CAR(A), CADR(A), CADDR(A), CADDDR(A), FUN, call)
  ------------------
  |  Branch (1697:5): [True: 0, False: 161]
  ------------------
 1698|      0|    case 17: return Math2_2(args, qpois);
  ------------------
  |  | 1657|      0|#define Math2_2(A, FUN) math2_2(CAR(A), CADR(A), CADDR(A), CADDDR(A), FUN, call)
  ------------------
  |  Branch (1698:5): [True: 0, False: 161]
  ------------------
 1699|       |
 1700|      0|    case 18: return Math2_1(args, dt);
  ------------------
  |  | 1656|      0|#define Math2_1(A, FUN)	math2_1(CAR(A), CADR(A), CADDR(A), FUN, call);
  ------------------
  |  Branch (1700:5): [True: 0, False: 161]
  ------------------
 1701|      0|    case 19: return Math2_2(args, pt);
  ------------------
  |  | 1657|      0|#define Math2_2(A, FUN) math2_2(CAR(A), CADR(A), CADDR(A), CADDDR(A), FUN, call)
  ------------------
  |  Branch (1701:5): [True: 0, False: 161]
  ------------------
 1702|      0|    case 20: return Math2_2(args, qt);
  ------------------
  |  | 1657|      0|#define Math2_2(A, FUN) math2_2(CAR(A), CADR(A), CADDR(A), CADDDR(A), FUN, call)
  ------------------
  |  Branch (1702:5): [True: 0, False: 161]
  ------------------
 1703|       |
 1704|      0|    case 21: return Math2_1(args, dsignrank);
  ------------------
  |  | 1656|      0|#define Math2_1(A, FUN)	math2_1(CAR(A), CADR(A), CADDR(A), FUN, call);
  ------------------
  |  Branch (1704:5): [True: 0, False: 161]
  ------------------
 1705|      0|    case 22: return Math2_2(args, psignrank);
  ------------------
  |  | 1657|      0|#define Math2_2(A, FUN) math2_2(CAR(A), CADR(A), CADDR(A), CADDDR(A), FUN, call)
  ------------------
  |  Branch (1705:5): [True: 0, False: 161]
  ------------------
 1706|      0|    case 23: return Math2_2(args, qsignrank);
  ------------------
  |  | 1657|      0|#define Math2_2(A, FUN) math2_2(CAR(A), CADR(A), CADDR(A), CADDDR(A), FUN, call)
  ------------------
  |  Branch (1706:5): [True: 0, False: 161]
  ------------------
 1707|       |
 1708|      0|    case 24: return Math2B(args, bessel_j_ex, M_bessel_j_max_alpha); // from Rmath.h
  ------------------
  |  | 1658|      0|#define Math2B(A, FUN, MAX_AL)   math2B(CAR(A), CADR(A), FUN, MAX_AL, call);
  ------------------
  |  Branch (1708:5): [True: 0, False: 161]
  ------------------
 1709|      0|    case 25: return Math2B(args, bessel_y_ex, M_bessel_y_max_alpha);
  ------------------
  |  | 1658|      0|#define Math2B(A, FUN, MAX_AL)   math2B(CAR(A), CADR(A), FUN, MAX_AL, call);
  ------------------
  |  Branch (1709:5): [True: 0, False: 161]
  ------------------
 1710|      0|    case 26: return Math2(args, psigamma);
  ------------------
  |  | 1655|      0|#define Math2(A, FUN)	  math2(CAR(A), CADR(A), FUN, call);
  ------------------
  |  Branch (1710:5): [True: 0, False: 161]
  ------------------
 1711|       |
 1712|      0|    default:
  ------------------
  |  Branch (1712:5): [True: 0, False: 161]
  ------------------
 1713|      0|	error(_("unimplemented real function of %d numeric arguments"), 2);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("unimplemented real function of %d numeric arguments"), 2);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1714|    161|    }
 1715|      0|    return op;			/* never used; to keep -Wall happy */
 1716|    161|}
do_Math2:
 1782|    161|{
 1783|    161|    SEXP res, call2;
 1784|    161|    int is_signif = (PRIMVAL(op) == 10004) ? true : false;
  ------------------
  |  | 1347|    161|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (1784:21): [True: 0, False: 161]
  ------------------
 1785|    161|    double dflt_digits = is_signif ? 6.0 : 0.;
  ------------------
  |  Branch (1785:26): [True: 0, False: 161]
  ------------------
 1786|       |
 1787|    161|    PROTECT_INDEX api;
 1788|    161|    PROTECT_WITH_INDEX(args = evalListKeepMissing(args, env), &api);
  ------------------
  |  |  366|    161|#define PROTECT_WITH_INDEX(x,i) R_ProtectWithIndex(x,i)
  ------------------
 1789|       |
 1790|    161|    if (is_signif) {
  ------------------
  |  Branch (1790:9): [True: 0, False: 161]
  ------------------
 1791|      0|        REPROTECT(args = match_Math2_dflt_args(args, call), api);
  ------------------
  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
 1792|       |
 1793|      0|        if (CADR(args) == R_MissingArg)
  ------------------
  |  Branch (1793:13): [True: 0, False: 0]
  ------------------
 1794|      0|            SETCADR(args, ScalarReal(dflt_digits));
  ------------------
  |  | 1024|      0|#define ScalarReal		Rf_ScalarReal
  ------------------
 1795|      0|    }
 1796|    161|    else
 1797|    161|        REPROTECT(args = match_round_gen_args(args, call), api);
  ------------------
  |  |  367|    161|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
 1798|       |
 1799|    161|    R_args_enable_refcnt(args);
 1800|    161|    PROTECT(call2 = LCONS(CAR(call), args));
  ------------------
  |  |  357|    161|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1801|       |
 1802|    161|    int dispatched = DispatchGroup("Math", call2, op, args, env, &res);
  ------------------
  |  | 1891|    161|# define DispatchGroup		Rf_DispatchGroup
  ------------------
 1803|       |
 1804|    161|    SETCDR(call2, R_NilValue); /* clear refcnt on args */
 1805|    161|    R_try_clear_args_refcnt(args);
 1806|    161|    UNPROTECT(1); /* call2 */
  ------------------
  |  |  358|    161|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1807|       |
 1808|    161|    if (! dispatched) {
  ------------------
  |  Branch (1808:9): [True: 161, False: 0]
  ------------------
 1809|    161|        if (! is_signif) {
  ------------------
  |  Branch (1809:13): [True: 161, False: 0]
  ------------------
 1810|    161|            REPROTECT(args = match_Math2_dflt_args(args, call), api);
  ------------------
  |  |  367|    161|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
 1811|       |
 1812|    161|            if (CADR(args) == R_MissingArg)
  ------------------
  |  Branch (1812:17): [True: 0, False: 161]
  ------------------
 1813|      0|                SETCADR(args, ScalarReal(dflt_digits));
  ------------------
  |  | 1024|      0|#define ScalarReal		Rf_ScalarReal
  ------------------
 1814|    161|        }
 1815|       |
 1816|    161|        if (CAR(args) == R_MissingArg)
  ------------------
  |  Branch (1816:13): [True: 0, False: 161]
  ------------------
 1817|      0|	    R_MissingArgError_c("x", call, "MathMissingError");
 1818|       |
 1819|    161|        if (xlength(CADR(args)) == 0)
  ------------------
  |  | 1049|    161|#define xlength(x)		Rf_xlength(x)
  ------------------
  |  Branch (1819:13): [True: 0, False: 161]
  ------------------
 1820|      0|            errorcall(call, _("invalid second argument of length 0"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
                          errorcall(call, _("invalid second argument of length 0"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1821|       |
 1822|    161|        res = do_math2(call, op, args, env);
 1823|    161|    }
 1824|       |
 1825|    161|    UNPROTECT(1); /* args */
  ------------------
  |  |  358|    161|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1826|    161|    return res;
 1827|    161|}
arithmetic.c:R_ValueOfNA:
   92|      2|{
   93|       |    /* The gcc (3.2.1?) shipping with Red Hat Linux 9 gets this wrong
   94|       |     * without the volatile declaration. Thanks to Marc Schwartz. */
   95|      2|    volatile ieee_double x;
   96|      2|    x.word[hw] = 0x7ff00000;
   97|      2|    x.word[lw] = 1954;
   98|      2|    return x.value;
   99|      2|}
arithmetic.c:myfmod:
  174|  1.33M|{
  175|  1.33M|    if (x2 == 0.0) return R_NaN;
  ------------------
  |  Branch (175:9): [True: 0, False: 1.33M]
  ------------------
  176|  1.33M|    if(fabs(x2) * c_eps > 1 && R_FINITE(x1) && fabs(x1) <= fabs(x2)) {
  ------------------
  |  |  167|  1.33M|# define c_eps LDBL_EPSILON
  ------------------
                  if(fabs(x2) * c_eps > 1 && R_FINITE(x1) && fabs(x1) <= fabs(x2)) {
  ------------------
  |  |   82|  1.33M|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (176:8): [True: 0, False: 1.33M]
  |  Branch (176:32): [True: 0, False: 0]
  |  Branch (176:48): [True: 0, False: 0]
  ------------------
  177|      0|	return
  178|      0|	    (fabs(x1) == fabs(x2)) ? 0 :
  ------------------
  |  Branch (178:6): [True: 0, False: 0]
  ------------------
  179|      0|	    ((x1 < 0 && x2 > 0) ||
  ------------------
  |  Branch (179:8): [True: 0, False: 0]
  |  Branch (179:18): [True: 0, False: 0]
  ------------------
  180|      0|	     (x2 < 0 && x1 > 0))
  ------------------
  |  Branch (180:8): [True: 0, False: 0]
  |  Branch (180:18): [True: 0, False: 0]
  ------------------
  181|      0|	     ? x1+x2  // differing signs
  182|      0|	     : x1   ; // "same" signs (incl. 0)
  183|      0|    }
  184|  1.33M|    double q = x1 / x2;
  185|  1.33M|    if(R_FINITE(q) && (fabs(q) * c_eps > 1))
  ------------------
  |  |   82|  1.33M|# define R_FINITE(x)    isfinite(x)
  ------------------
                  if(R_FINITE(q) && (fabs(q) * c_eps > 1))
  ------------------
  |  |  167|  1.23M|# define c_eps LDBL_EPSILON
  ------------------
  |  Branch (185:8): [True: 1.23M, False: 102k]
  |  Branch (185:23): [True: 1.04M, False: 186k]
  ------------------
  186|  1.04M|	warning(_("probable complete loss of accuracy in modulus"));
  ------------------
  |  |   89|  1.04M|#define warning Rf_warning
  ------------------
              	warning(_("probable complete loss of accuracy in modulus"));
  ------------------
  |  | 2536|  1.04M|#   define _(String) gettext (String)
  ------------------
  187|  1.33M|    LDOUBLE tmp = (LDOUBLE)x1 - floor(q) * (LDOUBLE)x2;
  ------------------
  |  | 2582|  1.33M|# define LDOUBLE long double
  ------------------
  188|  1.33M|    return (double) (tmp - floorl(tmp/x2) * x2);
  189|  1.33M|}
arithmetic.c:ScalarValue2:
  386|  1.35k|{
  387|  1.35k|    if (NO_REFERENCES(x))
  ------------------
  |  Branch (387:9): [True: 365, False: 986]
  ------------------
  388|    365|	return x;
  389|    986|    else if (NO_REFERENCES(y))
  ------------------
  |  Branch (389:14): [True: 0, False: 986]
  ------------------
  390|      0|	return y;
  391|    986|    else
  392|    986|	return allocVector(TYPEOF(x), 1);
  ------------------
  |  |  875|    986|#define allocVector		Rf_allocVector
  ------------------
  393|  1.35k|}
arithmetic.c:ScalarValue1:
  378|  1.16k|{
  379|  1.16k|    if (NO_REFERENCES(x))
  ------------------
  |  Branch (379:9): [True: 0, False: 1.16k]
  ------------------
  380|      0|	return x;
  381|  1.16k|    else
  382|  1.16k|	return allocVector(TYPEOF(x), 1);
  ------------------
  |  |  875|  1.16k|#define allocVector		Rf_allocVector
  ------------------
  383|  1.16k|}
arithmetic.c:R_integer_plus:
  325|      2|{
  326|      2|    if (x == NA_INTEGER || y == NA_INTEGER)
  ------------------
  |  |   56|      4|#define NA_INTEGER	R_NaInt
  ------------------
                  if (x == NA_INTEGER || y == NA_INTEGER)
  ------------------
  |  |   56|      2|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (326:9): [True: 0, False: 2]
  |  Branch (326:28): [True: 0, False: 2]
  ------------------
  327|      0|	return NA_INTEGER;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  328|       |
  329|      2|    if (((y > 0) && (x > (R_INT_MAX - y))) ||
  ------------------
  |  |  320|      2|#define R_INT_MAX  INT_MAX
  ------------------
  |  Branch (329:10): [True: 2, False: 0]
  |  Branch (329:21): [True: 0, False: 2]
  ------------------
  330|      2|	((y < 0) && (x < (R_INT_MIN - y)))) {
  ------------------
  |  |  321|      0|#define R_INT_MIN -INT_MAX
  ------------------
  |  Branch (330:3): [True: 0, False: 2]
  |  Branch (330:14): [True: 0, False: 0]
  ------------------
  331|      0|	if (pnaflag != NULL)
  ------------------
  |  Branch (331:6): [True: 0, False: 0]
  ------------------
  332|      0|	    *pnaflag = true;
  333|      0|	return NA_INTEGER;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  334|      0|    }
  335|      2|    return x + y;
  336|      2|}
arithmetic.c:R_integer_minus:
  339|  1.73k|{
  340|  1.73k|    if (x == NA_INTEGER || y == NA_INTEGER)
  ------------------
  |  |   56|  3.46k|#define NA_INTEGER	R_NaInt
  ------------------
                  if (x == NA_INTEGER || y == NA_INTEGER)
  ------------------
  |  |   56|  1.73k|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (340:9): [True: 0, False: 1.73k]
  |  Branch (340:28): [True: 0, False: 1.73k]
  ------------------
  341|      0|	return NA_INTEGER;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  342|       |
  343|  1.73k|    if (((y < 0) && (x > (R_INT_MAX + y))) ||
  ------------------
  |  |  320|      0|#define R_INT_MAX  INT_MAX
  ------------------
  |  Branch (343:10): [True: 0, False: 1.73k]
  |  Branch (343:21): [True: 0, False: 0]
  ------------------
  344|  1.73k|	((y > 0) && (x < (R_INT_MIN + y)))) {
  ------------------
  |  |  321|     52|#define R_INT_MIN -INT_MAX
  ------------------
  |  Branch (344:3): [True: 52, False: 1.68k]
  |  Branch (344:14): [True: 0, False: 52]
  ------------------
  345|      0|	if (pnaflag != NULL)
  ------------------
  |  Branch (345:6): [True: 0, False: 0]
  ------------------
  346|      0|	    *pnaflag = true;
  347|      0|	return NA_INTEGER;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  348|      0|    }
  349|  1.73k|    return x - y;
  350|  1.73k|}
arithmetic.c:R_integer_times:
  354|   141k|{
  355|   141k|    if (x == NA_INTEGER || y == NA_INTEGER)
  ------------------
  |  |   56|   283k|#define NA_INTEGER	R_NaInt
  ------------------
                  if (x == NA_INTEGER || y == NA_INTEGER)
  ------------------
  |  |   56|   141k|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (355:9): [True: 0, False: 141k]
  |  Branch (355:28): [True: 0, False: 141k]
  ------------------
  356|      0|	return NA_INTEGER;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  357|   141k|    else {
  358|   141k|	int z = x * y;  // UBSAN will warn if this overflows (happens in bda)
  359|   141k|	if (GOODIPROD(x, y, z) && z != NA_INTEGER)
  ------------------
  |  |  352|   283k|#define GOODIPROD(x, y, z) ((double) (x) * (double) (y) == (z))
  |  |  ------------------
  |  |  |  Branch (352:28): [True: 141k, False: 0]
  |  |  ------------------
  ------------------
              	if (GOODIPROD(x, y, z) && z != NA_INTEGER)
  ------------------
  |  |   56|   141k|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (359:28): [True: 141k, False: 0]
  ------------------
  360|   141k|	    return z;
  361|      0|	else {
  362|      0|	    if (pnaflag != NULL)
  ------------------
  |  Branch (362:10): [True: 0, False: 0]
  ------------------
  363|      0|		*pnaflag = true;
  364|      0|	    return NA_INTEGER;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  365|      0|	}
  366|   141k|    }
  367|   141k|}
arithmetic.c:integer_unary:
  770|     14|{
  771|     14|    R_xlen_t i, n;
  772|     14|    SEXP ans;
  773|       |
  774|     14|    switch (code) {
  775|      0|    case PLUSOP:
  ------------------
  |  Branch (775:5): [True: 0, False: 14]
  ------------------
  776|      0|	return s1;
  777|     14|    case MINUSOP:
  ------------------
  |  Branch (777:5): [True: 14, False: 0]
  ------------------
  778|     14|	ans = NO_REFERENCES(s1) ? s1 : duplicate(s1);
  ------------------
  |  |  909|      0|#define duplicate		Rf_duplicate
  ------------------
  |  Branch (778:8): [True: 14, False: 0]
  ------------------
  779|     14|	int *pa = INTEGER(ans);
  780|     14|	const int *px = INTEGER_RO(s1);
  781|     14|	n = XLENGTH(s1);
  782|     56|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (782:14): [True: 42, False: 14]
  ------------------
  783|     42|	    int x = px[i];
  784|     42|	    pa[i] = (x == NA_INTEGER) ?
  ------------------
  |  |   56|     42|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (784:14): [True: 0, False: 42]
  ------------------
  785|     42|		NA_INTEGER : ((x == 0.0) ? 0 : -x);
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (785:17): [True: 14, False: 28]
  ------------------
  786|     42|	}
  787|     14|	return ans;
  788|      0|    default:
  ------------------
  |  Branch (788:5): [True: 0, False: 14]
  ------------------
  789|      0|	errorcall(call, _("invalid unary operator"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("invalid unary operator"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  790|     14|    }
  791|      0|    return s1;			/* never used; to keep -Wall happy */
  792|     14|}
arithmetic.c:integer_binary:
  816|  2.54k|{
  817|  2.54k|    R_xlen_t i, i1, i2, n, n1, n2;
  818|  2.54k|    int x1, x2;
  819|  2.54k|    SEXP ans;
  820|  2.54k|    bool naflag = false;
  821|       |
  822|  2.54k|    n1 = XLENGTH(s1);
  823|  2.54k|    n2 = XLENGTH(s2);
  824|       |    /* S4-compatibility change: if n1 or n2 is 0, result is of length 0 */
  825|  2.54k|    if (n1 == 0 || n2 == 0) n = 0; else n = (n1 > n2) ? n1 : n2;
  ------------------
  |  Branch (825:9): [True: 0, False: 2.54k]
  |  Branch (825:20): [True: 0, False: 2.54k]
  |  Branch (825:45): [True: 238, False: 2.30k]
  ------------------
  826|       |
  827|  2.54k|    if (code == DIVOP || code == POWOP)
  ------------------
  |  Branch (827:9): [True: 0, False: 2.54k]
  |  Branch (827:26): [True: 0, False: 2.54k]
  ------------------
  828|      0|	ans = allocVector(REALSXP, n);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              	ans = allocVector(REALSXP, n);
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  829|  2.54k|    else
  830|  2.54k|	ans = R_allocOrReuseVector(s1, s2, INTSXP, n);
  ------------------
  |  |  123|  2.54k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  831|  2.54k|    if (n == 0) return(ans);
  ------------------
  |  Branch (831:9): [True: 0, False: 2.54k]
  ------------------
  832|  2.54k|    PROTECT(ans);
  ------------------
  |  |  357|  2.54k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  833|       |
  834|  2.54k|    switch (code) {
  ------------------
  |  Branch (834:13): [True: 2.54k, False: 0]
  ------------------
  835|      2|    case PLUSOP:
  ------------------
  |  Branch (835:5): [True: 2, False: 2.54k]
  ------------------
  836|      2|	{
  837|      2|	    int *pa = INTEGER(ans);
  838|      2|	    const int *px1 = INTEGER_RO(s1);
  839|      2|	    const int *px2 = INTEGER_RO(s2);
  840|      2|	    MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2, {
  ------------------
  |  |   92|      2|#define MOD_ITERATE2_CHECK(ncheck, n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |   93|      2|	i = i1 = i2 = 0;						\
  |  |   94|      2|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  ------------------
  |  |  |  |   32|      2|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|      2|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|      2|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 2, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|      2|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|      2|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|      2|		n : __intr_threshold__;					\
  |  |  |  |   38|      2|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   94|      2|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|      2|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|      4|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 2, False: 2]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|      2|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 2, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|      2|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 2, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|      2|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|      2|	    loop_body							\
  |  |  |  |  |  |  |  |   84|      2|		}							\
  |  |  |  |  |  |  |  |   85|      2|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 2]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|      2|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|      2|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|      2|	}								\
  |  |  |  |   42|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   95|      2|				  n1, n2, i, i1, i2, loop_body);	\
  |  |   96|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (96:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  841|      2|		    x1 = px1[i1];
  842|      2|		    x2 = px2[i2];
  843|      2|		    pa[i] = R_integer_plus(x1, x2, &naflag);
  844|      2|		});
  845|      2|	    if (naflag)
  ------------------
  |  Branch (845:10): [True: 0, False: 2]
  ------------------
  846|      0|		warningcall(lcall, INTEGER_OVERFLOW_WARNING);
  ------------------
  |  | 2018|      0|# define warningcall		Rf_warningcall
  ------------------
              		warningcall(lcall, INTEGER_OVERFLOW_WARNING);
  ------------------
  |  |  310|      0|#define INTEGER_OVERFLOW_WARNING _("NAs produced by integer overflow")
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  ------------------
  847|      2|	}
  848|      2|	break;
  849|  1.73k|    case MINUSOP:
  ------------------
  |  Branch (849:5): [True: 1.73k, False: 810]
  ------------------
  850|  1.73k|	{
  851|  1.73k|	    int *pa = INTEGER(ans);
  852|  1.73k|	    const int *px1 = INTEGER_RO(s1);
  853|  1.73k|	    const int *px2 = INTEGER_RO(s2);
  854|  1.73k|	    MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2, {
  ------------------
  |  |   92|  1.73k|#define MOD_ITERATE2_CHECK(ncheck, n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |   93|  1.73k|	i = i1 = i2 = 0;						\
  |  |   94|  1.73k|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  ------------------
  |  |  |  |   32|  1.73k|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|  1.73k|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|  1.73k|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 1.73k, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|  1.73k|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|  1.73k|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 1.73k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|  1.73k|		n : __intr_threshold__;					\
  |  |  |  |   38|  1.73k|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   94|  1.73k|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|  1.73k|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|  3.46k|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 1.73k, False: 1.73k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|  1.73k|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 1.73k, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|  1.73k|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 1.73k, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|  1.73k|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|  1.73k|	    loop_body							\
  |  |  |  |  |  |  |  |   84|  1.73k|		}							\
  |  |  |  |  |  |  |  |   85|  1.73k|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 1.73k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|  1.73k|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 1.73k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|  1.73k|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|  1.73k|	}								\
  |  |  |  |   42|  1.73k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 1.73k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   95|  1.73k|				  n1, n2, i, i1, i2, loop_body);	\
  |  |   96|  1.73k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (96:14): [Folded, False: 1.73k]
  |  |  ------------------
  ------------------
  855|  1.73k|		    x1 = px1[i1];
  856|  1.73k|		    x2 = px2[i2];
  857|  1.73k|		    pa[i] = R_integer_minus(x1, x2, &naflag);
  858|  1.73k|		});
  859|  1.73k|	    if (naflag)
  ------------------
  |  Branch (859:10): [True: 0, False: 1.73k]
  ------------------
  860|      0|		warningcall(lcall, INTEGER_OVERFLOW_WARNING);
  ------------------
  |  | 2018|      0|# define warningcall		Rf_warningcall
  ------------------
              		warningcall(lcall, INTEGER_OVERFLOW_WARNING);
  ------------------
  |  |  310|      0|#define INTEGER_OVERFLOW_WARNING _("NAs produced by integer overflow")
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  ------------------
  861|  1.73k|	}
  862|  1.73k|	break;
  863|    119|    case TIMESOP:
  ------------------
  |  Branch (863:5): [True: 119, False: 2.42k]
  ------------------
  864|    119|	{
  865|    119|	    int *pa = INTEGER(ans);
  866|    119|	    const int *px1 = INTEGER_RO(s1);
  867|    119|	    const int *px2 = INTEGER_RO(s2);
  868|    119|	    MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2, {
  ------------------
  |  |   92|    119|#define MOD_ITERATE2_CHECK(ncheck, n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |   93|    119|	i = i1 = i2 = 0;						\
  |  |   94|    119|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  ------------------
  |  |  |  |   32|    119|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|    119|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|    119|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 119, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|    119|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|    119|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 119, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|    119|		n : __intr_threshold__;					\
  |  |  |  |   38|    119|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   94|    119|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|    119|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|   141k|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 141k, False: 119]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|   141k|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 119, False: 141k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|   141k|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 141k, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|   141k|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|   141k|	    loop_body							\
  |  |  |  |  |  |  |  |   84|   141k|		}							\
  |  |  |  |  |  |  |  |   85|    119|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 119]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|    119|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 119, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|    119|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|    119|	}								\
  |  |  |  |   42|    119|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 119]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   95|    119|				  n1, n2, i, i1, i2, loop_body);	\
  |  |   96|    119|    } while (0)
  |  |  ------------------
  |  |  |  Branch (96:14): [Folded, False: 119]
  |  |  ------------------
  ------------------
  869|    119|		    x1 = px1[i1];
  870|    119|		    x2 = px2[i2];
  871|    119|		    pa[i] = R_integer_times(x1, x2, &naflag);
  872|    119|		});
  873|    119|	    if (naflag)
  ------------------
  |  Branch (873:10): [True: 0, False: 119]
  ------------------
  874|      0|		warningcall(lcall, INTEGER_OVERFLOW_WARNING);
  ------------------
  |  | 2018|      0|# define warningcall		Rf_warningcall
  ------------------
              		warningcall(lcall, INTEGER_OVERFLOW_WARNING);
  ------------------
  |  |  310|      0|#define INTEGER_OVERFLOW_WARNING _("NAs produced by integer overflow")
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  ------------------
  875|    119|	}
  876|    119|	break;
  877|      0|    case DIVOP:
  ------------------
  |  Branch (877:5): [True: 0, False: 2.54k]
  ------------------
  878|      0|	{
  879|      0|	    double *pa = REAL(ans);
  880|      0|	    const int *px1 = INTEGER_RO(s1);
  881|      0|	    const int *px2 = INTEGER_RO(s2);
  882|      0|	    MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2, {
  ------------------
  |  |   92|      0|#define MOD_ITERATE2_CHECK(ncheck, n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |   93|      0|	i = i1 = i2 = 0;						\
  |  |   94|      0|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  ------------------
  |  |  |  |   32|      0|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|      0|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|      0|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|      0|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|      0|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|      0|		n : __intr_threshold__;					\
  |  |  |  |   38|      0|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   94|      0|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  |  |  |  |   84|      0|		}							\
  |  |  |  |  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|      0|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|      0|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|      0|	}								\
  |  |  |  |   42|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   95|      0|				  n1, n2, i, i1, i2, loop_body);	\
  |  |   96|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (96:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  883|      0|		    x1 = px1[i1];
  884|      0|		    x2 = px2[i2];
  885|      0|		    pa[i] = R_integer_divide(x1, x2);
  886|      0|		});
  887|      0|	}
  888|      0|	break;
  889|      0|    case POWOP:
  ------------------
  |  Branch (889:5): [True: 0, False: 2.54k]
  ------------------
  890|      0|	{
  891|      0|	    double *pa = REAL(ans);
  892|      0|	    const int *px1 = INTEGER_RO(s1);
  893|      0|	    const int *px2 = INTEGER_RO(s2);
  894|      0|	    MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2, {
  ------------------
  |  |   92|      0|#define MOD_ITERATE2_CHECK(ncheck, n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |   93|      0|	i = i1 = i2 = 0;						\
  |  |   94|      0|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  ------------------
  |  |  |  |   32|      0|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|      0|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|      0|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|      0|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|      0|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|      0|		n : __intr_threshold__;					\
  |  |  |  |   38|      0|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   94|      0|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|      0|		}							\
  |  |  |  |  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|      0|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|      0|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|      0|	}								\
  |  |  |  |   42|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   95|      0|				  n1, n2, i, i1, i2, loop_body);	\
  |  |   96|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (96:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  895|      0|		    if((x1 = px1[i1]) == 1 || (x2 = px2[i2]) == 0)
  896|      0|			pa[i] = 1.;
  897|      0|		    else if (x1 == NA_INTEGER || x2 == NA_INTEGER)
  898|      0|			pa[i] = NA_REAL;
  899|      0|		    else
  900|      0|			pa[i] = R_POW((double) x1, (double) x2);
  901|      0|		});
  902|      0|	}
  903|      0|	break;
  904|    364|    case MODOP:
  ------------------
  |  Branch (904:5): [True: 364, False: 2.17k]
  ------------------
  905|    364|	{
  906|    364|	    int *pa = INTEGER(ans);
  907|    364|	    const int *px1 = INTEGER_RO(s1);
  908|    364|	    const int *px2 = INTEGER_RO(s2);
  909|    364|	    MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2, {
  ------------------
  |  |   92|    364|#define MOD_ITERATE2_CHECK(ncheck, n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |   93|    364|	i = i1 = i2 = 0;						\
  |  |   94|    364|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  ------------------
  |  |  |  |   32|    364|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|    364|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|    364|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 364, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|    364|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|    364|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 364, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|    364|		n : __intr_threshold__;					\
  |  |  |  |   38|    364|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   94|    364|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|    364|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|   142k|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 141k, False: 364]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|   141k|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 364, False: 141k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|   141k|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 141k, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|   141k|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|  1.41M|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 141k]
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 141k]
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 141k]
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 141k, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 141k, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|   141k|		}							\
  |  |  |  |  |  |  |  |   85|    364|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 364]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|    364|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 364, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|    364|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|    364|	}								\
  |  |  |  |   42|    364|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 364]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   95|    364|				  n1, n2, i, i1, i2, loop_body);	\
  |  |   96|    364|    } while (0)
  |  |  ------------------
  |  |  |  Branch (96:14): [Folded, False: 364]
  |  |  ------------------
  ------------------
  910|    364|		    x1 = px1[i1];
  911|    364|		    x2 = px2[i2];
  912|    364|		    if (x1 == NA_INTEGER || x2 == NA_INTEGER || x2 == 0)
  913|    364|			pa[i] = NA_INTEGER;
  914|    364|		    else {
  915|    364|			pa[i] = /* till 0.63.2:	x1 % x2 */
  916|    364|			    (x1 >= 0 && x2 > 0) ? x1 % x2 :
  917|    364|			    (int)myfmod((double)x1,(double)x2);
  918|    364|		    }
  919|    364|		});
  920|    364|	}
  921|    364|	break;
  922|    325|    case IDIVOP:
  ------------------
  |  Branch (922:5): [True: 325, False: 2.21k]
  ------------------
  923|    325|	{
  924|    325|	    int *pa = INTEGER(ans);
  925|    325|	    const int *px1 = INTEGER_RO(s1);
  926|    325|	    const int *px2 = INTEGER_RO(s2);
  927|    325|	    MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2, {
  ------------------
  |  |   92|    325|#define MOD_ITERATE2_CHECK(ncheck, n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |   93|    325|	i = i1 = i2 = 0;						\
  |  |   94|    325|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  ------------------
  |  |  |  |   32|    325|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|    325|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|    325|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 325, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|    325|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|    325|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 325, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|    325|		n : __intr_threshold__;					\
  |  |  |  |   38|    325|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   94|    325|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|    325|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|    650|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 325, False: 325]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|    325|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 325, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|    325|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 325, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|    325|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|  1.95k|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 325]
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 325]
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 325]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|    325|		}							\
  |  |  |  |  |  |  |  |   85|    325|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 325]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|    325|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 325, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|    325|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|    325|	}								\
  |  |  |  |   42|    325|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 325]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   95|    325|				  n1, n2, i, i1, i2, loop_body);	\
  |  |   96|    325|    } while (0)
  |  |  ------------------
  |  |  |  Branch (96:14): [Folded, False: 325]
  |  |  ------------------
  ------------------
  928|    325|		    x1 = px1[i1];
  929|    325|		    x2 = px2[i2];
  930|       |		    /* This had x %/% 0 == 0 prior to 2.14.1, but
  931|       |		       it seems conventionally to be undefined */
  932|    325|		    if (x1 == NA_INTEGER || x2 == NA_INTEGER || x2 == 0)
  933|    325|			pa[i] = NA_INTEGER;
  934|    325|		    else
  935|    325|			pa[i] = (int) floor((double)x1 / (double)x2);
  936|    325|		});
  937|    325|	}
  938|    325|	break;
  939|  2.54k|    }
  940|  2.54k|    UNPROTECT(1);
  ------------------
  |  |  358|  2.54k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  941|       |
  942|       |    /* quick return if there are no attributes */
  943|  2.54k|    if (ATTRIB(s1) == R_NilValue && ATTRIB(s2) == R_NilValue)
  ------------------
  |  Branch (943:9): [True: 2.54k, False: 0]
  |  Branch (943:37): [True: 2.54k, False: 0]
  ------------------
  944|  2.54k|	return ans;
  945|       |
  946|       |    /* Copy attributes from longer argument. */
  947|       |
  948|      0|    if (ans != s2 && n == n2 && ATTRIB(s2) != R_NilValue)
  ------------------
  |  Branch (948:9): [True: 0, False: 0]
  |  Branch (948:22): [True: 0, False: 0]
  |  Branch (948:33): [True: 0, False: 0]
  ------------------
  949|      0|	copyMostAttrib(s2, ans);
  ------------------
  |  |  901|      0|#define copyMostAttrib		Rf_copyMostAttrib
  ------------------
  950|      0|    if (ans != s1 && n == n1 && ATTRIB(s1) != R_NilValue)
  ------------------
  |  Branch (950:9): [True: 0, False: 0]
  |  Branch (950:22): [True: 0, False: 0]
  |  Branch (950:33): [True: 0, False: 0]
  ------------------
  951|      0|	copyMostAttrib(s1, ans); /* Done 2nd so s1's attrs overwrite s2's */
  ------------------
  |  |  901|      0|#define copyMostAttrib		Rf_copyMostAttrib
  ------------------
  952|       |
  953|      0|    return ans;
  954|  2.54k|}
arithmetic.c:real_binary:
  959|  27.1k|{
  960|  27.1k|    R_xlen_t i, i1, i2, n, n1, n2;
  961|  27.1k|    SEXP ans;
  962|       |
  963|       |    /* Note: "s1" and "s2" are protected above. */
  964|  27.1k|    n1 = XLENGTH(s1);
  965|  27.1k|    n2 = XLENGTH(s2);
  966|       |
  967|       |    /* S4-compatibility change: if n1 or n2 is 0, result is of length 0 */
  968|  27.1k|    if (n1 == 0 || n2 == 0) return(allocVector(REALSXP, 0));
  ------------------
  |  |  875|  1.13k|#define allocVector		Rf_allocVector
  ------------------
                  if (n1 == 0 || n2 == 0) return(allocVector(REALSXP, 0));
  ------------------
  |  |  124|  1.13k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (968:9): [True: 1.13k, False: 25.9k]
  |  Branch (968:20): [True: 0, False: 25.9k]
  ------------------
  969|       |
  970|  25.9k|    n = (n1 > n2) ? n1 : n2;
  ------------------
  |  Branch (970:9): [True: 16.1k, False: 9.85k]
  ------------------
  971|  25.9k|    PROTECT(ans = R_allocOrReuseVector(s1, s2, REALSXP, n));
  ------------------
  |  |  357|  25.9k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  972|       |
  973|  25.9k|    switch (code) {
  ------------------
  |  Branch (973:13): [True: 25.9k, False: 0]
  ------------------
  974|  1.60k|    case PLUSOP:
  ------------------
  |  Branch (974:5): [True: 1.60k, False: 24.3k]
  ------------------
  975|  1.60k|	if(TYPEOF(s1) == REALSXP && TYPEOF(s2) == REALSXP) {
  ------------------
  |  |  124|  3.21k|#define REALSXP	    14	  /* real variables */
  ------------------
              	if(TYPEOF(s1) == REALSXP && TYPEOF(s2) == REALSXP) {
  ------------------
  |  |  124|  1.60k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (975:5): [True: 1.60k, False: 0]
  |  Branch (975:30): [True: 1.60k, False: 0]
  ------------------
  976|  1.60k|	    double *da = REAL(ans);
  977|  1.60k|	    const double *dx = REAL_RO(s1);
  978|  1.60k|	    const double *dy = REAL_RO(s2);
  979|  1.60k|	    if (n2 == 1) {
  ------------------
  |  Branch (979:10): [True: 1.17k, False: 427]
  ------------------
  980|  1.17k|		double tmp = dy[0];
  981|  1.17k|		R_ITERATE_CHECK(NINTERRUPT, n, i, da[i] = dx[i] + tmp;);
  ------------------
  |  |   53|  1.17k|#define R_ITERATE_CHECK(ncheck, n, i, loop_body) do {			\
  |  |   54|  1.17k|	i = 0;								\
  |  |   55|  1.17k|	LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
  |  |  ------------------
  |  |  |  |   32|  1.17k|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|  1.17k|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|  1.17k|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 1.17k, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|  1.17k|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|  1.17k|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 1.17k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|  1.17k|		n : __intr_threshold__;					\
  |  |  |  |   38|  1.17k|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.17k|	LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   44|  1.17k|#define R_ITERATE_CORE(n, i, loop_body) do {	\
  |  |  |  |  |  |  |  |   45|   307k|	for (; i < n; ++i) { loop_body }	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (45:9): [True: 306k, False: 1.17k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   46|  1.17k|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (46:14): [Folded, False: 1.17k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|  1.17k|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 1.17k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|  1.17k|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|  1.17k|	}								\
  |  |  |  |   42|  1.17k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 1.17k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   56|  1.17k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (56:14): [Folded, False: 1.17k]
  |  |  ------------------
  ------------------
  982|  1.17k|	    }
  983|    427|	    else if (n1 == 1) {
  ------------------
  |  Branch (983:15): [True: 161, False: 266]
  ------------------
  984|    161|		double tmp = dx[0];
  985|    161|		R_ITERATE_CHECK(NINTERRUPT, n, i, da[i] = tmp + dy[i];);
  ------------------
  |  |   53|    161|#define R_ITERATE_CHECK(ncheck, n, i, loop_body) do {			\
  |  |   54|    161|	i = 0;								\
  |  |   55|    161|	LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
  |  |  ------------------
  |  |  |  |   32|    161|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|    161|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|    161|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 161, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|    161|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|    161|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 161, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|    161|		n : __intr_threshold__;					\
  |  |  |  |   38|    161|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    161|	LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   44|    161|#define R_ITERATE_CORE(n, i, loop_body) do {	\
  |  |  |  |  |  |  |  |   45|  1.12k|	for (; i < n; ++i) { loop_body }	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (45:9): [True: 966, False: 161]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   46|    161|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (46:14): [Folded, False: 161]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|    161|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 161, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|    161|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|    161|	}								\
  |  |  |  |   42|    161|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 161]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   56|    161|    } while (0)
  |  |  ------------------
  |  |  |  Branch (56:14): [Folded, False: 161]
  |  |  ------------------
  ------------------
  986|    161|	    }
  987|    266|	    else if (n1 == n2)
  ------------------
  |  Branch (987:15): [True: 266, False: 0]
  ------------------
  988|    266|		R_ITERATE_CHECK(NINTERRUPT, n, i, da[i] = dx[i] + dy[i];);
  ------------------
  |  |   53|    266|#define R_ITERATE_CHECK(ncheck, n, i, loop_body) do {			\
  |  |   54|    266|	i = 0;								\
  |  |   55|    266|	LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
  |  |  ------------------
  |  |  |  |   32|    266|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|    266|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|    266|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 266, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|    266|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|    266|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 266, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|    266|		n : __intr_threshold__;					\
  |  |  |  |   38|    266|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    266|	LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   44|    266|#define R_ITERATE_CORE(n, i, loop_body) do {	\
  |  |  |  |  |  |  |  |   45|  47.6k|	for (; i < n; ++i) { loop_body }	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (45:9): [True: 47.3k, False: 266]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   46|    266|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (46:14): [Folded, False: 266]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|    266|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 266, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|    266|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|    266|	}								\
  |  |  |  |   42|    266|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 266]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   56|    266|    } while (0)
  |  |  ------------------
  |  |  |  Branch (56:14): [Folded, False: 266]
  |  |  ------------------
  ------------------
  989|      0|	    else
  990|      0|		MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
  ------------------
  |  |   92|      0|#define MOD_ITERATE2_CHECK(ncheck, n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |   93|      0|	i = i1 = i2 = 0;						\
  |  |   94|      0|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  ------------------
  |  |  |  |   32|      0|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|      0|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|      0|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|      0|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|      0|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|      0|		n : __intr_threshold__;					\
  |  |  |  |   38|      0|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   94|      0|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  |  |  |  |   84|      0|		}							\
  |  |  |  |  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|      0|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|      0|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|      0|	}								\
  |  |  |  |   42|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   95|      0|				  n1, n2, i, i1, i2, loop_body);	\
  |  |   96|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (96:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  991|  1.60k|				  da[i] = dx[i1] + dy[i2];);
  992|  1.60k|	}
  993|      0|	else if(TYPEOF(s1) == INTSXP ) {
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (993:10): [True: 0, False: 0]
  ------------------
  994|      0|	    double *da = REAL(ans);
  995|      0|	    const int *px1 = INTEGER_RO(s1);
  996|      0|	    const double *px2 = REAL_RO(s2);
  997|      0|	    MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
  ------------------
  |  |   92|      0|#define MOD_ITERATE2_CHECK(ncheck, n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |   93|      0|	i = i1 = i2 = 0;						\
  |  |   94|      0|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  ------------------
  |  |  |  |   32|      0|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|      0|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|      0|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|      0|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|      0|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|      0|		n : __intr_threshold__;					\
  |  |  |  |   38|      0|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   94|      0|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|      0|		}							\
  |  |  |  |  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|      0|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|      0|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|      0|	}								\
  |  |  |  |   42|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   95|      0|				  n1, n2, i, i1, i2, loop_body);	\
  |  |   96|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (96:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  998|      0|			       da[i] = R_INTEGER(px1[i1]) + px2[i2];);
  999|      0|	}
 1000|      0|	else if(TYPEOF(s2) == INTSXP ) {
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1000:10): [True: 0, False: 0]
  ------------------
 1001|      0|	    double *da = REAL(ans);
 1002|      0|	    const double *px1 = REAL_RO(s1);
 1003|      0|	    const int *px2 = INTEGER_RO(s2);
 1004|      0|	    MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
  ------------------
  |  |   92|      0|#define MOD_ITERATE2_CHECK(ncheck, n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |   93|      0|	i = i1 = i2 = 0;						\
  |  |   94|      0|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  ------------------
  |  |  |  |   32|      0|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|      0|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|      0|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|      0|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|      0|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|      0|		n : __intr_threshold__;					\
  |  |  |  |   38|      0|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   94|      0|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|      0|		}							\
  |  |  |  |  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|      0|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|      0|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|      0|	}								\
  |  |  |  |   42|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   95|      0|				  n1, n2, i, i1, i2, loop_body);	\
  |  |   96|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (96:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1005|      0|			       da[i] = px1[i1] + R_INTEGER(px2[i2]););
 1006|      0|	}
 1007|  1.60k|	break;
 1008|  2.27k|    case MINUSOP:
  ------------------
  |  Branch (1008:5): [True: 2.27k, False: 23.7k]
  ------------------
 1009|  2.27k|	if(TYPEOF(s1) == REALSXP && TYPEOF(s2) == REALSXP) {
  ------------------
  |  |  124|  4.55k|#define REALSXP	    14	  /* real variables */
  ------------------
              	if(TYPEOF(s1) == REALSXP && TYPEOF(s2) == REALSXP) {
  ------------------
  |  |  124|  2.21k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1009:5): [True: 2.21k, False: 64]
  |  Branch (1009:30): [True: 2.21k, False: 0]
  ------------------
 1010|  2.21k|	    double *da = REAL(ans);
 1011|  2.21k|	    const double *dx = REAL_RO(s1);
 1012|  2.21k|	    const double *dy = REAL_RO(s2);
 1013|  2.21k|	    if (n2 == 1) {
  ------------------
  |  Branch (1013:10): [True: 1.18k, False: 1.03k]
  ------------------
 1014|  1.18k|		double tmp = dy[0];
 1015|  1.18k|		R_ITERATE_CHECK(NINTERRUPT, n, i, da[i] = dx[i] - tmp;);
  ------------------
  |  |   53|  1.18k|#define R_ITERATE_CHECK(ncheck, n, i, loop_body) do {			\
  |  |   54|  1.18k|	i = 0;								\
  |  |   55|  1.18k|	LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
  |  |  ------------------
  |  |  |  |   32|  1.18k|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|  1.18k|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|  1.18k|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 1.18k, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|  1.18k|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|  1.18k|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 1.18k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|  1.18k|		n : __intr_threshold__;					\
  |  |  |  |   38|  1.18k|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.18k|	LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   44|  1.18k|#define R_ITERATE_CORE(n, i, loop_body) do {	\
  |  |  |  |  |  |  |  |   45|  58.6k|	for (; i < n; ++i) { loop_body }	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (45:9): [True: 57.4k, False: 1.18k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   46|  1.18k|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (46:14): [Folded, False: 1.18k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|  1.18k|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 1.18k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|  1.18k|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|  1.18k|	}								\
  |  |  |  |   42|  1.18k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 1.18k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   56|  1.18k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (56:14): [Folded, False: 1.18k]
  |  |  ------------------
  ------------------
 1016|  1.18k|	    }
 1017|  1.03k|	    else if (n1 == 1) {
  ------------------
  |  Branch (1017:15): [True: 251, False: 781]
  ------------------
 1018|    251|		double tmp = dx[0];
 1019|    251|		R_ITERATE_CHECK(NINTERRUPT, n, i, da[i] = tmp - dy[i];);
  ------------------
  |  |   53|    251|#define R_ITERATE_CHECK(ncheck, n, i, loop_body) do {			\
  |  |   54|    251|	i = 0;								\
  |  |   55|    251|	LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
  |  |  ------------------
  |  |  |  |   32|    251|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|    251|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|    251|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 251, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|    251|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|    251|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 251, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|    251|		n : __intr_threshold__;					\
  |  |  |  |   38|    251|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    251|	LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   44|    251|#define R_ITERATE_CORE(n, i, loop_body) do {	\
  |  |  |  |  |  |  |  |   45|  1.51k|	for (; i < n; ++i) { loop_body }	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (45:9): [True: 1.26k, False: 251]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   46|    251|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (46:14): [Folded, False: 251]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|    251|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 251, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|    251|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|    251|	}								\
  |  |  |  |   42|    251|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 251]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   56|    251|    } while (0)
  |  |  ------------------
  |  |  |  Branch (56:14): [Folded, False: 251]
  |  |  ------------------
  ------------------
 1020|    251|	    }
 1021|    781|	    else if (n1 == n2)
  ------------------
  |  Branch (1021:15): [True: 781, False: 0]
  ------------------
 1022|    781|		R_ITERATE_CHECK(NINTERRUPT, n, i, da[i] = dx[i] - dy[i];);
  ------------------
  |  |   53|    781|#define R_ITERATE_CHECK(ncheck, n, i, loop_body) do {			\
  |  |   54|    781|	i = 0;								\
  |  |   55|    781|	LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
  |  |  ------------------
  |  |  |  |   32|    781|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|    781|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|    781|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 781, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|    781|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|    781|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 781, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|    781|		n : __intr_threshold__;					\
  |  |  |  |   38|    781|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    781|	LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   44|    781|#define R_ITERATE_CORE(n, i, loop_body) do {	\
  |  |  |  |  |  |  |  |   45|   103k|	for (; i < n; ++i) { loop_body }	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (45:9): [True: 102k, False: 781]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   46|    781|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (46:14): [Folded, False: 781]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|    781|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 781, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|    781|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|    781|	}								\
  |  |  |  |   42|    781|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 781]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   56|    781|    } while (0)
  |  |  ------------------
  |  |  |  Branch (56:14): [Folded, False: 781]
  |  |  ------------------
  ------------------
 1023|      0|	    else
 1024|      0|		MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
  ------------------
  |  |   92|      0|#define MOD_ITERATE2_CHECK(ncheck, n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |   93|      0|	i = i1 = i2 = 0;						\
  |  |   94|      0|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  ------------------
  |  |  |  |   32|      0|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|      0|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|      0|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|      0|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|      0|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|      0|		n : __intr_threshold__;					\
  |  |  |  |   38|      0|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   94|      0|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  |  |  |  |   84|      0|		}							\
  |  |  |  |  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|      0|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|      0|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|      0|	}								\
  |  |  |  |   42|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   95|      0|				  n1, n2, i, i1, i2, loop_body);	\
  |  |   96|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (96:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1025|  2.21k|				  da[i] = dx[i1] - dy[i2];);
 1026|  2.21k|	}
 1027|     64|	else if(TYPEOF(s1) == INTSXP ) {
  ------------------
  |  |  123|     64|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1027:10): [True: 64, False: 0]
  ------------------
 1028|     64|	    double *da = REAL(ans);
 1029|     64|	    const int *px1 = INTEGER_RO(s1);
 1030|     64|	    const double *px2 = REAL_RO(s2);
 1031|     64|	    MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
  ------------------
  |  |   92|     64|#define MOD_ITERATE2_CHECK(ncheck, n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |   93|     64|	i = i1 = i2 = 0;						\
  |  |   94|     64|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  ------------------
  |  |  |  |   32|     64|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|     64|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|     64|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 64, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|     64|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|     64|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 64, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|     64|		n : __intr_threshold__;					\
  |  |  |  |   38|     64|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   94|     64|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|     64|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|    320|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 256, False: 64]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|    256|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 64, False: 192]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|    256|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 256, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|    256|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|    512|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 256]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|    256|		}							\
  |  |  |  |  |  |  |  |   85|     64|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 64]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|     64|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 64, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|     64|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|     64|	}								\
  |  |  |  |   42|     64|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 64]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   95|     64|				  n1, n2, i, i1, i2, loop_body);	\
  |  |   96|     64|    } while (0)
  |  |  ------------------
  |  |  |  Branch (96:14): [Folded, False: 64]
  |  |  ------------------
  ------------------
 1032|     64|			       da[i] = R_INTEGER(px1[i1]) - px2[i2];);
 1033|     64|	}
 1034|      0|	else if(TYPEOF(s2) == INTSXP ) {
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1034:10): [True: 0, False: 0]
  ------------------
 1035|      0|	    double *da = REAL(ans);
 1036|      0|	    const double *px1 = REAL_RO(s1);
 1037|      0|	    const int *px2 = INTEGER_RO(s2);
 1038|      0|	    MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
  ------------------
  |  |   92|      0|#define MOD_ITERATE2_CHECK(ncheck, n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |   93|      0|	i = i1 = i2 = 0;						\
  |  |   94|      0|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  ------------------
  |  |  |  |   32|      0|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|      0|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|      0|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|      0|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|      0|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|      0|		n : __intr_threshold__;					\
  |  |  |  |   38|      0|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   94|      0|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|      0|		}							\
  |  |  |  |  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|      0|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|      0|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|      0|	}								\
  |  |  |  |   42|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   95|      0|				  n1, n2, i, i1, i2, loop_body);	\
  |  |   96|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (96:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1039|      0|			       da[i] = px1[i1] - R_INTEGER(px2[i2]););
 1040|      0|	}
 1041|  2.27k|	break;
 1042|  5.97k|    case TIMESOP:
  ------------------
  |  Branch (1042:5): [True: 5.97k, False: 20.0k]
  ------------------
 1043|  5.97k|	if(TYPEOF(s1) == REALSXP && TYPEOF(s2) == REALSXP) {
  ------------------
  |  |  124|  11.9k|#define REALSXP	    14	  /* real variables */
  ------------------
              	if(TYPEOF(s1) == REALSXP && TYPEOF(s2) == REALSXP) {
  ------------------
  |  |  124|  5.81k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1043:5): [True: 5.81k, False: 161]
  |  Branch (1043:30): [True: 5.81k, False: 0]
  ------------------
 1044|  5.81k|	    double *da = REAL(ans);
 1045|  5.81k|	    const double *dx = REAL_RO(s1);
 1046|  5.81k|	    const double *dy = REAL_RO(s2);
 1047|  5.81k|	    if (n2 == 1) {
  ------------------
  |  Branch (1047:10): [True: 2.27k, False: 3.54k]
  ------------------
 1048|  2.27k|		double tmp = dy[0];
 1049|  2.27k|		R_ITERATE_CHECK(NINTERRUPT, n, i, da[i] = dx[i] * tmp;);
  ------------------
  |  |   53|  2.27k|#define R_ITERATE_CHECK(ncheck, n, i, loop_body) do {			\
  |  |   54|  2.27k|	i = 0;								\
  |  |   55|  2.27k|	LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
  |  |  ------------------
  |  |  |  |   32|  2.27k|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|  2.27k|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|  2.27k|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 2.27k, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|  2.27k|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|  2.27k|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 2.27k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|  2.27k|		n : __intr_threshold__;					\
  |  |  |  |   38|  2.27k|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  2.27k|	LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   44|  2.27k|#define R_ITERATE_CORE(n, i, loop_body) do {	\
  |  |  |  |  |  |  |  |   45|   308k|	for (; i < n; ++i) { loop_body }	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (45:9): [True: 306k, False: 2.27k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   46|  2.27k|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (46:14): [Folded, False: 2.27k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|  2.27k|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 2.27k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|  2.27k|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|  2.27k|	}								\
  |  |  |  |   42|  2.27k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 2.27k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   56|  2.27k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (56:14): [Folded, False: 2.27k]
  |  |  ------------------
  ------------------
 1050|  2.27k|	    }
 1051|  3.54k|	    else if (n1 == 1) {
  ------------------
  |  Branch (1051:15): [True: 2.41k, False: 1.12k]
  ------------------
 1052|  2.41k|		double tmp = dx[0];
 1053|  2.41k|		R_ITERATE_CHECK(NINTERRUPT, n, i, da[i] = tmp * dy[i];);
  ------------------
  |  |   53|  2.41k|#define R_ITERATE_CHECK(ncheck, n, i, loop_body) do {			\
  |  |   54|  2.41k|	i = 0;								\
  |  |   55|  2.41k|	LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
  |  |  ------------------
  |  |  |  |   32|  2.41k|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|  2.41k|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|  2.41k|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 2.41k, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|  2.41k|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|  2.41k|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 2.41k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|  2.41k|		n : __intr_threshold__;					\
  |  |  |  |   38|  2.41k|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  2.41k|	LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   44|  2.41k|#define R_ITERATE_CORE(n, i, loop_body) do {	\
  |  |  |  |  |  |  |  |   45|   318k|	for (; i < n; ++i) { loop_body }	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (45:9): [True: 316k, False: 2.41k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   46|  2.41k|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (46:14): [Folded, False: 2.41k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|  2.41k|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 2.41k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|  2.41k|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|  2.41k|	}								\
  |  |  |  |   42|  2.41k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 2.41k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   56|  2.41k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (56:14): [Folded, False: 2.41k]
  |  |  ------------------
  ------------------
 1054|  2.41k|	    }
 1055|  1.12k|	    else if (n1 == n2)
  ------------------
  |  Branch (1055:15): [True: 1.12k, False: 0]
  ------------------
 1056|  1.12k|		R_ITERATE_CHECK(NINTERRUPT, n, i, da[i] = dx[i] * dy[i];);
  ------------------
  |  |   53|  1.12k|#define R_ITERATE_CHECK(ncheck, n, i, loop_body) do {			\
  |  |   54|  1.12k|	i = 0;								\
  |  |   55|  1.12k|	LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
  |  |  ------------------
  |  |  |  |   32|  1.12k|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|  1.12k|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|  1.12k|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 1.12k, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|  1.12k|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|  1.12k|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 1.12k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|  1.12k|		n : __intr_threshold__;					\
  |  |  |  |   38|  1.12k|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.12k|	LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   44|  1.12k|#define R_ITERATE_CORE(n, i, loop_body) do {	\
  |  |  |  |  |  |  |  |   45|  12.7k|	for (; i < n; ++i) { loop_body }	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (45:9): [True: 11.5k, False: 1.12k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   46|  1.12k|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (46:14): [Folded, False: 1.12k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|  1.12k|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 1.12k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|  1.12k|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|  1.12k|	}								\
  |  |  |  |   42|  1.12k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 1.12k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   56|  1.12k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (56:14): [Folded, False: 1.12k]
  |  |  ------------------
  ------------------
 1057|      0|	    else
 1058|      0|		MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
  ------------------
  |  |   92|      0|#define MOD_ITERATE2_CHECK(ncheck, n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |   93|      0|	i = i1 = i2 = 0;						\
  |  |   94|      0|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  ------------------
  |  |  |  |   32|      0|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|      0|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|      0|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|      0|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|      0|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|      0|		n : __intr_threshold__;					\
  |  |  |  |   38|      0|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   94|      0|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  |  |  |  |   84|      0|		}							\
  |  |  |  |  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|      0|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|      0|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|      0|	}								\
  |  |  |  |   42|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   95|      0|				  n1, n2, i, i1, i2, loop_body);	\
  |  |   96|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (96:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1059|  5.81k|				  da[i] = dx[i1] * dy[i2];);
 1060|  5.81k|	}
 1061|    161|	else if(TYPEOF(s1) == INTSXP ) {
  ------------------
  |  |  123|    161|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1061:10): [True: 161, False: 0]
  ------------------
 1062|    161|	    double *da = REAL(ans);
 1063|    161|	    const int *px1 = INTEGER_RO(s1);
 1064|    161|	    const double *px2 = REAL_RO(s2);
 1065|    161|	    MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
  ------------------
  |  |   92|    161|#define MOD_ITERATE2_CHECK(ncheck, n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |   93|    161|	i = i1 = i2 = 0;						\
  |  |   94|    161|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  ------------------
  |  |  |  |   32|    161|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|    161|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|    161|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 161, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|    161|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|    161|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 161, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|    161|		n : __intr_threshold__;					\
  |  |  |  |   38|    161|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   94|    161|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|    161|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|  1.12k|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 966, False: 161]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|    966|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 161, False: 805]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|    966|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 966, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|    966|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|  1.93k|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 966]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|    966|		}							\
  |  |  |  |  |  |  |  |   85|    161|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 161]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|    161|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 161, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|    161|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|    161|	}								\
  |  |  |  |   42|    161|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 161]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   95|    161|				  n1, n2, i, i1, i2, loop_body);	\
  |  |   96|    161|    } while (0)
  |  |  ------------------
  |  |  |  Branch (96:14): [Folded, False: 161]
  |  |  ------------------
  ------------------
 1066|    161|			       da[i] = R_INTEGER(px1[i1]) * px2[i2];);
 1067|    161|	}
 1068|      0|	else if(TYPEOF(s2) == INTSXP ) {
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1068:10): [True: 0, False: 0]
  ------------------
 1069|      0|	    double *da = REAL(ans);
 1070|      0|	    const double *px1 = REAL_RO(s1);
 1071|      0|	    const int *px2 = INTEGER_RO(s2);
 1072|      0|	    MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
  ------------------
  |  |   92|      0|#define MOD_ITERATE2_CHECK(ncheck, n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |   93|      0|	i = i1 = i2 = 0;						\
  |  |   94|      0|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  ------------------
  |  |  |  |   32|      0|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|      0|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|      0|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|      0|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|      0|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|      0|		n : __intr_threshold__;					\
  |  |  |  |   38|      0|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   94|      0|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|      0|		}							\
  |  |  |  |  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|      0|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|      0|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|      0|	}								\
  |  |  |  |   42|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   95|      0|				  n1, n2, i, i1, i2, loop_body);	\
  |  |   96|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (96:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1073|      0|			       da[i] = px1[i1] * R_INTEGER(px2[i2]););
 1074|      0|	}
 1075|  5.97k|	break;
 1076|  9.43k|    case DIVOP:
  ------------------
  |  Branch (1076:5): [True: 9.43k, False: 16.5k]
  ------------------
 1077|  9.43k|	if(TYPEOF(s1) == REALSXP && TYPEOF(s2) == REALSXP) {
  ------------------
  |  |  124|  18.8k|#define REALSXP	    14	  /* real variables */
  ------------------
              	if(TYPEOF(s1) == REALSXP && TYPEOF(s2) == REALSXP) {
  ------------------
  |  |  124|  8.56k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1077:5): [True: 8.56k, False: 872]
  |  Branch (1077:30): [True: 8.56k, False: 0]
  ------------------
 1078|  8.56k|	    double *da = REAL(ans);
 1079|  8.56k|	    const double *dx = REAL_RO(s1);
 1080|  8.56k|	    const double *dy = REAL_RO(s2);
 1081|  8.56k|	    if (n2 == 1) {
  ------------------
  |  Branch (1081:10): [True: 8.56k, False: 0]
  ------------------
 1082|  8.56k|		double tmp = dy[0];
 1083|  8.56k|		R_ITERATE_CHECK(NINTERRUPT, n, i, da[i] = dx[i] / tmp;);
  ------------------
  |  |   53|  8.56k|#define R_ITERATE_CHECK(ncheck, n, i, loop_body) do {			\
  |  |   54|  8.56k|	i = 0;								\
  |  |   55|  8.56k|	LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
  |  |  ------------------
  |  |  |  |   32|  8.56k|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|  8.56k|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|  8.56k|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 8.56k, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|  8.56k|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|  8.56k|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 8.56k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|  8.56k|		n : __intr_threshold__;					\
  |  |  |  |   38|  8.56k|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  8.56k|	LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   44|  8.56k|#define R_ITERATE_CORE(n, i, loop_body) do {	\
  |  |  |  |  |  |  |  |   45|  2.45M|	for (; i < n; ++i) { loop_body }	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (45:9): [True: 2.44M, False: 8.56k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   46|  8.56k|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (46:14): [Folded, False: 8.56k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|  8.56k|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 8.56k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|  8.56k|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|  8.56k|	}								\
  |  |  |  |   42|  8.56k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 8.56k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   56|  8.56k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (56:14): [Folded, False: 8.56k]
  |  |  ------------------
  ------------------
 1084|  8.56k|	    }
 1085|      0|	    else if (n1 == 1) {
  ------------------
  |  Branch (1085:15): [True: 0, False: 0]
  ------------------
 1086|      0|		double tmp = dx[0];
 1087|      0|		R_ITERATE_CHECK(NINTERRUPT, n, i, da[i] = tmp / dy[i];);
  ------------------
  |  |   53|      0|#define R_ITERATE_CHECK(ncheck, n, i, loop_body) do {			\
  |  |   54|      0|	i = 0;								\
  |  |   55|      0|	LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
  |  |  ------------------
  |  |  |  |   32|      0|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|      0|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|      0|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|      0|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|      0|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|      0|		n : __intr_threshold__;					\
  |  |  |  |   38|      0|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|	LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   44|      0|#define R_ITERATE_CORE(n, i, loop_body) do {	\
  |  |  |  |  |  |  |  |   45|      0|	for (; i < n; ++i) { loop_body }	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (45:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   46|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (46:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|      0|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|      0|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|      0|	}								\
  |  |  |  |   42|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   56|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (56:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1088|      0|	    }
 1089|      0|	    else if (n1 == n2)
  ------------------
  |  Branch (1089:15): [True: 0, False: 0]
  ------------------
 1090|      0|		R_ITERATE_CHECK(NINTERRUPT, n, i, da[i] = dx[i] / dy[i];);
  ------------------
  |  |   53|      0|#define R_ITERATE_CHECK(ncheck, n, i, loop_body) do {			\
  |  |   54|      0|	i = 0;								\
  |  |   55|      0|	LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
  |  |  ------------------
  |  |  |  |   32|      0|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|      0|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|      0|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|      0|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|      0|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|      0|		n : __intr_threshold__;					\
  |  |  |  |   38|      0|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|	LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   44|      0|#define R_ITERATE_CORE(n, i, loop_body) do {	\
  |  |  |  |  |  |  |  |   45|      0|	for (; i < n; ++i) { loop_body }	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (45:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   46|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (46:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|      0|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|      0|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|      0|	}								\
  |  |  |  |   42|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   56|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (56:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1091|      0|	    else
 1092|      0|		MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
  ------------------
  |  |   92|      0|#define MOD_ITERATE2_CHECK(ncheck, n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |   93|      0|	i = i1 = i2 = 0;						\
  |  |   94|      0|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  ------------------
  |  |  |  |   32|      0|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|      0|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|      0|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|      0|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|      0|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|      0|		n : __intr_threshold__;					\
  |  |  |  |   38|      0|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   94|      0|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  |  |  |  |   84|      0|		}							\
  |  |  |  |  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|      0|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|      0|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|      0|	}								\
  |  |  |  |   42|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   95|      0|				  n1, n2, i, i1, i2, loop_body);	\
  |  |   96|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (96:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1093|  8.56k|				  da[i] = dx[i1] / dy[i2];);
 1094|  8.56k|	}
 1095|    872|	else if(TYPEOF(s1) == INTSXP ) {
  ------------------
  |  |  123|    872|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1095:10): [True: 872, False: 0]
  ------------------
 1096|    872|	    double *da = REAL(ans);
 1097|    872|	    const int *px1 = INTEGER_RO(s1);
 1098|    872|	    const double *px2 = REAL_RO(s2);
 1099|    872|	    MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
  ------------------
  |  |   92|    872|#define MOD_ITERATE2_CHECK(ncheck, n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |   93|    872|	i = i1 = i2 = 0;						\
  |  |   94|    872|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  ------------------
  |  |  |  |   32|    872|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|    872|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|    872|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 872, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|    872|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|    872|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 872, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|    872|		n : __intr_threshold__;					\
  |  |  |  |   38|    872|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   94|    872|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|    872|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|   617k|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 616k, False: 872]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|   616k|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 872, False: 615k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|   616k|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 616k, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|   616k|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|  1.23M|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 616k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|   616k|		}							\
  |  |  |  |  |  |  |  |   85|    872|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 872]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|    872|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 872, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|    872|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|    872|	}								\
  |  |  |  |   42|    872|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 872]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   95|    872|				  n1, n2, i, i1, i2, loop_body);	\
  |  |   96|    872|    } while (0)
  |  |  ------------------
  |  |  |  Branch (96:14): [Folded, False: 872]
  |  |  ------------------
  ------------------
 1100|    872|			       da[i] = R_INTEGER(px1[i1]) / px2[i2];);
 1101|    872|	}
 1102|      0|	else if(TYPEOF(s2) == INTSXP ) {
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1102:10): [True: 0, False: 0]
  ------------------
 1103|      0|	    double *da = REAL(ans);
 1104|      0|	    const double *px1 = REAL_RO(s1);
 1105|      0|	    const int *px2 = INTEGER_RO(s2);
 1106|      0|	    MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
  ------------------
  |  |   92|      0|#define MOD_ITERATE2_CHECK(ncheck, n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |   93|      0|	i = i1 = i2 = 0;						\
  |  |   94|      0|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  ------------------
  |  |  |  |   32|      0|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|      0|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|      0|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|      0|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|      0|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|      0|		n : __intr_threshold__;					\
  |  |  |  |   38|      0|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   94|      0|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|      0|		}							\
  |  |  |  |  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|      0|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|      0|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|      0|	}								\
  |  |  |  |   42|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   95|      0|				  n1, n2, i, i1, i2, loop_body);	\
  |  |   96|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (96:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1107|      0|			       da[i] = px1[i1] / R_INTEGER(px2[i2]););
 1108|      0|	}
 1109|  9.43k|	break;
 1110|  1.54k|    case POWOP:
  ------------------
  |  Branch (1110:5): [True: 1.54k, False: 24.4k]
  ------------------
 1111|  1.54k|	if(TYPEOF(s1) == REALSXP && TYPEOF(s2) == REALSXP) {
  ------------------
  |  |  124|  3.08k|#define REALSXP	    14	  /* real variables */
  ------------------
              	if(TYPEOF(s1) == REALSXP && TYPEOF(s2) == REALSXP) {
  ------------------
  |  |  124|  1.42k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1111:5): [True: 1.42k, False: 116]
  |  Branch (1111:30): [True: 1.42k, False: 0]
  ------------------
 1112|  1.42k|	    double *da = REAL(ans);
 1113|  1.42k|	    const double *dx = REAL_RO(s1);
 1114|  1.42k|	    const double *dy = REAL_RO(s2);
 1115|  1.42k|	    if (n2 == 1) {
  ------------------
  |  Branch (1115:10): [True: 1.36k, False: 64]
  ------------------
 1116|  1.36k|		double tmp = dy[0];
 1117|  1.36k|		R_ITERATE_CHECK(NINTERRUPT, n, i, da[i] = R_POW(dx[i], tmp););
  ------------------
  |  |   53|  1.36k|#define R_ITERATE_CHECK(ncheck, n, i, loop_body) do {			\
  |  |   54|  1.36k|	i = 0;								\
  |  |   55|  1.36k|	LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
  |  |  ------------------
  |  |  |  |   32|  1.36k|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|  1.36k|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|  1.36k|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 1.36k, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|  1.36k|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|  1.36k|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 1.36k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|  1.36k|		n : __intr_threshold__;					\
  |  |  |  |   38|  1.36k|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.36k|	LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   44|  1.36k|#define R_ITERATE_CORE(n, i, loop_body) do {	\
  |  |  |  |  |  |  |  |   45|   341k|	for (; i < n; ++i) { loop_body }	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (45:9): [True: 339k, False: 1.36k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   46|  1.36k|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (46:14): [Folded, False: 1.36k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|  1.36k|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 1.36k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|  1.36k|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|  1.36k|	}								\
  |  |  |  |   42|  1.36k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 1.36k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   56|  1.36k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (56:14): [Folded, False: 1.36k]
  |  |  ------------------
  ------------------
 1118|  1.36k|	    }
 1119|     64|	    else if (n1 == 1) {
  ------------------
  |  Branch (1119:15): [True: 64, False: 0]
  ------------------
 1120|     64|		double tmp = dx[0];
 1121|     64|		R_ITERATE_CHECK(NINTERRUPT, n, i, da[i] = R_POW(tmp, dy[i]););
  ------------------
  |  |   53|     64|#define R_ITERATE_CHECK(ncheck, n, i, loop_body) do {			\
  |  |   54|     64|	i = 0;								\
  |  |   55|     64|	LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
  |  |  ------------------
  |  |  |  |   32|     64|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|     64|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|     64|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 64, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|     64|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|     64|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 64, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|     64|		n : __intr_threshold__;					\
  |  |  |  |   38|     64|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|     64|	LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   44|     64|#define R_ITERATE_CORE(n, i, loop_body) do {	\
  |  |  |  |  |  |  |  |   45|    320|	for (; i < n; ++i) { loop_body }	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (45:9): [True: 256, False: 64]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   46|     64|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (46:14): [Folded, False: 64]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|     64|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 64, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|     64|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|     64|	}								\
  |  |  |  |   42|     64|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 64]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   56|     64|    } while (0)
  |  |  ------------------
  |  |  |  Branch (56:14): [Folded, False: 64]
  |  |  ------------------
  ------------------
 1122|     64|	    }
 1123|      0|	    else if (n1 == n2)
  ------------------
  |  Branch (1123:15): [True: 0, False: 0]
  ------------------
 1124|      0|		R_ITERATE_CHECK(NINTERRUPT, n, i, da[i] = R_POW(dx[i], dy[i]););
  ------------------
  |  |   53|      0|#define R_ITERATE_CHECK(ncheck, n, i, loop_body) do {			\
  |  |   54|      0|	i = 0;								\
  |  |   55|      0|	LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
  |  |  ------------------
  |  |  |  |   32|      0|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|      0|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|      0|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|      0|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|      0|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|      0|		n : __intr_threshold__;					\
  |  |  |  |   38|      0|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|	LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   44|      0|#define R_ITERATE_CORE(n, i, loop_body) do {	\
  |  |  |  |  |  |  |  |   45|      0|	for (; i < n; ++i) { loop_body }	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (45:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   46|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (46:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|      0|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|      0|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|      0|	}								\
  |  |  |  |   42|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   56|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (56:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1125|      0|	    else
 1126|      0|		MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
  ------------------
  |  |   92|      0|#define MOD_ITERATE2_CHECK(ncheck, n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |   93|      0|	i = i1 = i2 = 0;						\
  |  |   94|      0|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  ------------------
  |  |  |  |   32|      0|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|      0|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|      0|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|      0|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|      0|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|      0|		n : __intr_threshold__;					\
  |  |  |  |   38|      0|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   94|      0|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  |  |  |  |   84|      0|		}							\
  |  |  |  |  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|      0|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|      0|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|      0|	}								\
  |  |  |  |   42|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   95|      0|				  n1, n2, i, i1, i2, loop_body);	\
  |  |   96|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (96:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1127|  1.42k|				  da[i] = R_POW(dx[i1], dy[i2]););
 1128|  1.42k|	}
 1129|    116|	else if(TYPEOF(s1) == INTSXP ) {
  ------------------
  |  |  123|    116|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1129:10): [True: 116, False: 0]
  ------------------
 1130|    116|	    double *da = REAL(ans);
 1131|    116|	    const int *px1 = INTEGER_RO(s1);
 1132|    116|	    const double *px2 = REAL_RO(s2);
 1133|    116|	    MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
  ------------------
  |  |   92|    116|#define MOD_ITERATE2_CHECK(ncheck, n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |   93|    116|	i = i1 = i2 = 0;						\
  |  |   94|    116|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  ------------------
  |  |  |  |   32|    116|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|    116|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|    116|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 116, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|    116|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|    116|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 116, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|    116|		n : __intr_threshold__;					\
  |  |  |  |   38|    116|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   94|    116|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|    116|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|    348|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 232, False: 116]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|    232|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 116, False: 116]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|    232|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 232, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|    232|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|    464|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 232]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|    232|		}							\
  |  |  |  |  |  |  |  |   85|    116|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 116]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|    116|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 116, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|    116|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|    116|	}								\
  |  |  |  |   42|    116|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 116]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   95|    116|				  n1, n2, i, i1, i2, loop_body);	\
  |  |   96|    116|    } while (0)
  |  |  ------------------
  |  |  |  Branch (96:14): [Folded, False: 116]
  |  |  ------------------
  ------------------
 1134|    116|			       da[i] = R_POW( R_INTEGER(px1[i1]), px2[i2]););
 1135|    116|	}
 1136|      0|	else if(TYPEOF(s2) == INTSXP ) {
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1136:10): [True: 0, False: 0]
  ------------------
 1137|      0|	    double *da = REAL(ans);
 1138|      0|	    const double *px1 = REAL_RO(s1);
 1139|      0|	    const int *px2 = INTEGER_RO(s2);
 1140|      0|	    MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
  ------------------
  |  |   92|      0|#define MOD_ITERATE2_CHECK(ncheck, n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |   93|      0|	i = i1 = i2 = 0;						\
  |  |   94|      0|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  ------------------
  |  |  |  |   32|      0|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|      0|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|      0|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|      0|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|      0|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|      0|		n : __intr_threshold__;					\
  |  |  |  |   38|      0|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   94|      0|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|      0|		}							\
  |  |  |  |  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|      0|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|      0|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|      0|	}								\
  |  |  |  |   42|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   95|      0|				  n1, n2, i, i1, i2, loop_body);	\
  |  |   96|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (96:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1141|      0|			       da[i] = R_POW(px1[i1], R_INTEGER(px2[i2])););
 1142|      0|	}
 1143|  1.54k|	break;
 1144|  5.13k|    case MODOP:
  ------------------
  |  Branch (1144:5): [True: 5.13k, False: 20.8k]
  ------------------
 1145|  5.13k|	if(TYPEOF(s1) == REALSXP && TYPEOF(s2) == REALSXP) {
  ------------------
  |  |  124|  10.2k|#define REALSXP	    14	  /* real variables */
  ------------------
              	if(TYPEOF(s1) == REALSXP && TYPEOF(s2) == REALSXP) {
  ------------------
  |  |  124|  5.13k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1145:5): [True: 5.13k, False: 0]
  |  Branch (1145:30): [True: 5.13k, False: 0]
  ------------------
 1146|  5.13k|	    double *da = REAL(ans);
 1147|  5.13k|	    const double *px1 = REAL_RO(s1);
 1148|  5.13k|	    const double *px2 = REAL_RO(s2);
 1149|  5.13k|	    MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
  ------------------
  |  |   92|  5.13k|#define MOD_ITERATE2_CHECK(ncheck, n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |   93|  5.13k|	i = i1 = i2 = 0;						\
  |  |   94|  5.13k|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  ------------------
  |  |  |  |   32|  5.13k|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|  5.13k|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|  5.13k|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 5.13k, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|  5.13k|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|  5.13k|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 5.13k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|  5.13k|		n : __intr_threshold__;					\
  |  |  |  |   38|  5.13k|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   94|  5.13k|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|  5.13k|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|  1.34M|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 1.33M, False: 5.13k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|  1.33M|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 5.13k, False: 1.33M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|  1.33M|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 1.33M, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|  1.33M|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|  1.33M|	    loop_body							\
  |  |  |  |  |  |  |  |   84|  1.33M|		}							\
  |  |  |  |  |  |  |  |   85|  5.13k|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 5.13k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|  5.13k|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 5.13k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|  5.13k|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|  5.13k|	}								\
  |  |  |  |   42|  5.13k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 5.13k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   95|  5.13k|				  n1, n2, i, i1, i2, loop_body);	\
  |  |   96|  5.13k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (96:14): [Folded, False: 5.13k]
  |  |  ------------------
  ------------------
 1150|  5.13k|			       da[i] = myfmod(px1[i1], px2[i2]););
 1151|  5.13k|	}
 1152|      0|	else if(TYPEOF(s1) == INTSXP ) {
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1152:10): [True: 0, False: 0]
  ------------------
 1153|      0|	    double *da = REAL(ans);
 1154|      0|	    const int *px1 = INTEGER_RO(s1);
 1155|      0|	    const double *px2 = REAL_RO(s2);
 1156|      0|	    MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
  ------------------
  |  |   92|      0|#define MOD_ITERATE2_CHECK(ncheck, n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |   93|      0|	i = i1 = i2 = 0;						\
  |  |   94|      0|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  ------------------
  |  |  |  |   32|      0|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|      0|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|      0|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|      0|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|      0|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|      0|		n : __intr_threshold__;					\
  |  |  |  |   38|      0|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   94|      0|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|      0|		}							\
  |  |  |  |  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|      0|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|      0|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|      0|	}								\
  |  |  |  |   42|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   95|      0|				  n1, n2, i, i1, i2, loop_body);	\
  |  |   96|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (96:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1157|      0|			       da[i] = myfmod(R_INTEGER(px1[i1]), px2[i2]););
 1158|      0|	}
 1159|      0|	else if(TYPEOF(s2) == INTSXP ) {
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1159:10): [True: 0, False: 0]
  ------------------
 1160|      0|	    double *da = REAL(ans);
 1161|      0|	    const double *px1 = REAL_RO(s1);
 1162|      0|	    const int *px2 = INTEGER_RO(s2);
 1163|      0|	    MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
  ------------------
  |  |   92|      0|#define MOD_ITERATE2_CHECK(ncheck, n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |   93|      0|	i = i1 = i2 = 0;						\
  |  |   94|      0|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  ------------------
  |  |  |  |   32|      0|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|      0|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|      0|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|      0|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|      0|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|      0|		n : __intr_threshold__;					\
  |  |  |  |   38|      0|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   94|      0|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|      0|		}							\
  |  |  |  |  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|      0|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|      0|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|      0|	}								\
  |  |  |  |   42|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   95|      0|				  n1, n2, i, i1, i2, loop_body);	\
  |  |   96|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (96:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1164|      0|			       da[i] = myfmod(px1[i1], R_INTEGER(px2[i2])););
 1165|      0|	}
 1166|  5.13k|	break;
 1167|     26|    case IDIVOP:
  ------------------
  |  Branch (1167:5): [True: 26, False: 25.9k]
  ------------------
 1168|     26|	if(TYPEOF(s1) == REALSXP && TYPEOF(s2) == REALSXP) {
  ------------------
  |  |  124|     52|#define REALSXP	    14	  /* real variables */
  ------------------
              	if(TYPEOF(s1) == REALSXP && TYPEOF(s2) == REALSXP) {
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1168:5): [True: 0, False: 26]
  |  Branch (1168:30): [True: 0, False: 0]
  ------------------
 1169|      0|	    double *da = REAL(ans);
 1170|      0|	    const double *px1 = REAL_RO(s1);
 1171|      0|	    const double *px2 = REAL_RO(s2);
 1172|      0|	    MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
  ------------------
  |  |   92|      0|#define MOD_ITERATE2_CHECK(ncheck, n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |   93|      0|	i = i1 = i2 = 0;						\
  |  |   94|      0|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  ------------------
  |  |  |  |   32|      0|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|      0|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|      0|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|      0|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|      0|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|      0|		n : __intr_threshold__;					\
  |  |  |  |   38|      0|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   94|      0|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  |  |  |  |   84|      0|		}							\
  |  |  |  |  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|      0|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|      0|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|      0|	}								\
  |  |  |  |   42|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   95|      0|				  n1, n2, i, i1, i2, loop_body);	\
  |  |   96|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (96:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1173|      0|			       da[i] = myfloor(px1[i1], px2[i2]););
 1174|      0|	}
 1175|     26|	else if(TYPEOF(s1) == INTSXP ) {
  ------------------
  |  |  123|     26|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1175:10): [True: 26, False: 0]
  ------------------
 1176|     26|	    double *da = REAL(ans);
 1177|     26|	    const int *px1 = INTEGER_RO(s1);
 1178|     26|	    const double *px2 = REAL_RO(s2);
 1179|     26|	    MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
  ------------------
  |  |   92|     26|#define MOD_ITERATE2_CHECK(ncheck, n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |   93|     26|	i = i1 = i2 = 0;						\
  |  |   94|     26|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  ------------------
  |  |  |  |   32|     26|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|     26|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|     26|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 26, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|     26|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|     26|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 26, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|     26|		n : __intr_threshold__;					\
  |  |  |  |   38|     26|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   94|     26|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|     26|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|     52|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 26, False: 26]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|     26|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 26, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|     26|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 26, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|     26|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|     52|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 26]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|     26|		}							\
  |  |  |  |  |  |  |  |   85|     26|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 26]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|     26|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 26, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|     26|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|     26|	}								\
  |  |  |  |   42|     26|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 26]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   95|     26|				  n1, n2, i, i1, i2, loop_body);	\
  |  |   96|     26|    } while (0)
  |  |  ------------------
  |  |  |  Branch (96:14): [Folded, False: 26]
  |  |  ------------------
  ------------------
 1180|     26|			       da[i] = myfloor(R_INTEGER(px1[i1]), px2[i2]););
 1181|     26|	}
 1182|      0|	else if(TYPEOF(s2) == INTSXP ) {
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1182:10): [True: 0, False: 0]
  ------------------
 1183|      0|	    double *da = REAL(ans);
 1184|      0|	    const double *px1 = REAL_RO(s1);
 1185|      0|	    const int *px2 = INTEGER_RO(s2);
 1186|      0|	    MOD_ITERATE2_CHECK(NINTERRUPT, n, n1, n2, i, i1, i2,
  ------------------
  |  |   92|      0|#define MOD_ITERATE2_CHECK(ncheck, n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |   93|      0|	i = i1 = i2 = 0;						\
  |  |   94|      0|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  ------------------
  |  |  |  |   32|      0|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|      0|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|      0|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|      0|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|      0|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|      0|		n : __intr_threshold__;					\
  |  |  |  |   38|      0|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   94|      0|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|      0|		}							\
  |  |  |  |  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|      0|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|      0|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|      0|	}								\
  |  |  |  |   42|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   95|      0|				  n1, n2, i, i1, i2, loop_body);	\
  |  |   96|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (96:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1187|      0|			       da[i] = myfloor(px1[i1], R_INTEGER(px2[i2])););
 1188|      0|	}
 1189|     26|	break;
 1190|  25.9k|    }
 1191|  25.9k|    UNPROTECT(1);
  ------------------
  |  |  358|  25.9k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1192|       |
 1193|       |    /* quick return if there are no attributes */
 1194|  25.9k|    if (ATTRIB(s1) == R_NilValue && ATTRIB(s2) == R_NilValue)
  ------------------
  |  Branch (1194:9): [True: 17.3k, False: 8.65k]
  |  Branch (1194:37): [True: 15.1k, False: 2.16k]
  ------------------
 1195|  15.1k|	return ans;
 1196|       |
 1197|       |    /* Copy attributes from longer argument. */
 1198|       |
 1199|  10.8k|    if (ans != s2 && n == n2 && ATTRIB(s2) != R_NilValue)
  ------------------
  |  Branch (1199:9): [True: 8.85k, False: 1.95k]
  |  Branch (1199:22): [True: 589, False: 8.26k]
  |  Branch (1199:33): [True: 589, False: 0]
  ------------------
 1200|    589|	copyMostAttrib(s2, ans);
  ------------------
  |  |  901|    589|#define copyMostAttrib		Rf_copyMostAttrib
  ------------------
 1201|  10.8k|    if (ans != s1 && n == n1 && ATTRIB(s1) != R_NilValue)
  ------------------
  |  Branch (1201:9): [True: 7.58k, False: 3.23k]
  |  Branch (1201:22): [True: 6.83k, False: 750]
  |  Branch (1201:33): [True: 6.35k, False: 483]
  ------------------
 1202|  6.35k|	copyMostAttrib(s1, ans); /* Done 2nd so s1's attrs overwrite s2's */
  ------------------
  |  |  901|  6.35k|#define copyMostAttrib		Rf_copyMostAttrib
  ------------------
 1203|       |
 1204|  10.8k|    return ans;
 1205|  25.9k|}
arithmetic.c:myfloor:
  192|     26|{
  193|     26|    double q = x1 / x2;
  194|     26|    if (x2 == 0.0 || fabs(q) * c_eps > 1 || !R_FINITE(q))
  ------------------
  |  |  167|     26|# define c_eps LDBL_EPSILON
  ------------------
                  if (x2 == 0.0 || fabs(q) * c_eps > 1 || !R_FINITE(q))
  ------------------
  |  |   82|     26|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (194:9): [True: 0, False: 26]
  |  Branch (194:22): [True: 0, False: 26]
  |  Branch (194:45): [True: 0, False: 26]
  ------------------
  195|      0|	return q;
  196|     26|    if(fabs(q) < 1)
  ------------------
  |  Branch (196:8): [True: 0, False: 26]
  ------------------
  197|      0|	return (q < 0) ? -1
  ------------------
  |  Branch (197:9): [True: 0, False: 0]
  ------------------
  198|      0|	    : ((x1 < 0 && x2 > 0) ||
  ------------------
  |  Branch (198:10): [True: 0, False: 0]
  |  Branch (198:20): [True: 0, False: 0]
  ------------------
  199|      0|	       (x1 > 0 && x2 < 0) // differing signs
  ------------------
  |  Branch (199:10): [True: 0, False: 0]
  |  Branch (199:20): [True: 0, False: 0]
  ------------------
  200|      0|	       ? -1 : 0);
  201|     26|    LDOUBLE tmp = (LDOUBLE)x1 - floor(q) * (LDOUBLE)x2;
  ------------------
  |  | 2582|     26|# define LDOUBLE long double
  ------------------
  202|     26|    return (double) (floor(q) + floorl(tmp/x2));
  203|     26|}
arithmetic.c:math1:
 1253|    750|{
 1254|    750|    SEXP sy;
 1255|    750|    R_xlen_t i, n;
 1256|    750|    int naflag;
 1257|       |
 1258|    750|    if (!isNumeric(sa))
  ------------------
  |  |  957|    750|#define isNumeric		Rf_isNumeric
  ------------------
  |  Branch (1258:9): [True: 0, False: 750]
  ------------------
 1259|      0|	errorcall(lcall, R_MSG_NONNUM_MATH);
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(lcall, R_MSG_NONNUM_MATH);
  ------------------
  |  |   51|      0|#define R_MSG_NONNUM_MATH _("non-numeric argument to mathematical function")
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  ------------------
 1260|       |
 1261|    750|    n = XLENGTH(sa);
 1262|       |    /* coercion can lose the object bit */
 1263|    750|    PROTECT(sa = coerceVector(sa, REALSXP));
  ------------------
  |  |  357|    750|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1264|    750|    PROTECT(sy = NO_REFERENCES(sa) ? sa : allocVector(REALSXP, n));
  ------------------
  |  |  357|  1.50k|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  |  |  Branch (357:31): [True: 0, False: 750]
  |  |  ------------------
  ------------------
 1265|    750|    const double *a = REAL_RO(sa);
 1266|    750|    double *y = REAL(sy);
 1267|    750|    naflag = 0;
 1268|  5.20k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1268:17): [True: 4.45k, False: 750]
  ------------------
 1269|  4.45k|	double x = a[i]; /* in case y == a */
 1270|       |	/* This code assumes that ISNAN(x) implies ISNAN(f(x)), so we
 1271|       |	   only need to check ISNAN(x) if ISNAN(f(x)) is true. */
 1272|  4.45k|	y[i] = f(x);
 1273|  4.45k|	if (ISNAN(y[i])) {
  ------------------
  |  |   76|  4.45k|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 4.45k]
  |  |  ------------------
  ------------------
 1274|      0|	    if (ISNAN(x))
  ------------------
  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1275|      0|		y[i] = x; /* make sure the incoming NaN is preserved */
 1276|      0|	    else
 1277|      0|		naflag = 1;
 1278|      0|	}
 1279|  4.45k|    }
 1280|       |    /* These are primitives, so need to use the call */
 1281|    750|    if(naflag) warningcall(lcall, R_MSG_NA);
  ------------------
  |  | 2018|      0|# define warningcall		Rf_warningcall
  ------------------
                  if(naflag) warningcall(lcall, R_MSG_NA);
  ------------------
  |  |   50|      0|#define R_MSG_NA	_("NaNs produced")
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  ------------------
  |  Branch (1281:8): [True: 0, False: 750]
  ------------------
 1282|       |
 1283|    750|    if (sa != sy && ATTRIB(sa) != R_NilValue)
  ------------------
  |  Branch (1283:9): [True: 750, False: 0]
  |  Branch (1283:21): [True: 161, False: 589]
  ------------------
 1284|    161|	SHALLOW_DUPLICATE_ATTRIB(sy, sa);
 1285|    750|    UNPROTECT(2);
  ------------------
  |  |  358|    750|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1286|    750|    return sy;
 1287|    750|}
arithmetic.c:Rsqrt:
 1293|    589|{
 1294|    589|    if (x == 0.) return x; // => sqrt(-0.) = -0.
  ------------------
  |  Branch (1294:9): [True: 0, False: 589]
  ------------------
 1295|  7.06k|    for(int i=1; i < 12; i++) {
  ------------------
  |  Branch (1295:18): [True: 6.47k, False: 589]
  ------------------
 1296|  6.47k|	if (x == i*i) return i;
  ------------------
  |  Branch (1296:6): [True: 0, False: 6.47k]
  ------------------
 1297|  6.47k|    }
 1298|    589|    return sqrt(x);
 1299|    589|}
arithmetic.c:math2:
 1523|    161|{
 1524|       |    /* for 0-length a we want the attributes of a,
 1525|       |       as no recycling will occur */
 1526|    161|#define SETUP_Math2					\
 1527|    161|    SEXP sy;						\
 1528|    161|    R_xlen_t i, ia, ib, n, na, nb;			\
 1529|    161|    double ai, bi, *y;					\
 1530|    161|    const double *a, *b;				\
 1531|    161|							\
 1532|    161|    if (!isNumeric(sa) || !isNumeric(sb))		\
 1533|    161|	errorcall(lcall, R_MSG_NONNUM_MATH);		\
 1534|    161|							\
 1535|    161|    na = XLENGTH(sa);					\
 1536|    161|    nb = XLENGTH(sb);					\
 1537|    161|    if ((na == 0) || (nb == 0))	{			\
 1538|    161|	PROTECT(sy = allocVector(REALSXP, 0));		\
 1539|    161|	if (na == 0) SHALLOW_DUPLICATE_ATTRIB(sy, sa);	\
 1540|    161|	UNPROTECT(1);					\
 1541|    161|	return(sy);					\
 1542|    161|    }							\
 1543|    161|    n = (na < nb) ? nb : na;				\
 1544|    161|    PROTECT(sa = coerceVector(sa, REALSXP));		\
 1545|    161|    PROTECT(sb = coerceVector(sb, REALSXP));		\
 1546|    161|    PROTECT(sy = allocVector(REALSXP, n));		\
 1547|    161|    a = REAL_RO(sa);					\
 1548|    161|    b = REAL_RO(sb);					\
 1549|    161|    y = REAL(sy);					\
 1550|    161|    int naflag = 0
 1551|       |
 1552|    161|    SETUP_Math2;
  ------------------
  |  | 1527|    161|    SEXP sy;						\
  |  | 1528|    161|    R_xlen_t i, ia, ib, n, na, nb;			\
  |  | 1529|    161|    double ai, bi, *y;					\
  |  | 1530|    161|    const double *a, *b;				\
  |  | 1531|    161|							\
  |  | 1532|    161|    if (!isNumeric(sa) || !isNumeric(sb))		\
  |  |  ------------------
  |  |  |  |  957|    161|#define isNumeric		Rf_isNumeric
  |  |  ------------------
  |  |                   if (!isNumeric(sa) || !isNumeric(sb))		\
  |  |  ------------------
  |  |  |  |  957|    161|#define isNumeric		Rf_isNumeric
  |  |  ------------------
  |  |  |  Branch (1532:9): [True: 0, False: 161]
  |  |  |  Branch (1532:27): [True: 0, False: 161]
  |  |  ------------------
  |  | 1533|    161|	errorcall(lcall, R_MSG_NONNUM_MATH);		\
  |  |  ------------------
  |  |  |  |  912|      0|#define errorcall		Rf_errorcall
  |  |  ------------------
  |  |               	errorcall(lcall, R_MSG_NONNUM_MATH);		\
  |  |  ------------------
  |  |  |  |   51|      0|#define R_MSG_NONNUM_MATH _("non-numeric argument to mathematical function")
  |  |  |  |  ------------------
  |  |  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1534|    161|							\
  |  | 1535|    161|    na = XLENGTH(sa);					\
  |  | 1536|    161|    nb = XLENGTH(sb);					\
  |  | 1537|    161|    if ((na == 0) || (nb == 0))	{			\
  |  |  ------------------
  |  |  |  Branch (1537:9): [True: 0, False: 161]
  |  |  |  Branch (1537:22): [True: 0, False: 161]
  |  |  ------------------
  |  | 1538|      0|	PROTECT(sy = allocVector(REALSXP, 0));		\
  |  |  ------------------
  |  |  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  | 1539|      0|	if (na == 0) SHALLOW_DUPLICATE_ATTRIB(sy, sa);	\
  |  |  ------------------
  |  |  |  Branch (1539:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 1540|      0|	UNPROTECT(1);					\
  |  |  ------------------
  |  |  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  |  |  ------------------
  |  | 1541|      0|	return(sy);					\
  |  | 1542|      0|    }							\
  |  | 1543|    161|    n = (na < nb) ? nb : na;				\
  |  |  ------------------
  |  |  |  Branch (1543:9): [True: 0, False: 161]
  |  |  ------------------
  |  | 1544|    161|    PROTECT(sa = coerceVector(sa, REALSXP));		\
  |  |  ------------------
  |  |  |  |  357|    161|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  | 1545|    161|    PROTECT(sb = coerceVector(sb, REALSXP));		\
  |  |  ------------------
  |  |  |  |  357|    161|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  | 1546|    161|    PROTECT(sy = allocVector(REALSXP, n));		\
  |  |  ------------------
  |  |  |  |  357|    161|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  | 1547|    161|    a = REAL_RO(sa);					\
  |  | 1548|    161|    b = REAL_RO(sb);					\
  |  | 1549|    161|    y = REAL(sy);					\
  |  | 1550|    161|    int naflag = 0
  ------------------
 1553|       |
 1554|    161|    MOD_ITERATE2(n, na, nb, i, ia, ib, {
  ------------------
  |  |   87|    161|#define MOD_ITERATE2(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |   88|    161|	i = i1 = i2 = 0;					\
  |  |   89|    161|	MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body);	\
  |  |  ------------------
  |  |  |  |   78|    161|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |   79|  4.02k|	for (; i < n;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (79:9): [True: 3.86k, False: 161]
  |  |  |  |  ------------------
  |  |  |  |   80|  3.86k|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (80:12): [True: 161, False: 3.70k]
  |  |  |  |  ------------------
  |  |  |  |   81|  3.86k|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (81:9): [True: 3.86k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   82|  3.86k|		 ++i) {							\
  |  |  |  |   83|  34.7k|	    loop_body							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (83:6): [True: 0, False: 3.86k]
  |  |  |  |  |  Branch (83:6): [True: 0, False: 3.86k]
  |  |  |  |  |  Branch (83:6): [True: 0, False: 3.86k]
  |  |  |  |  |  Branch (83:6): [True: 0, False: 3.86k]
  |  |  |  |  |  Branch (83:6): [True: 0, False: 3.86k]
  |  |  |  |  ------------------
  |  |  |  |   84|  3.86k|		}							\
  |  |  |  |   85|    161|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (85:14): [Folded, False: 161]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|    161|    } while (0)
  |  |  ------------------
  |  |  |  Branch (90:14): [Folded, False: 161]
  |  |  ------------------
  ------------------
 1555|       |//	if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
 1556|    161|	ai = a[ia];
 1557|    161|	bi = b[ib];
 1558|    161|	if_NA_Math2_set(y[i], ai, bi)
 1559|    161|	else {
 1560|    161|	    y[i] = f(ai, bi);
 1561|    161|	    if (ISNAN(y[i])) naflag = 1;
 1562|    161|	}
 1563|    161|    });
 1564|       |
 1565|    161|#define FINISH_Math2					\
 1566|    161|    if(naflag) warning(R_MSG_NA);			\
 1567|    161|    if      (n == na) SHALLOW_DUPLICATE_ATTRIB(sy, sa);	\
 1568|    161|    else if (n == nb) SHALLOW_DUPLICATE_ATTRIB(sy, sb);	\
 1569|    161|    UNPROTECT(3)
 1570|       |
 1571|    161|    FINISH_Math2;
  ------------------
  |  | 1566|    161|    if(naflag) warning(R_MSG_NA);			\
  |  |  ------------------
  |  |  |  |   89|      0|#define warning Rf_warning
  |  |  ------------------
  |  |                   if(naflag) warning(R_MSG_NA);			\
  |  |  ------------------
  |  |  |  |   50|      0|#define R_MSG_NA	_("NaNs produced")
  |  |  |  |  ------------------
  |  |  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1566:8): [True: 0, False: 161]
  |  |  ------------------
  |  | 1567|    161|    if      (n == na) SHALLOW_DUPLICATE_ATTRIB(sy, sa);	\
  |  |  ------------------
  |  |  |  Branch (1567:14): [True: 161, False: 0]
  |  |  ------------------
  |  | 1568|    161|    else if (n == nb) SHALLOW_DUPLICATE_ATTRIB(sy, sb);	\
  |  |  ------------------
  |  |  |  Branch (1568:14): [True: 0, False: 0]
  |  |  ------------------
  |  | 1569|    161|    UNPROTECT(3)
  |  |  ------------------
  |  |  |  |  358|    161|#define UNPROTECT(n)	Rf_unprotect(n)
  |  |  ------------------
  ------------------
 1572|       |
 1573|    161|    return sy;
 1574|    161|} /* math2() */
arithmetic.c:match_Math2_dflt_args:
 1755|    161|{
 1756|    161|#ifdef OPTIMIZE_MATCH
 1757|       |    // for now this optimization is worth while to avoid matchArgs
 1758|       |    // overhead in common cases
 1759|    161|    if (args == R_NilValue)
  ------------------
  |  Branch (1759:9): [True: 0, False: 161]
  ------------------
 1760|      0|        return list2(R_MissingArg, R_MissingArg);
  ------------------
  |  |  990|      0|#define list2			Rf_list2
  ------------------
 1761|    161|    else if (TAG(args) == R_NilValue &&
  ------------------
  |  Branch (1761:14): [True: 161, False: 0]
  ------------------
 1762|    161|             CDR(args) == R_NilValue) {
  ------------------
  |  Branch (1762:14): [True: 0, False: 161]
  ------------------
 1763|      0|        SETCDR(args, CONS_NR(R_MissingArg, R_NilValue));
 1764|      0|        return args;
 1765|      0|    }
 1766|    161|    else if (CDR(args) != R_NilValue &&
  ------------------
  |  Branch (1766:14): [True: 161, False: 0]
  ------------------
 1767|    161|             CDDR(args) == R_NilValue &&
  ------------------
  |  Branch (1767:14): [True: 161, False: 0]
  ------------------
 1768|    161|             TAG(args) == R_NilValue &&
  ------------------
  |  Branch (1768:14): [True: 161, False: 0]
  ------------------
 1769|    161|             TAG(CDR(args)) == R_NilValue)
  ------------------
  |  Branch (1769:14): [True: 161, False: 0]
  ------------------
 1770|    161|        return args;
 1771|      0|#endif
 1772|      0|    static SEXP do_Math2_dflt_formals = NULL;
 1773|      0|    if (do_Math2_dflt_formals == NULL)
  ------------------
  |  Branch (1773:9): [True: 0, False: 0]
  ------------------
 1774|      0|        do_Math2_dflt_formals = allocFormalsList2(install("x"),
  ------------------
  |  |  865|      0|#define allocFormalsList2	Rf_allocFormalsList2
  ------------------
                      do_Math2_dflt_formals = allocFormalsList2(install("x"),
  ------------------
  |  |  934|      0|#define install			Rf_install
  ------------------
 1775|      0|                                                  install("digits"));
  ------------------
  |  |  934|      0|#define install			Rf_install
  ------------------
 1776|      0|    return matchArgs_NR(do_Math2_dflt_formals, args, call);
  ------------------
  |  | 1951|      0|# define matchArgs_NR		Rf_matchArgs_NR
  ------------------
 1777|    161|}
arithmetic.c:match_round_gen_args:
 1725|    161|{
 1726|    161|#ifdef OPTIMIZE_MATCH
 1727|       |    // for now this optimization is worth while to avoid matchArgs
 1728|       |    // overhead in common cases
 1729|    161|    static SEXP R_x_Symbol = NULL;
 1730|    161|    if (R_x_Symbol == NULL)
  ------------------
  |  Branch (1730:9): [True: 2, False: 159]
  ------------------
 1731|      2|        R_x_Symbol = install("x");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1732|    161|    if (args != R_NilValue &&           // at least one arg
  ------------------
  |  Branch (1732:9): [True: 161, False: 0]
  ------------------
 1733|    161|        TAG(args) == R_NilValue &&      // first arg is not named
  ------------------
  |  Branch (1733:9): [True: 161, False: 0]
  ------------------
 1734|    161|        TAG(CDR(args)) != R_x_Symbol && // second arg, if any, is not named 'x'
  ------------------
  |  Branch (1734:9): [True: 161, False: 0]
  ------------------
 1735|    161|        CDDR(args) == R_NilValue)       // not more than two arguments
  ------------------
  |  Branch (1735:9): [True: 161, False: 0]
  ------------------
 1736|    161|        return args;
 1737|      0|#endif
 1738|      0|    static SEXP round_gen_formals = NULL;
 1739|      0|    if (round_gen_formals == NULL)
  ------------------
  |  Branch (1739:9): [True: 0, False: 0]
  ------------------
 1740|      0|        round_gen_formals = allocFormalsList2(install("x"), R_DotsSymbol);
  ------------------
  |  |  865|      0|#define allocFormalsList2	Rf_allocFormalsList2
  ------------------
                      round_gen_formals = allocFormalsList2(install("x"), R_DotsSymbol);
  ------------------
  |  |  934|      0|#define install			Rf_install
  ------------------
 1741|      0|    args = matchArgs_NR(round_gen_formals, args, call);
  ------------------
  |  | 1951|      0|# define matchArgs_NR		Rf_matchArgs_NR
  ------------------
 1742|       |
 1743|       |    // merge ... result back into args
 1744|      0|    SEXP rest = CADR(args);
 1745|      0|    if (rest == R_MissingArg)
  ------------------
  |  Branch (1745:9): [True: 0, False: 0]
  ------------------
 1746|      0|        rest = R_NilValue;
 1747|      0|    else if (TYPEOF(rest) == DOTSXP)
  ------------------
  |  |  127|      0|#define DOTSXP	    17	  /* dot-dot-dot object */
  ------------------
  |  Branch (1747:14): [True: 0, False: 0]
  ------------------
 1748|      0|        SET_TYPEOF(rest, LISTSXP);
  ------------------
  |  |  113|      0|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
 1749|      0|    else error("matchArg returned something weird");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 1750|      0|    SETCDR(args, rest);
 1751|      0|    return args;
 1752|    161|}

arithmetic.c:R_POW:
   36|   340k|{
   37|   340k|    return y == 2.0 ? x * x : R_pow(x, y);
  ------------------
  |  Branch (37:12): [True: 16.0k, False: 324k]
  ------------------
   38|   340k|}
arithmetic.c:R_allocOrReuseVector:
   67|  28.5k|{
   68|  28.5k|    R_xlen_t n1 = XLENGTH(s1);
   69|  28.5k|    R_xlen_t n2 = XLENGTH(s2);
   70|       |
   71|       |    /* Try to use space for 2nd arg if both same length, so 1st argument's
   72|       |       attributes will then take precedence when copied. */
   73|       |
   74|  28.5k|    if (n == n2) {
  ------------------
  |  Branch (74:9): [True: 12.1k, False: 16.3k]
  ------------------
   75|  12.1k|        if (TYPEOF(s2) == type && NO_REFERENCES(s2)) {
  ------------------
  |  Branch (75:13): [True: 10.4k, False: 1.73k]
  |  Branch (75:35): [True: 6.06k, False: 4.36k]
  ------------------
   76|  6.06k|	    if (ATTRIB(s2) != R_NilValue)
  ------------------
  |  Branch (76:10): [True: 3.72k, False: 2.34k]
  ------------------
   77|       |		/* need to remove 'names' attribute if present to
   78|       |		   match what copyMostAttrib does. copyMostAttrib()
   79|       |		   also skips 'dim' and 'dimnames' but those, here
   80|       |		   since those, if present, will be replaced by
   81|       |		   attribute cleanup code in R_Binary) */
   82|  3.72k|		setAttrib(s2, R_NamesSymbol, R_NilValue);
  ------------------
  |  | 1027|  3.72k|#define setAttrib		Rf_setAttrib
  ------------------
   83|  6.06k|            return s2;
   84|  6.06k|	}
   85|  6.09k|        else
   86|       |            /* Can use 1st arg's space only if 2nd arg has no attributes, else
   87|       |               we may not get attributes of result right. */
   88|  6.09k|            if (n == n1 && TYPEOF(s1) == type && NO_REFERENCES(s1)
  ------------------
  |  Branch (88:17): [True: 4.80k, False: 1.28k]
  |  Branch (88:28): [True: 4.78k, False: 26]
  |  Branch (88:50): [True: 3.31k, False: 1.46k]
  ------------------
   89|  3.31k|		&& ATTRIB(s2) == R_NilValue)
  ------------------
  |  Branch (89:6): [True: 3.31k, False: 0]
  ------------------
   90|  3.31k|                return s1;
   91|  12.1k|    }
   92|  16.3k|    else if (n == n1 && TYPEOF(s1) == type && NO_REFERENCES(s1))
  ------------------
  |  Branch (92:14): [True: 16.3k, False: 0]
  |  Branch (92:25): [True: 15.1k, False: 1.21k]
  |  Branch (92:47): [True: 6.60k, False: 8.55k]
  ------------------
   93|  6.60k|	return s1;
   94|       |
   95|  12.5k|    return allocVector(type, n);
  ------------------
  |  |  875|  12.5k|#define allocVector		Rf_allocVector
  ------------------
   96|  28.5k|}

Rf_GetRowNames:
   66|    766|{
   67|    766|    if (TYPEOF(dimnames) == VECSXP)
  ------------------
  |  |  131|    766|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (67:9): [True: 766, False: 0]
  ------------------
   68|    766|	return VECTOR_ELT(dimnames, 0);
   69|      0|    else
   70|      0|	return R_NilValue;
   71|    766|}
Rf_GetColNames:
   74|    182|{
   75|    182|    if (TYPEOF(dimnames) == VECSXP)
  ------------------
  |  |  131|    182|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (75:9): [True: 174, False: 8]
  ------------------
   76|    174|	return VECTOR_ELT(dimnames, 1);
   77|      8|    else
   78|      8|	return R_NilValue;
   79|    182|}
do_matrix:
   83|    452|{
   84|    452|    SEXP vals, ans, snr, snc, dimnames;
   85|    452|    int nr = 1, nc = 1, byrow0, miss_nr, miss_nc;
   86|    452|    R_xlen_t lendat;
   87|       |
   88|    452|    checkArity(op, args);
  ------------------
  |  | 1793|    452|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
   89|    452|    vals = CAR(args); args = CDR(args);
   90|    452|    if (!isVector(vals))
  ------------------
  |  |  974|    452|#define isVector		Rf_isVector
  ------------------
  |  Branch (90:9): [True: 0, False: 452]
  ------------------
   91|      0|	error(_("'data' must be of a vector type, was '%s'"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'data' must be of a vector type, was '%s'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
   92|      0|	    R_typeToChar(vals));
   93|    452|    lendat = XLENGTH(vals);
   94|    452|    snr = CAR(args); args = CDR(args);
   95|    452|    snc = CAR(args); args = CDR(args);
   96|    452|    byrow0 = asLogical(CAR(args)); args = CDR(args);
  ------------------
  |  |  886|    452|#define asLogical		Rf_asLogical
  ------------------
   97|    452|    if (byrow0 == NA_INTEGER)
  ------------------
  |  |   56|    452|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (97:9): [True: 0, False: 452]
  ------------------
   98|      0|	error(_("invalid '%s' argument"), "byrow");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "byrow");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
   99|    452|    bool byrow = (bool) byrow0;
  100|    452|    dimnames = CAR(args);
  101|    452|    args = CDR(args);
  102|    452|    miss_nr = asLogical(CAR(args)); args = CDR(args);
  ------------------
  |  |  886|    452|#define asLogical		Rf_asLogical
  ------------------
  103|    452|    miss_nc = asLogical(CAR(args));
  ------------------
  |  |  886|    452|#define asLogical		Rf_asLogical
  ------------------
  104|       |
  105|    452|    static int nowarn = -1;
  106|    452|    if (nowarn == -1) {
  ------------------
  |  Branch (106:9): [True: 2, False: 450]
  ------------------
  107|      2|	char *p = getenv("_R_CHECK_MATRIX_DATA_");
  108|      2|	nowarn = (p && StringTrue(p)) ? 1 : 0; // if(nowarn) <error>
  ------------------
  |  |   52|      0|#define StringTrue    Rf_StringTrue
  ------------------
  |  Branch (108:12): [True: 0, False: 2]
  |  Branch (108:17): [True: 0, False: 0]
  ------------------
  109|      2|    }
  110|    452|    if (!miss_nr) {
  ------------------
  |  Branch (110:9): [True: 452, False: 0]
  ------------------
  111|    452|	if (!isNumeric(snr)) error(_("non-numeric matrix extent"));
  ------------------
  |  |  957|    452|#define isNumeric		Rf_isNumeric
  ------------------
              	if (!isNumeric(snr)) error(_("non-numeric matrix extent"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	if (!isNumeric(snr)) error(_("non-numeric matrix extent"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (111:6): [True: 0, False: 452]
  ------------------
  112|    452|	nr = asInteger(snr);
  ------------------
  |  |  885|    452|#define asInteger		Rf_asInteger
  ------------------
  113|    452|	if (nr == NA_INTEGER)
  ------------------
  |  |   56|    452|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (113:6): [True: 0, False: 452]
  ------------------
  114|      0|	    error(_("invalid 'nrow' value (too large or NA)"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("invalid 'nrow' value (too large or NA)"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  115|    452|	if (nr < 0)
  ------------------
  |  Branch (115:6): [True: 0, False: 452]
  ------------------
  116|      0|	    error(_("invalid 'nrow' value (< 0)"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("invalid 'nrow' value (< 0)"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  117|    452|    }
  118|    452|    if (!miss_nc) {
  ------------------
  |  Branch (118:9): [True: 127, False: 325]
  ------------------
  119|    127|	if (!isNumeric(snc)) error(_("non-numeric matrix extent"));
  ------------------
  |  |  957|    127|#define isNumeric		Rf_isNumeric
  ------------------
              	if (!isNumeric(snc)) error(_("non-numeric matrix extent"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	if (!isNumeric(snc)) error(_("non-numeric matrix extent"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (119:6): [True: 0, False: 127]
  ------------------
  120|    127|	nc = asInteger(snc);
  ------------------
  |  |  885|    127|#define asInteger		Rf_asInteger
  ------------------
  121|    127|	if (nc == NA_INTEGER)
  ------------------
  |  |   56|    127|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (121:6): [True: 0, False: 127]
  ------------------
  122|      0|	    error(_("invalid 'ncol' value (too large or NA)"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("invalid 'ncol' value (too large or NA)"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  123|    127|	if (nc < 0)
  ------------------
  |  Branch (123:6): [True: 0, False: 127]
  ------------------
  124|      0|	    error(_("invalid 'ncol' value (< 0)"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("invalid 'ncol' value (< 0)"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  125|    127|    }
  126|    452|    if (miss_nr && miss_nc) {
  ------------------
  |  Branch (126:9): [True: 0, False: 452]
  |  Branch (126:20): [True: 0, False: 0]
  ------------------
  127|      0|	if (lendat > INT_MAX) error("data is too long");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  |  Branch (127:6): [True: 0, False: 0]
  ------------------
  128|      0|	nr = (int) lendat;
  129|    452|    } else if (miss_nr) {
  ------------------
  |  Branch (129:16): [True: 0, False: 452]
  ------------------
  130|      0|	if (lendat > (double) nc * INT_MAX) error("data is too long"); // incl lendat > nc == 0
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  |  Branch (130:6): [True: 0, False: 0]
  ------------------
  131|      0|	if (nc == 0) // as lendat <= nc, have lendat == 0
  ------------------
  |  Branch (131:6): [True: 0, False: 0]
  ------------------
  132|      0|	    nr = 0;
  133|      0|	else
  134|      0|	    nr = (int) ceil((double) lendat / (double) nc);
  135|    452|    } else if (miss_nc) {
  ------------------
  |  Branch (135:16): [True: 325, False: 127]
  ------------------
  136|    325|	if (lendat > (double) nr * INT_MAX) error("data is too long"); // incl lendat > nr == 0
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  |  Branch (136:6): [True: 0, False: 325]
  ------------------
  137|    325|	if (nr == 0) // then lendat == 0
  ------------------
  |  Branch (137:6): [True: 0, False: 325]
  ------------------
  138|      0|	    nc = 0;
  139|    325|	else
  140|    325|	    nc = (int) ceil((double) lendat / (double) nr);
  141|    325|    }
  142|       |
  143|    452|    if (lendat > 0) {
  ------------------
  |  Branch (143:9): [True: 452, False: 0]
  ------------------
  144|    452|	R_xlen_t nrc = (R_xlen_t) nr * nc;
  145|    452|	if (lendat > 1 && (nrc % lendat) != 0) { // ==> nrc > 0
  ------------------
  |  Branch (145:6): [True: 430, False: 22]
  |  Branch (145:20): [True: 0, False: 430]
  ------------------
  146|      0|	    if (((lendat > nr) && (lendat / nr) * nr != lendat) ||
  ------------------
  |  Branch (146:11): [True: 0, False: 0]
  |  Branch (146:28): [True: 0, False: 0]
  ------------------
  147|      0|		((lendat < nr) && (nr / lendat) * lendat != nr))
  ------------------
  |  Branch (147:4): [True: 0, False: 0]
  |  Branch (147:21): [True: 0, False: 0]
  ------------------
  148|      0|		warning(_("data length [%lld] is not a sub-multiple or multiple of the number of rows [%d]"),
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              		warning(_("data length [%lld] is not a sub-multiple or multiple of the number of rows [%d]"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  149|      0|			(long long)lendat, nr);
  150|      0|	    else if (((lendat > nc) && (lendat / nc) * nc != lendat) ||
  ------------------
  |  Branch (150:16): [True: 0, False: 0]
  |  Branch (150:33): [True: 0, False: 0]
  ------------------
  151|      0|		     ((lendat < nc) && (nc / lendat) * lendat != nc))
  ------------------
  |  Branch (151:9): [True: 0, False: 0]
  |  Branch (151:26): [True: 0, False: 0]
  ------------------
  152|      0|		warning(_("data length [%lld] is not a sub-multiple or multiple of the number of columns [%d]"),
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              		warning(_("data length [%lld] is not a sub-multiple or multiple of the number of columns [%d]"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  153|      0|			(long long)lendat, nc);
  154|      0|	    else if (nrc != lendat) {
  ------------------
  |  Branch (154:15): [True: 0, False: 0]
  ------------------
  155|      0|		if(nowarn)
  ------------------
  |  Branch (155:6): [True: 0, False: 0]
  ------------------
  156|      0|		    error(_("data length differs from size of matrix: [%lld != %d x %d]"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("data length differs from size of matrix: [%lld != %d x %d]"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  157|      0|			  (long long)lendat, nr, nc);
  158|      0|		else
  159|      0|		    warning(_("data length differs from size of matrix: [%lld != %d x %d]"),
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              		    warning(_("data length differs from size of matrix: [%lld != %d x %d]"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  160|      0|			    (long long)lendat, nr, nc);
  161|      0|	    }
  162|      0|	}
  163|    452|	else if (lendat > 1 && nrc == 0) // for now *not* warning for e.g., matrix(NA, 0, 4)
  ------------------
  |  Branch (163:11): [True: 430, False: 22]
  |  Branch (163:25): [True: 0, False: 430]
  ------------------
  164|      0|	    warning(_("non-empty data for zero-extent matrix"));
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	    warning(_("non-empty data for zero-extent matrix"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  165|    452|    }
  166|       |
  167|    452|#ifdef LONG_VECTOR_SUPPORT
  168|    452|    if ((double)nr * (double)nc > R_XLEN_T_MAX)
  ------------------
  |  |   76|    452|# define R_XLEN_T_MAX 4503599627370496
  ------------------
  |  Branch (168:9): [True: 0, False: 452]
  ------------------
  169|      0|	error(_("too many elements specified"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("too many elements specified"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  170|       |#else
  171|       |    if ((double)nr * (double)nc > INT_MAX)
  172|       |	error(_("too many elements specified"));
  173|       |#endif
  174|       |
  175|    452|    PROTECT(ans = allocMatrix(TYPEOF(vals), nr, nc));
  ------------------
  |  |  357|    452|#define PROTECT(s)	Rf_protect(s)
  ------------------
  176|    452|    if(lendat)
  ------------------
  |  Branch (176:8): [True: 452, False: 0]
  ------------------
  177|    452|	copyMatrix(ans, vals, byrow);
  ------------------
  |  |  900|    452|#define copyMatrix		Rf_copyMatrix
  ------------------
  178|      0|    else { /* fill with NAs */
  179|      0|	R_xlen_t N = (R_xlen_t) nr * nc, i;
  180|      0|	switch(TYPEOF(vals)) {
  181|      0|	case STRSXP:
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (181:2): [True: 0, False: 0]
  ------------------
  182|      0|	    for (i = 0; i < N; i++)
  ------------------
  |  Branch (182:18): [True: 0, False: 0]
  ------------------
  183|      0|		SET_STRING_ELT(ans, i, NA_STRING);
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  184|      0|	    break;
  185|      0|	case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (185:2): [True: 0, False: 0]
  ------------------
  186|      0|	    for (i = 0; i < N; i++)
  ------------------
  |  Branch (186:18): [True: 0, False: 0]
  ------------------
  187|      0|		LOGICAL(ans)[i] = NA_LOGICAL;
  ------------------
  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  ------------------
  188|      0|	    break;
  189|      0|	case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (189:2): [True: 0, False: 0]
  ------------------
  190|      0|	    for (i = 0; i < N; i++)
  ------------------
  |  Branch (190:18): [True: 0, False: 0]
  ------------------
  191|      0|		INTEGER(ans)[i] = NA_INTEGER;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  192|      0|	    break;
  193|      0|	case REALSXP:
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (193:2): [True: 0, False: 0]
  ------------------
  194|      0|	    for (i = 0; i < N; i++)
  ------------------
  |  Branch (194:18): [True: 0, False: 0]
  ------------------
  195|      0|		REAL(ans)[i] = NA_REAL;
  ------------------
  |  |   58|      0|#define NA_REAL		R_NaReal
  ------------------
  196|      0|	    break;
  197|      0|	case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (197:2): [True: 0, False: 0]
  ------------------
  198|      0|	    {
  199|      0|		Rcomplex na_cmplx;
  200|      0|		na_cmplx.r = NA_REAL;
  ------------------
  |  |   58|      0|#define NA_REAL		R_NaReal
  ------------------
  201|      0|		na_cmplx.i = 0;
  202|      0|		for (i = 0; i < N; i++)
  ------------------
  |  Branch (202:15): [True: 0, False: 0]
  ------------------
  203|      0|		    COMPLEX(ans)[i] = na_cmplx;
  204|      0|	    }
  205|      0|	    break;
  206|      0|	case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (206:2): [True: 0, False: 0]
  ------------------
  207|      0|	    if (N) memset(RAW(ans), 0, N);
  ------------------
  |  Branch (207:10): [True: 0, False: 0]
  ------------------
  208|      0|	    break;
  209|      0|	default:
  ------------------
  |  Branch (209:2): [True: 0, False: 0]
  ------------------
  210|       |	    /* don't fill with anything */
  211|      0|	    ;
  212|      0|	}
  213|      0|    }
  214|    452|    if(!isNull(dimnames) && length(dimnames) > 0)
  ------------------
  |  |  956|    452|#define isNull			Rf_isNull
  ------------------
                  if(!isNull(dimnames) && length(dimnames) > 0)
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (214:8): [True: 0, False: 452]
  |  Branch (214:29): [True: 0, False: 0]
  ------------------
  215|      0|	ans = dimnamesgets(ans, dimnames);
  ------------------
  |  |  907|      0|#define dimnamesgets		Rf_dimnamesgets
  ------------------
  216|    452|    UNPROTECT(1);
  ------------------
  |  |  358|    452|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  217|    452|    return ans;
  218|    452|}
Rf_allocMatrix:
  222|  7.31k|{
  223|  7.31k|    SEXP s, t;
  224|  7.31k|    R_xlen_t n;
  225|       |
  226|  7.31k|    if (nrow < 0 || ncol < 0)
  ------------------
  |  Branch (226:9): [True: 0, False: 7.31k]
  |  Branch (226:21): [True: 0, False: 7.31k]
  ------------------
  227|      0|	error(_("negative extents to matrix"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("negative extents to matrix"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  228|  7.31k|#ifdef LONG_VECTOR_SUPPORT
  229|  7.31k|    if ((double)nrow * (double)ncol > R_XLEN_T_MAX)
  ------------------
  |  |   76|  7.31k|# define R_XLEN_T_MAX 4503599627370496
  ------------------
  |  Branch (229:9): [True: 0, False: 7.31k]
  ------------------
  230|      0|	error(_("allocMatrix: too many elements specified"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("allocMatrix: too many elements specified"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  231|       |#else
  232|       |    if ((double)nrow * (double)ncol > INT_MAX)
  233|       |	error(_("allocMatrix: too many elements specified"));
  234|       |#endif
  235|  7.31k|    n = ((R_xlen_t) nrow) * ncol;
  236|  7.31k|    PROTECT(s = allocVector(mode, n));
  ------------------
  |  |  357|  7.31k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  237|  7.31k|    PROTECT(t = allocVector(INTSXP, 2));
  ------------------
  |  |  357|  7.31k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  238|  7.31k|    INTEGER(t)[0] = nrow;
  239|  7.31k|    INTEGER(t)[1] = ncol;
  240|  7.31k|    setAttrib(s, R_DimSymbol, t);
  ------------------
  |  | 1027|  7.31k|#define setAttrib		Rf_setAttrib
  ------------------
  241|  7.31k|    UNPROTECT(2);
  ------------------
  |  |  358|  7.31k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  242|  7.31k|    return s;
  243|  7.31k|}
dim2total:
  283|  30.0k|{
  284|  30.0k|    int ndim = LENGTH(dim);
  285|  30.0k|    if (ndim == 0)
  ------------------
  |  Branch (285:9): [True: 0, False: 30.0k]
  ------------------
  286|      0|	error(_("'dim' cannot be of length 0"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'dim' cannot be of length 0"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  287|  30.0k|    *err = false;
  288|  30.0k|    double dn = 1.;
  289|  90.2k|    for (int i = 0; i < ndim; i++) {
  ------------------
  |  Branch (289:21): [True: 60.1k, False: 30.0k]
  ------------------
  290|  60.1k|        int d;
  291|       |
  292|  60.1k|	d = INTEGER(dim)[i];
  293|       |	/* dn *= d can overflow, but the result is 0 if any dimension is
  294|       |	 * (unless NA, so we can't simply break here).
  295|       |	 */
  296|  60.1k|        if (d == 0)
  ------------------
  |  Branch (296:13): [True: 246, False: 59.9k]
  ------------------
  297|    246|            dn = 0.0;
  298|       |       /* Actually, NA_INTEGER is < 0, so we don't need to test for it
  299|       |           explicitly, but the value might change, so better be safe... 
  300|       |           An optimizing compiler will likely strip the && part.
  301|       |         */
  302|  60.1k|	if (d >= 0 && d != NA_INTEGER) {
  ------------------
  |  |   56|  60.1k|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (302:6): [True: 60.1k, False: 0]
  |  Branch (302:16): [True: 60.1k, False: 0]
  ------------------
  303|  60.1k|            dn *= d;
  304|       |	// Better to check for total here to avoid f/p overflow.
  305|  60.1k|        } else {
  306|      0|            if (d == NA_INTEGER)
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (306:17): [True: 0, False: 0]
  ------------------
  307|      0|	        error(_("the dims contain missing values"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	        error(_("the dims contain missing values"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  308|      0|            else
  309|      0|	        error(_("the dims contain negative values"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	        error(_("the dims contain negative values"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  310|      0|        }
  311|  60.1k|    }
  312|  30.0k|#ifdef LONG_VECTOR_SUPPORT
  313|  30.0k|    if (dn > R_XLEN_T_MAX)
  ------------------
  |  |   76|  30.0k|# define R_XLEN_T_MAX 4503599627370496
  ------------------
  |  Branch (313:9): [True: 0, False: 30.0k]
  ------------------
  314|       |#else
  315|       |    if (dn > INT_MAX)
  316|       |#endif
  317|      0|	*err = true; // and callers should not use the return value.
  318|  30.0k|    return (R_xlen_t) dn;
  319|  30.0k|}
Rf_DropDims:
  341|  9.60k|{
  342|  9.60k|    PROTECT(x);
  ------------------
  |  |  357|  9.60k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  343|  9.60k|    SEXP dims = getAttrib(x, R_DimSymbol);
  ------------------
  |  |  924|  9.60k|#define getAttrib		Rf_getAttrib
  ------------------
  344|       |
  345|       |    /* Check that dropping will actually do something. */
  346|       |    /* (1) Check that there is a "dim" attribute. */
  347|       |
  348|  9.60k|    if (dims == R_NilValue) {
  ------------------
  |  Branch (348:9): [True: 0, False: 9.60k]
  ------------------
  349|      0|	UNPROTECT(1); /* x */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  350|      0|	return x;
  351|      0|    }
  352|       |
  353|  9.60k|    int ndims = LENGTH(dims);
  354|  9.60k|    int *dim = INTEGER(dims); // used several times
  355|       |
  356|       |    /* (2) Check whether there are redundant extents */
  357|  9.60k|    int i, n = 0;
  358|  28.8k|    for (i = 0; i < ndims; i++)
  ------------------
  |  Branch (358:17): [True: 19.2k, False: 9.60k]
  ------------------
  359|  19.2k|	if (dim[i] != 1) n++;
  ------------------
  |  Branch (359:6): [True: 6.43k, False: 12.7k]
  ------------------
  360|  9.60k|    if (n == ndims) {
  ------------------
  |  Branch (360:9): [True: 142, False: 9.46k]
  ------------------
  361|    142|	UNPROTECT(1); /* x */
  ------------------
  |  |  358|    142|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  362|    142|	return x;
  363|    142|    }
  364|       |
  365|  9.46k|    SEXP dimnames = PROTECT(getAttrib(x, R_DimNamesSymbol)),
  ------------------
  |  |  357|  9.46k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  366|  9.46k|	newnames = R_NilValue;
  367|  9.46k|    if (n <= 1) {
  ------------------
  |  Branch (367:9): [True: 9.46k, False: 0]
  ------------------
  368|       |	/* We have reduced to a vector result.
  369|       |	   If that has length one, it is ambiguous which dimnames to use,
  370|       |	   so use it if there is only one (as from R 2.7.0).
  371|       |	 */
  372|  9.46k|	if (dimnames != R_NilValue) {
  ------------------
  |  Branch (372:6): [True: 5.62k, False: 3.84k]
  ------------------
  373|  5.62k|	    if(XLENGTH(x) != 1) {
  ------------------
  |  Branch (373:9): [True: 2.66k, False: 2.95k]
  ------------------
  374|  3.15k|		for (i = 0; i < LENGTH(dims); i++) {
  ------------------
  |  Branch (374:15): [True: 3.15k, False: 0]
  ------------------
  375|  3.15k|		    if (dim[i] != 1) {
  ------------------
  |  Branch (375:11): [True: 2.66k, False: 482]
  ------------------
  376|  2.66k|			newnames = VECTOR_ELT(dimnames, i);
  377|  2.66k|			break;
  378|  2.66k|		    }
  379|  3.15k|		}
  380|  2.95k|	    } else { /* drop all dims: keep names if unambiguous */
  381|  2.95k|		int cnt;
  382|  8.86k|		for(i = 0, cnt = 0; i < LENGTH(dims); i++)
  ------------------
  |  Branch (382:23): [True: 5.90k, False: 2.95k]
  ------------------
  383|  5.90k|		    if(VECTOR_ELT(dimnames, i) != R_NilValue) cnt++;
  ------------------
  |  Branch (383:10): [True: 2.95k, False: 2.95k]
  ------------------
  384|  2.95k|		if(cnt == 1)
  ------------------
  |  Branch (384:6): [True: 2.95k, False: 0]
  ------------------
  385|  5.26k|		    for (i = 0; i < LENGTH(dims); i++) {
  ------------------
  |  Branch (385:19): [True: 5.26k, False: 0]
  ------------------
  386|  5.26k|			newnames = VECTOR_ELT(dimnames, i);
  387|  5.26k|			if(newnames != R_NilValue) break;
  ------------------
  |  Branch (387:7): [True: 2.95k, False: 2.30k]
  ------------------
  388|  5.26k|		    }
  389|  2.95k|	    }
  390|  5.62k|	}
  391|  9.46k|	PROTECT(newnames);
  ------------------
  |  |  357|  9.46k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  392|  9.46k|	setAttrib(x, R_DimNamesSymbol, R_NilValue);
  ------------------
  |  | 1027|  9.46k|#define setAttrib		Rf_setAttrib
  ------------------
  393|  9.46k|	setAttrib(x, R_DimSymbol, R_NilValue);
  ------------------
  |  | 1027|  9.46k|#define setAttrib		Rf_setAttrib
  ------------------
  394|  9.46k|	setAttrib(x, R_NamesSymbol, newnames);
  ------------------
  |  | 1027|  9.46k|#define setAttrib		Rf_setAttrib
  ------------------
  395|       |	/* FIXME: the following is desirable, but pointless as long as
  396|       |	   subset.c & others have a contrary version that leaves the
  397|       |	   S4 class in, incorrectly, in the case of vectors.  JMC
  398|       |	   3/3/09 */
  399|       |/*	if(IS_S4_OBJECT(x)) {/\* no longer valid subclass of array or
  400|       |	matrix *\/ */
  401|       |/*	    setAttrib(x, R_ClassSymbol, R_NilValue); */
  402|       |/*	    UNSET_S4_OBJECT(x); */
  403|       |/*	} */
  404|  9.46k|	UNPROTECT(1); /* newnames */
  ------------------
  |  |  358|  9.46k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  405|  9.46k|    } else {
  406|       |	// We have a lower dimensional array, and  n == length(newdims)
  407|      0|	SEXP newdims, dnn, newnamesnames = R_NilValue;
  408|      0|	PROTECT(dnn = getAttrib(dimnames, R_NamesSymbol));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  409|      0|	PROTECT(newdims = allocVector(INTSXP, n));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  410|      0|	for (i = 0, n = 0; i < ndims; i++)
  ------------------
  |  Branch (410:21): [True: 0, False: 0]
  ------------------
  411|      0|	    if (dim[i] != 1)
  ------------------
  |  Branch (411:10): [True: 0, False: 0]
  ------------------
  412|      0|		INTEGER(newdims)[n++] = dim[i];
  413|      0|	if(!isNull(getAttrib(dims, R_NamesSymbol))) {
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
              	if(!isNull(getAttrib(dims, R_NamesSymbol))) {
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
  |  Branch (413:5): [True: 0, False: 0]
  ------------------
  414|      0|	    SEXP new_nms = PROTECT(allocVector(STRSXP, n));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  415|      0|	    SEXP nms_d = getAttrib(dims, R_NamesSymbol);
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
  416|      0|	    for (i = 0, n = 0; i < ndims; i++)
  ------------------
  |  Branch (416:25): [True: 0, False: 0]
  ------------------
  417|      0|		if (dim[i] != 1)
  ------------------
  |  Branch (417:7): [True: 0, False: 0]
  ------------------
  418|      0|		    SET_STRING_ELT(new_nms, n++, STRING_ELT(nms_d, i));
  419|      0|	    setAttrib(newdims, R_NamesSymbol, new_nms);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  420|      0|	    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  421|      0|	}
  422|      0|	bool havenames = false;
  423|      0|	if (!isNull(dimnames)) {
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
  |  Branch (423:6): [True: 0, False: 0]
  ------------------
  424|      0|	    for (i = 0; i < ndims; i++)
  ------------------
  |  Branch (424:18): [True: 0, False: 0]
  ------------------
  425|      0|		if (dim[i] != 1 &&
  ------------------
  |  Branch (425:7): [True: 0, False: 0]
  ------------------
  426|      0|		    VECTOR_ELT(dimnames, i) != R_NilValue)
  ------------------
  |  Branch (426:7): [True: 0, False: 0]
  ------------------
  427|      0|		    havenames = true;
  428|      0|	    if (havenames) {
  ------------------
  |  Branch (428:10): [True: 0, False: 0]
  ------------------
  429|      0|		PROTECT(newnames = allocVector(VECSXP, n));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  430|      0|		PROTECT(newnamesnames = allocVector(STRSXP, n));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  431|      0|		for (i = 0, n = 0; i < ndims; i++) {
  ------------------
  |  Branch (431:22): [True: 0, False: 0]
  ------------------
  432|      0|		    if (dim[i] != 1) {
  ------------------
  |  Branch (432:11): [True: 0, False: 0]
  ------------------
  433|      0|			if(!isNull(dnn))
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
  |  Branch (433:7): [True: 0, False: 0]
  ------------------
  434|      0|			    SET_STRING_ELT(newnamesnames, n,
  435|      0|					   STRING_ELT(dnn, i));
  436|      0|			SET_VECTOR_ELT(newnames, n++, VECTOR_ELT(dimnames, i));
  437|      0|		    }
  438|      0|		}
  439|      0|	    }
  440|      0|	    else dimnames = R_NilValue;
  441|      0|	}
  442|      0|	setAttrib(x, R_DimNamesSymbol, R_NilValue);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  443|      0|	setAttrib(x, R_DimSymbol, newdims);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  444|      0|	if (havenames)
  ------------------
  |  Branch (444:6): [True: 0, False: 0]
  ------------------
  445|      0|	{
  446|      0|	    if(!isNull(dnn))
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
  |  Branch (446:9): [True: 0, False: 0]
  ------------------
  447|      0|		setAttrib(newnames, R_NamesSymbol, newnamesnames);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  448|      0|	    setAttrib(x, R_DimNamesSymbol, newnames);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  449|      0|	    UNPROTECT(2); /* newnamesnames, newnames */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  450|      0|	}
  451|      0|	UNPROTECT(2); /* newdims, dnn */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  452|      0|    }
  453|  9.46k|    UNPROTECT(2); /* dimnames, x */
  ------------------
  |  |  358|  9.46k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  454|  9.46k|    return x;
  455|  9.60k|}
do_length:
  480|  5.29M|{
  481|  5.29M|    checkArity(op, args);
  ------------------
  |  | 1793|  5.29M|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  482|  5.29M|    check1arg(args, call, "x");
  ------------------
  |  | 1872|  5.29M|# define check1arg		Rf_check1arg
  ------------------
  483|       |
  484|  5.29M|    SEXP x = CAR(args), ans;
  485|       |
  486|       |    /* DispatchOrEval internal generic: length */
  487|  5.29M|    if (isObject(x) &&
  ------------------
  |  |  959|  5.29M|#define isObject		Rf_isObject
  ------------------
  |  Branch (487:9): [True: 124, False: 5.29M]
  ------------------
  488|    124|       DispatchOrEval(call, op, "length", args, rho, &ans, 0, 1)) {
  ------------------
  |  | 1892|    124|# define DispatchOrEval		Rf_DispatchOrEval
  ------------------
  |  Branch (488:8): [True: 0, False: 124]
  ------------------
  489|      0|	if (length(ans) == 1 && TYPEOF(ans) == REALSXP) {
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
              	if (length(ans) == 1 && TYPEOF(ans) == REALSXP) {
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (489:6): [True: 0, False: 0]
  |  Branch (489:26): [True: 0, False: 0]
  ------------------
  490|      0|	    double d = REAL(ans)[0];
  491|      0|	    if (R_FINITE(d) && d >= 0. && d <= INT_MAX && floor(d) == d) {
  ------------------
  |  |   82|      0|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (491:10): [True: 0, False: 0]
  |  Branch (491:25): [True: 0, False: 0]
  |  Branch (491:36): [True: 0, False: 0]
  |  Branch (491:52): [True: 0, False: 0]
  ------------------
  492|      0|                PROTECT(ans);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  493|      0|                ans = coerceVector(ans, INTSXP);
  ------------------
  |  |  895|      0|#define coerceVector		Rf_coerceVector
  ------------------
                              ans = coerceVector(ans, INTSXP);
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  494|      0|                UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  495|      0|                return(ans);
  496|      0|            }
  497|      0|	}
  498|      0|	return(ans);
  499|      0|    }
  500|       |
  501|       |
  502|  5.29M|#ifdef LONG_VECTOR_SUPPORT
  503|       |    // or use IS_LONG_VEC
  504|  5.29M|    R_xlen_t len = xlength(x);
  ------------------
  |  | 1049|  5.29M|#define xlength(x)		Rf_xlength(x)
  ------------------
  505|  5.29M|    if (len > INT_MAX) return ScalarReal((double) len);
  ------------------
  |  | 1024|      0|#define ScalarReal		Rf_ScalarReal
  ------------------
  |  Branch (505:9): [True: 0, False: 5.29M]
  ------------------
  506|  5.29M|#endif
  507|  5.29M|    return ScalarInteger(length(x));
  ------------------
  |  | 1022|  5.29M|#define ScalarInteger		Rf_ScalarInteger
  ------------------
                  return ScalarInteger(length(x));
  ------------------
  |  |  987|  5.29M|#define length(x)		Rf_length(x)
  ------------------
  508|  5.29M|}
dispatch_xlength:
  518|  3.15k|attribute_hidden R_xlen_t dispatch_xlength(SEXP x, SEXP call, SEXP rho) {
  519|  3.15k|    static SEXP length_op = NULL;
  520|  3.15k|    if (isObject(x)) {
  ------------------
  |  |  959|  3.15k|#define isObject		Rf_isObject
  ------------------
  |  Branch (520:9): [True: 0, False: 3.15k]
  ------------------
  521|      0|        SEXP len, args;
  522|      0|        if (length_op == NULL)
  ------------------
  |  Branch (522:13): [True: 0, False: 0]
  ------------------
  523|      0|            length_op = R_Primitive("length");
  524|      0|        PROTECT(args = list1(x));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  525|       |	/* DispatchOrEval internal generic: length */
  526|      0|        if (DispatchOrEval(call, length_op, "length", args, rho, &len, 0, 1)) {
  ------------------
  |  | 1892|      0|# define DispatchOrEval		Rf_DispatchOrEval
  ------------------
  |  Branch (526:13): [True: 0, False: 0]
  ------------------
  527|      0|            UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  528|      0|            return (R_xlen_t)
  529|      0|                (TYPEOF(len) == REALSXP ? REAL(len)[0] : asInteger(len));
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
                              (TYPEOF(len) == REALSXP ? REAL(len)[0] : asInteger(len));
  ------------------
  |  |  885|      0|#define asInteger		Rf_asInteger
  ------------------
  |  Branch (529:18): [True: 0, False: 0]
  ------------------
  530|      0|        }
  531|      0|        UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  532|      0|    }
  533|  3.15k|    return(xlength(x));
  ------------------
  |  | 1049|  3.15k|#define xlength(x)		Rf_xlength(x)
  ------------------
  534|  3.15k|}
do_lengths:
  564|     42|{
  565|     42|    checkArity(op, args);
  ------------------
  |  | 1793|     42|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  566|     42|    SEXP x = CAR(args), ans;
  567|     42|    R_xlen_t x_len, i;
  568|     42|    int *ans_elt;
  569|     42|    int useNames = asLogical(CADR(args));
  ------------------
  |  |  886|     42|#define asLogical		Rf_asLogical
  ------------------
  570|     42|    if (useNames == NA_LOGICAL)
  ------------------
  |  |   55|     42|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (570:9): [True: 0, False: 42]
  ------------------
  571|      0|	error(_("invalid '%s' value"), "use.names");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' value"), "use.names");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  572|       |
  573|       |    /* DispatchOrEval internal generic: lengths */
  574|     42|    if (DispatchOrEval(call, op, "lengths", args, rho, &ans, 0, 1))
  ------------------
  |  | 1892|     42|# define DispatchOrEval		Rf_DispatchOrEval
  ------------------
  |  Branch (574:9): [True: 0, False: 42]
  ------------------
  575|      0|      return(ans);
  576|       |
  577|     42|    bool isList = isVectorList(x) || isS4(x);
  ------------------
  |  |  977|     42|#define isVectorList		Rf_isVectorList
  ------------------
                  bool isList = isVectorList(x) || isS4(x);
  ------------------
  |  |  964|      0|#define isS4			Rf_isS4
  ------------------
  |  Branch (577:19): [True: 42, False: 0]
  |  Branch (577:38): [True: 0, False: 0]
  ------------------
  578|     42|    if(!isList) switch(TYPEOF(x)) {
  ------------------
  |  |  951|     42|#define isList			Rf_isList
  ------------------
  |  Branch (578:8): [True: 0, False: 42]
  ------------------
  579|      0|	case NILSXP:
  ------------------
  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (579:2): [True: 0, False: 0]
  ------------------
  580|      0|	case CHARSXP:
  ------------------
  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  ------------------
  |  Branch (580:2): [True: 0, False: 0]
  ------------------
  581|      0|	case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (581:2): [True: 0, False: 0]
  ------------------
  582|      0|	case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (582:2): [True: 0, False: 0]
  ------------------
  583|      0|	case REALSXP:
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (583:2): [True: 0, False: 0]
  ------------------
  584|      0|	case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (584:2): [True: 0, False: 0]
  ------------------
  585|      0|	case STRSXP:
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (585:2): [True: 0, False: 0]
  ------------------
  586|      0|	case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (586:2): [True: 0, False: 0]
  ------------------
  587|      0|	    break;
  588|      0|	default:
  ------------------
  |  Branch (588:2): [True: 0, False: 0]
  ------------------
  589|      0|	    error(_("'%s' must be a list or atomic vector"), "x");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("'%s' must be a list or atomic vector"), "x");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  590|      0|    }
  591|     42|    x_len = dispatch_xlength(x, call, rho);
  592|     42|    PROTECT(ans = allocVector(INTSXP, x_len));
  ------------------
  |  |  357|     42|#define PROTECT(s)	Rf_protect(s)
  ------------------
  593|     42|    if(isList) {
  ------------------
  |  |  951|     42|#define isList			Rf_isList
  |  |  ------------------
  |  |  |  Branch (951:18): [True: 42, False: 0]
  |  |  ------------------
  ------------------
  594|  3.15k|	for (i = 0, ans_elt = INTEGER(ans); i < x_len; i++, ans_elt++) {
  ------------------
  |  Branch (594:38): [True: 3.11k, False: 42]
  ------------------
  595|  3.11k|	    R_xlen_t x_elt_len = getElementLength(x, i, call, rho);
  596|  3.11k|#ifdef LONG_VECTOR_SUPPORT
  597|  3.11k|	    if (x_elt_len > INT_MAX) {
  ------------------
  |  Branch (597:10): [True: 0, False: 3.11k]
  ------------------
  598|      0|		ans = do_lengths_long(x, call, rho);
  599|      0|		UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  600|      0|		PROTECT(ans);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  601|      0|		break;
  602|      0|	    }
  603|  3.11k|#endif
  604|  3.11k|	    *ans_elt = (int)x_elt_len;
  605|  3.11k|	}
  606|     42|    } else { // atomic: every element has length 1
  607|      0|	for (i = 0, ans_elt = INTEGER(ans); i < x_len; i++, ans_elt++)
  ------------------
  |  Branch (607:38): [True: 0, False: 0]
  ------------------
  608|      0|	    *ans_elt = 1;
  609|      0|    }
  610|     42|    SEXP dim = getAttrib(x, R_DimSymbol);
  ------------------
  |  |  924|     42|#define getAttrib		Rf_getAttrib
  ------------------
  611|     42|    if(!isNull(dim)) {
  ------------------
  |  |  956|     42|#define isNull			Rf_isNull
  ------------------
  |  Branch (611:8): [True: 0, False: 42]
  ------------------
  612|      0|        setAttrib(ans, R_DimSymbol, dim);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  613|      0|    }
  614|     42|    if(useNames) {
  ------------------
  |  Branch (614:8): [True: 42, False: 0]
  ------------------
  615|     42|	SEXP names = getAttrib(x, R_NamesSymbol);
  ------------------
  |  |  924|     42|#define getAttrib		Rf_getAttrib
  ------------------
  616|     42|	if(!isNull(names)) setAttrib(ans, R_NamesSymbol, names);
  ------------------
  |  |  956|     42|#define isNull			Rf_isNull
  ------------------
              	if(!isNull(names)) setAttrib(ans, R_NamesSymbol, names);
  ------------------
  |  | 1027|     40|#define setAttrib		Rf_setAttrib
  ------------------
  |  Branch (616:5): [True: 40, False: 2]
  ------------------
  617|     42|        SEXP dimnames = getAttrib(x, R_DimNamesSymbol);
  ------------------
  |  |  924|     42|#define getAttrib		Rf_getAttrib
  ------------------
  618|     42|        if(!isNull(dimnames)) setAttrib(ans, R_DimNamesSymbol, dimnames);
  ------------------
  |  |  956|     42|#define isNull			Rf_isNull
  ------------------
                      if(!isNull(dimnames)) setAttrib(ans, R_DimNamesSymbol, dimnames);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  |  Branch (618:12): [True: 0, False: 42]
  ------------------
  619|     42|    }
  620|     42|    UNPROTECT(1);
  ------------------
  |  |  358|     42|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  621|     42|    return ans;
  622|     42|}
do_matprod:
 1278|    694|{
 1279|       |    // .Primitive() ; may have 1 or 2 args, but some methods have more
 1280|    694|    bool cross = PRIMVAL(op) != 0;
  ------------------
  |  | 1347|    694|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
 1281|    694|    int nargs, min_nargs = cross ? 1 : 2;
  ------------------
  |  Branch (1281:28): [True: 0, False: 694]
  ------------------
 1282|    694|    if (args == R_NilValue)
  ------------------
  |  Branch (1282:9): [True: 0, False: 694]
  ------------------
 1283|      0|	nargs = 0;
 1284|    694|    else if (CDR(args) == R_NilValue)
  ------------------
  |  Branch (1284:14): [True: 0, False: 694]
  ------------------
 1285|      0|	nargs = 1;
 1286|    694|    else // if (CDDR(args) == R_NilValue)
 1287|    694|	nargs = 2;
 1288|       |    /* else   // not relevant
 1289|       |	nargs = length(args);
 1290|       |    */
 1291|    694|    if (nargs < min_nargs)
  ------------------
  |  Branch (1291:9): [True: 0, False: 694]
  ------------------
 1292|      0|	errorcall(call,
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
 1293|      0|		  ngettext("%d argument passed to '%s' which requires at least %d",
 1294|      0|			   "%d arguments passed to '%s' which requires at least %d",
 1295|      0|			   (unsigned long) nargs),
 1296|      0|		  nargs, PRIMNAME(op), min_nargs);
  ------------------
  |  | 1346|      0|#define PRIMNAME(x)	(R_FunTab[PRIMOFFSET(x)].name)
  ------------------
 1297|       |
 1298|    694|    SEXP x = CAR(args), y = CADR(args), ans;
 1299|    694|    if (OBJECT(x) || OBJECT(y)) {
  ------------------
  |  Branch (1299:9): [True: 0, False: 694]
  |  Branch (1299:22): [True: 0, False: 694]
  ------------------
 1300|      0|	SEXP s; //, value;
 1301|       |	/* Remove argument names to ensure positional matching */
 1302|      0|	for(s = args; s != R_NilValue; s = CDR(s)) SET_TAG(s, R_NilValue);
  ------------------
  |  Branch (1302:16): [True: 0, False: 0]
  ------------------
 1303|       |
 1304|      0|	if (DispatchGroup("matrixOps", call, op, args, rho, &ans))
  ------------------
  |  | 1891|      0|# define DispatchGroup		Rf_DispatchGroup
  ------------------
  |  Branch (1304:6): [True: 0, False: 0]
  ------------------
 1305|      0|	    return ans;
 1306|      0|    }
 1307|       |    // the default method:
 1308|    694|    if (CDDR(args) != R_NilValue)
  ------------------
  |  Branch (1308:9): [True: 0, False: 694]
  ------------------
 1309|      0|	warningcall(call, _("more than 2 arguments passed to default method of '%s'"),
  ------------------
  |  | 2018|      0|# define warningcall		Rf_warningcall
  ------------------
              	warningcall(call, _("more than 2 arguments passed to default method of '%s'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1310|      0|		    PRIMNAME(op));
  ------------------
  |  | 1346|      0|#define PRIMNAME(x)	(R_FunTab[PRIMOFFSET(x)].name)
  ------------------
 1311|    694|    bool sym = isNull(y);
  ------------------
  |  |  956|    694|#define isNull			Rf_isNull
  ------------------
 1312|    694|    if (sym && (PRIMVAL(op) > 0)) y = x;
  ------------------
  |  | 1347|      0|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (1312:9): [True: 0, False: 694]
  |  Branch (1312:16): [True: 0, False: 0]
  ------------------
 1313|    694|    if ( !(isNumeric(x) || isComplex(x)) || !(isNumeric(y) || isComplex(y)) )
  ------------------
  |  |  957|    694|#define isNumeric		Rf_isNumeric
  ------------------
                  if ( !(isNumeric(x) || isComplex(x)) || !(isNumeric(y) || isComplex(y)) )
  ------------------
  |  |  942|      0|#define isComplex		Rf_isComplex
  ------------------
                  if ( !(isNumeric(x) || isComplex(x)) || !(isNumeric(y) || isComplex(y)) )
  ------------------
  |  |  957|    694|#define isNumeric		Rf_isNumeric
  ------------------
                  if ( !(isNumeric(x) || isComplex(x)) || !(isNumeric(y) || isComplex(y)) )
  ------------------
  |  |  942|      0|#define isComplex		Rf_isComplex
  ------------------
  |  Branch (1313:12): [True: 694, False: 0]
  |  Branch (1313:28): [True: 0, False: 0]
  |  Branch (1313:47): [True: 694, False: 0]
  |  Branch (1313:63): [True: 0, False: 0]
  ------------------
 1314|      0|	errorcall(call, _("requires numeric/complex matrix/vector arguments"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("requires numeric/complex matrix/vector arguments"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1315|       |
 1316|    694|    SEXP xdims = getAttrib(x, R_DimSymbol),
  ------------------
  |  |  924|    694|#define getAttrib		Rf_getAttrib
  ------------------
 1317|    694|	 ydims = getAttrib(y, R_DimSymbol);
  ------------------
  |  |  924|    694|#define getAttrib		Rf_getAttrib
  ------------------
 1318|    694|    int ldx = length(xdims),
  ------------------
  |  |  987|    694|#define length(x)		Rf_length(x)
  ------------------
 1319|    694|	ldy = length(ydims), nrx, ncx, nry, ncy;
  ------------------
  |  |  987|    694|#define length(x)		Rf_length(x)
  ------------------
 1320|       |
 1321|    694|    if (ldx != 2 && ldy != 2) {		/* x and y non-matrices */
  ------------------
  |  Branch (1321:9): [True: 0, False: 694]
  |  Branch (1321:21): [True: 0, False: 0]
  ------------------
 1322|       |	// for crossprod, allow two cases: n x n ==> (1,n) x (n,1);  1 x n = (n, 1) x (1, n)
 1323|      0|	if (PRIMVAL(op) == 1 && LENGTH(x) == 1) {
  ------------------
  |  | 1347|      0|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (1323:6): [True: 0, False: 0]
  |  Branch (1323:26): [True: 0, False: 0]
  ------------------
 1324|      0|	    nrx = ncx = nry = 1;
 1325|      0|	    ncy = LENGTH(y);
 1326|      0|	}
 1327|      0|	else {
 1328|      0|	    nry = LENGTH(y);
 1329|      0|	    ncy = 1;
 1330|      0|	    if (PRIMVAL(op) == 0) {
  ------------------
  |  | 1347|      0|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (1330:10): [True: 0, False: 0]
  ------------------
 1331|      0|		nrx = 1;
 1332|      0|		ncx = LENGTH(x);
 1333|      0|		if(ncx == 1) {	        // y as row vector
  ------------------
  |  Branch (1333:6): [True: 0, False: 0]
  ------------------
 1334|      0|		    ncy = nry;
 1335|      0|		    nry = 1;
 1336|      0|		}
 1337|      0|	    }
 1338|      0|	    else {
 1339|      0|		nrx = LENGTH(x);
 1340|      0|		ncx = 1;
 1341|      0|	    }
 1342|      0|	}
 1343|      0|    }
 1344|    694|    else if (ldx != 2) {		/* x not a matrix */
  ------------------
  |  Branch (1344:14): [True: 0, False: 694]
  ------------------
 1345|      0|	nry = INTEGER(ydims)[0];
 1346|      0|	ncy = INTEGER(ydims)[1];
 1347|      0|	nrx = 0;
 1348|      0|	ncx = 0;
 1349|      0|	if (PRIMVAL(op) == 0) {
  ------------------
  |  | 1347|      0|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (1349:6): [True: 0, False: 0]
  ------------------
 1350|      0|	    if (LENGTH(x) == nry) {	/* x as row vector */
  ------------------
  |  Branch (1350:10): [True: 0, False: 0]
  ------------------
 1351|      0|		nrx = 1;
 1352|      0|		ncx = nry; /* == LENGTH(x) */
 1353|      0|	    }
 1354|      0|	    else if (nry == 1) {	/* x as col vector */
  ------------------
  |  Branch (1354:15): [True: 0, False: 0]
  ------------------
 1355|      0|		nrx = LENGTH(x);
 1356|      0|		ncx = 1;
 1357|      0|	    }
 1358|      0|	}
 1359|      0|	else if (PRIMVAL(op) == 1) { /* crossprod() */
  ------------------
  |  | 1347|      0|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (1359:11): [True: 0, False: 0]
  ------------------
 1360|      0|	    if (LENGTH(x) == nry) {	/* x is a col vector */
  ------------------
  |  Branch (1360:10): [True: 0, False: 0]
  ------------------
 1361|      0|		nrx = nry; /* == LENGTH(x) */
 1362|      0|		ncx = 1;
 1363|      0|	    }
 1364|       |	    /* else if (nry == 1) ... not being too tolerant
 1365|       |	       to treat x as row vector, as t(x) *is* row vector */
 1366|      0|	}
 1367|      0|	else { /* tcrossprod */
 1368|      0|	    if (LENGTH(x) == ncy) {	/* x as row vector */
  ------------------
  |  Branch (1368:10): [True: 0, False: 0]
  ------------------
 1369|      0|		nrx = 1;
 1370|      0|		ncx = ncy; /* == LENGTH(x) */
 1371|      0|	    }
 1372|      0|	    else if (ncy == 1) {	/* x as col vector */
  ------------------
  |  Branch (1372:15): [True: 0, False: 0]
  ------------------
 1373|      0|		nrx = LENGTH(x);
 1374|      0|		ncx = 1;
 1375|      0|	    }
 1376|      0|	}
 1377|      0|    }
 1378|    694|    else if (ldy != 2) {		/* y not a matrix */
  ------------------
  |  Branch (1378:14): [True: 0, False: 694]
  ------------------
 1379|      0|	nrx = INTEGER(xdims)[0];
 1380|      0|	ncx = INTEGER(xdims)[1];
 1381|      0|	nry = 0;
 1382|      0|	ncy = 0;
 1383|      0|	if (PRIMVAL(op) == 0) {
  ------------------
  |  | 1347|      0|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (1383:6): [True: 0, False: 0]
  ------------------
 1384|      0|	    if (LENGTH(y) == ncx) {	/* y as col vector */
  ------------------
  |  Branch (1384:10): [True: 0, False: 0]
  ------------------
 1385|      0|		nry = ncx;
 1386|      0|		ncy = 1;
 1387|      0|	    }
 1388|      0|	    else if (ncx == 1) {	/* y as row vector */
  ------------------
  |  Branch (1388:15): [True: 0, False: 0]
  ------------------
 1389|      0|		nry = 1;
 1390|      0|		ncy = LENGTH(y);
 1391|      0|	    }
 1392|      0|	}
 1393|      0|	else if (PRIMVAL(op) == 1) { /* crossprod() */
  ------------------
  |  | 1347|      0|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (1393:11): [True: 0, False: 0]
  ------------------
 1394|      0|	    if (LENGTH(y) == nrx) {	/* y is a col vector */
  ------------------
  |  Branch (1394:10): [True: 0, False: 0]
  ------------------
 1395|      0|		nry = nrx;
 1396|      0|		ncy = 1;
 1397|      0|	    } else if (nrx == 1) {	// y as row vector
  ------------------
  |  Branch (1397:17): [True: 0, False: 0]
  ------------------
 1398|      0|		nry = 1;
 1399|      0|		ncy = LENGTH(y);
 1400|      0|	    }
 1401|      0|	}
 1402|      0|	else { // tcrossprod
 1403|      0|	    if (nrx == 1) {		// y as row vector
  ------------------
  |  Branch (1403:10): [True: 0, False: 0]
  ------------------
 1404|      0|		nry = 1;
 1405|      0|		ncy = LENGTH(y);
 1406|      0|	    }
 1407|      0|	    else {			// y is a col vector
 1408|      0|		nry = LENGTH(y);
 1409|      0|		ncy = 1;
 1410|      0|	    }
 1411|      0|	}
 1412|      0|    }
 1413|    694|    else {				/* x and y matrices */
 1414|    694|	nrx = INTEGER(xdims)[0];
 1415|    694|	ncx = INTEGER(xdims)[1];
 1416|    694|	nry = INTEGER(ydims)[0];
 1417|    694|	ncy = INTEGER(ydims)[1];
 1418|    694|    }
 1419|       |    /* nr[ow](.) and nc[ol](.) are now defined for x and y */
 1420|       |
 1421|    694|    if (PRIMVAL(op) == 0) {
  ------------------
  |  | 1347|    694|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (1421:9): [True: 694, False: 0]
  ------------------
 1422|       |	/* primitive, so use call */
 1423|    694|	if (ncx != nry)
  ------------------
  |  Branch (1423:6): [True: 0, False: 694]
  ------------------
 1424|      0|	    errorcall(call, _("non-conformable arguments"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	    errorcall(call, _("non-conformable arguments"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1425|    694|    }
 1426|      0|    else if (PRIMVAL(op) == 1) {
  ------------------
  |  | 1347|      0|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (1426:14): [True: 0, False: 0]
  ------------------
 1427|      0|	if (nrx != nry)
  ------------------
  |  Branch (1427:6): [True: 0, False: 0]
  ------------------
 1428|      0|	    error(_("non-conformable arguments"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("non-conformable arguments"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1429|      0|    }
 1430|      0|    else {
 1431|      0|	if (ncx != ncy)
  ------------------
  |  Branch (1431:6): [True: 0, False: 0]
  ------------------
 1432|      0|	    error(_("non-conformable arguments"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("non-conformable arguments"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1433|      0|    }
 1434|       |
 1435|    694|    int mode;
 1436|    694|    if (isComplex(CAR(args)) || isComplex(CADR(args)))
  ------------------
  |  |  942|    694|#define isComplex		Rf_isComplex
  ------------------
                  if (isComplex(CAR(args)) || isComplex(CADR(args)))
  ------------------
  |  |  942|    694|#define isComplex		Rf_isComplex
  ------------------
  |  Branch (1436:9): [True: 0, False: 694]
  |  Branch (1436:33): [True: 0, False: 694]
  ------------------
 1437|      0|	mode = CPLXSXP;
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
 1438|    694|    else
 1439|    694|	mode = REALSXP;
  ------------------
  |  |  124|    694|#define REALSXP	    14	  /* real variables */
  ------------------
 1440|    694|    x = PROTECT(coerceVector(x, mode));
  ------------------
  |  |  357|    694|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1441|    694|    y = PROTECT(coerceVector(y, mode));
  ------------------
  |  |  357|    694|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1442|       |
 1443|    694|    if (PRIMVAL(op) == 0) {			/* op == 0 : matprod() =~= %*% */
  ------------------
  |  | 1347|    694|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (1443:9): [True: 694, False: 0]
  ------------------
 1444|       |
 1445|    694|	PROTECT(ans = allocMatrix(mode, nrx, ncy));
  ------------------
  |  |  357|    694|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1446|    694|	if (mode == CPLXSXP)
  ------------------
  |  |  125|    694|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (1446:6): [True: 0, False: 694]
  ------------------
 1447|      0|	    cmatprod(COMPLEX(x), nrx, ncx,
 1448|      0|		     COMPLEX(y), nry, ncy, COMPLEX(ans));
 1449|    694|	else
 1450|    694|	    matprod(REAL(x), nrx, ncx,
 1451|    694|		    REAL(y), nry, ncy, REAL(ans));
 1452|       |
 1453|    694|	PROTECT(xdims = getAttrib(x, R_DimNamesSymbol));
  ------------------
  |  |  357|    694|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1454|    694|	PROTECT(ydims = getAttrib(y, R_DimNamesSymbol));
  ------------------
  |  |  357|    694|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1455|       |
 1456|    694|	if (xdims != R_NilValue || ydims != R_NilValue) {
  ------------------
  |  Branch (1456:6): [True: 322, False: 372]
  |  Branch (1456:29): [True: 105, False: 267]
  ------------------
 1457|    427|#define ALLOC_DIMNAMES_NAMES						\
 1458|    427|	    SEXP dimnames, dimnamesnames, dnx=R_NilValue, dny=R_NilValue; \
 1459|    427|									\
 1460|       |	    /* allocate dimnames and dimnamesnames */			\
 1461|    427|	    PROTECT(dimnames = allocVector(VECSXP, 2));			\
 1462|    427|	    PROTECT(dimnamesnames = allocVector(STRSXP, 2))
 1463|       |
 1464|    427|	    ALLOC_DIMNAMES_NAMES;
  ------------------
  |  | 1458|    427|	    SEXP dimnames, dimnamesnames, dnx=R_NilValue, dny=R_NilValue; \
  |  | 1459|    427|									\
  |  | 1460|    427|	    /* allocate dimnames and dimnamesnames */			\
  |  | 1461|    427|	    PROTECT(dimnames = allocVector(VECSXP, 2));			\
  |  |  ------------------
  |  |  |  |  357|    427|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  | 1462|    427|	    PROTECT(dimnamesnames = allocVector(STRSXP, 2))
  |  |  ------------------
  |  |  |  |  357|    427|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  ------------------
 1465|    427|	    if (xdims != R_NilValue) {
  ------------------
  |  Branch (1465:10): [True: 322, False: 105]
  ------------------
 1466|    322|		if (ldx == 2 || ncx == 1) {
  ------------------
  |  Branch (1466:7): [True: 322, False: 0]
  |  Branch (1466:19): [True: 0, False: 0]
  ------------------
 1467|    322|		    SET_VECTOR_ELT(dimnames, 0, VECTOR_ELT(xdims, 0));
 1468|    322|		    dnx = getAttrib(xdims, R_NamesSymbol);
  ------------------
  |  |  924|    322|#define getAttrib		Rf_getAttrib
  ------------------
 1469|    322|		    if(!isNull(dnx))
  ------------------
  |  |  956|    322|#define isNull			Rf_isNull
  ------------------
  |  Branch (1469:10): [True: 0, False: 322]
  ------------------
 1470|      0|			SET_STRING_ELT(dimnamesnames, 0, STRING_ELT(dnx, 0));
 1471|    322|		}
 1472|    322|	    }
 1473|       |
 1474|       |/* Since R 2.1.0, no longer attach a dimnames attribute whose elements are all NULL: */
 1475|    427|#define SET_DIMNAMES_NAMES						\
 1476|    427|	    if (VECTOR_ELT(dimnames,0) != R_NilValue ||			\
 1477|    427|		VECTOR_ELT(dimnames,1) != R_NilValue) {			\
 1478|    427|		if (dnx != R_NilValue || dny != R_NilValue)		\
 1479|    427|		    setAttrib(dimnames, R_NamesSymbol, dimnamesnames);	\
 1480|    427|		setAttrib(ans, R_DimNamesSymbol, dimnames);		\
 1481|    427|	    }								\
 1482|    427|	    UNPROTECT(2)
 1483|       |
 1484|    427|#define YDIMS_ET_CETERA							\
 1485|    427|	    if (ydims != R_NilValue) {					\
 1486|    427|		if (ldy == 2) {						\
 1487|    427|		    SET_VECTOR_ELT(dimnames, 1, VECTOR_ELT(ydims, 1));	\
 1488|    427|		    dny = getAttrib(ydims, R_NamesSymbol);		\
 1489|    427|		    if(!isNull(dny))					\
 1490|    427|			SET_STRING_ELT(dimnamesnames, 1, STRING_ELT(dny, 1)); \
 1491|    427|		} else if (nry == 1) {					\
 1492|    427|		    SET_VECTOR_ELT(dimnames, 1, VECTOR_ELT(ydims, 0));	\
 1493|    427|		    dny = getAttrib(ydims, R_NamesSymbol);		\
 1494|    427|		    if(!isNull(dny))					\
 1495|    427|			SET_STRING_ELT(dimnamesnames, 1, STRING_ELT(dny, 0)); \
 1496|    427|		}							\
 1497|    427|	    }								\
 1498|    427|	    SET_DIMNAMES_NAMES;
 1499|       |
 1500|       |
 1501|    427|	    YDIMS_ET_CETERA;
  ------------------
  |  | 1485|    427|	    if (ydims != R_NilValue) {					\
  |  |  ------------------
  |  |  |  Branch (1485:10): [True: 105, False: 322]
  |  |  ------------------
  |  | 1486|    105|		if (ldy == 2) {						\
  |  |  ------------------
  |  |  |  Branch (1486:7): [True: 105, False: 0]
  |  |  ------------------
  |  | 1487|    105|		    SET_VECTOR_ELT(dimnames, 1, VECTOR_ELT(ydims, 1));	\
  |  | 1488|    105|		    dny = getAttrib(ydims, R_NamesSymbol);		\
  |  |  ------------------
  |  |  |  |  924|    105|#define getAttrib		Rf_getAttrib
  |  |  ------------------
  |  | 1489|    105|		    if(!isNull(dny))					\
  |  |  ------------------
  |  |  |  |  956|    105|#define isNull			Rf_isNull
  |  |  ------------------
  |  |  |  Branch (1489:10): [True: 0, False: 105]
  |  |  ------------------
  |  | 1490|    105|			SET_STRING_ELT(dimnamesnames, 1, STRING_ELT(dny, 1)); \
  |  | 1491|    105|		} else if (nry == 1) {					\
  |  |  ------------------
  |  |  |  Branch (1491:14): [True: 0, False: 0]
  |  |  ------------------
  |  | 1492|      0|		    SET_VECTOR_ELT(dimnames, 1, VECTOR_ELT(ydims, 0));	\
  |  | 1493|      0|		    dny = getAttrib(ydims, R_NamesSymbol);		\
  |  |  ------------------
  |  |  |  |  924|      0|#define getAttrib		Rf_getAttrib
  |  |  ------------------
  |  | 1494|      0|		    if(!isNull(dny))					\
  |  |  ------------------
  |  |  |  |  956|      0|#define isNull			Rf_isNull
  |  |  ------------------
  |  |  |  Branch (1494:10): [True: 0, False: 0]
  |  |  ------------------
  |  | 1495|      0|			SET_STRING_ELT(dimnamesnames, 1, STRING_ELT(dny, 0)); \
  |  | 1496|      0|		}							\
  |  | 1497|    105|	    }								\
  |  | 1498|    427|	    SET_DIMNAMES_NAMES;
  |  |  ------------------
  |  |  |  | 1476|    427|	    if (VECTOR_ELT(dimnames,0) != R_NilValue ||			\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1476:10): [True: 0, False: 427]
  |  |  |  |  ------------------
  |  |  |  | 1477|    427|		VECTOR_ELT(dimnames,1) != R_NilValue) {			\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1477:3): [True: 0, False: 427]
  |  |  |  |  ------------------
  |  |  |  | 1478|      0|		if (dnx != R_NilValue || dny != R_NilValue)		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1478:7): [True: 0, False: 0]
  |  |  |  |  |  Branch (1478:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1479|      0|		    setAttrib(dimnames, R_NamesSymbol, dimnamesnames);	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  |  |  |  |  ------------------
  |  |  |  | 1480|      0|		setAttrib(ans, R_DimNamesSymbol, dimnames);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  |  |  |  |  ------------------
  |  |  |  | 1481|      0|	    }								\
  |  |  |  | 1482|    427|	    UNPROTECT(2)
  |  |  |  |  ------------------
  |  |  |  |  |  |  358|    427|#define UNPROTECT(n)	Rf_unprotect(n)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1502|    427|	}
 1503|    694|    }
 1504|       |
 1505|      0|    else if (PRIMVAL(op) == 1) {	/* op == 1: crossprod() */
  ------------------
  |  | 1347|      0|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (1505:14): [True: 0, False: 0]
  ------------------
 1506|       |
 1507|      0|	PROTECT(ans = allocMatrix(mode, ncx, ncy));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1508|      0|	if (mode == CPLXSXP)
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (1508:6): [True: 0, False: 0]
  ------------------
 1509|      0|	    if(sym)
  ------------------
  |  Branch (1509:9): [True: 0, False: 0]
  ------------------
 1510|      0|		ccrossprod(COMPLEX(x), nrx, ncx,
 1511|      0|			   COMPLEX(x), nry, ncy, COMPLEX(ans));
 1512|      0|	    else
 1513|      0|		ccrossprod(COMPLEX(x), nrx, ncx,
 1514|      0|			   COMPLEX(y), nry, ncy, COMPLEX(ans));
 1515|      0|	else {
 1516|      0|	    if(sym)
  ------------------
  |  Branch (1516:9): [True: 0, False: 0]
  ------------------
 1517|      0|		symcrossprod(REAL(x), nrx, ncx, REAL(ans));
 1518|      0|	    else
 1519|      0|		crossprod(REAL(x), nrx, ncx,
 1520|      0|			  REAL(y), nry, ncy, REAL(ans));
 1521|      0|	}
 1522|       |
 1523|      0|	PROTECT(xdims = getAttrib(x, R_DimNamesSymbol));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1524|      0|	if (sym)
  ------------------
  |  Branch (1524:6): [True: 0, False: 0]
  ------------------
 1525|      0|	    PROTECT(ydims = xdims);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1526|      0|	else
 1527|      0|	    PROTECT(ydims = getAttrib(y, R_DimNamesSymbol));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1528|       |
 1529|      0|	if (xdims != R_NilValue || ydims != R_NilValue) {
  ------------------
  |  Branch (1529:6): [True: 0, False: 0]
  |  Branch (1529:29): [True: 0, False: 0]
  ------------------
 1530|       |
 1531|      0|	    ALLOC_DIMNAMES_NAMES;
  ------------------
  |  | 1458|      0|	    SEXP dimnames, dimnamesnames, dnx=R_NilValue, dny=R_NilValue; \
  |  | 1459|      0|									\
  |  | 1460|      0|	    /* allocate dimnames and dimnamesnames */			\
  |  | 1461|      0|	    PROTECT(dimnames = allocVector(VECSXP, 2));			\
  |  |  ------------------
  |  |  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  | 1462|      0|	    PROTECT(dimnamesnames = allocVector(STRSXP, 2))
  |  |  ------------------
  |  |  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  ------------------
 1532|      0|	    if (xdims != R_NilValue) {
  ------------------
  |  Branch (1532:10): [True: 0, False: 0]
  ------------------
 1533|      0|		if (ldx == 2) {/* not nrx==1 : .. fixed, ihaka 2003-09-30 */
  ------------------
  |  Branch (1533:7): [True: 0, False: 0]
  ------------------
 1534|      0|		    SET_VECTOR_ELT(dimnames, 0, VECTOR_ELT(xdims, 1));
 1535|      0|		    dnx = getAttrib(xdims, R_NamesSymbol);
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
 1536|      0|		    if(!isNull(dnx))
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
  |  Branch (1536:10): [True: 0, False: 0]
  ------------------
 1537|      0|			SET_STRING_ELT(dimnamesnames, 0, STRING_ELT(dnx, 1));
 1538|      0|		}
 1539|      0|	    }
 1540|       |
 1541|      0|	    YDIMS_ET_CETERA;
  ------------------
  |  | 1485|      0|	    if (ydims != R_NilValue) {					\
  |  |  ------------------
  |  |  |  Branch (1485:10): [True: 0, False: 0]
  |  |  ------------------
  |  | 1486|      0|		if (ldy == 2) {						\
  |  |  ------------------
  |  |  |  Branch (1486:7): [True: 0, False: 0]
  |  |  ------------------
  |  | 1487|      0|		    SET_VECTOR_ELT(dimnames, 1, VECTOR_ELT(ydims, 1));	\
  |  | 1488|      0|		    dny = getAttrib(ydims, R_NamesSymbol);		\
  |  |  ------------------
  |  |  |  |  924|      0|#define getAttrib		Rf_getAttrib
  |  |  ------------------
  |  | 1489|      0|		    if(!isNull(dny))					\
  |  |  ------------------
  |  |  |  |  956|      0|#define isNull			Rf_isNull
  |  |  ------------------
  |  |  |  Branch (1489:10): [True: 0, False: 0]
  |  |  ------------------
  |  | 1490|      0|			SET_STRING_ELT(dimnamesnames, 1, STRING_ELT(dny, 1)); \
  |  | 1491|      0|		} else if (nry == 1) {					\
  |  |  ------------------
  |  |  |  Branch (1491:14): [True: 0, False: 0]
  |  |  ------------------
  |  | 1492|      0|		    SET_VECTOR_ELT(dimnames, 1, VECTOR_ELT(ydims, 0));	\
  |  | 1493|      0|		    dny = getAttrib(ydims, R_NamesSymbol);		\
  |  |  ------------------
  |  |  |  |  924|      0|#define getAttrib		Rf_getAttrib
  |  |  ------------------
  |  | 1494|      0|		    if(!isNull(dny))					\
  |  |  ------------------
  |  |  |  |  956|      0|#define isNull			Rf_isNull
  |  |  ------------------
  |  |  |  Branch (1494:10): [True: 0, False: 0]
  |  |  ------------------
  |  | 1495|      0|			SET_STRING_ELT(dimnamesnames, 1, STRING_ELT(dny, 0)); \
  |  | 1496|      0|		}							\
  |  | 1497|      0|	    }								\
  |  | 1498|      0|	    SET_DIMNAMES_NAMES;
  |  |  ------------------
  |  |  |  | 1476|      0|	    if (VECTOR_ELT(dimnames,0) != R_NilValue ||			\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1476:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1477|      0|		VECTOR_ELT(dimnames,1) != R_NilValue) {			\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1477:3): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1478|      0|		if (dnx != R_NilValue || dny != R_NilValue)		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1478:7): [True: 0, False: 0]
  |  |  |  |  |  Branch (1478:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1479|      0|		    setAttrib(dimnames, R_NamesSymbol, dimnamesnames);	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  |  |  |  |  ------------------
  |  |  |  | 1480|      0|		setAttrib(ans, R_DimNamesSymbol, dimnames);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  |  |  |  |  ------------------
  |  |  |  | 1481|      0|	    }								\
  |  |  |  | 1482|      0|	    UNPROTECT(2)
  |  |  |  |  ------------------
  |  |  |  |  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1542|      0|	}
 1543|       |
 1544|      0|    }
 1545|      0|    else {					/* op == 2: tcrossprod() */
 1546|       |
 1547|      0|	PROTECT(ans = allocMatrix(mode, nrx, nry));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1548|      0|	if (mode == CPLXSXP)
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (1548:6): [True: 0, False: 0]
  ------------------
 1549|      0|	    if(sym)
  ------------------
  |  Branch (1549:9): [True: 0, False: 0]
  ------------------
 1550|      0|		tccrossprod(COMPLEX(x), nrx, ncx,
 1551|      0|			    COMPLEX(x), nry, ncy, COMPLEX(ans));
 1552|      0|	    else
 1553|      0|		tccrossprod(COMPLEX(x), nrx, ncx,
 1554|      0|			    COMPLEX(y), nry, ncy, COMPLEX(ans));
 1555|      0|	else {
 1556|      0|	    if(sym)
  ------------------
  |  Branch (1556:9): [True: 0, False: 0]
  ------------------
 1557|      0|		symtcrossprod(REAL(x), nrx, ncx, REAL(ans));
 1558|      0|	    else
 1559|      0|		tcrossprod(REAL(x), nrx, ncx,
 1560|      0|			   REAL(y), nry, ncy, REAL(ans));
 1561|      0|	}
 1562|       |
 1563|      0|	PROTECT(xdims = getAttrib(x, R_DimNamesSymbol));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1564|      0|	if (sym)
  ------------------
  |  Branch (1564:6): [True: 0, False: 0]
  ------------------
 1565|      0|	    PROTECT(ydims = xdims);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1566|      0|	else
 1567|      0|	    PROTECT(ydims = getAttrib(y, R_DimNamesSymbol));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1568|       |
 1569|      0|	if (xdims != R_NilValue || ydims != R_NilValue) {
  ------------------
  |  Branch (1569:6): [True: 0, False: 0]
  |  Branch (1569:29): [True: 0, False: 0]
  ------------------
 1570|       |
 1571|      0|	    ALLOC_DIMNAMES_NAMES;
  ------------------
  |  | 1458|      0|	    SEXP dimnames, dimnamesnames, dnx=R_NilValue, dny=R_NilValue; \
  |  | 1459|      0|									\
  |  | 1460|      0|	    /* allocate dimnames and dimnamesnames */			\
  |  | 1461|      0|	    PROTECT(dimnames = allocVector(VECSXP, 2));			\
  |  |  ------------------
  |  |  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  | 1462|      0|	    PROTECT(dimnamesnames = allocVector(STRSXP, 2))
  |  |  ------------------
  |  |  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  ------------------
 1572|      0|	    if (xdims != R_NilValue) {
  ------------------
  |  Branch (1572:10): [True: 0, False: 0]
  ------------------
 1573|      0|		if (ldx == 2) {
  ------------------
  |  Branch (1573:7): [True: 0, False: 0]
  ------------------
 1574|      0|		    SET_VECTOR_ELT(dimnames, 0, VECTOR_ELT(xdims, 0));
 1575|      0|		    dnx = getAttrib(xdims, R_NamesSymbol);
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
 1576|      0|		    if(!isNull(dnx))
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
  |  Branch (1576:10): [True: 0, False: 0]
  ------------------
 1577|      0|			SET_STRING_ELT(dimnamesnames, 0, STRING_ELT(dnx, 0));
 1578|      0|		}
 1579|      0|	    }
 1580|      0|	    if (ydims != R_NilValue) {
  ------------------
  |  Branch (1580:10): [True: 0, False: 0]
  ------------------
 1581|      0|		if (ldy == 2) {
  ------------------
  |  Branch (1581:7): [True: 0, False: 0]
  ------------------
 1582|      0|		    SET_VECTOR_ELT(dimnames, 1, VECTOR_ELT(ydims, 0));
 1583|      0|		    dny = getAttrib(ydims, R_NamesSymbol);
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
 1584|      0|		    if(!isNull(dny))
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
  |  Branch (1584:10): [True: 0, False: 0]
  ------------------
 1585|      0|			SET_STRING_ELT(dimnamesnames, 1, STRING_ELT(dny, 0));
 1586|      0|		}
 1587|      0|	    }
 1588|      0|            SET_DIMNAMES_NAMES;
  ------------------
  |  | 1476|      0|	    if (VECTOR_ELT(dimnames,0) != R_NilValue ||			\
  |  |  ------------------
  |  |  |  Branch (1476:10): [True: 0, False: 0]
  |  |  ------------------
  |  | 1477|      0|		VECTOR_ELT(dimnames,1) != R_NilValue) {			\
  |  |  ------------------
  |  |  |  Branch (1477:3): [True: 0, False: 0]
  |  |  ------------------
  |  | 1478|      0|		if (dnx != R_NilValue || dny != R_NilValue)		\
  |  |  ------------------
  |  |  |  Branch (1478:7): [True: 0, False: 0]
  |  |  |  Branch (1478:28): [True: 0, False: 0]
  |  |  ------------------
  |  | 1479|      0|		    setAttrib(dimnames, R_NamesSymbol, dimnamesnames);	\
  |  |  ------------------
  |  |  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  |  |  ------------------
  |  | 1480|      0|		setAttrib(ans, R_DimNamesSymbol, dimnames);		\
  |  |  ------------------
  |  |  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  |  |  ------------------
  |  | 1481|      0|	    }								\
  |  | 1482|      0|	    UNPROTECT(2)
  |  |  ------------------
  |  |  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  |  |  ------------------
  ------------------
 1589|      0|	}
 1590|      0|    }
 1591|    694|    UNPROTECT(5);
  ------------------
  |  |  358|    694|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1592|    694|    return ans;
 1593|    694|}
do_transpose:
 1597|    713|{
 1598|    713|    SEXP a, r, dims, dimnames, dimnamesnames = R_NilValue,
 1599|    713|	ndimnamesnames, rnames, cnames, dimr, nmdma, nmdmr;
 1600|    713|    int ldim, ncol = 0, nrow = 0;
 1601|    713|    R_xlen_t len = 0;
 1602|       |
 1603|    713|    checkArity(op, args);
  ------------------
  |  | 1793|    713|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1604|    713|    a = CAR(args);
 1605|       |
 1606|    713|    if (isVector(a)) {
  ------------------
  |  |  974|    713|#define isVector		Rf_isVector
  ------------------
  |  Branch (1606:9): [True: 713, False: 0]
  ------------------
 1607|    713|	dims = getAttrib(a, R_DimSymbol);
  ------------------
  |  |  924|    713|#define getAttrib		Rf_getAttrib
  ------------------
 1608|    713|	ldim = length(dims);
  ------------------
  |  |  987|    713|#define length(x)		Rf_length(x)
  ------------------
 1609|    713|	rnames = R_NilValue;
 1610|    713|	cnames = R_NilValue;
 1611|    713|	switch(ldim) {
 1612|    118|	case 0:
  ------------------
  |  Branch (1612:2): [True: 118, False: 595]
  ------------------
 1613|    118|	    len = nrow = LENGTH(a);
 1614|    118|	    ncol = 1;
 1615|    118|	    rnames = getAttrib(a, R_NamesSymbol);
  ------------------
  |  |  924|    118|#define getAttrib		Rf_getAttrib
  ------------------
 1616|    118|	    dimnames = rnames;/* for isNull() below*/
 1617|    118|	    break;
 1618|      0|	case 1:
  ------------------
  |  Branch (1618:2): [True: 0, False: 713]
  ------------------
 1619|      0|	    len = nrow = LENGTH(a);
 1620|      0|	    ncol = 1;
 1621|      0|	    dimnames = getAttrib(a, R_DimNamesSymbol);
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
 1622|      0|	    if (dimnames != R_NilValue) {
  ------------------
  |  Branch (1622:10): [True: 0, False: 0]
  ------------------
 1623|      0|		rnames = VECTOR_ELT(dimnames, 0);
 1624|      0|		dimnamesnames = getAttrib(dimnames, R_NamesSymbol);
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
 1625|      0|	    }
 1626|      0|	    break;
 1627|    595|	case 2:
  ------------------
  |  Branch (1627:2): [True: 595, False: 118]
  ------------------
 1628|    595|	    ncol = ncols(a);
  ------------------
  |  | 1005|    595|#define ncols			Rf_ncols
  ------------------
 1629|    595|	    nrow = nrows(a);
  ------------------
  |  | 1008|    595|#define nrows			Rf_nrows
  ------------------
 1630|    595|	    len = XLENGTH(a);
 1631|    595|	    dimnames = getAttrib(a, R_DimNamesSymbol);
  ------------------
  |  |  924|    595|#define getAttrib		Rf_getAttrib
  ------------------
 1632|    595|	    if (dimnames != R_NilValue) {
  ------------------
  |  Branch (1632:10): [True: 328, False: 267]
  ------------------
 1633|    328|		rnames = VECTOR_ELT(dimnames, 0);
 1634|    328|		cnames = VECTOR_ELT(dimnames, 1);
 1635|    328|		dimnamesnames = getAttrib(dimnames, R_NamesSymbol);
  ------------------
  |  |  924|    328|#define getAttrib		Rf_getAttrib
  ------------------
 1636|    328|	    }
 1637|    595|	    break;
 1638|      0|	default:
  ------------------
  |  Branch (1638:2): [True: 0, False: 713]
  ------------------
 1639|      0|	    goto not_matrix;
 1640|    713|	}
 1641|    713|    }
 1642|      0|    else
 1643|      0|	goto not_matrix;
 1644|    713|    PROTECT(dimnamesnames);
  ------------------
  |  |  357|    713|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1645|    713|    PROTECT(r = allocVector(TYPEOF(a), len));
  ------------------
  |  |  357|    713|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1646|    713|    R_xlen_t i, j, l_1 = len-1;
 1647|    713|    switch (TYPEOF(a)) {
 1648|      0|    case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (1648:5): [True: 0, False: 713]
  ------------------
 1649|      6|    case INTSXP:
  ------------------
  |  |  123|      6|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1649:5): [True: 6, False: 707]
  ------------------
 1650|       |	// filling in columnwise, "accessing row-wise":
 1651|     42|	for (i = 0, j = 0; i < len; i++, j += nrow) {
  ------------------
  |  Branch (1651:21): [True: 36, False: 6]
  ------------------
 1652|     36|	    if (j > l_1) j -= l_1;
  ------------------
  |  Branch (1652:10): [True: 18, False: 18]
  ------------------
 1653|     36|	    INTEGER(r)[i] = INTEGER(a)[j];
 1654|     36|	}
 1655|      6|	break;
 1656|    707|    case REALSXP:
  ------------------
  |  |  124|    707|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1656:5): [True: 707, False: 6]
  ------------------
 1657|   200k|	for (i = 0, j = 0; i < len; i++, j += nrow) {
  ------------------
  |  Branch (1657:21): [True: 199k, False: 707]
  ------------------
 1658|   199k|	    if (j > l_1) j -= l_1;
  ------------------
  |  Branch (1658:10): [True: 1.41k, False: 198k]
  ------------------
 1659|   199k|	    REAL(r)[i] = REAL(a)[j];
 1660|   199k|	}
 1661|    707|	break;
 1662|      0|    case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (1662:5): [True: 0, False: 713]
  ------------------
 1663|      0|	for (i = 0, j = 0; i < len; i++, j += nrow) {
  ------------------
  |  Branch (1663:21): [True: 0, False: 0]
  ------------------
 1664|      0|	    if (j > l_1) j -= l_1;
  ------------------
  |  Branch (1664:10): [True: 0, False: 0]
  ------------------
 1665|      0|	    COMPLEX(r)[i] = COMPLEX(a)[j];
 1666|      0|	}
 1667|      0|	break;
 1668|      0|    case STRSXP:
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1668:5): [True: 0, False: 713]
  ------------------
 1669|      0|	for (i = 0, j = 0; i < len; i++, j += nrow) {
  ------------------
  |  Branch (1669:21): [True: 0, False: 0]
  ------------------
 1670|      0|	    if (j > l_1) j -= l_1;
  ------------------
  |  Branch (1670:10): [True: 0, False: 0]
  ------------------
 1671|      0|	    SET_STRING_ELT(r, i, STRING_ELT(a,j));
 1672|      0|	}
 1673|      0|	break;
 1674|      0|    case VECSXP:
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (1674:5): [True: 0, False: 713]
  ------------------
 1675|      0|    case EXPRSXP:
  ------------------
  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (1675:5): [True: 0, False: 713]
  ------------------
 1676|      0|	for (i = 0, j = 0; i < len; i++, j += nrow) {
  ------------------
  |  Branch (1676:21): [True: 0, False: 0]
  ------------------
 1677|      0|	    if (j > l_1) j -= l_1;
  ------------------
  |  Branch (1677:10): [True: 0, False: 0]
  ------------------
 1678|      0|	    SET_VECTOR_ELT(r, i, VECTOR_ELT(a,j));
 1679|      0|	}
 1680|      0|	break;
 1681|      0|    case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (1681:5): [True: 0, False: 713]
  ------------------
 1682|      0|	for (i = 0, j = 0; i < len; i++, j += nrow) {
  ------------------
  |  Branch (1682:21): [True: 0, False: 0]
  ------------------
 1683|      0|	    if (j > l_1) j -= l_1;
  ------------------
  |  Branch (1683:10): [True: 0, False: 0]
  ------------------
 1684|      0|	    RAW(r)[i] = RAW(a)[j];
 1685|      0|	}
 1686|      0|	break;
 1687|      0|    default:
  ------------------
  |  Branch (1687:5): [True: 0, False: 713]
  ------------------
 1688|      0|	UNPROTECT(2); /* r, dimnamesnames */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1689|      0|	goto not_matrix;
 1690|    713|    }
 1691|    713|    PROTECT(dimr = allocVector(INTSXP, 2));
  ------------------
  |  |  357|    713|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1692|    713|    INTEGER(dimr)[0] = ncol;
 1693|    713|    INTEGER(dimr)[1] = nrow;
 1694|    713|    if(ldim == 2) {
  ------------------
  |  Branch (1694:8): [True: 595, False: 118]
  ------------------
 1695|    595|	nmdma = getAttrib(dims, R_NamesSymbol);
  ------------------
  |  |  924|    595|#define getAttrib		Rf_getAttrib
  ------------------
 1696|    595|	if(nmdma != R_NilValue) {
  ------------------
  |  Branch (1696:5): [True: 0, False: 595]
  ------------------
 1697|      0|	    PROTECT(nmdma);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1698|      0|	    PROTECT(nmdmr = allocVector(STRSXP, 2));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1699|      0|	    SET_STRING_ELT(nmdmr, 0, STRING_ELT(nmdma, 1));
 1700|      0|	    SET_STRING_ELT(nmdmr, 1, STRING_ELT(nmdma, 0));
 1701|      0|	    setAttrib(dimr, R_NamesSymbol, nmdmr);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
 1702|      0|	    UNPROTECT(2);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1703|      0|	}
 1704|    595|    }
 1705|    713|    setAttrib(r, R_DimSymbol, dimr);
  ------------------
  |  | 1027|    713|#define setAttrib		Rf_setAttrib
  ------------------
 1706|    713|    UNPROTECT(1); /* dimr */
  ------------------
  |  |  358|    713|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1707|       |    /* R <= 2.2.0: dropped list(NULL,NULL) dimnames :
 1708|       |     * if(rnames != R_NilValue || cnames != R_NilValue) */
 1709|    713|    if(!isNull(dimnames)) {
  ------------------
  |  |  956|    713|#define isNull			Rf_isNull
  ------------------
  |  Branch (1709:8): [True: 446, False: 267]
  ------------------
 1710|    446|	PROTECT(dimnames = allocVector(VECSXP, 2));
  ------------------
  |  |  357|    446|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1711|    446|	SET_VECTOR_ELT(dimnames, 0, cnames);
 1712|    446|	SET_VECTOR_ELT(dimnames, 1, rnames);
 1713|    446|	if(!isNull(dimnamesnames)) {
  ------------------
  |  |  956|    446|#define isNull			Rf_isNull
  ------------------
  |  Branch (1713:5): [True: 0, False: 446]
  ------------------
 1714|      0|	    PROTECT(ndimnamesnames = allocVector(VECSXP, 2));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1715|      0|	    SET_VECTOR_ELT(ndimnamesnames, 1, STRING_ELT(dimnamesnames, 0));
 1716|      0|	    SET_VECTOR_ELT(ndimnamesnames, 0,
 1717|      0|			   (ldim == 2) ? STRING_ELT(dimnamesnames, 1):
  ------------------
  |  Branch (1717:7): [True: 0, False: 0]
  ------------------
 1718|      0|			   R_BlankString);
 1719|      0|	    setAttrib(dimnames, R_NamesSymbol, ndimnamesnames);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
 1720|      0|	    UNPROTECT(1); /* ndimnamesnames */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1721|      0|	}
 1722|    446|	setAttrib(r, R_DimNamesSymbol, dimnames);
  ------------------
  |  | 1027|    446|#define setAttrib		Rf_setAttrib
  ------------------
 1723|    446|	UNPROTECT(1); /* dimnames */
  ------------------
  |  |  358|    446|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1724|    446|    }
 1725|    713|    copyMostAttrib(a, r);
  ------------------
  |  |  901|    713|#define copyMostAttrib		Rf_copyMostAttrib
  ------------------
 1726|    713|    UNPROTECT(2); /* r, dimnamesnames */
  ------------------
  |  |  358|    713|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1727|    713|    return r;
 1728|      0| not_matrix:
 1729|      0|    error(_("argument is not a matrix"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  error(_("argument is not a matrix"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1730|      0|    return call;/* never used; just for -Wall */
 1731|    713|}
do_diag:
 2313|    394|{
 2314|    394|    SEXP ans, x, snr, snc;
 2315|    394|    int nr = 1, nc = 1, nprotect = 1;
 2316|       |
 2317|    394|    checkArity(op, args);
  ------------------
  |  | 1793|    394|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 2318|    394|    x = CAR(args);
 2319|    394|    snr = CADR(args);
 2320|    394|    snc = CADDR(args);
 2321|    394|    nr = asInteger(snr);
  ------------------
  |  |  885|    394|#define asInteger		Rf_asInteger
  ------------------
 2322|    394|    if (nr == NA_INTEGER)
  ------------------
  |  |   56|    394|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (2322:9): [True: 0, False: 394]
  ------------------
 2323|      0|	error(_("invalid 'nrow' value (too large or NA)"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid 'nrow' value (too large or NA)"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2324|    394|    if (nr < 0)
  ------------------
  |  Branch (2324:9): [True: 0, False: 394]
  ------------------
 2325|      0|	error(_("invalid 'nrow' value (< 0)"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid 'nrow' value (< 0)"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2326|    394|    nc = asInteger(snc);
  ------------------
  |  |  885|    394|#define asInteger		Rf_asInteger
  ------------------
 2327|    394|    if (nc == NA_INTEGER)
  ------------------
  |  |   56|    394|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (2327:9): [True: 0, False: 394]
  ------------------
 2328|      0|	error(_("invalid 'ncol' value (too large or NA)"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid 'ncol' value (too large or NA)"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2329|    394|    if (nc < 0)
  ------------------
  |  Branch (2329:9): [True: 0, False: 394]
  ------------------
 2330|      0|	error(_("invalid 'ncol' value (< 0)"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid 'ncol' value (< 0)"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2331|    394|    int mn = (nr < nc) ? nr : nc;
  ------------------
  |  Branch (2331:14): [True: 0, False: 394]
  ------------------
 2332|    394|    if (mn > 0 && length(x) == 0)
  ------------------
  |  |  987|    394|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (2332:9): [True: 394, False: 0]
  |  Branch (2332:19): [True: 0, False: 394]
  ------------------
 2333|      0|	error(_("'x' must have positive length"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'x' must have positive length"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2334|       |
 2335|    394|#ifdef LONG_VECTOR_SUPPORT
 2336|    394|   if ((double)nr * (double)nc > R_XLEN_T_MAX)
  ------------------
  |  |   76|    394|# define R_XLEN_T_MAX 4503599627370496
  ------------------
  |  Branch (2336:8): [True: 0, False: 394]
  ------------------
 2337|      0|	error(_("too many elements specified"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("too many elements specified"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2338|       |#else
 2339|       |   if ((double)nr * (double)nc > INT_MAX)
 2340|       |	error(_("too many elements specified"));
 2341|       |#endif
 2342|       |
 2343|    394|   int nx = LENGTH(x);
 2344|    394|   R_xlen_t NR = nr;
 2345|       |
 2346|    394|#define mk_DIAG(_zero_)					\
 2347|    394|   for (R_xlen_t i = 0; i < NR*nc; i++) ra[i] = _zero_;	\
 2348|    394|   R_xlen_t i, i1;					\
 2349|    394|   MOD_ITERATE1(mn, nx, i, i1, {			\
 2350|    394|	   ra[i * (NR+1)] = rx[i1];			\
 2351|    394|   });
 2352|       |
 2353|    394|   switch(TYPEOF(x)) {
 2354|       |
 2355|    394|   case REALSXP:
  ------------------
  |  |  124|    394|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (2355:4): [True: 394, False: 0]
  ------------------
 2356|    394|   {
 2357|    394|#define mk_REAL_DIAG					\
 2358|    394|       PROTECT(ans = allocMatrix(REALSXP, nr, nc));	\
 2359|    394|       double *rx = REAL(x), *ra = REAL(ans);		\
 2360|    394|       mk_DIAG(0.0)
 2361|       |
 2362|    394|       mk_REAL_DIAG;
  ------------------
  |  | 2358|    394|       PROTECT(ans = allocMatrix(REALSXP, nr, nc));	\
  |  |  ------------------
  |  |  |  |  357|    394|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  | 2359|    394|       double *rx = REAL(x), *ra = REAL(ans);		\
  |  | 2360|    394|       mk_DIAG(0.0)
  |  |  ------------------
  |  |  |  | 2347|  5.57k|   for (R_xlen_t i = 0; i < NR*nc; i++) ra[i] = _zero_;	\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2347:25): [True: 5.17k, False: 394]
  |  |  |  |  ------------------
  |  |  |  | 2348|    394|   R_xlen_t i, i1;					\
  |  |  |  | 2349|    394|   MOD_ITERATE1(mn, nx, i, i1, {			\
  |  |  |  |  ------------------
  |  |  |  |  |  |   67|    394|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |  |  |  |  |   68|    394|	i = i1 = 0;					\
  |  |  |  |  |  |   69|    394|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   59|    394|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |  |  |  |  |   60|  1.80k|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (60:9): [True: 1.41k, False: 394]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   61|  1.41k|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (61:12): [True: 716, False: 699]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   62|  1.41k|		 ++i) {							\
  |  |  |  |  |  |  |  |   63|  1.41k|	    loop_body							\
  |  |  |  |  |  |  |  |   64|  1.41k|		}							\
  |  |  |  |  |  |  |  |   65|    394|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (65:14): [Folded, False: 394]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   70|    394|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (70:14): [Folded, False: 394]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 2350|    394|	   ra[i * (NR+1)] = rx[i1];			\
  |  |  |  | 2351|    394|   });
  |  |  ------------------
  ------------------
 2363|    394|       break;
 2364|      0|   }
 2365|      0|   case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (2365:4): [True: 0, False: 394]
  ------------------
 2366|      0|   {
 2367|      0|       PROTECT(ans = allocMatrix(CPLXSXP, nr, nc));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2368|      0|       int nx = LENGTH(x);
 2369|      0|       R_xlen_t NR = nr;
 2370|      0|       Rcomplex *rx = COMPLEX(x), *ra = COMPLEX(ans), zero;
 2371|      0|       zero.r = zero.i = 0.0;
 2372|      0|       mk_DIAG(zero);
  ------------------
  |  | 2347|      0|   for (R_xlen_t i = 0; i < NR*nc; i++) ra[i] = _zero_;	\
  |  |  ------------------
  |  |  |  Branch (2347:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 2348|      0|   R_xlen_t i, i1;					\
  |  | 2349|      0|   MOD_ITERATE1(mn, nx, i, i1, {			\
  |  |  ------------------
  |  |  |  |   67|      0|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |  |  |   68|      0|	i = i1 = 0;					\
  |  |  |  |   69|      0|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      0|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |  |  |   60|      0|	for (; i < n;							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (60:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   61|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (61:12): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   62|      0|		 ++i) {							\
  |  |  |  |  |  |   63|      0|	    loop_body							\
  |  |  |  |  |  |   64|      0|		}							\
  |  |  |  |  |  |   65|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   70|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (70:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2350|      0|	   ra[i * (NR+1)] = rx[i1];			\
  |  | 2351|      0|   });
  ------------------
 2373|      0|       break;
 2374|      0|   }
 2375|      0|   case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (2375:4): [True: 0, False: 394]
  ------------------
 2376|      0|   {
 2377|      0|       PROTECT(ans = allocMatrix(INTSXP, nr, nc));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2378|      0|       int *rx = INTEGER(x), *ra = INTEGER(ans);
 2379|      0|       mk_DIAG(0);
  ------------------
  |  | 2347|      0|   for (R_xlen_t i = 0; i < NR*nc; i++) ra[i] = _zero_;	\
  |  |  ------------------
  |  |  |  Branch (2347:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 2348|      0|   R_xlen_t i, i1;					\
  |  | 2349|      0|   MOD_ITERATE1(mn, nx, i, i1, {			\
  |  |  ------------------
  |  |  |  |   67|      0|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |  |  |   68|      0|	i = i1 = 0;					\
  |  |  |  |   69|      0|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      0|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |  |  |   60|      0|	for (; i < n;							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (60:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   61|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (61:12): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   62|      0|		 ++i) {							\
  |  |  |  |  |  |   63|      0|	    loop_body							\
  |  |  |  |  |  |   64|      0|		}							\
  |  |  |  |  |  |   65|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   70|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (70:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2350|      0|	   ra[i * (NR+1)] = rx[i1];			\
  |  | 2351|      0|   });
  ------------------
 2380|      0|       break;
 2381|      0|   }
 2382|      0|   case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (2382:4): [True: 0, False: 394]
  ------------------
 2383|      0|   {
 2384|      0|       PROTECT(ans = allocMatrix(LGLSXP, nr, nc));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2385|      0|       int *rx = LOGICAL(x), *ra = LOGICAL(ans);
 2386|      0|       mk_DIAG(0);
  ------------------
  |  | 2347|      0|   for (R_xlen_t i = 0; i < NR*nc; i++) ra[i] = _zero_;	\
  |  |  ------------------
  |  |  |  Branch (2347:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 2348|      0|   R_xlen_t i, i1;					\
  |  | 2349|      0|   MOD_ITERATE1(mn, nx, i, i1, {			\
  |  |  ------------------
  |  |  |  |   67|      0|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |  |  |   68|      0|	i = i1 = 0;					\
  |  |  |  |   69|      0|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      0|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |  |  |   60|      0|	for (; i < n;							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (60:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   61|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (61:12): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   62|      0|		 ++i) {							\
  |  |  |  |  |  |   63|      0|	    loop_body							\
  |  |  |  |  |  |   64|      0|		}							\
  |  |  |  |  |  |   65|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   70|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (70:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2350|      0|	   ra[i * (NR+1)] = rx[i1];			\
  |  | 2351|      0|   });
  ------------------
 2387|      0|       break;
 2388|      0|   }
 2389|      0|   case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (2389:4): [True: 0, False: 394]
  ------------------
 2390|      0|   {
 2391|      0|       PROTECT(ans = allocMatrix(RAWSXP, nr, nc));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2392|      0|       Rbyte *rx = RAW(x), *ra = RAW(ans);
 2393|      0|       mk_DIAG((Rbyte) 0);
  ------------------
  |  | 2347|      0|   for (R_xlen_t i = 0; i < NR*nc; i++) ra[i] = _zero_;	\
  |  |  ------------------
  |  |  |  Branch (2347:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 2348|      0|   R_xlen_t i, i1;					\
  |  | 2349|      0|   MOD_ITERATE1(mn, nx, i, i1, {			\
  |  |  ------------------
  |  |  |  |   67|      0|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |  |  |   68|      0|	i = i1 = 0;					\
  |  |  |  |   69|      0|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      0|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |  |  |   60|      0|	for (; i < n;							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (60:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   61|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (61:12): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   62|      0|		 ++i) {							\
  |  |  |  |  |  |   63|      0|	    loop_body							\
  |  |  |  |  |  |   64|      0|		}							\
  |  |  |  |  |  |   65|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   70|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (70:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2350|      0|	   ra[i * (NR+1)] = rx[i1];			\
  |  | 2351|      0|   });
  ------------------
 2394|      0|       break;
 2395|      0|   }
 2396|      0|   default: {
  ------------------
  |  Branch (2396:4): [True: 0, False: 394]
  ------------------
 2397|      0|       PROTECT(x = coerceVector(x, REALSXP));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2398|      0|       nprotect++;
 2399|      0|       mk_REAL_DIAG;
  ------------------
  |  | 2358|      0|       PROTECT(ans = allocMatrix(REALSXP, nr, nc));	\
  |  |  ------------------
  |  |  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  | 2359|      0|       double *rx = REAL(x), *ra = REAL(ans);		\
  |  | 2360|      0|       mk_DIAG(0.0)
  |  |  ------------------
  |  |  |  | 2347|      0|   for (R_xlen_t i = 0; i < NR*nc; i++) ra[i] = _zero_;	\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2347:25): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2348|      0|   R_xlen_t i, i1;					\
  |  |  |  | 2349|      0|   MOD_ITERATE1(mn, nx, i, i1, {			\
  |  |  |  |  ------------------
  |  |  |  |  |  |   67|      0|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |  |  |  |  |   68|      0|	i = i1 = 0;					\
  |  |  |  |  |  |   69|      0|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   59|      0|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |  |  |  |  |   60|      0|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (60:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   61|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (61:12): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   62|      0|		 ++i) {							\
  |  |  |  |  |  |  |  |   63|      0|	    loop_body							\
  |  |  |  |  |  |  |  |   64|      0|		}							\
  |  |  |  |  |  |  |  |   65|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (65:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   70|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (70:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 2350|      0|	   ra[i * (NR+1)] = rx[i1];			\
  |  |  |  | 2351|      0|   });
  |  |  ------------------
  ------------------
 2400|      0|     }
 2401|    394|   }
 2402|    394|#undef mk_REAL_DIAG
 2403|    394|#undef mk_DIAG
 2404|    394|   UNPROTECT(nprotect);
  ------------------
  |  |  358|    394|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2405|    394|   return ans;
 2406|    394|}
array.c:getElementLength:
  537|  3.11k|static R_xlen_t getElementLength(SEXP x, R_xlen_t i, SEXP call, SEXP rho) {
  538|  3.11k|    SEXP x_elt;
  539|  3.11k|    R_xlen_t ans;
  540|       |
  541|  3.11k|    PROTECT(x_elt = dispatch_subset2(x, i, call, rho));
  ------------------
  |  |  357|  3.11k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  542|  3.11k|    ans = dispatch_xlength(x_elt, call, rho);
  543|  3.11k|    UNPROTECT(1); /* x_elt */
  ------------------
  |  |  358|  3.11k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  544|  3.11k|    return ans;
  545|  3.11k|}
array.c:matprod:
  813|    694|{
  814|    694|    R_xlen_t NRX = nrx, NRY = nry;
  815|    694|    if (nrx == 0 || ncx == 0 || nry == 0 || ncy == 0) {
  ------------------
  |  Branch (815:9): [True: 0, False: 694]
  |  Branch (815:21): [True: 0, False: 694]
  |  Branch (815:33): [True: 0, False: 694]
  |  Branch (815:45): [True: 0, False: 694]
  ------------------
  816|       |	/* zero-extent operations should return zeroes */
  817|      0|	for(R_xlen_t i = 0; i < NRX*ncy; i++) z[i] = 0;
  ------------------
  |  Branch (817:22): [True: 0, False: 0]
  ------------------
  818|      0|	return;
  819|      0|    }
  820|       |
  821|    694|    switch(R_Matprod) {
  ------------------
  |  Branch (821:12): [True: 694, False: 0]
  ------------------
  822|    694|	case MATPROD_DEFAULT:
  ------------------
  |  Branch (822:2): [True: 694, False: 0]
  ------------------
  823|       |	/* Don't trust the BLAS to handle NA/NaNs correctly: PR#4582
  824|       |	 * The test is only O(n) here.
  825|       |	 *
  826|       |	 * MKL disclaimer: "LAPACK routines assume that input matrices
  827|       |	 * do not contain IEEE 754 special values such as INF or NaN values.
  828|       |	 * Using these special values may cause LAPACK to return unexpected
  829|       |	 * results or become unstable."
  830|       |	 */
  831|    694|	    if (mayHaveNaNOrInf(x, NRX*ncx) || mayHaveNaNOrInf(y, NRY*ncy)) {
  ------------------
  |  Branch (831:10): [True: 0, False: 694]
  |  Branch (831:41): [True: 0, False: 694]
  ------------------
  832|      0|		simple_matprod(x, nrx, ncx, y, nry, ncy, z);
  833|      0|		return;
  834|      0|	    }
  835|    694|	    break; /* use blas */
  836|    694|	case MATPROD_INTERNAL:
  ------------------
  |  Branch (836:2): [True: 0, False: 694]
  ------------------
  837|      0|	    internal_matprod(x, nrx, ncx, y, nry, ncy, z);
  838|      0|	    return;
  839|      0|	case MATPROD_BLAS:
  ------------------
  |  Branch (839:2): [True: 0, False: 694]
  ------------------
  840|      0|	    break;
  841|      0|	case MATPROD_DEFAULT_SIMD:
  ------------------
  |  Branch (841:2): [True: 0, False: 694]
  ------------------
  842|      0|	    if (mayHaveNaNOrInf_simd(x, NRX*ncx) ||
  ------------------
  |  Branch (842:10): [True: 0, False: 0]
  ------------------
  843|      0|		mayHaveNaNOrInf_simd(y, NRY*ncy)) {
  ------------------
  |  Branch (843:3): [True: 0, False: 0]
  ------------------
  844|      0|		simple_matprod(x, nrx, ncx, y, nry, ncy, z);
  845|      0|		return;
  846|      0|	    }
  847|      0|	    break; /* use blas */
  848|    694|    }
  849|       |
  850|    694|    char *transN = "N", *transT = "T";
  851|    694|    double one = 1.0, zero = 0.0;
  852|    694|    int ione = 1;
  853|       |
  854|    694|    if (ncy == 1) /* matrix-vector or dot product */
  ------------------
  |  Branch (854:9): [True: 14, False: 680]
  ------------------
  855|     14|	F77_CALL(dgemv)(transN, &nrx, &ncx, &one, x,
  ------------------
  |  |   98|     14|# define F77_CALL(x)	x ## _
  ------------------
  856|     14|			&nrx, y, &ione, &zero, z, &ione FCONE);
  ------------------
  |  |   41|     14|# define FCONE ,(FC_LEN_T)1
  ------------------
  857|    680|    else if (nrx == 1) /* vector-matrix */
  ------------------
  |  Branch (857:14): [True: 118, False: 562]
  ------------------
  858|       |	/* Instead of xY, compute (xY)^T == (Y^T)(x^T)
  859|       |	   The result is a vector, so transposing its content is no-op */
  860|    118|	F77_CALL(dgemv)(transT, &nry, &ncy, &one, y,
  ------------------
  |  |   98|    118|# define F77_CALL(x)	x ## _
  ------------------
  861|    118|			&nry, x, &ione, &zero, z, &ione FCONE);
  ------------------
  |  |   41|    118|# define FCONE ,(FC_LEN_T)1
  ------------------
  862|    562|    else /* matrix-matrix or outer product */
  863|    562|	F77_CALL(dgemm)(transN, transN, &nrx, &ncy, &ncx, &one, x,
  ------------------
  |  |   98|    562|# define F77_CALL(x)	x ## _
  ------------------
  864|    562|			&nrx, y, &nry, &zero, z, &nrx FCONE FCONE);
  ------------------
  |  |   41|    562|# define FCONE ,(FC_LEN_T)1
  ------------------
              			&nrx, y, &nry, &zero, z, &nrx FCONE FCONE);
  ------------------
  |  |   41|    562|# define FCONE ,(FC_LEN_T)1
  ------------------
  865|    694|}
array.c:mayHaveNaNOrInf:
  671|  1.38k|{
  672|  1.38k|    if ((n&1) != 0 && !R_FINITE(x[0]))
  ------------------
  |  |   82|    853|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (672:9): [True: 853, False: 535]
  |  Branch (672:23): [True: 0, False: 853]
  ------------------
  673|      0|	return true;
  674|   105k|    for (R_xlen_t i = n&1; i < n; i += 2)
  ------------------
  |  Branch (674:28): [True: 103k, False: 1.38k]
  ------------------
  675|       |	/* A precise version could use this condition:
  676|       |	 *
  677|       |	 * !R_FINITE(x[i]+x[i+1]) && (!R_FINITE(x[i]) || !R_FINITE(x[i+1]))
  678|       |	 *
  679|       |	 * The present imprecise version has been found to be faster
  680|       |	 * with GCC and ICC in the common case when the sum of the two
  681|       |	 * values is always finite.
  682|       |	 *
  683|       |	 * The present version is imprecise because the sum of two very
  684|       |	 * large finite values (e.g. 1e308) may be infinite.
  685|       |	 */
  686|   103k|	if (!R_FINITE(x[i]+x[i+1]))
  ------------------
  |  |   82|   103k|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (686:6): [True: 0, False: 103k]
  ------------------
  687|      0|	    return true;
  688|  1.38k|    return false;
  689|  1.38k|}

getAttrib0:
  130|  36.0M|{
  131|  36.0M|    SEXP s;
  132|  36.0M|    if (name == R_NamesSymbol) {
  ------------------
  |  Branch (132:9): [True: 15.7M, False: 20.2M]
  ------------------
  133|  15.7M|	if(isOneDimensionalArray(vec)) {
  ------------------
  |  Branch (133:5): [True: 0, False: 15.7M]
  ------------------
  134|      0|	    s = getAttrib(vec, R_DimNamesSymbol);
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
  135|      0|	    if(!isNull(s)) {
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
  |  Branch (135:9): [True: 0, False: 0]
  ------------------
  136|      0|		MARK_NOT_MUTABLE(VECTOR_ELT(s, 0));
  137|      0|		return VECTOR_ELT(s, 0);
  138|      0|	    }
  139|      0|	}
  140|  15.7M|	if (isList(vec) || isLanguage(vec) || TYPEOF(vec) == DOTSXP) {
  ------------------
  |  |  951|  15.7M|#define isList			Rf_isList
  ------------------
              	if (isList(vec) || isLanguage(vec) || TYPEOF(vec) == DOTSXP) {
  ------------------
  |  |  950|  15.7M|#define isLanguage		Rf_isLanguage
  ------------------
              	if (isList(vec) || isLanguage(vec) || TYPEOF(vec) == DOTSXP) {
  ------------------
  |  |  127|  15.7M|#define DOTSXP	    17	  /* dot-dot-dot object */
  ------------------
  |  Branch (140:6): [True: 684, False: 15.7M]
  |  Branch (140:21): [True: 2.23k, False: 15.7M]
  |  Branch (140:40): [True: 0, False: 15.7M]
  ------------------
  141|  2.91k|	    int len = length(vec);
  ------------------
  |  |  987|  2.91k|#define length(x)		Rf_length(x)
  ------------------
  142|  2.91k|	    PROTECT(s = allocVector(STRSXP, len));
  ------------------
  |  |  357|  2.91k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  143|  2.91k|	    int i = 0;
  144|  2.91k|	    bool any = false;
  145|  13.9k|	    for ( ; vec != R_NilValue; vec = CDR(vec), i++) {
  ------------------
  |  Branch (145:14): [True: 10.9k, False: 2.91k]
  ------------------
  146|  10.9k|		if (TAG(vec) == R_NilValue)
  ------------------
  |  Branch (146:7): [True: 7.24k, False: 3.75k]
  ------------------
  147|  7.24k|		{
  148|  7.24k|		    SET_STRING_ELT(s, i, R_BlankString);
  149|  7.24k|		}
  150|  3.75k|		else if (isSymbol(TAG(vec))) {
  ------------------
  |  |  953|  3.75k|#define isSymbol		Rf_isSymbol
  ------------------
  |  Branch (150:12): [True: 3.75k, False: 0]
  ------------------
  151|  3.75k|		    any = TRUE;
  152|  3.75k|		    SET_STRING_ELT(s, i, PRINTNAME(TAG(vec)));
  153|  3.75k|		}
  154|      0|		else
  155|      0|		    error(_("getAttrib: invalid type (%s) for TAG"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("getAttrib: invalid type (%s) for TAG"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  156|      0|			  R_typeToChar(TAG(vec)));
  157|  10.9k|	    }
  158|  2.91k|	    UNPROTECT(1);
  ------------------
  |  |  358|  2.91k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  159|  2.91k|	    if (any) {
  ------------------
  |  Branch (159:10): [True: 738, False: 2.17k]
  ------------------
  160|    738|		if (!isNull(s)) MARK_NOT_MUTABLE(s);
  ------------------
  |  |  956|    738|#define isNull			Rf_isNull
  ------------------
  |  Branch (160:7): [True: 738, False: 0]
  ------------------
  161|    738|		return (s);
  162|    738|	    } else
  163|  2.17k|		return R_NilValue;
  164|  2.91k|	}
  165|  15.7M|    }
  166|  57.2M|    for (s = ATTRIB(vec); s != R_NilValue; s = CDR(s))
  ------------------
  |  Branch (166:27): [True: 41.3M, False: 15.8M]
  ------------------
  167|  41.3M|	if (TAG(s) == name) {
  ------------------
  |  Branch (167:6): [True: 20.1M, False: 21.1M]
  ------------------
  168|  20.1M|	    if (name == R_DimNamesSymbol && TYPEOF(CAR(s)) == LISTSXP)
  ------------------
  |  |  113|  19.3k|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (168:10): [True: 19.3k, False: 20.1M]
  |  Branch (168:38): [True: 0, False: 19.3k]
  ------------------
  169|      0|		error("old list is no longer allowed for dimnames attribute");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  170|       |	    /**** this could be dropped for REFCNT or be less
  171|       |		  stringent for NAMED for attributes where the setter
  172|       |		  does not have a consistency check that could fail
  173|       |		  after mutation in a complex assignment LT */
  174|  20.1M|	    MARK_NOT_MUTABLE(CAR(s));
  175|  20.1M|	    return CAR(s);
  176|  20.1M|	}
  177|  15.8M|    return R_NilValue;
  178|  36.0M|}
Rf_getAttrib:
  181|  70.1M|{
  182|  70.1M|    if(TYPEOF(vec) == CHARSXP)
  ------------------
  |  |  120|  70.1M|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  ------------------
  |  Branch (182:8): [True: 0, False: 70.1M]
  ------------------
  183|      0|	error("cannot have attributes on a CHARSXP");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  184|       |    /* pre-test to avoid expensive operations if clearly not needed -- LT */
  185|  70.1M|    if (ATTRIB(vec) == R_NilValue &&
  ------------------
  |  Branch (185:9): [True: 34.1M, False: 36.0M]
  ------------------
  186|  34.1M|	! (TYPEOF(vec) == LISTSXP || TYPEOF(vec) == LANGSXP|| TYPEOF(vec) == DOTSXP))
  ------------------
  |  |  113|  68.2M|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
              	! (TYPEOF(vec) == LISTSXP || TYPEOF(vec) == LANGSXP|| TYPEOF(vec) == DOTSXP))
  ------------------
  |  |  117|  68.2M|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
              	! (TYPEOF(vec) == LISTSXP || TYPEOF(vec) == LANGSXP|| TYPEOF(vec) == DOTSXP))
  ------------------
  |  |  127|  34.1M|#define DOTSXP	    17	  /* dot-dot-dot object */
  ------------------
  |  Branch (186:5): [True: 5.91k, False: 34.1M]
  |  Branch (186:31): [True: 6.01k, False: 34.1M]
  |  Branch (186:56): [True: 0, False: 34.1M]
  ------------------
  187|  34.1M|	return R_NilValue;
  188|       |
  189|  36.0M|    if (isScalarString(name)) name = installTrChar(STRING_ELT(name, 0));
  ------------------
  |  |  965|  36.0M|#define isScalarString		Rf_isScalarString
  ------------------
                  if (isScalarString(name)) name = installTrChar(STRING_ELT(name, 0));
  ------------------
  |  |  937|      0|#define installTrChar		Rf_installTrChar
  ------------------
  |  Branch (189:9): [True: 0, False: 36.0M]
  ------------------
  190|  36.0M|    if (! isSymbol(name))
  ------------------
  |  |  953|  36.0M|#define isSymbol		Rf_isSymbol
  ------------------
  |  Branch (190:9): [True: 0, False: 36.0M]
  ------------------
  191|      0|	error(_("'name' is not a symbol or a scalar string"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'name' is not a symbol or a scalar string"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  192|       |
  193|       |    /* special test for c(NA, n) rownames of data frames: */
  194|  36.0M|    if (name == R_RowNamesSymbol) {
  ------------------
  |  Branch (194:9): [True: 361, False: 36.0M]
  ------------------
  195|    361|	SEXP s = getAttrib0(vec, R_RowNamesSymbol);
  196|    361|	if (ALTREP(s))
  ------------------
  |  Branch (196:6): [True: 0, False: 361]
  ------------------
  197|       |	    // to allow for special row.names attributes in packages
  198|      0|	    return s;
  199|    361|	if(isInteger(s) && LENGTH(s) == 2 && INTEGER(s)[0] == NA_INTEGER) {
  ------------------
  |  |  949|    361|#define isInteger		Rf_isInteger
  ------------------
              	if(isInteger(s) && LENGTH(s) == 2 && INTEGER(s)[0] == NA_INTEGER) {
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (199:5): [True: 0, False: 361]
  |  Branch (199:21): [True: 0, False: 0]
  |  Branch (199:39): [True: 0, False: 0]
  ------------------
  200|      0|	    int n = abs(INTEGER(s)[1]);
  201|      0|	    if (n > 0)
  ------------------
  |  Branch (201:10): [True: 0, False: 0]
  ------------------
  202|      0|		s = R_compact_intrange(1, n);
  203|      0|	    else
  204|      0|		s = allocVector(INTSXP, 0);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              		s = allocVector(INTSXP, 0);
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  205|      0|	}
  206|    361|	return s;
  207|    361|    } else
  208|  36.0M|	return getAttrib0(vec, name);
  209|  36.0M|}
do_shortRowNames:
  214|      2|{
  215|       |    /* return  n if the data frame 'vec' has c(NA, n) rownames;
  216|       |     *	       nrow(.) otherwise;  note that data frames with nrow(.) == 0
  217|       |     *		have no row.names.
  218|       |     ==> is also used in dim.data.frame() */
  219|       |
  220|      2|    checkArity(op, args);
  ------------------
  |  | 1793|      2|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  221|      2|    SEXP s = getAttrib0(CAR(args), R_RowNamesSymbol), ans = s;
  222|      2|    int type = asInteger(CADR(args));
  ------------------
  |  |  885|      2|#define asInteger		Rf_asInteger
  ------------------
  223|       |
  224|      2|    if( type < 0 || type > 2)
  ------------------
  |  Branch (224:9): [True: 0, False: 2]
  |  Branch (224:21): [True: 0, False: 2]
  ------------------
  225|      0|	error(_("invalid '%s' argument"), "type");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "type");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  226|       |
  227|      2|    if(type >= 1) {
  ------------------
  |  Branch (227:8): [True: 2, False: 0]
  ------------------
  228|      2|	int n = (isInteger(s) && LENGTH(s) == 2 && INTEGER(s)[0] == NA_INTEGER)
  ------------------
  |  |  949|      2|#define isInteger		Rf_isInteger
  ------------------
              	int n = (isInteger(s) && LENGTH(s) == 2 && INTEGER(s)[0] == NA_INTEGER)
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (228:11): [True: 0, False: 2]
  |  Branch (228:27): [True: 0, False: 0]
  |  Branch (228:45): [True: 0, False: 0]
  ------------------
  229|      2|	    ? INTEGER(s)[1] : (isNull(s) ? 0 : LENGTH(s));
  ------------------
  |  |  956|      2|#define isNull			Rf_isNull
  ------------------
  |  Branch (229:25): [True: 0, False: 2]
  ------------------
  230|      2|	ans = ScalarInteger((type == 1) ? n : abs(n));
  ------------------
  |  | 1022|      2|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  |  Branch (230:22): [True: 0, False: 2]
  ------------------
  231|      2|    }
  232|      2|    return ans;
  233|      2|}
do_copyDFattr:
  238|    106|{
  239|    106|    checkArity(op, args);
  ------------------
  |  | 1793|    106|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  240|    106|    SEXP in = CAR(args), out = CADR(args);
  241|    106|    SET_ATTRIB(out, shallow_duplicate(ATTRIB(in)));
  ------------------
  |  | 1030|    106|#define shallow_duplicate	Rf_shallow_duplicate
  ------------------
  242|    106|    IS_S4_OBJECT(in) ?  SET_S4_OBJECT(out) : UNSET_S4_OBJECT(out);
  ------------------
  |  Branch (242:5): [True: 0, False: 106]
  ------------------
  243|    106|    SET_OBJECT(out, OBJECT(in));
  244|    106|    return out;
  245|    106|}
Rf_setAttrib:
  250|  13.7M|{
  251|  13.7M|    PROTECT(vec);
  ------------------
  |  |  357|  13.7M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  252|  13.7M|    PROTECT(name);
  ------------------
  |  |  357|  13.7M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  253|       |
  254|  13.7M|    if (isScalarString(name)) {
  ------------------
  |  |  965|  13.7M|#define isScalarString		Rf_isScalarString
  ------------------
  |  Branch (254:9): [True: 1.06k, False: 13.7M]
  ------------------
  255|  1.06k|	PROTECT(val);
  ------------------
  |  |  357|  1.06k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  256|  1.06k|	name = installTrChar(STRING_ELT(name, 0));
  ------------------
  |  |  937|  1.06k|#define installTrChar		Rf_installTrChar
  ------------------
  257|  1.06k|	UNPROTECT(1);
  ------------------
  |  |  358|  1.06k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  258|  1.06k|    }
  259|  13.7M|    if (val == R_NilValue) {
  ------------------
  |  Branch (259:9): [True: 65.6k, False: 13.7M]
  ------------------
  260|       |	/* FIXME: see do_namesgets().
  261|       |	if (name == R_NamesSymbol && isOneDimensionalArray(vec)) {
  262|       |	    UNPROTECT(2);
  263|       |	    return removeAttrib(vec, R_DimNamesSymbol);
  264|       |	}
  265|       |	*/
  266|  65.6k|	UNPROTECT(2);
  ------------------
  |  |  358|  65.6k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  267|  65.6k|	return removeAttrib(vec, name);
  268|  65.6k|    }
  269|  13.7M|    if (! isSymbol(name))
  ------------------
  |  |  953|  13.7M|#define isSymbol		Rf_isSymbol
  ------------------
  |  Branch (269:9): [True: 0, False: 13.7M]
  ------------------
  270|      0|	error(_("'name' is not a symbol or a scalar string"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'name' is not a symbol or a scalar string"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  271|       |
  272|       |    /* We allow attempting to remove names from NULL */
  273|  13.7M|    if (vec == R_NilValue)
  ------------------
  |  Branch (273:9): [True: 0, False: 13.7M]
  ------------------
  274|      0|	error(_("attempt to set an attribute on NULL"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("attempt to set an attribute on NULL"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  275|       |
  276|  13.7M|    UNPROTECT(2);
  ------------------
  |  |  358|  13.7M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  277|       |
  278|  13.7M|    if (name == R_NamesSymbol)
  ------------------
  |  Branch (278:9): [True: 11.5M, False: 2.14M]
  ------------------
  279|  11.5M|	return namesgets(vec, val);
  ------------------
  |  | 1004|  11.5M|#define namesgets		Rf_namesgets
  ------------------
  280|  2.14M|    else if (name == R_DimSymbol)
  ------------------
  |  Branch (280:14): [True: 30.0k, False: 2.11M]
  ------------------
  281|  30.0k|	return dimgets(vec, val);
  ------------------
  |  |  906|  30.0k|#define dimgets			Rf_dimgets
  ------------------
  282|  2.11M|    else if (name == R_DimNamesSymbol)
  ------------------
  |  Branch (282:14): [True: 16.5k, False: 2.10M]
  ------------------
  283|  16.5k|	return dimnamesgets(vec, val);
  ------------------
  |  |  907|  16.5k|#define dimnamesgets		Rf_dimnamesgets
  ------------------
  284|  2.10M|    else if (name == R_ClassSymbol)
  ------------------
  |  Branch (284:14): [True: 2.10M, False: 1.24k]
  ------------------
  285|  2.10M|	return classgets(vec, val);
  ------------------
  |  |  894|  2.10M|#define classgets		Rf_classgets
  ------------------
  286|  1.24k|    else if (name == R_TspSymbol)
  ------------------
  |  Branch (286:14): [True: 0, False: 1.24k]
  ------------------
  287|      0|	return tspgets(vec, val);
  ------------------
  |  | 2007|      0|# define tspgets		Rf_tspgets
  ------------------
  288|  1.24k|    else if (name == R_CommentSymbol)
  ------------------
  |  Branch (288:14): [True: 0, False: 1.24k]
  ------------------
  289|      0|	return commentgets(vec, val);
  290|  1.24k|    else if (name == R_RowNamesSymbol) // "row.names" -> care for data frames
  ------------------
  |  Branch (290:14): [True: 58, False: 1.19k]
  ------------------
  291|     58|	return row_names_gets(vec, val);
  292|  1.19k|    else
  293|  1.19k|	return installAttrib(vec, name, val);
  294|  13.7M|}
Rf_copyMostAttrib:
  302|  10.8k|{
  303|  10.8k|    SEXP s;
  304|       |
  305|  10.8k|    if (ans == R_NilValue)
  ------------------
  |  Branch (305:9): [True: 0, False: 10.8k]
  ------------------
  306|      0|	error(_("attempt to set an attribute on NULL"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("attempt to set an attribute on NULL"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  307|       |
  308|  10.8k|    PROTECT(ans);
  ------------------
  |  |  357|  10.8k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  309|  10.8k|    PROTECT(inp);
  ------------------
  |  |  357|  10.8k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  310|  22.5k|    for (s = ATTRIB(inp); s != R_NilValue; s = CDR(s)) {
  ------------------
  |  Branch (310:27): [True: 11.7k, False: 10.8k]
  ------------------
  311|  11.7k|	if ((TAG(s) != R_NamesSymbol) &&
  ------------------
  |  Branch (311:6): [True: 8.92k, False: 2.82k]
  ------------------
  312|  8.92k|	    (TAG(s) != R_DimSymbol) &&
  ------------------
  |  Branch (312:6): [True: 2.91k, False: 6.00k]
  ------------------
  313|  2.91k|	    (TAG(s) != R_DimNamesSymbol)) { // << for matrix, array ..
  ------------------
  |  Branch (313:6): [True: 0, False: 2.91k]
  ------------------
  314|      0|	    installAttrib(ans, TAG(s), CAR(s));
  315|      0|	}
  316|  11.7k|    }
  317|  10.8k|    if (OBJECT(inp)) SET_OBJECT(ans, 1);
  ------------------
  |  Branch (317:9): [True: 0, False: 10.8k]
  ------------------
  318|  10.8k|    IS_S4_OBJECT(inp) ?  SET_S4_OBJECT(ans) : UNSET_S4_OBJECT(ans);
  ------------------
  |  Branch (318:5): [True: 0, False: 10.8k]
  ------------------
  319|  10.8k|    UNPROTECT(2);
  ------------------
  |  |  358|  10.8k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  320|  10.8k|}
Rf_classgets:
  542|  2.10M|{
  543|  2.10M|    if (isNull(klass) || isString(klass)) {
  ------------------
  |  |  956|  2.10M|#define isNull			Rf_isNull
  ------------------
                  if (isNull(klass) || isString(klass)) {
  ------------------
  |  |  966|  2.10M|#define isString		Rf_isString
  ------------------
  |  Branch (543:9): [True: 0, False: 2.10M]
  |  Branch (543:26): [True: 2.10M, False: 0]
  ------------------
  544|  2.10M|	int ncl = length(klass);
  ------------------
  |  |  987|  2.10M|#define length(x)		Rf_length(x)
  ------------------
  545|  2.10M|	if (ncl <= 0) {
  ------------------
  |  Branch (545:6): [True: 0, False: 2.10M]
  ------------------
  546|      0|	    SET_ATTRIB(vec, stripAttrib(R_ClassSymbol, ATTRIB(vec)));
  547|      0|	    SET_OBJECT(vec, 0);
  548|       |	    // problems when package building:  UNSET_S4_OBJECT(vec);
  549|      0|	}
  550|  2.10M|	else {
  551|       |	    /* When data frames were a special data type */
  552|       |	    /* we had more exhaustive checks here.  Now that */
  553|       |	    /* use JMCs interpreted code, we don't need this */
  554|       |	    /* FIXME : The whole "classgets" may as well die. */
  555|       |
  556|       |	    /* HOWEVER, it is the way that the object bit gets set/unset */
  557|       |
  558|  2.10M|	    bool isfactor = false;
  559|       |
  560|  2.10M|	    if (vec == R_NilValue)
  ------------------
  |  Branch (560:10): [True: 0, False: 2.10M]
  ------------------
  561|      0|		error(_("attempt to set an attribute on NULL"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("attempt to set an attribute on NULL"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  562|       |
  563|  6.30M|	    for(int i = 0; i < ncl; i++)
  ------------------
  |  Branch (563:21): [True: 4.20M, False: 2.10M]
  ------------------
  564|  4.20M|		if(streql(CHAR(STRING_ELT(klass, i)), "factor")) { /* ASCII */
  ------------------
  |  | 1498|  4.20M|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 104, False: 4.20M]
  |  |  ------------------
  ------------------
  565|    104|		    isfactor = TRUE;
  566|    104|		    break;
  567|    104|		}
  568|  2.10M|	    if(isfactor && TYPEOF(vec) != INTSXP) {
  ------------------
  |  |  123|    104|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (568:9): [True: 104, False: 2.10M]
  |  Branch (568:21): [True: 0, False: 104]
  ------------------
  569|       |		/* we cannot coerce vec here, so just fail */
  570|      0|		error(_("adding class \"factor\" to an invalid object"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("adding class \"factor\" to an invalid object"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  571|      0|	    }
  572|       |
  573|  2.10M|	    installAttrib(vec, R_ClassSymbol, klass);
  574|  2.10M|	    SET_OBJECT(vec, 1);
  575|       |
  576|       |#ifdef R_classgets_copy_S4
  577|       |// not ok -- fails at installation around byte-compiling methods
  578|       |	    if(ncl == 1 && R_has_methods_attached()) { // methods: do not act too early
  579|       |		SEXP cld = R_getClassDef_R(klass);
  580|       |		if(!isNull(cld)) {
  581|       |		    PROTECT(cld);
  582|       |		    /* More efficient? can we protect? -- rather *assign* in method-ns?
  583|       |		       static SEXP oldCl = NULL;
  584|       |		       if(!oldCl) oldCl = R_getClassDef("oldClass");
  585|       |		       if(!oldCl) oldCl = mkString("oldClass");
  586|       |		       PROTECT(oldCl);
  587|       |		    */
  588|       |		    if(!R_isVirtualClass(cld, R_MethodsNamespace) &&
  589|       |		       !R_extends(cld, mkString("oldClass"), R_MethodsNamespace)) // set S4 bit :
  590|       |			// !R_extends(cld, oldCl, R_MethodsNamespace)) // set S4 bit :
  591|       |
  592|       |			SET_S4_OBJECT(vec);
  593|       |
  594|       |		    UNPROTECT(1); // UNPROTECT(2);
  595|       |		}
  596|       |	    }
  597|       |#endif
  598|  2.10M|	}
  599|  2.10M|    }
  600|      0|    else
  601|      0|	error(_("attempt to set invalid 'class' attribute"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("attempt to set invalid 'class' attribute"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  602|  2.10M|    return R_NilValue;
  603|  2.10M|}
do_classgets:
  607|    160|{
  608|    160|    checkArity(op, args);
  ------------------
  |  | 1793|    160|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  609|       |    // have 2 args: check1arg(args, call, "x");
  610|       |
  611|    160|    if (MAYBE_SHARED(CAR(args)) ||
  ------------------
  |  Branch (611:9): [True: 0, False: 160]
  ------------------
  612|    160|	((! IS_ASSIGNMENT_CALL(call)) && MAYBE_REFERENCED(CAR(args))))
  ------------------
  |  |  251|      0|#define MAYBE_REFERENCED(x) (! NO_REFERENCES(x))
  |  |  ------------------
  |  |  |  Branch (251:29): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (612:3): [True: 0, False: 160]
  ------------------
  613|      0|	SETCAR(args, shallow_duplicate(CAR(args)));
  ------------------
  |  | 1030|      0|#define shallow_duplicate	Rf_shallow_duplicate
  ------------------
  614|    160|    if (length(CADR(args)) == 0) SETCADR(args, R_NilValue);
  ------------------
  |  |  987|    160|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (614:9): [True: 106, False: 54]
  ------------------
  615|    160|    if(IS_S4_OBJECT(CAR(args)))
  ------------------
  |  Branch (615:8): [True: 0, False: 160]
  ------------------
  616|      0|      UNSET_S4_OBJECT(CAR(args));
  617|    160|    setAttrib(CAR(args), R_ClassSymbol, CADR(args));
  ------------------
  |  | 1027|    160|#define setAttrib		Rf_setAttrib
  ------------------
  618|    160|    SETTER_CLEAR_NAMED(CAR(args));
  619|    160|    return CAR(args);
  620|    160|}
do_class:
  624|  2.51k|{
  625|  2.51k|    checkArity(op, args);
  ------------------
  |  | 1793|  2.51k|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  626|  2.51k|    check1arg(args, call, "x");
  ------------------
  |  | 1872|  2.51k|# define check1arg		Rf_check1arg
  ------------------
  627|  2.51k|    SEXP x = CAR(args), s3class;
  628|  2.51k|    if(IS_S4_OBJECT(x)) {
  ------------------
  |  Branch (628:8): [True: 0, False: 2.51k]
  ------------------
  629|      0|      if((s3class = S3Class(x)) != R_NilValue) {
  ------------------
  |  | 1020|      0|#define S3Class                 Rf_S3Class
  ------------------
  |  Branch (629:10): [True: 0, False: 0]
  ------------------
  630|      0|	return s3class;
  631|      0|      }
  632|      0|    } /* else */
  633|  2.51k|    return getAttrib(x, R_ClassSymbol);
  ------------------
  |  |  924|  2.51k|#define getAttrib		Rf_getAttrib
  ------------------
  634|  2.51k|}
R_data_class:
  668|  13.2k|{
  669|  13.2k|    SEXP value, klass = getAttrib(obj, R_ClassSymbol);
  ------------------
  |  |  924|  13.2k|#define getAttrib		Rf_getAttrib
  ------------------
  670|  13.2k|    int n = length(klass);
  ------------------
  |  |  987|  13.2k|#define length(x)		Rf_length(x)
  ------------------
  671|  13.2k|    if(n == 1 || (n > 0 && !singleString))
  ------------------
  |  Branch (671:8): [True: 2.06k, False: 11.2k]
  |  Branch (671:19): [True: 2.19k, False: 9.03k]
  |  Branch (671:28): [True: 2.19k, False: 0]
  ------------------
  672|  4.25k|	return(klass);
  673|  9.03k|    if(n == 0) {
  ------------------
  |  Branch (673:8): [True: 9.03k, False: 0]
  ------------------
  674|  9.03k|	SEXP dim = getAttrib(obj, R_DimSymbol);
  ------------------
  |  |  924|  9.03k|#define getAttrib		Rf_getAttrib
  ------------------
  675|  9.03k|	int nd = length(dim);
  ------------------
  |  |  987|  9.03k|#define length(x)		Rf_length(x)
  ------------------
  676|  9.03k|	if(nd > 0) {
  ------------------
  |  Branch (676:5): [True: 917, False: 8.11k]
  ------------------
  677|    917|	    if(nd == 2) {
  ------------------
  |  Branch (677:9): [True: 917, False: 0]
  ------------------
  678|    917|		if(singleString)
  ------------------
  |  Branch (678:6): [True: 0, False: 917]
  ------------------
  679|      0|		    klass = mkChar("matrix");
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
  680|    917|		else { // R >= 4.0.0 :  class(<matrix>) |->  c("matrix", "array")
  681|    917|		    PROTECT(klass = allocVector(STRSXP, 2));
  ------------------
  |  |  357|    917|#define PROTECT(s)	Rf_protect(s)
  ------------------
  682|    917|		    SET_STRING_ELT(klass, 0, mkChar("matrix"));
  ------------------
  |  |  998|    917|#define mkChar			Rf_mkChar
  ------------------
  683|    917|		    SET_STRING_ELT(klass, 1, mkChar("array"));
  ------------------
  |  |  998|    917|#define mkChar			Rf_mkChar
  ------------------
  684|    917|		    UNPROTECT(1);
  ------------------
  |  |  358|    917|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  685|    917|		    return klass;
  686|    917|		}
  687|    917|	    }
  688|      0|	    else
  689|      0|		klass = mkChar("array");
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
  690|    917|	}
  691|  8.11k|	else {
  692|  8.11k|	  SEXPTYPE t = TYPEOF(obj);
  693|  8.11k|	  switch(t) {
  694|    952|	  case CLOSXP: case SPECIALSXP: case BUILTINSXP:
  ------------------
  |  |  114|    886|#define CLOSXP	     3	  /* closures */
  ------------------
              	  case CLOSXP: case SPECIALSXP: case BUILTINSXP:
  ------------------
  |  |  118|    942|#define SPECIALSXP   7	  /* special forms */
  ------------------
              	  case CLOSXP: case SPECIALSXP: case BUILTINSXP:
  ------------------
  |  |  119|    952|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (694:4): [True: 886, False: 7.23k]
  |  Branch (694:17): [True: 56, False: 8.06k]
  |  Branch (694:34): [True: 10, False: 8.10k]
  ------------------
  695|    952|	    klass = mkChar("function");
  ------------------
  |  |  998|    952|#define mkChar			Rf_mkChar
  ------------------
  696|    952|	    break;
  697|  1.63k|	  case REALSXP:
  ------------------
  |  |  124|  1.63k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (697:4): [True: 1.63k, False: 6.48k]
  ------------------
  698|  1.63k|	    klass = mkChar("numeric");
  ------------------
  |  |  998|  1.63k|#define mkChar			Rf_mkChar
  ------------------
  699|  1.63k|	    break;
  700|      0|	  case SYMSXP:
  ------------------
  |  |  112|      0|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (700:4): [True: 0, False: 8.11k]
  ------------------
  701|      0|	    klass = mkChar("name");
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
  702|      0|	    break;
  703|      0|	  case LANGSXP:
  ------------------
  |  |  117|      0|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (703:4): [True: 0, False: 8.11k]
  ------------------
  704|      0|	    klass = lang2str(obj);
  705|      0|	    break;
  706|      0|	  case OBJSXP:
  ------------------
  |  |  137|      0|#define OBJSXP      25    /* object, non-vector  */
  ------------------
  |  Branch (706:4): [True: 0, False: 8.11k]
  ------------------
  707|      0|	    klass = mkChar(IS_S4_OBJECT(obj) ? "S4" : "object");
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
  |  Branch (707:21): [True: 0, False: 0]
  ------------------
  708|      0|	    break;
  709|  5.53k|	  default:
  ------------------
  |  Branch (709:4): [True: 5.53k, False: 2.58k]
  ------------------
  710|  5.53k|	    klass = type2str(t);
  ------------------
  |  | 1042|  5.53k|#define type2str		Rf_type2str
  ------------------
  711|  8.11k|	  }
  712|  8.11k|	}
  713|  9.03k|    }
  714|      0|    else
  715|      0|	klass = asChar(klass);
  ------------------
  |  |  882|      0|#define asChar			Rf_asChar
  ------------------
  716|  8.11k|    PROTECT(klass);
  ------------------
  |  |  357|  8.11k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  717|  8.11k|    value = ScalarString(klass);
  ------------------
  |  | 1025|  8.11k|#define ScalarString		Rf_ScalarString
  ------------------
  718|  8.11k|    UNPROTECT(1);
  ------------------
  |  |  358|  8.11k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  719|  8.11k|    return value;
  720|  9.03k|}
Rf_InitS3DefaultTypes:
  814|      2|{
  815|     66|    for(int type = 0; type < MAX_NUM_SEXPTYPE; type++) {
  ------------------
  |  |  184|     66|#define MAX_NUM_SEXPTYPE (1<<TYPE_BITS)
  |  |  ------------------
  |  |  |  |  183|     66|#define TYPE_BITS 5
  |  |  ------------------
  ------------------
  |  Branch (815:23): [True: 64, False: 2]
  ------------------
  816|     64|	SEXP part3 = R_NilValue;
  817|     64|	SEXP part4 = R_NilValue;
  818|     64|	int nprotected = 0;
  819|       |
  820|     64|	switch(type) {
  821|      2|	    case CLOSXP:
  ------------------
  |  |  114|      2|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (821:6): [True: 2, False: 62]
  ------------------
  822|      4|	    case SPECIALSXP:
  ------------------
  |  |  118|      4|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (822:6): [True: 2, False: 62]
  ------------------
  823|      6|	    case BUILTINSXP:
  ------------------
  |  |  119|      6|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (823:6): [True: 2, False: 62]
  ------------------
  824|      6|		part3 = PROTECT(mkChar("function"));
  ------------------
  |  |  357|      6|#define PROTECT(s)	Rf_protect(s)
  ------------------
  825|      6|		nprotected++;
  826|      6|		break;
  827|      2|	    case INTSXP:
  ------------------
  |  |  123|      2|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (827:6): [True: 2, False: 62]
  ------------------
  828|      4|	    case REALSXP:
  ------------------
  |  |  124|      4|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (828:6): [True: 2, False: 62]
  ------------------
  829|      4|		part3 = PROTECT(type2str_nowarn(type));
  ------------------
  |  |  357|      4|#define PROTECT(s)	Rf_protect(s)
  ------------------
  830|      4|		part4 = PROTECT(mkChar("numeric"));
  ------------------
  |  |  357|      4|#define PROTECT(s)	Rf_protect(s)
  ------------------
  831|      4|		nprotected += 2;
  832|      4|		break;
  833|      2|	    case LANGSXP:
  ------------------
  |  |  117|      2|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (833:6): [True: 2, False: 62]
  ------------------
  834|       |		/* part3 remains R_NilValue: default type cannot be
  835|       |		   pre-allocated, as it depends on the object value */
  836|      2|		break;
  837|      2|	    case SYMSXP:
  ------------------
  |  |  112|      2|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (837:6): [True: 2, False: 62]
  ------------------
  838|      2|		part3 = PROTECT(mkChar("name"));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
  839|      2|		nprotected++;
  840|      2|		break;
  841|     50|	    default:
  ------------------
  |  Branch (841:6): [True: 50, False: 14]
  ------------------
  842|     50|		part3 = PROTECT(type2str_nowarn(type));
  ------------------
  |  |  357|     50|#define PROTECT(s)	Rf_protect(s)
  ------------------
  843|     50|		nprotected++;
  844|     64|	}
  845|       |
  846|     64|	Type2DefaultClass[type].vector =
  847|     64|	    createDefaultClass(R_NilValue, R_NilValue, part3, part4);
  848|       |
  849|     64|	SEXP part2 = PROTECT(mkChar("array"));
  ------------------
  |  |  357|     64|#define PROTECT(s)	Rf_protect(s)
  ------------------
  850|     64|	SEXP part1 = PROTECT(mkChar("matrix"));
  ------------------
  |  |  357|     64|#define PROTECT(s)	Rf_protect(s)
  ------------------
  851|     64|	nprotected += 2;
  852|     64|	Type2DefaultClass[type].matrix =
  853|     64|	    createDefaultClass(part1,      part2, part3, part4);
  854|     64|	Type2DefaultClass[type].array =
  855|     64|	    createDefaultClass(R_NilValue, part2, part3, part4);
  856|     64|	UNPROTECT(nprotected);
  ------------------
  |  |  358|     64|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  857|     64|    }
  858|      2|}
R_data_class2:
  862|  2.11M|{
  863|  2.11M|    SEXP klass = getAttrib(obj, R_ClassSymbol);
  ------------------
  |  |  924|  2.11M|#define getAttrib		Rf_getAttrib
  ------------------
  864|  2.11M|    if(length(klass) > 0) {
  ------------------
  |  |  987|  2.11M|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (864:8): [True: 2.10M, False: 8.09k]
  ------------------
  865|  2.10M|	if(IS_S4_OBJECT(obj))
  ------------------
  |  Branch (865:5): [True: 0, False: 2.10M]
  ------------------
  866|      0|	    return S4_extends(klass, TRUE);
  867|  2.10M|	else
  868|  2.10M|	    return klass;
  869|  2.10M|    }
  870|  8.09k|    else { // length(klass) == 0 , i.e., no class *attribute*: attr(obj, "class") is NULL
  871|       |
  872|  8.09k|	SEXP dim = getAttrib(obj, R_DimSymbol);
  ------------------
  |  |  924|  8.09k|#define getAttrib		Rf_getAttrib
  ------------------
  873|  8.09k|	int n = length(dim);
  ------------------
  |  |  987|  8.09k|#define length(x)		Rf_length(x)
  ------------------
  874|  8.09k|	SEXPTYPE t = TYPEOF(obj);
  875|  8.09k|	SEXP defaultClass;
  876|       |
  877|  8.09k|	switch(n) {
  878|  6.85k|	case 0:  defaultClass = Type2DefaultClass[t].vector; break;
  ------------------
  |  Branch (878:2): [True: 6.85k, False: 1.24k]
  ------------------
  879|  1.24k|	case 2:  defaultClass = Type2DefaultClass[t].matrix; break;
  ------------------
  |  Branch (879:2): [True: 1.24k, False: 6.85k]
  ------------------
  880|      0|	default: defaultClass = Type2DefaultClass[t].array;  break;
  ------------------
  |  Branch (880:2): [True: 0, False: 8.09k]
  ------------------
  881|  8.09k|	}
  882|       |
  883|  8.09k|	if (defaultClass != R_NilValue) {
  ------------------
  |  Branch (883:6): [True: 8.06k, False: 36]
  ------------------
  884|  8.06k|	    return defaultClass;
  885|  8.06k|	}
  886|       |
  887|       |	/* now t == LANGSXP, but check to make sure */
  888|     36|	if (t != LANGSXP)
  ------------------
  |  |  117|     36|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (888:6): [True: 0, False: 36]
  ------------------
  889|      0|	    error("type must be LANGSXP at this point");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  890|     36|	if (n == 0) {
  ------------------
  |  Branch (890:6): [True: 36, False: 0]
  ------------------
  891|     36|	    return ScalarString(lang2str(obj));
  ------------------
  |  | 1025|     36|#define ScalarString		Rf_ScalarString
  ------------------
  892|     36|	}
  893|       |	/* Where on earth is this ever needed ??
  894|       |	 * __FIXME / TODO__ ??
  895|       |	 * warning("R_data_class2(<LANGSXP with \"dim\" attribute>) .. please report!");
  896|       |	 */
  897|      0|	int I_mat = (n == 2) ? 1 : 0,
  ------------------
  |  Branch (897:14): [True: 0, False: 0]
  ------------------
  898|      0|	    nprot = 2;  /* part1, defaultClass */
  899|      0|	defaultClass = PROTECT(allocVector(STRSXP, 2 + I_mat));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  900|      0|	SEXP part1 = PROTECT(mkChar("array")), part2;
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  901|      0|	SET_STRING_ELT(defaultClass, 0, part1);
  902|      0|	if (n == 2) {
  ------------------
  |  Branch (902:6): [True: 0, False: 0]
  ------------------
  903|      0|	    part2 = PROTECT(mkChar("matrix")); nprot++;
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  904|      0|	    SET_STRING_ELT(defaultClass, 1, part2);
  905|      0|	}
  906|      0|	SET_STRING_ELT(defaultClass, 1+I_mat, lang2str(obj));
  907|      0|	UNPROTECT(nprot);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  908|      0|	return defaultClass;
  909|     36|    }
  910|  2.11M|}
R_do_data_class:
  914|  1.92k|{
  915|  1.92k|  checkArity(op, args);
  ------------------
  |  | 1793|  1.92k|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  916|  1.92k|  if(PRIMVAL(op) == 1) { // .cache_class() - typically re-defining existing cache
  ------------------
  |  | 1347|  1.92k|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (916:6): [True: 0, False: 1.92k]
  ------------------
  917|      0|      check1arg(args, call, "class");
  ------------------
  |  | 1872|      0|# define check1arg		Rf_check1arg
  ------------------
  918|      0|      SEXP klass = CAR(args);
  919|      0|      if(TYPEOF(klass) != STRSXP || LENGTH(klass) < 1)
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (919:10): [True: 0, False: 0]
  |  Branch (919:37): [True: 0, False: 0]
  ------------------
  920|      0|	  error("invalid class argument to internal .class_cache");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  921|      0|      const char *class = translateChar(STRING_ELT(klass, 0));
  ------------------
  |  | 1037|      0|#define translateChar		Rf_translateChar
  ------------------
  922|      0|      return cache_class(class, CADR(args));
  923|      0|  }
  924|  1.92k|  check1arg(args, call, "x");
  ------------------
  |  | 1872|  1.92k|# define check1arg		Rf_check1arg
  ------------------
  925|  1.92k|  if(PRIMVAL(op) == 2)
  ------------------
  |  | 1347|  1.92k|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (925:6): [True: 0, False: 1.92k]
  ------------------
  926|       |      // .class2()
  927|      0|      return R_data_class2(CAR(args));
  928|       |  // class():
  929|  1.92k|  return R_data_class(CAR(args), FALSE);
  930|  1.92k|}
do_namesgets:
  937|    411|{
  938|    411|    SEXP ans;
  939|    411|    checkArity(op, args);
  ------------------
  |  | 1793|    411|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  940|       |    // 2 args ("x", "value")
  941|       |
  942|       |    /* DispatchOrEval internal generic: names<- */
  943|    411|    if (DispatchOrEval(call, op, "names<-", args, env, &ans, 0, 1))
  ------------------
  |  | 1892|    411|# define DispatchOrEval		Rf_DispatchOrEval
  ------------------
  |  Branch (943:9): [True: 0, False: 411]
  ------------------
  944|      0|	return(ans);
  945|       |    /* Special case: removing non-existent names, to avoid a copy */
  946|    411|    if (CADR(args) == R_NilValue &&
  ------------------
  |  Branch (946:9): [True: 277, False: 134]
  ------------------
  947|    277|	getAttrib(CAR(args), R_NamesSymbol) == R_NilValue)
  ------------------
  |  |  924|    277|#define getAttrib		Rf_getAttrib
  ------------------
  |  Branch (947:2): [True: 275, False: 2]
  ------------------
  948|    275|	return CAR(args);
  949|    136|    PROTECT(args = ans);
  ------------------
  |  |  357|    136|#define PROTECT(s)	Rf_protect(s)
  ------------------
  950|    136|    if (MAYBE_SHARED(CAR(args)) ||
  ------------------
  |  Branch (950:9): [True: 0, False: 136]
  ------------------
  951|    136|	((! IS_ASSIGNMENT_CALL(call)) && MAYBE_REFERENCED(CAR(args))))
  ------------------
  |  |  251|      0|#define MAYBE_REFERENCED(x) (! NO_REFERENCES(x))
  |  |  ------------------
  |  |  |  Branch (251:29): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (951:3): [True: 0, False: 136]
  ------------------
  952|      0|	SETCAR(args, R_shallow_duplicate_attr(CAR(args)));
  953|    136|    if (TYPEOF(CAR(args)) == OBJSXP) {
  ------------------
  |  |  137|    136|#define OBJSXP      25    /* object, non-vector  */
  ------------------
  |  Branch (953:9): [True: 0, False: 136]
  ------------------
  954|      0|	const char *klass = CHAR(STRING_ELT(R_data_class(CAR(args), FALSE), 0));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  955|      0|	error(_("invalid to use names()<- on an S4 object of class '%s'"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid to use names()<- on an S4 object of class '%s'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  956|      0|	      klass);
  957|      0|    }
  958|    136|    SEXP names = CADR(args);
  959|    136|    if (names != R_NilValue &&
  ------------------
  |  Branch (959:9): [True: 134, False: 2]
  ------------------
  960|    134|	! (TYPEOF(names) == STRSXP && ATTRIB(names) == R_NilValue)) {
  ------------------
  |  |  126|    268|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (960:5): [True: 134, False: 0]
  |  Branch (960:32): [True: 132, False: 2]
  ------------------
  961|      2|	PROTECT(call = allocLang(2));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
  962|      2|	SETCAR(call, R_AsCharacterSymbol);
  963|      2|	SETCADR(call, names);
  964|      2|	names = eval(call, env);
  ------------------
  |  |  913|      2|#define eval			Rf_eval
  ------------------
  965|      2|	SETCADR(call, R_NilValue); /* decrements REFCNT on names */
  966|      2|	UNPROTECT(1);
  ------------------
  |  |  358|      2|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  967|      2|    }
  968|       |    /* FIXME:
  969|       |       Need to special-case names(x) <- NULL for 1-d arrays to perform
  970|       |         setAttrib(x, R_DimNamesSymbol, R_NilValue)
  971|       |       (and remove the dimnames) here if we want
  972|       |         setAttrib(x, R_NamesSymbol, R_NilValue)
  973|       |       to actually remove the names, as needed in subset.c.
  974|       |    */
  975|    136|    if(names == R_NilValue && isOneDimensionalArray(CAR(args)))
  ------------------
  |  Branch (975:8): [True: 2, False: 134]
  |  Branch (975:31): [True: 0, False: 2]
  ------------------
  976|      0|	setAttrib(CAR(args), R_DimNamesSymbol, names);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  977|    136|    else
  978|    136|	setAttrib(CAR(args), R_NamesSymbol, names);
  ------------------
  |  | 1027|    136|#define setAttrib		Rf_setAttrib
  ------------------
  979|    136|    UNPROTECT(1);
  ------------------
  |  |  358|    136|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  980|    136|    SETTER_CLEAR_NAMED(CAR(args));
  981|    136|    return CAR(args);
  982|    411|}
Rf_namesgets:
  985|  11.5M|{
  986|  11.5M|    int i;
  987|  11.5M|    SEXP s, rval, tval;
  988|       |
  989|  11.5M|    PROTECT(vec);
  ------------------
  |  |  357|  11.5M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  990|  11.5M|    PROTECT(val);
  ------------------
  |  |  357|  11.5M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  991|       |
  992|       |    /* Ensure that the labels are indeed */
  993|       |    /* a vector of character strings */
  994|       |
  995|  11.5M|    if (isList(val)) {
  ------------------
  |  |  951|  11.5M|#define isList			Rf_isList
  ------------------
  |  Branch (995:9): [True: 0, False: 11.5M]
  ------------------
  996|      0|	if (!isVectorizable(val))
  ------------------
  |  |  976|      0|#define isVectorizable		Rf_isVectorizable
  ------------------
  |  Branch (996:6): [True: 0, False: 0]
  ------------------
  997|      0|	    error(_("incompatible 'names' argument"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("incompatible 'names' argument"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  998|      0|	else {
  999|      0|	    rval = allocVector(STRSXP, length(vec));
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              	    rval = allocVector(STRSXP, length(vec));
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
              	    rval = allocVector(STRSXP, length(vec));
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
 1000|      0|	    PROTECT(rval);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1001|       |	    /* See PR#10807 */
 1002|      0|	    for (i = 0, tval = val;
 1003|      0|		 i < length(vec) && tval != R_NilValue;
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1003:4): [True: 0, False: 0]
  |  Branch (1003:23): [True: 0, False: 0]
  ------------------
 1004|      0|		 i++, tval = CDR(tval)) {
 1005|      0|		s = coerceVector(CAR(tval), STRSXP);
  ------------------
  |  |  895|      0|#define coerceVector		Rf_coerceVector
  ------------------
              		s = coerceVector(CAR(tval), STRSXP);
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
 1006|      0|		SET_STRING_ELT(rval, i, STRING_ELT(s, 0));
 1007|      0|	    }
 1008|      0|	    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1009|      0|	    val = rval;
 1010|      0|	}
 1011|  11.5M|    } else val = coerceVector(val, STRSXP);
  ------------------
  |  |  895|  11.5M|#define coerceVector		Rf_coerceVector
  ------------------
                  } else val = coerceVector(val, STRSXP);
  ------------------
  |  |  126|  11.5M|#define STRSXP	    16	  /* string vectors */
  ------------------
 1012|  11.5M|    UNPROTECT(1);
  ------------------
  |  |  358|  11.5M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1013|  11.5M|    PROTECT(val);
  ------------------
  |  |  357|  11.5M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1014|       |
 1015|       |    /* Check that the lengths and types are compatible */
 1016|  11.5M|    if (xlength(val) < xlength(vec)) { // recycle
  ------------------
  |  | 1049|  11.5M|#define xlength(x)		Rf_xlength(x)
  ------------------
                  if (xlength(val) < xlength(vec)) { // recycle
  ------------------
  |  | 1049|  11.5M|#define xlength(x)		Rf_xlength(x)
  ------------------
  |  Branch (1016:9): [True: 0, False: 11.5M]
  ------------------
 1017|      0|	val = xlengthgets(val, xlength(vec));
  ------------------
  |  | 1050|      0|#define xlengthgets		Rf_xlengthgets
  ------------------
              	val = xlengthgets(val, xlength(vec));
  ------------------
  |  | 1049|      0|#define xlength(x)		Rf_xlength(x)
  ------------------
 1018|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1019|      0|	PROTECT(val);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1020|      0|    }
 1021|       |
 1022|  11.5M|    checkNames(vec, val);
 1023|       |
 1024|       |    /* Special treatment for one dimensional arrays */
 1025|  11.5M|    if(isOneDimensionalArray(vec)) {
  ------------------
  |  Branch (1025:8): [True: 0, False: 11.5M]
  ------------------
 1026|      0|	PROTECT(val = CONS(val, R_NilValue));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1027|      0|	setAttrib(vec, R_DimNamesSymbol, val);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
 1028|      0|	UNPROTECT(3);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1029|      0|	return vec;
 1030|      0|    }
 1031|       |
 1032|  11.5M|    if (isList(vec) || isLanguage(vec)) {
  ------------------
  |  |  951|  11.5M|#define isList			Rf_isList
  ------------------
                  if (isList(vec) || isLanguage(vec)) {
  ------------------
  |  |  950|  11.5M|#define isLanguage		Rf_isLanguage
  ------------------
  |  Branch (1032:9): [True: 0, False: 11.5M]
  |  Branch (1032:24): [True: 0, False: 11.5M]
  ------------------
 1033|       |	/* Cons-cell based objects */
 1034|      0|	i = 0;
 1035|      0|	for (s = vec; s != R_NilValue; s = CDR(s), i++)
  ------------------
  |  Branch (1035:16): [True: 0, False: 0]
  ------------------
 1036|      0|	    if (STRING_ELT(val, i) != R_NilValue
  ------------------
  |  Branch (1036:10): [True: 0, False: 0]
  ------------------
 1037|      0|		&& STRING_ELT(val, i) != R_NaString
  ------------------
  |  Branch (1037:6): [True: 0, False: 0]
  ------------------
 1038|      0|		&& *CHAR(STRING_ELT(val, i)) != 0) /* test of length */
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (1038:6): [True: 0, False: 0]
  ------------------
 1039|      0|		SET_TAG(s, installTrChar(STRING_ELT(val, i)));
  ------------------
  |  |  937|      0|#define installTrChar		Rf_installTrChar
  ------------------
 1040|      0|	    else
 1041|      0|		SET_TAG(s, R_NilValue);
 1042|      0|    }
 1043|  11.5M|    else if (isVector(vec) || IS_S4_OBJECT(vec))
  ------------------
  |  |  974|  11.5M|#define isVector		Rf_isVector
  ------------------
  |  Branch (1043:14): [True: 11.5M, False: 0]
  |  Branch (1043:31): [True: 0, False: 0]
  ------------------
 1044|       |	/* Normal case */
 1045|  11.5M|	installAttrib(vec, R_NamesSymbol, val);
 1046|      0|    else
 1047|      0|	error(_("invalid type (%s) to set 'names' attribute"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid type (%s) to set 'names' attribute"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1048|      0|	      R_typeToChar(vec));
 1049|  11.5M|    UNPROTECT(2);
  ------------------
  |  |  358|  11.5M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1050|  11.5M|    return vec;
 1051|  11.5M|}
do_names:
 1057|  3.15M|{
 1058|  3.15M|    SEXP ans;
 1059|  3.15M|    checkArity(op, args);
  ------------------
  |  | 1793|  3.15M|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1060|  3.15M|    check1arg(args, call, "x");
  ------------------
  |  | 1872|  3.15M|# define check1arg		Rf_check1arg
  ------------------
 1061|       |    /* DispatchOrEval internal generic: names */
 1062|  3.15M|    if (DispatchOrEval(call, op, "names", args, env, &ans, 0, 1))
  ------------------
  |  | 1892|  3.15M|# define DispatchOrEval		Rf_DispatchOrEval
  ------------------
  |  Branch (1062:9): [True: 0, False: 3.15M]
  ------------------
 1063|      0|	return(ans);
 1064|  3.15M|    PROTECT(args = ans);
  ------------------
  |  |  357|  3.15M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1065|  3.15M|    ans = CAR(args);
 1066|  3.15M|    if (isEnvironment(ans) || isS4Environment(ans))
  ------------------
  |  |  944|  3.15M|#define isEnvironment		Rf_isEnvironment
  ------------------
                  if (isEnvironment(ans) || isS4Environment(ans))
  ------------------
  |  | 1053|  3.15M|#define isS4Environment(x) (TYPEOF(x) == OBJSXP &&	\
  |  |  ------------------
  |  |  |  |  137|  6.31M|#define OBJSXP      25    /* object, non-vector  */
  |  |  ------------------
  |  |  |  Branch (1053:29): [True: 0, False: 3.15M]
  |  |  ------------------
  |  | 1054|  3.15M|			    isEnvironment(R_getS4DataSlot(x, ENVSXP)))
  |  |  ------------------
  |  |  |  |  944|      0|#define isEnvironment		Rf_isEnvironment
  |  |  ------------------
  |  |               			    isEnvironment(R_getS4DataSlot(x, ENVSXP)))
  |  |  ------------------
  |  |  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  |  |  ------------------
  |  |  |  Branch (1054:8): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1066:9): [True: 166, False: 3.15M]
  ------------------
 1067|    166|	ans = R_lsInternal3(ans, TRUE, FALSE);
 1068|  3.15M|    else if (isVector(ans) || isList(ans) || isLanguage(ans) || IS_S4_OBJECT(ans) || TYPEOF(ans) == DOTSXP)
  ------------------
  |  |  974|  3.15M|#define isVector		Rf_isVector
  ------------------
                  else if (isVector(ans) || isList(ans) || isLanguage(ans) || IS_S4_OBJECT(ans) || TYPEOF(ans) == DOTSXP)
  ------------------
  |  |  951|  1.74k|#define isList			Rf_isList
  ------------------
                  else if (isVector(ans) || isList(ans) || isLanguage(ans) || IS_S4_OBJECT(ans) || TYPEOF(ans) == DOTSXP)
  ------------------
  |  |  950|  1.73k|#define isLanguage		Rf_isLanguage
  ------------------
                  else if (isVector(ans) || isList(ans) || isLanguage(ans) || IS_S4_OBJECT(ans) || TYPEOF(ans) == DOTSXP)
  ------------------
  |  |  127|      0|#define DOTSXP	    17	  /* dot-dot-dot object */
  ------------------
  |  Branch (1068:14): [True: 3.15M, False: 1.74k]
  |  Branch (1068:31): [True: 8, False: 1.73k]
  |  Branch (1068:46): [True: 1.73k, False: 0]
  |  Branch (1068:65): [True: 0, False: 0]
  |  Branch (1068:86): [True: 0, False: 0]
  ------------------
 1069|  3.15M|	ans = getAttrib(ans, R_NamesSymbol);
  ------------------
  |  |  924|  3.15M|#define getAttrib		Rf_getAttrib
  ------------------
 1070|      0|    else ans = R_NilValue;
 1071|  3.15M|    UNPROTECT(1);
  ------------------
  |  |  358|  3.15M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1072|  3.15M|    return ans;
 1073|  3.15M|}
Rf_dimnamesgets:
 1115|  16.5k|{
 1116|  16.5k|    PROTECT(vec);
  ------------------
  |  |  357|  16.5k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1117|  16.5k|    PROTECT(val);
  ------------------
  |  |  357|  16.5k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1118|       |
 1119|  16.5k|    if (!isArray(vec) && !isList(vec))
  ------------------
  |  |  940|  16.5k|#define isArray			Rf_isArray
  ------------------
                  if (!isArray(vec) && !isList(vec))
  ------------------
  |  |  951|      0|#define isList			Rf_isList
  ------------------
  |  Branch (1119:9): [True: 0, False: 16.5k]
  |  Branch (1119:26): [True: 0, False: 0]
  ------------------
 1120|      0|	error(_("'dimnames' applied to non-array"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'dimnames' applied to non-array"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1121|       |    /* This is probably overkill, but you never know; */
 1122|       |    /* there may be old pair-lists out there */
 1123|       |    /* There are, when this gets used as names<- for 1-d arrays */
 1124|  16.5k|    if (!isList(val) && !isNewList(val))
  ------------------
  |  |  951|  16.5k|#define isList			Rf_isList
  ------------------
                  if (!isList(val) && !isNewList(val))
  ------------------
  |  |  955|  16.5k|#define isNewList		Rf_isNewList
  ------------------
  |  Branch (1124:9): [True: 16.5k, False: 0]
  |  Branch (1124:25): [True: 0, False: 16.5k]
  ------------------
 1125|      0|	error(_("'%s' must be a list"), "dimnames");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'%s' must be a list"), "dimnames");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1126|  16.5k|    SEXP dims = getAttrib(vec, R_DimSymbol);
  ------------------
  |  |  924|  16.5k|#define getAttrib		Rf_getAttrib
  ------------------
 1127|  16.5k|    int k = LENGTH(dims);
 1128|  16.5k|    if (k < length(val))
  ------------------
  |  |  987|  16.5k|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1128:9): [True: 0, False: 16.5k]
  ------------------
 1129|      0|	error(_("length of 'dimnames' [%d] must match that of 'dims' [%d]"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("length of 'dimnames' [%d] must match that of 'dims' [%d]"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1130|      0|	      length(val), k);
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
 1131|  16.5k|    if (length(val) == 0) {
  ------------------
  |  |  987|  16.5k|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1131:9): [True: 0, False: 16.5k]
  ------------------
 1132|      0|	removeAttrib(vec, R_DimNamesSymbol);
 1133|      0|	UNPROTECT(2);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1134|      0|	return vec;
 1135|      0|    }
 1136|       |    /* Old list to new list */
 1137|  16.5k|    SEXP newval;
 1138|  16.5k|    if (isList(val)) {
  ------------------
  |  |  951|  16.5k|#define isList			Rf_isList
  ------------------
  |  Branch (1138:9): [True: 0, False: 16.5k]
  ------------------
 1139|      0|	newval = allocVector(VECSXP, k);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              	newval = allocVector(VECSXP, k);
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
 1140|      0|	for (int i = 0; i < k; i++) {
  ------------------
  |  Branch (1140:18): [True: 0, False: 0]
  ------------------
 1141|      0|	    SET_VECTOR_ELT(newval, i, CAR(val));
 1142|      0|	    val = CDR(val);
 1143|      0|	}
 1144|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1145|      0|	PROTECT(val = newval);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1146|      0|    }
 1147|  16.5k|    if (length(val) > 0 && length(val) < k) {
  ------------------
  |  |  987|  16.5k|#define length(x)		Rf_length(x)
  ------------------
                  if (length(val) > 0 && length(val) < k) {
  ------------------
  |  |  987|  16.5k|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1147:9): [True: 16.5k, False: 0]
  |  Branch (1147:28): [True: 0, False: 16.5k]
  ------------------
 1148|      0|	newval = lengthgets(val, k);
  ------------------
  |  |  988|      0|#define lengthgets		Rf_lengthgets
  ------------------
 1149|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1150|      0|	PROTECT(val = newval);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1151|      0|    }
 1152|  16.5k|    if (MAYBE_REFERENCED(val)) {
  ------------------
  |  |  251|  16.5k|#define MAYBE_REFERENCED(x) (! NO_REFERENCES(x))
  |  |  ------------------
  |  |  |  Branch (251:29): [True: 5.33k, False: 11.2k]
  |  |  ------------------
  ------------------
 1153|  5.33k|	newval = shallow_duplicate(val);
  ------------------
  |  | 1030|  5.33k|#define shallow_duplicate	Rf_shallow_duplicate
  ------------------
 1154|  5.33k|	UNPROTECT(1);
  ------------------
  |  |  358|  5.33k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1155|  5.33k|	PROTECT(val = newval);
  ------------------
  |  |  357|  5.33k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1156|  5.33k|    }
 1157|  16.5k|    if (k != length(val))
  ------------------
  |  |  987|  16.5k|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1157:9): [True: 0, False: 16.5k]
  ------------------
 1158|      0|	error(_("length of 'dimnames' [%d] must match that of 'dims' [%d]"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("length of 'dimnames' [%d] must match that of 'dims' [%d]"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1159|      0|	      length(val), k);
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
 1160|  49.6k|    for (int i = 0; i < k; i++) {
  ------------------
  |  Branch (1160:21): [True: 33.0k, False: 16.5k]
  ------------------
 1161|  33.0k|	SEXP _this = VECTOR_ELT(val, i);
 1162|  33.0k|	if (_this != R_NilValue) {
  ------------------
  |  Branch (1162:6): [True: 17.9k, False: 15.1k]
  ------------------
 1163|  17.9k|	    if (!isVector(_this))
  ------------------
  |  |  974|  17.9k|#define isVector		Rf_isVector
  ------------------
  |  Branch (1163:10): [True: 0, False: 17.9k]
  ------------------
 1164|      0|		error(_("invalid type (%s) for 'dimnames' (must be a vector)"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("invalid type (%s) for 'dimnames' (must be a vector)"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1165|      0|		      R_typeToChar(_this));
 1166|  17.9k|	    if (INTEGER(dims)[i] != LENGTH(_this) && LENGTH(_this) != 0)
  ------------------
  |  Branch (1166:10): [True: 0, False: 17.9k]
  |  Branch (1166:47): [True: 0, False: 0]
  ------------------
 1167|      0|		error(_("length of 'dimnames' [%d] not equal to array extent"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("length of 'dimnames' [%d] not equal to array extent"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1168|      0|		      i+1);
 1169|  17.9k|	    SET_VECTOR_ELT(val, i, as_char_simpl(_this));
 1170|  17.9k|	}
 1171|  33.0k|    }
 1172|  16.5k|    installAttrib(vec, R_DimNamesSymbol, val);
 1173|  16.5k|    if (isList(vec) && k == 1) {
  ------------------
  |  |  951|  16.5k|#define isList			Rf_isList
  ------------------
  |  Branch (1173:9): [True: 0, False: 16.5k]
  |  Branch (1173:24): [True: 0, False: 0]
  ------------------
 1174|      0|	SEXP top = VECTOR_ELT(val, 0);
 1175|      0|	int i = 0;
 1176|      0|	for (val = vec; !isNull(val); val = CDR(val))
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
  |  Branch (1176:18): [True: 0, False: 0]
  ------------------
 1177|      0|	    SET_TAG(val, installTrChar(STRING_ELT(top, i++)));
  ------------------
  |  |  937|      0|#define installTrChar		Rf_installTrChar
  ------------------
 1178|      0|    }
 1179|  16.5k|    UNPROTECT(2);
  ------------------
  |  |  358|  16.5k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1180|       |
 1181|       |    /* Mark as immutable so nested complex assignment can't make the
 1182|       |       dimnames attribute inconsistent with the length */
 1183|  16.5k|    MARK_NOT_MUTABLE(val);
 1184|       |
 1185|  16.5k|    return vec;
 1186|  16.5k|}
do_dimnames:
 1189|    627|{
 1190|    627|    SEXP ans;
 1191|    627|    checkArity(op, args);
  ------------------
  |  | 1793|    627|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1192|    627|    check1arg(args, call, "x");
  ------------------
  |  | 1872|    627|# define check1arg		Rf_check1arg
  ------------------
 1193|       |    /* DispatchOrEval internal generic: dimnames */
 1194|    627|    if (DispatchOrEval(call, op, "dimnames", args, env, &ans, 0, 1))
  ------------------
  |  | 1892|    627|# define DispatchOrEval		Rf_DispatchOrEval
  ------------------
  |  Branch (1194:9): [True: 305, False: 322]
  ------------------
 1195|    305|	return(ans);
 1196|    322|    PROTECT(args = ans);
  ------------------
  |  |  357|    322|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1197|    322|    ans = getAttrib(CAR(args), R_DimNamesSymbol);
  ------------------
  |  |  924|    322|#define getAttrib		Rf_getAttrib
  ------------------
 1198|    322|    UNPROTECT(1);
  ------------------
  |  |  358|    322|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1199|    322|    return ans;
 1200|    627|}
do_dim:
 1203|  10.0k|{
 1204|  10.0k|    checkArity(op, args);
  ------------------
  |  | 1793|  10.0k|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1205|  10.0k|    check1arg(args, call, "x");
  ------------------
  |  | 1872|  10.0k|# define check1arg		Rf_check1arg
  ------------------
 1206|       |
 1207|  10.0k|    SEXP ans;
 1208|       |    /* DispatchOrEval internal generic: dim */
 1209|  10.0k|    if (DispatchOrEval(call, op, "dim", args, env, &ans, 0, /* argsevald: */ 1))
  ------------------
  |  | 1892|  10.0k|# define DispatchOrEval		Rf_DispatchOrEval
  ------------------
  |  Branch (1209:9): [True: 0, False: 10.0k]
  ------------------
 1210|      0|	return(ans);
 1211|  10.0k|    PROTECT(args = ans);
  ------------------
  |  |  357|  10.0k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1212|  10.0k|    ans = getAttrib(CAR(args), R_DimSymbol);
  ------------------
  |  |  924|  10.0k|#define getAttrib		Rf_getAttrib
  ------------------
 1213|  10.0k|    UNPROTECT(1);
  ------------------
  |  |  358|  10.0k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1214|  10.0k|    return ans;
 1215|  10.0k|}
Rf_dimgets:
 1245|  30.0k|{
 1246|  30.0k|    PROTECT(vec);
  ------------------
  |  |  357|  30.0k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1247|  30.0k|    PROTECT(val);
  ------------------
  |  |  357|  30.0k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1248|  30.0k|    if (!isVector(vec) && !isList(vec))
  ------------------
  |  |  974|  30.0k|#define isVector		Rf_isVector
  ------------------
                  if (!isVector(vec) && !isList(vec))
  ------------------
  |  |  951|      0|#define isList			Rf_isList
  ------------------
  |  Branch (1248:9): [True: 0, False: 30.0k]
  |  Branch (1248:27): [True: 0, False: 0]
  ------------------
 1249|      0|	error(_("invalid first argument, must be %s"), "vector (list or atomic)");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid first argument, must be %s"), "vector (list or atomic)");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1250|  30.0k|    if (val != R_NilValue && !isVectorAtomic(val))
  ------------------
  |  |  975|  30.0k|#define isVectorAtomic		Rf_isVectorAtomic
  ------------------
  |  Branch (1250:9): [True: 30.0k, False: 0]
  |  Branch (1250:30): [True: 0, False: 30.0k]
  ------------------
 1251|      0|	error(_("invalid second argument, must be %s"), "vector or NULL");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid second argument, must be %s"), "vector or NULL");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1252|  30.0k|    val = coerceVector(val, INTSXP);
  ------------------
  |  |  895|  30.0k|#define coerceVector		Rf_coerceVector
  ------------------
                  val = coerceVector(val, INTSXP);
  ------------------
  |  |  123|  30.0k|#define INTSXP	    13	  /* integer vectors */
  ------------------
 1253|  30.0k|    UNPROTECT(1);
  ------------------
  |  |  358|  30.0k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1254|  30.0k|    PROTECT(val);
  ------------------
  |  |  357|  30.0k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1255|       |
 1256|  30.0k|    bool err;
 1257|  30.0k|    R_xlen_t total = dim2total(val, &err);
 1258|  30.0k|    if(err) error(_("too many elements specified"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  if(err) error(_("too many elements specified"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (1258:8): [True: 0, False: 30.0k]
  ------------------
 1259|  30.0k|    R_xlen_t len = xlength(vec);
  ------------------
  |  | 1049|  30.0k|#define xlength(x)		Rf_xlength(x)
  ------------------
 1260|  30.0k|    if (total != len) {
  ------------------
  |  Branch (1260:9): [True: 0, False: 30.0k]
  ------------------
 1261|      0|	error(_("dims [product %lld] do not match the length of object [%lld]"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("dims [product %lld] do not match the length of object [%lld]"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1262|      0|	      (long long)total, (long long)len);
 1263|      0|    }
 1264|       |#if 0
 1265|       |// currently it is documented that `dim<-` removes dimnames() .. but ..
 1266|       |    int ndim = LENGTH(val);
 1267|       |    SEXP odim = getAttrib0(vec, R_DimSymbol); // keep dimnames(.) if dim() entries are unchanged
 1268|       |    if((LENGTH(odim) != ndim) || memcmp((void *)INTEGER(odim),
 1269|       |					(void *)INTEGER(val), ndim * sizeof(int)))
 1270|       |#endif
 1271|  30.0k|	removeAttrib(vec, R_DimNamesSymbol);
 1272|  30.0k|    installAttrib(vec, R_DimSymbol, val);
 1273|       |
 1274|       |    /* Mark as immutable so nested complex assignment can't make the
 1275|       |       dim attribute inconsistent with the length */
 1276|  30.0k|    MARK_NOT_MUTABLE(val);
 1277|       |
 1278|  30.0k|    UNPROTECT(2);
  ------------------
  |  |  358|  30.0k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1279|  30.0k|    return vec;
 1280|  30.0k|}
R_getAttributes:
 1283|  2.10M|{
 1284|  2.10M|    if (TYPEOF(x) == ENVSXP)
  ------------------
  |  |  115|  2.10M|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (1284:9): [True: 0, False: 2.10M]
  ------------------
 1285|      0|	R_CheckStack(); /* in case attributes might lead to a cycle */
 1286|       |
 1287|  2.10M|    SEXP attrs = ATTRIB(x), namesattr;
 1288|  2.10M|    int nvalues = length(attrs);
  ------------------
  |  |  987|  2.10M|#define length(x)		Rf_length(x)
  ------------------
 1289|  2.10M|    if (isList(x)) {
  ------------------
  |  |  951|  2.10M|#define isList			Rf_isList
  ------------------
  |  Branch (1289:9): [True: 0, False: 2.10M]
  ------------------
 1290|      0|	namesattr = getAttrib(x, R_NamesSymbol);
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
 1291|      0|	if (namesattr != R_NilValue)
  ------------------
  |  Branch (1291:6): [True: 0, False: 0]
  ------------------
 1292|      0|	    nvalues++;
 1293|      0|    } else
 1294|  2.10M|	namesattr = R_NilValue;
 1295|       |    /* FIXME */
 1296|  2.10M|    if (nvalues <= 0)
  ------------------
  |  Branch (1296:9): [True: 1.44k, False: 2.10M]
  ------------------
 1297|  1.44k|	return R_NilValue;
 1298|       |    /* FIXME */
 1299|  2.10M|    SEXP value, names;
 1300|  2.10M|    PROTECT(namesattr);
  ------------------
  |  |  357|  2.10M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1301|  2.10M|    PROTECT(value = allocVector(VECSXP, nvalues));
  ------------------
  |  |  357|  2.10M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1302|  2.10M|    PROTECT(names = allocVector(STRSXP, nvalues));
  ------------------
  |  |  357|  2.10M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1303|  2.10M|    nvalues = 0;
 1304|  2.10M|    if (namesattr != R_NilValue) {
  ------------------
  |  Branch (1304:9): [True: 0, False: 2.10M]
  ------------------
 1305|      0|	SET_VECTOR_ELT(value, nvalues, namesattr);
 1306|      0|	SET_STRING_ELT(names, nvalues, PRINTNAME(R_NamesSymbol));
 1307|      0|	nvalues++;
 1308|      0|    }
 1309|  4.20M|    while (attrs != R_NilValue) {
  ------------------
  |  Branch (1309:12): [True: 2.10M, False: 2.10M]
  ------------------
 1310|  2.10M|	SEXP tag = TAG(attrs);
 1311|  2.10M|	if (TYPEOF(tag) == SYMSXP) {
  ------------------
  |  |  112|  2.10M|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (1311:6): [True: 2.10M, False: 0]
  ------------------
 1312|  2.10M|	    SET_VECTOR_ELT(value, nvalues, getAttrib(x, tag));
  ------------------
  |  |  924|  2.10M|#define getAttrib		Rf_getAttrib
  ------------------
 1313|  2.10M|	    SET_STRING_ELT(names, nvalues, PRINTNAME(tag));
 1314|  2.10M|	}
 1315|      0|	else { // empty tag, hence name = ""
 1316|      0|	    MARK_NOT_MUTABLE(CAR(attrs));
 1317|      0|	    SET_VECTOR_ELT(value, nvalues, CAR(attrs));
 1318|      0|	    SET_STRING_ELT(names, nvalues, R_BlankString);
 1319|      0|	}
 1320|  2.10M|	attrs = CDR(attrs);
 1321|  2.10M|	nvalues++;
 1322|  2.10M|    }
 1323|  2.10M|    setAttrib(value, R_NamesSymbol, names);
  ------------------
  |  | 1027|  2.10M|#define setAttrib		Rf_setAttrib
  ------------------
 1324|  2.10M|    UNPROTECT(3);
  ------------------
  |  |  358|  2.10M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1325|  2.10M|    return value;
 1326|  2.10M|}
do_attributes:
 1329|  2.10M|{
 1330|  2.10M|    checkArity(op, args);
  ------------------
  |  | 1793|  2.10M|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1331|  2.10M|    check1arg(args, call, "x");
  ------------------
  |  | 1872|  2.10M|# define check1arg		Rf_check1arg
  ------------------
 1332|  2.10M|    return R_getAttributes(CAR(args));
 1333|  2.10M|}
do_attributesgets:
 1361|  2.09M|{
 1362|       |/* NOTE: The following code ensures that when an attribute list */
 1363|       |/* is attached to an object, that the "dim" attribute is always */
 1364|       |/* brought to the front of the list.  This ensures that when both */
 1365|       |/* "dim" and "dimnames" are set that the "dim" is attached first. */
 1366|       |
 1367|       |    /* Extract the arguments from the argument list */
 1368|       |
 1369|  2.09M|    checkArity(op, args);
  ------------------
  |  | 1793|  2.09M|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1370|       |
 1371|  2.09M|    SEXP object = CAR(args),
 1372|  2.09M|	attrs = CADR(args), names;
 1373|       |
 1374|       |    /* Do checks before duplication */
 1375|  2.09M|    if (!isNewList(attrs))
  ------------------
  |  |  955|  2.09M|#define isNewList		Rf_isNewList
  ------------------
  |  Branch (1375:9): [True: 0, False: 2.09M]
  ------------------
 1376|      0|	error(_("attributes must be a list or NULL"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("attributes must be a list or NULL"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1377|  2.09M|    int i, nattrs = length(attrs);
  ------------------
  |  |  987|  2.09M|#define length(x)		Rf_length(x)
  ------------------
 1378|  2.09M|    if (nattrs > 0) {
  ------------------
  |  Branch (1378:9): [True: 2.09M, False: 644]
  ------------------
 1379|  2.09M|	names = getAttrib(attrs, R_NamesSymbol);
  ------------------
  |  |  924|  2.09M|#define getAttrib		Rf_getAttrib
  ------------------
 1380|  2.09M|	if (names == R_NilValue)
  ------------------
  |  Branch (1380:6): [True: 0, False: 2.09M]
  ------------------
 1381|      0|	    error(_("attributes must be named"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("attributes must be named"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1382|  4.19M|	for (i = 1; i < nattrs; i++) {
  ------------------
  |  Branch (1382:14): [True: 2.09M, False: 2.09M]
  ------------------
 1383|  2.09M|	    if (STRING_ELT(names, i) == R_NilValue ||
  ------------------
  |  Branch (1383:10): [True: 0, False: 2.09M]
  ------------------
 1384|  2.09M|		CHAR(STRING_ELT(names, i))[0] == '\0') { /* all ASCII tests */
  ------------------
  |  |  203|  2.09M|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (1384:3): [True: 0, False: 2.09M]
  ------------------
 1385|      0|		error(_("all attributes must have names [%d does not]"), i+1);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("all attributes must have names [%d does not]"), i+1);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1386|      0|	    }
 1387|  2.09M|	}
 1388|  2.09M|    } else
 1389|    644|	names = R_NilValue; // -Wall
 1390|       |
 1391|  2.09M|    PROTECT(names);
  ------------------
  |  |  357|  2.09M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1392|  2.09M|    if (object == R_NilValue) {
  ------------------
  |  Branch (1392:9): [True: 0, False: 2.09M]
  ------------------
 1393|      0|	if (attrs == R_NilValue) {
  ------------------
  |  Branch (1393:6): [True: 0, False: 0]
  ------------------
 1394|      0|	    UNPROTECT(1); /* names */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1395|      0|	    return R_NilValue;
 1396|      0|	} else
 1397|      0|	    PROTECT(object = allocVector(VECSXP, 0));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1398|  2.09M|    } else {
 1399|       |	/* Unlikely to have NAMED == 0 here.
 1400|       |	   As from R 2.7.0 we don't optimize NAMED == 1 _if_ we are
 1401|       |	   setting any attributes as an error later on would leave
 1402|       |	   'obj' changed */
 1403|  2.09M|	if (MAYBE_SHARED(object) || (MAYBE_REFERENCED(object) && nattrs) ||
  ------------------
  |  |  251|  4.19M|#define MAYBE_REFERENCED(x) (! NO_REFERENCES(x))
  |  |  ------------------
  |  |  |  Branch (251:29): [True: 2.09M, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1403:6): [True: 0, False: 2.09M]
  |  Branch (1403:59): [True: 2.09M, False: 644]
  ------------------
 1404|    644|	    ((! IS_ASSIGNMENT_CALL(call)) && MAYBE_REFERENCED(object)))
  ------------------
  |  |  251|      0|#define MAYBE_REFERENCED(x) (! NO_REFERENCES(x))
  |  |  ------------------
  |  |  |  Branch (251:29): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1404:7): [True: 0, False: 644]
  ------------------
 1405|  2.09M|	    object = R_shallow_duplicate_attr(object);
 1406|  2.09M|	PROTECT(object);
  ------------------
  |  |  357|  2.09M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1407|  2.09M|    }
 1408|       |
 1409|       |
 1410|       |    /* Empty the existing attribute list */
 1411|       |
 1412|       |    /* FIXME: the code below treats pair-based structures */
 1413|       |    /* in a special way.  This can probably be dropped down */
 1414|       |    /* the road (users should never encounter pair-based lists). */
 1415|       |    /* Of course, if we want backward compatibility we can't */
 1416|       |    /* make the change. :-( */
 1417|       |
 1418|  2.09M|    if (isList(object))
  ------------------
  |  |  951|  2.09M|#define isList			Rf_isList
  ------------------
  |  Branch (1418:9): [True: 0, False: 2.09M]
  ------------------
 1419|      0|	setAttrib(object, R_NamesSymbol, R_NilValue);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
 1420|  2.09M|    SET_ATTRIB(object, R_NilValue);
 1421|       |    /* We have just removed the class, but might reset it later */
 1422|  2.09M|    SET_OBJECT(object, 0);
 1423|       |    /* Probably need to fix up S4 bit in other cases, but
 1424|       |       definitely in this one */
 1425|  2.09M|    if(nattrs == 0) UNSET_S4_OBJECT(object);
  ------------------
  |  Branch (1425:8): [True: 644, False: 2.09M]
  ------------------
 1426|       |
 1427|       |    /* We do two passes through the attributes; the first */
 1428|       |    /* finding and transferring "dim" and the second */
 1429|       |    /* transferring the rest.  This is to ensure that */
 1430|       |    /* "dim" occurs in the attribute list before "dimnames". */
 1431|       |
 1432|  2.09M|    if (nattrs > 0) {
  ------------------
  |  Branch (1432:9): [True: 2.09M, False: 644]
  ------------------
 1433|  2.09M|	int i0 = -1;
 1434|  6.29M|	for (i = 0; i < nattrs; i++) {
  ------------------
  |  Branch (1434:14): [True: 4.19M, False: 2.09M]
  ------------------
 1435|  4.19M|	    if (!strcmp(CHAR(STRING_ELT(names, i)), "dim")) {
  ------------------
  |  |  203|  4.19M|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (1435:10): [True: 0, False: 4.19M]
  ------------------
 1436|      0|		i0 = i;
 1437|      0|		setAttrib(object, R_DimSymbol, VECTOR_ELT(attrs, i));
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
 1438|      0|		break;
 1439|      0|	    }
 1440|  4.19M|	}
 1441|  6.29M|	for (i = 0; i < nattrs; i++) {
  ------------------
  |  Branch (1441:14): [True: 4.19M, False: 2.09M]
  ------------------
 1442|  4.19M|	    if (i == i0) continue;
  ------------------
  |  Branch (1442:10): [True: 0, False: 4.19M]
  ------------------
 1443|  4.19M|	    setAttrib(object, installTrChar(STRING_ELT(names, i)),
  ------------------
  |  | 1027|  4.19M|#define setAttrib		Rf_setAttrib
  ------------------
              	    setAttrib(object, installTrChar(STRING_ELT(names, i)),
  ------------------
  |  |  937|  4.19M|#define installTrChar		Rf_installTrChar
  ------------------
 1444|  4.19M|		      VECTOR_ELT(attrs, i));
 1445|  4.19M|	}
 1446|  2.09M|    }
 1447|  2.09M|    UNPROTECT(2); /* names, object */
  ------------------
  |  |  358|  2.09M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1448|  2.09M|    return object;
 1449|  2.09M|}
do_attr:
 1469|  1.21k|{
 1470|  1.21k|    SEXP argList, s, t, tag = R_NilValue, alist, ans;
 1471|  1.21k|    const char *str;
 1472|  1.21k|    int nargs = length(args), exact = 0;
  ------------------
  |  |  987|  1.21k|#define length(x)		Rf_length(x)
  ------------------
 1473|  1.21k|    enum { NONE, PARTIAL, PARTIAL2, FULL } match = NONE;
 1474|  1.21k|    static SEXP do_attr_formals = NULL;
 1475|       |
 1476|  1.21k|    if (do_attr_formals == NULL)
  ------------------
  |  Branch (1476:9): [True: 2, False: 1.21k]
  ------------------
 1477|      2|	do_attr_formals = allocFormalsList3(install("x"), install("which"),
  ------------------
  |  |  866|      2|#define allocFormalsList3	Rf_allocFormalsList3
  ------------------
              	do_attr_formals = allocFormalsList3(install("x"), install("which"),
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
              	do_attr_formals = allocFormalsList3(install("x"), install("which"),
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1478|      2|					    R_ExactSymbol);
 1479|       |
 1480|  1.21k|    argList = matchArgs_NR(do_attr_formals, args, call);
  ------------------
  |  | 1951|  1.21k|# define matchArgs_NR		Rf_matchArgs_NR
  ------------------
 1481|       |
 1482|  1.21k|    if (nargs < 2 || nargs > 3)
  ------------------
  |  Branch (1482:9): [True: 0, False: 1.21k]
  |  Branch (1482:22): [True: 0, False: 1.21k]
  ------------------
 1483|      0|	errorcall(call, "either 2 or 3 arguments are required");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
 1484|       |
 1485|       |    /* argument matching */
 1486|  1.21k|    PROTECT(argList);
  ------------------
  |  |  357|  1.21k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1487|  1.21k|    s = CAR(argList);
 1488|  1.21k|    t = CADR(argList);
 1489|  1.21k|    if (!isString(t))
  ------------------
  |  |  966|  1.21k|#define isString		Rf_isString
  ------------------
  |  Branch (1489:9): [True: 0, False: 1.21k]
  ------------------
 1490|      0|	errorcall(call, _("'which' must be of mode character"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("'which' must be of mode character"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1491|  1.21k|    if (length(t) != 1)
  ------------------
  |  |  987|  1.21k|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1491:9): [True: 0, False: 1.21k]
  ------------------
 1492|      0|	errorcall(call, _("exactly one attribute 'which' must be given"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("exactly one attribute 'which' must be given"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1493|       |
 1494|  1.21k|    if (TYPEOF(s) == ENVSXP)
  ------------------
  |  |  115|  1.21k|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (1494:9): [True: 0, False: 1.21k]
  ------------------
 1495|      0|	R_CheckStack(); /* in case attributes might lead to a cycle */
 1496|       |
 1497|  1.21k|    if(nargs == 3) {
  ------------------
  |  Branch (1497:8): [True: 0, False: 1.21k]
  ------------------
 1498|      0|	exact = asLogical(CADDR(argList));
  ------------------
  |  |  886|      0|#define asLogical		Rf_asLogical
  ------------------
 1499|      0|	if(exact == NA_LOGICAL) exact = 0;
  ------------------
  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (1499:5): [True: 0, False: 0]
  ------------------
 1500|      0|    }
 1501|       |
 1502|       |
 1503|  1.21k|    if(STRING_ELT(t, 0) == NA_STRING) {
  ------------------
  |  |  433|  1.21k|#define NA_STRING	R_NaString
  ------------------
  |  Branch (1503:8): [True: 0, False: 1.21k]
  ------------------
 1504|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1505|      0|	return R_NilValue;
 1506|      0|    }
 1507|  1.21k|    str = translateChar(STRING_ELT(t, 0));
  ------------------
  |  | 1037|  1.21k|#define translateChar		Rf_translateChar
  ------------------
 1508|  1.21k|    size_t n = strlen(str);
 1509|       |
 1510|       |    /* try to find a match among the attributes list */
 1511|  1.78k|    for (alist = ATTRIB(s); alist != R_NilValue; alist = CDR(alist)) {
  ------------------
  |  Branch (1511:29): [True: 1.03k, False: 748]
  ------------------
 1512|  1.03k|	SEXP tmp = TAG(alist);
 1513|  1.03k|	const char *s = CHAR(PRINTNAME(tmp));
  ------------------
  |  |  203|  1.03k|#define CHAR(x) R_CHAR(x)
  ------------------
 1514|  1.03k|	if (! strncmp(s, str, n)) {
  ------------------
  |  Branch (1514:6): [True: 465, False: 569]
  ------------------
 1515|    465|	    if (strlen(s) == n) {
  ------------------
  |  Branch (1515:10): [True: 465, False: 0]
  ------------------
 1516|    465|		tag = tmp;
 1517|    465|		match = FULL;
  ------------------
  |  |  996|    465|#define match			Rf_match
  ------------------
 1518|    465|		break;
 1519|    465|	    }
 1520|      0|	    else if (match == PARTIAL || match == PARTIAL2) {
  ------------------
  |  |  996|      0|#define match			Rf_match
  ------------------
              	    else if (match == PARTIAL || match == PARTIAL2) {
  ------------------
  |  |  996|      0|#define match			Rf_match
  ------------------
  |  Branch (1520:15): [True: 0, False: 0]
  |  Branch (1520:35): [True: 0, False: 0]
  ------------------
 1521|       |		/* this match is partial and we already have a partial match,
 1522|       |		   so the query is ambiguous and we will return R_NilValue
 1523|       |		   unless a full match comes up.
 1524|       |		*/
 1525|      0|		match = PARTIAL2;
  ------------------
  |  |  996|      0|#define match			Rf_match
  ------------------
 1526|      0|	    } else {
 1527|      0|		tag = tmp;
 1528|      0|		match = PARTIAL;
  ------------------
  |  |  996|      0|#define match			Rf_match
  ------------------
 1529|      0|	    }
 1530|    465|	}
 1531|  1.03k|    }
 1532|  1.21k|    if (match == PARTIAL2) {
  ------------------
  |  |  996|  1.21k|#define match			Rf_match
  ------------------
  |  Branch (1532:9): [True: 0, False: 1.21k]
  ------------------
 1533|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1534|      0|	return R_NilValue;
 1535|      0|    }
 1536|       |
 1537|       |    /* Unless a full match has been found, check for a "names" attribute.
 1538|       |       This is stored via TAGs on pairlists, and via rownames on 1D arrays.
 1539|       |    */
 1540|  1.21k|    if (match != FULL && strncmp("names", str, n) == 0) {
  ------------------
  |  |  996|  1.21k|#define match			Rf_match
  ------------------
  |  Branch (1540:9): [True: 748, False: 465]
  |  Branch (1540:26): [True: 0, False: 748]
  ------------------
 1541|      0|	if (strlen("names") == n) {
  ------------------
  |  Branch (1541:6): [True: 0, False: 0]
  ------------------
 1542|       |	    /* we have a full match on "names", if there is such an
 1543|       |	       attribute */
 1544|      0|	    tag = R_NamesSymbol;
 1545|      0|	    match = FULL;
  ------------------
  |  |  996|      0|#define match			Rf_match
  ------------------
 1546|      0|	}
 1547|      0|	else if (match == NONE && !exact) {
  ------------------
  |  |  996|      0|#define match			Rf_match
  ------------------
  |  Branch (1547:11): [True: 0, False: 0]
  |  Branch (1547:28): [True: 0, False: 0]
  ------------------
 1548|       |	    /* no match on other attributes and a possible
 1549|       |	       partial match on "names" */
 1550|      0|	    tag = R_NamesSymbol;
 1551|      0|	    PROTECT(t = getAttrib(s, tag));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1552|      0|	    if(t != R_NilValue && R_warn_partial_match_attr) {
  ------------------
  |  Branch (1552:9): [True: 0, False: 0]
  |  Branch (1552:28): [True: 0, False: 0]
  ------------------
 1553|      0|		SEXP cond =
 1554|      0|		    R_makePartialMatchWarningCondition(call, install(str), tag);
  ------------------
  |  |  934|      0|#define install			Rf_install
  ------------------
 1555|      0|		PROTECT(cond);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1556|      0|		R_signalWarningCondition(cond);
 1557|      0|		UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1558|      0|	    }
 1559|      0|	    UNPROTECT(2);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1560|      0|	    return t;
 1561|      0|	}
 1562|      0|	else if (match == PARTIAL && strcmp(CHAR(PRINTNAME(tag)), "names")) {
  ------------------
  |  |  996|      0|#define match			Rf_match
  ------------------
              	else if (match == PARTIAL && strcmp(CHAR(PRINTNAME(tag)), "names")) {
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (1562:11): [True: 0, False: 0]
  |  Branch (1562:31): [True: 0, False: 0]
  ------------------
 1563|       |	    /* There is a possible partial match on "names" and on another
 1564|       |	       attribute. If there really is a "names" attribute, then the
 1565|       |	       query is ambiguous and we return R_NilValue.  If there is no
 1566|       |	       "names" attribute, then the partially matched one, which is
 1567|       |	       the current value of tag, can be used. */
 1568|      0|	    if (getAttrib(s, R_NamesSymbol) != R_NilValue) {
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
  |  Branch (1568:10): [True: 0, False: 0]
  ------------------
 1569|      0|		UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1570|      0|		return R_NilValue;
 1571|      0|	    }
 1572|      0|	}
 1573|      0|    }
 1574|       |
 1575|  1.21k|    if (match == NONE  || (exact && match != FULL)) {
  ------------------
  |  |  996|  1.21k|#define match			Rf_match
  ------------------
                  if (match == NONE  || (exact && match != FULL)) {
  ------------------
  |  |  996|      0|#define match			Rf_match
  ------------------
  |  Branch (1575:9): [True: 748, False: 465]
  |  Branch (1575:28): [True: 0, False: 465]
  |  Branch (1575:37): [True: 0, False: 0]
  ------------------
 1576|    748|	UNPROTECT(1);
  ------------------
  |  |  358|    748|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1577|    748|	return R_NilValue;
 1578|    748|    }
 1579|    465|    if (match == PARTIAL && R_warn_partial_match_attr) {
  ------------------
  |  |  996|    465|#define match			Rf_match
  ------------------
  |  Branch (1579:9): [True: 0, False: 465]
  |  Branch (1579:29): [True: 0, False: 0]
  ------------------
 1580|      0|	SEXP cond =
 1581|      0|	    R_makePartialMatchWarningCondition(call, install(str), tag);
  ------------------
  |  |  934|      0|#define install			Rf_install
  ------------------
 1582|      0|	PROTECT(cond);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1583|      0|	R_signalWarningCondition(cond);
 1584|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1585|      0|    }
 1586|       |
 1587|    465|    ans =  getAttrib(s, tag);
  ------------------
  |  |  924|    465|#define getAttrib		Rf_getAttrib
  ------------------
 1588|    465|    UNPROTECT(1);
  ------------------
  |  |  358|    465|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1589|    465|    return ans;
 1590|  1.21k|}
do_attrgets:
 1616|  1.06k|{
 1617|  1.06k|    SEXP obj;
 1618|  1.06k|    checkArity(op, args);
  ------------------
  |  | 1793|  1.06k|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1619|       |
 1620|  1.06k|    if(PRIMVAL(op)) { /* @<- */
  ------------------
  |  | 1347|  1.06k|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  |  |  ------------------
  |  |  |  Branch (1347:20): [True: 0, False: 1.06k]
  |  |  ------------------
  ------------------
 1621|      0|	SEXP input, nlist, ans, value;
 1622|      0|	PROTECT(input = allocVector(STRSXP, 1));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1623|       |
 1624|      0|	nlist = CADR(args);
 1625|      0|	if (isSymbol(nlist))
  ------------------
  |  |  953|      0|#define isSymbol		Rf_isSymbol
  ------------------
  |  Branch (1625:6): [True: 0, False: 0]
  ------------------
 1626|      0|	    SET_STRING_ELT(input, 0, PRINTNAME(nlist));
 1627|      0|	else if(isString(nlist) ) {
  ------------------
  |  |  966|      0|#define isString		Rf_isString
  ------------------
  |  Branch (1627:10): [True: 0, False: 0]
  ------------------
 1628|      0|	    if (LENGTH(nlist) != 1)
  ------------------
  |  Branch (1628:10): [True: 0, False: 0]
  ------------------
 1629|      0|		error(_("invalid slot name length"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("invalid slot name length"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1630|      0|	    SET_STRING_ELT(input, 0, STRING_ELT(nlist, 0));
 1631|      0|	}
 1632|      0|	else {
 1633|      0|	    error(_("invalid type '%s' for slot name"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("invalid type '%s' for slot name"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1634|      0|		  R_typeToChar(nlist));
 1635|      0|	    return R_NilValue; /*-Wall*/
 1636|      0|	}
 1637|       |
 1638|       |	/* replace the second argument with a string */
 1639|      0|	SETCADR(args, input);
 1640|      0|	UNPROTECT(1); // 'input' is now protected
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1641|       |
 1642|       |	/* DispatchOrEval internal generic: @<- */
 1643|      0|	if(DispatchOrEval(call, op, "@<-", args, env, &ans, 0, 0))
  ------------------
  |  | 1892|      0|# define DispatchOrEval		Rf_DispatchOrEval
  ------------------
  |  Branch (1643:5): [True: 0, False: 0]
  ------------------
 1644|      0|	    return(ans);
 1645|       |
 1646|      0|	PROTECT(value = CADDR(ans));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1647|      0|	obj = CAR(ans);
 1648|      0|	if (MAYBE_SHARED(obj) ||
  ------------------
  |  Branch (1648:6): [True: 0, False: 0]
  ------------------
 1649|      0|	    ((! IS_ASSIGNMENT_CALL(call)) && MAYBE_REFERENCED(obj)))
  ------------------
  |  |  251|      0|#define MAYBE_REFERENCED(x) (! NO_REFERENCES(x))
  |  |  ------------------
  |  |  |  Branch (251:29): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1649:7): [True: 0, False: 0]
  ------------------
 1650|      0|	    PROTECT(obj = shallow_duplicate(obj));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1651|      0|	else
 1652|      0|	    PROTECT(obj);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1653|      0|	check_slot_assign(obj, input, value, env);
 1654|      0|	obj = R_do_slot_assign(obj, input, value);
 1655|      0|	UNPROTECT(2);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1656|      0|	SETTER_CLEAR_NAMED(obj);
 1657|      0|	return obj;
 1658|      0|    }
 1659|  1.06k|    else { // attr(obj, "name") <- value :
 1660|  1.06k|	static SEXP do_attrgets_formals = NULL;
 1661|  1.06k|	obj = CAR(args);
 1662|  1.06k|	if (MAYBE_SHARED(obj) ||
  ------------------
  |  Branch (1662:6): [True: 12, False: 1.05k]
  ------------------
 1663|  1.05k|	    ((! IS_ASSIGNMENT_CALL(call)) && MAYBE_REFERENCED(obj)))
  ------------------
  |  |  251|      0|#define MAYBE_REFERENCED(x) (! NO_REFERENCES(x))
  |  |  ------------------
  |  |  |  Branch (251:29): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1663:7): [True: 0, False: 1.05k]
  ------------------
 1664|     12|	    PROTECT(obj = shallow_duplicate(obj));
  ------------------
  |  |  357|     12|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1665|  1.05k|	else
 1666|  1.05k|	    PROTECT(obj);
  ------------------
  |  |  357|  1.05k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1667|       |
 1668|       |	/* argument matching */
 1669|  1.06k|	if (do_attrgets_formals == NULL)
  ------------------
  |  Branch (1669:6): [True: 2, False: 1.06k]
  ------------------
 1670|      2|	    do_attrgets_formals = allocFormalsList3(install("x"), install("which"),
  ------------------
  |  |  866|      2|#define allocFormalsList3	Rf_allocFormalsList3
  ------------------
              	    do_attrgets_formals = allocFormalsList3(install("x"), install("which"),
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
              	    do_attrgets_formals = allocFormalsList3(install("x"), install("which"),
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1671|      2|						    install("value"));
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1672|  1.06k|	SEXP argList = matchArgs_NR(do_attrgets_formals, args, call);
  ------------------
  |  | 1951|  1.06k|# define matchArgs_NR		Rf_matchArgs_NR
  ------------------
 1673|  1.06k|	PROTECT(argList);
  ------------------
  |  |  357|  1.06k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1674|  1.06k|	SEXP name = CADR(argList);
 1675|  1.06k|	SEXP val = CADDR(argList);
 1676|  1.06k|	if (!isValidString(name) || STRING_ELT(name, 0) == NA_STRING)
  ------------------
  |  |  972|  1.06k|#define isValidString		Rf_isValidString
  ------------------
              	if (!isValidString(name) || STRING_ELT(name, 0) == NA_STRING)
  ------------------
  |  |  433|  1.06k|#define NA_STRING	R_NaString
  ------------------
  |  Branch (1676:6): [True: 0, False: 1.06k]
  |  Branch (1676:30): [True: 0, False: 1.06k]
  ------------------
 1677|      0|	    error(_("'name' must be non-null character string"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("'name' must be non-null character string"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1678|  1.06k|	if (XLENGTH(name) > 1)
  ------------------
  |  Branch (1678:6): [True: 0, False: 1.06k]
  ------------------
 1679|      0|	    error(_("'name' must be a scalar string"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("'name' must be a scalar string"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1680|       |
 1681|       |	/* TODO?  if (isFactor(obj) && !strcmp(asChar(name), "levels"))
 1682|       |	 * ---         if(any_duplicated(val))
 1683|       |	 *                  error(.....)
 1684|       |	 */
 1685|  1.06k|	setAttrib(obj, name, val);
  ------------------
  |  | 1027|  1.06k|#define setAttrib		Rf_setAttrib
  ------------------
 1686|  1.06k|	UNPROTECT(2);
  ------------------
  |  |  358|  1.06k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1687|  1.06k|	SETTER_CLEAR_NAMED(obj);
 1688|  1.06k|	return obj;
 1689|  1.06k|    }
 1690|  1.06k|}
R_do_slot:
 1822|  1.90k|SEXP R_do_slot(SEXP obj, SEXP name) {
 1823|  1.90k|    R_SLOT_INIT;
  ------------------
  |  | 1805|  1.90k|    if(!(isSymbol(name) || isScalarString(name)))			\
  |  |  ------------------
  |  |  |  |  953|  1.90k|#define isSymbol		Rf_isSymbol
  |  |  ------------------
  |  |                   if(!(isSymbol(name) || isScalarString(name)))			\
  |  |  ------------------
  |  |  |  |  965|      0|#define isScalarString		Rf_isScalarString
  |  |  ------------------
  |  |  |  Branch (1805:10): [True: 1.90k, False: 0]
  |  |  |  Branch (1805:28): [True: 0, False: 0]
  |  |  ------------------
  |  | 1806|  1.90k|	error(_("invalid type or length for slot name"));		\
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	error(_("invalid type or length for slot name"));		\
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 1807|  1.90k|    if(!s_dot_Data)							\
  |  |  ------------------
  |  |  |  Branch (1807:8): [True: 0, False: 1.90k]
  |  |  ------------------
  |  | 1808|  1.90k|	init_slot_handling();						\
  |  | 1809|  1.90k|    if(isString(name)) name = installTrChar(STRING_ELT(name, 0))
  |  |  ------------------
  |  |  |  |  966|  1.90k|#define isString		Rf_isString
  |  |  ------------------
  |  |                   if(isString(name)) name = installTrChar(STRING_ELT(name, 0))
  |  |  ------------------
  |  |  |  |  937|      0|#define installTrChar		Rf_installTrChar
  |  |  ------------------
  |  |  |  Branch (1809:8): [True: 0, False: 1.90k]
  |  |  ------------------
  ------------------
 1824|  1.90k|    if(name == s_dot_Data)
  ------------------
  |  Branch (1824:8): [True: 0, False: 1.90k]
  ------------------
 1825|      0|	return data_part(obj);
 1826|  1.90k|    else {
 1827|  1.90k|	SEXP value = getAttrib(obj, name);
  ------------------
  |  |  924|  1.90k|#define getAttrib		Rf_getAttrib
  ------------------
 1828|  1.90k|	if(value == R_NilValue) {
  ------------------
  |  Branch (1828:5): [True: 0, False: 1.90k]
  ------------------
 1829|      0|	    SEXP input = name, classString;
 1830|      0|	    if(name == s_dot_S3Class) /* defaults to class(obj) */
  ------------------
  |  Branch (1830:9): [True: 0, False: 0]
  ------------------
 1831|      0|		return R_data_class(obj, FALSE);
 1832|      0|	    else if(name == R_NamesSymbol &&
  ------------------
  |  Branch (1832:14): [True: 0, False: 0]
  ------------------
 1833|      0|		    TYPEOF(obj) == VECSXP) /* needed for namedList class */
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (1833:7): [True: 0, False: 0]
  ------------------
 1834|      0|		return value;
 1835|      0|	    if(isSymbol(name) ) {
  ------------------
  |  |  953|      0|#define isSymbol		Rf_isSymbol
  ------------------
  |  Branch (1835:9): [True: 0, False: 0]
  ------------------
 1836|      0|		input = PROTECT(ScalarString(PRINTNAME(name)));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1837|      0|		classString = getAttrib(obj, R_ClassSymbol);
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
 1838|      0|		if(isNull(classString)) {
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
  |  Branch (1838:6): [True: 0, False: 0]
  ------------------
 1839|      0|		    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1840|      0|		    error(_("cannot get a slot (\"%s\") from an object of type \"%s\""),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("cannot get a slot (\"%s\") from an object of type \"%s\""),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1841|      0|			  translateChar(asChar(input)),
  ------------------
  |  | 1037|      0|#define translateChar		Rf_translateChar
  ------------------
              			  translateChar(asChar(input)),
  ------------------
  |  |  882|      0|#define asChar			Rf_asChar
  ------------------
 1842|      0|			  CHAR(type2str(TYPEOF(obj))));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 1843|      0|		}
 1844|      0|		UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1845|      0|	    }
 1846|      0|	    else classString = R_NilValue; /* make sure it is initialized */
 1847|       |	    /* not there.  But since even NULL really does get stored, this
 1848|       |	       implies that there is no slot of this name.  Or somebody
 1849|       |	       screwed up by using attr(..) <- NULL */
 1850|       |
 1851|      0|	    error(_("no slot of name \"%s\" for this object of class \"%s\""),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("no slot of name \"%s\" for this object of class \"%s\""),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1852|      0|		  translateChar(asChar(input)),
  ------------------
  |  | 1037|      0|#define translateChar		Rf_translateChar
  ------------------
              		  translateChar(asChar(input)),
  ------------------
  |  |  882|      0|#define asChar			Rf_asChar
  ------------------
 1853|      0|		  translateChar(asChar(classString)));
  ------------------
  |  | 1037|      0|#define translateChar		Rf_translateChar
  ------------------
              		  translateChar(asChar(classString)));
  ------------------
  |  |  882|      0|#define asChar			Rf_asChar
  ------------------
 1854|      0|	}
 1855|  1.90k|	else if(value == pseudo_NULL)
  ------------------
  |  Branch (1855:10): [True: 0, False: 1.90k]
  ------------------
 1856|      0|	    value = R_NilValue;
 1857|  1.90k|	return value;
 1858|  1.90k|    }
 1859|  1.90k|}
do_AT:
 1901|  1.90k|{
 1902|  1.90k|    SEXP  nlist, object, ans;
 1903|       |
 1904|  1.90k|    checkArity(op, args);
  ------------------
  |  | 1793|  1.90k|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1905|       |
 1906|  1.90k|    PROTECT(object = eval(CAR(args), env));
  ------------------
  |  |  357|  1.90k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1907|       |
 1908|  1.90k|    if (OBJECT(object) && ! IS_S4_OBJECT(object)) {
  ------------------
  |  Branch (1908:9): [True: 1.90k, False: 0]
  |  Branch (1908:27): [True: 0, False: 1.90k]
  ------------------
 1909|       |	//**** could modify fixSubset3Args to provide abetter error message
 1910|       |	// could also use in more places, e.g. for @<-
 1911|      0|	PROTECT(args = fixSubset3Args(call, args, env, NULL));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1912|      0|	SETCAR(args, R_mkEVPROMISE_NR(CAR(args), object));
 1913|       |	/* DispatchOrEval internal generic: @ */
 1914|      0|	if (DispatchOrEval(call, op, "@", args, env, &ans, 0, 0)) {
  ------------------
  |  | 1892|      0|# define DispatchOrEval		Rf_DispatchOrEval
  ------------------
  |  Branch (1914:6): [True: 0, False: 0]
  ------------------
 1915|      0|	    UNPROTECT(2); /* object, args */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1916|      0|	    return ans;
 1917|      0|	}
 1918|      0|	UNPROTECT(1); /* args */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1919|       |
 1920|       |	/* fall through to handle @.Data or signal an error */
 1921|      0|    }
 1922|       |
 1923|  1.90k|    if(!isMethodsDispatchOn())
  ------------------
  |  Branch (1923:8): [True: 0, False: 1.90k]
  ------------------
 1924|      0|	error(_("formal classes cannot be used without the 'methods' package"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("formal classes cannot be used without the 'methods' package"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1925|  1.90k|    nlist = CADR(args);
 1926|       |    /* Do some checks here -- repeated in R_do_slot, but on repeat the
 1927|       |     * test expression should kick out on the first element. */
 1928|  1.90k|    if(!(isSymbol(nlist) || isScalarString(nlist)))
  ------------------
  |  |  953|  1.90k|#define isSymbol		Rf_isSymbol
  ------------------
                  if(!(isSymbol(nlist) || isScalarString(nlist)))
  ------------------
  |  |  965|      0|#define isScalarString		Rf_isScalarString
  ------------------
  |  Branch (1928:10): [True: 1.90k, False: 0]
  |  Branch (1928:29): [True: 0, False: 0]
  ------------------
 1929|      0|	error(_("invalid type or length for slot name"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid type or length for slot name"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1930|  1.90k|    if(isString(nlist)) nlist = installTrChar(STRING_ELT(nlist, 0));
  ------------------
  |  |  966|  1.90k|#define isString		Rf_isString
  ------------------
                  if(isString(nlist)) nlist = installTrChar(STRING_ELT(nlist, 0));
  ------------------
  |  |  937|      0|#define installTrChar		Rf_installTrChar
  ------------------
  |  Branch (1930:8): [True: 0, False: 1.90k]
  ------------------
 1931|  1.90k|    if(!s_dot_Data) init_slot_handling();
  ------------------
  |  Branch (1931:8): [True: 2, False: 1.90k]
  ------------------
 1932|  1.90k|    if(nlist != s_dot_Data && !IS_S4_OBJECT(object)) {
  ------------------
  |  Branch (1932:8): [True: 1.90k, False: 0]
  |  Branch (1932:31): [True: 0, False: 1.90k]
  ------------------
 1933|      0|	SEXP klass = getAttrib(object, R_ClassSymbol);
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
 1934|      0|	errorcall(call, _("no applicable method for `@` "
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("no applicable method for `@` "
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1935|      0|			  "applied to an object of class \"%s\""),
 1936|      0|		  length(klass) == 0 ?
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1936:5): [True: 0, False: 0]
  ------------------
 1937|      0|		  CHAR(STRING_ELT(R_data_class(object, FALSE), 0)) :
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 1938|      0|		  translateChar(STRING_ELT(klass, 0)));
  ------------------
  |  | 1037|      0|#define translateChar		Rf_translateChar
  ------------------
 1939|      0|    }
 1940|       |
 1941|  1.90k|    ans = R_do_slot(object, nlist);
 1942|  1.90k|    UNPROTECT(1); /* object */
  ------------------
  |  |  358|  1.90k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1943|  1.90k|    return ans;
 1944|  1.90k|}
attrib.c:isOneDimensionalArray:
  114|  27.3M|{
  115|  27.3M|    if(isVector(vec) || isList(vec) || isLanguage(vec)) {
  ------------------
  |  |  974|  27.3M|#define isVector		Rf_isVector
  ------------------
                  if(isVector(vec) || isList(vec) || isLanguage(vec)) {
  ------------------
  |  |  951|  2.91k|#define isList			Rf_isList
  ------------------
                  if(isVector(vec) || isList(vec) || isLanguage(vec)) {
  ------------------
  |  |  950|  2.23k|#define isLanguage		Rf_isLanguage
  ------------------
  |  Branch (115:8): [True: 27.3M, False: 2.91k]
  |  Branch (115:25): [True: 684, False: 2.23k]
  |  Branch (115:40): [True: 2.23k, False: 0]
  ------------------
  116|  27.3M|	SEXP s = getAttrib(vec, R_DimSymbol);
  ------------------
  |  |  924|  27.3M|#define getAttrib		Rf_getAttrib
  ------------------
  117|  27.3M|	if(TYPEOF(s) == INTSXP && LENGTH(s) == 1)
  ------------------
  |  |  123|  54.7M|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (117:5): [True: 2.01k, False: 27.3M]
  |  Branch (117:28): [True: 0, False: 2.01k]
  ------------------
  118|      0|	    return TRUE;
  119|  27.3M|    }
  120|  27.3M|    return false;
  121|  27.3M|}
attrib.c:row_names_gets:
   40|     58|{
   41|     58|    SEXP ans;
   42|       |
   43|     58|    if (vec == R_NilValue)
  ------------------
  |  Branch (43:9): [True: 0, False: 58]
  ------------------
   44|      0|	error(_("attempt to set an attribute on NULL"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("attempt to set an attribute on NULL"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
   45|       |
   46|     58|    if(isReal(val) && LENGTH(val) == 2 && ISNAN(REAL(val)[0]) ) {
  ------------------
  |  |  963|     58|#define isReal			Rf_isReal
  ------------------
                  if(isReal(val) && LENGTH(val) == 2 && ISNAN(REAL(val)[0]) ) {
  ------------------
  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (46:8): [True: 0, False: 58]
  |  Branch (46:23): [True: 0, False: 0]
  ------------------
   47|       |	/* This should not happen, but if a careless user dput()s a
   48|       |	   data frame and sources the result, it will */
   49|      0|	PROTECT(vec);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
   50|      0|	PROTECT(val);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
   51|      0|	val = coerceVector(val, INTSXP);
  ------------------
  |  |  895|      0|#define coerceVector		Rf_coerceVector
  ------------------
              	val = coerceVector(val, INTSXP);
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
   52|      0|	UNPROTECT(1); /* val */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
   53|      0|	PROTECT(val);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
   54|      0|	ans =  installAttrib(vec, R_RowNamesSymbol, val);
   55|      0|	UNPROTECT(2); /* vec, val */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
   56|      0|	return ans;
   57|      0|    }
   58|     58|    if(isInteger(val)) {
  ------------------
  |  |  949|     58|#define isInteger		Rf_isInteger
  ------------------
  |  Branch (58:8): [True: 0, False: 58]
  ------------------
   59|      0|	if (ALTREP(val) && ! R_is_compact_intseq(val)) {
  ------------------
  |  Branch (59:6): [True: 0, False: 0]
  |  Branch (59:21): [True: 0, False: 0]
  ------------------
   60|       |	    // accept an ALTREP as is, but for now still allow compact
   61|       |	    // 1:n to be converted to internal compact form
   62|      0|	    PROTECT(vec);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
   63|      0|	    PROTECT(val);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
   64|      0|	    ans =  installAttrib(vec, R_RowNamesSymbol, val);
   65|      0|	    UNPROTECT(2); /* vec, val */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
   66|      0|	    return ans;
   67|      0|	}
   68|      0|	bool OK_compact = TRUE;
   69|      0|	int i, n = LENGTH(val);
   70|      0|	if(n == 2 && INTEGER_ELT(val, 0) == NA_INTEGER) {
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (70:5): [True: 0, False: 0]
  |  Branch (70:15): [True: 0, False: 0]
  ------------------
   71|      0|	    n = INTEGER_ELT(val, 1);
   72|      0|	} else if (n > 2) {
  ------------------
  |  Branch (72:13): [True: 0, False: 0]
  ------------------
   73|       |	    // convert an ALTREP 1:n sequence to the traditional compact form
   74|       |	    // might make sense to just keep the ALTREP sequence
   75|      0|	    if (! (R_is_compact_intseq(val) &&
  ------------------
  |  Branch (75:13): [True: 0, False: 0]
  ------------------
   76|      0|		   INTEGER_ELT(val, 0) == 1 &&
  ------------------
  |  Branch (76:6): [True: 0, False: 0]
  ------------------
   77|      0|		   INTEGER_ELT(val, n - 1) == n))
  ------------------
  |  Branch (77:6): [True: 0, False: 0]
  ------------------
   78|      0|		for(i = 0; i < n; i++)
  ------------------
  |  Branch (78:14): [True: 0, False: 0]
  ------------------
   79|      0|		    if(INTEGER_ELT(val, i) != i+1) {
  ------------------
  |  Branch (79:10): [True: 0, False: 0]
  ------------------
   80|      0|			OK_compact = false;
   81|      0|			break;
   82|      0|		    }
   83|      0|	} else OK_compact = false;
   84|      0|	if(OK_compact) {
  ------------------
  |  Branch (84:5): [True: 0, False: 0]
  ------------------
   85|       |	    /* we hide the length in an impossible integer vector */
   86|      0|	    PROTECT(vec);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
   87|      0|	    PROTECT(val = allocVector(INTSXP, 2));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
   88|      0|	    INTEGER(val)[0] = NA_INTEGER;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
   89|      0|	    INTEGER(val)[1] = n; // +n:  compacted *and* automatic row names
   90|      0|	    ans =  installAttrib(vec, R_RowNamesSymbol, val);
   91|      0|	    UNPROTECT(2); /* vec, val */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
   92|      0|	    return ans;
   93|      0|	}
   94|     58|    } else if(!isString(val))
  ------------------
  |  |  966|     58|#define isString		Rf_isString
  ------------------
  |  Branch (94:15): [True: 0, False: 58]
  ------------------
   95|      0|	error(_("row names must be 'character' or 'integer', not '%s'"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("row names must be 'character' or 'integer', not '%s'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
   96|      0|	      R_typeToChar(val));
   97|     58|    PROTECT(vec);
  ------------------
  |  |  357|     58|#define PROTECT(s)	Rf_protect(s)
  ------------------
   98|     58|    PROTECT(val);
  ------------------
  |  |  357|     58|#define PROTECT(s)	Rf_protect(s)
  ------------------
   99|     58|    ans =  installAttrib(vec, R_RowNamesSymbol, val);
  100|     58|    UNPROTECT(2); /* vec, val */
  ------------------
  |  |  358|     58|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  101|     58|    return ans;
  102|     58|}
attrib.c:installAttrib:
  374|  13.7M|{
  375|  13.7M|    SEXP t = R_NilValue; /* -Wall */
  376|       |
  377|  13.7M|    switch(TYPEOF(vec)) {
  378|      0|    case CHARSXP:
  ------------------
  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  ------------------
  |  Branch (378:5): [True: 0, False: 13.7M]
  ------------------
  379|      0|	error("cannot set an attribute on a CHARSXP");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  380|      0|	break;
  381|      0|    case SYMSXP:
  ------------------
  |  |  112|      0|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (381:5): [True: 0, False: 13.7M]
  ------------------
  382|      0|    case BUILTINSXP:
  ------------------
  |  |  119|      0|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (382:5): [True: 0, False: 13.7M]
  ------------------
  383|      0|    case SPECIALSXP:
  ------------------
  |  |  118|      0|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (383:5): [True: 0, False: 13.7M]
  ------------------
  384|      0|	error(_("cannot set an attribute on a '%s'"), R_typeToChar(vec));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("cannot set an attribute on a '%s'"), R_typeToChar(vec));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  385|  13.7M|    default:
  ------------------
  |  Branch (385:5): [True: 13.7M, False: 0]
  ------------------
  386|  13.7M|	break;
  387|  13.7M|    }
  388|       |
  389|       |    /* this does no allocation */
  390|  15.8M|    for (SEXP s = ATTRIB(vec); s != R_NilValue; s = CDR(s)) {
  ------------------
  |  Branch (390:32): [True: 2.11M, False: 13.7M]
  ------------------
  391|  2.11M|	if (TAG(s) == name) {
  ------------------
  |  Branch (391:6): [True: 2.80k, False: 2.11M]
  ------------------
  392|  2.80k|	    if (MAYBE_REFERENCED(val) && val != CAR(s))
  ------------------
  |  |  251|  5.61k|#define MAYBE_REFERENCED(x) (! NO_REFERENCES(x))
  |  |  ------------------
  |  |  |  Branch (251:29): [True: 2.73k, False: 76]
  |  |  ------------------
  ------------------
  |  Branch (392:35): [True: 107, False: 2.62k]
  ------------------
  393|    107|		val = R_FixupRHS(vec, val);
  394|  2.80k|	    SETCAR(s, val);
  395|  2.80k|	    return val;
  396|  2.80k|	}
  397|  2.11M|	t = s; // record last attribute, if any
  398|  2.11M|    }
  399|       |
  400|       |    /* The usual convention is that the caller protects,
  401|       |       but a lot of existing code depends assume that
  402|       |       setAttrib/installAttrib protects its arguments */
  403|  13.7M|    PROTECT(vec); PROTECT(name); PROTECT(val);
  ------------------
  |  |  357|  13.7M|#define PROTECT(s)	Rf_protect(s)
  ------------------
                  PROTECT(vec); PROTECT(name); PROTECT(val);
  ------------------
  |  |  357|  13.7M|#define PROTECT(s)	Rf_protect(s)
  ------------------
                  PROTECT(vec); PROTECT(name); PROTECT(val);
  ------------------
  |  |  357|  13.7M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  404|  13.7M|    if (MAYBE_REFERENCED(val)) ENSURE_NAMEDMAX(val);
  ------------------
  |  |  251|  13.7M|#define MAYBE_REFERENCED(x) (! NO_REFERENCES(x))
  |  |  ------------------
  |  |  |  Branch (251:29): [True: 4.21M, False: 9.50M]
  |  |  ------------------
  ------------------
  405|  13.7M|    SEXP s = CONS(val, R_NilValue);
  ------------------
  |  |  309|  13.7M|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
  406|  13.7M|    SET_TAG(s, name);
  407|  13.7M|    if (ATTRIB(vec) == R_NilValue) SET_ATTRIB(vec, s); else SETCDR(t, s);
  ------------------
  |  Branch (407:9): [True: 11.6M, False: 2.11M]
  ------------------
  408|  13.7M|    UNPROTECT(3);
  ------------------
  |  |  358|  13.7M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  409|  13.7M|    return val;
  410|  13.7M|}
attrib.c:removeAttrib:
  413|  95.7k|{
  414|  95.7k|    SEXP t;
  415|  95.7k|    if(TYPEOF(vec) == CHARSXP)
  ------------------
  |  |  120|  95.7k|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  ------------------
  |  Branch (415:8): [True: 0, False: 95.7k]
  ------------------
  416|      0|	error("cannot set an attribute on a CHARSXP");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  417|  95.7k|    if (name == R_NamesSymbol && isPairList(vec)) {
  ------------------
  |  |  961|  14.7k|#define isPairList		Rf_isPairList
  ------------------
  |  Branch (417:9): [True: 14.7k, False: 81.0k]
  |  Branch (417:34): [True: 0, False: 14.7k]
  ------------------
  418|      0|	for (t = vec; t != R_NilValue; t = CDR(t))
  ------------------
  |  Branch (418:16): [True: 0, False: 0]
  ------------------
  419|      0|	    SET_TAG(t, R_NilValue);
  420|      0|	return R_NilValue;
  421|      0|    }
  422|  95.7k|    else {
  423|  95.7k|	if (name == R_DimSymbol)
  ------------------
  |  Branch (423:6): [True: 9.46k, False: 86.2k]
  ------------------
  424|  9.46k|	    SET_ATTRIB(vec, stripAttrib(R_DimNamesSymbol, ATTRIB(vec)));
  425|  95.7k|	SET_ATTRIB(vec, stripAttrib(name, ATTRIB(vec)));
  426|  95.7k|	if (name == R_ClassSymbol)
  ------------------
  |  Branch (426:6): [True: 12.4k, False: 83.2k]
  ------------------
  427|  12.4k|	    SET_OBJECT(vec, 0);
  428|  95.7k|    }
  429|  95.7k|    return R_NilValue;
  430|  95.7k|}
attrib.c:stripAttrib:
  106|   171k|{
  107|   171k|    if(lst == R_NilValue) return lst;
  ------------------
  |  Branch (107:8): [True: 105k, False: 66.6k]
  ------------------
  108|  66.6k|    if(tag == TAG(lst)) return stripAttrib(tag, CDR(lst));
  ------------------
  |  Branch (108:8): [True: 19.1k, False: 47.5k]
  ------------------
  109|  47.5k|    SETCDR(lst, stripAttrib(tag, CDR(lst)));
  110|  47.5k|    return lst;
  111|  66.6k|}
attrib.c:lang2str:
  639|     36|{
  640|     36|  SEXP symb = CAR(obj);
  641|     36|  static SEXP if_sym = 0, while_sym, for_sym, eq_sym, gets_sym,
  642|     36|    lpar_sym, lbrace_sym, call_sym;
  643|     36|  if(!if_sym) {
  ------------------
  |  Branch (643:6): [True: 2, False: 34]
  ------------------
  644|       |    /* initialize:  another place for a hash table */
  645|      2|    if_sym = install("if");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  646|      2|    while_sym = install("while");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  647|      2|    for_sym = install("for");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  648|      2|    eq_sym = install("=");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  649|      2|    gets_sym = install("<-");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  650|      2|    lpar_sym = install("(");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  651|      2|    lbrace_sym = install("{");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  652|      2|    call_sym = install("call");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  653|      2|  }
  654|     36|  if(isSymbol(symb)) {
  ------------------
  |  |  953|     36|#define isSymbol		Rf_isSymbol
  ------------------
  |  Branch (654:6): [True: 36, False: 0]
  ------------------
  655|     36|    if(symb == if_sym || symb == for_sym || symb == while_sym ||
  ------------------
  |  Branch (655:8): [True: 0, False: 36]
  |  Branch (655:26): [True: 0, False: 36]
  |  Branch (655:45): [True: 0, False: 36]
  ------------------
  656|     36|       symb == lpar_sym || symb == lbrace_sym ||
  ------------------
  |  Branch (656:8): [True: 0, False: 36]
  |  Branch (656:28): [True: 0, False: 36]
  ------------------
  657|     36|       symb == eq_sym || symb == gets_sym)
  ------------------
  |  Branch (657:8): [True: 0, False: 36]
  |  Branch (657:26): [True: 0, False: 36]
  ------------------
  658|      0|      return PRINTNAME(symb);
  659|     36|  }
  660|     36|  return PRINTNAME(call_sym);
  661|     36|}
attrib.c:createDefaultClass:
  788|    192|{
  789|    192|    int size = 0;
  790|    192|    if (part1 != R_NilValue) size++;
  ------------------
  |  Branch (790:9): [True: 64, False: 128]
  ------------------
  791|    192|    if (part2 != R_NilValue) size++;
  ------------------
  |  Branch (791:9): [True: 128, False: 64]
  ------------------
  792|    192|    if (part3 != R_NilValue) size++;
  ------------------
  |  Branch (792:9): [True: 138, False: 54]
  ------------------
  793|    192|    if (part4 != R_NilValue) size++;
  ------------------
  |  Branch (793:9): [True: 12, False: 180]
  ------------------
  794|       |
  795|    192|    if (size == 0 || part3 == R_NilValue) // .. ?
  ------------------
  |  Branch (795:9): [True: 18, False: 174]
  |  Branch (795:22): [True: 36, False: 138]
  ------------------
  796|     54|	return R_NilValue;
  797|       |
  798|    138|    SEXP res = allocVector(STRSXP, size);
  ------------------
  |  |  875|    138|#define allocVector		Rf_allocVector
  ------------------
                  SEXP res = allocVector(STRSXP, size);
  ------------------
  |  |  126|    138|#define STRSXP	    16	  /* string vectors */
  ------------------
  799|    138|    R_PreserveObject(res);
  800|       |
  801|    138|    int i = 0;
  802|    138|    if (part1 != R_NilValue) SET_STRING_ELT(res, i++, part1);
  ------------------
  |  Branch (802:9): [True: 46, False: 92]
  ------------------
  803|    138|    if (part2 != R_NilValue) SET_STRING_ELT(res, i++, part2);
  ------------------
  |  Branch (803:9): [True: 92, False: 46]
  ------------------
  804|    138|    if (part3 != R_NilValue) SET_STRING_ELT(res, i++, part3);
  ------------------
  |  Branch (804:9): [True: 138, False: 0]
  ------------------
  805|    138|    if (part4 != R_NilValue) SET_STRING_ELT(res, i, part4);
  ------------------
  |  Branch (805:9): [True: 12, False: 126]
  ------------------
  806|       |
  807|    138|    MARK_NOT_MUTABLE(res);
  808|    138|    return res;
  809|    192|}
attrib.c:checkNames:
  433|  11.5M|{
  434|  11.5M|    if (isVector(x) || isList(x) || isLanguage(x)) {
  ------------------
  |  |  974|  11.5M|#define isVector		Rf_isVector
  ------------------
                  if (isVector(x) || isList(x) || isLanguage(x)) {
  ------------------
  |  |  951|      0|#define isList			Rf_isList
  ------------------
                  if (isVector(x) || isList(x) || isLanguage(x)) {
  ------------------
  |  |  950|      0|#define isLanguage		Rf_isLanguage
  ------------------
  |  Branch (434:9): [True: 11.5M, False: 0]
  |  Branch (434:24): [True: 0, False: 0]
  |  Branch (434:37): [True: 0, False: 0]
  ------------------
  435|  11.5M|	if (!isVector(s) && !isList(s))
  ------------------
  |  |  974|  11.5M|#define isVector		Rf_isVector
  ------------------
              	if (!isVector(s) && !isList(s))
  ------------------
  |  |  951|      0|#define isList			Rf_isList
  ------------------
  |  Branch (435:6): [True: 0, False: 11.5M]
  |  Branch (435:22): [True: 0, False: 0]
  ------------------
  436|      0|	    error(_("invalid type (%s) for 'names': must be vector or NULL"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("invalid type (%s) for 'names': must be vector or NULL"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  437|      0|		  R_typeToChar(s));
  438|  11.5M|	if (xlength(x) != xlength(s))
  ------------------
  |  | 1049|  11.5M|#define xlength(x)		Rf_xlength(x)
  ------------------
              	if (xlength(x) != xlength(s))
  ------------------
  |  | 1049|  11.5M|#define xlength(x)		Rf_xlength(x)
  ------------------
  |  Branch (438:6): [True: 0, False: 11.5M]
  ------------------
  439|      0|	    error(_("'names' attribute [%lld] must be the same length as the vector [%lld]"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("'names' attribute [%lld] must be the same length as the vector [%lld]"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  440|      0|		  (long long)xlength(s), (long long)xlength(x));
  ------------------
  |  | 1049|      0|#define xlength(x)		Rf_xlength(x)
  ------------------
              		  (long long)xlength(s), (long long)xlength(x));
  ------------------
  |  | 1049|      0|#define xlength(x)		Rf_xlength(x)
  ------------------
  441|  11.5M|    }
  442|      0|    else if(IS_S4_OBJECT(x)) {
  ------------------
  |  Branch (442:13): [True: 0, False: 0]
  ------------------
  443|       |      /* leave validity checks to S4 code */
  444|      0|    }
  445|      0|    else error(_("names() applied to a non-vector"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  else error(_("names() applied to a non-vector"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  446|  11.5M|}
attrib.c:as_char_simpl:
 1096|  17.9k|{
 1097|  17.9k|    if (LENGTH(val1) == 0) return R_NilValue;
  ------------------
  |  Branch (1097:9): [True: 0, False: 17.9k]
  ------------------
 1098|       |    /* if (isObject(val1)) dispatch on as.character.foo, but we don't
 1099|       |       have the context at this point to do so */
 1100|       |
 1101|  17.9k|    if (inherits(val1, "factor"))  /* mimic as.character.factor */
  ------------------
  |  |  933|  17.9k|#define inherits		Rf_inherits
  ------------------
  |  Branch (1101:9): [True: 0, False: 17.9k]
  ------------------
 1102|      0|	return asCharacterFactor(val1);
  ------------------
  |  |  883|      0|#define asCharacterFactor	Rf_asCharacterFactor
  ------------------
 1103|  17.9k|    if (isString(val1))
  ------------------
  |  |  966|  17.9k|#define isString		Rf_isString
  ------------------
  |  Branch (1103:9): [True: 17.9k, False: 0]
  ------------------
 1104|  17.9k|	return val1;
 1105|       |    // else  mimic as.character.default :
 1106|      0|    SEXP this2 = PROTECT(coerceVector(val1, STRSXP));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1107|      0|    SET_ATTRIB(this2, R_NilValue);
 1108|      0|    SET_OBJECT(this2, 0);
 1109|      0|    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1110|      0|    return this2;
 1111|  17.9k|}
attrib.c:init_slot_handling:
 1742|      2|static void init_slot_handling(void) {
 1743|      2|    s_dot_Data = install(".Data");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1744|      2|    s_dot_S3Class = install(".S3Class");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1745|      2|    s_getDataPart = install("getDataPart");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1746|      2|    s_setDataPart = install("setDataPart");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1747|       |    /* create and preserve an object that is NOT R_NilValue, and is used
 1748|       |       to represent slots that are NULL (which an attribute can not
 1749|       |       be).  The point is not just to store NULL as a slot, but also to
 1750|       |       provide a check on invalid slot names (see get_slot below).
 1751|       |
 1752|       |       The object has to be a symbol if we're going to check identity by
 1753|       |       just looking at referential equality. */
 1754|      2|    pseudo_NULL = install("\001NULL\001");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1755|      2|}

R_bcCmpfun:
 4649|     17|{
 4650|     17|    bc_init();
 4651|     17|    switch (TYPEOF(f)) {
 4652|     17|    case CLOSXP:
  ------------------
  |  |  114|     17|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (4652:5): [True: 17, False: 0]
  ------------------
 4653|     17|	break;
 4654|      0|    case BUILTINSXP:
  ------------------
  |  |  119|      0|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (4654:5): [True: 0, False: 17]
  ------------------
 4655|      0|    case SPECIALSXP:
  ------------------
  |  |  118|      0|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (4655:5): [True: 0, False: 17]
  ------------------
 4656|      0|	return f;
 4657|      0|    default:
  ------------------
  |  Branch (4657:5): [True: 0, False: 17]
  ------------------
 4658|      0|	Rf_error(_("cannot compile a non-function"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4659|     17|    }
 4660|     17|    const void *vmax = vmaxget();
 4661|     17|    SEXP forms = FORMALS(f);
 4662|     17|    SEXP body = R_ClosureExpr(f);
 4663|     17|    SEXP env = CLOENV(f);
 4664|     17|    Cntxt cntxt = make_toplevel_context(make_cenv(env), options);
 4665|     17|    PROTECT(cntxt.suppressUndefined); /* see R_bcCompile */
  ------------------
  |  |  357|     17|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4666|     17|    Cntxt ncntxt = make_function_context(&cntxt, forms, body);
 4667|     17|    if (may_call_browser(body, &ncntxt)) {
  ------------------
  |  Branch (4667:9): [True: 0, False: 17]
  ------------------
 4668|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4669|      0|	vmaxset(vmax);
 4670|      0|	return f;
 4671|      0|    }
 4672|     17|    SEXP b;
 4673|     17|    if (TYPEOF(body) != LANGSXP || CAR(body) != R_BraceSymbol) {
  ------------------
  |  |  117|     34|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (4673:9): [True: 0, False: 17]
  |  Branch (4673:36): [True: 0, False: 17]
  ------------------
 4674|      0|	Loc loc = { body, expr_srcref(f) };
 4675|      0|	b = gen_code(body, &ncntxt, &loc);
 4676|      0|    }
 4677|     17|    else {
 4678|     17|	b = gen_code(body, &ncntxt, NULL);
 4679|     17|    }
 4680|     17|    PROTECT(b);
  ------------------
  |  |  357|     17|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4681|     17|    SEXP val = PROTECT(R_mkClosure(forms, b, env));
  ------------------
  |  |  357|     17|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4682|     17|    if (ATTRIB(f) != R_NilValue)
  ------------------
  |  Branch (4682:9): [True: 0, False: 17]
  ------------------
 4683|      0|	SHALLOW_DUPLICATE_ATTRIB(val, f);
 4684|     17|    if (IS_S4_OBJECT(f))
  ------------------
  |  Branch (4684:9): [True: 0, False: 17]
  ------------------
 4685|      0|	SET_S4_OBJECT(val);
 4686|     17|    UNPROTECT(3);
  ------------------
  |  |  358|     17|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4687|     17|    vmaxset(vmax);
 4688|     17|    return val;
 4689|     17|}
R_bcTryCmpfun:
 4771|     17|{
 4772|     17|    TryData td = { fun, R_NilValue, R_NilValue, R_NilValue };
 4773|     17|    SEXP val = R_tryCatchError(try_cmpfun_body, &td, try_handler, &td);
 4774|     17|    return val == R_NilValue ? fun : val;
  ------------------
  |  Branch (4774:12): [True: 0, False: 17]
  ------------------
 4775|     17|}
bccompile.c:bc_init:
 4534|     17|{
 4535|     17|    if (bc_initialized)
  ------------------
  |  Branch (4535:9): [True: 15, False: 2]
  ------------------
 4536|     15|	return;
 4537|      2|    bc_initialized = TRUE;
 4538|       |
 4539|      2|    s_dotInternal = Rf_install(".Internal");
 4540|      2|    s_break = Rf_install("break");
 4541|      2|    s_next = Rf_install("next");
 4542|      2|    s_tmp = Rf_install("*tmp*");
 4543|      2|    s_vtmp = Rf_install("*vtmp*");
 4544|      2|    s_value = Rf_install("value");
 4545|      2|    s_NAMESPACE = Rf_install(".__NAMESPACE__.");
 4546|      2|    s_imports = Rf_install("imports");
 4547|      2|    s_exports = Rf_install("exports");
 4548|      2|    s_spec = Rf_install("spec");
 4549|      2|    s_stop = Rf_install("stop");
 4550|      2|    s_local = Rf_install("local");
 4551|      2|    s_bquote = Rf_install("bquote");
 4552|      2|    s_standardGeneric = Rf_install("standardGeneric");
 4553|      2|    s_browser = Rf_install("browser");
 4554|      2|    s_srcref = Rf_install("srcref");
 4555|      2|    s_srcfile = Rf_install("srcfile");
 4556|      2|    s_filename = Rf_install("filename");
 4557|      2|    s_compilerOptions = Rf_install("compilerOptions");
 4558|      2|    s_optimize = Rf_install("optimize");
 4559|      2|    s_suppressAll = Rf_install("suppressAll");
 4560|      2|    s_suppressNoSuperAssignVar = Rf_install("suppressNoSuperAssignVar");
 4561|      2|    s_suppressUndefined = Rf_install("suppressUndefined");
 4562|      2|    s_compiler = Rf_install("compiler");
 4563|       |
 4564|      2|    emptySwitchCall = Rf_lang2(s_stop,
 4565|      2|			       Rf_mkString("empty alternative in numeric switch"));
 4566|      2|    R_PreserveObject(emptySwitchCall);
 4567|      2|    foldConditions = Rf_allocVector(STRSXP, 2);
  ------------------
  |  |  126|      2|#define STRSXP	    16	  /* string vectors */
  ------------------
 4568|      2|    R_PreserveObject(foldConditions);
 4569|      2|    SET_STRING_ELT(foldConditions, 0, Rf_mkChar("error"));
 4570|      2|    SET_STRING_ELT(foldConditions, 1, Rf_mkChar("warning"));
 4571|       |
 4572|      2|    bc_version = R_bcVersionNumber();
 4573|       |
 4574|    140|    for (int i = 0; foldFuns[i]; i++)
  ------------------
  |  Branch (4574:21): [True: 138, False: 2]
  ------------------
 4575|    138|	set_flags(foldFuns[i], SI_FOLDFUN);
  ------------------
  |  |   68|    138|#define SI_FOLDFUN	0x0001	/* foldFuns */
  ------------------
 4576|     94|    for (int i = 0; languageFuns[i]; i++)
  ------------------
  |  Branch (4576:21): [True: 92, False: 2]
  ------------------
 4577|     92|	set_flags(languageFuns[i], SI_LANGFUN);
  ------------------
  |  |   69|     92|#define SI_LANGFUN	0x0002	/* languageFuns */
  ------------------
 4578|     48|    for (int i = 0; symbolFlags[i].name; i++)
  ------------------
  |  Branch (4578:21): [True: 46, False: 2]
  ------------------
 4579|     46|	set_flags(symbolFlags[i].name, symbolFlags[i].flags);
 4580|       |
 4581|       |    /* default handlers for the BUILTINs and SPECIALs of base; the
 4582|       |       primitives are bound directly when R starts, so a lazy-load
 4583|       |       promise is never one of them and is left unforced (forcing them
 4584|       |       all would load every R-level object of base here) */
 4585|      2|    SEXP names = PROTECT(R_lsInternal3(R_BaseEnv, TRUE, FALSE));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4586|  2.84k|    for (R_xlen_t i = 0; i < XLENGTH(names); i++) {
  ------------------
  |  Branch (4586:26): [True: 2.83k, False: 2]
  ------------------
 4587|  2.83k|	SEXP sym = Rf_installTrChar(STRING_ELT(names, i));
 4588|  2.83k|	SEXP val = Rf_findVarInFrame3(R_BaseEnv, sym, TRUE);
 4589|  2.83k|	if (TYPEOF(val) == SPECIALSXP || TYPEOF(val) == BUILTINSXP) {
  ------------------
  |  |  118|  5.67k|#define SPECIALSXP   7	  /* special forms */
  ------------------
              	if (TYPEOF(val) == SPECIALSXP || TYPEOF(val) == BUILTINSXP) {
  ------------------
  |  |  119|  2.75k|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (4589:6): [True: 84, False: 2.75k]
  |  Branch (4589:35): [True: 338, False: 2.41k]
  ------------------
 4590|    422|	    SymInfo *si = symtab_lookup(sym, TRUE);
 4591|    422|	    si->handler = TYPEOF(val) == SPECIALSXP ? h_special : h_builtin;
  ------------------
  |  |  118|    422|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (4591:20): [True: 84, False: 338]
  ------------------
 4592|    422|	    si->handlerPkg = PKG_BASE;
 4593|    422|	}
 4594|  2.83k|    }
 4595|      2|    UNPROTECT(1);
  ------------------
  |  |  358|      2|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4596|       |
 4597|    112|    for (int i = 0; inlineHandlers[i].name; i++)
  ------------------
  |  Branch (4597:21): [True: 110, False: 2]
  ------------------
 4598|    110|	set_handler(inlineHandlers[i].name, inlineHandlers[i].fn,
 4599|    110|		    inlineHandlers[i].pkg, inlineHandlers[i].op);
 4600|     50|    for (int i = 0; math1funs[i]; i++)
  ------------------
  |  Branch (4600:21): [True: 48, False: 2]
  ------------------
 4601|     48|	set_handler(math1funs[i], cmp_math1, PKG_BASE, i);
 4602|     42|    for (int i = 0; safeBaseInternals[i]; i++)
  ------------------
  |  Branch (4602:21): [True: 40, False: 2]
  ------------------
 4603|     40|	set_handler(safeBaseInternals[i], cmp_simple_internal, PKG_BASE, 0);
 4604|     94|    for (int i = 0; safeStatsInternals[i]; i++)
  ------------------
  |  Branch (4604:21): [True: 92, False: 2]
  ------------------
 4605|     92|	set_handler(safeStatsInternals[i], cmp_simple_internal, PKG_STATS, 0);
 4606|     10|    for (int i = 0; setterHandlers[i].name; i++)
  ------------------
  |  Branch (4606:21): [True: 8, False: 2]
  ------------------
 4607|      8|	symtab_lookup(Rf_install(setterHandlers[i].name), TRUE)->setter =
 4608|      8|	    setterHandlers[i].fn;
 4609|      8|    for (int i = 0; getterHandlers[i].name; i++)
  ------------------
  |  Branch (4609:21): [True: 6, False: 2]
  ------------------
 4610|      6|	symtab_lookup(Rf_install(getterHandlers[i].name), TRUE)->getter =
 4611|      6|	    getterHandlers[i].fn;
 4612|      2|}
bccompile.c:set_flags:
  163|    276|{
  164|    276|    SymInfo *si = symtab_lookup(Rf_install(name), TRUE);
  165|    276|    si->flags |= flags;
  166|    276|}
bccompile.c:symtab_lookup:
  120|  2.39k|{
  121|  2.39k|    if (symtab == NULL) {
  ------------------
  |  Branch (121:9): [True: 2, False: 2.39k]
  ------------------
  122|      2|	symtab_size = 4096;
  123|      2|	symtab = (SymInfo *) calloc(symtab_size, sizeof(SymInfo));
  124|      2|	if (symtab == NULL)
  ------------------
  |  Branch (124:6): [True: 0, False: 2]
  ------------------
  125|      0|	    Rf_error("allocation failed");
  126|      2|    }
  127|  2.39k|    if (create && 2 * (symtab_count + 1) > symtab_size) {
  ------------------
  |  Branch (127:9): [True: 1.00k, False: 1.39k]
  |  Branch (127:19): [True: 0, False: 1.00k]
  ------------------
  128|      0|	int osize = symtab_size;
  129|      0|	SymInfo *otab = symtab;
  130|      0|	symtab_size = 2 * osize;
  131|      0|	symtab = (SymInfo *) calloc(symtab_size, sizeof(SymInfo));
  132|      0|	if (symtab == NULL)
  ------------------
  |  Branch (132:6): [True: 0, False: 0]
  ------------------
  133|      0|	    Rf_error("allocation failed");
  134|      0|	for (int i = 0; i < osize; i++)
  ------------------
  |  Branch (134:18): [True: 0, False: 0]
  ------------------
  135|      0|	    if (otab[i].sym != NULL) {
  ------------------
  |  Branch (135:10): [True: 0, False: 0]
  ------------------
  136|      0|		unsigned h = ptr_hash(otab[i].sym) & (symtab_size - 1);
  137|      0|		while (symtab[h].sym != NULL)
  ------------------
  |  Branch (137:10): [True: 0, False: 0]
  ------------------
  138|      0|		    h = (h + 1) & (symtab_size - 1);
  139|      0|		symtab[h] = otab[i];
  140|      0|	    }
  141|      0|	free(otab);
  142|      0|    }
  143|  2.39k|    unsigned h = ptr_hash(sym) & (symtab_size - 1);
  144|  2.42k|    while (symtab[h].sym != NULL) {
  ------------------
  |  Branch (144:12): [True: 1.42k, False: 998]
  ------------------
  145|  1.42k|	if (symtab[h].sym == sym)
  ------------------
  |  Branch (145:6): [True: 1.39k, False: 32]
  ------------------
  146|  1.39k|	    return &symtab[h];
  147|     32|	h = (h + 1) & (symtab_size - 1);
  148|     32|    }
  149|    998|    if (! create)
  ------------------
  |  Branch (149:9): [True: 424, False: 574]
  ------------------
  150|    424|	return NULL;
  151|    574|    symtab[h].sym = sym;
  152|    574|    symtab_count++;
  153|    574|    return &symtab[h];
  154|    998|}
bccompile.c:ptr_hash:
  111|  9.73k|{
  112|  9.73k|    uintptr_t v = (uintptr_t) p;
  113|  9.73k|    v ^= v >> 29;
  114|  9.73k|    v *= 0xbf58476d1ce4e5b9ULL;
  115|  9.73k|    v ^= v >> 32;
  116|  9.73k|    return (unsigned) v;
  117|  9.73k|}
bccompile.c:h_special:
 3140|      2|{
 3141|      2|    return cmp_special(e, cb, cntxt);
 3142|      2|}
bccompile.c:cmp_special:
 3125|      2|{
 3126|      2|    int ci = putconst(cb, e);
 3127|      2|    put1(cb, CALLSPECIAL_OP, ci);
 3128|      2|    if (cntxt->tailcall)
  ------------------
  |  Branch (3128:9): [True: 0, False: 2]
  ------------------
 3129|      0|	put0(cb, RETURN_OP);
 3130|      2|    return TRUE;
 3131|      2|}
bccompile.c:putconst:
 1272|  2.35k|{
 1273|  2.35k|    unsigned h = const_hash(x, CONST_HASH_DEPTH);
  ------------------
  |  | 1228|  2.35k|#define CONST_HASH_DEPTH 3
  ------------------
 1274|  2.35k|    unsigned b = h & (unsigned) (cb->nbuckets - 1);
 1275|  2.35k|    int found = -1;
 1276|  2.61k|    for (int j = cb->cheads[b]; j >= 0; j = cb->cnext[j]) {
  ------------------
  |  Branch (1276:33): [True: 1.59k, False: 1.01k]
  ------------------
 1277|  1.59k|	SEXP y = VECTOR_ELT(cb->consts, j);
 1278|       |	/* 16 - take closure environments into account, this is necessary
 1279|       |	        as closures (closure literals) can get into the AST when
 1280|       |	        the AST is generated by a program (e.g. distr package) */
 1281|  1.59k|	if (x == y || (cb->chash[j] == h && R_compute_identical(x, y, 16))) {
  ------------------
  |  Branch (1281:6): [True: 1.31k, False: 277]
  |  Branch (1281:17): [True: 24, False: 253]
  |  Branch (1281:38): [True: 24, False: 0]
  ------------------
 1282|  1.34k|	    found = j;
 1283|  1.34k|	    break;
 1284|  1.34k|	}
 1285|  1.59k|    }
 1286|  2.35k|#ifdef BCCOMPILE_CHECK_HASH
 1287|  2.35k|    check_const_hash(cb, x, found);
 1288|  2.35k|#endif
 1289|  2.35k|    if (found >= 0)
  ------------------
  |  Branch (1289:9): [True: 1.34k, False: 1.01k]
  ------------------
 1290|  1.34k|	return found;
 1291|       |
 1292|  1.01k|    if (cb->nconst == cb->constcap) {
  ------------------
  |  Branch (1292:9): [True: 7, False: 1.01k]
  ------------------
 1293|      7|	int ncap = 2 * cb->constcap;
 1294|      7|	PROTECT(x);
  ------------------
  |  |  357|      7|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1295|      7|	SEXP nconsts = Rf_allocVector(VECSXP, ncap);
  ------------------
  |  |  131|      7|#define VECSXP	    19	  /* generic vectors */
  ------------------
 1296|    231|	for (int i = 0; i < cb->nconst; i++)
  ------------------
  |  Branch (1296:18): [True: 224, False: 7]
  ------------------
 1297|    224|	    SET_VECTOR_ELT(nconsts, i, VECTOR_ELT(cb->consts, i));
 1298|      7|	REPROTECT(cb->consts = nconsts, cb->cpi);
  ------------------
  |  |  367|      7|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
 1299|      7|	UNPROTECT(1);
  ------------------
  |  |  358|      7|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1300|      7|	cb->constcap = ncap;
 1301|      7|	unsigned *nh = (unsigned *) R_alloc(ncap, sizeof(unsigned));
 1302|      7|	memcpy(nh, cb->chash, cb->nconst * sizeof(unsigned));
 1303|      7|	cb->chash = nh;
 1304|      7|	cb->cnext = grow_ints(cb->cnext, cb->nconst, ncap);
 1305|      7|	rebuild_const_index(cb);
 1306|      7|	b = h & (unsigned) (cb->nbuckets - 1);
 1307|      7|    }
 1308|  1.01k|    int i = cb->nconst++;
 1309|  1.01k|    SET_VECTOR_ELT(cb->consts, i, x);
 1310|  1.01k|    cb->chash[i] = h;
 1311|  1.01k|    cb->cnext[i] = cb->cheads[b];
 1312|  1.01k|    cb->cheads[b] = i;
 1313|  1.01k|    return i;
 1314|  2.35k|}
bccompile.c:const_hash:
 1122|  13.8k|{
 1123|  13.8k|    unsigned h = hash_mix(2166136261u, (unsigned) TYPEOF(x));
 1124|  13.8k|    if (OBJECT(x))
  ------------------
  |  Branch (1124:9): [True: 261, False: 13.5k]
  ------------------
 1125|    261|	h = hash_mix(h, 1);
 1126|       |
 1127|  13.8k|    switch (TYPEOF(x)) {
 1128|  6.73k|    case SYMSXP:
  ------------------
  |  |  112|  6.73k|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (1128:5): [True: 6.73k, False: 7.07k]
  ------------------
 1129|  6.73k|    case ENVSXP:
  ------------------
  |  |  115|  6.73k|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (1129:5): [True: 0, False: 13.8k]
  ------------------
 1130|  6.73k|    case WEAKREFSXP:
  ------------------
  |  |  135|  6.73k|#define WEAKREFSXP  23    /* weak reference */
  ------------------
  |  Branch (1130:5): [True: 0, False: 13.8k]
  ------------------
 1131|  6.73k|	h = hash_mix(h, ptr_hash(x));
 1132|  6.73k|	break;
 1133|    366|    case LGLSXP: {
  ------------------
  |  |  121|    366|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (1133:5): [True: 366, False: 13.4k]
  ------------------
 1134|    366|	R_xlen_t n = XLENGTH(x);
 1135|    366|	h = hash_mix(h, (unsigned) n);
 1136|    732|	for (R_xlen_t i = 0; i < n && i < CONST_HASH_WIDTH; i++)
  ------------------
  |  | 1116|    366|#define CONST_HASH_WIDTH 8
  ------------------
  |  Branch (1136:23): [True: 366, False: 366]
  |  Branch (1136:32): [True: 366, False: 0]
  ------------------
 1137|    366|	    h = hash_mix(h, (unsigned) LOGICAL_ELT(x, i));
 1138|    366|	break;
 1139|  6.73k|    }
 1140|    790|    case INTSXP: {
  ------------------
  |  |  123|    790|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1140:5): [True: 790, False: 13.0k]
  ------------------
 1141|    790|	R_xlen_t n = XLENGTH(x);
 1142|    790|	h = hash_mix(h, (unsigned) n);
 1143|  3.85k|	for (R_xlen_t i = 0; i < n && i < CONST_HASH_WIDTH; i++)
  ------------------
  |  | 1116|  3.21k|#define CONST_HASH_WIDTH 8
  ------------------
  |  Branch (1143:23): [True: 3.21k, False: 633]
  |  Branch (1143:32): [True: 3.06k, False: 157]
  ------------------
 1144|  3.06k|	    h = hash_mix(h, (unsigned) INTEGER_ELT(x, i));
 1145|    790|	break;
 1146|  6.73k|    }
 1147|  1.35k|    case REALSXP: {
  ------------------
  |  |  124|  1.35k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1147:5): [True: 1.35k, False: 12.4k]
  ------------------
 1148|  1.35k|	R_xlen_t n = XLENGTH(x);
 1149|  1.35k|	h = hash_mix(h, (unsigned) n);
 1150|  2.70k|	for (R_xlen_t i = 0; i < n && i < CONST_HASH_WIDTH; i++)
  ------------------
  |  | 1116|  1.35k|#define CONST_HASH_WIDTH 8
  ------------------
  |  Branch (1150:23): [True: 1.35k, False: 1.35k]
  |  Branch (1150:32): [True: 1.35k, False: 0]
  ------------------
 1151|  1.35k|	    h = hash_mix(h, hash_double(REAL_ELT(x, i)));
 1152|  1.35k|	break;
 1153|  6.73k|    }
 1154|      0|    case CPLXSXP: {
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (1154:5): [True: 0, False: 13.8k]
  ------------------
 1155|      0|	R_xlen_t n = XLENGTH(x);
 1156|      0|	h = hash_mix(h, (unsigned) n);
 1157|      0|	for (R_xlen_t i = 0; i < n && i < CONST_HASH_WIDTH; i++) {
  ------------------
  |  | 1116|      0|#define CONST_HASH_WIDTH 8
  ------------------
  |  Branch (1157:23): [True: 0, False: 0]
  |  Branch (1157:32): [True: 0, False: 0]
  ------------------
 1158|      0|	    Rcomplex z = COMPLEX_ELT(x, i);
 1159|      0|	    h = hash_mix(h, hash_double(z.r));
 1160|      0|	    h = hash_mix(h, hash_double(z.i));
 1161|      0|	}
 1162|      0|	break;
 1163|  6.73k|    }
 1164|    350|    case STRSXP: {
  ------------------
  |  |  126|    350|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1164:5): [True: 350, False: 13.4k]
  ------------------
 1165|       |	/* STRING_ELT() on a deferred string (as.character() of a long
 1166|       |	   sequence) expands the whole vector, so a long character vector
 1167|       |	   is hashed by its length alone */
 1168|    350|	R_xlen_t n = XLENGTH(x);
 1169|    350|	h = hash_mix(h, (unsigned) n);
 1170|    350|	if (n <= CONST_HASH_MAX_STRINGS)
  ------------------
  |  | 1117|    350|#define CONST_HASH_MAX_STRINGS 64
  ------------------
  |  Branch (1170:6): [True: 350, False: 0]
  ------------------
 1171|    700|	    for (R_xlen_t i = 0; i < n && i < CONST_HASH_WIDTH; i++)
  ------------------
  |  | 1116|    350|#define CONST_HASH_WIDTH 8
  ------------------
  |  Branch (1171:27): [True: 350, False: 350]
  |  Branch (1171:36): [True: 350, False: 0]
  ------------------
 1172|    350|		h = hash_mix(h, hash_charsxp(STRING_ELT(x, i)));
 1173|    350|	break;
 1174|  6.73k|    }
 1175|      0|    case RAWSXP: {
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (1175:5): [True: 0, False: 13.8k]
  ------------------
 1176|      0|	R_xlen_t n = XLENGTH(x);
 1177|      0|	h = hash_mix(h, (unsigned) n);
 1178|      0|	for (R_xlen_t i = 0; i < n && i < CONST_HASH_WIDTH; i++)
  ------------------
  |  | 1116|      0|#define CONST_HASH_WIDTH 8
  ------------------
  |  Branch (1178:23): [True: 0, False: 0]
  |  Branch (1178:32): [True: 0, False: 0]
  ------------------
 1179|      0|	    h = hash_mix(h, RAW_ELT(x, i));
 1180|      0|	break;
 1181|  6.73k|    }
 1182|    140|    case VECSXP:
  ------------------
  |  |  131|    140|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (1182:5): [True: 140, False: 13.6k]
  ------------------
 1183|    140|    case EXPRSXP: {
  ------------------
  |  |  132|    140|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (1183:5): [True: 0, False: 13.8k]
  ------------------
 1184|    140|	R_xlen_t n = XLENGTH(x);
 1185|    140|	h = hash_mix(h, (unsigned) n);
 1186|    140|	if (depth > 0)
  ------------------
  |  Branch (1186:6): [True: 123, False: 17]
  ------------------
 1187|    614|	    for (R_xlen_t i = 0; i < n && i < CONST_HASH_WIDTH; i++)
  ------------------
  |  | 1116|    493|#define CONST_HASH_WIDTH 8
  ------------------
  |  Branch (1187:27): [True: 493, False: 121]
  |  Branch (1187:36): [True: 491, False: 2]
  ------------------
 1188|    491|		h = hash_mix(h, const_hash(VECTOR_ELT(x, i), depth - 1));
 1189|    140|	break;
 1190|    140|    }
 1191|  3.93k|    case LANGSXP:
  ------------------
  |  |  117|  3.93k|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (1191:5): [True: 3.93k, False: 9.87k]
  ------------------
 1192|  3.93k|    case LISTSXP: {
  ------------------
  |  |  113|  3.93k|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (1192:5): [True: 0, False: 13.8k]
  ------------------
 1193|  3.93k|	int n = 0;
 1194|  15.4k|	for (SEXP p = x; p != R_NilValue && n < CONST_HASH_WIDTH; p = CDR(p))
  ------------------
  |  | 1116|  11.5k|#define CONST_HASH_WIDTH 8
  ------------------
  |  Branch (1194:19): [True: 11.5k, False: 3.93k]
  |  Branch (1194:38): [True: 11.5k, False: 0]
  ------------------
 1195|  11.5k|	    n++;
 1196|  3.93k|	h = hash_mix(h, (unsigned) n);
 1197|  3.93k|	if (depth > 0) {
  ------------------
  |  Branch (1197:6): [True: 3.59k, False: 336]
  ------------------
 1198|  3.59k|	    int i = 0;
 1199|  14.2k|	    for (SEXP p = x; p != R_NilValue && i < CONST_HASH_WIDTH;
  ------------------
  |  | 1116|  10.6k|#define CONST_HASH_WIDTH 8
  ------------------
  |  Branch (1199:23): [True: 10.6k, False: 3.59k]
  |  Branch (1199:42): [True: 10.6k, False: 0]
  ------------------
 1200|  10.6k|		 p = CDR(p), i++)
 1201|  10.6k|		h = hash_mix(h, const_hash(CAR(p), depth - 1));
 1202|  3.59k|	}
 1203|  3.93k|	break;
 1204|  3.93k|    }
 1205|    140|    case BCODESXP:
  ------------------
  |  |  133|    140|#define BCODESXP    21    /* byte code */
  ------------------
  |  Branch (1205:5): [True: 140, False: 13.6k]
  ------------------
 1206|    140|	if (depth > 0) {
  ------------------
  |  Branch (1206:6): [True: 140, False: 0]
  ------------------
 1207|    140|	    h = hash_mix(h, const_hash(CAR(x), depth - 1));
 1208|    140|	    h = hash_mix(h, const_hash(CDR(x), depth - 1));
 1209|    140|	}
 1210|    140|	break;
 1211|      0|    case CLOSXP:
  ------------------
  |  |  114|      0|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (1211:5): [True: 0, False: 13.8k]
  ------------------
 1212|      0|	if (depth > 0)
  ------------------
  |  Branch (1212:6): [True: 0, False: 0]
  ------------------
 1213|      0|	    h = hash_mix(h, const_hash(FORMALS(x), depth - 1));
 1214|      0|	h = hash_mix(h, ptr_hash(CLOENV(x)));
 1215|      0|	break;
 1216|      0|    default:
  ------------------
  |  Branch (1216:5): [True: 0, False: 13.8k]
  ------------------
 1217|      0|	break;
 1218|  13.8k|    }
 1219|       |
 1220|  13.8k|    h ^= h >> 16;
 1221|  13.8k|    h *= 0x85ebca6bu;
 1222|  13.8k|    h ^= h >> 13;
 1223|  13.8k|    h *= 0xc2b2ae35u;
 1224|  13.8k|    h ^= h >> 16;
 1225|  13.8k|    return h;
 1226|  13.8k|}
bccompile.c:hash_mix:
 1072|  45.3k|{
 1073|  45.3k|    return (h ^ v) * 0x9e3779b1u;
 1074|  45.3k|}
bccompile.c:hash_double:
 1079|  1.35k|{
 1080|  1.35k|    if (d == 0) {
  ------------------
  |  Branch (1080:9): [True: 101, False: 1.24k]
  ------------------
 1081|    101|	return 0;
 1082|    101|    }
 1083|  1.24k|    else if (R_IsNA(d)) {
  ------------------
  |  Branch (1083:14): [True: 0, False: 1.24k]
  ------------------
 1084|      0|	return 1;
 1085|      0|    }
 1086|  1.24k|    else if (ISNAN(d)) {
  ------------------
  |  |   76|  1.24k|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 1.24k]
  |  |  ------------------
  ------------------
 1087|      0|	return 2;
 1088|      0|    }
 1089|  1.24k|    else {
 1090|  1.24k|	uint64_t bits;
 1091|  1.24k|	memcpy(&bits, &d, sizeof bits);
 1092|  1.24k|	return (unsigned) (bits ^ (bits >> 32));
 1093|  1.24k|    }
 1094|  1.35k|}
bccompile.c:hash_charsxp:
 1097|    350|{
 1098|       |    /* Seql() compares translated strings: strings in different
 1099|       |       encodings may be equal, so only an ASCII prefix is hashed, and
 1100|       |       the length only for a string that is ASCII throughout */
 1101|    350|    if (s == NA_STRING)
  ------------------
  |  |  433|    350|#define NA_STRING	R_NaString
  ------------------
  |  Branch (1101:9): [True: 0, False: 350]
  ------------------
 1102|      0|	return 1;
 1103|    350|    const char *p = CHAR(s);
  ------------------
  |  |  203|    350|#define CHAR(x) R_CHAR(x)
  ------------------
 1104|    350|    unsigned h = 7;
 1105|    350|    int i;
 1106|  1.00k|    for (i = 0; i < 32 && p[i]; i++) {
  ------------------
  |  Branch (1106:17): [True: 1.00k, False: 0]
  |  Branch (1106:27): [True: 656, False: 350]
  ------------------
 1107|    656|	if ((unsigned char) p[i] >= 0x80)
  ------------------
  |  Branch (1107:6): [True: 0, False: 656]
  ------------------
 1108|      0|	    return h;
 1109|    656|	h = hash_mix(h, (unsigned char) p[i]);
 1110|    656|    }
 1111|    350|    if (p[i] == '\0')
  ------------------
  |  Branch (1111:9): [True: 350, False: 0]
  ------------------
 1112|    350|	h = hash_mix(h, (unsigned) i + 1);
 1113|    350|    return h;
 1114|    350|}
bccompile.c:check_const_hash:
 1256|  2.35k|{
 1257|  2.35k|    int scan = -1;
 1258|  24.5k|    for (int j = 0; j < cb->nconst; j++)
  ------------------
  |  Branch (1258:21): [True: 23.5k, False: 1.01k]
  ------------------
 1259|  23.5k|	if (R_compute_identical(x, VECTOR_ELT(cb->consts, j), 16)) {
  ------------------
  |  Branch (1259:6): [True: 1.34k, False: 22.2k]
  ------------------
 1260|  1.34k|	    scan = j;
 1261|  1.34k|	    break;
 1262|  1.34k|	}
 1263|  2.35k|    if (scan != found)
  ------------------
  |  Branch (1263:9): [True: 0, False: 2.35k]
  ------------------
 1264|      0|	Rf_error("constant pool lookup found %d but a scan of the pool %d",
 1265|      0|		 found, scan);
 1266|  2.35k|}
bccompile.c:grow_ints:
 1064|     25|{
 1065|     25|    int *q = (int *) R_alloc(newn, sizeof(int));
 1066|     25|    if (oldn > 0)
  ------------------
  |  Branch (1066:9): [True: 25, False: 0]
  ------------------
 1067|     25|	memcpy(q, p, oldn * sizeof(int));
 1068|     25|    return q;
 1069|     25|}
bccompile.c:rebuild_const_index:
 1231|    147|{
 1232|    147|    int nb = 32;
 1233|    301|    while (nb < 2 * cb->constcap)
  ------------------
  |  Branch (1233:12): [True: 154, False: 147]
  ------------------
 1234|    154|	nb *= 2;
 1235|    147|    cb->nbuckets = nb;
 1236|    147|    cb->cheads = (int *) R_alloc(nb, sizeof(int));
 1237|  10.0k|    for (int i = 0; i < nb; i++)
  ------------------
  |  Branch (1237:21): [True: 9.85k, False: 147]
  ------------------
 1238|  9.85k|	cb->cheads[i] = -1;
 1239|    371|    for (int i = 0; i < cb->nconst; i++) {
  ------------------
  |  Branch (1239:21): [True: 224, False: 147]
  ------------------
 1240|    224|	unsigned b = cb->chash[i] & (unsigned) (nb - 1);
 1241|    224|	cb->cnext[i] = cb->cheads[b];
 1242|    224|	cb->cheads[b] = i;
 1243|    224|    }
 1244|    147|}
bccompile.c:put1:
 1363|    817|{
 1364|    817|    int w[2] = { op, a };
 1365|       |    putcode(cb, 2, w, NULL);
 1366|    817|}
bccompile.c:putcode:
 1337|  1.20k|{
 1338|  1.20k|    ensure_code(cb, n);
 1339|  1.20k|    int start = cb->ncode;
 1340|  3.38k|    for (int i = 0; i < n; i++) {
  ------------------
  |  Branch (1340:21): [True: 2.18k, False: 1.20k]
  ------------------
 1341|  2.18k|	cb->code[start + i] = words[i];
 1342|  2.18k|	cb->kind[start + i] = kinds == NULL ? WK_INT : kinds[i];
  ------------------
  |  | 1029|  1.94k|#define WK_INT 0
  ------------------
  |  Branch (1342:24): [True: 1.94k, False: 243]
  ------------------
 1343|  2.18k|    }
 1344|  1.20k|    if (cb->exprTracking) {
  ------------------
  |  Branch (1344:9): [True: 1.20k, False: 0]
  ------------------
 1345|  1.20k|	int ei = putconst(cb, cb->curExpr);
 1346|  3.38k|	for (int i = 0; i < n; i++)
  ------------------
  |  Branch (1346:18): [True: 2.18k, False: 1.20k]
  ------------------
 1347|  2.18k|	    cb->exprbuf[start + i] = ei;
 1348|  1.20k|    }
 1349|  1.20k|    if (cb->srcrefTracking) {
  ------------------
  |  Branch (1349:9): [True: 0, False: 1.20k]
  ------------------
 1350|      0|	int si = putconst(cb, cb->curSrcref);
 1351|      0|	for (int i = 0; i < n; i++)
  ------------------
  |  Branch (1351:18): [True: 0, False: 0]
  ------------------
 1352|      0|	    cb->srcrefbuf[start + i] = si;
 1353|      0|    }
 1354|  1.20k|    cb->ncode += n;
 1355|  1.20k|}
bccompile.c:ensure_code:
 1317|  1.20k|{
 1318|  1.20k|    if (cb->ncode + n <= cb->codecap)
  ------------------
  |  Branch (1318:9): [True: 1.19k, False: 9]
  ------------------
 1319|  1.19k|	return;
 1320|      9|    int ncap = cb->codecap;
 1321|     18|    while (cb->ncode + n > ncap)
  ------------------
  |  Branch (1321:12): [True: 9, False: 9]
  ------------------
 1322|      9|	ncap *= 2;
 1323|      9|    cb->code = grow_ints(cb->code, cb->ncode, ncap);
 1324|      9|    unsigned char *nk = (unsigned char *) R_alloc(ncap, 1);
 1325|      9|    memcpy(nk, cb->kind, cb->ncode);
 1326|      9|    cb->kind = nk;
 1327|      9|    if (cb->exprTracking)
  ------------------
  |  Branch (1327:9): [True: 9, False: 0]
  ------------------
 1328|      9|	cb->exprbuf = grow_ints(cb->exprbuf, cb->ncode, ncap);
 1329|      9|    if (cb->srcrefTracking)
  ------------------
  |  Branch (1329:9): [True: 0, False: 9]
  ------------------
 1330|      0|	cb->srcrefbuf = grow_ints(cb->srcrefbuf, cb->ncode, ncap);
 1331|      9|    cb->codecap = ncap;
 1332|      9|}
bccompile.c:put0:
 1358|    307|{
 1359|       |    putcode(cb, 1, &op, NULL);
 1360|    307|}
bccompile.c:h_builtin:
 3135|     77|{
 3136|     77|    return cmp_builtin(e, cb, cntxt, FALSE);
 3137|     77|}
bccompile.c:cmp_builtin:
 3060|     79|{
 3061|     79|    SEXP fun = CAR(e);
 3062|     79|    SEXP args = CDR(e);
 3063|     79|    if (dots_or_missing(args))
  ------------------
  |  Branch (3063:9): [True: 0, False: 79]
  ------------------
 3064|      0|	return FALSE;
 3065|     79|    int ci = putconst(cb, fun);
 3066|     79|    put1(cb, internal ? GETINTLBUILTIN_OP : GETBUILTIN_OP, ci);
  ------------------
  |  Branch (3066:14): [True: 2, False: 77]
  ------------------
 3067|     79|    cmp_builtin_args(args, cb, cntxt, FALSE);
 3068|     79|    ci = putconst(cb, e);
 3069|     79|    put1(cb, CALLBUILTIN_OP, ci);
 3070|     79|    if (cntxt->tailcall)
  ------------------
  |  Branch (3070:9): [True: 21, False: 58]
  ------------------
 3071|     21|	put0(cb, RETURN_OP);
 3072|     79|    return TRUE;
 3073|     79|}
bccompile.c:dots_or_missing:
  241|    122|{
  242|    370|    for (SEXP p = args; p != R_NilValue; p = CDR(p)) {
  ------------------
  |  Branch (242:25): [True: 248, False: 122]
  ------------------
  243|    248|	bc_tick();
  244|    248|	if (CAR(p) == R_MissingArg || CAR(p) == R_DotsSymbol)
  ------------------
  |  Branch (244:6): [True: 0, False: 248]
  |  Branch (244:32): [True: 0, False: 248]
  ------------------
  245|      0|	    return TRUE;
  246|    248|    }
  247|    122|    return FALSE;
  248|    122|}
bccompile.c:bc_tick:
  215|  2.44k|{
  216|  2.44k|    if (++bc_tick_count >= 1000) {
  ------------------
  |  Branch (216:9): [True: 2, False: 2.43k]
  ------------------
  217|      2|	bc_tick_count = 0;
  218|      2|	R_CheckUserInterrupt();
  219|      2|    }
  220|  2.44k|}
bccompile.c:cmp_builtin_args:
 3077|     79|{
 3078|     79|    Cntxt ncntxt = make_arg_context(cntxt);
 3079|    215|    for (SEXP p = args; p != R_NilValue; p = CDR(p)) {
  ------------------
  |  Branch (3079:25): [True: 136, False: 79]
  ------------------
 3080|    136|	bc_tick();
 3081|    136|	SEXP a = CAR(p);
 3082|    136|	SEXP n = TAG(p);
 3083|    136|	if (a == R_MissingArg) {
  ------------------
  |  Branch (3083:6): [True: 0, False: 136]
  ------------------
 3084|      0|	    if (missingOK) {
  ------------------
  |  Branch (3084:10): [True: 0, False: 0]
  ------------------
 3085|      0|		put0(cb, DOMISSING_OP);
 3086|      0|		cmp_tag(n, cb);
 3087|      0|	    }
 3088|      0|	    else {
 3089|      0|		stop_at(cntxt, cb, _("missing arguments are not allowed"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3090|      0|	    }
 3091|      0|	}
 3092|    136|	else if (TYPEOF(a) == BCODESXP) {
  ------------------
  |  |  133|    136|#define BCODESXP    21    /* byte code */
  ------------------
  |  Branch (3092:11): [True: 0, False: 136]
  ------------------
 3093|      0|	    stop_at(cntxt, cb, _("cannot compile byte code literals in code"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3094|      0|	}
 3095|    136|	else if (TYPEOF(a) == PROMSXP) {
  ------------------
  |  |  116|    136|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (3095:11): [True: 0, False: 136]
  ------------------
 3096|      0|	    stop_at(cntxt, cb, _("cannot compile promise literals in code"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3097|      0|	}
 3098|    136|	else {
 3099|    136|	    if (TYPEOF(a) == SYMSXP) {
  ------------------
  |  |  112|    136|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (3099:10): [True: 38, False: 98]
  ------------------
 3100|     38|		SEXP ca;
 3101|     38|		if (! constant_fold(a, cntxt, cb, &ca)) {
  ------------------
  |  Branch (3101:7): [True: 38, False: 0]
  ------------------
 3102|     38|		    cmp_sym(a, cb, &ncntxt, missingOK);
 3103|     38|		    put0(cb, PUSHARG_OP);
 3104|     38|		}
 3105|      0|		else {
 3106|      0|		    PROTECT(ca);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3107|      0|		    cmp_const_arg(ca, cb);
 3108|      0|		    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 3109|      0|		}
 3110|     38|	    }
 3111|     98|	    else if (TYPEOF(a) == LANGSXP) {
  ------------------
  |  |  117|     98|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (3111:15): [True: 65, False: 33]
  ------------------
 3112|     65|		cmp(a, cb, &ncntxt, FALSE, TRUE);
 3113|     65|		put0(cb, PUSHARG_OP);
 3114|     65|	    }
 3115|     33|	    else {
 3116|     33|		cmp_const_arg(a, cb);
 3117|     33|	    }
 3118|    136|	    cmp_tag(n, cb);
 3119|    136|	}
 3120|    136|    }
 3121|     79|}
bccompile.c:make_arg_context:
  796|    119|{
  797|    119|    Cntxt c = *cntxt;
  798|    119|    c.toplevel = FALSE;
  799|    119|    c.tailcall = FALSE;
  800|    119|    if (c.hasLoop)
  ------------------
  |  Branch (800:9): [True: 0, False: 119]
  ------------------
  801|      0|	c.gotoOK = FALSE;
  802|    119|    return c;
  803|    119|}
bccompile.c:cmp_tag:
 2406|    321|{
 2407|    321|    if (tag != R_NilValue && CHAR(PRINTNAME(tag))[0] != '\0') {
  ------------------
  |  |  203|     50|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (2407:9): [True: 50, False: 271]
  |  Branch (2407:30): [True: 50, False: 0]
  ------------------
 2408|     50|	int ci = putconst(cb, tag);
 2409|     50|	put1(cb, SETTAG_OP, ci);
 2410|     50|    }
 2411|    321|}
bccompile.c:constant_fold:
 1820|    479|{
 1821|    479|    switch (TYPEOF(e)) {
 1822|    289|    case LANGSXP:
  ------------------
  |  |  117|    289|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (1822:5): [True: 289, False: 190]
  ------------------
 1823|    289|	return constant_fold_call(e, cntxt, value);
 1824|    155|    case SYMSXP:
  ------------------
  |  |  112|    155|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (1824:5): [True: 155, False: 324]
  ------------------
 1825|    155|	return constant_fold_sym(e, cntxt, value);
 1826|      0|    case PROMSXP:
  ------------------
  |  |  116|      0|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (1826:5): [True: 0, False: 479]
  ------------------
 1827|      0|	stop_at(cntxt, cb, _("cannot constant fold literal promises"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1828|      0|    case BCODESXP:
  ------------------
  |  |  133|      0|#define BCODESXP    21    /* byte code */
  ------------------
  |  Branch (1828:5): [True: 0, False: 479]
  ------------------
 1829|      0|	stop_at(cntxt, cb, _("cannot constant fold literal bytecode objects"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1830|     35|    default:
  ------------------
  |  Branch (1830:5): [True: 35, False: 444]
  ------------------
 1831|     35|	if (check_const(e)) {
  ------------------
  |  Branch (1831:6): [True: 35, False: 0]
  ------------------
 1832|     35|	    *value = e;
 1833|     35|	    return TRUE;
 1834|     35|	}
 1835|      0|	return FALSE;
 1836|    479|    }
 1837|    479|}
bccompile.c:constant_fold_call:
 1766|    289|{
 1767|    289|    R_CheckStack();
 1768|    289|    SEXP fun = CAR(e);
 1769|    289|    if (TYPEOF(fun) != SYMSXP)
  ------------------
  |  |  112|    289|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (1769:9): [True: 2, False: 287]
  ------------------
 1770|      2|	return FALSE;
 1771|    287|    SEXP ffun = get_fold_fun(fun, cntxt);
 1772|    287|    if (ffun == NULL)
  ------------------
  |  Branch (1772:9): [True: 235, False: 52]
  ------------------
 1773|    235|	return FALSE;
 1774|       |
 1775|       |    /* every argument must fold to a constant */
 1776|     52|    SEXP args = PROTECT(copy_call(CDR(e)));
  ------------------
  |  |  357|     52|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1777|     56|    for (SEXP p = args; p != R_NilValue; p = CDR(p)) {
  ------------------
  |  Branch (1777:25): [True: 55, False: 1]
  ------------------
 1778|     55|	bc_tick();
 1779|     55|	if (CAR(p) == R_MissingArg) {
  ------------------
  |  Branch (1779:6): [True: 0, False: 55]
  ------------------
 1780|      0|	    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1781|      0|	    return FALSE;
 1782|      0|	}
 1783|     55|	SEXP val;
 1784|     55|	if (! constant_fold(CAR(p), cntxt, NULL, &val)) {
  ------------------
  |  Branch (1784:6): [True: 51, False: 4]
  ------------------
 1785|     51|	    UNPROTECT(1);
  ------------------
  |  |  358|     51|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1786|     51|	    return FALSE;
 1787|     51|	}
 1788|      4|	SETCAR(p, val);
 1789|      4|    }
 1790|       |    /* all(modes %in% constModes): a check of the types only */
 1791|      2|    for (SEXP p = args; p != R_NilValue; p = CDR(p))
  ------------------
  |  Branch (1791:25): [True: 1, False: 1]
  ------------------
 1792|      1|	switch (TYPEOF(CAR(p))) {
 1793|      1|	case NILSXP: case LGLSXP: case INTSXP: case REALSXP: case CPLXSXP:
  ------------------
  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  ------------------
              	case NILSXP: case LGLSXP: case INTSXP: case REALSXP: case CPLXSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
              	case NILSXP: case LGLSXP: case INTSXP: case REALSXP: case CPLXSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
              	case NILSXP: case LGLSXP: case INTSXP: case REALSXP: case CPLXSXP:
  ------------------
  |  |  124|      1|#define REALSXP	    14	  /* real variables */
  ------------------
              	case NILSXP: case LGLSXP: case INTSXP: case REALSXP: case CPLXSXP:
  ------------------
  |  |  125|      1|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (1793:2): [True: 0, False: 1]
  |  Branch (1793:15): [True: 0, False: 1]
  |  Branch (1793:28): [True: 0, False: 1]
  |  Branch (1793:41): [True: 1, False: 0]
  |  Branch (1793:55): [True: 0, False: 1]
  ------------------
 1794|      1|	case STRSXP:
  ------------------
  |  |  126|      1|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1794:2): [True: 0, False: 1]
  ------------------
 1795|      1|	    break;
 1796|      0|	default:
  ------------------
  |  Branch (1796:2): [True: 0, False: 1]
  ------------------
 1797|      0|	    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1798|      0|	    return FALSE;
 1799|      1|	}
 1800|       |
 1801|       |    /* tryCatch(checkConst(do.call(ffun, args)),
 1802|       |                error = function(e) NULL, warning = function(w) NULL) */
 1803|      1|    FoldData fd;
 1804|      1|    fd.call = PROTECT(LCONS(ffun, args));
  ------------------
  |  |  357|      1|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1805|      1|    fd.failed = FALSE;
 1806|      1|    fd.isConst = FALSE;
 1807|      1|    SEXP val = R_tryCatch(fold_body, &fd, foldConditions, fold_handler, &fd,
 1808|      1|			  NULL, NULL);
 1809|      1|    UNPROTECT(2);
  ------------------
  |  |  358|      1|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1810|      1|    if (fd.failed || ! fd.isConst)
  ------------------
  |  Branch (1810:9): [True: 0, False: 1]
  |  Branch (1810:22): [True: 0, False: 1]
  ------------------
 1811|      0|	return FALSE;
 1812|      1|    *value = val;
 1813|      1|    return TRUE;
 1814|      1|}
bccompile.c:get_fold_fun:
 1721|    287|{
 1722|    287|    if ((sym_flags(sym) & SI_FOLDFUN) && is_base_var(sym, cntxt)) {
  ------------------
  |  |   68|    287|#define SI_FOLDFUN	0x0001	/* foldFuns */
  ------------------
  |  Branch (1722:9): [True: 68, False: 219]
  |  Branch (1722:42): [True: 52, False: 16]
  ------------------
 1723|     52|	SEXP val = Rf_findVarInFrame3(R_BaseNamespace, sym, TRUE);
 1724|     52|	if (TYPEOF(val) == PROMSXP) {
  ------------------
  |  |  116|     52|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (1724:6): [True: 0, False: 52]
  ------------------
 1725|      0|	    PROTECT(val);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1726|      0|	    val = Rf_eval(val, R_EmptyEnv);
 1727|      0|	    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1728|      0|	}
 1729|     52|	if (Rf_isFunction(val))
  ------------------
  |  Branch (1729:6): [True: 52, False: 0]
  ------------------
 1730|     52|	    return val;
 1731|     52|    }
 1732|    235|    return NULL;
 1733|    287|}
bccompile.c:sym_flags:
  157|  1.12k|{
  158|  1.12k|    SymInfo *si = symtab_lookup(sym, FALSE);
  159|  1.12k|    return si == NULL ? 0 : si->flags;
  ------------------
  |  Branch (159:12): [True: 337, False: 788]
  ------------------
  160|  1.12k|}
bccompile.c:is_base_var:
 1893|    119|{
 1894|    119|    InlineInfo ii = get_inline_info(sym, cntxt, FALSE);
 1895|       |    /* Fuzzing instrumentation: the eval harness rebinds cmp.R's isBaseVar
 1896|       |       to accept its allowlist frame, named like base's package frame
 1897|       |       (harnesses/eval.c, eval_compiler_setup); this is the same test. */
 1898|    119|    return ii.found && (ii.frame == R_BaseNamespace || ii.frame == R_BaseEnv ||
  ------------------
  |  Branch (1898:12): [True: 69, False: 50]
  |  Branch (1898:25): [True: 0, False: 69]
  |  Branch (1898:56): [True: 69, False: 0]
  ------------------
 1899|      0|			strcmp(pack_frame_name(ii.frame), "base") == 0);
  ------------------
  |  Branch (1899:4): [True: 0, False: 0]
  ------------------
 1900|    119|}
bccompile.c:get_inline_info:
 1853|    298|{
 1854|    298|    InlineInfo ii = { FALSE, NULL, FT_LOCAL, PKG_NONE, FALSE };
 1855|    298|    int optimize = cntxt->optimize;
 1856|    298|    if (optimize <= 0 || (sym_flags(sym) & SI_NOINLINE))
  ------------------
  |  |   71|    298|#define SI_NOINLINE	0x0008	/* noInlineSymbols */
  ------------------
  |  Branch (1856:9): [True: 0, False: 298]
  |  Branch (1856:26): [True: 0, False: 298]
  ------------------
 1857|      0|	return ii;
 1858|    298|    VarInfo info = find_cenv_var(sym, cntxt->env);
 1859|    298|    if (! info.found)
  ------------------
  |  Branch (1859:9): [True: 0, False: 298]
  ------------------
 1860|      0|	return ii;
 1861|    298|    ii.frame = info.frame;
 1862|    298|    ii.ftype = info.ftype;
 1863|    298|    if (info.ftype == FT_NAMESPACE) {
  ------------------
  |  Branch (1863:9): [True: 0, False: 298]
  ------------------
 1864|      0|	SEXP frame = info.frame;
 1865|      0|	if (! R_IsNamespaceEnv(frame)) {
  ------------------
  |  Branch (1865:6): [True: 0, False: 0]
  ------------------
 1866|       |	    /* should be the import frame of the current topenv */
 1867|      0|	    SEXP top = Rf_topenv(R_NilValue, cenv_base(cntxt->env)->env);
 1868|      0|	    if (! R_IsNamespaceEnv(top) || frame != ENCLOS(top))
  ------------------
  |  Branch (1868:10): [True: 0, False: 0]
  |  Branch (1868:37): [True: 0, False: 0]
  ------------------
 1869|      0|		Rf_errorcall(cntxt->call, _("bad namespace import frame"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1870|      0|	    frame = top;
 1871|      0|	}
 1872|      0|	ii.found = TRUE;
 1873|      0|	ii.package = package_code(ns_name(find_home_ns(sym, frame)));
 1874|      0|	ii.guard = FALSE;
 1875|      0|    }
 1876|    298|    else if (info.ftype == FT_GLOBAL &&
  ------------------
  |  Branch (1876:14): [True: 298, False: 0]
  ------------------
 1877|    298|	     (optimize >= 3 ||
  ------------------
  |  Branch (1877:8): [True: 0, False: 298]
  ------------------
 1878|    298|	      (optimize >= 2 && (sym_flags(sym) & SI_LANGFUN)))) {
  ------------------
  |  |   69|    298|#define SI_LANGFUN	0x0002	/* languageFuns */
  ------------------
  |  Branch (1878:9): [True: 298, False: 0]
  |  Branch (1878:26): [True: 192, False: 106]
  ------------------
 1879|    192|	ii.found = TRUE;
 1880|    192|	ii.package = package_code(pack_frame_name(info.frame));
 1881|    192|	ii.guard = FALSE;
 1882|    192|    }
 1883|    106|    else if (guardOK && info.ftype == FT_GLOBAL &&
  ------------------
  |  Branch (1883:14): [True: 56, False: 50]
  |  Branch (1883:25): [True: 56, False: 0]
  ------------------
 1884|     56|	     strcmp(pack_frame_name(info.frame), "base") == 0) {
  ------------------
  |  Branch (1884:7): [True: 56, False: 0]
  ------------------
 1885|     56|	ii.found = TRUE;
 1886|     56|	ii.package = PKG_BASE;
 1887|     56|	ii.guard = TRUE;
 1888|     56|    }
 1889|    298|    return ii;
 1890|    298|}
bccompile.c:find_cenv_var:
  507|    300|{
  508|    300|    VarInfo info = { FALSE, NULL, FT_LOCAL };
  509|    300|    int depth = 0;	/* number of compiler frames passed */
  510|    300|    CEnv *c = cenv;
  511|    600|    for (; c->parent != NULL; c = c->parent, depth++)
  ------------------
  |  Branch (511:12): [True: 300, False: 300]
  ------------------
  512|    300|	if (symset_has(&c->vars, sym)) {
  ------------------
  |  Branch (512:6): [True: 0, False: 300]
  ------------------
  513|      0|	    info.found = TRUE;
  514|      0|	    return info;
  515|      0|	}
  516|       |    /* c is now the base frame */
  517|    300|    SEXP env = c->env;
  518|    300|    int d = 0;	/* depth in the environment chain from the base env */
  519|    300|    if (symset_has(&c->vars, sym) || R_existsVarInFrame(env, sym)) {
  ------------------
  |  Branch (519:9): [True: 0, False: 300]
  |  Branch (519:38): [True: 0, False: 300]
  ------------------
  520|      0|	info.found = TRUE;
  521|      0|	info.frame = env;
  522|      0|    }
  523|    300|    else {
  524|  2.40k|	for (env = ENCLOS(env), d = 1; env != R_EmptyEnv;
  ------------------
  |  Branch (524:33): [True: 2.40k, False: 0]
  ------------------
  525|  2.10k|	     env = ENCLOS(env), d++)
  526|  2.40k|	    if (R_existsVarInFrame(env, sym)) {
  ------------------
  |  Branch (526:10): [True: 300, False: 2.10k]
  ------------------
  527|    300|		info.found = TRUE;
  528|    300|		info.frame = env;
  529|    300|		break;
  530|    300|	    }
  531|    300|	if (! info.found)
  ------------------
  |  Branch (531:6): [True: 0, False: 300]
  ------------------
  532|      0|	    return info;
  533|    300|    }
  534|    300|    if (d < c->nl)
  ------------------
  |  Branch (534:9): [True: 0, False: 300]
  ------------------
  535|      0|	info.ftype = FT_LOCAL;
  536|    300|    else if (d < c->nl + c->nn)
  ------------------
  |  Branch (536:14): [True: 0, False: 300]
  ------------------
  537|      0|	info.ftype = FT_NAMESPACE;
  538|    300|    else
  539|    300|	info.ftype = FT_GLOBAL;
  540|    300|    return info;
  541|    300|}
bccompile.c:symset_has:
  371|    770|{
  372|    770|    if (s->size == 0)
  ------------------
  |  Branch (372:9): [True: 300, False: 470]
  ------------------
  373|    300|	return FALSE;
  374|    470|    unsigned h = ptr_hash(sym) & (s->size - 1);
  375|    527|    while (s->tab[h] != NULL) {
  ------------------
  |  Branch (375:12): [True: 57, False: 470]
  ------------------
  376|     57|	if (s->tab[h] == sym)
  ------------------
  |  Branch (376:6): [True: 0, False: 57]
  ------------------
  377|      0|	    return TRUE;
  378|     57|	h = (h + 1) & (s->size - 1);
  379|     57|    }
  380|    470|    return FALSE;
  381|    470|}
bccompile.c:package_code:
  708|    192|{
  709|    192|    if (strcmp(name, "base") == 0)
  ------------------
  |  Branch (709:9): [True: 192, False: 0]
  ------------------
  710|    192|	return PKG_BASE;
  711|      0|    if (strcmp(name, "stats") == 0)
  ------------------
  |  Branch (711:9): [True: 0, False: 0]
  ------------------
  712|      0|	return PKG_STATS;
  713|      0|    return PKG_NONE;
  714|      0|}
bccompile.c:identical_true:
  274|    127|{
  275|    127|    return TYPEOF(x) == LGLSXP && XLENGTH(x) == 1 && LOGICAL(x)[0] == TRUE &&
  ------------------
  |  |  121|    254|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (275:12): [True: 21, False: 106]
  |  Branch (275:35): [True: 21, False: 0]
  |  Branch (275:54): [True: 20, False: 1]
  ------------------
  276|     20|	ATTRIB(x) == R_NilValue && ! OBJECT(x) && ! IS_S4_OBJECT(x);
  ------------------
  |  Branch (276:2): [True: 20, False: 0]
  |  Branch (276:29): [True: 20, False: 0]
  |  Branch (276:44): [True: 20, False: 0]
  ------------------
  277|    127|}
bccompile.c:pack_frame_name:
  685|    248|{
  686|    248|    SEXP fname = Rf_getAttrib(frame, R_NameSymbol);
  687|    248|    if (TYPEOF(fname) == STRSXP && XLENGTH(fname) >= 1) {
  ------------------
  |  |  126|    496|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (687:9): [True: 0, False: 248]
  |  Branch (687:36): [True: 0, False: 0]
  ------------------
  688|      0|	const char *s = CHAR(STRING_ELT(fname, 0));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  689|      0|	const char *p = strstr(s, "package:");
  690|      0|	if (p == NULL)
  ------------------
  |  Branch (690:6): [True: 0, False: 0]
  ------------------
  691|      0|	    return s;
  692|       |	/* sub("package:", "", fname): remove the first occurrence */
  693|      0|	size_t n = strlen(s) - 8;
  694|      0|	char *buf = R_alloc(n + 1, 1);
  695|      0|	memcpy(buf, s, p - s);
  696|      0|	strcpy(buf + (p - s), p + 8);
  697|      0|	return buf;
  698|      0|    }
  699|    248|    else if (frame == R_BaseEnv) {
  ------------------
  |  Branch (699:14): [True: 248, False: 0]
  ------------------
  700|    248|	return "base";
  701|    248|    }
  702|      0|    else {
  703|      0|	return "";
  704|      0|    }
  705|    248|}
bccompile.c:copy_call:
  327|     54|{
  328|     54|    SEXP ans = PROTECT(Rf_allocList(lang_length(e)));
  ------------------
  |  |  357|     54|#define PROTECT(s)	Rf_protect(s)
  ------------------
  329|     54|    SET_TYPEOF(ans, TYPEOF(e));
  330|     54|    SEXP p = ans;
  331|    155|    for (SEXP q = e; q != R_NilValue; q = CDR(q), p = CDR(p)) {
  ------------------
  |  Branch (331:22): [True: 101, False: 54]
  ------------------
  332|    101|	SETCAR(p, CAR(q));
  333|    101|	SET_TAG(p, TAG(q));
  334|    101|    }
  335|     54|    SET_ATTRIB(ans, ATTRIB(e));
  336|     54|    SET_OBJECT(ans, OBJECT(e));
  337|     54|    UNPROTECT(1);
  ------------------
  |  |  358|     54|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  338|     54|    return ans;
  339|     54|}
bccompile.c:lang_length:
  223|    206|{
  224|    206|    int n = 0;
  225|    737|    for (; e != R_NilValue; e = CDR(e)) {
  ------------------
  |  Branch (225:12): [True: 531, False: 206]
  ------------------
  226|    531|	bc_tick();
  227|    531|	n++;
  228|    531|    }
  229|    206|    return n;
  230|    206|}
bccompile.c:fold_body:
 1747|      1|{
 1748|      1|    FoldData *fd = (FoldData *) data;
 1749|      1|    SEXP val = PROTECT(Rf_eval(fd->call, R_BaseNamespace));
  ------------------
  |  |  357|      1|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1750|      1|    fd->isConst = check_const(val);
 1751|      1|    UNPROTECT(1);
  ------------------
  |  |  358|      1|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1752|      1|    return val;
 1753|      1|}
bccompile.c:constant_fold_sym:
 1703|    155|{
 1704|    155|    if ((sym_flags(sym) & SI_CONSTNAME) && is_base_var(sym, cntxt)) {
  ------------------
  |  |   70|    155|#define SI_CONSTNAME	0x0004	/* constNames: pi, T, F */
  ------------------
  |  Branch (1704:9): [True: 0, False: 155]
  |  Branch (1704:44): [True: 0, False: 0]
  ------------------
 1705|      0|	SEXP val = Rf_findVarInFrame3(R_BaseNamespace, sym, TRUE);
 1706|      0|	if (TYPEOF(val) == PROMSXP) {
  ------------------
  |  |  116|      0|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (1706:6): [True: 0, False: 0]
  ------------------
 1707|      0|	    PROTECT(val);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1708|      0|	    val = Rf_eval(val, R_EmptyEnv);
 1709|      0|	    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1710|      0|	}
 1711|      0|	if (check_const(val)) {
  ------------------
  |  Branch (1711:6): [True: 0, False: 0]
  ------------------
 1712|      0|	    *value = val;
 1713|      0|	    return TRUE;
 1714|      0|	}
 1715|      0|    }
 1716|    155|    return FALSE;
 1717|    155|}
bccompile.c:check_const:
 1684|     36|{
 1685|     36|    switch (TYPEOF(e)) {
 1686|      0|    case NILSXP:
  ------------------
  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (1686:5): [True: 0, False: 36]
  ------------------
 1687|      0|	return TRUE;
 1688|      0|    case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (1688:5): [True: 0, False: 36]
  ------------------
 1689|     23|    case INTSXP:
  ------------------
  |  |  123|     23|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1689:5): [True: 23, False: 13]
  ------------------
 1690|     36|    case REALSXP:
  ------------------
  |  |  124|     36|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1690:5): [True: 13, False: 23]
  ------------------
 1691|     36|    case CPLXSXP:
  ------------------
  |  |  125|     36|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (1691:5): [True: 0, False: 36]
  ------------------
 1692|     36|    case STRSXP:
  ------------------
  |  |  126|     36|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1692:5): [True: 0, False: 36]
  ------------------
 1693|     36|	return const_size_test(e);
 1694|      0|    default:
  ------------------
  |  Branch (1694:5): [True: 0, False: 36]
  ------------------
 1695|      0|	return FALSE;
 1696|     36|    }
 1697|     36|}
bccompile.c:const_size_test:
 1656|     36|{
 1657|     36|    if (! OBJECT(e))
  ------------------
  |  Branch (1657:9): [True: 36, False: 0]
  ------------------
 1658|     36|	return XLENGTH(e) <= MAX_CONST_SIZE;
  ------------------
  |  | 1622|     36|#define MAX_CONST_SIZE 10
  ------------------
 1659|      0|    init_test_symbols();
 1660|      0|    SEXP len = PROTECT(Rf_lang2(s_length, e));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1661|      0|    SEXP test = PROTECT(Rf_lang3(s_le, len, Rf_ScalarReal(MAX_CONST_SIZE)));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1662|      0|    SEXP call = Rf_lang3(s_andand, R_TrueValue, test);
 1663|      0|    UNPROTECT(2);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1664|      0|    return eval_object_test(call);
 1665|     36|}
bccompile.c:cmp_sym:
 2345|    124|{
 2346|    124|    if (sym == R_DotsSymbol) {
  ------------------
  |  Branch (2346:9): [True: 0, False: 124]
  ------------------
 2347|      0|	notify_wrong_dots_use("...", cntxt, cb);
 2348|      0|	put0(cb, DOTSERR_OP);
 2349|      0|    }
 2350|    124|    else if (is_ddsym(sym)) {
  ------------------
  |  Branch (2350:14): [True: 0, False: 124]
  ------------------
 2351|      0|	if (! cntxt->suppressAll && ! find_loc_var(R_DotsSymbol, cntxt->env))
  ------------------
  |  Branch (2351:6): [True: 0, False: 0]
  |  Branch (2351:30): [True: 0, False: 0]
  ------------------
 2352|      0|	    notify_wrong_dots_use(CHAR(PRINTNAME(sym)), cntxt, cb);
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 2353|      0|	int ci = putconst(cb, sym);
 2354|      0|	put1(cb, missingOK ? DDVAL_MISSOK_OP : DDVAL_OP, ci);
  ------------------
  |  Branch (2354:11): [True: 0, False: 0]
  ------------------
 2355|      0|	if (cntxt->tailcall)
  ------------------
  |  Branch (2355:6): [True: 0, False: 0]
  ------------------
 2356|      0|	    put0(cb, RETURN_OP);
 2357|      0|    }
 2358|    124|    else {
 2359|    124|	if (! cntxt->suppressAll && ! find_var(sym, cntxt->env))
  ------------------
  |  Branch (2359:6): [True: 0, False: 124]
  |  Branch (2359:30): [True: 0, False: 0]
  ------------------
 2360|      0|	    notify_undef_var(sym, cntxt, cb);
 2361|    124|	int ci = putconst(cb, sym);
 2362|    124|	put1(cb, missingOK ? GETVAR_MISSOK_OP : GETVAR_OP, ci);
  ------------------
  |  Branch (2362:11): [True: 0, False: 124]
  ------------------
 2363|    124|	if (cntxt->tailcall)
  ------------------
  |  Branch (2363:6): [True: 67, False: 57]
  ------------------
 2364|     67|	    put0(cb, RETURN_OP);
 2365|    124|    }
 2366|    124|}
bccompile.c:is_ddsym:
  288|    124|{
  289|    124|    const char *s;
  290|    124|    if (TYPEOF(sym) == SYMSXP)
  ------------------
  |  |  112|    124|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (290:9): [True: 124, False: 0]
  ------------------
  291|    124|	s = CHAR(PRINTNAME(sym));
  ------------------
  |  |  203|    124|#define CHAR(x) R_CHAR(x)
  ------------------
  292|      0|    else if (TYPEOF(sym) == STRSXP && XLENGTH(sym) >= 1)
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (292:14): [True: 0, False: 0]
  |  Branch (292:39): [True: 0, False: 0]
  ------------------
  293|      0|	s = CHAR(STRING_ELT(sym, 0));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  294|      0|    else
  295|      0|	return FALSE;
  296|    124|    if (s[0] != '.' || s[1] != '.' || s[2] == '\0')
  ------------------
  |  Branch (296:9): [True: 124, False: 0]
  |  Branch (296:24): [True: 0, False: 0]
  |  Branch (296:39): [True: 0, False: 0]
  ------------------
  297|    124|	return FALSE;
  298|      0|    for (s += 2; *s; s++)
  ------------------
  |  Branch (298:18): [True: 0, False: 0]
  ------------------
  299|      0|	if (*s < '0' || *s > '9')
  ------------------
  |  Branch (299:6): [True: 0, False: 0]
  |  Branch (299:18): [True: 0, False: 0]
  ------------------
  300|      0|	    return FALSE;
  301|      0|    return TRUE;
  302|      0|}
bccompile.c:cmp_const_arg:
 2415|     95|{
 2416|     95|    if (a == R_NilValue) {
  ------------------
  |  Branch (2416:9): [True: 0, False: 95]
  ------------------
 2417|      0|	put0(cb, PUSHNULLARG_OP);
 2418|      0|    }
 2419|     95|    else if (identical_true(a)) {
  ------------------
  |  Branch (2419:14): [True: 20, False: 75]
  ------------------
 2420|     20|	put0(cb, PUSHTRUEARG_OP);
 2421|     20|    }
 2422|     75|    else if (identical_false(a)) {
  ------------------
  |  Branch (2422:14): [True: 1, False: 74]
  ------------------
 2423|      1|	put0(cb, PUSHFALSEARG_OP);
 2424|      1|    }
 2425|     74|    else {
 2426|     74|	int ci = putconst(cb, a);
 2427|     74|	put1(cb, PUSHCONSTARG_OP, ci);
 2428|     74|    }
 2429|     95|}
bccompile.c:identical_false:
  281|    107|{
  282|    107|    return TYPEOF(x) == LGLSXP && XLENGTH(x) == 1 && LOGICAL(x)[0] == FALSE &&
  ------------------
  |  |  121|    214|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (282:12): [True: 1, False: 106]
  |  Branch (282:35): [True: 1, False: 0]
  |  Branch (282:54): [True: 1, False: 0]
  ------------------
  283|      1|	ATTRIB(x) == R_NilValue && ! OBJECT(x) && ! IS_S4_OBJECT(x);
  ------------------
  |  Branch (283:2): [True: 1, False: 0]
  |  Branch (283:29): [True: 1, False: 0]
  |  Branch (283:44): [True: 1, False: 0]
  ------------------
  284|    107|}
bccompile.c:cmp:
 2370|    386|{
 2371|    386|    R_CheckStack();
 2372|    386|    bc_tick();
 2373|    386|    Loc sloc;
 2374|    386|    if (setloc) {
  ------------------
  |  Branch (2374:9): [True: 188, False: 198]
  ------------------
 2375|    188|	sloc = savecurloc(cb);
 2376|    188|	setcurexpr(cb, e);
 2377|    188|    }
 2378|    386|    SEXP val;
 2379|    386|    if (! constant_fold(e, cntxt, cb, &val)) {
  ------------------
  |  Branch (2379:9): [True: 354, False: 32]
  ------------------
 2380|    354|	switch (TYPEOF(e)) {
 2381|    268|	case LANGSXP:
  ------------------
  |  |  117|    268|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (2381:2): [True: 268, False: 86]
  ------------------
 2382|    268|	    cmp_call(e, cb, cntxt, TRUE);
 2383|    268|	    break;
 2384|     86|	case SYMSXP:
  ------------------
  |  |  112|     86|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (2384:2): [True: 86, False: 268]
  ------------------
 2385|     86|	    cmp_sym(e, cb, cntxt, missingOK);
 2386|     86|	    break;
 2387|      0|	case BCODESXP:
  ------------------
  |  |  133|      0|#define BCODESXP    21    /* byte code */
  ------------------
  |  Branch (2387:2): [True: 0, False: 354]
  ------------------
 2388|      0|	    stop_at(cntxt, cb, _("cannot compile byte code literals in code"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2389|      0|	case PROMSXP:
  ------------------
  |  |  116|      0|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (2389:2): [True: 0, False: 354]
  ------------------
 2390|      0|	    stop_at(cntxt, cb, _("cannot compile promise literals in code"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2391|      0|	default:
  ------------------
  |  Branch (2391:2): [True: 0, False: 354]
  ------------------
 2392|      0|	    cmp_const(e, cb, cntxt);
 2393|    354|	}
 2394|    354|    }
 2395|     32|    else {
 2396|     32|	PROTECT(val);
  ------------------
  |  |  357|     32|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2397|     32|	cmp_const(val, cb, cntxt);
 2398|     32|	UNPROTECT(1);
  ------------------
  |  |  358|     32|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2399|     32|    }
 2400|    386|    if (setloc)
  ------------------
  |  Branch (2400:9): [True: 188, False: 198]
  ------------------
 2401|    188|	restorecurloc(cb, sloc);
 2402|    386|}
bccompile.c:savecurloc:
 1453|    596|{
 1454|    596|    Loc loc = { cb->curExpr, cb->curSrcref };
 1455|    596|    return loc;
 1456|    596|}
bccompile.c:setcurexpr:
 1433|    456|{
 1434|    456|    if (cb->exprTracking)
  ------------------
  |  Branch (1434:9): [True: 456, False: 0]
  ------------------
 1435|    456|	cb->curExpr = expr;
 1436|    456|    if (cb->srcrefTracking) {
  ------------------
  |  Branch (1436:9): [True: 0, False: 456]
  ------------------
 1437|      0|	SEXP sref = expr_srcref(expr);
 1438|      0|	if (sref != R_NilValue)
  ------------------
  |  Branch (1438:6): [True: 0, False: 0]
  ------------------
 1439|      0|	    cb->curSrcref = sref;
 1440|      0|    }
 1441|    456|}
bccompile.c:cmp_call:
 2506|    268|{
 2507|    268|    Loc sloc = savecurloc(cb);
 2508|    268|    setcurexpr(cb, call);
 2509|    268|    Cntxt ccntxt = make_call_context(ocntxt, call);
 2510|    268|    Cntxt *cntxt = &ccntxt;
 2511|    268|    SEXP fun = CAR(call);
 2512|    268|    SEXP args = CDR(call);
 2513|    268|    if (TYPEOF(fun) == SYMSXP) {
  ------------------
  |  |  112|    268|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (2513:9): [True: 266, False: 2]
  ------------------
 2514|    266|	if (! (inlineOK && try_inline(call, cb, cntxt))) {
  ------------------
  |  Branch (2514:9): [True: 266, False: 0]
  |  Branch (2514:21): [True: 179, False: 87]
  ------------------
 2515|     87|	    if (! cntxt->suppressAll) {
  ------------------
  |  Branch (2515:10): [True: 0, False: 87]
  ------------------
 2516|       |		/* the notes: a local function, an undefined function,
 2517|       |		   or a call that does not match the definition */
 2518|      0|		if (! find_loc_var(fun, cntxt->env)) {
  ------------------
  |  Branch (2518:7): [True: 0, False: 0]
  ------------------
 2519|      0|		    SEXP def = find_fun_def(fun, cntxt->env);
 2520|      0|		    if (def == NULL) {
  ------------------
  |  Branch (2520:11): [True: 0, False: 0]
  ------------------
 2521|      0|			notify_undef_fun(fun, cntxt, cb);
 2522|      0|		    }
 2523|      0|		    else {
 2524|      0|			PROTECT(def);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2525|      0|			check_call_note(def, call, cntxt, cb);
 2526|      0|			UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2527|      0|		    }
 2528|      0|		}
 2529|      0|	    }
 2530|     87|	    cmp_call_sym_fun(fun, args, call, cb, cntxt);
 2531|     87|	}
 2532|    266|    }
 2533|      2|    else {
 2534|       |	/* this hack is needed for now because of the way the parser
 2535|       |	   handles break() and next() calls */
 2536|      2|	if (TYPEOF(fun) == LANGSXP && TYPEOF(CAR(fun)) == SYMSXP &&
  ------------------
  |  |  117|      4|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
              	if (TYPEOF(fun) == LANGSXP && TYPEOF(CAR(fun)) == SYMSXP &&
  ------------------
  |  |  112|      4|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (2536:6): [True: 2, False: 0]
  |  Branch (2536:32): [True: 2, False: 0]
  ------------------
 2537|      2|	    (CAR(fun) == s_break || CAR(fun) == s_next)) {
  ------------------
  |  Branch (2537:7): [True: 0, False: 2]
  |  Branch (2537:30): [True: 0, False: 2]
  ------------------
 2538|      0|	    cmp(fun, cb, cntxt, FALSE, TRUE);
 2539|      0|	    return;
 2540|      0|	}
 2541|      2|	cmp_call_expr_fun(fun, args, call, cb, cntxt);
 2542|      2|    }
 2543|    268|    restorecurloc(cb, sloc);
 2544|    268|}
bccompile.c:make_call_context:
  768|    268|{
  769|    268|    Cntxt c = *cntxt;
  770|    268|    c.call = call;
  771|    268|    return c;
  772|    268|}
bccompile.c:try_inline:
 2567|    266|{
 2568|    266|    SEXP name = CAR(e);
 2569|    266|    SymInfo *si = symtab_lookup(name, FALSE);
 2570|    266|    if (si == NULL || si->handler == NULL)
  ------------------
  |  Branch (2570:9): [True: 87, False: 179]
  |  Branch (2570:23): [True: 0, False: 179]
  ------------------
 2571|     87|	return FALSE; /* no handler for any package */
 2572|    179|    InlineHandler handler = si->handler;
 2573|    179|    int handlerPkg = si->handlerPkg, op = si->op;
 2574|    179|    InlineInfo info = get_inline_info(name, cntxt, TRUE);
 2575|    179|    if (! info.found)
  ------------------
  |  Branch (2575:9): [True: 0, False: 179]
  ------------------
 2576|      0|	return FALSE;
 2577|    179|    if (handlerPkg != info.package)
  ------------------
  |  Branch (2577:9): [True: 0, False: 179]
  ------------------
 2578|      0|	return FALSE;
 2579|    179|    if (info.guard) {
  ------------------
  |  Branch (2579:9): [True: 56, False: 123]
  ------------------
 2580|     56|	int tailcall = cntxt->tailcall;
 2581|     56|	Cntxt gcntxt = *cntxt;
 2582|     56|	if (tailcall)
  ------------------
  |  Branch (2582:6): [True: 29, False: 27]
  ------------------
 2583|     29|	    gcntxt.tailcall = FALSE;
 2584|     56|	int expridx = putconst(cb, e);
 2585|     56|	int endlabel = makelabel(cb);
 2586|     56|	put1L(cb, BASEGUARD_OP, expridx, endlabel);
 2587|     56|	if (! handler(e, cb, &gcntxt, op))
  ------------------
  |  Branch (2587:6): [True: 0, False: 56]
  ------------------
 2588|      0|	    cmp_call(e, cb, &gcntxt, FALSE);
 2589|     56|	putlabel(cb, endlabel);
 2590|     56|	if (tailcall)
  ------------------
  |  Branch (2590:6): [True: 29, False: 27]
  ------------------
 2591|     29|	    put0(cb, RETURN_OP);
 2592|     56|	return TRUE;
 2593|     56|    }
 2594|    123|    else {
 2595|    123|	return handler(e, cb, cntxt, op);
 2596|    123|    }
 2597|    179|}
bccompile.c:makelabel:
 1397|     81|{
 1398|     81|    if (cb->nlabels == cb->labelcap) {
  ------------------
  |  Branch (1398:9): [True: 0, False: 81]
  ------------------
 1399|      0|	int ncap = 2 * cb->labelcap;
 1400|      0|	cb->labelpos = grow_ints(cb->labelpos, cb->nlabels, ncap);
 1401|      0|	cb->labelcap = ncap;
 1402|      0|    }
 1403|     81|    cb->labelpos[cb->nlabels] = -1;
 1404|     81|    return cb->nlabels++;
 1405|     81|}
bccompile.c:put1L:
 1383|     81|{
 1384|     81|    int w[3] = { op, a, label };
 1385|     81|    unsigned char k[3] = { WK_INT, WK_INT, WK_LABEL };
  ------------------
  |  | 1029|     81|#define WK_INT 0
  ------------------
                  unsigned char k[3] = { WK_INT, WK_INT, WK_LABEL };
  ------------------
  |  | 1029|     81|#define WK_INT 0
  ------------------
                  unsigned char k[3] = { WK_INT, WK_INT, WK_LABEL };
  ------------------
  |  | 1030|     81|#define WK_LABEL 1
  ------------------
 1386|     81|    putcode(cb, 3, w, k);
 1387|     81|}
bccompile.c:putlabel:
 1408|     81|{
 1409|     81|    cb->labelpos[label] = cb->ncode;
 1410|     81|}
bccompile.c:find_fun_def:
  577|      2|{
  578|      2|    VarInfo info = find_cenv_var(sym, cenv);
  579|      2|    if (! info.found)
  ------------------
  |  Branch (579:9): [True: 0, False: 2]
  ------------------
  580|      0|	return NULL;
  581|      2|    SEXP val = var_info_value(&info, sym);
  582|      2|    if (val == R_UnboundValue || ! Rf_isFunction(val))
  ------------------
  |  Branch (582:9): [True: 0, False: 2]
  |  Branch (582:34): [True: 0, False: 2]
  ------------------
  583|      0|	return NULL;
  584|      2|    return val;
  585|      2|}
bccompile.c:var_info_value:
  546|      2|{
  547|      2|    if (info->frame == NULL || sym == R_DotsSymbol ||
  ------------------
  |  Branch (547:9): [True: 0, False: 2]
  |  Branch (547:32): [True: 0, False: 2]
  ------------------
  548|      2|	! R_existsVarInFrame(info->frame, sym))
  ------------------
  |  Branch (548:2): [True: 0, False: 2]
  ------------------
  549|      0|	return R_UnboundValue;
  550|      2|    SEXP val = Rf_findVarInFrame3(info->frame, sym, TRUE);
  551|      2|    if (TYPEOF(val) == PROMSXP) {
  ------------------
  |  |  116|      2|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (551:9): [True: 2, False: 0]
  ------------------
  552|      2|	PROTECT(val);
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
  553|      2|	val = Rf_eval(val, R_EmptyEnv);
  554|      2|	UNPROTECT(1);
  ------------------
  |  |  358|      2|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  555|      2|    }
  556|      2|    if (val == R_MissingArg)
  ------------------
  |  Branch (556:9): [True: 0, False: 2]
  ------------------
  557|      0|	Rf_error(_("argument \"%s\" is missing, with no default"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  558|      0|		 CHAR(PRINTNAME(sym)));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  559|      2|    return val;
  560|      2|}
bccompile.c:any_dots:
  252|      5|{
  253|     17|    for (SEXP p = args; p != R_NilValue; p = CDR(p)) {
  ------------------
  |  Branch (253:25): [True: 12, False: 5]
  ------------------
  254|     12|	bc_tick();
  255|     12|	if (CAR(p) == R_DotsSymbol)
  ------------------
  |  Branch (255:6): [True: 0, False: 12]
  ------------------
  256|      0|	    return TRUE;
  257|     12|    }
  258|      5|    return FALSE;
  259|      5|}
bccompile.c:cmp_call_sym_fun:
 2479|     87|{
 2480|     87|    int ci = putconst(cb, fun);
 2481|     87|    put1(cb, GETFUN_OP, ci);
 2482|     87|    int nse = (sym_flags(fun) & SI_NSE) != 0;
  ------------------
  |  |   78|     87|#define SI_NSE		0x0400	/* maybeNSESymbols: bquote */
  ------------------
 2483|     87|    cmp_call_args(args, cb, cntxt, nse);
 2484|     87|    ci = putconst(cb, call);
 2485|     87|    put1(cb, CALL_OP, ci);
 2486|     87|    if (cntxt->tailcall)
  ------------------
  |  Branch (2486:9): [True: 13, False: 74]
  ------------------
 2487|     13|	put0(cb, RETURN_OP);
 2488|     87|}
bccompile.c:cmp_call_args:
 2433|     89|{
 2434|     89|    Cntxt pcntxt = make_promise_context(cntxt);
 2435|    274|    for (SEXP p = args; p != R_NilValue; p = CDR(p)) {
  ------------------
  |  Branch (2435:25): [True: 185, False: 89]
  ------------------
 2436|    185|	bc_tick();
 2437|    185|	SEXP a = CAR(p);
 2438|    185|	SEXP n = TAG(p);
 2439|    185|	if (a == R_MissingArg) {
  ------------------
  |  Branch (2439:6): [True: 0, False: 185]
  ------------------
 2440|      0|	    put0(cb, DOMISSING_OP);
 2441|      0|	    cmp_tag(n, cb);
 2442|      0|	}
 2443|    185|	else if (a == R_DotsSymbol) {
  ------------------
  |  Branch (2443:11): [True: 0, False: 185]
  ------------------
 2444|      0|	    if (! cntxt->suppressAll && ! find_loc_var(R_DotsSymbol, cntxt->env))
  ------------------
  |  Branch (2444:10): [True: 0, False: 0]
  |  Branch (2444:34): [True: 0, False: 0]
  ------------------
 2445|      0|		notify_wrong_dots_use("...", cntxt, cb);
 2446|      0|	    put0(cb, DODOTS_OP);
 2447|      0|	}
 2448|    185|	else if (TYPEOF(a) == BCODESXP) {
  ------------------
  |  |  133|    185|#define BCODESXP    21    /* byte code */
  ------------------
  |  Branch (2448:11): [True: 0, False: 185]
  ------------------
 2449|      0|	    stop_at(cntxt, cb, _("cannot compile byte code literals in code"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2450|      0|	}
 2451|    185|	else if (TYPEOF(a) == PROMSXP) {
  ------------------
  |  |  116|    185|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (2451:11): [True: 0, False: 185]
  ------------------
 2452|      0|	    stop_at(cntxt, cb, _("cannot compile promise literals in code"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2453|      0|	}
 2454|    185|	else {
 2455|    185|	    if (TYPEOF(a) == SYMSXP || TYPEOF(a) == LANGSXP) {
  ------------------
  |  |  112|    370|#define SYMSXP	     1	  /* symbols */
  ------------------
              	    if (TYPEOF(a) == SYMSXP || TYPEOF(a) == LANGSXP) {
  ------------------
  |  |  117|    118|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (2455:10): [True: 67, False: 118]
  |  Branch (2455:33): [True: 56, False: 62]
  ------------------
 2456|    123|		int ci;
 2457|    123|		if (nse) {
  ------------------
  |  Branch (2457:7): [True: 0, False: 123]
  ------------------
 2458|      0|		    ci = putconst(cb, a);
 2459|      0|		}
 2460|    123|		else {
 2461|    123|		    Loc loc = savecurloc(cb);
 2462|    123|		    SEXP code = PROTECT(gen_code(a, &pcntxt, &loc));
  ------------------
  |  |  357|    123|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2463|    123|		    ci = putconst(cb, code);
 2464|    123|		    UNPROTECT(1);
  ------------------
  |  |  358|    123|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2465|    123|		}
 2466|    123|		put1(cb, MAKEPROM_OP, ci);
 2467|    123|	    }
 2468|     62|	    else {
 2469|     62|		cmp_const_arg(a, cb);
 2470|     62|	    }
 2471|    185|	    cmp_tag(n, cb);
 2472|    185|	}
 2473|    185|    }
 2474|     89|}
bccompile.c:make_promise_context:
  776|     89|{
  777|     89|    Cntxt c = *cntxt;
  778|     89|    c.toplevel = FALSE;
  779|     89|    c.tailcall = TRUE;
  780|     89|    c.needRETURNJMP = TRUE;
  781|     89|    if (c.hasLoop)
  ------------------
  |  Branch (781:9): [True: 0, False: 89]
  ------------------
  782|      0|	c.gotoOK = FALSE;
  783|     89|    return c;
  784|     89|}
bccompile.c:cmp_call_expr_fun:
 2493|      2|{
 2494|      2|    Cntxt ncntxt = make_nontailcall_context(cntxt);
 2495|      2|    cmp(fun, cb, &ncntxt, FALSE, TRUE);
 2496|      2|    put0(cb, CHECKFUN_OP);
 2497|      2|    cmp_call_args(args, cb, cntxt, FALSE);
 2498|      2|    int ci = putconst(cb, call);
 2499|      2|    put1(cb, CALL_OP, ci);
 2500|      2|    if (cntxt->tailcall)
  ------------------
  |  Branch (2500:9): [True: 0, False: 2]
  ------------------
 2501|      0|	put0(cb, RETURN_OP);
 2502|      2|}
bccompile.c:make_nontailcall_context:
  788|     55|{
  789|     55|    Cntxt c = *cntxt;
  790|     55|    c.tailcall = FALSE;
  791|     55|    return c;
  792|     55|}
bccompile.c:cmp_const:
 2325|     32|{
 2326|     32|    if (val == R_NilValue) {
  ------------------
  |  Branch (2326:9): [True: 0, False: 32]
  ------------------
 2327|      0|	put0(cb, LDNULL_OP);
 2328|      0|    }
 2329|     32|    else if (identical_true(val)) {
  ------------------
  |  Branch (2329:14): [True: 0, False: 32]
  ------------------
 2330|      0|	put0(cb, LDTRUE_OP);
 2331|      0|    }
 2332|     32|    else if (identical_false(val)) {
  ------------------
  |  Branch (2332:14): [True: 0, False: 32]
  ------------------
 2333|      0|	put0(cb, LDFALSE_OP);
 2334|      0|    }
 2335|     32|    else {
 2336|     32|	int ci = putconst(cb, val);
 2337|     32|	put1(cb, LDCONST_OP, ci);
 2338|     32|    }
 2339|     32|    if (cntxt->tailcall)
  ------------------
  |  Branch (2339:9): [True: 0, False: 32]
  ------------------
 2340|      0|	put0(cb, RETURN_OP);
 2341|     32|}
bccompile.c:restorecurloc:
 1459|    473|{
 1460|    473|    if (cb->exprTracking)
  ------------------
  |  Branch (1460:9): [True: 473, False: 0]
  ------------------
 1461|    473|	cb->curExpr = loc.expr;
 1462|    473|    if (cb->srcrefTracking)
  ------------------
  |  Branch (1462:9): [True: 0, False: 473]
  ------------------
 1463|      0|	cb->curSrcref = loc.srcref;
 1464|    473|}
bccompile.c:check_arity:
  737|      4|{
  738|      4|    if (lang_length(e) < n)
  ------------------
  |  Branch (738:9): [True: 0, False: 4]
  ------------------
  739|      0|	Rf_errorcall(cntxt->call, _("subscript out of bounds"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  740|      4|}
bccompile.c:h_brace:
 2634|     17|{
 2635|     17|    int n = lang_length(e);
 2636|     17|    if (n == 1) {
  ------------------
  |  Branch (2636:9): [True: 0, False: 17]
  ------------------
 2637|      0|	cmp(R_NilValue, cb, cntxt, FALSE, TRUE);
 2638|      0|    }
 2639|     17|    else {
 2640|     17|	Loc sloc = savecurloc(cb);
 2641|     17|	SEXP bsrefs = srcref_attr(e);
 2642|     17|	SEXP p = CDR(e);
 2643|     17|	if (n > 2) {
  ------------------
  |  Branch (2643:6): [True: 17, False: 0]
  ------------------
 2644|     17|	    Cntxt ncntxt = make_novalue_context(cntxt);
 2645|     58|	    for (int i = 2; i <= n - 1; i++, p = CDR(p)) {
  ------------------
  |  Branch (2645:22): [True: 41, False: 17]
  ------------------
 2646|     41|		SEXP subexp = CAR(p);
 2647|     41|		setcurloc(cb, subexp, extract_srcref(bsrefs, i));
 2648|     41|		cmp(subexp, cb, &ncntxt, FALSE, FALSE);
 2649|     41|		put0(cb, POP_OP);
 2650|     41|	    }
 2651|     17|	}
 2652|     17|	SEXP subexp = CAR(p);
 2653|     17|	setcurloc(cb, subexp, extract_srcref(bsrefs, n));
 2654|     17|	cmp(subexp, cb, cntxt, FALSE, FALSE);
 2655|     17|	restorecurloc(cb, sloc);
 2656|     17|    }
 2657|     17|    return TRUE;
 2658|     17|}
bccompile.c:srcref_attr:
 1005|     34|{
 1006|     34|    if (e == R_NilValue || ATTRIB(e) == R_NilValue)
  ------------------
  |  Branch (1006:9): [True: 0, False: 34]
  |  Branch (1006:28): [True: 34, False: 0]
  ------------------
 1007|     34|	return R_NilValue;
 1008|      0|    return Rf_getAttrib(e, s_srcref);
 1009|     34|}
bccompile.c:make_novalue_context:
  807|     17|{
  808|     17|    Cntxt c = *cntxt;
  809|     17|    c.tailcall = FALSE;
  810|     17|    return c;
  811|     17|}
bccompile.c:setcurloc:
 1445|     58|{
 1446|     58|    if (cb->exprTracking)
  ------------------
  |  Branch (1446:9): [True: 58, False: 0]
  ------------------
 1447|     58|	cb->curExpr = expr;
 1448|     58|    if (cb->srcrefTracking)
  ------------------
  |  Branch (1448:9): [True: 0, False: 58]
  ------------------
 1449|      0|	cb->curSrcref = sref;
 1450|     58|}
bccompile.c:extract_srcref:
  989|     75|{
  990|     75|    if (TYPEOF(sref) == VECSXP) {
  ------------------
  |  |  131|     75|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (990:9): [True: 0, False: 75]
  ------------------
  991|      0|	if (XLENGTH(sref) >= idx)
  ------------------
  |  Branch (991:6): [True: 0, False: 0]
  ------------------
  992|      0|	    return VECTOR_ELT(sref, idx - 1);
  993|      0|    }
  994|     75|    else if (TYPEOF(sref) == LISTSXP) {
  ------------------
  |  |  113|     75|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (994:14): [True: 0, False: 75]
  ------------------
  995|      0|	if (lang_length(sref) >= idx)
  ------------------
  |  Branch (995:6): [True: 0, False: 0]
  ------------------
  996|      0|	    return lang_elt(sref, idx - 1);
  997|      0|    }
  998|     75|    else if (TYPEOF(sref) == INTSXP && XLENGTH(sref) >= 6) {
  ------------------
  |  |  123|    150|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (998:14): [True: 0, False: 75]
  |  Branch (998:40): [True: 0, False: 0]
  ------------------
  999|      0|	return sref;
 1000|      0|    }
 1001|     75|    return R_NilValue;
 1002|     75|}
bccompile.c:cmp_assign:
 3817|     37|{
 3818|     37|    if (! check_assign(e, cntxt, cb))
  ------------------
  |  Branch (3818:9): [True: 0, False: 37]
  ------------------
 3819|      0|	return cmp_special(e, cb, cntxt);
 3820|     37|    int superAssign = CAR(e) == Rf_install("<<-");
 3821|     37|    SEXP lhs = CADR(e);
 3822|     37|    SEXP value = CADDR(e);
 3823|     37|    SEXP symbol = get_assigned_var(e, cntxt);
 3824|     37|    if (superAssign && ! cntxt->suppressAll && ! find_var(symbol, cntxt->env))
  ------------------
  |  Branch (3824:9): [True: 0, False: 37]
  |  Branch (3824:24): [True: 0, False: 0]
  |  Branch (3824:48): [True: 0, False: 0]
  ------------------
 3825|      0|	notify_no_super_assign_var(symbol, cntxt, cb);
 3826|     37|    if (TYPEOF(lhs) == SYMSXP || TYPEOF(lhs) == STRSXP)
  ------------------
  |  |  112|     74|#define SYMSXP	     1	  /* symbols */
  ------------------
                  if (TYPEOF(lhs) == SYMSXP || TYPEOF(lhs) == STRSXP)
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (3826:9): [True: 37, False: 0]
  |  Branch (3826:34): [True: 0, False: 0]
  ------------------
 3827|     37|	return cmp_symbol_assign(symbol, value, superAssign, cb, cntxt);
 3828|      0|    else if (TYPEOF(lhs) == LANGSXP)
  ------------------
  |  |  117|      0|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (3828:14): [True: 0, False: 0]
  ------------------
 3829|      0|	return cmp_complex_assign(symbol, lhs, value, superAssign, cb, cntxt);
 3830|      0|    else
 3831|      0|	return cmp_special(e, cb, cntxt); /* punt for now */
 3832|     37|}
bccompile.c:check_assign:
 3596|     37|{
 3597|     37|    if (lang_length(e) != 3)
  ------------------
  |  Branch (3597:9): [True: 0, False: 37]
  ------------------
 3598|      0|	return FALSE;
 3599|     37|    SEXP place = CADR(e);
 3600|     37|    if (TYPEOF(place) == SYMSXP ||
  ------------------
  |  |  112|     74|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (3600:9): [True: 37, False: 0]
  ------------------
 3601|      0|	(TYPEOF(place) == STRSXP && XLENGTH(place) == 1))
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (3601:3): [True: 0, False: 0]
  |  Branch (3601:30): [True: 0, False: 0]
  ------------------
 3602|     37|	return TRUE;
 3603|      0|    while (TYPEOF(place) == LANGSXP) {
  ------------------
  |  |  117|      0|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (3603:12): [True: 0, False: 0]
  ------------------
 3604|      0|	SEXP fun = CAR(place);
 3605|      0|	if (TYPEOF(fun) != SYMSXP &&
  ------------------
  |  |  112|      0|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (3605:6): [True: 0, False: 0]
  ------------------
 3606|      0|	    ! (TYPEOF(fun) == LANGSXP && lang_length(fun) == 3 &&
  ------------------
  |  |  117|      0|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (3606:9): [True: 0, False: 0]
  |  Branch (3606:35): [True: 0, False: 0]
  ------------------
 3607|      0|	       TYPEOF(CAR(fun)) == SYMSXP &&
  ------------------
  |  |  112|      0|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (3607:9): [True: 0, False: 0]
  ------------------
 3608|      0|	       (CAR(fun) == R_DoubleColonSymbol ||
  ------------------
  |  Branch (3608:10): [True: 0, False: 0]
  ------------------
 3609|      0|		CAR(fun) == R_TripleColonSymbol))) {
  ------------------
  |  Branch (3609:3): [True: 0, False: 0]
  ------------------
 3610|      0|	    notify_bad_assign_fun(cntxt, cb);
 3611|      0|	    return FALSE;
 3612|      0|	}
 3613|      0|	check_arity(place, 2, cntxt);
 3614|      0|	place = CADR(place);
 3615|      0|    }
 3616|      0|    return TYPEOF(place) == SYMSXP;
  ------------------
  |  |  112|      0|#define SYMSXP	     1	  /* symbols */
  ------------------
 3617|      0|}
bccompile.c:get_assigned_var:
 1909|    111|{
 1910|    111|    if (CDR(e) == R_NilValue)
  ------------------
  |  Branch (1910:9): [True: 0, False: 111]
  ------------------
 1911|      0|	Rf_errorcall(cntxt->call, _("bad assignment: %s"), "<call>");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1912|    111|    SEXP v = CADR(e);
 1913|    111|    if (v == R_MissingArg)
  ------------------
  |  Branch (1913:9): [True: 0, False: 111]
  ------------------
 1914|      0|	Rf_errorcall(cntxt->call, _("bad assignment: %s"), "<call>");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1915|    111|    if (TYPEOF(v) == SYMSXP)
  ------------------
  |  |  112|    111|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (1915:9): [True: 111, False: 0]
  ------------------
 1916|    111|	return v;
 1917|      0|    if (TYPEOF(v) == STRSXP) {
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1917:9): [True: 0, False: 0]
  ------------------
 1918|      0|	if (XLENGTH(v) != 1 || STRING_ELT(v, 0) == NA_STRING ||
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  |  Branch (1918:6): [True: 0, False: 0]
  |  Branch (1918:25): [True: 0, False: 0]
  ------------------
 1919|      0|	    CHAR(STRING_ELT(v, 0))[0] == '\0')
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (1919:6): [True: 0, False: 0]
  ------------------
 1920|      0|	    Rf_errorcall(cntxt->call, _("bad assignment: %s"), "<call>");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1921|      0|	return Rf_installTrChar(STRING_ELT(v, 0));
 1922|      0|    }
 1923|      0|    while (TYPEOF(v) == LANGSXP) {
  ------------------
  |  |  117|      0|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (1923:12): [True: 0, False: 0]
  ------------------
 1924|      0|	if (lang_length(v) < 2)
  ------------------
  |  Branch (1924:6): [True: 0, False: 0]
  ------------------
 1925|      0|	    Rf_errorcall(cntxt->call, _("bad assignment: %s"), "<call>");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1926|      0|	v = CADR(v);
 1927|      0|	if (v == R_MissingArg)
  ------------------
  |  Branch (1927:6): [True: 0, False: 0]
  ------------------
 1928|      0|	    Rf_errorcall(cntxt->call, _("bad assignment: %s"), "<call>");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1929|      0|    }
 1930|      0|    if (TYPEOF(v) != SYMSXP)
  ------------------
  |  |  112|      0|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (1930:9): [True: 0, False: 0]
  ------------------
 1931|      0|	Rf_errorcall(cntxt->call, _("bad assignment: %s"), "<call>");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1932|      0|    return v;
 1933|      0|}
bccompile.c:cmp_symbol_assign:
 3622|     37|{
 3623|     37|    Cntxt ncntxt = make_nontailcall_context(cntxt);
 3624|     37|    cmp(value, cb, &ncntxt, FALSE, TRUE);
 3625|     37|    int ci = putconst(cb, symbol);
 3626|     37|    put1(cb, superAssign ? SETVAR2_OP : SETVAR_OP, ci);
  ------------------
  |  Branch (3626:14): [True: 0, False: 37]
  ------------------
 3627|     37|    if (cntxt->tailcall) {
  ------------------
  |  Branch (3627:9): [True: 0, False: 37]
  ------------------
 3628|      0|	put0(cb, INVISIBLE_OP);
 3629|      0|	put0(cb, RETURN_OP);
 3630|      0|    }
 3631|     37|    return TRUE;
 3632|     37|}
bccompile.c:cmp_prim2:
 2955|     15|{
 2956|     15|    if (dots_or_missing(CDR(e))) {
  ------------------
  |  Branch (2956:9): [True: 0, False: 15]
  ------------------
 2957|      0|	return cmp_builtin(e, cb, cntxt, FALSE);
 2958|      0|    }
 2959|     15|    else if (lang_length(e) != 3) {
  ------------------
  |  Branch (2959:14): [True: 0, False: 15]
  ------------------
 2960|      0|	notify_wrong_arg_count(name_string(CAR(e)), cntxt, cb);
 2961|      0|	return cmp_builtin(e, cb, cntxt, FALSE);
 2962|      0|    }
 2963|     15|    else {
 2964|     15|	Cntxt ncntxt = make_nontailcall_context(cntxt);
 2965|     15|	cmp(CADR(e), cb, &ncntxt, FALSE, TRUE);
 2966|     15|	Cntxt acntxt = make_arg_context(cntxt);
 2967|     15|	cmp(CADDR(e), cb, &acntxt, FALSE, TRUE);
 2968|     15|	int ci = putconst(cb, e);
 2969|     15|	put1(cb, op, ci);
 2970|     15|	if (cntxt->tailcall)
  ------------------
  |  Branch (2970:6): [True: 9, False: 6]
  ------------------
 2971|      9|	    put0(cb, RETURN_OP);
 2972|     15|	return TRUE;
 2973|     15|    }
 2974|     15|}
bccompile.c:cmp_prim1:
 2933|      1|{
 2934|      1|    if (dots_or_missing(CDR(e))) {
  ------------------
  |  Branch (2934:9): [True: 0, False: 1]
  ------------------
 2935|      0|	return cmp_builtin(e, cb, cntxt, FALSE);
 2936|      0|    }
 2937|      1|    else if (lang_length(e) != 2) {
  ------------------
  |  Branch (2937:14): [True: 0, False: 1]
  ------------------
 2938|      0|	notify_wrong_arg_count(name_string(CAR(e)), cntxt, cb);
 2939|      0|	return cmp_builtin(e, cb, cntxt, FALSE);
 2940|      0|    }
 2941|      1|    else {
 2942|      1|	Cntxt ncntxt = make_nontailcall_context(cntxt);
 2943|      1|	cmp(CADR(e), cb, &ncntxt, FALSE, TRUE);
 2944|      1|	int ci = putconst(cb, e);
 2945|      1|	put1(cb, op, ci);
 2946|      1|	if (cntxt->tailcall)
  ------------------
  |  Branch (2946:6): [True: 0, False: 1]
  ------------------
 2947|      0|	    put0(cb, RETURN_OP);
 2948|      1|	return TRUE;
 2949|      1|    }
 2950|      1|}
bccompile.c:has_tags:
  263|     25|{
  264|    100|    for (SEXP p = e; p != R_NilValue; p = CDR(p)) {
  ------------------
  |  Branch (264:22): [True: 75, False: 25]
  ------------------
  265|     75|	bc_tick();
  266|     75|	if (TAG(p) != R_NilValue)
  ------------------
  |  Branch (266:6): [True: 0, False: 75]
  ------------------
  267|      0|	    return TRUE;
  268|     75|    }
  269|     25|    return FALSE;
  270|     25|}
bccompile.c:h_paren:
 3034|      3|{
 3035|      3|    if (any_dots(e))
  ------------------
  |  Branch (3035:9): [True: 0, False: 3]
  ------------------
 3036|      0|	return cmp_builtin(e, cb, cntxt, FALSE); /* punt */
 3037|      3|    else if (lang_length(e) != 2) {
  ------------------
  |  Branch (3037:14): [True: 0, False: 3]
  ------------------
 3038|      0|	notify_wrong_arg_count("(", cntxt, cb);
 3039|      0|	return cmp_builtin(e, cb, cntxt, FALSE); /* punt */
 3040|      0|    }
 3041|      3|    else if (cntxt->tailcall) {
  ------------------
  |  Branch (3041:14): [True: 0, False: 3]
  ------------------
 3042|      0|	Cntxt ncntxt = make_nontailcall_context(cntxt);
 3043|      0|	cmp(CADR(e), cb, &ncntxt, FALSE, TRUE);
 3044|      0|	put0(cb, VISIBLE_OP);
 3045|      0|	put0(cb, RETURN_OP);
 3046|      0|	return TRUE;
 3047|      0|    }
 3048|      3|    else {
 3049|      3|	cmp(CADR(e), cb, cntxt, FALSE, TRUE);
 3050|      3|	return TRUE;
 3051|      3|    }
 3052|      3|}
bccompile.c:cmp_dot_internal_call:
 3146|      2|{
 3147|      2|    check_arity(e, 2, cntxt);
 3148|      2|    SEXP ee = CADR(e);
 3149|      2|    if (TYPEOF(ee) != LANGSXP)
  ------------------
  |  |  117|      2|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (3149:9): [True: 0, False: 2]
  ------------------
 3150|      0|	Rf_errorcall(cntxt->call, _("object of type '%s' is not subsettable"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3151|      0|		     Rf_type2char(TYPEOF(ee)));
 3152|      2|    SEXP sym = CAR(ee);
 3153|      2|    if (TYPEOF(sym) != SYMSXP)
  ------------------
  |  |  112|      2|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (3153:9): [True: 0, False: 2]
  ------------------
 3154|      0|	Rf_errorcall(cntxt->call, _("invalid symbol"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3155|      2|    if (is_builtin_internal(sym))
  ------------------
  |  Branch (3155:9): [True: 2, False: 0]
  ------------------
 3156|      2|	return cmp_builtin(ee, cb, cntxt, TRUE);
 3157|      0|    else
 3158|      0|	return cmp_special(e, cb, cntxt);
 3159|      2|}
bccompile.c:is_builtin_internal:
  200|      4|{
  201|      4|    SEXP i = INTERNAL(sym);
  202|      4|    return i != R_NilValue && TYPEOF(i) == BUILTINSXP;
  ------------------
  |  |  119|      4|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (202:12): [True: 4, False: 0]
  |  Branch (202:31): [True: 4, False: 0]
  ------------------
  203|      4|}
bccompile.c:h_subset:
 4128|     10|{
 4129|     10|    return cmp_subset(e, cb, cntxt, &subsetOps);
 4130|     10|}
bccompile.c:cmp_subset:
 4118|     25|{
 4119|     25|    if (dots_or_missing(e) || has_tags(e) || lang_length(e) < 3)
  ------------------
  |  Branch (4119:9): [True: 0, False: 25]
  |  Branch (4119:31): [True: 0, False: 25]
  |  Branch (4119:46): [True: 0, False: 25]
  ------------------
 4120|      0|	return cmp_dispatch(ops->start, ops->dflt, e, cb, cntxt, TRUE);
 4121|     25|    int nidx = lang_length(e) - 2;
 4122|     25|    int rank;
 4123|     25|    int dflt_op = subset_dflt_op(ops, nidx, &rank);
 4124|     25|    return cmp_subset_dispatch(ops->startN, dflt_op, rank, e, cb, cntxt);
 4125|     25|}
bccompile.c:subset_dflt_op:
 3945|     25|{
 3946|     25|    *rank = nidx > 2;
 3947|     25|    return nidx == 1 ? ops->vec : nidx == 2 ? ops->mat : ops->n;
  ------------------
  |  Branch (3947:12): [True: 25, False: 0]
  |  Branch (3947:35): [True: 0, False: 0]
  ------------------
 3948|     25|}
bccompile.c:cmp_subset_dispatch:
 4095|     25|{
 4096|     25|    SEXP oe = CADR(e);
 4097|     25|    if (oe == R_MissingArg)
  ------------------
  |  Branch (4097:9): [True: 0, False: 25]
  ------------------
 4098|      0|	stop_at(cntxt, cb, _("cannot compile this expression"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4099|     25|    Cntxt ncntxt = make_arg_context(cntxt);
 4100|     25|    int ci = putconst(cb, e);
 4101|     25|    int label = makelabel(cb);
 4102|     25|    cmp(oe, cb, &ncntxt, FALSE, TRUE);
 4103|     25|    put1L(cb, start_op, ci, label);
 4104|     25|    SEXP indices = CDDR(e);
 4105|     25|    cmp_indices(indices, cb, &ncntxt);
 4106|     25|    if (rank)
  ------------------
  |  Branch (4106:9): [True: 0, False: 25]
  ------------------
 4107|      0|	put2(cb, dflt_op, ci, lang_length(indices));
 4108|     25|    else
 4109|     25|	put1(cb, dflt_op, ci);
 4110|     25|    putlabel(cb, label);
 4111|     25|    if (cntxt->tailcall)
  ------------------
  |  Branch (4111:9): [True: 1, False: 24]
  ------------------
 4112|      1|	put0(cb, RETURN_OP);
 4113|     25|    return TRUE;
 4114|     25|}
bccompile.c:cmp_indices:
 3952|     25|{
 3953|     50|    for (SEXP p = indices; p != R_NilValue; p = CDR(p))
  ------------------
  |  Branch (3953:28): [True: 25, False: 25]
  ------------------
 3954|     25|	cmp(CAR(p), cb, cntxt, TRUE, TRUE);
 3955|     25|}
bccompile.c:h_subset2:
 4133|     15|{
 4134|     15|    return cmp_subset(e, cb, cntxt, &subset2Ops);
 4135|     15|}
bccompile.c:set_handler:
 4526|    290|{
 4527|    290|    SymInfo *si = symtab_lookup(Rf_install(name), TRUE);
 4528|    290|    si->handler = fn;
 4529|    290|    si->handlerPkg = pkg;
 4530|    290|    si->op = op;
 4531|    290|}
bccompile.c:cmp_simple_internal:
 3471|      2|{
 3472|      2|    if (any_dots(e))
  ------------------
  |  Branch (3472:9): [True: 0, False: 2]
  ------------------
 3473|      0|	return FALSE;
 3474|      2|    SEXP def = find_fun_def(CAR(e), cntxt->env);
 3475|       |    /* checkCall(def, e, NULL) */
 3476|      2|    if (def == NULL || TYPEOF(def) != CLOSXP)
  ------------------
  |  |  114|      2|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (3476:9): [True: 0, False: 2]
  |  Branch (3476:24): [True: 0, False: 2]
  ------------------
 3477|       |	/* checkCall() returns NA for these and the R code errors on it */
 3478|      0|	Rf_errorcall(cntxt->call,
 3479|      0|		     _("missing value where TRUE/FALSE needed"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3480|      2|    PROTECT(def);
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3481|      2|    SEXP forms = FORMALS(def);
 3482|      2|    int nf = lang_length(forms);
 3483|      2|    SEXP *matched = (SEXP *) R_alloc(nf > 0 ? nf : 1, sizeof(SEXP));
  ------------------
  |  Branch (3483:38): [True: 2, False: 0]
  ------------------
 3484|      2|    if (! match_simple_args(forms, e, matched)) {
  ------------------
  |  Branch (3484:9): [True: 0, False: 2]
  ------------------
 3485|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 3486|      0|	return FALSE;
 3487|      0|    }
 3488|       |
 3489|       |    /* inlineSimpleInternalCall(e, def) */
 3490|      2|    if (dots_or_missing(e)) {
  ------------------
  |  Branch (3490:9): [True: 0, False: 2]
  ------------------
 3491|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 3492|      0|	return FALSE;
 3493|      0|    }
 3494|      2|    SEXP icall = simple_internal_call(def, cntxt);
 3495|      2|    if (icall == NULL) {
  ------------------
  |  Branch (3495:9): [True: 0, False: 2]
  ------------------
 3496|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 3497|      0|	return FALSE;
 3498|      0|    }
 3499|      2|    SEXP args = PROTECT(copy_call(CDR(icall)));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3500|      6|    for (SEXP p = args; p != R_NilValue; p = CDR(p)) {
  ------------------
  |  Branch (3500:25): [True: 4, False: 2]
  ------------------
 3501|      4|	SEXP a = CAR(p);
 3502|      4|	if (TYPEOF(a) == SYMSXP) {
  ------------------
  |  |  112|      4|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (3502:6): [True: 4, False: 0]
  ------------------
 3503|      4|	    SEXP val = R_NilValue;
 3504|      4|	    int i = 0;
 3505|      6|	    for (SEXP f = forms; f != R_NilValue; f = CDR(f), i++)
  ------------------
  |  Branch (3505:27): [True: 6, False: 0]
  ------------------
 3506|      6|		if (TAG(f) == a) {
  ------------------
  |  Branch (3506:7): [True: 4, False: 2]
  ------------------
 3507|      4|		    val = matched[i] != NULL ? matched[i] : CAR(f);
  ------------------
  |  Branch (3507:13): [True: 4, False: 0]
  ------------------
 3508|      4|		    break;
 3509|      4|		}
 3510|      4|	    SETCAR(p, val);
 3511|      4|	}
 3512|      4|    }
 3513|      2|    SEXP ncall = PROTECT(Rf_lang2(s_dotInternal, LCONS(CAR(icall), args)));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3514|      2|    int ans = cmp_dot_internal_call(ncall, cb, cntxt);
 3515|      2|    UNPROTECT(3);
  ------------------
  |  |  358|      2|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 3516|      2|    return ans;
 3517|      2|}
bccompile.c:match_simple_args:
 3387|      2|{
 3388|       |    /* match.call() warns about partial matches when the option
 3389|       |       warnPartialMatchArgs is set; if the warning becomes an error
 3390|       |       (warn >= 2, unless a handler muffles it) checkCall() turns that
 3391|       |       into not inlining the call */
 3392|      2|    int warnPartial = Rf_asLogical(Rf_GetOption1(Rf_install("warnPartialMatchArgs"))) == TRUE;
 3393|       |
 3394|      2|    int nf = lang_length(forms);
 3395|      2|    int ns = lang_length(CDR(call));
 3396|      2|    SEXP *supplied = (SEXP *) R_alloc(ns > 0 ? ns : 1, sizeof(SEXP));
  ------------------
  |  Branch (3396:39): [True: 2, False: 0]
  ------------------
 3397|      2|    SEXP *stags = (SEXP *) R_alloc(ns > 0 ? ns : 1, sizeof(SEXP));
  ------------------
  |  Branch (3397:36): [True: 2, False: 0]
  ------------------
 3398|      2|    int *sused = (int *) R_alloc(ns > 0 ? ns : 1, sizeof(int));
  ------------------
  |  Branch (3398:34): [True: 2, False: 0]
  ------------------
 3399|      2|    int *fused = (int *) R_alloc(nf > 0 ? nf : 1, sizeof(int));
  ------------------
  |  Branch (3399:34): [True: 2, False: 0]
  ------------------
 3400|      2|    int i = 0;
 3401|      6|    for (SEXP p = CDR(call); p != R_NilValue; p = CDR(p), i++) {
  ------------------
  |  Branch (3401:30): [True: 4, False: 2]
  ------------------
 3402|      4|	supplied[i] = CAR(p);
 3403|      4|	stags[i] = TAG(p);
 3404|      4|	sused[i] = MATCH_NONE;
 3405|      4|    }
 3406|      2|    SEXP *ftags = (SEXP *) R_alloc(nf > 0 ? nf : 1, sizeof(SEXP));
  ------------------
  |  Branch (3406:36): [True: 2, False: 0]
  ------------------
 3407|      2|    i = 0;
 3408|      6|    for (SEXP f = forms; f != R_NilValue; f = CDR(f), i++) {
  ------------------
  |  Branch (3408:26): [True: 4, False: 2]
  ------------------
 3409|      4|	ftags[i] = TAG(f);
 3410|      4|	fused[i] = MATCH_NONE;
 3411|      4|	matched[i] = NULL;
 3412|      4|    }
 3413|       |
 3414|       |    /* exact matches by tag */
 3415|      6|    for (int fi = 0; fi < nf; fi++) {
  ------------------
  |  Branch (3415:22): [True: 4, False: 2]
  ------------------
 3416|      4|	const char *fname = CHAR(PRINTNAME(ftags[fi]));
  ------------------
  |  |  203|      4|#define CHAR(x) R_CHAR(x)
  ------------------
 3417|     12|	for (int si = 0; si < ns; si++) {
  ------------------
  |  Branch (3417:19): [True: 8, False: 4]
  ------------------
 3418|      8|	    if (stags[si] == R_NilValue)
  ------------------
  |  Branch (3418:10): [True: 8, False: 0]
  ------------------
 3419|      8|		continue;
 3420|      0|	    if (strcmp(CHAR(PRINTNAME(stags[si])), fname) == 0) {
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (3420:10): [True: 0, False: 0]
  ------------------
 3421|      0|		if (fused[fi] == MATCH_EXACT)
  ------------------
  |  Branch (3421:7): [True: 0, False: 0]
  ------------------
 3422|      0|		    return FALSE; /* matched by multiple actual arguments */
 3423|      0|		fused[fi] = MATCH_EXACT;
 3424|      0|		sused[si] = MATCH_EXACT;
 3425|      0|		matched[fi] = supplied[si];
 3426|      0|	    }
 3427|      0|	}
 3428|      4|    }
 3429|       |    /* partial matches */
 3430|      6|    for (int fi = 0; fi < nf; fi++) {
  ------------------
  |  Branch (3430:22): [True: 4, False: 2]
  ------------------
 3431|      4|	if (fused[fi])
  ------------------
  |  Branch (3431:6): [True: 0, False: 4]
  ------------------
 3432|      0|	    continue;
 3433|      4|	const char *fname = CHAR(PRINTNAME(ftags[fi]));
  ------------------
  |  |  203|      4|#define CHAR(x) R_CHAR(x)
  ------------------
 3434|     12|	for (int si = 0; si < ns; si++) {
  ------------------
  |  Branch (3434:19): [True: 8, False: 4]
  ------------------
 3435|      8|	    if (sused[si] == MATCH_EXACT || stags[si] == R_NilValue)
  ------------------
  |  Branch (3435:10): [True: 0, False: 8]
  |  Branch (3435:38): [True: 8, False: 0]
  ------------------
 3436|      8|		continue;
 3437|      0|	    const char *tag = CHAR(PRINTNAME(stags[si]));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 3438|      0|	    if (tag[0] != '\0' && strncmp(fname, tag, strlen(tag)) == 0) {
  ------------------
  |  Branch (3438:10): [True: 0, False: 0]
  |  Branch (3438:28): [True: 0, False: 0]
  ------------------
 3439|      0|		if (sused[si])
  ------------------
  |  Branch (3439:7): [True: 0, False: 0]
  ------------------
 3440|      0|		    return FALSE; /* matches multiple formal arguments */
 3441|      0|		if (fused[fi] == MATCH_PARTIAL)
  ------------------
  |  Branch (3441:7): [True: 0, False: 0]
  ------------------
 3442|      0|		    return FALSE; /* matched by multiple actual arguments */
 3443|      0|		if (warnPartial &&
  ------------------
  |  Branch (3443:7): [True: 0, False: 0]
  ------------------
 3444|      0|		    signal_partial_match(call, stags[si], ftags[fi]))
  ------------------
  |  Branch (3444:7): [True: 0, False: 0]
  ------------------
 3445|      0|		    return FALSE; /* the warning became an error */
 3446|      0|		sused[si] = MATCH_PARTIAL;
 3447|      0|		fused[fi] = MATCH_PARTIAL;
 3448|      0|		matched[fi] = supplied[si];
 3449|      0|	    }
 3450|      0|	}
 3451|      4|    }
 3452|       |    /* positional matches */
 3453|      2|    int fi = 0;
 3454|      6|    for (int si = 0; si < ns; si++) {
  ------------------
  |  Branch (3454:22): [True: 4, False: 2]
  ------------------
 3455|      4|	if (sused[si])
  ------------------
  |  Branch (3455:6): [True: 0, False: 4]
  ------------------
 3456|      0|	    continue;
 3457|      4|	if (stags[si] != R_NilValue && CHAR(PRINTNAME(stags[si]))[0] != '\0')
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (3457:6): [True: 0, False: 4]
  |  Branch (3457:33): [True: 0, False: 0]
  ------------------
 3458|      0|	    return FALSE; /* unused argument */
 3459|      4|	while (fi < nf && fused[fi])
  ------------------
  |  Branch (3459:9): [True: 4, False: 0]
  |  Branch (3459:20): [True: 0, False: 4]
  ------------------
 3460|      0|	    fi++;
 3461|      4|	if (fi == nf)
  ------------------
  |  Branch (3461:6): [True: 0, False: 4]
  ------------------
 3462|      0|	    return FALSE; /* unused argument */
 3463|      4|	fused[fi] = MATCH_POSITIONAL;
 3464|      4|	matched[fi] = supplied[si];
 3465|      4|	fi++;
 3466|      4|    }
 3467|      2|    return TRUE;
 3468|      2|}
bccompile.c:simple_internal_call:
 3329|      2|{
 3330|      2|    if (TYPEOF(def) != CLOSXP || ! simple_formals(def))
  ------------------
  |  |  114|      4|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (3330:9): [True: 0, False: 2]
  |  Branch (3330:34): [True: 0, False: 2]
  ------------------
 3331|      0|	return NULL;
 3332|      2|    SEXP b = R_ClosureExpr(def);
 3333|      2|    if (TYPEOF(b) == LANGSXP && lang_length(b) == 2 && CAR(b) == R_BraceSymbol)
  ------------------
  |  |  117|      4|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (3333:9): [True: 2, False: 0]
  |  Branch (3333:33): [True: 2, False: 0]
  |  Branch (3333:56): [True: 0, False: 2]
  ------------------
 3334|      0|	b = CADR(b);
 3335|      2|    if (TYPEOF(b) == LANGSXP && CAR(b) == s_dotInternal) {
  ------------------
  |  |  117|      4|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (3335:9): [True: 2, False: 0]
  |  Branch (3335:33): [True: 2, False: 0]
  ------------------
 3336|      2|	check_arity(b, 2, cntxt);
 3337|      2|	SEXP icall = CADR(b);
 3338|      2|	if (TYPEOF(icall) != LANGSXP)
  ------------------
  |  |  117|      2|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (3338:6): [True: 0, False: 2]
  ------------------
 3339|      0|	    Rf_errorcall(cntxt->call,
 3340|      0|			 _("object of type '%s' is not subsettable"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3341|      0|			 Rf_type2char(TYPEOF(icall)));
 3342|      2|	SEXP ifun = CAR(icall);
 3343|      2|	if (TYPEOF(ifun) == SYMSXP && is_builtin_internal(ifun) &&
  ------------------
  |  |  112|      4|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (3343:6): [True: 2, False: 0]
  |  Branch (3343:32): [True: 2, False: 0]
  ------------------
 3344|      2|	    simple_args(icall, FORMALS(def)))
  ------------------
  |  Branch (3344:6): [True: 2, False: 0]
  ------------------
 3345|      2|	    return icall;
 3346|      2|    }
 3347|      0|    return NULL;
 3348|      2|}
bccompile.c:simple_formals:
 3282|      2|{
 3283|      6|    for (SEXP f = FORMALS(def); f != R_NilValue; f = CDR(f)) {
  ------------------
  |  Branch (3283:33): [True: 4, False: 2]
  ------------------
 3284|      4|	if (TAG(f) == R_DotsSymbol)
  ------------------
  |  Branch (3284:6): [True: 0, False: 4]
  ------------------
 3285|      0|	    return FALSE;
 3286|      4|	SEXP d = CAR(f);
 3287|      4|	if (d != R_MissingArg)
  ------------------
  |  Branch (3287:6): [True: 0, False: 4]
  ------------------
 3288|      0|	    switch (TYPEOF(d)) {
 3289|      0|	    case SYMSXP: case LANGSXP: case PROMSXP: case BCODESXP:
  ------------------
  |  |  112|      0|#define SYMSXP	     1	  /* symbols */
  ------------------
              	    case SYMSXP: case LANGSXP: case PROMSXP: case BCODESXP:
  ------------------
  |  |  117|      0|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
              	    case SYMSXP: case LANGSXP: case PROMSXP: case BCODESXP:
  ------------------
  |  |  116|      0|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
              	    case SYMSXP: case LANGSXP: case PROMSXP: case BCODESXP:
  ------------------
  |  |  133|      0|#define BCODESXP    21    /* byte code */
  ------------------
  |  Branch (3289:6): [True: 0, False: 0]
  |  Branch (3289:19): [True: 0, False: 0]
  |  Branch (3289:33): [True: 0, False: 0]
  |  Branch (3289:47): [True: 0, False: 0]
  ------------------
 3290|      0|		return FALSE;
 3291|      0|	    default:
  ------------------
  |  Branch (3291:6): [True: 0, False: 0]
  ------------------
 3292|      0|		break;
 3293|      0|	    }
 3294|      4|    }
 3295|      2|    return TRUE;
 3296|      2|}
bccompile.c:simple_args:
 3308|      2|{
 3309|      6|    for (SEXP p = CDR(icall); p != R_NilValue; p = CDR(p)) {
  ------------------
  |  Branch (3309:31): [True: 4, False: 2]
  ------------------
 3310|      4|	SEXP a = CAR(p);
 3311|      4|	if (a == R_MissingArg)
  ------------------
  |  Branch (3311:6): [True: 0, False: 4]
  ------------------
 3312|      0|	    return FALSE;
 3313|      4|	switch (TYPEOF(a)) {
 3314|      4|	case SYMSXP:
  ------------------
  |  |  112|      4|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (3314:2): [True: 4, False: 0]
  ------------------
 3315|      4|	    if (! is_formal_name(forms, a))
  ------------------
  |  Branch (3315:10): [True: 0, False: 4]
  ------------------
 3316|      0|		return FALSE;
 3317|      4|	    break;
 3318|      4|	case LANGSXP: case PROMSXP: case BCODESXP:
  ------------------
  |  |  117|      0|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
              	case LANGSXP: case PROMSXP: case BCODESXP:
  ------------------
  |  |  116|      0|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
              	case LANGSXP: case PROMSXP: case BCODESXP:
  ------------------
  |  |  133|      0|#define BCODESXP    21    /* byte code */
  ------------------
  |  Branch (3318:2): [True: 0, False: 4]
  |  Branch (3318:16): [True: 0, False: 4]
  |  Branch (3318:30): [True: 0, False: 4]
  ------------------
 3319|      0|	    return FALSE;
 3320|      0|	default:
  ------------------
  |  Branch (3320:2): [True: 0, False: 4]
  ------------------
 3321|      0|	    break;
 3322|      4|	}
 3323|      4|    }
 3324|      2|    return TRUE;
 3325|      2|}
bccompile.c:is_formal_name:
 3299|      4|{
 3300|      6|    for (SEXP f = forms; f != R_NilValue; f = CDR(f))
  ------------------
  |  Branch (3300:26): [True: 6, False: 0]
  ------------------
 3301|      6|	if (TAG(f) == sym)
  ------------------
  |  Branch (3301:6): [True: 4, False: 2]
  ------------------
 3302|      4|	    return TRUE;
 3303|      0|    return FALSE;
 3304|      4|}
bccompile.c:make_cenv:
  430|     17|{
  431|     17|    if (TYPEOF(env) != ENVSXP)
  ------------------
  |  |  115|     17|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (431:9): [True: 0, False: 17]
  ------------------
  432|      0|	Rf_error(_("not a proper evaluation environment"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  433|     17|    CEnv *cenv = (CEnv *) R_alloc(1, sizeof(CEnv));
  434|     17|    cenv->parent = NULL;
  435|     17|    symset_init(&cenv->vars);
  436|     17|    cenv->env = env;
  437|       |
  438|       |    /* frameTypes(env) */
  439|     17|    SEXP top = Rf_topenv(R_NilValue, env);
  440|     17|    SEXP e = env;
  441|     17|    int nl = 0, nn = 0, ng = 0;
  442|     17|    while (e != top) {
  ------------------
  |  Branch (442:12): [True: 0, False: 17]
  ------------------
  443|      0|	if (R_IsNamespaceEnv(e))
  ------------------
  |  Branch (443:6): [True: 0, False: 0]
  ------------------
  444|      0|	    Rf_error(_("namespace found within local environments"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  445|      0|	if (e == R_EmptyEnv)
  ------------------
  |  Branch (445:6): [True: 0, False: 0]
  ------------------
  446|      0|	    Rf_error(_("the empty environment has no parent"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  447|      0|	e = ENCLOS(e);
  448|      0|	nl++;
  449|      0|	if (e == R_EmptyEnv)
  ------------------
  |  Branch (449:6): [True: 0, False: 0]
  ------------------
  450|      0|	    Rf_error(_("not a proper evaluation environment"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  451|      0|    }
  452|     17|    if (R_IsNamespaceEnv(e)) {
  ------------------
  |  Branch (452:9): [True: 0, False: 17]
  ------------------
  453|      0|	while (e != R_GlobalEnv) {
  ------------------
  |  Branch (453:9): [True: 0, False: 0]
  ------------------
  454|      0|	    if (! R_IsNamespaceEnv(e)) {
  ------------------
  |  Branch (454:10): [True: 0, False: 0]
  ------------------
  455|      0|		SEXP name = Rf_getAttrib(e, R_NameSymbol);
  456|      0|		if (TYPEOF(name) != STRSXP || XLENGTH(name) < 1 ||
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (456:7): [True: 0, False: 0]
  |  Branch (456:33): [True: 0, False: 0]
  ------------------
  457|      0|		    strncmp(CHAR(STRING_ELT(name, 0)), "imports:", 8) != 0)
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (457:7): [True: 0, False: 0]
  ------------------
  458|      0|		    Rf_error(_("non-namespace found within namespace environments"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  459|      0|	    }
  460|      0|	    e = ENCLOS(e);
  461|      0|	    nn++;
  462|      0|	    if (e == R_EmptyEnv)
  ------------------
  |  Branch (462:10): [True: 0, False: 0]
  ------------------
  463|      0|		Rf_error(_("not a proper evaluation environment"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  464|      0|	}
  465|      0|    }
  466|    170|    while (e != R_EmptyEnv) {
  ------------------
  |  Branch (466:12): [True: 153, False: 17]
  ------------------
  467|    153|	if (R_IsNamespaceEnv(e))
  ------------------
  |  Branch (467:6): [True: 0, False: 153]
  ------------------
  468|      0|	    Rf_error(_("namespace found within global environments"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  469|    153|	e = ENCLOS(e);
  470|    153|	ng++;
  471|    153|    }
  472|     17|    cenv->nl = nl;
  473|     17|    cenv->nn = nn;
  474|     17|    cenv->ng = ng;
  475|     17|    return cenv;
  476|     17|}
bccompile.c:symset_init:
  364|     68|{
  365|       |    s->tab = NULL;
  366|     68|    s->size = 0;
  367|     68|    s->count = 0;
  368|     68|}
bccompile.c:make_toplevel_context:
  746|     34|{
  747|     34|    Cntxt c;
  748|     34|    c.toplevel = TRUE;
  749|     34|    c.tailcall = TRUE;
  750|     34|    c.needRETURNJMP = FALSE;
  751|     34|    c.env = cenv;
  752|     34|    c.optimize = Rf_asInteger(compiler_option("optimize", options));
  753|     34|    if (c.optimize == NA_INTEGER)
  ------------------
  |  |   56|     34|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (753:9): [True: 0, False: 34]
  ------------------
  754|      0|	c.optimize = 2;
  755|     34|    c.suppressAll = Rf_asLogical(compiler_option("suppressAll", options)) == TRUE;
  756|     34|    c.suppressNoSuperAssignVar =
  757|     34|	Rf_asLogical(compiler_option("suppressNoSuperAssignVar", options)) == TRUE;
  758|     34|    c.suppressUndefined = compiler_option("suppressUndefined", options);
  759|     34|    c.call = R_NilValue;
  760|     34|    c.hasLoop = FALSE;
  761|     34|    c.loopLabel = c.endLabel = -1;
  762|     34|    c.gotoOK = FALSE;
  763|     34|    return c;
  764|     34|}
bccompile.c:compiler_option:
  928|    136|{
  929|    136|    if (TYPEOF(options) == VECSXP) {
  ------------------
  |  |  131|    136|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (929:9): [True: 0, False: 136]
  ------------------
  930|      0|	SEXP names = Rf_getAttrib(options, R_NamesSymbol);
  931|      0|	if (TYPEOF(names) == STRSXP)
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (931:6): [True: 0, False: 0]
  ------------------
  932|      0|	    for (R_xlen_t i = 0; i < XLENGTH(names); i++)
  ------------------
  |  Branch (932:27): [True: 0, False: 0]
  ------------------
  933|      0|		if (strcmp(CHAR(STRING_ELT(names, i)), name) == 0)
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (933:7): [True: 0, False: 0]
  ------------------
  934|      0|		    return VECTOR_ELT(options, i);
  935|      0|    }
  936|    136|    SEXP env = compiler_options_env();
  937|    136|    if (env != NULL) {
  ------------------
  |  Branch (937:9): [True: 136, False: 0]
  ------------------
  938|    136|	SEXP val = Rf_findVarInFrame3(env, Rf_install(name), TRUE);
  939|    136|	if (val != R_UnboundValue) {
  ------------------
  |  Branch (939:6): [True: 136, False: 0]
  ------------------
  940|    136|	    if (TYPEOF(val) == PROMSXP) {
  ------------------
  |  |  116|    136|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (940:10): [True: 0, False: 136]
  ------------------
  941|      0|		PROTECT(val);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  942|      0|		val = Rf_eval(val, R_EmptyEnv);
  943|      0|		UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  944|      0|	    }
  945|    136|	    return val;
  946|    136|	}
  947|    136|    }
  948|       |    /* the package's defaults, and the environment variables its
  949|       |       .onLoad() applies */
  950|      0|    if (strcmp(name, "optimize") == 0) {
  ------------------
  |  Branch (950:9): [True: 0, False: 0]
  ------------------
  951|      0|	int lev = env_option_optimize();
  952|      0|	return Rf_ScalarInteger(lev < 0 ? 2 : lev);
  ------------------
  |  Branch (952:26): [True: 0, False: 0]
  ------------------
  953|      0|    }
  954|      0|    else if (strcmp(name, "suppressAll") == 0) {
  ------------------
  |  Branch (954:14): [True: 0, False: 0]
  ------------------
  955|      0|	int v = env_option_logical("R_COMPILER_SUPPRESS_ALL");
  956|      0|	return v == FALSE ? R_FalseValue : R_TrueValue;
  ------------------
  |  Branch (956:9): [True: 0, False: 0]
  ------------------
  957|      0|    }
  958|      0|    else if (strcmp(name, "suppressNoSuperAssignVar") == 0) {
  ------------------
  |  Branch (958:14): [True: 0, False: 0]
  ------------------
  959|      0|	int v = env_option_logical("R_COMPILER_SUPPRESS_NO_SUPER_ASSIGN_VAR");
  960|      0|	return v == TRUE ? R_TrueValue : R_FalseValue;
  ------------------
  |  Branch (960:9): [True: 0, False: 0]
  ------------------
  961|      0|    }
  962|      0|    else if (strcmp(name, "suppressUndefined") == 0) {
  ------------------
  |  Branch (962:14): [True: 0, False: 0]
  ------------------
  963|      0|	int v = env_option_logical("R_COMPILER_SUPPRESS_UNDEFINED");
  964|      0|	if (v == TRUE)
  ------------------
  |  Branch (964:6): [True: 0, False: 0]
  ------------------
  965|      0|	    return R_TrueValue;
  966|      0|	if (v == FALSE)
  ------------------
  |  Branch (966:6): [True: 0, False: 0]
  ------------------
  967|      0|	    return R_FalseValue;
  968|      0|	static SEXP dflt = NULL;
  969|      0|	if (dflt == NULL) {
  ------------------
  |  Branch (969:6): [True: 0, False: 0]
  ------------------
  970|      0|	    dflt = Rf_allocVector(STRSXP, 4);
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  971|      0|	    R_PreserveObject(dflt);
  972|      0|	    SET_STRING_ELT(dflt, 0, Rf_mkChar(".Generic"));
  973|      0|	    SET_STRING_ELT(dflt, 1, Rf_mkChar(".Method"));
  974|      0|	    SET_STRING_ELT(dflt, 2, Rf_mkChar(".Random.seed"));
  975|      0|	    SET_STRING_ELT(dflt, 3, Rf_mkChar(".self"));
  976|      0|	}
  977|      0|	return dflt;
  978|      0|    }
  979|      0|    return R_NilValue;
  980|      0|}
bccompile.c:compiler_options_env:
  881|    136|{
  882|       |    /* the compiler package's option environment, when the package is
  883|       |       loaded; its defaults are used otherwise */
  884|    136|    SEXP ns = Rf_findVarInFrame3(R_NamespaceRegistry, s_compiler, TRUE);
  885|    136|    if (TYPEOF(ns) != ENVSXP)
  ------------------
  |  |  115|    136|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (885:9): [True: 0, False: 136]
  ------------------
  886|      0|	return NULL;
  887|    136|    SEXP env = Rf_findVarInFrame3(ns, s_compilerOptions, TRUE);
  888|    136|    if (TYPEOF(env) == PROMSXP) {
  ------------------
  |  |  116|    136|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (888:9): [True: 136, False: 0]
  ------------------
  889|    136|	PROTECT(env);
  ------------------
  |  |  357|    136|#define PROTECT(s)	Rf_protect(s)
  ------------------
  890|    136|	env = Rf_eval(env, R_EmptyEnv);
  891|    136|	UNPROTECT(1);
  ------------------
  |  |  358|    136|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  892|    136|    }
  893|    136|    return TYPEOF(env) == ENVSXP ? env : NULL;
  ------------------
  |  |  115|    136|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (893:12): [True: 136, False: 0]
  ------------------
  894|    136|}
bccompile.c:find_locals_list:
 2048|     17|{
 2049|     17|    SEXP initialShadowedFuns[3] = {
 2050|     17|	Rf_install("expression"), s_local, Rf_install("quote")
 2051|     17|    };
 2052|     17|    SEXP shadowed[3];
 2053|     17|    int nshadowed = 0;
 2054|     68|    for (int i = 0; i < 3; i++)
  ------------------
  |  Branch (2054:21): [True: 51, False: 17]
  ------------------
 2055|     51|	if (! is_base_var(initialShadowedFuns[i], cntxt))
  ------------------
  |  Branch (2055:6): [True: 34, False: 17]
  ------------------
 2056|     34|	    shadowed[nshadowed++] = initialShadowedFuns[i];
 2057|     17|    SEXP sf[3];
 2058|     17|    int nsf = 3;
 2059|     17|    memcpy(sf, initialShadowedFuns, sizeof sf);
 2060|     34|    for (;;) {
 2061|     34|	SymSet vals;
 2062|     34|	symset_init(&vals);
 2063|     34|	find_locals_list1(elist, n, sf, nsf, cntxt, &vals);
 2064|     34|	SEXP nsfv[3];
 2065|     34|	int nnsf = 0;
 2066|    102|	for (int i = 0; i < nshadowed; i++)
  ------------------
  |  Branch (2066:18): [True: 68, False: 34]
  ------------------
 2067|     68|	    nsfv[nnsf++] = shadowed[i];
 2068|    119|	for (int i = 0; i < nsf; i++)
  ------------------
  |  Branch (2068:18): [True: 85, False: 34]
  ------------------
 2069|     85|	    if (symset_has(&vals, sf[i])) {
  ------------------
  |  Branch (2069:10): [True: 0, False: 85]
  ------------------
 2070|      0|		int dup = FALSE;
 2071|      0|		for (int j = 0; j < nnsf; j++)
  ------------------
  |  Branch (2071:19): [True: 0, False: 0]
  ------------------
 2072|      0|		    if (nsfv[j] == sf[i])
  ------------------
  |  Branch (2072:11): [True: 0, False: 0]
  ------------------
 2073|      0|			dup = TRUE;
 2074|      0|		if (! dup)
  ------------------
  |  Branch (2074:7): [True: 0, False: 0]
  ------------------
 2075|      0|		    nsfv[nnsf++] = sf[i];
 2076|      0|	    }
 2077|     34|	int last_nsf = nsf;
 2078|     34|	memcpy(sf, nsfv, nnsf * sizeof(SEXP));
 2079|     34|	nsf = nnsf;
 2080|     34|	if (last_nsf == nsf) {
  ------------------
  |  Branch (2080:6): [True: 17, False: 17]
  ------------------
 2081|     17|	    SEXP rdsf[5];
 2082|     17|	    int nrdsf = 0;
 2083|     17|	    static const char *specialSyntaxFuns[] = {
 2084|     17|		"<-", "=", "for", "function", "~" /* C locale order */
 2085|     17|	    };
 2086|    102|	    for (int i = 0; i < 5; i++) {
  ------------------
  |  Branch (2086:22): [True: 85, False: 17]
  ------------------
 2087|     85|		SEXP s = Rf_install(specialSyntaxFuns[i]);
 2088|     85|		if (symset_has(&vals, s))
  ------------------
  |  Branch (2088:7): [True: 0, False: 85]
  ------------------
 2089|      0|		    rdsf[nrdsf++] = s;
 2090|     85|	    }
 2091|     17|	    if (nrdsf > 0)
  ------------------
  |  Branch (2091:10): [True: 0, False: 17]
  ------------------
 2092|      0|		notify_assign_syntactic_fun(rdsf, nrdsf, cntxt);
 2093|    289|	    for (int i = 0; i < vals.size; i++)
  ------------------
  |  Branch (2093:22): [True: 272, False: 17]
  ------------------
 2094|    272|		if (vals.tab[i] != NULL)
  ------------------
  |  Branch (2094:7): [True: 37, False: 235]
  ------------------
 2095|     37|		    symset_add(out, vals.tab[i]);
 2096|     17|	    return;
 2097|     17|	}
 2098|     34|    }
 2099|     17|}
bccompile.c:find_locals_list1:
 2033|     34|{
 2034|     34|    Worklist todo = { NULL, 0, 0 };
 2035|    102|    for (int i = 0; i < n; i++)
  ------------------
  |  Branch (2035:21): [True: 68, False: 34]
  ------------------
 2036|     68|	worklist_push(&todo, elist[i]);
 2037|    576|    while (todo.n > 0) {
  ------------------
  |  Branch (2037:12): [True: 542, False: 34]
  ------------------
 2038|    542|	SEXP e = todo.items[--todo.n];
 2039|    542|	bc_tick();
 2040|    542|	find_locals1(e, shadowed, nshadowed, cntxt, vars, &todo);
 2041|    542|    }
 2042|     34|}
bccompile.c:worklist_push:
 1941|  1.15k|{
 1942|  1.15k|    if (TYPEOF(e) != LANGSXP)
  ------------------
  |  |  117|  1.15k|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (1942:9): [True: 614, False: 542]
  ------------------
 1943|    614|	return;
 1944|    542|    if (w->n == w->cap) {
  ------------------
  |  Branch (1944:9): [True: 34, False: 508]
  ------------------
 1945|     34|	int ncap = w->cap == 0 ? 64 : 2 * w->cap;
  ------------------
  |  Branch (1945:13): [True: 34, False: 0]
  ------------------
 1946|     34|	SEXP *ni = (SEXP *) R_alloc(ncap, sizeof(SEXP));
 1947|     34|	if (w->n > 0)
  ------------------
  |  Branch (1947:6): [True: 0, False: 34]
  ------------------
 1948|      0|	    memcpy(ni, w->items, w->n * sizeof(SEXP));
 1949|     34|	w->items = ni;
 1950|     34|	w->cap = ncap;
 1951|     34|    }
 1952|    542|    w->items[w->n++] = e;
 1953|    542|}
bccompile.c:find_locals1:
 1964|    542|{
 1965|    542|    if (TYPEOF(e) != LANGSXP)
  ------------------
  |  |  117|    542|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (1965:9): [True: 0, False: 542]
  ------------------
 1966|      0|	return;
 1967|    542|    SEXP fun = CAR(e);
 1968|    542|    SEXP fsym = name_as_symbol(fun);
 1969|    542|    if (fsym == NULL || (TYPEOF(fun) == STRSXP && XLENGTH(fun) != 1)) {
  ------------------
  |  |  126|  1.07k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1969:9): [True: 4, False: 538]
  |  Branch (1969:26): [True: 0, False: 538]
  |  Branch (1969:51): [True: 0, False: 0]
  ------------------
 1970|      4|	if (TYPEOF(fun) == SYMSXP || TYPEOF(fun) == STRSXP) {
  ------------------
  |  |  112|      8|#define SYMSXP	     1	  /* symbols */
  ------------------
              	if (TYPEOF(fun) == SYMSXP || TYPEOF(fun) == STRSXP) {
  ------------------
  |  |  126|      4|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1970:6): [True: 0, False: 4]
  |  Branch (1970:31): [True: 0, False: 4]
  ------------------
 1971|      0|	    ;
 1972|      0|	}
 1973|      4|	else {
 1974|      4|	    worklist_push_list(todo, e);
 1975|      4|	    return;
 1976|      4|	}
 1977|      4|    }
 1978|    538|    if (fsym == NULL) {
  ------------------
  |  Branch (1978:9): [True: 0, False: 538]
  ------------------
 1979|       |	/* a character function name that is not a single string */
 1980|      0|	worklist_push_list(todo, CDR(e));
 1981|      0|	return;
 1982|      0|    }
 1983|    538|    const char *v = CHAR(PRINTNAME(fsym));
  ------------------
  |  |  203|    538|#define CHAR(x) R_CHAR(x)
  ------------------
 1984|    538|    int isShadowed = FALSE;
 1985|  1.88k|    for (int i = 0; i < nshadowed; i++)
  ------------------
  |  Branch (1985:21): [True: 1.34k, False: 538]
  ------------------
 1986|  1.34k|	if (shadowed[i] == fsym)
  ------------------
  |  Branch (1986:6): [True: 0, False: 1.34k]
  ------------------
 1987|      0|	    isShadowed = TRUE;
 1988|       |
 1989|    538|    if (strcmp(v, "=") == 0 || strcmp(v, "<-") == 0) {
  ------------------
  |  Branch (1989:9): [True: 0, False: 538]
  |  Branch (1989:32): [True: 74, False: 464]
  ------------------
 1990|     74|	symset_add(vars, get_assigned_var(e, cntxt));
 1991|     74|	worklist_push_list(todo, CDR(e));
 1992|     74|    }
 1993|    464|    else if (strcmp(v, "for") == 0) {
  ------------------
  |  Branch (1993:14): [True: 0, False: 464]
  ------------------
 1994|      0|	if (CDR(e) != R_NilValue) {
  ------------------
  |  Branch (1994:6): [True: 0, False: 0]
  ------------------
 1995|      0|	    SEXP var = CADR(e);
 1996|      0|	    SEXP vsym = name_as_symbol(var);
 1997|      0|	    if (vsym != NULL)
  ------------------
  |  Branch (1997:10): [True: 0, False: 0]
  ------------------
 1998|      0|		symset_add(vars, vsym);
 1999|      0|	    else if (var != R_MissingArg && TYPEOF(var) == LANGSXP)
  ------------------
  |  |  117|      0|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (1999:15): [True: 0, False: 0]
  |  Branch (1999:38): [True: 0, False: 0]
  ------------------
 2000|       |		/* as.character(e[2]) deparses the element */
 2001|      0|		symset_add(vars, Rf_install(CHAR(STRING_ELT(
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 2002|      0|		    Rf_deparse1line(var, FALSE), 0))));
 2003|      0|	    worklist_push(todo, CAR(e));
 2004|      0|	    worklist_push_list(todo, CDDR(e));
 2005|      0|	}
 2006|      0|    }
 2007|    464|    else if (strcmp(v, "delayedAssign") == 0 || strcmp(v, "assign") == 0) {
  ------------------
  |  Branch (2007:14): [True: 0, False: 464]
  |  Branch (2007:49): [True: 0, False: 464]
  ------------------
 2008|      0|	if (lang_length(e) == 3 && TYPEOF(CADR(e)) == STRSXP &&
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (2008:6): [True: 0, False: 0]
  |  Branch (2008:29): [True: 0, False: 0]
  ------------------
 2009|      0|	    XLENGTH(CADR(e)) == 1) {
  ------------------
  |  Branch (2009:6): [True: 0, False: 0]
  ------------------
 2010|      0|	    symset_add(vars, Rf_installTrChar(STRING_ELT(CADR(e), 0)));
 2011|      0|	    worklist_push(todo, CADDR(e));
 2012|      0|	}
 2013|      0|    }
 2014|    464|    else if (strcmp(v, "function") == 0 || strcmp(v, "~") == 0) {
  ------------------
  |  Branch (2014:14): [True: 0, False: 464]
  |  Branch (2014:44): [True: 0, False: 464]
  ------------------
 2015|      0|	;
 2016|      0|    }
 2017|    464|    else if (strcmp(v, "local") == 0) {
  ------------------
  |  Branch (2017:14): [True: 0, False: 464]
  ------------------
 2018|      0|	if (! (! isShadowed && lang_length(e) == 2))
  ------------------
  |  Branch (2018:9): [True: 0, False: 0]
  |  Branch (2018:25): [True: 0, False: 0]
  ------------------
 2019|      0|	    worklist_push_list(todo, CDR(e));
 2020|      0|    }
 2021|    464|    else if (strcmp(v, "expression") == 0 || strcmp(v, "quote") == 0) {
  ------------------
  |  Branch (2021:14): [True: 0, False: 464]
  |  Branch (2021:46): [True: 0, False: 464]
  ------------------
 2022|      0|	if (isShadowed)
  ------------------
  |  Branch (2022:6): [True: 0, False: 0]
  ------------------
 2023|      0|	    worklist_push_list(todo, CDR(e));
 2024|      0|    }
 2025|    464|    else {
 2026|    464|	worklist_push_list(todo, CDR(e));
 2027|    464|    }
 2028|    538|}
bccompile.c:name_as_symbol:
  307|    542|{
  308|    542|    if (TYPEOF(x) == SYMSXP)
  ------------------
  |  |  112|    542|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (308:9): [True: 538, False: 4]
  ------------------
  309|    538|	return x;
  310|      4|    if (TYPEOF(x) == STRSXP && XLENGTH(x) == 1)
  ------------------
  |  |  126|      8|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (310:9): [True: 0, False: 4]
  |  Branch (310:32): [True: 0, False: 0]
  ------------------
  311|      0|	return Rf_installTrChar(STRING_ELT(x, 0));
  312|      4|    return NULL;
  313|      4|}
bccompile.c:worklist_push_list:
 1956|    542|{
 1957|  1.63k|    for (; p != R_NilValue; p = CDR(p))
  ------------------
  |  Branch (1957:12): [True: 1.08k, False: 542]
  ------------------
 1958|  1.08k|	worklist_push(w, CAR(p));
 1959|    542|}
bccompile.c:symset_add:
  384|    128|{
  385|    128|    if (2 * (s->count + 1) > s->size) {
  ------------------
  |  Branch (385:9): [True: 51, False: 77]
  ------------------
  386|     51|	int osize = s->size;
  387|     51|	SEXP *otab = s->tab;
  388|     51|	s->size = osize == 0 ? 16 : 2 * osize;
  ------------------
  |  Branch (388:12): [True: 51, False: 0]
  ------------------
  389|     51|	s->tab = (SEXP *) R_alloc(s->size, sizeof(SEXP));
  390|     51|	memset(s->tab, 0, s->size * sizeof(SEXP));
  391|     51|	for (int i = 0; i < osize; i++)
  ------------------
  |  Branch (391:18): [True: 0, False: 51]
  ------------------
  392|      0|	    if (otab[i] != NULL) {
  ------------------
  |  Branch (392:10): [True: 0, False: 0]
  ------------------
  393|      0|		unsigned h = ptr_hash(otab[i]) & (s->size - 1);
  394|      0|		while (s->tab[h] != NULL)
  ------------------
  |  Branch (394:10): [True: 0, False: 0]
  ------------------
  395|      0|		    h = (h + 1) & (s->size - 1);
  396|      0|		s->tab[h] = otab[i];
  397|      0|	    }
  398|     51|    }
  399|    128|    unsigned h = ptr_hash(sym) & (s->size - 1);
  400|    128|    while (s->tab[h] != NULL) {
  ------------------
  |  Branch (400:12): [True: 0, False: 128]
  ------------------
  401|      0|	if (s->tab[h] == sym)
  ------------------
  |  Branch (401:6): [True: 0, False: 0]
  ------------------
  402|      0|	    return;
  403|      0|	h = (h + 1) & (s->size - 1);
  404|      0|    }
  405|    128|    s->tab[h] = sym;
  406|    128|    s->count++;
  407|    128|}
bccompile.c:may_call_browser:
 2109|    561|{
 2110|    561|    if (TYPEOF(e) != LANGSXP)
  ------------------
  |  |  117|    561|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (2110:9): [True: 290, False: 271]
  ------------------
 2111|    290|	return FALSE;
 2112|    271|    R_CheckStack();
 2113|    271|    bc_tick();
 2114|    271|    SEXP fun = CAR(e);
 2115|    271|    if (TYPEOF(fun) == SYMSXP) {
  ------------------
  |  |  112|    271|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (2115:9): [True: 269, False: 2]
  ------------------
 2116|    269|	if (fun == s_browser)
  ------------------
  |  Branch (2116:6): [True: 0, False: 269]
  ------------------
 2117|      0|	    return TRUE; /* not checking isBaseVar to err on the positive */
 2118|    269|	else if (fun == R_FunctionSymbol && is_base_var(fun, cntxt))
  ------------------
  |  Branch (2118:11): [True: 0, False: 269]
  |  Branch (2118:38): [True: 0, False: 0]
  ------------------
 2119|      0|	    return FALSE;
 2120|    269|	else
 2121|    269|	    return may_call_browser_list(CDR(e), cntxt);
 2122|    269|    }
 2123|      2|    else {
 2124|      2|	return may_call_browser_list(e, cntxt);
 2125|      2|    }
 2126|    271|}
bccompile.c:may_call_browser_list:
 2129|    271|{
 2130|    815|    for (SEXP p = elist; p != R_NilValue; p = CDR(p))
  ------------------
  |  Branch (2130:26): [True: 544, False: 271]
  ------------------
 2131|    544|	if (CAR(p) != R_MissingArg && may_call_browser(CAR(p), cntxt))
  ------------------
  |  Branch (2131:6): [True: 544, False: 0]
  |  Branch (2131:32): [True: 0, False: 544]
  ------------------
 2132|      0|	    return TRUE;
 2133|    271|    return FALSE;
 2134|    271|}
bccompile.c:gen_code:
 2548|    140|{
 2549|       |    /* the buffers of a nested code object are released once it is
 2550|       |       built, rather than at the end of the whole compilation */
 2551|    140|    const void *vmax = vmaxget();
 2552|    140|    CodeBuf cb;
 2553|    140|    make_codebuf(&cb, e, loc);
 2554|    140|    cmp(e, &cb, cntxt, FALSE, FALSE);
 2555|    140|    SEXP ans = codebuf_code(&cb, cntxt);
 2556|    140|    vmaxset(vmax);
 2557|    140|    return ans;
 2558|    140|}
bccompile.c:make_codebuf:
 1469|    140|{
 1470|    140|    cb->exprTracking = TRUE;
 1471|    140|    cb->srcrefTracking = TRUE;
 1472|    140|    if (loc == NULL) {
  ------------------
  |  Branch (1472:9): [True: 17, False: 123]
  ------------------
 1473|     17|	cb->curExpr = expr;
 1474|     17|	cb->curSrcref = expr_srcref(expr);
 1475|     17|    }
 1476|    123|    else {
 1477|    123|	cb->curExpr = loc->expr;
 1478|    123|	cb->curSrcref = loc->srcref;
 1479|    123|    }
 1480|    140|    if (cb->curSrcref == R_NilValue)
  ------------------
  |  Branch (1480:9): [True: 140, False: 0]
  ------------------
 1481|       |	/* when the top-level srcref is null, we speculate there will be
 1482|       |	   no source references within the compiled expressions either;
 1483|       |	   disabling the tracking makes the resulting constant pool
 1484|       |	   smaller */
 1485|    140|	cb->srcrefTracking = FALSE;
 1486|    140|    if (! cb->srcrefTracking)
  ------------------
  |  Branch (1486:9): [True: 140, False: 0]
  ------------------
 1487|    140|	cb->curSrcref = R_NilValue;
 1488|       |
 1489|    140|    cb->codecap = 64;
 1490|    140|    cb->code = (int *) R_alloc(cb->codecap, sizeof(int));
 1491|    140|    cb->kind = (unsigned char *) R_alloc(cb->codecap, 1);
 1492|    140|    cb->exprbuf = (int *) R_alloc(cb->codecap, sizeof(int));
 1493|    140|    cb->srcrefbuf = cb->srcrefTracking ?
  ------------------
  |  Branch (1493:21): [True: 0, False: 140]
  ------------------
 1494|    140|	(int *) R_alloc(cb->codecap, sizeof(int)) : NULL;
 1495|    140|    cb->code[0] = bc_version;
 1496|    140|    cb->kind[0] = WK_INT;
  ------------------
  |  | 1029|    140|#define WK_INT 0
  ------------------
 1497|    140|    cb->exprbuf[0] = NA_INTEGER;
  ------------------
  |  |   56|    140|#define NA_INTEGER	R_NaInt
  ------------------
 1498|    140|    if (cb->srcrefTracking)
  ------------------
  |  Branch (1498:9): [True: 0, False: 140]
  ------------------
 1499|      0|	cb->srcrefbuf[0] = NA_INTEGER;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
 1500|    140|    cb->ncode = 1;
 1501|       |
 1502|    140|    cb->constcap = 32;
 1503|    140|    cb->nconst = 0;
 1504|    140|    PROTECT_WITH_INDEX(cb->consts = Rf_allocVector(VECSXP, cb->constcap),
  ------------------
  |  |  366|    140|#define PROTECT_WITH_INDEX(x,i) R_ProtectWithIndex(x,i)
  ------------------
 1505|    140|		       &cb->cpi);
 1506|    140|    cb->chash = (unsigned *) R_alloc(cb->constcap, sizeof(unsigned));
 1507|    140|    cb->cnext = (int *) R_alloc(cb->constcap, sizeof(int));
 1508|    140|    rebuild_const_index(cb);
 1509|       |
 1510|    140|    cb->labelcap = 16;
 1511|    140|    cb->labelpos = (int *) R_alloc(cb->labelcap, sizeof(int));
 1512|    140|    cb->nlabels = 0;
 1513|    140|    cb->lists = NULL;
 1514|    140|    cb->listlen = NULL;
 1515|    140|    cb->nlists = cb->listcap = 0;
 1516|       |
 1517|    140|    putconst(cb, expr); /* insert expression as first constant */
 1518|    140|}
bccompile.c:codebuf_code:
 1564|    140|{
 1565|    140|    patch_labels(cb, cntxt);
 1566|    140|    if (cb->exprTracking)
  ------------------
  |  Branch (1566:9): [True: 140, False: 0]
  ------------------
 1567|    140|	commit_index(cb, cb->exprbuf, "expressionsIndex");
 1568|    140|    if (cb->srcrefTracking)
  ------------------
  |  Branch (1568:9): [True: 0, False: 140]
  ------------------
 1569|      0|	commit_index(cb, cb->srcrefbuf, "srcrefsIndex");
 1570|       |
 1571|    140|    SEXP bytes = PROTECT(Rf_allocVector(INTSXP, cb->ncode));
  ------------------
  |  |  357|    140|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1572|    140|    memcpy(INTEGER(bytes), cb->code, cb->ncode * sizeof(int));
 1573|    140|    SEXP consts = PROTECT(Rf_allocVector(VECSXP, cb->nconst));
  ------------------
  |  |  357|    140|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1574|  1.15k|    for (int i = 0; i < cb->nconst; i++)
  ------------------
  |  Branch (1574:21): [True: 1.01k, False: 140]
  ------------------
 1575|  1.01k|	SET_VECTOR_ELT(consts, i, VECTOR_ELT(cb->consts, i));
 1576|    140|    SEXP ans = bc_mkcode(bytes, consts);
 1577|    140|    UNPROTECT(3); /* bytes, consts, cb->consts */
  ------------------
  |  |  358|    140|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1578|    140|    return ans;
 1579|    140|}
bccompile.c:patch_labels:
 1522|    140|{
 1523|  2.32k|    for (int i = 1; i < cb->ncode; i++) {
  ------------------
  |  Branch (1523:21): [True: 2.18k, False: 140]
  ------------------
 1524|  2.18k|	if (cb->kind[i] == WK_LABEL) {
  ------------------
  |  | 1030|  2.18k|#define WK_LABEL 1
  ------------------
  |  Branch (1524:6): [True: 81, False: 2.10k]
  ------------------
 1525|     81|	    int pos = cb->labelpos[cb->code[i]];
 1526|     81|	    if (pos < 0)
  ------------------
  |  Branch (1526:10): [True: 0, False: 81]
  ------------------
 1527|      0|		Rf_errorcall(cntxt->call,
 1528|      0|			     _("no offset recorded for label \"L%d\""),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1529|      0|			     cb->code[i] + 1);
 1530|     81|	    cb->code[i] = pos;
 1531|     81|	}
 1532|  2.10k|	else if (cb->kind[i] == WK_LABELLIST) {
  ------------------
  |  | 1031|  2.10k|#define WK_LABELLIST 2
  ------------------
  |  Branch (1532:11): [True: 0, False: 2.10k]
  ------------------
 1533|      0|	    int li = cb->code[i];
 1534|      0|	    int n = cb->listlen[li];
 1535|      0|	    SEXP off = PROTECT(Rf_allocVector(INTSXP, n));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1536|      0|	    for (int j = 0; j < n; j++) {
  ------------------
  |  Branch (1536:22): [True: 0, False: 0]
  ------------------
 1537|      0|		int pos = cb->labelpos[cb->lists[li][j]];
 1538|      0|		if (pos < 0)
  ------------------
  |  Branch (1538:7): [True: 0, False: 0]
  ------------------
 1539|      0|		    Rf_errorcall(cntxt->call,
 1540|      0|				 _("no offset recorded for label \"L%d\""),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1541|      0|				 cb->lists[li][j] + 1);
 1542|      0|		INTEGER(off)[j] = pos;
 1543|      0|	    }
 1544|      0|	    cb->code[i] = putconst(cb, off);
 1545|      0|	    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1546|      0|	}
 1547|  2.18k|	cb->kind[i] = WK_INT;
  ------------------
  |  | 1029|  2.18k|#define WK_INT 0
  ------------------
 1548|  2.18k|    }
 1549|    140|}
bccompile.c:commit_index:
 1552|    140|{
 1553|    140|    SEXP idx = PROTECT(Rf_allocVector(INTSXP, cb->ncode));
  ------------------
  |  |  357|    140|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1554|    140|    memcpy(INTEGER(idx), buf, cb->ncode * sizeof(int));
 1555|    140|    SEXP klass = PROTECT(Rf_mkString(cls));
  ------------------
  |  |  357|    140|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1556|    140|    Rf_setAttrib(idx, R_ClassSymbol, klass);
 1557|    140|    putconst(cb, idx);
 1558|    140|    UNPROTECT(2);
  ------------------
  |  |  358|    140|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1559|    140|}
bccompile.c:bc_mkcode:
  190|    140|{
  191|    140|    SEXP ans = PROTECT(CONS(R_bcEncode(bytes), consts));
  ------------------
  |  |  357|    140|#define PROTECT(s)	Rf_protect(s)
  ------------------
  192|    140|    SET_TYPEOF(ans, BCODESXP);
  ------------------
  |  |  133|    140|#define BCODESXP    21    /* byte code */
  ------------------
  193|    140|    R_registerBC(bytes, ans);
  194|    140|    UNPROTECT(1);
  ------------------
  |  |  358|    140|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  195|    140|    return ans;
  196|    140|}
bccompile.c:make_function_context:
  830|     17|{
  831|     17|    Cntxt fcntxt = *cntxt;
  832|     17|    fcntxt.env = add_cenv_frame(cntxt->env);
  833|       |    /* a function literal built by code may have anything as its
  834|       |       formals (names(forms) and c(forms, body) in the R compiler) */
  835|     17|    int nforms;
  836|     17|    if (TYPEOF(forms) == LISTSXP || TYPEOF(forms) == LANGSXP) {
  ------------------
  |  |  113|     34|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
                  if (TYPEOF(forms) == LISTSXP || TYPEOF(forms) == LANGSXP) {
  ------------------
  |  |  117|      0|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (836:9): [True: 17, False: 0]
  |  Branch (836:37): [True: 0, False: 0]
  ------------------
  837|     17|	nforms = lang_length(forms);
  838|     34|	for (SEXP f = forms; f != R_NilValue; f = CDR(f))
  ------------------
  |  Branch (838:23): [True: 17, False: 17]
  ------------------
  839|     17|	    if (TAG(f) != R_NilValue)
  ------------------
  |  Branch (839:10): [True: 17, False: 0]
  ------------------
  840|     17|		add_cenv_var(fcntxt.env, TAG(f));
  841|     17|    }
  842|      0|    else if (TYPEOF(forms) == VECSXP) {
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (842:14): [True: 0, False: 0]
  ------------------
  843|      0|	nforms = (int) XLENGTH(forms);
  844|      0|	SEXP names = Rf_getAttrib(forms, R_NamesSymbol);
  845|      0|	if (TYPEOF(names) == STRSXP)
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (845:6): [True: 0, False: 0]
  ------------------
  846|      0|	    for (int i = 0; i < nforms; i++)
  ------------------
  |  Branch (846:22): [True: 0, False: 0]
  ------------------
  847|      0|		if (CHAR(STRING_ELT(names, i))[0] != '\0')
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (847:7): [True: 0, False: 0]
  ------------------
  848|      0|		    add_cenv_var(fcntxt.env,
  849|      0|				 Rf_installTrChar(STRING_ELT(names, i)));
  850|      0|    }
  851|      0|    else
  852|      0|	nforms = 0;
  853|       |
  854|       |    /* findLocalsList(c(forms, body), cntxt) */
  855|     17|    int n = nforms + 1;
  856|     17|    SEXP *elist = (SEXP *) R_alloc(n, sizeof(SEXP));
  857|     17|    int i = 0;
  858|     17|    if (TYPEOF(forms) == LISTSXP || TYPEOF(forms) == LANGSXP)
  ------------------
  |  |  113|     34|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
                  if (TYPEOF(forms) == LISTSXP || TYPEOF(forms) == LANGSXP)
  ------------------
  |  |  117|      0|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (858:9): [True: 17, False: 0]
  |  Branch (858:37): [True: 0, False: 0]
  ------------------
  859|     34|	for (SEXP f = forms; f != R_NilValue; f = CDR(f))
  ------------------
  |  Branch (859:23): [True: 17, False: 17]
  ------------------
  860|     17|	    elist[i++] = CAR(f);
  861|      0|    else if (TYPEOF(forms) == VECSXP)
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (861:14): [True: 0, False: 0]
  ------------------
  862|      0|	for (; i < nforms; i++)
  ------------------
  |  Branch (862:9): [True: 0, False: 0]
  ------------------
  863|      0|	    elist[i] = VECTOR_ELT(forms, i);
  864|     17|    elist[i] = body;
  865|     17|    find_locals_list(elist, n, &fcntxt, &fcntxt.env->vars);
  866|       |
  867|     17|    Cntxt ncntxt = make_toplevel_context(fcntxt.env, R_NilValue);
  868|     17|    ncntxt.optimize = cntxt->optimize;
  869|     17|    ncntxt.suppressAll = cntxt->suppressAll;
  870|     17|    ncntxt.suppressNoSuperAssignVar = cntxt->suppressNoSuperAssignVar;
  871|     17|    ncntxt.suppressUndefined = cntxt->suppressUndefined;
  872|     17|    return ncntxt;
  873|     17|}
bccompile.c:add_cenv_frame:
  479|     17|{
  480|     17|    CEnv *cenv = (CEnv *) R_alloc(1, sizeof(CEnv));
  481|     17|    cenv->parent = parent;
  482|     17|    symset_init(&cenv->vars);
  483|       |    cenv->env = NULL;
  484|     17|    cenv->nl = cenv->nn = cenv->ng = 0;
  485|     17|    return cenv;
  486|     17|}
bccompile.c:add_cenv_var:
  489|     17|{
  490|     17|    symset_add(&cenv->vars, sym);
  491|     17|}
bccompile.c:expr_srcref:
 1013|     17|{
 1014|     17|    return extract_srcref(srcref_attr(e), 1);
 1015|     17|}
bccompile.c:try_cmpfun_body:
 4734|     17|{
 4735|     17|    TryData *td = (TryData *) data;
 4736|     17|    return R_bcCmpfun(td->fun, R_NilValue);
 4737|     17|}

Rf_ItemName:
  571|  4.20M|{
  572|       |  /* return  names[i]  if it is a character (>= 1 char), or NULL otherwise */
  573|  4.20M|    if (names != R_NilValue &&
  ------------------
  |  Branch (573:9): [True: 4.20M, False: 5.12k]
  ------------------
  574|  4.20M|	STRING_ELT(names, i) != R_NilValue &&
  ------------------
  |  Branch (574:2): [True: 4.20M, False: 0]
  ------------------
  575|  4.20M|	CHAR(STRING_ELT(names, i))[0] != '\0') /* length test */
  ------------------
  |  |  203|  4.20M|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (575:2): [True: 4.20M, False: 28]
  ------------------
  576|  4.20M|	return STRING_ELT(names, i);
  577|  5.15k|    else
  578|  5.15k|	return R_NilValue;
  579|  4.20M|}
do_c:
  778|  2.10M|{
  779|  2.10M|    SEXP ans;
  780|       |
  781|  2.10M|    checkArity(op, args);
  ------------------
  |  | 1793|  2.10M|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  782|       |
  783|       |    /* Remove any NULL elements before dispatch so
  784|       |       they never influence the method implementation. */
  785|  2.10M|    args = R_listCompact(args, /* keep_first */ TRUE);
  786|       |
  787|       |    /* Attempt method dispatch. */
  788|       |
  789|       |    /* DispatchOrEval internal generic: c */
  790|  2.10M|    if (DispatchAnyOrEval(call, op, "c", args, env, &ans, 1, 1))
  ------------------
  |  | 1893|  2.10M|# define DispatchAnyOrEval      Rf_DispatchAnyOrEval
  ------------------
  |  Branch (790:9): [True: 0, False: 2.10M]
  ------------------
  791|       |	//      ^^^ "Any" => all args are eval()ed and checked => correct multi-arg dispatch
  792|      0|	return(ans);
  793|  2.10M|    PROTECT(ans);
  ------------------
  |  |  357|  2.10M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  794|  2.10M|    SEXP res = do_c_dflt(call, op, ans, env);
  795|  2.10M|    UNPROTECT(1);
  ------------------
  |  |  358|  2.10M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  796|  2.10M|    return res;
  797|  2.10M|}
do_c_dflt:
  800|  2.10M|{
  801|       |    /* Method dispatch has failed; run the default code. */
  802|       |    /* By default we do not recurse, but this can be over-ridden */
  803|       |    /* by an optional "recursive" argument. */
  804|       |
  805|  2.10M|    bool
  806|  2.10M|	usenames = true,
  807|  2.10M|	recurse = false;
  808|       |    /* this was only done for length(args) > 1 prior to 1.5.0,
  809|       |       _but_ `recursive' might be the only argument */
  810|  2.10M|    PROTECT(args = c_Extract_opt(args, &recurse, &usenames, call));
  ------------------
  |  |  357|  2.10M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  811|       |
  812|       |    /* Determine the type of the returned value. */
  813|       |    /* The strategy here is appropriate because the */
  814|       |    /* object being operated on is a pair based list. */
  815|       |
  816|  2.10M|    struct BindData data;
  817|       |/*    data.deparse_level = 1;  Initialize this early. */
  818|  2.10M|    data.ans_flags  = 0;
  819|  2.10M|    data.ans_length = 0;
  820|  2.10M|    data.ans_nnames = 0;
  821|       |
  822|  2.10M|    SEXP t, ans;
  823|  6.31M|    for (t = args; t != R_NilValue; t = CDR(t)) {
  ------------------
  |  Branch (823:20): [True: 4.21M, False: 2.10M]
  ------------------
  824|  4.21M|	if (usenames && !data.ans_nnames) {
  ------------------
  |  Branch (824:6): [True: 4.21M, False: 0]
  |  Branch (824:18): [True: 2.11M, False: 2.10M]
  ------------------
  825|  2.11M|	    if (!isNull(TAG(t))) data.ans_nnames = 1;
  ------------------
  |  |  956|  2.11M|#define isNull			Rf_isNull
  ------------------
  |  Branch (825:10): [True: 14, False: 2.11M]
  ------------------
  826|  2.11M|	    else data.ans_nnames = HasNames(CAR(t));
  827|  2.11M|	}
  828|  4.21M|	AnswerType(CAR(t), recurse, usenames, &data, call);
  829|  4.21M|    }
  830|       |
  831|       |    /* If a non-vector argument was encountered (perhaps a list if */
  832|       |    /* recursive is FALSE) then we must return a list.	Otherwise, */
  833|       |    /* we use the natural coercion for vector types. */
  834|       |
  835|  2.10M|    int mode = NILSXP;
  ------------------
  |  |  111|  2.10M|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  836|  2.10M|    if      (data.ans_flags & 512) mode = EXPRSXP;
  ------------------
  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (836:14): [True: 0, False: 2.10M]
  ------------------
  837|  2.10M|    else if (data.ans_flags & 256) mode = VECSXP;
  ------------------
  |  |  131|  2.09M|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (837:14): [True: 2.09M, False: 6.26k]
  ------------------
  838|  6.26k|    else if (data.ans_flags & 128) mode = STRSXP;
  ------------------
  |  |  126|  4.19k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (838:14): [True: 4.19k, False: 2.07k]
  ------------------
  839|  2.07k|    else if (data.ans_flags &  64) mode = CPLXSXP;
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (839:14): [True: 0, False: 2.07k]
  ------------------
  840|  2.07k|    else if (data.ans_flags &  32) mode = REALSXP;
  ------------------
  |  |  124|  1.80k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (840:14): [True: 1.80k, False: 265]
  ------------------
  841|    265|    else if (data.ans_flags &  16) mode = INTSXP;
  ------------------
  |  |  123|    257|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (841:14): [True: 257, False: 8]
  ------------------
  842|      8|    else if (data.ans_flags &	2) mode = LGLSXP;
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (842:14): [True: 0, False: 8]
  ------------------
  843|      8|    else if (data.ans_flags &	1) mode = RAWSXP;
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (843:14): [True: 0, False: 8]
  ------------------
  844|       |
  845|       |    /* Allocate the return value and set up to pass through */
  846|       |    /* the arguments filling in values of the returned object. */
  847|       |
  848|  2.10M|    PROTECT(ans = allocVector(mode, data.ans_length));
  ------------------
  |  |  357|  2.10M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  849|  2.10M|    data.ans_ptr = ans;
  850|  2.10M|    data.ans_length = 0;
  851|  2.10M|    t = args;
  852|       |
  853|  2.10M|    if (mode == VECSXP || mode == EXPRSXP) {
  ------------------
  |  |  131|  4.21M|#define VECSXP	    19	  /* generic vectors */
  ------------------
                  if (mode == VECSXP || mode == EXPRSXP) {
  ------------------
  |  |  132|  6.26k|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (853:9): [True: 2.09M, False: 6.26k]
  |  Branch (853:27): [True: 0, False: 6.26k]
  ------------------
  854|  2.09M|	if (!recurse) {
  ------------------
  |  Branch (854:6): [True: 2.09M, False: 0]
  ------------------
  855|  6.29M|	    while (args != R_NilValue) {
  ------------------
  |  Branch (855:13): [True: 4.19M, False: 2.09M]
  ------------------
  856|  4.19M|		ListAnswer(CAR(args), 0, &data, call);
  857|  4.19M|		args = CDR(args);
  858|  4.19M|	    }
  859|  2.09M|	}
  860|      0|	else ListAnswer(args, recurse, &data, call);
  861|  2.09M|	data.ans_length = xlength(ans);
  ------------------
  |  | 1049|  2.09M|#define xlength(x)		Rf_xlength(x)
  ------------------
  862|  2.09M|    }
  863|  6.26k|    else if (mode == STRSXP)
  ------------------
  |  |  126|  6.26k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (863:14): [True: 4.19k, False: 2.07k]
  ------------------
  864|  4.19k|	StringAnswer(args, &data, call);
  865|  2.07k|    else if (mode == CPLXSXP)
  ------------------
  |  |  125|  2.07k|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (865:14): [True: 0, False: 2.07k]
  ------------------
  866|      0|	ComplexAnswer(args, &data, call);
  867|  2.07k|    else if (mode == REALSXP)
  ------------------
  |  |  124|  2.07k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (867:14): [True: 1.80k, False: 265]
  ------------------
  868|  1.80k|	RealAnswer(args, &data, call);
  869|    265|    else if (mode == RAWSXP)
  ------------------
  |  |  136|    265|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (869:14): [True: 0, False: 265]
  ------------------
  870|      0|	RawAnswer(args, &data, call);
  871|    265|    else if (mode == LGLSXP)
  ------------------
  |  |  121|    265|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (871:14): [True: 0, False: 265]
  ------------------
  872|      0|	LogicalAnswer(args, &data, call);
  873|    265|    else /* integer */
  874|    265|	IntegerAnswer(args, &data, call);
  875|  2.10M|    args = t;
  876|       |
  877|       |    /* Build and attach the names attribute for the returned object. */
  878|       |
  879|  2.10M|    if (data.ans_nnames && data.ans_length > 0) {
  ------------------
  |  Branch (879:9): [True: 2.09M, False: 5.31k]
  |  Branch (879:28): [True: 2.09M, False: 0]
  ------------------
  880|  2.09M|	PROTECT(data.ans_names = allocVector(STRSXP, data.ans_length));
  ------------------
  |  |  357|  2.09M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  881|  2.09M|	data.ans_nnames = 0;
  882|  6.30M|	while (args != R_NilValue) {
  ------------------
  |  Branch (882:9): [True: 4.20M, False: 2.09M]
  ------------------
  883|  4.20M|	    struct NameData nameData;
  884|  4.20M|	    nameData.seqno = 0;
  885|  4.20M|	    nameData.count = 0;
  886|  4.20M|	    NewExtractNames(CAR(args), R_NilValue, TAG(args), recurse, &data, &nameData);
  887|  4.20M|	    args = CDR(args);
  888|  4.20M|	}
  889|  2.09M|	setAttrib(ans, R_NamesSymbol, data.ans_names);
  ------------------
  |  | 1027|  2.09M|#define setAttrib		Rf_setAttrib
  ------------------
  890|  2.09M|	UNPROTECT(1);
  ------------------
  |  |  358|  2.09M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  891|  2.09M|    }
  892|  2.10M|    UNPROTECT(2);
  ------------------
  |  |  358|  2.10M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  893|  2.10M|    R_FreeStringBufferL(&cbuff);
  894|  2.10M|    return ans;
  895|  2.10M|} /* do_c */
do_unlist:
  899|    850|{
  900|    850|    SEXP ans, t;
  901|    850|    R_xlen_t i, n = 0;
  902|    850|    struct BindData data;
  903|       |
  904|       |/*    data.deparse_level = 1; */
  905|    850|    checkArity(op, args);
  ------------------
  |  | 1793|    850|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  906|       |
  907|       |    /* Attempt method dispatch. */
  908|       |
  909|       |    /* DispatchOrEval internal generic: unlist */
  910|    850|    if (DispatchOrEval(call, op, "unlist", args, env, &ans, 0, 1))
  ------------------
  |  | 1892|    850|# define DispatchOrEval		Rf_DispatchOrEval
  ------------------
  |  Branch (910:9): [True: 0, False: 850]
  ------------------
  911|      0|	return(ans);
  912|       |
  913|       |    /* Method dispatch has failed; run the default code. */
  914|       |    /* By default we recurse, but this can be over-ridden */
  915|       |    /* by an optional "recursive" argument. */
  916|       |
  917|    850|    PROTECT(args = CAR(ans));
  ------------------
  |  |  357|    850|#define PROTECT(s)	Rf_protect(s)
  ------------------
  918|    850|    bool recurse = asBool2(CADR(ans), call);
  ------------------
  |  | 1865|    850|# define asBool2	       	Rf_asBool2
  ------------------
  919|    850|    bool usenames = asBool2(CADDR(ans), call);
  ------------------
  |  | 1865|    850|# define asBool2	       	Rf_asBool2
  ------------------
  920|    850|    bool lenient = true; // was (implicitly!) FALSE  up to R 3.0.1
  921|       |
  922|       |    /* Determine the type of the returned value. */
  923|       |    /* The strategy here is appropriate because the */
  924|       |    /* object being operated on is a generic vector. */
  925|       |
  926|    850|    data.ans_flags  = 0;
  927|    850|    data.ans_length = 0;
  928|    850|    data.ans_nnames = 0;
  929|       |
  930|    850|    if (isNewList(args)) {
  ------------------
  |  |  955|    850|#define isNewList		Rf_isNewList
  ------------------
  |  Branch (930:9): [True: 850, False: 0]
  ------------------
  931|    850|	n = xlength(args);
  ------------------
  |  | 1049|    850|#define xlength(x)		Rf_xlength(x)
  ------------------
  932|    850|	if (usenames && getAttrib(args, R_NamesSymbol) != R_NilValue)
  ------------------
  |  |  924|    850|#define getAttrib		Rf_getAttrib
  ------------------
  |  Branch (932:6): [True: 850, False: 0]
  |  Branch (932:18): [True: 110, False: 740]
  ------------------
  933|    110|	    data.ans_nnames = 1;
  934|  5.47k|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (934:14): [True: 4.62k, False: 850]
  ------------------
  935|  4.62k|	    if (usenames && !data.ans_nnames)
  ------------------
  |  Branch (935:10): [True: 4.62k, False: 0]
  |  Branch (935:22): [True: 740, False: 3.88k]
  ------------------
  936|    740|		data.ans_nnames = HasNames(VECTOR_ELT(args, i));
  937|  4.62k|	    AnswerType(VECTOR_ELT(args, i), recurse, usenames, &data, call);
  938|  4.62k|	}
  939|    850|    }
  940|      0|    else if (isList(args)) {
  ------------------
  |  |  951|      0|#define isList			Rf_isList
  ------------------
  |  Branch (940:14): [True: 0, False: 0]
  ------------------
  941|      0|	for (t = args; t != R_NilValue; t = CDR(t)) {
  ------------------
  |  Branch (941:17): [True: 0, False: 0]
  ------------------
  942|      0|	    if (usenames && !data.ans_nnames) {
  ------------------
  |  Branch (942:10): [True: 0, False: 0]
  |  Branch (942:22): [True: 0, False: 0]
  ------------------
  943|      0|		if (!isNull(TAG(t))) data.ans_nnames = 1;
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
  |  Branch (943:7): [True: 0, False: 0]
  ------------------
  944|      0|		else data.ans_nnames = HasNames(CAR(t));
  945|      0|	    }
  946|      0|	    AnswerType(CAR(t), recurse, usenames, &data, call);
  947|      0|	}
  948|      0|    }
  949|      0|    else {
  950|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  951|      0|	if (lenient || isVector(args)) return args;
  ------------------
  |  |  974|      0|#define isVector		Rf_isVector
  ------------------
  |  Branch (951:6): [True: 0, False: 0]
  |  Branch (951:17): [True: 0, False: 0]
  ------------------
  952|      0|	else error(_("argument not a list"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	else error(_("argument not a list"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  953|      0|    }
  954|       |
  955|       |    /* If a non-vector argument was encountered (perhaps a list if */
  956|       |    /* recursive is FALSE) then we must return a list.  Otherwise, */
  957|       |    /* we use the natural coercion for vector types. */
  958|       |
  959|    850|    int mode = NILSXP;
  ------------------
  |  |  111|    850|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  960|    850|    if      (data.ans_flags & 512) mode = EXPRSXP;
  ------------------
  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (960:14): [True: 0, False: 850]
  ------------------
  961|    850|    else if (data.ans_flags & 256) mode = VECSXP;
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (961:14): [True: 0, False: 850]
  ------------------
  962|    850|    else if (data.ans_flags & 128) mode = STRSXP;
  ------------------
  |  |  126|    792|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (962:14): [True: 792, False: 58]
  ------------------
  963|     58|    else if (data.ans_flags &  64) mode = CPLXSXP;
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (963:14): [True: 0, False: 58]
  ------------------
  964|     58|    else if (data.ans_flags &  32) mode = REALSXP;
  ------------------
  |  |  124|     52|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (964:14): [True: 52, False: 6]
  ------------------
  965|      6|    else if (data.ans_flags &  16) mode = INTSXP;
  ------------------
  |  |  123|      4|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (965:14): [True: 4, False: 2]
  ------------------
  966|      2|    else if (data.ans_flags &	2) mode = LGLSXP;
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (966:14): [True: 0, False: 2]
  ------------------
  967|      2|    else if (data.ans_flags &	1) mode = RAWSXP;
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (967:14): [True: 0, False: 2]
  ------------------
  968|       |
  969|       |    /* Allocate the return value and set up to pass through */
  970|       |    /* the arguments filling in values of the returned object. */
  971|       |
  972|    850|    PROTECT(ans = allocVector(mode, data.ans_length));
  ------------------
  |  |  357|    850|#define PROTECT(s)	Rf_protect(s)
  ------------------
  973|    850|    data.ans_ptr = ans;
  974|    850|    data.ans_length = 0;
  975|    850|    t = args;
  976|       |
  977|    850|    if (mode == VECSXP || mode == EXPRSXP) {
  ------------------
  |  |  131|  1.70k|#define VECSXP	    19	  /* generic vectors */
  ------------------
                  if (mode == VECSXP || mode == EXPRSXP) {
  ------------------
  |  |  132|    850|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (977:9): [True: 0, False: 850]
  |  Branch (977:27): [True: 0, False: 850]
  ------------------
  978|      0|	if (!recurse) {
  ------------------
  |  Branch (978:6): [True: 0, False: 0]
  ------------------
  979|      0|	    if (TYPEOF(args) == VECSXP)
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (979:10): [True: 0, False: 0]
  ------------------
  980|      0|		for (i = 0; i < n; i++)
  ------------------
  |  Branch (980:15): [True: 0, False: 0]
  ------------------
  981|      0|		    ListAnswer(VECTOR_ELT(args, i), 0, &data, call);
  982|      0|	    else if (TYPEOF(args) == LISTSXP)
  ------------------
  |  |  113|      0|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (982:15): [True: 0, False: 0]
  ------------------
  983|      0|		for ( ; args != R_NilValue; args = CDR(args))
  ------------------
  |  Branch (983:11): [True: 0, False: 0]
  ------------------
  984|      0|		    ListAnswer(CAR(args), 0, &data, call);
  985|      0|	}
  986|      0|	else ListAnswer(args, recurse, &data, call);
  987|      0|	data.ans_length = xlength(ans);
  ------------------
  |  | 1049|      0|#define xlength(x)		Rf_xlength(x)
  ------------------
  988|      0|    }
  989|    850|    else if (mode == STRSXP)
  ------------------
  |  |  126|    850|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (989:14): [True: 792, False: 58]
  ------------------
  990|    792|	StringAnswer(args, &data, call);
  991|     58|    else if (mode == CPLXSXP)
  ------------------
  |  |  125|     58|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (991:14): [True: 0, False: 58]
  ------------------
  992|      0|	ComplexAnswer(args, &data, call);
  993|     58|    else if (mode == REALSXP)
  ------------------
  |  |  124|     58|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (993:14): [True: 52, False: 6]
  ------------------
  994|     52|	RealAnswer(args, &data, call);
  995|      6|    else if (mode == RAWSXP)
  ------------------
  |  |  136|      6|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (995:14): [True: 0, False: 6]
  ------------------
  996|      0|	RawAnswer(args, &data, call);
  997|      6|    else if (mode == LGLSXP)
  ------------------
  |  |  121|      6|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (997:14): [True: 0, False: 6]
  ------------------
  998|      0|	LogicalAnswer(args, &data, call);
  999|      6|    else /* integer */
 1000|      6|	IntegerAnswer(args, &data, call);
 1001|    850|    args = t;
 1002|       |
 1003|       |    /* Build and attach the names attribute for the returned object. */
 1004|       |
 1005|    850|    if (data.ans_nnames && data.ans_length > 0) {
  ------------------
  |  Branch (1005:9): [True: 110, False: 740]
  |  Branch (1005:28): [True: 108, False: 2]
  ------------------
 1006|    108|	struct NameData nameData;
 1007|    108|	PROTECT(data.ans_names = allocVector(STRSXP, data.ans_length));
  ------------------
  |  |  357|    108|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1008|    108|	if (!recurse) {
  ------------------
  |  Branch (1008:6): [True: 26, False: 82]
  ------------------
 1009|     26|	    if (TYPEOF(args) == VECSXP) {
  ------------------
  |  |  131|     26|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (1009:10): [True: 26, False: 0]
  ------------------
 1010|     26|		SEXP names = getAttrib(args, R_NamesSymbol);
  ------------------
  |  |  924|     26|#define getAttrib		Rf_getAttrib
  ------------------
 1011|     26|		data.ans_nnames = 0;
 1012|     26|		nameData.seqno = 0;
 1013|     26|		nameData.count = 0;
 1014|  3.10k|		for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1014:15): [True: 3.07k, False: 26]
  ------------------
 1015|  3.07k|		    NewExtractNames(VECTOR_ELT(args, i), R_NilValue,
 1016|  3.07k|				    ItemName(names, i), recurse, &data, &nameData);
  ------------------
  |  | 1937|  3.07k|# define ItemName		Rf_ItemName
  ------------------
 1017|  3.07k|		}
 1018|     26|	    }
 1019|      0|	    else if (TYPEOF(args) == LISTSXP) {
  ------------------
  |  |  113|      0|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (1019:15): [True: 0, False: 0]
  ------------------
 1020|      0|		data.ans_nnames = 0;
 1021|      0|		nameData.seqno = 0;
 1022|      0|		nameData.count = 0;
 1023|      0|		while (args != R_NilValue) {
  ------------------
  |  Branch (1023:10): [True: 0, False: 0]
  ------------------
 1024|      0|		    NewExtractNames(CAR(args), R_NilValue,
 1025|      0|				    TAG(args), recurse, &data, &nameData);
 1026|      0|		    args = CDR(args);
 1027|      0|		}
 1028|      0|	    }
 1029|     26|	}
 1030|     82|	else {
 1031|     82|	    data.ans_nnames = 0;
 1032|     82|	    nameData.seqno = 0;
 1033|     82|	    nameData.count = 0;
 1034|     82|	    NewExtractNames(args, R_NilValue, R_NilValue, recurse, &data, &nameData);
 1035|     82|	}
 1036|    108|	setAttrib(ans, R_NamesSymbol, data.ans_names);
  ------------------
  |  | 1027|    108|#define setAttrib		Rf_setAttrib
  ------------------
 1037|    108|	UNPROTECT(1);
  ------------------
  |  |  358|    108|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1038|    108|    }
 1039|    850|    UNPROTECT(2);
  ------------------
  |  |  358|    850|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1040|    850|    R_FreeStringBufferL(&cbuff);
 1041|    850|    return ans;
 1042|    850|} /* do_unlist */
do_bind:
 1048|  2.48k|{
 1049|       |    // missing(deparse.level) :
 1050|  2.48k|    bool missingDL = (isSymbol(CAR(args)) && R_missing(CAR(args), env));
  ------------------
  |  |  953|  2.48k|#define isSymbol		Rf_isSymbol
  ------------------
  |  Branch (1050:23): [True: 2.48k, False: 0]
  |  Branch (1050:46): [True: 2.48k, False: 0]
  ------------------
 1051|       |    /* since R 2.2.0: first argument "deparse.level" */
 1052|  2.48k|    int deparse_level = asInteger(eval(CAR(args), env));
  ------------------
  |  |  885|  2.48k|#define asInteger		Rf_asInteger
  ------------------
                  int deparse_level = asInteger(eval(CAR(args), env));
  ------------------
  |  |  913|  2.48k|#define eval			Rf_eval
  ------------------
 1053|  2.48k|    bool tryS4 = deparse_level >= 0;
 1054|       |    /* NB: negative deparse_level should otherwise be equivalent to deparse_level == 0,
 1055|       |     * --  as cbind(), rbind() below only check for '== 1' and '== 2'
 1056|       |     * {FIXME: methods should do same} */
 1057|       |
 1058|       |    /* Lazy evaluation and method dispatch based on argument types are
 1059|       |     * fundamentally incompatible notions.  The results here are
 1060|       |     * ghastly.
 1061|       |     *
 1062|       |     * We build promises to evaluate the arguments and then force the
 1063|       |     * promises so that if we dispatch to a closure below, the closure
 1064|       |     * is still in a position to use "substitute" to get the actual
 1065|       |     * expressions which generated the argument (for naming purposes).
 1066|       |     *
 1067|       |     * The dispatch rule here is as follows:
 1068|       |     *
 1069|       |     * 1) For each argument we get the list of possible class
 1070|       |     *	  memberships from the class attribute.
 1071|       |     *
 1072|       |     * 2) We inspect each class in turn to see if there is an
 1073|       |     *	  applicable method.
 1074|       |     *
 1075|       |     * 3) If we find a method, we use it.  Otherwise, if there was an S4
 1076|       |     *    object among the arguments, we try S4 dispatch; otherwise, we
 1077|       |     *    use the default code.
 1078|       |     *
 1079|       |     * In versions of R up to 3.6.x, we used the following rule instead:
 1080|       |     *
 1081|       |     * 3) If we find an applicable method we make sure that it is
 1082|       |     *	  identical to any method determined for prior arguments.
 1083|       |     *	  If it is identical, we proceed, otherwise we immediately
 1084|       |     *	  drop through to the default code.
 1085|       |     */
 1086|       |
 1087|  2.48k|    PROTECT(args = promiseArgs(args, env));
  ------------------
  |  |  357|  2.48k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1088|       |
 1089|  2.48k|    const char *generic = ((PRIMVAL(op) == 1) ? "cbind" : "rbind");
  ------------------
  |  | 1347|  2.48k|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (1089:28): [True: 1.40k, False: 1.08k]
  ------------------
 1090|  2.48k|    SEXP method = R_NilValue, a;
 1091|  2.48k|    bool anyS4 = false;
 1092|  2.48k|    char buf[512];
 1093|       |
 1094|  10.1k|    for (a = CDR(args); a != R_NilValue && method == R_NilValue; a = CDR(a)) {
  ------------------
  |  Branch (1094:25): [True: 7.66k, False: 2.48k]
  |  Branch (1094:44): [True: 7.66k, False: 0]
  ------------------
 1095|  7.66k|	SEXP obj = PROTECT(eval(CAR(a), env));
  ------------------
  |  |  357|  7.66k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1096|  7.66k|	if (tryS4 && !anyS4 && isS4(obj)) anyS4 = true;
  ------------------
  |  |  964|  7.66k|#define isS4			Rf_isS4
  ------------------
  |  Branch (1096:6): [True: 7.66k, False: 0]
  |  Branch (1096:15): [True: 7.66k, False: 0]
  |  Branch (1096:25): [True: 0, False: 7.66k]
  ------------------
 1097|  7.66k|	if (isObject(obj)) {
  ------------------
  |  |  959|  7.66k|#define isObject		Rf_isObject
  ------------------
  |  Branch (1097:6): [True: 0, False: 7.66k]
  ------------------
 1098|      0|	    SEXP classlist = PROTECT(R_data_class2(obj));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1099|      0|	    for (int i = 0; i < length(classlist); i++) {
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1099:22): [True: 0, False: 0]
  ------------------
 1100|      0|		const char *s = translateChar(STRING_ELT(classlist, i));
  ------------------
  |  | 1037|      0|#define translateChar		Rf_translateChar
  ------------------
 1101|      0|		if(strlen(generic) + strlen(s) + 2 > 512)
  ------------------
  |  Branch (1101:6): [True: 0, False: 0]
  ------------------
 1102|      0|		    error(_("class name too long in '%s'"), generic);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("class name too long in '%s'"), generic);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1103|      0|		snprintf(buf, 512, "%s.%s", generic, s);
 1104|      0|		SEXP classmethod = R_LookupMethod(install(buf), env, env,
  ------------------
  |  |  934|      0|#define install			Rf_install
  ------------------
 1105|      0|						  R_BaseNamespace);
 1106|      0|		if (classmethod != R_UnboundValue) {
  ------------------
  |  Branch (1106:7): [True: 0, False: 0]
  ------------------
 1107|      0|		    method = classmethod;
 1108|      0|		    break;
 1109|      0|		}
 1110|      0|	    }
 1111|      0|	    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1112|      0|	}
 1113|  7.66k|	UNPROTECT(1);
  ------------------
  |  |  358|  7.66k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1114|  7.66k|    }
 1115|       |
 1116|  2.48k|    tryS4 = anyS4 && (method == R_NilValue);
  ------------------
  |  Branch (1116:13): [True: 0, False: 2.48k]
  |  Branch (1116:22): [True: 0, False: 0]
  ------------------
 1117|  2.48k|    if (tryS4) {
  ------------------
  |  Branch (1117:9): [True: 0, False: 2.48k]
  ------------------
 1118|       |	/* use methods:::cbind / rbind */
 1119|      0|	method = findFun(install(generic), R_MethodsNamespace);
  ------------------
  |  |  915|      0|#define findFun			Rf_findFun
  ------------------
              	method = findFun(install(generic), R_MethodsNamespace);
  ------------------
  |  |  934|      0|#define install			Rf_install
  ------------------
 1120|      0|    }
 1121|  2.48k|    if (method != R_NilValue) { // found an S3 or S4 method
  ------------------
  |  Branch (1121:9): [True: 0, False: 2.48k]
  ------------------
 1122|      0|	PROTECT(method);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1123|      0|	if (missingDL)
  ------------------
  |  Branch (1123:6): [True: 0, False: 0]
  ------------------
 1124|      0|	    args = CDR(args); /* discard 'deparse.level' */
 1125|      0|	else
 1126|      0|	    SET_TAG(args, install("deparse.level")); /* tag 'deparse.level' */
  ------------------
  |  |  934|      0|#define install			Rf_install
  ------------------
 1127|      0|	SEXP ans = applyClosure(call, method, args, env, R_NilValue, TRUE);
  ------------------
  |  |  879|      0|#define applyClosure		Rf_applyClosure
  ------------------
 1128|      0|	UNPROTECT(2);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1129|      0|	return ans;
 1130|      0|    } else
 1131|  2.48k|	args = CDR(args); /* discard 'deparse.level' */
 1132|       |
 1133|       |    /* Dispatch based on class membership has failed. */
 1134|       |    /* The default code for rbind/cbind.default follows */
 1135|       |    /* First, extract the evaluated arguments. */
 1136|  2.48k|    SEXP rho = env;
 1137|  2.48k|    struct BindData data;
 1138|  2.48k|    data.ans_flags = 0;
 1139|  2.48k|    data.ans_length = 0;
 1140|  2.48k|    data.ans_nnames = 0;
 1141|  10.1k|    for (SEXP t = args; t != R_NilValue; t = CDR(t))
  ------------------
  |  Branch (1141:25): [True: 7.66k, False: 2.48k]
  ------------------
 1142|  7.66k|	AnswerType(PRVALUE(CAR(t)), 0, 0, &data, call);
 1143|       |
 1144|       |    /* zero-extent matrices shouldn't give NULL, but cbind(NULL) should: */
 1145|  2.48k|    if (!data.ans_flags && !data.ans_length) {
  ------------------
  |  Branch (1145:9): [True: 0, False: 2.48k]
  |  Branch (1145:28): [True: 0, False: 0]
  ------------------
 1146|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1147|      0|	return R_NilValue;
 1148|      0|    }
 1149|       |
 1150|  2.48k|    int mode = NILSXP;
  ------------------
  |  |  111|  2.48k|#define NILSXP	     0	  /* nil = NULL */
  ------------------
 1151|  2.48k|    if      (data.ans_flags & 512) mode = EXPRSXP;
  ------------------
  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (1151:14): [True: 0, False: 2.48k]
  ------------------
 1152|  2.48k|    else if (data.ans_flags & 256) mode = VECSXP;
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (1152:14): [True: 0, False: 2.48k]
  ------------------
 1153|  2.48k|    else if (data.ans_flags & 128) mode = STRSXP;
  ------------------
  |  |  126|     16|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1153:14): [True: 16, False: 2.47k]
  ------------------
 1154|  2.47k|    else if (data.ans_flags &  64) mode = CPLXSXP;
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (1154:14): [True: 0, False: 2.47k]
  ------------------
 1155|  2.47k|    else if (data.ans_flags &  32) mode = REALSXP;
  ------------------
  |  |  124|  2.47k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1155:14): [True: 2.47k, False: 0]
  ------------------
 1156|      0|    else if (data.ans_flags &  16) mode = INTSXP;
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1156:14): [True: 0, False: 0]
  ------------------
 1157|      0|    else if (data.ans_flags &	2) mode = LGLSXP;
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (1157:14): [True: 0, False: 0]
  ------------------
 1158|      0|    else if (data.ans_flags &	1) mode = RAWSXP;
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (1158:14): [True: 0, False: 0]
  ------------------
 1159|       |
 1160|  2.48k|    switch(mode) {
 1161|      0|    case NILSXP:
  ------------------
  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (1161:5): [True: 0, False: 2.48k]
  ------------------
 1162|      0|    case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (1162:5): [True: 0, False: 2.48k]
  ------------------
 1163|      0|    case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1163:5): [True: 0, False: 2.48k]
  ------------------
 1164|  2.47k|    case REALSXP:
  ------------------
  |  |  124|  2.47k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1164:5): [True: 2.47k, False: 16]
  ------------------
 1165|  2.47k|    case CPLXSXP:
  ------------------
  |  |  125|  2.47k|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (1165:5): [True: 0, False: 2.48k]
  ------------------
 1166|  2.48k|    case STRSXP:
  ------------------
  |  |  126|  2.48k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1166:5): [True: 16, False: 2.47k]
  ------------------
 1167|  2.48k|    case VECSXP:
  ------------------
  |  |  131|  2.48k|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (1167:5): [True: 0, False: 2.48k]
  ------------------
 1168|  2.48k|    case RAWSXP:
  ------------------
  |  |  136|  2.48k|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (1168:5): [True: 0, False: 2.48k]
  ------------------
 1169|  2.48k|	break;
 1170|       |	/* we don't handle expressions: we could, but coercion of a matrix
 1171|       |	   to an expression is not ideal.
 1172|       |	   FIXME?  had  cbind(y ~ x, 1) work using lists, before */
 1173|      0|    default:
  ------------------
  |  Branch (1173:5): [True: 0, False: 2.48k]
  ------------------
 1174|      0|	error(_("cannot create a matrix from type '%s'"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("cannot create a matrix from type '%s'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1175|      0|	      type2char(mode)); /* mode can only be EXPRSXP here */
  ------------------
  |  | 1040|      0|#define type2char		Rf_type2char
  ------------------
 1176|  2.48k|    }
 1177|       |
 1178|  2.48k|    if (PRIMVAL(op) == 1)
  ------------------
  |  | 1347|  2.48k|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (1178:9): [True: 1.40k, False: 1.08k]
  ------------------
 1179|  1.40k|	a = cbind(call, args, mode, rho, deparse_level);
 1180|  1.08k|    else
 1181|  1.08k|	a = rbind(call, args, mode, rho, deparse_level);
 1182|  2.48k|    UNPROTECT(1);
  ------------------
  |  |  358|  2.48k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1183|  2.48k|    return a;
 1184|  2.48k|}
bind.c:c_Extract_opt:
  729|  2.10M|{
  730|  2.10M|    SEXP a, n, last = NULL, next = NULL;
  731|  2.10M|    int v, n_recurse = 0, n_usenames = 0;
  732|       |
  733|  6.31M|    for (a = ans; a != R_NilValue; a = next) {
  ------------------
  |  Branch (733:19): [True: 4.21M, False: 2.10M]
  ------------------
  734|  4.21M|	n = TAG(a);
  735|  4.21M|	next = CDR(a);
  736|  4.21M|	if (n != R_NilValue && pmatch(R_RecursiveSymbol, n, 1)) {
  ------------------
  |  | 1011|     28|#define pmatch			Rf_pmatch
  ------------------
  |  Branch (736:6): [True: 28, False: 4.21M]
  |  Branch (736:25): [True: 0, False: 28]
  ------------------
  737|      0|	    if (n_recurse++ == 1)
  ------------------
  |  Branch (737:10): [True: 0, False: 0]
  ------------------
  738|      0|		errorcall(call, _("repeated formal argument 'recursive'"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              		errorcall(call, _("repeated formal argument 'recursive'"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  739|      0|	    if ((v = asLogical(CAR(a))) != NA_INTEGER) {
  ------------------
  |  |  886|      0|#define asLogical		Rf_asLogical
  ------------------
              	    if ((v = asLogical(CAR(a))) != NA_INTEGER) {
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (739:10): [True: 0, False: 0]
  ------------------
  740|      0|		*recurse = (bool) v;
  741|      0|	    }
  742|      0|	    if (last == NULL)
  ------------------
  |  Branch (742:10): [True: 0, False: 0]
  ------------------
  743|      0|		ans = next;
  744|      0|	    else
  745|      0|		SETCDR(last, next);
  746|      0|	}
  747|  4.21M|	else if (n != R_NilValue && pmatch(R_UseNamesSymbol, n, 1)) {
  ------------------
  |  | 1011|     28|#define pmatch			Rf_pmatch
  ------------------
  |  Branch (747:11): [True: 28, False: 4.21M]
  |  Branch (747:30): [True: 0, False: 28]
  ------------------
  748|      0|	    if (n_usenames++ == 1)
  ------------------
  |  Branch (748:10): [True: 0, False: 0]
  ------------------
  749|      0|		errorcall(call, _("repeated formal argument 'use.names'"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              		errorcall(call, _("repeated formal argument 'use.names'"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  750|      0|	    if ((v = asLogical(CAR(a))) != NA_INTEGER) {
  ------------------
  |  |  886|      0|#define asLogical		Rf_asLogical
  ------------------
              	    if ((v = asLogical(CAR(a))) != NA_INTEGER) {
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (750:10): [True: 0, False: 0]
  ------------------
  751|      0|		*usenames = (bool) v;
  752|      0|	    }
  753|      0|	    if (last == NULL)
  ------------------
  |  Branch (753:10): [True: 0, False: 0]
  ------------------
  754|      0|		ans = next;
  755|      0|	    else
  756|      0|		SETCDR(last, next);
  757|      0|	}
  758|  4.21M|	else last = a;
  759|  4.21M|    }
  760|  2.10M|    return ans;
  761|  2.10M|}
bind.c:HasNames:
   57|  2.11M|{
   58|  2.11M|    if(isVector(x)) {
  ------------------
  |  |  974|  2.11M|#define isVector		Rf_isVector
  ------------------
  |  Branch (58:8): [True: 2.11M, False: 1.08k]
  ------------------
   59|  2.11M|	if (!isNull(getAttrib(x, R_NamesSymbol)))
  ------------------
  |  |  956|  2.11M|#define isNull			Rf_isNull
  ------------------
              	if (!isNull(getAttrib(x, R_NamesSymbol)))
  ------------------
  |  |  924|  2.11M|#define getAttrib		Rf_getAttrib
  ------------------
  |  Branch (59:6): [True: 2.09M, False: 12.8k]
  ------------------
   60|  2.09M|	    return 1;
   61|  2.11M|    }
   62|  1.08k|    else if(isList(x)) {
  ------------------
  |  |  951|  1.08k|#define isList			Rf_isList
  ------------------
  |  Branch (62:13): [True: 116, False: 966]
  ------------------
   63|    116|	while (!isNull(x)) {
  ------------------
  |  |  956|    116|#define isNull			Rf_isNull
  ------------------
  |  Branch (63:9): [True: 0, False: 116]
  ------------------
   64|      0|	    if (!isNull(TAG(x))) return 1;
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
  |  Branch (64:10): [True: 0, False: 0]
  ------------------
   65|      0|	    x = CDR(x);
   66|      0|	}
   67|    116|    }
   68|  13.9k|    return 0;
   69|  2.11M|}
bind.c:AnswerType:
   74|  4.22M|{
   75|  4.22M|    switch (TYPEOF(x)) {
   76|    438|    case NILSXP: // NULL entries are dropped
  ------------------
  |  |  111|    438|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (76:5): [True: 438, False: 4.22M]
  ------------------
   77|    438|	break;
   78|      0|    case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (78:5): [True: 0, False: 4.22M]
  ------------------
   79|      0|	data->ans_flags |= 1;
   80|      0|	data->ans_length += XLENGTH(x);
   81|      0|	break;
   82|      0|    case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (82:5): [True: 0, False: 4.22M]
  ------------------
   83|      0|	data->ans_flags |= 2;
   84|      0|	data->ans_length += XLENGTH(x);
   85|      0|	break;
   86|    518|    case INTSXP:
  ------------------
  |  |  123|    518|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (86:5): [True: 518, False: 4.22M]
  ------------------
   87|    518|	data->ans_flags |= 16;
   88|    518|	data->ans_length += XLENGTH(x);
   89|    518|	break;
   90|  13.9k|    case REALSXP:
  ------------------
  |  |  124|  13.9k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (90:5): [True: 13.9k, False: 4.21M]
  ------------------
   91|  13.9k|	data->ans_flags |= 32;
   92|  13.9k|	data->ans_length += XLENGTH(x);
   93|  13.9k|	break;
   94|      0|    case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (94:5): [True: 0, False: 4.22M]
  ------------------
   95|      0|	data->ans_flags |= 64;
   96|      0|	data->ans_length += XLENGTH(x);
   97|      0|	break;
   98|  13.2k|    case STRSXP:
  ------------------
  |  |  126|  13.2k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (98:5): [True: 13.2k, False: 4.21M]
  ------------------
   99|  13.2k|	data->ans_flags |= 128;
  100|  13.2k|	data->ans_length += XLENGTH(x);
  101|  13.2k|	break;
  102|       |
  103|       |#ifdef DO_C_Symbol
  104|       |/* new case : */
  105|       |    case SYMSXP:
  106|       |    case LANGSXP:
  107|       |	data->ans_flags |= 512; /* as.expression() implicitly */
  108|       |	data->ans_length += 1;
  109|       |	break;
  110|       |#endif
  111|  4.19M|    case VECSXP:
  ------------------
  |  |  131|  4.19M|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (111:5): [True: 4.19M, False: 29.1k]
  ------------------
  112|  4.19M|    case EXPRSXP:
  ------------------
  |  |  132|  4.19M|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (112:5): [True: 0, False: 4.22M]
  ------------------
  113|  4.19M|	if (recurse) {
  ------------------
  |  Branch (113:6): [True: 0, False: 4.19M]
  ------------------
  114|      0|	    R_xlen_t i, n = XLENGTH(x);
  115|      0|	    if (usenames && !data->ans_nnames &&
  ------------------
  |  Branch (115:10): [True: 0, False: 0]
  |  Branch (115:22): [True: 0, False: 0]
  ------------------
  116|      0|		!isNull(getAttrib(x, R_NamesSymbol)))
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
              		!isNull(getAttrib(x, R_NamesSymbol)))
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
  |  Branch (116:3): [True: 0, False: 0]
  ------------------
  117|      0|		data->ans_nnames = 1;
  118|      0|	    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (118:18): [True: 0, False: 0]
  ------------------
  119|      0|		if (usenames && !data->ans_nnames)
  ------------------
  |  Branch (119:7): [True: 0, False: 0]
  |  Branch (119:19): [True: 0, False: 0]
  ------------------
  120|      0|		    data->ans_nnames = HasNames(VECTOR_ELT(x, i));
  121|      0|		AnswerType(VECTOR_ELT(x, i), recurse, usenames, data, call);
  122|      0|	    }
  123|      0|	}
  124|  4.19M|	else {
  125|  4.19M|	    if (TYPEOF(x) == EXPRSXP)
  ------------------
  |  |  132|  4.19M|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (125:10): [True: 0, False: 4.19M]
  ------------------
  126|      0|		data->ans_flags |= 512;
  127|  4.19M|	    else
  128|  4.19M|		data->ans_flags |= 256;
  129|  4.19M|	    data->ans_length += XLENGTH(x);
  130|  4.19M|	}
  131|  4.19M|	break;
  132|      0|    case LISTSXP:
  ------------------
  |  |  113|      0|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (132:5): [True: 0, False: 4.22M]
  ------------------
  133|      0|	if (recurse) {
  ------------------
  |  Branch (133:6): [True: 0, False: 0]
  ------------------
  134|      0|	    while (x != R_NilValue) {
  ------------------
  |  Branch (134:13): [True: 0, False: 0]
  ------------------
  135|      0|		if (usenames && !data->ans_nnames) {
  ------------------
  |  Branch (135:7): [True: 0, False: 0]
  |  Branch (135:19): [True: 0, False: 0]
  ------------------
  136|      0|		    if (!isNull(TAG(x))) data->ans_nnames = 1;
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
  |  Branch (136:11): [True: 0, False: 0]
  ------------------
  137|      0|		    else data->ans_nnames = HasNames(CAR(x));
  138|      0|		}
  139|      0|		AnswerType(CAR(x), recurse, usenames, data, call);
  140|      0|		x = CDR(x);
  141|      0|	    }
  142|      0|	}
  143|      0|	else {
  144|      0|	    data->ans_flags |= 256;
  145|      0|	    data->ans_length += length(x);
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  146|      0|	}
  147|      0|	break;
  148|    966|    default:
  ------------------
  |  Branch (148:5): [True: 966, False: 4.22M]
  ------------------
  149|    966|	data->ans_flags |= 256;
  150|    966|	data->ans_length += 1;
  151|    966|	break;
  152|  4.22M|    }
  153|       |
  154|       |    /* check for overflow in ans_length. Objects are added one at a
  155|       |       time for each call to AnswerType so it is safe to check here.
  156|       |       Since sizes are signed, positive numbers, the overflow will
  157|       |       manifest itself as a negative result (both numbers will be
  158|       |       31-bit so we cannot overflow across the 32-bit boundary). If
  159|       |       our assumption (all lengths are signed) is violated, this won't
  160|       |       work so check when switching length types! */
  161|       |
  162|       |#ifndef LONG_VECTOR_SUPPORT
  163|       |    if (data->ans_length < 0)
  164|       |	errorcall(call, _("resulting vector exceeds vector length limit in '%s'"), "AnswerType");
  165|       |#endif
  166|  4.22M|}
bind.c:ListAnswer:
  174|  4.19M|{
  175|  4.19M|    R_xlen_t i;
  176|       |
  177|  4.19M|    switch(TYPEOF(x)) {
  178|     60|    case NILSXP: // NULL entries are dropped
  ------------------
  |  |  111|     60|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (178:5): [True: 60, False: 4.19M]
  ------------------
  179|     60|	break;
  180|      0|    case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (180:5): [True: 0, False: 4.19M]
  ------------------
  181|      0|	for (i = 0; i < XLENGTH(x); i++)
  ------------------
  |  Branch (181:14): [True: 0, False: 0]
  ------------------
  182|      0|	    LIST_ASSIGN(ScalarLogical(LOGICAL(x)[i]));
  ------------------
  |  |   38|      0|#define LIST_ASSIGN(x) {SET_VECTOR_ELT(data->ans_ptr, data->ans_length, x); data->ans_length++;}
  ------------------
  183|      0|	break;
  184|      0|    case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (184:5): [True: 0, False: 4.19M]
  ------------------
  185|      0|	for (i = 0; i < XLENGTH(x); i++)
  ------------------
  |  Branch (185:14): [True: 0, False: 0]
  ------------------
  186|      0|	    LIST_ASSIGN(ScalarRaw(RAW(x)[i]));
  ------------------
  |  |   38|      0|#define LIST_ASSIGN(x) {SET_VECTOR_ELT(data->ans_ptr, data->ans_length, x); data->ans_length++;}
  ------------------
  187|      0|	break;
  188|      0|    case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (188:5): [True: 0, False: 4.19M]
  ------------------
  189|      0|	for (i = 0; i < XLENGTH(x); i++)
  ------------------
  |  Branch (189:14): [True: 0, False: 0]
  ------------------
  190|      0|	    LIST_ASSIGN(ScalarInteger(INTEGER(x)[i]));
  ------------------
  |  |   38|      0|#define LIST_ASSIGN(x) {SET_VECTOR_ELT(data->ans_ptr, data->ans_length, x); data->ans_length++;}
  ------------------
  191|      0|	break;
  192|      0|    case REALSXP:
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (192:5): [True: 0, False: 4.19M]
  ------------------
  193|      0|	for (i = 0; i < XLENGTH(x); i++)
  ------------------
  |  Branch (193:14): [True: 0, False: 0]
  ------------------
  194|      0|	    LIST_ASSIGN(ScalarReal(REAL(x)[i]));
  ------------------
  |  |   38|      0|#define LIST_ASSIGN(x) {SET_VECTOR_ELT(data->ans_ptr, data->ans_length, x); data->ans_length++;}
  ------------------
  195|      0|	break;
  196|      0|    case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (196:5): [True: 0, False: 4.19M]
  ------------------
  197|      0|	for (i = 0; i < XLENGTH(x); i++)
  ------------------
  |  Branch (197:14): [True: 0, False: 0]
  ------------------
  198|      0|	    LIST_ASSIGN(ScalarComplex(COMPLEX(x)[i]));
  ------------------
  |  |   38|      0|#define LIST_ASSIGN(x) {SET_VECTOR_ELT(data->ans_ptr, data->ans_length, x); data->ans_length++;}
  ------------------
  199|      0|	break;
  200|      0|    case STRSXP:
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (200:5): [True: 0, False: 4.19M]
  ------------------
  201|      0|	for (i = 0; i < XLENGTH(x); i++)
  ------------------
  |  Branch (201:14): [True: 0, False: 0]
  ------------------
  202|      0|	    LIST_ASSIGN(ScalarString(STRING_ELT(x, i)));
  ------------------
  |  |   38|      0|#define LIST_ASSIGN(x) {SET_VECTOR_ELT(data->ans_ptr, data->ans_length, x); data->ans_length++;}
  ------------------
  203|      0|	break;
  204|  4.19M|    case VECSXP:
  ------------------
  |  |  131|  4.19M|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (204:5): [True: 4.19M, False: 1.02k]
  ------------------
  205|  4.19M|    case EXPRSXP:
  ------------------
  |  |  132|  4.19M|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (205:5): [True: 0, False: 4.19M]
  ------------------
  206|  4.19M|	if (recurse) {
  ------------------
  |  Branch (206:6): [True: 0, False: 4.19M]
  ------------------
  207|      0|	    for (i = 0; i < XLENGTH(x); i++)
  ------------------
  |  Branch (207:18): [True: 0, False: 0]
  ------------------
  208|      0|		ListAnswer(VECTOR_ELT(x, i), recurse, data, call);
  209|      0|	}
  210|  4.19M|	else {
  211|  8.39M|	    for (i = 0; i < XLENGTH(x); i++)
  ------------------
  |  Branch (211:18): [True: 4.19M, False: 4.19M]
  ------------------
  212|  4.19M|		LIST_ASSIGN(lazy_duplicate(VECTOR_ELT(x, i)));
  ------------------
  |  |   38|  4.19M|#define LIST_ASSIGN(x) {SET_VECTOR_ELT(data->ans_ptr, data->ans_length, x); data->ans_length++;}
  ------------------
  213|  4.19M|	}
  214|  4.19M|	break;
  215|      0|    case LISTSXP:
  ------------------
  |  |  113|      0|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (215:5): [True: 0, False: 4.19M]
  ------------------
  216|      0|	if (recurse) {
  ------------------
  |  Branch (216:6): [True: 0, False: 0]
  ------------------
  217|      0|	    while (x != R_NilValue) {
  ------------------
  |  Branch (217:13): [True: 0, False: 0]
  ------------------
  218|      0|		ListAnswer(CAR(x), recurse, data, call);
  219|      0|		x = CDR(x);
  220|      0|	    }
  221|      0|	}
  222|      0|	else
  223|      0|	    while (x != R_NilValue) {
  ------------------
  |  Branch (223:13): [True: 0, False: 0]
  ------------------
  224|      0|		LIST_ASSIGN(lazy_duplicate(CAR(x)));
  ------------------
  |  |   38|      0|#define LIST_ASSIGN(x) {SET_VECTOR_ELT(data->ans_ptr, data->ans_length, x); data->ans_length++;}
  ------------------
  225|      0|		x = CDR(x);
  226|      0|	    }
  227|      0|	break;
  228|    966|    default:
  ------------------
  |  Branch (228:5): [True: 966, False: 4.19M]
  ------------------
  229|    966|	LIST_ASSIGN(lazy_duplicate(x));
  ------------------
  |  |   38|    966|#define LIST_ASSIGN(x) {SET_VECTOR_ELT(data->ans_ptr, data->ans_length, x); data->ans_length++;}
  ------------------
  230|    966|	break;
  231|  4.19M|    }
  232|  4.19M|}
bind.c:StringAnswer:
  236|  18.2k|{
  237|  18.2k|    R_xlen_t i;
  238|  18.2k|    switch(TYPEOF(x)) {
  239|     48|    case NILSXP:
  ------------------
  |  |  111|     48|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (239:5): [True: 48, False: 18.2k]
  ------------------
  240|     48|	break;
  241|  4.19k|    case LISTSXP:
  ------------------
  |  |  113|  4.19k|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (241:5): [True: 4.19k, False: 14.0k]
  ------------------
  242|  13.6k|	while (x != R_NilValue) {
  ------------------
  |  Branch (242:9): [True: 9.46k, False: 4.19k]
  ------------------
  243|  9.46k|	    StringAnswer(CAR(x), data, call);
  244|  9.46k|	    x = CDR(x);
  245|  9.46k|	}
  246|  4.19k|	break;
  247|      0|    case EXPRSXP:
  ------------------
  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (247:5): [True: 0, False: 18.2k]
  ------------------
  248|    792|    case VECSXP:
  ------------------
  |  |  131|    792|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (248:5): [True: 792, False: 17.4k]
  ------------------
  249|  4.63k|	for (i = 0; i < XLENGTH(x); i++)
  ------------------
  |  Branch (249:14): [True: 3.84k, False: 792]
  ------------------
  250|  3.84k|	    StringAnswer(VECTOR_ELT(x, i), data, call);
  251|    792|	break;
  252|  13.2k|    default:
  ------------------
  |  Branch (252:5): [True: 13.2k, False: 5.03k]
  ------------------
  253|  13.2k|	PROTECT(x = coerceVector(x, STRSXP));
  ------------------
  |  |  357|  13.2k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  254|   141k|	for (i = 0; i < XLENGTH(x); i++)
  ------------------
  |  Branch (254:14): [True: 127k, False: 13.2k]
  ------------------
  255|   127k|	    SET_STRING_ELT(data->ans_ptr, data->ans_length++, STRING_ELT(x, i));
  256|  13.2k|	UNPROTECT(1);
  ------------------
  |  |  358|  13.2k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  257|  13.2k|	break;
  258|  18.2k|    }
  259|  18.2k|}
bind.c:RealAnswer:
  337|  8.51k|{
  338|  8.51k|    R_xlen_t i;
  339|  8.51k|    int xi;
  340|  8.51k|    switch(TYPEOF(x)) {
  341|      0|    case NILSXP:
  ------------------
  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (341:5): [True: 0, False: 8.51k]
  ------------------
  342|      0|	break;
  343|  1.80k|    case LISTSXP:
  ------------------
  |  |  113|  1.80k|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (343:5): [True: 1.80k, False: 6.71k]
  ------------------
  344|  7.68k|	while (x != R_NilValue) {
  ------------------
  |  Branch (344:9): [True: 5.88k, False: 1.80k]
  ------------------
  345|  5.88k|	    RealAnswer(CAR(x), data, call);
  346|  5.88k|	    x = CDR(x);
  347|  5.88k|	}
  348|  1.80k|	break;
  349|     52|    case VECSXP:
  ------------------
  |  |  131|     52|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (349:5): [True: 52, False: 8.46k]
  ------------------
  350|     52|    case EXPRSXP:
  ------------------
  |  |  132|     52|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (350:5): [True: 0, False: 8.51k]
  ------------------
  351|    832|	for (i = 0; i < XLENGTH(x); i++)
  ------------------
  |  Branch (351:14): [True: 780, False: 52]
  ------------------
  352|    780|	    RealAnswer(VECTOR_ELT(x, i), data, call);
  353|     52|	break;
  354|  6.66k|    case REALSXP:
  ------------------
  |  |  124|  6.66k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (354:5): [True: 6.66k, False: 1.85k]
  ------------------
  355|  14.1k|	for (i = 0; i < XLENGTH(x); i++)
  ------------------
  |  Branch (355:14): [True: 7.46k, False: 6.66k]
  ------------------
  356|  7.46k|	    REAL(data->ans_ptr)[data->ans_length++] = REAL(x)[i];
  357|  6.66k|	break;
  358|      0|    case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (358:5): [True: 0, False: 8.51k]
  ------------------
  359|      0|	for (i = 0; i < XLENGTH(x); i++) {
  ------------------
  |  Branch (359:14): [True: 0, False: 0]
  ------------------
  360|      0|	    xi = LOGICAL(x)[i];
  361|      0|	    if (xi == NA_LOGICAL)
  ------------------
  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (361:10): [True: 0, False: 0]
  ------------------
  362|      0|		REAL(data->ans_ptr)[data->ans_length++] = NA_REAL;
  ------------------
  |  |   58|      0|#define NA_REAL		R_NaReal
  ------------------
  363|      0|	    else REAL(data->ans_ptr)[data->ans_length++] = xi;
  364|      0|	}
  365|      0|	break;
  366|      0|    case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (366:5): [True: 0, False: 8.51k]
  ------------------
  367|      0|	for (i = 0; i < XLENGTH(x); i++) {
  ------------------
  |  Branch (367:14): [True: 0, False: 0]
  ------------------
  368|      0|	    xi = INTEGER(x)[i];
  369|      0|	    if (xi == NA_INTEGER)
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (369:10): [True: 0, False: 0]
  ------------------
  370|      0|		REAL(data->ans_ptr)[data->ans_length++] = NA_REAL;
  ------------------
  |  |   58|      0|#define NA_REAL		R_NaReal
  ------------------
  371|      0|	    else REAL(data->ans_ptr)[data->ans_length++] = xi;
  372|      0|	}
  373|      0|	break;
  374|      0|    case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (374:5): [True: 0, False: 8.51k]
  ------------------
  375|      0|	for (i = 0; i < XLENGTH(x); i++)
  ------------------
  |  Branch (375:14): [True: 0, False: 0]
  ------------------
  376|      0|	    REAL(data->ans_ptr)[data->ans_length++] = (int)RAW(x)[i];
  377|      0|	break;
  378|      0|    default:
  ------------------
  |  Branch (378:5): [True: 0, False: 8.51k]
  ------------------
  379|      0|	errorcall(call, _("type '%s' is unimplemented in '%s'"),
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("type '%s' is unimplemented in '%s'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  380|      0|		  R_typeToChar(x), "RealAnswer");
  381|  8.51k|    }
  382|  8.51k|}
bind.c:IntegerAnswer:
  301|    797|{
  302|    797|    R_xlen_t i;
  303|    797|    switch(TYPEOF(x)) {
  304|      8|    case NILSXP:
  ------------------
  |  |  111|      8|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (304:5): [True: 8, False: 789]
  ------------------
  305|      8|	break;
  306|    265|    case LISTSXP:
  ------------------
  |  |  113|    265|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (306:5): [True: 265, False: 532]
  ------------------
  307|    787|	while (x != R_NilValue) {
  ------------------
  |  Branch (307:9): [True: 522, False: 265]
  ------------------
  308|    522|	    IntegerAnswer(CAR(x), data, call);
  309|    522|	    x = CDR(x);
  310|    522|	}
  311|    265|	break;
  312|      0|    case EXPRSXP:
  ------------------
  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (312:5): [True: 0, False: 797]
  ------------------
  313|      6|    case VECSXP:
  ------------------
  |  |  131|      6|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (313:5): [True: 6, False: 791]
  ------------------
  314|     10|	for (i = 0; i < XLENGTH(x); i++)
  ------------------
  |  Branch (314:14): [True: 4, False: 6]
  ------------------
  315|      4|	    IntegerAnswer(VECTOR_ELT(x, i), data, call);
  316|      6|	break;
  317|      0|    case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (317:5): [True: 0, False: 797]
  ------------------
  318|      0|	for (i = 0; i < XLENGTH(x); i++)
  ------------------
  |  Branch (318:14): [True: 0, False: 0]
  ------------------
  319|      0|	    INTEGER(data->ans_ptr)[data->ans_length++] = LOGICAL(x)[i];
  320|      0|	break;
  321|    518|    case INTSXP:
  ------------------
  |  |  123|    518|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (321:5): [True: 518, False: 279]
  ------------------
  322|  1.05k|	for (i = 0; i < XLENGTH(x); i++)
  ------------------
  |  Branch (322:14): [True: 532, False: 518]
  ------------------
  323|    532|	    INTEGER(data->ans_ptr)[data->ans_length++] = INTEGER(x)[i];
  324|    518|	break;
  325|      0|    case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (325:5): [True: 0, False: 797]
  ------------------
  326|      0|	for (i = 0; i < XLENGTH(x); i++)
  ------------------
  |  Branch (326:14): [True: 0, False: 0]
  ------------------
  327|      0|	    INTEGER(data->ans_ptr)[data->ans_length++] = (int)RAW(x)[i];
  328|      0|	break;
  329|      0|    default:
  ------------------
  |  Branch (329:5): [True: 0, False: 797]
  ------------------
  330|      0|	errorcall(call, _("type '%s' is unimplemented in '%s'"),
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("type '%s' is unimplemented in '%s'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  331|      0|		  R_typeToChar(x), "IntegerAnswer");
  332|    797|    }
  333|    797|}
bind.c:NewExtractNames:
  648|  4.20M|{
  649|  4.20M|    SEXP names, namei;
  650|  4.20M|    R_xlen_t i, n;
  651|  4.20M|    int savecount=0;
  652|  4.20M|    R_xlen_t saveseqno;
  653|       |
  654|       |    /* If we have a new tag, we reset the index
  655|       |     * sequence and create the new basename string : */
  656|  4.20M|    if (tag != R_NilValue) {
  ------------------
  |  Branch (656:9): [True: 3.91k, False: 4.20M]
  ------------------
  657|  3.91k|	PROTECT(base = NewBase(base, tag));
  ------------------
  |  |  357|  3.91k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  658|  3.91k|	saveseqno = nameData->seqno;
  659|  3.91k|	savecount = nameData->count;
  660|  3.91k|	nameData->count = 0;
  661|  3.91k|	namesCount(v, recurse, nameData);
  662|  3.91k|	nameData->seqno = 0;
  663|  3.91k|    }
  664|  4.20M|    else saveseqno = 0;
  665|       |
  666|  4.20M|    n = xlength(v);
  ------------------
  |  | 1049|  4.20M|#define xlength(x)		Rf_xlength(x)
  ------------------
  667|  4.20M|    PROTECT(names = getAttrib(v, R_NamesSymbol));
  ------------------
  |  |  357|  4.20M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  668|       |
  669|  4.20M|    switch(TYPEOF(v)) {
  670|     70|    case NILSXP:
  ------------------
  |  |  111|     70|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (670:5): [True: 70, False: 4.20M]
  ------------------
  671|     70|	break;
  672|      0|    case LISTSXP:
  ------------------
  |  |  113|      0|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (672:5): [True: 0, False: 4.20M]
  ------------------
  673|      0|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (673:14): [True: 0, False: 0]
  ------------------
  674|      0|	    PROTECT(namei = ItemName(names, i));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  675|      0|	    if (recurse) {
  ------------------
  |  Branch (675:10): [True: 0, False: 0]
  ------------------
  676|      0|		NewExtractNames(CAR(v), base, namei, recurse, data, nameData);
  677|      0|	    }
  678|      0|	    else {
  679|      0|		namei = NewName(base, namei, ++(nameData->seqno), nameData->count);
  680|      0|		SET_STRING_ELT(data->ans_names, (data->ans_nnames)++, namei);
  681|      0|	    }
  682|      0|	    v = CDR(v);
  683|      0|	    UNPROTECT(1); /*namei*/
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  684|      0|	}
  685|      0|	break;
  686|  4.19M|    case VECSXP:
  ------------------
  |  |  131|  4.19M|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (686:5): [True: 4.19M, False: 7.67k]
  ------------------
  687|  4.19M|    case EXPRSXP:
  ------------------
  |  |  132|  4.19M|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (687:5): [True: 0, False: 4.20M]
  ------------------
  688|  8.39M|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (688:14): [True: 4.19M, False: 4.19M]
  ------------------
  689|  4.19M|	    namei = ItemName(names, i);
  ------------------
  |  | 1937|  4.19M|# define ItemName		Rf_ItemName
  ------------------
  690|  4.19M|	    if (recurse) {
  ------------------
  |  Branch (690:10): [True: 810, False: 4.19M]
  ------------------
  691|    810|		NewExtractNames(VECTOR_ELT(v, i), base, namei, recurse, data, nameData);
  692|    810|	    }
  693|  4.19M|	    else {
  694|  4.19M|		namei = NewName(base, namei, ++(nameData->seqno), nameData->count);
  695|  4.19M|		SET_STRING_ELT(data->ans_names, (data->ans_nnames)++, namei);
  696|  4.19M|	    }
  697|  4.19M|	}
  698|  4.19M|	break;
  699|      0|    case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (699:5): [True: 0, False: 4.20M]
  ------------------
  700|      4|    case INTSXP:
  ------------------
  |  |  123|      4|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (700:5): [True: 4, False: 4.20M]
  ------------------
  701|  4.31k|    case REALSXP:
  ------------------
  |  |  124|  4.31k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (701:5): [True: 4.31k, False: 4.20M]
  ------------------
  702|  4.31k|    case CPLXSXP:
  ------------------
  |  |  125|  4.31k|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (702:5): [True: 0, False: 4.20M]
  ------------------
  703|  7.60k|    case STRSXP:
  ------------------
  |  |  126|  7.60k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (703:5): [True: 3.29k, False: 4.20M]
  ------------------
  704|  7.60k|    case RAWSXP:
  ------------------
  |  |  136|  7.60k|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (704:5): [True: 0, False: 4.20M]
  ------------------
  705|  16.4k|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (705:14): [True: 8.86k, False: 7.60k]
  ------------------
  706|  8.86k|	    namei = ItemName(names, i);
  ------------------
  |  | 1937|  8.86k|# define ItemName		Rf_ItemName
  ------------------
  707|  8.86k|	    namei = NewName(base, namei, ++(nameData->seqno), nameData->count);
  708|  8.86k|	    SET_STRING_ELT(data->ans_names, (data->ans_nnames)++, namei);
  709|  8.86k|	}
  710|  7.60k|	break;
  711|      0|    default:
  ------------------
  |  Branch (711:5): [True: 0, False: 4.20M]
  ------------------
  712|      0|	namei = NewName(base, R_NilValue, ++(nameData->seqno), nameData->count);
  713|      0|	SET_STRING_ELT(data->ans_names, (data->ans_nnames)++, namei);
  714|  4.20M|    }
  715|  4.20M|    if (tag != R_NilValue) {
  ------------------
  |  Branch (715:9): [True: 3.91k, False: 4.20M]
  ------------------
  716|  3.91k|	nameData->count = savecount;
  717|  3.91k|	UNPROTECT(1);
  ------------------
  |  |  358|  3.91k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  718|  3.91k|    }
  719|  4.20M|    UNPROTECT(1); /*names*/
  ------------------
  |  |  358|  4.20M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  720|  4.20M|    nameData->seqno = nameData->seqno + saveseqno;
  721|  4.20M|}
bind.c:NewBase:
  494|  3.91k|{
  495|  3.91k|    SEXP ans;
  496|  3.91k|    char *cbuf;
  497|  3.91k|    base = EnsureString(base);
  ------------------
  |  | 1899|  3.91k|# define EnsureString 		Rf_EnsureString
  ------------------
  498|  3.91k|    tag = EnsureString(tag);
  ------------------
  |  | 1899|  3.91k|# define EnsureString 		Rf_EnsureString
  ------------------
  499|  3.91k|    if (*CHAR(base) && *CHAR(tag)) { /* test of length */
  ------------------
  |  |  203|  7.82k|#define CHAR(x) R_CHAR(x)
  ------------------
                  if (*CHAR(base) && *CHAR(tag)) { /* test of length */
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (499:9): [True: 0, False: 3.91k]
  |  Branch (499:24): [True: 0, False: 0]
  ------------------
  500|      0|	const void *vmax = vmaxget();
  501|      0|	const char *sb = translateCharUTF8(base), *st = translateCharUTF8(tag);
  ------------------
  |  | 1039|      0|#define translateCharUTF8      	Rf_translateCharUTF8
  ------------------
              	const char *sb = translateCharUTF8(base), *st = translateCharUTF8(tag);
  ------------------
  |  | 1039|      0|#define translateCharUTF8      	Rf_translateCharUTF8
  ------------------
  502|      0|	size_t sz = strlen(st) + strlen(sb) + 1;
  503|      0|	cbuf = R_AllocStringBuffer(sz, &cbuff);
  504|      0|	snprintf(cbuf, sz + 1, "%s.%s", sb, st);
  505|       |	/* This isn't strictly correct as we do not know that all the
  506|       |	   components of the name were correctly translated. */
  507|      0|	ans = mkCharCE(cbuf, CE_UTF8);
  ------------------
  |  |  999|      0|#define mkCharCE		Rf_mkCharCE
  ------------------
  508|      0|	vmaxset(vmax);
  509|      0|    }
  510|  3.91k|    else if (*CHAR(tag)) {
  ------------------
  |  |  203|  3.91k|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (510:14): [True: 3.91k, False: 0]
  ------------------
  511|  3.91k|	ans = tag;
  512|  3.91k|    }
  513|      0|    else if (*CHAR(base)) {
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (513:14): [True: 0, False: 0]
  ------------------
  514|      0|	ans = base;
  515|      0|    }
  516|      0|    else ans = R_BlankString;
  517|  3.91k|    return ans;
  518|  3.91k|}
bind.c:namesCount:
  598|  3.91k|{
  599|  3.91k|    R_xlen_t i, n = xlength(v);
  ------------------
  |  | 1049|  3.91k|#define xlength(x)		Rf_xlength(x)
  ------------------
  600|  3.91k|    SEXP names = PROTECT(getAttrib(v, R_NamesSymbol)), namei;
  ------------------
  |  |  357|  3.91k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  601|       |
  602|       |    /* The  "<= 1"  in every for() loop, i.e., for all "vector" cases,
  603|       |       makes this much faster for large vector 'v'
  604|       |       _and_ prevents ("almost surely") overflow of nameData->count.
  605|       |       -->  PR#17284 and PR#17292, with thanks to Suharto Anggono.
  606|       |    */
  607|  3.91k|    switch(TYPEOF(v)) {
  608|      0|    case NILSXP:
  ------------------
  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (608:5): [True: 0, False: 3.91k]
  ------------------
  609|      0|	break;
  610|      0|    case LISTSXP:
  ------------------
  |  |  113|      0|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (610:5): [True: 0, False: 3.91k]
  ------------------
  611|      0|	if (recurse) {
  ------------------
  |  Branch (611:6): [True: 0, False: 0]
  ------------------
  612|      0|	    for (i = 0; i < n && nameData->count <= 1; i++) {
  ------------------
  |  Branch (612:18): [True: 0, False: 0]
  |  Branch (612:27): [True: 0, False: 0]
  ------------------
  613|      0|		PROTECT(namei = ItemName(names, i));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  614|      0|		if (namei == R_NilValue)
  ------------------
  |  Branch (614:7): [True: 0, False: 0]
  ------------------
  615|      0|		    namesCount(CAR(v), recurse, nameData);
  616|      0|		v = CDR(v);
  617|      0|		UNPROTECT(1); /*namei*/
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  618|      0|	    }
  619|      0|	    break;
  620|      0|	} /* else fall through */
  621|      0|    case VECSXP:
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (621:5): [True: 0, False: 3.91k]
  ------------------
  622|      0|    case EXPRSXP:
  ------------------
  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (622:5): [True: 0, False: 3.91k]
  ------------------
  623|      0|	if (recurse) {
  ------------------
  |  Branch (623:6): [True: 0, False: 0]
  ------------------
  624|      0|	    for (i = 0; i < n && nameData->count <= 1; i++) {
  ------------------
  |  Branch (624:18): [True: 0, False: 0]
  |  Branch (624:27): [True: 0, False: 0]
  ------------------
  625|      0|		namei = ItemName(names, i);
  ------------------
  |  | 1937|      0|# define ItemName		Rf_ItemName
  ------------------
  626|      0|		if (namei == R_NilValue)
  ------------------
  |  Branch (626:7): [True: 0, False: 0]
  ------------------
  627|      0|		    namesCount(VECTOR_ELT(v, i), recurse, nameData);
  628|      0|	    }
  629|      0|	    break;
  630|      0|	} /* else fall through */
  631|      0|    case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (631:5): [True: 0, False: 3.91k]
  ------------------
  632|      4|    case INTSXP:
  ------------------
  |  |  123|      4|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (632:5): [True: 4, False: 3.91k]
  ------------------
  633|    784|    case REALSXP:
  ------------------
  |  |  124|    784|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (633:5): [True: 780, False: 3.13k]
  ------------------
  634|    784|    case CPLXSXP:
  ------------------
  |  |  125|    784|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (634:5): [True: 0, False: 3.91k]
  ------------------
  635|  3.91k|    case STRSXP:
  ------------------
  |  |  126|  3.91k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (635:5): [True: 3.13k, False: 784]
  ------------------
  636|  3.91k|    case RAWSXP:
  ------------------
  |  |  136|  3.91k|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (636:5): [True: 0, False: 3.91k]
  ------------------
  637|  7.82k|	for (i = 0; i < n && nameData->count <= 1; i++)
  ------------------
  |  Branch (637:14): [True: 3.91k, False: 3.91k]
  |  Branch (637:23): [True: 3.91k, False: 0]
  ------------------
  638|  3.91k|	    nameData->count++;
  639|  3.91k|	break;
  640|      0|    default:
  ------------------
  |  Branch (640:5): [True: 0, False: 3.91k]
  ------------------
  641|      0|	nameData->count++;
  642|  3.91k|    }
  643|  3.91k|    UNPROTECT(1); /*names*/
  ------------------
  |  |  358|  3.91k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  644|  3.91k|}
bind.c:NewName:
  521|  4.20M|{
  522|       |/* Construct a new Name/Tag, using
  523|       | *	base.tag
  524|       | *	base
  525|       | *	base<seqno>	or
  526|       | *	tag
  527|       | *
  528|       | */
  529|  4.20M|    SEXP ans;
  530|  4.20M|    base = EnsureString(base);
  ------------------
  |  | 1899|  4.20M|# define EnsureString 		Rf_EnsureString
  ------------------
  531|  4.20M|    tag = EnsureString(tag);
  ------------------
  |  | 1899|  4.20M|# define EnsureString 		Rf_EnsureString
  ------------------
  532|  4.20M|    if (*CHAR(base)) {
  ------------------
  |  |  203|  4.20M|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (532:9): [True: 3.91k, False: 4.20M]
  ------------------
  533|  3.91k|	if (*CHAR(tag)) {
  ------------------
  |  |  203|  3.91k|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (533:6): [True: 0, False: 3.91k]
  ------------------
  534|      0|	    const void *vmax = vmaxget();
  535|      0|	    const char
  536|      0|		*sb = translateCharUTF8(base),
  ------------------
  |  | 1039|      0|#define translateCharUTF8      	Rf_translateCharUTF8
  ------------------
  537|      0|		*st = translateCharUTF8(tag);
  ------------------
  |  | 1039|      0|#define translateCharUTF8      	Rf_translateCharUTF8
  ------------------
  538|      0|	    size_t sz = strlen(sb) + strlen(st) + 1;
  539|      0|	    char *cbuf = R_AllocStringBuffer(sz, &cbuff);
  540|      0|	    snprintf(cbuf, sz + 1, "%s.%s", sb, st);
  541|      0|	    ans = mkCharCE(cbuf, CE_UTF8);
  ------------------
  |  |  999|      0|#define mkCharCE		Rf_mkCharCE
  ------------------
  542|      0|	    vmaxset(vmax);
  543|      0|	}
  544|  3.91k|	else if (count == 1)
  ------------------
  |  Branch (544:11): [True: 3.91k, False: 0]
  ------------------
  545|  3.91k|	    ans = base;
  546|      0|	else {
  547|      0|	    const void *vmax = vmaxget();
  548|      0|	    const char *sb = translateCharUTF8(base);
  ------------------
  |  | 1039|      0|#define translateCharUTF8      	Rf_translateCharUTF8
  ------------------
  549|      0|	    char *cbuf;
  550|      0|	    size_t sz = strlen(sb) + (size_t) IndexWidth(seqno) + 1;
  ------------------
  |  |   48|      0|#define IndexWidth    Rf_IndexWidth
  ------------------
  551|      0|	    cbuf = R_AllocStringBuffer(sz, &cbuff);
  552|      0|#ifdef LONG_VECTOR_SUPPORT
  553|      0|	    if (seqno > INT_MAX)
  ------------------
  |  Branch (553:10): [True: 0, False: 0]
  ------------------
  554|      0|		snprintf(cbuf, sz + 1, "%s%.0f", sb, (double) seqno);
  555|      0|	    else
  556|      0|#endif
  557|      0|		snprintf(cbuf, sz + 1, "%s%d", sb, (int) seqno);
  558|      0|	    ans = mkCharCE(cbuf, CE_UTF8);
  ------------------
  |  |  999|      0|#define mkCharCE		Rf_mkCharCE
  ------------------
  559|      0|	    vmaxset(vmax);
  560|      0|	}
  561|  3.91k|    }
  562|  4.20M|    else if (*CHAR(tag)) {
  ------------------
  |  |  203|  4.20M|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (562:14): [True: 4.20M, False: 1.20k]
  ------------------
  563|  4.20M|	ans = tag;
  564|  4.20M|    } else
  565|  1.20k|	ans = R_BlankString;
  566|  4.20M|    return ans;
  567|  4.20M|}
bind.c:cbind:
 1212|  1.40k|{
 1213|  1.40k|    bool have_rnames = false, have_cnames = false, warned = false;
 1214|  1.40k|    int nnames, mnames;
 1215|  1.40k|    int rows, cols, mrows, lenmin = 0;
 1216|  1.40k|    SEXP dn, t, u, result, dims, expr;
 1217|       |
 1218|  1.40k|    nnames = 0;
 1219|  1.40k|    mnames = 0;
 1220|  1.40k|    rows = 0;
 1221|  1.40k|    cols = 0;
 1222|  1.40k|    mrows = -1;
 1223|       |
 1224|       |    /* check if we are in the zero-row case */
 1225|       |
 1226|  1.40k|    for (t = args; t != R_NilValue; t = CDR(t)) {
  ------------------
  |  Branch (1226:20): [True: 1.40k, False: 0]
  ------------------
 1227|  1.40k|	u = PRVALUE(CAR(t));
 1228|  1.40k|	if((isMatrix(u) ? nrows(u) : length(u)) > 0) {
  ------------------
  |  |  954|  1.40k|#define isMatrix		Rf_isMatrix
  ------------------
              	if((isMatrix(u) ? nrows(u) : length(u)) > 0) {
  ------------------
  |  | 1008|      8|#define nrows			Rf_nrows
  ------------------
              	if((isMatrix(u) ? nrows(u) : length(u)) > 0) {
  ------------------
  |  |  987|  1.39k|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1228:5): [True: 1.40k, False: 0]
  |  Branch (1228:6): [True: 8, False: 1.39k]
  ------------------
 1229|  1.40k|	    lenmin = 1;
 1230|  1.40k|	    break;
 1231|  1.40k|	}
 1232|  1.40k|    }
 1233|       |
 1234|       |    /* check conformability of matrix arguments */
 1235|       |
 1236|  1.40k|    int na = 0;
 1237|  5.82k|    for (t = args; t != R_NilValue; t = CDR(t), na++) {
  ------------------
  |  Branch (1237:20): [True: 4.42k, False: 1.40k]
  ------------------
 1238|  4.42k|	u = PRVALUE(CAR(t));
 1239|  4.42k|	dims = getAttrib(u, R_DimSymbol);
  ------------------
  |  |  924|  4.42k|#define getAttrib		Rf_getAttrib
  ------------------
 1240|  4.42k|	if (length(dims) == 2) {
  ------------------
  |  |  987|  4.42k|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1240:6): [True: 8, False: 4.41k]
  ------------------
 1241|      8|	    if (mrows == -1)
  ------------------
  |  Branch (1241:10): [True: 8, False: 0]
  ------------------
 1242|      8|		mrows = INTEGER(dims)[0];
 1243|      0|	    else if (mrows != INTEGER(dims)[0])
  ------------------
  |  Branch (1243:15): [True: 0, False: 0]
  ------------------
 1244|      0|		error(_("number of rows of matrices must match (see arg %d)"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("number of rows of matrices must match (see arg %d)"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1245|      0|		      na + 1);
 1246|      8|	    cols += INTEGER(dims)[1];
 1247|      8|	}
 1248|  4.41k|	else if (length(u) >= lenmin) {
  ------------------
  |  |  987|  4.41k|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1248:11): [True: 4.09k, False: 322]
  ------------------
 1249|  4.09k|	    rows = imax2(rows, length(u));
  ------------------
  |  |   31|  4.09k|#define imax2(x, y) ((x < y) ? y : x)
  |  |  ------------------
  |  |  |  Branch (31:22): [True: 1.40k, False: 2.68k]
  |  |  ------------------
  ------------------
 1250|  4.09k|	    cols += 1;
 1251|  4.09k|	}
 1252|  4.42k|    }
 1253|  1.40k|    if (mrows != -1) rows = mrows;
  ------------------
  |  Branch (1253:9): [True: 8, False: 1.39k]
  ------------------
 1254|       |
 1255|       |    /* Check conformability of vector arguments. -- Look for dimnames. */
 1256|       |
 1257|  5.82k|    for (t = args, na = 0; t != R_NilValue; t = CDR(t), na++) {
  ------------------
  |  Branch (1257:28): [True: 4.42k, False: 1.40k]
  ------------------
 1258|  4.42k|	u = PRVALUE(CAR(t));
 1259|  4.42k|	dims = getAttrib(u, R_DimSymbol);
  ------------------
  |  |  924|  4.42k|#define getAttrib		Rf_getAttrib
  ------------------
 1260|  4.42k|	if (length(dims) == 2) {
  ------------------
  |  |  987|  4.42k|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1260:6): [True: 8, False: 4.41k]
  ------------------
 1261|      8|	    dn = getAttrib(u, R_DimNamesSymbol);
  ------------------
  |  |  924|      8|#define getAttrib		Rf_getAttrib
  ------------------
 1262|      8|	    if (length(dn) == 2) {
  ------------------
  |  |  987|      8|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1262:10): [True: 0, False: 8]
  ------------------
 1263|      0|		if (VECTOR_ELT(dn, 1) != R_NilValue)
  ------------------
  |  Branch (1263:7): [True: 0, False: 0]
  ------------------
 1264|      0|		    have_cnames = true;
 1265|      0|		if (VECTOR_ELT(dn, 0) != R_NilValue)
  ------------------
  |  Branch (1265:7): [True: 0, False: 0]
  ------------------
 1266|      0|		    mnames = mrows;
 1267|      0|	    }
 1268|  4.41k|	} else {
 1269|  4.41k|	    int k = length(u);
  ------------------
  |  |  987|  4.41k|#define length(x)		Rf_length(x)
  ------------------
 1270|  4.41k|	    if (!warned && k > 0 && (k > rows || rows % k)) {
  ------------------
  |  Branch (1270:10): [True: 4.41k, False: 0]
  |  Branch (1270:21): [True: 4.09k, False: 322]
  |  Branch (1270:31): [True: 0, False: 4.09k]
  |  Branch (1270:43): [True: 0, False: 4.09k]
  ------------------
 1271|      0|		warned = true;
 1272|      0|		warning("number of rows of result is not a multiple of vector length (arg %d)", na + 1);
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
 1273|      0|	    }
 1274|  4.41k|	    PROTECT(dn = getAttrib(u, R_NamesSymbol));
  ------------------
  |  |  357|  4.41k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1275|  4.41k|	    if (k >= lenmin && (TAG(t) != R_NilValue ||
  ------------------
  |  Branch (1275:10): [True: 4.09k, False: 322]
  |  Branch (1275:26): [True: 1.76k, False: 2.32k]
  ------------------
 1276|  2.32k|				(deparse_level == 2) ||
  ------------------
  |  Branch (1276:5): [True: 0, False: 2.32k]
  ------------------
 1277|  2.32k|				((deparse_level == 1) &&
  ------------------
  |  Branch (1277:6): [True: 2.32k, False: 0]
  ------------------
 1278|  2.32k|				 isSymbol(substitute(CAR(t),R_NilValue)))))
  ------------------
  |  |  953|  2.32k|#define isSymbol		Rf_isSymbol
  ------------------
              				 isSymbol(substitute(CAR(t),R_NilValue)))))
  ------------------
  |  | 1035|  2.32k|#define substitute		Rf_substitute
  ------------------
  |  Branch (1278:6): [True: 8, False: 2.31k]
  ------------------
 1279|  1.77k|		have_cnames = true;
 1280|  4.41k|	    nnames = imax2(nnames, length(dn));
  ------------------
  |  |   31|  4.41k|#define imax2(x, y) ((x < y) ? y : x)
  |  |  ------------------
  |  |  |  Branch (31:22): [True: 294, False: 4.11k]
  |  |  ------------------
  ------------------
 1281|  4.41k|	    UNPROTECT(1); /* dn */
  ------------------
  |  |  358|  4.41k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1282|  4.41k|	}
 1283|  4.42k|    }
 1284|  1.40k|    if (mnames || nnames == rows)
  ------------------
  |  Branch (1284:9): [True: 0, False: 1.40k]
  |  Branch (1284:19): [True: 294, False: 1.11k]
  ------------------
 1285|    294|	have_rnames = true;
 1286|       |
 1287|  1.40k|    PROTECT(result = allocMatrix(mode, rows, cols));
  ------------------
  |  |  357|  1.40k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1288|  1.40k|    R_xlen_t n = 0; // index, possibly of long vector
 1289|       |
 1290|  1.40k|    if (mode == STRSXP) {
  ------------------
  |  |  126|  1.40k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1290:9): [True: 8, False: 1.39k]
  ------------------
 1291|     32|	for (t = args; t != R_NilValue; t = CDR(t)) {
  ------------------
  |  Branch (1291:17): [True: 24, False: 8]
  ------------------
 1292|     24|	    u = PRVALUE(CAR(t));
 1293|     24|	    if (isMatrix(u) || length(u) >= lenmin) {
  ------------------
  |  |  954|     24|#define isMatrix		Rf_isMatrix
  ------------------
              	    if (isMatrix(u) || length(u) >= lenmin) {
  ------------------
  |  |  987|     16|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1293:10): [True: 8, False: 16]
  |  Branch (1293:25): [True: 16, False: 0]
  ------------------
 1294|     24|		u = coerceVector(u, STRSXP);
  ------------------
  |  |  895|     24|#define coerceVector		Rf_coerceVector
  ------------------
              		u = coerceVector(u, STRSXP);
  ------------------
  |  |  126|     24|#define STRSXP	    16	  /* string vectors */
  ------------------
 1295|     24|		R_xlen_t k = XLENGTH(u);
 1296|     24|		R_xlen_t idx = (!isMatrix(u)) ? rows : k;
  ------------------
  |  |  954|     24|#define isMatrix		Rf_isMatrix
  ------------------
  |  Branch (1296:18): [True: 16, False: 8]
  ------------------
 1297|     24|		xcopyStringWithRecycle(result, u, n, idx, k);
 1298|     24|		n += idx;
 1299|     24|	    }
 1300|     24|	}
 1301|      8|    }
 1302|  1.39k|    else if (mode == VECSXP) {
  ------------------
  |  |  131|  1.39k|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (1302:14): [True: 0, False: 1.39k]
  ------------------
 1303|      0|	for (t = args; t != R_NilValue; t = CDR(t)) {
  ------------------
  |  Branch (1303:17): [True: 0, False: 0]
  ------------------
 1304|      0|	    u = PRVALUE(CAR(t));
 1305|      0|	    int umatrix = isMatrix(u); /* might be lost in coercion to VECSXP */
  ------------------
  |  |  954|      0|#define isMatrix		Rf_isMatrix
  ------------------
 1306|      0|	    if (umatrix || length(u) >= lenmin) {
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1306:10): [True: 0, False: 0]
  |  Branch (1306:21): [True: 0, False: 0]
  ------------------
 1307|       |		/* we cannot assume here that coercion will work */
 1308|      0|		switch(TYPEOF(u)) {
 1309|      0|		case NILSXP:
  ------------------
  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (1309:3): [True: 0, False: 0]
  ------------------
 1310|      0|		case LANGSXP:
  ------------------
  |  |  117|      0|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (1310:3): [True: 0, False: 0]
  ------------------
 1311|      0|		case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (1311:3): [True: 0, False: 0]
  ------------------
 1312|      0|		case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (1312:3): [True: 0, False: 0]
  ------------------
 1313|      0|		case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1313:3): [True: 0, False: 0]
  ------------------
 1314|      0|		case REALSXP:
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1314:3): [True: 0, False: 0]
  ------------------
 1315|      0|		case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (1315:3): [True: 0, False: 0]
  ------------------
 1316|      0|		case STRSXP:
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1316:3): [True: 0, False: 0]
  ------------------
 1317|      0|		case VECSXP:
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (1317:3): [True: 0, False: 0]
  ------------------
 1318|      0|		case LISTSXP:
  ------------------
  |  |  113|      0|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (1318:3): [True: 0, False: 0]
  ------------------
 1319|      0|		    PROTECT(u = coerceVector(u, mode));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1320|      0|		    R_xlen_t k = XLENGTH(u);
 1321|      0|		    if (k > 0) {
  ------------------
  |  Branch (1321:11): [True: 0, False: 0]
  ------------------
 1322|      0|			R_xlen_t idx = (!umatrix) ? rows : k;
  ------------------
  |  Branch (1322:19): [True: 0, False: 0]
  ------------------
 1323|      0|			R_xlen_t i, i1;
 1324|      0|			MOD_ITERATE1(idx, k, i, i1, {
  ------------------
  |  |   67|      0|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |   68|      0|	i = i1 = 0;					\
  |  |   69|      0|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  ------------------
  |  |  |  |   59|      0|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |   60|      0|	for (; i < n;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (60:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   61|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (61:12): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   62|      0|		 ++i) {							\
  |  |  |  |   63|      0|	    loop_body							\
  |  |  |  |   64|      0|		}							\
  |  |  |  |   65|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   70|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (70:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1325|      0|			    SET_VECTOR_ELT(result, n++,
 1326|      0|				lazy_duplicate(VECTOR_ELT(u, i1)));
 1327|      0|			});
 1328|      0|		    }
 1329|      0|		    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1330|      0|		    break;
 1331|      0|		default:
  ------------------
  |  Branch (1331:3): [True: 0, False: 0]
  ------------------
 1332|      0|		    for (int i = 0; i < rows; i++)
  ------------------
  |  Branch (1332:23): [True: 0, False: 0]
  ------------------
 1333|      0|			SET_VECTOR_ELT(result, n++, lazy_duplicate(u));
  ------------------
  |  |  985|      0|#define lazy_duplicate		Rf_lazy_duplicate
  ------------------
 1334|      0|		}
 1335|      0|	    }
 1336|      0|	}
 1337|      0|    }
 1338|  1.39k|    else if (mode == CPLXSXP) {
  ------------------
  |  |  125|  1.39k|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (1338:14): [True: 0, False: 1.39k]
  ------------------
 1339|      0|	for (t = args; t != R_NilValue; t = CDR(t)) {
  ------------------
  |  Branch (1339:17): [True: 0, False: 0]
  ------------------
 1340|      0|	    u = PRVALUE(CAR(t));
 1341|      0|	    if (isMatrix(u) || length(u) >= lenmin) {
  ------------------
  |  |  954|      0|#define isMatrix		Rf_isMatrix
  ------------------
              	    if (isMatrix(u) || length(u) >= lenmin) {
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1341:10): [True: 0, False: 0]
  |  Branch (1341:25): [True: 0, False: 0]
  ------------------
 1342|      0|		u = coerceVector(u, CPLXSXP);
  ------------------
  |  |  895|      0|#define coerceVector		Rf_coerceVector
  ------------------
              		u = coerceVector(u, CPLXSXP);
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
 1343|      0|		R_xlen_t k = XLENGTH(u);
 1344|      0|		R_xlen_t idx = (!isMatrix(u)) ? rows : k;
  ------------------
  |  |  954|      0|#define isMatrix		Rf_isMatrix
  ------------------
  |  Branch (1344:18): [True: 0, False: 0]
  ------------------
 1345|      0|		xcopyComplexWithRecycle(COMPLEX(result), COMPLEX(u), n, idx, k);
 1346|      0|		n += idx;
 1347|      0|	    }
 1348|      0|	}
 1349|      0|    }
 1350|  1.39k|    else if (mode == RAWSXP) {
  ------------------
  |  |  136|  1.39k|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (1350:14): [True: 0, False: 1.39k]
  ------------------
 1351|      0|	for (t = args; t != R_NilValue; t = CDR(t)) {
  ------------------
  |  Branch (1351:17): [True: 0, False: 0]
  ------------------
 1352|      0|	    u = PRVALUE(CAR(t));
 1353|      0|	    if (isMatrix(u) || length(u) >= lenmin) {
  ------------------
  |  |  954|      0|#define isMatrix		Rf_isMatrix
  ------------------
              	    if (isMatrix(u) || length(u) >= lenmin) {
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1353:10): [True: 0, False: 0]
  |  Branch (1353:25): [True: 0, False: 0]
  ------------------
 1354|      0|		u = coerceVector(u, RAWSXP);
  ------------------
  |  |  895|      0|#define coerceVector		Rf_coerceVector
  ------------------
              		u = coerceVector(u, RAWSXP);
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
 1355|      0|		R_xlen_t k = XLENGTH(u);
 1356|      0|		R_xlen_t idx = (!isMatrix(u)) ? rows : k;
  ------------------
  |  |  954|      0|#define isMatrix		Rf_isMatrix
  ------------------
  |  Branch (1356:18): [True: 0, False: 0]
  ------------------
 1357|      0|		xcopyRawWithRecycle(RAW(result), RAW(u), n, idx, k);
 1358|      0|		n += idx;
 1359|      0|	    }
 1360|      0|	}
 1361|      0|    }
 1362|  1.39k|    else { /* everything else, currently NILSXP, REALSXP, INTSXP, LGLSXP */
 1363|  5.79k|	for (t = args; t != R_NilValue; t = CDR(t)) {
  ------------------
  |  Branch (1363:17): [True: 4.39k, False: 1.39k]
  ------------------
 1364|  4.39k|	    u = PRVALUE(CAR(t)); /* type of u can be any of: RAW, LGL, INT, REAL, or NULL */
 1365|  4.39k|	    if (isMatrix(u) || length(u) >= lenmin) {
  ------------------
  |  |  954|  4.39k|#define isMatrix		Rf_isMatrix
  ------------------
              	    if (isMatrix(u) || length(u) >= lenmin) {
  ------------------
  |  |  987|  4.39k|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1365:10): [True: 0, False: 4.39k]
  |  Branch (1365:25): [True: 4.07k, False: 322]
  ------------------
 1366|  4.07k|		R_xlen_t k = xlength(u); /* use xlength since u can be NULL */
  ------------------
  |  | 1049|  4.07k|#define xlength(x)		Rf_xlength(x)
  ------------------
 1367|  4.07k|		R_xlen_t idx = (!isMatrix(u)) ? rows : k;
  ------------------
  |  |  954|  4.07k|#define isMatrix		Rf_isMatrix
  ------------------
  |  Branch (1367:18): [True: 4.07k, False: 0]
  ------------------
 1368|  4.07k|		if (idx > 0 && TYPEOF(u) <= INTSXP) {
  ------------------
  |  |  123|  4.07k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1368:7): [True: 4.07k, False: 0]
  |  Branch (1368:18): [True: 0, False: 4.07k]
  ------------------
 1369|       |		    /* NILSXP or INT or LGL
 1370|       |		     * taking INTERER(NILSXP) should segfault, and
 1371|       |		     * sometimes does.  But if cbind-ing a NULL, there
 1372|       |		     * are zero rows and u is not a matrix, so nothing to do. */
 1373|      0|		    if (mode <= INTSXP) {
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1373:11): [True: 0, False: 0]
  ------------------
 1374|      0|			xcopyIntegerWithRecycle(INTEGER(result), INTEGER(u),
 1375|      0|						n, idx, k);
 1376|      0|			n += idx;
 1377|      0|		    }
 1378|      0|		    else {
 1379|      0|			R_xlen_t i, i1;
 1380|      0|			MOD_ITERATE1(idx, k, i, i1, {
  ------------------
  |  |   67|      0|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |   68|      0|	i = i1 = 0;					\
  |  |   69|      0|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  ------------------
  |  |  |  |   59|      0|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |   60|      0|	for (; i < n;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (60:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   61|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (61:12): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   62|      0|		 ++i) {							\
  |  |  |  |   63|      0|	    loop_body							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   64|      0|		}							\
  |  |  |  |   65|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   70|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (70:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1381|      0|			    REAL(result)[n++] =
 1382|      0|				(INTEGER(u)[i1]) == NA_INTEGER ? NA_REAL : INTEGER(u)[i1];
 1383|      0|			});
 1384|      0|		    }
 1385|      0|		}
 1386|  4.07k|		else if (TYPEOF(u) == REALSXP) {
  ------------------
  |  |  124|  4.07k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1386:12): [True: 4.07k, False: 0]
  ------------------
 1387|  4.07k|		    xcopyRealWithRecycle(REAL(result), REAL(u), n, idx, k);
 1388|  4.07k|		    n += idx;
 1389|  4.07k|		}
 1390|      0|		else { /* u is a RAWSXP */
 1391|       |		    /* FIXME: I'm not sure what the author intended when the sequence was
 1392|       |		       defined as raw < logical -- it is possible to represent logical as
 1393|       |		       raw losslessly but not vice versa. So due to the way this was
 1394|       |		       defined the raw -> logical conversion is bound to be lossy .. 
 1395|       |		       But it is not: logicals include NAs, raws do not.
 1396|       |*/
 1397|      0|		    if (mode == LGLSXP) {
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (1397:11): [True: 0, False: 0]
  ------------------
 1398|      0|			R_xlen_t i, i1;
 1399|      0|			MOD_ITERATE1(idx, k, i, i1, {
  ------------------
  |  |   67|      0|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |   68|      0|	i = i1 = 0;					\
  |  |   69|      0|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  ------------------
  |  |  |  |   59|      0|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |   60|      0|	for (; i < n;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (60:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   61|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (61:12): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   62|      0|		 ++i) {							\
  |  |  |  |   63|      0|	    loop_body							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   64|      0|		}							\
  |  |  |  |   65|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   70|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (70:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1400|      0|			    LOGICAL(result)[n++] = RAW(u)[i1] ? TRUE : FALSE;
 1401|      0|			});
 1402|      0|		    } else if (mode == INTSXP) {
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1402:18): [True: 0, False: 0]
  ------------------
 1403|      0|			R_xlen_t i, i1;
 1404|      0|			MOD_ITERATE1(idx, k, i, i1, {
  ------------------
  |  |   67|      0|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |   68|      0|	i = i1 = 0;					\
  |  |   69|      0|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  ------------------
  |  |  |  |   59|      0|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |   60|      0|	for (; i < n;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (60:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   61|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (61:12): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   62|      0|		 ++i) {							\
  |  |  |  |   63|      0|	    loop_body							\
  |  |  |  |   64|      0|		}							\
  |  |  |  |   65|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   70|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (70:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1405|      0|			    INTEGER(result)[n++] = (unsigned char) RAW(u)[i1];
 1406|      0|			});
 1407|      0|		    } else if (mode == REALSXP) {
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1407:18): [True: 0, False: 0]
  ------------------
 1408|      0|			R_xlen_t i, i1;
 1409|      0|			MOD_ITERATE1(idx, k, i, i1, {
  ------------------
  |  |   67|      0|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |   68|      0|	i = i1 = 0;					\
  |  |   69|      0|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  ------------------
  |  |  |  |   59|      0|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |   60|      0|	for (; i < n;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (60:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   61|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (61:12): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   62|      0|		 ++i) {							\
  |  |  |  |   63|      0|	    loop_body							\
  |  |  |  |   64|      0|		}							\
  |  |  |  |   65|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   70|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (70:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1410|      0|			    REAL(result)[n++] = (unsigned char) RAW(u)[i1];
 1411|      0|			});
 1412|      0|		    } else
 1413|       |			/* not sure this can be reached, but to be safe: */
 1414|       |                        /* `mode` is created in do_bind(), it can only
 1415|       |                         be one of: NILSXP, LGLSXP, INTSXP, REALSXP,
 1416|       |                         CPLXSXP, STRSXP, VECSXP, RAWSXP */
 1417|      0|			error(_("cannot create a matrix of type '%s'"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              			error(_("cannot create a matrix of type '%s'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1418|      0|			      type2char(mode));
  ------------------
  |  | 1040|      0|#define type2char		Rf_type2char
  ------------------
 1419|      0|		}
 1420|  4.07k|	    }
 1421|  4.39k|	}
 1422|  1.39k|    }
 1423|       |
 1424|       |    /* Adjustment of dimnames attributes. */
 1425|  1.40k|    if (have_cnames || have_rnames) {
  ------------------
  |  Branch (1425:9): [True: 597, False: 808]
  |  Branch (1425:24): [True: 176, False: 632]
  ------------------
 1426|    773|	SEXP nam, tnam,v;
 1427|    773|	PROTECT(dn = allocVector(VECSXP, 2));
  ------------------
  |  |  357|    773|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1428|    773|	if (have_cnames)
  ------------------
  |  Branch (1428:6): [True: 597, False: 176]
  ------------------
 1429|    597|	    nam = SET_VECTOR_ELT(dn, 1, allocVector(STRSXP, cols));
  ------------------
  |  |  875|    597|#define allocVector		Rf_allocVector
  ------------------
              	    nam = SET_VECTOR_ELT(dn, 1, allocVector(STRSXP, cols));
  ------------------
  |  |  126|    597|#define STRSXP	    16	  /* string vectors */
  ------------------
 1430|    176|	else
 1431|    176|	    nam = R_NilValue;	/* -Wall */
 1432|    773|	int j = 0;
 1433|  2.97k|	for (t = args; t != R_NilValue; t = CDR(t)) {
  ------------------
  |  Branch (1433:17): [True: 2.20k, False: 773]
  ------------------
 1434|  2.20k|	    u = PRVALUE(CAR(t));
 1435|  2.20k|	    if (isMatrix(u)) {
  ------------------
  |  |  954|  2.20k|#define isMatrix		Rf_isMatrix
  ------------------
  |  Branch (1435:10): [True: 8, False: 2.19k]
  ------------------
 1436|      8|		v = getAttrib(u, R_DimNamesSymbol);
  ------------------
  |  |  924|      8|#define getAttrib		Rf_getAttrib
  ------------------
 1437|       |
 1438|      8|		if (have_rnames &&
  ------------------
  |  Branch (1438:7): [True: 0, False: 8]
  ------------------
 1439|      0|		    GetRowNames(dn) == R_NilValue &&
  ------------------
  |  |  931|      0|#define GetRowNames		Rf_GetRowNames
  ------------------
  |  Branch (1439:7): [True: 0, False: 0]
  ------------------
 1440|      0|		    GetRowNames(v) != R_NilValue)
  ------------------
  |  |  931|      0|#define GetRowNames		Rf_GetRowNames
  ------------------
  |  Branch (1440:7): [True: 0, False: 0]
  ------------------
 1441|      0|		    SetRowNames(dn, lazy_duplicate(GetRowNames(v)));
  ------------------
  |  |  985|      0|#define lazy_duplicate		Rf_lazy_duplicate
  ------------------
              		    SetRowNames(dn, lazy_duplicate(GetRowNames(v)));
  ------------------
  |  |  931|      0|#define GetRowNames		Rf_GetRowNames
  ------------------
 1442|       |
 1443|       |		/* rbind() does this only  if(have_?names) .. : */
 1444|       |		/* but if tnam is non-null, have_cnames = TRUE: see above */
 1445|      8|		tnam = GetColNames(v);
  ------------------
  |  |  926|      8|#define GetColNames		Rf_GetColNames
  ------------------
 1446|      8|		if (tnam != R_NilValue) {
  ------------------
  |  Branch (1446:7): [True: 0, False: 8]
  ------------------
 1447|      0|		    for (int i = 0; i < length(tnam); i++)
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1447:23): [True: 0, False: 0]
  ------------------
 1448|      0|			SET_STRING_ELT(nam, j++, STRING_ELT(tnam, i));
 1449|      0|		}
 1450|      8|		else if (have_cnames) {
  ------------------
  |  Branch (1450:12): [True: 8, False: 0]
  ------------------
 1451|     32|		    for (int i = 0; i < ncols(u); i++)
  ------------------
  |  | 1005|     32|#define ncols			Rf_ncols
  ------------------
  |  Branch (1451:23): [True: 24, False: 8]
  ------------------
 1452|     24|			SET_STRING_ELT(nam, j++, R_BlankString);
 1453|      8|		}
 1454|  2.19k|	    } else if (length(u) >= lenmin) {
  ------------------
  |  |  987|  2.19k|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1454:17): [True: 2.19k, False: 0]
  ------------------
 1455|  2.19k|		u = getAttrib(u, R_NamesSymbol);
  ------------------
  |  |  924|  2.19k|#define getAttrib		Rf_getAttrib
  ------------------
 1456|       |
 1457|  2.19k|		if (have_rnames && GetRowNames(dn) == R_NilValue
  ------------------
  |  |  931|    766|#define GetRowNames		Rf_GetRowNames
  ------------------
  |  Branch (1457:7): [True: 766, False: 1.42k]
  |  Branch (1457:22): [True: 294, False: 472]
  ------------------
 1458|    294|		    && u != R_NilValue && length(u) == rows)
  ------------------
  |  |  987|    294|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1458:10): [True: 294, False: 0]
  |  Branch (1458:29): [True: 294, False: 0]
  ------------------
 1459|    294|		    SetRowNames(dn, lazy_duplicate(u));
  ------------------
  |  |  985|    294|#define lazy_duplicate		Rf_lazy_duplicate
  ------------------
 1460|       |
 1461|  2.19k|		if (TAG(t) != R_NilValue)
  ------------------
  |  Branch (1461:7): [True: 1.76k, False: 428]
  ------------------
 1462|  1.76k|		    SET_STRING_ELT(nam, j++, PRINTNAME(TAG(t)));
 1463|    428|		else {
 1464|    428|		    expr = substitute(CAR(t), R_NilValue);
  ------------------
  |  | 1035|    428|#define substitute		Rf_substitute
  ------------------
 1465|    428|		    if (deparse_level == 1 && isSymbol(expr))
  ------------------
  |  |  953|    428|#define isSymbol		Rf_isSymbol
  ------------------
  |  Branch (1465:11): [True: 428, False: 0]
  |  Branch (1465:33): [True: 8, False: 420]
  ------------------
 1466|      8|			SET_STRING_ELT(nam, j++, PRINTNAME(expr));
 1467|    420|		    else if (deparse_level == 2) {
  ------------------
  |  Branch (1467:16): [True: 0, False: 420]
  ------------------
 1468|      0|			PROTECT(expr);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1469|      0|			SET_STRING_ELT(nam, j++,
 1470|      0|				       STRING_ELT(deparse1line(expr, true), 0));
  ------------------
  |  | 1889|      0|# define deparse1line		Rf_deparse1line
  ------------------
 1471|      0|			UNPROTECT(1); /* expr */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1472|    420|		    } else if (have_cnames)
  ------------------
  |  Branch (1472:18): [True: 8, False: 412]
  ------------------
 1473|      8|			SET_STRING_ELT(nam, j++, R_BlankString);
 1474|    428|		}
 1475|  2.19k|	    }
 1476|  2.20k|	}
 1477|    773|	setAttrib(result, R_DimNamesSymbol, dn);
  ------------------
  |  | 1027|    773|#define setAttrib		Rf_setAttrib
  ------------------
 1478|    773|	UNPROTECT(1);
  ------------------
  |  |  358|    773|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1479|    773|    }
 1480|  1.40k|    UNPROTECT(1);
  ------------------
  |  |  358|  1.40k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1481|  1.40k|    return result;
 1482|  1.40k|} /* cbind */
bind.c:SetRowNames:
 1188|    294|{
 1189|    294|    if (TYPEOF(dimnames) == VECSXP)
  ------------------
  |  |  131|    294|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (1189:9): [True: 294, False: 0]
  ------------------
 1190|    294|	SET_VECTOR_ELT(dimnames, 0, x);
 1191|      0|    else if (TYPEOF(dimnames) == LISTSXP)
  ------------------
  |  |  113|      0|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (1191:14): [True: 0, False: 0]
  ------------------
 1192|      0|	SETCAR(dimnames, x);
 1193|    294|}
bind.c:rbind:
 1486|  1.08k|{
 1487|  1.08k|    bool have_rnames = false, have_cnames = false, warned = false;
 1488|  1.08k|    int nnames, mnames;
 1489|  1.08k|    int rows, cols, mcols, lenmin = 0;
 1490|  1.08k|    SEXP dn, t, u, result, dims, expr;
 1491|       |
 1492|  1.08k|    nnames = 0;
 1493|  1.08k|    mnames = 0;
 1494|  1.08k|    rows = 0;
 1495|  1.08k|    cols = 0;
 1496|  1.08k|    mcols = -1;
 1497|       |
 1498|       |    /* check if we are in the zero-cols case */
 1499|       |
 1500|  1.25k|    for (t = args; t != R_NilValue; t = CDR(t)) {
  ------------------
  |  Branch (1500:20): [True: 1.19k, False: 58]
  ------------------
 1501|  1.19k|	u = PRVALUE(CAR(t));
 1502|  1.19k|	if((isMatrix(u) ? ncols(u) : length(u)) > 0) {
  ------------------
  |  |  954|  1.19k|#define isMatrix		Rf_isMatrix
  ------------------
              	if((isMatrix(u) ? ncols(u) : length(u)) > 0) {
  ------------------
  |  | 1005|      8|#define ncols			Rf_ncols
  ------------------
              	if((isMatrix(u) ? ncols(u) : length(u)) > 0) {
  ------------------
  |  |  987|  1.19k|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1502:5): [True: 1.02k, False: 174]
  |  Branch (1502:6): [True: 8, False: 1.19k]
  ------------------
 1503|  1.02k|	    lenmin = 1;
 1504|  1.02k|	    break;
 1505|  1.02k|	}
 1506|  1.19k|    }
 1507|       |
 1508|       |    /* check conformability of matrix arguments */
 1509|       |
 1510|  1.08k|    int na = 0;
 1511|  4.32k|    for (t = args; t != R_NilValue; t = CDR(t), na++) {
  ------------------
  |  Branch (1511:20): [True: 3.24k, False: 1.08k]
  ------------------
 1512|  3.24k|	u = PRVALUE(CAR(t));
 1513|  3.24k|	dims = getAttrib(u, R_DimSymbol);
  ------------------
  |  |  924|  3.24k|#define getAttrib		Rf_getAttrib
  ------------------
 1514|  3.24k|	if (length(dims) == 2) {
  ------------------
  |  |  987|  3.24k|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1514:6): [True: 16, False: 3.22k]
  ------------------
 1515|     16|	    if (mcols == -1)
  ------------------
  |  Branch (1515:10): [True: 8, False: 8]
  ------------------
 1516|      8|		mcols = INTEGER(dims)[1];
 1517|      8|	    else if (mcols != INTEGER(dims)[1])
  ------------------
  |  Branch (1517:15): [True: 0, False: 8]
  ------------------
 1518|      0|		error(_("number of columns of matrices must match (see arg %d)"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("number of columns of matrices must match (see arg %d)"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1519|      0|		      na + 1);
 1520|     16|	    rows += INTEGER(dims)[0];
 1521|     16|	}
 1522|  3.22k|	else if (length(u) >= lenmin){
  ------------------
  |  |  987|  3.22k|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1522:11): [True: 3.22k, False: 0]
  ------------------
 1523|  3.22k|	    cols = imax2(cols, length(u));
  ------------------
  |  |   31|  3.22k|#define imax2(x, y) ((x < y) ? y : x)
  |  |  ------------------
  |  |  |  Branch (31:22): [True: 1.01k, False: 2.20k]
  |  |  ------------------
  ------------------
 1524|  3.22k|	    rows += 1;
 1525|  3.22k|	}
 1526|  3.24k|    }
 1527|  1.08k|    if (mcols != -1) cols = mcols;
  ------------------
  |  Branch (1527:9): [True: 8, False: 1.07k]
  ------------------
 1528|       |
 1529|       |    /* Check conformability of vector arguments. -- Look for dimnames. */
 1530|       |
 1531|  1.08k|    na = 0;
 1532|  4.32k|    for (t = args; t != R_NilValue; t = CDR(t), na++) {
  ------------------
  |  Branch (1532:20): [True: 3.24k, False: 1.08k]
  ------------------
 1533|  3.24k|	u = PRVALUE(CAR(t));
 1534|  3.24k|	dims = getAttrib(u, R_DimSymbol);
  ------------------
  |  |  924|  3.24k|#define getAttrib		Rf_getAttrib
  ------------------
 1535|  3.24k|	if (length(dims) == 2) {
  ------------------
  |  |  987|  3.24k|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1535:6): [True: 16, False: 3.22k]
  ------------------
 1536|     16|	    dn = getAttrib(u, R_DimNamesSymbol);
  ------------------
  |  |  924|     16|#define getAttrib		Rf_getAttrib
  ------------------
 1537|     16|	    if (length(dn) == 2) {
  ------------------
  |  |  987|     16|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1537:10): [True: 0, False: 16]
  ------------------
 1538|      0|		if (VECTOR_ELT(dn, 0) != R_NilValue)
  ------------------
  |  Branch (1538:7): [True: 0, False: 0]
  ------------------
 1539|      0|		    have_rnames = true;
 1540|      0|		if (VECTOR_ELT(dn, 1) != R_NilValue)
  ------------------
  |  Branch (1540:7): [True: 0, False: 0]
  ------------------
 1541|      0|		    mnames = mcols;
 1542|      0|	    }
 1543|     16|	}
 1544|  3.22k|	else {
 1545|  3.22k|	    int k = length(u);
  ------------------
  |  |  987|  3.22k|#define length(x)		Rf_length(x)
  ------------------
 1546|  3.22k|	    if (!warned && k>0 && (k > cols || cols % k)) {
  ------------------
  |  Branch (1546:10): [True: 3.22k, False: 0]
  |  Branch (1546:21): [True: 3.05k, False: 174]
  |  Branch (1546:29): [True: 0, False: 3.05k]
  |  Branch (1546:41): [True: 0, False: 3.05k]
  ------------------
 1547|      0|		warned = true;
 1548|      0|		warning("number of columns of result is not a multiple of vector length (arg %d)", na + 1);
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
 1549|      0|	    }
 1550|  3.22k|	    PROTECT(dn = getAttrib(u, R_NamesSymbol));
  ------------------
  |  |  357|  3.22k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1551|  3.22k|	    if (k >= lenmin && (TAG(t) != R_NilValue ||
  ------------------
  |  Branch (1551:10): [True: 3.22k, False: 0]
  |  Branch (1551:26): [True: 0, False: 3.22k]
  ------------------
 1552|  3.22k|				(deparse_level == 2) ||
  ------------------
  |  Branch (1552:5): [True: 0, False: 3.22k]
  ------------------
 1553|  3.22k|				((deparse_level == 1) &&
  ------------------
  |  Branch (1553:6): [True: 3.22k, False: 0]
  ------------------
 1554|  3.22k|				 isSymbol(substitute(CAR(t),R_NilValue)))))
  ------------------
  |  |  953|  3.22k|#define isSymbol		Rf_isSymbol
  ------------------
              				 isSymbol(substitute(CAR(t),R_NilValue)))))
  ------------------
  |  | 1035|  3.22k|#define substitute		Rf_substitute
  ------------------
  |  Branch (1554:6): [True: 3.22k, False: 0]
  ------------------
 1555|  3.22k|		have_rnames = true;
 1556|  3.22k|	    nnames = imax2(nnames, length(dn));
  ------------------
  |  |   31|  3.22k|#define imax2(x, y) ((x < y) ? y : x)
  |  |  ------------------
  |  |  |  Branch (31:22): [True: 0, False: 3.22k]
  |  |  ------------------
  ------------------
 1557|  3.22k|	    UNPROTECT(1); /* dn */
  ------------------
  |  |  358|  3.22k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1558|  3.22k|	}
 1559|  3.24k|    }
 1560|  1.08k|    if (mnames || nnames == cols)
  ------------------
  |  Branch (1560:9): [True: 0, False: 1.08k]
  |  Branch (1560:19): [True: 58, False: 1.02k]
  ------------------
 1561|     58|	have_cnames = true;
 1562|       |
 1563|  1.08k|    PROTECT(result = allocMatrix(mode, rows, cols));
  ------------------
  |  |  357|  1.08k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1564|       |
 1565|  1.08k|    R_xlen_t n = 0;
 1566|       |
 1567|  1.08k|    if (mode == STRSXP) {
  ------------------
  |  |  126|  1.08k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1567:9): [True: 8, False: 1.07k]
  ------------------
 1568|     24|	for (t = args; t != R_NilValue; t = CDR(t)) {
  ------------------
  |  Branch (1568:17): [True: 16, False: 8]
  ------------------
 1569|     16|	    u = PRVALUE(CAR(t));
 1570|     16|	    if (isMatrix(u) || length(u) >= lenmin) {
  ------------------
  |  |  954|     16|#define isMatrix		Rf_isMatrix
  ------------------
              	    if (isMatrix(u) || length(u) >= lenmin) {
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1570:10): [True: 16, False: 0]
  |  Branch (1570:25): [True: 0, False: 0]
  ------------------
 1571|     16|		u = coerceVector(u, STRSXP);
  ------------------
  |  |  895|     16|#define coerceVector		Rf_coerceVector
  ------------------
              		u = coerceVector(u, STRSXP);
  ------------------
  |  |  126|     16|#define STRSXP	    16	  /* string vectors */
  ------------------
 1572|     16|		R_xlen_t k = XLENGTH(u);
 1573|     16|		R_xlen_t idx = (isMatrix(u)) ? nrows(u) : (k > 0);
  ------------------
  |  |  954|     16|#define isMatrix		Rf_isMatrix
  ------------------
              		R_xlen_t idx = (isMatrix(u)) ? nrows(u) : (k > 0);
  ------------------
  |  | 1008|     16|#define nrows			Rf_nrows
  ------------------
  |  Branch (1573:18): [True: 16, False: 0]
  ------------------
 1574|     16|		xfillStringMatrixWithRecycle(result, u, n, rows, idx, cols, k);
 1575|     16|		n += idx;
 1576|     16|	    }
 1577|     16|	}
 1578|      8|    }
 1579|  1.07k|    else if (mode == VECSXP) {
  ------------------
  |  |  131|  1.07k|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (1579:14): [True: 0, False: 1.07k]
  ------------------
 1580|      0|	for (t = args; t != R_NilValue; t = CDR(t)) {
  ------------------
  |  Branch (1580:17): [True: 0, False: 0]
  ------------------
 1581|      0|	    u = PRVALUE(CAR(t));
 1582|      0|	    int umatrix = isMatrix(u), urows = umatrix ? nrows(u) : 1; /* coercing to VECSXP will lose these. PR#15468 */
  ------------------
  |  |  954|      0|#define isMatrix		Rf_isMatrix
  ------------------
              	    int umatrix = isMatrix(u), urows = umatrix ? nrows(u) : 1; /* coercing to VECSXP will lose these. PR#15468 */
  ------------------
  |  | 1008|      0|#define nrows			Rf_nrows
  ------------------
  |  Branch (1582:41): [True: 0, False: 0]
  ------------------
 1583|      0|	    if (umatrix || length(u) >= lenmin) {
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1583:10): [True: 0, False: 0]
  |  Branch (1583:21): [True: 0, False: 0]
  ------------------
 1584|      0|		PROTECT(u = coerceVector(u, mode));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1585|      0|		R_xlen_t k = XLENGTH(u);
 1586|      0|		R_xlen_t idx = umatrix ? urows : (k > 0);
  ------------------
  |  Branch (1586:18): [True: 0, False: 0]
  ------------------
 1587|      0|		FILL_MATRIX_ITERATE(n, rows, idx, cols, k)
  ------------------
  |  |   38|      0|    for(R_xlen_t i = 0, sidx = 0; i < srows; i++, sidx = i)		\
  |  |  ------------------
  |  |  |  Branch (38:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   39|      0|        for(R_xlen_t j = 0, didx = dstart + i; j < cols;		\
  |  |  ------------------
  |  |  |  Branch (39:48): [True: 0, False: 0]
  |  |  ------------------
  |  |   40|      0|            j++, 							\
  |  |   41|      0|            sidx += srows,						\
  |  |   42|      0|            (sidx >= nsrc) ? sidx -= nsrc : 0,				\
  |  |  ------------------
  |  |  |  Branch (42:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   43|      0|            didx += drows)
  ------------------
 1588|      0|		    SET_VECTOR_ELT(result, didx,
 1589|      0|			lazy_duplicate(VECTOR_ELT(u, sidx)));
  ------------------
  |  |  985|      0|#define lazy_duplicate		Rf_lazy_duplicate
  ------------------
 1590|      0|		n += idx;
 1591|      0|		UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1592|      0|	    }
 1593|      0|	}
 1594|      0|    }
 1595|  1.07k|    else if (mode == RAWSXP) {
  ------------------
  |  |  136|  1.07k|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (1595:14): [True: 0, False: 1.07k]
  ------------------
 1596|      0|	for (t = args; t != R_NilValue; t = CDR(t)) {
  ------------------
  |  Branch (1596:17): [True: 0, False: 0]
  ------------------
 1597|      0|	    u = PRVALUE(CAR(t));
 1598|      0|	    if (isMatrix(u) || length(u) >= lenmin) {
  ------------------
  |  |  954|      0|#define isMatrix		Rf_isMatrix
  ------------------
              	    if (isMatrix(u) || length(u) >= lenmin) {
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1598:10): [True: 0, False: 0]
  |  Branch (1598:25): [True: 0, False: 0]
  ------------------
 1599|      0|		u = coerceVector(u, RAWSXP);
  ------------------
  |  |  895|      0|#define coerceVector		Rf_coerceVector
  ------------------
              		u = coerceVector(u, RAWSXP);
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
 1600|      0|		R_xlen_t k = XLENGTH(u);
 1601|      0|		R_xlen_t idx = (isMatrix(u)) ? nrows(u) : (k > 0);
  ------------------
  |  |  954|      0|#define isMatrix		Rf_isMatrix
  ------------------
              		R_xlen_t idx = (isMatrix(u)) ? nrows(u) : (k > 0);
  ------------------
  |  | 1008|      0|#define nrows			Rf_nrows
  ------------------
  |  Branch (1601:18): [True: 0, False: 0]
  ------------------
 1602|      0|		xfillRawMatrixWithRecycle(RAW(result), RAW(u), n, rows, idx,
 1603|      0|					  cols, k);
 1604|      0|		n += idx;
 1605|      0|	    }
 1606|      0|	}
 1607|      0|    }
 1608|  1.07k|    else if (mode == CPLXSXP) {
  ------------------
  |  |  125|  1.07k|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (1608:14): [True: 0, False: 1.07k]
  ------------------
 1609|      0|	for (t = args; t != R_NilValue; t = CDR(t)) {
  ------------------
  |  Branch (1609:17): [True: 0, False: 0]
  ------------------
 1610|      0|	    u = PRVALUE(CAR(t));
 1611|      0|	    if (isMatrix(u) || length(u) >= lenmin) {
  ------------------
  |  |  954|      0|#define isMatrix		Rf_isMatrix
  ------------------
              	    if (isMatrix(u) || length(u) >= lenmin) {
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1611:10): [True: 0, False: 0]
  |  Branch (1611:25): [True: 0, False: 0]
  ------------------
 1612|      0|		u = coerceVector(u, CPLXSXP);
  ------------------
  |  |  895|      0|#define coerceVector		Rf_coerceVector
  ------------------
              		u = coerceVector(u, CPLXSXP);
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
 1613|      0|		R_xlen_t k = XLENGTH(u);
 1614|      0|		R_xlen_t idx = (isMatrix(u)) ? nrows(u) : (k > 0);
  ------------------
  |  |  954|      0|#define isMatrix		Rf_isMatrix
  ------------------
              		R_xlen_t idx = (isMatrix(u)) ? nrows(u) : (k > 0);
  ------------------
  |  | 1008|      0|#define nrows			Rf_nrows
  ------------------
  |  Branch (1614:18): [True: 0, False: 0]
  ------------------
 1615|      0|		xfillComplexMatrixWithRecycle(COMPLEX(result), COMPLEX(u), n,
 1616|      0|					      rows, idx, cols, k);
 1617|      0|		n += idx;
 1618|      0|	    }
 1619|      0|	}
 1620|      0|    }
 1621|  1.07k|    else if (mode == INTSXP) {
  ------------------
  |  |  123|  1.07k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1621:14): [True: 0, False: 1.07k]
  ------------------
 1622|      0|	for (t = args; t != R_NilValue; t = CDR(t)) {
  ------------------
  |  Branch (1622:17): [True: 0, False: 0]
  ------------------
 1623|      0|	    u = PRVALUE(CAR(t));
 1624|      0|	    if (isMatrix(u) || length(u) >= lenmin) {
  ------------------
  |  |  954|      0|#define isMatrix		Rf_isMatrix
  ------------------
              	    if (isMatrix(u) || length(u) >= lenmin) {
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1624:10): [True: 0, False: 0]
  |  Branch (1624:25): [True: 0, False: 0]
  ------------------
 1625|      0|		u = coerceVector(u, INTSXP);
  ------------------
  |  |  895|      0|#define coerceVector		Rf_coerceVector
  ------------------
              		u = coerceVector(u, INTSXP);
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
 1626|      0|		R_xlen_t k = XLENGTH(u);
 1627|      0|		R_xlen_t idx = (isMatrix(u)) ? nrows(u) : (k > 0);
  ------------------
  |  |  954|      0|#define isMatrix		Rf_isMatrix
  ------------------
              		R_xlen_t idx = (isMatrix(u)) ? nrows(u) : (k > 0);
  ------------------
  |  | 1008|      0|#define nrows			Rf_nrows
  ------------------
  |  Branch (1627:18): [True: 0, False: 0]
  ------------------
 1628|      0|		xfillIntegerMatrixWithRecycle(INTEGER(result), INTEGER(u), n, rows, idx,
 1629|      0|					  cols, k);
 1630|      0|		n += idx;
 1631|      0|	    }
 1632|      0|	}
 1633|      0|    }
 1634|  1.07k|     else if (mode == LGLSXP) {
  ------------------
  |  |  121|  1.07k|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (1634:15): [True: 0, False: 1.07k]
  ------------------
 1635|      0|	for (t = args; t != R_NilValue; t = CDR(t)) {
  ------------------
  |  Branch (1635:17): [True: 0, False: 0]
  ------------------
 1636|      0|	    u = PRVALUE(CAR(t));
 1637|      0|	    if (isMatrix(u) || length(u) >= lenmin) {
  ------------------
  |  |  954|      0|#define isMatrix		Rf_isMatrix
  ------------------
              	    if (isMatrix(u) || length(u) >= lenmin) {
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1637:10): [True: 0, False: 0]
  |  Branch (1637:25): [True: 0, False: 0]
  ------------------
 1638|      0|		u = coerceVector(u, LGLSXP);
  ------------------
  |  |  895|      0|#define coerceVector		Rf_coerceVector
  ------------------
              		u = coerceVector(u, LGLSXP);
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
 1639|      0|		R_xlen_t k = XLENGTH(u);
 1640|      0|		R_xlen_t idx = (isMatrix(u)) ? nrows(u) : (k > 0);
  ------------------
  |  |  954|      0|#define isMatrix		Rf_isMatrix
  ------------------
              		R_xlen_t idx = (isMatrix(u)) ? nrows(u) : (k > 0);
  ------------------
  |  | 1008|      0|#define nrows			Rf_nrows
  ------------------
  |  Branch (1640:18): [True: 0, False: 0]
  ------------------
 1641|      0|		xfillLogicalMatrixWithRecycle(LOGICAL(result), LOGICAL(u), n, rows, idx,
 1642|      0|					  cols, k);
 1643|      0|		n += idx;
 1644|      0|	    }
 1645|      0|	}
 1646|      0|     }
 1647|  1.07k|     else if (mode == REALSXP) {
  ------------------
  |  |  124|  1.07k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1647:15): [True: 1.07k, False: 0]
  ------------------
 1648|  4.30k|	 for (t = args; t != R_NilValue; t = CDR(t)) {
  ------------------
  |  Branch (1648:18): [True: 3.22k, False: 1.07k]
  ------------------
 1649|  3.22k|	     u = PRVALUE(CAR(t));
 1650|  3.22k|	     if (isMatrix(u) || length(u) >= lenmin) {
  ------------------
  |  |  954|  3.22k|#define isMatrix		Rf_isMatrix
  ------------------
              	     if (isMatrix(u) || length(u) >= lenmin) {
  ------------------
  |  |  987|  3.22k|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1650:11): [True: 0, False: 3.22k]
  |  Branch (1650:26): [True: 3.22k, False: 0]
  ------------------
 1651|  3.22k|		 u = coerceVector(u, REALSXP);
  ------------------
  |  |  895|  3.22k|#define coerceVector		Rf_coerceVector
  ------------------
              		 u = coerceVector(u, REALSXP);
  ------------------
  |  |  124|  3.22k|#define REALSXP	    14	  /* real variables */
  ------------------
 1652|  3.22k|		 R_xlen_t k = XLENGTH(u);
 1653|  3.22k|		 R_xlen_t idx = (isMatrix(u)) ? nrows(u) : (k > 0);
  ------------------
  |  |  954|  3.22k|#define isMatrix		Rf_isMatrix
  ------------------
              		 R_xlen_t idx = (isMatrix(u)) ? nrows(u) : (k > 0);
  ------------------
  |  | 1008|      0|#define nrows			Rf_nrows
  ------------------
  |  Branch (1653:19): [True: 0, False: 3.22k]
  ------------------
 1654|  3.22k|		 xfillRealMatrixWithRecycle(REAL(result), REAL(u), n, rows, idx,
 1655|  3.22k|					  cols, k);
 1656|  3.22k|		 n += idx;
 1657|  3.22k|	     }
 1658|  3.22k|	 }
 1659|  1.07k|     }
 1660|      0|     else { /* everything else, currently NILSXP so do nothing */
 1661|      0|     }
 1662|       |
 1663|       |    /* Adjustment of dimnames attributes. */
 1664|  1.08k|    if (have_rnames || have_cnames) {
  ------------------
  |  Branch (1664:9): [True: 1.07k, False: 8]
  |  Branch (1664:24): [True: 0, False: 8]
  ------------------
 1665|  1.07k|	SEXP nam, tnam,v;
 1666|  1.07k|	PROTECT(dn = allocVector(VECSXP, 2));
  ------------------
  |  |  357|  1.07k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1667|  1.07k|	if (have_rnames)
  ------------------
  |  Branch (1667:6): [True: 1.07k, False: 0]
  ------------------
 1668|  1.07k|	    nam = SET_VECTOR_ELT(dn, 0, allocVector(STRSXP, rows));
  ------------------
  |  |  875|  1.07k|#define allocVector		Rf_allocVector
  ------------------
              	    nam = SET_VECTOR_ELT(dn, 0, allocVector(STRSXP, rows));
  ------------------
  |  |  126|  1.07k|#define STRSXP	    16	  /* string vectors */
  ------------------
 1669|      0|	else
 1670|      0|	    nam = R_NilValue;	/* -Wall */
 1671|  1.07k|	int j = 0;
 1672|  4.30k|	for (t = args; t != R_NilValue; t = CDR(t)) {
  ------------------
  |  Branch (1672:17): [True: 3.22k, False: 1.07k]
  ------------------
 1673|  3.22k|	    u = PRVALUE(CAR(t));
 1674|  3.22k|	    if (isMatrix(u)) {
  ------------------
  |  |  954|  3.22k|#define isMatrix		Rf_isMatrix
  ------------------
  |  Branch (1674:10): [True: 0, False: 3.22k]
  ------------------
 1675|      0|		v = getAttrib(u, R_DimNamesSymbol);
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
 1676|       |
 1677|      0|		if (have_cnames &&
  ------------------
  |  Branch (1677:7): [True: 0, False: 0]
  ------------------
 1678|      0|		    GetColNames(dn) == R_NilValue &&
  ------------------
  |  |  926|      0|#define GetColNames		Rf_GetColNames
  ------------------
  |  Branch (1678:7): [True: 0, False: 0]
  ------------------
 1679|      0|		    GetColNames(v) != R_NilValue)
  ------------------
  |  |  926|      0|#define GetColNames		Rf_GetColNames
  ------------------
  |  Branch (1679:7): [True: 0, False: 0]
  ------------------
 1680|      0|		    SetColNames(dn, lazy_duplicate(GetColNames(v)));
  ------------------
  |  |  985|      0|#define lazy_duplicate		Rf_lazy_duplicate
  ------------------
              		    SetColNames(dn, lazy_duplicate(GetColNames(v)));
  ------------------
  |  |  926|      0|#define GetColNames		Rf_GetColNames
  ------------------
 1681|       |
 1682|       |		/* cbind() doesn't test have_?names BEFORE tnam!=Nil..:*/
 1683|       |		/* but if tnam is non-null, have_rnames = TRUE: see above */
 1684|      0|		tnam = GetRowNames(v);
  ------------------
  |  |  931|      0|#define GetRowNames		Rf_GetRowNames
  ------------------
 1685|      0|		if (have_rnames) {
  ------------------
  |  Branch (1685:7): [True: 0, False: 0]
  ------------------
 1686|      0|		    if (tnam != R_NilValue) {
  ------------------
  |  Branch (1686:11): [True: 0, False: 0]
  ------------------
 1687|      0|			for (int i = 0; i < length(tnam); i++)
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1687:20): [True: 0, False: 0]
  ------------------
 1688|      0|			    SET_STRING_ELT(nam, j++, STRING_ELT(tnam, i));
 1689|      0|		    }
 1690|      0|		    else {
 1691|      0|			for (int i = 0; i < nrows(u); i++)
  ------------------
  |  | 1008|      0|#define nrows			Rf_nrows
  ------------------
  |  Branch (1691:20): [True: 0, False: 0]
  ------------------
 1692|      0|				SET_STRING_ELT(nam, j++, R_BlankString);
 1693|      0|		    }
 1694|      0|		}
 1695|      0|	    }
 1696|  3.22k|	    else if (length(u) >= lenmin) {
  ------------------
  |  |  987|  3.22k|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1696:15): [True: 3.22k, False: 0]
  ------------------
 1697|  3.22k|		u = getAttrib(u, R_NamesSymbol);
  ------------------
  |  |  924|  3.22k|#define getAttrib		Rf_getAttrib
  ------------------
 1698|       |
 1699|  3.22k|		if (have_cnames && GetColNames(dn) == R_NilValue
  ------------------
  |  |  926|    174|#define GetColNames		Rf_GetColNames
  ------------------
  |  Branch (1699:7): [True: 174, False: 3.05k]
  |  Branch (1699:22): [True: 174, False: 0]
  ------------------
 1700|    174|		    && u != R_NilValue && length(u) == cols)
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1700:10): [True: 0, False: 174]
  |  Branch (1700:29): [True: 0, False: 0]
  ------------------
 1701|      0|		    SetColNames(dn, lazy_duplicate(u));
  ------------------
  |  |  985|      0|#define lazy_duplicate		Rf_lazy_duplicate
  ------------------
 1702|       |
 1703|  3.22k|		if (TAG(t) != R_NilValue)
  ------------------
  |  Branch (1703:7): [True: 0, False: 3.22k]
  ------------------
 1704|      0|		    SET_STRING_ELT(nam, j++, PRINTNAME(TAG(t)));
 1705|  3.22k|		else {
 1706|  3.22k|		    expr = substitute(CAR(t), R_NilValue);
  ------------------
  |  | 1035|  3.22k|#define substitute		Rf_substitute
  ------------------
 1707|  3.22k|		    if (deparse_level == 1 && isSymbol(expr))
  ------------------
  |  |  953|  3.22k|#define isSymbol		Rf_isSymbol
  ------------------
  |  Branch (1707:11): [True: 3.22k, False: 0]
  |  Branch (1707:33): [True: 3.22k, False: 0]
  ------------------
 1708|  3.22k|			SET_STRING_ELT(nam, j++, PRINTNAME(expr));
 1709|      0|		    else if (deparse_level == 2) {
  ------------------
  |  Branch (1709:16): [True: 0, False: 0]
  ------------------
 1710|      0|			PROTECT(expr);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1711|      0|			SET_STRING_ELT(nam, j++,
 1712|      0|				       STRING_ELT(deparse1line(expr, true), 0));
  ------------------
  |  | 1889|      0|# define deparse1line		Rf_deparse1line
  ------------------
 1713|      0|			UNPROTECT(1); /* expr */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1714|      0|		    } else if (have_rnames)
  ------------------
  |  Branch (1714:18): [True: 0, False: 0]
  ------------------
 1715|      0|			SET_STRING_ELT(nam, j++, R_BlankString);
 1716|  3.22k|		}
 1717|  3.22k|	    }
 1718|  3.22k|	}
 1719|  1.07k|	setAttrib(result, R_DimNamesSymbol, dn);
  ------------------
  |  | 1027|  1.07k|#define setAttrib		Rf_setAttrib
  ------------------
 1720|  1.07k|	UNPROTECT(1);
  ------------------
  |  |  358|  1.07k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1721|  1.07k|    }
 1722|  1.08k|    UNPROTECT(1);
  ------------------
  |  |  358|  1.08k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1723|  1.08k|    return result;
 1724|  1.08k|} /* rbind */

Rf_asVecSize:
   37|  1.05M|{
   38|  1.05M|    if (isVectorAtomic(x) && LENGTH(x) >= 1) {
  ------------------
  |  |  975|  1.05M|#define isVectorAtomic		Rf_isVectorAtomic
  ------------------
  |  Branch (38:9): [True: 1.05M, False: 0]
  |  Branch (38:30): [True: 1.05M, False: 0]
  ------------------
   39|  1.05M|	switch (TYPEOF(x)) {
   40|  1.05M|	case INTSXP:
  ------------------
  |  |  123|  1.05M|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (40:2): [True: 1.05M, False: 16]
  ------------------
   41|  1.05M|	{
   42|  1.05M|	    int res = INTEGER(x)[0];
   43|  1.05M|	    if(res == NA_INTEGER) error(_("vector size cannot be NA"));
  ------------------
  |  |   56|  1.05M|#define NA_INTEGER	R_NaInt
  ------------------
              	    if(res == NA_INTEGER) error(_("vector size cannot be NA"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    if(res == NA_INTEGER) error(_("vector size cannot be NA"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (43:9): [True: 0, False: 1.05M]
  ------------------
   44|  1.05M|	    return (R_xlen_t) res;
   45|      0|	}
   46|     16|	case REALSXP:
  ------------------
  |  |  124|     16|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (46:2): [True: 16, False: 1.05M]
  ------------------
   47|     16|	{
   48|     16|	    double d = REAL(x)[0];
   49|     16|	    if(ISNAN(d)) error(_("vector size cannot be NA/NaN"));
  ------------------
  |  |   76|     16|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 16]
  |  |  ------------------
  ------------------
              	    if(ISNAN(d)) error(_("vector size cannot be NA/NaN"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    if(ISNAN(d)) error(_("vector size cannot be NA/NaN"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
   50|     16|	    if(!R_FINITE(d)) error(_("vector size cannot be infinite"));
  ------------------
  |  |   82|     16|# define R_FINITE(x)    isfinite(x)
  ------------------
              	    if(!R_FINITE(d)) error(_("vector size cannot be infinite"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    if(!R_FINITE(d)) error(_("vector size cannot be infinite"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (50:9): [True: 0, False: 16]
  ------------------
   51|     16|	    if(d > R_XLEN_T_MAX) error(_("vector size specified is too large"));
  ------------------
  |  |   76|     16|# define R_XLEN_T_MAX 4503599627370496
  ------------------
              	    if(d > R_XLEN_T_MAX) error(_("vector size specified is too large"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    if(d > R_XLEN_T_MAX) error(_("vector size specified is too large"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (51:9): [True: 0, False: 16]
  ------------------
   52|     16|	    return (R_xlen_t) d;
   53|      0|	}
   54|      0|	case STRSXP:
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (54:2): [True: 0, False: 1.05M]
  ------------------
   55|      0|	{
   56|      0|	    double d = asReal(x);
  ------------------
  |  |  889|      0|#define asReal			Rf_asReal
  ------------------
   57|      0|	    if(ISNAN(d)) error(_("vector size cannot be NA/NaN"));
  ------------------
  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
              	    if(ISNAN(d)) error(_("vector size cannot be NA/NaN"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    if(ISNAN(d)) error(_("vector size cannot be NA/NaN"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
   58|      0|	    if(!R_FINITE(d)) error(_("vector size cannot be infinite"));
  ------------------
  |  |   82|      0|# define R_FINITE(x)    isfinite(x)
  ------------------
              	    if(!R_FINITE(d)) error(_("vector size cannot be infinite"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    if(!R_FINITE(d)) error(_("vector size cannot be infinite"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (58:9): [True: 0, False: 0]
  ------------------
   59|      0|	    if(d > R_XLEN_T_MAX) error(_("vector size specified is too large"));
  ------------------
  |  |   76|      0|# define R_XLEN_T_MAX 4503599627370496
  ------------------
              	    if(d > R_XLEN_T_MAX) error(_("vector size specified is too large"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    if(d > R_XLEN_T_MAX) error(_("vector size specified is too large"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (59:9): [True: 0, False: 0]
  ------------------
   60|      0|	    return (R_xlen_t) d;
   61|      0|	}
   62|      0|	default:
  ------------------
  |  Branch (62:2): [True: 0, False: 1.05M]
  ------------------
   63|      0|	    break;
   64|  1.05M|	}
   65|  1.05M|    }
   66|      0|    return -999;  /* which gives error in the caller */
   67|  1.05M|}
do_delayed:
   70|  1.28k|{
   71|  1.28k|    SEXP name = R_NilValue /* -Wall */, expr, eenv, aenv;
   72|  1.28k|    checkArity(op, args);
  ------------------
  |  | 1793|  1.28k|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
   73|       |
   74|  1.28k|    if (!isString(CAR(args)) || LENGTH(CAR(args)) == 0)
  ------------------
  |  |  966|  1.28k|#define isString		Rf_isString
  ------------------
  |  Branch (74:9): [True: 0, False: 1.28k]
  |  Branch (74:33): [True: 0, False: 1.28k]
  ------------------
   75|      0|	error(_("invalid first argument"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid first argument"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
   76|  1.28k|    else
   77|  1.28k|	name = installTrChar(STRING_ELT(CAR(args), 0));
  ------------------
  |  |  937|  1.28k|#define installTrChar		Rf_installTrChar
  ------------------
   78|  1.28k|    args = CDR(args);
   79|  1.28k|    expr = CAR(args);
   80|       |
   81|  1.28k|    args = CDR(args);
   82|  1.28k|    eenv = CAR(args);
   83|  1.28k|    if (isNull(eenv)) {
  ------------------
  |  |  956|  1.28k|#define isNull			Rf_isNull
  ------------------
  |  Branch (83:9): [True: 0, False: 1.28k]
  ------------------
   84|      0|	error(_("use of NULL environment is defunct"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("use of NULL environment is defunct"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
   85|      0|	eenv = R_BaseEnv;
   86|      0|    } else
   87|  1.28k|    if (!isEnvironment(eenv))
  ------------------
  |  |  944|  1.28k|#define isEnvironment		Rf_isEnvironment
  ------------------
  |  Branch (87:9): [True: 0, False: 1.28k]
  ------------------
   88|      0|	error(_("invalid '%s' argument"), "eval.env");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "eval.env");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
   89|       |
   90|  1.28k|    args = CDR(args);
   91|  1.28k|    aenv = CAR(args);
   92|  1.28k|    if (isNull(aenv)) {
  ------------------
  |  |  956|  1.28k|#define isNull			Rf_isNull
  ------------------
  |  Branch (92:9): [True: 0, False: 1.28k]
  ------------------
   93|      0|	error(_("use of NULL environment is defunct"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("use of NULL environment is defunct"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
   94|      0|	aenv = R_BaseEnv;
   95|      0|    } else
   96|  1.28k|    if (!isEnvironment(aenv))
  ------------------
  |  |  944|  1.28k|#define isEnvironment		Rf_isEnvironment
  ------------------
  |  Branch (96:9): [True: 0, False: 1.28k]
  ------------------
   97|      0|	error(_("invalid '%s' argument"), "assign.env");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "assign.env");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
   98|       |
   99|  1.28k|    defineVar(name, mkPROMISE(expr, eenv), aenv);
  ------------------
  |  |  905|  1.28k|#define defineVar		Rf_defineVar
  ------------------
                  defineVar(name, mkPROMISE(expr, eenv), aenv);
  ------------------
  |  | 1962|  1.28k|# define mkPROMISE		Rf_mkPROMISE
  ------------------
  100|  1.28k|    return R_NilValue;
  101|  1.28k|}
do_makelazy:
  105|     18|{
  106|     18|    SEXP names, values, val, expr, eenv, aenv, expr0;
  107|     18|    R_xlen_t i;
  108|       |
  109|     18|    checkArity(op, args);
  ------------------
  |  | 1793|     18|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  110|     18|    names = CAR(args); args = CDR(args);
  111|     18|    if (!isString(names))
  ------------------
  |  |  966|     18|#define isString		Rf_isString
  ------------------
  |  Branch (111:9): [True: 0, False: 18]
  ------------------
  112|      0|	error(_("invalid first argument"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid first argument"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  113|     18|    values = CAR(args); args = CDR(args);
  114|     18|    expr = CAR(args); args = CDR(args);
  115|     18|    eenv = CAR(args); args = CDR(args);
  116|     18|    if (!isEnvironment(eenv)) error(_("invalid '%s' argument"), "eval.env");
  ------------------
  |  |  944|     18|#define isEnvironment		Rf_isEnvironment
  ------------------
                  if (!isEnvironment(eenv)) error(_("invalid '%s' argument"), "eval.env");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  if (!isEnvironment(eenv)) error(_("invalid '%s' argument"), "eval.env");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (116:9): [True: 0, False: 18]
  ------------------
  117|     18|    aenv = CAR(args);
  118|     18|    if (!isEnvironment(aenv)) error(_("invalid '%s' argument"), "assign.env");
  ------------------
  |  |  944|     18|#define isEnvironment		Rf_isEnvironment
  ------------------
                  if (!isEnvironment(aenv)) error(_("invalid '%s' argument"), "assign.env");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  if (!isEnvironment(aenv)) error(_("invalid '%s' argument"), "assign.env");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (118:9): [True: 0, False: 18]
  ------------------
  119|       |
  120|  8.53k|    for(i = 0; i < XLENGTH(names); i++) {
  ------------------
  |  Branch (120:16): [True: 8.51k, False: 18]
  ------------------
  121|  8.51k|	SEXP name = installTrChar(STRING_ELT(names, i));
  ------------------
  |  |  937|  8.51k|#define installTrChar		Rf_installTrChar
  ------------------
  122|  8.51k|	PROTECT(val = eval(VECTOR_ELT(values, i), eenv));
  ------------------
  |  |  357|  8.51k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  123|  8.51k|	PROTECT(expr0 = duplicate(expr));
  ------------------
  |  |  357|  8.51k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  124|  8.51k|	SETCAR(CDR(expr0), val);
  125|  8.51k|	defineVar(name, mkPROMISE(expr0, eenv), aenv);
  ------------------
  |  |  905|  8.51k|#define defineVar		Rf_defineVar
  ------------------
              	defineVar(name, mkPROMISE(expr0, eenv), aenv);
  ------------------
  |  | 1962|  8.51k|# define mkPROMISE		Rf_mkPROMISE
  ------------------
  126|  8.51k|	UNPROTECT(2);
  ------------------
  |  |  358|  8.51k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  127|  8.51k|    }
  128|     18|    return R_NilValue;
  129|     18|}
do_onexit:
  133|    659|{
  134|    659|    RCNTXT *ctxt;
  135|    659|    SEXP code, oldcode, argList;
  136|    659|    int addit = FALSE;
  137|    659|    int after = TRUE;
  138|    659|    static SEXP do_onexit_formals = NULL;
  139|       |
  140|    659|    checkArity(op, args);
  ------------------
  |  | 1793|    659|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  141|    659|    if (do_onexit_formals == NULL)
  ------------------
  |  Branch (141:9): [True: 2, False: 657]
  ------------------
  142|      2|        do_onexit_formals = allocFormalsList3(install("expr"),
  ------------------
  |  |  866|      2|#define allocFormalsList3	Rf_allocFormalsList3
  ------------------
                      do_onexit_formals = allocFormalsList3(install("expr"),
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  143|      2|                                              install("add"),
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  144|      2|                                              install("after"));
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  145|       |
  146|    659|    PROTECT(argList =  matchArgs_NR(do_onexit_formals, args, call));
  ------------------
  |  |  357|    659|#define PROTECT(s)	Rf_protect(s)
  ------------------
  147|    659|    if (CAR(argList) == R_MissingArg) code = R_NilValue;
  ------------------
  |  Branch (147:9): [True: 38, False: 621]
  ------------------
  148|    621|    else code = CAR(argList);
  149|       |
  150|    659|    if (CADR(argList) != R_MissingArg) {
  ------------------
  |  Branch (150:9): [True: 26, False: 633]
  ------------------
  151|     26|	addit = asLogical(PROTECT(eval(CADR(argList), rho)));
  ------------------
  |  |  886|     26|#define asLogical		Rf_asLogical
  ------------------
              	addit = asLogical(PROTECT(eval(CADR(argList), rho)));
  ------------------
  |  |  357|     26|#define PROTECT(s)	Rf_protect(s)
  ------------------
  152|     26|	UNPROTECT(1);
  ------------------
  |  |  358|     26|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  153|     26|	if (addit == NA_INTEGER)
  ------------------
  |  |   56|     26|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (153:6): [True: 0, False: 26]
  ------------------
  154|      0|	    errorcall(call, _("invalid '%s' argument"), "add");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	    errorcall(call, _("invalid '%s' argument"), "add");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  155|     26|    }
  156|    659|    if (CADDR(argList) != R_MissingArg) {
  ------------------
  |  Branch (156:9): [True: 0, False: 659]
  ------------------
  157|      0|	after = asLogical(PROTECT(eval(CADDR(argList), rho)));
  ------------------
  |  |  886|      0|#define asLogical		Rf_asLogical
  ------------------
              	after = asLogical(PROTECT(eval(CADDR(argList), rho)));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  158|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  159|      0|        if (after == NA_INTEGER)
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (159:13): [True: 0, False: 0]
  ------------------
  160|      0|            errorcall(call, _("invalid '%s' argument"), "lifo");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
                          errorcall(call, _("invalid '%s' argument"), "lifo");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  161|      0|    }
  162|       |
  163|    659|    ctxt = R_GlobalContext;
  164|       |    /* Search for the context to which the on.exit action is to be
  165|       |       attached. Lexical scoping is implemented by searching for the
  166|       |       first closure call context with an environment matching the
  167|       |       expression evaluation environment. */
  168|    659|    while (ctxt != R_ToplevelContext &&
  ------------------
  |  Branch (168:12): [True: 659, False: 0]
  ------------------
  169|    659|	   !((ctxt->callflag & CTXT_FUNCTION) && ctxt->cloenv == rho) )
  ------------------
  |  Branch (169:7): [True: 659, False: 0]
  |  Branch (169:43): [True: 659, False: 0]
  ------------------
  170|      0|	ctxt = ctxt->nextcontext;
  171|    659|    if (ctxt->callflag & CTXT_FUNCTION)
  ------------------
  |  Branch (171:9): [True: 659, False: 0]
  ------------------
  172|    659|    {
  173|    659|	if (code == R_NilValue && ! addit)
  ------------------
  |  Branch (173:6): [True: 38, False: 621]
  |  Branch (173:28): [True: 38, False: 0]
  ------------------
  174|     38|	    ctxt->conexit = R_NilValue;
  175|    621|	else {
  176|    621|	    oldcode = ctxt->conexit;
  177|    621|	    if (oldcode == R_NilValue || ! addit)
  ------------------
  |  Branch (177:10): [True: 595, False: 26]
  |  Branch (177:35): [True: 0, False: 26]
  ------------------
  178|    595|                ctxt->conexit = CONS(code, R_NilValue);
  ------------------
  |  |  309|    595|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
  179|     26|	    else {
  180|     26|                if (after) {
  ------------------
  |  Branch (180:21): [True: 26, False: 0]
  ------------------
  181|     26|                    SEXP codelist = PROTECT(CONS(code, R_NilValue));
  ------------------
  |  |  357|     26|#define PROTECT(s)	Rf_protect(s)
  ------------------
  182|     26|                    ctxt->conexit = listAppend(shallow_duplicate(oldcode), codelist);
  ------------------
  |  |  995|     26|#define listAppend		Rf_listAppend
  ------------------
                                  ctxt->conexit = listAppend(shallow_duplicate(oldcode), codelist);
  ------------------
  |  | 1030|     26|#define shallow_duplicate	Rf_shallow_duplicate
  ------------------
  183|     26|                    UNPROTECT(1);
  ------------------
  |  |  358|     26|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  184|     26|                } else {
  185|      0|                    ctxt->conexit = CONS(code, oldcode);
  ------------------
  |  |  309|      0|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
  186|      0|                }
  187|     26|	    }
  188|    621|	}
  189|    659|    }
  190|    659|    UNPROTECT(1);
  ------------------
  |  |  358|    659|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  191|    659|    return R_NilValue;
  192|    659|}
do_formals:
  250|    678|{
  251|    678|    checkArity(op, args);
  ------------------
  |  | 1793|    678|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  252|    678|    if (TYPEOF(CAR(args)) == CLOSXP) {
  ------------------
  |  |  114|    678|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (252:9): [True: 678, False: 0]
  ------------------
  253|    678|	SEXP f = FORMALS(CAR(args));
  254|    678|	RAISE_NAMED(f, NAMED(CAR(args)));
  255|    678|	return f;
  256|    678|    } else {
  257|      0|	if(!(TYPEOF(CAR(args)) == BUILTINSXP ||
  ------------------
  |  |  119|      0|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (257:7): [True: 0, False: 0]
  ------------------
  258|      0|	     TYPEOF(CAR(args)) == SPECIALSXP))
  ------------------
  |  |  118|      0|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (258:7): [True: 0, False: 0]
  ------------------
  259|      0|	    warningcall(call, _("argument is not a function"));
  ------------------
  |  | 2018|      0|# define warningcall		Rf_warningcall
  ------------------
              	    warningcall(call, _("argument is not a function"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  260|      0|	return R_NilValue;
  261|      0|    }
  262|    678|}
do_envir:
  295|  1.04M|{
  296|  1.04M|    checkArity(op, args);
  ------------------
  |  | 1793|  1.04M|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  297|  1.04M|    if (TYPEOF(CAR(args)) == CLOSXP)
  ------------------
  |  |  114|  1.04M|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (297:9): [True: 66, False: 1.04M]
  ------------------
  298|     66|	return CLOENV(CAR(args));
  299|  1.04M|    else if (CAR(args) == R_NilValue)
  ------------------
  |  Branch (299:14): [True: 1.04M, False: 0]
  ------------------
  300|  1.04M|	return R_GlobalContext->sysparent;
  301|      0|    else return getAttrib(CAR(args), R_DotEnvSymbol);
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
  302|  1.04M|}
do_newenv:
  346|    740|{
  347|    740|    SEXP enclos;
  348|    740|    int hash, size = 0;
  349|       |
  350|    740|    checkArity(op, args);
  ------------------
  |  | 1793|    740|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  351|       |
  352|    740|    hash = asInteger(CAR(args));
  ------------------
  |  |  885|    740|#define asInteger		Rf_asInteger
  ------------------
  353|    740|    args = CDR(args);
  354|    740|    enclos = CAR(args);
  355|    740|    if (isNull(enclos))
  ------------------
  |  |  956|    740|#define isNull			Rf_isNull
  ------------------
  |  Branch (355:9): [True: 0, False: 740]
  ------------------
  356|      0|	error(_("use of NULL environment is defunct"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("use of NULL environment is defunct"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  357|       |
  358|    740|    if( !isEnvironment(enclos) &&
  ------------------
  |  |  944|    740|#define isEnvironment		Rf_isEnvironment
  ------------------
  |  Branch (358:9): [True: 0, False: 740]
  ------------------
  359|      0|	!isEnvironment((enclos = simple_as_environment(enclos))))
  ------------------
  |  |  944|      0|#define isEnvironment		Rf_isEnvironment
  ------------------
              	!isEnvironment((enclos = simple_as_environment(enclos))))
  ------------------
  |  |  290|      0|#define simple_as_environment(arg) (IS_S4_OBJECT(arg) && (TYPEOF(arg) == OBJSXP) ? R_getS4DataSlot(arg, ENVSXP) : arg)
  |  |  ------------------
  |  |  |  |  137|      0|#define OBJSXP      25    /* object, non-vector  */
  |  |  ------------------
  |  |               #define simple_as_environment(arg) (IS_S4_OBJECT(arg) && (TYPEOF(arg) == OBJSXP) ? R_getS4DataSlot(arg, ENVSXP) : arg)
  |  |  ------------------
  |  |  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  |  |  ------------------
  |  |  |  Branch (290:37): [True: 0, False: 0]
  |  |  |  Branch (290:58): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (359:2): [True: 0, False: 0]
  ------------------
  360|      0|	error(_("'enclos' must be an environment"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'enclos' must be an environment"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  361|       |
  362|    740|    if( hash ) {
  ------------------
  |  Branch (362:9): [True: 738, False: 2]
  ------------------
  363|    738|	size = asInteger(CADR(args));
  ------------------
  |  |  885|    738|#define asInteger		Rf_asInteger
  ------------------
  364|    738|	if (size == NA_INTEGER)
  ------------------
  |  |   56|    738|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (364:6): [True: 0, False: 738]
  ------------------
  365|      0|	    size = 0; /* so it will use the internal default */
  366|    738|    }
  367|      2|    else size = 0;
  368|    740|    return R_NewEnv(enclos, hash, size);
  369|    740|}
do_parentenv:
  372|    160|{
  373|    160|    checkArity(op, args);
  ------------------
  |  | 1793|    160|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  374|    160|    SEXP arg = CAR(args);
  375|       |
  376|    160|    if( !isEnvironment(arg)  &&
  ------------------
  |  |  944|    160|#define isEnvironment		Rf_isEnvironment
  ------------------
  |  Branch (376:9): [True: 0, False: 160]
  ------------------
  377|      0|	!isEnvironment((arg = simple_as_environment(arg))))
  ------------------
  |  |  944|      0|#define isEnvironment		Rf_isEnvironment
  ------------------
              	!isEnvironment((arg = simple_as_environment(arg))))
  ------------------
  |  |  290|      0|#define simple_as_environment(arg) (IS_S4_OBJECT(arg) && (TYPEOF(arg) == OBJSXP) ? R_getS4DataSlot(arg, ENVSXP) : arg)
  |  |  ------------------
  |  |  |  |  137|      0|#define OBJSXP      25    /* object, non-vector  */
  |  |  ------------------
  |  |               #define simple_as_environment(arg) (IS_S4_OBJECT(arg) && (TYPEOF(arg) == OBJSXP) ? R_getS4DataSlot(arg, ENVSXP) : arg)
  |  |  ------------------
  |  |  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  |  |  ------------------
  |  |  |  Branch (290:37): [True: 0, False: 0]
  |  |  |  Branch (290:58): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (377:2): [True: 0, False: 0]
  ------------------
  378|      0|	error( _("argument is not an environment"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error( _("argument is not an environment"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  379|    160|    if( arg == R_EmptyEnv )
  ------------------
  |  Branch (379:9): [True: 0, False: 160]
  ------------------
  380|      0|	error(_("the empty environment has no parent"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("the empty environment has no parent"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  381|    160|    return( ENCLOS(arg) );
  382|    160|}
do_parentenvgets:
  403|    582|{
  404|    582|    SEXP env, parent;
  405|    582|    checkArity(op, args);
  ------------------
  |  | 1793|    582|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  406|       |
  407|    582|    env = CAR(args);
  408|    582|    if (isNull(env)) {
  ------------------
  |  |  956|    582|#define isNull			Rf_isNull
  ------------------
  |  Branch (408:9): [True: 0, False: 582]
  ------------------
  409|      0|	error(_("use of NULL environment is defunct"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("use of NULL environment is defunct"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  410|      0|	env = R_BaseEnv;
  411|      0|    } else
  412|    582|    if( !isEnvironment(env) &&
  ------------------
  |  |  944|    582|#define isEnvironment		Rf_isEnvironment
  ------------------
  |  Branch (412:9): [True: 0, False: 582]
  ------------------
  413|      0|	!isEnvironment((env = simple_as_environment(env))))
  ------------------
  |  |  944|      0|#define isEnvironment		Rf_isEnvironment
  ------------------
              	!isEnvironment((env = simple_as_environment(env))))
  ------------------
  |  |  290|      0|#define simple_as_environment(arg) (IS_S4_OBJECT(arg) && (TYPEOF(arg) == OBJSXP) ? R_getS4DataSlot(arg, ENVSXP) : arg)
  |  |  ------------------
  |  |  |  |  137|      0|#define OBJSXP      25    /* object, non-vector  */
  |  |  ------------------
  |  |               #define simple_as_environment(arg) (IS_S4_OBJECT(arg) && (TYPEOF(arg) == OBJSXP) ? R_getS4DataSlot(arg, ENVSXP) : arg)
  |  |  ------------------
  |  |  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  |  |  ------------------
  |  |  |  Branch (290:37): [True: 0, False: 0]
  |  |  |  Branch (290:58): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (413:2): [True: 0, False: 0]
  ------------------
  414|      0|	error(_("argument is not an environment"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("argument is not an environment"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  415|    582|    if( env == R_EmptyEnv )
  ------------------
  |  Branch (415:9): [True: 0, False: 582]
  ------------------
  416|      0|	error(_("can not set parent of the empty environment"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("can not set parent of the empty environment"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  417|    582|    if (R_EnvironmentIsLocked(env) && R_IsNamespaceEnv(env))
  ------------------
  |  Branch (417:9): [True: 0, False: 582]
  |  Branch (417:39): [True: 0, False: 0]
  ------------------
  418|      0|	error(_("can not set the parent environment of a namespace"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("can not set the parent environment of a namespace"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  419|    582|    if (R_EnvironmentIsLocked(env) && R_IsImportsEnv(env))
  ------------------
  |  Branch (419:9): [True: 0, False: 582]
  |  Branch (419:39): [True: 0, False: 0]
  ------------------
  420|      0|	error(_("can not set the parent environment of package imports"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("can not set the parent environment of package imports"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  421|    582|    parent = CADR(args);
  422|    582|    if (isNull(parent)) {
  ------------------
  |  |  956|    582|#define isNull			Rf_isNull
  ------------------
  |  Branch (422:9): [True: 0, False: 582]
  ------------------
  423|      0|	error(_("use of NULL environment is defunct"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("use of NULL environment is defunct"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  424|      0|	parent = R_BaseEnv;
  425|      0|    } else
  426|    582|    if( !isEnvironment(parent) &&
  ------------------
  |  |  944|    582|#define isEnvironment		Rf_isEnvironment
  ------------------
  |  Branch (426:9): [True: 0, False: 582]
  ------------------
  427|      0|	!isEnvironment((parent = simple_as_environment(parent))))
  ------------------
  |  |  944|      0|#define isEnvironment		Rf_isEnvironment
  ------------------
              	!isEnvironment((parent = simple_as_environment(parent))))
  ------------------
  |  |  290|      0|#define simple_as_environment(arg) (IS_S4_OBJECT(arg) && (TYPEOF(arg) == OBJSXP) ? R_getS4DataSlot(arg, ENVSXP) : arg)
  |  |  ------------------
  |  |  |  |  137|      0|#define OBJSXP      25    /* object, non-vector  */
  |  |  ------------------
  |  |               #define simple_as_environment(arg) (IS_S4_OBJECT(arg) && (TYPEOF(arg) == OBJSXP) ? R_getS4DataSlot(arg, ENVSXP) : arg)
  |  |  ------------------
  |  |  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  |  |  ------------------
  |  |  |  Branch (290:37): [True: 0, False: 0]
  |  |  |  Branch (290:58): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (427:2): [True: 0, False: 0]
  ------------------
  428|      0|	error(_("'parent' is not an environment"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'parent' is not an environment"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  429|       |
  430|    582|    SET_ENCLOS(env, parent);
  431|       |
  432|    582|    return( CAR(args) );
  433|    582|}
do_makelist:
  718|  5.25M|{
  719|  5.25M|    int n, havenames;
  720|       |    /* compute number of args and check for names */
  721|  5.25M|    SEXP next;
  722|  5.25M|    for (next = args, n = 0, havenames = FALSE;
  723|  16.8M|	 next != R_NilValue;
  ------------------
  |  Branch (723:3): [True: 11.5M, False: 5.25M]
  ------------------
  724|  11.5M|	 next = CDR(next)) {
  725|  11.5M|	if (TAG(next) != R_NilValue)
  ------------------
  |  Branch (725:6): [True: 11.5M, False: 10.0k]
  ------------------
  726|  11.5M|	    havenames = TRUE;
  727|  11.5M|	n++;
  728|  11.5M|    }
  729|       |
  730|  5.25M|    SEXP list = PROTECT(allocVector(VECSXP, n));
  ------------------
  |  |  357|  5.25M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  731|  5.25M|    SEXP names = PROTECT(havenames ? allocVector(STRSXP, n) : R_NilValue);
  ------------------
  |  |  357|  10.5M|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  |  |  Branch (357:31): [True: 5.25M, False: 6.95k]
  |  |  ------------------
  ------------------
  732|  16.8M|    for (int i = 0; i < n; i++) {
  ------------------
  |  Branch (732:21): [True: 11.5M, False: 5.25M]
  ------------------
  733|  11.5M|	if (havenames) {
  ------------------
  |  Branch (733:6): [True: 11.5M, False: 10.0k]
  ------------------
  734|  11.5M|	    if (TAG(args) != R_NilValue)
  ------------------
  |  Branch (734:10): [True: 11.5M, False: 0]
  ------------------
  735|  11.5M|		SET_STRING_ELT(names, i, PRINTNAME(TAG(args)));
  736|      0|	    else
  737|      0|		SET_STRING_ELT(names, i, R_BlankString);
  738|  11.5M|	}
  739|  11.5M|	if (NAMED(CAR(args)))
  ------------------
  |  Branch (739:6): [True: 11.5M, False: 2.18k]
  ------------------
  740|  11.5M|	    ENSURE_NAMEDMAX(CAR(args));
  741|  11.5M|	SET_VECTOR_ELT(list, i, CAR(args));
  742|  11.5M|	args = CDR(args);
  743|  11.5M|    }
  744|  5.25M|    if (havenames) {
  ------------------
  |  Branch (744:9): [True: 5.25M, False: 6.95k]
  ------------------
  745|  5.25M|	setAttrib(list, R_NamesSymbol, names);
  ------------------
  |  | 1027|  5.25M|#define setAttrib		Rf_setAttrib
  ------------------
  746|  5.25M|    }
  747|  5.25M|    UNPROTECT(2);
  ------------------
  |  |  358|  5.25M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  748|  5.25M|    return list;
  749|  5.25M|}
do_makevector:
  787|  1.05M|{
  788|  1.05M|    R_xlen_t len;
  789|  1.05M|    SEXP s;
  790|  1.05M|    SEXPTYPE mode;
  791|  1.05M|    checkArity(op, args);
  ------------------
  |  | 1793|  1.05M|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  792|  1.05M|    if (length(CADR(args)) != 1) error(_("invalid '%s' argument"), "length");
  ------------------
  |  |  987|  1.05M|#define length(x)		Rf_length(x)
  ------------------
                  if (length(CADR(args)) != 1) error(_("invalid '%s' argument"), "length");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  if (length(CADR(args)) != 1) error(_("invalid '%s' argument"), "length");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (792:9): [True: 0, False: 1.05M]
  ------------------
  793|  1.05M|    len = asVecSize(CADR(args));
  ------------------
  |  | 1867|  1.05M|# define asVecSize		Rf_asVecSize
  ------------------
  794|  1.05M|    if (len < 0) error(_("invalid '%s' argument"), "length");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  if (len < 0) error(_("invalid '%s' argument"), "length");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (794:9): [True: 0, False: 1.05M]
  ------------------
  795|  1.05M|    s = coerceVector(CAR(args), STRSXP);
  ------------------
  |  |  895|  1.05M|#define coerceVector		Rf_coerceVector
  ------------------
                  s = coerceVector(CAR(args), STRSXP);
  ------------------
  |  |  126|  1.05M|#define STRSXP	    16	  /* string vectors */
  ------------------
  796|  1.05M|    if (length(s) != 1) error(_("invalid '%s' argument"), "mode");
  ------------------
  |  |  987|  1.05M|#define length(x)		Rf_length(x)
  ------------------
                  if (length(s) != 1) error(_("invalid '%s' argument"), "mode");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  if (length(s) != 1) error(_("invalid '%s' argument"), "mode");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (796:9): [True: 0, False: 1.05M]
  ------------------
  797|  1.05M|    mode = str2type(CHAR(STRING_ELT(s, 0))); /* ASCII */
  ------------------
  |  | 1031|  1.05M|#define str2type		Rf_str2type
  ------------------
                  mode = str2type(CHAR(STRING_ELT(s, 0))); /* ASCII */
  ------------------
  |  |  203|  1.05M|#define CHAR(x) R_CHAR(x)
  ------------------
  798|  1.05M|    if (mode == -1 && streql(CHAR(STRING_ELT(s, 0)), "double"))
  ------------------
  |  | 1498|      0|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (798:9): [True: 0, False: 1.05M]
  ------------------
  799|      0|	mode = REALSXP;
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  800|  1.05M|    switch (mode) {
  801|     12|    case LGLSXP:
  ------------------
  |  |  121|     12|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (801:5): [True: 12, False: 1.05M]
  ------------------
  802|     52|    case INTSXP:
  ------------------
  |  |  123|     52|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (802:5): [True: 40, False: 1.05M]
  ------------------
  803|     54|    case REALSXP:
  ------------------
  |  |  124|     54|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (803:5): [True: 2, False: 1.05M]
  ------------------
  804|     54|    case CPLXSXP:
  ------------------
  |  |  125|     54|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (804:5): [True: 0, False: 1.05M]
  ------------------
  805|  1.18k|    case STRSXP:
  ------------------
  |  |  126|  1.18k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (805:5): [True: 1.13k, False: 1.04M]
  ------------------
  806|  1.18k|    case EXPRSXP:
  ------------------
  |  |  132|  1.18k|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (806:5): [True: 0, False: 1.05M]
  ------------------
  807|  1.05M|    case VECSXP:
  ------------------
  |  |  131|  1.05M|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (807:5): [True: 1.04M, False: 1.18k]
  ------------------
  808|  1.05M|    case RAWSXP:
  ------------------
  |  |  136|  1.05M|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (808:5): [True: 0, False: 1.05M]
  ------------------
  809|  1.05M|	s = allocVector(mode, len);
  ------------------
  |  |  875|  1.05M|#define allocVector		Rf_allocVector
  ------------------
  810|  1.05M|	break;
  811|      0|    case LISTSXP:
  ------------------
  |  |  113|      0|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (811:5): [True: 0, False: 1.05M]
  ------------------
  812|      0|	if (len > INT_MAX) error("too long for a pairlist");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  |  Branch (812:6): [True: 0, False: 0]
  ------------------
  813|      0|	s = allocList((int) len);
  ------------------
  |  |  871|      0|#define allocList		Rf_allocList
  ------------------
  814|      0|	break;
  815|      0|    default:
  ------------------
  |  Branch (815:5): [True: 0, False: 1.05M]
  ------------------
  816|      0|	error(_("vector: cannot make a vector of mode '%s'."),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("vector: cannot make a vector of mode '%s'."),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  817|      0|	      translateChar(STRING_ELT(s, 0))); /* should be ASCII */
  ------------------
  |  | 1037|      0|#define translateChar		Rf_translateChar
  ------------------
  818|  1.05M|    }
  819|  1.05M|    if (mode == INTSXP || mode == LGLSXP)
  ------------------
  |  |  123|  2.10M|#define INTSXP	    13	  /* integer vectors */
  ------------------
                  if (mode == INTSXP || mode == LGLSXP)
  ------------------
  |  |  121|  1.05M|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (819:9): [True: 40, False: 1.05M]
  |  Branch (819:27): [True: 12, False: 1.05M]
  ------------------
  820|     52|	Memzero(INTEGER(s), len);
  ------------------
  |  |   63|     52|#define Memzero(p,n)  R_chk_memset(p, 0, (R_SIZE_T)(n) * sizeof(*p))
  ------------------
  821|  1.05M|    else if (mode == REALSXP)
  ------------------
  |  |  124|  1.05M|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (821:14): [True: 2, False: 1.05M]
  ------------------
  822|      2|	Memzero(REAL(s), len);
  ------------------
  |  |   63|      2|#define Memzero(p,n)  R_chk_memset(p, 0, (R_SIZE_T)(n) * sizeof(*p))
  ------------------
  823|  1.05M|    else if (mode == CPLXSXP)
  ------------------
  |  |  125|  1.05M|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (823:14): [True: 0, False: 1.05M]
  ------------------
  824|      0|	Memzero(COMPLEX(s), len);
  ------------------
  |  |   63|      0|#define Memzero(p,n)  R_chk_memset(p, 0, (R_SIZE_T)(n) * sizeof(*p))
  ------------------
  825|  1.05M|    else if (mode == RAWSXP)
  ------------------
  |  |  136|  1.05M|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (825:14): [True: 0, False: 1.05M]
  ------------------
  826|      0|	Memzero(RAW(s), len);
  ------------------
  |  |   63|      0|#define Memzero(p,n)  R_chk_memset(p, 0, (R_SIZE_T)(n) * sizeof(*p))
  ------------------
  827|       |    /* other cases: list/expression have "NULL", ok */
  828|  1.05M|    return s;
  829|  1.05M|}
Rf_xlengthgets:
  838|     55|{
  839|     55|    R_xlen_t lenx, i;
  840|     55|    SEXP rval, names, xnames, t;
  841|     55|    if (!isVector(x) && !isList(x))
  ------------------
  |  |  974|     55|#define isVector		Rf_isVector
  ------------------
                  if (!isVector(x) && !isList(x))
  ------------------
  |  |  951|      0|#define isList			Rf_isList
  ------------------
  |  Branch (841:9): [True: 0, False: 55]
  |  Branch (841:25): [True: 0, False: 0]
  ------------------
  842|      0|	error(_("cannot set length of non-(vector or list)"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("cannot set length of non-(vector or list)"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  843|     55|    if (len < 0) error(_("invalid value")); // e.g. -999 from asVecSize()
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  if (len < 0) error(_("invalid value")); // e.g. -999 from asVecSize()
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (843:9): [True: 0, False: 55]
  ------------------
  844|     55|    if (isNull(x) && len > 0)
  ------------------
  |  |  956|     55|#define isNull			Rf_isNull
  ------------------
  |  Branch (844:9): [True: 0, False: 55]
  |  Branch (844:22): [True: 0, False: 0]
  ------------------
  845|      0|    	warning(_("length of NULL cannot be changed"));
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
                  	warning(_("length of NULL cannot be changed"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  846|     55|    lenx = xlength(x);
  ------------------
  |  | 1049|     55|#define xlength(x)		Rf_xlength(x)
  ------------------
  847|     55|    if (lenx == len)
  ------------------
  |  Branch (847:9): [True: 0, False: 55]
  ------------------
  848|      0|	return (x);
  849|     55|    PROTECT(rval = allocVector(TYPEOF(x), len));
  ------------------
  |  |  357|     55|#define PROTECT(s)	Rf_protect(s)
  ------------------
  850|     55|    PROTECT(xnames = getAttrib(x, R_NamesSymbol));
  ------------------
  |  |  357|     55|#define PROTECT(s)	Rf_protect(s)
  ------------------
  851|     55|    if (xnames != R_NilValue)
  ------------------
  |  Branch (851:9): [True: 0, False: 55]
  ------------------
  852|      0|	names = allocVector(STRSXP, len);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              	names = allocVector(STRSXP, len);
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  853|     55|    else names = R_NilValue;	/*- just for -Wall --- should we do this ? */
  854|     55|    switch (TYPEOF(x)) {
  855|      0|    case NILSXP:
  ------------------
  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (855:5): [True: 0, False: 55]
  ------------------
  856|      0|	break;
  857|      0|    case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (857:5): [True: 0, False: 55]
  ------------------
  858|      0|    case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (858:5): [True: 0, False: 55]
  ------------------
  859|      0|	for (i = 0; i < len; i++)
  ------------------
  |  Branch (859:14): [True: 0, False: 0]
  ------------------
  860|      0|	    if (i < lenx) {
  ------------------
  |  Branch (860:10): [True: 0, False: 0]
  ------------------
  861|      0|		INTEGER(rval)[i] = INTEGER(x)[i];
  862|      0|		if (xnames != R_NilValue)
  ------------------
  |  Branch (862:7): [True: 0, False: 0]
  ------------------
  863|      0|		    SET_STRING_ELT(names, i, STRING_ELT(xnames, i));
  864|      0|	    }
  865|      0|	    else
  866|      0|		INTEGER(rval)[i] = NA_INTEGER;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  867|      0|	break;
  868|     55|    case REALSXP:
  ------------------
  |  |  124|     55|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (868:5): [True: 55, False: 0]
  ------------------
  869|    220|	for (i = 0; i < len; i++)
  ------------------
  |  Branch (869:14): [True: 165, False: 55]
  ------------------
  870|    165|	    if (i < lenx) {
  ------------------
  |  Branch (870:10): [True: 0, False: 165]
  ------------------
  871|      0|		REAL(rval)[i] = REAL(x)[i];
  872|      0|		if (xnames != R_NilValue)
  ------------------
  |  Branch (872:7): [True: 0, False: 0]
  ------------------
  873|      0|		    SET_STRING_ELT(names, i, STRING_ELT(xnames, i));
  874|      0|	    }
  875|    165|	    else
  876|    165|		REAL(rval)[i] = NA_REAL;
  ------------------
  |  |   58|    220|#define NA_REAL		R_NaReal
  ------------------
  877|     55|	break;
  878|      0|    case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (878:5): [True: 0, False: 55]
  ------------------
  879|      0|	for (i = 0; i < len; i++)
  ------------------
  |  Branch (879:14): [True: 0, False: 0]
  ------------------
  880|      0|	    if (i < lenx) {
  ------------------
  |  Branch (880:10): [True: 0, False: 0]
  ------------------
  881|      0|		COMPLEX(rval)[i] = COMPLEX(x)[i];
  882|      0|		if (xnames != R_NilValue)
  ------------------
  |  Branch (882:7): [True: 0, False: 0]
  ------------------
  883|      0|		    SET_STRING_ELT(names, i, STRING_ELT(xnames, i));
  884|      0|	    }
  885|      0|	    else {
  886|      0|		COMPLEX(rval)[i].r = NA_REAL;
  ------------------
  |  |   58|      0|#define NA_REAL		R_NaReal
  ------------------
  887|      0|		COMPLEX(rval)[i].i = NA_REAL;
  ------------------
  |  |   58|      0|#define NA_REAL		R_NaReal
  ------------------
  888|      0|	    }
  889|      0|	break;
  890|      0|    case STRSXP:
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (890:5): [True: 0, False: 55]
  ------------------
  891|      0|	for (i = 0; i < len; i++)
  ------------------
  |  Branch (891:14): [True: 0, False: 0]
  ------------------
  892|      0|	    if (i < lenx) {
  ------------------
  |  Branch (892:10): [True: 0, False: 0]
  ------------------
  893|      0|		SET_STRING_ELT(rval, i, STRING_ELT(x, i));
  894|      0|		if (xnames != R_NilValue)
  ------------------
  |  Branch (894:7): [True: 0, False: 0]
  ------------------
  895|      0|		    SET_STRING_ELT(names, i, STRING_ELT(xnames, i));
  896|      0|	    }
  897|      0|	    else
  898|      0|		SET_STRING_ELT(rval, i, NA_STRING);
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  899|      0|	break;
  900|      0|    case LISTSXP:
  ------------------
  |  |  113|      0|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (900:5): [True: 0, False: 55]
  ------------------
  901|      0|	for (t = rval; t != R_NilValue; t = CDR(t), x = CDR(x)) {
  ------------------
  |  Branch (901:17): [True: 0, False: 0]
  ------------------
  902|      0|	    SETCAR(t, CAR(x));
  903|      0|	    SET_TAG(t, TAG(x));
  904|      0|	}
  905|      0|	break;
  906|      0|    case VECSXP:
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (906:5): [True: 0, False: 55]
  ------------------
  907|      0|    case EXPRSXP:
  ------------------
  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (907:5): [True: 0, False: 55]
  ------------------
  908|      0|	for (i = 0; i < len; i++)
  ------------------
  |  Branch (908:14): [True: 0, False: 0]
  ------------------
  909|      0|	    if (i < lenx) {
  ------------------
  |  Branch (909:10): [True: 0, False: 0]
  ------------------
  910|      0|		SET_VECTOR_ELT(rval, i, VECTOR_ELT(x, i));
  911|      0|		if (xnames != R_NilValue)
  ------------------
  |  Branch (911:7): [True: 0, False: 0]
  ------------------
  912|      0|		    SET_STRING_ELT(names, i, STRING_ELT(xnames, i));
  913|      0|	    }
  914|      0|	break;
  915|      0|    case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (915:5): [True: 0, False: 55]
  ------------------
  916|      0|	for (i = 0; i < len; i++)
  ------------------
  |  Branch (916:14): [True: 0, False: 0]
  ------------------
  917|      0|	    if (i < lenx) {
  ------------------
  |  Branch (917:10): [True: 0, False: 0]
  ------------------
  918|      0|		RAW(rval)[i] = RAW(x)[i];
  919|      0|		if (xnames != R_NilValue)
  ------------------
  |  Branch (919:7): [True: 0, False: 0]
  ------------------
  920|      0|		    SET_STRING_ELT(names, i, STRING_ELT(xnames, i));
  921|      0|	    }
  922|      0|	    else
  923|      0|		RAW(rval)[i] = (Rbyte) 0;
  924|      0|	break;
  925|      0|    default:
  ------------------
  |  Branch (925:5): [True: 0, False: 55]
  ------------------
  926|      0|	UNIMPLEMENTED_TYPE("length<-", x);
  927|     55|    }
  928|     55|    if (isVector(x) && xnames != R_NilValue)
  ------------------
  |  |  974|     55|#define isVector		Rf_isVector
  ------------------
  |  Branch (928:9): [True: 55, False: 0]
  |  Branch (928:24): [True: 0, False: 55]
  ------------------
  929|      0|	setAttrib(rval, R_NamesSymbol, names);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  930|       |    // *not* keeping "class": in line with  x[1:k]
  931|     55|    UNPROTECT(2);
  ------------------
  |  |  358|     55|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  932|     55|    return rval;
  933|     55|}

do_nzchar:
  113|    100|{
  114|    100|    int nargs = length(args);
  ------------------
  |  |  987|    100|#define length(x)		Rf_length(x)
  ------------------
  115|       |
  116|       |    // checkArity(op, args);  .Primitive() and may have 1 or 2 args
  117|    100|    if (nargs < 1 || nargs > 2)
  ------------------
  |  Branch (117:9): [True: 0, False: 100]
  |  Branch (117:22): [True: 0, False: 100]
  ------------------
  118|      0|	errorcall(call,
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
  119|      0|		  ngettext("%d argument passed to '%s' which requires %d to %d",
  120|      0|			   "%d arguments passed to '%s' which requires %d to %d",
  121|      0|			   (unsigned long) nargs),
  122|      0|		  nargs, PRIMNAME(op), 1, 2);
  ------------------
  |  | 1346|      0|#define PRIMNAME(x)	(R_FunTab[PRIMOFFSET(x)].name)
  ------------------
  123|    100|    check1arg(args, call, "x");
  ------------------
  |  | 1872|    100|# define check1arg		Rf_check1arg
  ------------------
  124|       |
  125|    100|    if (isFactor(CAR(args)))
  ------------------
  |  |  946|    100|#define isFactor		Rf_isFactor
  ------------------
  |  Branch (125:9): [True: 0, False: 100]
  ------------------
  126|      0|	error(_("'%s' requires a character vector"), "nzchar()");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'%s' requires a character vector"), "nzchar()");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  127|    100|    SEXP x = PROTECT(coerceVector(CAR(args), STRSXP));
  ------------------
  |  |  357|    100|#define PROTECT(s)	Rf_protect(s)
  ------------------
  128|    100|    if (!isString(x))
  ------------------
  |  |  966|    100|#define isString		Rf_isString
  ------------------
  |  Branch (128:9): [True: 0, False: 100]
  ------------------
  129|      0|	error(_("'%s' requires a character vector"), "nzchar()");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'%s' requires a character vector"), "nzchar()");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  130|       |
  131|    100|    int keepNA = FALSE; // the default
  132|    100|    if(nargs > 1) {
  ------------------
  |  Branch (132:8): [True: 0, False: 100]
  ------------------
  133|      0|	keepNA = asLogical(CADR(args));
  ------------------
  |  |  886|      0|#define asLogical		Rf_asLogical
  ------------------
  134|      0|	if (keepNA == NA_LOGICAL) keepNA = FALSE;
  ------------------
  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (134:6): [True: 0, False: 0]
  ------------------
  135|      0|    }
  136|    100|    R_xlen_t i, len = XLENGTH(x);
  137|    100|    SEXP ans = PROTECT(allocVector(LGLSXP, len));
  ------------------
  |  |  357|    100|#define PROTECT(s)	Rf_protect(s)
  ------------------
  138|    100|    if (keepNA)
  ------------------
  |  Branch (138:9): [True: 0, False: 100]
  ------------------
  139|      0|	for (i = 0; i < len; i++) {
  ------------------
  |  Branch (139:14): [True: 0, False: 0]
  ------------------
  140|      0|	    SEXP sxi = STRING_ELT(x, i);
  141|      0|	    LOGICAL(ans)[i] = (sxi == NA_STRING) ? NA_LOGICAL : LENGTH(sxi) > 0;
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
              	    LOGICAL(ans)[i] = (sxi == NA_STRING) ? NA_LOGICAL : LENGTH(sxi) > 0;
  ------------------
  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (141:24): [True: 0, False: 0]
  ------------------
  142|      0|	}
  143|    100|    else
  144|    208|	for (i = 0; i < len; i++)
  ------------------
  |  Branch (144:14): [True: 108, False: 100]
  ------------------
  145|    108|	    LOGICAL(ans)[i] = LENGTH(STRING_ELT(x, i)) > 0;
  146|    100|    UNPROTECT(2);
  ------------------
  |  |  358|    100|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  147|    100|    return ans;
  148|    100|}
R_nchar:
  166|      3|{
  167|      3|    if (string == NA_STRING)
  ------------------
  |  |  433|      3|#define NA_STRING	R_NaString
  ------------------
  |  Branch (167:9): [True: 0, False: 3]
  ------------------
  168|      0|	return keepNA ? NA_INTEGER : 2;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (168:9): [True: 0, False: 0]
  ------------------
  169|       |    // else :
  170|      3|    switch(type_) {
  ------------------
  |  Branch (170:12): [True: 3, False: 0]
  ------------------
  171|      0|    case Bytes:
  ------------------
  |  Branch (171:5): [True: 0, False: 3]
  ------------------
  172|      0|	return LENGTH(string);
  173|      0|	break;
  174|      3|    case Chars:
  ------------------
  |  Branch (174:5): [True: 3, False: 0]
  ------------------
  175|      3|	if (IS_UTF8(string)) {
  ------------------
  |  Branch (175:6): [True: 0, False: 3]
  ------------------
  176|      0|	    const char *p = CHAR(string);
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  177|      0|	    if (!utf8Valid(p)) {
  ------------------
  |  | 2016|      0|# define utf8Valid		Rf_utf8Valid
  ------------------
  |  Branch (177:10): [True: 0, False: 0]
  ------------------
  178|      0|		if (!allowNA) {
  ------------------
  |  Branch (178:7): [True: 0, False: 0]
  ------------------
  179|      0|		    if (msg_name)
  ------------------
  |  Branch (179:11): [True: 0, False: 0]
  ------------------
  180|      0|			error(_("invalid multibyte string, %s"), msg_name);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              			error(_("invalid multibyte string, %s"), msg_name);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  181|      0|		    else
  182|      0|			return -1;
  183|      0|		}
  184|      0|		return NA_INTEGER;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  185|      0|	    } else {
  186|      0|		int nc = 0;
  187|      0|		for( ; *p; p += utf8clen(*p)) nc++;
  ------------------
  |  | 2013|      0|# define utf8clen		Rf_utf8clen
  ------------------
  |  Branch (187:10): [True: 0, False: 0]
  ------------------
  188|      0|		return nc;
  189|      0|	    }
  190|      3|	} else if (IS_LATIN1(string)) {
  ------------------
  |  Branch (190:13): [True: 0, False: 3]
  ------------------
  191|       |	    // just count bytes
  192|      0|	    return (int) strlen(CHAR(string));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  193|      3|	} else if (IS_BYTES(string)) {
  ------------------
  |  Branch (193:13): [True: 0, False: 3]
  ------------------
  194|      0|	    if (!allowNA) /* could do chars 0 */ {
  ------------------
  |  Branch (194:10): [True: 0, False: 0]
  ------------------
  195|      0|		if (msg_name)
  ------------------
  |  Branch (195:7): [True: 0, False: 0]
  ------------------
  196|      0|		    error(_("number of characters is not computable in \"bytes\" encoding, %s"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("number of characters is not computable in \"bytes\" encoding, %s"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  197|      0|		          msg_name);
  198|      0|		else
  199|      0|		    return -2;
  200|      0|	    }
  201|      0|	    return NA_INTEGER;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  202|      3|	} else if (mbcslocale) {
  ------------------
  |  Branch (202:13): [True: 0, False: 3]
  ------------------
  203|      0|	    int nc = (int) mbstowcs(NULL, translateChar(string), 0);
  ------------------
  |  | 1037|      0|#define translateChar		Rf_translateChar
  ------------------
  204|      0|	    if (!allowNA && nc < 0) {
  ------------------
  |  Branch (204:10): [True: 0, False: 0]
  |  Branch (204:22): [True: 0, False: 0]
  ------------------
  205|      0|		if (msg_name)
  ------------------
  |  Branch (205:7): [True: 0, False: 0]
  ------------------
  206|      0|		    error(_("invalid multibyte string, %s"), msg_name);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("invalid multibyte string, %s"), msg_name);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  207|      0|		else
  208|      0|		    return -1;
  209|      0|	    }
  210|      0|	    return (nc >= 0 ? nc : NA_INTEGER);
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (210:14): [True: 0, False: 0]
  ------------------
  211|      0|	} else
  212|      3|	    return ((int) strlen(translateChar(string)));
  ------------------
  |  | 1037|      3|#define translateChar		Rf_translateChar
  ------------------
  213|      0|	break;
  214|      0|    case Width:
  ------------------
  |  Branch (214:5): [True: 0, False: 3]
  ------------------
  215|      0|	if (IS_UTF8(string)) {
  ------------------
  |  Branch (215:6): [True: 0, False: 0]
  ------------------
  216|      0|	    const char *p = CHAR(string);
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  217|      0|	    if (!utf8Valid(p)) {
  ------------------
  |  | 2016|      0|# define utf8Valid		Rf_utf8Valid
  ------------------
  |  Branch (217:10): [True: 0, False: 0]
  ------------------
  218|      0|		if (!allowNA) {
  ------------------
  |  Branch (218:7): [True: 0, False: 0]
  ------------------
  219|      0|		    if (msg_name)
  ------------------
  |  Branch (219:11): [True: 0, False: 0]
  ------------------
  220|      0|			error(_("invalid multibyte string, %s"), msg_name);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              			error(_("invalid multibyte string, %s"), msg_name);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  221|      0|		    else
  222|      0|			return -1;
  223|      0|		}
  224|      0|		return NA_INTEGER;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  225|      0|	    } else {
  226|      0|		int nc = 0;
  227|      0|		for( ; *p; p += utf8clen(*p)) {
  ------------------
  |  | 2013|      0|# define utf8clen		Rf_utf8clen
  ------------------
  |  Branch (227:10): [True: 0, False: 0]
  ------------------
  228|      0|		    wchar_t wc1;
  229|      0|		    utf8toucs(&wc1, p);
  ------------------
  |  | 2014|      0|# define utf8toucs		Rf_utf8toucs
  ------------------
  230|      0|		    R_wchar_t ucs;
  231|      0|		    if (IS_HIGH_SURROGATE(wc1))
  ------------------
  |  |  173|      0|#define IS_HIGH_SURROGATE(wch) (((wch) >= HIGH_SURROGATE_START) && ((wch) <= HIGH_SURROGATE_END))
  |  |  ------------------
  |  |  |  |  162|      0|#define HIGH_SURROGATE_START 0xd800
  |  |  ------------------
  |  |               #define IS_HIGH_SURROGATE(wch) (((wch) >= HIGH_SURROGATE_START) && ((wch) <= HIGH_SURROGATE_END))
  |  |  ------------------
  |  |  |  |  163|      0|#define HIGH_SURROGATE_END 0xdbff
  |  |  ------------------
  |  |  |  Branch (173:33): [True: 0, False: 0]
  |  |  |  Branch (173:68): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  232|      0|		    	ucs = utf8toucs32(wc1, p);
  ------------------
  |  |  177|      0|# define utf8toucs32		Rf_utf8toucs32
  ------------------
  233|      0|		    else
  234|      0|		    	ucs = wc1;
  235|      0|#ifdef USE_RI18N_WIDTH
  236|      0|		    nc += Ri18n_wcwidth(ucs);
  237|       |#else
  238|       |		    {
  239|       |			int this = wcwidth(ucs);
  240|       |			if (this >= 0) nc += this;
  241|       |		    }
  242|       |#endif
  243|      0|		}
  244|      0|		return nc;
  245|      0|	    }
  246|      0|	} else if (IS_BYTES(string)) {
  ------------------
  |  Branch (246:13): [True: 0, False: 0]
  ------------------
  247|      0|	    if (!allowNA) { /* could do width 0 */
  ------------------
  |  Branch (247:10): [True: 0, False: 0]
  ------------------
  248|      0|		if (msg_name)
  ------------------
  |  Branch (248:7): [True: 0, False: 0]
  ------------------
  249|      0|		    error(_("width is not computable for %s in \"bytes\" encoding"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("width is not computable for %s in \"bytes\" encoding"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  250|      0|		          msg_name);
  251|      0|		else
  252|      0|		    return -2;
  253|      0|	    }
  254|      0|	    return NA_INTEGER;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  255|      0|	} else if (IS_LATIN1(string)) {
  ------------------
  |  Branch (255:13): [True: 0, False: 0]
  ------------------
  256|       |	    // just count bytes as they are all width-1 chars
  257|       |	    // FIXME, well not control chars but there is ambiguity for most of 0x80-9F
  258|      0|	    return (int) strlen(CHAR(string));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  259|      0|	} else if (mbcslocale) {
  ------------------
  |  Branch (259:13): [True: 0, False: 0]
  ------------------
  260|      0|	    const char *xi = translateChar(string);
  ------------------
  |  | 1037|      0|#define translateChar		Rf_translateChar
  ------------------
  261|      0|	    int nc = (int) mbstowcs(NULL, xi, 0);
  262|      0|	    if (nc >= 0) {
  ------------------
  |  Branch (262:10): [True: 0, False: 0]
  ------------------
  263|      0|		const void *vmax = vmaxget();
  264|       |		/* working in wchar_t restricts this to the BMP on
  265|       |		   Windows, but maybe that is all current native
  266|       |		   charsets cover. */
  267|      0|		wchar_t *wc = (wchar_t *)
  268|      0|		    R_AllocStringBuffer((nc+1)*sizeof(wchar_t), &cbuff);
  269|      0|		mbstowcs(wc, xi, nc + 1);
  270|       |		// FIXME: width could conceivably exceed MAX_INT.
  271|      0|#ifdef USE_RI18N_WIDTH
  272|      0|		int nci18n = Ri18n_wcswidth(wc, 2147483647);
  273|       |#else
  274|       |		// We do not use this unless R_wchar_t is wchar_t
  275|       |		// This could be -1 if there are non-printable chars,
  276|       |		// then this is ignored
  277|       |		int nci18n = wcswidth(wc, 2147483647);
  278|       |#endif
  279|      0|		if (msg_name)
  ------------------
  |  Branch (279:7): [True: 0, False: 0]
  ------------------
  280|      0|		    R_FreeStringBufferL(&cbuff);
  281|      0|		vmaxset(vmax);
  282|      0|		return (nci18n < 0) ? nc : nci18n;
  ------------------
  |  Branch (282:10): [True: 0, False: 0]
  ------------------
  283|      0|	    } else if (!allowNA) {
  ------------------
  |  Branch (283:17): [True: 0, False: 0]
  ------------------
  284|      0|		if (msg_name)
  ------------------
  |  Branch (284:7): [True: 0, False: 0]
  ------------------
  285|      0|		    error(_("invalid multibyte string, %s"), msg_name);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("invalid multibyte string, %s"), msg_name);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  286|      0|		else
  287|      0|		    return -1;
  288|      0|	    }
  289|      0|	    else
  290|      0|		return NA_INTEGER;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  291|      0|	} else
  292|       |	    // See Latin-1 comment.
  293|      0|	    return (int) strlen(translateChar(string));
  ------------------
  |  | 1037|      0|#define translateChar		Rf_translateChar
  ------------------
  294|       |
  295|      3|    } // switch
  296|      0|    return NA_INTEGER; // -Wall
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  297|      3|} // R_nchar()
do_nchar:
  300|      3|{
  301|      3|    SEXP d, s, x, stype, ans;
  302|      3|    int nargs = length(args);
  ------------------
  |  |  987|      3|#define length(x)		Rf_length(x)
  ------------------
  303|       |
  304|       |#ifdef R_version_3_4_or_so
  305|       |    checkArity(op, args);
  306|       |#else
  307|       |    // will work also for code byte-compiled *before* 'keepNA' was introduced
  308|      3|    if (nargs < 3 || nargs > 4)
  ------------------
  |  Branch (308:9): [True: 0, False: 3]
  |  Branch (308:22): [True: 0, False: 3]
  ------------------
  309|      0|	error(ngettext("%d argument passed to '%s' which requires %d to %d",
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  310|      0|		       "%d arguments passed to '%s' which requires %d to %d",
  311|      0|			   (unsigned long) nargs),
  312|      0|	      nargs, PRIMNAME(op), 3, 4);
  ------------------
  |  | 1346|      0|#define PRIMNAME(x)	(R_FunTab[PRIMOFFSET(x)].name)
  ------------------
  313|      3|#endif
  314|       |    /* DispatchOrEval internal generic: nchar */
  315|      3|    if (DispatchOrEval(call, op, "nchar", args, env, &ans, 0, 1))
  ------------------
  |  | 1892|      3|# define DispatchOrEval		Rf_DispatchOrEval
  ------------------
  |  Branch (315:9): [True: 0, False: 3]
  ------------------
  316|      0|      return(ans);
  317|      3|    if (isFactor(CAR(args)))
  ------------------
  |  |  946|      3|#define isFactor		Rf_isFactor
  ------------------
  |  Branch (317:9): [True: 0, False: 3]
  ------------------
  318|      0|	error(_("'%s' requires a character vector"), "nchar()");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'%s' requires a character vector"), "nchar()");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  319|      3|    PROTECT(x = coerceVector(CAR(args), STRSXP));
  ------------------
  |  |  357|      3|#define PROTECT(s)	Rf_protect(s)
  ------------------
  320|      3|    if (!isString(x))
  ------------------
  |  |  966|      3|#define isString		Rf_isString
  ------------------
  |  Branch (320:9): [True: 0, False: 3]
  ------------------
  321|      0|	error(_("'%s' requires a character vector"), "nchar()");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'%s' requires a character vector"), "nchar()");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  322|      3|    R_xlen_t len = XLENGTH(x);
  323|      3|    stype = CADR(args);
  324|      3|    if (!isString(stype) || LENGTH(stype) != 1)
  ------------------
  |  |  966|      3|#define isString		Rf_isString
  ------------------
  |  Branch (324:9): [True: 0, False: 3]
  |  Branch (324:29): [True: 0, False: 3]
  ------------------
  325|      0|	error(_("invalid '%s' argument"), "type");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "type");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  326|      3|    const char *type = CHAR(STRING_ELT(stype, 0)); /* always ASCII */
  ------------------
  |  |  203|      3|#define CHAR(x) R_CHAR(x)
  ------------------
  327|      3|    size_t ntype = strlen(type);
  328|      3|    if (ntype == 0) error(_("invalid '%s' argument"), "type");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  if (ntype == 0) error(_("invalid '%s' argument"), "type");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (328:9): [True: 0, False: 3]
  ------------------
  329|      3|    nchar_type type_;
  330|      3|    if (strncmp(type, "bytes", ntype) == 0)	 type_ = Bytes;
  ------------------
  |  Branch (330:9): [True: 0, False: 3]
  ------------------
  331|      3|    else if (strncmp(type, "chars", ntype) == 0) type_ = Chars;
  ------------------
  |  Branch (331:14): [True: 3, False: 0]
  ------------------
  332|      0|    else if (strncmp(type, "width", ntype) == 0) type_ = Width;
  ------------------
  |  Branch (332:14): [True: 0, False: 0]
  ------------------
  333|      0|    else error(_("invalid '%s' argument"), "type");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  else error(_("invalid '%s' argument"), "type");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  334|      3|    int allowNA = asLogical(CADDR(args));
  ------------------
  |  |  886|      3|#define asLogical		Rf_asLogical
  ------------------
  335|      3|    if (allowNA == NA_LOGICAL) allowNA = 0;
  ------------------
  |  |   55|      3|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (335:9): [True: 0, False: 3]
  ------------------
  336|      3|    int keepNA;
  337|      3|    if(nargs >= 4) {
  ------------------
  |  Branch (337:8): [True: 3, False: 0]
  ------------------
  338|      3|	keepNA = asLogical(CADDDR(args));
  ------------------
  |  |  886|      3|#define asLogical		Rf_asLogical
  ------------------
  339|      3|	if (keepNA == NA_LOGICAL) // default
  ------------------
  |  |   55|      3|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (339:6): [True: 3, False: 0]
  ------------------
  340|      3|	    keepNA = (type_ == Width) ? FALSE : TRUE;
  ------------------
  |  Branch (340:15): [True: 0, False: 3]
  ------------------
  341|      3|    } else  keepNA = (type_ == Width) ? FALSE : TRUE;
  ------------------
  |  Branch (341:22): [True: 0, False: 0]
  ------------------
  342|      3|    PROTECT(s = allocVector(INTSXP, len));
  ------------------
  |  |  357|      3|#define PROTECT(s)	Rf_protect(s)
  ------------------
  343|      3|    int *s_ = INTEGER(s);
  344|      6|    for (R_xlen_t i = 0; i < len; i++) {
  ------------------
  |  Branch (344:26): [True: 3, False: 3]
  ------------------
  345|      3|	SEXP sxi = STRING_ELT(x, i);
  346|       |	// NA_LOGICAL has now been excluded
  347|      3|	int res = R_nchar(sxi, type_,
  348|      3|			  (Rboolean) allowNA, (Rboolean) keepNA, NULL);
  349|      3|	switch(res) {
  350|      0|	case -1:
  ------------------
  |  Branch (350:2): [True: 0, False: 3]
  ------------------
  351|      0|	    error(_("invalid multibyte string, element %lld"), (long long)i+1);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("invalid multibyte string, element %lld"), (long long)i+1);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  352|      0|	case -2:
  ------------------
  |  Branch (352:2): [True: 0, False: 3]
  ------------------
  353|      0|	    if (type_ == Chars)
  ------------------
  |  Branch (353:10): [True: 0, False: 0]
  ------------------
  354|      0|		error(_("number of characters is not computable in \"bytes\" encoding, element %lld"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("number of characters is not computable in \"bytes\" encoding, element %lld"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  355|      0|		      (long long)i+1);
  356|      0|	    else /* type_ == Width */
  357|      0|		error(_("width is not computable in \"bytes\" encoding, element %lld"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("width is not computable in \"bytes\" encoding, element %lld"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  358|      0|		      (long long)i+1);
  359|      3|	default:
  ------------------
  |  Branch (359:2): [True: 3, False: 0]
  ------------------
  360|      3|	    s_[i] = res;
  361|      3|	    break;
  362|      3|	}
  363|      3|    }
  364|      3|    R_FreeStringBufferL(&cbuff);
  365|      3|    if ((d = getAttrib(x, R_NamesSymbol)) != R_NilValue)
  ------------------
  |  |  924|      3|#define getAttrib		Rf_getAttrib
  ------------------
  |  Branch (365:9): [True: 0, False: 3]
  ------------------
  366|      0|	setAttrib(s, R_NamesSymbol, d);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  367|      3|    if ((d = getAttrib(x, R_DimSymbol)) != R_NilValue)
  ------------------
  |  |  924|      3|#define getAttrib		Rf_getAttrib
  ------------------
  |  Branch (367:9): [True: 0, False: 3]
  ------------------
  368|      0|	setAttrib(s, R_DimSymbol, d);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  369|      3|    if ((d = getAttrib(x, R_DimNamesSymbol)) != R_NilValue)
  ------------------
  |  |  924|      3|#define getAttrib		Rf_getAttrib
  ------------------
  |  Branch (369:9): [True: 0, False: 3]
  ------------------
  370|      0|	setAttrib(s, R_DimNamesSymbol, d);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  371|      3|    UNPROTECT(2);
  ------------------
  |  |  358|      3|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  372|      3|    return s;
  373|      3|}
do_startsWith:
  496|     82|{
  497|     82|    checkArity(op, args);
  ------------------
  |  | 1793|     82|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  498|       |
  499|     82|    SEXP x = CAR(args), Xfix = CADR(args); // 'prefix' or 'suffix'
  500|     82|    if (!isString(x) || !isString(Xfix))
  ------------------
  |  |  966|     82|#define isString		Rf_isString
  ------------------
                  if (!isString(x) || !isString(Xfix))
  ------------------
  |  |  966|     82|#define isString		Rf_isString
  ------------------
  |  Branch (500:9): [True: 0, False: 82]
  |  Branch (500:25): [True: 0, False: 82]
  ------------------
  501|      0|	error(_("non-character object(s)"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("non-character object(s)"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  502|     82|    R_xlen_t
  503|     82|	n1 = XLENGTH(x),
  504|     82|	n2 = XLENGTH(Xfix),
  505|     82|	n = (n1 > 0 && n2 > 0) ? ((n1 >= n2) ? n1 : n2) : 0;
  ------------------
  |  Branch (505:7): [True: 70, False: 12]
  |  Branch (505:17): [True: 70, False: 0]
  |  Branch (505:28): [True: 70, False: 0]
  ------------------
  506|     82|    if (n == 0) return allocVector(LGLSXP, 0);
  ------------------
  |  |  875|     12|#define allocVector		Rf_allocVector
  ------------------
                  if (n == 0) return allocVector(LGLSXP, 0);
  ------------------
  |  |  121|     12|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (506:9): [True: 12, False: 70]
  ------------------
  507|     70|    SEXP ans = PROTECT(allocVector(LGLSXP, n));
  ------------------
  |  |  357|     70|#define PROTECT(s)	Rf_protect(s)
  ------------------
  508|       |
  509|     70|    typedef const char * cp;
  510|     70|    if (n2 == 1) { // optimize the most common case
  ------------------
  |  Branch (510:9): [True: 70, False: 0]
  ------------------
  511|     70|	SEXP el = STRING_ELT(Xfix, 0);
  512|     70|	if (el == NA_STRING) {
  ------------------
  |  |  433|     70|#define NA_STRING	R_NaString
  ------------------
  |  Branch (512:6): [True: 0, False: 70]
  ------------------
  513|      0|	    for (R_xlen_t i = 0; i < n1; i++)
  ------------------
  |  Branch (513:27): [True: 0, False: 0]
  ------------------
  514|      0|		LOGICAL(ans)[i] = NA_LOGICAL;
  ------------------
  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  ------------------
  515|     70|	} else {
  516|       |	    // ASCII matching will do for ASCII Xfix except in non-UTF-8 MBCS
  517|     70|	    Rboolean need_translate = TRUE;
  518|     70|	    if (IS_ASCII(el) && (utf8locale || !mbcslocale))
  ------------------
  |  Branch (518:10): [True: 70, False: 0]
  |  Branch (518:27): [True: 0, False: 70]
  |  Branch (518:41): [True: 70, False: 0]
  ------------------
  519|     70|		need_translate = FALSE;
  520|     70|	    cp y0 = need_translate ? translateCharUTF8(el) : CHAR(el);
  ------------------
  |  | 1039|      0|#define translateCharUTF8      	Rf_translateCharUTF8
  ------------------
              	    cp y0 = need_translate ? translateCharUTF8(el) : CHAR(el);
  ------------------
  |  |  203|     70|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (520:14): [True: 0, False: 70]
  ------------------
  521|     70|	    int ylen = (int) strlen(y0);
  522|  21.2k|	    for (R_xlen_t i = 0; i < n1; i++) {
  ------------------
  |  Branch (522:27): [True: 21.1k, False: 70]
  ------------------
  523|  21.1k|		SEXP el = STRING_ELT(x, i);
  524|  21.1k|		if (el == NA_STRING) {
  ------------------
  |  |  433|  21.1k|#define NA_STRING	R_NaString
  ------------------
  |  Branch (524:7): [True: 0, False: 21.1k]
  ------------------
  525|      0|		    LOGICAL(ans)[i] = NA_LOGICAL;
  ------------------
  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  ------------------
  526|  21.1k|		} else {
  527|  21.1k|		    cp x0 = need_translate ? translateCharUTF8(el) : CHAR(el);
  ------------------
  |  | 1039|      0|#define translateCharUTF8      	Rf_translateCharUTF8
  ------------------
              		    cp x0 = need_translate ? translateCharUTF8(el) : CHAR(el);
  ------------------
  |  |  203|  21.1k|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (527:15): [True: 0, False: 21.1k]
  ------------------
  528|  21.1k|		    if(PRIMVAL(op) == 0) { // startsWith
  ------------------
  |  | 1347|  21.1k|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (528:10): [True: 21.1k, False: 0]
  ------------------
  529|  21.1k|			LOGICAL(ans)[i] = strncmp(x0, y0, ylen) == 0;
  530|  21.1k|		    } else { // endsWith
  531|      0|			int off = (int)strlen(x0) - ylen;
  532|      0|			if (off < 0)
  ------------------
  |  Branch (532:8): [True: 0, False: 0]
  ------------------
  533|      0|			    LOGICAL(ans)[i] = 0;
  534|      0|			else {
  535|      0|			    LOGICAL(ans)[i] = memcmp(x0 + off, y0, ylen) == 0;
  536|      0|			}
  537|      0|		    }
  538|  21.1k|		}
  539|  21.1k|	    }
  540|     70|	}
  541|     70|    } else { // n2 > 1
  542|       |	// convert both inputs to UTF-8
  543|      0|	cp *x0 = (cp *) R_alloc(n1, sizeof(char *));
  544|      0|	cp *y0 = (cp *) R_alloc(n2, sizeof(char *));
  545|       |	// and record lengths, -1 for NA
  546|      0|	int *x1 = (int *) R_alloc(n1, sizeof(int));
  547|      0|	int *y1 = (int *) R_alloc(n2, sizeof(int));
  548|      0|	for (R_xlen_t i = 0; i < n1; i++) {
  ------------------
  |  Branch (548:23): [True: 0, False: 0]
  ------------------
  549|      0|	    SEXP el = STRING_ELT(x, i);
  550|      0|	    if (el == NA_STRING)
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  |  Branch (550:10): [True: 0, False: 0]
  ------------------
  551|      0|		x1[i] = -1;
  552|      0|	    else {
  553|      0|		x0[i] = translateCharUTF8(el);
  ------------------
  |  | 1039|      0|#define translateCharUTF8      	Rf_translateCharUTF8
  ------------------
  554|      0|		x1[i] = (int) strlen(x0[i]);
  555|      0|	    }
  556|      0|	}
  557|      0|	for (R_xlen_t i = 0; i < n2; i++) {
  ------------------
  |  Branch (557:23): [True: 0, False: 0]
  ------------------
  558|      0|	    SEXP el = STRING_ELT(Xfix, i);
  559|      0|	    if (el == NA_STRING)
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  |  Branch (559:10): [True: 0, False: 0]
  ------------------
  560|      0|		y1[i] = -1;
  561|      0|	    else {
  562|      0|		y0[i] = translateCharUTF8(el);
  ------------------
  |  | 1039|      0|#define translateCharUTF8      	Rf_translateCharUTF8
  ------------------
  563|      0|		y1[i] = (int) strlen(y0[i]);
  564|      0|	    }
  565|      0|	}
  566|      0|	R_xlen_t i, i1, i2;
  567|      0|	if(PRIMVAL(op) == 0) { // 0 = startsWith, 1 = endsWith
  ------------------
  |  | 1347|      0|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (567:5): [True: 0, False: 0]
  ------------------
  568|      0|	    MOD_ITERATE2(n, n1, n2, i, i1, i2, {
  ------------------
  |  |   87|      0|#define MOD_ITERATE2(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |   88|      0|	i = i1 = i2 = 0;					\
  |  |   89|      0|	MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body);	\
  |  |  ------------------
  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   84|      0|		}							\
  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (90:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  569|      0|		    if (x1[i1] < 0 || y1[i2] < 0)
  570|      0|			LOGICAL(ans)[i] = NA_LOGICAL;
  571|      0|		    else if (x1[i1] < y1[i2])
  572|      0|			LOGICAL(ans)[i] = 0;
  573|      0|		    else // memcmp should be faster than strncmp
  574|      0|			LOGICAL(ans)[i] =
  575|      0|			    memcmp(x0[i1], y0[i2], y1[i2]) == 0;
  576|      0|		});
  577|      0|	} else { // endsWith
  578|      0|	    MOD_ITERATE2(n, n1, n2, i, i1, i2, {
  ------------------
  |  |   87|      0|#define MOD_ITERATE2(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |   88|      0|	i = i1 = i2 = 0;					\
  |  |   89|      0|	MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body);	\
  |  |  ------------------
  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   84|      0|		}							\
  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (90:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  579|      0|		    if (x1[i1] < 0 || y1[i2] < 0)
  580|      0|			LOGICAL(ans)[i] = NA_LOGICAL;
  581|      0|		    else {
  582|      0|			int off = x1[i1] - y1[i2];
  583|      0|			if (off < 0)
  584|      0|			    LOGICAL(ans)[i] = 0;
  585|      0|			else {
  586|      0|			    LOGICAL(ans)[i] =
  587|      0|				memcmp(x0[i1] + off, y0[i2], y1[i2]) == 0;
  588|      0|			}
  589|      0|		    }
  590|      0|		});
  591|      0|	}
  592|      0|    }
  593|     70|    UNPROTECT(1);
  ------------------
  |  |  358|     70|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  594|     70|    return ans;
  595|     82|}
do_makenames:
  993|      2|{
  994|      2|    SEXP arg, ans;
  995|      2|    R_xlen_t i, n;
  996|      2|    int l, allow_;
  997|      2|    char *p, *tmp = NULL, *cbuf;
  998|      2|    const char *This;
  999|      2|    Rboolean need_prefix;
 1000|      2|    const void *vmax;
 1001|       |
 1002|      2|    checkArity(op ,args);
  ------------------
  |  | 1793|      2|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1003|      2|    arg = CAR(args);
 1004|      2|    if (!isString(arg))
  ------------------
  |  |  966|      2|#define isString		Rf_isString
  ------------------
  |  Branch (1004:9): [True: 0, False: 2]
  ------------------
 1005|      0|	error(_("non-character names"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("non-character names"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1006|      2|    n = XLENGTH(arg);
 1007|      2|    allow_ = asLogical(CADR(args));
  ------------------
  |  |  886|      2|#define asLogical		Rf_asLogical
  ------------------
 1008|      2|    if (allow_ == NA_LOGICAL)
  ------------------
  |  |   55|      2|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (1008:9): [True: 0, False: 2]
  ------------------
 1009|      0|	error(_("invalid '%s' value"), "allow_");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' value"), "allow_");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1010|      2|    PROTECT(ans = allocVector(STRSXP, n));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1011|      2|    vmax = vmaxget();
 1012|     14|    for (i = 0 ; i < n ; i++) {
  ------------------
  |  Branch (1012:18): [True: 12, False: 2]
  ------------------
 1013|     12|	This = translateChar(STRING_ELT(arg, i));
  ------------------
  |  | 1037|     12|#define translateChar		Rf_translateChar
  ------------------
 1014|     12|	l = (int) strlen(This);
 1015|       |	/* need to prefix names not beginning with alpha or ., as
 1016|       |	   well as . followed by a number */
 1017|     12|	need_prefix = FALSE;
 1018|     12|	if (mbcslocale && This[0]) {
  ------------------
  |  Branch (1018:6): [True: 0, False: 12]
  |  Branch (1018:20): [True: 0, False: 0]
  ------------------
 1019|      0|	    int nc = l, used;
 1020|      0|	    wchar_t wc;
 1021|      0|	    mbstate_t mb_st;
 1022|      0|	    const char *pp = This;
 1023|      0|	    mbs_init(&mb_st);
  ------------------
  |  | 2459|      0|#define mbs_init(x) memset(x, 0, sizeof(mbstate_t))
  ------------------
 1024|      0|	    used = (int) Mbrtowc(&wc, pp, R_MB_CUR_MAX, &mb_st);
  ------------------
  |  | 1954|      0|# define Mbrtowc		Rf_mbrtowc
  ------------------
 1025|      0|	    pp += used; nc -= used;
 1026|      0|	    if (wc == L'.') {
  ------------------
  |  Branch (1026:10): [True: 0, False: 0]
  ------------------
 1027|      0|		if (nc > 0) {
  ------------------
  |  Branch (1027:7): [True: 0, False: 0]
  ------------------
 1028|      0|		    Mbrtowc(&wc, pp, R_MB_CUR_MAX, &mb_st);
  ------------------
  |  | 1954|      0|# define Mbrtowc		Rf_mbrtowc
  ------------------
 1029|      0|		    if (iswdigit(wc))  need_prefix = TRUE;
  ------------------
  |  Branch (1029:11): [True: 0, False: 0]
  ------------------
 1030|      0|		}
 1031|      0|	    } else if (!iswalpha(wc)) need_prefix = TRUE;
  ------------------
  |  Branch (1031:17): [True: 0, False: 0]
  ------------------
 1032|     12|	} else {
 1033|     12|	    if (This[0] == '.') {
  ------------------
  |  Branch (1033:10): [True: 0, False: 12]
  ------------------
 1034|      0|		if (l >= 1 && isdigit(0xff & (int) This[1])) need_prefix = TRUE;
  ------------------
  |  Branch (1034:7): [True: 0, False: 0]
  |  Branch (1034:17): [True: 0, False: 0]
  ------------------
 1035|     12|	    } else if (!isalpha(0xff & (int) This[0])) need_prefix = TRUE;
  ------------------
  |  Branch (1035:17): [True: 0, False: 12]
  ------------------
 1036|     12|	}
 1037|       |	/* Use R_alloc() rather than R_Calloc(): the invalid multibyte
 1038|       |	   string error below would otherwise leak the buffer.
 1039|       |	   vmaxset() at the end of each iteration releases it. */
 1040|     12|	if (need_prefix) {
  ------------------
  |  Branch (1040:6): [True: 0, False: 12]
  ------------------
 1041|      0|	    tmp = R_alloc(l+2, sizeof(char));
 1042|      0|	    strcpy(tmp, "X");
 1043|      0|	    strcat(tmp, translateChar(STRING_ELT(arg, i)));
  ------------------
  |  | 1037|      0|#define translateChar		Rf_translateChar
  ------------------
 1044|     12|	} else {
 1045|     12|	    tmp = R_alloc(l+1, sizeof(char));
 1046|     12|	    strcpy(tmp, translateChar(STRING_ELT(arg, i)));
  ------------------
  |  | 1037|     12|#define translateChar		Rf_translateChar
  ------------------
 1047|     12|	}
 1048|     12|	if (mbcslocale) {
  ------------------
  |  Branch (1048:6): [True: 0, False: 12]
  ------------------
 1049|       |	    /* This cannot lengthen the string, so safe to overwrite it. */
 1050|      0|	    int nc = (int) mbstowcs(NULL, tmp, 0);
 1051|      0|	    if (nc >= 0) {
  ------------------
  |  Branch (1051:10): [True: 0, False: 0]
  ------------------
 1052|      0|		wchar_t *wstr = R_Calloc(nc+1, wchar_t);
  ------------------
  |  |   55|      0|#define R_Calloc(n, t)   (t *) R_chk_calloc( (R_SIZE_T) (n), sizeof(t) )
  ------------------
 1053|      0|		mbstowcs(wstr, tmp, nc+1);
 1054|      0|		for (wchar_t * wc = wstr; *wc; wc++) {
  ------------------
  |  Branch (1054:29): [True: 0, False: 0]
  ------------------
 1055|      0|		    if (*wc == L'.' || (allow_ && *wc == L'_'))
  ------------------
  |  Branch (1055:11): [True: 0, False: 0]
  |  Branch (1055:27): [True: 0, False: 0]
  |  Branch (1055:37): [True: 0, False: 0]
  ------------------
 1056|      0|			/* leave alone */;
 1057|      0|		    else if (!iswalnum((int)*wc)) *wc = L'.';
  ------------------
  |  Branch (1057:16): [True: 0, False: 0]
  ------------------
 1058|      0|		}
 1059|      0|		wcstombs(tmp, wstr, strlen(tmp)+1);
 1060|      0|		R_Free(wstr);
  ------------------
  |  |   57|      0|#define R_Free(p)      (R_chk_free( (void *)(p) ), (p) = NULL)
  ------------------
 1061|      0|	    } else error(_("invalid multibyte string %lld"), (long long)i+1);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    } else error(_("invalid multibyte string %lld"), (long long)i+1);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1062|     12|	} else {
 1063|    102|	    for (p = tmp; *p; p++) {
  ------------------
  |  Branch (1063:20): [True: 90, False: 12]
  ------------------
 1064|     90|		if (*p == '.' || (allow_ && *p == '_')) /* leave alone */;
  ------------------
  |  Branch (1064:7): [True: 4, False: 86]
  |  Branch (1064:21): [True: 86, False: 0]
  |  Branch (1064:31): [True: 2, False: 84]
  ------------------
 1065|     84|		else if (!isalnum(0xff & (int)*p)) *p = '.';
  ------------------
  |  Branch (1065:12): [True: 0, False: 84]
  ------------------
 1066|       |		/* else leave alone */
 1067|     90|	    }
 1068|     12|	}
 1069|     12|	SET_STRING_ELT(ans, i, mkChar(tmp));
  ------------------
  |  |  998|     12|#define mkChar			Rf_mkChar
  ------------------
 1070|       |	/* do we have a reserved word?  If so the name is invalid */
 1071|     12|	if (!isValidName(tmp)) {
  ------------------
  |  | 1935|     12|# define isValidName		Rf_isValidName
  ------------------
  |  Branch (1071:6): [True: 0, False: 12]
  ------------------
 1072|      0|	    cbuf = R_alloc(strlen(tmp) + 2, sizeof(char));
 1073|      0|	    strcpy(cbuf, tmp);
 1074|      0|	    strcat(cbuf, ".");
 1075|      0|	    SET_STRING_ELT(ans, i, mkChar(cbuf));
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
 1076|      0|	}
 1077|     12|	vmaxset(vmax);
 1078|     12|    }
 1079|      2|    UNPROTECT(1);
  ------------------
  |  |  358|      2|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1080|      2|    return ans;
 1081|      2|}
do_tolower:
 1085|  1.23k|{
 1086|  1.23k|    SEXP x, y;
 1087|  1.23k|    R_xlen_t i, n;
 1088|  1.23k|    int ul;
 1089|  1.23k|    char *p;
 1090|  1.23k|    SEXP el;
 1091|  1.23k|    cetype_t ienc;
 1092|  1.23k|    Rboolean use_UTF8 = FALSE;
 1093|  1.23k|    const void *vmax;
 1094|       |
 1095|  1.23k|    checkArity(op, args);
  ------------------
  |  | 1793|  1.23k|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1096|  1.23k|    ul = PRIMVAL(op); /* 0 = tolower, 1 = toupper */
  ------------------
  |  | 1347|  1.23k|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
 1097|       |
 1098|  1.23k|    x = CAR(args);
 1099|       |    /* coercion is done in wrapper */
 1100|  1.23k|    if (!isString(x)) error(_("non-character argument"));
  ------------------
  |  |  966|  1.23k|#define isString		Rf_isString
  ------------------
                  if (!isString(x)) error(_("non-character argument"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  if (!isString(x)) error(_("non-character argument"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (1100:9): [True: 0, False: 1.23k]
  ------------------
 1101|  1.23k|    n = XLENGTH(x);
 1102|  1.23k|    PROTECT(y = allocVector(STRSXP, n));
  ------------------
  |  |  357|  1.23k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1103|  41.9k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1103:17): [True: 40.7k, False: 1.23k]
  ------------------
 1104|  40.7k|	SEXP xi = STRING_ELT(x, i);
 1105|  40.7k|	if (IS_UTF8(xi) ||
  ------------------
  |  Branch (1105:6): [True: 0, False: 40.7k]
  ------------------
 1106|  40.7k|	    (!latin1locale && IS_LATIN1(xi))) use_UTF8 = TRUE;
  ------------------
  |  Branch (1106:7): [True: 40.7k, False: 0]
  |  Branch (1106:24): [True: 0, False: 40.7k]
  ------------------
 1107|  40.7k|    }
 1108|  1.23k|    if (mbcslocale || use_UTF8 == TRUE) {
  ------------------
  |  Branch (1108:9): [True: 0, False: 1.23k]
  |  Branch (1108:23): [True: 0, False: 1.23k]
  ------------------
 1109|      0|	int nb, nc, j;
 1110|      0|#ifndef USE_RI18N_CASE
 1111|      0|	wctrans_t tr = wctrans(ul ? "toupper" : "tolower");
  ------------------
  |  Branch (1111:25): [True: 0, False: 0]
  ------------------
 1112|      0|#endif
 1113|      0|	wchar_t * wc;
 1114|      0|	char * cbuf;
 1115|       |
 1116|      0|	vmax = vmaxget();
 1117|       |	/* the translated string need not be the same length in bytes */
 1118|      0|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1118:14): [True: 0, False: 0]
  ------------------
 1119|      0|	    el = STRING_ELT(x, i);
 1120|      0|	    if (el == NA_STRING) SET_STRING_ELT(y, i, NA_STRING);
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
              	    if (el == NA_STRING) SET_STRING_ELT(y, i, NA_STRING);
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  |  Branch (1120:10): [True: 0, False: 0]
  ------------------
 1121|      0|	    else {
 1122|       |		/* FIXME: in Windows UTF-8 locales, use UTF-8 branch */
 1123|      0|		const char *xi;
 1124|      0|		ienc = getCharCE(el);
  ------------------
  |  |  925|      0|#define getCharCE		Rf_getCharCE
  ------------------
 1125|      0|		if (use_UTF8 && ienc == CE_UTF8) {
  ------------------
  |  Branch (1125:7): [True: 0, False: 0]
  |  Branch (1125:19): [True: 0, False: 0]
  ------------------
 1126|      0|		    xi = CHAR(el);
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 1127|       |		    // could overcount if there are conjugate pairs
 1128|      0|		    nc = (int) utf8towcs(NULL, xi, 0);
  ------------------
  |  | 2015|      0|# define utf8towcs		Rf_utf8towcs
  ------------------
 1129|      0|		} else if (use_UTF8 && ienc == CE_LATIN1) {
  ------------------
  |  Branch (1129:14): [True: 0, False: 0]
  |  Branch (1129:26): [True: 0, False: 0]
  ------------------
 1130|      0|		    xi = translateCharUTF8(el); // in case it is really in CP1252
  ------------------
  |  | 1039|      0|#define translateCharUTF8      	Rf_translateCharUTF8
  ------------------
 1131|      0|		    nc = (int) utf8towcs(NULL, xi, 0);
  ------------------
  |  | 2015|      0|# define utf8towcs		Rf_utf8towcs
  ------------------
 1132|      0|		    ienc = CE_UTF8;
 1133|      0|		} else {
 1134|      0|		    xi = translateChar(el);
  ------------------
  |  | 1037|      0|#define translateChar		Rf_translateChar
  ------------------
 1135|      0|		    nc = (int) mbstowcs(NULL, xi, 0);
 1136|      0|		    ienc = CE_NATIVE;
 1137|      0|		}
 1138|      0|		if (nc >= 0) {
  ------------------
  |  Branch (1138:7): [True: 0, False: 0]
  ------------------
 1139|      0|		    if (ienc == CE_UTF8) {
  ------------------
  |  Branch (1139:11): [True: 0, False: 0]
  ------------------
 1140|       |#ifdef USE_RI18N_CASE
 1141|       |			R_wchar_t *wcr = (R_wchar_t *)
 1142|       |			    R_AllocStringBuffer((nc+1)*sizeof(R_wchar_t), &cbuff);
 1143|       |			utf8towcs4(wcr, xi, nc + 1);
 1144|       |			if (ul)
 1145|       |			    for (j = 0; j < nc; j++)
 1146|       |				wcr[j] = Ri18n_towupper(wcr[j]);
 1147|       |			else
 1148|       |			    for (j = 0; j < nc; j++)
 1149|       |				wcr[j] = Ri18n_towlower(wcr[j]);
 1150|       |			nb = (int) wcs4toutf8(NULL, wcr, INT_MAX);
 1151|       |			cbuf = CallocCharBuf(nb);
 1152|       |			wcs4toutf8(cbuf, wcr, nb);
 1153|       |			SET_STRING_ELT(y, i, mkCharCE(cbuf, CE_UTF8));
 1154|       |#else
 1155|      0|			wc = (wchar_t *)
 1156|      0|			    R_AllocStringBuffer((nc+1)*sizeof(wchar_t), &cbuff);
 1157|      0|			utf8towcs(wc, xi, nc + 1);
  ------------------
  |  | 2015|      0|# define utf8towcs		Rf_utf8towcs
  ------------------
 1158|      0|			for (j = 0; j < nc; j++) wc[j] = towctrans(wc[j], tr);
  ------------------
  |  Branch (1158:16): [True: 0, False: 0]
  ------------------
 1159|      0|			nb = (int) wcstoutf8(NULL, wc, INT_MAX);
  ------------------
  |  | 2020|      0|# define wcstoutf8		Rf_wcstoutf8
  ------------------
 1160|      0|			cbuf = CallocCharBuf(nb);
  ------------------
  |  |   66|      0|#define CallocCharBuf(n) (char *) R_chk_calloc(((R_SIZE_T)(n))+1, sizeof(char))
  ------------------
 1161|      0|			wcstoutf8(cbuf, wc, nb);
  ------------------
  |  | 2020|      0|# define wcstoutf8		Rf_wcstoutf8
  ------------------
 1162|      0|			SET_STRING_ELT(y, i, mkCharCE(cbuf, CE_UTF8));
  ------------------
  |  |  999|      0|#define mkCharCE		Rf_mkCharCE
  ------------------
 1163|      0|#endif
 1164|      0|		    } else {
 1165|      0|			wc = (wchar_t *)
 1166|      0|			    R_AllocStringBuffer((nc+1)*sizeof(wchar_t), &cbuff);
 1167|      0|			mbstowcs(wc, xi, nc + 1);
 1168|       |#ifdef USE_RI18N_CASE
 1169|       |			if (ul)
 1170|       |			    for (j = 0; j < nc; j++)
 1171|       |				wc[j] = Ri18n_towupper(wc[j]);
 1172|       |			else
 1173|       |			    for (j = 0; j < nc; j++)
 1174|       |				wc[j] = Ri18n_towlower(wc[j]);
 1175|       |#else
 1176|       |			/* This cannot cope with surrogate pairs,
 1177|       |			   if mbstowcs can make them. */
 1178|      0|			for (j = 0; j < nc; j++) wc[j] = towctrans(wc[j], tr);
  ------------------
  |  Branch (1178:16): [True: 0, False: 0]
  ------------------
 1179|      0|#endif
 1180|      0|			nb = (int) wcstombs(NULL, wc, 0);
 1181|      0|			cbuf = CallocCharBuf(nb);
  ------------------
  |  |   66|      0|#define CallocCharBuf(n) (char *) R_chk_calloc(((R_SIZE_T)(n))+1, sizeof(char))
  ------------------
 1182|      0|			wcstombs(cbuf, wc, nb + 1);
 1183|      0|			SET_STRING_ELT(y, i, markKnown(cbuf, el));
  ------------------
  |  | 1947|      0|# define markKnown		Rf_markKnown
  ------------------
 1184|      0|		    }
 1185|      0|		    R_Free(cbuf);
  ------------------
  |  |   57|      0|#define R_Free(p)      (R_chk_free( (void *)(p) ), (p) = NULL)
  ------------------
 1186|      0|		} else {
 1187|      0|		    error(_("invalid multibyte string %lld"), (long long)i+1);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("invalid multibyte string %lld"), (long long)i+1);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1188|      0|		}
 1189|      0|	    }
 1190|      0|	    vmaxset(vmax);
 1191|      0|	}
 1192|      0|	R_FreeStringBufferL(&cbuff);
 1193|  1.23k|    } else {
 1194|  1.23k|	char *xi;
 1195|  1.23k|	vmax = vmaxget();
 1196|  41.9k|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1196:14): [True: 40.7k, False: 1.23k]
  ------------------
 1197|  40.7k|	    if (STRING_ELT(x, i) == NA_STRING)
  ------------------
  |  |  433|  40.7k|#define NA_STRING	R_NaString
  ------------------
  |  Branch (1197:10): [True: 0, False: 40.7k]
  ------------------
 1198|      0|		SET_STRING_ELT(y, i, NA_STRING);
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
 1199|  40.7k|	    else {
 1200|  40.7k|		xi = CallocCharBuf(strlen(CHAR(STRING_ELT(x, i))));
  ------------------
  |  |   66|  40.7k|#define CallocCharBuf(n) (char *) R_chk_calloc(((R_SIZE_T)(n))+1, sizeof(char))
  ------------------
 1201|  40.7k|		strcpy(xi, translateChar(STRING_ELT(x, i)));
  ------------------
  |  | 1037|  40.7k|#define translateChar		Rf_translateChar
  ------------------
 1202|   747k|		for (p = xi; *p != '\0'; p++)
  ------------------
  |  Branch (1202:16): [True: 706k, False: 40.7k]
  ------------------
 1203|   706k|		    *p = (char) (ul ? toupper(*p) : tolower(*p));
  ------------------
  |  Branch (1203:20): [True: 0, False: 706k]
  |  Branch (1203:25): [True: 0, False: 0]
  |  Branch (1203:25): [True: 0, False: 0]
  |  Branch (1203:25): [Folded, False: 0]
  |  Branch (1203:39): [True: 0, False: 0]
  |  Branch (1203:39): [True: 0, False: 0]
  |  Branch (1203:39): [Folded, False: 706k]
  ------------------
 1204|  40.7k|		SET_STRING_ELT(y, i, markKnown(xi, STRING_ELT(x, i)));
  ------------------
  |  | 1947|  40.7k|# define markKnown		Rf_markKnown
  ------------------
 1205|  40.7k|		R_Free(xi);
  ------------------
  |  |   57|  40.7k|#define R_Free(p)      (R_chk_free( (void *)(p) ), (p) = NULL)
  ------------------
 1206|  40.7k|	    }
 1207|  40.7k|	    vmaxset(vmax);
 1208|  40.7k|	}
 1209|  1.23k|    }
 1210|  1.23k|    SHALLOW_DUPLICATE_ATTRIB(y, x);
 1211|       |    /* This copied the class, if any */
 1212|  1.23k|    UNPROTECT(1);
  ------------------
  |  |  358|  1.23k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1213|  1.23k|    return(y);
 1214|  1.23k|}
Rf_stringSuffix:
 1776|    817|attribute_hidden SEXP stringSuffix(SEXP string, int fromIndex) {
 1777|       |
 1778|    817|    int origLen = LENGTH(string);
 1779|    817|    int newLen = origLen - fromIndex;
 1780|       |
 1781|    817|    SEXP res = PROTECT(allocVector(STRSXP, newLen));
  ------------------
  |  |  357|    817|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1782|    817|    int i;
 1783|  1.51k|    for(i = 0; i < newLen; i++) {
  ------------------
  |  Branch (1783:16): [True: 697, False: 817]
  ------------------
 1784|    697|	SET_STRING_ELT(res, i, STRING_ELT(string, fromIndex++));
 1785|    697|    }
 1786|       |
 1787|    817|    UNPROTECT(1); /* res */
  ------------------
  |  |  358|    817|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1788|    817|    return res;
 1789|    817|}

Rf_CoercionWarning:
   76|  14.0k|{
   77|       |/* FIXME: Use
   78|       |   =====
   79|       |   WarningMessage(R_NilValue, WARNING_....);
   80|       |*/
   81|  14.0k|    if (warn & WARN_NA)
  ------------------
  |  |   48|  14.0k|#define WARN_NA	   1
  ------------------
  |  Branch (81:9): [True: 1.35k, False: 12.6k]
  ------------------
   82|  1.35k|	warning(_("NAs introduced by coercion"));
  ------------------
  |  |   89|  1.35k|#define warning Rf_warning
  ------------------
              	warning(_("NAs introduced by coercion"));
  ------------------
  |  | 2536|  1.35k|#   define _(String) gettext (String)
  ------------------
   83|  14.0k|    if (warn & WARN_INT_NA)
  ------------------
  |  |   49|  14.0k|#define WARN_INT_NA 2
  ------------------
  |  Branch (83:9): [True: 392, False: 13.6k]
  ------------------
   84|    392|	warning(_("NAs introduced by coercion to integer range"));
  ------------------
  |  |   89|    392|#define warning Rf_warning
  ------------------
              	warning(_("NAs introduced by coercion to integer range"));
  ------------------
  |  | 2536|    392|#   define _(String) gettext (String)
  ------------------
   85|  14.0k|    if (warn & WARN_IMAG)
  ------------------
  |  |   50|  14.0k|#define WARN_IMAG  4
  ------------------
  |  Branch (85:9): [True: 0, False: 14.0k]
  ------------------
   86|      0|	warning(_("imaginary parts discarded in coercion"));
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	warning(_("imaginary parts discarded in coercion"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
   87|  14.0k|    if (warn & WARN_RAW)
  ------------------
  |  |   51|  14.0k|#define WARN_RAW  8
  ------------------
  |  Branch (87:9): [True: 0, False: 14.0k]
  ------------------
   88|      0|	warning(_("out-of-range values treated as 0 in coercion to raw"));
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	warning(_("out-of-range values treated as 0 in coercion to raw"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
   89|  14.0k|}
Rf_LogicalFromInteger:
   92|  6.62k|{
   93|  6.62k|    return (x == NA_INTEGER) ?
  ------------------
  |  |   56|  6.62k|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (93:12): [True: 0, False: 6.62k]
  ------------------
   94|  6.62k|	NA_LOGICAL : (x != 0);
  ------------------
  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  ------------------
   95|  6.62k|}
Rf_IntegerFromLogical:
  119|  3.30k|{
  120|  3.30k|    return (x == NA_LOGICAL) ?
  ------------------
  |  |   55|  3.30k|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (120:12): [True: 1.02k, False: 2.27k]
  ------------------
  121|  2.27k|	NA_INTEGER : x;
  ------------------
  |  |   56|  1.02k|#define NA_INTEGER	R_NaInt
  ------------------
  122|  3.30k|}
Rf_IntegerFromReal:
  125|   113k|{
  126|   113k|    if (ISNAN(x))
  ------------------
  |  |   76|   113k|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 62.3k, False: 50.8k]
  |  |  ------------------
  ------------------
  127|  62.3k|	return NA_INTEGER;
  ------------------
  |  |   56|  62.3k|#define NA_INTEGER	R_NaInt
  ------------------
  128|  50.8k|    else if (x >= INT_MAX+1. || x <= INT_MIN ) {
  ------------------
  |  Branch (128:14): [True: 10.1k, False: 40.6k]
  |  Branch (128:33): [True: 911, False: 39.7k]
  ------------------
  129|  11.0k|	*warn |= WARN_INT_NA;
  ------------------
  |  |   49|  11.0k|#define WARN_INT_NA 2
  ------------------
  130|  11.0k|	return NA_INTEGER;
  ------------------
  |  |   56|  11.0k|#define NA_INTEGER	R_NaInt
  ------------------
  131|  11.0k|    }
  132|  39.7k|    return (int) x;
  133|   113k|}
Rf_IntegerFromString:
  150|    120|{
  151|    120|    if (x != R_NaString && !isBlankString(CHAR(x))) { /* ASCII */
  ------------------
  |  |   53|    120|#define isBlankString Rf_isBlankString
  ------------------
                  if (x != R_NaString && !isBlankString(CHAR(x))) { /* ASCII */
  ------------------
  |  |  203|    120|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (151:9): [True: 120, False: 0]
  |  Branch (151:28): [True: 120, False: 0]
  ------------------
  152|    120|	char *endp;
  153|    120|	double xdouble = R_strtod(CHAR(x), &endp); /* ASCII */
  ------------------
  |  |  203|    120|#define CHAR(x) R_CHAR(x)
  ------------------
  154|    120|	if (isBlankString(endp)) {
  ------------------
  |  |   53|    120|#define isBlankString Rf_isBlankString
  ------------------
  |  Branch (154:6): [True: 120, False: 0]
  ------------------
  155|       |#ifdef _R_pre_Version_3_3_0
  156|       |	    if (xdouble > INT_MAX) {
  157|       |		*warn |= WARN_INT_NA;
  158|       |		return INT_MAX;
  159|       |	    }
  160|       |	    else if(xdouble < INT_MIN+1) {
  161|       |		*warn |= WARN_INT_NA;
  162|       |		return INT_MIN;// <- "wrong" as INT_MIN == NA_INTEGER currently; should have used INT_MIN+1
  163|       |	    }
  164|       |#else
  165|       |	    // behave the same as IntegerFromReal() etc:
  166|    120|	    if (xdouble >= INT_MAX+1. || xdouble <= INT_MIN ) {
  ------------------
  |  Branch (166:10): [True: 0, False: 120]
  |  Branch (166:35): [True: 0, False: 120]
  ------------------
  167|      0|		*warn |= WARN_INT_NA;
  ------------------
  |  |   49|      0|#define WARN_INT_NA 2
  ------------------
  168|      0|		return NA_INTEGER;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  169|      0|	    }
  170|    120|#endif
  171|    120|	    else
  172|    120|		return (int) xdouble;
  173|    120|	}
  174|      0|	else *warn |= WARN_NA;
  ------------------
  |  |   48|      0|#define WARN_NA	   1
  ------------------
  175|    120|    }
  176|      0|    return NA_INTEGER;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  177|    120|}
Rf_RealFromLogical:
  180|  2.09k|{
  181|  2.09k|    return (x == NA_LOGICAL) ?
  ------------------
  |  |   55|  2.09k|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (181:12): [True: 1.93k, False: 164]
  ------------------
  182|  1.93k|	NA_REAL : x;
  ------------------
  |  |   58|  1.93k|#define NA_REAL		R_NaReal
  ------------------
  183|  2.09k|}
Rf_RealFromInteger:
  186|    509|{
  187|    509|    return (x == NA_INTEGER) ? NA_REAL : x;
  ------------------
  |  |   56|    509|#define NA_INTEGER	R_NaInt
  ------------------
                  return (x == NA_INTEGER) ? NA_REAL : x;
  ------------------
  |  |   58|      0|#define NA_REAL		R_NaReal
  ------------------
  |  Branch (187:12): [True: 0, False: 509]
  ------------------
  188|    509|}
Rf_RealFromString:
  200|   677k|{
  201|   677k|    double xdouble;
  202|   677k|    char *endp;
  203|   677k|    if (x != R_NaString && !isBlankString(CHAR(x))) { /* ASCII */
  ------------------
  |  |   53|   677k|#define isBlankString Rf_isBlankString
  ------------------
                  if (x != R_NaString && !isBlankString(CHAR(x))) { /* ASCII */
  ------------------
  |  |  203|   677k|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (203:9): [True: 677k, False: 0]
  |  Branch (203:28): [True: 428k, False: 249k]
  ------------------
  204|   428k|	xdouble = R_strtod(CHAR(x), &endp); /* ASCII */
  ------------------
  |  |  203|   428k|#define CHAR(x) R_CHAR(x)
  ------------------
  205|   428k|	if (isBlankString(endp))
  ------------------
  |  |   53|   428k|#define isBlankString Rf_isBlankString
  ------------------
  |  Branch (205:6): [True: 407k, False: 21.3k]
  ------------------
  206|   407k|	    return xdouble;
  207|  21.3k|	else
  208|  21.3k|	    *warn |= WARN_NA;
  ------------------
  |  |   48|  21.3k|#define WARN_NA	   1
  ------------------
  209|   428k|    }
  210|   270k|    return NA_REAL;
  ------------------
  |  |   58|   270k|#define NA_REAL		R_NaReal
  ------------------
  211|   677k|}
Rf_StringFromLogical:
  300|  43.0k|{
  301|  43.0k|    static SEXP lglcache = NULL;
  302|  43.0k|    if (x == NA_LOGICAL) return NA_STRING;
  ------------------
  |  |   55|  43.0k|#define NA_LOGICAL	R_NaInt
  ------------------
                  if (x == NA_LOGICAL) return NA_STRING;
  ------------------
  |  |  433|  36.5k|#define NA_STRING	R_NaString
  ------------------
  |  Branch (302:9): [True: 36.5k, False: 6.56k]
  ------------------
  303|  6.56k|    if (lglcache == NULL) {
  ------------------
  |  Branch (303:9): [True: 1, False: 6.56k]
  ------------------
  304|      1|	lglcache = allocVector(STRSXP, 2);
  ------------------
  |  |  875|      1|#define allocVector		Rf_allocVector
  ------------------
              	lglcache = allocVector(STRSXP, 2);
  ------------------
  |  |  126|      1|#define STRSXP	    16	  /* string vectors */
  ------------------
  305|      1|	R_PreserveObject(lglcache);
  306|      1|	SET_STRING_ELT(lglcache, 0, mkChar("FALSE"));
  ------------------
  |  |  998|      1|#define mkChar			Rf_mkChar
  ------------------
  307|      1|	SET_STRING_ELT(lglcache, 1, mkChar("TRUE"));
  ------------------
  |  |  998|      1|#define mkChar			Rf_mkChar
  ------------------
  308|      1|    }
  309|  6.56k|    return STRING_ELT(lglcache, x ? 1 : 0);
  ------------------
  |  Branch (309:33): [True: 6.15k, False: 408]
  ------------------
  310|  43.0k|}
Rf_StringFromInteger:
  317|   169k|{
  318|   169k|    if (x == NA_INTEGER) return NA_STRING;
  ------------------
  |  |   56|   169k|#define NA_INTEGER	R_NaInt
  ------------------
                  if (x == NA_INTEGER) return NA_STRING;
  ------------------
  |  |  433|    217|#define NA_STRING	R_NaString
  ------------------
  |  Branch (318:9): [True: 217, False: 168k]
  ------------------
  319|   168k|    else if (x >= 0 && x < SFI_CACHE_SIZE) {
  ------------------
  |  |  313|   168k|#define SFI_CACHE_SIZE 512
  ------------------
  |  Branch (319:14): [True: 168k, False: 0]
  |  Branch (319:24): [True: 166k, False: 2.44k]
  ------------------
  320|   166k|	if (sficache == NULL) {
  ------------------
  |  Branch (320:6): [True: 2, False: 166k]
  ------------------
  321|      2|	    sficache = allocVector(STRSXP, SFI_CACHE_SIZE);
  ------------------
  |  |  875|      2|#define allocVector		Rf_allocVector
  ------------------
              	    sficache = allocVector(STRSXP, SFI_CACHE_SIZE);
  ------------------
  |  |  126|      2|#define STRSXP	    16	  /* string vectors */
  ------------------
              	    sficache = allocVector(STRSXP, SFI_CACHE_SIZE);
  ------------------
  |  |  313|      2|#define SFI_CACHE_SIZE 512
  ------------------
  322|      2|	    R_PreserveObject(sficache);
  323|      2|	}
  324|   166k|	SEXP cval = STRING_ELT(sficache, x);
  325|   166k|	if (cval == R_BlankString) { // ""
  ------------------
  |  Branch (325:6): [True: 281, False: 166k]
  ------------------
  326|    281|	    int w;
  327|    281|	    formatInteger(&x, 1, &w);
  ------------------
  |  |   40|    281|#define formatInteger      Rf_formatInteger
  ------------------
  328|    281|	    cval = mkChar(EncodeInteger(x, w));
  ------------------
  |  |  998|    281|#define mkChar			Rf_mkChar
  ------------------
              	    cval = mkChar(EncodeInteger(x, w));
  ------------------
  |  |   44|    281|#define EncodeInteger      Rf_EncodeInteger
  ------------------
  329|    281|	    SET_STRING_ELT(sficache, x, cval);
  330|    281|	}
  331|   166k|	return cval;
  332|   166k|    }
  333|  2.44k|    else {
  334|  2.44k|	int w;
  335|  2.44k|	formatInteger(&x, 1, &w);
  ------------------
  |  |   40|  2.44k|#define formatInteger      Rf_formatInteger
  ------------------
  336|  2.44k|	return mkChar(EncodeInteger(x, w));
  ------------------
  |  |  998|  2.44k|#define mkChar			Rf_mkChar
  ------------------
              	return mkChar(EncodeInteger(x, w));
  ------------------
  |  |   44|  2.44k|#define EncodeInteger      Rf_EncodeInteger
  ------------------
  337|  2.44k|    }
  338|   169k|}
Rf_PairToVectorList:
  362|  1.96k|{
  363|  1.96k|    SEXP xptr, xnew, xnames;
  364|  1.96k|    int i, len = 0, named = 0;
  365|  9.76k|    for (xptr = x ; xptr != R_NilValue ; xptr = CDR(xptr)) {
  ------------------
  |  Branch (365:21): [True: 7.80k, False: 1.96k]
  ------------------
  366|  7.80k|	named = named | (TAG(xptr) != R_NilValue);
  367|  7.80k|	len++;
  368|  7.80k|    }
  369|  1.96k|    PROTECT(x);
  ------------------
  |  |  357|  1.96k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  370|  1.96k|    PROTECT(xnew = allocVector(VECSXP, len));
  ------------------
  |  |  357|  1.96k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  371|  9.76k|    for (i = 0, xptr = x; i < len; i++, xptr = CDR(xptr)) {
  ------------------
  |  Branch (371:27): [True: 7.80k, False: 1.96k]
  ------------------
  372|  7.80k|	RAISE_NAMED(CAR(xptr), NAMED(x));
  373|  7.80k|	SET_VECTOR_ELT(xnew, i, CAR(xptr));
  374|  7.80k|    }
  375|  1.96k|    if (named) {
  ------------------
  |  Branch (375:9): [True: 0, False: 1.96k]
  ------------------
  376|      0|	PROTECT(xnames = allocVector(STRSXP, len));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  377|      0|	xptr = x;
  378|      0|	for (i = 0, xptr = x; i < len; i++, xptr = CDR(xptr)) {
  ------------------
  |  Branch (378:24): [True: 0, False: 0]
  ------------------
  379|      0|	    if(TAG(xptr) == R_NilValue)
  ------------------
  |  Branch (379:9): [True: 0, False: 0]
  ------------------
  380|      0|		SET_STRING_ELT(xnames, i, R_BlankString);
  381|      0|	    else
  382|      0|		SET_STRING_ELT(xnames, i, PRINTNAME(TAG(xptr)));
  383|      0|	}
  384|      0|	setAttrib(xnew, R_NamesSymbol, xnames);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  385|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  386|      0|    }
  387|  1.96k|    copyMostAttrib(x, xnew);
  ------------------
  |  |  901|  1.96k|#define copyMostAttrib		Rf_copyMostAttrib
  ------------------
  388|  1.96k|    UNPROTECT(2);
  ------------------
  |  |  358|  1.96k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  389|  1.96k|    return xnew;
  390|  1.96k|}
Rf_VectorToPairList:
  393|     14|{
  394|     14|    SEXP xptr, xnew, xnames;
  395|     14|    int i, len, named;
  396|       |
  397|     14|    len = length(x);
  ------------------
  |  |  987|     14|#define length(x)		Rf_length(x)
  ------------------
  398|     14|    PROTECT(x);
  ------------------
  |  |  357|     14|#define PROTECT(s)	Rf_protect(s)
  ------------------
  399|     14|    PROTECT(xnew = allocList(len)); /* limited to int */
  ------------------
  |  |  357|     14|#define PROTECT(s)	Rf_protect(s)
  ------------------
  400|     14|    PROTECT(xnames = getAttrib(x, R_NamesSymbol));
  ------------------
  |  |  357|     14|#define PROTECT(s)	Rf_protect(s)
  ------------------
  401|     14|    named = (xnames != R_NilValue);
  402|     14|    xptr = xnew;
  403|     14|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (403:17): [True: 0, False: 14]
  ------------------
  404|      0|	RAISE_NAMED(VECTOR_ELT(x, i), NAMED(x));
  405|      0|	SETCAR(xptr, VECTOR_ELT(x, i));
  406|      0|	if (named && CHAR(STRING_ELT(xnames, i))[0] != '\0') /* ASCII */
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (406:6): [True: 0, False: 0]
  |  Branch (406:15): [True: 0, False: 0]
  ------------------
  407|      0|	    SET_TAG(xptr, installTrChar(STRING_ELT(xnames, i)));
  ------------------
  |  |  937|      0|#define installTrChar		Rf_installTrChar
  ------------------
  408|      0|	xptr = CDR(xptr);
  409|      0|    }
  410|     14|    if (len > 0)       /* can't set attributes on NULL */
  ------------------
  |  Branch (410:9): [True: 0, False: 14]
  ------------------
  411|      0|	copyMostAttrib(x, xnew);
  ------------------
  |  |  901|      0|#define copyMostAttrib		Rf_copyMostAttrib
  ------------------
  412|     14|    UNPROTECT(3);
  ------------------
  |  |  358|     14|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  413|     14|    return xnew;
  414|     14|}
Rf_coerceVector:
 1174|  16.9M|{
 1175|  16.9M|    if (TYPEOF(v) == type)
  ------------------
  |  Branch (1175:9): [True: 16.9M, False: 14.4k]
  ------------------
 1176|  16.9M|	return v;
 1177|       |
 1178|  14.4k|    SEXP ans = R_NilValue;	/* -Wall */
 1179|  14.4k|    if (ALTREP(v)) {
  ------------------
  |  Branch (1179:9): [True: 43, False: 14.3k]
  ------------------
 1180|     43|	PROTECT(v); /* the methods should protect, but ... */
  ------------------
  |  |  357|     43|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1181|       |	            /* also "v" is protected by caller */
 1182|     43|	ans = ALTREP_COERCE(v, type);
 1183|     43|	if (ans) {
  ------------------
  |  Branch (1183:6): [True: 0, False: 43]
  ------------------
 1184|       |	    /* attribute copying could be handled by a Coerce_Ex
 1185|       |	       method as for Duplicate; for now, do it here */
 1186|      0|	    PROTECT(ans);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1187|      0|	    SHALLOW_DUPLICATE_ATTRIB(ans, v);
  ------------------
  |  |   58|      0|#define SHALLOW_DUPLICATE_ATTRIB(to, from) do {\
  |  |   59|      0|  SEXP __from__ = (from); \
  |  |   60|      0|  if (ATTRIB(__from__) != R_NilValue) { \
  |  |  ------------------
  |  |  |  Branch (60:7): [True: 0, False: 0]
  |  |  ------------------
  |  |   61|      0|    SEXP __to__ = (to); \
  |  |   62|      0|    (SHALLOW_DUPLICATE_ATTRIB)(__to__, __from__);	\
  |  |   63|      0|  } \
  |  |   64|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (64:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1188|      0|	    UNPROTECT(2); /* v, ans */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1189|      0|	    return ans;
 1190|      0|	}
 1191|     43|	UNPROTECT(1); /* v */
  ------------------
  |  |  358|     43|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1192|     43|    }
 1193|       |
 1194|       |    /* code to allow classes to extend ENVSXP, SYMSXP, etc */
 1195|  14.4k|    if(IS_S4_OBJECT(v) && TYPEOF(v) == OBJSXP) {
  ------------------
  |  |  137|      0|#define OBJSXP      25    /* object, non-vector  */
  ------------------
  |  Branch (1195:8): [True: 0, False: 14.4k]
  |  Branch (1195:27): [True: 0, False: 0]
  ------------------
 1196|      0|	SEXP vv = R_getS4DataSlot(v, ANYSXP);
  ------------------
  |  |  128|      0|#define ANYSXP	    18	  /* make "any" args work.
  ------------------
 1197|      0|	if(vv == R_NilValue)
  ------------------
  |  Branch (1197:5): [True: 0, False: 0]
  ------------------
 1198|      0|	  error(_("no method for coercing this S4 class to a vector"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	  error(_("no method for coercing this S4 class to a vector"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1199|      0|	else if(TYPEOF(vv) == type)
  ------------------
  |  Branch (1199:10): [True: 0, False: 0]
  ------------------
 1200|      0|	  return vv;
 1201|      0|	v = vv;
 1202|      0|    }
 1203|  14.4k|    PROTECT(v);
  ------------------
  |  |  357|  14.4k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1204|       |
 1205|  14.4k|    switch (TYPEOF(v)) {
 1206|       |#ifdef NOTYET
 1207|       |    case NILSXP:
 1208|       |	ans = coerceNull(v, type);
 1209|       |	break;
 1210|       |#endif
 1211|      0|    case SYMSXP:
  ------------------
  |  |  112|      0|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (1211:5): [True: 0, False: 14.4k]
  ------------------
 1212|      0|	ans = coerceSymbol(v, type);
 1213|      0|	break;
 1214|  1.12k|    case NILSXP:
  ------------------
  |  |  111|  1.12k|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (1214:5): [True: 1.12k, False: 13.2k]
  ------------------
 1215|  3.05k|    case LISTSXP:
  ------------------
  |  |  113|  3.05k|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (1215:5): [True: 1.93k, False: 12.4k]
  ------------------
 1216|  3.05k|	if(type == LISTSXP) {
  ------------------
  |  |  113|  3.05k|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (1216:5): [True: 0, False: 3.05k]
  ------------------
 1217|      0|	    UNPROTECT(1); /* v */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1218|      0|	    return v; // as coercePairList() is also used for LANGSXP
 1219|      0|	}
 1220|  3.05k|	ans = coercePairList(v, type);
 1221|  3.05k|	break;
 1222|     36|    case LANGSXP: {
  ------------------
  |  |  117|     36|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (1222:5): [True: 36, False: 14.3k]
  ------------------
 1223|     36|	if (type != STRSXP) {
  ------------------
  |  |  126|     36|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1223:6): [True: 36, False: 0]
  ------------------
 1224|     36|	    ans = coercePairList(v, type);
 1225|     36|	    break;
 1226|     36|	}
 1227|       |
 1228|       |	/* This is mostly copied from coercePairList, but we need to
 1229|       |	 * special-case the first element so as not to get operators
 1230|       |	 * put in backticks. */
 1231|      0|	int n = length(v);
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
 1232|      0|	PROTECT(ans = allocVector(type, n));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1233|      0|	if (n == 0) {
  ------------------
  |  Branch (1233:6): [True: 0, False: 0]
  ------------------
 1234|       |	    /* Can this actually happen? */
 1235|      0|	    UNPROTECT(1); /* ans */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1236|      0|	    break;
 1237|      0|	}
 1238|      0|	int i = 0;
 1239|      0|	SEXP op = CAR(v);
 1240|       |	/* The case of practical relevance is "lhs ~ rhs", which
 1241|       |	 * people tend to split using as.character(), modify, and
 1242|       |	 * paste() back together. However, we might as well
 1243|       |	 * special-case all symbolic operators here. */
 1244|      0|	if (TYPEOF(op) == SYMSXP) {
  ------------------
  |  |  112|      0|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (1244:6): [True: 0, False: 0]
  ------------------
 1245|      0|	    SET_STRING_ELT(ans, i, PRINTNAME(op));
 1246|      0|	    i++;
 1247|      0|	    v = CDR(v);
 1248|      0|	}
 1249|       |
 1250|       |	/* The distinction between strings and other elements was
 1251|       |	 * here "always", but is really dubious since it makes x <- a
 1252|       |	 * and x <- "a" come out identical. Won't fix just now. */
 1253|      0|	for (SEXP vp = v;  vp != R_NilValue; vp = CDR(vp), i++) {
  ------------------
  |  Branch (1253:21): [True: 0, False: 0]
  ------------------
 1254|      0|	    if (isString(CAR(vp)) && length(CAR(vp)) == 1)
  ------------------
  |  |  966|      0|#define isString		Rf_isString
  ------------------
              	    if (isString(CAR(vp)) && length(CAR(vp)) == 1)
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1254:10): [True: 0, False: 0]
  |  Branch (1254:31): [True: 0, False: 0]
  ------------------
 1255|      0|		SET_STRING_ELT(ans, i, STRING_ELT(CAR(vp), 0));
 1256|      0|	    else
 1257|      0|		SET_STRING_ELT(ans, i, STRING_ELT(deparse1line(CAR(vp), false), 0));
  ------------------
  |  | 1889|      0|# define deparse1line		Rf_deparse1line
  ------------------
 1258|      0|	}
 1259|      0|	UNPROTECT(1); /* ans */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1260|      0|	break;
 1261|      0|    }
 1262|    146|    case VECSXP:
  ------------------
  |  |  131|    146|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (1262:5): [True: 146, False: 14.2k]
  ------------------
 1263|    146|    case EXPRSXP:
  ------------------
  |  |  132|    146|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (1263:5): [True: 0, False: 14.4k]
  ------------------
 1264|    146|	ans = coerceVectorList(v, type);
 1265|    146|	break;
 1266|      0|    case ENVSXP:
  ------------------
  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (1266:5): [True: 0, False: 14.4k]
  ------------------
 1267|      0|	error(_("environments cannot be coerced to other types"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("environments cannot be coerced to other types"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1268|      0|	break;
 1269|    457|    case LGLSXP:
  ------------------
  |  |  121|    457|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (1269:5): [True: 457, False: 13.9k]
  ------------------
 1270|  1.17k|    case INTSXP:
  ------------------
  |  |  123|  1.17k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1270:5): [True: 717, False: 13.7k]
  ------------------
 1271|  7.42k|    case REALSXP:
  ------------------
  |  |  124|  7.42k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1271:5): [True: 6.25k, False: 8.17k]
  ------------------
 1272|  7.42k|    case CPLXSXP:
  ------------------
  |  |  125|  7.42k|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (1272:5): [True: 0, False: 14.4k]
  ------------------
 1273|  10.9k|    case STRSXP:
  ------------------
  |  |  126|  10.9k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1273:5): [True: 3.53k, False: 10.8k]
  ------------------
 1274|  11.1k|    case RAWSXP:
  ------------------
  |  |  136|  11.1k|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (1274:5): [True: 223, False: 14.1k]
  ------------------
 1275|       |
 1276|  11.1k|#define COERCE_ERROR_STRING "cannot coerce type '%s' to vector of type '%s'"
 1277|       |
 1278|  11.1k|#define COERCE_ERROR							\
 1279|  11.1k|	error(_(COERCE_ERROR_STRING), R_typeToChar(v), type2char(type))
 1280|       |
 1281|  11.1k|	switch (type) {
 1282|  1.12k|	case SYMSXP:
  ------------------
  |  |  112|  1.12k|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (1282:2): [True: 1.12k, False: 10.0k]
  ------------------
 1283|  1.12k|	    ans = coerceToSymbol(v);	    break;
 1284|     12|	case LGLSXP:
  ------------------
  |  |  121|     12|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (1284:2): [True: 12, False: 11.1k]
  ------------------
 1285|     12|	    ans = coerceToLogical(v);	    break;
 1286|  5.75k|	case INTSXP:
  ------------------
  |  |  123|  5.75k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1286:2): [True: 5.75k, False: 5.42k]
  ------------------
 1287|  5.75k|	    ans = coerceToInteger(v);	    break;
 1288|  2.39k|	case REALSXP:
  ------------------
  |  |  124|  2.39k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1288:2): [True: 2.39k, False: 8.79k]
  ------------------
 1289|  2.39k|	    ans = coerceToReal(v);	    break;
 1290|      0|	case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (1290:2): [True: 0, False: 11.1k]
  ------------------
 1291|      0|	    ans = coerceToComplex(v);	    break;
 1292|     34|	case RAWSXP:
  ------------------
  |  |  136|     34|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (1292:2): [True: 34, False: 11.1k]
  ------------------
 1293|     34|	    ans = coerceToRaw(v);	    break;
 1294|  1.85k|	case STRSXP:
  ------------------
  |  |  126|  1.85k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1294:2): [True: 1.85k, False: 9.33k]
  ------------------
 1295|  1.85k|	    if (ATTRIB(v) == R_NilValue)
  ------------------
  |  Branch (1295:10): [True: 1.85k, False: 0]
  ------------------
 1296|  1.85k|		switch(TYPEOF(v)) {
  ------------------
  |  Branch (1296:10): [True: 1.43k, False: 422]
  ------------------
 1297|    705|		case INTSXP:
  ------------------
  |  |  123|    705|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1297:3): [True: 705, False: 1.14k]
  ------------------
 1298|  1.43k|		case REALSXP:
  ------------------
  |  |  124|  1.43k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1298:3): [True: 725, False: 1.12k]
  ------------------
 1299|  1.43k|		    ans = R_deferred_coerceToString(v, NULL);
 1300|  1.43k|		    UNPROTECT(1); /* v */
  ------------------
  |  |  358|  1.43k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1301|  1.43k|		    return ans;
 1302|  1.85k|		}
 1303|    422|	    ans = coerceToString(v);	    break;
 1304|      0|	case EXPRSXP:
  ------------------
  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (1304:2): [True: 0, False: 11.1k]
  ------------------
 1305|      0|	    ans = coerceToExpression(v);    break;
 1306|     12|	case VECSXP:
  ------------------
  |  |  131|     12|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (1306:2): [True: 12, False: 11.1k]
  ------------------
 1307|     12|	    ans = coerceToVectorList(v);    break;
 1308|      0|	case LISTSXP:
  ------------------
  |  |  113|      0|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (1308:2): [True: 0, False: 11.1k]
  ------------------
 1309|      0|	    ans = coerceToPairList(v);	    break;
 1310|      0|	default:
  ------------------
  |  Branch (1310:2): [True: 0, False: 11.1k]
  ------------------
 1311|      0|	    COERCE_ERROR;
  ------------------
  |  | 1279|      0|	error(_(COERCE_ERROR_STRING), R_typeToChar(v), type2char(type))
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	error(_(COERCE_ERROR_STRING), R_typeToChar(v), type2char(type))
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  |               	error(_(COERCE_ERROR_STRING), R_typeToChar(v), type2char(type))
  |  |  ------------------
  |  |  |  | 1040|      0|#define type2char		Rf_type2char
  |  |  ------------------
  ------------------
 1312|  11.1k|	}
 1313|  9.75k|	break;
 1314|  9.75k|    default:
  ------------------
  |  Branch (1314:5): [True: 0, False: 14.4k]
  ------------------
 1315|      0|	COERCE_ERROR;
  ------------------
  |  | 1279|      0|	error(_(COERCE_ERROR_STRING), R_typeToChar(v), type2char(type))
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	error(_(COERCE_ERROR_STRING), R_typeToChar(v), type2char(type))
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  |               	error(_(COERCE_ERROR_STRING), R_typeToChar(v), type2char(type))
  |  |  ------------------
  |  |  |  | 1040|      0|#define type2char		Rf_type2char
  |  |  ------------------
  ------------------
 1316|  14.4k|    }
 1317|  12.9k|    UNPROTECT(1); /* v */
  ------------------
  |  |  358|  12.9k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1318|  12.9k|    return ans;
 1319|  14.4k|}
Rf_CreateTag:
 1324|  16.8M|{
 1325|  16.8M|    if (isNull(x) || isSymbol(x))
  ------------------
  |  |  956|  16.8M|#define isNull			Rf_isNull
  ------------------
                  if (isNull(x) || isSymbol(x))
  ------------------
  |  |  953|  16.8M|#define isSymbol		Rf_isSymbol
  ------------------
  |  Branch (1325:9): [True: 2.03k, False: 16.8M]
  |  Branch (1325:22): [True: 16.8M, False: 0]
  ------------------
 1326|  16.8M|	return x;
 1327|      0|    if (isString(x)
  ------------------
  |  |  966|      0|#define isString		Rf_isString
  ------------------
  |  Branch (1327:9): [True: 0, False: 0]
  ------------------
 1328|      0|	&& length(x) >= 1
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1328:5): [True: 0, False: 0]
  ------------------
 1329|      0|	&& length(STRING_ELT(x, 0)) >= 1) {
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1329:5): [True: 0, False: 0]
  ------------------
 1330|      0|	x = installTrChar(STRING_ELT(x, 0));
  ------------------
  |  |  937|      0|#define installTrChar		Rf_installTrChar
  ------------------
 1331|      0|    } else
 1332|      0|	x = installTrChar(STRING_ELT(deparse1(x, true, SIMPLEDEPARSE), 0));
  ------------------
  |  |  937|      0|#define installTrChar		Rf_installTrChar
  ------------------
              	x = installTrChar(STRING_ELT(deparse1(x, true, SIMPLEDEPARSE), 0));
  ------------------
  |  | 1886|      0|# define deparse1		Rf_deparse1
  ------------------
              	x = installTrChar(STRING_ELT(deparse1(x, true, SIMPLEDEPARSE), 0));
  ------------------
  |  | 2085|      0|#define SIMPLEDEPARSE		0
  ------------------
 1333|      0|    return x;
 1334|  16.8M|}
do_asCharacterFactor:
 1413|     52|{
 1414|     52|    SEXP x;
 1415|     52|    checkArity(op, args);
  ------------------
  |  | 1793|     52|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1416|     52|    check1arg(args, call, "x");
  ------------------
  |  | 1872|     52|# define check1arg		Rf_check1arg
  ------------------
 1417|     52|    x = CAR(args);
 1418|     52|    return asCharacterFactor(x);
  ------------------
  |  |  883|     52|#define asCharacterFactor	Rf_asCharacterFactor
  ------------------
 1419|     52|}
Rf_asCharacterFactor:
 1423|     52|{
 1424|     52|    SEXP ans;
 1425|       |
 1426|     52|    if( !inherits2(x, "factor") )
  ------------------
  |  Branch (1426:9): [True: 0, False: 52]
  ------------------
 1427|      0|	error(_("attempting to coerce non-factor"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("attempting to coerce non-factor"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1428|       |
 1429|     52|    R_xlen_t i, n = XLENGTH(x);
 1430|     52|    SEXP labels = getAttrib(x, R_LevelsSymbol);
  ------------------
  |  |  924|     52|#define getAttrib		Rf_getAttrib
  ------------------
 1431|     52|    if (TYPEOF(labels) != STRSXP)
  ------------------
  |  |  126|     52|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1431:9): [True: 0, False: 52]
  ------------------
 1432|      0|	error(_("malformed factor"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("malformed factor"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1433|     52|    int nl = LENGTH(labels);
 1434|     52|    PROTECT(ans = allocVector(STRSXP, n));
  ------------------
  |  |  357|     52|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1435|    104|    for(i = 0; i < n; i++) {
  ------------------
  |  Branch (1435:16): [True: 52, False: 52]
  ------------------
 1436|     52|      int ii = INTEGER_ELT(x, i);
 1437|     52|      if (ii == NA_INTEGER)
  ------------------
  |  |   56|     52|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (1437:11): [True: 0, False: 52]
  ------------------
 1438|      0|	  SET_STRING_ELT(ans, i, NA_STRING);
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
 1439|     52|      else if (ii >= 1 && ii <= nl)
  ------------------
  |  Branch (1439:16): [True: 52, False: 0]
  |  Branch (1439:27): [True: 52, False: 0]
  ------------------
 1440|     52|	  SET_STRING_ELT(ans, i, STRING_ELT(labels, ii - 1));
 1441|      0|      else
 1442|      0|	  error(_("malformed factor"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	  error(_("malformed factor"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1443|     52|    }
 1444|     52|    UNPROTECT(1);
  ------------------
  |  |  358|     52|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1445|     52|    return ans;
 1446|     52|}
do_asatomic:
 1450|  1.07M|{
 1451|  1.07M|    check1arg(args, call, "x");
  ------------------
  |  | 1872|  1.07M|# define check1arg		Rf_check1arg
  ------------------
 1452|       |
 1453|  1.07M|    char *name = NULL /* -Wall */;
 1454|  1.07M|    int type = STRSXP;
  ------------------
  |  |  126|  1.07M|#define STRSXP	    16	  /* string vectors */
  ------------------
 1455|  1.07M|    switch(PRIMVAL(op)) {
  ------------------
  |  | 1347|  1.07M|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  |  |  ------------------
  |  |  |  Branch (1347:20): [True: 1.07M, False: 0]
  |  |  ------------------
  ------------------
 1456|  1.07M|    case 0:
  ------------------
  |  Branch (1456:5): [True: 1.07M, False: 7.32k]
  ------------------
 1457|  1.07M|	name = "as.character"; break;
 1458|    941|    case 1:
  ------------------
  |  Branch (1458:5): [True: 941, False: 1.07M]
  ------------------
 1459|    941|	name = "as.integer"; type = INTSXP; break;
  ------------------
  |  |  123|    941|#define INTSXP	    13	  /* integer vectors */
  ------------------
 1460|  6.22k|    case 2:
  ------------------
  |  Branch (1460:5): [True: 6.22k, False: 1.07M]
  ------------------
 1461|  6.22k|	name = "as.double"; type = REALSXP; break;
  ------------------
  |  |  124|  6.22k|#define REALSXP	    14	  /* real variables */
  ------------------
 1462|      0|    case 3:
  ------------------
  |  Branch (1462:5): [True: 0, False: 1.07M]
  ------------------
 1463|      0|	name = "as.complex"; type = CPLXSXP; break;
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
 1464|    124|    case 4:
  ------------------
  |  Branch (1464:5): [True: 124, False: 1.07M]
  ------------------
 1465|    124|	name = "as.logical"; type = LGLSXP; break;
  ------------------
  |  |  121|    124|#define LGLSXP	    10	  /* logical vectors */
  ------------------
 1466|     34|    case 5:
  ------------------
  |  Branch (1466:5): [True: 34, False: 1.07M]
  ------------------
 1467|     34|	name = "as.raw"; type = RAWSXP; break;
  ------------------
  |  |  136|     34|#define RAWSXP      24    /* raw bytes */
  ------------------
 1468|  1.07M|    }
 1469|       |    /* DispatchOrEval internal generic: as.character */
 1470|       |    /* DispatchOrEval internal generic: as.integer */
 1471|       |    /* DispatchOrEval internal generic: as.double */
 1472|       |    /* DispatchOrEval internal generic: as.complex */
 1473|       |    /* DispatchOrEval internal generic: as.logical */
 1474|       |    /* DispatchOrEval internal generic: as.raw */
 1475|  1.07M|    SEXP ans;
 1476|  1.07M|    if (DispatchOrEval(call, op, name, args, rho, &ans, 0, 1))
  ------------------
  |  | 1892|  1.07M|# define DispatchOrEval		Rf_DispatchOrEval
  ------------------
  |  Branch (1476:9): [True: 70, False: 1.07M]
  ------------------
 1477|     70|	return(ans);
 1478|       |
 1479|       |    /* Method dispatch has failed, we now just */
 1480|       |    /* run the generic internal code */
 1481|       |
 1482|  1.07M|    checkArity(op, args);
  ------------------
  |  | 1793|  1.07M|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1483|  1.07M|    SEXP x = CAR(args);
 1484|  1.07M|    if(TYPEOF(x) == type) {
  ------------------
  |  Branch (1484:8): [True: 1.06M, False: 9.21k]
  ------------------
 1485|  1.06M|	if(ATTRIB(x) == R_NilValue) return x;
  ------------------
  |  Branch (1485:5): [True: 1.06M, False: 60]
  ------------------
 1486|     60|	ans = MAYBE_REFERENCED(x) ? duplicate(x) : x;
  ------------------
  |  |  251|     60|#define MAYBE_REFERENCED(x) (! NO_REFERENCES(x))
  |  |  ------------------
  |  |  |  Branch (251:29): [True: 16, False: 44]
  |  |  ------------------
  ------------------
              	ans = MAYBE_REFERENCED(x) ? duplicate(x) : x;
  ------------------
  |  |  909|     16|#define duplicate		Rf_duplicate
  ------------------
 1487|     60|	CLEAR_ATTRIB(ans);
  ------------------
  |  |   66|     60|#define CLEAR_ATTRIB(x) do {\
  |  |   67|     60|  SEXP __x__ = (x); \
  |  |   68|     60|  if (ATTRIB(__x__) != R_NilValue) { \
  |  |  ------------------
  |  |  |  Branch (68:7): [True: 60, False: 0]
  |  |  ------------------
  |  |   69|     60|    SET_ATTRIB(__x__, R_NilValue); \
  |  |   70|     60|    if (OBJECT(__x__)) SET_OBJECT(__x__, 0); \
  |  |  ------------------
  |  |  |  Branch (70:9): [True: 0, False: 60]
  |  |  ------------------
  |  |   71|     60|    if (IS_S4_OBJECT(__x__)) UNSET_S4_OBJECT(__x__); \
  |  |  ------------------
  |  |  |  Branch (71:9): [True: 0, False: 60]
  |  |  ------------------
  |  |   72|     60|  } \
  |  |   73|     60|} while (0)
  |  |  ------------------
  |  |  |  Branch (73:10): [Folded, False: 60]
  |  |  ------------------
  ------------------
 1488|     60|	return ans;
 1489|  1.06M|    }
 1490|  9.21k|    ans = ascommon(call, CAR(args), type);
 1491|  9.21k|    CLEAR_ATTRIB(ans);
  ------------------
  |  |   66|  9.21k|#define CLEAR_ATTRIB(x) do {\
  |  |   67|  9.21k|  SEXP __x__ = (x); \
  |  |   68|  9.21k|  if (ATTRIB(__x__) != R_NilValue) { \
  |  |  ------------------
  |  |  |  Branch (68:7): [True: 0, False: 9.21k]
  |  |  ------------------
  |  |   69|      0|    SET_ATTRIB(__x__, R_NilValue); \
  |  |   70|      0|    if (OBJECT(__x__)) SET_OBJECT(__x__, 0); \
  |  |  ------------------
  |  |  |  Branch (70:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   71|      0|    if (IS_S4_OBJECT(__x__)) UNSET_S4_OBJECT(__x__); \
  |  |  ------------------
  |  |  |  Branch (71:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|  } \
  |  |   73|  9.21k|} while (0)
  |  |  ------------------
  |  |  |  Branch (73:10): [Folded, False: 9.21k]
  |  |  ------------------
  ------------------
 1492|  9.21k|    return ans;
 1493|  1.07M|}
do_asvector:
 1511|  3.38k|{
 1512|  3.38k|    SEXP ans;
 1513|       |    /* DispatchOrEval internal generic: as.vector */
 1514|  3.38k|    if (DispatchOrEval(call, op, "as.vector", args, rho, &ans, 0, 1))
  ------------------
  |  | 1892|  3.38k|# define DispatchOrEval		Rf_DispatchOrEval
  ------------------
  |  Branch (1514:9): [True: 0, False: 3.38k]
  ------------------
 1515|      0|	return(ans);
 1516|       |
 1517|       |    /* Method dispatch has failed, we now just */
 1518|       |    /* run the generic internal code */
 1519|       |
 1520|  3.38k|    checkArity(op, args);
  ------------------
  |  | 1793|  3.38k|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1521|  3.38k|    if (!isString(CADR(args)) || LENGTH(CADR(args)) != 1)
  ------------------
  |  |  966|  3.38k|#define isString		Rf_isString
  ------------------
  |  Branch (1521:9): [True: 0, False: 3.38k]
  |  Branch (1521:34): [True: 0, False: 3.38k]
  ------------------
 1522|  3.38k|	error_return(R_MSG_mode);
  ------------------
  |  | 1229|      0|#define error_return(msg)	{ Rf_error(msg);	   return R_NilValue; }
  ------------------
 1523|       |
 1524|  3.38k|    SEXP x = CAR(args);
 1525|  3.38k|    int type =
 1526|  3.38k|	(!strcmp("function", CHAR(STRING_ELT(CADR(args), 0))))  /* ASCII */
  ------------------
  |  |  203|  3.38k|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (1526:2): [True: 0, False: 3.38k]
  ------------------
 1527|  3.38k|	? CLOSXP
  ------------------
  |  |  114|      0|#define CLOSXP	     3	  /* closures */
  ------------------
 1528|  3.38k|	: str2type(CHAR(STRING_ELT(CADR(args), 0))); /* ASCII */
  ------------------
  |  | 1031|  3.38k|#define str2type		Rf_str2type
  ------------------
              	: str2type(CHAR(STRING_ELT(CADR(args), 0))); /* ASCII */
  ------------------
  |  |  203|  3.38k|#define CHAR(x) R_CHAR(x)
  ------------------
 1529|       |
 1530|       |    /* "any" case added in 2.13.0 */
 1531|  3.38k|    if(type == ANYSXP || TYPEOF(x) == type) {
  ------------------
  |  |  128|  6.76k|#define ANYSXP	    18	  /* make "any" args work.
  ------------------
  |  Branch (1531:8): [True: 1.33k, False: 2.04k]
  |  Branch (1531:26): [True: 0, False: 2.04k]
  ------------------
 1532|  1.33k|	switch(TYPEOF(x)) {
 1533|      0|	case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (1533:2): [True: 0, False: 1.33k]
  ------------------
 1534|      0|	case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1534:2): [True: 0, False: 1.33k]
  ------------------
 1535|  1.33k|	case REALSXP:
  ------------------
  |  |  124|  1.33k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1535:2): [True: 1.33k, False: 0]
  ------------------
 1536|  1.33k|	case CPLXSXP:
  ------------------
  |  |  125|  1.33k|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (1536:2): [True: 0, False: 1.33k]
  ------------------
 1537|  1.33k|	case STRSXP:
  ------------------
  |  |  126|  1.33k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1537:2): [True: 0, False: 1.33k]
  ------------------
 1538|  1.33k|	case RAWSXP:
  ------------------
  |  |  136|  1.33k|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (1538:2): [True: 0, False: 1.33k]
  ------------------
 1539|  1.33k|	    if(ATTRIB(x) == R_NilValue) return x;
  ------------------
  |  Branch (1539:9): [True: 161, False: 1.17k]
  ------------------
 1540|  1.17k|	    ans  = MAYBE_REFERENCED(x) ? duplicate(x) : x;
  ------------------
  |  |  251|  1.17k|#define MAYBE_REFERENCED(x) (! NO_REFERENCES(x))
  |  |  ------------------
  |  |  |  Branch (251:29): [True: 1.17k, False: 0]
  |  |  ------------------
  ------------------
              	    ans  = MAYBE_REFERENCED(x) ? duplicate(x) : x;
  ------------------
  |  |  909|  1.17k|#define duplicate		Rf_duplicate
  ------------------
 1541|  1.17k|	    CLEAR_ATTRIB(ans);
  ------------------
  |  |   66|  1.17k|#define CLEAR_ATTRIB(x) do {\
  |  |   67|  1.17k|  SEXP __x__ = (x); \
  |  |   68|  1.17k|  if (ATTRIB(__x__) != R_NilValue) { \
  |  |  ------------------
  |  |  |  Branch (68:7): [True: 1.17k, False: 0]
  |  |  ------------------
  |  |   69|  1.17k|    SET_ATTRIB(__x__, R_NilValue); \
  |  |   70|  1.17k|    if (OBJECT(__x__)) SET_OBJECT(__x__, 0); \
  |  |  ------------------
  |  |  |  Branch (70:9): [True: 0, False: 1.17k]
  |  |  ------------------
  |  |   71|  1.17k|    if (IS_S4_OBJECT(__x__)) UNSET_S4_OBJECT(__x__); \
  |  |  ------------------
  |  |  |  Branch (71:9): [True: 0, False: 1.17k]
  |  |  ------------------
  |  |   72|  1.17k|  } \
  |  |   73|  1.17k|} while (0)
  |  |  ------------------
  |  |  |  Branch (73:10): [Folded, False: 1.17k]
  |  |  ------------------
  ------------------
 1542|  1.17k|	    return ans;
 1543|      0|	case EXPRSXP:
  ------------------
  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (1543:2): [True: 0, False: 1.33k]
  ------------------
 1544|      0|	case VECSXP: {
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (1544:2): [True: 0, False: 1.33k]
  ------------------
 1545|      0|	    MAYBE_CACHE_DO_IS_AS_VECTORS_EXPERI;
  ------------------
  |  | 1498|      0|#define MAYBE_CACHE_DO_IS_AS_VECTORS_EXPERI				\
  |  | 1499|      0|do {									\
  |  | 1500|      0|  if(do_is_as_vector_experiments == -1) {				\
  |  |  ------------------
  |  |  |  Branch (1500:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 1501|      0|    char *vector_experi = getenv("_R_IS_AS_VECTOR_EXPERIMENTS_");	\
  |  | 1502|      0|    do_is_as_vector_experiments =					\
  |  | 1503|      0| 	((vector_experi != NULL) && StringTrue(vector_experi)) ? 1 : 0;	\
  |  |  ------------------
  |  |  |  |   52|      0|#define StringTrue    Rf_StringTrue
  |  |  ------------------
  |  |  |  Branch (1503:4): [True: 0, False: 0]
  |  |  |  Branch (1503:31): [True: 0, False: 0]
  |  |  ------------------
  |  | 1504|      0|  }									\
  |  | 1505|      0|} while(0)
  |  |  ------------------
  |  |  |  Branch (1505:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1546|      0|	    if(do_is_as_vector_experiments) {
  ------------------
  |  Branch (1546:9): [True: 0, False: 0]
  ------------------
 1547|      0|		if(ATTRIB(x) == R_NilValue) return x;
  ------------------
  |  Branch (1547:6): [True: 0, False: 0]
  ------------------
 1548|      0|		if(OBJECT(x)) return x; // protect e.g.  setClass(., contains="list")
  ------------------
  |  Branch (1548:6): [True: 0, False: 0]
  ------------------
 1549|      0|		SEXP nms = getAttrib(x, R_NamesSymbol);
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
 1550|      0|		if(nms != R_NilValue && CDR(ATTRIB(x)) == R_NilValue) return x;
  ------------------
  |  Branch (1550:6): [True: 0, False: 0]
  |  Branch (1550:27): [True: 0, False: 0]
  ------------------
 1551|      0|		ans = MAYBE_REFERENCED(x) ? duplicate(x) : x;
  ------------------
  |  |  251|      0|#define MAYBE_REFERENCED(x) (! NO_REFERENCES(x))
  |  |  ------------------
  |  |  |  Branch (251:29): [True: 0, False: 0]
  |  |  ------------------
  ------------------
              		ans = MAYBE_REFERENCED(x) ? duplicate(x) : x;
  ------------------
  |  |  909|      0|#define duplicate		Rf_duplicate
  ------------------
 1552|      0|		CLEAR_ATTRIB(ans);
  ------------------
  |  |   66|      0|#define CLEAR_ATTRIB(x) do {\
  |  |   67|      0|  SEXP __x__ = (x); \
  |  |   68|      0|  if (ATTRIB(__x__) != R_NilValue) { \
  |  |  ------------------
  |  |  |  Branch (68:7): [True: 0, False: 0]
  |  |  ------------------
  |  |   69|      0|    SET_ATTRIB(__x__, R_NilValue); \
  |  |   70|      0|    if (OBJECT(__x__)) SET_OBJECT(__x__, 0); \
  |  |  ------------------
  |  |  |  Branch (70:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   71|      0|    if (IS_S4_OBJECT(__x__)) UNSET_S4_OBJECT(__x__); \
  |  |  ------------------
  |  |  |  Branch (71:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|  } \
  |  |   73|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (73:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1553|      0|		if (nms != R_NilValue)
  ------------------
  |  Branch (1553:7): [True: 0, False: 0]
  ------------------
 1554|      0|		    setAttrib(ans, R_NamesSymbol, nms);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
 1555|      0|		return ans;
 1556|      0|	    } else
 1557|      0|		return x;
 1558|      0|	}
 1559|      0|	default:
  ------------------
  |  Branch (1559:2): [True: 0, False: 1.33k]
  ------------------
 1560|      0|	    ;
 1561|  1.33k|	}
 1562|  1.33k|    }
 1563|       |
 1564|  2.04k|    if(IS_S4_OBJECT(x) && TYPEOF(x) == OBJSXP) {
  ------------------
  |  |  137|      0|#define OBJSXP      25    /* object, non-vector  */
  ------------------
  |  Branch (1564:8): [True: 0, False: 2.04k]
  |  Branch (1564:27): [True: 0, False: 0]
  ------------------
 1565|      0|	SEXP v = R_getS4DataSlot(x, ANYSXP);
  ------------------
  |  |  128|      0|#define ANYSXP	    18	  /* make "any" args work.
  ------------------
 1566|      0|	if(v == R_NilValue)
  ------------------
  |  Branch (1566:5): [True: 0, False: 0]
  ------------------
 1567|      0|	    error(_("no method for coercing this S4 class to a vector"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("no method for coercing this S4 class to a vector"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1568|      0|	x = v;
 1569|      0|    }
 1570|       |
 1571|  2.04k|    switch(type) {/* only those are valid : */
 1572|     46|    case SYMSXP: /* for as.symbol */
  ------------------
  |  |  112|     46|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (1572:5): [True: 46, False: 1.99k]
  ------------------
 1573|     46|    case LGLSXP:
  ------------------
  |  |  121|     46|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (1573:5): [True: 0, False: 2.04k]
  ------------------
 1574|     46|    case INTSXP:
  ------------------
  |  |  123|     46|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1574:5): [True: 0, False: 2.04k]
  ------------------
 1575|     46|    case REALSXP:
  ------------------
  |  |  124|     46|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1575:5): [True: 0, False: 2.04k]
  ------------------
 1576|     46|    case CPLXSXP:
  ------------------
  |  |  125|     46|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (1576:5): [True: 0, False: 2.04k]
  ------------------
 1577|     62|    case STRSXP:
  ------------------
  |  |  126|     62|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1577:5): [True: 16, False: 2.02k]
  ------------------
 1578|     62|    case EXPRSXP: /* for as.expression */
  ------------------
  |  |  132|     62|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (1578:5): [True: 0, False: 2.04k]
  ------------------
 1579|  2.04k|    case VECSXP: /* list */
  ------------------
  |  |  131|  2.04k|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (1579:5): [True: 1.98k, False: 62]
  ------------------
 1580|  2.04k|    case LISTSXP:/* for as.pairlist */
  ------------------
  |  |  113|  2.04k|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (1580:5): [True: 0, False: 2.04k]
  ------------------
 1581|  2.04k|    case CLOSXP: /* non-primitive function */
  ------------------
  |  |  114|  2.04k|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (1581:5): [True: 0, False: 2.04k]
  ------------------
 1582|  2.04k|    case RAWSXP:
  ------------------
  |  |  136|  2.04k|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (1582:5): [True: 0, False: 2.04k]
  ------------------
 1583|  2.04k|    case ANYSXP: /* any */
  ------------------
  |  |  128|  2.04k|#define ANYSXP	    18	  /* make "any" args work.
  ------------------
  |  Branch (1583:5): [True: 0, False: 2.04k]
  ------------------
 1584|  2.04k|	break;
 1585|      0|    default:
  ------------------
  |  Branch (1585:5): [True: 0, False: 2.04k]
  ------------------
 1586|      0|	error_return(R_MSG_mode);
  ------------------
  |  | 1229|      0|#define error_return(msg)	{ Rf_error(msg);	   return R_NilValue; }
  ------------------
 1587|  2.04k|    }
 1588|  2.04k|    ans = ascommon(call, x, type);
 1589|  2.04k|    switch(TYPEOF(ans)) { /* keep attributes for these: */
 1590|      0|    case NILSXP: /* doesn't have any */
  ------------------
  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (1590:5): [True: 0, False: 2.04k]
  ------------------
 1591|      0|    case LISTSXP: /* but ascommon fiddled */
  ------------------
  |  |  113|      0|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (1591:5): [True: 0, False: 2.04k]
  ------------------
 1592|      0|    case LANGSXP:
  ------------------
  |  |  117|      0|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (1592:5): [True: 0, False: 2.04k]
  ------------------
 1593|  1.98k|    case VECSXP:
  ------------------
  |  |  131|  1.98k|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (1593:5): [True: 1.98k, False: 62]
  ------------------
 1594|  1.98k|    case EXPRSXP:
  ------------------
  |  |  132|  1.98k|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (1594:5): [True: 0, False: 2.04k]
  ------------------
 1595|  1.98k|	break;
 1596|     62|    default:
  ------------------
  |  Branch (1596:5): [True: 62, False: 1.98k]
  ------------------
 1597|     62|	CLEAR_ATTRIB(ans);
  ------------------
  |  |   66|     62|#define CLEAR_ATTRIB(x) do {\
  |  |   67|     62|  SEXP __x__ = (x); \
  |  |   68|     62|  if (ATTRIB(__x__) != R_NilValue) { \
  |  |  ------------------
  |  |  |  Branch (68:7): [True: 16, False: 46]
  |  |  ------------------
  |  |   69|     16|    SET_ATTRIB(__x__, R_NilValue); \
  |  |   70|     16|    if (OBJECT(__x__)) SET_OBJECT(__x__, 0); \
  |  |  ------------------
  |  |  |  Branch (70:9): [True: 0, False: 16]
  |  |  ------------------
  |  |   71|     16|    if (IS_S4_OBJECT(__x__)) UNSET_S4_OBJECT(__x__); \
  |  |  ------------------
  |  |  |  Branch (71:9): [True: 0, False: 16]
  |  |  ------------------
  |  |   72|     16|  } \
  |  |   73|     62|} while (0)
  |  |  ------------------
  |  |  |  Branch (73:10): [Folded, False: 62]
  |  |  ------------------
  ------------------
 1598|     62|	break;
 1599|  2.04k|    }
 1600|  2.04k|    return ans;
 1601|  2.04k|}
Rf_asLogical2:
 1780|  3.31M|{
 1781|  3.31M|    int warn = 0;
 1782|       |
 1783|  3.31M|    if (isVectorAtomic(x)) {
  ------------------
  |  |  975|  3.31M|#define isVectorAtomic		Rf_isVectorAtomic
  ------------------
  |  Branch (1783:9): [True: 2.21M, False: 1.10M]
  ------------------
 1784|  2.21M|	if (XLENGTH(x) < 1)
  ------------------
  |  Branch (1784:6): [True: 0, False: 2.21M]
  ------------------
 1785|      0|	    return NA_LOGICAL;
  ------------------
  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  ------------------
 1786|  2.21M|	if (checking && XLENGTH(x) > 1)
  ------------------
  |  Branch (1786:6): [True: 2.16M, False: 51.8k]
  |  Branch (1786:18): [True: 0, False: 2.16M]
  ------------------
 1787|      0|	    errorcall(call, _("'length = %lld' in coercion to '%s'"),
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	    errorcall(call, _("'length = %lld' in coercion to '%s'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1788|      0|		      (long long) XLENGTH(x), "logical(1)");
 1789|  2.21M|	switch (TYPEOF(x)) {
 1790|  2.21M|	case LGLSXP:
  ------------------
  |  |  121|  2.21M|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (1790:2): [True: 2.21M, False: 6.59k]
  ------------------
 1791|  2.21M|	    return LOGICAL_ELT(x, 0);
 1792|  6.59k|	case INTSXP:
  ------------------
  |  |  123|  6.59k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1792:2): [True: 6.59k, False: 2.21M]
  ------------------
 1793|  6.59k|	    return LogicalFromInteger(INTEGER_ELT(x, 0), &warn);
  ------------------
  |  | 1942|  6.59k|# define LogicalFromInteger	Rf_LogicalFromInteger
  ------------------
 1794|      0|	case REALSXP:
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1794:2): [True: 0, False: 2.21M]
  ------------------
 1795|      0|	    return LogicalFromReal(REAL_ELT(x, 0), &warn);
  ------------------
  |  | 1943|      0|# define LogicalFromReal	Rf_LogicalFromReal
  ------------------
 1796|      0|	case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (1796:2): [True: 0, False: 2.21M]
  ------------------
 1797|      0|	    return LogicalFromComplex(COMPLEX_ELT(x, 0), &warn);
  ------------------
  |  | 1941|      0|# define LogicalFromComplex	Rf_LogicalFromComplex
  ------------------
 1798|      0|	case STRSXP:
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1798:2): [True: 0, False: 2.21M]
  ------------------
 1799|      0|	    return LogicalFromString(STRING_ELT(x, 0), &warn);
  ------------------
  |  | 1944|      0|# define LogicalFromString	Rf_LogicalFromString
  ------------------
 1800|      0|	case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (1800:2): [True: 0, False: 2.21M]
  ------------------
 1801|      0|	    return LogicalFromInteger((int)RAW_ELT(x, 0), &warn);
  ------------------
  |  | 1942|      0|# define LogicalFromInteger	Rf_LogicalFromInteger
  ------------------
 1802|      0|	default:
  ------------------
  |  Branch (1802:2): [True: 0, False: 2.21M]
  ------------------
 1803|      0|	    UNIMPLEMENTED_TYPE("asLogical", x);
 1804|  2.21M|	}
 1805|  2.21M|    } else if(TYPEOF(x) == CHARSXP) {
  ------------------
  |  |  120|  1.10M|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  ------------------
  |  Branch (1805:15): [True: 0, False: 1.10M]
  ------------------
 1806|      0|	    return LogicalFromString(x, &warn);
  ------------------
  |  | 1944|      0|# define LogicalFromString	Rf_LogicalFromString
  ------------------
 1807|      0|    }
 1808|  1.10M|    return NA_LOGICAL;
  ------------------
  |  |   55|  1.10M|#define NA_LOGICAL	R_NaInt
  ------------------
 1809|  3.31M|}
Rf_asLogical:
 1812|  1.15M|{
 1813|  1.15M|    return asLogical2(x, /* checking = */ 0, R_NilValue);
  ------------------
  |  |  887|  1.15M|#define asLogical2		Rf_asLogical2
  ------------------
 1814|  1.15M|}
Rf_asRbool:
 1818|  12.2k|{
 1819|  12.2k|    int ans = asLogical2(x, 1, call);
  ------------------
  |  |  887|  12.2k|#define asLogical2		Rf_asLogical2
  ------------------
 1820|  12.2k|    if (ans == NA_LOGICAL)
  ------------------
  |  |   55|  12.2k|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (1820:9): [True: 0, False: 12.2k]
  ------------------
 1821|      0|	errorcall(call, _("NA in coercion to boolean"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("NA in coercion to boolean"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1822|  12.2k|    return (Rboolean) ans;
 1823|  12.2k|}
Rf_asBool2:
 1826|  23.9k|{
 1827|  23.9k|    int ans = asLogical2(x, 1, call);
  ------------------
  |  |  887|  23.9k|#define asLogical2		Rf_asLogical2
  ------------------
 1828|  23.9k|    if (ans == NA_LOGICAL)
  ------------------
  |  |   55|  23.9k|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (1828:9): [True: 0, False: 23.9k]
  ------------------
 1829|      0|	errorcall(call, _("NA in coercion to boolean"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("NA in coercion to boolean"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1830|  23.9k|    return (bool) ans;
 1831|  23.9k|}
Rf_asInteger:
 1852|  3.22M|{
 1853|  3.22M|    int warn = 0, res;
 1854|       |
 1855|  3.22M|    if (isVectorAtomic(x) && XLENGTH(x) >= 1) {
  ------------------
  |  |  975|  3.22M|#define isVectorAtomic		Rf_isVectorAtomic
  ------------------
  |  Branch (1855:9): [True: 3.22M, False: 64]
  |  Branch (1855:30): [True: 3.22M, False: 0]
  ------------------
 1856|  3.22M|	switch (TYPEOF(x)) {
 1857|      0|        case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (1857:9): [True: 0, False: 3.22M]
  ------------------
 1858|      0|            return (int) RAW_ELT(x, 0);
 1859|  3.30k|	case LGLSXP:
  ------------------
  |  |  121|  3.30k|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (1859:2): [True: 3.30k, False: 3.22M]
  ------------------
 1860|  3.30k|	    return IntegerFromLogical(LOGICAL_ELT(x, 0), &warn);
  ------------------
  |  | 1931|  3.30k|# define IntegerFromLogical	Rf_IntegerFromLogical
  ------------------
 1861|  3.21M|	case INTSXP:
  ------------------
  |  |  123|  3.21M|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1861:2): [True: 3.21M, False: 13.1k]
  ------------------
 1862|  3.21M|	    return INTEGER_ELT(x, 0);
 1863|  9.81k|	case REALSXP:
  ------------------
  |  |  124|  9.81k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1863:2): [True: 9.81k, False: 3.21M]
  ------------------
 1864|  9.81k|	    res = IntegerFromReal(REAL_ELT(x, 0), &warn);
  ------------------
  |  | 1932|  9.81k|# define IntegerFromReal	Rf_IntegerFromReal
  ------------------
 1865|  9.81k|	    CoercionWarning(warn);
  ------------------
  |  | 1875|  9.81k|# define CoercionWarning       	Rf_CoercionWarning
  ------------------
 1866|  9.81k|	    return res;
 1867|      0|	case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (1867:2): [True: 0, False: 3.22M]
  ------------------
 1868|      0|	    res = IntegerFromComplex(COMPLEX_ELT(x, 0), &warn);
  ------------------
  |  | 1930|      0|# define IntegerFromComplex	Rf_IntegerFromComplex
  ------------------
 1869|      0|	    CoercionWarning(warn);
  ------------------
  |  | 1875|      0|# define CoercionWarning       	Rf_CoercionWarning
  ------------------
 1870|      0|	    return res;
 1871|      0|	case STRSXP:
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1871:2): [True: 0, False: 3.22M]
  ------------------
 1872|      0|	    res = IntegerFromString(STRING_ELT(x, 0), &warn);
  ------------------
  |  | 1933|      0|# define IntegerFromString	Rf_IntegerFromString
  ------------------
 1873|      0|	    CoercionWarning(warn);
  ------------------
  |  | 1875|      0|# define CoercionWarning       	Rf_CoercionWarning
  ------------------
 1874|      0|	    return res;
 1875|      0|	default:
  ------------------
  |  Branch (1875:2): [True: 0, False: 3.22M]
  ------------------
 1876|      0|	    UNIMPLEMENTED_TYPE("asInteger", x);
 1877|  3.22M|	}
 1878|  3.22M|    } else if(TYPEOF(x) == CHARSXP) {
  ------------------
  |  |  120|     64|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  ------------------
  |  Branch (1878:15): [True: 0, False: 64]
  ------------------
 1879|      0|	res = IntegerFromString(x, &warn);
  ------------------
  |  | 1933|      0|# define IntegerFromString	Rf_IntegerFromString
  ------------------
 1880|      0|	CoercionWarning(warn);
  ------------------
  |  | 1875|      0|# define CoercionWarning       	Rf_CoercionWarning
  ------------------
 1881|      0|	return res;
 1882|      0|    }
 1883|     64|    return NA_INTEGER;
  ------------------
  |  |   56|     64|#define NA_INTEGER	R_NaInt
  ------------------
 1884|  3.22M|}
Rf_asXLength:
 1888|     36|{
 1889|     36|    const R_xlen_t na = -999; /* any negative number should do */
 1890|       |
 1891|     36|    if (isVectorAtomic(x) && XLENGTH(x) >= 1) {
  ------------------
  |  |  975|     36|#define isVectorAtomic		Rf_isVectorAtomic
  ------------------
  |  Branch (1891:9): [True: 36, False: 0]
  |  Branch (1891:30): [True: 36, False: 0]
  ------------------
 1892|     36|	switch (TYPEOF(x)) {
 1893|     12|	case INTSXP:
  ------------------
  |  |  123|     12|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1893:2): [True: 12, False: 24]
  ------------------
 1894|     12|	{
 1895|     12|	    int res = INTEGER_ELT(x, 0);
 1896|     12|	    if (res == NA_INTEGER)
  ------------------
  |  |   56|     12|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (1896:10): [True: 0, False: 12]
  ------------------
 1897|      0|		return na;
 1898|     12|	    else
 1899|     12|		return (R_xlen_t) res;
 1900|     12|	}
 1901|      0|	case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (1901:2): [True: 0, False: 36]
  ------------------
 1902|     24|	case REALSXP:
  ------------------
  |  |  124|     24|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1902:2): [True: 24, False: 12]
  ------------------
 1903|     24|	case CPLXSXP:
  ------------------
  |  |  125|     24|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (1903:2): [True: 0, False: 36]
  ------------------
 1904|     24|	case STRSXP:
  ------------------
  |  |  126|     24|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1904:2): [True: 0, False: 36]
  ------------------
 1905|     24|	    break;
 1906|      0|	default:
  ------------------
  |  Branch (1906:2): [True: 0, False: 36]
  ------------------
 1907|      0|	    UNIMPLEMENTED_TYPE("asXLength", x);
 1908|     36|	}
 1909|     36|    } else if(TYPEOF(x) != CHARSXP)
  ------------------
  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  ------------------
  |  Branch (1909:15): [True: 0, False: 0]
  ------------------
 1910|      0|	return na;
 1911|       |
 1912|     24|    double d = asReal(x);
  ------------------
  |  |  889|     24|#define asReal			Rf_asReal
  ------------------
 1913|     24|    if (!R_FINITE(d) || d > R_XLEN_T_MAX || d < 0)
  ------------------
  |  |   82|     24|# define R_FINITE(x)    isfinite(x)
  ------------------
                  if (!R_FINITE(d) || d > R_XLEN_T_MAX || d < 0)
  ------------------
  |  |   76|     48|# define R_XLEN_T_MAX 4503599627370496
  ------------------
  |  Branch (1913:9): [True: 0, False: 24]
  |  Branch (1913:25): [True: 0, False: 24]
  |  Branch (1913:45): [True: 2, False: 22]
  ------------------
 1914|      2|	return na;
 1915|     22|    else
 1916|     22|	return (R_xlen_t) d;
 1917|     24|}
Rf_asReal:
 1920|  7.58k|{
 1921|  7.58k|    int warn = 0;
 1922|  7.58k|    double res;
 1923|       |
 1924|  7.58k|    if (isVectorAtomic(x) && XLENGTH(x) >= 1) {
  ------------------
  |  |  975|  7.58k|#define isVectorAtomic		Rf_isVectorAtomic
  ------------------
  |  Branch (1924:9): [True: 6.92k, False: 659]
  |  Branch (1924:30): [True: 6.92k, False: 0]
  ------------------
 1925|  6.92k|	switch (TYPEOF(x)) {
 1926|  1.93k|	case LGLSXP:
  ------------------
  |  |  121|  1.93k|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (1926:2): [True: 1.93k, False: 4.98k]
  ------------------
 1927|  1.93k|	    res = RealFromLogical(LOGICAL_ELT(x, 0), &warn);
  ------------------
  |  | 1986|  1.93k|# define RealFromLogical	Rf_RealFromLogical
  ------------------
 1928|  1.93k|	    CoercionWarning(warn);
  ------------------
  |  | 1875|  1.93k|# define CoercionWarning       	Rf_CoercionWarning
  ------------------
 1929|  1.93k|	    return res;
 1930|    509|	case INTSXP:
  ------------------
  |  |  123|    509|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1930:2): [True: 509, False: 6.41k]
  ------------------
 1931|    509|	    res = RealFromInteger(INTEGER_ELT(x, 0), &warn);
  ------------------
  |  | 1985|    509|# define RealFromInteger	Rf_RealFromInteger
  ------------------
 1932|    509|	    CoercionWarning(warn);
  ------------------
  |  | 1875|    509|# define CoercionWarning       	Rf_CoercionWarning
  ------------------
 1933|    509|	    return res;
 1934|  4.48k|	case REALSXP:
  ------------------
  |  |  124|  4.48k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1934:2): [True: 4.48k, False: 2.44k]
  ------------------
 1935|  4.48k|	    return REAL_ELT(x, 0);
 1936|      0|	case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (1936:2): [True: 0, False: 6.92k]
  ------------------
 1937|      0|	    res = RealFromComplex(COMPLEX_ELT(x, 0), &warn);
  ------------------
  |  | 1984|      0|# define RealFromComplex	Rf_RealFromComplex
  ------------------
 1938|      0|	    CoercionWarning(warn);
  ------------------
  |  | 1875|      0|# define CoercionWarning       	Rf_CoercionWarning
  ------------------
 1939|      0|	    return res;
 1940|      0|	case STRSXP:
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1940:2): [True: 0, False: 6.92k]
  ------------------
 1941|      0|	    res = RealFromString(STRING_ELT(x, 0), &warn);
  ------------------
  |  | 1987|      0|# define RealFromString		Rf_RealFromString
  ------------------
 1942|      0|	    CoercionWarning(warn);
  ------------------
  |  | 1875|      0|# define CoercionWarning       	Rf_CoercionWarning
  ------------------
 1943|      0|	    return res;
 1944|      0|	default:
  ------------------
  |  Branch (1944:2): [True: 0, False: 6.92k]
  ------------------
 1945|      0|	    UNIMPLEMENTED_TYPE("asReal", x);
 1946|  6.92k|	}
 1947|  6.92k|    } else if(TYPEOF(x) == CHARSXP) {
  ------------------
  |  |  120|    659|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  ------------------
  |  Branch (1947:15): [True: 0, False: 659]
  ------------------
 1948|      0|	res = RealFromString(x, &warn);
  ------------------
  |  | 1987|      0|# define RealFromString		Rf_RealFromString
  ------------------
 1949|      0|	CoercionWarning(warn);
  ------------------
  |  | 1875|      0|# define CoercionWarning       	Rf_CoercionWarning
  ------------------
 1950|      0|	return res;
 1951|      0|    }
 1952|    659|    return NA_REAL;
  ------------------
  |  |   58|    659|#define NA_REAL		R_NaReal
  ------------------
 1953|  7.58k|}
do_typeof:
 1996|  6.94k|{
 1997|  6.94k|    checkArity(op, args);
  ------------------
  |  | 1793|  6.94k|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1998|  6.94k|    if(TYPEOF(CAR(args)) == OBJSXP && ! IS_S4_OBJECT(CAR(args)))
  ------------------
  |  |  137|  13.8k|#define OBJSXP      25    /* object, non-vector  */
  ------------------
  |  Branch (1998:8): [True: 0, False: 6.94k]
  |  Branch (1998:39): [True: 0, False: 0]
  ------------------
 1999|      0|	return mkString("object");
  ------------------
  |  | 1003|      0|#define mkString		Rf_mkString
  ------------------
 2000|  6.94k|    else
 2001|  6.94k|	return type2rstr(TYPEOF(CAR(args)));
  ------------------
  |  | 1041|  6.94k|#define type2rstr		Rf_type2rstr
  ------------------
 2002|  6.94k|}
do_is:
 2008|  1.08M|{
 2009|  1.08M|    SEXP ans;
 2010|  1.08M|    checkArity(op, args);
  ------------------
  |  | 1793|  1.08M|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 2011|  1.08M|    check1arg(args, call, "x");
  ------------------
  |  | 1872|  1.08M|# define check1arg		Rf_check1arg
  ------------------
 2012|       |
 2013|       |    /* These are all builtins, so we do not need to worry about
 2014|       |       evaluating arguments in DispatchOrEval */
 2015|  1.08M|    if(PRIMVAL(op) >= 100 && PRIMVAL(op) < 200 && isObject(CAR(args))) {
  ------------------
  |  | 1347|  1.08M|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
                  if(PRIMVAL(op) >= 100 && PRIMVAL(op) < 200 && isObject(CAR(args))) {
  ------------------
  |  | 1347|  1.06M|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
                  if(PRIMVAL(op) >= 100 && PRIMVAL(op) < 200 && isObject(CAR(args))) {
  ------------------
  |  |  959|  6.46k|#define isObject		Rf_isObject
  ------------------
  |  Branch (2015:8): [True: 1.06M, False: 12.8k]
  |  Branch (2015:30): [True: 6.46k, False: 1.06M]
  |  Branch (2015:51): [True: 0, False: 6.46k]
  ------------------
 2016|       |	/* This used CHAR(PRINTNAME(CAR(call))), but that is not
 2017|       |	   necessarily correct, e.g. when called from lapply() */
 2018|      0|	const char *nm;
 2019|      0|	switch(PRIMVAL(op)) {
  ------------------
  |  | 1347|      0|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
 2020|      0|	case 100: nm = "is.numeric"; break;
  ------------------
  |  Branch (2020:2): [True: 0, False: 0]
  ------------------
 2021|      0|	case 101: nm = "is.matrix"; break;
  ------------------
  |  Branch (2021:2): [True: 0, False: 0]
  ------------------
 2022|      0|	case 102: nm = "is.array"; break;
  ------------------
  |  Branch (2022:2): [True: 0, False: 0]
  ------------------
 2023|      0|	default: nm = ""; /* -Wall */
  ------------------
  |  Branch (2023:2): [True: 0, False: 0]
  ------------------
 2024|      0|	}
 2025|       |	/* DispatchOrEval internal generic: is.numeric */
 2026|       |	/* DispatchOrEval internal generic: is.matrix */
 2027|       |	/* DispatchOrEval internal generic: is.array */
 2028|      0|	if(DispatchOrEval(call, op, nm, args, rho, &ans, 0, 1))
  ------------------
  |  | 1892|      0|# define DispatchOrEval		Rf_DispatchOrEval
  ------------------
  |  Branch (2028:5): [True: 0, False: 0]
  ------------------
 2029|      0|	    return(ans);
 2030|      0|    }
 2031|       |
 2032|  1.08M|    PROTECT(ans = allocVector(LGLSXP, 1));
  ------------------
  |  |  357|  1.08M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2033|       |
 2034|  1.08M|    switch (PRIMVAL(op)) {
  ------------------
  |  | 1347|  1.08M|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
 2035|    307|    case NILSXP:	/* is.null */
  ------------------
  |  |  111|    307|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (2035:5): [True: 307, False: 1.08M]
  ------------------
 2036|    307|	LOGICAL0(ans)[0] = isNull(CAR(args));
  ------------------
  |  |  956|    307|#define isNull			Rf_isNull
  ------------------
 2037|    307|	break;
 2038|      0|    case LGLSXP:	/* is.logical */
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (2038:5): [True: 0, False: 1.08M]
  ------------------
 2039|      0|	LOGICAL0(ans)[0] = (TYPEOF(CAR(args)) == LGLSXP);
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
 2040|      0|	break;
 2041|      0|    case INTSXP:	/* is.integer */
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (2041:5): [True: 0, False: 1.08M]
  ------------------
 2042|      0|	LOGICAL0(ans)[0] = (TYPEOF(CAR(args)) == INTSXP)
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (2042:21): [True: 0, False: 0]
  ------------------
 2043|      0|	    && !inherits(CAR(args), "factor");
  ------------------
  |  |  933|      0|#define inherits		Rf_inherits
  ------------------
  |  Branch (2043:9): [True: 0, False: 0]
  ------------------
 2044|      0|	break;
 2045|      0|    case REALSXP:	/* is.double */
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (2045:5): [True: 0, False: 1.08M]
  ------------------
 2046|      0|	LOGICAL0(ans)[0] = (TYPEOF(CAR(args)) == REALSXP);
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
 2047|      0|	break;
 2048|      0|    case CPLXSXP:	/* is.complex */
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (2048:5): [True: 0, False: 1.08M]
  ------------------
 2049|      0|	LOGICAL0(ans)[0] = (TYPEOF(CAR(args)) == CPLXSXP);
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
 2050|      0|	break;
 2051|      2|    case STRSXP:	/* is.character */
  ------------------
  |  |  126|      2|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (2051:5): [True: 2, False: 1.08M]
  ------------------
 2052|      2|	LOGICAL0(ans)[0] = (TYPEOF(CAR(args)) == STRSXP);
  ------------------
  |  |  126|      2|#define STRSXP	    16	  /* string vectors */
  ------------------
 2053|      2|	break;
 2054|      0|    case SYMSXP:	/* is.symbol === is.name */
  ------------------
  |  |  112|      0|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (2054:5): [True: 0, False: 1.08M]
  ------------------
 2055|      0|	if(IS_S4_OBJECT(CAR(args)) && (TYPEOF(CAR(args)) == OBJSXP)) {
  ------------------
  |  |  137|      0|#define OBJSXP      25    /* object, non-vector  */
  ------------------
  |  Branch (2055:5): [True: 0, False: 0]
  |  Branch (2055:32): [True: 0, False: 0]
  ------------------
 2056|      0|	    SEXP dot_xData = R_getS4DataSlot(CAR(args), SYMSXP);
  ------------------
  |  |  112|      0|#define SYMSXP	     1	  /* symbols */
  ------------------
 2057|      0|	    LOGICAL0(ans)[0] = (TYPEOF(dot_xData) == SYMSXP);
  ------------------
  |  |  112|      0|#define SYMSXP	     1	  /* symbols */
  ------------------
 2058|      0|	}
 2059|      0|	else
 2060|      0|	    LOGICAL0(ans)[0] = (TYPEOF(CAR(args)) == SYMSXP);
  ------------------
  |  |  112|      0|#define SYMSXP	     1	  /* symbols */
  ------------------
 2061|      0|	break;
 2062|      0|    case ENVSXP:	/* is.environment */
  ------------------
  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (2062:5): [True: 0, False: 1.08M]
  ------------------
 2063|      0|	if(IS_S4_OBJECT(CAR(args)) && (TYPEOF(CAR(args)) == OBJSXP)) {
  ------------------
  |  |  137|      0|#define OBJSXP      25    /* object, non-vector  */
  ------------------
  |  Branch (2063:5): [True: 0, False: 0]
  |  Branch (2063:32): [True: 0, False: 0]
  ------------------
 2064|      0|	    SEXP dot_xData = R_getS4DataSlot(CAR(args), ENVSXP);
  ------------------
  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  ------------------
 2065|      0|	    LOGICAL0(ans)[0] = (TYPEOF(dot_xData) == ENVSXP);
  ------------------
  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  ------------------
 2066|      0|	}
 2067|      0|	else
 2068|      0|	    LOGICAL0(ans)[0] = (TYPEOF(CAR(args)) == ENVSXP);
  ------------------
  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  ------------------
 2069|      0|	break;
 2070|  6.76k|    case VECSXP:	/* is.list */
  ------------------
  |  |  131|  6.76k|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (2070:5): [True: 6.76k, False: 1.07M]
  ------------------
 2071|  6.76k|	LOGICAL0(ans)[0] = (TYPEOF(CAR(args)) == VECSXP ||
  ------------------
  |  |  131|  13.5k|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (2071:22): [True: 2.05k, False: 4.71k]
  ------------------
 2072|  4.71k|			    TYPEOF(CAR(args)) == LISTSXP);
  ------------------
  |  |  113|  4.71k|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (2072:8): [True: 0, False: 4.71k]
  ------------------
 2073|  6.76k|	break;
 2074|    995|    case LISTSXP:	/* is.pairlist */
  ------------------
  |  |  113|    995|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (2074:5): [True: 995, False: 1.08M]
  ------------------
 2075|    995|	LOGICAL0(ans)[0] = (TYPEOF(CAR(args)) == LISTSXP ||
  ------------------
  |  |  113|  1.99k|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (2075:22): [True: 0, False: 995]
  ------------------
 2076|    995|			    TYPEOF(CAR(args)) == NILSXP);/* pairlist() -> NULL */
  ------------------
  |  |  111|    995|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (2076:8): [True: 0, False: 995]
  ------------------
 2077|    995|	break;
 2078|  4.78k|    case EXPRSXP:	/* is.expression */
  ------------------
  |  |  132|  4.78k|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (2078:5): [True: 4.78k, False: 1.07M]
  ------------------
 2079|  4.78k|	LOGICAL0(ans)[0] = TYPEOF(CAR(args)) == EXPRSXP;
  ------------------
  |  |  132|  4.78k|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
 2080|  4.78k|	break;
 2081|      0|    case RAWSXP:	/* is.raw */
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (2081:5): [True: 0, False: 1.08M]
  ------------------
 2082|      0|	LOGICAL0(ans)[0] = (TYPEOF(CAR(args)) == RAWSXP);
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
 2083|      0|	break;
 2084|       |
 2085|      2|    case 50:		/* is.object */
  ------------------
  |  Branch (2085:5): [True: 2, False: 1.08M]
  ------------------
 2086|      2|	LOGICAL0(ans)[0] = OBJECT(CAR(args));
 2087|      2|	break;
 2088|      0|    case 51:		/* isS4 */
  ------------------
  |  Branch (2088:5): [True: 0, False: 1.08M]
  ------------------
 2089|      0|	LOGICAL0(ans)[0] = IS_S4_OBJECT(CAR(args)) != 0;
 2090|      0|	break;
 2091|       |/* no longer used: is.data.frame is R code
 2092|       |    case 80:
 2093|       |	LOGICAL0(ans)[0] = isDataFrame(CAR(args));
 2094|       |	break;
 2095|       |*/
 2096|       |
 2097|  3.55k|    case 100:		/* is.numeric */
  ------------------
  |  Branch (2097:5): [True: 3.55k, False: 1.07M]
  ------------------
 2098|  3.55k|	LOGICAL0(ans)[0] = isNumeric(CAR(args)) &&
  ------------------
  |  |  957|  3.55k|#define isNumeric		Rf_isNumeric
  ------------------
  |  Branch (2098:21): [True: 2.96k, False: 589]
  ------------------
 2099|  2.96k|	    !isLogical(CAR(args));  /* isNumeric excludes factors */
  ------------------
  |  |  952|  2.96k|#define isLogical		Rf_isLogical
  ------------------
  |  Branch (2099:6): [True: 2.95k, False: 4]
  ------------------
 2100|  3.55k|	break;
 2101|  2.51k|    case 101:		/* is.matrix */
  ------------------
  |  Branch (2101:5): [True: 2.51k, False: 1.08M]
  ------------------
 2102|  2.51k|	LOGICAL0(ans)[0] = isMatrix(CAR(args));
  ------------------
  |  |  954|  2.51k|#define isMatrix		Rf_isMatrix
  ------------------
 2103|  2.51k|	break;
 2104|    394|    case 102:		/* is.array */
  ------------------
  |  Branch (2104:5): [True: 394, False: 1.08M]
  ------------------
 2105|    394|	LOGICAL0(ans)[0] = isArray(CAR(args));
  ------------------
  |  |  940|    394|#define isArray			Rf_isArray
  ------------------
 2106|    394|	break;
 2107|       |
 2108|  2.19k|    case 200:		/* is.atomic */
  ------------------
  |  Branch (2108:5): [True: 2.19k, False: 1.08M]
  ------------------
 2109|  2.19k|	switch(TYPEOF(CAR(args))) {
 2110|       |#ifdef S_compatible_BUT_UNDESIRABLE
 2111|       |	case NILSXP:
 2112|       |	    /* NULL is atomic (S compatibly), but not in isVectorAtomic(.) */
 2113|       |#endif
 2114|      0|	case CHARSXP:
  ------------------
  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  ------------------
  |  Branch (2114:2): [True: 0, False: 2.19k]
  ------------------
 2115|     35|	case LGLSXP:
  ------------------
  |  |  121|     35|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (2115:2): [True: 35, False: 2.16k]
  ------------------
 2116|     35|	case INTSXP:
  ------------------
  |  |  123|     35|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (2116:2): [True: 0, False: 2.19k]
  ------------------
 2117|  2.17k|	case REALSXP:
  ------------------
  |  |  124|  2.17k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (2117:2): [True: 2.13k, False: 59]
  ------------------
 2118|  2.17k|	case CPLXSXP:
  ------------------
  |  |  125|  2.17k|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (2118:2): [True: 0, False: 2.19k]
  ------------------
 2119|  2.19k|	case STRSXP:
  ------------------
  |  |  126|  2.19k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (2119:2): [True: 24, False: 2.17k]
  ------------------
 2120|  2.19k|	case RAWSXP:
  ------------------
  |  |  136|  2.19k|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (2120:2): [True: 0, False: 2.19k]
  ------------------
 2121|  2.19k|	    LOGICAL0(ans)[0] = 1;
 2122|  2.19k|	    break;
 2123|      0|	default:
  ------------------
  |  Branch (2123:2): [True: 0, False: 2.19k]
  ------------------
 2124|      0|	    LOGICAL0(ans)[0] = 0;
 2125|      0|	    break;
 2126|  2.19k|	}
 2127|  2.19k|	break;
 2128|  2.19k|    case 201:		/* is.recursive */
  ------------------
  |  Branch (2128:5): [True: 0, False: 1.08M]
  ------------------
 2129|      0|	switch(TYPEOF(CAR(args))) {
 2130|      0|	case VECSXP:
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (2130:2): [True: 0, False: 0]
  ------------------
 2131|      0|	case LISTSXP:
  ------------------
  |  |  113|      0|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (2131:2): [True: 0, False: 0]
  ------------------
 2132|      0|	case CLOSXP:
  ------------------
  |  |  114|      0|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (2132:2): [True: 0, False: 0]
  ------------------
 2133|      0|	case ENVSXP:
  ------------------
  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (2133:2): [True: 0, False: 0]
  ------------------
 2134|      0|	case PROMSXP:
  ------------------
  |  |  116|      0|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (2134:2): [True: 0, False: 0]
  ------------------
 2135|      0|	case LANGSXP:
  ------------------
  |  |  117|      0|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (2135:2): [True: 0, False: 0]
  ------------------
 2136|      0|	case SPECIALSXP:
  ------------------
  |  |  118|      0|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (2136:2): [True: 0, False: 0]
  ------------------
 2137|      0|	case BUILTINSXP:
  ------------------
  |  |  119|      0|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (2137:2): [True: 0, False: 0]
  ------------------
 2138|      0|	case DOTSXP:
  ------------------
  |  |  127|      0|#define DOTSXP	    17	  /* dot-dot-dot object */
  ------------------
  |  Branch (2138:2): [True: 0, False: 0]
  ------------------
 2139|      0|	case ANYSXP:
  ------------------
  |  |  128|      0|#define ANYSXP	    18	  /* make "any" args work.
  ------------------
  |  Branch (2139:2): [True: 0, False: 0]
  ------------------
 2140|      0|	case EXPRSXP:
  ------------------
  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (2140:2): [True: 0, False: 0]
  ------------------
 2141|       |	// Not recursive, as long as not subsettable (on the R level)
 2142|       |	// case EXTPTRSXP:
 2143|       |	// case BCODESXP:
 2144|       |	// case WEAKREFSXP:
 2145|      0|	    LOGICAL0(ans)[0] = 1;
 2146|      0|	    break;
 2147|      0|	default:
  ------------------
  |  Branch (2147:2): [True: 0, False: 0]
  ------------------
 2148|      0|	    LOGICAL0(ans)[0] = 0;
 2149|      0|	    break;
 2150|      0|	}
 2151|      0|	break;
 2152|       |
 2153|  5.01k|    case 300:		/* is.call */
  ------------------
  |  Branch (2153:5): [True: 5.01k, False: 1.07M]
  ------------------
 2154|  5.01k|	LOGICAL0(ans)[0] = TYPEOF(CAR(args)) == LANGSXP;
  ------------------
  |  |  117|  5.01k|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
 2155|  5.01k|	break;
 2156|      0|    case 301:		/* is.language */
  ------------------
  |  Branch (2156:5): [True: 0, False: 1.08M]
  ------------------
 2157|      0|	LOGICAL0(ans)[0] = (TYPEOF(CAR(args)) == SYMSXP ||
  ------------------
  |  |  112|      0|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (2157:22): [True: 0, False: 0]
  ------------------
 2158|      0|			    TYPEOF(CAR(args)) == LANGSXP ||
  ------------------
  |  |  117|      0|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (2158:8): [True: 0, False: 0]
  ------------------
 2159|      0|			    TYPEOF(CAR(args)) == EXPRSXP);
  ------------------
  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (2159:8): [True: 0, False: 0]
  ------------------
 2160|      0|	break;
 2161|  1.05M|    case 302:		/* is.function */
  ------------------
  |  Branch (2161:5): [True: 1.05M, False: 26.5k]
  ------------------
 2162|  1.05M|	LOGICAL0(ans)[0] = isFunction(CAR(args));
  ------------------
  |  |  948|  1.05M|#define isFunction		Rf_isFunction
  ------------------
 2163|  1.05M|	break;
 2164|       |
 2165|      0|    case 999:		/* is.single */
  ------------------
  |  Branch (2165:5): [True: 0, False: 1.08M]
  ------------------
 2166|      0|	errorcall(call, _("type \"single\" unimplemented in R"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("type \"single\" unimplemented in R"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2167|      0|    default:
  ------------------
  |  Branch (2167:5): [True: 0, False: 1.08M]
  ------------------
 2168|      0|	errorcall(call, _("unimplemented predicate"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("unimplemented predicate"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2169|  1.08M|    }
 2170|  1.08M|    UNPROTECT(1);
  ------------------
  |  |  358|  1.08M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2171|  1.08M|    return (ans);
 2172|  1.08M|}
do_isvector:
 2181|  5.13k|{
 2182|  5.13k|    checkArity(op, args);
  ------------------
  |  | 1793|  5.13k|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 2183|  5.13k|    SEXP x = CAR(args);
 2184|  5.13k|    if (!isString(CADR(args)) || LENGTH(CADR(args)) != 1)
  ------------------
  |  |  966|  5.13k|#define isString		Rf_isString
  ------------------
  |  Branch (2184:9): [True: 0, False: 5.13k]
  |  Branch (2184:34): [True: 0, False: 5.13k]
  ------------------
 2185|  5.13k|	error_return(R_MSG_mode);
  ------------------
  |  | 1229|      0|#define error_return(msg)	{ Rf_error(msg);	   return R_NilValue; }
  ------------------
 2186|       |
 2187|  5.13k|    const char *stype = CHAR(STRING_ELT(CADR(args), 0)); // 'mode' in R ; ASCII
  ------------------
  |  |  203|  5.13k|#define CHAR(x) R_CHAR(x)
  ------------------
 2188|       |
 2189|       |    /* "name" and "symbol" are synonymous */
 2190|  5.13k|    if (streql(stype, "name"))
  ------------------
  |  | 1498|  5.13k|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 5.13k]
  |  |  ------------------
  ------------------
 2191|      0|      stype = "symbol";
 2192|       |
 2193|  5.13k|    SEXP ans = PROTECT(allocVector(LGLSXP, 1));
  ------------------
  |  |  357|  5.13k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2194|  5.13k|    bool any = streql(stype, "any");
  ------------------
  |  | 1498|  5.13k|#define streql(s, t)	(!strcmp((s), (t)))
  ------------------
 2195|  5.13k|    if (any) {
  ------------------
  |  Branch (2195:9): [True: 5.13k, False: 0]
  ------------------
 2196|       |	/* isVector is inlined, means atomic or VECSXP or EXPRSXP */
 2197|  5.13k|	LOGICAL0(ans)[0] = isVector(x);
  ------------------
  |  |  974|  5.13k|#define isVector		Rf_isVector
  ------------------
 2198|  5.13k|    }
 2199|      0|    else if (streql(stype, "numeric")) {
  ------------------
  |  | 1498|      0|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2200|      0|	LOGICAL0(ans)[0] = (isNumeric(x) && !isLogical(x));
  ------------------
  |  |  957|      0|#define isNumeric		Rf_isNumeric
  ------------------
              	LOGICAL0(ans)[0] = (isNumeric(x) && !isLogical(x));
  ------------------
  |  |  952|      0|#define isLogical		Rf_isLogical
  ------------------
  |  Branch (2200:22): [True: 0, False: 0]
  |  Branch (2200:38): [True: 0, False: 0]
  ------------------
 2201|      0|    }
 2202|       |    /* So this allows any type, including undocumented ones such as
 2203|       |       "closure", but not aliases such as "name" and "function". */
 2204|      0|    else if (streql(stype, R_typeToChar(x))) {
  ------------------
  |  | 1498|      0|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2205|      0|	LOGICAL0(ans)[0] = 1;
 2206|      0|    }
 2207|      0|    else
 2208|      0|	LOGICAL0(ans)[0] = 0;
 2209|       |
 2210|  5.13k|    if (LOGICAL0(ans)[0]) {
  ------------------
  |  Branch (2210:9): [True: 3.20k, False: 1.93k]
  ------------------
 2211|  3.20k|      bool IS_vector = false;
 2212|  3.20k|      MAYBE_CACHE_DO_IS_AS_VECTORS_EXPERI;
  ------------------
  |  | 1498|  3.20k|#define MAYBE_CACHE_DO_IS_AS_VECTORS_EXPERI				\
  |  | 1499|  3.20k|do {									\
  |  | 1500|  3.20k|  if(do_is_as_vector_experiments == -1) {				\
  |  |  ------------------
  |  |  |  Branch (1500:6): [True: 2, False: 3.20k]
  |  |  ------------------
  |  | 1501|      2|    char *vector_experi = getenv("_R_IS_AS_VECTOR_EXPERIMENTS_");	\
  |  | 1502|      2|    do_is_as_vector_experiments =					\
  |  | 1503|      2| 	((vector_experi != NULL) && StringTrue(vector_experi)) ? 1 : 0;	\
  |  |  ------------------
  |  |  |  |   52|      0|#define StringTrue    Rf_StringTrue
  |  |  ------------------
  |  |  |  Branch (1503:4): [True: 0, False: 2]
  |  |  |  Branch (1503:31): [True: 0, False: 0]
  |  |  ------------------
  |  | 1504|      2|  }									\
  |  | 1505|  3.20k|} while(0)
  |  |  ------------------
  |  |  |  Branch (1505:9): [Folded, False: 3.20k]
  |  |  ------------------
  ------------------
 2213|  3.20k|      if(do_is_as_vector_experiments) {
  ------------------
  |  Branch (2213:10): [True: 0, False: 3.20k]
  ------------------
 2214|      0|	if((IS_vector = any && isVectorList(x) && OBJECT(x))) {
  ------------------
  |  |  977|      0|#define isVectorList		Rf_isVectorList
  ------------------
  |  Branch (2214:5): [True: 0, False: 0]
  |  Branch (2214:18): [True: 0, False: 0]
  |  Branch (2214:25): [True: 0, False: 0]
  |  Branch (2214:44): [True: 0, False: 0]
  ------------------
 2215|       |	    // use of is.vector(.) to check for non-matrix/array => try dim(.) :
 2216|      0|	  static SEXP op_dim = NULL;
 2217|      0|	  if (op_dim == NULL)
  ------------------
  |  Branch (2217:8): [True: 0, False: 0]
  ------------------
 2218|      0|	      op_dim = R_Primitive("dim");
 2219|      0|	  SEXP args = PROTECT(list1(x));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2220|      0|	  IS_vector = isNull(do_dim(call, op_dim, args, rho));
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
 2221|      0|	  UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2222|      0|	}
 2223|      0|      }
 2224|  3.20k|      if(IS_vector) {
  ------------------
  |  Branch (2224:10): [True: 0, False: 3.20k]
  ------------------
 2225|       |	  // list or expression w/ is.object() and no dim(): stay TRUE
 2226|  3.20k|      } else if (ATTRIB(x) != R_NilValue) {
  ------------------
  |  Branch (2226:18): [True: 86, False: 3.11k]
  ------------------
 2227|       |	/* We allow a "names" attribute on any vector. */
 2228|     86|	SEXP a = ATTRIB(x);
 2229|    120|	while(a != R_NilValue) {
  ------------------
  |  Branch (2229:8): [True: 94, False: 26]
  ------------------
 2230|     94|	    if (TAG(a) != R_NamesSymbol) {
  ------------------
  |  Branch (2230:10): [True: 60, False: 34]
  ------------------
 2231|     60|		LOGICAL0(ans)[0] = 0;
 2232|     60|		break;
 2233|     60|	    }
 2234|     34|	    a = CDR(a);
 2235|     34|	}
 2236|     86|      }
 2237|  3.20k|    }
 2238|  5.13k|    UNPROTECT(1);
  ------------------
  |  |  358|  5.13k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2239|  5.13k|    return (ans);
 2240|  5.13k|}
do_isna:
 2267|  2.11M|{
 2268|  2.11M|    SEXP ans, x;
 2269|  2.11M|    R_xlen_t i, n;
 2270|       |
 2271|  2.11M|    checkArity(op, args);
  ------------------
  |  | 1793|  2.11M|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 2272|  2.11M|    check1arg(args, call, "x");
  ------------------
  |  | 1872|  2.11M|# define check1arg		Rf_check1arg
  ------------------
 2273|       |
 2274|       |    /* DispatchOrEval internal generic: is.na */
 2275|  2.11M|    if (DispatchOrEval(call, op, "is.na", args, rho, &ans, 1, 1))
  ------------------
  |  | 1892|  2.11M|# define DispatchOrEval		Rf_DispatchOrEval
  ------------------
  |  Branch (2275:9): [True: 0, False: 2.11M]
  ------------------
 2276|      0|	return(ans);
 2277|  2.11M|    PROTECT(args = ans);
  ------------------
  |  |  357|  2.11M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2278|       |#ifdef stringent_is
 2279|       |    if (!isList(CAR(args)) && !isVector(CAR(args)))
 2280|       |	errorcall_return(call, "is.na " R_MSG_list_vec);
 2281|       |
 2282|       |#endif
 2283|  2.11M|    x = CAR(args);
 2284|  2.11M|    n = xlength(x);
  ------------------
  |  | 1049|  2.11M|#define xlength(x)		Rf_xlength(x)
  ------------------
 2285|  2.11M|    PROTECT(ans = allocVector(LGLSXP, n));
  ------------------
  |  |  357|  2.11M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2286|  2.11M|    int *pa = LOGICAL(ans);
 2287|  2.11M|    switch (TYPEOF(x)) {
 2288|  3.83k|    case LGLSXP:
  ------------------
  |  |  121|  3.83k|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (2288:5): [True: 3.83k, False: 2.10M]
  ------------------
 2289|  7.66k|       for (i = 0; i < n; i++)
  ------------------
  |  Branch (2289:20): [True: 3.83k, False: 3.83k]
  ------------------
 2290|  3.83k|	   pa[i] = (LOGICAL_ELT(x, i) == NA_LOGICAL);
  ------------------
  |  |   55|  3.83k|#define NA_LOGICAL	R_NaInt
  ------------------
 2291|  3.83k|	break;
 2292|  2.10M|    case INTSXP:
  ------------------
  |  |  123|  2.10M|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (2292:5): [True: 2.10M, False: 8.95k]
  ------------------
 2293|  4.20M|	for (i = 0; i < n; i++)
  ------------------
  |  Branch (2293:14): [True: 2.10M, False: 2.10M]
  ------------------
 2294|  2.10M|	    pa[i] = (INTEGER_ELT(x, i) == NA_INTEGER);
  ------------------
  |  |   56|  2.10M|#define NA_INTEGER	R_NaInt
  ------------------
 2295|  2.10M|	break;
 2296|  3.38k|    case REALSXP:
  ------------------
  |  |  124|  3.38k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (2296:5): [True: 3.38k, False: 2.10M]
  ------------------
 2297|   198k|	for (i = 0; i < n; i++)
  ------------------
  |  Branch (2297:14): [True: 195k, False: 3.38k]
  ------------------
 2298|   195k|	    pa[i] = ISNAN(REAL_ELT(x, i));
  ------------------
  |  |   76|   198k|#  define ISNAN(x)     (isnan(x)!=0)
  ------------------
 2299|  3.38k|	break;
 2300|      0|    case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (2300:5): [True: 0, False: 2.11M]
  ------------------
 2301|      0|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (2301:14): [True: 0, False: 0]
  ------------------
 2302|      0|	    Rcomplex v = COMPLEX_ELT(x, i);
 2303|      0|	    pa[i] = (ISNAN(v.r) || ISNAN(v.i));
  ------------------
  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
              	    pa[i] = (ISNAN(v.r) || ISNAN(v.i));
  ------------------
  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2304|      0|	}
 2305|      0|	break;
 2306|  1.74k|    case STRSXP:
  ------------------
  |  |  126|  1.74k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (2306:5): [True: 1.74k, False: 2.11M]
  ------------------
 2307|  8.45k|	for (i = 0; i < n; i++)
  ------------------
  |  Branch (2307:14): [True: 6.71k, False: 1.74k]
  ------------------
 2308|  6.71k|	    pa[i] = (STRING_ELT(x, i) == NA_STRING);
  ------------------
  |  |  433|  6.71k|#define NA_STRING	R_NaString
  ------------------
 2309|  1.74k|	break;
 2310|       |
 2311|       |/* Same code for LISTSXP and VECSXP : */
 2312|      0|#define LIST_VEC_NA(s)							\
 2313|      0|	if (!isVector(s) || length(s) != 1)				\
 2314|      0|	    pa[i] = 0;							\
 2315|      0|	else {								\
 2316|      0|		switch (TYPEOF(s)) {					\
 2317|      0|		case LGLSXP:						\
 2318|      0|		case INTSXP:						\
 2319|      0|		    pa[i] = (INTEGER_ELT(s, 0) == NA_INTEGER);		\
 2320|      0|		    break;						\
 2321|      0|		case REALSXP:						\
 2322|      0|		    pa[i] = ISNAN(REAL_ELT(s, 0));			\
 2323|      0|		    break;						\
 2324|      0|		case STRSXP:						\
 2325|      0|		    pa[i] = (STRING_ELT(s, 0) == NA_STRING);		\
 2326|      0|		    break;						\
 2327|      0|		case CPLXSXP:						\
 2328|      0|		    {							\
 2329|      0|			Rcomplex v = COMPLEX_ELT(s, 0);			\
 2330|      0|			pa[i] = (ISNAN(v.r) || ISNAN(v.i));		\
 2331|      0|		    }							\
 2332|      0|		    break;						\
 2333|      0|		default:						\
 2334|      0|		    pa[i] = 0;						\
 2335|      0|		}							\
 2336|      0|	}
 2337|       |
 2338|      0|    case LISTSXP:
  ------------------
  |  |  113|      0|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (2338:5): [True: 0, False: 2.11M]
  ------------------
 2339|      0|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (2339:14): [True: 0, False: 0]
  ------------------
 2340|      0|	    LIST_VEC_NA(CAR(x));
  ------------------
  |  | 2313|      0|	if (!isVector(s) || length(s) != 1)				\
  |  |  ------------------
  |  |  |  |  974|      0|#define isVector		Rf_isVector
  |  |  ------------------
  |  |               	if (!isVector(s) || length(s) != 1)				\
  |  |  ------------------
  |  |  |  |  987|      0|#define length(x)		Rf_length(x)
  |  |  ------------------
  |  |  |  Branch (2313:6): [True: 0, False: 0]
  |  |  |  Branch (2313:22): [True: 0, False: 0]
  |  |  ------------------
  |  | 2314|      0|	    pa[i] = 0;							\
  |  | 2315|      0|	else {								\
  |  | 2316|      0|		switch (TYPEOF(s)) {					\
  |  | 2317|      0|		case LGLSXP:						\
  |  |  ------------------
  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  ------------------
  |  |  |  Branch (2317:3): [True: 0, False: 0]
  |  |  ------------------
  |  | 2318|      0|		case INTSXP:						\
  |  |  ------------------
  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |  |  Branch (2318:3): [True: 0, False: 0]
  |  |  ------------------
  |  | 2319|      0|		    pa[i] = (INTEGER_ELT(s, 0) == NA_INTEGER);		\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  | 2320|      0|		    break;						\
  |  | 2321|      0|		case REALSXP:						\
  |  |  ------------------
  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (2321:3): [True: 0, False: 0]
  |  |  ------------------
  |  | 2322|      0|		    pa[i] = ISNAN(REAL_ELT(s, 0));			\
  |  |  ------------------
  |  |  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  | 2323|      0|		    break;						\
  |  | 2324|      0|		case STRSXP:						\
  |  |  ------------------
  |  |  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  |  |  ------------------
  |  |  |  Branch (2324:3): [True: 0, False: 0]
  |  |  ------------------
  |  | 2325|      0|		    pa[i] = (STRING_ELT(s, 0) == NA_STRING);		\
  |  |  ------------------
  |  |  |  |  433|      0|#define NA_STRING	R_NaString
  |  |  ------------------
  |  | 2326|      0|		    break;						\
  |  | 2327|      0|		case CPLXSXP:						\
  |  |  ------------------
  |  |  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  |  |  ------------------
  |  |  |  Branch (2327:3): [True: 0, False: 0]
  |  |  ------------------
  |  | 2328|      0|		    {							\
  |  | 2329|      0|			Rcomplex v = COMPLEX_ELT(s, 0);			\
  |  | 2330|      0|			pa[i] = (ISNAN(v.r) || ISNAN(v.i));		\
  |  |  ------------------
  |  |  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (76:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               			pa[i] = (ISNAN(v.r) || ISNAN(v.i));		\
  |  |  ------------------
  |  |  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (76:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2331|      0|		    }							\
  |  | 2332|      0|		    break;						\
  |  | 2333|      0|		default:						\
  |  |  ------------------
  |  |  |  Branch (2333:3): [True: 0, False: 0]
  |  |  ------------------
  |  | 2334|      0|		    pa[i] = 0;						\
  |  | 2335|      0|		}							\
  |  | 2336|      0|	}
  ------------------
 2341|      0|	    x = CDR(x);
 2342|      0|	}
 2343|      0|	break;
 2344|      0|    case VECSXP:
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (2344:5): [True: 0, False: 2.11M]
  ------------------
 2345|      0|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (2345:14): [True: 0, False: 0]
  ------------------
 2346|      0|	    SEXP s = VECTOR_ELT(x, i);
 2347|      0|	    LIST_VEC_NA(s);
  ------------------
  |  | 2313|      0|	if (!isVector(s) || length(s) != 1)				\
  |  |  ------------------
  |  |  |  |  974|      0|#define isVector		Rf_isVector
  |  |  ------------------
  |  |               	if (!isVector(s) || length(s) != 1)				\
  |  |  ------------------
  |  |  |  |  987|      0|#define length(x)		Rf_length(x)
  |  |  ------------------
  |  |  |  Branch (2313:6): [True: 0, False: 0]
  |  |  |  Branch (2313:22): [True: 0, False: 0]
  |  |  ------------------
  |  | 2314|      0|	    pa[i] = 0;							\
  |  | 2315|      0|	else {								\
  |  | 2316|      0|		switch (TYPEOF(s)) {					\
  |  | 2317|      0|		case LGLSXP:						\
  |  |  ------------------
  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  ------------------
  |  |  |  Branch (2317:3): [True: 0, False: 0]
  |  |  ------------------
  |  | 2318|      0|		case INTSXP:						\
  |  |  ------------------
  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |  |  Branch (2318:3): [True: 0, False: 0]
  |  |  ------------------
  |  | 2319|      0|		    pa[i] = (INTEGER_ELT(s, 0) == NA_INTEGER);		\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  | 2320|      0|		    break;						\
  |  | 2321|      0|		case REALSXP:						\
  |  |  ------------------
  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (2321:3): [True: 0, False: 0]
  |  |  ------------------
  |  | 2322|      0|		    pa[i] = ISNAN(REAL_ELT(s, 0));			\
  |  |  ------------------
  |  |  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  | 2323|      0|		    break;						\
  |  | 2324|      0|		case STRSXP:						\
  |  |  ------------------
  |  |  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  |  |  ------------------
  |  |  |  Branch (2324:3): [True: 0, False: 0]
  |  |  ------------------
  |  | 2325|      0|		    pa[i] = (STRING_ELT(s, 0) == NA_STRING);		\
  |  |  ------------------
  |  |  |  |  433|      0|#define NA_STRING	R_NaString
  |  |  ------------------
  |  | 2326|      0|		    break;						\
  |  | 2327|      0|		case CPLXSXP:						\
  |  |  ------------------
  |  |  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  |  |  ------------------
  |  |  |  Branch (2327:3): [True: 0, False: 0]
  |  |  ------------------
  |  | 2328|      0|		    {							\
  |  | 2329|      0|			Rcomplex v = COMPLEX_ELT(s, 0);			\
  |  | 2330|      0|			pa[i] = (ISNAN(v.r) || ISNAN(v.i));		\
  |  |  ------------------
  |  |  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (76:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               			pa[i] = (ISNAN(v.r) || ISNAN(v.i));		\
  |  |  ------------------
  |  |  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (76:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2331|      0|		    }							\
  |  | 2332|      0|		    break;						\
  |  | 2333|      0|		default:						\
  |  |  ------------------
  |  |  |  Branch (2333:3): [True: 0, False: 0]
  |  |  ------------------
  |  | 2334|      0|		    pa[i] = 0;						\
  |  | 2335|      0|		}							\
  |  | 2336|      0|	}
  ------------------
 2348|      0|	}
 2349|      0|	break;
 2350|      0|    case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (2350:5): [True: 0, False: 2.11M]
  ------------------
 2351|       |	/* no such thing as a raw NA */
 2352|      0|	for (i = 0; i < n; i++)
  ------------------
  |  Branch (2352:14): [True: 0, False: 0]
  ------------------
 2353|      0|	    pa[i] = 0;
 2354|      0|	break;
 2355|      0|    case NILSXP: break;
  ------------------
  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (2355:5): [True: 0, False: 2.11M]
  ------------------
 2356|      0|    default:
  ------------------
  |  Branch (2356:5): [True: 0, False: 2.11M]
  ------------------
 2357|      0|	warningcall(call, _("%s() applied to non-(list or vector) of type '%s'"),
  ------------------
  |  | 2018|      0|# define warningcall		Rf_warningcall
  ------------------
              	warningcall(call, _("%s() applied to non-(list or vector) of type '%s'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2358|      0|		    "is.na", R_typeToChar(x));
 2359|      0|	for (i = 0; i < n; i++)
  ------------------
  |  Branch (2359:14): [True: 0, False: 0]
  ------------------
 2360|      0|	    pa[i] = 0;
 2361|  2.11M|    }
 2362|       |
 2363|  2.11M|    copyDimAndNames(x, ans);
 2364|  2.11M|    UNPROTECT(2); /* args, ans */
  ------------------
  |  |  358|  2.11M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2365|  2.11M|    return ans;
 2366|  2.11M|}
do_anyNA:
 2483|  9.82k|{
 2484|  9.82k|    SEXP ans;
 2485|  9.82k|    static SEXP do_anyNA_formals = NULL;
 2486|       |
 2487|  9.82k|    if (length(args) < 1 || length(args) > 2)
  ------------------
  |  |  987|  9.82k|#define length(x)		Rf_length(x)
  ------------------
                  if (length(args) < 1 || length(args) > 2)
  ------------------
  |  |  987|  9.82k|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (2487:9): [True: 0, False: 9.82k]
  |  Branch (2487:29): [True: 0, False: 9.82k]
  ------------------
 2488|      0|	errorcall(call, "anyNA takes 1 or 2 arguments");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
 2489|       |
 2490|       |    /* DispatchOrEval internal generic: anyNA */
 2491|  9.82k|    if (DispatchOrEval(call, op, "anyNA", args, rho, &ans, 0, 1))
  ------------------
  |  | 1892|  9.82k|# define DispatchOrEval		Rf_DispatchOrEval
  ------------------
  |  Branch (2491:9): [True: 0, False: 9.82k]
  ------------------
 2492|      0|	return ans;
 2493|       |
 2494|  9.82k|    if(length(args) == 1) {
  ------------------
  |  |  987|  9.82k|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (2494:8): [True: 9.82k, False: 0]
  ------------------
 2495|  9.82k|	check1arg(args, call, "x");
  ------------------
  |  | 1872|  9.82k|# define check1arg		Rf_check1arg
  ------------------
 2496|  9.82k|	ans = ScalarLogical(anyNA(call, op, args, rho));
  ------------------
  |  | 1023|  9.82k|#define ScalarLogical		Rf_ScalarLogical
  ------------------
 2497|  9.82k|   } else {
 2498|       |	/* This is a primitive, so we manage argument matching ourselves.
 2499|       |	   But this takes a little time.
 2500|       |	 */
 2501|      0|	if (do_anyNA_formals == NULL)
  ------------------
  |  Branch (2501:6): [True: 0, False: 0]
  ------------------
 2502|      0|	    do_anyNA_formals = allocFormalsList2(install("x"),
  ------------------
  |  |  865|      0|#define allocFormalsList2	Rf_allocFormalsList2
  ------------------
              	    do_anyNA_formals = allocFormalsList2(install("x"),
  ------------------
  |  |  934|      0|#define install			Rf_install
  ------------------
 2503|      0|						 R_RecursiveSymbol);
 2504|      0|	PROTECT(args = matchArgs_NR(do_anyNA_formals, args, call));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2505|      0|	if(CADR(args) ==  R_MissingArg) SETCADR(args, ScalarLogical(FALSE));
  ------------------
  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  |  Branch (2505:5): [True: 0, False: 0]
  ------------------
 2506|      0|	ans = ScalarLogical(anyNA(call, op, args, rho));
  ------------------
  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  ------------------
 2507|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2508|      0|    }
 2509|  9.82k|    return ans;
 2510|  9.82k|}
do_isfinite:
 2563|  3.00k|{
 2564|  3.00k|    SEXP ans, x, names, dims;
 2565|  3.00k|    R_xlen_t i, n;
 2566|  3.00k|    int nprotect = 0;
 2567|       |
 2568|  3.00k|    checkArity(op, args);
  ------------------
  |  | 1793|  3.00k|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 2569|  3.00k|    check1arg(args, call, "x");
  ------------------
  |  | 1872|  3.00k|# define check1arg		Rf_check1arg
  ------------------
 2570|       |
 2571|       |    /* DispatchOrEval internal generic: is.finite */
 2572|  3.00k|    if (DispatchOrEval(call, op, "is.finite", args, rho, &ans, 0, 1))
  ------------------
  |  | 1892|  3.00k|# define DispatchOrEval		Rf_DispatchOrEval
  ------------------
  |  Branch (2572:9): [True: 0, False: 3.00k]
  ------------------
 2573|      0|	return(ans);
 2574|       |#ifdef stringent_is
 2575|       |    if (!isList(CAR(args)) && !isVector(CAR(args)))
 2576|       |	errorcall_return(call, "is.finite " R_MSG_list_vec);
 2577|       |#endif
 2578|  3.00k|    x = CAR(args);
 2579|  3.00k|    n = xlength(x);
  ------------------
  |  | 1049|  3.00k|#define xlength(x)		Rf_xlength(x)
  ------------------
 2580|  3.00k|    PROTECT(ans = allocVector(LGLSXP, n));
  ------------------
  |  |  357|  3.00k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2581|  3.00k|    nprotect++;
 2582|  3.00k|    int *pa = LOGICAL(ans);
 2583|  3.00k|    if (isVector(x)) {
  ------------------
  |  |  974|  3.00k|#define isVector		Rf_isVector
  ------------------
  |  Branch (2583:9): [True: 3.00k, False: 0]
  ------------------
 2584|  3.00k|	dims = getAttrib(x, R_DimSymbol);
  ------------------
  |  |  924|  3.00k|#define getAttrib		Rf_getAttrib
  ------------------
 2585|  3.00k|	if (isArray(x))
  ------------------
  |  |  940|  3.00k|#define isArray			Rf_isArray
  ------------------
  |  Branch (2585:6): [True: 0, False: 3.00k]
  ------------------
 2586|      0|	    PROTECT(names = getAttrib(x, R_DimNamesSymbol));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2587|  3.00k|	else
 2588|  3.00k|	    PROTECT(names = getAttrib(x, R_NamesSymbol));
  ------------------
  |  |  357|  3.00k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2589|  3.00k|	nprotect++;
 2590|  3.00k|    }
 2591|      0|    else dims = names = R_NilValue;
 2592|  3.00k|    switch (TYPEOF(x)) {
 2593|      0|    case STRSXP:
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (2593:5): [True: 0, False: 3.00k]
  ------------------
 2594|      0|    case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (2594:5): [True: 0, False: 3.00k]
  ------------------
 2595|      0|    case NILSXP:
  ------------------
  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (2595:5): [True: 0, False: 3.00k]
  ------------------
 2596|      0|	for (i = 0; i < n; i++)
  ------------------
  |  Branch (2596:14): [True: 0, False: 0]
  ------------------
 2597|      0|	    pa[i] = 0;
 2598|      0|	break;
 2599|      0|    case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (2599:5): [True: 0, False: 3.00k]
  ------------------
 2600|    161|    case INTSXP:
  ------------------
  |  |  123|    161|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (2600:5): [True: 161, False: 2.84k]
  ------------------
 2601|    322|	for (i = 0; i < n; i++)
  ------------------
  |  Branch (2601:14): [True: 161, False: 161]
  ------------------
 2602|    161|	    pa[i] = (INTEGER_ELT(x, i) != NA_INTEGER);
  ------------------
  |  |   56|    161|#define NA_INTEGER	R_NaInt
  ------------------
 2603|    161|	break;
 2604|  2.84k|    case REALSXP:
  ------------------
  |  |  124|  2.84k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (2604:5): [True: 2.84k, False: 161]
  ------------------
 2605|   681k|	for (i = 0; i < n; i++)
  ------------------
  |  Branch (2605:14): [True: 678k, False: 2.84k]
  ------------------
 2606|   678k|	    pa[i] = R_FINITE(REAL_ELT(x, i));
  ------------------
  |  |   82|   678k|# define R_FINITE(x)    isfinite(x)
  ------------------
 2607|  2.84k|	break;
 2608|      0|    case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (2608:5): [True: 0, False: 3.00k]
  ------------------
 2609|      0|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (2609:14): [True: 0, False: 0]
  ------------------
 2610|      0|	    Rcomplex v = COMPLEX_ELT(x, i);
 2611|      0|	    pa[i] = (R_FINITE(v.r) && R_FINITE(v.i));
  ------------------
  |  |   82|      0|# define R_FINITE(x)    isfinite(x)
  ------------------
              	    pa[i] = (R_FINITE(v.r) && R_FINITE(v.i));
  ------------------
  |  |   82|      0|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (2611:15): [True: 0, False: 0]
  |  Branch (2611:32): [True: 0, False: 0]
  ------------------
 2612|      0|	}
 2613|      0|	break;
 2614|      0|    default:
  ------------------
  |  Branch (2614:5): [True: 0, False: 3.00k]
  ------------------
 2615|      0|	errorcall(call, _("default method not implemented for type '%s'"),
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("default method not implemented for type '%s'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2616|      0|		  R_typeToChar(x));
 2617|  3.00k|    }
 2618|  3.00k|    if (dims != R_NilValue)
  ------------------
  |  Branch (2618:9): [True: 0, False: 3.00k]
  ------------------
 2619|      0|	setAttrib(ans, R_DimSymbol, dims);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
 2620|  3.00k|    if (names != R_NilValue) {
  ------------------
  |  Branch (2620:9): [True: 0, False: 3.00k]
  ------------------
 2621|      0|	if (isArray(x))
  ------------------
  |  |  940|      0|#define isArray			Rf_isArray
  ------------------
  |  Branch (2621:6): [True: 0, False: 0]
  ------------------
 2622|      0|	    setAttrib(ans, R_DimNamesSymbol, names);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
 2623|      0|	else
 2624|      0|	    setAttrib(ans, R_NamesSymbol, names);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
 2625|      0|    }
 2626|  3.00k|    UNPROTECT(nprotect);
  ------------------
  |  |  358|  3.00k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2627|  3.00k|    return ans;
 2628|  3.00k|}
do_docall:
 2734|  1.38k|{
 2735|  1.38k|    SEXP c, fun, names, envir;
 2736|  1.38k|    int i, n;
 2737|       |    /* RCNTXT *cptr; */
 2738|       |
 2739|  1.38k|    checkArity(op, args);
  ------------------
  |  | 1793|  1.38k|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 2740|       |
 2741|  1.38k|    fun = CAR(args);
 2742|  1.38k|    envir = CADDR(args);
 2743|  1.38k|    args = CADR(args);
 2744|       |
 2745|       |    /* must be a string or a function
 2746|       |       zero-length string check used to be here but install gives
 2747|       |       better error message.
 2748|       |     */
 2749|  1.38k|    if(!(isFunction(fun) || (isString(fun) && length(fun) == 1)))
  ------------------
  |  |  948|  1.38k|#define isFunction		Rf_isFunction
  ------------------
                  if(!(isFunction(fun) || (isString(fun) && length(fun) == 1)))
  ------------------
  |  |  966|  1.38k|#define isString		Rf_isString
  ------------------
                  if(!(isFunction(fun) || (isString(fun) && length(fun) == 1)))
  ------------------
  |  |  987|  1.38k|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (2749:10): [True: 0, False: 1.38k]
  |  Branch (2749:30): [True: 1.38k, False: 0]
  |  Branch (2749:47): [True: 1.38k, False: 0]
  ------------------
 2750|      0|	error(_("'what' must be a function or character string"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'what' must be a function or character string"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2751|       |
 2752|       |#ifdef __maybe_in_the_future__
 2753|       |    if (!isNull(args) && !isVectorList(args))
 2754|       |	error(_("'%s' must be a list or expression"), "args");
 2755|       |#else
 2756|  1.38k|    if (!isNull(args) && !isNewList(args))
  ------------------
  |  |  956|  1.38k|#define isNull			Rf_isNull
  ------------------
                  if (!isNull(args) && !isNewList(args))
  ------------------
  |  |  955|  1.38k|#define isNewList		Rf_isNewList
  ------------------
  |  Branch (2756:9): [True: 1.38k, False: 0]
  |  Branch (2756:26): [True: 0, False: 1.38k]
  ------------------
 2757|      0|	error(_("'%s' must be a list"), "args");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'%s' must be a list"), "args");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2758|  1.38k|#endif
 2759|       |
 2760|  1.38k|    if (!isEnvironment(envir))
  ------------------
  |  |  944|  1.38k|#define isEnvironment		Rf_isEnvironment
  ------------------
  |  Branch (2760:9): [True: 0, False: 1.38k]
  ------------------
 2761|      0|	error(_("'envir' must be an environment"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'envir' must be an environment"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2762|       |
 2763|  1.38k|    n = length(args);
  ------------------
  |  |  987|  1.38k|#define length(x)		Rf_length(x)
  ------------------
 2764|  1.38k|    PROTECT(names = getAttrib(args, R_NamesSymbol));
  ------------------
  |  |  357|  1.38k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2765|       |
 2766|  1.38k|    PROTECT(c = call = allocLang(n + 1));
  ------------------
  |  |  357|  1.38k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2767|  1.38k|    if( isString(fun) ) {
  ------------------
  |  |  966|  1.38k|#define isString		Rf_isString
  ------------------
  |  Branch (2767:9): [True: 1.38k, False: 0]
  ------------------
 2768|  1.38k|	const char *str = translateChar(STRING_ELT(fun, 0));
  ------------------
  |  | 1037|  1.38k|#define translateChar		Rf_translateChar
  ------------------
 2769|  1.38k|	if (streql(str, ".Internal")) error("illegal usage");
  ------------------
  |  | 1498|  1.38k|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 1.38k]
  |  |  ------------------
  ------------------
              	if (streql(str, ".Internal")) error("illegal usage");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 2770|  1.38k|	SETCAR(c, install(str));
  ------------------
  |  |  934|  1.38k|#define install			Rf_install
  ------------------
 2771|  1.38k|    } else {
 2772|      0|	if(TYPEOF(fun) == SPECIALSXP && streql(PRIMNAME(fun), ".Internal"))
  ------------------
  |  |  118|      0|#define SPECIALSXP   7	  /* special forms */
  ------------------
              	if(TYPEOF(fun) == SPECIALSXP && streql(PRIMNAME(fun), ".Internal"))
  ------------------
  |  | 1498|      0|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2772:5): [True: 0, False: 0]
  ------------------
 2773|      0|	    error("illegal usage");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 2774|      0|	SETCAR(c, fun);
 2775|      0|    }
 2776|  1.38k|    c = CDR(c);
 2777|  1.43k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (2777:17): [True: 51, False: 1.38k]
  ------------------
 2778|     51|#ifndef NEW
 2779|     51|	SETCAR(c, VECTOR_ELT(args, i));
 2780|       |#else
 2781|       |	SETCAR(c, mkPROMISE(VECTOR_ELT(args, i), rho));
 2782|       |	SET_PRVALUE(CAR(c), VECTOR_ELT(args, i));
 2783|       |#endif
 2784|     51|	if (ItemName(names, (int)i) != R_NilValue)
  ------------------
  |  | 1937|     51|# define ItemName		Rf_ItemName
  ------------------
  |  Branch (2784:6): [True: 19, False: 32]
  ------------------
 2785|     19|	    SET_TAG(c, installTrChar(ItemName(names, i)));
  ------------------
  |  |  937|     19|#define installTrChar		Rf_installTrChar
  ------------------
              	    SET_TAG(c, installTrChar(ItemName(names, i)));
  ------------------
  |  | 1937|     19|# define ItemName		Rf_ItemName
  ------------------
 2786|     51|	c = CDR(c);
 2787|     51|    }
 2788|  1.38k|    call = eval(call, envir);
  ------------------
  |  |  913|  1.38k|#define eval			Rf_eval
  ------------------
 2789|       |
 2790|  1.38k|    UNPROTECT(2); /* c, names */
  ------------------
  |  |  358|  1.38k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2791|  1.38k|    return call;
 2792|  1.38k|}
Rf_substitute:
 2808|  51.7k|{
 2809|  51.7k|    SEXP t;
 2810|  51.7k|    switch (TYPEOF(lang)) {
 2811|  18.4k|    case PROMSXP:
  ------------------
  |  |  116|  18.4k|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (2811:5): [True: 18.4k, False: 33.3k]
  ------------------
 2812|  18.4k|	return substitute(PREXPR(lang), rho);
  ------------------
  |  | 1035|  18.4k|#define substitute		Rf_substitute
  ------------------
              	return substitute(PREXPR(lang), rho);
  ------------------
  |  |  720|  18.4k|#define PREXPR(e) R_PromiseExpr(e)
  ------------------
 2813|  21.6k|    case SYMSXP:
  ------------------
  |  |  112|  21.6k|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (2813:5): [True: 21.6k, False: 30.0k]
  ------------------
 2814|  21.6k|	if (rho != R_NilValue) {
  ------------------
  |  Branch (2814:6): [True: 2.34k, False: 19.3k]
  ------------------
 2815|  2.34k|	    t = R_findVarInFrame( rho, lang);
 2816|  2.34k|	    if (t != R_UnboundValue) {
  ------------------
  |  Branch (2816:10): [True: 2.26k, False: 72]
  ------------------
 2817|  2.26k|		if (TYPEOF(t) == PROMSXP) {
  ------------------
  |  |  116|  2.26k|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (2817:7): [True: 2.26k, False: 0]
  ------------------
 2818|  2.26k|		    do {
 2819|  2.26k|			t = PREXPR(t);
  ------------------
  |  |  720|  2.26k|#define PREXPR(e) R_PromiseExpr(e)
  ------------------
 2820|  2.26k|		    } while(TYPEOF(t) == PROMSXP);
  ------------------
  |  |  116|  2.26k|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (2820:15): [True: 0, False: 2.26k]
  ------------------
 2821|       |		    /* make sure code will not be modified: */
 2822|  2.26k|		    ENSURE_NAMEDMAX(t);
 2823|  2.26k|		    return t;
 2824|  2.26k|		}
 2825|      0|		else if (TYPEOF(t) == DOTSXP)
  ------------------
  |  |  127|      0|#define DOTSXP	    17	  /* dot-dot-dot object */
  ------------------
  |  Branch (2825:12): [True: 0, False: 0]
  ------------------
 2826|      0|		    error(_("'...' used in an incorrect context"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("'...' used in an incorrect context"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2827|      0|		if (rho != R_GlobalEnv)
  ------------------
  |  Branch (2827:7): [True: 0, False: 0]
  ------------------
 2828|      0|		    return t;
 2829|      0|	    }
 2830|  2.34k|	}
 2831|  19.4k|	return (lang);
 2832|  7.05k|    case LANGSXP:
  ------------------
  |  |  117|  7.05k|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (2832:5): [True: 7.05k, False: 44.7k]
  ------------------
 2833|  7.05k|	return substituteList(lang, rho);
  ------------------
  |  | 2001|  7.05k|# define substituteList		Rf_substituteList
  ------------------
 2834|  4.60k|    default:
  ------------------
  |  Branch (2834:5): [True: 4.60k, False: 47.1k]
  ------------------
 2835|  4.60k|	return (lang);
 2836|  51.7k|    }
 2837|  51.7k|}
Rf_substituteList:
 2844|  9.28k|{
 2845|  9.28k|    SEXP h, p = R_NilValue, res = R_NilValue;
 2846|       |
 2847|  9.28k|    if (isNull(el)) return el;
  ------------------
  |  |  956|  9.28k|#define isNull			Rf_isNull
  ------------------
  |  Branch (2847:9): [True: 0, False: 9.28k]
  ------------------
 2848|       |
 2849|  33.4k|    while (el != R_NilValue) {
  ------------------
  |  Branch (2849:12): [True: 24.1k, False: 9.28k]
  ------------------
 2850|       |	/* walk along the pairlist, substituting elements.
 2851|       |	   res is the result
 2852|       |	   p is the current last element
 2853|       |	   h is the element currently being processed
 2854|       |	 */
 2855|  24.1k|	if (CAR(el) == R_DotsSymbol) {
  ------------------
  |  Branch (2855:6): [True: 0, False: 24.1k]
  ------------------
 2856|      0|	    if (rho == R_NilValue)
  ------------------
  |  Branch (2856:10): [True: 0, False: 0]
  ------------------
 2857|      0|		h = R_UnboundValue;	/* so there is no substitution below */
 2858|      0|	    else
 2859|      0|		h = R_findVarInFrame(rho, CAR(el));
 2860|      0|	    if (h == R_UnboundValue)
  ------------------
  |  Branch (2860:10): [True: 0, False: 0]
  ------------------
 2861|      0|		h = LCONS(R_DotsSymbol, R_NilValue);
  ------------------
  |  |  310|      0|#define LCONS(a, b)	Rf_lcons((a), (b))		/* language lists */
  ------------------
 2862|      0|	    else if (h == R_NilValue  || h == R_MissingArg)
  ------------------
  |  Branch (2862:15): [True: 0, False: 0]
  |  Branch (2862:35): [True: 0, False: 0]
  ------------------
 2863|      0|		h = R_NilValue;
 2864|      0|	    else if (TYPEOF(h) == DOTSXP) {
  ------------------
  |  |  127|      0|#define DOTSXP	    17	  /* dot-dot-dot object */
  ------------------
  |  Branch (2864:15): [True: 0, False: 0]
  ------------------
 2865|      0|		PROTECT(h);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2866|      0|		h = substituteList(h, R_NilValue);
  ------------------
  |  | 2001|      0|# define substituteList		Rf_substituteList
  ------------------
 2867|      0|		UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2868|      0|	    } else
 2869|      0|		error(_("'...' used in an incorrect context"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("'...' used in an incorrect context"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2870|  24.1k|	} else {
 2871|  24.1k|	    h = substitute(CAR(el), rho);
  ------------------
  |  | 1035|  24.1k|#define substitute		Rf_substitute
  ------------------
 2872|  24.1k|	    ENSURE_NAMEDMAX(h);
 2873|  24.1k|	    if (isLanguage(el))
  ------------------
  |  |  950|  24.1k|#define isLanguage		Rf_isLanguage
  ------------------
  |  Branch (2873:10): [True: 7.05k, False: 17.1k]
  ------------------
 2874|  7.05k|		h = LCONS(h, R_NilValue);
  ------------------
  |  |  310|  7.05k|#define LCONS(a, b)	Rf_lcons((a), (b))		/* language lists */
  ------------------
 2875|  17.1k|	    else
 2876|  17.1k|		h = CONS(h, R_NilValue);
  ------------------
  |  |  309|  17.1k|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
 2877|  24.1k|	    SET_TAG(h, TAG(el));
 2878|  24.1k|	}
 2879|  24.1k|	if (h != R_NilValue) {
  ------------------
  |  Branch (2879:6): [True: 24.1k, False: 0]
  ------------------
 2880|  24.1k|	    if (res == R_NilValue)
  ------------------
  |  Branch (2880:10): [True: 9.28k, False: 14.8k]
  ------------------
 2881|  9.28k|		PROTECT(res = h);
  ------------------
  |  |  357|  9.28k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2882|  14.8k|	    else
 2883|  14.8k|		SETCDR(p, h);
 2884|       |	    /* now set 'p': dots might have expanded to a list of length > 1 */
 2885|  24.1k|	    while (CDR(h) != R_NilValue) h = CDR(h);
  ------------------
  |  Branch (2885:13): [True: 0, False: 24.1k]
  ------------------
 2886|  24.1k|	    p = h;
 2887|  24.1k|	}
 2888|  24.1k|	el = CDR(el);
 2889|  24.1k|    }
 2890|  9.28k|    if(res != R_NilValue) UNPROTECT(1);
  ------------------
  |  |  358|  9.28k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  |  Branch (2890:8): [True: 9.28k, False: 0]
  ------------------
 2891|  9.28k|    return res;
 2892|  9.28k|}
do_substitute:
 2897|  2.23k|{
 2898|  2.23k|    SEXP argList, env, s, t;
 2899|  2.23k|    static SEXP do_substitute_formals = NULL;
 2900|       |
 2901|  2.23k|    if (do_substitute_formals == NULL)
  ------------------
  |  Branch (2901:9): [True: 2, False: 2.23k]
  ------------------
 2902|      2|	do_substitute_formals = allocFormalsList2(install("expr"),
  ------------------
  |  |  865|      2|#define allocFormalsList2	Rf_allocFormalsList2
  ------------------
              	do_substitute_formals = allocFormalsList2(install("expr"),
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 2903|      2|						  install("env"));
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 2904|       |
 2905|       |    /* argument matching */
 2906|  2.23k|    PROTECT(argList = matchArgs_NR(do_substitute_formals, args, call));
  ------------------
  |  |  357|  2.23k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2907|       |
 2908|       |    /* set up the environment for substitution */
 2909|  2.23k|    if (CADR(argList) == R_MissingArg)
  ------------------
  |  Branch (2909:9): [True: 2.23k, False: 0]
  ------------------
 2910|  2.23k|	env = rho;
 2911|      0|    else
 2912|      0|	env = eval(CADR(argList), rho);
  ------------------
  |  |  913|      0|#define eval			Rf_eval
  ------------------
 2913|  2.23k|    if (env == R_GlobalEnv)	/* For historical reasons, don't substitute in R_GlobalEnv */
  ------------------
  |  Branch (2913:9): [True: 0, False: 2.23k]
  ------------------
 2914|      0|	env = R_NilValue;
 2915|  2.23k|    else if (TYPEOF(env) == VECSXP)
  ------------------
  |  |  131|  2.23k|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (2915:14): [True: 0, False: 2.23k]
  ------------------
 2916|      0|	env = NewEnvironment(R_NilValue, VectorToPairList(env), R_BaseEnv);
  ------------------
  |  | 1966|      0|# define NewEnvironment		Rf_NewEnvironment
  ------------------
              	env = NewEnvironment(R_NilValue, VectorToPairList(env), R_BaseEnv);
  ------------------
  |  | 1046|      0|#define VectorToPairList	Rf_VectorToPairList
  ------------------
 2917|  2.23k|    else if (TYPEOF(env) == LISTSXP)
  ------------------
  |  |  113|  2.23k|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (2917:14): [True: 0, False: 2.23k]
  ------------------
 2918|      0|	env = NewEnvironment(R_NilValue, duplicate(env), R_BaseEnv);
  ------------------
  |  | 1966|      0|# define NewEnvironment		Rf_NewEnvironment
  ------------------
              	env = NewEnvironment(R_NilValue, duplicate(env), R_BaseEnv);
  ------------------
  |  |  909|      0|#define duplicate		Rf_duplicate
  ------------------
 2919|  2.23k|    if (env != R_NilValue && TYPEOF(env) != ENVSXP)
  ------------------
  |  |  115|  2.23k|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (2919:9): [True: 2.23k, False: 0]
  |  Branch (2919:30): [True: 0, False: 2.23k]
  ------------------
 2920|      0|	errorcall(call, _("invalid environment specified"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("invalid environment specified"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2921|       |
 2922|  2.23k|    PROTECT(env);
  ------------------
  |  |  357|  2.23k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2923|  2.23k|    PROTECT(t = CONS(duplicate(CAR(argList)), R_NilValue));
  ------------------
  |  |  357|  2.23k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2924|  2.23k|    s = substituteList(t, env);
  ------------------
  |  | 2001|  2.23k|# define substituteList		Rf_substituteList
  ------------------
 2925|  2.23k|    UNPROTECT(3);
  ------------------
  |  |  358|  2.23k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2926|  2.23k|    return CAR(s);
 2927|  2.23k|}
do_quote:
 2931|  1.04M|{
 2932|  1.04M|    checkArity(op, args);
  ------------------
  |  | 1793|  1.04M|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 2933|  1.04M|    check1arg(args, call, "expr");
  ------------------
  |  | 1872|  1.04M|# define check1arg		Rf_check1arg
  ------------------
 2934|  1.04M|    SEXP val = CAR(args);
 2935|       |    /* Make sure expression has NAMED == NAMEDMAX before being returning
 2936|       |       in order to avoid modification of source code */
 2937|  1.04M|    ENSURE_NAMEDMAX(val);
 2938|  1.04M|    return(val);
 2939|  1.04M|}
R_do_set_class:
 3093|    178|{
 3094|    178|    checkArity(op, args);
  ------------------
  |  | 1793|    178|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 3095|    178|    check1arg(args, call, "x");
  ------------------
  |  | 1872|    178|# define check1arg		Rf_check1arg
  ------------------
 3096|       |
 3097|    178|    if (MAYBE_SHARED(CAR(args)) ||
  ------------------
  |  Branch (3097:9): [True: 0, False: 178]
  ------------------
 3098|    178|	((! IS_ASSIGNMENT_CALL(call)) && MAYBE_REFERENCED(CAR(args))))
  ------------------
  |  |  251|      0|#define MAYBE_REFERENCED(x) (! NO_REFERENCES(x))
  |  |  ------------------
  |  |  |  Branch (251:29): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (3098:3): [True: 0, False: 178]
  ------------------
 3099|      0|	SETCAR(args, shallow_duplicate(CAR(args)));
  ------------------
  |  | 1030|      0|#define shallow_duplicate	Rf_shallow_duplicate
  ------------------
 3100|    178|    SEXP ans = R_set_class(CAR(args), CADR(args), call);
 3101|    178|    SETTER_CLEAR_NAMED(CAR(args));
 3102|    178|    return ans;
 3103|    178|}
coerce.c:coercePairList:
  971|  3.09k|{
  972|  3.09k|    SEXP rval= R_NilValue, vp;
  973|  3.09k|    if (type == EXPRSXP) {
  ------------------
  |  |  132|  3.09k|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (973:9): [True: 0, False: 3.09k]
  ------------------
  974|      0|	PROTECT(rval = allocVector(type, 1));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  975|      0|	SET_VECTOR_ELT(rval, 0, v);
  976|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  977|      0|	return rval;
  978|      0|    }
  979|  3.09k|    else if (type == STRSXP) {
  ------------------
  |  |  126|  3.09k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (979:14): [True: 1.12k, False: 1.96k]
  ------------------
  980|  1.12k|	int i, n = length(v);
  ------------------
  |  |  987|  1.12k|#define length(x)		Rf_length(x)
  ------------------
  981|  1.12k|	PROTECT(rval = allocVector(type, n));
  ------------------
  |  |  357|  1.12k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  982|  1.12k|	for (vp = v, i = 0; vp != R_NilValue; vp = CDR(vp), i++) {
  ------------------
  |  Branch (982:22): [True: 0, False: 1.12k]
  ------------------
  983|      0|	    if (isString(CAR(vp)) && length(CAR(vp)) == 1)
  ------------------
  |  |  966|      0|#define isString		Rf_isString
  ------------------
              	    if (isString(CAR(vp)) && length(CAR(vp)) == 1)
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (983:10): [True: 0, False: 0]
  |  Branch (983:31): [True: 0, False: 0]
  ------------------
  984|      0|		SET_STRING_ELT(rval, i, STRING_ELT(CAR(vp), 0));
  985|      0|	    else
  986|      0|		SET_STRING_ELT(rval, i, STRING_ELT(deparse1line(CAR(vp), false), 0));
  ------------------
  |  | 1889|      0|# define deparse1line		Rf_deparse1line
  ------------------
  987|      0|	}
  988|  1.12k|    }
  989|  1.96k|    else if (type == VECSXP) {
  ------------------
  |  |  131|  1.96k|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (989:14): [True: 1.96k, False: 0]
  ------------------
  990|  1.96k|	rval = PairToVectorList(v);
  ------------------
  |  | 1010|  1.96k|#define PairToVectorList	Rf_PairToVectorList
  ------------------
  991|  1.96k|	return rval;
  992|  1.96k|    }
  993|      0|    else if (isVectorizable(v)) {
  ------------------
  |  |  976|      0|#define isVectorizable		Rf_isVectorizable
  ------------------
  |  Branch (993:14): [True: 0, False: 0]
  ------------------
  994|      0|	int i, n = length(v);
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  995|      0|	PROTECT(rval = allocVector(type, n));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  996|      0|	switch (type) {
  997|      0|	case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (997:2): [True: 0, False: 0]
  ------------------
  998|      0|	    for (i = 0, vp = v; i < n; i++, vp = CDR(vp))
  ------------------
  |  Branch (998:26): [True: 0, False: 0]
  ------------------
  999|      0|		LOGICAL0(rval)[i] = asLogical(CAR(vp));
  ------------------
  |  |  886|      0|#define asLogical		Rf_asLogical
  ------------------
 1000|      0|	    break;
 1001|      0|	case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1001:2): [True: 0, False: 0]
  ------------------
 1002|      0|	    for (i = 0, vp = v; i < n; i++, vp = CDR(vp))
  ------------------
  |  Branch (1002:26): [True: 0, False: 0]
  ------------------
 1003|      0|		INTEGER0(rval)[i] = asInteger(CAR(vp));
  ------------------
  |  |  885|      0|#define asInteger		Rf_asInteger
  ------------------
 1004|      0|	    break;
 1005|      0|	case REALSXP:
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1005:2): [True: 0, False: 0]
  ------------------
 1006|      0|	    for (i = 0, vp = v; i < n; i++, vp = CDR(vp))
  ------------------
  |  Branch (1006:26): [True: 0, False: 0]
  ------------------
 1007|      0|		REAL0(rval)[i] = asReal(CAR(vp));
  ------------------
  |  |  889|      0|#define asReal			Rf_asReal
  ------------------
 1008|      0|	    break;
 1009|      0|	case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (1009:2): [True: 0, False: 0]
  ------------------
 1010|      0|	    for (i = 0, vp = v; i < n; i++, vp = CDR(vp))
  ------------------
  |  Branch (1010:26): [True: 0, False: 0]
  ------------------
 1011|      0|		COMPLEX0(rval)[i] = asComplex(CAR(vp));
  ------------------
  |  |  884|      0|#define asComplex		Rf_asComplex
  ------------------
 1012|      0|	    break;
 1013|      0|	case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (1013:2): [True: 0, False: 0]
  ------------------
 1014|      0|	    for (i = 0, vp = v; i < n; i++, vp = CDR(vp))
  ------------------
  |  Branch (1014:26): [True: 0, False: 0]
  ------------------
 1015|      0|		RAW0(rval)[i] = (Rbyte) asInteger(CAR(vp));
  ------------------
  |  |  885|      0|#define asInteger		Rf_asInteger
  ------------------
 1016|      0|	    break;
 1017|      0|	default:
  ------------------
  |  Branch (1017:2): [True: 0, False: 0]
  ------------------
 1018|      0|	    UNIMPLEMENTED_TYPE("coercePairList", v);
 1019|      0|	}
 1020|      0|    }
 1021|      0|    else
 1022|      0|	error(_("'%s' object cannot be coerced to type '%s'"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'%s' object cannot be coerced to type '%s'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1023|      0|	      R_typeToChar(v), type2char(type));
  ------------------
  |  | 1040|      0|#define type2char		Rf_type2char
  ------------------
 1024|       |
 1025|       |    /* If any tags are non-null then we */
 1026|       |    /* need to add a names attribute. */
 1027|  1.12k|    bool has_nms = false;
 1028|  1.12k|    for (vp = v; vp != R_NilValue; vp = CDR(vp))
  ------------------
  |  Branch (1028:18): [True: 0, False: 1.12k]
  ------------------
 1029|      0|	if (TAG(vp) != R_NilValue) {
  ------------------
  |  Branch (1029:6): [True: 0, False: 0]
  ------------------
 1030|      0|	    has_nms = true;
 1031|      0|	    break;
 1032|      0|	}
 1033|       |
 1034|  1.12k|    if (has_nms) {
  ------------------
  |  Branch (1034:9): [True: 0, False: 1.12k]
  ------------------
 1035|      0|	SEXP names = allocVector(STRSXP, length(v));
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              	SEXP names = allocVector(STRSXP, length(v));
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
              	SEXP names = allocVector(STRSXP, length(v));
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
 1036|      0|	int i;
 1037|      0|	for (vp = v, i = 0; vp != R_NilValue; vp = CDR(vp), i++)
  ------------------
  |  Branch (1037:22): [True: 0, False: 0]
  ------------------
 1038|      0|	    if (TAG(vp) != R_NilValue)
  ------------------
  |  Branch (1038:10): [True: 0, False: 0]
  ------------------
 1039|      0|		SET_STRING_ELT(names, i, PRINTNAME(TAG(vp)));
 1040|      0|	setAttrib(rval, R_NamesSymbol, names);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
 1041|      0|    }
 1042|  1.12k|    UNPROTECT(1);
  ------------------
  |  |  358|  1.12k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1043|  1.12k|    return rval;
 1044|  3.09k|}
coerce.c:coerceVectorList:
 1048|    146|{
 1049|    146|    int warn = 0, tmp;
 1050|    146|    R_xlen_t i, n;
 1051|    146|    SEXP rval, names;
 1052|       |
 1053|    146|    names = v;
 1054|    146|    rval = R_NilValue;	/* -Wall */
 1055|       |
 1056|       |    /* expression -> list, new in R 2.4.0 */
 1057|    146|    if (type == VECSXP && TYPEOF(v) == EXPRSXP) {
  ------------------
  |  |  131|    292|#define VECSXP	    19	  /* generic vectors */
  ------------------
                  if (type == VECSXP && TYPEOF(v) == EXPRSXP) {
  ------------------
  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (1057:9): [True: 0, False: 146]
  |  Branch (1057:27): [True: 0, False: 0]
  ------------------
 1058|       |	/* This is sneaky but saves us rewriting a lot of the duplicate code */
 1059|      0|	rval = MAYBE_REFERENCED(v) ? duplicate(v) : v;
  ------------------
  |  |  251|      0|#define MAYBE_REFERENCED(x) (! NO_REFERENCES(x))
  |  |  ------------------
  |  |  |  Branch (251:29): [True: 0, False: 0]
  |  |  ------------------
  ------------------
              	rval = MAYBE_REFERENCED(v) ? duplicate(v) : v;
  ------------------
  |  |  909|      0|#define duplicate		Rf_duplicate
  ------------------
 1060|      0|	SET_TYPEOF(rval, VECSXP);
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
 1061|      0|	return rval;
 1062|      0|    }
 1063|       |
 1064|    146|    if (type == EXPRSXP && TYPEOF(v) == VECSXP) {
  ------------------
  |  |  132|    292|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
                  if (type == EXPRSXP && TYPEOF(v) == VECSXP) {
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (1064:9): [True: 0, False: 146]
  |  Branch (1064:28): [True: 0, False: 0]
  ------------------
 1065|      0|	rval = MAYBE_REFERENCED(v) ? duplicate(v) : v;
  ------------------
  |  |  251|      0|#define MAYBE_REFERENCED(x) (! NO_REFERENCES(x))
  |  |  ------------------
  |  |  |  Branch (251:29): [True: 0, False: 0]
  |  |  ------------------
  ------------------
              	rval = MAYBE_REFERENCED(v) ? duplicate(v) : v;
  ------------------
  |  |  909|      0|#define duplicate		Rf_duplicate
  ------------------
 1066|      0|	SET_TYPEOF(rval, EXPRSXP);
  ------------------
  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
 1067|      0|	return rval;
 1068|      0|    }
 1069|       |
 1070|    146|    if (type == STRSXP) {
  ------------------
  |  |  126|    146|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1070:9): [True: 146, False: 0]
  ------------------
 1071|    146|	n = xlength(v);
  ------------------
  |  | 1049|    146|#define xlength(x)		Rf_xlength(x)
  ------------------
 1072|    146|	PROTECT(rval = allocVector(type, n));
  ------------------
  |  |  357|    146|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1073|       |#ifdef R_MEMORY_PROFILING
 1074|       |	if (RTRACE(v)){
 1075|       |	   memtrace_report(v, rval);
 1076|       |	   SET_RTRACE(rval,1);
 1077|       |	}
 1078|       |#endif
 1079|    308|	for (i = 0; i < n;  i++) {
  ------------------
  |  Branch (1079:14): [True: 162, False: 146]
  ------------------
 1080|    162|	    if (isString(VECTOR_ELT(v, i)) && xlength(VECTOR_ELT(v, i)) == 1)
  ------------------
  |  |  966|    162|#define isString		Rf_isString
  ------------------
              	    if (isString(VECTOR_ELT(v, i)) && xlength(VECTOR_ELT(v, i)) == 1)
  ------------------
  |  | 1049|    162|#define xlength(x)		Rf_xlength(x)
  ------------------
  |  Branch (1080:10): [True: 162, False: 0]
  |  Branch (1080:40): [True: 162, False: 0]
  ------------------
 1081|    162|		SET_STRING_ELT(rval, i, STRING_ELT(VECTOR_ELT(v, i), 0));
 1082|       |#if 0
 1083|       |	    /* this will make as.character(list(s)) not backquote
 1084|       |	     * non-syntactic name s. It is not entirely clear that
 1085|       |	     * that is really desirable though....
 1086|       |	     */
 1087|       |	    else if (isSymbol(VECTOR_ELT(v, i)))
 1088|       |		SET_STRING_ELT(rval, i, PRINTNAME(VECTOR_ELT(v, i)));
 1089|       |#endif
 1090|      0|	    else
 1091|      0|		SET_STRING_ELT(rval, i,
 1092|      0|			       STRING_ELT(deparse1line_ex(VECTOR_ELT(v, i),
 1093|      0|							  false, NICE_NAMES),
  ------------------
  |  | 2083|      0|#define NICE_NAMES             	1024
  ------------------
 1094|      0|					  0));
 1095|    162|	}
 1096|    146|    }
 1097|      0|    else if (type == LISTSXP) {
  ------------------
  |  |  113|      0|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (1097:14): [True: 0, False: 0]
  ------------------
 1098|      0|	rval = VectorToPairList(v);
  ------------------
  |  | 1046|      0|#define VectorToPairList	Rf_VectorToPairList
  ------------------
 1099|      0|	return rval;
 1100|      0|    }
 1101|      0|    else if (isVectorizable(v)) {
  ------------------
  |  |  976|      0|#define isVectorizable		Rf_isVectorizable
  ------------------
  |  Branch (1101:14): [True: 0, False: 0]
  ------------------
 1102|      0|	n = xlength(v);
  ------------------
  |  | 1049|      0|#define xlength(x)		Rf_xlength(x)
  ------------------
 1103|      0|	PROTECT(rval = allocVector(type, n));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1104|      0|	switch (type) {
 1105|      0|	case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (1105:2): [True: 0, False: 0]
  ------------------
 1106|      0|	    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1106:18): [True: 0, False: 0]
  ------------------
 1107|       |//		if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
 1108|      0|		LOGICAL0(rval)[i] = asLogical(VECTOR_ELT(v, i));
  ------------------
  |  |  886|      0|#define asLogical		Rf_asLogical
  ------------------
 1109|      0|	    }
 1110|      0|	    break;
 1111|      0|	case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1111:2): [True: 0, False: 0]
  ------------------
 1112|      0|	    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1112:18): [True: 0, False: 0]
  ------------------
 1113|       |//		if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
 1114|      0|		INTEGER0(rval)[i] = asInteger(VECTOR_ELT(v, i));
  ------------------
  |  |  885|      0|#define asInteger		Rf_asInteger
  ------------------
 1115|      0|	    }
 1116|      0|	    break;
 1117|      0|	case REALSXP:
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1117:2): [True: 0, False: 0]
  ------------------
 1118|      0|	    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1118:18): [True: 0, False: 0]
  ------------------
 1119|       |//		if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
 1120|      0|		REAL0(rval)[i] = asReal(VECTOR_ELT(v, i));
  ------------------
  |  |  889|      0|#define asReal			Rf_asReal
  ------------------
 1121|      0|	    }
 1122|      0|	    break;
 1123|      0|	case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (1123:2): [True: 0, False: 0]
  ------------------
 1124|      0|	    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1124:18): [True: 0, False: 0]
  ------------------
 1125|       |//		if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
 1126|      0|		COMPLEX0(rval)[i] = asComplex(VECTOR_ELT(v, i));
  ------------------
  |  |  884|      0|#define asComplex		Rf_asComplex
  ------------------
 1127|      0|	    }
 1128|      0|	    break;
 1129|      0|	case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (1129:2): [True: 0, False: 0]
  ------------------
 1130|      0|	    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1130:18): [True: 0, False: 0]
  ------------------
 1131|       |//		if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
 1132|      0|		tmp = asInteger(VECTOR_ELT(v, i));
  ------------------
  |  |  885|      0|#define asInteger		Rf_asInteger
  ------------------
 1133|      0|		if (tmp < 0 || tmp > 255) { /* includes NA_INTEGER */
  ------------------
  |  Branch (1133:7): [True: 0, False: 0]
  |  Branch (1133:18): [True: 0, False: 0]
  ------------------
 1134|      0|		    tmp = 0;
 1135|      0|		    warn |= WARN_RAW;
  ------------------
  |  |   51|      0|#define WARN_RAW  8
  ------------------
 1136|      0|		}
 1137|      0|		RAW0(rval)[i] = (Rbyte) tmp;
 1138|      0|	    }
 1139|      0|	    break;
 1140|      0|	default:
  ------------------
  |  Branch (1140:2): [True: 0, False: 0]
  ------------------
 1141|      0|	    UNIMPLEMENTED_TYPE("coerceVectorList", v);
 1142|      0|	}
 1143|      0|    }
 1144|      0|    else
 1145|      0|	error(_("'%s' object cannot be coerced to type '%s'"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'%s' object cannot be coerced to type '%s'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1146|      0|	      "list", type2char(type));
  ------------------
  |  | 1040|      0|#define type2char		Rf_type2char
  ------------------
 1147|       |
 1148|    146|    if (warn) CoercionWarning(warn);
  ------------------
  |  | 1875|      0|# define CoercionWarning       	Rf_CoercionWarning
  ------------------
  |  Branch (1148:9): [True: 0, False: 146]
  ------------------
 1149|    146|    names = getAttrib(v, R_NamesSymbol);
  ------------------
  |  |  924|    146|#define getAttrib		Rf_getAttrib
  ------------------
 1150|    146|    if (names != R_NilValue)
  ------------------
  |  Branch (1150:9): [True: 16, False: 130]
  ------------------
 1151|     16|	setAttrib(rval, R_NamesSymbol, names);
  ------------------
  |  | 1027|     16|#define setAttrib		Rf_setAttrib
  ------------------
 1152|    146|    UNPROTECT(1);
  ------------------
  |  |  358|    146|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1153|    146|    return rval;
 1154|    146|}
coerce.c:coerceToSymbol:
  417|  1.12k|{
  418|  1.12k|    SEXP ans = R_NilValue;
  419|  1.12k|    int warn = 0;
  420|  1.12k|    if (length(v) <= 0)
  ------------------
  |  |  987|  1.12k|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (420:9): [True: 0, False: 1.12k]
  ------------------
  421|      0|	error(_("invalid data of mode '%s' (too short)"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid data of mode '%s' (too short)"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  422|      0|	      R_typeToChar(v));
  423|  1.12k|    PROTECT(v);
  ------------------
  |  |  357|  1.12k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  424|  1.12k|    switch(TYPEOF(v)) {
  425|      0|    case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (425:5): [True: 0, False: 1.12k]
  ------------------
  426|      0|	ans = StringFromLogical(LOGICAL_ELT(v, 0));
  ------------------
  |  | 1996|      0|# define StringFromLogical	Rf_StringFromLogical
  ------------------
  427|      0|	break;
  428|      0|    case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (428:5): [True: 0, False: 1.12k]
  ------------------
  429|      0|	ans = StringFromInteger(INTEGER_ELT(v, 0), &warn);
  ------------------
  |  | 1995|      0|# define StringFromInteger	Rf_StringFromInteger
  ------------------
  430|      0|	break;
  431|      0|    case REALSXP:
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (431:5): [True: 0, False: 1.12k]
  ------------------
  432|      0|	ans = StringFromReal(REAL_ELT(v, 0), &warn);
  ------------------
  |  | 1997|      0|# define StringFromReal		Rf_StringFromReal
  ------------------
  433|      0|	break;
  434|      0|    case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (434:5): [True: 0, False: 1.12k]
  ------------------
  435|      0|	ans = StringFromComplex(COMPLEX_ELT(v, 0), &warn);
  ------------------
  |  | 1994|      0|# define StringFromComplex	Rf_StringFromComplex
  ------------------
  436|      0|	break;
  437|  1.12k|    case STRSXP:
  ------------------
  |  |  126|  1.12k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (437:5): [True: 1.12k, False: 0]
  ------------------
  438|  1.12k|	ans = STRING_ELT(v, 0);
  439|  1.12k|	break;
  440|      0|    case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (440:5): [True: 0, False: 1.12k]
  ------------------
  441|      0|	ans = StringFromRaw(RAW_ELT(v, 0), &warn);
  442|      0|	break;
  443|      0|    default:
  ------------------
  |  Branch (443:5): [True: 0, False: 1.12k]
  ------------------
  444|      0|	UNIMPLEMENTED_TYPE("coerceToSymbol", v);
  445|  1.12k|    }
  446|  1.12k|    PROTECT(ans);
  ------------------
  |  |  357|  1.12k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  447|  1.12k|    if (warn) CoercionWarning(warn);/*2000/10/23*/
  ------------------
  |  | 1875|      0|# define CoercionWarning       	Rf_CoercionWarning
  ------------------
  |  Branch (447:9): [True: 0, False: 1.12k]
  ------------------
  448|  1.12k|    ans = installTrChar(ans);
  ------------------
  |  |  937|  1.12k|#define installTrChar		Rf_installTrChar
  ------------------
  449|  1.12k|    UNPROTECT(2); /* ans, v */
  ------------------
  |  |  358|  1.12k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  450|  1.12k|    return ans;
  451|  1.12k|}
coerce.c:coerceToLogical:
  454|     12|{
  455|     12|    SEXP ans;
  456|     12|    int warn = 0;
  457|     12|    R_xlen_t i, n;
  458|     12|    PROTECT(ans = allocVector(LGLSXP, n = XLENGTH(v)));
  ------------------
  |  |  357|     12|#define PROTECT(s)	Rf_protect(s)
  ------------------
  459|     12|    int *pa = LOGICAL(ans);
  460|       |#ifdef R_MEMORY_PROFILING
  461|       |    if (RTRACE(v)){
  462|       |       memtrace_report(v,ans);
  463|       |       SET_RTRACE(ans,1);
  464|       |    }
  465|       |#endif
  466|     12|    SHALLOW_DUPLICATE_ATTRIB(ans, v);
  ------------------
  |  |   58|     12|#define SHALLOW_DUPLICATE_ATTRIB(to, from) do {\
  |  |   59|     12|  SEXP __from__ = (from); \
  |  |   60|     12|  if (ATTRIB(__from__) != R_NilValue) { \
  |  |  ------------------
  |  |  |  Branch (60:7): [True: 12, False: 0]
  |  |  ------------------
  |  |   61|     12|    SEXP __to__ = (to); \
  |  |   62|     12|    (SHALLOW_DUPLICATE_ATTRIB)(__to__, __from__);	\
  |  |   63|     12|  } \
  |  |   64|     12|} while (0)
  |  |  ------------------
  |  |  |  Branch (64:10): [Folded, False: 12]
  |  |  ------------------
  ------------------
  467|     12|    switch (TYPEOF(v)) {
  468|     12|    case INTSXP:
  ------------------
  |  |  123|     12|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (468:5): [True: 12, False: 0]
  ------------------
  469|     48|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (469:14): [True: 36, False: 12]
  ------------------
  470|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  471|     36|	    pa[i] = LogicalFromInteger(INTEGER_ELT(v, i), &warn);
  ------------------
  |  | 1942|     36|# define LogicalFromInteger	Rf_LogicalFromInteger
  ------------------
  472|     36|	}
  473|     12|	break;
  474|      0|    case REALSXP:
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (474:5): [True: 0, False: 12]
  ------------------
  475|      0|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (475:14): [True: 0, False: 0]
  ------------------
  476|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  477|      0|	    pa[i] = LogicalFromReal(REAL_ELT(v, i), &warn);
  ------------------
  |  | 1943|      0|# define LogicalFromReal	Rf_LogicalFromReal
  ------------------
  478|      0|	}
  479|      0|	break;
  480|      0|    case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (480:5): [True: 0, False: 12]
  ------------------
  481|      0|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (481:14): [True: 0, False: 0]
  ------------------
  482|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  483|      0|	    pa[i] = LogicalFromComplex(COMPLEX_ELT(v, i), &warn);
  ------------------
  |  | 1941|      0|# define LogicalFromComplex	Rf_LogicalFromComplex
  ------------------
  484|      0|	}
  485|      0|	break;
  486|      0|    case STRSXP:
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (486:5): [True: 0, False: 12]
  ------------------
  487|      0|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (487:14): [True: 0, False: 0]
  ------------------
  488|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  489|      0|	    pa[i] = LogicalFromString(STRING_ELT(v, i), &warn);
  ------------------
  |  | 1944|      0|# define LogicalFromString	Rf_LogicalFromString
  ------------------
  490|      0|	}
  491|      0|	break;
  492|      0|    case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (492:5): [True: 0, False: 12]
  ------------------
  493|      0|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (493:14): [True: 0, False: 0]
  ------------------
  494|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  495|      0|	    pa[i] = LogicalFromInteger((int)RAW_ELT(v, i), &warn);
  ------------------
  |  | 1942|      0|# define LogicalFromInteger	Rf_LogicalFromInteger
  ------------------
  496|      0|	}
  497|      0|	break;
  498|      0|    default:
  ------------------
  |  Branch (498:5): [True: 0, False: 12]
  ------------------
  499|      0|	UNIMPLEMENTED_TYPE("coerceToLogical", v);
  500|     12|    }
  501|     12|    if (warn) CoercionWarning(warn);
  ------------------
  |  | 1875|      0|# define CoercionWarning       	Rf_CoercionWarning
  ------------------
  |  Branch (501:9): [True: 0, False: 12]
  ------------------
  502|     12|    UNPROTECT(1);
  ------------------
  |  |  358|     12|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  503|     12|    return ans;
  504|     12|}
coerce.c:coerceToInteger:
  507|  5.75k|{
  508|  5.75k|    SEXP ans;
  509|  5.75k|    int warn = 0;
  510|  5.75k|    R_xlen_t i, n;
  511|  5.75k|    PROTECT(ans = allocVector(INTSXP, n = XLENGTH(v)));
  ------------------
  |  |  357|  5.75k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  512|  5.75k|    int *pa = INTEGER(ans);
  513|       |#ifdef R_MEMORY_PROFILING
  514|       |    if (RTRACE(v)){
  515|       |       memtrace_report(v,ans);
  516|       |       SET_RTRACE(ans,1);
  517|       |    }
  518|       |#endif
  519|  5.75k|    SHALLOW_DUPLICATE_ATTRIB(ans, v);
  ------------------
  |  |   58|  5.75k|#define SHALLOW_DUPLICATE_ATTRIB(to, from) do {\
  |  |   59|  5.75k|  SEXP __from__ = (from); \
  |  |   60|  5.75k|  if (ATTRIB(__from__) != R_NilValue) { \
  |  |  ------------------
  |  |  |  Branch (60:7): [True: 0, False: 5.75k]
  |  |  ------------------
  |  |   61|      0|    SEXP __to__ = (to); \
  |  |   62|      0|    (SHALLOW_DUPLICATE_ATTRIB)(__to__, __from__);	\
  |  |   63|      0|  } \
  |  |   64|  5.75k|} while (0)
  |  |  ------------------
  |  |  |  Branch (64:10): [Folded, False: 5.75k]
  |  |  ------------------
  ------------------
  520|  5.75k|    switch (TYPEOF(v)) {
  521|      0|    case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (521:5): [True: 0, False: 5.75k]
  ------------------
  522|      0|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (522:14): [True: 0, False: 0]
  ------------------
  523|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  524|      0|	    pa[i] = IntegerFromLogical(LOGICAL_ELT(v, i), &warn);
  ------------------
  |  | 1931|      0|# define IntegerFromLogical	Rf_IntegerFromLogical
  ------------------
  525|      0|	}
  526|      0|	break;
  527|  5.49k|    case REALSXP:
  ------------------
  |  |  124|  5.49k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (527:5): [True: 5.49k, False: 265]
  ------------------
  528|   108k|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (528:14): [True: 103k, False: 5.49k]
  ------------------
  529|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  530|   103k|	    pa[i] = IntegerFromReal(REAL_ELT(v, i), &warn);
  ------------------
  |  | 1932|   103k|# define IntegerFromReal	Rf_IntegerFromReal
  ------------------
  531|   103k|	}
  532|  5.49k|	break;
  533|      0|    case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (533:5): [True: 0, False: 5.75k]
  ------------------
  534|      0|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (534:14): [True: 0, False: 0]
  ------------------
  535|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  536|      0|	    pa[i] = IntegerFromComplex(COMPLEX_ELT(v, i), &warn);
  ------------------
  |  | 1930|      0|# define IntegerFromComplex	Rf_IntegerFromComplex
  ------------------
  537|      0|	}
  538|      0|	break;
  539|     42|    case STRSXP:
  ------------------
  |  |  126|     42|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (539:5): [True: 42, False: 5.71k]
  ------------------
  540|    162|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (540:14): [True: 120, False: 42]
  ------------------
  541|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  542|    120|	    pa[i] = IntegerFromString(STRING_ELT(v, i), &warn);
  ------------------
  |  | 1933|    120|# define IntegerFromString	Rf_IntegerFromString
  ------------------
  543|    120|	}
  544|     42|	break;
  545|    223|    case RAWSXP:
  ------------------
  |  |  136|    223|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (545:5): [True: 223, False: 5.53k]
  ------------------
  546|   192k|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (546:14): [True: 192k, False: 223]
  ------------------
  547|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  548|   192k|	    pa[i] = (int)RAW_ELT(v, i);
  549|   192k|	}
  550|    223|	break;
  551|      0|    default:
  ------------------
  |  Branch (551:5): [True: 0, False: 5.75k]
  ------------------
  552|      0|	UNIMPLEMENTED_TYPE("coerceToInteger", v);
  553|  5.75k|    }
  554|  5.75k|    if (warn) CoercionWarning(warn);
  ------------------
  |  | 1875|    392|# define CoercionWarning       	Rf_CoercionWarning
  ------------------
  |  Branch (554:9): [True: 392, False: 5.36k]
  ------------------
  555|  5.75k|    UNPROTECT(1);
  ------------------
  |  |  358|  5.75k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  556|  5.75k|    return ans;
  557|  5.75k|}
coerce.c:coerceToReal:
  560|  2.39k|{
  561|  2.39k|    SEXP ans;
  562|  2.39k|    int warn = 0;
  563|  2.39k|    R_xlen_t i, n;
  564|  2.39k|    PROTECT(ans = allocVector(REALSXP, n = XLENGTH(v)));
  ------------------
  |  |  357|  2.39k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  565|  2.39k|    double *pa = REAL(ans);
  566|       |#ifdef R_MEMORY_PROFILING
  567|       |    if (RTRACE(v)){
  568|       |       memtrace_report(v,ans);
  569|       |       SET_RTRACE(ans,1);
  570|       |    }
  571|       |#endif
  572|  2.39k|    SHALLOW_DUPLICATE_ATTRIB(ans, v);
  ------------------
  |  |   58|  2.39k|#define SHALLOW_DUPLICATE_ATTRIB(to, from) do {\
  |  |   59|  2.39k|  SEXP __from__ = (from); \
  |  |   60|  2.39k|  if (ATTRIB(__from__) != R_NilValue) { \
  |  |  ------------------
  |  |  |  Branch (60:7): [True: 0, False: 2.39k]
  |  |  ------------------
  |  |   61|      0|    SEXP __to__ = (to); \
  |  |   62|      0|    (SHALLOW_DUPLICATE_ATTRIB)(__to__, __from__);	\
  |  |   63|      0|  } \
  |  |   64|  2.39k|} while (0)
  |  |  ------------------
  |  |  |  Branch (64:10): [Folded, False: 2.39k]
  |  |  ------------------
  ------------------
  573|  2.39k|    switch (TYPEOF(v)) {
  574|     35|    case LGLSXP:
  ------------------
  |  |  121|     35|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (574:5): [True: 35, False: 2.35k]
  ------------------
  575|    199|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (575:14): [True: 164, False: 35]
  ------------------
  576|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  577|    164|	    pa[i] = RealFromLogical(LOGICAL_ELT(v, i), &warn);
  ------------------
  |  | 1986|    164|# define RealFromLogical	Rf_RealFromLogical
  ------------------
  578|    164|	}
  579|     35|	break;
  580|      0|    case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (580:5): [True: 0, False: 2.39k]
  ------------------
  581|      0|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (581:14): [True: 0, False: 0]
  ------------------
  582|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  583|      0|	    pa[i] = RealFromInteger(INTEGER_ELT(v, i), &warn);
  ------------------
  |  | 1985|      0|# define RealFromInteger	Rf_RealFromInteger
  ------------------
  584|      0|	}
  585|      0|	break;
  586|      0|    case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (586:5): [True: 0, False: 2.39k]
  ------------------
  587|      0|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (587:14): [True: 0, False: 0]
  ------------------
  588|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  589|      0|	    pa[i] = RealFromComplex(COMPLEX_ELT(v, i), &warn);
  ------------------
  |  | 1984|      0|# define RealFromComplex	Rf_RealFromComplex
  ------------------
  590|      0|	}
  591|      0|	break;
  592|  2.35k|    case STRSXP:
  ------------------
  |  |  126|  2.35k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (592:5): [True: 2.35k, False: 35]
  ------------------
  593|   680k|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (593:14): [True: 677k, False: 2.35k]
  ------------------
  594|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  595|   677k|	    pa[i] = RealFromString(STRING_ELT(v, i), &warn);
  ------------------
  |  | 1987|   677k|# define RealFromString		Rf_RealFromString
  ------------------
  596|   677k|	}
  597|  2.35k|	break;
  598|      0|    case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (598:5): [True: 0, False: 2.39k]
  ------------------
  599|      0|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (599:14): [True: 0, False: 0]
  ------------------
  600|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  601|      0|	    pa[i] = RealFromInteger((int)RAW_ELT(v, i), &warn);
  ------------------
  |  | 1985|      0|# define RealFromInteger	Rf_RealFromInteger
  ------------------
  602|      0|	}
  603|      0|	break;
  604|      0|    default:
  ------------------
  |  Branch (604:5): [True: 0, False: 2.39k]
  ------------------
  605|      0|	UNIMPLEMENTED_TYPE("coerceToReal", v);
  606|  2.39k|    }
  607|  2.39k|    if (warn) CoercionWarning(warn);
  ------------------
  |  | 1875|  1.35k|# define CoercionWarning       	Rf_CoercionWarning
  ------------------
  |  Branch (607:9): [True: 1.35k, False: 1.03k]
  ------------------
  608|  2.39k|    UNPROTECT(1);
  ------------------
  |  |  358|  2.39k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  609|  2.39k|    return ans;
  610|  2.39k|}
coerce.c:coerceToRaw:
  666|     34|{
  667|     34|    SEXP ans;
  668|     34|    int warn = 0, tmp;
  669|     34|    R_xlen_t i, n;
  670|       |
  671|     34|    PROTECT(ans = allocVector(RAWSXP, n = XLENGTH(v)));
  ------------------
  |  |  357|     34|#define PROTECT(s)	Rf_protect(s)
  ------------------
  672|     34|    Rbyte *pa = RAW(ans);
  673|       |#ifdef R_MEMORY_PROFILING
  674|       |    if (RTRACE(v)){
  675|       |       memtrace_report(v,ans);
  676|       |       SET_RTRACE(ans,1);
  677|       |    }
  678|       |#endif
  679|     34|    SHALLOW_DUPLICATE_ATTRIB(ans, v);
  ------------------
  |  |   58|     34|#define SHALLOW_DUPLICATE_ATTRIB(to, from) do {\
  |  |   59|     34|  SEXP __from__ = (from); \
  |  |   60|     34|  if (ATTRIB(__from__) != R_NilValue) { \
  |  |  ------------------
  |  |  |  Branch (60:7): [True: 0, False: 34]
  |  |  ------------------
  |  |   61|      0|    SEXP __to__ = (to); \
  |  |   62|      0|    (SHALLOW_DUPLICATE_ATTRIB)(__to__, __from__);	\
  |  |   63|      0|  } \
  |  |   64|     34|} while (0)
  |  |  ------------------
  |  |  |  Branch (64:10): [Folded, False: 34]
  |  |  ------------------
  ------------------
  680|     34|    switch (TYPEOF(v)) {
  681|      0|    case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (681:5): [True: 0, False: 34]
  ------------------
  682|      0|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (682:14): [True: 0, False: 0]
  ------------------
  683|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  684|      0|	    tmp = IntegerFromLogical(LOGICAL_ELT(v, i), &warn);
  ------------------
  |  | 1931|      0|# define IntegerFromLogical	Rf_IntegerFromLogical
  ------------------
  685|      0|	    if(tmp == NA_INTEGER) {
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (685:9): [True: 0, False: 0]
  ------------------
  686|      0|		tmp = 0;
  687|      0|		warn |= WARN_RAW;
  ------------------
  |  |   51|      0|#define WARN_RAW  8
  ------------------
  688|      0|	    }
  689|      0|	    pa[i] = (Rbyte) tmp;
  690|      0|	}
  691|      0|	break;
  692|      0|    case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (692:5): [True: 0, False: 34]
  ------------------
  693|      0|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (693:14): [True: 0, False: 0]
  ------------------
  694|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  695|      0|	    tmp = INTEGER_ELT(v, i);
  696|      0|	    if(tmp == NA_INTEGER || tmp < 0 || tmp > 255) {
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (696:9): [True: 0, False: 0]
  |  Branch (696:30): [True: 0, False: 0]
  |  Branch (696:41): [True: 0, False: 0]
  ------------------
  697|      0|		tmp = 0;
  698|      0|		warn |= WARN_RAW;
  ------------------
  |  |   51|      0|#define WARN_RAW  8
  ------------------
  699|      0|	    }
  700|      0|	    pa[i] = (Rbyte) tmp;
  701|      0|	}
  702|      0|	break;
  703|     34|    case REALSXP:
  ------------------
  |  |  124|     34|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (703:5): [True: 34, False: 0]
  ------------------
  704|     68|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (704:14): [True: 34, False: 34]
  ------------------
  705|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  706|     34|	    tmp = IntegerFromReal(REAL_ELT(v, i), &warn);
  ------------------
  |  | 1932|     34|# define IntegerFromReal	Rf_IntegerFromReal
  ------------------
  707|     34|	    if(tmp == NA_INTEGER || tmp < 0 || tmp > 255) {
  ------------------
  |  |   56|     68|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (707:9): [True: 0, False: 34]
  |  Branch (707:30): [True: 0, False: 34]
  |  Branch (707:41): [True: 0, False: 34]
  ------------------
  708|      0|		tmp = 0;
  709|      0|		warn |= WARN_RAW;
  ------------------
  |  |   51|      0|#define WARN_RAW  8
  ------------------
  710|      0|	    }
  711|     34|	    pa[i] = (Rbyte) tmp;
  712|     34|	}
  713|     34|	break;
  714|      0|    case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (714:5): [True: 0, False: 34]
  ------------------
  715|      0|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (715:14): [True: 0, False: 0]
  ------------------
  716|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  717|      0|	    tmp = IntegerFromComplex(COMPLEX_ELT(v, i), &warn);
  ------------------
  |  | 1930|      0|# define IntegerFromComplex	Rf_IntegerFromComplex
  ------------------
  718|      0|	    if(tmp == NA_INTEGER || tmp < 0 || tmp > 255) {
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (718:9): [True: 0, False: 0]
  |  Branch (718:30): [True: 0, False: 0]
  |  Branch (718:41): [True: 0, False: 0]
  ------------------
  719|      0|		tmp = 0;
  720|      0|		warn |= WARN_RAW;
  ------------------
  |  |   51|      0|#define WARN_RAW  8
  ------------------
  721|      0|	    }
  722|      0|	    pa[i] = (Rbyte) tmp;
  723|      0|	}
  724|      0|	break;
  725|      0|    case STRSXP:
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (725:5): [True: 0, False: 34]
  ------------------
  726|      0|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (726:14): [True: 0, False: 0]
  ------------------
  727|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  728|      0|	    tmp = IntegerFromString(STRING_ELT(v, i), &warn);
  ------------------
  |  | 1933|      0|# define IntegerFromString	Rf_IntegerFromString
  ------------------
  729|      0|	    if(tmp == NA_INTEGER || tmp < 0 || tmp > 255) {
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (729:9): [True: 0, False: 0]
  |  Branch (729:30): [True: 0, False: 0]
  |  Branch (729:41): [True: 0, False: 0]
  ------------------
  730|      0|		tmp = 0;
  731|      0|		warn |= WARN_RAW;
  ------------------
  |  |   51|      0|#define WARN_RAW  8
  ------------------
  732|      0|	    }
  733|      0|	    pa[i] = (Rbyte) tmp;
  734|      0|	}
  735|      0|	break;
  736|      0|    default:
  ------------------
  |  Branch (736:5): [True: 0, False: 34]
  ------------------
  737|      0|	UNIMPLEMENTED_TYPE("coerceToRaw", v);
  738|     34|    }
  739|     34|    if (warn) CoercionWarning(warn);
  ------------------
  |  | 1875|      0|# define CoercionWarning       	Rf_CoercionWarning
  ------------------
  |  Branch (739:9): [True: 0, False: 34]
  ------------------
  740|     34|    UNPROTECT(1);
  ------------------
  |  |  358|     34|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  741|     34|    return ans;
  742|     34|}
coerce.c:coerceToString:
  745|    422|{
  746|    422|    SEXP ans;
  747|    422|    int savedigits, warn = 0;
  748|    422|    R_xlen_t i, n;
  749|       |
  750|    422|    PROTECT(ans = allocVector(STRSXP, n = XLENGTH(v)));
  ------------------
  |  |  357|    422|#define PROTECT(s)	Rf_protect(s)
  ------------------
  751|       |#ifdef R_MEMORY_PROFILING
  752|       |    if (RTRACE(v)){
  753|       |       memtrace_report(v,ans);
  754|       |       SET_RTRACE(ans,1);
  755|       |    }
  756|       |#endif
  757|    422|    SHALLOW_DUPLICATE_ATTRIB(ans, v);
  ------------------
  |  |   58|    422|#define SHALLOW_DUPLICATE_ATTRIB(to, from) do {\
  |  |   59|    422|  SEXP __from__ = (from); \
  |  |   60|    422|  if (ATTRIB(__from__) != R_NilValue) { \
  |  |  ------------------
  |  |  |  Branch (60:7): [True: 0, False: 422]
  |  |  ------------------
  |  |   61|      0|    SEXP __to__ = (to); \
  |  |   62|      0|    (SHALLOW_DUPLICATE_ATTRIB)(__to__, __from__);	\
  |  |   63|      0|  } \
  |  |   64|    422|} while (0)
  |  |  ------------------
  |  |  |  Branch (64:10): [Folded, False: 422]
  |  |  ------------------
  ------------------
  758|    422|    switch (TYPEOF(v)) {
  759|    422|    case LGLSXP:
  ------------------
  |  |  121|    422|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (759:5): [True: 422, False: 0]
  ------------------
  760|  43.5k|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (760:14): [True: 43.0k, False: 422]
  ------------------
  761|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  762|  43.0k|	    SET_STRING_ELT(ans, i, StringFromLogical(LOGICAL_ELT(v, i)));
  ------------------
  |  | 1996|  43.0k|# define StringFromLogical	Rf_StringFromLogical
  ------------------
  763|  43.0k|	}
  764|    422|	break;
  765|      0|    case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (765:5): [True: 0, False: 422]
  ------------------
  766|      0|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (766:14): [True: 0, False: 0]
  ------------------
  767|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  768|      0|	    SET_STRING_ELT(ans, i, StringFromInteger(INTEGER_ELT(v, i), &warn));
  ------------------
  |  | 1995|      0|# define StringFromInteger	Rf_StringFromInteger
  ------------------
  769|      0|	}
  770|      0|	break;
  771|      0|    case REALSXP:
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (771:5): [True: 0, False: 422]
  ------------------
  772|      0|	PrintDefaults();
  ------------------
  |  | 1975|      0|# define PrintDefaults		Rf_PrintDefaults
  ------------------
  773|      0|	savedigits = R_print.digits; R_print.digits = DBL_DIG;/* MAX precision */
  774|      0|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (774:14): [True: 0, False: 0]
  ------------------
  775|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  776|      0|	    SET_STRING_ELT(ans, i, StringFromReal(REAL_ELT(v, i), &warn));
  ------------------
  |  | 1997|      0|# define StringFromReal		Rf_StringFromReal
  ------------------
  777|      0|	}
  778|      0|	R_print.digits = savedigits;
  779|      0|	break;
  780|      0|    case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (780:5): [True: 0, False: 422]
  ------------------
  781|      0|	PrintDefaults();
  ------------------
  |  | 1975|      0|# define PrintDefaults		Rf_PrintDefaults
  ------------------
  782|      0|	savedigits = R_print.digits; R_print.digits = DBL_DIG;/* MAX precision */
  783|      0|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (783:14): [True: 0, False: 0]
  ------------------
  784|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  785|      0|	    SET_STRING_ELT(ans, i, StringFromComplex(COMPLEX_ELT(v, i), &warn));
  ------------------
  |  | 1994|      0|# define StringFromComplex	Rf_StringFromComplex
  ------------------
  786|      0|	}
  787|      0|	R_print.digits = savedigits;
  788|      0|	break;
  789|      0|    case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (789:5): [True: 0, False: 422]
  ------------------
  790|      0|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (790:14): [True: 0, False: 0]
  ------------------
  791|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  792|      0|	    SET_STRING_ELT(ans, i, StringFromRaw(RAW_ELT(v, i), &warn));
  793|      0|	}
  794|      0|	break;
  795|      0|    default:
  ------------------
  |  Branch (795:5): [True: 0, False: 422]
  ------------------
  796|      0|	UNIMPLEMENTED_TYPE("coerceToString", v);
  797|    422|    }
  798|    422|    if (warn) CoercionWarning(warn);/*2000/10/23*/
  ------------------
  |  | 1875|      0|# define CoercionWarning       	Rf_CoercionWarning
  ------------------
  |  Branch (798:9): [True: 0, False: 422]
  ------------------
  799|    422|    UNPROTECT(1);
  ------------------
  |  |  358|    422|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  800|    422|    return (ans);
  801|    422|}
coerce.c:coerceToVectorList:
  854|     12|{
  855|     12|    SEXP ans, tmp;
  856|     12|    R_xlen_t i, n;
  857|     12|    n = xlength(v);
  ------------------
  |  | 1049|     12|#define xlength(x)		Rf_xlength(x)
  ------------------
  858|     12|    PROTECT(ans = allocVector(VECSXP, n));
  ------------------
  |  |  357|     12|#define PROTECT(s)	Rf_protect(s)
  ------------------
  859|       |#ifdef R_MEMORY_PROFILING
  860|       |    if (RTRACE(v)){
  861|       |       memtrace_report(v,ans);
  862|       |       SET_RTRACE(ans,1);
  863|       |    }
  864|       |#endif
  865|     12|    switch (TYPEOF(v)) {
  866|      0|    case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (866:5): [True: 0, False: 12]
  ------------------
  867|      0|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (867:14): [True: 0, False: 0]
  ------------------
  868|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  869|      0|	    SET_VECTOR_ELT(ans, i, ScalarLogical(LOGICAL_ELT(v, i)));
  ------------------
  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  870|      0|	}
  871|      0|	break;
  872|      0|    case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (872:5): [True: 0, False: 12]
  ------------------
  873|      0|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (873:14): [True: 0, False: 0]
  ------------------
  874|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  875|      0|	    SET_VECTOR_ELT(ans, i, ScalarInteger(INTEGER_ELT(v, i)));
  ------------------
  |  | 1022|      0|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  876|      0|	}
  877|      0|	break;
  878|      0|    case REALSXP:
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (878:5): [True: 0, False: 12]
  ------------------
  879|      0|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (879:14): [True: 0, False: 0]
  ------------------
  880|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  881|      0|	    SET_VECTOR_ELT(ans, i, ScalarReal(REAL_ELT(v, i)));
  ------------------
  |  | 1024|      0|#define ScalarReal		Rf_ScalarReal
  ------------------
  882|      0|	}
  883|      0|	break;
  884|      0|    case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (884:5): [True: 0, False: 12]
  ------------------
  885|      0|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (885:14): [True: 0, False: 0]
  ------------------
  886|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  887|      0|	    SET_VECTOR_ELT(ans, i, ScalarComplex(COMPLEX_ELT(v, i)));
  ------------------
  |  | 1021|      0|#define ScalarComplex		Rf_ScalarComplex
  ------------------
  888|      0|	}
  889|      0|	break;
  890|     12|    case STRSXP:
  ------------------
  |  |  126|     12|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (890:5): [True: 12, False: 0]
  ------------------
  891|  2.61k|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (891:14): [True: 2.59k, False: 12]
  ------------------
  892|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  893|  2.59k|	    SET_VECTOR_ELT(ans, i, ScalarString(STRING_ELT(v, i)));
  ------------------
  |  | 1025|  2.59k|#define ScalarString		Rf_ScalarString
  ------------------
  894|  2.59k|	}
  895|     12|	break;
  896|      0|    case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (896:5): [True: 0, False: 12]
  ------------------
  897|      0|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (897:14): [True: 0, False: 0]
  ------------------
  898|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  899|      0|	    SET_VECTOR_ELT(ans, i, ScalarRaw(RAW_ELT(v, i)));
  ------------------
  |  | 1026|      0|#define ScalarRaw		Rf_ScalarRaw
  ------------------
  900|      0|	}
  901|      0|	break;
  902|      0|    case LISTSXP:
  ------------------
  |  |  113|      0|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (902:5): [True: 0, False: 12]
  ------------------
  903|      0|    case LANGSXP:
  ------------------
  |  |  117|      0|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (903:5): [True: 0, False: 12]
  ------------------
  904|      0|	tmp = v;
  905|      0|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (905:14): [True: 0, False: 0]
  ------------------
  906|      0|	    SET_VECTOR_ELT(ans, i, CAR(tmp));
  907|      0|	    tmp = CDR(tmp);
  908|      0|	}
  909|      0|	break;
  910|      0|    default:
  ------------------
  |  Branch (910:5): [True: 0, False: 12]
  ------------------
  911|      0|	UNIMPLEMENTED_TYPE("coerceToVectorList", v);
  912|     12|    }
  913|     12|    tmp = getAttrib(v, R_NamesSymbol);
  ------------------
  |  |  924|     12|#define getAttrib		Rf_getAttrib
  ------------------
  914|     12|    if (tmp != R_NilValue)
  ------------------
  |  Branch (914:9): [True: 12, False: 0]
  ------------------
  915|     12|	setAttrib(ans, R_NamesSymbol, tmp);
  ------------------
  |  | 1027|     12|#define setAttrib		Rf_setAttrib
  ------------------
  916|     12|    UNPROTECT(1);
  ------------------
  |  |  358|     12|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  917|     12|    return (ans);
  918|     12|}
coerce.c:ascommon:
 1373|  11.2k|{
 1374|       |    /* -> as.vector(..) or as.XXX(.) : coerce 'u' to 'type' : */
 1375|       |    /* code assumes u is protected */
 1376|       |
 1377|  11.2k|    if (type == CLOSXP) {
  ------------------
  |  |  114|  11.2k|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (1377:9): [True: 0, False: 11.2k]
  ------------------
 1378|      0|	return asFunction(u);
 1379|      0|    }
 1380|  11.2k|    else if (isVector(u) || isList(u) || isLanguage(u)
  ------------------
  |  |  974|  11.2k|#define isVector		Rf_isVector
  ------------------
                  else if (isVector(u) || isList(u) || isLanguage(u)
  ------------------
  |  |  951|  6.52k|#define isList			Rf_isList
  ------------------
                  else if (isVector(u) || isList(u) || isLanguage(u)
  ------------------
  |  |  950|  4.59k|#define isLanguage		Rf_isLanguage
  ------------------
  |  Branch (1380:14): [True: 4.73k, False: 6.52k]
  |  Branch (1380:29): [True: 1.93k, False: 4.59k]
  |  Branch (1380:42): [True: 36, False: 4.55k]
  ------------------
 1381|  6.70k|	     || (isSymbol(u) && type == EXPRSXP)) {
  ------------------
  |  |  953|  4.55k|#define isSymbol		Rf_isSymbol
  ------------------
              	     || (isSymbol(u) && type == EXPRSXP)) {
  ------------------
  |  |  132|  4.55k|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (1381:11): [True: 4.55k, False: 0]
  |  Branch (1381:26): [True: 0, False: 4.55k]
  ------------------
 1382|  6.70k|	SEXP v;
 1383|  6.70k|	if (type != ANYSXP && TYPEOF(u) != type) v = coerceVector(u, type);
  ------------------
  |  |  128|  13.4k|#define ANYSXP	    18	  /* make "any" args work.
  ------------------
              	if (type != ANYSXP && TYPEOF(u) != type) v = coerceVector(u, type);
  ------------------
  |  |  895|  6.70k|#define coerceVector		Rf_coerceVector
  ------------------
  |  Branch (1383:6): [True: 6.70k, False: 0]
  |  Branch (1383:24): [True: 6.70k, False: 0]
  ------------------
 1384|      0|	else v = u;
 1385|       |
 1386|       |	/* drop attributes() and class() in some cases for as.pairlist:
 1387|       |	   But why?  (And who actually coerces to pairlists?)
 1388|       |	 */
 1389|  6.70k|	if ((type == LISTSXP) &&
  ------------------
  |  |  113|  6.70k|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (1389:6): [True: 0, False: 6.70k]
  ------------------
 1390|      0|	    !(TYPEOF(u) == LANGSXP || TYPEOF(u) == LISTSXP ||
  ------------------
  |  |  117|      0|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
              	    !(TYPEOF(u) == LANGSXP || TYPEOF(u) == LISTSXP ||
  ------------------
  |  |  113|      0|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (1390:8): [True: 0, False: 0]
  |  Branch (1390:32): [True: 0, False: 0]
  ------------------
 1391|      0|	      TYPEOF(u) == EXPRSXP || TYPEOF(u) == VECSXP)) {
  ------------------
  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
              	      TYPEOF(u) == EXPRSXP || TYPEOF(u) == VECSXP)) {
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (1391:8): [True: 0, False: 0]
  |  Branch (1391:32): [True: 0, False: 0]
  ------------------
 1392|      0|	    if (MAYBE_REFERENCED(v)) v = shallow_duplicate(v);
  ------------------
  |  |  251|      0|#define MAYBE_REFERENCED(x) (! NO_REFERENCES(x))
  |  |  ------------------
  |  |  |  Branch (251:29): [True: 0, False: 0]
  |  |  ------------------
  ------------------
              	    if (MAYBE_REFERENCED(v)) v = shallow_duplicate(v);
  ------------------
  |  | 1030|      0|#define shallow_duplicate	Rf_shallow_duplicate
  ------------------
 1393|      0|	    CLEAR_ATTRIB(v);
  ------------------
  |  |   66|      0|#define CLEAR_ATTRIB(x) do {\
  |  |   67|      0|  SEXP __x__ = (x); \
  |  |   68|      0|  if (ATTRIB(__x__) != R_NilValue) { \
  |  |  ------------------
  |  |  |  Branch (68:7): [True: 0, False: 0]
  |  |  ------------------
  |  |   69|      0|    SET_ATTRIB(__x__, R_NilValue); \
  |  |   70|      0|    if (OBJECT(__x__)) SET_OBJECT(__x__, 0); \
  |  |  ------------------
  |  |  |  Branch (70:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   71|      0|    if (IS_S4_OBJECT(__x__)) UNSET_S4_OBJECT(__x__); \
  |  |  ------------------
  |  |  |  Branch (71:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   72|      0|  } \
  |  |   73|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (73:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1394|      0|	}
 1395|  6.70k|	return v;
 1396|  6.70k|    }
 1397|  4.55k|    else if (isSymbol(u) && type == STRSXP)
  ------------------
  |  |  953|  4.55k|#define isSymbol		Rf_isSymbol
  ------------------
                  else if (isSymbol(u) && type == STRSXP)
  ------------------
  |  |  126|  4.55k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1397:14): [True: 4.55k, False: 0]
  |  Branch (1397:29): [True: 4.55k, False: 0]
  ------------------
 1398|  4.55k|	return ScalarString(PRINTNAME(u));
  ------------------
  |  | 1025|  4.55k|#define ScalarString		Rf_ScalarString
  ------------------
 1399|      0|    else if (isSymbol(u) && type == SYMSXP)
  ------------------
  |  |  953|      0|#define isSymbol		Rf_isSymbol
  ------------------
                  else if (isSymbol(u) && type == SYMSXP)
  ------------------
  |  |  112|      0|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (1399:14): [True: 0, False: 0]
  |  Branch (1399:29): [True: 0, False: 0]
  ------------------
 1400|      0|	return u;
 1401|      0|    else if (isSymbol(u) && type == VECSXP) {
  ------------------
  |  |  953|      0|#define isSymbol		Rf_isSymbol
  ------------------
                  else if (isSymbol(u) && type == VECSXP) {
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (1401:14): [True: 0, False: 0]
  |  Branch (1401:29): [True: 0, False: 0]
  ------------------
 1402|      0|	SEXP v = allocVector(VECSXP, 1);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              	SEXP v = allocVector(VECSXP, 1);
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
 1403|      0|	SET_VECTOR_ELT(v, 0, u);
 1404|      0|	return v;
 1405|      0|    }
 1406|      0|    else errorcall(call, _(COERCE_ERROR_STRING),
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
                  else errorcall(call, _(COERCE_ERROR_STRING),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1407|      0|		   R_typeToChar(u), type2char(type));
  ------------------
  |  | 1040|      0|#define type2char		Rf_type2char
  ------------------
 1408|      0|    return u;/* -Wall */
 1409|  11.2k|}
coerce.c:copyDimAndNames:
 2243|  2.11M|{
 2244|  2.11M|    if (isVector(x)) {
  ------------------
  |  |  974|  2.11M|#define isVector		Rf_isVector
  ------------------
  |  Branch (2244:9): [True: 2.11M, False: 0]
  ------------------
 2245|       |	/* PROTECT/UNPROTECT are probably not needed here */
 2246|  2.11M|	SEXP dims, names;
 2247|  2.11M|	PROTECT(dims = getAttrib(x, R_DimSymbol));
  ------------------
  |  |  357|  2.11M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2248|  2.11M|	if (dims != R_NilValue)
  ------------------
  |  Branch (2248:6): [True: 0, False: 2.11M]
  ------------------
 2249|      0|	    setAttrib(ans, R_DimSymbol, dims);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
 2250|  2.11M|	UNPROTECT(1);
  ------------------
  |  |  358|  2.11M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2251|  2.11M|	if (isArray(x)) {
  ------------------
  |  |  940|  2.11M|#define isArray			Rf_isArray
  ------------------
  |  Branch (2251:6): [True: 0, False: 2.11M]
  ------------------
 2252|      0|	    PROTECT(names = getAttrib(x, R_DimNamesSymbol));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2253|      0|	    if (names != R_NilValue)
  ------------------
  |  Branch (2253:10): [True: 0, False: 0]
  ------------------
 2254|      0|		setAttrib(ans, R_DimNamesSymbol, names);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
 2255|      0|	    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2256|      0|	}
 2257|  2.11M|	else {
 2258|  2.11M|	    PROTECT(names = getAttrib(x, R_NamesSymbol));
  ------------------
  |  |  357|  2.11M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2259|  2.11M|	    if (names != R_NilValue)
  ------------------
  |  Branch (2259:10): [True: 492, False: 2.11M]
  ------------------
 2260|    492|		setAttrib(ans, R_NamesSymbol, names);
  ------------------
  |  | 1027|    492|#define setAttrib		Rf_setAttrib
  ------------------
 2261|  2.11M|	    UNPROTECT(1);
  ------------------
  |  |  358|  2.11M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2262|  2.11M|	}
 2263|  2.11M|    }
 2264|  2.11M|}
coerce.c:anyNA:
 2377|  9.82k|{
 2378|  9.82k|    SEXP x = CAR(args);
 2379|  9.82k|    SEXPTYPE xT = TYPEOF(x);
 2380|  9.82k|    bool isList =  (bool) (xT == VECSXP || xT == LISTSXP),
  ------------------
  |  |  131|  19.6k|#define VECSXP	    19	  /* generic vectors */
  ------------------
                  bool isList =  (bool) (xT == VECSXP || xT == LISTSXP),
  ------------------
  |  |  113|  9.82k|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (2380:28): [True: 0, False: 9.82k]
  |  Branch (2380:44): [True: 0, False: 9.82k]
  ------------------
 2381|  9.82k|	recursive = false;
 2382|       |
 2383|  9.82k|    if (isList && length(args) > 1) recursive = asRbool(CADR(args), call);
  ------------------
  |  |  951|  19.6k|#define isList			Rf_isList
  |  |  ------------------
  |  |  |  Branch (951:18): [True: 0, False: 9.82k]
  |  |  ------------------
  ------------------
                  if (isList && length(args) > 1) recursive = asRbool(CADR(args), call);
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
                  if (isList && length(args) > 1) recursive = asRbool(CADR(args), call);
  ------------------
  |  | 1866|      0|# define asRbool		Rf_asRbool
  ------------------
  |  Branch (2383:19): [True: 0, False: 0]
  ------------------
 2384|  9.82k|    if (OBJECT(x) || (isList && !recursive)) {
  ------------------
  |  |  951|  19.6k|#define isList			Rf_isList
  |  |  ------------------
  |  |  |  Branch (951:18): [True: 0, False: 9.82k]
  |  |  ------------------
  ------------------
  |  Branch (2384:9): [True: 0, False: 9.82k]
  |  Branch (2384:33): [True: 0, False: 0]
  ------------------
 2385|      0|	SEXP e0 = PROTECT(lang2(install("is.na"), x));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2386|      0|	SEXP e = PROTECT(lang2(install("any"), e0));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2387|      0|	SEXP res = PROTECT(eval(e, env));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2388|      0|	int ans = asLogical(res);
  ------------------
  |  |  886|      0|#define asLogical		Rf_asLogical
  ------------------
 2389|      0|	UNPROTECT(3);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2390|      0|	return ans == 1; // so NA answer is false.
 2391|      0|    }
 2392|       |
 2393|  9.82k|    R_xlen_t i, n = xlength(x);
  ------------------
  |  | 1049|  9.82k|#define xlength(x)		Rf_xlength(x)
  ------------------
 2394|  9.82k|    switch (xT) {
 2395|    966|    case REALSXP:
  ------------------
  |  |  124|    966|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (2395:5): [True: 966, False: 8.85k]
  ------------------
 2396|    966|    {
 2397|    966|	if(REAL_NO_NA(x))
  ------------------
  |  Branch (2397:5): [True: 0, False: 966]
  ------------------
 2398|      0|	    return false;
 2399|    966|	ITERATE_BY_REGION(x, xD, i, nbatch, double, REAL, {
  ------------------
  |  |  251|    966|#define ITERATE_BY_REGION(sx, px, idx, nb, etype, vtype, expr) do {	\
  |  |  252|    966|	ITERATE_BY_REGION_PARTIAL(sx, px, idx, nb, etype, vtype,	\
  |  |  ------------------
  |  |  |  |  220|    966|				  strt, nfull, expr) do {		\
  |  |  |  |  221|    966|	const etype *px = (etype *) DATAPTR_OR_NULL(sx);		\
  |  |  |  |  222|    966|	if (px != NULL) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:6): [True: 966, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  223|    966|	    R_xlen_t idx = strt;					\
  |  |  |  |  224|    966|	    (void) idx; /* variable may be unused in expr */		\
  |  |  |  |  225|    966|	    R_xlen_t nb = nfull;					\
  |  |  |  |  226|    966|	    px += strt;							\
  |  |  |  |  227|    966|	    if (nb > 0) {                                               \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (227:10): [True: 966, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  228|   383k|	        expr							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (228:10): [True: 0, False: 95.6k]
  |  |  |  |  |  Branch (228:10): [True: 95.6k, False: 966]
  |  |  |  |  ------------------
  |  |  |  |  229|    966|	    }                                                           \
  |  |  |  |  230|    966|	}								\
  |  |  |  |  231|    966|	else ITERATE_BY_REGION_PARTIAL0(sx, px, idx, nb, etype, vtype,	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  191|      0|				   strt, nfull, expr) do {		\
  |  |  |  |  |  |  192|      0|	etype __ibr_buf__[GET_REGION_BUFSIZE];				\
  |  |  |  |  |  |  193|      0|	R_xlen_t __ibr_n__ = strt + nfull;				\
  |  |  |  |  |  |  194|      0|	R_xlen_t nb;							\
  |  |  |  |  |  |  195|      0|	for (R_xlen_t idx = strt; idx < __ibr_n__; idx += nb) {		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (195:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  196|      0|	    nb = __ibr_n__  - idx > GET_REGION_BUFSIZE ?		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  181|      0|#define GET_REGION_BUFSIZE 512
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (196:11): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  197|      0|		GET_REGION_BUFSIZE :  __ibr_n__ - idx;			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  181|      0|#define GET_REGION_BUFSIZE 512
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  198|      0|	    etype *px = (etype *) GET_REGION_PTR(sx, idx, nb,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  187|      0|    (ALTREP(x) == 0 ? type(x) + (i) : (type##_GET_REGION(x, i, n, buf), buf))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (187:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  199|      0|	                                         __ibr_buf__, vtype);	\
  |  |  |  |  |  |  200|      0|	    expr							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|      0|	 }							        \
  |  |  |  |  |  |  202|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  232|    966|					strt, nfull, expr);		\
  |  |  |  |  233|    966|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (233:14): [Folded, False: 966]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  253|    966|				  0, XLENGTH(sx), expr);		\
  |  |  254|    966|    } while (0)
  |  |  ------------------
  |  |  |  Branch (254:14): [Folded, False: 966]
  |  |  ------------------
  ------------------
 2400|    966|		for (R_xlen_t k = 0; k < nbatch; k++)
 2401|    966|		    if (ISNAN(xD[k]))
 2402|    966|			return true;
 2403|    966|	    });
 2404|    966|	break;
 2405|    966|    }
 2406|    966|    case INTSXP:
  ------------------
  |  |  123|     66|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (2406:5): [True: 66, False: 9.75k]
  ------------------
 2407|     66|    {
 2408|     66|	if(INTEGER_NO_NA(x))
  ------------------
  |  Branch (2408:5): [True: 0, False: 66]
  ------------------
 2409|      0|	    return false;
 2410|     66|	ITERATE_BY_REGION(x, xI, i, nbatch, int, INTEGER, {
  ------------------
  |  |  251|     66|#define ITERATE_BY_REGION(sx, px, idx, nb, etype, vtype, expr) do {	\
  |  |  252|     66|	ITERATE_BY_REGION_PARTIAL(sx, px, idx, nb, etype, vtype,	\
  |  |  ------------------
  |  |  |  |  220|     66|				  strt, nfull, expr) do {		\
  |  |  |  |  221|     66|	const etype *px = (etype *) DATAPTR_OR_NULL(sx);		\
  |  |  |  |  222|     66|	if (px != NULL) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:6): [True: 66, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  223|     66|	    R_xlen_t idx = strt;					\
  |  |  |  |  224|     66|	    (void) idx; /* variable may be unused in expr */		\
  |  |  |  |  225|     66|	    R_xlen_t nb = nfull;					\
  |  |  |  |  226|     66|	    px += strt;							\
  |  |  |  |  227|     66|	    if (nb > 0) {                                               \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (227:10): [True: 66, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  228|  1.09k|	        expr							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (228:10): [True: 0, False: 258]
  |  |  |  |  |  Branch (228:10): [True: 258, False: 66]
  |  |  |  |  ------------------
  |  |  |  |  229|     66|	    }                                                           \
  |  |  |  |  230|     66|	}								\
  |  |  |  |  231|     66|	else ITERATE_BY_REGION_PARTIAL0(sx, px, idx, nb, etype, vtype,	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  191|      0|				   strt, nfull, expr) do {		\
  |  |  |  |  |  |  192|      0|	etype __ibr_buf__[GET_REGION_BUFSIZE];				\
  |  |  |  |  |  |  193|      0|	R_xlen_t __ibr_n__ = strt + nfull;				\
  |  |  |  |  |  |  194|      0|	R_xlen_t nb;							\
  |  |  |  |  |  |  195|      0|	for (R_xlen_t idx = strt; idx < __ibr_n__; idx += nb) {		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (195:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  196|      0|	    nb = __ibr_n__  - idx > GET_REGION_BUFSIZE ?		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  181|      0|#define GET_REGION_BUFSIZE 512
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (196:11): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  197|      0|		GET_REGION_BUFSIZE :  __ibr_n__ - idx;			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  181|      0|#define GET_REGION_BUFSIZE 512
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  198|      0|	    etype *px = (etype *) GET_REGION_PTR(sx, idx, nb,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  187|      0|    (ALTREP(x) == 0 ? type(x) + (i) : (type##_GET_REGION(x, i, n, buf), buf))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (187:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  199|      0|	                                         __ibr_buf__, vtype);	\
  |  |  |  |  |  |  200|      0|	    expr							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|      0|	 }							        \
  |  |  |  |  |  |  202|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  232|     66|					strt, nfull, expr);		\
  |  |  |  |  233|     66|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (233:14): [Folded, False: 66]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  253|     66|				  0, XLENGTH(sx), expr);		\
  |  |  254|     66|    } while (0)
  |  |  ------------------
  |  |  |  Branch (254:14): [Folded, False: 66]
  |  |  ------------------
  ------------------
 2411|     66|		for (R_xlen_t k = 0; k < nbatch; k++)
 2412|     66|		    if (xI[k] == NA_INTEGER)
 2413|     66|			return true;
 2414|     66|	    });
 2415|     66|	break;
 2416|     66|    }
 2417|  8.62k|    case LGLSXP:
  ------------------
  |  |  121|  8.62k|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (2417:5): [True: 8.62k, False: 1.19k]
  ------------------
 2418|  8.62k|    {
 2419|  17.4k|	for (i = 0; i < n; i++)
  ------------------
  |  Branch (2419:14): [True: 8.85k, False: 8.62k]
  ------------------
 2420|  8.85k|	    if (LOGICAL_ELT(x, i) == NA_LOGICAL) return true;
  ------------------
  |  |   55|  8.85k|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (2420:10): [True: 0, False: 8.85k]
  ------------------
 2421|  8.62k|	break;
 2422|  8.62k|    }
 2423|  8.62k|    case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (2423:5): [True: 0, False: 9.82k]
  ------------------
 2424|      0|    {
 2425|      0|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (2425:14): [True: 0, False: 0]
  ------------------
 2426|      0|	    Rcomplex v = COMPLEX_ELT(x, i);
 2427|      0|	    if (ISNAN(v.r) || ISNAN(v.i)) return true;
  ------------------
  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
              	    if (ISNAN(v.r) || ISNAN(v.i)) return true;
  ------------------
  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2428|      0|	}
 2429|      0|	break;
 2430|      0|    }
 2431|    164|    case STRSXP:
  ------------------
  |  |  126|    164|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (2431:5): [True: 164, False: 9.65k]
  ------------------
 2432|  1.84k|	for (i = 0; i < n; i++)
  ------------------
  |  Branch (2432:14): [True: 1.68k, False: 164]
  ------------------
 2433|  1.68k|	    if (STRING_ELT(x, i) == NA_STRING) return true;
  ------------------
  |  |  433|  1.68k|#define NA_STRING	R_NaString
  ------------------
  |  Branch (2433:10): [True: 0, False: 1.68k]
  ------------------
 2434|    164|	break;
 2435|    164|    case RAWSXP: /* no such thing as a raw NA:  is.na(.) gives false always */
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (2435:5): [True: 0, False: 9.82k]
  ------------------
 2436|      0|	return false;
 2437|      0|    case NILSXP: // is.na() gives a warning..., but we do not.
  ------------------
  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (2437:5): [True: 0, False: 9.82k]
  ------------------
 2438|      0|	return false;
 2439|       |    // The next two cases are only used if recursive = true
 2440|      0|    case LISTSXP:
  ------------------
  |  |  113|      0|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (2440:5): [True: 0, False: 9.82k]
  ------------------
 2441|      0|    {
 2442|      0|	SEXP call2, args2, ans;
 2443|      0|	args2 = PROTECT(shallow_duplicate(args));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2444|      0|	call2 = PROTECT(shallow_duplicate(call));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2445|      0|	for (i = 0; i < n; i++, x = CDR(x)) {
  ------------------
  |  Branch (2445:14): [True: 0, False: 0]
  ------------------
 2446|      0|	    SETCAR(args2, CAR(x)); SETCADR(call2, CAR(x));
 2447|       |	    /* DispatchOrEval internal generic: anyNA */
 2448|      0|	    if ((DispatchOrEval(call2, op, "anyNA", args2, env, &ans, 0, 1)
  ------------------
  |  | 1892|      0|# define DispatchOrEval		Rf_DispatchOrEval
  ------------------
  |  Branch (2448:11): [True: 0, False: 0]
  ------------------
 2449|      0|		 && asLogical(ans)) || anyNA(call2, op, args2, env)) {
  ------------------
  |  |  886|      0|#define asLogical		Rf_asLogical
  ------------------
  |  Branch (2449:7): [True: 0, False: 0]
  |  Branch (2449:26): [True: 0, False: 0]
  ------------------
 2450|      0|		UNPROTECT(2);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2451|      0|		return true;
 2452|      0|	    }
 2453|      0|	}
 2454|      0|	UNPROTECT(2);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2455|      0|	break;
 2456|      0|    }
 2457|      0|    case VECSXP:
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (2457:5): [True: 0, False: 9.82k]
  ------------------
 2458|      0|    {
 2459|      0|	SEXP call2, args2, ans;
 2460|      0|	args2 = PROTECT(shallow_duplicate(args));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2461|      0|	call2 = PROTECT(shallow_duplicate(call));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2462|      0|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (2462:14): [True: 0, False: 0]
  ------------------
 2463|      0|	    SETCAR(args2, VECTOR_ELT(x, i)); SETCADR(call2, VECTOR_ELT(x, i));
 2464|       |	    /* DispatchOrEval internal generic: anyNA */
 2465|      0|	    if ((DispatchOrEval(call2, op, "anyNA", args2, env, &ans, 0, 1)
  ------------------
  |  | 1892|      0|# define DispatchOrEval		Rf_DispatchOrEval
  ------------------
  |  Branch (2465:11): [True: 0, False: 0]
  ------------------
 2466|      0|		 && asLogical(ans)) || anyNA(call2, op, args2, env)) {
  ------------------
  |  |  886|      0|#define asLogical		Rf_asLogical
  ------------------
  |  Branch (2466:7): [True: 0, False: 0]
  |  Branch (2466:26): [True: 0, False: 0]
  ------------------
 2467|      0|		UNPROTECT(2);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2468|      0|		return true;
 2469|      0|	    }
 2470|      0|	}
 2471|      0|	UNPROTECT(2);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2472|      0|	break;
 2473|      0|    }
 2474|       |
 2475|      0|    default:
  ------------------
  |  Branch (2475:5): [True: 0, False: 9.82k]
  ------------------
 2476|      0|	error("anyNA() applied to non-(list or vector) of type '%s'",
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 2477|      0|	      R_typeToChar(x));
 2478|  9.82k|    }
 2479|  9.82k|    return false;
 2480|  9.82k|} // anyNA()
coerce.c:R_set_class:
 3005|    178|{
 3006|    178|    int nProtect = 0;
 3007|       |    // use of zero-length vector used to be documented.
 3008|    178|    if(!length(value)) { // usually NULL
  ------------------
  |  |  987|    178|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (3008:8): [True: 2, False: 176]
  ------------------
 3009|      2|	setAttrib(obj, R_ClassSymbol, value);
  ------------------
  |  | 1027|      2|#define setAttrib		Rf_setAttrib
  ------------------
 3010|      2|	if(IS_S4_OBJECT(obj)) /* NULL class is only valid for S3 objects */
  ------------------
  |  Branch (3010:5): [True: 0, False: 2]
  ------------------
 3011|      0|	  do_unsetS4(obj, value);
 3012|      2|	return obj;
 3013|      2|    }
 3014|    176|    if(TYPEOF(value) != STRSXP) {
  ------------------
  |  |  126|    176|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (3014:8): [True: 0, False: 176]
  ------------------
 3015|      0|	SEXP dup;
 3016|       |	/* assumes value is protected, which it is in R_do_set_class */
 3017|      0|	PROTECT(dup = duplicate(value));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3018|      0|	PROTECT(value = coerceVector(dup, STRSXP));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3019|      0|	nProtect += 2;
 3020|      0|	if(length(value) == 0)
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (3020:5): [True: 0, False: 0]
  ------------------
 3021|      0|	    error(_("invalid replacement object to be a class string"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("invalid replacement object to be a class string"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3022|      0|    }
 3023|       |    // length(value) >= 1
 3024|    176|    const char *valueString = CHAR(asChar(value)); /* ASCII ; the *first* in case of multiple strings */
  ------------------
  |  |  203|    176|#define CHAR(x) R_CHAR(x)
  ------------------
 3025|    176|    if(!strcmp("matrix", valueString)) { // value : just "matrix" or  c("matrix", "<some>" [, ...])
  ------------------
  |  Branch (3025:8): [True: 0, False: 176]
  ------------------
 3026|      0|	if(length(getAttrib(obj, R_DimSymbol)) != 2)
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (3026:5): [True: 0, False: 0]
  ------------------
 3027|      0|	    error(_("invalid to set the class to matrix unless the dimension attribute is of length 2 (was %d)"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("invalid to set the class to matrix unless the dimension attribute is of length 2 (was %d)"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3028|      0|		  length(getAttrib(obj, R_DimSymbol)));
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
 3029|      0|	if(length(value) == 1 ||
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (3029:5): [True: 0, False: 0]
  ------------------
 3030|      0|	   (length(value) == 2 && !strcmp("array", CHAR(STRING_ELT(value, 1)))))
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
              	   (length(value) == 2 && !strcmp("array", CHAR(STRING_ELT(value, 1)))))
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (3030:6): [True: 0, False: 0]
  |  Branch (3030:28): [True: 0, False: 0]
  ------------------
 3031|      0|	{ // "matrix"  or  c("matrix", "array") :
 3032|      0|	    setAttrib(obj, R_ClassSymbol, R_NilValue); // NULL;  and that's not for S4:
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
 3033|      0|	    if(IS_S4_OBJECT(obj))
  ------------------
  |  Branch (3033:9): [True: 0, False: 0]
  ------------------
 3034|      0|		do_unsetS4(obj, value);
 3035|      0|	    goto done_set_class;
 3036|      0|	}
 3037|      0|    }
 3038|       |
 3039|    176|    if(length(value) > 1) { // multiple strings ==> S3
  ------------------
  |  |  987|    176|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (3039:8): [True: 18, False: 158]
  ------------------
 3040|     18|        setAttrib(obj, R_ClassSymbol, value);
  ------------------
  |  | 1027|     18|#define setAttrib		Rf_setAttrib
  ------------------
 3041|     18|	if(IS_S4_OBJECT(obj)) /*  multiple strings only valid for S3 objects */
  ------------------
  |  Branch (3041:5): [True: 0, False: 18]
  ------------------
 3042|      0|	    do_unsetS4(obj, value);
 3043|    158|    } else { // length(value) == 1 -- use valueString
 3044|    158|	int whichType = class2type(valueString);
 3045|    158|	SEXPTYPE valueType = (whichType == -1) ? (SEXPTYPE) -1
  ------------------
  |  Branch (3045:23): [True: 158, False: 0]
  ------------------
 3046|    158|	    : classTable[whichType].sexp;
 3047|       |	// SEXP cur_class = PROTECT(R_data_class(obj, FALSE)); nProtect++;
 3048|       |	/*  assigning type as a class deletes an explicit class attribute. */
 3049|    158|	if(valueType != (SEXPTYPE)-1) {
  ------------------
  |  Branch (3049:5): [True: 0, False: 158]
  ------------------
 3050|      0|	    setAttrib(obj, R_ClassSymbol, R_NilValue);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
 3051|      0|	    if(IS_S4_OBJECT(obj)) /* NULL class is only valid for S3 objects */
  ------------------
  |  Branch (3051:9): [True: 0, False: 0]
  ------------------
 3052|      0|	      do_unsetS4(obj, value);
 3053|      0|	    if(classTable[whichType].canChange) {
  ------------------
  |  Branch (3053:9): [True: 0, False: 0]
  ------------------
 3054|      0|		PROTECT(obj = ascommon(call, obj, valueType));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3055|      0|		nProtect++;
 3056|      0|	    }
 3057|      0|	    else if(valueType != TYPEOF(obj))
  ------------------
  |  Branch (3057:14): [True: 0, False: 0]
  ------------------
 3058|      0|		error(_("\"%s\" can only be set as the class if the object has this type; found \"%s\""),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("\"%s\" can only be set as the class if the object has this type; found \"%s\""),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3059|      0|		      valueString, R_typeToChar(obj));
 3060|       |	    /* else, leave alone */
 3061|      0|	}
 3062|    158|	else if(!strcmp("numeric", valueString)) {
  ------------------
  |  Branch (3062:10): [True: 0, False: 158]
  ------------------
 3063|      0|	    setAttrib(obj, R_ClassSymbol, R_NilValue);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
 3064|      0|	    if(IS_S4_OBJECT(obj)) /* NULL class is only valid for S3 objects */
  ------------------
  |  Branch (3064:9): [True: 0, False: 0]
  ------------------
 3065|      0|	      do_unsetS4(obj, value);
 3066|      0|	    switch(TYPEOF(obj)) {
 3067|      0|	    case INTSXP: case REALSXP: break;
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
              	    case INTSXP: case REALSXP: break;
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (3067:6): [True: 0, False: 0]
  |  Branch (3067:19): [True: 0, False: 0]
  ------------------
 3068|      0|	    default: PROTECT(obj = coerceVector(obj, REALSXP));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  |  Branch (3068:6): [True: 0, False: 0]
  ------------------
 3069|      0|		nProtect++;
 3070|      0|	    }
 3071|      0|	}
 3072|       |	/* the next 2 special cases mirror the special code in
 3073|       |	 * R_data_class */
 3074|    158|	else if(!strcmp("array", valueString)) {
  ------------------
  |  Branch (3074:10): [True: 0, False: 158]
  ------------------
 3075|      0|	    if(length(getAttrib(obj, R_DimSymbol)) <= 0)
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (3075:9): [True: 0, False: 0]
  ------------------
 3076|      0|		error(_("cannot set class to \"array\" unless the dimension attribute has length > 0"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("cannot set class to \"array\" unless the dimension attribute has length > 0"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3077|      0|	    setAttrib(obj, R_ClassSymbol, R_NilValue);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
 3078|      0|	    if(IS_S4_OBJECT(obj)) /* NULL class is only valid for S3 objects */
  ------------------
  |  Branch (3078:9): [True: 0, False: 0]
  ------------------
 3079|      0|	      UNSET_S4_OBJECT(obj);
 3080|      0|	}
 3081|    158|	else { /* set the class but don't do the coercion; that's
 3082|       |		  supposed to be done by an as() method */
 3083|    158|	    setAttrib(obj, R_ClassSymbol, value);
  ------------------
  |  | 1027|    158|#define setAttrib		Rf_setAttrib
  ------------------
 3084|    158|	}
 3085|    158|    }
 3086|       |
 3087|    176|done_set_class:
 3088|    176|    UNPROTECT(nProtect);
  ------------------
  |  |  358|    176|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 3089|    176|    return obj;
 3090|    176|}
coerce.c:class2type:
 2966|    158|{
 2967|       |    /* return the type if the class string is one of the basic types, else -1.
 2968|       |       Note that this is NOT str2type:  only certain types are defined to be basic
 2969|       |       classes; e.g., "language" is a type but many classes correspond to objects of
 2970|       |       this type.
 2971|       |    */
 2972|    158|    int i; char *si;
 2973|  2.21k|    for(i = 0; ; i++) {
 2974|  2.21k|	si = classTable[i].s;
 2975|  2.21k|	if(!si)
  ------------------
  |  Branch (2975:5): [True: 158, False: 2.05k]
  ------------------
 2976|    158|	    return -1;
 2977|  2.05k|	if(!strcmp(s, si))
  ------------------
  |  Branch (2977:5): [True: 0, False: 2.05k]
  ------------------
 2978|      0|	    return i;
 2979|  2.05k|    }
 2980|       |    /* cannot get here return -1; */
 2981|    158|}

Rg_set_col_ptrs:
   41|      2|{
   42|      2|    ptr_RGBpar3 = f1;
   43|      2|    ptr_col2name = f2;
   44|      2|    ptr_R_GE_str2col = f3;
   45|      2|    ptr_savePalette = f4;
   46|      2|}

getConnection:
  210|    194|{
  211|    194|    Rconnection con = NULL;
  212|       |
  213|    194|    if(n < 0 || n >= NCONNECTIONS || n == NA_INTEGER ||
  ------------------
  |  |   56|    388|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (213:8): [True: 0, False: 194]
  |  Branch (213:17): [True: 0, False: 194]
  |  Branch (213:38): [True: 0, False: 194]
  ------------------
  214|    194|       !(con = Connections[n]))
  ------------------
  |  Branch (214:8): [True: 0, False: 194]
  ------------------
  215|      0|	error(_("invalid connection"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid connection"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  216|    194|    return con;
  217|       |
  218|    194|}
Rf_set_iconv:
  395|     88|{
  396|     88|    void *tmp;
  397|       |
  398|       |    /* need to test if this is text, open for reading to writing or both,
  399|       |       and set inconv and/or outconv */
  400|     88|    if(!con->text || !strlen(con->encname) ||
  ------------------
  |  Branch (400:8): [True: 72, False: 16]
  |  Branch (400:22): [True: 0, False: 16]
  ------------------
  401|     88|       strcmp(con->encname, "native.enc") == 0) {
  ------------------
  |  Branch (401:8): [True: 16, False: 0]
  ------------------
  402|     88|	con->UTF8out = FALSE;
  403|     88|	return;
  404|     88|    }
  405|      0|    if(con->canread) {
  ------------------
  |  Branch (405:8): [True: 0, False: 0]
  ------------------
  406|      0|	size_t onb = 50;
  407|      0|	char *ob = con->oconvbuff;
  408|       |	/* UTF8out is set in readLines() and scan()
  409|       |	   Was Windows-only until 2.12.0, but we now require iconv.
  410|       |	 */
  411|      0|	Rboolean useUTF8 = !utf8locale && con->UTF8out;
  ------------------
  |  Branch (411:21): [True: 0, False: 0]
  |  Branch (411:36): [True: 0, False: 0]
  ------------------
  412|      0|	const char *enc =
  413|      0|	    streql(con->encname, "UTF-8-BOM") ? "UTF-8" : con->encname;
  ------------------
  |  | 1498|      0|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  414|      0|	tmp = Riconv_open(useUTF8 ? "UTF-8" : "", enc);
  ------------------
  |  Branch (414:20): [True: 0, False: 0]
  ------------------
  415|      0|	if(tmp != (void *)-1) con->inconv = tmp;
  ------------------
  |  Branch (415:5): [True: 0, False: 0]
  ------------------
  416|      0|	else set_iconv_error(con, con->encname, useUTF8 ? "UTF-8" : "");
  ------------------
  |  Branch (416:42): [True: 0, False: 0]
  ------------------
  417|      0|	con->EOF_signalled = FALSE;
  418|       |	/* initialize state, and prepare any initial bytes */
  419|      0|	Riconv(tmp, NULL, NULL, &ob, &onb);
  420|      0|	con->navail = (short)(50-onb); con->inavail = 0;
  421|       |	/* libiconv can handle BOM marks on Windows Unicode files, but
  422|       |	   glibc's iconv cannot. Aargh ... */
  423|      0|	if(streql(con->encname, "UCS-2LE") ||
  ------------------
  |  | 1498|      0|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  424|      0|	   streql(con->encname, "UTF-16LE")) con->inavail = -2;
  ------------------
  |  | 1498|      0|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  425|       |	/* Discard BOM */
  426|      0|	if(streql(con->encname, "UTF-8-BOM")) con->inavail = -3;
  ------------------
  |  | 1498|      0|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  427|      0|    }
  428|      0|    if(con->canwrite) {
  ------------------
  |  Branch (428:8): [True: 0, False: 0]
  ------------------
  429|      0|	size_t onb = 25;
  430|      0|	char *ob = con->init_out;
  431|      0|	tmp = Riconv_open(con->encname, "");
  432|      0|	if(tmp != (void *)-1) con->outconv = tmp;
  ------------------
  |  Branch (432:5): [True: 0, False: 0]
  ------------------
  433|      0|	else set_iconv_error(con, con->encname, "");
  434|       |	/* initialize state, and prepare any initial bytes */
  435|      0|	Riconv(tmp, NULL, NULL, &ob, &onb);
  436|      0|	ob[25-onb] = '\0';
  437|      0|    }
  438|      0|}
dummy_fgetc:
  547|  15.8k|{
  548|  15.8k|    if(con->inconv) {
  ------------------
  |  Branch (548:8): [True: 0, False: 15.8k]
  ------------------
  549|      0|	while(con->navail <= 0) {
  ------------------
  |  Branch (549:8): [True: 0, False: 0]
  ------------------
  550|      0|	    unsigned int i, inew = 0;
  551|      0|	    char *p, *ob;
  552|      0|	    const char *ib;
  553|      0|	    size_t inb, onb, res;
  554|      0|	    Rboolean checkBOM = FALSE, checkBOM8 = FALSE;
  555|       |
  556|      0|	    if(con->EOF_signalled) return R_EOF;
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
  |  Branch (556:9): [True: 0, False: 0]
  ------------------
  557|      0|	    if (con->inavail < 0) {
  ------------------
  |  Branch (557:10): [True: 0, False: 0]
  ------------------
  558|      0|		switch(con->inavail) {
  ------------------
  |  Branch (558:10): [True: 0, False: 0]
  ------------------
  559|      0|		case -2:
  ------------------
  |  Branch (559:3): [True: 0, False: 0]
  ------------------
  560|      0|		    con->inavail = 0;
  561|      0|		    checkBOM = TRUE;
  562|      0|		    break;
  563|      0|		case -3:
  ------------------
  |  Branch (563:3): [True: 0, False: 0]
  ------------------
  564|      0|		    con->inavail = 0;
  565|      0|		    checkBOM8 = TRUE;
  566|      0|		    break;
  567|      0|		case -21:
  ------------------
  |  Branch (567:3): [True: 0, False: 0]
  ------------------
  568|      0|		    con->inavail = 1;
  569|      0|		    checkBOM = TRUE;
  570|      0|		    break;
  571|      0|		case -31:
  ------------------
  |  Branch (571:3): [True: 0, False: 0]
  ------------------
  572|      0|		    con->inavail = 1;
  573|      0|		    checkBOM8 = TRUE;
  574|      0|		    break;
  575|      0|		case -32:
  ------------------
  |  Branch (575:3): [True: 0, False: 0]
  ------------------
  576|      0|		    con->inavail = 2;
  577|      0|		    checkBOM8 = TRUE;
  578|      0|		    break;
  579|      0|		}
  580|      0|	    }
  581|      0|	    p = con->iconvbuff + con->inavail;
  582|      0|	    for(i = con->inavail; i < 25; i++) {
  ------------------
  |  Branch (582:28): [True: 0, False: 0]
  ------------------
  583|      0|		int c = (con->buff)
  ------------------
  |  Branch (583:11): [True: 0, False: 0]
  ------------------
  584|      0|		    ? buff_fgetc(con)
  585|      0|		    : con->fgetc_internal(con);
  586|      0|		if(c == R_EOF)
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
  |  Branch (586:6): [True: 0, False: 0]
  ------------------
  587|       |		    /* Do not set EOF_signalled, because subsequent reads from
  588|       |		       a non-blocking connections may succeed (PR18555). */
  589|      0|		    break;
  590|      0|		*p++ = (char) c;
  591|      0|		con->inavail++;
  592|      0|		inew++;
  593|      0|		if(!con->buff && (c == '\n' || c == '\r'))
  ------------------
  |  Branch (593:6): [True: 0, False: 0]
  |  Branch (593:21): [True: 0, False: 0]
  |  Branch (593:34): [True: 0, False: 0]
  ------------------
  594|       |		    /* Possibly a line separator: better stop filling in the
  595|       |		       encoding conversion buffer if not buffering the input
  596|       |		       anyway, as not to confuse interactive applications
  597|       |		       (PR17634).
  598|       |		    */
  599|      0|		    break;
  600|      0|	    }
  601|      0|	    if (checkBOM || checkBOM8) {
  ------------------
  |  Branch (601:10): [True: 0, False: 0]
  |  Branch (601:22): [True: 0, False: 0]
  ------------------
  602|       |		/* Handle the case of partial BOMs, e.g. in non-blocking
  603|       |		   connections, when we do not have enough data to tell
  604|       |		   whether there is a BOM or not.  Indicate by negative
  605|       |		   con->inavail which BOM still needs to be checked and
  606|       |		   how many bytes were already checked. */
  607|      0|		if(con->inavail == 0) {
  ------------------
  |  Branch (607:6): [True: 0, False: 0]
  ------------------
  608|      0|		    if (checkBOM)
  ------------------
  |  Branch (608:11): [True: 0, False: 0]
  ------------------
  609|      0|			con->inavail = -2;
  610|      0|		    else if (checkBOM8)
  ------------------
  |  Branch (610:16): [True: 0, False: 0]
  ------------------
  611|      0|			con->inavail = -3;
  612|      0|		    return R_EOF;
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
  613|      0|		}
  614|      0|		if (con->inavail == 1) {
  ------------------
  |  Branch (614:7): [True: 0, False: 0]
  ------------------
  615|      0|		    if (checkBOM && (((int)con->iconvbuff[0] & 0xff) == 255)) {
  ------------------
  |  Branch (615:11): [True: 0, False: 0]
  |  Branch (615:23): [True: 0, False: 0]
  ------------------
  616|      0|			con->inavail = -21;
  617|      0|			return R_EOF;
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
  618|      0|		    }
  619|      0|		    if (checkBOM8 && con->iconvbuff[0] == '\xef') {
  ------------------
  |  Branch (619:11): [True: 0, False: 0]
  |  Branch (619:24): [True: 0, False: 0]
  ------------------
  620|      0|			con->inavail = -31;
  621|      0|			return R_EOF;
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
  622|      0|		    }
  623|      0|		}
  624|      0|		if (con->inavail == 2 && checkBOM8 &&
  ------------------
  |  Branch (624:7): [True: 0, False: 0]
  |  Branch (624:28): [True: 0, False: 0]
  ------------------
  625|      0|		    con->iconvbuff[1] == '\xbb') {
  ------------------
  |  Branch (625:7): [True: 0, False: 0]
  ------------------
  626|       |
  627|      0|		    con->inavail = -32;
  628|      0|		    return R_EOF;
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
  629|      0|		}
  630|      0|	    }
  631|      0|	    if(inew == 0) return R_EOF;
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
  |  Branch (631:9): [True: 0, False: 0]
  ------------------
  632|      0|	    if(checkBOM && con->inavail >= 2 &&
  ------------------
  |  Branch (632:9): [True: 0, False: 0]
  |  Branch (632:21): [True: 0, False: 0]
  ------------------
  633|      0|	       ((int)con->iconvbuff[0] & 0xff) == 255 &&
  ------------------
  |  Branch (633:9): [True: 0, False: 0]
  ------------------
  634|      0|	       ((int)con->iconvbuff[1] & 0xff) == 254) {
  ------------------
  |  Branch (634:9): [True: 0, False: 0]
  ------------------
  635|      0|		con->inavail -= (short) 2;
  636|      0|		memmove(con->iconvbuff, con->iconvbuff+2, con->inavail);
  637|      0|	    }
  638|      0|	    if(checkBOM8 && con->inavail >= 3 &&
  ------------------
  |  Branch (638:9): [True: 0, False: 0]
  |  Branch (638:22): [True: 0, False: 0]
  ------------------
  639|      0|	       !memcmp(con->iconvbuff, "\xef\xbb\xbf", 3)) {
  ------------------
  |  Branch (639:9): [True: 0, False: 0]
  ------------------
  640|      0|		con->inavail -= (short) 3;
  641|      0|		memmove(con->iconvbuff, con->iconvbuff+3, con->inavail);
  642|      0|	    }
  643|      0|	    ib = con->iconvbuff; inb = con->inavail;
  644|      0|	    ob = con->oconvbuff; onb = 50;
  645|      0|	    errno = 0;
  646|      0|	    res = Riconv(con->inconv, &ib, &inb, &ob, &onb);
  647|      0|	    con->inavail = (short) inb;
  648|      0|	    con->next = con->oconvbuff;
  649|      0|	    con->navail = (short)(50 - onb);
  650|      0|	    if(res == (size_t)-1) { /* an error condition */
  ------------------
  |  Branch (650:9): [True: 0, False: 0]
  ------------------
  651|      0|		if(errno == EINVAL || errno == E2BIG) {
  ------------------
  |  Branch (651:6): [True: 0, False: 0]
  |  Branch (651:25): [True: 0, False: 0]
  ------------------
  652|       |		    /* incomplete input char or no space in output buffer */
  653|      0|		    memmove(con->iconvbuff, ib, inb);
  654|      0|		} else {/*  EILSEQ invalid input */
  655|      0|		    Riconv(con->inconv, NULL, NULL, NULL, NULL);
  656|      0|		    warning(_("invalid input found on input connection '%s'"),
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              		    warning(_("invalid input found on input connection '%s'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  657|      0|			    con->description);
  658|      0|		    con->inavail = 0;
  659|       |		    /* Set to prevent reading any more bytes from input,
  660|       |		       possibly those following the invalid bytes currently
  661|       |		       encountered. */
  662|      0|		    con->EOF_signalled = TRUE;
  663|      0|		}
  664|      0|	    }
  665|      0|	}
  666|      0|	con->navail--;
  667|       |	/* the cast prevents sign extension of 0xFF to -1 (R_EOF) */
  668|      0|	return (unsigned char)*con->next++;
  669|  15.8k|    } else if (con->buff)
  ------------------
  |  Branch (669:16): [True: 15.8k, False: 0]
  ------------------
  670|  15.8k|	return buff_fgetc(con);
  671|      0|    else
  672|      0|	return con->fgetc_internal(con);
  673|  15.8k|}
Rf_init_con:
  709|     94|{
  710|     94|    strcpy(new->description, description);
  711|     94|    new->enc = enc;
  712|     94|    strncpy(new->mode, mode, 4); new->mode[4] = '\0';
  713|     94|    new->isopen = new->incomplete = new->blocking = new->isGzcon = FALSE;
  714|     94|    new->canread = new->canwrite = TRUE; /* in principle */
  715|     94|    new->canseek = FALSE;
  716|     94|    new->text = TRUE;
  717|     94|    new->open = &null_open;
  718|     94|    new->close = &null_close;
  719|     94|    new->destroy = &null_destroy;
  720|     94|    new->vfprintf = &null_vfprintf;
  721|     94|    new->fgetc = new->fgetc_internal = &null_fgetc;
  722|     94|    new->seek = &null_seek;
  723|     94|    new->truncate = &null_truncate;
  724|     94|    new->fflush = &null_fflush;
  725|     94|    new->read = &null_read;
  726|     94|    new->write = &null_write;
  727|     94|    new->nPushBack = 0;
  728|     94|    new->save = new->save2 = -1000;
  729|     94|    new->private = NULL;
  730|     94|    new->inconv = new->outconv = NULL;
  731|     94|    new->UTF8out = FALSE;
  732|     94|    new->buff = NULL;
  733|     94|    new->buff_pos = new->buff_stored_len = new->buff_len = 0;
  734|       |    /* increment id, avoid NULL */
  735|     94|    current_id = (void *)((size_t) current_id+1);
  736|     94|    if(!current_id) current_id = (void *) 1;
  ------------------
  |  Branch (736:8): [True: 0, False: 94]
  ------------------
  737|     94|    new->id = current_id;
  738|     94|    new->ex_ptr = NULL;
  739|     94|    new->status = NA_INTEGER;
  ------------------
  |  |   56|     94|#define NA_INTEGER	R_NaInt
  ------------------
  740|     94|}
R_IsDirPath:
  800|     72|{
  801|     72|#ifdef HAVE_SYS_STAT_H
  802|       |# ifdef Win32
  803|       |    /* to support > 2GB files */
  804|       |    struct _stati64 sb;
  805|       |    if (!_stati64(path, &sb) && (sb.st_mode & S_IFDIR))
  806|       |	return TRUE;
  807|       |    /* This is FALSE for D: */
  808|       |# else
  809|     72|    struct stat sb;
  810|     72|    if (!stat(path, &sb) && S_ISDIR(sb.st_mode))
  ------------------
  |  Branch (810:9): [True: 72, False: 0]
  |  Branch (810:29): [True: 0, False: 72]
  ------------------
  811|      0|	return TRUE;
  812|     72|# endif
  813|     72|#endif
  814|     72|    return FALSE;
  815|     72|}
do_gzfile:
 2738|     72|{
 2739|     72|    SEXP sfile, sopen, ans, class, enc;
 2740|     72|    const char *file, *open;
 2741|     72|    int ncon, compress = 9;
 2742|     72|    Rconnection con = NULL;
 2743|     72|    int type = PRIMVAL(op);
  ------------------
  |  | 1347|     72|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
 2744|     72|    int subtype = 0;
 2745|       |
 2746|     72|    checkArity(op, args);
  ------------------
  |  | 1793|     72|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 2747|     72|    sfile = CAR(args);
 2748|     72|    if(!isString(sfile) || LENGTH(sfile) != 1 ||
  ------------------
  |  |  966|     72|#define isString		Rf_isString
  ------------------
  |  Branch (2748:8): [True: 0, False: 72]
  |  Branch (2748:28): [True: 0, False: 72]
  ------------------
 2749|     72|       STRING_ELT(sfile, 0) == NA_STRING)
  ------------------
  |  |  433|     72|#define NA_STRING	R_NaString
  ------------------
  |  Branch (2749:8): [True: 0, False: 72]
  ------------------
 2750|      0|	error(_("invalid '%s' argument"), "description");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "description");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2751|     72|    if(LENGTH(sfile) > 1)
  ------------------
  |  Branch (2751:8): [True: 0, False: 72]
  ------------------
 2752|      0|	warning(_("only first element of 'description' argument used"));
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	warning(_("only first element of 'description' argument used"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2753|     72|    file = translateCharFP(STRING_ELT(sfile, 0));
  ------------------
  |  | 2003|     72|# define translateCharFP	Rf_translateCharFP
  ------------------
 2754|     72|    sopen = CADR(args);
 2755|     72|    if(!isString(sopen) || LENGTH(sopen) != 1)
  ------------------
  |  |  966|     72|#define isString		Rf_isString
  ------------------
  |  Branch (2755:8): [True: 0, False: 72]
  |  Branch (2755:28): [True: 0, False: 72]
  ------------------
 2756|      0|	error(_("invalid '%s' argument"), "open");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "open");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2757|     72|    enc = CADDR(args);
 2758|     72|    if(!isString(enc) || LENGTH(enc) != 1 ||
  ------------------
  |  |  966|     72|#define isString		Rf_isString
  ------------------
  |  Branch (2758:8): [True: 0, False: 72]
  |  Branch (2758:26): [True: 0, False: 72]
  ------------------
 2759|     72|       strlen(CHAR(STRING_ELT(enc, 0))) > 100) /* ASCII */
  ------------------
  |  |  203|     72|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (2759:8): [True: 0, False: 72]
  ------------------
 2760|      0|	error(_("invalid '%s' argument"), "encoding");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "encoding");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2761|     72|    if(type < 2) {
  ------------------
  |  Branch (2761:8): [True: 72, False: 0]
  ------------------
 2762|     72|	compress = asInteger(CADDDR(args));
  ------------------
  |  |  885|     72|#define asInteger		Rf_asInteger
  ------------------
 2763|     72|	if(compress == NA_LOGICAL || compress < 0 || compress > 9)
  ------------------
  |  |   55|    144|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (2763:5): [True: 0, False: 72]
  |  Branch (2763:31): [True: 0, False: 72]
  |  Branch (2763:47): [True: 0, False: 72]
  ------------------
 2764|      0|	    error(_("invalid '%s' argument"), "compress");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("invalid '%s' argument"), "compress");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2765|     72|    }
 2766|     72|    if(type == 2) {
  ------------------
  |  Branch (2766:8): [True: 0, False: 72]
  ------------------
 2767|      0|	compress = asInteger(CADDDR(args));
  ------------------
  |  |  885|      0|#define asInteger		Rf_asInteger
  ------------------
 2768|      0|	if(compress == NA_LOGICAL || abs(compress) > 9)
  ------------------
  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (2768:5): [True: 0, False: 0]
  |  Branch (2768:31): [True: 0, False: 0]
  ------------------
 2769|      0|	    error(_("invalid '%s' argument"), "compress");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("invalid '%s' argument"), "compress");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2770|      0|    }
 2771|     72|    if(type == 3) {
  ------------------
  |  Branch (2771:8): [True: 0, False: 72]
  ------------------
 2772|      0|	compress = asInteger(CADDDR(args));
  ------------------
  |  |  885|      0|#define asInteger		Rf_asInteger
  ------------------
 2773|      0|	if(compress == NA_LOGICAL || abs(compress) > 19)
  ------------------
  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (2773:5): [True: 0, False: 0]
  |  Branch (2773:31): [True: 0, False: 0]
  ------------------
 2774|      0|	    error(_("invalid '%s' argument"), "compress");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("invalid '%s' argument"), "compress");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2775|      0|    }
 2776|     72|    open = CHAR(STRING_ELT(sopen, 0)); /* ASCII */
  ------------------
  |  |  203|     72|#define CHAR(x) R_CHAR(x)
  ------------------
 2777|     72|    if (type == 0 && (!open[0] || open[0] == 'r')) {
  ------------------
  |  Branch (2777:9): [True: 72, False: 0]
  |  Branch (2777:23): [True: 0, False: 72]
  |  Branch (2777:35): [True: 72, False: 0]
  ------------------
 2778|       |	/* check magic no */
 2779|     72|	comp_type ct;
 2780|     72|	ct = comp_type_from_file(R_ExpandFileName(file), FALSE, &subtype);
 2781|     72|	switch(ct) {
  ------------------
  |  Branch (2781:9): [True: 72, False: 0]
  ------------------
 2782|     72|	case COMP_GZ:
  ------------------
  |  Branch (2782:2): [True: 72, False: 0]
  ------------------
 2783|     72|	case COMP_UNKNOWN: type = 0; break;
  ------------------
  |  Branch (2783:2): [True: 0, False: 72]
  ------------------
 2784|      0|	case COMP_BZ: type = 1; break;
  ------------------
  |  Branch (2784:2): [True: 0, False: 72]
  ------------------
 2785|      0|	case COMP_XZ: type = 2; break;
  ------------------
  |  Branch (2785:2): [True: 0, False: 72]
  ------------------
 2786|      0|	case COMP_ZSTD: type = 3; break;
  ------------------
  |  Branch (2786:2): [True: 0, False: 72]
  ------------------
 2787|     72|	}
 2788|     72|    }
 2789|     72|    switch(type) {
  ------------------
  |  Branch (2789:12): [True: 72, False: 0]
  ------------------
 2790|     72|    case 0:
  ------------------
  |  Branch (2790:5): [True: 72, False: 0]
  ------------------
 2791|       |	/* gzfile connection handles also transparent (uncompressed) files */
 2792|     72|	con = newgzfile(file, strlen(open) ? open : "rb", compress);
  ------------------
  |  Branch (2792:24): [True: 72, False: 0]
  ------------------
 2793|     72|	break;
 2794|      0|    case 1:
  ------------------
  |  Branch (2794:5): [True: 0, False: 72]
  ------------------
 2795|      0|	con = newbzfile(file, strlen(open) ? open : "rb", compress);
  ------------------
  |  Branch (2795:24): [True: 0, False: 0]
  ------------------
 2796|      0|	break;
 2797|      0|    case 2:
  ------------------
  |  Branch (2797:5): [True: 0, False: 72]
  ------------------
 2798|      0|	con = newxzfile(file, strlen(open) ? open : "rb", subtype, compress);
  ------------------
  |  Branch (2798:24): [True: 0, False: 0]
  ------------------
 2799|      0|	break;
 2800|      0|    case 3:
  ------------------
  |  Branch (2800:5): [True: 0, False: 72]
  ------------------
 2801|      0|	con = newzstdfile(file, strlen(open) ? open : "rb", compress);
  ------------------
  |  Branch (2801:26): [True: 0, False: 0]
  ------------------
 2802|      0|	break;
 2803|     72|    }
 2804|     72|    ncon = NextConnection();
 2805|     72|    Connections[ncon] = con;
 2806|     72|    con->blocking = TRUE;
 2807|     72|    strncpy(con->encname, CHAR(STRING_ELT(enc, 0)), 100); /* ASCII */
  ------------------
  |  |  203|     72|#define CHAR(x) R_CHAR(x)
  ------------------
 2808|     72|    con->encname[100 - 1] = '\0';
 2809|       |
 2810|       |    /* see the comment in do_url */
 2811|     72|    if (con->encname[0] && !streql(con->encname, "native.enc"))
  ------------------
  |  | 1498|     54|#define streql(s, t)	(!strcmp((s), (t)))
  ------------------
  |  Branch (2811:9): [True: 54, False: 18]
  |  Branch (2811:28): [True: 0, False: 54]
  ------------------
 2812|      0|	con->canseek = 0;
 2813|     72|    con->ex_ptr = PROTECT(R_MakeExternalPtr(con->id, install("connection"), R_NilValue));
  ------------------
  |  |  357|     72|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2814|       |
 2815|       |    /* open it if desired */
 2816|     72|    if(strlen(open))
  ------------------
  |  Branch (2816:8): [True: 72, False: 0]
  ------------------
 2817|     72|	checked_open(ncon);
 2818|       |
 2819|     72|    PROTECT(ans = ScalarInteger(ncon));
  ------------------
  |  |  357|     72|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2820|     72|    PROTECT(class = allocVector(STRSXP, 2));
  ------------------
  |  |  357|     72|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2821|     72|    switch(type) {
  ------------------
  |  Branch (2821:12): [True: 72, False: 0]
  ------------------
 2822|     72|    case 0:
  ------------------
  |  Branch (2822:5): [True: 72, False: 0]
  ------------------
 2823|     72|	SET_STRING_ELT(class, 0, mkChar("gzfile"));
  ------------------
  |  |  998|     72|#define mkChar			Rf_mkChar
  ------------------
 2824|     72|	break;
 2825|      0|    case 1:
  ------------------
  |  Branch (2825:5): [True: 0, False: 72]
  ------------------
 2826|      0|	SET_STRING_ELT(class, 0, mkChar("bzfile"));
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
 2827|      0|	break;
 2828|      0|    case 2:
  ------------------
  |  Branch (2828:5): [True: 0, False: 72]
  ------------------
 2829|      0|	SET_STRING_ELT(class, 0, mkChar("xzfile"));
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
 2830|      0|	break;
 2831|      0|    case 3:
  ------------------
  |  Branch (2831:5): [True: 0, False: 72]
  ------------------
 2832|      0|	SET_STRING_ELT(class, 0, mkChar("zstdfile"));
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
 2833|      0|	break;
 2834|     72|    }
 2835|     72|    SET_STRING_ELT(class, 1, mkChar("connection"));
  ------------------
  |  |  998|     72|#define mkChar			Rf_mkChar
  ------------------
 2836|     72|    classgets(ans, class);
  ------------------
  |  |  894|     72|#define classgets		Rf_classgets
  ------------------
 2837|     72|    setAttrib(ans, R_ConnIdSymbol, con->ex_ptr);
  ------------------
  |  | 1027|     72|#define setAttrib		Rf_setAttrib
  ------------------
 2838|     72|    R_RegisterCFinalizerEx(con->ex_ptr, conFinalizer, FALSE);
 2839|     72|    UNPROTECT(3);
  ------------------
  |  |  358|     72|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2840|       |
 2841|     72|    return ans;
 2842|     72|}
do_isopen:
 4141|      2|{
 4142|      2|    Rconnection con;
 4143|      2|    int rw, res;
 4144|       |
 4145|      2|    checkArity(op, args);
  ------------------
  |  | 1793|      2|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 4146|      2|    con = getConnection(asInteger(CAR(args)));
  ------------------
  |  |  885|      2|#define asInteger		Rf_asInteger
  ------------------
 4147|      2|    rw = asInteger(CADR(args));
  ------------------
  |  |  885|      2|#define asInteger		Rf_asInteger
  ------------------
 4148|      2|    res = con->isopen != FALSE;
 4149|      2|    switch(rw) {
 4150|      2|    case 0: break;
  ------------------
  |  Branch (4150:5): [True: 2, False: 0]
  ------------------
 4151|      0|    case 1: res = res & con->canread; break;
  ------------------
  |  Branch (4151:5): [True: 0, False: 2]
  ------------------
 4152|      0|    case 2: res = res & con->canwrite; break;
  ------------------
  |  Branch (4152:5): [True: 0, False: 2]
  ------------------
 4153|      0|    default: error(_("unknown 'rw' value"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  default: error(_("unknown 'rw' value"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (4153:5): [True: 0, False: 2]
  ------------------
 4154|      2|    }
 4155|      2|    return ScalarLogical(res);
  ------------------
  |  | 1023|      2|#define ScalarLogical		Rf_ScalarLogical
  ------------------
 4156|      2|}
do_close:
 4253|     88|{
 4254|     88|    int i, j;
 4255|       |
 4256|     88|    checkArity(op, args);
  ------------------
  |  | 1793|     88|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 4257|     88|    if(!inherits(CAR(args), "connection"))
  ------------------
  |  |  933|     88|#define inherits		Rf_inherits
  ------------------
  |  Branch (4257:8): [True: 0, False: 88]
  ------------------
 4258|      0|	error(_("'con' is not a connection"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'con' is not a connection"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4259|     88|    i = asInteger(CAR(args));
  ------------------
  |  |  885|     88|#define asInteger		Rf_asInteger
  ------------------
 4260|     88|    if(i < 3) error(_("cannot close standard connections"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  if(i < 3) error(_("cannot close standard connections"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (4260:8): [True: 0, False: 88]
  ------------------
 4261|     88|    for(j = 0; j < R_SinkNumber; j++)
  ------------------
  |  Branch (4261:16): [True: 0, False: 88]
  ------------------
 4262|      0|	if(i == SinkCons[j])
  ------------------
  |  Branch (4262:5): [True: 0, False: 0]
  ------------------
 4263|      0|	    error(_("cannot close 'output' sink connection"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("cannot close 'output' sink connection"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4264|     88|    if(i == R_ErrorCon)
  ------------------
  |  Branch (4264:8): [True: 0, False: 88]
  ------------------
 4265|      0|	error(_("cannot close 'message' sink connection"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("cannot close 'message' sink connection"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4266|     88|    Rconnection con = getConnection(i);
 4267|     88|    int status = con_close1(con);
 4268|     88|    free(Connections[i]);
 4269|     88|    Connections[i] = NULL;
 4270|     88|    return (status != NA_INTEGER) ? ScalarInteger(status) : R_NilValue;
  ------------------
  |  |   56|     88|#define NA_INTEGER	R_NaInt
  ------------------
                  return (status != NA_INTEGER) ? ScalarInteger(status) : R_NilValue;
  ------------------
  |  | 1022|     16|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  |  Branch (4270:12): [True: 16, False: 72]
  ------------------
 4271|     88|}
Rconn_fgetc:
 4332|  17.1k|{
 4333|  17.1k|    char *curLine;
 4334|  17.1k|    int c;
 4335|       |
 4336|  17.1k|    if (con->save2 != -1000) {
  ------------------
  |  Branch (4336:9): [True: 0, False: 17.1k]
  ------------------
 4337|      0|	c = con->save2;
 4338|      0|	con->save2 = -1000;
 4339|      0|	return c;
 4340|      0|    }
 4341|  17.1k|    if(con->nPushBack <= 0) {
  ------------------
  |  Branch (4341:8): [True: 15.8k, False: 1.25k]
  ------------------
 4342|       |	/* map CR or CRLF to LF */
 4343|  15.8k|	if (con->save != -1000) {
  ------------------
  |  Branch (4343:6): [True: 0, False: 15.8k]
  ------------------
 4344|      0|	    c = con->save;
 4345|      0|	    con->save = -1000;
 4346|      0|	    return c;
 4347|      0|	}
 4348|  15.8k|	c = con->fgetc(con);
 4349|  15.8k|	if (c == '\r') {
  ------------------
  |  Branch (4349:6): [True: 0, False: 15.8k]
  ------------------
 4350|      0|	    c = con->fgetc(con);
 4351|      0|	    if (c != '\n') {
  ------------------
  |  Branch (4351:10): [True: 0, False: 0]
  ------------------
 4352|      0|		con->save = (c != '\r') ? c : '\n';
  ------------------
  |  Branch (4352:15): [True: 0, False: 0]
  ------------------
 4353|      0|		return('\n');
 4354|      0|	    }
 4355|      0|	}
 4356|  15.8k|	return c;
 4357|  15.8k|    }
 4358|  1.25k|    curLine = con->PushBack[con->nPushBack-1];
 4359|  1.25k|    c = (unsigned char) curLine[con->posPushBack++];
 4360|  1.25k|    if(con->posPushBack >= strlen(curLine)) {
  ------------------
  |  Branch (4360:8): [True: 20, False: 1.23k]
  ------------------
 4361|       |	/* last character on a line, so pop the line */
 4362|     20|	free(curLine);
 4363|     20|	con->nPushBack--;
 4364|     20|	con->posPushBack = 0;
 4365|     20|	if(con->nPushBack == 0) free(con->PushBack);
  ------------------
  |  Branch (4365:5): [True: 2, False: 18]
  ------------------
 4366|     20|    }
 4367|  1.25k|    return c;
 4368|  17.1k|}
do_readLines:
 4448|      2|{
 4449|      2|    SEXP ans = R_NilValue, ans2;
 4450|      2|    int ok, warn, skipNul, c;
 4451|      2|    size_t nbuf, buf_size = BUF_SIZE;
  ------------------
  |  | 4446|      2|#define BUF_SIZE 1000
  ------------------
 4452|      2|    int oenc = CE_NATIVE;
 4453|      2|    Rconnection con = NULL;
 4454|      2|    Rboolean wasopen;
 4455|      2|    char *buf = NULL;
 4456|      2|    const char *encoding;
 4457|      2|    RCNTXT cntxt;
 4458|      2|    R_xlen_t i, n, nn, nnn, nread;
 4459|       |
 4460|      2|    checkArity(op, args);
  ------------------
  |  | 1793|      2|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 4461|      2|    if(!inherits(CAR(args), "connection"))
  ------------------
  |  |  933|      2|#define inherits		Rf_inherits
  ------------------
  |  Branch (4461:8): [True: 0, False: 2]
  ------------------
 4462|      0|	error(_("'con' is not a connection"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'con' is not a connection"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4463|      2|    con = getConnection(asInteger(CAR(args))); args = CDR(args);
  ------------------
  |  |  885|      2|#define asInteger		Rf_asInteger
  ------------------
 4464|      2|    n = asVecSize(CAR(args)); args = CDR(args);
  ------------------
  |  | 1867|      2|# define asVecSize		Rf_asVecSize
  ------------------
 4465|      2|    if(n == -999)
  ------------------
  |  Branch (4465:8): [True: 0, False: 2]
  ------------------
 4466|      0|	error(_("invalid '%s' argument"), "n");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "n");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4467|      2|    ok = asLogical(CAR(args));  args = CDR(args);
  ------------------
  |  |  886|      2|#define asLogical		Rf_asLogical
  ------------------
 4468|      2|    if(ok == NA_LOGICAL)
  ------------------
  |  |   55|      2|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (4468:8): [True: 0, False: 2]
  ------------------
 4469|      0|	error(_("invalid '%s' argument"), "ok");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "ok");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4470|      2|    warn = asLogical(CAR(args));  args = CDR(args);
  ------------------
  |  |  886|      2|#define asLogical		Rf_asLogical
  ------------------
 4471|      2|    if(warn == NA_LOGICAL)
  ------------------
  |  |   55|      2|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (4471:8): [True: 0, False: 2]
  ------------------
 4472|      0|	error(_("invalid '%s' argument"), "warn");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "warn");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4473|      2|    if(!isString(CAR(args)) || LENGTH(CAR(args)) != 1)
  ------------------
  |  |  966|      2|#define isString		Rf_isString
  ------------------
  |  Branch (4473:8): [True: 0, False: 2]
  |  Branch (4473:32): [True: 0, False: 2]
  ------------------
 4474|      0|	error(_("invalid '%s' value"), "encoding");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' value"), "encoding");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4475|      2|    encoding = CHAR(STRING_ELT(CAR(args), 0));  args = CDR(args); /* ASCII */
  ------------------
  |  |  203|      2|#define CHAR(x) R_CHAR(x)
  ------------------
 4476|      2|    skipNul = asLogical(CAR(args));
  ------------------
  |  |  886|      2|#define asLogical		Rf_asLogical
  ------------------
 4477|      2|    if(skipNul == NA_LOGICAL)
  ------------------
  |  |   55|      2|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (4477:8): [True: 0, False: 2]
  ------------------
 4478|      0|	error(_("invalid '%s' argument"), "skipNul");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "skipNul");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4479|       |
 4480|       |    /* Clean up the current buffer and any connection opened here on error. */
 4481|      2|    readLines_data data = {&buf, NULL};
 4482|      2|    begincontext(&cntxt, CTXT_CCODE, R_NilValue, R_BaseEnv, R_BaseEnv,
  ------------------
  |  | 1869|      2|# define begincontext		Rf_begincontext
  ------------------
 4483|      2|		 R_NilValue, R_NilValue);
 4484|      2|    cntxt.cend = &readLines_cleanup;
 4485|      2|    cntxt.cenddata = &data;
 4486|       |
 4487|      2|    wasopen = con->isopen;
 4488|      2|    if(!wasopen) {
  ------------------
  |  Branch (4488:8): [True: 0, False: 2]
  ------------------
 4489|      0|	char mode[5];
 4490|      0|	con->UTF8out = TRUE;  /* a request */
 4491|      0|	strcpy(mode, con->mode);
 4492|      0|	strcpy(con->mode, "rt");
 4493|      0|	if(!con->open(con)) error(_("cannot open the connection"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	if(!con->open(con)) error(_("cannot open the connection"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (4493:5): [True: 0, False: 0]
  ------------------
 4494|      0|	strcpy(con->mode, mode);
 4495|      0|	data.con = con;
 4496|      0|	if(!con->canread) error(_("cannot read from this connection"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	if(!con->canread) error(_("cannot read from this connection"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (4496:5): [True: 0, False: 0]
  ------------------
 4497|      2|    } else {
 4498|      2|	if(!con->canread) error(_("cannot read from this connection"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	if(!con->canread) error(_("cannot read from this connection"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (4498:5): [True: 0, False: 2]
  ------------------
 4499|       |	/* for a non-blocking connection, more input may
 4500|       |	   have become available, so re-position */
 4501|      2|	if(con->canseek && !con->blocking)
  ------------------
  |  Branch (4501:5): [True: 2, False: 0]
  |  Branch (4501:21): [True: 0, False: 2]
  ------------------
 4502|      0|	    Rconn_seek(con, Rconn_seek(con, -1, 1, 1), 1, 1);
 4503|      2|    }
 4504|      2|    con->incomplete = FALSE;
 4505|      2|    if(con->UTF8out || streql(encoding, "UTF-8")) oenc = CE_UTF8;
  ------------------
  |  | 1498|      2|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (4505:8): [True: 0, False: 2]
  ------------------
 4506|      2|    else if(streql(encoding, "latin1")) oenc = CE_LATIN1;
  ------------------
  |  | 1498|      2|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 4507|      2|    else if(streql(encoding, "bytes")) oenc = CE_BYTES;
  ------------------
  |  | 1498|      2|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 4508|       |
 4509|      2|    buf = (char *) malloc(buf_size);
 4510|      2|    if(!buf)
  ------------------
  |  Branch (4510:8): [True: 0, False: 2]
  ------------------
 4511|      0|	error(_("cannot allocate buffer in readLines"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("cannot allocate buffer in readLines"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4512|      2|    nn = (n < 0) ? 1000 : n; /* initially allocate space for 1000 lines */
  ------------------
  |  Branch (4512:10): [True: 2, False: 0]
  ------------------
 4513|      2|    nnn = (n < 0) ? R_XLEN_T_MAX : n;
  ------------------
  |  |   76|      2|# define R_XLEN_T_MAX 4503599627370496
  ------------------
  |  Branch (4513:11): [True: 2, False: 0]
  ------------------
 4514|      2|    PROTECT(ans = allocVector(STRSXP, nn));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4515|     28|    for(nread = 0; nread < nnn; nread++) {
  ------------------
  |  Branch (4515:20): [True: 28, False: 0]
  ------------------
 4516|     28|	if(nread >= nn) {
  ------------------
  |  Branch (4516:5): [True: 0, False: 28]
  ------------------
 4517|      0|	    double dnn = 2. * (double) nn;
 4518|      0|	    if (dnn > R_XLEN_T_MAX) error("too many items");
  ------------------
  |  |   76|      0|# define R_XLEN_T_MAX 4503599627370496
  ------------------
              	    if (dnn > R_XLEN_T_MAX) error("too many items");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  |  Branch (4518:10): [True: 0, False: 0]
  ------------------
 4519|      0|	    ans2 = allocVector(STRSXP, 2*nn);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              	    ans2 = allocVector(STRSXP, 2*nn);
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
 4520|      0|	    for(i = 0; i < nn; i++)
  ------------------
  |  Branch (4520:17): [True: 0, False: 0]
  ------------------
 4521|      0|		SET_STRING_ELT(ans2, i, STRING_ELT(ans, i));
 4522|      0|	    nn *= 2;
 4523|      0|	    UNPROTECT(1); /* old ans */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4524|      0|	    PROTECT(ans = ans2);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4525|      0|	}
 4526|     28|	nbuf = 0;
 4527|    802|	while((c = Rconn_fgetc(con)) != R_EOF) {
  ------------------
  |  | 1531|    802|#define R_EOF	-1
  ------------------
  |  Branch (4527:8): [True: 800, False: 2]
  ------------------
 4528|    800|	    if(nbuf == buf_size-1) {  /* need space for the terminator */
  ------------------
  |  Branch (4528:9): [True: 0, False: 800]
  ------------------
 4529|      0|		buf_size *= 2;
 4530|      0|		char *tmp = (char *) realloc(buf, buf_size);
 4531|      0|		if(!tmp)
  ------------------
  |  Branch (4531:6): [True: 0, False: 0]
  ------------------
 4532|      0|		    error(_("cannot allocate buffer in readLines"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("cannot allocate buffer in readLines"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4533|      0|		buf = tmp;
 4534|      0|	    }
 4535|    800|	    if(skipNul && c == '\0') continue;
  ------------------
  |  Branch (4535:9): [True: 0, False: 800]
  |  Branch (4535:20): [True: 0, False: 0]
  ------------------
 4536|    800|	    if(c != '\n')
  ------------------
  |  Branch (4536:9): [True: 774, False: 26]
  ------------------
 4537|       |		/* compiler-defined conversion behavior */
 4538|    774|		buf[nbuf++] = (char) c;
 4539|     26|	    else
 4540|     26|		break;
 4541|    800|	}
 4542|     28|	buf[nbuf] = '\0';
 4543|       |	/* Remove UTF-8 BOM */
 4544|     28|	const char *qbuf = buf;
 4545|       |	// avoid valgrind warning if < 3 bytes
 4546|     28|	if (nread == 0 && utf8locale && strlen(buf) >= 3 &&
  ------------------
  |  Branch (4546:6): [True: 2, False: 26]
  |  Branch (4546:20): [True: 0, False: 2]
  |  Branch (4546:34): [True: 0, False: 0]
  ------------------
 4547|      0|	    !memcmp(buf, "\xef\xbb\xbf", 3)) qbuf = buf + 3;
  ------------------
  |  Branch (4547:6): [True: 0, False: 0]
  ------------------
 4548|     28|	SET_STRING_ELT(ans, nread, mkCharCE(qbuf, oenc));
  ------------------
  |  |  999|     28|#define mkCharCE		Rf_mkCharCE
  ------------------
 4549|     28|	if (warn && strlen(buf) < nbuf)
  ------------------
  |  Branch (4549:6): [True: 28, False: 0]
  |  Branch (4549:14): [True: 0, False: 28]
  ------------------
 4550|      0|	    warning(_("line %lld appears to contain an embedded nul"),
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	    warning(_("line %lld appears to contain an embedded nul"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4551|      0|	            (long long)nread + 1);
 4552|     28|	if(c == R_EOF) goto no_more_lines;
  ------------------
  |  | 1531|     28|#define R_EOF	-1
  ------------------
  |  Branch (4552:5): [True: 2, False: 26]
  ------------------
 4553|     28|    }
 4554|      0|    if(!wasopen) {
  ------------------
  |  Branch (4554:8): [True: 0, False: 0]
  ------------------
 4555|      0|	data.con = NULL; /* do not close again if closing raises an error */
 4556|      0|	con->close(con);
 4557|      0|    }
 4558|      0|    endcontext(&cntxt);
  ------------------
  |  | 1900|      0|# define endcontext		Rf_endcontext
  ------------------
 4559|      0|    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4560|      0|    free(buf);
 4561|      0|    return ans;
 4562|      2|no_more_lines:
 4563|      2|    if(!wasopen) {
  ------------------
  |  Branch (4563:8): [True: 0, False: 2]
  ------------------
 4564|      0|	data.con = NULL;
 4565|      0|	con->close(con);
 4566|      0|    }
 4567|      2|    if(nbuf > 0) { /* incomplete last line */
  ------------------
  |  Branch (4567:8): [True: 0, False: 2]
  ------------------
 4568|      0|	if(con->text && !con->blocking &&
  ------------------
  |  Branch (4568:5): [True: 0, False: 0]
  |  Branch (4568:18): [True: 0, False: 0]
  ------------------
 4569|      0|	   (strcmp(con->class, "gzfile") != 0)) {
  ------------------
  |  Branch (4569:5): [True: 0, False: 0]
  ------------------
 4570|       |	    /* push back the rest */
 4571|      0|	    con_pushback(con, 0, buf);
  ------------------
  |  |   71|      0|#define con_pushback	Rf_con_pushback
  ------------------
 4572|      0|	    con->incomplete = TRUE;
 4573|      0|	} else {
 4574|      0|	    nread++;
 4575|      0|	    if(warn)
  ------------------
  |  Branch (4575:9): [True: 0, False: 0]
  ------------------
 4576|      0|		warning(_("incomplete final line found on '%s'"),
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              		warning(_("incomplete final line found on '%s'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4577|      0|			con->description);
 4578|      0|	}
 4579|      0|    }
 4580|      2|    endcontext(&cntxt);
  ------------------
  |  | 1900|      2|# define endcontext		Rf_endcontext
  ------------------
 4581|      2|    free(buf);
 4582|      2|    if(nread < nnn && !ok)
  ------------------
  |  Branch (4582:8): [True: 2, False: 0]
  |  Branch (4582:23): [True: 0, False: 2]
  ------------------
 4583|      0|	error(_("too few lines read in readLines"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("too few lines read in readLines"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4584|      2|    PROTECT(ans2 = allocVector(STRSXP, nread));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4585|     28|    for(i = 0; i < nread; i++)
  ------------------
  |  Branch (4585:16): [True: 26, False: 2]
  ------------------
 4586|     26|	SET_STRING_ELT(ans2, i, STRING_ELT(ans, i));
 4587|      2|    UNPROTECT(2);
  ------------------
  |  |  358|      2|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4588|      2|    return ans2;
 4589|      2|}
do_pushback:
 5650|      2|{
 5651|      2|    int i, n, nexists, newLine, type;
 5652|      2|    Rconnection con = NULL;
 5653|      2|    SEXP stext;
 5654|      2|    const char *p;
 5655|      2|    char **q;
 5656|       |
 5657|      2|    checkArity(op, args);
  ------------------
  |  | 1793|      2|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 5658|       |
 5659|      2|    stext = CAR(args);
 5660|      2|    if(!isString(stext))
  ------------------
  |  |  966|      2|#define isString		Rf_isString
  ------------------
  |  Branch (5660:8): [True: 0, False: 2]
  ------------------
 5661|      0|	error(_("invalid '%s' argument"), "data");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "data");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 5662|      2|    con = getConnection(asInteger(CADR(args)));
  ------------------
  |  |  885|      2|#define asInteger		Rf_asInteger
  ------------------
 5663|      2|    newLine = asLogical(CADDR(args));
  ------------------
  |  |  886|      2|#define asLogical		Rf_asLogical
  ------------------
 5664|      2|    if(newLine == NA_LOGICAL)
  ------------------
  |  |   55|      2|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (5664:8): [True: 0, False: 2]
  ------------------
 5665|      0|	error(_("invalid '%s' argument"), "newLine");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "newLine");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 5666|      2|    type = asInteger(CADDDR(args));
  ------------------
  |  |  885|      2|#define asInteger		Rf_asInteger
  ------------------
 5667|      2|    if(!con->canread && !con->isopen)
  ------------------
  |  Branch (5667:8): [True: 0, False: 2]
  |  Branch (5667:25): [True: 0, False: 0]
  ------------------
 5668|      0|	error(_("can only push back on open readable connections"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("can only push back on open readable connections"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 5669|      2|    if(!con->text)
  ------------------
  |  Branch (5669:8): [True: 0, False: 2]
  ------------------
 5670|      0|	error(_("can only push back on text-mode connections"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("can only push back on text-mode connections"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 5671|      2|    nexists = con->nPushBack;
 5672|      2|    if((n = LENGTH(stext)) > 0) {
  ------------------
  |  Branch (5672:8): [True: 2, False: 0]
  ------------------
 5673|      2|	if(nexists > 0)
  ------------------
  |  Branch (5673:5): [True: 0, False: 2]
  ------------------
 5674|      0|	    q = (char **) realloc(con->PushBack, (n+nexists)*sizeof(char *));
 5675|      2|	else
 5676|      2|	    q = (char **) malloc(n*sizeof(char *));
 5677|      2|	if(!q) error(_("could not allocate space for pushback"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	if(!q) error(_("could not allocate space for pushback"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (5677:5): [True: 0, False: 2]
  ------------------
 5678|      2|	con->PushBack = q;
 5679|      2|	q += nexists;
 5680|     22|	for(i = 0; i < n; i++) {
  ------------------
  |  Branch (5680:13): [True: 20, False: 2]
  ------------------
 5681|     20|	    p = type == 1 ? translateChar(STRING_ELT(stext, n - i - 1))
  ------------------
  |  | 1037|      0|#define translateChar		Rf_translateChar
  ------------------
  |  Branch (5681:10): [True: 0, False: 20]
  ------------------
 5682|     20|			  : ((type == 3) ? translateCharUTF8(STRING_ELT(stext, n - i - 1))
  ------------------
  |  | 1039|      0|#define translateCharUTF8      	Rf_translateCharUTF8
  ------------------
  |  Branch (5682:9): [True: 0, False: 20]
  ------------------
 5683|     20|					 : CHAR(STRING_ELT(stext, n - i - 1)));
  ------------------
  |  |  203|     20|#define CHAR(x) R_CHAR(x)
  ------------------
 5684|     20|	    *q = (char *) malloc(strlen(p) + 1 + newLine);
 5685|     20|	    if(!(*q)) error(_("could not allocate space for pushback"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    if(!(*q)) error(_("could not allocate space for pushback"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (5685:9): [True: 0, False: 20]
  ------------------
 5686|     20|	    strcpy(*q, p);
 5687|     20|	    if(newLine) strcat(*q, "\n");
  ------------------
  |  Branch (5687:9): [True: 20, False: 0]
  ------------------
 5688|     20|	    q++;
 5689|     20|	}
 5690|      2|	con->posPushBack = 0;
 5691|      2|	con->nPushBack += n;
 5692|      2|    }
 5693|      2|    return R_NilValue;
 5694|      2|}
R_SetNconn:
 5847|      2|{
 5848|      2|    if (nconn > 128) NCONNECTIONS = nconn;
  ------------------
  |  Branch (5848:9): [True: 0, False: 2]
  ------------------
 5849|      2|}
Rf_InitConnections:
 5853|      2|{
 5854|      2|    Connections = (Rconnection *) malloc(NCONNECTIONS * sizeof(Rconnection));
 5855|      2|    if (!Connections)
  ------------------
  |  Branch (5855:9): [True: 0, False: 2]
  ------------------
 5856|      0|	R_Suicide("could not allocate space for the connections table");
 5857|      2|    Connections[0] = newterminal("stdin", "r");
 5858|      2|    Connections[0]->fgetc = stdin_fgetc;
 5859|      2|    Connections[1] = newterminal("stdout", "w");
 5860|      2|    Connections[1]->vfprintf = stdout_vfprintf;
 5861|      2|    Connections[1]->fflush = stdout_fflush;
 5862|      2|    Connections[2] = newterminal("stderr", "w");
 5863|      2|    Connections[2]->vfprintf = stderr_vfprintf;
 5864|      2|    Connections[2]->fflush = stderr_fflush;
 5865|    252|    for(int i = 3; i < NCONNECTIONS; i++) Connections[i] = NULL;
  ------------------
  |  Branch (5865:20): [True: 250, False: 2]
  ------------------
 5866|      2|    R_OutputCon = 1;
 5867|      2|    R_SinkNumber = 0;
 5868|      2|    SinkCons[0] = 1; R_ErrorCon = 2;
 5869|      2|}
do_url:
 5961|     16|{
 5962|     16|    SEXP scmd, sopen, ans, class, enc, headers = R_NilValue;
 5963|       |#ifdef Win32
 5964|       |    SEXP headers_flat = R_NilValue;
 5965|       |#endif
 5966|     16|    char *class2 = "url";
 5967|     16|    const char *url, *open;
 5968|     16|    int ncon, block, defmeth,
 5969|     16|	meth = 0, // 0: "internal" | "wininet", 1: "libcurl"
 5970|     16|	winmeth = 0;  // 0: "internal", 1: "wininet" (Windows only)
 5971|     16|    cetype_t ienc = CE_NATIVE;
 5972|     16|    Rconnection con = NULL;
 5973|     16|    Rboolean raw = FALSE;
 5974|       |
 5975|     16|    checkArity(op, args);
  ------------------
  |  | 1793|     16|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 5976|       |    // --------- description
 5977|     16|    scmd = CAR(args);
 5978|     16|    if(!isString(scmd) || LENGTH(scmd) != 1 ||
  ------------------
  |  |  966|     16|#define isString		Rf_isString
  ------------------
  |  Branch (5978:8): [True: 0, False: 16]
  |  Branch (5978:27): [True: 0, False: 16]
  ------------------
 5979|     16|       STRING_ELT(scmd, 0) == NA_STRING)
  ------------------
  |  |  433|     16|#define NA_STRING	R_NaString
  ------------------
  |  Branch (5979:8): [True: 0, False: 16]
  ------------------
 5980|      0|	error(_("invalid '%s' argument"), "description");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "description");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 5981|     16|    if(LENGTH(scmd) > 1)
  ------------------
  |  Branch (5981:8): [True: 0, False: 16]
  ------------------
 5982|      0|	warning(_("only first element of 'description' argument used"));
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	warning(_("only first element of 'description' argument used"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 5983|       |#ifdef Win32
 5984|       |    winmeth = 1;
 5985|       |    if(PRIMVAL(op) == 1 && !IS_ASCII(STRING_ELT(scmd, 0)) ) { // file(<non-ASCII>, *)
 5986|       |	ienc = CE_UTF8;
 5987|       |	url = trCharUTF8(STRING_ELT(scmd, 0));
 5988|       |    } else {
 5989|       |	ienc = getCharCE(STRING_ELT(scmd, 0));
 5990|       |	if(ienc == CE_UTF8)
 5991|       |	    url = CHAR(STRING_ELT(scmd, 0));
 5992|       |	else
 5993|       |	    url = translateCharFP(STRING_ELT(scmd, 0));
 5994|       |    }
 5995|       |#else
 5996|     16|    winmeth = 0;
 5997|     16|    url = translateCharFP(STRING_ELT(scmd, 0));
  ------------------
  |  | 2003|     16|# define translateCharFP	Rf_translateCharFP
  ------------------
 5998|     16|#endif
 5999|       |
 6000|       |    // curl-based url() does not need to know the type. so
 6001|       |    // only set for use by the wininet method.
 6002|       |#ifdef Win32
 6003|       |    UrlScheme type = HTTPsh;	/* -Wall */
 6004|       |#endif
 6005|     16|    Rboolean inet = TRUE;
 6006|     16|    if (strncmp(url, "http://", 7) == 0) {
  ------------------
  |  Branch (6006:9): [True: 0, False: 16]
  ------------------
 6007|       |#ifdef Win32
 6008|       |	type = HTTPsh;
 6009|       |#endif
 6010|     16|    } else if (strncmp(url, "ftp://", 6) == 0) {
  ------------------
  |  Branch (6010:16): [True: 0, False: 16]
  ------------------
 6011|       |#ifdef Win32
 6012|       |	type = FTPsh;
 6013|       |#endif
 6014|     16|    } else if (strncmp(url, "https://", 8) == 0) {
  ------------------
  |  Branch (6014:16): [True: 0, False: 16]
  ------------------
 6015|       |#ifdef Win32
 6016|       |	type = HTTPSsh;
 6017|       | #endif
 6018|       |    // ftps:// is available via most libcurl, only
 6019|     16|    } else if (strncmp(url, "ftps://", 7) == 0) {
  ------------------
  |  Branch (6019:16): [True: 0, False: 16]
  ------------------
 6020|       |#ifdef Win32
 6021|       |	type = FTPSsh;
 6022|       |#endif
 6023|      0|    } else
 6024|     16|	inet = FALSE; // file:// URL or a file path
 6025|       |
 6026|       |    // --------- open
 6027|     16|    sopen = CADR(args);
 6028|     16|    if(!isString(sopen) || LENGTH(sopen) != 1)
  ------------------
  |  |  966|     16|#define isString		Rf_isString
  ------------------
  |  Branch (6028:8): [True: 0, False: 16]
  |  Branch (6028:28): [True: 0, False: 16]
  ------------------
 6029|      0|	error(_("invalid '%s' argument"), "open");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "open");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 6030|     16|    open = CHAR(STRING_ELT(sopen, 0)); /* ASCII */
  ------------------
  |  |  203|     16|#define CHAR(x) R_CHAR(x)
  ------------------
 6031|       |    // --------- blocking
 6032|     16|    block = asLogical(CADDR(args));
  ------------------
  |  |  886|     16|#define asLogical		Rf_asLogical
  ------------------
 6033|     16|    if(block == NA_LOGICAL)
  ------------------
  |  |   55|     16|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (6033:8): [True: 0, False: 16]
  ------------------
 6034|      0|	error(_("invalid '%s' argument"), "blocking");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "blocking");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 6035|       |    // --------- encoding
 6036|     16|    enc = CADDDR(args);
 6037|     16|    if(!isString(enc) || LENGTH(enc) != 1 ||
  ------------------
  |  |  966|     16|#define isString		Rf_isString
  ------------------
  |  Branch (6037:8): [True: 0, False: 16]
  |  Branch (6037:26): [True: 0, False: 16]
  ------------------
 6038|     16|       strlen(CHAR(STRING_ELT(enc, 0))) > 100) /* ASCII */
  ------------------
  |  |  203|     16|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (6038:8): [True: 0, False: 16]
  ------------------
 6039|      0|	error(_("invalid '%s' argument"), "encoding");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "encoding");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 6040|       |
 6041|       |    // --------- method
 6042|     16|    const char *cmeth = CHAR(asChar(CAD4R(args)));
  ------------------
  |  |  203|     16|#define CHAR(x) R_CHAR(x)
  ------------------
 6043|     16|    meth = streql(cmeth, "libcurl"); // 1 if "libcurl", else 0
  ------------------
  |  | 1498|     16|#define streql(s, t)	(!strcmp((s), (t)))
  ------------------
 6044|     16|    defmeth = streql(cmeth, "default");
  ------------------
  |  | 1498|     16|#define streql(s, t)	(!strcmp((s), (t)))
  ------------------
 6045|       |//#ifndef Win32
 6046|     16|    if(defmeth) meth = 1; // default to libcurl
  ------------------
  |  Branch (6046:8): [True: 16, False: 0]
  ------------------
 6047|       |//#endif
 6048|     16|    if (streql(cmeth, "wininet")) {
  ------------------
  |  | 1498|     16|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 16]
  |  |  ------------------
  ------------------
 6049|       |#ifdef Win32
 6050|       |	winmeth = 1;
 6051|       |#else
 6052|      0|	error(_("method = \"wininet\" is only supported on Windows"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("method = \"wininet\" is only supported on Windows"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 6053|      0|#endif
 6054|      0|    }
 6055|       |#ifdef Win32
 6056|       |    else if (streql(cmeth, "internal")) winmeth = 0;
 6057|       |#endif
 6058|       |
 6059|       |    // --------- raw, for file() only
 6060|     16|    if(PRIMVAL(op) == 1) {
  ------------------
  |  | 1347|     16|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (6060:8): [True: 16, False: 0]
  ------------------
 6061|     16|	raw = asRbool(CAD5R(args), call);
  ------------------
  |  | 1866|     16|# define asRbool		Rf_asRbool
  ------------------
 6062|     16|	if(raw == NA_LOGICAL)
  ------------------
  |  |   55|     16|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (6062:5): [True: 0, False: 16]
  ------------------
 6063|      0|	    error(_("invalid '%s' argument"), "raw");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("invalid '%s' argument"), "raw");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 6064|     16|    }
 6065|       |
 6066|       |    // --------- headers, for url() only
 6067|     16|    if(PRIMVAL(op) == 0) {
  ------------------
  |  | 1347|     16|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (6067:8): [True: 0, False: 16]
  ------------------
 6068|      0| 	SEXP lheaders = CAD5R(args);
 6069|      0|	if (!isNull(lheaders)) {
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
  |  Branch (6069:6): [True: 0, False: 0]
  ------------------
 6070|      0|	    headers = VECTOR_ELT(lheaders, 0);
 6071|       |#ifdef Win32
 6072|       |	    headers_flat = VECTOR_ELT(lheaders, 1);
 6073|       |#endif
 6074|      0|	}
 6075|      0|    }
 6076|       |
 6077|     16|    if(!meth) {
  ------------------
  |  Branch (6077:8): [True: 0, False: 16]
  ------------------
 6078|      0|	if (strncmp(url, "ftps://", 7) == 0) {
  ------------------
  |  Branch (6078:6): [True: 0, False: 0]
  ------------------
 6079|      0|#ifdef HAVE_LIBCURL
 6080|      0|	    if (defmeth) meth = 1; else
  ------------------
  |  Branch (6080:10): [True: 0, False: 0]
  ------------------
 6081|      0|#endif
 6082|      0|		error("ftps:// URLs are not supported by this method");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 6083|      0|	}
 6084|       |#ifdef Win32
 6085|       |	if (!winmeth && strncmp(url, "https://", 8) == 0) {
 6086|       |# ifdef HAVE_LIBCURL
 6087|       |	    if (defmeth) meth = 1; else
 6088|       |# endif
 6089|       |		error("https:// URLs are not supported by this method");
 6090|       |	}
 6091|       |#else // Unix
 6092|      0|	if (strncmp(url, "https://", 8) == 0) {
  ------------------
  |  Branch (6092:6): [True: 0, False: 0]
  ------------------
 6093|       |	    // We check the libcurl build does support https as from R 3.3.0
 6094|      0|	    if (defmeth) meth = 1; else
  ------------------
  |  Branch (6094:10): [True: 0, False: 0]
  ------------------
 6095|      0|		error("https:// URLs are not supported by the \"internal\" method");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 6096|      0|	}
 6097|      0|#endif
 6098|      0|    }
 6099|       |
 6100|     16|    ncon = NextConnection();
 6101|     16|    if(strncmp(url, "file://", 7) == 0) {
  ------------------
  |  Branch (6101:8): [True: 0, False: 16]
  ------------------
 6102|      0|	int nh = 7;
 6103|       |#ifdef Win32
 6104|       |	/* on Windows we have file:///d:/path/to
 6105|       |	   whereas on Unix it is file:///path/to */
 6106|       |	if (strlen(url) > 9 && url[7] == '/' && url[9] == ':') nh = 8;
 6107|       |#endif
 6108|      0|	con = newfile(url + nh, ienc, strlen(open) ? open : "r", raw);
  ------------------
  |  Branch (6108:32): [True: 0, False: 0]
  ------------------
 6109|      0|	class2 = "file";
 6110|     16|    } else if (inet) {
  ------------------
  |  Branch (6110:16): [True: 0, False: 16]
  ------------------
 6111|      0|	if(meth) {
  ------------------
  |  Branch (6111:5): [True: 0, False: 0]
  ------------------
 6112|      0|# ifdef HAVE_LIBCURL
 6113|      0|	    con = R_newCurlUrl(url, strlen(open) ? open : "r", headers, 0);
  ------------------
  |  Branch (6113:30): [True: 0, False: 0]
  ------------------
 6114|       |# else
 6115|       |	    error("url(method = \"libcurl\") is not supported on this platform");
 6116|       |# endif
 6117|      0|	} else {
 6118|      0|	    if(!winmeth)
  ------------------
  |  Branch (6118:9): [True: 0, False: 0]
  ------------------
 6119|      0|		error(_("the 'internal' method of url() is defunct for http:// and ftp:// URLs"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("the 'internal' method of url() is defunct for http:// and ftp:// URLs"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 6120|       |#ifdef Win32
 6121|       |	    // so for "wininet' only
 6122|       |	    con = R_newurl(url, strlen(open) ? open : "r", headers_flat, winmeth);
 6123|       |	    ((Rurlconn)con->private)->type = type;
 6124|       |#endif
 6125|      0|	}
 6126|     16|    } else {
 6127|     16|	if(PRIMVAL(op) == 1) { /* call to file() */
  ------------------
  |  | 1347|     16|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (6127:5): [True: 16, False: 0]
  ------------------
 6128|     16|	    if(strlen(url) == 0) {
  ------------------
  |  Branch (6128:9): [True: 0, False: 16]
  ------------------
 6129|      0|		if(!strlen(open)) open ="w+";
  ------------------
  |  Branch (6129:6): [True: 0, False: 0]
  ------------------
 6130|      0|		if(strcmp(open, "w+") != 0 && strcmp(open, "w+b") != 0) {
  ------------------
  |  Branch (6130:6): [True: 0, False: 0]
  |  Branch (6130:33): [True: 0, False: 0]
  ------------------
 6131|      0|		    open ="w+";
 6132|      0|		    warning(_("file(\"\") only supports open = \"w+\" and open = \"w+b\": using the former"));
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              		    warning(_("file(\"\") only supports open = \"w+\" and open = \"w+b\": using the former"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 6133|      0|		}
 6134|      0|	    }
 6135|     16|	    if(strcmp(url, "clipboard") == 0 ||
  ------------------
  |  Branch (6135:9): [True: 0, False: 16]
  ------------------
 6136|       |#ifdef Win32
 6137|       |	       strncmp(url, "clipboard-", 10) == 0
 6138|       |#else
 6139|     16|	       strcmp(url, "X11_primary") == 0
  ------------------
  |  Branch (6139:9): [True: 0, False: 16]
  ------------------
 6140|     16|	       || strcmp(url, "X11_secondary") == 0
  ------------------
  |  Branch (6140:12): [True: 0, False: 16]
  ------------------
 6141|     16|	       || strcmp(url, "X11_clipboard") == 0
  ------------------
  |  Branch (6141:12): [True: 0, False: 16]
  ------------------
 6142|     16|#endif
 6143|     16|		)
 6144|      0|		con = newclp(url, strlen(open) ? open : "r");
  ------------------
  |  Branch (6144:21): [True: 0, False: 0]
  ------------------
 6145|     16|	    else {
 6146|     16|		const char *efn = R_ExpandFileName(url);
 6147|     16|#ifndef Win32
 6148|     16|		if (!raw) {
  ------------------
  |  Branch (6148:7): [True: 16, False: 0]
  ------------------
 6149|     16|		    struct stat sb;
 6150|     16|		    int res = stat(efn, &sb);
 6151|     16|		    if (!res && (sb.st_mode & S_IFIFO)) {
  ------------------
  |  Branch (6151:11): [True: 16, False: 0]
  |  Branch (6151:19): [True: 0, False: 16]
  ------------------
 6152|      0|			raw = TRUE;
 6153|      0|			warning(_("using 'raw = TRUE' because '%s' is a fifo or pipe"),
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              			warning(_("using 'raw = TRUE' because '%s' is a fifo or pipe"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 6154|      0|				url);
 6155|     16|		    } else if (!res && !(sb.st_mode & S_IFREG) &&
  ------------------
  |  Branch (6155:18): [True: 16, False: 0]
  |  Branch (6155:26): [True: 0, False: 16]
  ------------------
 6156|      0|			       strcmp(efn, "/dev/null"))
  ------------------
  |  Branch (6156:11): [True: 0, False: 0]
  ------------------
 6157|       |			/* not setting 'raw' to FALSE because character devices may be
 6158|       |			   seekable; unfortunately there is no reliable way to detect
 6159|       |			   that without changing the device state */
 6160|      0|			warning(_("'raw = FALSE' but '%s' is not a regular file"),
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              			warning(_("'raw = FALSE' but '%s' is not a regular file"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 6161|      0|			        url);
 6162|     16|		}
 6163|     16|#endif
 6164|     16|		if (!raw &&
  ------------------
  |  Branch (6164:7): [True: 16, False: 0]
  ------------------
 6165|     16|		    (!strlen(open) || streql(open, "r") || streql(open, "rt"))) {
  ------------------
  |  | 1498|     32|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 14, False: 2]
  |  |  ------------------
  ------------------
              		    (!strlen(open) || streql(open, "r") || streql(open, "rt"))) {
  ------------------
  |  | 1498|      2|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 2, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (6165:8): [True: 0, False: 16]
  ------------------
 6166|       |		    /* check if this is a compressed file */
 6167|     16|		    int subtype = 0, compress = 0;
 6168|     16|		    comp_type ct = comp_type_from_file(efn, FALSE, &subtype);
 6169|     16|		    switch(ct) {
  ------------------
  |  Branch (6169:14): [True: 16, False: 0]
  ------------------
 6170|     16|		    case COMP_UNKNOWN:
  ------------------
  |  Branch (6170:7): [True: 16, False: 0]
  ------------------
 6171|     16|			con = newfile(url, ienc, strlen(open) ? open : "r", raw);
  ------------------
  |  Branch (6171:29): [True: 16, False: 0]
  ------------------
 6172|     16|			break;
 6173|      0|		    case COMP_GZ:
  ------------------
  |  Branch (6173:7): [True: 0, False: 16]
  ------------------
 6174|      0|			con = newgzfile(url, strlen(open) ? open : "rt", compress);
  ------------------
  |  Branch (6174:25): [True: 0, False: 0]
  ------------------
 6175|      0|			break;
 6176|      0|		    case COMP_BZ:
  ------------------
  |  Branch (6176:7): [True: 0, False: 16]
  ------------------
 6177|      0|			con = newbzfile(url, strlen(open) ? open : "rt", compress);
  ------------------
  |  Branch (6177:25): [True: 0, False: 0]
  ------------------
 6178|      0|			break;
 6179|      0|		    case COMP_XZ:
  ------------------
  |  Branch (6179:7): [True: 0, False: 16]
  ------------------
 6180|      0|			con = newxzfile(url, strlen(open) ? open : "rt", subtype,
  ------------------
  |  Branch (6180:25): [True: 0, False: 0]
  ------------------
 6181|      0|			                compress);
 6182|      0|			break;
 6183|      0|		    case COMP_ZSTD:
  ------------------
  |  Branch (6183:7): [True: 0, False: 16]
  ------------------
 6184|      0|			con = newzstdfile(url, strlen(open) ? open : "rt", compress);
  ------------------
  |  Branch (6184:27): [True: 0, False: 0]
  ------------------
 6185|      0|			break;
 6186|     16|		    }
 6187|     16|		} else
 6188|      0|		    con = newfile(url, ienc, strlen(open) ? open : "r", raw);
  ------------------
  |  Branch (6188:32): [True: 0, False: 0]
  ------------------
 6189|     16|	    }
 6190|     16|	    class2 = "file";
 6191|     16|	} else { // url()
 6192|      0|	    error(_("URL scheme unsupported by this method"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("URL scheme unsupported by this method"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 6193|      0|	}
 6194|     16|    }
 6195|       |
 6196|     16|    Connections[ncon] = con;
 6197|     16|    con->blocking = (Rboolean) block;
 6198|     16|    strncpy(con->encname, CHAR(STRING_ELT(enc, 0)), 100); /* ASCII */
  ------------------
  |  |  203|     16|#define CHAR(x) R_CHAR(x)
  ------------------
 6199|     16|    con->encname[100 - 1] = '\0';
 6200|       |
 6201|       |    /* only text-mode connections are affected, but we can't tell that
 6202|       |       until the connection is opened, and why set an encoding on a
 6203|       |       connection intended to be used in binary mode? */
 6204|     16|    if (con->encname[0] && !streql(con->encname, "native.enc"))
  ------------------
  |  | 1498|     16|#define streql(s, t)	(!strcmp((s), (t)))
  ------------------
  |  Branch (6204:9): [True: 16, False: 0]
  |  Branch (6204:28): [True: 0, False: 16]
  ------------------
 6205|      0|	con->canseek = 0;
 6206|       |    /* This is referenced in do_getconnection, so set up before
 6207|       |       any warning */
 6208|     16|    con->ex_ptr = PROTECT(R_MakeExternalPtr(con->id, install("connection"),
  ------------------
  |  |  357|     16|#define PROTECT(s)	Rf_protect(s)
  ------------------
 6209|     16|					    R_NilValue));
 6210|       |
 6211|       |    /* open it if desired */
 6212|     16|    if(strlen(open))
  ------------------
  |  Branch (6212:8): [True: 16, False: 0]
  ------------------
 6213|     16|	checked_open(ncon);
 6214|       |
 6215|     16|    PROTECT(ans = ScalarInteger(ncon));
  ------------------
  |  |  357|     16|#define PROTECT(s)	Rf_protect(s)
  ------------------
 6216|     16|    PROTECT(class = allocVector(STRSXP, 2));
  ------------------
  |  |  357|     16|#define PROTECT(s)	Rf_protect(s)
  ------------------
 6217|     16|    SET_STRING_ELT(class, 0, mkChar(class2));
  ------------------
  |  |  998|     16|#define mkChar			Rf_mkChar
  ------------------
 6218|     16|    SET_STRING_ELT(class, 1, mkChar("connection"));
  ------------------
  |  |  998|     16|#define mkChar			Rf_mkChar
  ------------------
 6219|     16|    classgets(ans, class);
  ------------------
  |  |  894|     16|#define classgets		Rf_classgets
  ------------------
 6220|     16|    setAttrib(ans, R_ConnIdSymbol, con->ex_ptr);
  ------------------
  |  | 1027|     16|#define setAttrib		Rf_setAttrib
  ------------------
 6221|     16|    R_RegisterCFinalizerEx(con->ex_ptr, conFinalizer, FALSE);
 6222|     16|    UNPROTECT(3);
  ------------------
  |  |  358|     16|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 6223|       |
 6224|     16|    return ans;
 6225|     16|}
R_decompress1:
 6738|  1.53k|{
 6739|  1.53k|    if(TYPEOF(in) != RAWSXP)
  ------------------
  |  |  136|  1.53k|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (6739:8): [True: 0, False: 1.53k]
  ------------------
 6740|      0|	error("R_decompress1 requires a raw vector");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 6741|       |
 6742|  1.53k|    const void *vmax = vmaxget();
 6743|       |
 6744|  1.53k|    static struct libdeflate_decompressor *d = NULL;
 6745|  1.53k|    if(d == NULL) {
  ------------------
  |  Branch (6745:8): [True: 2, False: 1.53k]
  ------------------
 6746|      2|	d = libdeflate_alloc_decompressor();
 6747|      2|	if(d == NULL)
  ------------------
  |  Branch (6747:5): [True: 0, False: 2]
  ------------------
 6748|      0|	    error("allocation error in R_decompress1 with libdeflate");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 6749|      2|    }
 6750|       |
 6751|  1.53k|    unsigned char *p = RAW(in);
 6752|  1.53k|    size_t inlen = LENGTH(in);
 6753|  1.53k|    size_t outlen = uiSwap(*((unsigned int *) p));
 6754|  1.53k|    Bytef *buf = (Bytef *) R_alloc(outlen, sizeof(Bytef));
 6755|  1.53k|    size_t actual_out;
 6756|  1.53k|    enum libdeflate_result res =
 6757|  1.53k|	libdeflate_zlib_decompress(d, p + 4, inlen - 4, buf,
 6758|  1.53k|				   outlen, &actual_out);
 6759|       |
 6760|  1.53k|    if(res != LIBDEFLATE_SUCCESS) {
  ------------------
  |  Branch (6760:8): [True: 0, False: 1.53k]
  ------------------
 6761|      0|	warning("internal error %d in R_decompress1 with libdeflate", res);
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
 6762|      0|	*err = TRUE;
 6763|      0|	return R_NilValue;
 6764|      0|    }
 6765|  1.53k|    SEXP ans = allocVector(RAWSXP, actual_out);
  ------------------
  |  |  875|  1.53k|#define allocVector		Rf_allocVector
  ------------------
                  SEXP ans = allocVector(RAWSXP, actual_out);
  ------------------
  |  |  136|  1.53k|#define RAWSXP      24    /* raw bytes */
  ------------------
 6766|  1.53k|    if (actual_out)
  ------------------
  |  Branch (6766:9): [True: 1.53k, False: 0]
  ------------------
 6767|  1.53k|	memcpy(RAW(ans), buf, actual_out);
 6768|  1.53k|    vmaxset(vmax);
 6769|  1.53k|    return ans;
 6770|  1.53k|}
connections.c:buff_fgetc:
  352|  15.8k|{
  353|  15.8k|    size_t unread_len;
  354|       |
  355|  15.8k|    unread_len = con->buff_stored_len - con->buff_pos;
  356|  15.8k|    if (unread_len == 0) {
  ------------------
  |  Branch (356:9): [True: 32, False: 15.8k]
  ------------------
  357|     32|	size_t filled_len = buff_fill(con);
  358|     32|	if (filled_len == 0)
  ------------------
  |  Branch (358:6): [True: 16, False: 16]
  ------------------
  359|     16|	    return R_EOF;
  ------------------
  |  | 1531|     16|#define R_EOF	-1
  ------------------
  360|     32|    }
  361|       |
  362|  15.8k|    return con->buff[con->buff_pos++];
  363|  15.8k|}
connections.c:buff_fill:
  337|     32|static size_t buff_fill(Rconnection con) {
  338|     32|    size_t free_len, read_len;
  339|       |
  340|     32|    buff_reset(con);
  341|       |
  342|     32|    free_len = con->buff_len - con->buff_stored_len;
  343|     32|    read_len = con->read(con->buff, sizeof(unsigned char), free_len, con);
  344|     32|    if ((int)read_len < 0)
  ------------------
  |  Branch (344:9): [True: 0, False: 32]
  ------------------
  345|      0|	error("error reading from the connection");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  346|     32|    con->buff_stored_len += read_len;
  347|       |
  348|     32|    return read_len;
  349|     32|}
connections.c:buff_reset:
  327|     32|static void buff_reset(Rconnection con) {
  328|     32|    size_t unread_len = con->buff_stored_len - con->buff_pos;
  329|       |
  330|     32|    if (unread_len > 0)
  ------------------
  |  Branch (330:9): [True: 0, False: 32]
  ------------------
  331|      0|	memmove(con->buff, con->buff + con->buff_pos, unread_len);
  332|       |
  333|     32|    con->buff_pos = 0;
  334|     32|    con->buff_stored_len = unread_len;
  335|     32|}
connections.c:null_destroy:
  454|     88|{
  455|     88|    if(con->private) free(con->private);
  ------------------
  |  Branch (455:8): [True: 88, False: 0]
  ------------------
  456|     88|}
connections.c:NextConnection:
  182|     88|{
  183|     88|    int i;
  184|     88|    for(i = 3; i < NCONNECTIONS; i++)
  ------------------
  |  Branch (184:16): [True: 88, False: 0]
  ------------------
  185|     88|	if(!Connections[i]) break;
  ------------------
  |  Branch (185:5): [True: 88, False: 0]
  ------------------
  186|     88|    if(i >= NCONNECTIONS) {
  ------------------
  |  Branch (186:8): [True: 0, False: 88]
  ------------------
  187|      0|	R_gc(); /* Try to reclaim unused ones */
  188|      0|	for(i = 3; i < NCONNECTIONS; i++)
  ------------------
  |  Branch (188:13): [True: 0, False: 0]
  ------------------
  189|      0|	    if(!Connections[i]) break;
  ------------------
  |  Branch (189:9): [True: 0, False: 0]
  ------------------
  190|       |	/* To make this dynamic, realloc Connections and set the new
  191|       |	   members to NULL. */
  192|      0|	if(i >= NCONNECTIONS)
  ------------------
  |  Branch (192:5): [True: 0, False: 0]
  ------------------
  193|      0|	    error(_("all %d connections are in use"), NCONNECTIONS);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("all %d connections are in use"), NCONNECTIONS);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  194|      0|    }
  195|     88|    return i;
  196|     88|}
connections.c:checked_open:
 1555|     88|{
 1556|     88|    Rconnection con = Connections[ncon];
 1557|     88|    RCNTXT cntxt;
 1558|       |
 1559|       |    /* Set up a context which will destroy the connection on error,
 1560|       |       including warning turned into error (PR#18491) */
 1561|     88|    begincontext(&cntxt, CTXT_CCODE, R_NilValue, R_BaseEnv, R_BaseEnv,
  ------------------
  |  | 1869|     88|# define begincontext		Rf_begincontext
  ------------------
 1562|     88|		 R_NilValue, R_NilValue);
 1563|     88|    cntxt.cend = &cend_con_destroy;
 1564|     88|    cntxt.cenddata = &ncon;
 1565|     88|    Rboolean success = con->open(con);
 1566|     88|    endcontext(&cntxt);
  ------------------
  |  | 1900|     88|# define endcontext		Rf_endcontext
  ------------------
 1567|     88|    if(!success) {
  ------------------
  |  Branch (1567:8): [True: 0, False: 88]
  ------------------
 1568|      0|	con_destroy(ncon);
 1569|      0|	error(_("cannot open the connection"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("cannot open the connection"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1570|      0|    }
 1571|     88|}
connections.c:conFinalizer:
  232|     63|{
  233|     63|    int i, ncon = 0;
  234|     63|    void *cptr = R_ExternalPtrAddr(ptr);
  235|       |
  236|     63|    if(!cptr) return;
  ------------------
  |  Branch (236:8): [True: 0, False: 63]
  ------------------
  237|       |
  238|  7.93k|    for(i = 3; i < NCONNECTIONS; i++)
  ------------------
  |  Branch (238:16): [True: 7.87k, False: 63]
  ------------------
  239|  7.87k|	if(Connections[i] && Connections[i]->id == cptr) {
  ------------------
  |  Branch (239:5): [True: 0, False: 7.87k]
  |  Branch (239:23): [True: 0, False: 0]
  ------------------
  240|      0|	    ncon = i;
  241|      0|	    break;
  242|      0|	}
  243|     63|    if(i >= NCONNECTIONS) return;
  ------------------
  |  Branch (243:8): [True: 63, False: 0]
  ------------------
  244|       |
  245|      0|    char buf[R_PATH_MAX + 50]; /* much longer than limit for warning */
  246|      0|    Rboolean warn = FALSE;
  247|      0|    {
  248|      0|	Rconnection this = getConnection(ncon);
  249|      0|	if(this->isopen && strcmp(this->class, "textConnection")) {
  ------------------
  |  Branch (249:5): [True: 0, False: 0]
  |  Branch (249:21): [True: 0, False: 0]
  ------------------
  250|      0|	    warn = TRUE;
  251|      0|	    snprintf(buf, sizeof(buf),
  252|      0|	             _("closing unused connection %d (%s)\n"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  253|      0|	             ncon, this->description);
  254|      0|	}
  255|      0|    }
  256|       |
  257|      0|    con_destroy(ncon);
  258|      0|    R_ClearExternalPtr(ptr); /* not really needed */
  259|       |
  260|      0|    if (warn)
  ------------------
  |  Branch (260:9): [True: 0, False: 0]
  ------------------
  261|      0|	warning("%s", buf); /* may be turned into error */
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
  262|      0|}
connections.c:file_read:
 1093|     32|{
 1094|     32|    Rfileconn this = con->private;
 1095|     32|    FILE *fp = this->fp;
 1096|       |
 1097|     32|    if(this->last_was_write) {
  ------------------
  |  Branch (1097:8): [True: 0, False: 32]
  ------------------
 1098|      0|	this->wpos = f_tell(this->fp);
  ------------------
  |  |  750|      0|# define f_tell ftello
  ------------------
 1099|      0|	this->last_was_write = FALSE;
 1100|      0|	f_seek(this->fp, this->rpos, SEEK_SET);
  ------------------
  |  |  749|      0|# define f_seek fseeko
  ------------------
 1101|      0|    }
 1102|     32|    size_t res = fread(ptr, size, nitems, fp);
 1103|     32|    if (res != nitems && feof(fp))
  ------------------
  |  Branch (1103:9): [True: 32, False: 0]
  |  Branch (1103:26): [True: 32, False: 0]
  ------------------
 1104|       |	/* see comment in file_fgetc_internal */
 1105|     32|	clearerr(fp);
 1106|     32|    return res;
 1107|     32|}
connections.c:comp_type_from_file:
 2723|     88|{
 2724|     88|    FILE *fp = fopen(name, "rb");
 2725|     88|    char buf[10];
 2726|       |
 2727|     88|    if (fp) {
  ------------------
  |  Branch (2727:9): [True: 88, False: 0]
  ------------------
 2728|     88|	size_t res = fread(buf, 1, sizeof(buf), fp);
 2729|     88|	fclose(fp);
 2730|     88|	if(res > 0)
  ------------------
  |  Branch (2730:5): [True: 88, False: 0]
  ------------------
 2731|     88|	    return comp_type_from_memory(buf, res, with_zlib, subtype);
 2732|     88|    }
 2733|      0|    return COMP_UNKNOWN;
 2734|     88|}
connections.c:newgzfile:
 1932|     72|{
 1933|     72|    Rconnection new;
 1934|     72|    new = (Rconnection) malloc(sizeof(struct Rconn));
 1935|     72|    if(!new) error(_("allocation of gzfile connection failed"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  if(!new) error(_("allocation of gzfile connection failed"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (1935:8): [True: 0, False: 72]
  ------------------
 1936|     72|    new->class = (char *) malloc(strlen("gzfile") + 1);
 1937|     72|    if(!new->class) {
  ------------------
  |  Branch (1937:8): [True: 0, False: 72]
  ------------------
 1938|      0|	free(new);
 1939|      0|	error(_("allocation of gzfile connection failed"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("allocation of gzfile connection failed"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1940|      0|	/* for Solaris 12.5 */ new = NULL;
 1941|      0|    }
 1942|     72|    strcpy(new->class, "gzfile");
 1943|     72|    new->description = (char *) malloc(strlen(description) + 1);
 1944|     72|    if(!new->description) {
  ------------------
  |  Branch (1944:8): [True: 0, False: 72]
  ------------------
 1945|      0|	free(new->class); free(new);
 1946|      0|	error(_("allocation of gzfile connection failed"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("allocation of gzfile connection failed"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1947|      0|	/* for Solaris 12.5 */ new = NULL;
 1948|      0|    }
 1949|     72|    init_con(new, description, CE_NATIVE, mode);
  ------------------
  |  |   70|     72|#define init_con	Rf_init_con
  ------------------
 1950|       |
 1951|     72|    new->canseek = TRUE;
 1952|     72|    new->open = &gzfile_open;
 1953|     72|    new->close = &gzfile_close;
 1954|     72|    new->vfprintf = &dummy_vfprintf;
 1955|     72|    new->fgetc_internal = &gzfile_fgetc_internal;
 1956|     72|    new->fgetc = &dummy_fgetc;
 1957|     72|    new->seek = &gzfile_seek;
 1958|     72|    new->fflush = &gzfile_fflush;
 1959|     72|    new->read = &gzfile_read;
 1960|     72|    new->write = &gzfile_write;
 1961|     72|    new->private = (void *) malloc(sizeof(struct gzfileconn));
 1962|     72|    if(!new->private) {
  ------------------
  |  Branch (1962:8): [True: 0, False: 72]
  ------------------
 1963|      0|	free(new->description); free(new->class); free(new);
 1964|      0|	error(_("allocation of gzfile connection failed"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("allocation of gzfile connection failed"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1965|       |	/* for Solaris 12.5 */ new = NULL;
 1966|      0|    }
 1967|     72|    ((Rgzfileconn)new->private)->compress = compress;
 1968|     72|    return new;
 1969|     72|}
connections.c:gzfile_open:
 1834|     72|{
 1835|     72|    gzFile fp;
 1836|     72|    char mode[6];
 1837|     72|    Rgzfileconn gzcon = con->private;
 1838|     72|    const char *name;
 1839|       |
 1840|     72|    strcpy(mode, con->mode);
 1841|       |    /* Must open as binary */
 1842|     72|    if(strchr(con->mode, 'w')) snprintf(mode, 6, "wb%1d", gzcon->compress);
  ------------------
  |  Branch (1842:8): [True: 0, False: 72]
  ------------------
 1843|     72|    else if (con->mode[0] == 'a') snprintf(mode, 6, "ab%1d", gzcon->compress);
  ------------------
  |  Branch (1843:14): [True: 0, False: 72]
  ------------------
 1844|     72|    else strcpy(mode, "rb");
 1845|     72|    errno = 0; /* precaution */
 1846|     72|    name = R_ExpandFileName(con->description);
 1847|       |    /* We cannot use isDir, because we cannot get the fd from gzFile
 1848|       |       (it would be possible with gzdopen, if supported) */
 1849|     72|    if (R_IsDirPath(name)) {
  ------------------
  |  Branch (1849:9): [True: 0, False: 72]
  ------------------
 1850|      0|	warning(_("cannot open file '%s': it is a directory"), name);
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	warning(_("cannot open file '%s': it is a directory"), name);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1851|      0|	return FALSE;
 1852|      0|    }
 1853|     72|    fp = R_gzopen(name, mode);
 1854|     72|    if(!fp) {
  ------------------
  |  Branch (1854:8): [True: 0, False: 72]
  ------------------
 1855|      0|	warning(_("cannot open compressed file '%s', probable reason '%s'"),
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	warning(_("cannot open compressed file '%s', probable reason '%s'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1856|      0|	        name, strerror(errno));
 1857|      0|	return FALSE;
 1858|      0|    }
 1859|     72|    ((Rgzfileconn)(con->private))->fp = fp;
 1860|     72|    con->isopen = TRUE;
 1861|     72|    con->canwrite = (con->mode[0] == 'w' || con->mode[0] == 'a');
  ------------------
  |  Branch (1861:22): [True: 0, False: 72]
  |  Branch (1861:45): [True: 0, False: 72]
  ------------------
 1862|     72|    con->canread = !con->canwrite;
 1863|     72|    con->text = strchr(con->mode, 'b') ? FALSE : TRUE;
  ------------------
  |  Branch (1863:17): [True: 72, False: 0]
  ------------------
 1864|     72|    set_buffer(con);
 1865|     72|    set_iconv(con);
  ------------------
  |  |   97|     72|#define set_iconv Rf_set_iconv
  ------------------
 1866|     72|    con->save = -1000;
 1867|     72|    return TRUE;
 1868|     72|}
connections.c:set_buffer:
  388|     88|static void set_buffer(Rconnection con) {
  389|     88|    if (con->canread && con->text) {
  ------------------
  |  Branch (389:9): [True: 88, False: 0]
  |  Branch (389:25): [True: 16, False: 72]
  ------------------
  390|     16|	buff_init(con);
  391|     16|    }
  392|     88|}
connections.c:buff_init:
  322|     16|{
  323|     16|    con->buff_pos = con->buff_stored_len = 0;
  324|     16|    buff_set_len(con, RBUFFCON_LEN_DEFAULT);
  ------------------
  |  |  288|     16|#define RBUFFCON_LEN_DEFAULT 4096
  ------------------
  325|     16|}
connections.c:buff_set_len:
  293|     16|static size_t buff_set_len(Rconnection con, size_t len) {
  294|     16|    size_t unread_len = 0;
  295|     16|    unsigned char *buff;
  296|       |
  297|     16|    if (con->buff_len == len)
  ------------------
  |  Branch (297:9): [True: 0, False: 16]
  ------------------
  298|      0|	return len;
  299|       |
  300|     16|    if (con->buff) {
  ------------------
  |  Branch (300:9): [True: 0, False: 16]
  ------------------
  301|      0|	unread_len = con->buff_stored_len - con->buff_pos;
  302|      0|	len = MAX(len, unread_len);
  ------------------
  |  |  290|      0|# define MAX(a, b) ((a) > (b) ? (a) : (b))
  |  |  ------------------
  |  |  |  Branch (290:21): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  303|      0|    }
  304|       |
  305|     16|    buff = (unsigned char *)malloc(sizeof(unsigned char) * len);
  306|       |
  307|     16|    if (con->buff) {
  ------------------
  |  Branch (307:9): [True: 0, False: 16]
  ------------------
  308|      0|	if (unread_len)
  ------------------
  |  Branch (308:6): [True: 0, False: 0]
  ------------------
  309|      0|	    memcpy(buff, con->buff + con->buff_pos, unread_len);
  310|      0|	free(con->buff);
  311|      0|    }
  312|       |
  313|     16|    con->buff = buff;
  314|     16|    con->buff_len = len;
  315|     16|    con->buff_pos = 0;
  316|     16|    con->buff_stored_len = unread_len;
  317|       |
  318|     16|    return len;
  319|     16|}
connections.c:gzfile_close:
 1871|     72|{
 1872|     72|    R_gzclose(((Rgzfileconn)(con->private))->fp);
 1873|     72|    con->isopen = FALSE;
 1874|     72|}
connections.c:gzfile_read:
 1912|  88.0k|{
 1913|  88.0k|    gzFile fp = ((Rgzfileconn)(con->private))->fp;
 1914|       |    /* uses 'unsigned' for len */
 1915|  88.0k|    if ((double) size * (double) nitems > UINT_MAX)
  ------------------
  |  Branch (1915:9): [True: 0, False: 88.0k]
  ------------------
 1916|      0|	error(_("too large a block specified"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("too large a block specified"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1917|  88.0k|    return R_gzread(fp, ptr, (unsigned int)(size*nitems))/size;
 1918|  88.0k|}
connections.c:isDir:
  788|     16|{
  789|     16|#ifdef HAVE_SYS_STAT_H
  790|     16|    struct stat sb;
  791|     16|    int err = fstat(fileno(fd), &sb);
  792|     16|    return err ? FALSE : S_ISDIR(sb.st_mode);
  ------------------
  |  Branch (792:12): [True: 0, False: 16]
  ------------------
  793|       |#else
  794|       |    return FALSE;
  795|       |#endif
  796|     16|}
connections.c:con_close1:
 4196|     88|{
 4197|     88|    int status;
 4198|     88|    checkClose(con);
 4199|     88|    status = con->status;
 4200|     88|    if(con->isGzcon) {
  ------------------
  |  Branch (4200:8): [True: 0, False: 88]
  ------------------
 4201|      0|	Rgzconn priv = con->private;
 4202|      0|	con_close1(priv->con);
 4203|      0|	R_ReleaseObject(priv->con->ex_ptr);
 4204|      0|	free(priv->con);
 4205|      0|    }
 4206|       |    /* close inconv and outconv if open */
 4207|     88|    if(con->inconv) Riconv_close(con->inconv);
  ------------------
  |  Branch (4207:8): [True: 0, False: 88]
  ------------------
 4208|     88|    if(con->outconv) Riconv_close(con->outconv);
  ------------------
  |  Branch (4208:8): [True: 0, False: 88]
  ------------------
 4209|     88|    con->destroy(con);
 4210|     88|    free(con->class);
 4211|     88|    con->class = NULL;
 4212|     88|    free(con->description);
 4213|     88|    con->description = NULL;
 4214|       |    /* clear the pushBack */
 4215|     88|    if(con->nPushBack > 0) { // already cleared on closed connection,
  ------------------
  |  Branch (4215:8): [True: 0, False: 88]
  ------------------
 4216|       |	                     // so no double-free pace -fanalyzer
 4217|      0|	int j;
 4218|       |
 4219|      0|	for(j = 0; j < con->nPushBack; j++)
  ------------------
  |  Branch (4219:13): [True: 0, False: 0]
  ------------------
 4220|      0|	    free(con->PushBack[j]);
 4221|      0|	free(con->PushBack);
 4222|      0|    }
 4223|     88|    con->nPushBack = 0;
 4224|     88|    if (con->buff) {
  ------------------
  |  Branch (4224:9): [True: 16, False: 72]
  ------------------
 4225|     16|	free(con->buff);
 4226|       |	con->buff = NULL;
 4227|     16|    }
 4228|     88|    con->buff_len = con->buff_pos = con->buff_stored_len = 0;
 4229|     88|    con->open = &null_open;
 4230|     88|    con->close = &null_close;
 4231|     88|    con->destroy = &null_destroy;
 4232|     88|    con->vfprintf = &null_vfprintf;
 4233|     88|    con->fgetc = con->fgetc_internal = &null_fgetc;
 4234|     88|    con->seek = &null_seek;
 4235|     88|    con->truncate = &null_truncate;
 4236|     88|    con->fflush = &null_fflush;
 4237|     88|    con->read = &null_read;
 4238|     88|    con->write = &null_write;
 4239|     88|    return status;
 4240|     88|}
connections.c:checkClose:
 4181|     88|{
 4182|     88|    if (con->isopen) {
  ------------------
  |  Branch (4182:9): [True: 88, False: 0]
  ------------------
 4183|     88|        errno = 0;
 4184|     88|    	con->close(con);
 4185|     88|    	if (con->status != NA_INTEGER && con->status < 0) {
  ------------------
  |  |   56|    176|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (4185:10): [True: 16, False: 72]
  |  Branch (4185:39): [True: 0, False: 16]
  ------------------
 4186|      0|    	    int serrno = errno;
 4187|      0|            if (serrno)
  ------------------
  |  Branch (4187:17): [True: 0, False: 0]
  ------------------
 4188|      0|		warning(_("Problem closing connection:  %s"), strerror(serrno));
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              		warning(_("Problem closing connection:  %s"), strerror(serrno));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4189|      0|	    else
 4190|      0|		warning(_("Problem closing connection"));
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              		warning(_("Problem closing connection"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4191|      0|   	 }
 4192|     88|    }
 4193|     88|}
connections.c:newterminal:
 3188|      6|{
 3189|      6|    Rconnection new;
 3190|      6|    new = (Rconnection) malloc(sizeof(struct Rconn));
 3191|      6|    if(!new) error(_("allocation of terminal connection failed"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  if(!new) error(_("allocation of terminal connection failed"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (3191:8): [True: 0, False: 6]
  ------------------
 3192|      6|    new->class = (char *) malloc(strlen("terminal") + 1);
 3193|      6|    if(!new->class) {
  ------------------
  |  Branch (3193:8): [True: 0, False: 6]
  ------------------
 3194|      0|	free(new);
 3195|      0|	error(_("allocation of terminal connection failed"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("allocation of terminal connection failed"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3196|      0|	/* for Solaris 12.5 */ new = NULL;
 3197|      0|    }
 3198|      6|    strcpy(new->class, "terminal");
 3199|      6|    new->description = (char *) malloc(strlen(description) + 1);
 3200|      6|    if(!new->description) {
  ------------------
  |  Branch (3200:8): [True: 0, False: 6]
  ------------------
 3201|      0|	free(new->class); free(new);
 3202|      0|	error(_("allocation of terminal connection failed"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("allocation of terminal connection failed"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3203|      0|	/* for Solaris 12.5 */ new = NULL;
 3204|      0|    }
 3205|      6|    init_con(new, description, CE_NATIVE, mode);
  ------------------
  |  |   70|      6|#define init_con	Rf_init_con
  ------------------
 3206|      6|    new->isopen = TRUE;
 3207|      6|    new->canread = (strcmp(mode, "r") == 0);
 3208|      6|    new->canwrite = (strcmp(mode, "w") == 0);
 3209|      6|    new->destroy = &null_close;
 3210|       |    new->private = NULL;
 3211|      6|    return new;
 3212|      6|}
connections.c:newfile:
 1125|     16|{
 1126|     16|    Rconnection new;
 1127|     16|    new = (Rconnection) malloc(sizeof(struct Rconn));
 1128|     16|    if(!new) error(_("allocation of file connection failed"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  if(!new) error(_("allocation of file connection failed"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (1128:8): [True: 0, False: 16]
  ------------------
 1129|     16|    new->class = (char *) malloc(strlen("file") + 1);
 1130|     16|    if(!new->class) {
  ------------------
  |  Branch (1130:8): [True: 0, False: 16]
  ------------------
 1131|      0|	free(new);
 1132|      0|	error(_("allocation of file connection failed"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("allocation of file connection failed"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1133|      0|	/* for Solaris 12.5 */ new = NULL;
 1134|      0|    }
 1135|     16|    strcpy(new->class, "file");
 1136|     16|    new->description = (char *) malloc(strlen(description) + 1);
 1137|     16|    if(!new->description) {
  ------------------
  |  Branch (1137:8): [True: 0, False: 16]
  ------------------
 1138|      0|	free(new->class); free(new);
 1139|      0|	error(_("allocation of file connection failed"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("allocation of file connection failed"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1140|      0|	/* for Solaris 12.5 */ new = NULL;
 1141|      0|    }
 1142|     16|    init_con(new, description, enc, mode);
  ------------------
  |  |   70|     16|#define init_con	Rf_init_con
  ------------------
 1143|     16|    new->open = &file_open;
 1144|     16|    new->close = &file_close;
 1145|     16|    new->vfprintf = &file_vfprintf;
 1146|     16|    new->fgetc_internal = &file_fgetc_internal;
 1147|     16|    new->fgetc = &dummy_fgetc;
 1148|     16|    new->seek = &file_seek;
 1149|     16|    new->truncate = &file_truncate;
 1150|     16|    new->fflush = &file_fflush;
 1151|     16|    new->read = &file_read;
 1152|     16|    new->write = &file_write;
 1153|     16|    new->canseek = (raw == 0);
 1154|     16|    new->private = (void *) malloc(sizeof(struct fileconn));
 1155|     16|    if(!new->private) {
  ------------------
  |  Branch (1155:8): [True: 0, False: 16]
  ------------------
 1156|      0|	free(new->description); free(new->class); free(new);
 1157|      0|	error(_("allocation of file connection failed"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("allocation of file connection failed"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1158|      0|	/* for Solaris 12.5 */ new = NULL;
 1159|      0|    }
 1160|     16|    ((Rfileconn)(new->private))->raw = raw;
 1161|       |#ifdef Win32
 1162|       |    ((Rfileconn)(new->private))->use_fgetwc = FALSE;
 1163|       |#endif
 1164|     16|    return new;
 1165|     16|}
connections.c:file_open:
  818|     16|{
  819|     16|    const char *name;
  820|     16|    FILE *fp = NULL;
  821|     16|    Rfileconn this = con->private;
  822|     16|    Rboolean temp = FALSE;
  823|     16|#ifdef HAVE_FCNTL
  824|     16|    int fd, flags;
  825|     16|#endif
  826|     16|    int mlen = (int) strlen(con->mode); // short
  827|       |
  828|     16|    if(strlen(con->description) == 0) {
  ------------------
  |  Branch (828:8): [True: 0, False: 16]
  ------------------
  829|      0|	temp = TRUE;
  830|      0|	name = R_tmpnam("Rf", R_TempDir);
  831|     16|    } else name = R_ExpandFileName(con->description);
  832|     16|    errno = 0; /* some systems require this */
  833|     16|    if(strcmp(name, "stdin")) {
  ------------------
  |  Branch (833:8): [True: 16, False: 0]
  ------------------
  834|       |#ifdef Win32
  835|       |	char mode[20]; /* 4 byte mode plus "t,ccs=UTF-16LE" plus one for luck. */
  836|       |	strncpy(mode, con->mode, 4);
  837|       |	mode[4] = '\0';
  838|       |	if (!strpbrk(mode, "bt"))
  839|       |	    strcat(mode, "t");
  840|       |	// See PR#16737, https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/fopen-wfopen?view=vs-2019
  841|       |	// ccs= is also supported by glibc but not macOS
  842|       |	if (strchr(mode, 't')
  843|       |	    && (!strcmp(con->encname, "UTF-16LE") || !strcmp(con->encname, "UCS-2LE"))) {
  844|       |	    strcat(mode, ",ccs=UTF-16LE");
  845|       |	    if (con->canread) {
  846|       |	    	this->use_fgetwc = TRUE;
  847|       |	    	this->have_wcbuffered = FALSE;
  848|       |	    }
  849|       |	}
  850|       |	if(con->enc == CE_UTF8) {
  851|       |	    int n = strlen(name);
  852|       |	    wchar_t wname[2 * (n+1)], wmode[20];
  853|       |	    mbstowcs(wmode, mode, 19);
  854|       |	    R_CheckStack();
  855|       |	    Rf_utf8towcs(wname, name, n+1);
  856|       |	    fp = _wfopen(wname, wmode);
  857|       |	    if(!fp) {
  858|       |		if (temp)
  859|       |		    free((char *)name);
  860|       |		warning(_("cannot open file '%ls': %s"), wname, strerror(errno));
  861|       |		return FALSE;
  862|       |	    }
  863|       |	    if (isDir(fp)) {
  864|       |		fclose(fp);
  865|       |		if (temp)
  866|       |		    free((char *)name);
  867|       |		warning(_("cannot open file '%ls': it is a directory"), wname);
  868|       |		return FALSE;
  869|       |	    }
  870|       |	} else {
  871|       |	    fp = R_fopen(name, mode);
  872|       |	}
  873|       |#else
  874|     16|	fp = R_fopen(name, con->mode);
  875|     16|#endif
  876|     16|    } else {  /* use file("stdin") to refer to the file and not the console */
  877|      0|#ifdef HAVE_FDOPEN
  878|      0|	int dstdin = dup(0);
  879|       |# ifdef Win32
  880|       |	if (strchr(con->mode, 'b'))
  881|       |	    /* fdopen won't set dstdin to binary mode */
  882|       |	    setmode(dstdin, _O_BINARY);
  883|       |# endif
  884|      0|        fp = fdopen(dstdin, con->mode);
  885|      0|	con->canseek = FALSE;
  886|       |#else
  887|       |	warning(_("cannot open file '%s': %s"), name,
  888|       |		"fdopen is not supported on this platform");
  889|       |#endif
  890|      0|    }
  891|     16|    if(!fp) {
  ------------------
  |  Branch (891:8): [True: 0, False: 16]
  ------------------
  892|      0|	warning(_("cannot open file '%s': %s"), name, strerror(errno));
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	warning(_("cannot open file '%s': %s"), name, strerror(errno));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  893|      0|	if (temp)
  ------------------
  |  Branch (893:6): [True: 0, False: 0]
  ------------------
  894|      0|	    free((char *)name);
  895|      0|	return FALSE;
  896|      0|    }
  897|     16|    if (isDir(fp)) {
  ------------------
  |  Branch (897:9): [True: 0, False: 16]
  ------------------
  898|      0|	fclose(fp);
  899|      0|	warning(_("cannot open file '%s': it is a directory"), name);
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	warning(_("cannot open file '%s': it is a directory"), name);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  900|      0|	if (temp)
  ------------------
  |  Branch (900:6): [True: 0, False: 0]
  ------------------
  901|      0|	    free((char *)name);
  902|      0|	return FALSE;
  903|      0|    }
  904|     16|    if(temp) {
  ------------------
  |  Branch (904:8): [True: 0, False: 16]
  ------------------
  905|       |	/* This will fail on Windows, so arrange to remove in
  906|       |	 * file_close.  An alternative strategy would be to manipulate
  907|       |	 * the underlying file handle to add FILE_SHARE_DELETE (so the
  908|       |	 * unlink is valid) or FILE_FLAG_DELETE_ON_CLOSE.  E.g. create
  909|       |	 * via CreateFile, get an fd by _open_osfhandle and a file
  910|       |	 * stream by fdopen.  See
  911|       |	 * e.g. http://www.codeproject.com/KB/files/handles.aspx
  912|       |	 *
  913|       |	 * unlink(name);
  914|       |	 */
  915|       |#ifdef Win32
  916|       |	this->name = (char *)name; /* malloc'd in R_tmpnam */
  917|       |#else
  918|      0|	unlink(name);
  919|      0|	free((char *) name); /* only free if allocated by R_tmpnam */
  920|      0|#endif
  921|      0|    }
  922|       |#ifdef Win32
  923|       |    this->anon_file = temp;
  924|       |#endif
  925|     16|    this->fp = fp;
  926|     16|    con->isopen = TRUE;
  927|     16|    con->canwrite = (con->mode[0] == 'w' || con->mode[0] == 'a');
  ------------------
  |  Branch (927:22): [True: 0, False: 16]
  |  Branch (927:45): [True: 0, False: 16]
  ------------------
  928|     16|    con->canread = !con->canwrite;
  929|     16|    if(mlen >= 2 && con->mode[1] == '+')
  ------------------
  |  Branch (929:8): [True: 2, False: 14]
  |  Branch (929:21): [True: 0, False: 2]
  ------------------
  930|      0|	con->canread = con->canwrite = TRUE;
  931|     16|    this->last_was_write = !con->canread;
  932|     16|    this->rpos = 0;
  933|     16|    if(con->canwrite) this->wpos = f_tell(fp);
  ------------------
  |  |  750|      0|# define f_tell ftello
  ------------------
  |  Branch (933:8): [True: 0, False: 16]
  ------------------
  934|     16|    if(mlen >= 2 && con->mode[mlen-1] == 'b') con->text = FALSE;
  ------------------
  |  Branch (934:8): [True: 2, False: 14]
  |  Branch (934:21): [True: 0, False: 2]
  ------------------
  935|     16|    else con->text = TRUE;
  936|     16|    con->save = -1000;
  937|     16|    if (shouldBuffer(fileno(fp)))
  ------------------
  |  Branch (937:9): [True: 16, False: 0]
  ------------------
  938|     16|	set_buffer(con);
  939|     16|    set_iconv(con);
  ------------------
  |  |   97|     16|#define set_iconv Rf_set_iconv
  ------------------
  940|       |
  941|     16|#ifdef HAVE_FCNTL
  942|     16|    if(!con->blocking) {
  ------------------
  |  Branch (942:8): [True: 0, False: 16]
  ------------------
  943|      0|	fd = fileno(fp);
  944|      0|	flags = fcntl(fd, F_GETFL);
  945|      0|	flags |= O_NONBLOCK;
  946|       |	fcntl(fd, F_SETFL, flags);
  947|      0|    }
  948|     16|#endif
  949|     16|    return TRUE;
  950|     16|}
connections.c:shouldBuffer:
  776|     16|static Rboolean shouldBuffer(int fd) {
  777|     16|#ifdef HAVE_SYS_STAT_H
  778|     16|    struct stat sb;
  779|     16|    int err = fstat(fd, &sb);
  780|     16|    return err ? FALSE : S_ISREG(sb.st_mode);
  ------------------
  |  Branch (780:12): [True: 0, False: 16]
  ------------------
  781|       |#else
  782|       |    return FALSE;
  783|       |#endif
  784|     16|}
connections.c:file_close:
  953|     16|{
  954|     16|    Rfileconn this = con->private;
  955|     16|    if(con->isopen) // && strcmp(con->description, "stdin"))
  ------------------
  |  Branch (955:8): [True: 16, False: 0]
  ------------------
  956|     16|	con->status = fclose(this->fp);
  957|     16|    con->isopen = FALSE;
  958|       |#ifdef Win32
  959|       |    if(this->anon_file && this->name) {
  960|       |	unlink(this->name);
  961|       |	free(this->name);
  962|       |	this->name = NULL;
  963|       |    }
  964|       |#endif
  965|     16|}
connections.c:uiSwap:
 6693|  1.53k|{
 6694|  1.53k|  return((x << 24) | ((x & 0xff00) << 8) | ((x & 0xff0000) >> 8) | (x >> 24));
 6695|  1.53k|}
connections.c:comp_type_from_memory:
 2686|     88|{
 2687|     88|    if(len >= 2 && buf[0] == '\x1f' && buf[1] == '\x8b')
  ------------------
  |  Branch (2687:8): [True: 88, False: 0]
  |  Branch (2687:20): [True: 72, False: 16]
  |  Branch (2687:40): [True: 72, False: 0]
  ------------------
 2688|     72|	return COMP_GZ;
 2689|     16|    else if(with_zlib && len>=2 && buf[0] == '\x78' && buf[1] == '\x9c')
  ------------------
  |  Branch (2689:13): [True: 0, False: 16]
  |  Branch (2689:26): [True: 0, False: 0]
  |  Branch (2689:36): [True: 0, False: 0]
  |  Branch (2689:56): [True: 0, False: 0]
  ------------------
 2690|       |	/* zlib commression starts with 2 bytes, which for default settings are
 2691|       |	   \x78\x9c.  We could use that */
 2692|      0|	return COMP_GZ;
 2693|     16|    else if(len >= 10 && !strncmp(buf, "BZh", 3)) { 
  ------------------
  |  Branch (2693:13): [True: 16, False: 0]
  |  Branch (2693:26): [True: 0, False: 16]
  ------------------
 2694|       |	/* check also the block size and the block/eos magic to reduce
 2695|       |	   the risk of picking up an uncompressed file (PR#18768) */
 2696|      0|	if (buf[3] >= '1' && buf[3] <= '9') {
  ------------------
  |  Branch (2696:6): [True: 0, False: 0]
  |  Branch (2696:23): [True: 0, False: 0]
  ------------------
 2697|       |	    // 0x314159265359 (BCD (pi))
 2698|       |	    // 0x177245385090 (BCD sqrt(pi))
 2699|      0|	    if (!memcmp(buf+4, "\x31\x41\x59\x26\x53\x59", 6) ||
  ------------------
  |  Branch (2699:10): [True: 0, False: 0]
  ------------------
 2700|      0|	        !memcmp(buf+4, "\x17\x72\x45\x38\x50\x90", 6))
  ------------------
  |  Branch (2700:10): [True: 0, False: 0]
  ------------------
 2701|       |
 2702|      0|		return COMP_BZ;
 2703|      0|	}
 2704|     16|    } else if(len >= 5 && buf[0] == '\xFD' && !strncmp(buf+1, "7zXZ", 4)) {
  ------------------
  |  Branch (2704:15): [True: 16, False: 0]
  |  Branch (2704:27): [True: 0, False: 16]
  |  Branch (2704:47): [True: 0, False: 0]
  ------------------
 2705|      0|	*subtype = 0;
 2706|      0|	return COMP_XZ;
 2707|     16|    } else if(len >= 5 && buf[0] == '\xFF' && !strncmp(buf+1, "LZMA", 4)) {
  ------------------
  |  Branch (2707:15): [True: 16, False: 0]
  |  Branch (2707:27): [True: 0, False: 16]
  |  Branch (2707:47): [True: 0, False: 0]
  ------------------
 2708|      0|	*subtype = 1;
 2709|      0|	return COMP_XZ;
 2710|     16|    } else if(len >= 5 && !memcmp(buf, "]\0\0\200\0", 5)) {
  ------------------
  |  Branch (2710:15): [True: 16, False: 0]
  |  Branch (2710:27): [True: 0, False: 16]
  ------------------
 2711|      0|	*subtype = 1;
 2712|      0|	return COMP_XZ;
 2713|     16|    } else if(len >= 4 && buf[0] == '\x89' && !strncmp(buf+1, "LZO", 3))
  ------------------
  |  Branch (2713:15): [True: 16, False: 0]
  |  Branch (2713:27): [True: 0, False: 16]
  |  Branch (2713:47): [True: 0, False: 0]
  ------------------
 2714|      0|	error(_("this is a %s-compressed file which this build of R does not support"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("this is a %s-compressed file which this build of R does not support"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2715|      0|	        "lzop");
 2716|     16|    else if(len >= 4 && !memcmp(buf, "\x28\xb5\x2f\xfd", 4))
  ------------------
  |  Branch (2716:13): [True: 16, False: 0]
  |  Branch (2716:25): [True: 0, False: 16]
  ------------------
 2717|      0|	return COMP_ZSTD;
 2718|     16|    return COMP_UNKNOWN; 
 2719|     88|}

R_run_onexits:
  121|  1.06M|{
  122|  1.06M|    RCNTXT *c;
  123|       |
  124|  2.12M|    for (c = R_GlobalContext; c != cptr; c = c->nextcontext) {
  ------------------
  |  Branch (124:31): [True: 1.06M, False: 1.06M]
  ------------------
  125|       |	// a user embedding R incorrectly triggered this (PR#15420)
  126|  1.06M|	if (c == NULL)
  ------------------
  |  Branch (126:6): [True: 0, False: 1.06M]
  ------------------
  127|      0|	    error("bad target context--should NEVER happen if R was called correctly");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  128|  1.06M|	if (c->cend != NULL) {
  ------------------
  |  Branch (128:6): [True: 6.14k, False: 1.05M]
  ------------------
  129|  6.14k|	    void (*cend)(void *) = c->cend;
  130|  6.14k|	    c->cend = NULL; /* prevent recursion */
  131|  6.14k|	    R_HandlerStack = c->handlerstack;
  132|  6.14k|	    R_RestartStack = c->restartstack;
  133|  6.14k|	    cend(c->cenddata);
  134|  6.14k|	}
  135|  1.06M|	if (c->cloenv != R_NilValue && c->conexit != R_NilValue) {
  ------------------
  |  Branch (135:6): [True: 1.06M, False: 0]
  |  Branch (135:33): [True: 0, False: 1.06M]
  ------------------
  136|      0|	    SEXP s = c->conexit;
  137|      0|	    RCNTXT* savecontext = R_ExitContext;
  138|      0|	    R_ExitContext = c;
  139|      0|	    c->conexit = R_NilValue; /* prevent recursion */
  140|       |	    /* we are in intermediate jump, so returnValue is undefined */
  141|      0|	    c->returnValue = SEXP_TO_STACKVAL(NULL);
  ------------------
  |  | 2603|      0|#define SEXP_TO_STACKVAL(x) ((R_bcstack_t) { .tag = 0, .u.sxpval = (x) })
  ------------------
  142|      0|	    R_HandlerStack = c->handlerstack;
  143|      0|	    R_RestartStack = c->restartstack;
  144|      0|	    PROTECT(s);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  145|       |	    /* Since these are run before any jumps rather than after
  146|       |	       jumping to the context where the exit handler was set
  147|       |	       we need to make sure there is enough room on the
  148|       |	       evaluation stack in case the jump is from handling a
  149|       |	       stack overflow. To be safe it is good to also call
  150|       |	       R_CheckStack. LT */
  151|      0|	    R_Expressions = R_Expressions_keep + 500;
  152|      0|	    R_CheckStack();
  153|      0|	    for (; s != R_NilValue; s = CDR(s)) {
  ------------------
  |  Branch (153:13): [True: 0, False: 0]
  ------------------
  154|      0|		c->conexit = CDR(s);
  155|      0|		eval(CAR(s), c->cloenv);
  ------------------
  |  |  913|      0|#define eval			Rf_eval
  ------------------
  156|      0|	    }
  157|      0|	    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  158|      0|	    R_ExitContext = savecontext;
  159|      0|	}
  160|  1.06M|	if (R_ExitContext == c)
  ------------------
  |  Branch (160:6): [True: 0, False: 1.06M]
  ------------------
  161|      0|	    R_ExitContext = NULL; /* Not necessary?  Better safe than sorry. */
  162|  1.06M|    }
  163|  1.06M|}
R_jumpctxt:
  216|  1.06M|{
  217|  1.06M|    Rboolean savevis = R_Visible;
  218|  1.06M|    RCNTXT *cptr;
  219|       |
  220|       |    /* find the target for the first jump -- either an intermediate
  221|       |       context with an on.exit action to run or the final target if
  222|       |       there are no intermediate on.exit actions */
  223|  1.06M|    cptr = first_jump_target(targetcptr, mask);
  224|       |
  225|       |    /* run cend code for all contexts down to but not including
  226|       |       the first jump target */
  227|  1.06M|    R_run_onexits(cptr);
  228|  1.06M|    R_Visible = savevis;
  229|       |
  230|  1.06M|    R_ReturnedValue = val;
  231|  1.06M|    R_GlobalContext = cptr;
  232|  1.06M|    R_restore_globals(R_GlobalContext);
  233|       |
  234|       |    /* if we are in the process of handling a C stack overflow we need
  235|       |       to restore the C stack limit before the jump */
  236|  1.06M|    if (R_OldCStackLimit != 0) {
  ------------------
  |  Branch (236:9): [True: 0, False: 1.06M]
  ------------------
  237|      0|	R_CStackLimit = R_OldCStackLimit;
  238|      0|	R_OldCStackLimit = 0;
  239|      0|    }
  240|       |
  241|  1.06M|    if (mask == 0)
  ------------------
  |  Branch (241:9): [True: 3.41k, False: 1.05M]
  ------------------
  242|  3.41k|	mask = 1; // make sure the return value for SETJMP is not zero
  243|       |
  244|  1.06M|    LONGJMP(cptr->cjmpbuf, mask);
  ------------------
  |  | 1163|  1.06M|# define LONGJMP(x,i) siglongjmp(x,i)
  ------------------
  245|  1.06M|}
Rf_begincontext:
  254|  13.8M|{
  255|  13.8M|    cptr->cstacktop = R_PPStackTop;
  256|  13.8M|    cptr->gcenabled = R_GCEnabled;
  257|  13.8M|    cptr->relpc = R_BCRelPC(R_BCbody, R_BCpc);
  258|  13.8M|    cptr->bcpc = R_BCpc;
  259|  13.8M|    cptr->bcbody = R_BCbody;
  260|  13.8M|    cptr->bcframe = R_BCFrame;
  261|  13.8M|    cptr->bcintactive = R_BCIntActive;
  262|  13.8M|    cptr->evaldepth = R_EvalDepth;
  263|  13.8M|    cptr->callflag = flags;
  264|  13.8M|    cptr->call = syscall;
  265|  13.8M|    cptr->cloenv = env;
  266|  13.8M|    cptr->sysparent = sysp;
  267|  13.8M|    cptr->conexit = R_NilValue;
  268|  13.8M|    cptr->cend = NULL;
  269|  13.8M|    cptr->promargs = promargs;
  270|  13.8M|    cptr->callfun = callfun;
  271|  13.8M|    cptr->vmax = vmaxget();
  272|  13.8M|    cptr->intsusp = R_interrupts_suspended;
  273|  13.8M|    cptr->handlerstack = R_HandlerStack;
  274|  13.8M|    cptr->restartstack = R_RestartStack;
  275|  13.8M|    cptr->prstack = R_PendingPromises;
  276|  13.8M|    cptr->nodestack = R_BCNodeStackTop;
  277|  13.8M|    cptr->bcprottop = R_BCProtTop;
  278|  13.8M|    cptr->srcref = R_Srcref;
  279|  13.8M|    cptr->browserfinish = R_GlobalContext->browserfinish;
  280|  13.8M|    cptr->nextcontext = R_GlobalContext;
  281|  13.8M|    cptr->returnValue = SEXP_TO_STACKVAL(NULL);
  ------------------
  |  | 2603|  13.8M|#define SEXP_TO_STACKVAL(x) ((R_bcstack_t) { .tag = 0, .u.sxpval = (x) })
  ------------------
  282|  13.8M|    cptr->jumptarget = NULL;
  283|  13.8M|    cptr->jumpmask = 0;
  284|       |
  285|  13.8M|    R_GlobalContext = cptr;
  286|  13.8M|}
Rf_endcontext:
  292|  12.7M|{
  293|  12.7M|    void R_FixupExitingHandlerResult(SEXP); /* defined in error.c */
  294|  12.7M|    SEXP R_UnwindHandlerStack(SEXP); /* defined in error.c */
  295|  12.7M|    R_HandlerStack = R_UnwindHandlerStack(cptr->handlerstack);
  296|  12.7M|    R_RestartStack = cptr->restartstack;
  297|  12.7M|    RCNTXT *jumptarget = cptr->jumptarget;
  298|  12.7M|    if (cptr->cloenv != R_NilValue && cptr->conexit != R_NilValue ) {
  ------------------
  |  Branch (298:9): [True: 12.7M, False: 0]
  |  Branch (298:39): [True: 557, False: 12.7M]
  ------------------
  299|    557|	SEXP s = cptr->conexit;
  300|    557|	Rboolean savevis = R_Visible;
  301|    557|	RCNTXT* savecontext = R_ExitContext;
  302|    557|	SEXP saveretval = R_ReturnedValue;
  303|    557|	R_ExitContext = cptr;
  304|    557|	cptr->conexit = R_NilValue; /* prevent recursion */
  305|    557|	cptr->jumptarget = NULL; /* in case on.exit expr calls return() */
  306|    557|	PROTECT(saveretval);
  ------------------
  |  |  357|    557|#define PROTECT(s)	Rf_protect(s)
  ------------------
  307|    557|	PROTECT(s);
  ------------------
  |  |  357|    557|#define PROTECT(s)	Rf_protect(s)
  ------------------
  308|    557|	R_FixupExitingHandlerResult(saveretval);
  309|    557|	SEXP cptr_retval =
  310|    557|	    cptr->returnValue.tag == 0 ? cptr->returnValue.u.sxpval : NULL;
  ------------------
  |  Branch (310:6): [True: 557, False: 0]
  ------------------
  311|    557|	if (cptr_retval) // why is this needed???
  ------------------
  |  Branch (311:6): [True: 212, False: 345]
  ------------------
  312|    212|	    INCREMENT_LINKS(cptr_retval);
  ------------------
  |  |  540|    212|#define INCREMENT_LINKS(x) do {			\
  |  |  541|    212|	SEXP il__x__ = (x);			\
  |  |  542|    212|	INCREMENT_NAMED(il__x__);		\
  |  |  ------------------
  |  |  |  |  222|    212|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:43): [Folded, False: 212]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  543|    212|	INCREMENT_REFCNT(il__x__);		\
  |  |  544|    212|    } while (0)
  |  |  ------------------
  |  |  |  Branch (544:14): [Folded, False: 212]
  |  |  ------------------
  ------------------
  313|  1.11k|	for (; s != R_NilValue; s = CDR(s)) {
  ------------------
  |  Branch (313:9): [True: 557, False: 557]
  ------------------
  314|    557|	    cptr->conexit = CDR(s);
  315|    557|	    eval(CAR(s), cptr->cloenv);
  ------------------
  |  |  913|    557|#define eval			Rf_eval
  ------------------
  316|    557|	}
  317|    557|	if (cptr_retval) // why is this needed???
  ------------------
  |  Branch (317:6): [True: 212, False: 345]
  ------------------
  318|    212|	    DECREMENT_LINKS(cptr_retval);
  ------------------
  |  |  545|    212|#define DECREMENT_LINKS(x) do {			\
  |  |  546|    212|	SEXP dl__x__ = (x);			\
  |  |  547|    212|	DECREMENT_NAMED(dl__x__);		\
  |  |  ------------------
  |  |  |  |  223|    212|# define DECREMENT_NAMED(x) do { } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (223:43): [Folded, False: 212]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  548|    212|	DECREMENT_REFCNT(dl__x__);		\
  |  |  549|    212|    } while (0)
  |  |  ------------------
  |  |  |  Branch (549:14): [Folded, False: 212]
  |  |  ------------------
  ------------------
  319|    557|	R_ReturnedValue = saveretval;
  320|    557|	UNPROTECT(2);
  ------------------
  |  |  358|    557|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  321|    557|	R_ExitContext = savecontext;
  322|    557|	R_Visible = savevis;
  323|    557|    }
  324|  12.7M|    if (R_ExitContext == cptr)
  ------------------
  |  Branch (324:9): [True: 0, False: 12.7M]
  ------------------
  325|      0|	R_ExitContext = NULL;
  326|       |    /* continue jumping if this was reached as an intermediate jump */
  327|  12.7M|    if (jumptarget)
  ------------------
  |  Branch (327:9): [True: 345, False: 12.7M]
  ------------------
  328|       |	/* cptr->returnValue is undefined */
  329|    345|	R_jumpctxt(jumptarget, cptr->jumpmask, R_ReturnedValue);
  330|       |
  331|  12.7M|    R_GlobalContext = cptr->nextcontext;
  332|  12.7M|}
Rf_findcontext:
  338|  1.05M|{
  339|  1.05M|    RCNTXT *cptr;
  340|  1.05M|    cptr = R_GlobalContext;
  341|  1.05M|    if (mask & CTXT_LOOP) {		/* break/next */
  ------------------
  |  Branch (341:9): [True: 0, False: 1.05M]
  ------------------
  342|      0|	for (cptr = R_GlobalContext;
  343|      0|	     cptr != NULL && cptr->callflag != CTXT_TOPLEVEL;
  ------------------
  |  Branch (343:7): [True: 0, False: 0]
  |  Branch (343:23): [True: 0, False: 0]
  ------------------
  344|      0|	     cptr = cptr->nextcontext)
  345|      0|	    if (cptr->callflag & CTXT_LOOP && cptr->cloenv == env )
  ------------------
  |  Branch (345:10): [True: 0, False: 0]
  |  Branch (345:40): [True: 0, False: 0]
  ------------------
  346|      0|		R_jumpctxt(cptr, mask, val);
  347|      0|	error(_("no loop for break/next, jumping to top level"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("no loop for break/next, jumping to top level"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  348|      0|    }
  349|  1.05M|    else {				/* return; or browser */
  350|  1.05M|	for (cptr = R_GlobalContext;
  351|  3.16M|	     cptr != NULL && cptr->callflag != CTXT_TOPLEVEL;
  ------------------
  |  Branch (351:7): [True: 2.10M, False: 1.05M]
  |  Branch (351:23): [True: 2.10M, False: 0]
  ------------------
  352|  2.10M|	     cptr = cptr->nextcontext)
  353|  2.10M|	    if ((cptr->callflag & mask) && cptr->cloenv == env)
  ------------------
  |  Branch (353:10): [True: 2.10M, False: 0]
  |  Branch (353:37): [True: 1.05M, False: 1.05M]
  ------------------
  354|  1.05M|		R_jumpctxt(cptr, mask, val);
  355|  1.05M|	error(_("no function to return from, jumping to top level"));
  ------------------
  |  |   88|  1.05M|#define error Rf_error
  ------------------
              	error(_("no function to return from, jumping to top level"));
  ------------------
  |  | 2536|  1.05M|#   define _(String) gettext (String)
  ------------------
  356|  1.05M|    }
  357|  1.05M|}
R_sysframe:
  381|  1.04k|{
  382|  1.04k|    if (n == 0)
  ------------------
  |  Branch (382:9): [True: 0, False: 1.04k]
  ------------------
  383|      0|	return(R_GlobalEnv);
  384|       |
  385|  1.04k|    if (n == NA_INTEGER) error(_("NA argument is invalid"));
  ------------------
  |  |   56|  1.04k|#define NA_INTEGER	R_NaInt
  ------------------
                  if (n == NA_INTEGER) error(_("NA argument is invalid"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  if (n == NA_INTEGER) error(_("NA argument is invalid"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (385:9): [True: 0, False: 1.04k]
  ------------------
  386|       |
  387|  1.04k|    if (n > 0)
  ------------------
  |  Branch (387:9): [True: 1.04k, False: 0]
  ------------------
  388|  1.04k|	n = framedepth(cptr) - n;
  ------------------
  |  | 1909|  1.04k|# define framedepth		Rf_framedepth
  ------------------
  389|      0|    else
  390|      0|	n = -n;
  391|       |
  392|  1.04k|    if(n < 0)
  ------------------
  |  Branch (392:8): [True: 0, False: 1.04k]
  ------------------
  393|      0|	error(_("not that many frames on the stack"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("not that many frames on the stack"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  394|       |
  395|  4.46k|    while (cptr->nextcontext != NULL) {
  ------------------
  |  Branch (395:12): [True: 4.46k, False: 0]
  ------------------
  396|  4.46k|	if (cptr->callflag & CTXT_FUNCTION ) {
  ------------------
  |  Branch (396:6): [True: 4.37k, False: 94]
  ------------------
  397|  4.37k|	    if (n == 0) {  /* we need to detach the enclosing env */
  ------------------
  |  Branch (397:10): [True: 1.04k, False: 3.32k]
  ------------------
  398|  1.04k|		return cptr->cloenv;
  399|  1.04k|	    }
  400|  3.32k|	    else
  401|  3.32k|		n--;
  402|  4.37k|	}
  403|  3.41k|	cptr = cptr->nextcontext;
  404|  3.41k|    }
  405|      0|    if(n == 0 && cptr->nextcontext == NULL)
  ------------------
  |  Branch (405:8): [True: 0, False: 0]
  |  Branch (405:18): [True: 0, False: 0]
  ------------------
  406|      0|	return R_GlobalEnv;
  407|      0|    else
  408|      0|	error(_("not that many frames on the stack"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("not that many frames on the stack"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  409|      0|    return R_NilValue;	   /* just for -Wall */
  410|      0|}
R_sysparent:
  420|  2.61k|{
  421|  2.61k|    int j;
  422|  2.61k|    SEXP s;
  423|  2.61k|    if(n <= 0)
  ------------------
  |  Branch (423:8): [True: 0, False: 2.61k]
  ------------------
  424|      0|	errorcall(R_ToplevelContext->call,
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
  425|      0|		  _("only positive values of 'n' are allowed"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  426|  2.61k|    while (cptr->nextcontext != NULL && n > 1) {
  ------------------
  |  Branch (426:12): [True: 2.61k, False: 0]
  |  Branch (426:41): [True: 0, False: 2.61k]
  ------------------
  427|      0|	if (cptr->callflag & CTXT_FUNCTION )
  ------------------
  |  Branch (427:6): [True: 0, False: 0]
  ------------------
  428|      0|	    n--;
  429|      0|	cptr = cptr->nextcontext;
  430|      0|    }
  431|       |    /* make sure we're looking at a return context */
  432|  2.61k|    while (cptr->nextcontext != NULL && !(cptr->callflag & CTXT_FUNCTION) )
  ------------------
  |  Branch (432:12): [True: 2.61k, False: 0]
  |  Branch (432:41): [True: 0, False: 2.61k]
  ------------------
  433|      0|	cptr = cptr->nextcontext;
  434|  2.61k|    s = cptr->sysparent;
  435|  2.61k|    if(s == R_GlobalEnv)
  ------------------
  |  Branch (435:8): [True: 0, False: 2.61k]
  ------------------
  436|      0|	return 0;
  437|  2.61k|    j = 0;
  438|  21.3k|    while (cptr != NULL ) {
  ------------------
  |  Branch (438:12): [True: 18.7k, False: 2.61k]
  ------------------
  439|  18.7k|	if (cptr->callflag & CTXT_FUNCTION) {
  ------------------
  |  Branch (439:6): [True: 13.5k, False: 5.21k]
  ------------------
  440|  13.5k|	    j++;
  441|  13.5k|	    if( cptr->cloenv == s )
  ------------------
  |  Branch (441:10): [True: 2.61k, False: 10.9k]
  ------------------
  442|  2.61k|		n=j;
  443|  13.5k|	}
  444|  18.7k|	cptr = cptr->nextcontext;
  445|  18.7k|    }
  446|  2.61k|    n = j - n + 1;
  447|  2.61k|    if (n < 0)
  ------------------
  |  Branch (447:9): [True: 0, False: 2.61k]
  ------------------
  448|      0|	n = 0;
  449|  2.61k|    return n;
  450|  2.61k|}
Rf_framedepth:
  453|  6.30k|{
  454|  6.30k|    int nframe = 0;
  455|  50.6k|    while (cptr->nextcontext != NULL) {
  ------------------
  |  Branch (455:12): [True: 44.3k, False: 6.30k]
  ------------------
  456|  44.3k|	if (cptr->callflag & CTXT_FUNCTION )
  ------------------
  |  Branch (456:6): [True: 37.9k, False: 6.38k]
  ------------------
  457|  37.9k|	    nframe++;
  458|  44.3k|	cptr = cptr->nextcontext;
  459|  44.3k|    }
  460|  6.30k|    return nframe;
  461|  6.30k|}
R_syscall:
  483|  2.73k|{
  484|       |    /* negative n counts back from the current frame */
  485|       |    /* positive n counts up from the globalEnv */
  486|  2.73k|    if (n > 0)
  ------------------
  |  Branch (486:9): [True: 966, False: 1.77k]
  ------------------
  487|    966|	n = framedepth(cptr) - n;
  ------------------
  |  | 1909|    966|# define framedepth		Rf_framedepth
  ------------------
  488|  1.77k|    else
  489|  1.77k|	n = - n;
  490|  2.73k|    if(n < 0)
  ------------------
  |  Branch (490:8): [True: 0, False: 2.73k]
  ------------------
  491|      0|	error(_("not that many frames on the stack"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("not that many frames on the stack"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  492|  3.70k|    while (cptr->nextcontext != NULL) {
  ------------------
  |  Branch (492:12): [True: 3.70k, False: 0]
  ------------------
  493|  3.70k|	if (cptr->callflag & CTXT_FUNCTION ) {
  ------------------
  |  Branch (493:6): [True: 3.70k, False: 0]
  ------------------
  494|  3.70k|	    if (n == 0)
  ------------------
  |  Branch (494:10): [True: 2.73k, False: 966]
  ------------------
  495|  2.73k|		return getCallWithSrcref(cptr);
  496|    966|	    else
  497|    966|		n--;
  498|  3.70k|	}
  499|    966|	cptr = cptr->nextcontext;
  500|    966|    }
  501|      0|    if (n == 0 && cptr->nextcontext == NULL)
  ------------------
  |  Branch (501:9): [True: 0, False: 0]
  |  Branch (501:19): [True: 0, False: 0]
  ------------------
  502|      0|	return getCallWithSrcref(cptr);
  503|      0|    error(_("not that many frames on the stack"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  error(_("not that many frames on the stack"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  504|      0|    return R_NilValue;	/* just for -Wall */
  505|      0|}
R_sysfunction:
  508|  1.65k|{
  509|  1.65k|    if (n > 0)
  ------------------
  |  Branch (509:9): [True: 1.64k, False: 6]
  ------------------
  510|  1.64k|	n = framedepth(cptr) - n;
  ------------------
  |  | 1909|  1.64k|# define framedepth		Rf_framedepth
  ------------------
  511|      6|    else
  512|      6|	n = - n;
  513|  1.65k|    if (n < 0)
  ------------------
  |  Branch (513:9): [True: 0, False: 1.65k]
  ------------------
  514|      0|	error(_("not that many frames on the stack"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("not that many frames on the stack"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  515|  3.29k|    while (cptr->nextcontext != NULL) {
  ------------------
  |  Branch (515:12): [True: 3.29k, False: 0]
  ------------------
  516|  3.29k|	if (cptr->callflag & CTXT_FUNCTION ) {
  ------------------
  |  Branch (516:6): [True: 3.29k, False: 0]
  ------------------
  517|  3.29k|	    if (n == 0)
  ------------------
  |  Branch (517:10): [True: 1.65k, False: 1.64k]
  ------------------
  518|  1.65k|		return duplicate(cptr->callfun);  /***** do we need to DUP? */
  ------------------
  |  |  909|  1.65k|#define duplicate		Rf_duplicate
  ------------------
  519|  1.64k|	    else
  520|  1.64k|		n--;
  521|  3.29k|	}
  522|  1.64k|	cptr = cptr->nextcontext;
  523|  1.64k|    }
  524|      0|    if (n == 0 && cptr->nextcontext == NULL)
  ------------------
  |  Branch (524:9): [True: 0, False: 0]
  |  Branch (524:19): [True: 0, False: 0]
  ------------------
  525|      0|	return duplicate(cptr->callfun);  /***** do we need to DUP? */
  ------------------
  |  |  909|      0|#define duplicate		Rf_duplicate
  ------------------
  526|      0|    error(_("not that many frames on the stack"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  error(_("not that many frames on the stack"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  527|      0|    return R_NilValue;	/* just for -Wall */
  528|      0|}
getLexicalContext:
  634|  8.07k|{
  635|  8.07k|    RCNTXT *cptr = R_GlobalContext;
  636|       |
  637|  22.5k|    while (cptr && cptr != R_ToplevelContext) {
  ------------------
  |  Branch (637:12): [True: 22.5k, False: 0]
  |  Branch (637:20): [True: 22.5k, False: 0]
  ------------------
  638|  22.5k|	if (cptr->callflag & CTXT_FUNCTION && cptr->cloenv == rho)
  ------------------
  |  Branch (638:6): [True: 22.5k, False: 0]
  |  Branch (638:40): [True: 8.07k, False: 14.4k]
  ------------------
  639|  8.07k|	    break;
  640|  14.4k|	cptr = cptr->nextcontext;
  641|  14.4k|    }
  642|       |
  643|  8.07k|    return cptr;
  644|  8.07k|}
do_sys:
  658|  8.07k|{
  659|  8.07k|    int i, n  = -1, nframe;
  660|  8.07k|    SEXP rval;
  661|       |
  662|  8.07k|    checkArity(op, args);
  ------------------
  |  | 1793|  8.07k|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  663|       |
  664|       |    /* first find the context that sys.xxx needs to be evaluated in */
  665|  8.07k|    SEXP t = R_GlobalContext->sysparent;
  666|  8.07k|    RCNTXT *cptr = getLexicalContext(t);
  667|       |
  668|  8.07k|    if (length(args) == 1) n = asInteger(CAR(args));
  ------------------
  |  |  987|  8.07k|#define length(x)		Rf_length(x)
  ------------------
                  if (length(args) == 1) n = asInteger(CAR(args));
  ------------------
  |  |  885|  8.04k|#define asInteger		Rf_asInteger
  ------------------
  |  Branch (668:9): [True: 8.04k, False: 34]
  ------------------
  669|       |
  670|  8.07k|    switch (PRIMVAL(op)) {
  ------------------
  |  | 1347|  8.07k|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  671|  2.61k|    case 1: /* parent */
  ------------------
  |  Branch (671:5): [True: 2.61k, False: 5.46k]
  ------------------
  672|  2.61k|	if(n == NA_INTEGER)
  ------------------
  |  |   56|  2.61k|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (672:5): [True: 0, False: 2.61k]
  ------------------
  673|      0|	    error(_("invalid '%s' argument"), "n");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("invalid '%s' argument"), "n");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  674|  2.61k|	i = nframe = framedepth(cptr);
  ------------------
  |  | 1909|  2.61k|# define framedepth		Rf_framedepth
  ------------------
  675|       |	/* This is a pretty awful kludge, but the alternative would be
  676|       |	   a major redesign of everything... -pd */
  677|  5.22k|	while (n-- > 0)
  ------------------
  |  Branch (677:9): [True: 2.61k, False: 2.61k]
  ------------------
  678|  2.61k|	    i = R_sysparent(nframe - i + 1, cptr);
  679|  2.61k|	return ScalarInteger(i);
  ------------------
  |  | 1022|  2.61k|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  680|  2.73k|    case 2: /* call */
  ------------------
  |  Branch (680:5): [True: 2.73k, False: 5.34k]
  ------------------
  681|  2.73k|	if(n == NA_INTEGER)
  ------------------
  |  |   56|  2.73k|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (681:5): [True: 0, False: 2.73k]
  ------------------
  682|      0|	    error(_("invalid '%s' argument"), "which");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("invalid '%s' argument"), "which");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  683|  2.73k|	return R_syscall(n, cptr);
  684|  1.04k|    case 3: /* frame */
  ------------------
  |  Branch (684:5): [True: 1.04k, False: 7.03k]
  ------------------
  685|  1.04k|	if(n == NA_INTEGER)
  ------------------
  |  |   56|  1.04k|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (685:5): [True: 0, False: 1.04k]
  ------------------
  686|      0|	    error(_("invalid '%s' argument"), "which");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("invalid '%s' argument"), "which");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  687|  1.04k|	return R_sysframe(n, cptr);
  688|     34|    case 4: /* sys.nframe */
  ------------------
  |  Branch (688:5): [True: 34, False: 8.04k]
  ------------------
  689|     34|	return ScalarInteger(framedepth(cptr));
  ------------------
  |  | 1022|     34|#define ScalarInteger		Rf_ScalarInteger
  ------------------
              	return ScalarInteger(framedepth(cptr));
  ------------------
  |  | 1909|     34|# define framedepth		Rf_framedepth
  ------------------
  690|      0|    case 5: /* sys.calls */
  ------------------
  |  Branch (690:5): [True: 0, False: 8.07k]
  ------------------
  691|      0|	nframe = framedepth(cptr);
  ------------------
  |  | 1909|      0|# define framedepth		Rf_framedepth
  ------------------
  692|      0|	PROTECT(rval = allocList(nframe));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  693|      0|	t=rval;
  694|      0|	for(i = 1; i <= nframe; i++, t = CDR(t))
  ------------------
  |  Branch (694:13): [True: 0, False: 0]
  ------------------
  695|      0|	    SETCAR(t, R_syscall(i, cptr));
  696|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  697|      0|	return rval;
  698|      0|    case 6: /* sys.frames */
  ------------------
  |  Branch (698:5): [True: 0, False: 8.07k]
  ------------------
  699|      0|	nframe = framedepth(cptr);
  ------------------
  |  | 1909|      0|# define framedepth		Rf_framedepth
  ------------------
  700|      0|	PROTECT(rval = allocList(nframe));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  701|      0|	t = rval;
  702|      0|	for(i = 1; i <= nframe; i++, t = CDR(t))
  ------------------
  |  Branch (702:13): [True: 0, False: 0]
  ------------------
  703|      0|	    SETCAR(t, R_sysframe(i, cptr));
  704|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  705|      0|	return rval;
  706|      0|    case 7: /* sys.on.exit */
  ------------------
  |  Branch (706:5): [True: 0, False: 8.07k]
  ------------------
  707|      0|	{
  708|      0|	    SEXP conexit = cptr->conexit;
  709|      0|	    if (conexit == R_NilValue)
  ------------------
  |  Branch (709:10): [True: 0, False: 0]
  ------------------
  710|      0|		return R_NilValue;
  711|      0|	    else if (CDR(conexit) == R_NilValue)
  ------------------
  |  Branch (711:15): [True: 0, False: 0]
  ------------------
  712|      0|		return CAR(conexit);
  713|      0|	    else
  714|      0|		return LCONS(R_BraceSymbol, conexit);
  ------------------
  |  |  310|      0|#define LCONS(a, b)	Rf_lcons((a), (b))		/* language lists */
  ------------------
  715|      0|	}
  716|      0|    case 8: /* sys.parents */
  ------------------
  |  Branch (716:5): [True: 0, False: 8.07k]
  ------------------
  717|      0|	nframe = framedepth(cptr);
  ------------------
  |  | 1909|      0|# define framedepth		Rf_framedepth
  ------------------
  718|      0|	rval = allocVector(INTSXP, nframe);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              	rval = allocVector(INTSXP, nframe);
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  719|      0|	for(i = 0; i < nframe; i++)
  ------------------
  |  Branch (719:13): [True: 0, False: 0]
  ------------------
  720|      0|	    INTEGER(rval)[i] = R_sysparent(nframe - i, cptr);
  721|      0|	return rval;
  722|  1.65k|    case 9: /* sys.function */
  ------------------
  |  Branch (722:5): [True: 1.65k, False: 6.42k]
  ------------------
  723|  1.65k|	if(n == NA_INTEGER)
  ------------------
  |  |   56|  1.65k|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (723:5): [True: 0, False: 1.65k]
  ------------------
  724|      0|	    error(_("invalid '%s' value"), "which");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("invalid '%s' value"), "which");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  725|  1.65k|	return(R_sysfunction(n, cptr));
  726|      0|    default:
  ------------------
  |  Branch (726:5): [True: 0, False: 8.07k]
  ------------------
  727|      0|	error(_("internal error in 'do_sys'"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("internal error in 'do_sys'"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  728|      0|	return R_NilValue;/* just for -Wall */
  729|  8.07k|    }
  730|  8.07k|}
do_parentframe:
  733|  6.87k|{
  734|  6.87k|    checkArity(op, args);
  ------------------
  |  | 1793|  6.87k|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  735|       |
  736|  6.87k|    int n = asInteger(CAR(args));
  ------------------
  |  |  885|  6.87k|#define asInteger		Rf_asInteger
  ------------------
  737|  6.87k|    if(n == NA_INTEGER || n < 1 )
  ------------------
  |  |   56|  13.7k|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (737:8): [True: 0, False: 6.87k]
  |  Branch (737:27): [True: 0, False: 6.87k]
  ------------------
  738|      0|	error(_("invalid '%s' value"), "n");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' value"), "n");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  739|       |
  740|  6.87k|    RCNTXT *cptr = R_findParentContext(R_GlobalContext, n);
  741|       |
  742|  6.87k|    if (cptr)
  ------------------
  |  Branch (742:9): [True: 6.87k, False: 0]
  ------------------
  743|  6.87k|	return cptr->sysparent;
  744|      0|    else
  745|      0|	return R_GlobalEnv;
  746|  6.87k|}
R_findExecContext:
  752|  8.60k|{
  753|  17.2k|    while (cptr->nextcontext != NULL) {
  ------------------
  |  Branch (753:12): [True: 17.2k, False: 0]
  ------------------
  754|  17.2k|	if ((cptr->callflag & CTXT_FUNCTION) != 0 && cptr->cloenv == envir)
  ------------------
  |  Branch (754:6): [True: 17.2k, False: 0]
  |  Branch (754:47): [True: 8.60k, False: 8.60k]
  ------------------
  755|  8.60k|	    return cptr;
  756|  8.60k|	cptr = cptr->nextcontext;
  757|  8.60k|    }
  758|      0|    return NULL;
  759|  8.60k|}
R_findParentContext:
  768|  7.59k|{
  769|  8.60k|    while ((cptr = R_findExecContext(cptr, cptr->sysparent)) != NULL) {
  ------------------
  |  Branch (769:12): [True: 8.60k, False: 0]
  ------------------
  770|  8.60k|	if (n == 1)
  ------------------
  |  Branch (770:6): [True: 7.59k, False: 1.01k]
  ------------------
  771|  7.59k|	    return cptr;
  772|  1.01k|	n--;
  773|  1.01k|    }
  774|      0|    return NULL;
  775|  7.59k|}
R_ToplevelExec:
  784|  7.85k|{
  785|  7.85k|    RCNTXT thiscontext;
  786|  7.85k|    RCNTXT * volatile saveToplevelContext;
  787|  7.85k|    volatile SEXP topExp, oldHStack, oldRStack, oldRVal;
  788|  7.85k|    volatile Rboolean oldvis;
  789|  7.85k|    Rboolean result;
  790|       |
  791|       |
  792|  7.85k|    PROTECT(topExp = R_CurrentExpr);
  ------------------
  |  |  357|  7.85k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  793|  7.85k|    PROTECT(oldHStack = R_HandlerStack);
  ------------------
  |  |  357|  7.85k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  794|  7.85k|    PROTECT(oldRStack = R_RestartStack);
  ------------------
  |  |  357|  7.85k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  795|  7.85k|    PROTECT(oldRVal = R_ReturnedValue);
  ------------------
  |  |  357|  7.85k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  796|  7.85k|    oldvis = R_Visible;
  797|  7.85k|    R_HandlerStack = R_NilValue;
  798|  7.85k|    R_RestartStack = R_NilValue;
  799|  7.85k|    saveToplevelContext = R_ToplevelContext;
  800|       |
  801|  7.85k|    begincontext(&thiscontext, CTXT_TOPLEVEL, R_NilValue, R_GlobalEnv,
  ------------------
  |  | 1869|  7.85k|# define begincontext		Rf_begincontext
  ------------------
  802|  7.85k|		 R_BaseEnv, R_NilValue, R_NilValue);
  803|  7.85k|    if (SETJMP(thiscontext.cjmpbuf))
  ------------------
  |  | 1162|  7.85k|# define SETJMP(x) sigsetjmp(x,0)
  ------------------
  |  Branch (803:9): [True: 3.07k, False: 4.78k]
  ------------------
  804|  3.07k|	result = FALSE;
  805|  4.78k|    else {
  806|  4.78k|	R_GlobalContext = R_ToplevelContext = &thiscontext;
  807|  4.78k|	fun(data);
  808|  4.78k|	result = TRUE;
  809|  4.78k|    }
  810|  7.85k|    endcontext(&thiscontext);
  ------------------
  |  | 1900|  7.85k|# define endcontext		Rf_endcontext
  ------------------
  811|       |
  812|  7.85k|    R_ToplevelContext = saveToplevelContext;
  813|  7.85k|    R_CurrentExpr = topExp;
  814|  7.85k|    R_HandlerStack = oldHStack;
  815|  7.85k|    R_RestartStack = oldRStack;
  816|  7.85k|    R_ReturnedValue = oldRVal;
  817|  7.85k|    R_Visible = oldvis;
  818|  7.85k|    UNPROTECT(4);
  ------------------
  |  |  358|  7.85k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  819|       |
  820|  7.85k|    return result;
  821|  7.85k|}
R_tryEval:
  877|  3.93k|{
  878|  3.93k|    Rboolean ok;
  879|  3.93k|    ProtectedEvalData data;
  880|       |
  881|  3.93k|    data.expression = e;
  882|  3.93k|    data.val = NULL;
  883|  3.93k|    data.env = env;
  884|       |
  885|  3.93k|    ok = R_ToplevelExec(protectedEval, &data);
  886|  3.93k|    if (ErrorOccurred) {
  ------------------
  |  Branch (886:9): [True: 3.93k, False: 0]
  ------------------
  887|  3.93k|	*ErrorOccurred = (ok == FALSE);
  888|  3.93k|    }
  889|  3.93k|    if (ok == FALSE)
  ------------------
  |  Branch (889:9): [True: 3.07k, False: 858]
  ------------------
  890|  3.07k|	data.val = NULL;
  891|    858|    else
  892|    858|	R_ReleaseObject(data.val);
  893|       |
  894|  3.93k|    return(data.val);
  895|  3.93k|}
R_tryEvalSilent:
  904|  3.92k|{
  905|  3.92k|    SEXP val;
  906|  3.92k|    int oldshow = R_ShowErrorMessages;
  907|  3.92k|    R_ShowErrorMessages = FALSE;
  908|  3.92k|    val = R_tryEval(e, env, ErrorOccurred);
  909|  3.92k|    R_ShowErrorMessages = oldshow;
  910|  3.92k|    return val;
  911|  3.92k|}
R_ExecWithCleanup:
  915|  1.04M|{
  916|  1.04M|    RCNTXT cntxt;
  917|  1.04M|    SEXP result;
  918|       |
  919|  1.04M|    begincontext(&cntxt, CTXT_CCODE, R_NilValue, R_BaseEnv, R_BaseEnv,
  ------------------
  |  | 1869|  1.04M|# define begincontext		Rf_begincontext
  ------------------
  920|  1.04M|		 R_NilValue, R_NilValue);
  921|  1.04M|    cntxt.cend = cleanfun;
  922|  1.04M|    cntxt.cenddata = cleandata;
  923|       |
  924|  1.04M|    PROTECT(result = fun(data));
  ------------------
  |  |  357|  1.04M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  925|  1.04M|    cleanfun(cleandata);
  926|  1.04M|    endcontext(&cntxt);
  ------------------
  |  | 1900|  1.04M|# define endcontext		Rf_endcontext
  ------------------
  927|  1.04M|    UNPROTECT(1);
  ------------------
  |  |  358|  1.04M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  928|       |
  929|  1.04M|    return result;
  930|  1.04M|}
R_MakeUnwindCont:
  941|     49|{
  942|     49|    return CONS(R_NilValue, allocVector(RAWSXP, sizeof(unwind_cont_t)));
  ------------------
  |  |  309|     49|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
  943|     49|}
R_UnwindProtect:
  957|     98|{
  958|     98|    RCNTXT thiscontext;
  959|     98|    volatile SEXP result;
  960|     98|    Rboolean jump;
  961|       |
  962|       |    /* Allow simple usage with a NULL continuation token. This _could_
  963|       |       result in a failure in allocation or exceeding the PROTECT
  964|       |       stack limit before calling fun(), so fun() and cleanfun should
  965|       |       be written accordingly. */
  966|     98|    if (cont == NULL) {
  ------------------
  |  Branch (966:9): [True: 49, False: 49]
  ------------------
  967|     49|	PROTECT(cont = R_MakeUnwindCont());
  ------------------
  |  |  357|     49|#define PROTECT(s)	Rf_protect(s)
  ------------------
  968|     49|	result = R_UnwindProtect(fun, data, cleanfun, cleandata, cont);
  969|     49|	UNPROTECT(1);
  ------------------
  |  |  358|     49|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  970|     49|	return result;
  971|     49|    }
  972|       |
  973|     49|    begincontext(&thiscontext, CTXT_UNWIND, R_NilValue, R_GlobalEnv,
  ------------------
  |  | 1869|     49|# define begincontext		Rf_begincontext
  ------------------
  974|     49|		 R_BaseEnv, R_NilValue, R_NilValue);
  975|     49|    if (SETJMP(thiscontext.cjmpbuf)) {
  ------------------
  |  | 1162|     49|# define SETJMP(x) sigsetjmp(x,0)
  ------------------
  |  Branch (975:9): [True: 0, False: 49]
  ------------------
  976|      0|	jump = TRUE;
  977|      0|	SETCAR(cont, R_ReturnedValue);
  978|      0|	unwind_cont_t *u = RAWDATA(CDR(cont));
  ------------------
  |  |  945|      0|#define RAWDATA(x) ((void *) RAW0(x))
  ------------------
  979|      0|	u->jumpmask = thiscontext.jumpmask;
  980|      0|	u->jumptarget = thiscontext.jumptarget;
  981|      0|	thiscontext.jumptarget = NULL;
  982|      0|    }
  983|     49|    else {
  984|     49|	result = fun(data);
  985|     49|	SETCAR(cont, result);
  986|     49|	jump = FALSE;
  987|     49|    }
  988|     49|    endcontext(&thiscontext);
  ------------------
  |  | 1900|     49|# define endcontext		Rf_endcontext
  ------------------
  989|       |
  990|     49|    cleanfun(cleandata, jump);
  991|       |
  992|     49|    if (jump)
  ------------------
  |  Branch (992:9): [True: 0, False: 49]
  ------------------
  993|      0|	R_ContinueUnwind(cont);	
  994|       |
  995|     49|    return result;
  996|     98|}
context.c:first_jump_target:
  199|  1.06M|{
  200|  1.06M|    RCNTXT *c;
  201|       |
  202|  2.12M|    for (c = R_GlobalContext; c && c != cptr; c = c->nextcontext) {
  ------------------
  |  Branch (202:31): [True: 2.12M, False: 0]
  |  Branch (202:36): [True: 1.06M, False: 1.06M]
  ------------------
  203|  1.06M|	if ((c->cloenv != R_NilValue && c->conexit != R_NilValue) ||
  ------------------
  |  Branch (203:7): [True: 1.06M, False: 0]
  |  Branch (203:34): [True: 345, False: 1.06M]
  ------------------
  204|  1.06M|	    c->callflag == CTXT_UNWIND) {
  ------------------
  |  Branch (204:6): [True: 0, False: 1.06M]
  ------------------
  205|    345|	    c->jumptarget = cptr;
  206|    345|	    c->jumpmask = mask;
  207|    345|	    return c;
  208|    345|	}
  209|  1.06M|    }
  210|  1.06M|    return cptr;
  211|  1.06M|}
context.c:R_restore_globals:
  171|  1.06M|{
  172|  1.06M|    R_PPStackTop = cptr->cstacktop;
  173|  1.06M|    R_GCEnabled = cptr->gcenabled;
  174|  1.06M|    R_BCIntActive = cptr->bcintactive;
  175|  1.06M|    R_BCpc = cptr->bcpc;
  176|  1.06M|    R_BCbody = cptr->bcbody;
  177|  1.06M|    R_BCFrame = cptr->bcframe;
  178|  1.06M|    R_EvalDepth = cptr->evaldepth;
  179|  1.06M|    vmaxset(cptr->vmax);
  180|  1.06M|    R_interrupts_suspended = (Rboolean) cptr->intsusp;
  181|  1.06M|    R_HandlerStack = cptr->handlerstack;
  182|  1.06M|    R_RestartStack = cptr->restartstack;
  183|  2.11M|    while (R_PendingPromises != cptr->prstack) {
  ------------------
  |  Branch (183:12): [True: 1.05M, False: 1.06M]
  ------------------
  184|       |	/* The value 2 installed in PRSEEN 2 allows forcePromise in
  185|       |	   eval.c to signal a warning when asked to evaluate a promise
  186|       |	   whose evaluation has been interrupted by a jump. */
  187|  1.05M|	SET_PRSEEN(R_PendingPromises->promise, 2);
  188|  1.05M|	R_PendingPromises = R_PendingPromises->next;
  189|  1.05M|    }
  190|       |    /* Need to reset R_Expressions in case we are jumping after
  191|       |       handling a stack overflow. */
  192|  1.06M|    R_Expressions = R_Expressions_keep;
  193|  1.06M|    R_BCNodeStackTop = cptr->nodestack;
  194|  1.06M|    R_Srcref = cptr->srcref;
  195|  1.06M|    R_BCProtReset(cptr->bcprottop);
  196|  1.06M|}
context.c:getCallWithSrcref:
  464|  2.73k|{
  465|  2.73k|    SEXP result;
  466|       |
  467|  2.73k|    PROTECT(result = shallow_duplicate(cptr->call));
  ------------------
  |  |  357|  2.73k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  468|  2.73k|    if (cptr->srcref && !isNull(cptr->srcref)) {
  ------------------
  |  |  956|  2.73k|#define isNull			Rf_isNull
  ------------------
  |  Branch (468:9): [True: 2.73k, False: 0]
  |  Branch (468:25): [True: 2.71k, False: 18]
  ------------------
  469|  2.71k|	SEXP sref;
  470|  2.71k|	if (cptr->srcref == R_InBCInterpreter)
  ------------------
  |  Branch (470:6): [True: 2.71k, False: 0]
  ------------------
  471|       |	    /* FIXME: this is expensive, it might be worth changing sys.call */
  472|       |	    /* to return srcrefs only on request (add `with.source` option) */
  473|  2.71k|	    sref = R_findBCInterpreterSrcref(cptr);
  474|      0|	else
  475|      0|	    sref = cptr->srcref;
  476|  2.71k|	setAttrib(result, R_SrcrefSymbol, duplicate(sref));
  ------------------
  |  | 1027|  2.71k|#define setAttrib		Rf_setAttrib
  ------------------
              	setAttrib(result, R_SrcrefSymbol, duplicate(sref));
  ------------------
  |  |  909|  2.71k|#define duplicate		Rf_duplicate
  ------------------
  477|  2.71k|    }
  478|  2.73k|    UNPROTECT(1);
  ------------------
  |  |  358|  2.73k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  479|  2.73k|    return result;
  480|  2.73k|}
context.c:protectedEval:
  865|  3.93k|{
  866|  3.93k|    ProtectedEvalData *data = (ProtectedEvalData *)d;
  867|  3.93k|    SEXP env = R_GlobalEnv;
  868|  3.93k|    if(data->env) {
  ------------------
  |  Branch (868:8): [True: 3.93k, False: 0]
  ------------------
  869|  3.93k|	env = data->env;
  870|  3.93k|    }
  871|  3.93k|    data->val = eval(data->expression, env);
  ------------------
  |  |  913|  3.93k|#define eval			Rf_eval
  ------------------
  872|  3.93k|    R_PreserveObject(data->val);
  873|  3.93k|}

do_deparse:
  168|     64|{
  169|     64|    checkArity(op, args);
  ------------------
  |  | 1793|     64|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  170|       |
  171|     64|    SEXP expr = CAR(args); args = CDR(args);
  172|     64|    int cut0 = DEFAULT_Cutoff;
  ------------------
  |  |  119|     64|#define DEFAULT_Cutoff 60
  ------------------
  173|     64|    if(!isNull(CAR(args))) {
  ------------------
  |  |  956|     64|#define isNull			Rf_isNull
  ------------------
  |  Branch (173:8): [True: 64, False: 0]
  ------------------
  174|     64|	cut0 = asInteger(CAR(args));
  ------------------
  |  |  885|     64|#define asInteger		Rf_asInteger
  ------------------
  175|     64|	if(cut0 == NA_INTEGER|| cut0 < MIN_Cutoff || cut0 > MAX_Cutoff) {
  ------------------
  |  |   56|    128|#define NA_INTEGER	R_NaInt
  ------------------
              	if(cut0 == NA_INTEGER|| cut0 < MIN_Cutoff || cut0 > MAX_Cutoff) {
  ------------------
  |  |  118|    128|#define MIN_Cutoff 20
  ------------------
              	if(cut0 == NA_INTEGER|| cut0 < MIN_Cutoff || cut0 > MAX_Cutoff) {
  ------------------
  |  |  120|     64|#define MAX_Cutoff (BUFSIZE - 12)
  |  |  ------------------
  |  |  |  |  116|     64|#define BUFSIZE 512
  |  |  ------------------
  ------------------
  |  Branch (175:5): [True: 0, False: 64]
  |  Branch (175:26): [True: 0, False: 64]
  |  Branch (175:47): [True: 0, False: 64]
  ------------------
  176|      0|	    warning(_("invalid 'cutoff' value for 'deparse', using default"));
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	    warning(_("invalid 'cutoff' value for 'deparse', using default"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  177|      0|	    cut0 = DEFAULT_Cutoff;
  ------------------
  |  |  119|      0|#define DEFAULT_Cutoff 60
  ------------------
  178|      0|	}
  179|     64|    }
  180|     64|    args = CDR(args);
  181|     64|    bool backtick = isNull(CAR(args)) ? 0 : asRbool(CAR(args), call);
  ------------------
  |  |  956|     64|#define isNull			Rf_isNull
  ------------------
                  bool backtick = isNull(CAR(args)) ? 0 : asRbool(CAR(args), call);
  ------------------
  |  | 1866|     64|# define asRbool		Rf_asRbool
  ------------------
  |  Branch (181:21): [True: 0, False: 64]
  ------------------
  182|     64|    args = CDR(args);
  183|     64|    int opts = isNull(CAR(args)) ? SHOWATTRIBUTES : asInteger(CAR(args));
  ------------------
  |  |  956|     64|#define isNull			Rf_isNull
  ------------------
                  int opts = isNull(CAR(args)) ? SHOWATTRIBUTES : asInteger(CAR(args));
  ------------------
  |  | 2075|      0|#define SHOWATTRIBUTES 		4
  ------------------
                  int opts = isNull(CAR(args)) ? SHOWATTRIBUTES : asInteger(CAR(args));
  ------------------
  |  |  885|     64|#define asInteger		Rf_asInteger
  ------------------
  |  Branch (183:16): [True: 0, False: 64]
  ------------------
  184|     64|    args = CDR(args);
  185|     64|    int nlines = asInteger(CAR(args));
  ------------------
  |  |  885|     64|#define asInteger		Rf_asInteger
  ------------------
  186|     64|    if (nlines == NA_INTEGER) nlines = -1;
  ------------------
  |  |   56|     64|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (186:9): [True: 0, False: 64]
  ------------------
  187|     64|    return deparse1WithCutoff(expr, false, cut0, backtick, opts, nlines);
  188|     64|}
Rf_deparse1s:
  384|  3.07k|{
  385|  3.07k|   bool backtick=true;
  386|  3.07k|   return
  387|  3.07k|       deparse1WithCutoff(call, false, DEFAULT_Cutoff, backtick,
  ------------------
  |  |  119|  3.07k|#define DEFAULT_Cutoff 60
  ------------------
  388|  3.07k|			  DEFAULTDEPARSE, /* nlines = */ 1);
  ------------------
  |  | 2086|  3.07k|#define DEFAULTDEPARSE		1089 /* KEEPINTEGER | KEEPNA | NICE_NAMES, used for calls */
  ------------------
  389|  3.07k|}
deparse.c:deparse1WithCutoff:
  234|  3.13k|{
  235|       |/* Arg. abbrev:
  236|       |	If abbrev is TRUE, then the returned value
  237|       |	is a STRSXP of length 1 with at most 13 characters.
  238|       |	This is used for plot labelling etc.
  239|       |*/
  240|  3.13k|    SEXP svec;
  241|  3.13k|    int savedigits;
  242|  3.13k|    bool need_ellipses = false;
  243|  3.13k|    LocalParseData localData = {
  244|  3.13k|	.linenumber = 0,
  245|  3.13k|	.len = 0,
  246|  3.13k|	.incurly = 0,
  247|  3.13k|	.inlist = 0,
  248|  3.13k|	.startline = true,
  249|  3.13k|	.indent = 0,
  250|  3.13k|	.strvec = NULL,
  251|  3.13k|	.left = 0,
  252|  3.13k|	.buffer = { NULL, 0, BUFSIZE },
  ------------------
  |  |  116|  3.13k|#define BUFSIZE 512
  ------------------
  253|  3.13k|	.cutoff = DEFAULT_Cutoff,
  ------------------
  |  |  119|  3.13k|#define DEFAULT_Cutoff 60
  ------------------
  254|  3.13k|	.backtick = false,
  255|  3.13k|	.opts = 0,
  256|  3.13k|	.sourceable = true,
  257|       |#ifdef longstring_WARN
  258|       |	.longstring = false,
  259|       |#endif
  260|  3.13k|	.maxlines = INT_MAX,
  261|  3.13k|	.active = true,
  262|  3.13k|	.isS4 = 0,
  263|  3.13k|	.fnarg = false
  264|  3.13k|    };
  265|  3.13k|    localData.cutoff = cutoff;
  266|  3.13k|    localData.backtick = backtick;
  267|  3.13k|    localData.opts = opts;
  268|  3.13k|    localData.strvec = R_NilValue;
  269|       |
  270|       |    /* Set up a context to free the heap-allocated buffer when an error
  271|       |       signalled during deparsing unwinds past this frame */
  272|  3.13k|    RCNTXT cntxt;
  273|  3.13k|    begincontext(&cntxt, CTXT_CCODE, R_NilValue, R_BaseEnv, R_BaseEnv,
  ------------------
  |  | 1869|  3.13k|# define begincontext		Rf_begincontext
  ------------------
  274|  3.13k|		 R_NilValue, R_NilValue);
  275|  3.13k|    cntxt.cend = &deparse_cleanup;
  276|  3.13k|    cntxt.cenddata = &localData;
  277|       |
  278|  3.13k|    PrintDefaults(); /* from global options() */
  ------------------
  |  | 1975|  3.13k|# define PrintDefaults		Rf_PrintDefaults
  ------------------
  279|  3.13k|    savedigits = R_print.digits;
  280|  3.13k|    R_print.digits = DBL_DIG;/* MAX precision */
  281|  3.13k|    print2buff("", &localData); /* ensure allocation of buffer.data, PR#17876 */
  282|       |
  283|  3.13k|    svec = R_NilValue;
  284|  3.13k|    if (nlines > 0) {
  ------------------
  |  Branch (284:9): [True: 3.07k, False: 64]
  ------------------
  285|  3.07k|	localData.linenumber = localData.maxlines = nlines;
  286|  3.07k|    } else { // default: nlines = -1 (from R), or = 0 (from other C fn's)
  287|     64|	if(R_BrowseLines > 0)// not by default; e.g. from getOption("deparse.max.lines")
  ------------------
  |  Branch (287:5): [True: 0, False: 64]
  ------------------
  288|      0|	    localData.maxlines = R_BrowseLines + 1; // enough to determine linenumber
  289|     64|	deparse2(call, svec, &localData);
  290|     64|	localData.active = true;
  291|     64|	if(R_BrowseLines > 0 && localData.linenumber > R_BrowseLines) {
  ------------------
  |  Branch (291:5): [True: 0, False: 64]
  |  Branch (291:26): [True: 0, False: 0]
  ------------------
  292|      0|	    localData.linenumber = R_BrowseLines + 1;
  293|      0|	    need_ellipses = true;
  294|      0|	}
  295|     64|    }
  296|  3.13k|    PROTECT(svec = allocVector(STRSXP, localData.linenumber));
  ------------------
  |  |  357|  3.13k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  297|  3.13k|    deparse2(call, svec, &localData);
  298|  3.13k|    if (abbrev) {
  ------------------
  |  Branch (298:9): [True: 0, False: 3.13k]
  ------------------
  299|      0|	char data[14];
  300|      0|	strncpy(data, CHAR(STRING_ELT(svec, 0)), 10);
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  301|      0|	data[10] = '\0';
  302|      0|	if (strlen(CHAR(STRING_ELT(svec, 0))) > 10) strcat(data, "...");
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (302:6): [True: 0, False: 0]
  ------------------
  303|      0|	svec = mkString(data);
  ------------------
  |  | 1003|      0|#define mkString		Rf_mkString
  ------------------
  304|  3.13k|    } else if(need_ellipses) {
  ------------------
  |  Branch (304:15): [True: 0, False: 3.13k]
  ------------------
  305|      0|	SET_STRING_ELT(svec, R_BrowseLines, mkChar("  ..."));
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
  306|      0|    }
  307|  3.13k|    if(nlines > 0 && localData.linenumber < nlines) {
  ------------------
  |  Branch (307:8): [True: 3.07k, False: 64]
  |  Branch (307:22): [True: 0, False: 3.07k]
  ------------------
  308|      0|	UNPROTECT(1); /* old svec value */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  309|      0|	PROTECT(svec);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  310|      0|	svec = lengthgets(svec, localData.linenumber);
  ------------------
  |  |  988|      0|#define lengthgets		Rf_lengthgets
  ------------------
  311|      0|    }
  312|  3.13k|    UNPROTECT(1);
  ------------------
  |  |  358|  3.13k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  313|  3.13k|    PROTECT(svec); /* protect from warning() allocating, PR#14356 */
  ------------------
  |  |  357|  3.13k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  314|  3.13k|    R_print.digits = savedigits;
  315|       |    /*: Don't warn anymore, we do deal with most (-> 'S4SXP' below)
  316|       |    if ((opts & WARNINCOMPLETE) && localData.isS4)
  317|       |	warning(_("deparse of an S4 object may not always be source()able"));
  318|       |	else */
  319|  3.13k|    if ((opts & WARNINCOMPLETE) && !localData.sourceable)
  ------------------
  |  | 2077|  3.13k|#define WARNINCOMPLETE 		16
  ------------------
  |  Branch (319:9): [True: 0, False: 3.13k]
  |  Branch (319:36): [True: 0, False: 0]
  ------------------
  320|      0|	warning(_("deparse may be incomplete"));
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	warning(_("deparse may be incomplete"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  321|       |#ifdef longstring_WARN
  322|       |    if ((opts & WARNINCOMPLETE) && localData.longstring)
  323|       |	warning(_("deparse may be not be source()able in R < 2.7.0"));
  324|       |#endif
  325|       |    /* somewhere lower down might have allocated ... */
  326|  3.13k|    endcontext(&cntxt);
  ------------------
  |  | 1900|  3.13k|# define endcontext		Rf_endcontext
  ------------------
  327|  3.13k|    R_FreeStringBuffer(&(localData.buffer));
  328|  3.13k|    UNPROTECT(1);
  ------------------
  |  |  358|  3.13k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  329|  3.13k|    return svec;
  330|  3.13k|}
deparse.c:print2buff:
 1607|  50.8k|{
 1608|  50.8k|    size_t tlen, bufflen;
 1609|  50.8k|    static unsigned int appends = 0;
 1610|       |
 1611|  50.8k|    if ((++appends & 1023) == 0)
  ------------------
  |  Branch (1611:9): [True: 49, False: 50.7k]
  ------------------
 1612|     49|	R_UnwindProtect(deparse_poll, NULL,
 1613|     49|			deparse_poll_cleanup, &(d->buffer), NULL);
 1614|       |
 1615|  50.8k|    if (d->startline) {
  ------------------
  |  Branch (1615:9): [True: 3.97k, False: 46.8k]
  ------------------
 1616|  3.97k|	d->startline = false;
 1617|  3.97k|	printtab2buff(d->indent, d);	/*if at the start of a line tab over */
 1618|  3.97k|    }
 1619|  50.8k|    tlen = strlen(strng);
 1620|  50.8k|    R_AllocStringBuffer(0, &(d->buffer));
 1621|  50.8k|    bufflen = strlen(d->buffer.data);
 1622|  50.8k|    R_AllocStringBuffer(bufflen + tlen, &(d->buffer));
 1623|  50.8k|    strcat(d->buffer.data, strng);
 1624|  50.8k|    d->len += (int) tlen;
 1625|  50.8k|}
deparse.c:deparse_poll:
 1594|     49|{
 1595|     49|    (void) data;
 1596|     49|    R_CheckUserInterrupt();
 1597|     49|    return R_NilValue;
 1598|     49|}
deparse.c:deparse_poll_cleanup:
 1601|     49|{
 1602|     49|    if (jump)
  ------------------
  |  Branch (1602:9): [True: 0, False: 49]
  ------------------
 1603|      0|	R_FreeStringBuffer((R_StringBuffer *) data);
 1604|     49|}
deparse.c:printtab2buff:
 2020|  3.97k|{
 2021|  3.97k|    int i;
 2022|       |
 2023|  4.59k|    for (i = 1; i <= ntab; i++)
  ------------------
  |  Branch (2023:17): [True: 616, False: 3.97k]
  ------------------
 2024|    616|	if (i <= 4)
  ------------------
  |  Branch (2024:6): [True: 616, False: 0]
  ------------------
 2025|    616|	    print2buff("    ", d);
 2026|      0|	else
 2027|      0|	    print2buff("  ", d);
 2028|  3.97k|}
deparse.c:deparse2:
  568|  3.20k|{
  569|  3.20k|    d->strvec = svec;
  570|  3.20k|    d->linenumber = 0;
  571|  3.20k|    d->indent = 0;
  572|  3.20k|    deparse2buff(what, d);
  573|  3.20k|    writeline(d);
  574|  3.20k|}
deparse.c:deparse2buff:
  914|  20.8k|{
  915|  20.8k|    bool lookahead = false, lbreak = false, fnarg = d->fnarg;
  916|  20.8k|    attr_type attr = STRUC_ATTR;
  917|  20.8k|    SEXP t;
  918|  20.8k|    int d_opts_in = d->opts, i, n;
  919|       |
  920|  20.8k|    d->fnarg = false;
  921|       |
  922|       |    /* This flag should only be set when recursing through the LHS
  923|       |       of binary ops, so by default we reset to zero */
  924|  20.8k|    int prevLeft = d->left;
  925|  20.8k|    d->left = 0;
  926|       |
  927|  20.8k|    if (!d->active) return;
  ------------------
  |  Branch (927:9): [True: 0, False: 20.8k]
  ------------------
  928|       |
  929|  20.8k|    if (IS_S4_OBJECT(s)) {
  ------------------
  |  Branch (929:9): [True: 0, False: 20.8k]
  ------------------
  930|      0|	d->isS4 = true;
  ------------------
  |  |  964|      0|#define isS4			Rf_isS4
  ------------------
  931|       |	/* const void *vmax = vmaxget(); */
  932|      0|	SEXP class = getAttrib(s, R_ClassSymbol),
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
  933|      0|	    cl_def = TYPEOF(class) == STRSXP ? STRING_ELT(class, 0) : R_NilValue;
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (933:15): [True: 0, False: 0]
  ------------------
  934|      0|	if(TYPEOF(cl_def) == CHARSXP) { // regular S4 objects
  ------------------
  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  ------------------
  |  Branch (934:5): [True: 0, False: 0]
  ------------------
  935|      0|	    print2buff("new(\"", d);
  936|      0|	    print2buff(translateChar(cl_def), d);
  ------------------
  |  | 1037|      0|#define translateChar		Rf_translateChar
  ------------------
  937|      0|	    print2buff("\", ", d);
  938|      0|	    SEXP slotNms; // ---- slotNms := methods::.slotNames(s)  ---------
  939|       |	    // computed alternatively, slotNms := names(getClassDef(class)@slots) :
  940|      0|	    static SEXP R_getClassDef = NULL, R_slots = NULL, R_asS3 = NULL;
  941|      0|	    if(R_getClassDef == NULL)
  ------------------
  |  Branch (941:9): [True: 0, False: 0]
  ------------------
  942|      0|		R_getClassDef = findFun(install("getClassDef"), R_MethodsNamespace);
  ------------------
  |  |  915|      0|#define findFun			Rf_findFun
  ------------------
              		R_getClassDef = findFun(install("getClassDef"), R_MethodsNamespace);
  ------------------
  |  |  934|      0|#define install			Rf_install
  ------------------
  943|      0|	    if(R_slots == NULL) R_slots = install("slots");
  ------------------
  |  |  934|      0|#define install			Rf_install
  ------------------
  |  Branch (943:9): [True: 0, False: 0]
  ------------------
  944|      0|	    if(R_asS3  == NULL) R_asS3  = install("asS3");
  ------------------
  |  |  934|      0|#define install			Rf_install
  ------------------
  |  Branch (944:9): [True: 0, False: 0]
  ------------------
  945|      0|	    SEXP e = PROTECT(lang2(R_getClassDef, class));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  946|      0|	    cl_def = PROTECT(eval(e, R_BaseEnv)); // correct env?
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  947|      0|	    slotNms = // names( cl_def@slots ) :
  948|      0|		getAttrib(R_do_slot(cl_def, R_slots), R_NamesSymbol);
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
  949|      0|	    UNPROTECT(2); // (e, cl_def)
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  950|      0|	    int n;
  951|      0|	    bool has_Data = false;// does it have ".Data" slot?
  952|      0|	    bool hasS4_t = TYPEOF(s) == OBJSXP;
  ------------------
  |  |  137|      0|#define OBJSXP      25    /* object, non-vector  */
  ------------------
  953|      0|	    if(TYPEOF(slotNms) == STRSXP && (n = LENGTH(slotNms))) {
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (953:9): [True: 0, False: 0]
  |  Branch (953:38): [True: 0, False: 0]
  ------------------
  954|      0|		PROTECT(slotNms);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  955|      0|		SEXP slotlist = PROTECT(allocVector(VECSXP, n));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  956|       |		// := structure(lapply(slotNms, slot, object=s), names=slotNms)
  957|      0|		for(int i=0; i < n; i++) {
  ------------------
  |  Branch (957:16): [True: 0, False: 0]
  ------------------
  958|      0|		    SEXP slot_i = STRING_ELT(slotNms, i);
  959|      0|		    SET_VECTOR_ELT(slotlist, i, R_do_slot(s, installTrChar(slot_i)));
  ------------------
  |  |  937|      0|#define installTrChar		Rf_installTrChar
  ------------------
  960|      0|		    if(!hasS4_t && !has_Data)
  ------------------
  |  Branch (960:10): [True: 0, False: 0]
  |  Branch (960:22): [True: 0, False: 0]
  ------------------
  961|      0|			has_Data = (strcmp(CHAR(slot_i), ".Data") == 0);
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  962|      0|		}
  963|      0|		setAttrib(slotlist, R_NamesSymbol, slotNms);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  964|      0|		vec2buff(slotlist, d, true);
  965|       |		/*-----------------*/
  966|      0|		UNPROTECT(2); // (slotNms, slotlist)
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  967|      0|	    }
  968|      0|	    if(!hasS4_t && !has_Data) {
  ------------------
  |  Branch (968:9): [True: 0, False: 0]
  |  Branch (968:21): [True: 0, False: 0]
  ------------------
  969|       |		// may have *non*-slot contents, (i.e., not in .Data)
  970|       |		// ==> additionally deparse asS3(s) :
  971|      0|		e = PROTECT(lang2(R_asS3, s)); // = asS3(s)
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  972|      0|		SEXP S3_s = PROTECT(eval(e, R_BaseEnv)); // correct env?
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  973|      0|		print2buff(", ", d);
  974|      0|		deparse2buff(S3_s, d);
  975|      0|		UNPROTECT(2); // (e, S3_s)
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  976|      0|	    }
  977|      0|	    print2buff(")", d);
  978|      0|	}
  979|      0|	else { // exception: class is not CHARSXP
  980|      0|	    if(isNull(cl_def) && isNull(ATTRIB(s))) // special
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
              	    if(isNull(cl_def) && isNull(ATTRIB(s))) // special
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
  |  Branch (980:9): [True: 0, False: 0]
  |  Branch (980:27): [True: 0, False: 0]
  ------------------
  981|      0|		print2buff("getClass(\"S4\")@prototype", d);
  982|      0|	    else { // irregular S4 ((does this ever trigger ??))
  983|      0|		d->sourceable = false;
  984|      0|		print2buff("<S4 object of class ", d);
  985|      0|		deparse2buff(class, d);
  986|      0|		print2buff(">", d);
  987|      0|	    }
  988|      0|	}
  989|       |	/* vmaxset(vmax); */
  990|      0|	return;
  991|      0|    } // if( S4 )
  992|       |
  993|       |    // non-S4 cases:
  994|  20.8k|    switch (TYPEOF(s)) {
  995|      0|    case NILSXP:
  ------------------
  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (995:5): [True: 0, False: 20.8k]
  ------------------
  996|      0|	print2buff("NULL", d);
  997|      0|	break;
  998|  7.34k|    case SYMSXP: {
  ------------------
  |  |  112|  7.34k|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (998:5): [True: 7.34k, False: 13.5k]
  ------------------
  999|  7.34k|	bool
 1000|  7.34k|	    doquote = (d_opts_in & QUOTEEXPRESSIONS) && strlen(CHAR(PRINTNAME(s)));
  ------------------
  |  | 2074|  7.34k|#define QUOTEEXPRESSIONS 	2
  ------------------
              	    doquote = (d_opts_in & QUOTEEXPRESSIONS) && strlen(CHAR(PRINTNAME(s)));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (1000:16): [True: 0, False: 7.34k]
  |  Branch (1000:50): [True: 0, False: 0]
  ------------------
 1001|  7.34k|	if (doquote) {
  ------------------
  |  Branch (1001:6): [True: 0, False: 7.34k]
  ------------------
 1002|      0|	    attr = (d_opts_in & SHOW_ATTR_OR_NMS) ? attr1(s, d) : SIMPLE;
  ------------------
  |  |  911|      0|#define SHOW_ATTR_OR_NMS (SHOWATTRIBUTES | NICE_NAMES)
  |  |  ------------------
  |  |  |  | 2075|      0|#define SHOWATTRIBUTES 		4
  |  |  ------------------
  |  |               #define SHOW_ATTR_OR_NMS (SHOWATTRIBUTES | NICE_NAMES)
  |  |  ------------------
  |  |  |  | 2083|      0|#define NICE_NAMES             	1024
  |  |  ------------------
  ------------------
  |  Branch (1002:13): [True: 0, False: 0]
  ------------------
 1003|      0|	    print2buff("quote(", d);
 1004|      0|	}
 1005|  7.34k|	if (d_opts_in & S_COMPAT) {
  ------------------
  |  | 2080|  7.34k|#define S_COMPAT       		128
  ------------------
  |  Branch (1005:6): [True: 0, False: 7.34k]
  ------------------
 1006|      0|	    print2buff(quotify(PRINTNAME(s), '"'), d);
 1007|  7.34k|	} else if (d->backtick)
  ------------------
  |  Branch (1007:13): [True: 7.34k, False: 0]
  ------------------
 1008|  7.34k|	    print2buff(quotify(PRINTNAME(s), '`'), d);
 1009|      0|	else
 1010|      0|	    print2buff(CHAR(PRINTNAME(s)), d);
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 1011|  7.34k|	if (doquote) {
  ------------------
  |  Branch (1011:6): [True: 0, False: 7.34k]
  ------------------
 1012|      0|	    print2buff(")", d);
 1013|      0|	    if(attr >= STRUC_ATTR) attr2(s, d, (attr == STRUC_ATTR));
  ------------------
  |  Branch (1013:9): [True: 0, False: 0]
  ------------------
 1014|      0|	}
 1015|  7.34k|	break;
 1016|      0|    }
 1017|      0|    case CHARSXP:
  ------------------
  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  ------------------
  |  Branch (1017:5): [True: 0, False: 20.8k]
  ------------------
 1018|      0|    {
 1019|      0|	const void *vmax = vmaxget();
 1020|      0|	const char *ts = translateChar(s);
  ------------------
  |  | 1037|      0|#define translateChar		Rf_translateChar
  ------------------
 1021|       |#ifdef longstring_WARN
 1022|       |	/* versions of R < 2.7.0 cannot parse strings longer than 8192 chars */
 1023|       |	if(strlen(ts) >= 8192) d->longstring = true;
 1024|       |#endif
 1025|      0|	print2buff(ts, d);
 1026|      0|	vmaxset(vmax);
 1027|      0|	break;
 1028|      0|    }
 1029|      0|    case SPECIALSXP:
  ------------------
  |  |  118|      0|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (1029:5): [True: 0, False: 20.8k]
  ------------------
 1030|      0|    case BUILTINSXP:
  ------------------
  |  |  119|      0|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (1030:5): [True: 0, False: 20.8k]
  ------------------
 1031|      0|	print2buff(".Primitive(\"", d);
 1032|      0|	print2buff(PRIMNAME(s), d);
  ------------------
  |  | 1346|      0|#define PRIMNAME(x)	(R_FunTab[PRIMOFFSET(x)].name)
  ------------------
 1033|      0|	print2buff("\")", d);
 1034|      0|	break;
 1035|      0|    case PROMSXP:
  ------------------
  |  |  116|      0|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (1035:5): [True: 0, False: 20.8k]
  ------------------
 1036|      0|	if(d->opts & DELAYPROMISES) {
  ------------------
  |  | 2078|      0|#define DELAYPROMISES 		32
  ------------------
  |  Branch (1036:5): [True: 0, False: 0]
  ------------------
 1037|      0|	    d->sourceable = false;
 1038|      0|	    print2buff("<promise: ", d);
 1039|      0|	    d->opts &= ~QUOTEEXPRESSIONS; /* don't want delay(quote()) */
  ------------------
  |  | 2074|      0|#define QUOTEEXPRESSIONS 	2
  ------------------
 1040|      0|	    deparse2buff(PREXPR(s), d);
  ------------------
  |  |  720|      0|#define PREXPR(e) R_PromiseExpr(e)
  ------------------
 1041|      0|	    d->opts = d_opts_in;
 1042|      0|	    print2buff(">", d);
 1043|      0|	} else {
 1044|      0|	    PROTECT(s = eval(s, R_EmptyEnv)); /* eval uses env of promise */
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1045|      0|	    deparse2buff(s, d);
 1046|      0|	    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1047|      0|	}
 1048|      0|	break;
 1049|    128|    case CLOSXP:
  ------------------
  |  |  114|    128|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (1049:5): [True: 128, False: 20.7k]
  ------------------
 1050|    128|	attr = (d_opts_in & SHOW_ATTR_OR_NMS) ? attr1(s, d) : SIMPLE;
  ------------------
  |  |  911|    128|#define SHOW_ATTR_OR_NMS (SHOWATTRIBUTES | NICE_NAMES)
  |  |  ------------------
  |  |  |  | 2075|    128|#define SHOWATTRIBUTES 		4
  |  |  ------------------
  |  |               #define SHOW_ATTR_OR_NMS (SHOWATTRIBUTES | NICE_NAMES)
  |  |  ------------------
  |  |  |  | 2083|    128|#define NICE_NAMES             	1024
  |  |  ------------------
  ------------------
  |  Branch (1050:9): [True: 128, False: 0]
  ------------------
 1051|    128|	if ((d->opts & USESOURCE)
  ------------------
  |  | 2076|    128|#define USESOURCE 		8
  ------------------
  |  Branch (1051:6): [True: 0, False: 128]
  ------------------
 1052|      0|	    && !isNull(t = getAttrib(s, R_SrcrefSymbol)))
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
              	    && !isNull(t = getAttrib(s, R_SrcrefSymbol)))
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
  |  Branch (1052:9): [True: 0, False: 0]
  ------------------
 1053|      0|		src2buff1(t, d);
 1054|    128|	else {
 1055|       |	    /* We have established that we don't want to use the
 1056|       |	       source for this function */
 1057|    128|	    d->opts &= SIMPLE_OPTS & ~USESOURCE;
  ------------------
  |  |  908|    128|#define SIMPLE_OPTS (~QUOTEEXPRESSIONS & ~SHOWATTRIBUTES & ~DELAYPROMISES)
  |  |  ------------------
  |  |  |  | 2074|    128|#define QUOTEEXPRESSIONS 	2
  |  |  ------------------
  |  |               #define SIMPLE_OPTS (~QUOTEEXPRESSIONS & ~SHOWATTRIBUTES & ~DELAYPROMISES)
  |  |  ------------------
  |  |  |  | 2075|    128|#define SHOWATTRIBUTES 		4
  |  |  ------------------
  |  |               #define SIMPLE_OPTS (~QUOTEEXPRESSIONS & ~SHOWATTRIBUTES & ~DELAYPROMISES)
  |  |  ------------------
  |  |  |  | 2078|    128|#define DELAYPROMISES 		32
  |  |  ------------------
  ------------------
              	    d->opts &= SIMPLE_OPTS & ~USESOURCE;
  ------------------
  |  | 2076|    128|#define USESOURCE 		8
  ------------------
 1058|    128|	    print2buff("function (", d);
 1059|    128|	    args2buff(FORMALS(s), 0, 1, d);
 1060|    128|	    print2buff(") ", d);
 1061|       |
 1062|    128|	    writeline(d);
 1063|    128|	    deparse2buff(BODY_EXPR(s), d);
  ------------------
  |  | 1220|    128|#define BODY_EXPR(e) R_ClosureExpr(e)
  ------------------
 1064|    128|	    d->opts = d_opts_in;
 1065|    128|	}
 1066|    128|	if(attr >= STRUC_ATTR) attr2(s, d, (attr == STRUC_ATTR));
  ------------------
  |  Branch (1066:5): [True: 0, False: 128]
  ------------------
 1067|    128|	break;
 1068|      0|    case ENVSXP:
  ------------------
  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (1068:5): [True: 0, False: 20.8k]
  ------------------
 1069|      0|	d->sourceable = false;
 1070|      0|	print2buff("<environment>", d);
 1071|      0|	break;
 1072|      0|    case VECSXP:
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (1072:5): [True: 0, False: 20.8k]
  ------------------
 1073|      0|	attr = (d_opts_in & SHOW_ATTR_OR_NMS) ? attr1(s, d) : SIMPLE;
  ------------------
  |  |  911|      0|#define SHOW_ATTR_OR_NMS (SHOWATTRIBUTES | NICE_NAMES)
  |  |  ------------------
  |  |  |  | 2075|      0|#define SHOWATTRIBUTES 		4
  |  |  ------------------
  |  |               #define SHOW_ATTR_OR_NMS (SHOWATTRIBUTES | NICE_NAMES)
  |  |  ------------------
  |  |  |  | 2083|      0|#define NICE_NAMES             	1024
  |  |  ------------------
  ------------------
  |  Branch (1073:9): [True: 0, False: 0]
  ------------------
 1074|      0|	print2buff("list(", d);
 1075|      0|	d->opts = d_opts_in;// vec2buff() must use unchanged d
 1076|      0|	vec2buff(s, d, attr == OK_NAMES || attr == STRUC_ATTR);
  ------------------
  |  Branch (1076:17): [True: 0, False: 0]
  |  Branch (1076:37): [True: 0, False: 0]
  ------------------
 1077|      0|	d->opts |= NICE_NAMES;
  ------------------
  |  | 2083|      0|#define NICE_NAMES             	1024
  ------------------
 1078|      0|	print2buff(")", d);
 1079|      0|	if(attr >= STRUC_ATTR) attr2(s, d, (attr == STRUC_ATTR));
  ------------------
  |  Branch (1079:5): [True: 0, False: 0]
  ------------------
 1080|      0|	d->opts = d_opts_in;
 1081|      0|	break;
 1082|      0|    case EXPRSXP:
  ------------------
  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (1082:5): [True: 0, False: 20.8k]
  ------------------
 1083|      0|	attr = (d_opts_in & SHOW_ATTR_OR_NMS) ? attr1(s, d) : SIMPLE;
  ------------------
  |  |  911|      0|#define SHOW_ATTR_OR_NMS (SHOWATTRIBUTES | NICE_NAMES)
  |  |  ------------------
  |  |  |  | 2075|      0|#define SHOWATTRIBUTES 		4
  |  |  ------------------
  |  |               #define SHOW_ATTR_OR_NMS (SHOWATTRIBUTES | NICE_NAMES)
  |  |  ------------------
  |  |  |  | 2083|      0|#define NICE_NAMES             	1024
  |  |  ------------------
  ------------------
  |  Branch (1083:9): [True: 0, False: 0]
  ------------------
 1084|      0|	if(length(s) <= 0)
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1084:5): [True: 0, False: 0]
  ------------------
 1085|      0|	    print2buff("expression()", d);
 1086|      0|	else {
 1087|      0|	    int locOpts = d->opts;
 1088|      0|	    print2buff("expression(", d);
 1089|      0|	    d->opts &= SIMPLE_OPTS;
  ------------------
  |  |  908|      0|#define SIMPLE_OPTS (~QUOTEEXPRESSIONS & ~SHOWATTRIBUTES & ~DELAYPROMISES)
  |  |  ------------------
  |  |  |  | 2074|      0|#define QUOTEEXPRESSIONS 	2
  |  |  ------------------
  |  |               #define SIMPLE_OPTS (~QUOTEEXPRESSIONS & ~SHOWATTRIBUTES & ~DELAYPROMISES)
  |  |  ------------------
  |  |  |  | 2075|      0|#define SHOWATTRIBUTES 		4
  |  |  ------------------
  |  |               #define SIMPLE_OPTS (~QUOTEEXPRESSIONS & ~SHOWATTRIBUTES & ~DELAYPROMISES)
  |  |  ------------------
  |  |  |  | 2078|      0|#define DELAYPROMISES 		32
  |  |  ------------------
  ------------------
 1090|      0|	    vec2buff(s, d, attr == OK_NAMES || attr == STRUC_ATTR);
  ------------------
  |  Branch (1090:21): [True: 0, False: 0]
  |  Branch (1090:41): [True: 0, False: 0]
  ------------------
 1091|      0|	    d->opts = locOpts;
 1092|      0|	    print2buff(")", d);
 1093|      0|	}
 1094|      0|	if(attr >= STRUC_ATTR) attr2(s, d, (attr == STRUC_ATTR));
  ------------------
  |  Branch (1094:5): [True: 0, False: 0]
  ------------------
 1095|      0|	d->opts = d_opts_in;
 1096|      0|	break;
 1097|      0|    case LISTSXP: {
  ------------------
  |  |  113|      0|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (1097:5): [True: 0, False: 20.8k]
  ------------------
 1098|      0|	attr = (d_opts_in & SHOW_ATTR_OR_NMS) ? attr1(s, d) : SIMPLE;
  ------------------
  |  |  911|      0|#define SHOW_ATTR_OR_NMS (SHOWATTRIBUTES | NICE_NAMES)
  |  |  ------------------
  |  |  |  | 2075|      0|#define SHOWATTRIBUTES 		4
  |  |  ------------------
  |  |               #define SHOW_ATTR_OR_NMS (SHOWATTRIBUTES | NICE_NAMES)
  |  |  ------------------
  |  |  |  | 2083|      0|#define NICE_NAMES             	1024
  |  |  ------------------
  ------------------
  |  Branch (1098:9): [True: 0, False: 0]
  ------------------
 1099|       |	/* pairlist(x=) cannot be evaluated, hence with missings we use
 1100|       |	   as.pairlist(alist(...)) to allow evaluation of deparsed formals */
 1101|      0|	bool missing = false;
 1102|      0|	for(t=s; t != R_NilValue; t=CDR(t))
  ------------------
  |  Branch (1102:11): [True: 0, False: 0]
  ------------------
 1103|      0|	    if (CAR(t) == R_MissingArg) {
  ------------------
  |  Branch (1103:10): [True: 0, False: 0]
  ------------------
 1104|      0|		missing = true;
 1105|      0|		break;
 1106|      0|	    }
 1107|      0|	if (missing)
  ------------------
  |  Branch (1107:6): [True: 0, False: 0]
  ------------------
 1108|      0|	    print2buff("as.pairlist(alist(", d);
 1109|      0|	else
 1110|      0|	    print2buff("pairlist(", d);
 1111|      0|	d->inlist++;
 1112|      0|	for (t=s ; CDR(t) != R_NilValue ; t=CDR(t) ) {
  ------------------
  |  Branch (1112:13): [True: 0, False: 0]
  ------------------
 1113|      0|	    if( TAG(t) != R_NilValue ) {
  ------------------
  |  Branch (1113:10): [True: 0, False: 0]
  ------------------
 1114|      0|		d->opts = SIMPLEDEPARSE; /* turn off quote()ing */
  ------------------
  |  | 2085|      0|#define SIMPLEDEPARSE		0
  ------------------
 1115|      0|		deparse2buff(TAG(t), d);
 1116|      0|		d->opts = d_opts_in;
 1117|      0|		print2buff(" = ", d);
 1118|      0|	    }
 1119|      0|	    deparse2buff(CAR(t), d);
 1120|      0|	    print2buff(", ", d);
 1121|      0|	}
 1122|      0|	if( TAG(t) != R_NilValue ) {
  ------------------
  |  Branch (1122:6): [True: 0, False: 0]
  ------------------
 1123|      0|	    d->opts = SIMPLEDEPARSE; /* turn off quote()ing */
  ------------------
  |  | 2085|      0|#define SIMPLEDEPARSE		0
  ------------------
 1124|      0|	    deparse2buff(TAG(t), d);
 1125|      0|	    d->opts = d_opts_in;
 1126|      0|	    print2buff(" = ", d);
 1127|      0|	}
 1128|      0|	deparse2buff(CAR(t), d);
 1129|      0|	if (missing)
  ------------------
  |  Branch (1129:6): [True: 0, False: 0]
  ------------------
 1130|      0|	    print2buff("))", d);
 1131|      0|	else
 1132|      0|	    print2buff(")", d);
 1133|      0|	d->inlist--;
 1134|      0|	if(attr >= STRUC_ATTR) attr2(s, d, (attr == STRUC_ATTR));
  ------------------
  |  Branch (1134:5): [True: 0, False: 0]
  ------------------
 1135|      0|	break;
 1136|      0|    }
 1137|  8.57k|    case LANGSXP:
  ------------------
  |  |  117|  8.57k|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (1137:5): [True: 8.57k, False: 12.2k]
  ------------------
 1138|  8.57k|	if (!isNull(ATTRIB(s)))
  ------------------
  |  |  956|  8.57k|#define isNull			Rf_isNull
  ------------------
  |  Branch (1138:6): [True: 0, False: 8.57k]
  ------------------
 1139|      0|	    d->sourceable = false;
 1140|  8.57k|	SEXP op = CAR(s);
 1141|  8.57k|	bool doquote = false;
 1142|  8.57k|	bool maybe_quote = d_opts_in & QUOTEEXPRESSIONS;
  ------------------
  |  | 2074|  8.57k|#define QUOTEEXPRESSIONS 	2
  ------------------
 1143|  8.57k|	if (maybe_quote) {
  ------------------
  |  Branch (1143:6): [True: 0, False: 8.57k]
  ------------------
 1144|       |	    // do *not* quote() formulas:
 1145|      0|	    doquote = // := op is not `~` (tilde) :
 1146|      0|		!((TYPEOF(op) == SYMSXP) &&
  ------------------
  |  |  112|      0|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (1146:5): [True: 0, False: 0]
  ------------------
 1147|      0|		  !strcmp(CHAR(PRINTNAME(op)), "~"));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (1147:5): [True: 0, False: 0]
  ------------------
 1148|      0|	    if (doquote) {
  ------------------
  |  Branch (1148:10): [True: 0, False: 0]
  ------------------
 1149|      0|		print2buff("quote(", d);
 1150|      0|		d->opts &= SIMPLE_OPTS;
  ------------------
  |  |  908|      0|#define SIMPLE_OPTS (~QUOTEEXPRESSIONS & ~SHOWATTRIBUTES & ~DELAYPROMISES)
  |  |  ------------------
  |  |  |  | 2074|      0|#define QUOTEEXPRESSIONS 	2
  |  |  ------------------
  |  |               #define SIMPLE_OPTS (~QUOTEEXPRESSIONS & ~SHOWATTRIBUTES & ~DELAYPROMISES)
  |  |  ------------------
  |  |  |  | 2075|      0|#define SHOWATTRIBUTES 		4
  |  |  ------------------
  |  |               #define SIMPLE_OPTS (~QUOTEEXPRESSIONS & ~SHOWATTRIBUTES & ~DELAYPROMISES)
  |  |  ------------------
  |  |  |  | 2078|      0|#define DELAYPROMISES 		32
  |  |  ------------------
  ------------------
 1151|      0|		fnarg = true; // s is the argument of quote()
 1152|      0|	    } else { // `~`
 1153|      0|		d->opts &= ~QUOTEEXPRESSIONS;
  ------------------
  |  | 2074|      0|#define QUOTEEXPRESSIONS 	2
  ------------------
 1154|      0|	    }
 1155|      0|	}
 1156|       |
 1157|  8.57k|	if (TYPEOF(op) == SYMSXP) {
  ------------------
  |  |  112|  8.57k|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (1157:6): [True: 8.49k, False: 80]
  ------------------
 1158|  8.49k|	    int userbinop = 0;
 1159|  8.49k|	    if ((TYPEOF(SYMVALUE(op)) == BUILTINSXP) ||
  ------------------
  |  |  119|  8.49k|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (1159:10): [True: 2.64k, False: 5.85k]
  ------------------
 1160|  5.85k|		(TYPEOF(SYMVALUE(op)) == SPECIALSXP) ||
  ------------------
  |  |  118|  5.85k|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (1160:3): [True: 1.23k, False: 4.61k]
  ------------------
 1161|  4.61k|		(userbinop = isUserBinop(op))) {
  ------------------
  |  |  971|  4.61k|#define isUserBinop		Rf_isUserBinop
  ------------------
  |  Branch (1161:3): [True: 0, False: 4.61k]
  ------------------
 1162|  3.88k|		PPinfo fop;
 1163|  3.88k|		bool parens;
 1164|  3.88k|		s = CDR(s);
 1165|  3.88k|		if (userbinop) {
  ------------------
  |  Branch (1165:7): [True: 0, False: 3.88k]
  ------------------
 1166|      0|		    if (isNull(getAttrib(s, R_NamesSymbol))) {
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
              		    if (isNull(getAttrib(s, R_NamesSymbol))) {
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
  |  Branch (1166:11): [True: 0, False: 0]
  ------------------
 1167|       |			// not quite right for spacing, but can't be unary :
 1168|      0|			fop.kind = PP_BINARY2;
 1169|      0|			fop.precedence = PREC_PERCENT;
 1170|      0|			fop.rightassoc = 0;
 1171|      0|		    } else
 1172|       |			// if args are named, deparse as function call (PR#15350):
 1173|      0|			fop.kind = PP_FUNCALL;
 1174|      0|		} else
 1175|  3.88k|		    fop = PPINFO(SYMVALUE(op));
  ------------------
  |  | 1349|  3.88k|#define PPINFO(x)	(R_FunTab[PRIMOFFSET(x)].gram)
  ------------------
 1176|       |
 1177|  3.88k|		switch (fop.kind) {
 1178|    799|		case PP_BINARY:
  ------------------
  |  Branch (1178:3): [True: 799, False: 3.08k]
  ------------------
 1179|    799|		    switch (length(s)) {
  ------------------
  |  |  987|    799|#define length(x)		Rf_length(x)
  ------------------
 1180|      8|		    case 1:
  ------------------
  |  Branch (1180:7): [True: 8, False: 791]
  ------------------
 1181|      8|			fop.kind = PP_UNARY;
 1182|      8|			if (fop.precedence == PREC_SUM)
  ------------------
  |  Branch (1182:8): [True: 8, False: 0]
  ------------------
 1183|       |			    // binary +/- precedence upgraded as unary
 1184|      8|			    fop.precedence = PREC_SIGN;
 1185|      8|			break;
 1186|    791|		    case 2:
  ------------------
  |  Branch (1186:7): [True: 791, False: 8]
  ------------------
 1187|    791|			break;
 1188|      0|		    default:
  ------------------
  |  Branch (1188:7): [True: 0, False: 799]
  ------------------
 1189|      0|			fop.kind = PP_FUNCALL;
 1190|      0|			break;
 1191|    799|		    }
 1192|    799|		    break;
 1193|  1.07k|		case PP_BINARY2:
  ------------------
  |  Branch (1193:3): [True: 1.07k, False: 2.81k]
  ------------------
 1194|  1.07k|		    if (length(s) != 2)
  ------------------
  |  |  987|  1.07k|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1194:11): [True: 0, False: 1.07k]
  ------------------
 1195|      0|			fop.kind = PP_FUNCALL;
 1196|  1.07k|		    else if (userbinop)
  ------------------
  |  Branch (1196:16): [True: 0, False: 1.07k]
  ------------------
 1197|      0|			fop.kind = PP_BINARY;
 1198|  1.07k|		    break;
 1199|      0|		case PP_DOLLAR: {
  ------------------
  |  Branch (1199:3): [True: 0, False: 3.88k]
  ------------------
 1200|      0|		    if (length(s) != 2) {
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1200:11): [True: 0, False: 0]
  ------------------
 1201|      0|			fop.kind = PP_FUNCALL;
 1202|      0|			break;
 1203|      0|		    }
 1204|      0|		    SEXP rhs = CADR(s);
 1205|      0|		    if (TYPEOF(rhs) != SYMSXP && !(isValidString(rhs)
  ------------------
  |  |  112|      0|#define SYMSXP	     1	  /* symbols */
  ------------------
              		    if (TYPEOF(rhs) != SYMSXP && !(isValidString(rhs)
  ------------------
  |  |  972|      0|#define isValidString		Rf_isValidString
  ------------------
  |  Branch (1205:11): [True: 0, False: 0]
  |  Branch (1205:38): [True: 0, False: 0]
  ------------------
 1206|      0|						   && STRING_ELT(rhs, 0) != NA_STRING))
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  |  Branch (1206:13): [True: 0, False: 0]
  ------------------
 1207|      0|			fop.kind = PP_FUNCALL;
 1208|      0|		    break;
 1209|      0|		}
 1210|  2.01k|		default:
  ------------------
  |  Branch (1210:3): [True: 2.01k, False: 1.87k]
  ------------------
 1211|  2.01k|		    break;
 1212|  3.88k|		}
 1213|  3.88k|		switch (fop.kind) {
 1214|    190|		case PP_IF:
  ------------------
  |  Branch (1214:3): [True: 190, False: 3.69k]
  ------------------
 1215|    190|		    print2buff("if (", d);
 1216|       |		    /* print the predicate */
 1217|    190|		    deparse2buff(CAR(s), d);
 1218|    190|		    print2buff(") ", d);
 1219|    190|		    if (d->incurly && !d->inlist ) {
  ------------------
  |  Branch (1219:11): [True: 0, False: 190]
  |  Branch (1219:25): [True: 0, False: 0]
  ------------------
 1220|      0|			lookahead = curlyahead(CADR(s));
 1221|      0|			if (!lookahead) {
  ------------------
  |  Branch (1221:8): [True: 0, False: 0]
  ------------------
 1222|      0|			    writeline(d);
 1223|      0|			    d->indent++;
 1224|      0|			}
 1225|      0|		    }
 1226|       |		    /* need to find out if there is an else */
 1227|    190|		    if (length(s) > 2) {
  ------------------
  |  |  987|    190|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1227:11): [True: 0, False: 190]
  ------------------
 1228|      0|			deparse2buff(CADR(s), d);
 1229|      0|			if (d->incurly && !d->inlist) {
  ------------------
  |  Branch (1229:8): [True: 0, False: 0]
  |  Branch (1229:22): [True: 0, False: 0]
  ------------------
 1230|      0|			    writeline(d);
 1231|      0|			    if (!lookahead)
  ------------------
  |  Branch (1231:12): [True: 0, False: 0]
  ------------------
 1232|      0|				d->indent--;
 1233|      0|			}
 1234|      0|			else
 1235|      0|			    print2buff(" ", d);
 1236|      0|			print2buff("else ", d);
 1237|      0|			deparse2buff(CADDR(s), d);
 1238|      0|		    }
 1239|    190|		    else {
 1240|    190|			deparse2buff(CADR(s), d);
 1241|    190|			if (d->incurly && !lookahead && !d->inlist )
  ------------------
  |  Branch (1241:8): [True: 0, False: 190]
  |  Branch (1241:22): [True: 0, False: 0]
  |  Branch (1241:36): [True: 0, False: 0]
  ------------------
 1242|      0|			    d->indent--;
 1243|    190|		    }
 1244|    190|		    break;
 1245|      0|		case PP_WHILE:
  ------------------
  |  Branch (1245:3): [True: 0, False: 3.88k]
  ------------------
 1246|      0|		    print2buff("while (", d);
 1247|      0|		    deparse2buff(CAR(s), d);
 1248|      0|		    print2buff(") ", d);
 1249|      0|		    deparse2buff(CADR(s), d);
 1250|      0|		    break;
 1251|      0|		case PP_FOR:
  ------------------
  |  Branch (1251:3): [True: 0, False: 3.88k]
  ------------------
 1252|      0|		    print2buff("for (", d);
 1253|      0|		    deparse2buff(CAR(s), d);
 1254|      0|		    print2buff(" in ", d);
 1255|      0|		    deparse2buff(CADR(s), d);
 1256|      0|		    print2buff(") ", d);
 1257|      0|		    deparse2buff(CADDR(s), d);
 1258|      0|		    break;
 1259|      0|		case PP_REPEAT:
  ------------------
  |  Branch (1259:3): [True: 0, False: 3.88k]
  ------------------
 1260|      0|		    print2buff("repeat ", d);
 1261|      0|		    deparse2buff(CAR(s), d);
 1262|      0|		    break;
 1263|    128|		case PP_CURLY:
  ------------------
  |  Branch (1263:3): [True: 128, False: 3.75k]
  ------------------
 1264|    128|		    print2buff("{", d);
 1265|    128|		    d->incurly += 1;
 1266|    128|		    d->indent++;
 1267|    128|		    writeline(d);
 1268|    552|		    while (s != R_NilValue) {
  ------------------
  |  Branch (1268:14): [True: 424, False: 128]
  ------------------
 1269|    424|			deparse2buff(CAR(s), d);
 1270|    424|			writeline(d);
 1271|    424|			s = CDR(s);
 1272|    424|		    }
 1273|    128|		    d->indent--;
 1274|    128|		    print2buff("}", d);
 1275|    128|		    d->incurly -= 1;
 1276|    128|		    break;
 1277|     25|		case PP_PAREN:
  ------------------
  |  Branch (1277:3): [True: 25, False: 3.86k]
  ------------------
 1278|     25|		    print2buff("(", d);
 1279|     25|		    deparse2buff(CAR(s), d);
 1280|     25|		    print2buff(")", d);
 1281|     25|		    break;
 1282|    449|		case PP_SUBSET:
  ------------------
  |  Branch (1282:3): [True: 449, False: 3.43k]
  ------------------
 1283|    449|		    if ((parens = needsparens(fop, CAR(s), 1, prevLeft)))
  ------------------
  |  Branch (1283:11): [True: 0, False: 449]
  ------------------
 1284|      0|			print2buff("(", d);
 1285|    449|		    deparse2buff(CAR(s), d);
 1286|    449|		    if (parens)
  ------------------
  |  Branch (1286:11): [True: 0, False: 449]
  ------------------
 1287|      0|			print2buff(")", d);
 1288|    449|		    if (PRIMVAL(SYMVALUE(op)) == 1)
  ------------------
  |  | 1347|    449|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (1288:11): [True: 325, False: 124]
  ------------------
 1289|    325|			print2buff("[", d);
 1290|    124|		    else
 1291|    124|			print2buff("[[", d);
 1292|    449|		    args2buff(CDR(s), 0, 0, d);
 1293|    449|		    if (PRIMVAL(SYMVALUE(op)) == 1)
  ------------------
  |  | 1347|    449|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (1293:11): [True: 325, False: 124]
  ------------------
 1294|    325|			print2buff("]", d);
 1295|    124|		    else
 1296|    124|			print2buff("]]", d);
 1297|    449|		    break;
 1298|    959|		case PP_FUNCALL:
  ------------------
  |  Branch (1298:3): [True: 959, False: 2.92k]
  ------------------
 1299|    959|		case PP_RETURN:
  ------------------
  |  Branch (1299:3): [True: 0, False: 3.88k]
  ------------------
 1300|    959|		    if (d->backtick)
  ------------------
  |  Branch (1300:11): [True: 959, False: 0]
  ------------------
 1301|    959|			print2buff(quotify(PRINTNAME(op), '`'), d);
 1302|      0|		    else
 1303|      0|			print2buff(quotify(PRINTNAME(op), '"'), d);
 1304|    959|		    print2buff("(", d);
 1305|    959|		    d->inlist++;
 1306|    959|		    args2buff(s, 0, 0, d);
 1307|    959|		    d->inlist--;
 1308|    959|		    print2buff(")", d);
 1309|    959|		    break;
 1310|      0|		case PP_FOREIGN:
  ------------------
  |  Branch (1310:3): [True: 0, False: 3.88k]
  ------------------
 1311|      0|		    print2buff(CHAR(PRINTNAME(op)), d); /* ASCII */
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 1312|      0|		    print2buff("(", d);
 1313|      0|		    d->inlist++;
 1314|      0|		    args2buff(s, 1, 0, d);
 1315|      0|		    d->inlist--;
 1316|      0|		    print2buff(")", d);
 1317|      0|		    break;
 1318|      0|		case PP_FUNCTION:
  ------------------
  |  Branch (1318:3): [True: 0, False: 3.88k]
  ------------------
 1319|      0|		    if (!(d->opts & USESOURCE) || !isString(CADDR(s))) {
  ------------------
  |  | 2076|      0|#define USESOURCE 		8
  ------------------
              		    if (!(d->opts & USESOURCE) || !isString(CADDR(s))) {
  ------------------
  |  |  966|      0|#define isString		Rf_isString
  ------------------
  |  Branch (1319:11): [True: 0, False: 0]
  |  Branch (1319:37): [True: 0, False: 0]
  ------------------
 1320|      0|			print2buff(CHAR(PRINTNAME(op)), d); /* ASCII */
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 1321|      0|			print2buff("(", d);
 1322|      0|			args2buff(FORMALS(s), 0, 1, d);
 1323|      0|			print2buff(") ", d);
 1324|      0|			deparse2buff(CADR(s), d);
 1325|      0|		    } else {
 1326|      0|			s = CADDR(s);
 1327|      0|			n = length(s);
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
 1328|      0|			const void *vmax = vmaxget();
 1329|      0|			for(i = 0 ; i < n ; i++) {
  ------------------
  |  Branch (1329:16): [True: 0, False: 0]
  ------------------
 1330|      0|			    print2buff(translateChar(STRING_ELT(s, i)), d);
  ------------------
  |  | 1037|      0|#define translateChar		Rf_translateChar
  ------------------
 1331|      0|			    writeline(d);
 1332|      0|			}
 1333|      0|			vmaxset(vmax);
 1334|      0|		    }
 1335|      0|		    break;
 1336|    264|		case PP_ASSIGN:
  ------------------
  |  Branch (1336:3): [True: 264, False: 3.62k]
  ------------------
 1337|    264|		case PP_ASSIGN2: {
  ------------------
  |  Branch (1337:3): [True: 0, False: 3.88k]
  ------------------
 1338|    264|		    bool outerparens = fnarg && !strcmp(CHAR(PRINTNAME(op)), "=");
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (1338:26): [True: 0, False: 264]
  |  Branch (1338:35): [True: 0, False: 0]
  ------------------
 1339|    264|		    if (outerparens)
  ------------------
  |  Branch (1339:11): [True: 0, False: 264]
  ------------------
 1340|      0|		    	print2buff("(", d);
 1341|    264|		    if ((parens = needsparens(fop, CAR(s), 1, prevLeft)))
  ------------------
  |  Branch (1341:11): [True: 0, False: 264]
  ------------------
 1342|      0|			print2buff("(", d);
 1343|    264|		    d->left = parens ? 0 : fop.precedence;
  ------------------
  |  Branch (1343:17): [True: 0, False: 264]
  ------------------
 1344|    264|		    deparse2buff(CAR(s), d);
 1345|    264|		    if (parens)
  ------------------
  |  Branch (1345:11): [True: 0, False: 264]
  ------------------
 1346|      0|			print2buff(")", d);
 1347|    264|		    print2buff(" ", d);
 1348|    264|		    print2buff(CHAR(PRINTNAME(op)), d); /* ASCII */
  ------------------
  |  |  203|    264|#define CHAR(x) R_CHAR(x)
  ------------------
 1349|    264|		    print2buff(" ", d);
 1350|    264|		    if ((parens = needsparens(fop, CADR(s), 0, prevLeft)))
  ------------------
  |  Branch (1350:11): [True: 0, False: 264]
  ------------------
 1351|      0|			print2buff("(", d);
 1352|    264|		    d->left = parens ? 0 : prevLeft;
  ------------------
  |  Branch (1352:17): [True: 0, False: 264]
  ------------------
 1353|    264|		    deparse2buff(CADR(s), d);
 1354|    264|		    if (parens)
  ------------------
  |  Branch (1354:11): [True: 0, False: 264]
  ------------------
 1355|      0|			print2buff(")", d);
 1356|    264|		    if (outerparens)
  ------------------
  |  Branch (1356:11): [True: 0, False: 264]
  ------------------
 1357|      0|		    	print2buff(")", d);
 1358|    264|		    d->left = 0;
 1359|    264|		    break;
 1360|    264|		}
 1361|      0|		case PP_DOLLAR:
  ------------------
  |  Branch (1361:3): [True: 0, False: 3.88k]
  ------------------
 1362|      0|		    if ((parens = needsparens(fop, CAR(s), 1, prevLeft)))
  ------------------
  |  Branch (1362:11): [True: 0, False: 0]
  ------------------
 1363|      0|			print2buff("(", d);
 1364|      0|		    d->left = parens ? 0 : fop.precedence;
  ------------------
  |  Branch (1364:17): [True: 0, False: 0]
  ------------------
 1365|      0|		    deparse2buff(CAR(s), d);
 1366|      0|		    if (parens)
  ------------------
  |  Branch (1366:11): [True: 0, False: 0]
  ------------------
 1367|      0|			print2buff(")", d);
 1368|      0|		    print2buff(CHAR(PRINTNAME(op)), d); /* ASCII */
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 1369|       |		    /*temp fix to handle printing of x$a's */
 1370|      0|		    if( isString(CADR(s)) &&
  ------------------
  |  |  966|      0|#define isString		Rf_isString
  ------------------
  |  Branch (1370:11): [True: 0, False: 0]
  ------------------
 1371|      0|			isValidName(CHAR(STRING_ELT(CADR(s), 0))))
  ------------------
  |  | 1935|      0|# define isValidName		Rf_isValidName
  ------------------
              			isValidName(CHAR(STRING_ELT(CADR(s), 0))))
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (1371:4): [True: 0, False: 0]
  ------------------
 1372|      0|			deparse2buff(STRING_ELT(CADR(s), 0), d);
 1373|      0|		    else {
 1374|      0|			if ((parens = needsparens(fop, CADR(s), 0, prevLeft)))
  ------------------
  |  Branch (1374:8): [True: 0, False: 0]
  ------------------
 1375|      0|			    print2buff("(", d);
 1376|      0|			d->left = parens ? 0 : prevLeft;
  ------------------
  |  Branch (1376:14): [True: 0, False: 0]
  ------------------
 1377|      0|			deparse2buff(CADR(s), d);
 1378|      0|			if (parens)
  ------------------
  |  Branch (1378:8): [True: 0, False: 0]
  ------------------
 1379|      0|			    print2buff(")", d);
 1380|      0|		    }
 1381|      0|		    d->left = 0;
 1382|      0|		    break;
 1383|    791|		case PP_BINARY:
  ------------------
  |  Branch (1383:3): [True: 791, False: 3.09k]
  ------------------
 1384|    791|		    if ((parens = needsparens(fop, CAR(s), 1, prevLeft)))
  ------------------
  |  Branch (1384:11): [True: 0, False: 791]
  ------------------
 1385|      0|			print2buff("(", d);
 1386|    791|		    d->left = parens ? 0 : fop.precedence;
  ------------------
  |  Branch (1386:17): [True: 0, False: 791]
  ------------------
 1387|    791|		    deparse2buff(CAR(s), d);
 1388|    791|		    if (parens)
  ------------------
  |  Branch (1388:11): [True: 0, False: 791]
  ------------------
 1389|      0|			print2buff(")", d);
 1390|    791|		    print2buff(" ", d);
 1391|    791|		    print2buff(CHAR(PRINTNAME(op)), d); /* ASCII */
  ------------------
  |  |  203|    791|#define CHAR(x) R_CHAR(x)
  ------------------
 1392|    791|		    print2buff(" ", d);
 1393|    791|		    linebreak(&lbreak, d);
 1394|       |
 1395|    791|		    if ((parens = needsparens(fop, CADR(s), 0, prevLeft)))
  ------------------
  |  Branch (1395:11): [True: 0, False: 791]
  ------------------
 1396|      0|			print2buff("(", d);
 1397|    791|		    d->left = parens ? 0 : prevLeft;
  ------------------
  |  Branch (1397:17): [True: 0, False: 791]
  ------------------
 1398|    791|		    deparse2buff(CADR(s), d);
 1399|    791|		    if (parens)
  ------------------
  |  Branch (1399:11): [True: 0, False: 791]
  ------------------
 1400|      0|			print2buff(")", d);
 1401|    791|		    if (lbreak) {
  ------------------
  |  Branch (1401:11): [True: 0, False: 791]
  ------------------
 1402|      0|			d->indent--;
 1403|      0|			lbreak = false;
 1404|      0|		    }
 1405|    791|		    d->left = 0;
 1406|    791|		    break;
 1407|  1.07k|		case PP_BINARY2:	/* no space between op and args */
  ------------------
  |  Branch (1407:3): [True: 1.07k, False: 2.81k]
  ------------------
 1408|  1.07k|		    if ((parens = needsparens(fop, CAR(s), 1, prevLeft)))
  ------------------
  |  Branch (1408:11): [True: 0, False: 1.07k]
  ------------------
 1409|      0|			print2buff("(", d);
 1410|  1.07k|		    d->left = parens ? 0 : fop.precedence;
  ------------------
  |  Branch (1410:17): [True: 0, False: 1.07k]
  ------------------
 1411|  1.07k|		    deparse2buff(CAR(s), d);
 1412|  1.07k|		    if (parens)
  ------------------
  |  Branch (1412:11): [True: 0, False: 1.07k]
  ------------------
 1413|      0|			print2buff(")", d);
 1414|       |
 1415|  1.07k|		    print2buff(CHAR(PRINTNAME(op)), d); /* ASCII */
  ------------------
  |  |  203|  1.07k|#define CHAR(x) R_CHAR(x)
  ------------------
 1416|  1.07k|		    if ((parens = needsparens(fop, CADR(s), 0, prevLeft)))
  ------------------
  |  Branch (1416:11): [True: 0, False: 1.07k]
  ------------------
 1417|      0|			print2buff("(", d);
 1418|  1.07k|		    d->left = parens ? 0 : prevLeft;
  ------------------
  |  Branch (1418:17): [True: 0, False: 1.07k]
  ------------------
 1419|  1.07k|		    deparse2buff(CADR(s), d);
 1420|  1.07k|		    if (parens)
  ------------------
  |  Branch (1420:11): [True: 0, False: 1.07k]
  ------------------
 1421|      0|			print2buff(")", d);
 1422|  1.07k|		    d->left = 0;
 1423|  1.07k|		    break;
 1424|      8|		case PP_UNARY:
  ------------------
  |  Branch (1424:3): [True: 8, False: 3.87k]
  ------------------
 1425|      8|		    print2buff(CHAR(PRINTNAME(op)), d); /* ASCII */
  ------------------
  |  |  203|      8|#define CHAR(x) R_CHAR(x)
  ------------------
 1426|      8|		    if ((parens = needsparens(fop, CAR(s), 0, prevLeft)))
  ------------------
  |  Branch (1426:11): [True: 0, False: 8]
  ------------------
 1427|      0|			print2buff("(", d);
 1428|      8|		    d->left = parens ? 0 : prevLeft;
  ------------------
  |  Branch (1428:17): [True: 0, False: 8]
  ------------------
 1429|      8|		    deparse2buff(CAR(s), d);
 1430|      8|		    if (parens)
  ------------------
  |  Branch (1430:11): [True: 0, False: 8]
  ------------------
 1431|      0|			print2buff(")", d);
 1432|      8|		    d->left = 0;
 1433|      8|		    break;
 1434|      0|		case PP_BREAK:
  ------------------
  |  Branch (1434:3): [True: 0, False: 3.88k]
  ------------------
 1435|      0|		    print2buff("break", d);
 1436|      0|		    break;
 1437|      0|		case PP_NEXT:
  ------------------
  |  Branch (1437:3): [True: 0, False: 3.88k]
  ------------------
 1438|      0|		    print2buff("next", d);
 1439|      0|		    break;
 1440|      0|		case PP_SUBASS:
  ------------------
  |  Branch (1440:3): [True: 0, False: 3.88k]
  ------------------
 1441|      0|		    if(d->opts & S_COMPAT) {
  ------------------
  |  | 2080|      0|#define S_COMPAT       		128
  ------------------
  |  Branch (1441:10): [True: 0, False: 0]
  ------------------
 1442|      0|			print2buff("\"", d);
 1443|      0|			print2buff(CHAR(PRINTNAME(op)), d); /* ASCII */
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 1444|      0|			print2buff("\'(", d);
 1445|      0|		    } else {
 1446|      0|			print2buff("`", d);
 1447|      0|			print2buff(CHAR(PRINTNAME(op)), d); /* ASCII */
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 1448|      0|			print2buff("`(", d);
 1449|      0|		    }
 1450|      0|		    args2buff(s, 0, 0, d);
 1451|      0|		    print2buff(")", d);
 1452|      0|		    break;
 1453|      0|		default:
  ------------------
  |  Branch (1453:3): [True: 0, False: 3.88k]
  ------------------
 1454|      0|		    d->sourceable = false;
 1455|      0|		    UNIMPLEMENTED("deparse2buff");
 1456|  3.88k|		}
 1457|  3.88k|	    }
 1458|  4.61k|	    else {
 1459|  4.61k|		SEXP val = R_NilValue; /* -Wall */
 1460|  4.61k|		if (isSymbol(CAR(s))) {
  ------------------
  |  |  953|  4.61k|#define isSymbol		Rf_isSymbol
  ------------------
  |  Branch (1460:7): [True: 4.61k, False: 0]
  ------------------
 1461|  4.61k|		    val = SYMVALUE(CAR(s));
 1462|  4.61k|		    if (TYPEOF(val) == PROMSXP)
  ------------------
  |  |  116|  4.61k|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (1462:11): [True: 1.39k, False: 3.21k]
  ------------------
 1463|  1.39k|			val = eval(val, R_BaseEnv);
  ------------------
  |  |  913|  1.39k|#define eval			Rf_eval
  ------------------
 1464|  4.61k|		}
 1465|  4.61k|		if ( isSymbol(CAR(s))
  ------------------
  |  |  953|  4.61k|#define isSymbol		Rf_isSymbol
  ------------------
  |  Branch (1465:8): [True: 4.61k, False: 0]
  ------------------
 1466|  4.61k|		  && TYPEOF(val) == CLOSXP
  ------------------
  |  |  114|  9.22k|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (1466:8): [True: 1.39k, False: 3.21k]
  ------------------
 1467|  1.39k|		  && streql(CHAR(PRINTNAME(CAR(s))), "::") ) { //  :: is special case
  ------------------
  |  | 1498|  1.39k|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 1.39k]
  |  |  ------------------
  ------------------
 1468|      0|		    deparse2buff(CADR(s), d);
 1469|      0|		    print2buff("::", d);
 1470|      0|		    deparse2buff(CADDR(s), d);
 1471|      0|		}
 1472|  4.61k|		else if ( isSymbol(CAR(s))
  ------------------
  |  |  953|  4.61k|#define isSymbol		Rf_isSymbol
  ------------------
  |  Branch (1472:13): [True: 4.61k, False: 0]
  ------------------
 1473|  4.61k|		  && TYPEOF(val) == CLOSXP
  ------------------
  |  |  114|  9.22k|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (1473:8): [True: 1.39k, False: 3.21k]
  ------------------
 1474|  1.39k|		  && streql(CHAR(PRINTNAME(CAR(s))), ":::") ) { // ::: is special case
  ------------------
  |  | 1498|  1.39k|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 1.39k]
  |  |  ------------------
  ------------------
 1475|      0|		    deparse2buff(CADR(s), d);
 1476|      0|		    print2buff(":::", d);
 1477|      0|		    deparse2buff(CADDR(s), d);
 1478|      0|		}
 1479|  4.61k|		else {
 1480|  4.61k|		    if ( isSymbol(CAR(s)) ){
  ------------------
  |  |  953|  4.61k|#define isSymbol		Rf_isSymbol
  ------------------
  |  Branch (1480:12): [True: 4.61k, False: 0]
  ------------------
 1481|  4.61k|			if(d->opts & S_COMPAT)
  ------------------
  |  | 2080|  4.61k|#define S_COMPAT       		128
  ------------------
  |  Branch (1481:7): [True: 0, False: 4.61k]
  ------------------
 1482|      0|			    print2buff(quotify(PRINTNAME(CAR(s)), '\''), d);
 1483|  4.61k|			else
 1484|  4.61k|			    print2buff(quotify(PRINTNAME(CAR(s)), '`'), d);
 1485|  4.61k|		    }
 1486|      0|		    else
 1487|      0|			deparse2buff(CAR(s), d);
 1488|  4.61k|		    print2buff("(", d);
 1489|  4.61k|		    args2buff(CDR(s), 0, 0, d);
 1490|  4.61k|		    print2buff(")", d);
 1491|  4.61k|		}
 1492|  4.61k|	    }
 1493|  8.49k|	} // end{op : SYMSXP }
 1494|     80|	else if (TYPEOF(op) == CLOSXP || TYPEOF(op) == SPECIALSXP
  ------------------
  |  |  114|    160|#define CLOSXP	     3	  /* closures */
  ------------------
              	else if (TYPEOF(op) == CLOSXP || TYPEOF(op) == SPECIALSXP
  ------------------
  |  |  118|     96|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (1494:11): [True: 64, False: 16]
  |  Branch (1494:35): [True: 0, False: 16]
  ------------------
 1495|     64|		 || TYPEOF(op) == BUILTINSXP) {
  ------------------
  |  |  119|     16|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (1495:7): [True: 0, False: 16]
  ------------------
 1496|     64|	    if (parenthesizeCaller(op)) {
  ------------------
  |  Branch (1496:10): [True: 64, False: 0]
  ------------------
 1497|     64|		print2buff("(", d);
 1498|     64|		deparse2buff(op, d);
 1499|     64|		print2buff(")", d);
 1500|     64|	    } else
 1501|      0|		deparse2buff(op, d);
 1502|     64|	    print2buff("(", d);
 1503|     64|	    args2buff(CDR(s), 0, 0, d);
 1504|     64|	    print2buff(")", d);
 1505|     64|	}
 1506|     16|	else { /* we have a lambda expression */
 1507|     16|	    if (parenthesizeCaller(op)) {
  ------------------
  |  Branch (1507:10): [True: 0, False: 16]
  ------------------
 1508|      0|		print2buff("(", d);
 1509|      0|		deparse2buff(op, d);
 1510|      0|		print2buff(")", d);
 1511|      0|	    } else
 1512|     16|		deparse2buff(op, d);
 1513|     16|	    print2buff("(", d);
 1514|     16|	    args2buff(CDR(s), 0, 0, d);
 1515|     16|	    print2buff(")", d);
 1516|     16|	}
 1517|  8.57k|	if (maybe_quote) {
  ------------------
  |  Branch (1517:6): [True: 0, False: 8.57k]
  ------------------
 1518|      0|	    d->opts = d_opts_in;
 1519|      0|	    if(doquote)
  ------------------
  |  Branch (1519:9): [True: 0, False: 0]
  ------------------
 1520|      0|		print2buff(")", d);
 1521|      0|	}
 1522|  8.57k|	break; // end{case LANGSXP} ---------------------------------------------
 1523|    406|    case STRSXP:
  ------------------
  |  |  126|    406|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1523:5): [True: 406, False: 20.4k]
  ------------------
 1524|  1.47k|    case LGLSXP:
  ------------------
  |  |  121|  1.47k|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (1524:5): [True: 1.06k, False: 19.7k]
  ------------------
 1525|  2.17k|    case INTSXP:
  ------------------
  |  |  123|  2.17k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1525:5): [True: 706, False: 20.1k]
  ------------------
 1526|  4.80k|    case REALSXP:
  ------------------
  |  |  124|  4.80k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1526:5): [True: 2.63k, False: 18.2k]
  ------------------
 1527|  4.80k|    case CPLXSXP:
  ------------------
  |  |  125|  4.80k|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (1527:5): [True: 0, False: 20.8k]
  ------------------
 1528|  4.80k|    case RAWSXP:
  ------------------
  |  |  136|  4.80k|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (1528:5): [True: 0, False: 20.8k]
  ------------------
 1529|  4.80k|	vector2buff(s, d);
 1530|  4.80k|	break;
 1531|      0|    case EXTPTRSXP:
  ------------------
  |  |  134|      0|#define EXTPTRSXP   22    /* external pointer */
  ------------------
  |  Branch (1531:5): [True: 0, False: 20.8k]
  ------------------
 1532|      0|    {
 1533|      0|	char tpb[32]; /* need 12+2+2*sizeof(void*) */
 1534|      0|	d->sourceable = false;
 1535|      0|	snprintf(tpb, 32, "<pointer: %p>", R_ExternalPtrAddr(s));
 1536|      0|	tpb[31] = '\0';
 1537|      0|	print2buff(tpb, d);
 1538|      0|    }
 1539|      0|	break;
 1540|      0|    case BCODESXP:
  ------------------
  |  |  133|      0|#define BCODESXP    21    /* byte code */
  ------------------
  |  Branch (1540:5): [True: 0, False: 20.8k]
  ------------------
 1541|      0|	d->sourceable = false;
 1542|      0|	print2buff("<bytecode>", d);
 1543|      0|	break;
 1544|      0|    case WEAKREFSXP:
  ------------------
  |  |  135|      0|#define WEAKREFSXP  23    /* weak reference */
  ------------------
  |  Branch (1544:5): [True: 0, False: 20.8k]
  ------------------
 1545|      0|	d->sourceable = false;
 1546|      0|	print2buff("<weak reference>", d);
 1547|      0|	break;
 1548|      0|    case OBJSXP:
  ------------------
  |  |  137|      0|#define OBJSXP      25    /* object, non-vector  */
  ------------------
  |  Branch (1548:5): [True: 0, False: 20.8k]
  ------------------
 1549|       |	/* a bare OBJSXP, e.g. from S7; objects with the S4 bit
 1550|       |	   are dealt with above.  Deparse to  .OBJSXP() or  structure(.OBJSXP(), <attrs>)  */
 1551|      0|	if(d_opts_in & SHOW_ATTR_OR_NMS) {
  ------------------
  |  |  911|      0|#define SHOW_ATTR_OR_NMS (SHOWATTRIBUTES | NICE_NAMES)
  |  |  ------------------
  |  |  |  | 2075|      0|#define SHOWATTRIBUTES 		4
  |  |  ------------------
  |  |               #define SHOW_ATTR_OR_NMS (SHOWATTRIBUTES | NICE_NAMES)
  |  |  ------------------
  |  |  |  | 2083|      0|#define NICE_NAMES             	1024
  |  |  ------------------
  ------------------
  |  Branch (1551:5): [True: 0, False: 0]
  ------------------
 1552|      0|	    SEXP a = ATTRIB(s);
 1553|      0|	    print2buff("structure(.OBJSXP()", d);
 1554|      0|	    for( ; !isNull(a); a = CDR(a)) {
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
  |  Branch (1554:13): [True: 0, False: 0]
  ------------------
 1555|      0|		if(TAG(a) != R_SrcrefSymbol) {
  ------------------
  |  Branch (1555:6): [True: 0, False: 0]
  ------------------
 1556|      0|		    print2buff(", ", d);
 1557|      0|		    attrEntry(a, d);
 1558|      0|		}
 1559|      0|	    }
 1560|      0|	}
 1561|      0|	print2buff(")", d);
 1562|      0|	break;
 1563|      0|    default:
  ------------------
  |  Branch (1563:5): [True: 0, False: 20.8k]
  ------------------
 1564|      0|	d->sourceable = false;
 1565|      0|	UNIMPLEMENTED_TYPE("deparse2buff", s);
 1566|  20.8k|    }
 1567|       |
 1568|  20.8k|    d->left = prevLeft;
 1569|  20.8k|}
deparse.c:attr1:
  761|  4.93k|{
  762|  4.93k|    SEXP a = ATTRIB(s), nm = getAttrib(s, R_NamesSymbol);
  ------------------
  |  |  924|  4.93k|#define getAttrib		Rf_getAttrib
  ------------------
  763|  4.93k|    attr_type attr = UNKNOWN;
  764|  4.93k|    bool
  765|  4.93k|	nice_names = (bool) (d->opts & NICE_NAMES),
  ------------------
  |  | 2083|  4.93k|#define NICE_NAMES             	1024
  ------------------
  766|  4.93k|	show_attr  = d->opts & SHOWATTRIBUTES,
  ------------------
  |  | 2075|  4.93k|#define SHOWATTRIBUTES 		4
  ------------------
  767|  4.93k|	has_names = !isNull(nm), ok_names;
  ------------------
  |  |  956|  4.93k|#define isNull			Rf_isNull
  ------------------
  768|       |#ifdef DEBUG_DEPARSE
  769|       |    REprintf("  attr1(): has_names = %s", ChTF(has_names));
  770|       |#endif
  771|  4.93k|    if(has_names) {
  ------------------
  |  Branch (771:8): [True: 0, False: 4.93k]
  ------------------
  772|       |	// ok only if there's no  NA_character_,.. in names() nor all """
  773|      0|	ok_names = nice_names && usable_nice_names(nm, isVectorAtomic(s));
  ------------------
  |  |  975|      0|#define isVectorAtomic		Rf_isVectorAtomic
  ------------------
  |  Branch (773:13): [True: 0, False: 0]
  |  Branch (773:27): [True: 0, False: 0]
  ------------------
  774|       |#ifdef DEBUG_DEPARSE
  775|       |	REprintf(", ok_names = %s", ChTF(ok_names));
  776|       |#endif
  777|      0|	if(!ok_names)
  ------------------
  |  Branch (777:5): [True: 0, False: 0]
  ------------------
  778|      0|	    attr = show_attr ? STRUC_NMS_A :
  ------------------
  |  Branch (778:13): [True: 0, False: 0]
  ------------------
  779|      0|		/* nice_names */  OK_NAMES; // even when not ok
  780|      0|    }
  781|       |
  782|  4.93k|    while(attr == UNKNOWN && !isNull(a)) {
  ------------------
  |  |  956|  4.93k|#define isNull			Rf_isNull
  ------------------
  |  Branch (782:11): [True: 4.93k, False: 0]
  |  Branch (782:30): [True: 0, False: 4.93k]
  ------------------
  783|      0|	if(has_names && TAG(a) == R_NamesSymbol) {
  ------------------
  |  Branch (783:5): [True: 0, False: 0]
  |  Branch (783:18): [True: 0, False: 0]
  ------------------
  784|       |	    // also  ok_names = true
  785|      0|	} else if(show_attr && TAG(a) != R_SrcrefSymbol) {
  ------------------
  |  Branch (785:12): [True: 0, False: 0]
  |  Branch (785:25): [True: 0, False: 0]
  ------------------
  786|      0|	    attr = STRUC_ATTR;
  787|      0|	    break;
  788|      0|	}
  789|       |	// else
  790|      0|	a = CDR(a);
  791|      0|    }
  792|  4.93k|    if(attr == UNKNOWN)
  ------------------
  |  Branch (792:8): [True: 4.93k, False: 0]
  ------------------
  793|  4.93k|	attr = has_names ? OK_NAMES : SIMPLE;
  ------------------
  |  Branch (793:9): [True: 0, False: 4.93k]
  ------------------
  794|       |
  795|  4.93k|    if(attr >= STRUC_ATTR) {
  ------------------
  |  Branch (795:8): [True: 0, False: 4.93k]
  ------------------
  796|      0|	print2buff("structure(", d);
  797|  4.93k|    } else if(has_names) { // attr <= OK_NAMES
  ------------------
  |  Branch (797:15): [True: 0, False: 4.93k]
  ------------------
  798|      0|    }
  799|       |#ifdef DEBUG_DEPARSE
  800|       |    REprintf(", return()ing %s\n", attrT2char(attr));
  801|       |#endif
  802|  4.93k|    return attr;
  803|  4.93k|}
deparse.c:quotify:
  861|  15.6k|{
  862|  15.6k|    const char *s = CHAR(name);
  ------------------
  |  |  203|  15.6k|#define CHAR(x) R_CHAR(x)
  ------------------
  863|       |
  864|       |    /* If a symbol is not a valid name, put it in quotes, escaping
  865|       |     * any quotes in the string itself */
  866|       |
  867|  15.6k|    if (isValidName(s) || *s == '\0') return s;
  ------------------
  |  | 1935|  15.6k|# define isValidName		Rf_isValidName
  ------------------
  |  Branch (867:9): [True: 15.6k, False: 0]
  |  Branch (867:27): [True: 0, False: 0]
  ------------------
  868|       |
  869|      0|    return EncodeString(name, 0, quote, Rprt_adj_none);
  ------------------
  |  | 1898|      0|# define EncodeString           Rf_EncodeString
  ------------------
  870|  15.6k|}
deparse.c:args2buff:
 1970|  6.23k|{
 1971|  6.23k|    bool lbreak = false;
 1972|       |
 1973|  18.2k|    while (arglist != R_NilValue) {
  ------------------
  |  Branch (1973:12): [True: 12.0k, False: 6.23k]
  ------------------
 1974|  12.0k|	if (TYPEOF(arglist) != LISTSXP && TYPEOF(arglist) != LANGSXP)
  ------------------
  |  |  113|  24.0k|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
              	if (TYPEOF(arglist) != LISTSXP && TYPEOF(arglist) != LANGSXP)
  ------------------
  |  |  117|      0|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (1974:6): [True: 0, False: 12.0k]
  |  Branch (1974:36): [True: 0, False: 0]
  ------------------
 1975|      0|	    error(_("badly formed function expression"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("badly formed function expression"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1976|  12.0k|	if (TAG(arglist) != R_NilValue) {
  ------------------
  |  Branch (1976:6): [True: 2.71k, False: 9.32k]
  ------------------
 1977|  2.71k|	    SEXP s = TAG(arglist);
 1978|       |
 1979|  2.71k|	    if( s == R_DotsSymbol )
  ------------------
  |  Branch (1979:10): [True: 0, False: 2.71k]
  ------------------
 1980|      0|		print2buff(CHAR(PRINTNAME(s)), d);
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 1981|  2.71k|	    else if(d->backtick)
  ------------------
  |  Branch (1981:14): [True: 2.71k, False: 0]
  ------------------
 1982|  2.71k|		print2buff(quotify(PRINTNAME(s), '`'), d);
 1983|      0|	    else
 1984|      0|		print2buff(quotify(PRINTNAME(s), '"'), d);
 1985|       |
 1986|  2.71k|	    if(formals) {
  ------------------
  |  Branch (1986:9): [True: 128, False: 2.58k]
  ------------------
 1987|    128|		if (CAR(arglist) != R_MissingArg) {
  ------------------
  |  Branch (1987:7): [True: 0, False: 128]
  ------------------
 1988|      0|		    print2buff(" = ", d);
 1989|      0|		    d->fnarg = true;
 1990|      0|		    deparse2buff(CAR(arglist), d);
 1991|      0|		}
 1992|    128|	    }
 1993|  2.58k|	    else {
 1994|  2.58k|		print2buff(" = ", d);
 1995|  2.58k|		if (CAR(arglist) != R_MissingArg) {
  ------------------
  |  Branch (1995:7): [True: 2.58k, False: 0]
  ------------------
 1996|  2.58k|		    d->fnarg = true;
 1997|  2.58k|		    deparse2buff(CAR(arglist), d);
 1998|  2.58k|		}
 1999|  2.58k|	    }
 2000|  2.71k|	}
 2001|  9.32k|	else {
 2002|  9.32k|	  d->fnarg = true;
 2003|  9.32k|	  deparse2buff(CAR(arglist), d);
 2004|  9.32k|	}
 2005|  12.0k|	arglist = CDR(arglist);
 2006|  12.0k|	if (arglist != R_NilValue) {
  ------------------
  |  Branch (2006:6): [True: 5.82k, False: 6.21k]
  ------------------
 2007|  5.82k|	    print2buff(", ", d);
 2008|  5.82k|	    linebreak(&lbreak, d);
 2009|  5.82k|	}
 2010|  12.0k|    }
 2011|  6.23k|    if (lbreak)
  ------------------
  |  Branch (2011:9): [True: 96, False: 6.13k]
  ------------------
 2012|     96|	d->indent--;
 2013|  6.23k|}
deparse.c:needsparens:
  596|  4.70k|{
  597|  4.70k|    PPinfo arginfo;
  598|  4.70k|    if (TYPEOF(arg) == LANGSXP) {
  ------------------
  |  |  117|  4.70k|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (598:9): [True: 862, False: 3.84k]
  ------------------
  599|    862|	if (TYPEOF(CAR(arg)) == SYMSXP) {
  ------------------
  |  |  112|    862|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (599:6): [True: 862, False: 0]
  ------------------
  600|    862|	    if ((TYPEOF(SYMVALUE(CAR(arg))) == BUILTINSXP) ||
  ------------------
  |  |  119|    862|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (600:10): [True: 509, False: 353]
  ------------------
  601|    621|		(TYPEOF(SYMVALUE(CAR(arg))) == SPECIALSXP)) {
  ------------------
  |  |  118|    353|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (601:3): [True: 112, False: 241]
  ------------------
  602|    621|		arginfo = PPINFO(SYMVALUE(CAR(arg)));
  ------------------
  |  | 1349|    621|#define PPINFO(x)	(R_FunTab[PRIMOFFSET(x)].gram)
  ------------------
  603|       |
  604|       |		/* Not all binary ops are binary! */
  605|    621|		switch(arginfo.kind) {
  606|      0|		case PP_BINARY:
  ------------------
  |  Branch (606:3): [True: 0, False: 621]
  ------------------
  607|      0|		case PP_BINARY2:
  ------------------
  |  Branch (607:3): [True: 0, False: 621]
  ------------------
  608|      0|		    switch(length(CDR(arg))) {
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  609|      0|		    case 1:
  ------------------
  |  Branch (609:7): [True: 0, False: 0]
  ------------------
  610|       |			/* binary +/- precedence upgraded as unary */
  611|      0|			if (arginfo.precedence == PREC_SUM)
  ------------------
  |  Branch (611:8): [True: 0, False: 0]
  ------------------
  612|      0|			    arginfo.precedence = PREC_SIGN;
  613|      0|			arginfo.kind = PP_UNARY;
  614|      0|			break;
  615|      0|		    case 2:
  ------------------
  |  Branch (615:7): [True: 0, False: 0]
  ------------------
  616|      0|			break;
  617|      0|		    default:
  ------------------
  |  Branch (617:7): [True: 0, False: 0]
  ------------------
  618|      0|			return false;
  619|      0|		    }
  620|    621|		default:
  ------------------
  |  Branch (620:3): [True: 621, False: 0]
  ------------------
  621|    621|		    break;
  622|    621|		}
  623|       |
  624|    621|		switch(arginfo.kind) {
  625|    112|		case PP_SUBSET:
  ------------------
  |  Branch (625:3): [True: 112, False: 509]
  ------------------
  626|    112|		    switch (mainop.kind) {
  627|      0|		    case PP_DOLLAR:
  ------------------
  |  Branch (627:7): [True: 0, False: 112]
  ------------------
  628|      0|		    case PP_SUBSET:
  ------------------
  |  Branch (628:7): [True: 0, False: 112]
  ------------------
  629|      0|			if (mainop.precedence > arginfo.precedence)
  ------------------
  |  Branch (629:8): [True: 0, False: 0]
  ------------------
  630|      0|			    return false;
  631|       |			/* else fall through */
  632|    112|		    default:
  ------------------
  |  Branch (632:7): [True: 112, False: 0]
  ------------------
  633|    112|			break;
  634|    112|		    }
  635|    112|		case PP_BINARY:
  ------------------
  |  Branch (635:3): [True: 0, False: 621]
  ------------------
  636|    112|		case PP_BINARY2:
  ------------------
  |  Branch (636:3): [True: 0, False: 621]
  ------------------
  637|    112|		    if (mainop.precedence == PREC_COMPARE &&
  ------------------
  |  Branch (637:11): [True: 0, False: 112]
  ------------------
  638|      0|			arginfo.precedence == PREC_COMPARE)
  ------------------
  |  Branch (638:4): [True: 0, False: 0]
  ------------------
  639|      0|			return true;     /*   a < b < c   is not legal syntax */
  640|       |		    /* else fall through */
  641|    112|		case PP_ASSIGN:
  ------------------
  |  Branch (641:3): [True: 0, False: 621]
  ------------------
  642|    112|		case PP_ASSIGN2:
  ------------------
  |  Branch (642:3): [True: 0, False: 621]
  ------------------
  643|    112|		case PP_DOLLAR:
  ------------------
  |  Branch (643:3): [True: 0, False: 621]
  ------------------
  644|    112|		    if (mainop.precedence > arginfo.precedence
  ------------------
  |  Branch (644:11): [True: 0, False: 112]
  ------------------
  645|    112|			|| (mainop.precedence == arginfo.precedence && left == mainop.rightassoc)) {
  ------------------
  |  Branch (645:8): [True: 0, False: 112]
  |  Branch (645:51): [True: 0, False: 0]
  ------------------
  646|      0|			return true;
  647|      0|		    }
  648|    112|		    break;
  649|    112|		case PP_UNARY:
  ------------------
  |  Branch (649:3): [True: 0, False: 621]
  ------------------
  650|      0|		    return (left && mainop.precedence > arginfo.precedence)
  ------------------
  |  Branch (650:15): [True: 0, False: 0]
  |  Branch (650:23): [True: 0, False: 0]
  ------------------
  651|      0|			|| (deepLeft && deepLeft > arginfo.precedence);
  ------------------
  |  Branch (651:8): [True: 0, False: 0]
  |  Branch (651:20): [True: 0, False: 0]
  ------------------
  652|      0|		case PP_FOR:
  ------------------
  |  Branch (652:3): [True: 0, False: 621]
  ------------------
  653|      0|		case PP_IF:
  ------------------
  |  Branch (653:3): [True: 0, False: 621]
  ------------------
  654|      0|		case PP_WHILE:
  ------------------
  |  Branch (654:3): [True: 0, False: 621]
  ------------------
  655|      0|		case PP_REPEAT:
  ------------------
  |  Branch (655:3): [True: 0, False: 621]
  ------------------
  656|      0|		    return left || deepLeft;
  ------------------
  |  Branch (656:14): [True: 0, False: 0]
  |  Branch (656:22): [True: 0, False: 0]
  ------------------
  657|    509|		default:
  ------------------
  |  Branch (657:3): [True: 509, False: 112]
  ------------------
  658|    509|		    return false;
  659|    621|		}
  660|    621|	    } else if (isUserBinop(CAR(arg))) {
  ------------------
  |  |  971|    241|#define isUserBinop		Rf_isUserBinop
  ------------------
  |  Branch (660:17): [True: 0, False: 241]
  ------------------
  661|      0|		if (mainop.precedence > PREC_PERCENT
  ------------------
  |  Branch (661:7): [True: 0, False: 0]
  ------------------
  662|      0|		    || (mainop.precedence == PREC_PERCENT && left == mainop.rightassoc)) {
  ------------------
  |  Branch (662:11): [True: 0, False: 0]
  |  Branch (662:48): [True: 0, False: 0]
  ------------------
  663|      0|		    return true;
  664|      0|		}
  665|      0|	    }
  666|    862|	}
  667|    862|    }
  668|  3.84k|    else if ((TYPEOF(arg) == CPLXSXP) && (length(arg) == 1)) {
  ------------------
  |  |  125|  3.84k|#define CPLXSXP	    15	  /* complex variables */
  ------------------
                  else if ((TYPEOF(arg) == CPLXSXP) && (length(arg) == 1)) {
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (668:14): [True: 0, False: 3.84k]
  |  Branch (668:42): [True: 0, False: 0]
  ------------------
  669|      0|	if (mainop.precedence > PREC_SUM
  ------------------
  |  Branch (669:6): [True: 0, False: 0]
  ------------------
  670|      0|	    || (mainop.precedence == PREC_SUM && left == mainop.rightassoc)) {
  ------------------
  |  Branch (670:10): [True: 0, False: 0]
  |  Branch (670:43): [True: 0, False: 0]
  ------------------
  671|      0|	    return true;
  672|      0|	}
  673|      0|    }
  674|  3.84k|    else if (ATTRIB(arg) == R_NilValue && length(arg) == 1 &&
  ------------------
  |  |  987|  3.84k|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (674:14): [True: 3.84k, False: 0]
  |  Branch (674:43): [True: 3.84k, False: 0]
  ------------------
  675|  3.84k|	     ((TYPEOF(arg) == REALSXP && REAL(arg)[0] < 0) ||
  ------------------
  |  |  124|  7.69k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (675:9): [True: 1.64k, False: 2.20k]
  |  Branch (675:35): [True: 0, False: 1.64k]
  ------------------
  676|  3.84k|	      (TYPEOF(arg) == INTSXP && INTEGER(arg)[0] != NA_INTEGER &&
  ------------------
  |  |  123|  7.69k|#define INTSXP	    13	  /* integer vectors */
  ------------------
              	      (TYPEOF(arg) == INTSXP && INTEGER(arg)[0] != NA_INTEGER &&
  ------------------
  |  |   56|  3.88k|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (676:9): [True: 40, False: 3.80k]
  |  Branch (676:34): [True: 40, False: 0]
  ------------------
  677|     40|	       INTEGER(arg)[0] < 0))) {
  ------------------
  |  Branch (677:9): [True: 0, False: 40]
  ------------------
  678|       |	/* a negative constant deparses with a unary minus, so it binds
  679|       |	   like one: call("^", -2, 2) must become (-2)^2, not -2^2.
  680|       |	   NA_INTEGER is INT_MIN and must be excluded explicitly; NA_real_
  681|       |	   and NaN already fail the < 0 test. */
  682|      0|	return (left && mainop.precedence > PREC_SIGN)
  ------------------
  |  Branch (682:10): [True: 0, False: 0]
  |  Branch (682:18): [True: 0, False: 0]
  ------------------
  683|      0|	    || (deepLeft && deepLeft > PREC_SIGN);
  ------------------
  |  Branch (683:10): [True: 0, False: 0]
  |  Branch (683:22): [True: 0, False: 0]
  ------------------
  684|      0|    }
  685|  4.20k|    return false;
  686|  4.70k|}
deparse.c:linebreak:
  557|  6.61k|{
  558|  6.61k|    if (d->len > d->cutoff) {
  ------------------
  |  Branch (558:9): [True: 96, False: 6.51k]
  ------------------
  559|     96|	if (!*lbreak) {
  ------------------
  |  Branch (559:6): [True: 96, False: 0]
  ------------------
  560|     96|	    *lbreak = true;
  561|     96|	    d->indent++;
  562|     96|	}
  563|     96|	writeline(d);
  564|     96|    }
  565|  6.61k|}
deparse.c:parenthesizeCaller:
  884|     80|{
  885|     80|    SEXP op, sym;
  886|     80|    if (TYPEOF(s) == LANGSXP) { /* unevaluated */
  ------------------
  |  |  117|     80|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (886:9): [True: 16, False: 64]
  ------------------
  887|     16|	op = CAR(s);
  888|     16|	if (TYPEOF(op) == SYMSXP) {
  ------------------
  |  |  112|     16|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (888:6): [True: 16, False: 0]
  ------------------
  889|     16|	    if (isUserBinop(op)) return true;   /* %foo% */
  ------------------
  |  |  971|     16|#define isUserBinop		Rf_isUserBinop
  ------------------
  |  Branch (889:10): [True: 0, False: 16]
  ------------------
  890|     16|	    sym = SYMVALUE(op);
  891|     16|	    if (TYPEOF(sym) == BUILTINSXP
  ------------------
  |  |  119|     32|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (891:10): [True: 0, False: 16]
  ------------------
  892|     16|		|| TYPEOF(sym) == SPECIALSXP) {
  ------------------
  |  |  118|     16|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (892:6): [True: 0, False: 16]
  ------------------
  893|      0|		if (PPINFO(sym).precedence >= PREC_SUBSET
  ------------------
  |  | 1349|      0|#define PPINFO(x)	(R_FunTab[PRIMOFFSET(x)].gram)
  ------------------
  |  Branch (893:7): [True: 0, False: 0]
  ------------------
  894|      0|		    || PPINFO(sym).kind == PP_FUNCALL
  ------------------
  |  | 1349|      0|#define PPINFO(x)	(R_FunTab[PRIMOFFSET(x)].gram)
  ------------------
  |  Branch (894:10): [True: 0, False: 0]
  ------------------
  895|      0|		    || PPINFO(sym).kind == PP_PAREN
  ------------------
  |  | 1349|      0|#define PPINFO(x)	(R_FunTab[PRIMOFFSET(x)].gram)
  ------------------
  |  Branch (895:10): [True: 0, False: 0]
  ------------------
  896|      0|		    || PPINFO(sym).kind == PP_CURLY) return false; /* x$f(z) or x[n](z) or f(z) or (f) or {f} */
  ------------------
  |  | 1349|      0|#define PPINFO(x)	(R_FunTab[PRIMOFFSET(x)].gram)
  ------------------
  |  Branch (896:10): [True: 0, False: 0]
  ------------------
  897|      0|		else return true;		/* (f+g)(z) etc. */
  898|      0|	    }
  899|     16|	    return false;			/* regular function call */
  900|     16|	 } else
  901|      0|	    return true;			/* something strange, like (1)(x) */
  902|     16|    } else
  903|     64|	return TYPEOF(s) == CLOSXP;
  ------------------
  |  |  114|     64|#define CLOSXP	     3	  /* closures */
  ------------------
  904|     80|}
deparse.c:vector2buff:
 1676|  4.80k|{
 1677|       |    // Known here:  TYPEOF(vector)  is one of the 6 atomic *SXPs
 1678|  4.80k|    const char *strp;
 1679|  4.80k|    char *buff = 0, hex[64]; // 64 is more than enough
 1680|  4.80k|    int i, d_opts_in = d->opts,
 1681|  4.80k|	tlen = length(vector),
  ------------------
  |  |  987|  4.80k|#define length(x)		Rf_length(x)
  ------------------
 1682|  4.80k|	quote = isString(vector) ? '"' : 0;
  ------------------
  |  |  966|  4.80k|#define isString		Rf_isString
  ------------------
  |  Branch (1682:10): [True: 406, False: 4.40k]
  ------------------
 1683|  4.80k|    bool surround = false, allNA,
 1684|  4.80k|	intSeq = false; // := true iff integer sequence 'm:n' (up *or* down)
 1685|  4.80k|    if(TYPEOF(vector) == INTSXP && tlen > 1) {
  ------------------
  |  |  123|  9.61k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1685:8): [True: 706, False: 4.10k]
  |  Branch (1685:36): [True: 0, False: 706]
  ------------------
 1686|      0|	int *vec = INTEGER(vector);
 1687|       |	// vec[1] - vec[0] could overflow, and does in package Rmpfr
 1688|      0|	double d_i = (double) vec[1] - (double)vec[0];
 1689|      0|	intSeq = (vec[0] != NA_INTEGER &&
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (1689:12): [True: 0, False: 0]
  ------------------
 1690|      0|		  vec[1] != NA_INTEGER &&
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (1690:5): [True: 0, False: 0]
  ------------------
 1691|      0|		  fabs(d_i) == 1);
  ------------------
  |  Branch (1691:5): [True: 0, False: 0]
  ------------------
 1692|      0|	if(intSeq) for(i = 2; i < tlen; i++) {
  ------------------
  |  Branch (1692:5): [True: 0, False: 0]
  |  Branch (1692:24): [True: 0, False: 0]
  ------------------
 1693|      0|	    if((vec[i] == NA_INTEGER) ||
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (1693:9): [True: 0, False: 0]
  ------------------
 1694|      0|	       ((double)vec[i] - (double)vec[i-1]) != d_i) {
  ------------------
  |  Branch (1694:9): [True: 0, False: 0]
  ------------------
 1695|      0|		intSeq = false;
 1696|      0|		break;
 1697|      0|	    }
 1698|      0|	}
 1699|      0|    }
 1700|       |
 1701|  4.80k|    SEXP nv = R_NilValue;
 1702|  4.80k|    bool do_names = (bool)(d_opts_in & SHOW_ATTR_OR_NMS);// iff true use '<tag_i> = <comp_i>'
  ------------------
  |  |  911|  4.80k|#define SHOW_ATTR_OR_NMS (SHOWATTRIBUTES | NICE_NAMES)
  |  |  ------------------
  |  |  |  | 2075|  4.80k|#define SHOWATTRIBUTES 		4
  |  |  ------------------
  |  |               #define SHOW_ATTR_OR_NMS (SHOWATTRIBUTES | NICE_NAMES)
  |  |  ------------------
  |  |  |  | 2083|  4.80k|#define NICE_NAMES             	1024
  |  |  ------------------
  ------------------
 1703|  4.80k|    if(do_names) {
  ------------------
  |  Branch (1703:8): [True: 4.80k, False: 0]
  ------------------
 1704|  4.80k|	nv = getAttrib(vector, R_NamesSymbol); // only "do names" if have names:
  ------------------
  |  |  924|  4.80k|#define getAttrib		Rf_getAttrib
  ------------------
 1705|  4.80k|	if(isNull(nv))
  ------------------
  |  |  956|  4.80k|#define isNull			Rf_isNull
  ------------------
  |  Branch (1705:5): [True: 4.80k, False: 0]
  ------------------
 1706|  4.80k|	    do_names = false;
 1707|  4.80k|    }
 1708|  4.80k|    PROTECT(nv);
  ------------------
  |  |  357|  4.80k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1709|  4.80k|    bool
 1710|  4.80k|	STR_names, // if true, use structure(.,*) for names even if(nice_names)
 1711|  4.80k|	need_c = tlen > 1; // (?) only true iff SHOW_ATTR_OR_NMS
 1712|  4.80k|    STR_names = do_names && (intSeq || tlen == 0);
  ------------------
  |  Branch (1712:17): [True: 0, False: 4.80k]
  |  Branch (1712:30): [True: 0, False: 0]
  |  Branch (1712:40): [True: 0, False: 0]
  ------------------
 1713|       |#ifdef DEBUG_DEPARSE
 1714|       |    REprintf("vector2buff(v): length(v) = %d; initial (do|STR)_names) = (%s,%s)\n",
 1715|       |	     tlen, ChTF(do_names), ChTF(STR_names));
 1716|       |#endif
 1717|  4.80k|    if (STR_names) // use structure(.,*) for names even if(nice_names)
  ------------------
  |  Branch (1717:9): [True: 0, False: 4.80k]
  ------------------
 1718|      0|	d->opts &= ~NICE_NAMES;
  ------------------
  |  | 2083|      0|#define NICE_NAMES             	1024
  ------------------
 1719|  4.80k|    attr_type attr = (d_opts_in & SHOW_ATTR_OR_NMS) ? attr1(vector, d) : SIMPLE;
  ------------------
  |  |  911|  4.80k|#define SHOW_ATTR_OR_NMS (SHOWATTRIBUTES | NICE_NAMES)
  |  |  ------------------
  |  |  |  | 2075|  4.80k|#define SHOWATTRIBUTES 		4
  |  |  ------------------
  |  |               #define SHOW_ATTR_OR_NMS (SHOWATTRIBUTES | NICE_NAMES)
  |  |  ------------------
  |  |  |  | 2083|  4.80k|#define NICE_NAMES             	1024
  |  |  ------------------
  ------------------
  |  Branch (1719:22): [True: 4.80k, False: 0]
  ------------------
 1720|  4.80k|    if(do_names) do_names = (attr == OK_NAMES || attr == STRUC_ATTR);
  ------------------
  |  Branch (1720:8): [True: 0, False: 4.80k]
  |  Branch (1720:30): [True: 0, False: 0]
  |  Branch (1720:50): [True: 0, False: 0]
  ------------------
 1721|  4.80k|    if(!need_c) need_c = do_names; // c(a = *) but not c(1)
  ------------------
  |  Branch (1721:8): [True: 4.80k, False: 0]
  ------------------
 1722|       |#ifdef DEBUG_DEPARSE
 1723|       |    REprintf(" -> final (do|STR)_names) = (%s,%s), attr = %s\n",
 1724|       |	     ChTF(do_names), ChTF(STR_names), attrT2char(attr));
 1725|       |#endif
 1726|  4.80k|    if (tlen == 0) {
  ------------------
  |  Branch (1726:9): [True: 0, False: 4.80k]
  ------------------
 1727|      0|	switch(TYPEOF(vector)) {
 1728|      0|	case LGLSXP: print2buff("logical(0)", d); break;
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (1728:2): [True: 0, False: 0]
  ------------------
 1729|      0|	case INTSXP: print2buff("integer(0)", d); break;
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1729:2): [True: 0, False: 0]
  ------------------
 1730|      0|	case REALSXP: print2buff("numeric(0)", d); break;
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1730:2): [True: 0, False: 0]
  ------------------
 1731|      0|	case CPLXSXP: print2buff("complex(0)", d); break;
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (1731:2): [True: 0, False: 0]
  ------------------
 1732|      0|	case STRSXP: print2buff("character(0)", d); break;
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1732:2): [True: 0, False: 0]
  ------------------
 1733|      0|	case RAWSXP: print2buff("raw(0)", d); break;
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (1733:2): [True: 0, False: 0]
  ------------------
 1734|      0|	default: UNIMPLEMENTED_TYPE("vector2buff", vector);
  ------------------
  |  Branch (1734:2): [True: 0, False: 0]
  ------------------
 1735|      0|	}
 1736|      0|    }
 1737|  4.80k|    else if(TYPEOF(vector) == INTSXP) {
  ------------------
  |  |  123|  4.80k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1737:13): [True: 706, False: 4.10k]
  ------------------
 1738|       |	/* We treat integer separately, as S_compatible is relevant.
 1739|       |
 1740|       |	   Also, it is neat to deparse m:n in that form,
 1741|       |	   so we do so as from 2.5.0, and for m > n, from 3.5.0
 1742|       |	 */
 1743|    706|	if(intSeq) { // m:n
  ------------------
  |  Branch (1743:5): [True: 0, False: 706]
  ------------------
 1744|      0|		strp = EncodeElement(vector, 0, '"', '.');
  ------------------
  |  |   37|      0|#define EncodeElement       Rf_EncodeElement
  ------------------
 1745|      0|		print2buff(strp, d);
 1746|      0|		print2buff(":", d);
 1747|      0|		strp = EncodeElement(vector, tlen - 1, '"', '.');
  ------------------
  |  |   37|      0|#define EncodeElement       Rf_EncodeElement
  ------------------
 1748|      0|		print2buff(strp, d);
 1749|    706|	} else {
 1750|    706|	    int *vec = INTEGER(vector);
 1751|    706|	    bool addL = d->opts & KEEPINTEGER & !(d->opts & S_COMPAT);
  ------------------
  |  | 2073|    706|#define KEEPINTEGER 		1
  ------------------
              	    bool addL = d->opts & KEEPINTEGER & !(d->opts & S_COMPAT);
  ------------------
  |  | 2080|    706|#define S_COMPAT       		128
  ------------------
 1752|    706|	    allNA = (d->opts & KEEPNA) || addL;
  ------------------
  |  | 2079|    706|#define KEEPNA			64
  ------------------
  |  Branch (1752:14): [True: 706, False: 0]
  |  Branch (1752:36): [True: 0, False: 0]
  ------------------
 1753|    706|	    for(i = 0; i < tlen; i++)
  ------------------
  |  Branch (1753:17): [True: 706, False: 0]
  ------------------
 1754|    706|		if(vec[i] != NA_INTEGER) {
  ------------------
  |  |   56|    706|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (1754:6): [True: 706, False: 0]
  ------------------
 1755|    706|		    allNA = false;
 1756|    706|		    break;
 1757|    706|		}
 1758|    706|	    if((d->opts & KEEPINTEGER && (d->opts & S_COMPAT))) {
  ------------------
  |  | 2073|  1.41k|#define KEEPINTEGER 		1
  ------------------
              	    if((d->opts & KEEPINTEGER && (d->opts & S_COMPAT))) {
  ------------------
  |  | 2080|    706|#define S_COMPAT       		128
  ------------------
  |  Branch (1758:10): [True: 706, False: 0]
  |  Branch (1758:35): [True: 0, False: 706]
  ------------------
 1759|      0|		print2buff("as.integer(", d); surround = true;
 1760|      0|	    }
 1761|    706|	    allNA = allNA && !(d->opts & S_COMPAT);
  ------------------
  |  | 2080|      0|#define S_COMPAT       		128
  ------------------
  |  Branch (1761:14): [True: 0, False: 706]
  |  Branch (1761:23): [True: 0, False: 0]
  ------------------
 1762|    706|	    if(need_c) print2buff("c(", d);
  ------------------
  |  Branch (1762:9): [True: 0, False: 706]
  ------------------
 1763|  1.41k|	    for (i = 0; i < tlen; i++) {
  ------------------
  |  Branch (1763:18): [True: 706, False: 706]
  ------------------
 1764|    706|		if(do_names) // put '<tag> = '
  ------------------
  |  Branch (1764:6): [True: 0, False: 706]
  ------------------
 1765|      0|		    deparse2buf_name(nv, i, d);
 1766|    706|		if(allNA && vec[i] == NA_INTEGER) {
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (1766:6): [True: 0, False: 706]
  |  Branch (1766:15): [True: 0, False: 0]
  ------------------
 1767|      0|		    print2buff("NA_integer_", d);
 1768|    706|		} else {
 1769|    706|		    strp = EncodeElement(vector, i, quote, '.');
  ------------------
  |  |   37|    706|#define EncodeElement       Rf_EncodeElement
  ------------------
 1770|    706|		    print2buff(strp, d);
 1771|    706|		    if(addL && vec[i] != NA_INTEGER) print2buff("L", d);
  ------------------
  |  |   56|    706|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (1771:10): [True: 706, False: 0]
  |  Branch (1771:18): [True: 706, False: 0]
  ------------------
 1772|    706|		}
 1773|    706|		if (i < (tlen - 1)) print2buff(", ", d);
  ------------------
  |  Branch (1773:7): [True: 0, False: 706]
  ------------------
 1774|    706|		if (tlen > 1 && d->len > d->cutoff) writeline(d);
  ------------------
  |  Branch (1774:7): [True: 0, False: 706]
  |  Branch (1774:19): [True: 0, False: 0]
  ------------------
 1775|    706|		if (!d->active) break;
  ------------------
  |  Branch (1775:7): [True: 0, False: 706]
  ------------------
 1776|    706|	    }
 1777|    706|	    if(need_c)   print2buff(")", d);
  ------------------
  |  Branch (1777:9): [True: 0, False: 706]
  ------------------
 1778|    706|	    if(surround) print2buff(")", d);
  ------------------
  |  Branch (1778:9): [True: 0, False: 706]
  ------------------
 1779|    706|	}
 1780|  4.10k|    } else { // tlen > 0;  _not_ INTSXP
 1781|  4.10k|	allNA = d->opts & KEEPNA;
  ------------------
  |  | 2079|  4.10k|#define KEEPNA			64
  ------------------
 1782|  4.10k|	if((d->opts & KEEPNA) && TYPEOF(vector) == REALSXP) {
  ------------------
  |  | 2079|  4.10k|#define KEEPNA			64
  ------------------
              	if((d->opts & KEEPNA) && TYPEOF(vector) == REALSXP) {
  ------------------
  |  |  124|  4.10k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1782:5): [True: 4.10k, False: 0]
  |  Branch (1782:27): [True: 2.63k, False: 1.47k]
  ------------------
 1783|  2.63k|	    for(i = 0; i < tlen; i++)
  ------------------
  |  Branch (1783:17): [True: 2.63k, False: 0]
  ------------------
 1784|  2.63k|		if(!ISNA(REAL(vector)[i])) {
  ------------------
  |  |   64|  2.63k|#define ISNA(x)	       R_IsNA(x)
  ------------------
  |  Branch (1784:6): [True: 2.63k, False: 0]
  ------------------
 1785|  2.63k|		    allNA = false;
 1786|  2.63k|		    break;
 1787|  2.63k|		}
 1788|  2.63k|	    if(allNA && (d->opts & S_COMPAT)) {
  ------------------
  |  | 2080|      0|#define S_COMPAT       		128
  ------------------
  |  Branch (1788:9): [True: 0, False: 2.63k]
  |  Branch (1788:18): [True: 0, False: 0]
  ------------------
 1789|      0|		print2buff("as.double(", d); surround = true;
 1790|      0|	    }
 1791|  2.63k|	} else if((d->opts & KEEPNA) && TYPEOF(vector) == CPLXSXP) {
  ------------------
  |  | 2079|  1.47k|#define KEEPNA			64
  ------------------
              	} else if((d->opts & KEEPNA) && TYPEOF(vector) == CPLXSXP) {
  ------------------
  |  |  125|  1.47k|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (1791:12): [True: 1.47k, False: 0]
  |  Branch (1791:34): [True: 0, False: 1.47k]
  ------------------
 1792|      0|	    Rcomplex *vec = COMPLEX(vector);
 1793|      0|	    for(i = 0; i < tlen; i++) {
  ------------------
  |  Branch (1793:17): [True: 0, False: 0]
  ------------------
 1794|      0|		if( !ISNA(vec[i].r) && !ISNA(vec[i].i) ) {
  ------------------
  |  |   64|      0|#define ISNA(x)	       R_IsNA(x)
  ------------------
              		if( !ISNA(vec[i].r) && !ISNA(vec[i].i) ) {
  ------------------
  |  |   64|      0|#define ISNA(x)	       R_IsNA(x)
  ------------------
  |  Branch (1794:7): [True: 0, False: 0]
  |  Branch (1794:26): [True: 0, False: 0]
  ------------------
 1795|      0|		    allNA = false;
 1796|      0|		    break;
 1797|      0|		}
 1798|      0|	    }
 1799|      0|	    if(allNA && (d->opts & S_COMPAT)) {
  ------------------
  |  | 2080|      0|#define S_COMPAT       		128
  ------------------
  |  Branch (1799:9): [True: 0, False: 0]
  |  Branch (1799:18): [True: 0, False: 0]
  ------------------
 1800|      0|		print2buff("as.complex(", d); surround = true;
 1801|       |
 1802|      0|	    }
 1803|  1.47k|	} else if((d->opts & KEEPNA) && TYPEOF(vector) == STRSXP) {
  ------------------
  |  | 2079|  1.47k|#define KEEPNA			64
  ------------------
              	} else if((d->opts & KEEPNA) && TYPEOF(vector) == STRSXP) {
  ------------------
  |  |  126|  1.47k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1803:12): [True: 1.47k, False: 0]
  |  Branch (1803:34): [True: 406, False: 1.06k]
  ------------------
 1804|    406|	    for(i = 0; i < tlen; i++)
  ------------------
  |  Branch (1804:17): [True: 406, False: 0]
  ------------------
 1805|    406|		if(STRING_ELT(vector, i) != NA_STRING) {
  ------------------
  |  |  433|    406|#define NA_STRING	R_NaString
  ------------------
  |  Branch (1805:6): [True: 406, False: 0]
  ------------------
 1806|    406|		    allNA = false;
 1807|    406|		    break;
 1808|    406|		}
 1809|    406|	    if(allNA && (d->opts & S_COMPAT)) {
  ------------------
  |  | 2080|      0|#define S_COMPAT       		128
  ------------------
  |  Branch (1809:9): [True: 0, False: 406]
  |  Branch (1809:18): [True: 0, False: 0]
  ------------------
 1810|      0|		print2buff("as.character(", d); surround = true;
 1811|      0|	    }
 1812|  1.06k|	} else if(TYPEOF(vector) == RAWSXP) {
  ------------------
  |  |  136|  1.06k|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (1812:12): [True: 0, False: 1.06k]
  ------------------
 1813|      0|	    print2buff("as.raw(", d); surround = true;
 1814|      0| 	}
 1815|  4.10k|	if(need_c) print2buff("c(", d);
  ------------------
  |  Branch (1815:5): [True: 0, False: 4.10k]
  ------------------
 1816|  4.10k|	allNA = allNA && !(d->opts & S_COMPAT);
  ------------------
  |  | 2080|  1.06k|#define S_COMPAT       		128
  ------------------
  |  Branch (1816:10): [True: 1.06k, False: 3.03k]
  |  Branch (1816:19): [True: 1.06k, False: 0]
  ------------------
 1817|  8.20k|	for (i = 0; i < tlen; i++) {
  ------------------
  |  Branch (1817:14): [True: 4.10k, False: 4.10k]
  ------------------
 1818|  4.10k|	    if(do_names) // put '<tag> = '
  ------------------
  |  Branch (1818:9): [True: 0, False: 4.10k]
  ------------------
 1819|      0|		deparse2buf_name(nv, i, d);
 1820|  4.10k|	    if(allNA && TYPEOF(vector) == REALSXP &&
  ------------------
  |  |  124|  5.16k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1820:9): [True: 1.06k, False: 3.03k]
  |  Branch (1820:18): [True: 0, False: 1.06k]
  ------------------
 1821|      0|	       ISNA(REAL(vector)[i])) {
  ------------------
  |  |   64|      0|#define ISNA(x)	       R_IsNA(x)
  |  |  ------------------
  |  |  |  Branch (64:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1822|      0|		strp = "NA_real_";
 1823|  4.10k|	    } else if (TYPEOF(vector) == CPLXSXP &&
  ------------------
  |  |  125|  8.20k|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (1823:17): [True: 0, False: 4.10k]
  ------------------
 1824|      0|		       (ISNA(COMPLEX(vector)[i].r)
  ------------------
  |  |   64|      0|#define ISNA(x)	       R_IsNA(x)
  |  |  ------------------
  |  |  |  Branch (64:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1825|      0|			&& ISNA(COMPLEX(vector)[i].i)) ) {
  ------------------
  |  |   64|      0|#define ISNA(x)	       R_IsNA(x)
  |  |  ------------------
  |  |  |  Branch (64:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1826|      0|		strp = allNA ? "NA_complex_" : EncodeElement(vector, i, quote, '.');
  ------------------
  |  |   37|      0|#define EncodeElement       Rf_EncodeElement
  ------------------
  |  Branch (1826:10): [True: 0, False: 0]
  ------------------
 1827|  4.10k|	    } else if(TYPEOF(vector) == CPLXSXP &&
  ------------------
  |  |  125|  8.20k|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (1827:16): [True: 0, False: 4.10k]
  ------------------
 1828|      0|		      (ISNAN(COMPLEX(vector)[i].r) || !R_FINITE(COMPLEX(vector)[i].i)) ) {
  ------------------
  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
              		      (ISNAN(COMPLEX(vector)[i].r) || !R_FINITE(COMPLEX(vector)[i].i)) ) {
  ------------------
  |  |   82|      0|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (1828:41): [True: 0, False: 0]
  ------------------
 1829|      0|		if (!buff)
  ------------------
  |  Branch (1829:7): [True: 0, False: 0]
  ------------------
 1830|      0|		    buff = alloca(NB2);
  ------------------
  |  | 2567|      0|# define alloca(x) __builtin_alloca((x))
  ------------------
 1831|      0|		strp = EncodeNonFiniteComplexElement(COMPLEX(vector)[i], buff);
 1832|  4.10k|	    } else if (allNA && TYPEOF(vector) == STRSXP &&
  ------------------
  |  |  126|  5.16k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1832:17): [True: 1.06k, False: 3.03k]
  |  Branch (1832:26): [True: 0, False: 1.06k]
  ------------------
 1833|      0|		       STRING_ELT(vector, i) == NA_STRING) {
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  |  Branch (1833:10): [True: 0, False: 0]
  ------------------
 1834|      0|		strp = "NA_character_";
 1835|  4.10k|	    } else if (TYPEOF(vector) == REALSXP && (d->opts & S_COMPAT)) {
  ------------------
  |  |  124|  8.20k|#define REALSXP	    14	  /* real variables */
  ------------------
              	    } else if (TYPEOF(vector) == REALSXP && (d->opts & S_COMPAT)) {
  ------------------
  |  | 2080|  2.63k|#define S_COMPAT       		128
  ------------------
  |  Branch (1835:17): [True: 2.63k, False: 1.47k]
  |  Branch (1835:46): [True: 0, False: 2.63k]
  ------------------
 1836|      0|		int w, d, e;
 1837|      0|		formatReal(&REAL(vector)[i], 1, &w, &d, &e, 0);
  ------------------
  |  |   41|      0|#define formatReal         Rf_formatReal
  ------------------
 1838|      0|		strp = EncodeReal2(REAL(vector)[i], w, d, e);
  ------------------
  |  | 1897|      0|# define EncodeReal2            Rf_EncodeReal2
  ------------------
 1839|  4.10k|	    } else if (TYPEOF(vector) == STRSXP) {
  ------------------
  |  |  126|  4.10k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1839:17): [True: 406, False: 3.69k]
  ------------------
 1840|    406|		const void *vmax = vmaxget();
 1841|       |#ifdef longstring_WARN
 1842|       |		const char *ts = translateChar(STRING_ELT(vector, i));
 1843|       |		/* versions of R < 2.7.0 cannot parse strings longer than 8192 chars */
 1844|       |		if(strlen(ts) >= 8192) d->longstring = true;
 1845|       |#endif
 1846|    406|		strp = EncodeElement(vector, i, quote, '.');
  ------------------
  |  |   37|    406|#define EncodeElement       Rf_EncodeElement
  ------------------
 1847|    406|		vmaxset(vmax);
 1848|  3.69k|	    } else if (TYPEOF(vector) == RAWSXP) {
  ------------------
  |  |  136|  3.69k|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (1848:17): [True: 0, False: 3.69k]
  ------------------
 1849|      0|		strp = EncodeRaw(RAW(vector)[i], "0x");
  ------------------
  |  | 1896|      0|# define EncodeRaw              Rf_EncodeRaw
  ------------------
 1850|  3.69k|	    } else if (TYPEOF(vector) == REALSXP && (d->opts & HEXNUMERIC)) {
  ------------------
  |  |  124|  7.39k|#define REALSXP	    14	  /* real variables */
  ------------------
              	    } else if (TYPEOF(vector) == REALSXP && (d->opts & HEXNUMERIC)) {
  ------------------
  |  | 2081|  2.63k|#define HEXNUMERIC             	256
  ------------------
  |  Branch (1850:17): [True: 2.63k, False: 1.06k]
  |  Branch (1850:46): [True: 0, False: 2.63k]
  ------------------
 1851|      0|		double x = REAL(vector)[i];
 1852|       |		// Windows warns here, but incorrectly as this is C99
 1853|       |		// and the snprintf used from trio is compliant.
 1854|      0|		if (R_FINITE(x)) {
  ------------------
  |  |   82|      0|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (1854:7): [True: 0, False: 0]
  ------------------
 1855|      0|		    snprintf(hex, 32, "%a", x);
 1856|      0|		    strp = hex;
 1857|      0|		} else
 1858|      0|		    strp = EncodeElement(vector, i, quote, '.');
  ------------------
  |  |   37|      0|#define EncodeElement       Rf_EncodeElement
  ------------------
 1859|  3.69k|	    } else if (TYPEOF(vector) == REALSXP && (d->opts & DIGITS17)) {
  ------------------
  |  |  124|  7.39k|#define REALSXP	    14	  /* real variables */
  ------------------
              	    } else if (TYPEOF(vector) == REALSXP && (d->opts & DIGITS17)) {
  ------------------
  |  | 2082|  2.63k|#define DIGITS17		512
  ------------------
  |  Branch (1859:17): [True: 2.63k, False: 1.06k]
  |  Branch (1859:46): [True: 0, False: 2.63k]
  ------------------
 1860|      0|		double x = REAL(vector)[i];
 1861|      0|		if (R_FINITE(x)) {
  ------------------
  |  |   82|      0|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (1861:7): [True: 0, False: 0]
  ------------------
 1862|      0|		    snprintf(hex, 32, "%.17g", x);
 1863|      0|		    strp = hex;
 1864|      0|		} else
 1865|      0|		    strp = EncodeElement(vector, i, quote, '.');
  ------------------
  |  |   37|      0|#define EncodeElement       Rf_EncodeElement
  ------------------
 1866|  3.69k|	    } else if (TYPEOF(vector) == CPLXSXP && (d->opts & HEXNUMERIC)) {
  ------------------
  |  |  125|  7.39k|#define CPLXSXP	    15	  /* complex variables */
  ------------------
              	    } else if (TYPEOF(vector) == CPLXSXP && (d->opts & HEXNUMERIC)) {
  ------------------
  |  | 2081|      0|#define HEXNUMERIC             	256
  ------------------
  |  Branch (1866:17): [True: 0, False: 3.69k]
  |  Branch (1866:46): [True: 0, False: 0]
  ------------------
 1867|      0|		Rcomplex z =  COMPLEX(vector)[i];
 1868|      0|		if (R_FINITE(z.r) && R_FINITE(z.i)) {
  ------------------
  |  |   82|      0|# define R_FINITE(x)    isfinite(x)
  ------------------
              		if (R_FINITE(z.r) && R_FINITE(z.i)) {
  ------------------
  |  |   82|      0|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (1868:7): [True: 0, False: 0]
  |  Branch (1868:24): [True: 0, False: 0]
  ------------------
 1869|      0|		    snprintf(hex, 64, "%a + %ai", z.r, z.i);
 1870|      0|		    strp = hex;
 1871|      0|		} else
 1872|      0|		    strp = EncodeElement(vector, i, quote, '.');
  ------------------
  |  |   37|      0|#define EncodeElement       Rf_EncodeElement
  ------------------
 1873|  3.69k|	    } else if (TYPEOF(vector) == CPLXSXP && (d->opts & DIGITS17)) {
  ------------------
  |  |  125|  7.39k|#define CPLXSXP	    15	  /* complex variables */
  ------------------
              	    } else if (TYPEOF(vector) == CPLXSXP && (d->opts & DIGITS17)) {
  ------------------
  |  | 2082|      0|#define DIGITS17		512
  ------------------
  |  Branch (1873:17): [True: 0, False: 3.69k]
  |  Branch (1873:46): [True: 0, False: 0]
  ------------------
 1874|      0|		Rcomplex z =  COMPLEX(vector)[i];
 1875|      0|		if (R_FINITE(z.r) && R_FINITE(z.i)) {
  ------------------
  |  |   82|      0|# define R_FINITE(x)    isfinite(x)
  ------------------
              		if (R_FINITE(z.r) && R_FINITE(z.i)) {
  ------------------
  |  |   82|      0|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (1875:7): [True: 0, False: 0]
  |  Branch (1875:24): [True: 0, False: 0]
  ------------------
 1876|      0|		    snprintf(hex, 64, "%.17g%+.17gi", z.r, z.i);
 1877|      0|		    strp = hex;
 1878|      0|		} else
 1879|      0|		    strp = EncodeElement(vector, i, quote, '.');
  ------------------
  |  |   37|      0|#define EncodeElement       Rf_EncodeElement
  ------------------
 1880|      0|	    } else
 1881|  3.69k|		strp = EncodeElement(vector, i, quote, '.');
  ------------------
  |  |   37|  3.69k|#define EncodeElement       Rf_EncodeElement
  ------------------
 1882|  4.10k|	    print2buff(strp, d);
 1883|  4.10k|	    if (i < (tlen - 1)) print2buff(", ", d);
  ------------------
  |  Branch (1883:10): [True: 0, False: 4.10k]
  ------------------
 1884|  4.10k|	    if (tlen > 1 && d->len > d->cutoff) writeline(d);
  ------------------
  |  Branch (1884:10): [True: 0, False: 4.10k]
  |  Branch (1884:22): [True: 0, False: 0]
  ------------------
 1885|  4.10k|	    if (!d->active) break;
  ------------------
  |  Branch (1885:10): [True: 0, False: 4.10k]
  ------------------
 1886|  4.10k|	} // for(i in 1:tlen)
 1887|  4.10k|	if(need_c  ) print2buff(")", d);
  ------------------
  |  Branch (1887:5): [True: 0, False: 4.10k]
  ------------------
 1888|  4.10k|	if(surround) print2buff(")", d);
  ------------------
  |  Branch (1888:5): [True: 0, False: 4.10k]
  ------------------
 1889|  4.10k|    }
 1890|  4.80k|    if(attr >= STRUC_ATTR) attr2(vector, d, (attr == STRUC_ATTR));
  ------------------
  |  Branch (1890:8): [True: 0, False: 4.80k]
  ------------------
 1891|  4.80k|    if (STR_names) d->opts = d_opts_in;
  ------------------
  |  Branch (1891:9): [True: 0, False: 4.80k]
  ------------------
 1892|  4.80k|    UNPROTECT(1); /* nv */
  ------------------
  |  |  358|  4.80k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1893|  4.80k|} // vector2buff()
deparse.c:writeline:
 1576|  3.97k|{
 1577|  3.97k|    if (d->strvec != R_NilValue && d->linenumber < d->maxlines)
  ------------------
  |  Branch (1577:9): [True: 3.52k, False: 452]
  |  Branch (1577:36): [True: 3.52k, False: 0]
  ------------------
 1578|  3.52k|	SET_STRING_ELT(d->strvec, d->linenumber, mkChar(d->buffer.data));
  ------------------
  |  |  998|  3.52k|#define mkChar			Rf_mkChar
  ------------------
 1579|  3.97k|    d->linenumber++;
 1580|  3.97k|    if (d->linenumber >= d->maxlines) d->active = false;
  ------------------
  |  Branch (1580:9): [True: 3.07k, False: 904]
  ------------------
 1581|       |    /* reset */
 1582|  3.97k|    d->len = 0;
 1583|  3.97k|    d->buffer.data[0] = '\0';
 1584|  3.97k|    d->startline = true;
 1585|  3.97k|}

Rf_NoDevices:
  117|  3.07k|{
  118|  3.07k|    return (R_NumDevices == 1 || R_CurrentDevice == 0);
  ------------------
  |  Branch (118:13): [True: 3.07k, False: 0]
  |  Branch (118:34): [True: 0, False: 0]
  ------------------
  119|  3.07k|}
GEgetDevice:
  175|  46.4k|{
  176|  46.4k|    return R_Devices[i];
  177|  46.4k|}
Rf_InitGraphics:
  684|      2|{
  685|      2|    R_Devices[0] = &nullDevice;
  686|      2|    active[0] = TRUE;
  687|       |    // these are static arrays, not really needed
  688|    128|    for (int i = 1; i < R_MaxDevices; i++) {
  ------------------
  |  | 2395|    128|#define R_MaxDevices 64
  ------------------
  |  Branch (688:21): [True: 126, False: 2]
  ------------------
  689|    126|	R_Devices[i] = NULL;
  690|    126|	active[i] = FALSE;
  691|    126|    }
  692|       |
  693|       |    /* init .Device and .Devices */
  694|      2|    SEXP s = PROTECT(mkString("null device"));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
  695|      2|    gsetVar(R_DeviceSymbol, s, R_BaseEnv);
  ------------------
  |  |  932|      2|#define gsetVar			Rf_gsetVar
  ------------------
  696|      2|    s = PROTECT(mkString("null device"));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
  697|      2|    gsetVar(R_DevicesSymbol, CONS(s, R_NilValue), R_BaseEnv);
  ------------------
  |  |  932|      2|#define gsetVar			Rf_gsetVar
  ------------------
                  gsetVar(R_DevicesSymbol, CONS(s, R_NilValue), R_BaseEnv);
  ------------------
  |  |  309|      2|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
  698|      2|    UNPROTECT(2);
  ------------------
  |  |  358|      2|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  699|      2|}

R_dotCallFn:
  196|  14.0k|DL_FUNC R_dotCallFn(SEXP op, SEXP call, int nargs) {
  197|  14.0k|    R_RegisteredNativeSymbol symbol = {R_CALL_SYM, {NULL}, NULL};
  198|  14.0k|    DL_FUNC fun = NULL;
  199|  14.0k|    checkValidSymbolId(op, call, &fun, &symbol, NULL);
  200|       |    /* should check arg count here as well */
  201|  14.0k|    return fun;
  202|  14.0k|}
do_External:
  564|      4|{
  565|      4|    DL_FUNC ofun = NULL;
  566|      4|    SEXP retval;
  567|      4|    R_RegisteredNativeSymbol symbol = {R_EXTERNAL_SYM, {NULL}, NULL};
  568|      4|    const void *vmax = vmaxget();
  569|      4|    char buf[MaxSymbolBytes];
  570|       |
  571|      4|    if (length(args) < 1) errorcall(call, _("'.NAME' is missing"));
  ------------------
  |  |  987|      4|#define length(x)		Rf_length(x)
  ------------------
                  if (length(args) < 1) errorcall(call, _("'.NAME' is missing"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
                  if (length(args) < 1) errorcall(call, _("'.NAME' is missing"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (571:9): [True: 0, False: 4]
  ------------------
  572|      4|    check1arg2(args, call, ".NAME");
  573|      4|    args = resolveNativeRoutine(args, &ofun, &symbol, buf, NULL, NULL,
  574|      4|				call, env);
  575|       |
  576|      4|    if(symbol.symbol.external && symbol.symbol.external->numArgs > -1) {
  ------------------
  |  Branch (576:8): [True: 4, False: 0]
  |  Branch (576:34): [True: 4, False: 0]
  ------------------
  577|      4|	int nargs = length(args) - 1;
  ------------------
  |  |  987|      4|#define length(x)		Rf_length(x)
  ------------------
  578|      4|	if(symbol.symbol.external->numArgs != nargs)
  ------------------
  |  Branch (578:5): [True: 0, False: 4]
  ------------------
  579|      0|	    errorcall(call,
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
  580|      0|		      _("Incorrect number of arguments (%d), expecting %d for '%s'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  581|      0|		      nargs, symbol.symbol.external->numArgs, buf);
  582|      4|    }
  583|       |
  584|       |    /* args is escaping into user C code and might get captured, so
  585|       |       make sure it is reference counting. */
  586|      4|    R_args_enable_refcnt(args);
  587|       |
  588|      4|    if (PRIMVAL(op) == 1) {
  ------------------
  |  | 1347|      4|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (588:9): [True: 0, False: 4]
  ------------------
  589|      0|	R_ExternalRoutine2 fun = (R_ExternalRoutine2) ofun;
  590|      0|	retval = fun(call, op, args, env);
  591|      4|    } else {
  592|      4|	R_ExternalRoutine fun = (R_ExternalRoutine) ofun;
  593|      4|	retval = fun(args);
  594|      4|    }
  595|       |
  596|      4|    R_try_clear_args_refcnt(args);
  597|       |
  598|      4|    vmaxset(vmax);
  599|      4|    return check_retval(call, retval);
  600|      4|}
R_doDotCall:
  764|  14.0k|				  SEXP call) {
  765|  14.0k|    SEXP retval = R_NilValue;	/* -Wall */
  766|  14.0k|    switch (nargs) {
  767|      2|    case 0:
  ------------------
  |  Branch (767:5): [True: 2, False: 14.0k]
  ------------------
  768|      2|	retval = ((FUNS0)fun)();
  769|      2|	break;
  770|  1.71k|    case 1:
  ------------------
  |  Branch (770:5): [True: 1.71k, False: 12.3k]
  ------------------
  771|  1.71k|	retval = ((FUNS1)fun)(cargs[0]);
  772|  1.71k|	break;
  773|  7.77k|    case 2:
  ------------------
  |  Branch (773:5): [True: 7.77k, False: 6.29k]
  ------------------
  774|  7.77k|	retval = ((FUNS2)fun)(cargs[0], cargs[1]);
  775|  7.77k|	break;
  776|      0|    case 3:
  ------------------
  |  Branch (776:5): [True: 0, False: 14.0k]
  ------------------
  777|      0|	retval = ((FUNS3)fun)(cargs[0], cargs[1], cargs[2]);
  778|      0|	break;
  779|    517|    case 4:
  ------------------
  |  Branch (779:5): [True: 517, False: 13.5k]
  ------------------
  780|    517|	retval = ((FUNS4)fun)(cargs[0], cargs[1], cargs[2], cargs[3]);
  781|    517|	break;
  782|  1.83k|    case 5:
  ------------------
  |  Branch (782:5): [True: 1.83k, False: 12.2k]
  ------------------
  783|  1.83k|	retval = ((FUNS5)fun)(
  784|  1.83k|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4]);
  785|  1.83k|	break;
  786|  1.26k|    case 6:
  ------------------
  |  Branch (786:5): [True: 1.26k, False: 12.8k]
  ------------------
  787|  1.26k|	retval = ((FUNS6)fun)(
  788|  1.26k|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
  789|  1.26k|	    cargs[5]);
  790|  1.26k|	break;
  791|      0|    case 7:
  ------------------
  |  Branch (791:5): [True: 0, False: 14.0k]
  ------------------
  792|      0|	retval = ((FUNS7)fun)(
  793|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
  794|      0|	    cargs[5],  cargs[6]);
  795|      0|	break;
  796|    966|    case 8:
  ------------------
  |  Branch (796:5): [True: 966, False: 13.1k]
  ------------------
  797|    966|	retval = ((FUNS8)fun)(
  798|    966|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
  799|    966|	    cargs[5],  cargs[6],  cargs[7]);
  800|    966|	break;
  801|      0|    case 9:
  ------------------
  |  Branch (801:5): [True: 0, False: 14.0k]
  ------------------
  802|      0|	retval = ((FUNS9)fun)(
  803|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
  804|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8]);
  805|      0|	break;
  806|      0|    case 10:
  ------------------
  |  Branch (806:5): [True: 0, False: 14.0k]
  ------------------
  807|      0|	retval = ((FUNS10)fun)(
  808|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
  809|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9]);
  810|      0|	break;
  811|      0|    case 11:
  ------------------
  |  Branch (811:5): [True: 0, False: 14.0k]
  ------------------
  812|      0|	retval = ((FUNS11)fun)(
  813|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
  814|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
  815|      0|	    cargs[10]);
  816|      0|	break;
  817|      0|    case 12:
  ------------------
  |  Branch (817:5): [True: 0, False: 14.0k]
  ------------------
  818|      0|	retval = ((FUNS12)fun)(
  819|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
  820|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
  821|      0|	    cargs[10], cargs[11]);
  822|      0|	break;
  823|      0|    case 13:
  ------------------
  |  Branch (823:5): [True: 0, False: 14.0k]
  ------------------
  824|      0|	retval = ((FUNS13)fun)(
  825|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
  826|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
  827|      0|	    cargs[10], cargs[11], cargs[12]);
  828|      0|	break;
  829|      0|    case 14:
  ------------------
  |  Branch (829:5): [True: 0, False: 14.0k]
  ------------------
  830|      0|	retval = ((FUNS14)fun)(
  831|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
  832|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
  833|      0|	    cargs[10], cargs[11], cargs[12], cargs[13]);
  834|      0|	break;
  835|      0|    case 15:
  ------------------
  |  Branch (835:5): [True: 0, False: 14.0k]
  ------------------
  836|      0|	retval = ((FUNS15)fun)(
  837|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
  838|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
  839|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14]);
  840|      0|	break;
  841|      0|    case 16:
  ------------------
  |  Branch (841:5): [True: 0, False: 14.0k]
  ------------------
  842|      0|	retval = ((FUNS16)fun)(
  843|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
  844|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
  845|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
  846|      0|	    cargs[15]);
  847|      0|	break;
  848|      0|    case 17:
  ------------------
  |  Branch (848:5): [True: 0, False: 14.0k]
  ------------------
  849|      0|	retval = ((FUNS17)fun)(
  850|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
  851|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
  852|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
  853|      0|	    cargs[15], cargs[16]);
  854|      0|	break;
  855|      0|    case 18:
  ------------------
  |  Branch (855:5): [True: 0, False: 14.0k]
  ------------------
  856|      0|	retval = ((FUNS18)fun)(
  857|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
  858|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
  859|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
  860|      0|	    cargs[15], cargs[16], cargs[17]);
  861|      0|	break;
  862|      0|    case 19:
  ------------------
  |  Branch (862:5): [True: 0, False: 14.0k]
  ------------------
  863|      0|	retval = ((FUNS19)fun)(
  864|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
  865|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
  866|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
  867|      0|	    cargs[15], cargs[16], cargs[17], cargs[18]);
  868|      0|	break;
  869|      0|    case 20:
  ------------------
  |  Branch (869:5): [True: 0, False: 14.0k]
  ------------------
  870|      0|	retval = ((FUNS20)fun)(
  871|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
  872|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
  873|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
  874|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19]);
  875|      0|	break;
  876|      0|    case 21:
  ------------------
  |  Branch (876:5): [True: 0, False: 14.0k]
  ------------------
  877|      0|	retval = ((FUNS21)fun)(
  878|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
  879|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
  880|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
  881|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
  882|      0|	    cargs[20]);
  883|      0|	break;
  884|      0|    case 22:
  ------------------
  |  Branch (884:5): [True: 0, False: 14.0k]
  ------------------
  885|      0|	retval = ((FUNS22)fun)(
  886|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
  887|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
  888|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
  889|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
  890|      0|	    cargs[20], cargs[21]);
  891|      0|	break;
  892|      0|    case 23:
  ------------------
  |  Branch (892:5): [True: 0, False: 14.0k]
  ------------------
  893|      0|	retval = ((FUNS23)fun)(
  894|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
  895|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
  896|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
  897|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
  898|      0|	    cargs[20], cargs[21], cargs[22]);
  899|      0|	break;
  900|      0|    case 24:
  ------------------
  |  Branch (900:5): [True: 0, False: 14.0k]
  ------------------
  901|      0|	retval = ((FUNS24)fun)(
  902|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
  903|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
  904|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
  905|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
  906|      0|	    cargs[20], cargs[21], cargs[22], cargs[23]);
  907|      0|	break;
  908|      0|    case 25:
  ------------------
  |  Branch (908:5): [True: 0, False: 14.0k]
  ------------------
  909|      0|	retval = ((FUNS25)fun)(
  910|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
  911|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
  912|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
  913|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
  914|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24]);
  915|      0|	break;
  916|      0|    case 26:
  ------------------
  |  Branch (916:5): [True: 0, False: 14.0k]
  ------------------
  917|      0|	retval = ((FUNS26)fun)(
  918|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
  919|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
  920|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
  921|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
  922|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24],
  923|      0|	    cargs[25]);
  924|      0|	break;
  925|      0|    case 27:
  ------------------
  |  Branch (925:5): [True: 0, False: 14.0k]
  ------------------
  926|      0|	retval = ((FUNS27)fun)(
  927|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
  928|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
  929|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
  930|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
  931|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24],
  932|      0|	    cargs[25], cargs[26]);
  933|      0|	break;
  934|      0|    case 28:
  ------------------
  |  Branch (934:5): [True: 0, False: 14.0k]
  ------------------
  935|      0|	retval = ((FUNS28)fun)(
  936|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
  937|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
  938|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
  939|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
  940|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24],
  941|      0|	    cargs[25], cargs[26], cargs[27]);
  942|      0|	break;
  943|      0|    case 29:
  ------------------
  |  Branch (943:5): [True: 0, False: 14.0k]
  ------------------
  944|      0|	retval = ((FUNS29)fun)(
  945|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
  946|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
  947|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
  948|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
  949|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24],
  950|      0|	    cargs[25], cargs[26], cargs[27], cargs[28]);
  951|      0|	break;
  952|      0|    case 30:
  ------------------
  |  Branch (952:5): [True: 0, False: 14.0k]
  ------------------
  953|      0|	retval = ((FUNS30)fun)(
  954|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
  955|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
  956|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
  957|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
  958|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24],
  959|      0|	    cargs[25], cargs[26], cargs[27], cargs[28], cargs[29]);
  960|      0|	break;
  961|      0|    case 31:
  ------------------
  |  Branch (961:5): [True: 0, False: 14.0k]
  ------------------
  962|      0|	retval = ((FUNS31)fun)(
  963|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
  964|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
  965|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
  966|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
  967|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24],
  968|      0|	    cargs[25], cargs[26], cargs[27], cargs[28], cargs[29],
  969|      0|	    cargs[30]);
  970|      0|	break;
  971|      0|    case 32:
  ------------------
  |  Branch (971:5): [True: 0, False: 14.0k]
  ------------------
  972|      0|	retval = ((FUNS32)fun)(
  973|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
  974|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
  975|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
  976|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
  977|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24],
  978|      0|	    cargs[25], cargs[26], cargs[27], cargs[28], cargs[29],
  979|      0|	    cargs[30], cargs[31]);
  980|      0|	break;
  981|      0|    case 33:
  ------------------
  |  Branch (981:5): [True: 0, False: 14.0k]
  ------------------
  982|      0|	retval = ((FUNS33)fun)(
  983|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
  984|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
  985|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
  986|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
  987|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24],
  988|      0|	    cargs[25], cargs[26], cargs[27], cargs[28], cargs[29],
  989|      0|	    cargs[30], cargs[31], cargs[32]);
  990|      0|	break;
  991|      0|    case 34:
  ------------------
  |  Branch (991:5): [True: 0, False: 14.0k]
  ------------------
  992|      0|	retval = ((FUNS34)fun)(
  993|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
  994|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
  995|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
  996|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
  997|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24],
  998|      0|	    cargs[25], cargs[26], cargs[27], cargs[28], cargs[29],
  999|      0|	    cargs[30], cargs[31], cargs[32], cargs[33]);
 1000|      0|	break;
 1001|      0|    case 35:
  ------------------
  |  Branch (1001:5): [True: 0, False: 14.0k]
  ------------------
 1002|      0|	retval = ((FUNS35)fun)(
 1003|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
 1004|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
 1005|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
 1006|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
 1007|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24],
 1008|      0|	    cargs[25], cargs[26], cargs[27], cargs[28], cargs[29],
 1009|      0|	    cargs[30], cargs[31], cargs[32], cargs[33], cargs[34]);
 1010|      0|	break;
 1011|      0|    case 36:
  ------------------
  |  Branch (1011:5): [True: 0, False: 14.0k]
  ------------------
 1012|      0|	retval = ((FUNS36)fun)(
 1013|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
 1014|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
 1015|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
 1016|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
 1017|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24],
 1018|      0|	    cargs[25], cargs[26], cargs[27], cargs[28], cargs[29],
 1019|      0|	    cargs[30], cargs[31], cargs[32], cargs[33], cargs[34],
 1020|      0|	    cargs[35]);
 1021|      0|	break;
 1022|      0|    case 37:
  ------------------
  |  Branch (1022:5): [True: 0, False: 14.0k]
  ------------------
 1023|      0|	retval = ((FUNS37)fun)(
 1024|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
 1025|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
 1026|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
 1027|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
 1028|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24],
 1029|      0|	    cargs[25], cargs[26], cargs[27], cargs[28], cargs[29],
 1030|      0|	    cargs[30], cargs[31], cargs[32], cargs[33], cargs[34],
 1031|      0|	    cargs[35], cargs[36]);
 1032|      0|	break;
 1033|      0|    case 38:
  ------------------
  |  Branch (1033:5): [True: 0, False: 14.0k]
  ------------------
 1034|      0|	retval = ((FUNS38)fun)(
 1035|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
 1036|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
 1037|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
 1038|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
 1039|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24],
 1040|      0|	    cargs[25], cargs[26], cargs[27], cargs[28], cargs[29],
 1041|      0|	    cargs[30], cargs[31], cargs[32], cargs[33], cargs[34],
 1042|      0|	    cargs[35], cargs[36], cargs[37]);
 1043|      0|	break;
 1044|      0|    case 39:
  ------------------
  |  Branch (1044:5): [True: 0, False: 14.0k]
  ------------------
 1045|      0|	retval = ((FUNS39)fun)(
 1046|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
 1047|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
 1048|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
 1049|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
 1050|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24],
 1051|      0|	    cargs[25], cargs[26], cargs[27], cargs[28], cargs[29],
 1052|      0|	    cargs[30], cargs[31], cargs[32], cargs[33], cargs[34],
 1053|      0|	    cargs[35], cargs[36], cargs[37], cargs[38]);
 1054|      0|	break;
 1055|      0|    case 40:
  ------------------
  |  Branch (1055:5): [True: 0, False: 14.0k]
  ------------------
 1056|      0|	retval = ((FUNS40)fun)(
 1057|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
 1058|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
 1059|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
 1060|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
 1061|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24],
 1062|      0|	    cargs[25], cargs[26], cargs[27], cargs[28], cargs[29],
 1063|      0|	    cargs[30], cargs[31], cargs[32], cargs[33], cargs[34],
 1064|      0|	    cargs[35], cargs[36], cargs[37], cargs[38], cargs[39]);
 1065|      0|	break;
 1066|      0|    case 41:
  ------------------
  |  Branch (1066:5): [True: 0, False: 14.0k]
  ------------------
 1067|      0|	retval = ((FUNS41)fun)(
 1068|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
 1069|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
 1070|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
 1071|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
 1072|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24],
 1073|      0|	    cargs[25], cargs[26], cargs[27], cargs[28], cargs[29],
 1074|      0|	    cargs[30], cargs[31], cargs[32], cargs[33], cargs[34],
 1075|      0|	    cargs[35], cargs[36], cargs[37], cargs[38], cargs[39],
 1076|      0|	    cargs[40]);
 1077|      0|	break;
 1078|      0|    case 42:
  ------------------
  |  Branch (1078:5): [True: 0, False: 14.0k]
  ------------------
 1079|      0|	retval = ((FUNS42)fun)(
 1080|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
 1081|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
 1082|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
 1083|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
 1084|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24],
 1085|      0|	    cargs[25], cargs[26], cargs[27], cargs[28], cargs[29],
 1086|      0|	    cargs[30], cargs[31], cargs[32], cargs[33], cargs[34],
 1087|      0|	    cargs[35], cargs[36], cargs[37], cargs[38], cargs[39],
 1088|      0|	    cargs[40], cargs[41]);
 1089|      0|	break;
 1090|      0|    case 43:
  ------------------
  |  Branch (1090:5): [True: 0, False: 14.0k]
  ------------------
 1091|      0|	retval = ((FUNS43)fun)(
 1092|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
 1093|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
 1094|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
 1095|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
 1096|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24],
 1097|      0|	    cargs[25], cargs[26], cargs[27], cargs[28], cargs[29],
 1098|      0|	    cargs[30], cargs[31], cargs[32], cargs[33], cargs[34],
 1099|      0|	    cargs[35], cargs[36], cargs[37], cargs[38], cargs[39],
 1100|      0|	    cargs[40], cargs[41], cargs[42]);
 1101|      0|	break;
 1102|      0|    case 44:
  ------------------
  |  Branch (1102:5): [True: 0, False: 14.0k]
  ------------------
 1103|      0|	retval = ((FUNS44)fun)(
 1104|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
 1105|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
 1106|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
 1107|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
 1108|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24],
 1109|      0|	    cargs[25], cargs[26], cargs[27], cargs[28], cargs[29],
 1110|      0|	    cargs[30], cargs[31], cargs[32], cargs[33], cargs[34],
 1111|      0|	    cargs[35], cargs[36], cargs[37], cargs[38], cargs[39],
 1112|      0|	    cargs[40], cargs[41], cargs[42], cargs[43]);
 1113|      0|	break;
 1114|      0|    case 45:
  ------------------
  |  Branch (1114:5): [True: 0, False: 14.0k]
  ------------------
 1115|      0|	retval = ((FUNS45)fun)(
 1116|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
 1117|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
 1118|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
 1119|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
 1120|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24],
 1121|      0|	    cargs[25], cargs[26], cargs[27], cargs[28], cargs[29],
 1122|      0|	    cargs[30], cargs[31], cargs[32], cargs[33], cargs[34],
 1123|      0|	    cargs[35], cargs[36], cargs[37], cargs[38], cargs[39],
 1124|      0|	    cargs[40], cargs[41], cargs[42], cargs[43], cargs[44]);
 1125|      0|	break;
 1126|      0|    case 46:
  ------------------
  |  Branch (1126:5): [True: 0, False: 14.0k]
  ------------------
 1127|      0|	retval = ((FUNS46)fun)(
 1128|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
 1129|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
 1130|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
 1131|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
 1132|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24],
 1133|      0|	    cargs[25], cargs[26], cargs[27], cargs[28], cargs[29],
 1134|      0|	    cargs[30], cargs[31], cargs[32], cargs[33], cargs[34],
 1135|      0|	    cargs[35], cargs[36], cargs[37], cargs[38], cargs[39],
 1136|      0|	    cargs[40], cargs[41], cargs[42], cargs[43], cargs[44],
 1137|      0|	    cargs[45]);
 1138|      0|	break;
 1139|      0|    case 47:
  ------------------
  |  Branch (1139:5): [True: 0, False: 14.0k]
  ------------------
 1140|      0|	retval = ((FUNS47)fun)(
 1141|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
 1142|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
 1143|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
 1144|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
 1145|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24],
 1146|      0|	    cargs[25], cargs[26], cargs[27], cargs[28], cargs[29],
 1147|      0|	    cargs[30], cargs[31], cargs[32], cargs[33], cargs[34],
 1148|      0|	    cargs[35], cargs[36], cargs[37], cargs[38], cargs[39],
 1149|      0|	    cargs[40], cargs[41], cargs[42], cargs[43], cargs[44],
 1150|      0|	    cargs[45], cargs[46]);
 1151|      0|	break;
 1152|      0|    case 48:
  ------------------
  |  Branch (1152:5): [True: 0, False: 14.0k]
  ------------------
 1153|      0|	retval = ((FUNS48)fun)(
 1154|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
 1155|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
 1156|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
 1157|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
 1158|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24],
 1159|      0|	    cargs[25], cargs[26], cargs[27], cargs[28], cargs[29],
 1160|      0|	    cargs[30], cargs[31], cargs[32], cargs[33], cargs[34],
 1161|      0|	    cargs[35], cargs[36], cargs[37], cargs[38], cargs[39],
 1162|      0|	    cargs[40], cargs[41], cargs[42], cargs[43], cargs[44],
 1163|      0|	    cargs[45], cargs[46], cargs[47]);
 1164|      0|	break;
 1165|      0|    case 49:
  ------------------
  |  Branch (1165:5): [True: 0, False: 14.0k]
  ------------------
 1166|      0|	retval = ((FUNS49)fun)(
 1167|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
 1168|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
 1169|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
 1170|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
 1171|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24],
 1172|      0|	    cargs[25], cargs[26], cargs[27], cargs[28], cargs[29],
 1173|      0|	    cargs[30], cargs[31], cargs[32], cargs[33], cargs[34],
 1174|      0|	    cargs[35], cargs[36], cargs[37], cargs[38], cargs[39],
 1175|      0|	    cargs[40], cargs[41], cargs[42], cargs[43], cargs[44],
 1176|      0|	    cargs[45], cargs[46], cargs[47], cargs[48]);
 1177|      0|	break;
 1178|      0|    case 50:
  ------------------
  |  Branch (1178:5): [True: 0, False: 14.0k]
  ------------------
 1179|      0|	retval = ((FUNS50)fun)(
 1180|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
 1181|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
 1182|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
 1183|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
 1184|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24],
 1185|      0|	    cargs[25], cargs[26], cargs[27], cargs[28], cargs[29],
 1186|      0|	    cargs[30], cargs[31], cargs[32], cargs[33], cargs[34],
 1187|      0|	    cargs[35], cargs[36], cargs[37], cargs[38], cargs[39],
 1188|      0|	    cargs[40], cargs[41], cargs[42], cargs[43], cargs[44],
 1189|      0|	    cargs[45], cargs[46], cargs[47], cargs[48], cargs[49]);
 1190|      0|	break;
 1191|      0|    case 51:
  ------------------
  |  Branch (1191:5): [True: 0, False: 14.0k]
  ------------------
 1192|      0|	retval = ((FUNS51)fun)(
 1193|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
 1194|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
 1195|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
 1196|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
 1197|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24],
 1198|      0|	    cargs[25], cargs[26], cargs[27], cargs[28], cargs[29],
 1199|      0|	    cargs[30], cargs[31], cargs[32], cargs[33], cargs[34],
 1200|      0|	    cargs[35], cargs[36], cargs[37], cargs[38], cargs[39],
 1201|      0|	    cargs[40], cargs[41], cargs[42], cargs[43], cargs[44],
 1202|      0|	    cargs[45], cargs[46], cargs[47], cargs[48], cargs[49],
 1203|      0|	    cargs[50]);
 1204|      0|	break;
 1205|      0|    case 52:
  ------------------
  |  Branch (1205:5): [True: 0, False: 14.0k]
  ------------------
 1206|      0|	retval = ((FUNS52)fun)(
 1207|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
 1208|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
 1209|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
 1210|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
 1211|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24],
 1212|      0|	    cargs[25], cargs[26], cargs[27], cargs[28], cargs[29],
 1213|      0|	    cargs[30], cargs[31], cargs[32], cargs[33], cargs[34],
 1214|      0|	    cargs[35], cargs[36], cargs[37], cargs[38], cargs[39],
 1215|      0|	    cargs[40], cargs[41], cargs[42], cargs[43], cargs[44],
 1216|      0|	    cargs[45], cargs[46], cargs[47], cargs[48], cargs[49],
 1217|      0|	    cargs[50], cargs[51]);
 1218|      0|	break;
 1219|      0|    case 53:
  ------------------
  |  Branch (1219:5): [True: 0, False: 14.0k]
  ------------------
 1220|      0|	retval = ((FUNS53)fun)(
 1221|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
 1222|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
 1223|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
 1224|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
 1225|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24],
 1226|      0|	    cargs[25], cargs[26], cargs[27], cargs[28], cargs[29],
 1227|      0|	    cargs[30], cargs[31], cargs[32], cargs[33], cargs[34],
 1228|      0|	    cargs[35], cargs[36], cargs[37], cargs[38], cargs[39],
 1229|      0|	    cargs[40], cargs[41], cargs[42], cargs[43], cargs[44],
 1230|      0|	    cargs[45], cargs[46], cargs[47], cargs[48], cargs[49],
 1231|      0|	    cargs[50], cargs[51], cargs[52]);
 1232|      0|	break;
 1233|      0|    case 54:
  ------------------
  |  Branch (1233:5): [True: 0, False: 14.0k]
  ------------------
 1234|      0|	retval = ((FUNS54)fun)(
 1235|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
 1236|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
 1237|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
 1238|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
 1239|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24],
 1240|      0|	    cargs[25], cargs[26], cargs[27], cargs[28], cargs[29],
 1241|      0|	    cargs[30], cargs[31], cargs[32], cargs[33], cargs[34],
 1242|      0|	    cargs[35], cargs[36], cargs[37], cargs[38], cargs[39],
 1243|      0|	    cargs[40], cargs[41], cargs[42], cargs[43], cargs[44],
 1244|      0|	    cargs[45], cargs[46], cargs[47], cargs[48], cargs[49],
 1245|      0|	    cargs[50], cargs[51], cargs[52], cargs[53]);
 1246|      0|	break;
 1247|      0|    case 55:
  ------------------
  |  Branch (1247:5): [True: 0, False: 14.0k]
  ------------------
 1248|      0|	retval = ((FUNS55)fun)(
 1249|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
 1250|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
 1251|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
 1252|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
 1253|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24],
 1254|      0|	    cargs[25], cargs[26], cargs[27], cargs[28], cargs[29],
 1255|      0|	    cargs[30], cargs[31], cargs[32], cargs[33], cargs[34],
 1256|      0|	    cargs[35], cargs[36], cargs[37], cargs[38], cargs[39],
 1257|      0|	    cargs[40], cargs[41], cargs[42], cargs[43], cargs[44],
 1258|      0|	    cargs[45], cargs[46], cargs[47], cargs[48], cargs[49],
 1259|      0|	    cargs[50], cargs[51], cargs[52], cargs[53], cargs[54]);
 1260|      0|	break;
 1261|      0|    case 56:
  ------------------
  |  Branch (1261:5): [True: 0, False: 14.0k]
  ------------------
 1262|      0|	retval = ((FUNS56)fun)(
 1263|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
 1264|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
 1265|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
 1266|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
 1267|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24],
 1268|      0|	    cargs[25], cargs[26], cargs[27], cargs[28], cargs[29],
 1269|      0|	    cargs[30], cargs[31], cargs[32], cargs[33], cargs[34],
 1270|      0|	    cargs[35], cargs[36], cargs[37], cargs[38], cargs[39],
 1271|      0|	    cargs[40], cargs[41], cargs[42], cargs[43], cargs[44],
 1272|      0|	    cargs[45], cargs[46], cargs[47], cargs[48], cargs[49],
 1273|      0|	    cargs[50], cargs[51], cargs[52], cargs[53], cargs[54],
 1274|      0|	    cargs[55]);
 1275|      0|	break;
 1276|      0|    case 57:
  ------------------
  |  Branch (1276:5): [True: 0, False: 14.0k]
  ------------------
 1277|      0|	retval = ((FUNS57)fun)(
 1278|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
 1279|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
 1280|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
 1281|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
 1282|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24],
 1283|      0|	    cargs[25], cargs[26], cargs[27], cargs[28], cargs[29],
 1284|      0|	    cargs[30], cargs[31], cargs[32], cargs[33], cargs[34],
 1285|      0|	    cargs[35], cargs[36], cargs[37], cargs[38], cargs[39],
 1286|      0|	    cargs[40], cargs[41], cargs[42], cargs[43], cargs[44],
 1287|      0|	    cargs[45], cargs[46], cargs[47], cargs[48], cargs[49],
 1288|      0|	    cargs[50], cargs[51], cargs[52], cargs[53], cargs[54],
 1289|      0|	    cargs[55], cargs[56]);
 1290|      0|	break;
 1291|      0|    case 58:
  ------------------
  |  Branch (1291:5): [True: 0, False: 14.0k]
  ------------------
 1292|      0|	retval = ((FUNS58)fun)(
 1293|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
 1294|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
 1295|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
 1296|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
 1297|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24],
 1298|      0|	    cargs[25], cargs[26], cargs[27], cargs[28], cargs[29],
 1299|      0|	    cargs[30], cargs[31], cargs[32], cargs[33], cargs[34],
 1300|      0|	    cargs[35], cargs[36], cargs[37], cargs[38], cargs[39],
 1301|      0|	    cargs[40], cargs[41], cargs[42], cargs[43], cargs[44],
 1302|      0|	    cargs[45], cargs[46], cargs[47], cargs[48], cargs[49],
 1303|      0|	    cargs[50], cargs[51], cargs[52], cargs[53], cargs[54],
 1304|      0|	    cargs[55], cargs[56], cargs[57]);
 1305|      0|	break;
 1306|      0|    case 59:
  ------------------
  |  Branch (1306:5): [True: 0, False: 14.0k]
  ------------------
 1307|      0|	retval = ((FUNS59)fun)(
 1308|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
 1309|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
 1310|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
 1311|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
 1312|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24],
 1313|      0|	    cargs[25], cargs[26], cargs[27], cargs[28], cargs[29],
 1314|      0|	    cargs[30], cargs[31], cargs[32], cargs[33], cargs[34],
 1315|      0|	    cargs[35], cargs[36], cargs[37], cargs[38], cargs[39],
 1316|      0|	    cargs[40], cargs[41], cargs[42], cargs[43], cargs[44],
 1317|      0|	    cargs[45], cargs[46], cargs[47], cargs[48], cargs[49],
 1318|      0|	    cargs[50], cargs[51], cargs[52], cargs[53], cargs[54],
 1319|      0|	    cargs[55], cargs[56], cargs[57], cargs[58]);
 1320|      0|	break;
 1321|      0|    case 60:
  ------------------
  |  Branch (1321:5): [True: 0, False: 14.0k]
  ------------------
 1322|      0|	retval = ((FUNS60)fun)(
 1323|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
 1324|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
 1325|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
 1326|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
 1327|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24],
 1328|      0|	    cargs[25], cargs[26], cargs[27], cargs[28], cargs[29],
 1329|      0|	    cargs[30], cargs[31], cargs[32], cargs[33], cargs[34],
 1330|      0|	    cargs[35], cargs[36], cargs[37], cargs[38], cargs[39],
 1331|      0|	    cargs[40], cargs[41], cargs[42], cargs[43], cargs[44],
 1332|      0|	    cargs[45], cargs[46], cargs[47], cargs[48], cargs[49],
 1333|      0|	    cargs[50], cargs[51], cargs[52], cargs[53], cargs[54],
 1334|      0|	    cargs[55], cargs[56], cargs[57], cargs[58], cargs[59]);
 1335|      0|	break;
 1336|      0|    case 61:
  ------------------
  |  Branch (1336:5): [True: 0, False: 14.0k]
  ------------------
 1337|      0|	retval = ((FUNS61)fun)(
 1338|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
 1339|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
 1340|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
 1341|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
 1342|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24],
 1343|      0|	    cargs[25], cargs[26], cargs[27], cargs[28], cargs[29],
 1344|      0|	    cargs[30], cargs[31], cargs[32], cargs[33], cargs[34],
 1345|      0|	    cargs[35], cargs[36], cargs[37], cargs[38], cargs[39],
 1346|      0|	    cargs[40], cargs[41], cargs[42], cargs[43], cargs[44],
 1347|      0|	    cargs[45], cargs[46], cargs[47], cargs[48], cargs[49],
 1348|      0|	    cargs[50], cargs[51], cargs[52], cargs[53], cargs[54],
 1349|      0|	    cargs[55], cargs[56], cargs[57], cargs[58], cargs[59],
 1350|      0|	    cargs[60]);
 1351|      0|	break;
 1352|      0|    case 62:
  ------------------
  |  Branch (1352:5): [True: 0, False: 14.0k]
  ------------------
 1353|      0|	retval = ((FUNS62)fun)(
 1354|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
 1355|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
 1356|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
 1357|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
 1358|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24],
 1359|      0|	    cargs[25], cargs[26], cargs[27], cargs[28], cargs[29],
 1360|      0|	    cargs[30], cargs[31], cargs[32], cargs[33], cargs[34],
 1361|      0|	    cargs[35], cargs[36], cargs[37], cargs[38], cargs[39],
 1362|      0|	    cargs[40], cargs[41], cargs[42], cargs[43], cargs[44],
 1363|      0|	    cargs[45], cargs[46], cargs[47], cargs[48], cargs[49],
 1364|      0|	    cargs[50], cargs[51], cargs[52], cargs[53], cargs[54],
 1365|      0|	    cargs[55], cargs[56], cargs[57], cargs[58], cargs[59],
 1366|      0|	    cargs[60], cargs[61]);
 1367|      0|	break;
 1368|      0|    case 63:
  ------------------
  |  Branch (1368:5): [True: 0, False: 14.0k]
  ------------------
 1369|      0|	retval = ((FUNS63)fun)(
 1370|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
 1371|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
 1372|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
 1373|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
 1374|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24],
 1375|      0|	    cargs[25], cargs[26], cargs[27], cargs[28], cargs[29],
 1376|      0|	    cargs[30], cargs[31], cargs[32], cargs[33], cargs[34],
 1377|      0|	    cargs[35], cargs[36], cargs[37], cargs[38], cargs[39],
 1378|      0|	    cargs[40], cargs[41], cargs[42], cargs[43], cargs[44],
 1379|      0|	    cargs[45], cargs[46], cargs[47], cargs[48], cargs[49],
 1380|      0|	    cargs[50], cargs[51], cargs[52], cargs[53], cargs[54],
 1381|      0|	    cargs[55], cargs[56], cargs[57], cargs[58], cargs[59],
 1382|      0|	    cargs[60], cargs[61], cargs[62]);
 1383|      0|	break;
 1384|      0|    case 64:
  ------------------
  |  Branch (1384:5): [True: 0, False: 14.0k]
  ------------------
 1385|      0|	retval = ((FUNS64)fun)(
 1386|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
 1387|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
 1388|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
 1389|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
 1390|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24],
 1391|      0|	    cargs[25], cargs[26], cargs[27], cargs[28], cargs[29],
 1392|      0|	    cargs[30], cargs[31], cargs[32], cargs[33], cargs[34],
 1393|      0|	    cargs[35], cargs[36], cargs[37], cargs[38], cargs[39],
 1394|      0|	    cargs[40], cargs[41], cargs[42], cargs[43], cargs[44],
 1395|      0|	    cargs[45], cargs[46], cargs[47], cargs[48], cargs[49],
 1396|      0|	    cargs[50], cargs[51], cargs[52], cargs[53], cargs[54],
 1397|      0|	    cargs[55], cargs[56], cargs[57], cargs[58], cargs[59],
 1398|      0|	    cargs[60], cargs[61], cargs[62], cargs[63]);
 1399|      0|	break;
 1400|      0|    case 65:
  ------------------
  |  Branch (1400:5): [True: 0, False: 14.0k]
  ------------------
 1401|      0|	retval = ((FUNS65)fun)(
 1402|      0|	    cargs[0],  cargs[1],  cargs[2],  cargs[3],  cargs[4],
 1403|      0|	    cargs[5],  cargs[6],  cargs[7],  cargs[8],  cargs[9],
 1404|      0|	    cargs[10], cargs[11], cargs[12], cargs[13], cargs[14],
 1405|      0|	    cargs[15], cargs[16], cargs[17], cargs[18], cargs[19],
 1406|      0|	    cargs[20], cargs[21], cargs[22], cargs[23], cargs[24],
 1407|      0|	    cargs[25], cargs[26], cargs[27], cargs[28], cargs[29],
 1408|      0|	    cargs[30], cargs[31], cargs[32], cargs[33], cargs[34],
 1409|      0|	    cargs[35], cargs[36], cargs[37], cargs[38], cargs[39],
 1410|      0|	    cargs[40], cargs[41], cargs[42], cargs[43], cargs[44],
 1411|      0|	    cargs[45], cargs[46], cargs[47], cargs[48], cargs[49],
 1412|      0|	    cargs[50], cargs[51], cargs[52], cargs[53], cargs[54],
 1413|      0|	    cargs[55], cargs[56], cargs[57], cargs[58], cargs[59],
 1414|      0|	    cargs[60], cargs[61], cargs[62], cargs[63], cargs[64]);
 1415|      0|	break;
 1416|      0|    default:
  ------------------
  |  Branch (1416:5): [True: 0, False: 14.0k]
  ------------------
 1417|      0|	errorcall(call, _("too many arguments, sorry"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("too many arguments, sorry"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1418|  14.0k|    }
 1419|  12.0k|    return check_retval(call, retval);
 1420|  14.0k|}
dotcode.c:checkValidSymbolId:
  111|  28.1k|{
  112|  28.1k|    if (isValidString(op)) return;
  ------------------
  |  |  972|  28.1k|#define isValidString		Rf_isValidString
  ------------------
  |  Branch (112:9): [True: 0, False: 28.1k]
  ------------------
  113|       |
  114|  28.1k|    if(TYPEOF(op) == EXTPTRSXP) {
  ------------------
  |  |  134|  28.1k|#define EXTPTRSXP   22    /* external pointer */
  ------------------
  |  Branch (114:8): [True: 14.0k, False: 14.0k]
  ------------------
  115|  14.0k|	static SEXP native_symbol = NULL;
  116|  14.0k|	static SEXP registered_native_symbol = NULL;
  117|  14.0k|	if (native_symbol == NULL) {
  ------------------
  |  Branch (117:6): [True: 2, False: 14.0k]
  ------------------
  118|      2|	    native_symbol = install("native symbol");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  119|      2|	    registered_native_symbol = install("registered native symbol");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  120|      2|	}
  121|  14.0k|	char *p = NULL;
  122|  14.0k|	if(R_ExternalPtrTag(op) == native_symbol)
  ------------------
  |  Branch (122:5): [True: 0, False: 14.0k]
  ------------------
  123|      0|	   *fun = R_ExternalPtrAddrFn(op);
  124|  14.0k|	else if(R_ExternalPtrTag(op) == registered_native_symbol) {
  ------------------
  |  Branch (124:10): [True: 14.0k, False: 0]
  ------------------
  125|  14.0k|	   R_RegisteredNativeSymbol *tmp;
  126|  14.0k|	   tmp = (R_RegisteredNativeSymbol *) R_ExternalPtrAddr(op);
  127|  14.0k|	   if(tmp) {
  ------------------
  |  Branch (127:8): [True: 14.0k, False: 0]
  ------------------
  128|  14.0k|	      if(symbol->type != R_ANY_SYM && symbol->type != tmp->type)
  ------------------
  |  Branch (128:11): [True: 14.0k, False: 0]
  |  Branch (128:40): [True: 0, False: 14.0k]
  ------------------
  129|      0|		 errorcall(call, _("NULL value passed as symbol address"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              		 errorcall(call, _("NULL value passed as symbol address"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  130|       |		/* Check the type of the symbol. */
  131|  14.0k|	      switch(symbol->type) {
  132|      0|	      case R_C_SYM:
  ------------------
  |  Branch (132:8): [True: 0, False: 14.0k]
  ------------------
  133|      0|		  *fun = tmp->symbol.c->fun;
  134|      0|		  p = tmp->symbol.c->name;
  135|      0|		  break;
  136|  14.0k|	      case R_CALL_SYM:
  ------------------
  |  Branch (136:8): [True: 14.0k, False: 4]
  ------------------
  137|  14.0k|		  *fun = tmp->symbol.call->fun;
  138|  14.0k|		  p = tmp->symbol.call->name;
  139|  14.0k|		  break;
  140|      0|	      case R_FORTRAN_SYM:
  ------------------
  |  Branch (140:8): [True: 0, False: 14.0k]
  ------------------
  141|      0|		  *fun = tmp->symbol.fortran->fun;
  142|      0|		  p = tmp->symbol.fortran->name;
  143|      0|		  break;
  144|      4|	      case R_EXTERNAL_SYM:
  ------------------
  |  Branch (144:8): [True: 4, False: 14.0k]
  ------------------
  145|      4|		  *fun = tmp->symbol.external->fun;
  146|      4|		  p = tmp->symbol.external->name;
  147|      4|		  break;
  148|      0|	      default:
  ------------------
  |  Branch (148:8): [True: 0, False: 14.0k]
  ------------------
  149|       |		 /* Something unintended has happened if we get here. */
  150|      0|		  errorcall(call, _("Unimplemented type %d in createRSymbolObject"),
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              		  errorcall(call, _("Unimplemented type %d in createRSymbolObject"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  151|      0|			    symbol->type);
  152|      0|		  break;
  153|  14.0k|	      }
  154|  14.0k|	      *symbol = *tmp;
  155|  14.0k|	   }
  156|  14.0k|	}
  157|       |	/* This is illegal C */
  158|  14.0k|	if(*fun == NULL)
  ------------------
  |  Branch (158:5): [True: 0, False: 14.0k]
  ------------------
  159|      0|	    errorcall(call, _("NULL value passed as symbol address"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	    errorcall(call, _("NULL value passed as symbol address"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  160|       |
  161|       |	/* copy the symbol name. */
  162|  14.0k|	if (p && buf) {
  ------------------
  |  Branch (162:6): [True: 14.0k, False: 0]
  |  Branch (162:11): [True: 4, False: 14.0k]
  ------------------
  163|      4|	    if (strlen(p) >= MaxSymbolBytes)
  ------------------
  |  |   69|      4|#define MaxSymbolBytes 1024
  ------------------
  |  Branch (163:10): [True: 0, False: 4]
  ------------------
  164|      0|		error(_("symbol '%s' is too long"), p);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("symbol '%s' is too long"), p);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  165|      4|	    memcpy(buf, p, strlen(p)+1);
  166|      4|	}
  167|  14.0k|	else if (buf) {
  ------------------
  |  Branch (167:11): [True: 0, False: 14.0k]
  ------------------
  168|      0|	    buf[0] = '\0';
  169|      0|	}
  170|       |
  171|  14.0k|	return;
  172|  14.0k|    }
  173|  14.0k|    else if(isNativeSymbolInfo(op)) {
  ------------------
  |  Branch (173:13): [True: 14.0k, False: 0]
  ------------------
  174|  14.0k|	checkValidSymbolId(VECTOR_ELT(op, 1), call, fun, symbol, buf);
  175|       |
  176|  14.0k|	SEXP name = VECTOR_ELT(op, 0);
  177|  14.0k|	if (buf && buf[0] == '\0' && isValidString(name)) {
  ------------------
  |  |  972|      0|#define isValidString		Rf_isValidString
  ------------------
  |  Branch (177:6): [True: 4, False: 14.0k]
  |  Branch (177:13): [True: 0, False: 4]
  |  Branch (177:31): [True: 0, False: 0]
  ------------------
  178|       |	    /* only used in messages, so truncate rather than fail */
  179|      0|	    const char *p = CHAR(STRING_ELT(name, 0));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  180|      0|	    size_t n = strlen(p);
  181|      0|	    if (n >= MaxSymbolBytes)
  ------------------
  |  |   69|      0|#define MaxSymbolBytes 1024
  ------------------
  |  Branch (181:10): [True: 0, False: 0]
  ------------------
  182|      0|		n = MaxSymbolBytes - 1;
  ------------------
  |  |   69|      0|#define MaxSymbolBytes 1024
  ------------------
  183|      0|	    memcpy(buf, p, n);
  184|      0|	    buf[n] = '\0';
  185|      0|	}
  186|       |
  187|  14.0k|	return;
  188|  14.0k|    }
  189|       |
  190|      0|    errorcall(call,
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
  191|       |      _("first argument must be a string (of length 1) or native symbol reference"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  192|      0|    return; /* not reached */
  193|  28.1k|}
dotcode.c:isNativeSymbolInfo:
   83|  14.0k|{
   84|       |    /* was: inherits(op, "NativeSymbolInfo")
   85|       |     * inherits() is slow because of string comparisons, so use
   86|       |     * structural check instead. */
   87|  14.0k|    return (TYPEOF(op) == VECSXP &&
  ------------------
  |  |  131|  28.1k|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (87:13): [True: 14.0k, False: 0]
  ------------------
   88|  14.0k|	    LENGTH(op) >= 2 &&
  ------------------
  |  Branch (88:6): [True: 14.0k, False: 0]
  ------------------
   89|  14.0k|	    TYPEOF(VECTOR_ELT(op, 1)) == EXTPTRSXP);
  ------------------
  |  |  134|  14.0k|#define EXTPTRSXP   22    /* external pointer */
  ------------------
  |  Branch (89:6): [True: 14.0k, False: 0]
  ------------------
   90|  14.0k|}
dotcode.c:check1arg2:
   43|      4|{
   44|      4|    if (TAG(arg) == R_NilValue) return;
  ------------------
  |  Branch (44:9): [True: 4, False: 0]
  ------------------
   45|      0|    errorcall(call, "the first argument should not be named");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
   46|      0| }
dotcode.c:resolveNativeRoutine:
  218|      4|{
  219|      4|    SEXP op;
  220|      4|    const char *p; char *q;
  221|      4|    DllReference dll;
  222|       |    /* This is used as shorthand for 'all' in R_FindSymbol, but
  223|       |       should never be supplied */
  224|      4|    strcpy(dll.DLLname, "");
  225|      4|    dll.dll = NULL; dll.obj = NULL; dll.type = NOT_DEFINED;
  226|       |
  227|      4|    op = CAR(args);  // value of .NAME =
  228|       |    /* NB, this sets fun, symbol and buf and is not just a check! */
  229|      4|    checkValidSymbolId(op, call, fun, symbol, buf);
  230|       |
  231|       |    /* The following code modifies the argument list */
  232|       |    /* We know this is ok because do_dotCode is entered */
  233|       |    /* with its arguments evaluated. */
  234|       |
  235|      4|    if(symbol->type == R_C_SYM || symbol->type == R_FORTRAN_SYM) {
  ------------------
  |  Branch (235:8): [True: 0, False: 4]
  |  Branch (235:35): [True: 0, False: 4]
  ------------------
  236|       |	/* And that also looks for PACKAGE = */
  237|      0|	args = naokfind(CDR(args), nargs, naok, &dll);
  238|      0|	if(*naok == NA_LOGICAL)
  ------------------
  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (238:5): [True: 0, False: 0]
  ------------------
  239|      0|	    errorcall(call, _("invalid '%s' value"), "naok");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	    errorcall(call, _("invalid '%s' value"), "naok");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  240|      0|	if(*nargs > MAX_ARGS)
  ------------------
  |  |   72|      0|#define MAX_ARGS 65
  ------------------
  |  Branch (240:5): [True: 0, False: 0]
  ------------------
  241|      0|	    errorcall(call, _("too many arguments in foreign function call"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	    errorcall(call, _("too many arguments in foreign function call"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  242|      4|    } else {
  243|       |	/* This has the side effect of setting dll.type if a PACKAGE=
  244|       |	   argument if found, but it will only be used if a string was
  245|       |	   passed in  */
  246|      4|	args = pkgtrim(args, &dll);
  247|      4|    }
  248|       |
  249|       |    /* We were given a symbol (or an address), so we are done. */
  250|      4|    if (*fun) return args;
  ------------------
  |  Branch (250:9): [True: 4, False: 0]
  ------------------
  251|       |
  252|      0|    if (dll.type == FILENAME && !strlen(dll.DLLname))
  ------------------
  |  Branch (252:9): [True: 0, False: 0]
  |  Branch (252:33): [True: 0, False: 0]
  ------------------
  253|      0|	errorcall(call, _("PACKAGE = \"\" is invalid"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("PACKAGE = \"\" is invalid"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  254|       |
  255|       |    // find if we were called from a namespace
  256|      0|    SEXP env2 = ENCLOS(env);
  257|      0|    const char *ns = "";
  258|      0|    if(R_IsNamespaceEnv(env2))
  ------------------
  |  Branch (258:8): [True: 0, False: 0]
  ------------------
  259|      0|	ns = CHAR(STRING_ELT(R_NamespaceEnvSpec(env2), 0));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  260|      0|    else env2 = R_NilValue;
  261|       |
  262|       |#ifdef CHECK_CROSS_USAGE
  263|       |    if (dll.type == FILENAME && strcmp(dll.DLLname, "base")) {
  264|       |	if(strlen(ns) && strcmp(dll.DLLname, ns) &&
  265|       |	   !(streql(dll.DLLname, "BioC_graph") && streql(ns, "graph")))
  266|       |	    warningcall(call,
  267|       |			"using PACKAGE = \"%s\" from namespace '%s'",
  268|       |			dll.DLLname, ns);
  269|       |    }
  270|       |#endif
  271|       |
  272|       |    /* Make up the load symbol */
  273|      0|    if(TYPEOF(op) == STRSXP) {
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (273:8): [True: 0, False: 0]
  ------------------
  274|      0|	const void *vmax = vmaxget();
  275|      0|	p = translateChar(STRING_ELT(op, 0));
  ------------------
  |  | 1037|      0|#define translateChar		Rf_translateChar
  ------------------
  276|      0|	if(strlen(p) >= MaxSymbolBytes)
  ------------------
  |  |   69|      0|#define MaxSymbolBytes 1024
  ------------------
  |  Branch (276:5): [True: 0, False: 0]
  ------------------
  277|      0|	    error(_("symbol '%s' is too long"), p);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("symbol '%s' is too long"), p);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  278|      0|	q = buf;
  279|      0|	while ((*q = *p) != '\0') {
  ------------------
  |  Branch (279:9): [True: 0, False: 0]
  ------------------
  280|      0|	    if(symbol->type == R_FORTRAN_SYM) *q = (char) tolower(*q);
  ------------------
  |  Branch (280:9): [True: 0, False: 0]
  |  Branch (280:52): [True: 0, False: 0]
  |  Branch (280:52): [True: 0, False: 0]
  |  Branch (280:52): [Folded, False: 0]
  ------------------
  281|      0|	    p++;
  282|      0|	    q++;
  283|      0|	}
  284|      0|	vmaxset(vmax);
  285|      0|    }
  286|       |
  287|      0|    if(dll.type != FILENAME && strlen(ns)) {
  ------------------
  |  Branch (287:8): [True: 0, False: 0]
  |  Branch (287:32): [True: 0, False: 0]
  ------------------
  288|       |	/* no PACKAGE= arg, so see if we can identify a DLL
  289|       |	   from the namespace defining the function */
  290|      0|	*fun = R_FindNativeSymbolFromDLL(buf, &dll, symbol, env2);
  291|      0|	if (*fun) return args;
  ------------------
  |  Branch (291:6): [True: 0, False: 0]
  ------------------
  292|      0|	errorcall(call, "\"%s\" not resolved from current namespace (%s)",
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
  293|      0|		  buf, ns);
  294|      0|    }
  295|       |
  296|       |    /* NB: the actual conversion to the symbol is done in
  297|       |       R_dlsym in Rdynload.c.  That prepends an underscore (usually),
  298|       |       and may append one or more underscores.
  299|       |    */
  300|       |
  301|      0|    *fun = R_FindSymbol(buf, dll.DLLname, symbol);
  302|      0|    if (*fun) return args;
  ------------------
  |  Branch (302:9): [True: 0, False: 0]
  ------------------
  303|       |
  304|       |    /* so we've failed and bail out */
  305|      0|    if(strlen(dll.DLLname)) {
  ------------------
  |  Branch (305:8): [True: 0, False: 0]
  ------------------
  306|      0|	switch(symbol->type) {
  ------------------
  |  Branch (306:9): [True: 0, False: 0]
  ------------------
  307|      0|	case R_C_SYM:
  ------------------
  |  Branch (307:2): [True: 0, False: 0]
  ------------------
  308|      0|	    errorcall(call,
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
  309|      0|		      _("\"%s\" not available for %s() for package \"%s\""),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  310|      0|		      buf, ".C", dll.DLLname);
  311|      0|	    break;
  312|      0|	case R_FORTRAN_SYM:
  ------------------
  |  Branch (312:2): [True: 0, False: 0]
  ------------------
  313|      0|	    errorcall(call,
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
  314|      0|		      _("\"%s\" not available for %s() for package \"%s\""),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  315|      0|		      buf, ".Fortran", dll.DLLname);
  316|      0|	    break;
  317|      0|	case R_CALL_SYM:
  ------------------
  |  Branch (317:2): [True: 0, False: 0]
  ------------------
  318|      0|	    errorcall(call,
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
  319|      0|		      _("\"%s\" not available for %s() for package \"%s\""),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  320|      0|		      buf, ".Call", dll.DLLname);
  321|      0|	    break;
  322|      0|	case R_EXTERNAL_SYM:
  ------------------
  |  Branch (322:2): [True: 0, False: 0]
  ------------------
  323|      0|	    errorcall(call,
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
  324|      0|		      _("\"%s\" not available for %s() for package \"%s\""),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  325|      0|		      buf, ".External", dll.DLLname);
  326|      0|	    break;
  327|      0|	case R_ANY_SYM:
  ------------------
  |  Branch (327:2): [True: 0, False: 0]
  ------------------
  328|      0|	    errorcall(call,
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
  329|      0|		      _("%s symbol name \"%s\" not in DLL for package \"%s\""),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  330|      0|		      "C/Fortran", buf, dll.DLLname);
  331|      0|	    break;
  332|      0|	}
  333|      0|    } else
  334|      0|	errorcall(call, _("%s symbol name \"%s\" not in load table"),
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("%s symbol name \"%s\" not in load table"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  335|      0|		  symbol->type == R_FORTRAN_SYM ? "Fortran" : "C", buf);
  ------------------
  |  Branch (335:5): [True: 0, False: 0]
  ------------------
  336|       |
  337|      0|    return args; /* -Wall */
  338|      0|}
dotcode.c:pkgtrim:
  449|      4|{
  450|      4|    SEXP s, ss;
  451|      4|    int pkgused = 0;
  452|       |
  453|      4|    if (PkgSymbol == NULL) PkgSymbol = install("PACKAGE");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  |  Branch (453:9): [True: 2, False: 2]
  ------------------
  454|       |
  455|     36|    for(s = args ; s != R_NilValue;) {
  ------------------
  |  Branch (455:20): [True: 32, False: 4]
  ------------------
  456|     32|	ss = CDR(s);
  457|       |	/* Look for PACKAGE=. We look at the next arg, unless
  458|       |	   this is the last one (which will only happen for one arg),
  459|       |	   and remove it */
  460|     32|	if(ss == R_NilValue && TAG(s) == PkgSymbol) {
  ------------------
  |  Branch (460:5): [True: 4, False: 28]
  |  Branch (460:25): [True: 0, False: 4]
  ------------------
  461|      0|	    if(pkgused++ == 1)
  ------------------
  |  Branch (461:9): [True: 0, False: 0]
  ------------------
  462|      0|		warning(_("'%s' used more than once"), "PACKAGE");
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              		warning(_("'%s' used more than once"), "PACKAGE");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  463|      0|	    setDLLname(s, dll->DLLname);
  464|      0|	    dll->type = FILENAME;
  465|      0|	    return R_NilValue;
  466|      0|	}
  467|     32|	if(TAG(ss) == PkgSymbol) {
  ------------------
  |  Branch (467:5): [True: 0, False: 32]
  ------------------
  468|      0|	    if(pkgused++ == 1)
  ------------------
  |  Branch (468:9): [True: 0, False: 0]
  ------------------
  469|      0|		warning(_("'%s' used more than once"), "PACKAGE");
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              		warning(_("'%s' used more than once"), "PACKAGE");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  470|      0|	    setDLLname(ss, dll->DLLname);
  471|      0|	    dll->type = FILENAME;
  472|      0|	    SETCDR(s, CDR(ss));
  473|      0|	}
  474|     32|	s = CDR(s);
  475|     32|    }
  476|      4|    return args;
  477|      4|}
dotcode.c:check_retval:
  540|  12.0k|{
  541|  12.0k|    static int inited = FALSE;
  542|  12.0k|    static int check = FALSE;
  543|       |
  544|  12.0k|    if (! inited) {
  ------------------
  |  Branch (544:9): [True: 2, False: 12.0k]
  ------------------
  545|      2|	inited = true;
  546|      2|	const char *p = getenv("_R_CHECK_DOTCODE_RETVAL_");
  547|      2|	if (p != NULL && StringTrue(p))
  ------------------
  |  |   52|      0|#define StringTrue    Rf_StringTrue
  ------------------
  |  Branch (547:6): [True: 0, False: 2]
  |  Branch (547:19): [True: 0, False: 0]
  ------------------
  548|      0|	    check = true;
  549|      2|    }
  550|       |
  551|  12.0k|    if (check) {
  ------------------
  |  Branch (551:9): [True: 0, False: 12.0k]
  ------------------
  552|      0|	if (val < (SEXP) 16)
  ------------------
  |  Branch (552:6): [True: 0, False: 0]
  ------------------
  553|      0|	    errorcall(call, "WEIRD RETURN VALUE: %p", (void *)val);
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
  554|      0|    }
  555|  12.0k|    else if (val == NULL) {
  ------------------
  |  Branch (555:14): [True: 0, False: 12.0k]
  ------------------
  556|      0|	warningcall(call, "converting NULL pointer to R NULL");
  ------------------
  |  | 2018|      0|# define warningcall		Rf_warningcall
  ------------------
  557|      0|	val = R_NilValue;
  558|      0|    }
  559|       |
  560|  12.0k|    return val;
  561|  12.0k|}

mkPRIMSXP:
   38|  2.36k|{
   39|  2.36k|    SEXP result;
   40|  2.36k|    SEXPTYPE type = eval ? BUILTINSXP : SPECIALSXP;
  ------------------
  |  |  913|  2.36k|#define eval			Rf_eval
  |  |  ------------------
  |  |  |  Branch (913:16): [True: 2.14k, False: 216]
  |  |  ------------------
  ------------------
                  SEXPTYPE type = eval ? BUILTINSXP : SPECIALSXP;
  ------------------
  |  |  119|  2.14k|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
                  SEXPTYPE type = eval ? BUILTINSXP : SPECIALSXP;
  ------------------
  |  |  118|  2.57k|#define SPECIALSXP   7	  /* special forms */
  ------------------
   41|  2.36k|    static SEXP PrimCache = NULL;
   42|  2.36k|    static int FunTabSize = 0;
   43|       |    
   44|  2.36k|    if (PrimCache == NULL) {
  ------------------
  |  Branch (44:9): [True: 2, False: 2.36k]
  ------------------
   45|       |	/* compute the number of entries in R_FunTab */
   46|  1.54k|	while (R_FunTab[FunTabSize].name)
  ------------------
  |  Branch (46:9): [True: 1.54k, False: 2]
  ------------------
   47|  1.54k|	    FunTabSize++;
   48|       |
   49|       |	/* allocate and protect the cache */
   50|      2|	PrimCache = allocVector(VECSXP, FunTabSize);
  ------------------
  |  |  875|      2|#define allocVector		Rf_allocVector
  ------------------
              	PrimCache = allocVector(VECSXP, FunTabSize);
  ------------------
  |  |  131|      2|#define VECSXP	    19	  /* generic vectors */
  ------------------
   51|      2|	R_PreserveObject(PrimCache);
   52|      2|    }
   53|       |
   54|  2.36k|    if (offset < 0 || offset >= FunTabSize)
  ------------------
  |  Branch (54:9): [True: 0, False: 2.36k]
  |  Branch (54:23): [True: 0, False: 2.36k]
  ------------------
   55|      0|	error("offset is out of R_FunTab range");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
   56|       |
   57|  2.36k|    result = VECTOR_ELT(PrimCache, offset);
   58|       |
   59|  2.36k|    if (result == R_NilValue) {
  ------------------
  |  Branch (59:9): [True: 1.54k, False: 816]
  ------------------
   60|  1.54k|	result = allocSExp(type);
  ------------------
  |  |  874|  1.54k|#define allocSExp		Rf_allocSExp
  ------------------
   61|  1.54k|	SET_PRIMOFFSET(result, offset);
   62|  1.54k|	SET_VECTOR_ELT(PrimCache, offset, result);
   63|  1.54k|    }
   64|    816|    else if (TYPEOF(result) != type)
  ------------------
  |  Branch (64:14): [True: 0, False: 816]
  ------------------
   65|      0|	error("requested primitive type is not consistent with cached value");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
   66|       |
   67|  2.36k|    return result;
   68|  2.36k|}
Rf_mkCLOSXP:
   79|  8.41M|{
   80|  8.41M|    SEXP c;
   81|  8.41M|    PROTECT(formals);
  ------------------
  |  |  357|  8.41M|#define PROTECT(s)	Rf_protect(s)
  ------------------
   82|  8.41M|    PROTECT(body);
  ------------------
  |  |  357|  8.41M|#define PROTECT(s)	Rf_protect(s)
  ------------------
   83|  8.41M|    PROTECT(rho);
  ------------------
  |  |  357|  8.41M|#define PROTECT(s)	Rf_protect(s)
  ------------------
   84|  8.41M|    c = allocSExp(CLOSXP);
  ------------------
  |  |  874|  8.41M|#define allocSExp		Rf_allocSExp
  ------------------
                  c = allocSExp(CLOSXP);
  ------------------
  |  |  114|  8.41M|#define CLOSXP	     3	  /* closures */
  ------------------
   85|       |
   86|       |#ifdef not_used_CheckFormals
   87|       |    if(isList(formals))
   88|       |	SET_FORMALS(c, formals);
   89|       |    else
   90|       |	error(_("invalid formal arguments for 'function'"));
   91|       |#else
   92|  8.41M|    SET_FORMALS(c, formals);
   93|  8.41M|#endif
   94|  8.41M|    switch (TYPEOF(body)) {
   95|      0|    case CLOSXP:
  ------------------
  |  |  114|      0|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (95:5): [True: 0, False: 8.41M]
  ------------------
   96|      0|    case BUILTINSXP:
  ------------------
  |  |  119|      0|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (96:5): [True: 0, False: 8.41M]
  ------------------
   97|      0|    case SPECIALSXP:
  ------------------
  |  |  118|      0|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (97:5): [True: 0, False: 8.41M]
  ------------------
   98|      0|    case DOTSXP:
  ------------------
  |  |  127|      0|#define DOTSXP	    17	  /* dot-dot-dot object */
  ------------------
  |  Branch (98:5): [True: 0, False: 8.41M]
  ------------------
   99|      0|    case ANYSXP:
  ------------------
  |  |  128|      0|#define ANYSXP	    18	  /* make "any" args work.
  ------------------
  |  Branch (99:5): [True: 0, False: 8.41M]
  ------------------
  100|      0|	error(_("invalid body argument for 'function'"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid body argument for 'function'"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  101|      0|	break;
  102|  8.41M|    default:
  ------------------
  |  Branch (102:5): [True: 8.41M, False: 0]
  ------------------
  103|  8.41M|	SET_BODY(c, body);
  104|  8.41M|	break;
  105|  8.41M|    }
  106|       |
  107|  8.41M|    if(rho == R_NilValue)
  ------------------
  |  Branch (107:8): [True: 0, False: 8.41M]
  ------------------
  108|      0|	SET_CLOENV(c, R_GlobalEnv);
  109|  8.41M|    else
  110|  8.41M|	SET_CLOENV(c, rho);
  111|  8.41M|    UNPROTECT(3);
  ------------------
  |  |  358|  8.41M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  112|  8.41M|    return c;
  113|  8.41M|}
R_mkClosure:
  117|     17|{
  118|     17|    CheckFormals(formals, "R_mkClosure");
  ------------------
  |  | 1873|     17|# define CheckFormals		Rf_CheckFormals
  ------------------
  119|     17|    if (! isEnvironment(rho))
  ------------------
  |  |  944|     17|#define isEnvironment		Rf_isEnvironment
  ------------------
  |  Branch (119:9): [True: 0, False: 17]
  ------------------
  120|      0|	error(_("invalid environment"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid environment"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  121|     17|    return mkCLOSXP(formals, body, rho);
  ------------------
  |  | 1960|     17|# define mkCLOSXP		Rf_mkCLOSXP
  ------------------
  122|     17|}
Rf_mkSYMSXP:
  148|  14.3k|{
  149|  14.3k|    SEXP c;
  150|  14.3k|    int i;
  151|  14.3k|    PROTECT(name);
  ------------------
  |  |  357|  14.3k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  152|  14.3k|    PROTECT(value);
  ------------------
  |  |  357|  14.3k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  153|  14.3k|    i = isDDName(name);
  154|  14.3k|    c = allocSExp(SYMSXP);
  ------------------
  |  |  874|  14.3k|#define allocSExp		Rf_allocSExp
  ------------------
                  c = allocSExp(SYMSXP);
  ------------------
  |  |  112|  14.3k|#define SYMSXP	     1	  /* symbols */
  ------------------
  155|  14.3k|    SET_PRINTNAME(c, name);
  156|  14.3k|    SET_SYMVALUE(c, value);
  157|  14.3k|    SET_DDVAL(c, i);
  158|  14.3k|    UNPROTECT(2);
  ------------------
  |  |  358|  14.3k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  159|  14.3k|    return c;
  160|  14.3k|}
dstruct.c:isDDName:
  130|  14.3k|{
  131|  14.3k|    const char *buf;
  132|  14.3k|    char *endp;
  133|       |
  134|  14.3k|    buf = CHAR(name);
  ------------------
  |  |  203|  14.3k|#define CHAR(x) R_CHAR(x)
  ------------------
  135|  14.3k|    if( !strncmp(buf, "..", 2) && strlen(buf) > 2 ) {
  ------------------
  |  Branch (135:9): [True: 146, False: 14.2k]
  |  Branch (135:35): [True: 146, False: 0]
  ------------------
  136|    146|	buf += 2;
  137|    146|	strtol(buf, &endp, 10); // discard value
  138|    146|	if( *endp != '\0')
  ------------------
  |  Branch (138:6): [True: 16, False: 130]
  ------------------
  139|     16|	    return 0;
  140|    130|	else
  141|    130|	    return 1;
  142|    146|    }
  143|  14.2k|    return 0;
  144|  14.3k|}

Rf_duplicate:
  135|  6.34M|SEXP duplicate(SEXP s){
  136|  6.34M|    SEXP t;
  137|       |
  138|  6.34M|#ifdef R_PROFILING
  139|  6.34M|    duplicate_counter++;
  140|  6.34M|#endif
  141|  6.34M|    t = duplicate1(s, TRUE);
  142|       |#ifdef R_MEMORY_PROFILING
  143|       |    if (RTRACE(s) && !(TYPEOF(s) == CLOSXP || TYPEOF(s) == BUILTINSXP ||
  144|       |		      TYPEOF(s) == SPECIALSXP || TYPEOF(s) == PROMSXP ||
  145|       |		      TYPEOF(s) == ENVSXP)){
  146|       |	    memtrace_report(s,t);
  147|       |	    SET_RTRACE(t,1);
  148|       |    }
  149|       |#endif
  150|  6.34M|    return t;
  151|  6.34M|}
Rf_shallow_duplicate:
  154|  5.30M|{
  155|  5.30M|    SEXP t;
  156|       |
  157|  5.30M|#ifdef R_PROFILING
  158|  5.30M|    duplicate_counter++;
  159|  5.30M|#endif
  160|  5.30M|    t = duplicate1(s, FALSE);
  161|       |#ifdef R_MEMORY_PROFILING
  162|       |    if (RTRACE(s) && !(TYPEOF(s) == CLOSXP || TYPEOF(s) == BUILTINSXP ||
  163|       |		      TYPEOF(s) == SPECIALSXP || TYPEOF(s) == PROMSXP ||
  164|       |		      TYPEOF(s) == ENVSXP)){
  165|       |	    memtrace_report(s,t);
  166|       |	    SET_RTRACE(t,1);
  167|       |    }
  168|       |#endif
  169|  5.30M|    return t;
  170|  5.30M|}
Rf_lazy_duplicate:
  173|  27.4M|SEXP lazy_duplicate(SEXP s) {
  174|  27.4M|    switch (TYPEOF(s)) {
  175|  4.20M|    case NILSXP:
  ------------------
  |  |  111|  4.20M|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (175:5): [True: 4.20M, False: 23.2M]
  ------------------
  176|  8.47M|    case SYMSXP:
  ------------------
  |  |  112|  8.47M|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (176:5): [True: 4.27M, False: 23.1M]
  ------------------
  177|  8.47M|    case ENVSXP:
  ------------------
  |  |  115|  8.47M|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (177:5): [True: 346, False: 27.4M]
  ------------------
  178|  8.47M|    case SPECIALSXP:
  ------------------
  |  |  118|  8.47M|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (178:5): [True: 48, False: 27.4M]
  ------------------
  179|  8.47M|    case BUILTINSXP:
  ------------------
  |  |  119|  8.47M|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (179:5): [True: 300, False: 27.4M]
  ------------------
  180|  8.47M|    case EXTPTRSXP:
  ------------------
  |  |  134|  8.47M|#define EXTPTRSXP   22    /* external pointer */
  ------------------
  |  Branch (180:5): [True: 0, False: 27.4M]
  ------------------
  181|  8.47M|    case BCODESXP:
  ------------------
  |  |  133|  8.47M|#define BCODESXP    21    /* byte code */
  ------------------
  |  Branch (181:5): [True: 0, False: 27.4M]
  ------------------
  182|  8.47M|    case WEAKREFSXP:
  ------------------
  |  |  135|  8.47M|#define WEAKREFSXP  23    /* weak reference */
  ------------------
  |  Branch (182:5): [True: 0, False: 27.4M]
  ------------------
  183|  8.47M|    case CHARSXP:
  ------------------
  |  |  120|  8.47M|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  ------------------
  |  Branch (183:5): [True: 0, False: 27.4M]
  ------------------
  184|  8.47M|    case PROMSXP:
  ------------------
  |  |  116|  8.47M|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (184:5): [True: 122, False: 27.4M]
  ------------------
  185|  8.47M|	break;
  186|  4.19M|    case CLOSXP:
  ------------------
  |  |  114|  4.19M|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (186:5): [True: 4.19M, False: 23.2M]
  ------------------
  187|  4.19M|    case LISTSXP:
  ------------------
  |  |  113|  4.19M|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (187:5): [True: 0, False: 27.4M]
  ------------------
  188|  5.26M|    case LANGSXP:
  ------------------
  |  |  117|  5.26M|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (188:5): [True: 1.06M, False: 26.3M]
  ------------------
  189|  5.26M|    case DOTSXP:
  ------------------
  |  |  127|  5.26M|#define DOTSXP	    17	  /* dot-dot-dot object */
  ------------------
  |  Branch (189:5): [True: 0, False: 27.4M]
  ------------------
  190|  5.26M|    case EXPRSXP:
  ------------------
  |  |  132|  5.26M|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (190:5): [True: 0, False: 27.4M]
  ------------------
  191|  5.26M|    case VECSXP:
  ------------------
  |  |  131|  5.26M|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (191:5): [True: 282, False: 27.4M]
  ------------------
  192|  5.27M|    case LGLSXP:
  ------------------
  |  |  121|  5.27M|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (192:5): [True: 5.89k, False: 27.4M]
  ------------------
  193|  5.27M|    case INTSXP:
  ------------------
  |  |  123|  5.27M|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (193:5): [True: 2.44k, False: 27.4M]
  ------------------
  194|  5.27M|    case REALSXP:
  ------------------
  |  |  124|  5.27M|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (194:5): [True: 683, False: 27.4M]
  ------------------
  195|  5.27M|    case CPLXSXP:
  ------------------
  |  |  125|  5.27M|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (195:5): [True: 0, False: 27.4M]
  ------------------
  196|  5.27M|    case RAWSXP:
  ------------------
  |  |  136|  5.27M|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (196:5): [True: 34, False: 27.4M]
  ------------------
  197|  18.9M|    case STRSXP:
  ------------------
  |  |  126|  18.9M|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (197:5): [True: 13.6M, False: 13.7M]
  ------------------
  198|  18.9M|    case OBJSXP:
  ------------------
  |  |  137|  18.9M|#define OBJSXP      25    /* object, non-vector  */
  ------------------
  |  Branch (198:5): [True: 358, False: 27.4M]
  ------------------
  199|  18.9M|	ENSURE_NAMEDMAX(s);
  200|  18.9M|	break;
  201|      0|    default:
  ------------------
  |  Branch (201:5): [True: 0, False: 27.4M]
  ------------------
  202|      0|	UNIMPLEMENTED_TYPE("lazy_duplicate", s);
  203|  27.4M|    }
  204|  27.4M|    return s;
  205|  27.4M|}
R_cycle_detected:
  357|  1.04M|attribute_hidden Rboolean R_cycle_detected(SEXP s, SEXP child) {
  358|  1.04M|    switch (TYPEOF(s)) {
  ------------------
  |  Branch (358:13): [True: 0, False: 1.04M]
  ------------------
  359|      0|    case NILSXP:
  ------------------
  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (359:5): [True: 0, False: 1.04M]
  ------------------
  360|      0|    case SYMSXP:
  ------------------
  |  |  112|      0|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (360:5): [True: 0, False: 1.04M]
  ------------------
  361|      0|    case ENVSXP:
  ------------------
  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (361:5): [True: 0, False: 1.04M]
  ------------------
  362|      0|    case SPECIALSXP:
  ------------------
  |  |  118|      0|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (362:5): [True: 0, False: 1.04M]
  ------------------
  363|      0|    case BUILTINSXP:
  ------------------
  |  |  119|      0|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (363:5): [True: 0, False: 1.04M]
  ------------------
  364|      0|    case EXTPTRSXP:
  ------------------
  |  |  134|      0|#define EXTPTRSXP   22    /* external pointer */
  ------------------
  |  Branch (364:5): [True: 0, False: 1.04M]
  ------------------
  365|      0|    case BCODESXP:
  ------------------
  |  |  133|      0|#define BCODESXP    21    /* byte code */
  ------------------
  |  Branch (365:5): [True: 0, False: 1.04M]
  ------------------
  366|      0|    case WEAKREFSXP:
  ------------------
  |  |  135|      0|#define WEAKREFSXP  23    /* weak reference */
  ------------------
  |  Branch (366:5): [True: 0, False: 1.04M]
  ------------------
  367|       |	/* Cycles through these objects are OK. */
  368|      0|	return FALSE;
  369|  1.04M|    }
  370|       |
  371|  1.04M|    seen_set seen = { .root = child };
  372|  1.04M|    cycle_args args = { s, child, &seen };
  373|       |    /* Free the table even if an ALTREP list method signals an error.
  374|       |       Using calloc() rather than R_alloc() avoids triggering a GC. */
  375|  1.04M|    return R_ExecWithCleanup(cycle_detected_heap, &args, seen_free, &seen) ==
  376|  1.04M|	R_TrueValue;
  377|  1.04M|}
Rf_copyVector:
  506|    452|{
  507|    452|    SEXPTYPE sT = TYPEOF(s), tT = TYPEOF(t);
  508|    452|    if (sT != tT)
  ------------------
  |  Branch (508:9): [True: 0, False: 452]
  ------------------
  509|      0|	error("vector types do not match in copyVector");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  510|    452|    R_xlen_t ns = XLENGTH(s), nt = XLENGTH(t);
  511|    452|    switch (sT) {
  512|     22|    case STRSXP:
  ------------------
  |  |  126|     22|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (512:5): [True: 22, False: 430]
  ------------------
  513|     22|	xcopyStringWithRecycle(s, t, 0, ns, nt);
  514|     22|	break;
  515|      0|    case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (515:5): [True: 0, False: 452]
  ------------------
  516|      0|	xcopyLogicalWithRecycle(LOGICAL(s), LOGICAL_RO(t), 0, ns, nt);
  517|      0|	break;
  518|      0|    case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (518:5): [True: 0, False: 452]
  ------------------
  519|      0|	xcopyIntegerWithRecycle(INTEGER(s), INTEGER_RO(t), 0, ns, nt);
  520|      0|	break;
  521|    430|    case REALSXP:
  ------------------
  |  |  124|    430|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (521:5): [True: 430, False: 22]
  ------------------
  522|    430|	xcopyRealWithRecycle(REAL(s), REAL_RO(t), 0, ns, nt);
  523|    430|	break;
  524|      0|    case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (524:5): [True: 0, False: 452]
  ------------------
  525|      0|	xcopyComplexWithRecycle(COMPLEX(s), COMPLEX_RO(t), 0, ns, nt);
  526|      0|	break;
  527|      0|    case EXPRSXP:
  ------------------
  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (527:5): [True: 0, False: 452]
  ------------------
  528|      0|    case VECSXP:
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (528:5): [True: 0, False: 452]
  ------------------
  529|      0|	xcopyVectorWithRecycle(s, t, 0, ns, nt);
  530|      0|	break;
  531|      0|    case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (531:5): [True: 0, False: 452]
  ------------------
  532|      0|	xcopyRawWithRecycle(RAW(s), RAW_RO(t), 0, ns, nt);
  533|      0|	break;
  534|      0|    default:
  ------------------
  |  Branch (534:5): [True: 0, False: 452]
  ------------------
  535|      0|	UNIMPLEMENTED_TYPE("copyVector", s);
  536|    452|    }
  537|    452|}
Rf_copyMatrix:
  577|    452|{
  578|    452|    int nr = nrows(s), nc = ncols(s);
  ------------------
  |  | 1008|    452|#define nrows			Rf_nrows
  ------------------
                  int nr = nrows(s), nc = ncols(s);
  ------------------
  |  | 1005|    452|#define ncols			Rf_ncols
  ------------------
  579|    452|    R_xlen_t nt = XLENGTH(t);
  580|       |
  581|    452|    if (byrow) {
  ------------------
  |  Branch (581:9): [True: 0, False: 452]
  ------------------
  582|      0|	switch (TYPEOF(s)) {
  583|      0|	case STRSXP:
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (583:2): [True: 0, False: 0]
  ------------------
  584|      0|	    FILL_MATRIX_BYROW_ITERATE(0, nr, nc, nt)
  ------------------
  |  |   62|      0|    for(R_xlen_t i = 0, sidx = 0; i < drows; i++)			\
  |  |  ------------------
  |  |  |  Branch (62:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   63|      0|        for(R_xlen_t j = 0, didx = dstart + i; j < dcols;		\
  |  |  ------------------
  |  |  |  Branch (63:48): [True: 0, False: 0]
  |  |  ------------------
  |  |   64|      0|            j++, 							\
  |  |   65|      0|            sidx++,							\
  |  |   66|      0|            (sidx >= nsrc) ? sidx -= nsrc : 0,				\
  |  |  ------------------
  |  |  |  Branch (66:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   67|      0|            didx += drows)
  ------------------
  585|      0|		SET_STRING_ELT(s, didx, STRING_ELT(t, sidx));
  586|      0|	    break;
  587|      0|	case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (587:2): [True: 0, False: 0]
  ------------------
  588|      0|	    FILL_MATRIX_BYROW_ITERATE(0, nr, nc, nt)
  ------------------
  |  |   62|      0|    for(R_xlen_t i = 0, sidx = 0; i < drows; i++)			\
  |  |  ------------------
  |  |  |  Branch (62:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   63|      0|        for(R_xlen_t j = 0, didx = dstart + i; j < dcols;		\
  |  |  ------------------
  |  |  |  Branch (63:48): [True: 0, False: 0]
  |  |  ------------------
  |  |   64|      0|            j++, 							\
  |  |   65|      0|            sidx++,							\
  |  |   66|      0|            (sidx >= nsrc) ? sidx -= nsrc : 0,				\
  |  |  ------------------
  |  |  |  Branch (66:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   67|      0|            didx += drows)
  ------------------
  589|      0|		LOGICAL(s)[didx] = LOGICAL(t)[sidx];
  590|      0|	    break;
  591|      0|	case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (591:2): [True: 0, False: 0]
  ------------------
  592|      0|	    FILL_MATRIX_BYROW_ITERATE(0, nr, nc, nt)
  ------------------
  |  |   62|      0|    for(R_xlen_t i = 0, sidx = 0; i < drows; i++)			\
  |  |  ------------------
  |  |  |  Branch (62:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   63|      0|        for(R_xlen_t j = 0, didx = dstart + i; j < dcols;		\
  |  |  ------------------
  |  |  |  Branch (63:48): [True: 0, False: 0]
  |  |  ------------------
  |  |   64|      0|            j++, 							\
  |  |   65|      0|            sidx++,							\
  |  |   66|      0|            (sidx >= nsrc) ? sidx -= nsrc : 0,				\
  |  |  ------------------
  |  |  |  Branch (66:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   67|      0|            didx += drows)
  ------------------
  593|      0|		INTEGER(s)[didx] = INTEGER(t)[sidx];
  594|      0|	    break;
  595|      0|	case REALSXP:
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (595:2): [True: 0, False: 0]
  ------------------
  596|      0|	    FILL_MATRIX_BYROW_ITERATE(0, nr, nc, nt)
  ------------------
  |  |   62|      0|    for(R_xlen_t i = 0, sidx = 0; i < drows; i++)			\
  |  |  ------------------
  |  |  |  Branch (62:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   63|      0|        for(R_xlen_t j = 0, didx = dstart + i; j < dcols;		\
  |  |  ------------------
  |  |  |  Branch (63:48): [True: 0, False: 0]
  |  |  ------------------
  |  |   64|      0|            j++, 							\
  |  |   65|      0|            sidx++,							\
  |  |   66|      0|            (sidx >= nsrc) ? sidx -= nsrc : 0,				\
  |  |  ------------------
  |  |  |  Branch (66:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   67|      0|            didx += drows)
  ------------------
  597|      0|		REAL(s)[didx] = REAL(t)[sidx];
  598|      0|	    break;
  599|      0|	case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (599:2): [True: 0, False: 0]
  ------------------
  600|      0|	    FILL_MATRIX_BYROW_ITERATE(0, nr, nc, nt)
  ------------------
  |  |   62|      0|    for(R_xlen_t i = 0, sidx = 0; i < drows; i++)			\
  |  |  ------------------
  |  |  |  Branch (62:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   63|      0|        for(R_xlen_t j = 0, didx = dstart + i; j < dcols;		\
  |  |  ------------------
  |  |  |  Branch (63:48): [True: 0, False: 0]
  |  |  ------------------
  |  |   64|      0|            j++, 							\
  |  |   65|      0|            sidx++,							\
  |  |   66|      0|            (sidx >= nsrc) ? sidx -= nsrc : 0,				\
  |  |  ------------------
  |  |  |  Branch (66:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   67|      0|            didx += drows)
  ------------------
  601|      0|		COMPLEX(s)[didx] = COMPLEX(t)[sidx];
  602|      0|	    break;
  603|      0|	case EXPRSXP:
  ------------------
  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (603:2): [True: 0, False: 0]
  ------------------
  604|      0|	case VECSXP:
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (604:2): [True: 0, False: 0]
  ------------------
  605|      0|	    FILL_MATRIX_BYROW_ITERATE(0, nr, nc, nt)
  ------------------
  |  |   62|      0|    for(R_xlen_t i = 0, sidx = 0; i < drows; i++)			\
  |  |  ------------------
  |  |  |  Branch (62:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   63|      0|        for(R_xlen_t j = 0, didx = dstart + i; j < dcols;		\
  |  |  ------------------
  |  |  |  Branch (63:48): [True: 0, False: 0]
  |  |  ------------------
  |  |   64|      0|            j++, 							\
  |  |   65|      0|            sidx++,							\
  |  |   66|      0|            (sidx >= nsrc) ? sidx -= nsrc : 0,				\
  |  |  ------------------
  |  |  |  Branch (66:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   67|      0|            didx += drows)
  ------------------
  606|      0|		SET_VECTOR_ELT(s, didx, VECTOR_ELT_LD(t, sidx));
  607|      0|	    break;
  608|      0|	case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (608:2): [True: 0, False: 0]
  ------------------
  609|      0|	    FILL_MATRIX_BYROW_ITERATE(0, nr, nc, nt)
  ------------------
  |  |   62|      0|    for(R_xlen_t i = 0, sidx = 0; i < drows; i++)			\
  |  |  ------------------
  |  |  |  Branch (62:35): [True: 0, False: 0]
  |  |  ------------------
  |  |   63|      0|        for(R_xlen_t j = 0, didx = dstart + i; j < dcols;		\
  |  |  ------------------
  |  |  |  Branch (63:48): [True: 0, False: 0]
  |  |  ------------------
  |  |   64|      0|            j++, 							\
  |  |   65|      0|            sidx++,							\
  |  |   66|      0|            (sidx >= nsrc) ? sidx -= nsrc : 0,				\
  |  |  ------------------
  |  |  |  Branch (66:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   67|      0|            didx += drows)
  ------------------
  610|      0|		RAW(s)[didx] = RAW(t)[sidx];
  611|      0|	    break;
  612|      0|	default:
  ------------------
  |  Branch (612:2): [True: 0, False: 0]
  ------------------
  613|      0|	    UNIMPLEMENTED_TYPE("copyMatrix", s);
  614|      0|	}
  615|      0|    }
  616|    452|    else
  617|    452|	copyVector(s, t);
  ------------------
  |  |  902|    452|#define copyVector		Rf_copyVector
  ------------------
  618|    452|}
xcopyRealWithRecycle:
  622|  5.35k|xcopy##TNAME##WithRecycle(VALTYPE *dst, const VALTYPE *src, R_xlen_t dstart, R_xlen_t n, R_xlen_t nsrc) { \
  623|  5.35k|							\
  624|  5.35k|    if (nsrc >= n) { /* no recycle needed */		\
  ------------------
  |  Branch (624:9): [True: 5.05k, False: 301]
  ------------------
  625|   436k|	for(R_xlen_t i = 0; i < n; i++)		\
  ------------------
  |  Branch (625:22): [True: 431k, False: 5.05k]
  ------------------
  626|   431k|	    dst[dstart + i] = src[i];			\
  627|  5.05k|	return;					\
  628|  5.05k|    }							\
  629|  5.35k|    if (nsrc == 1) {					\
  ------------------
  |  Branch (629:9): [True: 210, False: 91]
  ------------------
  630|    210|	VALTYPE val = src[0];				\
  631|  92.3k|	for(R_xlen_t i = 0; i < n; i++)			\
  ------------------
  |  Branch (631:22): [True: 92.1k, False: 210]
  ------------------
  632|  92.1k|	    dst[dstart + i] = val;			\
  633|    210|	return;						\
  634|    210|    }							\
  635|    301|							\
  636|    301|    /* recycle needed */					\
  637|    301|    R_xlen_t sidx = 0;					\
  638|  46.1k|    for(R_xlen_t i = 0; i < n; i++, sidx++) {		\
  ------------------
  |  Branch (638:25): [True: 46.0k, False: 91]
  ------------------
  639|  46.0k|	if (sidx == nsrc) sidx = 0;			\
  ------------------
  |  Branch (639:6): [True: 11.4k, False: 34.6k]
  ------------------
  640|  46.0k|	dst[dstart + i] = src[sidx];			\
  641|  46.0k|    }							\
  642|     91|}
xcopyStringWithRecycle:
  652|     46|xcopy##TNAME##WithRecycle(SEXP dst, SEXP src, R_xlen_t dstart, R_xlen_t n, R_xlen_t nsrc) { \
  653|     46|							\
  654|     46|    if (nsrc >= n) { /* no recycle needed */		\
  ------------------
  |  Branch (654:9): [True: 46, False: 0]
  ------------------
  655|  6.62k|	for(R_xlen_t i = 0; i < n; i++)		\
  ------------------
  |  Branch (655:22): [True: 6.58k, False: 46]
  ------------------
  656|  6.58k|	    SETELT(dst, dstart + i, GETELT(src, i));	\
  657|     46|	return;					\
  658|     46|    }							\
  659|     46|    if (nsrc == 1) {					\
  ------------------
  |  Branch (659:9): [True: 0, False: 0]
  ------------------
  660|      0|	SEXP val = GETELT(src, 0);			\
  661|      0|	for(R_xlen_t i = 0; i < n; i++)			\
  ------------------
  |  Branch (661:22): [True: 0, False: 0]
  ------------------
  662|      0|	    SETELT(dst, dstart + i, val);		\
  663|      0|	return;						\
  664|      0|    }							\
  665|      0|							\
  666|      0|    /* recycle needed */					\
  667|      0|    R_xlen_t sidx = 0;					\
  668|      0|    for(R_xlen_t i = 0; i < n; i++, sidx++) {		\
  ------------------
  |  Branch (668:25): [True: 0, False: 0]
  ------------------
  669|      0|	if (sidx == nsrc) sidx = 0;			\
  ------------------
  |  Branch (669:6): [True: 0, False: 0]
  ------------------
  670|      0|	SETELT(dst, dstart + i, GETELT(src, sidx));	\
  671|      0|    }							\
  672|      0|}
xfillRealMatrixWithRecycle:
  680|  3.22k|    R_xlen_t cols, R_xlen_t nsrc) {				\
  681|  3.22k|								\
  682|  3.22k|    FILL_MATRIX_ITERATE(dstart, drows, srows, cols, nsrc)	\
  ------------------
  |  |   38|  6.27k|    for(R_xlen_t i = 0, sidx = 0; i < srows; i++, sidx = i)		\
  |  |  ------------------
  |  |  |  Branch (38:35): [True: 3.05k, False: 3.22k]
  |  |  ------------------
  |  |   39|  1.44M|        for(R_xlen_t j = 0, didx = dstart + i; j < cols;		\
  |  |  ------------------
  |  |  |  Branch (39:48): [True: 1.44M, False: 3.05k]
  |  |  ------------------
  |  |   40|  1.44M|            j++, 							\
  |  |   41|  1.44M|            sidx += srows,						\
  |  |   42|  1.44M|            (sidx >= nsrc) ? sidx -= nsrc : 0,				\
  |  |  ------------------
  |  |  |  Branch (42:13): [True: 3.05k, False: 1.44M]
  |  |  ------------------
  |  |   43|  1.44M|            didx += drows)
  ------------------
  683|  1.44M|	dst[didx] = src[sidx];					\
  684|  3.22k|}
xfillStringMatrixWithRecycle:
  695|     16|    R_xlen_t cols, R_xlen_t nsrc) {				\
  696|     16|								\
  697|  1.31k|    FILL_MATRIX_ITERATE(dstart, drows, srows, cols, nsrc)	\
  ------------------
  |  |   38|  1.33k|    for(R_xlen_t i = 0, sidx = 0; i < srows; i++, sidx = i)		\
  |  |  ------------------
  |  |  |  Branch (38:35): [True: 1.31k, False: 16]
  |  |  ------------------
  |  |   39|  6.58k|        for(R_xlen_t j = 0, didx = dstart + i; j < cols;		\
  |  |  ------------------
  |  |  |  Branch (39:48): [True: 5.26k, False: 1.31k]
  |  |  ------------------
  |  |   40|  5.26k|            j++, 							\
  |  |   41|  5.26k|            sidx += srows,						\
  |  |   42|  5.26k|            (sidx >= nsrc) ? sidx -= nsrc : 0,				\
  |  |  ------------------
  |  |  |  Branch (42:13): [True: 1.31k, False: 3.94k]
  |  |  ------------------
  |  |   43|  5.26k|            didx += drows)
  ------------------
  698|  5.26k|	SETELT(dst, didx, GETELT(src, sidx));			\
  699|     16|}
R_shallow_duplicate_attr:
  728|  3.14M|SEXP R_shallow_duplicate_attr(SEXP x) { return duplicate_attr(x, FALSE); }
duplicate.c:cycle_detected_heap:
  351|  1.04M|{
  352|  1.04M|    cycle_args *args = data;
  353|  1.04M|    return cycle_detected(args->s, args->child, args->seen) ?
  ------------------
  |  Branch (353:12): [True: 0, False: 1.04M]
  ------------------
  354|  1.04M|	R_TrueValue : R_FalseValue;
  355|  1.04M|}
duplicate.c:cycle_detected:
  309|  1.04M|{
  310|  1.04M|    for (;;) {
  311|  1.04M|	if (s == child)
  ------------------
  |  Branch (311:6): [True: 0, False: 1.04M]
  ------------------
  312|      0|	    return TRUE;
  313|  1.04M|	if (! has_components(child))
  ------------------
  |  Branch (313:6): [True: 1.04M, False: 90]
  ------------------
  314|  1.04M|	    return FALSE;
  315|     90|	if ((MAYBE_SHARED(child) || child == seen->root) &&
  ------------------
  |  Branch (315:7): [True: 40, False: 50]
  |  Branch (315:30): [True: 0, False: 50]
  ------------------
  316|     40|	    seen_before(seen, child))
  ------------------
  |  Branch (316:6): [True: 0, False: 40]
  ------------------
  317|      0|	    return FALSE;
  318|       |
  319|     90|	if (ATTRIB(child) != R_NilValue) {
  ------------------
  |  Branch (319:6): [True: 40, False: 50]
  ------------------
  320|     40|	    if (cycle_detected(s, ATTRIB(child), seen))
  ------------------
  |  Branch (320:10): [True: 0, False: 40]
  ------------------
  321|      0|		return TRUE;
  322|     40|	}
  323|     90|	if (isPairList(child)) {
  ------------------
  |  |  961|     90|#define isPairList		Rf_isPairList
  ------------------
  |  Branch (323:6): [True: 50, False: 40]
  ------------------
  324|     50|	    if (cycle_detected(s, CAR(child), seen))
  ------------------
  |  Branch (324:10): [True: 0, False: 50]
  ------------------
  325|      0|		return TRUE;
  326|     50|	    child = CDR(child);
  327|     50|	    continue;
  328|     50|	} else if (isVectorList(child)) {
  ------------------
  |  |  977|     40|#define isVectorList		Rf_isVectorList
  ------------------
  |  Branch (328:13): [True: 10, False: 30]
  ------------------
  329|       |	    /* The elements of an ALTREP list can be new objects, which a GC
  330|       |	       during the walk may free and whose addresses may be reused, so
  331|       |	       nothing below one is recorded.  Nodes recorded elsewhere are
  332|       |	       reachable from the root without one, so they stay alive and
  333|       |	       looking them up remains safe. */
  334|     10|	    int altrep = ALTREP(child) ? 1 : 0;
  ------------------
  |  Branch (334:19): [True: 0, False: 10]
  ------------------
  335|     10|	    seen->altrep += altrep;
  336|     70|	    for(int i = 0 ; i < length(child); i++)
  ------------------
  |  |  987|     70|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (336:22): [True: 60, False: 10]
  ------------------
  337|     60|		if (cycle_detected(s, VECTOR_ELT(child, i), seen))
  ------------------
  |  Branch (337:7): [True: 0, False: 60]
  ------------------
  338|      0|		    return TRUE;
  339|     10|	    seen->altrep -= altrep;
  340|     10|	}
  341|     40|	return FALSE;
  342|     90|    }
  343|  1.04M|}
duplicate.c:has_components:
  288|  1.04M|{
  289|  1.04M|    if (ATTRIB(x) != R_NilValue || isVectorList(x))
  ------------------
  |  |  977|  1.04M|#define isVectorList		Rf_isVectorList
  ------------------
  |  Branch (289:9): [True: 40, False: 1.04M]
  |  Branch (289:36): [True: 0, False: 1.04M]
  ------------------
  290|     40|	return TRUE;
  291|       |
  292|       |    /* isPairList() is true for R_NilValue */
  293|  1.04M|    return x != R_NilValue && isPairList(x);
  ------------------
  |  |  961|  1.04M|#define isPairList		Rf_isPairList
  ------------------
  |  Branch (293:12): [True: 1.04M, False: 40]
  |  Branch (293:31): [True: 50, False: 1.04M]
  ------------------
  294|  1.04M|}
duplicate.c:seen_before:
  267|     40|{
  268|     40|    if (seen->tab == NULL)
  ------------------
  |  Branch (268:9): [True: 20, False: 20]
  ------------------
  269|     20|	seen_grow(seen);
  270|       |
  271|     40|    size_t mask = ((size_t) 1 << seen->K) - 1;
  272|     40|    size_t i = seen_slot(x, seen->K);
  273|     40|    for (; seen->tab[i] != NULL; i = (i + 1) & mask)
  ------------------
  |  Branch (273:12): [True: 0, False: 40]
  ------------------
  274|      0|	if (seen->tab[i] == x)
  ------------------
  |  Branch (274:6): [True: 0, False: 0]
  ------------------
  275|      0|	    return TRUE;
  276|       |
  277|     40|    if (seen->altrep == 0) {
  ------------------
  |  Branch (277:9): [True: 40, False: 0]
  ------------------
  278|     40|	seen->tab[i] = x;
  279|     40|	if (2 * ++seen->count > mask + 1)
  ------------------
  |  Branch (279:6): [True: 0, False: 40]
  ------------------
  280|      0|	    seen_grow(seen);
  281|     40|    }
  282|     40|    return FALSE;
  283|     40|}
duplicate.c:seen_grow:
  244|     20|{
  245|     20|    int K = seen->tab == NULL ? SEEN_INITIAL_K : seen->K + 1;
  ------------------
  |  |  219|     20|#define SEEN_INITIAL_K 5
  ------------------
  |  Branch (245:13): [True: 20, False: 0]
  ------------------
  246|     20|    size_t n = (size_t) 1 << K;
  247|     20|    SEXP *tab = calloc(n, sizeof(SEXP));
  248|     20|    if (tab == NULL)
  ------------------
  |  Branch (248:9): [True: 0, False: 20]
  ------------------
  249|      0|	error(_("cannot allocate memory for cycle detection"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("cannot allocate memory for cycle detection"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  250|       |
  251|     20|    for (size_t i = 0; seen->tab != NULL && i < n / 2; i++) {
  ------------------
  |  Branch (251:24): [True: 0, False: 20]
  |  Branch (251:45): [True: 0, False: 0]
  ------------------
  252|      0|	SEXP x = seen->tab[i];
  253|      0|	if (x != NULL) {
  ------------------
  |  Branch (253:6): [True: 0, False: 0]
  ------------------
  254|      0|	    size_t j = seen_slot(x, K);
  255|      0|	    while (tab[j] != NULL)
  ------------------
  |  Branch (255:13): [True: 0, False: 0]
  ------------------
  256|      0|		j = (j + 1) & (n - 1);
  257|      0|	    tab[j] = x;
  258|      0|	}
  259|      0|    }
  260|     20|    free(seen->tab);
  261|     20|    seen->tab = tab;
  262|     20|    seen->K = K;
  263|     20|}
duplicate.c:seen_slot:
  237|     40|{
  238|       |    /* Fibonacci hashing: the top K bits of the scaled address */
  239|     40|    size_t h = (size_t) ((uintptr_t) x >> 3) * (size_t) 0x9E3779B97F4A7C15ULL;
  240|     40|    return h >> (8 * sizeof(size_t) - K);
  241|     40|}
duplicate.c:seen_free:
  230|  1.04M|{
  231|  1.04M|    seen_set *seen = data;
  232|  1.04M|    free(seen->tab);
  233|       |    seen->tab = NULL;
  234|  1.04M|}
duplicate.c:duplicate1:
  399|  24.3M|{
  400|  24.3M|    SEXP t;
  401|  24.3M|    R_xlen_t i, n;
  402|       |
  403|  24.3M|    if (ALTREP(s)) {
  ------------------
  |  Branch (403:9): [True: 1.43k, False: 24.3M]
  ------------------
  404|  1.43k|	PROTECT(s); /* the methods should protect, but ... */
  ------------------
  |  |  357|  1.43k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  405|  1.43k|	SEXP ans = ALTREP_DUPLICATE_EX(s, deep);
  406|  1.43k|	UNPROTECT(1);
  ------------------
  |  |  358|  1.43k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  407|  1.43k|	if (ans != NULL)
  ------------------
  |  Branch (407:6): [True: 104, False: 1.32k]
  ------------------
  408|    104|	    return ans;
  409|  1.43k|    }
  410|       |
  411|  24.3M|    switch (TYPEOF(s)) {
  412|  10.4k|    case NILSXP:
  ------------------
  |  |  111|  10.4k|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (412:5): [True: 10.4k, False: 24.3M]
  ------------------
  413|  8.47M|    case SYMSXP:
  ------------------
  |  |  112|  8.47M|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (413:5): [True: 8.46M, False: 15.8M]
  ------------------
  414|  8.48M|    case ENVSXP:
  ------------------
  |  |  115|  8.48M|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (414:5): [True: 6.79k, False: 24.3M]
  ------------------
  415|  8.48M|    case SPECIALSXP:
  ------------------
  |  |  118|  8.48M|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (415:5): [True: 0, False: 24.3M]
  ------------------
  416|  8.48M|    case BUILTINSXP:
  ------------------
  |  |  119|  8.48M|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (416:5): [True: 0, False: 24.3M]
  ------------------
  417|  8.48M|    case EXTPTRSXP:
  ------------------
  |  |  134|  8.48M|#define EXTPTRSXP   22    /* external pointer */
  ------------------
  |  Branch (417:5): [True: 1.56k, False: 24.3M]
  ------------------
  418|  8.48M|    case BCODESXP:
  ------------------
  |  |  133|  8.48M|#define BCODESXP    21    /* byte code */
  ------------------
  |  Branch (418:5): [True: 0, False: 24.3M]
  ------------------
  419|  8.48M|    case WEAKREFSXP:
  ------------------
  |  |  135|  8.48M|#define WEAKREFSXP  23    /* weak reference */
  ------------------
  |  Branch (419:5): [True: 0, False: 24.3M]
  ------------------
  420|  8.48M|	return s;
  421|  4.72k|    case CLOSXP:
  ------------------
  |  |  114|  4.72k|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (421:5): [True: 4.72k, False: 24.3M]
  ------------------
  422|  4.72k|	PROTECT(s);
  ------------------
  |  |  357|  4.72k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  423|  4.72k|	PROTECT(t = allocSExp(CLOSXP));
  ------------------
  |  |  357|  4.72k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  424|  4.72k|	SET_FORMALS(t, FORMALS(s));
  425|  4.72k|	SET_BODY(t, BODY(s));
  426|  4.72k|	SET_CLOENV(t, CLOENV(s));
  427|  4.72k|	DUPLICATE_ATTRIB(t, s, deep);
  ------------------
  |  |   91|  4.72k|#define DUPLICATE_ATTRIB(to, from, deep) do { \
  |  |   92|  4.72k|  SEXP __a__ = ATTRIB(from); \
  |  |   93|  4.72k|  if (__a__ != R_NilValue) { \
  |  |  ------------------
  |  |  |  Branch (93:7): [True: 0, False: 4.72k]
  |  |  ------------------
  |  |   94|      0|      SET_ATTRIB(to, duplicate1(__a__, deep)); \
  |  |   95|      0|    SET_OBJECT(to, OBJECT(from)); \
  |  |   96|      0|    IS_S4_OBJECT(from) ? SET_S4_OBJECT(to) : UNSET_S4_OBJECT(to);  \
  |  |  ------------------
  |  |  |  Branch (96:5): [True: 0, False: 0]
  |  |  ------------------
  |  |   97|      0|  } \
  |  |   98|  4.72k|} while (0)
  |  |  ------------------
  |  |  |  Branch (98:10): [Folded, False: 4.72k]
  |  |  ------------------
  ------------------
  428|  4.72k|	if (NOJIT(s)) SET_NOJIT(t);
  ------------------
  |  Branch (428:6): [True: 0, False: 4.72k]
  ------------------
  429|  4.72k|	if (MAYBEJIT(s)) SET_MAYBEJIT(t);
  ------------------
  |  Branch (429:6): [True: 16, False: 4.71k]
  ------------------
  430|  4.72k|	UNPROTECT(2);
  ------------------
  |  |  358|  4.72k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  431|  4.72k|	break;
  432|  3.15M|    case LISTSXP:
  ------------------
  |  |  113|  3.15M|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (432:5): [True: 3.15M, False: 21.1M]
  ------------------
  433|  3.15M|	PROTECT(s);
  ------------------
  |  |  357|  3.15M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  434|  3.15M|	t = duplicate_list(s, deep);
  435|  3.15M|	UNPROTECT(1);
  ------------------
  |  |  358|  3.15M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  436|  3.15M|	break;
  437|  5.30M|    case LANGSXP:
  ------------------
  |  |  117|  5.30M|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (437:5): [True: 5.30M, False: 19.0M]
  ------------------
  438|  5.30M|	PROTECT(s);
  ------------------
  |  |  357|  5.30M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  439|  5.30M|	PROTECT(t = duplicate_list(s, deep));
  ------------------
  |  |  357|  5.30M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  440|  5.30M|	SET_TYPEOF(t, LANGSXP);
  ------------------
  |  |  117|  5.30M|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  441|  5.30M|	DUPLICATE_ATTRIB(t, s, deep);
  ------------------
  |  |   91|  5.30M|#define DUPLICATE_ATTRIB(to, from, deep) do { \
  |  |   92|  5.30M|  SEXP __a__ = ATTRIB(from); \
  |  |   93|  5.30M|  if (__a__ != R_NilValue) { \
  |  |  ------------------
  |  |  |  Branch (93:7): [True: 0, False: 5.30M]
  |  |  ------------------
  |  |   94|      0|      SET_ATTRIB(to, duplicate1(__a__, deep)); \
  |  |   95|      0|    SET_OBJECT(to, OBJECT(from)); \
  |  |   96|      0|    IS_S4_OBJECT(from) ? SET_S4_OBJECT(to) : UNSET_S4_OBJECT(to);  \
  |  |  ------------------
  |  |  |  Branch (96:5): [True: 0, False: 0]
  |  |  ------------------
  |  |   97|      0|  } \
  |  |   98|  5.30M|} while (0)
  |  |  ------------------
  |  |  |  Branch (98:10): [Folded, False: 5.30M]
  |  |  ------------------
  ------------------
  442|  5.30M|	UNPROTECT(2);
  ------------------
  |  |  358|  5.30M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  443|  5.30M|	break;
  444|      0|    case DOTSXP:
  ------------------
  |  |  127|      0|#define DOTSXP	    17	  /* dot-dot-dot object */
  ------------------
  |  Branch (444:5): [True: 0, False: 24.3M]
  ------------------
  445|      0|	PROTECT(s);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  446|      0|	PROTECT(t = duplicate_list(s, deep));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  447|      0|	SET_TYPEOF(t, DOTSXP);
  ------------------
  |  |  127|      0|#define DOTSXP	    17	  /* dot-dot-dot object */
  ------------------
  448|      0|	DUPLICATE_ATTRIB(t, s, deep);
  ------------------
  |  |   91|      0|#define DUPLICATE_ATTRIB(to, from, deep) do { \
  |  |   92|      0|  SEXP __a__ = ATTRIB(from); \
  |  |   93|      0|  if (__a__ != R_NilValue) { \
  |  |  ------------------
  |  |  |  Branch (93:7): [True: 0, False: 0]
  |  |  ------------------
  |  |   94|      0|      SET_ATTRIB(to, duplicate1(__a__, deep)); \
  |  |   95|      0|    SET_OBJECT(to, OBJECT(from)); \
  |  |   96|      0|    IS_S4_OBJECT(from) ? SET_S4_OBJECT(to) : UNSET_S4_OBJECT(to);  \
  |  |  ------------------
  |  |  |  Branch (96:5): [True: 0, False: 0]
  |  |  ------------------
  |  |   97|      0|  } \
  |  |   98|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (98:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
  449|      0|	UNPROTECT(2);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  450|      0|	break;
  451|      0|    case CHARSXP:
  ------------------
  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  ------------------
  |  Branch (451:5): [True: 0, False: 24.3M]
  ------------------
  452|      0|	return s;
  453|      0|	break;
  454|      0|    case EXPRSXP:
  ------------------
  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (454:5): [True: 0, False: 24.3M]
  ------------------
  455|  3.15M|    case VECSXP:
  ------------------
  |  |  131|  3.15M|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (455:5): [True: 3.15M, False: 21.1M]
  ------------------
  456|  3.15M|	n = XLENGTH(s);
  457|  3.15M|	PROTECT(s);
  ------------------
  |  |  357|  3.15M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  458|  3.15M|	PROTECT(t = allocVector(TYPEOF(s), n));
  ------------------
  |  |  357|  3.15M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  459|  17.8M|	for(i = 0 ; i < n ; i++)
  ------------------
  |  Branch (459:14): [True: 14.6M, False: 3.15M]
  ------------------
  460|  14.6M|	    SET_VECTOR_ELT(t, i, duplicate_child(VECTOR_ELT(s, i), deep));
  461|  3.15M|	DUPLICATE_ATTRIB(t, s, deep);
  ------------------
  |  |   91|  3.15M|#define DUPLICATE_ATTRIB(to, from, deep) do { \
  |  |   92|  3.15M|  SEXP __a__ = ATTRIB(from); \
  |  |   93|  3.15M|  if (__a__ != R_NilValue) { \
  |  |  ------------------
  |  |  |  Branch (93:7): [True: 3.14M, False: 5.34k]
  |  |  ------------------
  |  |   94|  3.14M|      SET_ATTRIB(to, duplicate1(__a__, deep)); \
  |  |   95|  3.14M|    SET_OBJECT(to, OBJECT(from)); \
  |  |   96|  3.14M|    IS_S4_OBJECT(from) ? SET_S4_OBJECT(to) : UNSET_S4_OBJECT(to);  \
  |  |  ------------------
  |  |  |  Branch (96:5): [True: 0, False: 3.14M]
  |  |  ------------------
  |  |   97|  3.14M|  } \
  |  |   98|  3.15M|} while (0)
  |  |  ------------------
  |  |  |  Branch (98:10): [Folded, False: 3.15M]
  |  |  ------------------
  ------------------
  462|  3.15M|	COPY_TRUELENGTH(t, s);
  ------------------
  |  |   43|  3.15M|#define COPY_TRUELENGTH(to, from) do {			\
  |  |   44|  3.15M|	if (! GROWABLE_BIT_SET(from))			\
  |  |  ------------------
  |  |  |  Branch (44:6): [True: 3.15M, False: 0]
  |  |  ------------------
  |  |   45|  3.15M|	    SET_TRUELENGTH(to, XTRUELENGTH(from));	\
  |  |   46|  3.15M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (46:14): [Folded, False: 3.15M]
  |  |  ------------------
  ------------------
  463|  3.15M|	UNPROTECT(2);
  ------------------
  |  |  358|  3.15M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  464|  3.15M|	break;
  465|  2.46k|    case LGLSXP: DUPLICATE_ATOMIC_VECTOR(int, LOGICAL, LOGICAL_RO, t, s, deep); break;
  ------------------
  |  |  121|  2.46k|#define LGLSXP	    10	  /* logical vectors */
  ------------------
                  case LGLSXP: DUPLICATE_ATOMIC_VECTOR(int, LOGICAL, LOGICAL_RO, t, s, deep); break;
  ------------------
  |  |   75|  2.46k|#define DUPLICATE_ATOMIC_VECTOR(type, fun, fun_ro, to, from, deep) do {	\
  |  |   76|  2.46k|  R_xlen_t __n__ = XLENGTH(from); \
  |  |   77|  2.46k|  PROTECT(from); \
  |  |  ------------------
  |  |  |  |  357|  2.46k|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  |   78|  2.46k|  PROTECT(to = allocVector(TYPEOF(from), __n__)); \
  |  |  ------------------
  |  |  |  |  357|  2.46k|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  |   79|  2.46k|  if (__n__ == 1) fun(to)[0] = fun_ro(from)[0]; \
  |  |  ------------------
  |  |  |  Branch (79:7): [True: 1.71k, False: 745]
  |  |  ------------------
  |  |   80|  2.46k|  else if (__n__) memcpy(fun(to), fun_ro(from), __n__ * sizeof(type)); \
  |  |  ------------------
  |  |  |  Branch (80:12): [True: 723, False: 22]
  |  |  ------------------
  |  |   81|  2.46k|  DUPLICATE_ATTRIB(to, from, deep); \
  |  |  ------------------
  |  |  |  |   91|  2.46k|#define DUPLICATE_ATTRIB(to, from, deep) do { \
  |  |  |  |   92|  2.46k|  SEXP __a__ = ATTRIB(from); \
  |  |  |  |   93|  2.46k|  if (__a__ != R_NilValue) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (93:7): [True: 504, False: 1.95k]
  |  |  |  |  ------------------
  |  |  |  |   94|    504|      SET_ATTRIB(to, duplicate1(__a__, deep)); \
  |  |  |  |   95|    504|    SET_OBJECT(to, OBJECT(from)); \
  |  |  |  |   96|    504|    IS_S4_OBJECT(from) ? SET_S4_OBJECT(to) : UNSET_S4_OBJECT(to);  \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (96:5): [True: 0, False: 504]
  |  |  |  |  ------------------
  |  |  |  |   97|    504|  } \
  |  |  |  |   98|  2.46k|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (98:10): [Folded, False: 2.46k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|  2.46k|  COPY_TRUELENGTH(to, from); \
  |  |  ------------------
  |  |  |  |   43|  2.46k|#define COPY_TRUELENGTH(to, from) do {			\
  |  |  |  |   44|  2.46k|	if (! GROWABLE_BIT_SET(from))			\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (44:6): [True: 2.46k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   45|  2.46k|	    SET_TRUELENGTH(to, XTRUELENGTH(from));	\
  |  |  |  |   46|  2.46k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (46:14): [Folded, False: 2.46k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|  2.46k|  UNPROTECT(2); \
  |  |  ------------------
  |  |  |  |  358|  2.46k|#define UNPROTECT(n)	Rf_unprotect(n)
  |  |  ------------------
  |  |   84|  2.46k|} while (0)
  |  |  ------------------
  |  |  |  Branch (84:10): [Folded, False: 2.46k]
  |  |  ------------------
  ------------------
  |  Branch (465:5): [True: 2.46k, False: 24.3M]
  ------------------
  466|    766|    case INTSXP: DUPLICATE_ATOMIC_VECTOR(int, INTEGER, INTEGER_RO, t, s, deep); break;
  ------------------
  |  |  123|    766|#define INTSXP	    13	  /* integer vectors */
  ------------------
                  case INTSXP: DUPLICATE_ATOMIC_VECTOR(int, INTEGER, INTEGER_RO, t, s, deep); break;
  ------------------
  |  |   75|    766|#define DUPLICATE_ATOMIC_VECTOR(type, fun, fun_ro, to, from, deep) do {	\
  |  |   76|    766|  R_xlen_t __n__ = XLENGTH(from); \
  |  |   77|    766|  PROTECT(from); \
  |  |  ------------------
  |  |  |  |  357|    766|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  |   78|    766|  PROTECT(to = allocVector(TYPEOF(from), __n__)); \
  |  |  ------------------
  |  |  |  |  357|    766|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  |   79|    766|  if (__n__ == 1) fun(to)[0] = fun_ro(from)[0]; \
  |  |  ------------------
  |  |  |  Branch (79:7): [True: 590, False: 176]
  |  |  ------------------
  |  |   80|    766|  else if (__n__) memcpy(fun(to), fun_ro(from), __n__ * sizeof(type)); \
  |  |  ------------------
  |  |  |  Branch (80:12): [True: 176, False: 0]
  |  |  ------------------
  |  |   81|    766|  DUPLICATE_ATTRIB(to, from, deep); \
  |  |  ------------------
  |  |  |  |   91|    766|#define DUPLICATE_ATTRIB(to, from, deep) do { \
  |  |  |  |   92|    766|  SEXP __a__ = ATTRIB(from); \
  |  |  |  |   93|    766|  if (__a__ != R_NilValue) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (93:7): [True: 52, False: 714]
  |  |  |  |  ------------------
  |  |  |  |   94|     52|      SET_ATTRIB(to, duplicate1(__a__, deep)); \
  |  |  |  |   95|     52|    SET_OBJECT(to, OBJECT(from)); \
  |  |  |  |   96|     52|    IS_S4_OBJECT(from) ? SET_S4_OBJECT(to) : UNSET_S4_OBJECT(to);  \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (96:5): [True: 0, False: 52]
  |  |  |  |  ------------------
  |  |  |  |   97|     52|  } \
  |  |  |  |   98|    766|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (98:10): [Folded, False: 766]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|    766|  COPY_TRUELENGTH(to, from); \
  |  |  ------------------
  |  |  |  |   43|    766|#define COPY_TRUELENGTH(to, from) do {			\
  |  |  |  |   44|    766|	if (! GROWABLE_BIT_SET(from))			\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (44:6): [True: 766, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   45|    766|	    SET_TRUELENGTH(to, XTRUELENGTH(from));	\
  |  |  |  |   46|    766|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (46:14): [Folded, False: 766]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|    766|  UNPROTECT(2); \
  |  |  ------------------
  |  |  |  |  358|    766|#define UNPROTECT(n)	Rf_unprotect(n)
  |  |  ------------------
  |  |   84|    766|} while (0)
  |  |  ------------------
  |  |  |  Branch (84:10): [Folded, False: 766]
  |  |  ------------------
  ------------------
  |  Branch (466:5): [True: 766, False: 24.3M]
  ------------------
  467|  5.47k|    case REALSXP: DUPLICATE_ATOMIC_VECTOR(double, REAL, REAL_RO, t, s, deep); break;
  ------------------
  |  |  124|  5.47k|#define REALSXP	    14	  /* real variables */
  ------------------
                  case REALSXP: DUPLICATE_ATOMIC_VECTOR(double, REAL, REAL_RO, t, s, deep); break;
  ------------------
  |  |   75|  5.47k|#define DUPLICATE_ATOMIC_VECTOR(type, fun, fun_ro, to, from, deep) do {	\
  |  |   76|  5.47k|  R_xlen_t __n__ = XLENGTH(from); \
  |  |   77|  5.47k|  PROTECT(from); \
  |  |  ------------------
  |  |  |  |  357|  5.47k|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  |   78|  5.47k|  PROTECT(to = allocVector(TYPEOF(from), __n__)); \
  |  |  ------------------
  |  |  |  |  357|  5.47k|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  |   79|  5.47k|  if (__n__ == 1) fun(to)[0] = fun_ro(from)[0]; \
  |  |  ------------------
  |  |  |  Branch (79:7): [True: 3.11k, False: 2.36k]
  |  |  ------------------
  |  |   80|  5.47k|  else if (__n__) memcpy(fun(to), fun_ro(from), __n__ * sizeof(type)); \
  |  |  ------------------
  |  |  |  Branch (80:12): [True: 2.30k, False: 55]
  |  |  ------------------
  |  |   81|  5.47k|  DUPLICATE_ATTRIB(to, from, deep); \
  |  |  ------------------
  |  |  |  |   91|  5.47k|#define DUPLICATE_ATTRIB(to, from, deep) do { \
  |  |  |  |   92|  5.47k|  SEXP __a__ = ATTRIB(from); \
  |  |  |  |   93|  5.47k|  if (__a__ != R_NilValue) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (93:7): [True: 1.17k, False: 4.30k]
  |  |  |  |  ------------------
  |  |  |  |   94|  1.17k|      SET_ATTRIB(to, duplicate1(__a__, deep)); \
  |  |  |  |   95|  1.17k|    SET_OBJECT(to, OBJECT(from)); \
  |  |  |  |   96|  1.17k|    IS_S4_OBJECT(from) ? SET_S4_OBJECT(to) : UNSET_S4_OBJECT(to);  \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (96:5): [True: 0, False: 1.17k]
  |  |  |  |  ------------------
  |  |  |  |   97|  1.17k|  } \
  |  |  |  |   98|  5.47k|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (98:10): [Folded, False: 5.47k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|  5.47k|  COPY_TRUELENGTH(to, from); \
  |  |  ------------------
  |  |  |  |   43|  5.47k|#define COPY_TRUELENGTH(to, from) do {			\
  |  |  |  |   44|  5.47k|	if (! GROWABLE_BIT_SET(from))			\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (44:6): [True: 5.47k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   45|  5.47k|	    SET_TRUELENGTH(to, XTRUELENGTH(from));	\
  |  |  |  |   46|  5.47k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (46:14): [Folded, False: 5.47k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|  5.47k|  UNPROTECT(2); \
  |  |  ------------------
  |  |  |  |  358|  5.47k|#define UNPROTECT(n)	Rf_unprotect(n)
  |  |  ------------------
  |  |   84|  5.47k|} while (0)
  |  |  ------------------
  |  |  |  Branch (84:10): [Folded, False: 5.47k]
  |  |  ------------------
  ------------------
  |  Branch (467:5): [True: 5.47k, False: 24.3M]
  ------------------
  468|      0|    case CPLXSXP: DUPLICATE_ATOMIC_VECTOR(Rcomplex, COMPLEX, COMPLEX_RO, t, s, deep); break;
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
                  case CPLXSXP: DUPLICATE_ATOMIC_VECTOR(Rcomplex, COMPLEX, COMPLEX_RO, t, s, deep); break;
  ------------------
  |  |   75|      0|#define DUPLICATE_ATOMIC_VECTOR(type, fun, fun_ro, to, from, deep) do {	\
  |  |   76|      0|  R_xlen_t __n__ = XLENGTH(from); \
  |  |   77|      0|  PROTECT(from); \
  |  |  ------------------
  |  |  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  |   78|      0|  PROTECT(to = allocVector(TYPEOF(from), __n__)); \
  |  |  ------------------
  |  |  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  |   79|      0|  if (__n__ == 1) fun(to)[0] = fun_ro(from)[0]; \
  |  |  ------------------
  |  |  |  Branch (79:7): [True: 0, False: 0]
  |  |  ------------------
  |  |   80|      0|  else if (__n__) memcpy(fun(to), fun_ro(from), __n__ * sizeof(type)); \
  |  |  ------------------
  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  ------------------
  |  |   81|      0|  DUPLICATE_ATTRIB(to, from, deep); \
  |  |  ------------------
  |  |  |  |   91|      0|#define DUPLICATE_ATTRIB(to, from, deep) do { \
  |  |  |  |   92|      0|  SEXP __a__ = ATTRIB(from); \
  |  |  |  |   93|      0|  if (__a__ != R_NilValue) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (93:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   94|      0|      SET_ATTRIB(to, duplicate1(__a__, deep)); \
  |  |  |  |   95|      0|    SET_OBJECT(to, OBJECT(from)); \
  |  |  |  |   96|      0|    IS_S4_OBJECT(from) ? SET_S4_OBJECT(to) : UNSET_S4_OBJECT(to);  \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (96:5): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   97|      0|  } \
  |  |  |  |   98|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (98:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|  COPY_TRUELENGTH(to, from); \
  |  |  ------------------
  |  |  |  |   43|      0|#define COPY_TRUELENGTH(to, from) do {			\
  |  |  |  |   44|      0|	if (! GROWABLE_BIT_SET(from))			\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (44:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   45|      0|	    SET_TRUELENGTH(to, XTRUELENGTH(from));	\
  |  |  |  |   46|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (46:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|  UNPROTECT(2); \
  |  |  ------------------
  |  |  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  |  |  ------------------
  |  |   84|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (84:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (468:5): [True: 0, False: 24.3M]
  ------------------
  469|      0|    case RAWSXP: DUPLICATE_ATOMIC_VECTOR(Rbyte, RAW, RAW_RO, t, s, deep); break;
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
                  case RAWSXP: DUPLICATE_ATOMIC_VECTOR(Rbyte, RAW, RAW_RO, t, s, deep); break;
  ------------------
  |  |   75|      0|#define DUPLICATE_ATOMIC_VECTOR(type, fun, fun_ro, to, from, deep) do {	\
  |  |   76|      0|  R_xlen_t __n__ = XLENGTH(from); \
  |  |   77|      0|  PROTECT(from); \
  |  |  ------------------
  |  |  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  |   78|      0|  PROTECT(to = allocVector(TYPEOF(from), __n__)); \
  |  |  ------------------
  |  |  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  |   79|      0|  if (__n__ == 1) fun(to)[0] = fun_ro(from)[0]; \
  |  |  ------------------
  |  |  |  Branch (79:7): [True: 0, False: 0]
  |  |  ------------------
  |  |   80|      0|  else if (__n__) memcpy(fun(to), fun_ro(from), __n__ * sizeof(type)); \
  |  |  ------------------
  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  ------------------
  |  |   81|      0|  DUPLICATE_ATTRIB(to, from, deep); \
  |  |  ------------------
  |  |  |  |   91|      0|#define DUPLICATE_ATTRIB(to, from, deep) do { \
  |  |  |  |   92|      0|  SEXP __a__ = ATTRIB(from); \
  |  |  |  |   93|      0|  if (__a__ != R_NilValue) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (93:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   94|      0|      SET_ATTRIB(to, duplicate1(__a__, deep)); \
  |  |  |  |   95|      0|    SET_OBJECT(to, OBJECT(from)); \
  |  |  |  |   96|      0|    IS_S4_OBJECT(from) ? SET_S4_OBJECT(to) : UNSET_S4_OBJECT(to);  \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (96:5): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   97|      0|  } \
  |  |  |  |   98|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (98:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|      0|  COPY_TRUELENGTH(to, from); \
  |  |  ------------------
  |  |  |  |   43|      0|#define COPY_TRUELENGTH(to, from) do {			\
  |  |  |  |   44|      0|	if (! GROWABLE_BIT_SET(from))			\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (44:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   45|      0|	    SET_TRUELENGTH(to, XTRUELENGTH(from));	\
  |  |  |  |   46|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (46:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|  UNPROTECT(2); \
  |  |  ------------------
  |  |  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  |  |  ------------------
  |  |   84|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (84:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (469:5): [True: 0, False: 24.3M]
  ------------------
  470|  4.21M|    case STRSXP:
  ------------------
  |  |  126|  4.21M|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (470:5): [True: 4.21M, False: 20.1M]
  ------------------
  471|       |	/* Direct copying and bypassing the write barrier would be OK
  472|       |	   since t was just allocated and so it cannot be older than
  473|       |	   any of the elements in s. But it does not increment the
  474|       |	   reference counts, so use a loop with SET_STRING_ELT. LT */
  475|       |	//DUPLICATE_ATOMIC_VECTOR(SEXP, STRING_PTR, STRING_PTR_RO, t, s, deep);
  476|  4.21M|	n = XLENGTH(s);
  477|  4.21M|	PROTECT(s);
  ------------------
  |  |  357|  4.21M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  478|  4.21M|	PROTECT(t = allocVector(TYPEOF(s), n));
  ------------------
  |  |  357|  4.21M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  479|  17.1M|	for(i = 0 ; i < n ; i++)
  ------------------
  |  Branch (479:14): [True: 12.8M, False: 4.21M]
  ------------------
  480|  12.8M|	    SET_STRING_ELT(t, i, STRING_ELT(s, i));
  481|  4.21M|	DUPLICATE_ATTRIB(t, s, deep);
  ------------------
  |  |   91|  4.21M|#define DUPLICATE_ATTRIB(to, from, deep) do { \
  |  |   92|  4.21M|  SEXP __a__ = ATTRIB(from); \
  |  |   93|  4.21M|  if (__a__ != R_NilValue) { \
  |  |  ------------------
  |  |  |  Branch (93:7): [True: 292, False: 4.21M]
  |  |  ------------------
  |  |   94|    292|      SET_ATTRIB(to, duplicate1(__a__, deep)); \
  |  |   95|    292|    SET_OBJECT(to, OBJECT(from)); \
  |  |   96|    292|    IS_S4_OBJECT(from) ? SET_S4_OBJECT(to) : UNSET_S4_OBJECT(to);  \
  |  |  ------------------
  |  |  |  Branch (96:5): [True: 0, False: 292]
  |  |  ------------------
  |  |   97|    292|  } \
  |  |   98|  4.21M|} while (0)
  |  |  ------------------
  |  |  |  Branch (98:10): [Folded, False: 4.21M]
  |  |  ------------------
  ------------------
  482|  4.21M|	COPY_TRUELENGTH(t, s);
  ------------------
  |  |   43|  4.21M|#define COPY_TRUELENGTH(to, from) do {			\
  |  |   44|  4.21M|	if (! GROWABLE_BIT_SET(from))			\
  |  |  ------------------
  |  |  |  Branch (44:6): [True: 4.21M, False: 0]
  |  |  ------------------
  |  |   45|  4.21M|	    SET_TRUELENGTH(to, XTRUELENGTH(from));	\
  |  |   46|  4.21M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (46:14): [Folded, False: 4.21M]
  |  |  ------------------
  ------------------
  483|  4.21M|	UNPROTECT(2);
  ------------------
  |  |  358|  4.21M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  484|  4.21M|	break;
  485|      0|    case PROMSXP:
  ------------------
  |  |  116|      0|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (485:5): [True: 0, False: 24.3M]
  ------------------
  486|      0|	return s;
  487|      0|	break;
  488|      0|    case OBJSXP:
  ------------------
  |  |  137|      0|#define OBJSXP      25    /* object, non-vector  */
  ------------------
  |  Branch (488:5): [True: 0, False: 24.3M]
  ------------------
  489|      0|	PROTECT(s);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  490|      0|	PROTECT(t = R_allocObject());
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  491|      0|	DUPLICATE_ATTRIB(t, s, deep);
  ------------------
  |  |   91|      0|#define DUPLICATE_ATTRIB(to, from, deep) do { \
  |  |   92|      0|  SEXP __a__ = ATTRIB(from); \
  |  |   93|      0|  if (__a__ != R_NilValue) { \
  |  |  ------------------
  |  |  |  Branch (93:7): [True: 0, False: 0]
  |  |  ------------------
  |  |   94|      0|      SET_ATTRIB(to, duplicate1(__a__, deep)); \
  |  |   95|      0|    SET_OBJECT(to, OBJECT(from)); \
  |  |   96|      0|    IS_S4_OBJECT(from) ? SET_S4_OBJECT(to) : UNSET_S4_OBJECT(to);  \
  |  |  ------------------
  |  |  |  Branch (96:5): [True: 0, False: 0]
  |  |  ------------------
  |  |   97|      0|  } \
  |  |   98|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (98:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
  492|      0|	UNPROTECT(2);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  493|      0|	break;
  494|      0|    default:
  ------------------
  |  Branch (494:5): [True: 0, False: 24.3M]
  ------------------
  495|      0|	UNIMPLEMENTED_TYPE("duplicate", s);
  496|      0|	t = s;/* for -Wall */
  497|  24.3M|    }
  498|  15.8M|    if(TYPEOF(t) == TYPEOF(s) ) { /* surely it only makes sense in this case*/
  ------------------
  |  Branch (498:8): [True: 15.8M, False: 0]
  ------------------
  499|  15.8M|	SET_OBJECT(t, OBJECT(s));
  500|  15.8M|	(IS_S4_OBJECT(s) ? SET_S4_OBJECT(t) : UNSET_S4_OBJECT(t));
  ------------------
  |  Branch (500:3): [True: 0, False: 15.8M]
  ------------------
  501|  15.8M|    }
  502|  15.8M|    return t;
  503|  24.3M|}
duplicate.c:duplicate_list:
  380|  8.46M|{
  381|  8.46M|    SEXP sp, vp, val;
  382|  8.46M|    PROTECT(s);
  ------------------
  |  |  357|  8.46M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  383|       |
  384|  8.46M|    val = R_NilValue;
  385|  26.4M|    for (sp = s; sp != R_NilValue; sp = CDR(sp))
  ------------------
  |  Branch (385:18): [True: 18.0M, False: 8.46M]
  ------------------
  386|  18.0M|	val = CONS(R_NilValue, val);
  ------------------
  |  |  309|  18.0M|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
  387|       |
  388|  8.46M|    PROTECT(val);
  ------------------
  |  |  357|  8.46M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  389|  26.4M|    for (sp = s, vp = val; sp != R_NilValue; sp = CDR(sp), vp = CDR(vp)) {
  ------------------
  |  Branch (389:28): [True: 18.0M, False: 8.46M]
  ------------------
  390|  18.0M|	SETCAR(vp, duplicate_child(CAR(sp), deep));
  391|  18.0M|	COPY_TAG(vp, sp);
  ------------------
  |  |  100|  18.0M|#define COPY_TAG(to, from) do { \
  |  |  101|  18.0M|  SEXP __tag__ = TAG(from); \
  |  |  102|  18.0M|  if (__tag__ != R_NilValue) SET_TAG(to, __tag__); \
  |  |  ------------------
  |  |  |  Branch (102:7): [True: 6.30M, False: 11.7M]
  |  |  ------------------
  |  |  103|  18.0M|} while (0)
  |  |  ------------------
  |  |  |  Branch (103:10): [Folded, False: 18.0M]
  |  |  ------------------
  ------------------
  392|  18.0M|	DUPLICATE_ATTRIB(vp, sp, deep);
  ------------------
  |  |   91|  18.0M|#define DUPLICATE_ATTRIB(to, from, deep) do { \
  |  |   92|  18.0M|  SEXP __a__ = ATTRIB(from); \
  |  |   93|  18.0M|  if (__a__ != R_NilValue) { \
  |  |  ------------------
  |  |  |  Branch (93:7): [True: 0, False: 18.0M]
  |  |  ------------------
  |  |   94|      0|      SET_ATTRIB(to, duplicate1(__a__, deep)); \
  |  |   95|      0|    SET_OBJECT(to, OBJECT(from)); \
  |  |   96|      0|    IS_S4_OBJECT(from) ? SET_S4_OBJECT(to) : UNSET_S4_OBJECT(to);  \
  |  |  ------------------
  |  |  |  Branch (96:5): [True: 0, False: 0]
  |  |  ------------------
  |  |   97|      0|  } \
  |  |   98|  18.0M|} while (0)
  |  |  ------------------
  |  |  |  Branch (98:10): [Folded, False: 18.0M]
  |  |  ------------------
  ------------------
  393|  18.0M|    }
  394|  8.46M|    UNPROTECT(2);
  ------------------
  |  |  358|  8.46M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  395|  8.46M|    return val;
  396|  8.46M|}
duplicate.c:duplicate_child:
  207|  32.7M|static SEXP duplicate_child(SEXP s, Rboolean deep) {
  208|  32.7M|    if (deep)
  ------------------
  |  Branch (208:9): [True: 9.53M, False: 23.1M]
  ------------------
  209|  9.53M|	return duplicate1(s, TRUE);
  210|  23.1M|    else
  211|  23.1M|	return lazy_duplicate(s);
  ------------------
  |  |  985|  23.1M|#define lazy_duplicate		Rf_lazy_duplicate
  ------------------
  212|  32.7M|}
duplicate.c:duplicate_attr:
  711|  3.14M|{
  712|  3.14M|    if (isVector(x) && XLENGTH(x) >= WRAP_THRESHOLD) {
  ------------------
  |  |  974|  3.14M|#define isVector		Rf_isVector
  ------------------
                  if (isVector(x) && XLENGTH(x) >= WRAP_THRESHOLD) {
  ------------------
  |  |  709|  3.14M|#define WRAP_THRESHOLD 64
  ------------------
  |  Branch (712:9): [True: 3.14M, False: 16]
  |  Branch (712:24): [True: 8, False: 3.14M]
  ------------------
  713|      8|	SEXP val = R_tryWrap(x);
  714|      8|	if (val != x) {
  ------------------
  |  Branch (714:6): [True: 8, False: 0]
  ------------------
  715|      8|	    if (deep) {
  ------------------
  |  Branch (715:10): [True: 0, False: 8]
  ------------------
  716|      0|		PROTECT(val);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  717|       |		/* the spine has been duplicated; we could just do the values */
  718|      0|		SET_ATTRIB(val, duplicate(ATTRIB(val)));
  ------------------
  |  |  909|      0|#define duplicate		Rf_duplicate
  ------------------
  719|      0|		UNPROTECT(1); /* val */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  720|      0|	    }
  721|      8|	    return val;
  722|      8|	}
  723|      8|    }
  724|  3.14M|    return deep ? duplicate(x) : shallow_duplicate(x);
  ------------------
  |  |  909|      0|#define duplicate		Rf_duplicate
  ------------------
                  return deep ? duplicate(x) : shallow_duplicate(x);
  ------------------
  |  | 1030|  3.14M|#define shallow_duplicate	Rf_shallow_duplicate
  ------------------
  |  Branch (724:12): [True: 0, False: 3.14M]
  ------------------
  725|  3.14M|}

Rf_InitEd:
   73|      2|{
   74|       |#ifdef Win32
   75|       |    DefaultFileName = R_tmpnam2("Redit", R_TempDir, ".R");
   76|       |#else
   77|       |    DefaultFileName = R_tmpnam2(NULL, R_TempDir, ".R");
   78|      2|#endif
   79|      2|}

GEregisterSystem:
  158|      2|void GEregisterSystem(GEcallback cb, int *systemRegisterIndex) {
  159|      2|    int i, devNum;
  160|      2|    pGEDevDesc gdd;
  161|      2|    if (numGraphicsSystems + 1 == MAX_GRAPHICS_SYSTEMS)
  ------------------
  |  |  123|      2|#define MAX_GRAPHICS_SYSTEMS 24
  ------------------
  |  Branch (161:9): [True: 0, False: 2]
  ------------------
  162|      0|	error(_("too many graphics systems registered"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("too many graphics systems registered"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  163|       |    /* Set the system register index so that, if there are existing
  164|       |     * devices, it will know where to put the system-specific
  165|       |     * information in those devices
  166|       |     * If a graphics system has been unregistered, there might
  167|       |     * be "holes" in the list of graphics systems, so start
  168|       |     * from zero and look for the first NULL
  169|       |     */
  170|      2|    *systemRegisterIndex = 0;
  171|      2|    while (registeredSystems[*systemRegisterIndex] != NULL) {
  ------------------
  |  Branch (171:12): [True: 0, False: 2]
  ------------------
  172|      0|        (*systemRegisterIndex)++;
  173|      0|    }
  174|       |    /* Run through the existing devices and add the new information
  175|       |     * to any GEDevDesc's
  176|       |     */
  177|      2|    i = 1;
  178|      2|    if (!NoDevices()) {
  ------------------
  |  |  900|      2|#define NoDevices		Rf_NoDevices
  ------------------
  |  Branch (178:9): [True: 0, False: 2]
  ------------------
  179|      0|	devNum = curDevice();
  ------------------
  |  |  895|      0|#define curDevice		Rf_curDevice
  ------------------
  180|      0|	while (i++ < NumDevices()) {
  ------------------
  |  |  901|      0|#define NumDevices		Rf_NumDevices
  ------------------
  |  Branch (180:9): [True: 0, False: 0]
  ------------------
  181|      0|	    gdd = GEgetDevice(devNum);
  182|      0|	    registerOne(gdd, *systemRegisterIndex, cb);
  183|      0|	    devNum = nextDevice(devNum);
  ------------------
  |  |  899|      0|#define nextDevice		Rf_nextDevice
  ------------------
  184|      0|	}
  185|      0|    }
  186|       |    /* Store the information for adding to any new devices
  187|       |     */
  188|      2|    registeredSystems[*systemRegisterIndex] =
  189|      2|	(GESystemDesc*) calloc(1, sizeof(GESystemDesc));
  190|      2|    if (registeredSystems[*systemRegisterIndex] == NULL)
  ------------------
  |  Branch (190:9): [True: 0, False: 2]
  ------------------
  191|      0|	error(_("unable to allocate memory (in GEregister)"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("unable to allocate memory (in GEregister)"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  192|      2|    registeredSystems[*systemRegisterIndex]->callback = cb;
  193|      2|    numGraphicsSystems += 1;
  194|      2|}
GEonExit:
 3296|  3.07k|{
 3297|       |  /*
 3298|       |   * Run through all devices and turn graphics recording back on
 3299|       |   * in case an error occurred in the middle of a do_recordGraphics
 3300|       |   * call.
 3301|       |   * Awkward cos device code still in graphics.c
 3302|       |   * Can be cleaned up when device code moved here.
 3303|       |   */
 3304|  3.07k|    int i, devNum;
 3305|  3.07k|    pGEDevDesc gd;
 3306|  3.07k|    pDevDesc dd;
 3307|  3.07k|    i = 1;
 3308|  3.07k|    if (!NoDevices()) {
  ------------------
  |  |  900|  3.07k|#define NoDevices		Rf_NoDevices
  ------------------
  |  Branch (3308:9): [True: 0, False: 3.07k]
  ------------------
 3309|      0|	devNum = curDevice();
  ------------------
  |  |  895|      0|#define curDevice		Rf_curDevice
  ------------------
 3310|      0|	while (i++ < NumDevices()) {
  ------------------
  |  |  901|      0|#define NumDevices		Rf_NumDevices
  ------------------
  |  Branch (3310:9): [True: 0, False: 0]
  ------------------
 3311|      0|	    gd = GEgetDevice(devNum);
 3312|       |#ifdef R_GE_DEBUG
 3313|       |            if (getenv("R_GE_DEBUG_record")) {
 3314|       |                printf("GEonExit: record = TRUE\n");
 3315|       |            }
 3316|       |#endif
 3317|      0|	    gd->recordGraphics = TRUE;
 3318|      0|	    dd = gd->dev;
 3319|      0|	    if (dd->onExit) dd->onExit(dd);
  ------------------
  |  Branch (3319:10): [True: 0, False: 0]
  ------------------
 3320|      0|	    devNum = nextDevice(devNum);
  ------------------
  |  |  899|      0|#define nextDevice		Rf_nextDevice
  ------------------
 3321|      0|	}
 3322|      0|    }
 3323|  3.07k|}

R_envHasNoSpecialSymbols:
  180|  10.6M|{
  181|  10.6M|    SEXP frame;
  182|       |
  183|  10.6M|    if (HASHTAB(env) != R_NilValue)
  ------------------
  |  Branch (183:9): [True: 0, False: 10.6M]
  ------------------
  184|      0|	return FALSE;
  185|       |
  186|  33.2M|    for (frame = FRAME(env); frame != R_NilValue; frame = CDR(frame))
  ------------------
  |  Branch (186:30): [True: 22.5M, False: 10.6M]
  ------------------
  187|  22.5M|	if (IS_SPECIAL_SYMBOL(TAG(frame)))
  ------------------
  |  Branch (187:6): [True: 0, False: 22.5M]
  ------------------
  188|      0|	    return FALSE;
  189|       |
  190|  10.6M|    return TRUE;
  191|  10.6M|}
R_Newhashpjw:
  230|  9.66M|{
  231|  9.66M|    char *p;
  232|  9.66M|    unsigned h = 0, g;
  233|   108M|    for (p = (char *) s; *p; p++) {
  ------------------
  |  Branch (233:26): [True: 98.7M, False: 9.66M]
  ------------------
  234|  98.7M|	h = (h << 4) + (*p);
  235|  98.7M|	if ((g = h & 0xf0000000) != 0) {
  ------------------
  |  Branch (235:6): [True: 42.9M, False: 55.8M]
  ------------------
  236|  42.9M|	    h = h ^ (g >> 24);
  237|  42.9M|	    h = h ^ g;
  238|  42.9M|	}
  239|  98.7M|    }
  240|  9.66M|    return h;
  241|  9.66M|}
R_NewHashedEnv:
  374|    748|{
  375|    748|    SEXP s;
  376|       |
  377|    748|    PROTECT(enclos);
  ------------------
  |  |  357|    748|#define PROTECT(s)	Rf_protect(s)
  ------------------
  378|    748|    PROTECT(s = NewEnvironment(R_NilValue, R_NilValue, enclos));
  ------------------
  |  |  357|    748|#define PROTECT(s)	Rf_protect(s)
  ------------------
  379|    748|    SET_HASHTAB(s, R_NewHashTable(size));
  380|    748|    UNPROTECT(2);
  ------------------
  |  |  358|    748|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  381|    748|    return s;
  382|    748|}
Rf_InitBaseEnv:
  667|      2|{
  668|      2|    R_EmptyEnv = NewEnvironment(R_NilValue, R_NilValue, R_NilValue);
  ------------------
  |  | 1966|      2|# define NewEnvironment		Rf_NewEnvironment
  ------------------
  669|      2|    R_BaseEnv = NewEnvironment(R_NilValue, R_NilValue, R_EmptyEnv);
  ------------------
  |  | 1966|      2|# define NewEnvironment		Rf_NewEnvironment
  ------------------
  670|      2|}
Rf_InitGlobalEnv:
  673|      2|{
  674|      2|    R_NamespaceSymbol = install(".__NAMESPACE__.");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  675|       |
  676|      2|    R_GlobalEnv = R_NewHashedEnv(R_BaseEnv, 0);
  677|      2|    R_MethodsNamespace = R_GlobalEnv; // so it is initialized.
  678|       |#ifdef NEW_CODE /* Not used */
  679|       |    HASHTAB(R_GlobalEnv) = R_NewHashTable(100);
  680|       |#endif
  681|      2|#ifdef USE_GLOBAL_CACHE
  682|      2|    MARK_AS_GLOBAL_FRAME(R_GlobalEnv);
  ------------------
  |  |  655|      2|  SET_ENVFLAGS(e, ENVFLAGS(e) | GLOBAL_FRAME_MASK)
  |  |  ------------------
  |  |  |  |  652|      2|#define GLOBAL_FRAME_MASK (1<<15)
  |  |  ------------------
  ------------------
  683|      2|    R_GlobalCache = R_NewHashTable(INITIAL_CACHE_SIZE);
  ------------------
  |  |  659|      2|#define INITIAL_CACHE_SIZE 1000
  ------------------
  684|      2|    R_GlobalCachePreserve = CONS(R_GlobalCache, R_NilValue);
  ------------------
  |  |  309|      2|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
  685|      2|    R_PreserveObject(R_GlobalCachePreserve);
  686|      2|#endif
  687|      2|    R_BaseNamespace = NewEnvironment(R_NilValue, R_NilValue, R_GlobalEnv);
  ------------------
  |  | 1966|      2|# define NewEnvironment		Rf_NewEnvironment
  ------------------
  688|      2|    R_PreserveObject(R_BaseNamespace);
  689|      2|    SET_SYMVALUE(install(".BaseNamespaceEnv"), R_BaseNamespace);
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  690|      2|    R_BaseNamespaceName = ScalarString(mkChar("base"));
  ------------------
  |  | 1025|      2|#define ScalarString		Rf_ScalarString
  ------------------
                  R_BaseNamespaceName = ScalarString(mkChar("base"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
  691|      2|    R_PreserveObject(R_BaseNamespaceName);
  692|      2|    R_NamespaceRegistry = R_NewHashedEnv(R_NilValue, 0);
  693|      2|    R_PreserveObject(R_NamespaceRegistry);
  694|      2|    defineVar(R_BaseSymbol, R_BaseNamespace, R_NamespaceRegistry);
  ------------------
  |  |  905|      2|#define defineVar		Rf_defineVar
  ------------------
  695|       |    /**** needed to properly initialize the base namespace */
  696|      2|}
Rf_unbindVar:
  978|     50|{
  979|     50|    int hashcode;
  980|     50|    int found;
  981|     50|    SEXP c;
  982|       |
  983|     50|    if (rho == R_BaseNamespace)
  ------------------
  |  Branch (983:9): [True: 0, False: 50]
  ------------------
  984|      0|	error(_("cannot unbind in the base namespace"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("cannot unbind in the base namespace"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  985|     50|    if (rho == R_BaseEnv)
  ------------------
  |  Branch (985:9): [True: 0, False: 50]
  ------------------
  986|      0|	error(_("unbind in the base environment is unimplemented"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("unbind in the base environment is unimplemented"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  987|     50|    if (FRAME_IS_LOCKED(rho))
  ------------------
  |  |  107|     50|#define FRAME_IS_LOCKED(e) (ENVFLAGS(e) & FRAME_LOCK_MASK)
  |  |  ------------------
  |  |  |  |  106|     50|#define FRAME_LOCK_MASK (1<<14)
  |  |  ------------------
  |  |  |  Branch (107:28): [True: 0, False: 50]
  |  |  ------------------
  ------------------
  988|      0|	error(_("cannot remove bindings from a locked environment"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("cannot remove bindings from a locked environment"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  989|     50|    if (HASHTAB(rho) == R_NilValue) {
  ------------------
  |  Branch (989:9): [True: 50, False: 0]
  ------------------
  990|     50|	SEXP list;
  991|     50|	list = RemoveFromList(symbol, FRAME(rho), &found);
  992|     50|	if (found) {
  ------------------
  |  Branch (992:6): [True: 50, False: 0]
  ------------------
  993|     50|	    if (rho == R_GlobalEnv) R_DirtyImage = 1;
  ------------------
  |  Branch (993:10): [True: 0, False: 50]
  ------------------
  994|     50|	    SET_FRAME(rho, list);
  995|     50|#ifdef USE_GLOBAL_CACHE
  996|     50|	    if (IS_GLOBAL_FRAME(rho))
  ------------------
  |  |  653|     50|#define IS_GLOBAL_FRAME(e) (ENVFLAGS(e) & GLOBAL_FRAME_MASK)
  |  |  ------------------
  |  |  |  |  652|     50|#define GLOBAL_FRAME_MASK (1<<15)
  |  |  ------------------
  |  |  |  Branch (653:28): [True: 0, False: 50]
  |  |  ------------------
  ------------------
  997|      0|		R_FlushGlobalCache(symbol);
  998|     50|#endif
  999|     50|	}
 1000|     50|    }
 1001|      0|    else {
 1002|       |	/* This branch is used e.g. via sys.source, utils::data */
 1003|      0|	c = PRINTNAME(symbol);
 1004|      0|	if( !HASHASH(c) ) {
  ------------------
  |  Branch (1004:6): [True: 0, False: 0]
  ------------------
 1005|      0|	    SET_HASHVALUE(c, R_Newhashpjw(CHAR(c)));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 1006|      0|	    SET_HASHASH(c, 1);
 1007|      0|	}
 1008|      0|	hashcode = HASHVALUE(c) % HASHSIZE(HASHTAB(rho));
  ------------------
  |  |  205|      0|#define HASHSIZE(x)	     ((int) STDVEC_LENGTH(x))
  ------------------
 1009|      0|	R_HashDelete(hashcode, symbol, rho, &found);
 1010|      0|#ifdef USE_GLOBAL_CACHE
 1011|      0|	if (found && IS_GLOBAL_FRAME(rho))
  ------------------
  |  |  653|      0|#define IS_GLOBAL_FRAME(e) (ENVFLAGS(e) & GLOBAL_FRAME_MASK)
  |  |  ------------------
  |  |  |  |  652|      0|#define GLOBAL_FRAME_MASK (1<<15)
  |  |  ------------------
  |  |  |  Branch (653:28): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1011:6): [True: 0, False: 0]
  ------------------
 1012|      0|	     R_FlushGlobalCache(symbol);
 1013|      0|#endif
 1014|      0|    }
 1015|     50|}
R_findVarLocInFrame:
 1094|  46.8M|{
 1095|  46.8M|    SEXP binding = findVarLocInFrame(rho, symbol, NULL);
 1096|  46.8M|    R_varloc_t val;
 1097|  46.8M|    val.cell = binding == R_NilValue ? NULL : binding;
  ------------------
  |  Branch (1097:16): [True: 138k, False: 46.7M]
  ------------------
 1098|  46.8M|    return val;
 1099|  46.8M|}
R_GetVarLocValue:
 1103|  90.8k|{
 1104|  90.8k|    SEXP cell = vl.cell;
 1105|  90.8k|    if (cell == NULL || cell == R_UnboundValue)
  ------------------
  |  Branch (1105:9): [True: 0, False: 90.8k]
  |  Branch (1105:25): [True: 0, False: 90.8k]
  ------------------
 1106|      0|	return R_UnboundValue;
 1107|  90.8k|    else if (TYPEOF(cell) == SYMSXP)
  ------------------
  |  |  112|  90.8k|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (1107:14): [True: 10.5k, False: 80.2k]
  ------------------
 1108|  10.5k|	return SYMBOL_BINDING_VALUE(cell);
  ------------------
  |  |  123|  10.5k|#define SYMBOL_BINDING_VALUE(s) ((IS_ACTIVE_BINDING(s) ? getActiveValue(SYMVALUE(s)) : SYMVALUE(s)))
  |  |  ------------------
  |  |  |  Branch (123:35): [True: 4, False: 10.5k]
  |  |  ------------------
  ------------------
 1109|  80.2k|    else return BINDING_VALUE(cell);
 1110|  90.8k|}
R_SetVarLocValue:
 1126|     50|{
 1127|       |    SET_BINDING_VALUE(vl.cell, value);
  ------------------
  |  |  126|     50|#define SET_BINDING_VALUE(b,val) do { \
  |  |  127|     50|  SEXP __b__ = (b); \
  |  |  128|     50|  SEXP __val__ = (val); \
  |  |  129|     50|  if (BINDING_IS_LOCKED(__b__)) \
  |  |  ------------------
  |  |  |  Branch (129:7): [True: 0, False: 50]
  |  |  ------------------
  |  |  130|     50|    error(_("cannot change value of locked binding for '%s'"), \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |                   error(_("cannot change value of locked binding for '%s'"), \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  |  131|      0|	  CHAR(PRINTNAME(TAG(__b__)))); \
  |  |  ------------------
  |  |  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  |  |  ------------------
  |  |  132|     50|  if (IS_ACTIVE_BINDING(__b__)) { \
  |  |  ------------------
  |  |  |  Branch (132:7): [True: 0, False: 50]
  |  |  ------------------
  |  |  133|      0|    PROTECT(__val__); \
  |  |  ------------------
  |  |  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  |  134|      0|    setActiveValue(CAR(__b__), __val__); \
  |  |  135|      0|    UNPROTECT(1); \
  |  |  ------------------
  |  |  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  |  |  ------------------
  |  |  136|      0|   } else \
  |  |  137|     50|    SET_BNDCELL(__b__, __val__); \
  |  |  138|     50|} while (0)
  |  |  ------------------
  |  |  |  Branch (138:10): [Folded, False: 50]
  |  |  ------------------
  ------------------
 1128|     50|}
Rf_findVarInFrame3:
 1148|  92.3M|{
 1149|  92.3M|    int hashcode;
 1150|  92.3M|    SEXP frame, c;
 1151|       |
 1152|  92.3M|    if (TYPEOF(rho) == NILSXP)
  ------------------
  |  |  111|  92.3M|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (1152:9): [True: 0, False: 92.3M]
  ------------------
 1153|      0|	error(_("use of NULL environment is defunct"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("use of NULL environment is defunct"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1154|       |
 1155|  92.3M|    if (rho == R_BaseNamespace || rho == R_BaseEnv)
  ------------------
  |  Branch (1155:9): [True: 22.2M, False: 70.0M]
  |  Branch (1155:35): [True: 6.33M, False: 63.7M]
  ------------------
 1156|  28.5M|	return SYMBOL_BINDING_VALUE(symbol);
  ------------------
  |  |  123|  28.5M|#define SYMBOL_BINDING_VALUE(s) ((IS_ACTIVE_BINDING(s) ? getActiveValue(SYMVALUE(s)) : SYMVALUE(s)))
  |  |  ------------------
  |  |  |  Branch (123:35): [True: 10, False: 28.5M]
  |  |  ------------------
  ------------------
 1157|       |
 1158|  63.7M|    if (rho == R_EmptyEnv)
  ------------------
  |  Branch (1158:9): [True: 0, False: 63.7M]
  ------------------
 1159|      0|	return R_UnboundValue;
 1160|       |
 1161|  63.7M|    if(IS_USER_DATABASE(rho)) {
  ------------------
  |  |  102|  63.7M|#define IS_USER_DATABASE(rho)  (OBJECT((rho)) && inherits((rho), "UserDefinedDatabase"))
  |  |  ------------------
  |  |  |  |  933|      0|#define inherits		Rf_inherits
  |  |  ------------------
  |  |  |  Branch (102:33): [True: 0, False: 63.7M]
  |  |  |  Branch (102:50): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1162|       |	/* Use the objects function pointer for this symbol. */
 1163|      0|	R_ObjectTable *table;
 1164|      0|	SEXP val = R_UnboundValue;
 1165|      0|	table = (R_ObjectTable *) R_ExternalPtrAddr(HASHTAB(rho));
 1166|      0|	if(table->active) {
  ------------------
  |  Branch (1166:5): [True: 0, False: 0]
  ------------------
 1167|      0|	    if(doGet)
  ------------------
  |  Branch (1167:9): [True: 0, False: 0]
  ------------------
 1168|      0|		val = table->get(CHAR(PRINTNAME(symbol)), NULL, table);
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 1169|      0|	    else {
 1170|      0|		if(table->exists(CHAR(PRINTNAME(symbol)), NULL, table))
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (1170:6): [True: 0, False: 0]
  ------------------
 1171|      0|		    val = table->get(CHAR(PRINTNAME(symbol)), NULL, table);
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 1172|      0|		else
 1173|      0|		    val = R_UnboundValue;
 1174|      0|	    }
 1175|      0|	    MARK_NOT_MUTABLE(val); /* to keep complex assignment code sane */
 1176|      0|	}
 1177|      0|	return(val);
 1178|  63.7M|    } else if (HASHTAB(rho) == R_NilValue) {
  ------------------
  |  Branch (1178:16): [True: 53.9M, False: 9.70M]
  ------------------
 1179|  53.9M|	frame = FRAME(rho);
 1180|   286M|	while (frame != R_NilValue) {
  ------------------
  |  Branch (1180:9): [True: 247M, False: 39.1M]
  ------------------
 1181|   247M|	    if (TAG(frame) == symbol)
  ------------------
  |  Branch (1181:10): [True: 14.8M, False: 232M]
  ------------------
 1182|  14.8M|		return BINDING_VALUE(frame);
 1183|   232M|	    frame = CDR(frame);
 1184|   232M|	}
 1185|  53.9M|    }
 1186|  9.70M|    else {
 1187|  9.70M|	c = PRINTNAME(symbol);
 1188|  9.70M|	if( !HASHASH(c) ) {
  ------------------
  |  Branch (1188:6): [True: 0, False: 9.70M]
  ------------------
 1189|      0|	    SET_HASHVALUE(c, R_Newhashpjw(CHAR(c)));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 1190|      0|	    SET_HASHASH(c, 1);
 1191|      0|	}
 1192|  9.70M|	hashcode = HASHVALUE(c) % HASHSIZE(HASHTAB(rho));
  ------------------
  |  |  205|  9.70M|#define HASHSIZE(x)	     ((int) STDVEC_LENGTH(x))
  ------------------
 1193|       |	/* Will return 'R_UnboundValue' if not found */
 1194|  9.70M|	return(R_HashGet(hashcode, symbol, HASHTAB(rho)));
 1195|  9.70M|    }
 1196|  39.1M|    return R_UnboundValue;
 1197|  63.7M|}
R_existsVarInFrame:
 1202|  10.5M|{
 1203|  10.5M|    int hashcode;
 1204|  10.5M|    SEXP frame, c;
 1205|       |
 1206|  10.5M|    if (TYPEOF(rho) == NILSXP)
  ------------------
  |  |  111|  10.5M|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (1206:9): [True: 0, False: 10.5M]
  ------------------
 1207|      0|	error(_("use of NULL environment is defunct"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("use of NULL environment is defunct"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1208|       |
 1209|  10.5M|    if (rho == R_BaseNamespace || rho == R_BaseEnv)
  ------------------
  |  Branch (1209:9): [True: 2, False: 10.5M]
  |  Branch (1209:35): [True: 302, False: 10.5M]
  ------------------
 1210|    304|	return SYMBOL_HAS_BINDING(symbol);
  ------------------
  |  |  124|    304|#define SYMBOL_HAS_BINDING(s) (IS_ACTIVE_BINDING(s) || (SYMVALUE(s) != R_UnboundValue))
  |  |  ------------------
  |  |  |  Branch (124:32): [True: 0, False: 304]
  |  |  |  Branch (124:56): [True: 304, False: 0]
  |  |  ------------------
  ------------------
 1211|       |
 1212|  10.5M|    if (rho == R_EmptyEnv)
  ------------------
  |  Branch (1212:9): [True: 0, False: 10.5M]
  ------------------
 1213|      0|	return FALSE;
 1214|       |
 1215|  10.5M|    if(IS_USER_DATABASE(rho)) {
  ------------------
  |  |  102|  10.5M|#define IS_USER_DATABASE(rho)  (OBJECT((rho)) && inherits((rho), "UserDefinedDatabase"))
  |  |  ------------------
  |  |  |  |  933|      0|#define inherits		Rf_inherits
  |  |  ------------------
  |  |  |  Branch (102:33): [True: 0, False: 10.5M]
  |  |  |  Branch (102:50): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1216|       |	/* Use the objects function pointer for this symbol. */
 1217|      0|	R_ObjectTable *table;
 1218|      0|	Rboolean val = FALSE;
 1219|      0|	table = (R_ObjectTable *) R_ExternalPtrAddr(HASHTAB(rho));
 1220|      0|	if(table->active) {
  ------------------
  |  Branch (1220:5): [True: 0, False: 0]
  ------------------
 1221|      0|	    if(table->exists(CHAR(PRINTNAME(symbol)), NULL, table))
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (1221:9): [True: 0, False: 0]
  ------------------
 1222|      0|		val = TRUE;
 1223|      0|	    else
 1224|      0|		val = FALSE;
 1225|      0|	}
 1226|      0|	return(val);
 1227|  10.5M|    } else if (HASHTAB(rho) == R_NilValue) {
  ------------------
  |  Branch (1227:16): [True: 10.5M, False: 5.48k]
  ------------------
 1228|  10.5M|	frame = FRAME(rho);
 1229|  67.8M|	while (frame != R_NilValue) {
  ------------------
  |  Branch (1229:9): [True: 57.2M, False: 10.5M]
  ------------------
 1230|  57.2M|	    if (TAG(frame) == symbol)
  ------------------
  |  Branch (1230:10): [True: 0, False: 57.2M]
  ------------------
 1231|      0|		return TRUE;
 1232|  57.2M|	    frame = CDR(frame);
 1233|  57.2M|	}
 1234|  10.5M|    }
 1235|  5.48k|    else {
 1236|  5.48k|	c = PRINTNAME(symbol);
 1237|  5.48k|	if( !HASHASH(c) ) {
  ------------------
  |  Branch (1237:6): [True: 0, False: 5.48k]
  ------------------
 1238|      0|	    SET_HASHVALUE(c, R_Newhashpjw(CHAR(c)));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 1239|      0|	    SET_HASHASH(c, 1);
 1240|      0|	}
 1241|  5.48k|	hashcode = HASHVALUE(c) % HASHSIZE(HASHTAB(rho));
  ------------------
  |  |  205|  5.48k|#define HASHSIZE(x)	     ((int) STDVEC_LENGTH(x))
  ------------------
 1242|  5.48k|	return R_HashExists(hashcode, symbol, HASHTAB(rho));
 1243|  5.48k|    }
 1244|  10.5M|    return FALSE;
 1245|  10.5M|}
R_findVarInFrame:
 1248|  92.2M|{
 1249|  92.2M|    return findVarInFrame3(rho, symbol, TRUE);
  ------------------
  |  |  920|  92.2M|#define findVarInFrame3		Rf_findVarInFrame3
  ------------------
 1250|  92.2M|}
Rf_findVarInFrame:
 1253|  1.90k|{
 1254|  1.90k|    return R_findVarInFrame(rho, symbol);
 1255|  1.90k|}
Rf_readS3VarsFromFrame:
 1271|    120|    SEXP *dotGenericCallEnv, SEXP *dotGenericDefEnv) {
 1272|       |
 1273|    120|    if (TYPEOF(rho) == NILSXP ||
  ------------------
  |  |  111|    240|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (1273:9): [True: 0, False: 120]
  ------------------
 1274|    120|	rho == R_BaseNamespace || rho == R_BaseEnv || rho == R_EmptyEnv ||
  ------------------
  |  Branch (1274:2): [True: 0, False: 120]
  |  Branch (1274:28): [True: 0, False: 120]
  |  Branch (1274:48): [True: 0, False: 120]
  ------------------
 1275|    120|	IS_USER_DATABASE(rho) || HASHTAB(rho) != R_NilValue) goto slowpath;
  ------------------
  |  |  102|    240|#define IS_USER_DATABASE(rho)  (OBJECT((rho)) && inherits((rho), "UserDefinedDatabase"))
  |  |  ------------------
  |  |  |  |  933|      0|#define inherits		Rf_inherits
  |  |  ------------------
  |  |  |  Branch (102:33): [True: 0, False: 120]
  |  |  |  Branch (102:50): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1275:27): [True: 0, False: 120]
  ------------------
 1276|       |
 1277|    120|    SEXP frame = FRAME(rho);
 1278|       |
 1279|       |    /*
 1280|       |    This code speculates there is a specific order of S3 meta-variables.  It
 1281|       |    holds in most (perhaps all non-fabricated) cases.  If at any time this
 1282|       |    ceased to hold, this code will fall back to the slowpath, which may be
 1283|       |    slow but still correct.
 1284|       |    */
 1285|       |
 1286|    120|    for(;TAG(frame) != R_dot_Generic; frame = CDR(frame))
  ------------------
  |  Branch (1286:10): [True: 0, False: 120]
  ------------------
 1287|      0|	if (frame == R_NilValue) goto slowpath;
  ------------------
  |  Branch (1287:6): [True: 0, False: 0]
  ------------------
 1288|    120|    *dotGeneric = BINDING_VALUE(frame);
 1289|    120|    frame = CDR(frame);
 1290|       |
 1291|    120|    if (TAG(frame) != R_dot_Class) goto slowpath;
  ------------------
  |  Branch (1291:9): [True: 0, False: 120]
  ------------------
 1292|    120|    *dotClass = BINDING_VALUE(frame);
 1293|    120|    frame = CDR(frame);
 1294|       |
 1295|    120|    if (TAG(frame) != R_dot_Method) goto slowpath;
  ------------------
  |  Branch (1295:9): [True: 0, False: 120]
  ------------------
 1296|    120|    *dotMethod = BINDING_VALUE(frame);
 1297|    120|    frame = CDR(frame);
 1298|       |
 1299|    120|    if (TAG(frame) != R_dot_Group) goto slowpath;
  ------------------
  |  Branch (1299:9): [True: 0, False: 120]
  ------------------
 1300|    120|    *dotGroup = BINDING_VALUE(frame);
 1301|    120|    frame = CDR(frame);
 1302|       |
 1303|    120|    if (TAG(frame) != R_dot_GenericCallEnv) goto slowpath;
  ------------------
  |  Branch (1303:9): [True: 0, False: 120]
  ------------------
 1304|    120|    *dotGenericCallEnv = BINDING_VALUE(frame);
 1305|    120|    frame = CDR(frame);
 1306|       |
 1307|    120|    if (TAG(frame) != R_dot_GenericDefEnv) goto slowpath;
  ------------------
  |  Branch (1307:9): [True: 0, False: 120]
  ------------------
 1308|    120|    *dotGenericDefEnv = BINDING_VALUE(frame);
 1309|       |
 1310|    120|    return;
 1311|       |
 1312|      0|slowpath:
 1313|       |    /* fall back to the slow but general implementation */
 1314|       |
 1315|      0|    *dotGeneric = R_findVarInFrame(rho, R_dot_Generic);
 1316|      0|    *dotClass = R_findVarInFrame(rho, R_dot_Class);
 1317|      0|    *dotMethod = R_findVarInFrame(rho, R_dot_Method);
 1318|      0|    *dotGroup = R_findVarInFrame(rho, R_dot_Group);
 1319|      0|    *dotGenericCallEnv = R_findVarInFrame(rho, R_dot_GenericCallEnv);
 1320|      0|    *dotGenericDefEnv = R_findVarInFrame(rho, R_dot_GenericDefEnv);
 1321|      0|}
R_findVar:
 1373|  7.43M|{
 1374|  7.43M|    SEXP vl;
 1375|       |
 1376|  7.43M|    if (TYPEOF(rho) == NILSXP)
  ------------------
  |  |  111|  7.43M|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (1376:9): [True: 0, False: 7.43M]
  ------------------
 1377|      0|	error(_("use of NULL environment is defunct"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("use of NULL environment is defunct"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1378|       |
 1379|  7.43M|    if (!isEnvironment(rho))
  ------------------
  |  |  944|  7.43M|#define isEnvironment		Rf_isEnvironment
  ------------------
  |  Branch (1379:9): [True: 0, False: 7.43M]
  ------------------
 1380|      0|	error(_("argument to '%s' is not an environment"), "findVar");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("argument to '%s' is not an environment"), "findVar");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1381|       |
 1382|  7.43M|#ifdef USE_GLOBAL_CACHE
 1383|       |    /* This first loop handles local frames, if there are any.  It
 1384|       |       will also handle all frames if rho is a global frame other than
 1385|       |       R_GlobalEnv */
 1386|  7.44M|    while (rho != R_GlobalEnv && rho != R_EmptyEnv) {
  ------------------
  |  Branch (1386:12): [True: 7.44M, False: 4]
  |  Branch (1386:34): [True: 7.44M, False: 0]
  ------------------
 1387|  7.44M|	vl = R_findVarInFrame(rho, symbol);
 1388|  7.44M|	if (vl != R_UnboundValue) return (vl);
  ------------------
  |  Branch (1388:6): [True: 7.43M, False: 4.85k]
  ------------------
 1389|  4.85k|	rho = ENCLOS(rho);
 1390|  4.85k|    }
 1391|      4|    if (rho == R_GlobalEnv)
  ------------------
  |  Branch (1391:9): [True: 4, False: 0]
  ------------------
 1392|      4|	return findGlobalVar(symbol);
 1393|      0|    else
 1394|      0|	return R_UnboundValue;
 1395|       |#else
 1396|       |    while (rho != R_EmptyEnv) {
 1397|       |	vl = R_findVarInFrame(rho, symbol);
 1398|       |	if (vl != R_UnboundValue) return (vl);
 1399|       |	rho = ENCLOS(rho);
 1400|       |    }
 1401|       |    return R_UnboundValue;
 1402|       |#endif
 1403|      4|}
Rf_findVar:
 1406|      4|{
 1407|      4|    return R_findVar(symbol, rho);
 1408|      4|}
R_findVarLoc:
 1444|  89.0k|{
 1445|  89.0k|    SEXP binding = findVarLoc(symbol, rho);
 1446|  89.0k|    R_varloc_t val;
 1447|  89.0k|    val.cell = binding == R_NilValue ? NULL : binding;
  ------------------
  |  Branch (1447:16): [True: 0, False: 89.0k]
  ------------------
 1448|  89.0k|    return val;
 1449|  89.0k|}
R_findDotsEnv:
 1582|  17.7k|{
 1583|  17.7k|    while (env != R_EmptyEnv) {
  ------------------
  |  Branch (1583:12): [True: 17.7k, False: 0]
  ------------------
 1584|  17.7k|	SEXP vl = R_findVarInFrame(env, R_DotsSymbol);
 1585|  17.7k|	if (vl != R_UnboundValue &&
  ------------------
  |  Branch (1585:6): [True: 17.7k, False: 0]
  ------------------
 1586|  17.7k|	    (vl == R_MissingArg || TYPEOF(vl) == DOTSXP))
  ------------------
  |  |  127|  17.3k|#define DOTSXP	    17	  /* dot-dot-dot object */
  ------------------
  |  Branch (1586:7): [True: 404, False: 17.3k]
  |  Branch (1586:29): [True: 17.3k, False: 0]
  ------------------
 1587|  17.7k|	    return env;
 1588|      0|	env = ENCLOS(env);
 1589|      0|    }
 1590|      0|    return R_EmptyEnv;
 1591|  17.7k|}
Rf_ddfindVar:
 1642|  1.70k|{
 1643|  1.70k|    int i = ddVal(symbol);
 1644|  1.70k|    return ddfind(i, rho);
 1645|  1.70k|}
R_DotsElt:
 1648|  8.62k|{
 1649|  8.62k|    SEXP val = ddfindInFrame(i, env);
 1650|  8.62k|    if (TYPEOF(val) == PROMSXP || val == R_MissingArg)
  ------------------
  |  |  116|  17.2k|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (1650:9): [True: 8.62k, False: 0]
  |  Branch (1650:35): [True: 0, False: 0]
  ------------------
 1651|  8.62k|	return eval(val, env);
  ------------------
  |  |  913|  8.62k|#define eval			Rf_eval
  ------------------
 1652|      0|    else
 1653|      0|	return val;
 1654|  8.62k|}
do_dotsElt:
 1657|  8.62k|{
 1658|  8.62k|    checkArity(op, args);
  ------------------
  |  | 1793|  8.62k|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1659|  8.62k|    check1arg(args, call, "n");
  ------------------
  |  | 1872|  8.62k|# define check1arg		Rf_check1arg
  ------------------
 1660|       |
 1661|  8.62k|    SEXP si = CAR(args);
 1662|  8.62k|    if (! isNumeric(si) || XLENGTH(si) != 1)
  ------------------
  |  |  957|  8.62k|#define isNumeric		Rf_isNumeric
  ------------------
  |  Branch (1662:9): [True: 0, False: 8.62k]
  |  Branch (1662:28): [True: 0, False: 8.62k]
  ------------------
 1663|      0|	errorcall(call, _("indexing '...' with an invalid index"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("indexing '...' with an invalid index"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1664|  8.62k|    int i = asInteger(si);
  ------------------
  |  |  885|  8.62k|#define asInteger		Rf_asInteger
  ------------------
 1665|  8.62k|    return R_DotsElt(i, R_findDotsEnv(env));
 1666|  8.62k|}
R_DotsLength:
 1669|  7.36k|{
 1670|  7.36k|    SEXP vl = R_findVarInFrame(env, R_DotsSymbol);
 1671|  7.36k|    if (vl == R_UnboundValue)
  ------------------
  |  Branch (1671:9): [True: 0, False: 7.36k]
  ------------------
 1672|      0|	error(_("incorrect context: the current call has no '...' to look in"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("incorrect context: the current call has no '...' to look in"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1673|  7.36k|    return length_DOTS(vl);
  ------------------
  |  | 1578|  7.36k|#define length_DOTS(_v_) (TYPEOF(_v_) == DOTSXP ? length(_v_) : 0)
  |  |  ------------------
  |  |  |  |  127|  7.36k|#define DOTSXP	    17	  /* dot-dot-dot object */
  |  |  ------------------
  |  |               #define length_DOTS(_v_) (TYPEOF(_v_) == DOTSXP ? length(_v_) : 0)
  |  |  ------------------
  |  |  |  |  987|  6.96k|#define length(x)		Rf_length(x)
  |  |  ------------------
  |  |  |  Branch (1578:27): [True: 6.96k, False: 394]
  |  |  ------------------
  ------------------
 1674|  7.36k|}
do_dotsLength:
 1677|  7.36k|{
 1678|  7.36k|    checkArity(op, args);
  ------------------
  |  | 1793|  7.36k|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1679|  7.36k|    return ScalarInteger(R_DotsLength(R_findDotsEnv(env)));
  ------------------
  |  | 1022|  7.36k|#define ScalarInteger		Rf_ScalarInteger
  ------------------
 1680|  7.36k|}
R_DotsNames:
 1683|     40|{
 1684|     40|    SEXP vl = R_findVarInFrame(env, R_DotsSymbol);
 1685|     40|    PROTECT(vl);
  ------------------
  |  |  357|     40|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1686|     40|    if (vl == R_UnboundValue)
  ------------------
  |  Branch (1686:9): [True: 0, False: 40]
  ------------------
 1687|      0|	error(_("incorrect context: the current call has no '...' to look in"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("incorrect context: the current call has no '...' to look in"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1688|     40|    SEXP out = R_NilValue;
 1689|     40|    int n = length_DOTS(vl);
  ------------------
  |  | 1578|     40|#define length_DOTS(_v_) (TYPEOF(_v_) == DOTSXP ? length(_v_) : 0)
  |  |  ------------------
  |  |  |  |  127|     40|#define DOTSXP	    17	  /* dot-dot-dot object */
  |  |  ------------------
  |  |               #define length_DOTS(_v_) (TYPEOF(_v_) == DOTSXP ? length(_v_) : 0)
  |  |  ------------------
  |  |  |  |  987|     30|#define length(x)		Rf_length(x)
  |  |  ------------------
  |  |  |  Branch (1578:27): [True: 30, False: 10]
  |  |  ------------------
  ------------------
 1690|     70|    for(int i = 0; i < n; i++) {
  ------------------
  |  Branch (1690:20): [True: 30, False: 40]
  ------------------
 1691|     30|	if(TAG(vl) != R_NilValue) {
  ------------------
  |  Branch (1691:5): [True: 30, False: 0]
  ------------------
 1692|     30|	    if(out == R_NilValue) {
  ------------------
  |  Branch (1692:9): [True: 30, False: 0]
  ------------------
 1693|       |		// this fills 'out' with ""
 1694|     30|		PROTECT(out = allocVector(STRSXP, n));
  ------------------
  |  |  357|     30|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1695|     30|	    }
 1696|     30|	    SET_STRING_ELT(out, i, PRINTNAME(TAG(vl)));
 1697|     30|	}
 1698|     30|        vl = CDR(vl);
 1699|     30|    }
 1700|     40|    if(out != R_NilValue)
  ------------------
  |  Branch (1700:8): [True: 30, False: 10]
  ------------------
 1701|     30|        UNPROTECT(1); // out
  ------------------
  |  |  358|     30|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1702|     40|    UNPROTECT(1); // vl
  ------------------
  |  |  358|     40|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1703|     40|    return out;
 1704|     40|}
do_dotsNames:
 1707|     40|{
 1708|     40|    checkArity(op, args);
  ------------------
  |  | 1793|     40|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1709|     40|    return R_DotsNames(R_findDotsEnv(env));
 1710|     40|}
Rf_findFun3:
 1882|  19.1M|{
 1883|  19.1M|    SEXP vl;
 1884|       |
 1885|       |    /* If the symbol is marked as special, skip to the first
 1886|       |       environment that might contain such a symbol. */
 1887|  19.1M|    if (IS_SPECIAL_SYMBOL(symbol)) {
  ------------------
  |  Branch (1887:9): [True: 2.12M, False: 16.9M]
  ------------------
 1888|  4.24M|	while (rho != R_EmptyEnv && NO_SPECIAL_SYMBOLS(rho))
  ------------------
  |  Branch (1888:9): [True: 4.24M, False: 0]
  |  Branch (1888:30): [True: 2.12M, False: 2.12M]
  ------------------
 1889|  2.12M|	    rho = ENCLOS(rho);
 1890|  2.12M|    }
 1891|       |
 1892|  37.2M|    while (rho != R_EmptyEnv) {
  ------------------
  |  Branch (1892:12): [True: 37.2M, False: 0]
  ------------------
 1893|       |	/* This is not really right.  Any variable can mask a function */
 1894|  37.2M|#ifdef USE_GLOBAL_CACHE
 1895|  37.2M|	if (rho == R_GlobalEnv)
  ------------------
  |  Branch (1895:6): [True: 31.2k, False: 37.1M]
  ------------------
 1896|  31.2k|#ifdef FAST_BASE_CACHE_LOOKUP
 1897|  31.2k|	    if (BASE_SYM_CACHED(symbol))
  ------------------
  |  Branch (1897:10): [True: 22.6k, False: 8.56k]
  ------------------
 1898|  22.6k|		vl = SYMBOL_BINDING_VALUE(symbol);
  ------------------
  |  |  123|  22.6k|#define SYMBOL_BINDING_VALUE(s) ((IS_ACTIVE_BINDING(s) ? getActiveValue(SYMVALUE(s)) : SYMVALUE(s)))
  |  |  ------------------
  |  |  |  Branch (123:35): [True: 0, False: 22.6k]
  |  |  ------------------
  ------------------
 1899|  8.56k|	    else
 1900|  8.56k|		vl = findGlobalVar(symbol);
 1901|       |#else
 1902|       |	    vl = findGlobalVar(symbol);
 1903|       |#endif
 1904|  37.1M|	else
 1905|  37.1M|	    vl = R_findVarInFrame(rho, symbol);
 1906|       |#else
 1907|       |	vl = R_findVarInFrame(rho, symbol);
 1908|       |#endif
 1909|  37.2M|	if (vl != R_UnboundValue) {
  ------------------
  |  Branch (1909:6): [True: 19.1M, False: 18.1M]
  ------------------
 1910|  19.1M|	    if (TYPEOF(vl) == PROMSXP) {
  ------------------
  |  |  116|  19.1M|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (1910:10): [True: 6.43M, False: 12.6M]
  ------------------
 1911|  6.43M|		if (PROMISE_IS_EVALUATED(vl))
  ------------------
  |  Branch (1911:7): [True: 6.43M, False: 508]
  ------------------
 1912|  6.43M|		    vl = PRVALUE(vl);
 1913|    508|		else {
 1914|    508|		    PROTECT(vl);
  ------------------
  |  |  357|    508|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1915|    508|		    vl = eval(vl, rho);
  ------------------
  |  |  913|    508|#define eval			Rf_eval
  ------------------
 1916|    508|		    UNPROTECT(1);
  ------------------
  |  |  358|    508|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1917|    508|		}
 1918|  6.43M|	    }
 1919|  19.1M|	    if (TYPEOF(vl) == CLOSXP || TYPEOF(vl) == BUILTINSXP ||
  ------------------
  |  |  114|  38.2M|#define CLOSXP	     3	  /* closures */
  ------------------
              	    if (TYPEOF(vl) == CLOSXP || TYPEOF(vl) == BUILTINSXP ||
  ------------------
  |  |  119|  27.5M|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (1919:10): [True: 10.6M, False: 8.45M]
  |  Branch (1919:34): [True: 6.33M, False: 2.12M]
  ------------------
 1920|  2.12M|		TYPEOF(vl) == SPECIALSXP)
  ------------------
  |  |  118|  2.12M|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (1920:3): [True: 2.12M, False: 118]
  ------------------
 1921|  19.1M|		return (vl);
 1922|    118|	    if (vl == R_MissingArg)
  ------------------
  |  Branch (1922:10): [True: 0, False: 118]
  ------------------
 1923|      0|	        R_MissingArgError(symbol, call, "getMissingError");
 1924|       |
 1925|    118|	}
 1926|  18.1M|	rho = ENCLOS(rho);
 1927|  18.1M|    }
 1928|      0|    R_FunctionNotFoundError(symbol, call);
 1929|       |    /* NOT REACHED */
 1930|      0|    return R_UnboundValue;
 1931|  19.1M|}
Rf_findFun:
 1934|  15.9M|{
 1935|  15.9M|    return findFun3(symbol, rho, R_CurrentExpression);
  ------------------
  |  |  916|  15.9M|#define findFun3		Rf_findFun3
  ------------------
 1936|  15.9M|}
Rf_defineVar:
 1947|  26.4M|{
 1948|  26.4M|    int hashcode;
 1949|  26.4M|    SEXP frame, c;
 1950|       |
 1951|  26.4M|    if (value == R_UnboundValue)
  ------------------
  |  Branch (1951:9): [True: 0, False: 26.4M]
  ------------------
 1952|      0|	error("attempt to bind a variable to R_UnboundValue");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 1953|       |    /* R_DirtyImage should only be set if assigning to R_GlobalEnv. */
 1954|  26.4M|    if (rho == R_GlobalEnv) R_DirtyImage = 1;
  ------------------
  |  Branch (1954:9): [True: 2, False: 26.4M]
  ------------------
 1955|       |
 1956|  26.4M|    if (rho == R_EmptyEnv)
  ------------------
  |  Branch (1956:9): [True: 0, False: 26.4M]
  ------------------
 1957|      0|	error(_("cannot assign values in the empty environment"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("cannot assign values in the empty environment"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1958|       |
 1959|  26.4M|    if(IS_USER_DATABASE(rho)) {
  ------------------
  |  |  102|  26.4M|#define IS_USER_DATABASE(rho)  (OBJECT((rho)) && inherits((rho), "UserDefinedDatabase"))
  |  |  ------------------
  |  |  |  |  933|      0|#define inherits		Rf_inherits
  |  |  ------------------
  |  |  |  Branch (102:33): [True: 0, False: 26.4M]
  |  |  |  Branch (102:50): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1960|      0|	R_ObjectTable *table;
 1961|      0|	table = (R_ObjectTable *) R_ExternalPtrAddr(HASHTAB(rho));
 1962|      0|	if(table->assign == NULL)
  ------------------
  |  Branch (1962:5): [True: 0, False: 0]
  ------------------
 1963|      0|	    error(_("cannot assign variables to this database"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("cannot assign variables to this database"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1964|      0|	PROTECT(value);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1965|      0|	table->assign(CHAR(PRINTNAME(symbol)), value, table);
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 1966|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1967|      0|#ifdef USE_GLOBAL_CACHE
 1968|      0|	if (IS_GLOBAL_FRAME(rho)) R_FlushGlobalCache(symbol);
  ------------------
  |  |  653|      0|#define IS_GLOBAL_FRAME(e) (ENVFLAGS(e) & GLOBAL_FRAME_MASK)
  |  |  ------------------
  |  |  |  |  652|      0|#define GLOBAL_FRAME_MASK (1<<15)
  |  |  ------------------
  |  |  |  Branch (653:28): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1969|      0|#endif
 1970|      0|	return;
 1971|      0|    }
 1972|       |
 1973|  26.4M|    if (rho == R_BaseNamespace || rho == R_BaseEnv) {
  ------------------
  |  Branch (1973:9): [True: 58, False: 26.4M]
  |  Branch (1973:35): [True: 2.37k, False: 26.4M]
  ------------------
 1974|  2.43k|	gsetVar(symbol, value, rho);
  ------------------
  |  |  932|  2.43k|#define gsetVar			Rf_gsetVar
  ------------------
 1975|  26.4M|    } else {
 1976|  26.4M|#ifdef USE_GLOBAL_CACHE
 1977|  26.4M|	if (IS_GLOBAL_FRAME(rho)) R_FlushGlobalCache(symbol);
  ------------------
  |  |  653|  26.4M|#define IS_GLOBAL_FRAME(e) (ENVFLAGS(e) & GLOBAL_FRAME_MASK)
  |  |  ------------------
  |  |  |  |  652|  26.4M|#define GLOBAL_FRAME_MASK (1<<15)
  |  |  ------------------
  |  |  |  Branch (653:28): [True: 2.80k, False: 26.4M]
  |  |  ------------------
  ------------------
 1978|  26.4M|#endif
 1979|       |
 1980|  26.4M|	if (IS_SPECIAL_SYMBOL(symbol))
  ------------------
  |  Branch (1980:6): [True: 102, False: 26.4M]
  ------------------
 1981|    102|	    UNSET_NO_SPECIAL_SYMBOLS(rho);
 1982|       |
 1983|  26.4M|	if (HASHTAB(rho) == R_NilValue) {
  ------------------
  |  Branch (1983:6): [True: 26.4M, False: 20.0k]
  ------------------
 1984|       |	    /* First check for an existing binding */
 1985|  26.4M|	    frame = FRAME(rho);
 1986|   124M|	    while (frame != R_NilValue) {
  ------------------
  |  Branch (1986:13): [True: 99.5M, False: 25.3M]
  ------------------
 1987|  99.5M|		if (TAG(frame) == symbol) {
  ------------------
  |  Branch (1987:7): [True: 1.07M, False: 98.4M]
  ------------------
 1988|  1.07M|		    SET_BINDING_VALUE(frame, value);
  ------------------
  |  |  126|  1.07M|#define SET_BINDING_VALUE(b,val) do { \
  |  |  127|  1.07M|  SEXP __b__ = (b); \
  |  |  128|  1.07M|  SEXP __val__ = (val); \
  |  |  129|  1.07M|  if (BINDING_IS_LOCKED(__b__)) \
  |  |  ------------------
  |  |  |  Branch (129:7): [True: 0, False: 1.07M]
  |  |  ------------------
  |  |  130|  1.07M|    error(_("cannot change value of locked binding for '%s'"), \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |                   error(_("cannot change value of locked binding for '%s'"), \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  |  131|      0|	  CHAR(PRINTNAME(TAG(__b__)))); \
  |  |  ------------------
  |  |  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  |  |  ------------------
  |  |  132|  1.07M|  if (IS_ACTIVE_BINDING(__b__)) { \
  |  |  ------------------
  |  |  |  Branch (132:7): [True: 0, False: 1.07M]
  |  |  ------------------
  |  |  133|      0|    PROTECT(__val__); \
  |  |  ------------------
  |  |  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  |  134|      0|    setActiveValue(CAR(__b__), __val__); \
  |  |  135|      0|    UNPROTECT(1); \
  |  |  ------------------
  |  |  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  |  |  ------------------
  |  |  136|      0|   } else \
  |  |  137|  1.07M|    SET_BNDCELL(__b__, __val__); \
  |  |  138|  1.07M|} while (0)
  |  |  ------------------
  |  |  |  Branch (138:10): [Folded, False: 1.07M]
  |  |  ------------------
  ------------------
 1989|  1.07M|		    SET_MISSING(frame, 0);	/* Over-ride */
 1990|  1.07M|		    return;
 1991|  1.07M|		}
 1992|  98.4M|		frame = CDR(frame);
 1993|  98.4M|	    }
 1994|  25.3M|	    if (FRAME_IS_LOCKED(rho))
  ------------------
  |  |  107|  25.3M|#define FRAME_IS_LOCKED(e) (ENVFLAGS(e) & FRAME_LOCK_MASK)
  |  |  ------------------
  |  |  |  |  106|  25.3M|#define FRAME_LOCK_MASK (1<<14)
  |  |  ------------------
  |  |  |  Branch (107:28): [True: 0, False: 25.3M]
  |  |  ------------------
  ------------------
 1995|      0|		error(_("cannot add bindings to a locked environment"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("cannot add bindings to a locked environment"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1996|  25.3M|	    SET_FRAME(rho, CONS(value, FRAME(rho)));
  ------------------
  |  |  309|  25.3M|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
 1997|  25.3M|	    SET_TAG(FRAME(rho), symbol);
 1998|  25.3M|	}
 1999|  20.0k|	else {
 2000|  20.0k|	    c = PRINTNAME(symbol);
 2001|  20.0k|	    if( !HASHASH(c) ) {
  ------------------
  |  Branch (2001:10): [True: 0, False: 20.0k]
  ------------------
 2002|      0|		SET_HASHVALUE(c, R_Newhashpjw(CHAR(c)));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 2003|      0|		SET_HASHASH(c, 1);
 2004|      0|	    }
 2005|  20.0k|	    hashcode = HASHVALUE(c) % HASHSIZE(HASHTAB(rho));
  ------------------
  |  |  205|  20.0k|#define HASHSIZE(x)	     ((int) STDVEC_LENGTH(x))
  ------------------
 2006|  20.0k|	    R_HashSet(hashcode, symbol, HASHTAB(rho), value,
 2007|  20.0k|		      (Rboolean) FRAME_IS_LOCKED(rho));
  ------------------
  |  |  107|  20.0k|#define FRAME_IS_LOCKED(e) (ENVFLAGS(e) & FRAME_LOCK_MASK)
  |  |  ------------------
  |  |  |  |  106|  20.0k|#define FRAME_LOCK_MASK (1<<14)
  |  |  ------------------
  ------------------
 2008|  20.0k|	    if (R_HashSizeCheck(HASHTAB(rho)))
  ------------------
  |  Branch (2008:10): [True: 590, False: 19.4k]
  ------------------
 2009|    590|		SET_HASHTAB(rho, R_HashResize(HASHTAB(rho)));
 2010|  20.0k|	}
 2011|  26.4M|    }
 2012|  26.4M|}
Rf_addMissingVarsToNewEnv:
 2030|  10.8k|{
 2031|  10.8k|    if (addVars == R_NilValue) return;
  ------------------
  |  Branch (2031:9): [True: 0, False: 10.8k]
  ------------------
 2032|       |
 2033|       |    /* temporary sanity check */
 2034|  10.8k|    if (TYPEOF(addVars) == ENVSXP)
  ------------------
  |  |  115|  10.8k|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (2034:9): [True: 0, False: 10.8k]
  ------------------
 2035|      0|	error("additional variables should now be passed as a list, "
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 2036|      0|	      "not in an environment");
 2037|       |
 2038|       |    /* append variables from env after addVars */
 2039|  10.8k|    SEXP aprev = addVars;
 2040|  10.8k|    SEXP a = CDR(addVars);
 2041|  64.8k|    while (a != R_NilValue) {
  ------------------
  |  Branch (2041:12): [True: 54.0k, False: 10.8k]
  ------------------
 2042|  54.0k|	aprev = a;
 2043|  54.0k|	a = CDR(a);
 2044|  54.0k|    }
 2045|  10.8k|    SETCDR(aprev, FRAME(env));
 2046|  10.8k|    SET_FRAME(env, addVars);
 2047|       |
 2048|       |    /* remove duplicates - a variable listed later has precedence over a
 2049|       |       variable listed sooner */
 2050|  10.8k|    SEXP end;
 2051|  93.4k|    for(end = CDR(addVars); end != R_NilValue; end = CDR(end)) {
  ------------------
  |  Branch (2051:29): [True: 82.5k, False: 10.8k]
  ------------------
 2052|  82.5k|	SEXP endTag = TAG(end);
 2053|  82.5k|	SEXP sprev = R_NilValue;
 2054|  82.5k|	SEXP s;
 2055|   466k|	for(s = addVars; s != end; s = CDR(s)) {
  ------------------
  |  Branch (2055:19): [True: 383k, False: 82.5k]
  ------------------
 2056|   383k|	    if (TAG(s) == endTag) {
  ------------------
  |  Branch (2056:10): [True: 0, False: 383k]
  ------------------
 2057|       |		/* remove variable s from the list, because it is overridden by "end" */
 2058|      0|		if (sprev == R_NilValue) {
  ------------------
  |  Branch (2058:7): [True: 0, False: 0]
  ------------------
 2059|      0|		    addVars = CDR(s);
 2060|      0|		    SET_FRAME(env, addVars);
 2061|      0|		} else
 2062|      0|		    SETCDR(sprev, CDR(s));
 2063|      0|	    } else
 2064|   383k|		sprev = s;
 2065|   383k|	}
 2066|  82.5k|    }
 2067|  10.8k|}
Rf_setVar:
 2152|  1.53k|{
 2153|  1.53k|    SEXP vl;
 2154|  2.90k|    while (rho != R_EmptyEnv) {
  ------------------
  |  Branch (2154:12): [True: 2.90k, False: 0]
  ------------------
 2155|  2.90k|	vl = setVarInFrame(rho, symbol, value);
 2156|  2.90k|	if (vl != R_NilValue) return;
  ------------------
  |  Branch (2156:6): [True: 1.53k, False: 1.36k]
  ------------------
 2157|  1.36k|	rho = ENCLOS(rho);
 2158|  1.36k|    }
 2159|      0|    defineVar(symbol, value, R_GlobalEnv);
  ------------------
  |  |  905|      0|#define defineVar		Rf_defineVar
  ------------------
 2160|      0|}
Rf_gsetVar:
 2174|  2.44k|{
 2175|  2.44k|    if (FRAME_IS_LOCKED(rho)) {
  ------------------
  |  |  107|  2.44k|#define FRAME_IS_LOCKED(e) (ENVFLAGS(e) & FRAME_LOCK_MASK)
  |  |  ------------------
  |  |  |  |  106|  2.44k|#define FRAME_LOCK_MASK (1<<14)
  |  |  ------------------
  |  |  |  Branch (107:28): [True: 0, False: 2.44k]
  |  |  ------------------
  ------------------
 2176|      0|	if(SYMVALUE(symbol) == R_UnboundValue)
  ------------------
  |  Branch (2176:5): [True: 0, False: 0]
  ------------------
 2177|      0|	    error(_("cannot add binding of '%s' to the base environment"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("cannot add binding of '%s' to the base environment"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2178|      0|		  CHAR(PRINTNAME(symbol)));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 2179|      0|    }
 2180|  2.44k|#ifdef USE_GLOBAL_CACHE
 2181|  2.44k|    R_FlushGlobalCache(symbol);
 2182|  2.44k|#endif
 2183|       |    SET_SYMBOL_BINDING_VALUE(symbol, value);
  ------------------
  |  |  140|  2.44k|#define SET_SYMBOL_BINDING_VALUE(sym, val) do { \
  |  |  141|  2.44k|  SEXP __sym__ = (sym); \
  |  |  142|  2.44k|  SEXP __val__ = (val); \
  |  |  143|  2.44k|  if (BINDING_IS_LOCKED(__sym__)) \
  |  |  ------------------
  |  |  |  Branch (143:7): [True: 0, False: 2.44k]
  |  |  ------------------
  |  |  144|  2.44k|    error(_("cannot change value of locked binding for '%s'"), \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |                   error(_("cannot change value of locked binding for '%s'"), \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  |  145|      0|	  CHAR(PRINTNAME(__sym__))); \
  |  |  ------------------
  |  |  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  |  |  ------------------
  |  |  146|  2.44k|  if (IS_ACTIVE_BINDING(__sym__)) { \
  |  |  ------------------
  |  |  |  Branch (146:7): [True: 6, False: 2.43k]
  |  |  ------------------
  |  |  147|      6|    PROTECT(__val__); \
  |  |  ------------------
  |  |  |  |  357|      6|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  |  148|      6|    setActiveValue(SYMVALUE(__sym__), __val__); \
  |  |  149|      6|    UNPROTECT(1); \
  |  |  ------------------
  |  |  |  |  358|      6|#define UNPROTECT(n)	Rf_unprotect(n)
  |  |  ------------------
  |  |  150|      6|  } else \
  |  |  151|  2.44k|    SET_SYMVALUE(__sym__, __val__); \
  |  |  152|  2.44k|} while (0)
  |  |  ------------------
  |  |  |  Branch (152:10): [Folded, False: 2.44k]
  |  |  ------------------
  ------------------
 2184|  2.44k|}
do_assign:
 2197|    104|{
 2198|    104|    SEXP name=R_NilValue, val, aenv;
 2199|    104|    int ginherits = 0;
 2200|    104|    checkArity(op, args);
  ------------------
  |  | 1793|    104|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 2201|       |
 2202|    104|    if (!isString(CAR(args)) || length(CAR(args)) == 0)
  ------------------
  |  |  966|    104|#define isString		Rf_isString
  ------------------
                  if (!isString(CAR(args)) || length(CAR(args)) == 0)
  ------------------
  |  |  987|    104|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (2202:9): [True: 0, False: 104]
  |  Branch (2202:33): [True: 0, False: 104]
  ------------------
 2203|      0|	error(_("invalid first argument"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid first argument"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2204|    104|    else {
 2205|    104|	if (length(CAR(args)) > 1)
  ------------------
  |  |  987|    104|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (2205:6): [True: 0, False: 104]
  ------------------
 2206|      0|	    warning(_("only the first element is used as variable name"));
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	    warning(_("only the first element is used as variable name"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2207|    104|	name = installTrChar(STRING_ELT(CAR(args), 0));
  ------------------
  |  |  937|    104|#define installTrChar		Rf_installTrChar
  ------------------
 2208|    104|    }
 2209|    104|    PROTECT(val = CADR(args));
  ------------------
  |  |  357|    104|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2210|    104|    aenv = CADDR(args);
 2211|    104|    if (TYPEOF(aenv) == NILSXP)
  ------------------
  |  |  111|    104|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (2211:9): [True: 0, False: 104]
  ------------------
 2212|      0|	error(_("use of NULL environment is defunct"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("use of NULL environment is defunct"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2213|    104|    if (TYPEOF(aenv) != ENVSXP &&
  ------------------
  |  |  115|    208|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (2213:9): [True: 0, False: 104]
  ------------------
 2214|      0|	TYPEOF((aenv = simple_as_environment(aenv))) != ENVSXP)
  ------------------
  |  | 2187|      0|#define simple_as_environment(arg) (IS_S4_OBJECT(arg) && (TYPEOF(arg) == OBJSXP) ? R_getS4DataSlot(arg, ENVSXP) : R_NilValue)
  |  |  ------------------
  |  |  |  |  137|      0|#define OBJSXP      25    /* object, non-vector  */
  |  |  ------------------
  |  |               #define simple_as_environment(arg) (IS_S4_OBJECT(arg) && (TYPEOF(arg) == OBJSXP) ? R_getS4DataSlot(arg, ENVSXP) : R_NilValue)
  |  |  ------------------
  |  |  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  |  |  ------------------
  |  |  |  Branch (2187:37): [True: 0, False: 0]
  |  |  |  Branch (2187:58): [True: 0, False: 0]
  |  |  ------------------
  ------------------
              	TYPEOF((aenv = simple_as_environment(aenv))) != ENVSXP)
  ------------------
  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (2214:2): [True: 0, False: 0]
  ------------------
 2215|      0|	error(_("invalid '%s' argument"), "envir");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "envir");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2216|    104|    ginherits = asLogical(CADDDR(args));
  ------------------
  |  |  886|    104|#define asLogical		Rf_asLogical
  ------------------
 2217|    104|    if (ginherits == NA_LOGICAL)
  ------------------
  |  |   55|    104|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (2217:9): [True: 0, False: 104]
  ------------------
 2218|      0|	error(_("invalid '%s' argument"), "inherits");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "inherits");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2219|    104|    if (ginherits)
  ------------------
  |  Branch (2219:9): [True: 0, False: 104]
  ------------------
 2220|      0|	setVar(name, val, aenv);
  ------------------
  |  | 1029|      0|#define setVar			Rf_setVar
  ------------------
 2221|    104|    else
 2222|    104|	defineVar(name, val, aenv);
  ------------------
  |  |  905|    104|#define defineVar		Rf_defineVar
  ------------------
 2223|    104|    UNPROTECT(1);
  ------------------
  |  |  358|    104|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2224|    104|    return val;
 2225|    104|}
do_list2env:
 2232|    612|{
 2233|    612|    SEXP x, xnms, envir;
 2234|    612|    int n;
 2235|    612|    checkArity(op, args);
  ------------------
  |  | 1793|    612|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 2236|       |
 2237|    612|    if (TYPEOF(CAR(args)) != VECSXP)
  ------------------
  |  |  131|    612|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (2237:9): [True: 0, False: 612]
  ------------------
 2238|      0|	error(_("first argument must be a named list"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("first argument must be a named list"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2239|    612|    x = CAR(args);
 2240|    612|    n = LENGTH(x);
 2241|    612|    xnms = getAttrib(x, R_NamesSymbol);
  ------------------
  |  |  924|    612|#define getAttrib		Rf_getAttrib
  ------------------
 2242|    612|    PROTECT(xnms);
  ------------------
  |  |  357|    612|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2243|    612|    if (n && (TYPEOF(xnms) != STRSXP || LENGTH(xnms) != n))
  ------------------
  |  |  126|  1.11k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (2243:9): [True: 556, False: 56]
  |  Branch (2243:15): [True: 0, False: 556]
  |  Branch (2243:41): [True: 0, False: 556]
  ------------------
 2244|      0|	error(_("names(x) must be a character vector of the same length as x"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("names(x) must be a character vector of the same length as x"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2245|    612|    envir = CADR(args);
 2246|    612|    if (TYPEOF(envir) != ENVSXP)
  ------------------
  |  |  115|    612|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (2246:9): [True: 0, False: 612]
  ------------------
 2247|      0|	error(_("'envir' argument must be an environment"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'envir' argument must be an environment"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2248|       |
 2249|  7.43k|    for(int i = 0; i < n; i++) {
  ------------------
  |  Branch (2249:20): [True: 6.82k, False: 612]
  ------------------
 2250|  6.82k|	SEXP name = installTrChar(STRING_ELT(xnms, i));
  ------------------
  |  |  937|  6.82k|#define installTrChar		Rf_installTrChar
  ------------------
 2251|  6.82k|	defineVar(name, lazy_duplicate(VECTOR_ELT(x, i)), envir);
  ------------------
  |  |  905|  6.82k|#define defineVar		Rf_defineVar
  ------------------
              	defineVar(name, lazy_duplicate(VECTOR_ELT(x, i)), envir);
  ------------------
  |  |  985|  6.82k|#define lazy_duplicate		Rf_lazy_duplicate
  ------------------
 2252|  6.82k|    }
 2253|    612|    UNPROTECT(1); /* xnms */
  ------------------
  |  |  358|    612|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2254|       |
 2255|    612|    return envir;
 2256|    612|}
do_remove:
 2314|    966|{
 2315|       |    /* .Internal(remove(list, envir, inherits)) */
 2316|       |
 2317|    966|    checkArity(op, args);
  ------------------
  |  | 1793|    966|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 2318|       |
 2319|    966|    SEXP name = CAR(args);
 2320|    966|    if(TYPEOF(name) == NILSXP) return R_NilValue;
  ------------------
  |  |  111|    966|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (2320:8): [True: 0, False: 966]
  ------------------
 2321|    966|    if (!isString(name))
  ------------------
  |  |  966|    966|#define isString		Rf_isString
  ------------------
  |  Branch (2321:9): [True: 0, False: 966]
  ------------------
 2322|      0|	error(_("invalid first argument"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid first argument"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2323|    966|    args = CDR(args);
 2324|       |
 2325|    966|    SEXP envarg = CAR(args);
 2326|    966|    if (TYPEOF(envarg) == NILSXP)
  ------------------
  |  |  111|    966|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (2326:9): [True: 0, False: 966]
  ------------------
 2327|      0|	error(_("use of NULL environment is defunct"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("use of NULL environment is defunct"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2328|    966|    if (TYPEOF(envarg) != ENVSXP &&
  ------------------
  |  |  115|  1.93k|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (2328:9): [True: 0, False: 966]
  ------------------
 2329|      0|	TYPEOF((envarg = simple_as_environment(envarg))) != ENVSXP)
  ------------------
  |  | 2187|      0|#define simple_as_environment(arg) (IS_S4_OBJECT(arg) && (TYPEOF(arg) == OBJSXP) ? R_getS4DataSlot(arg, ENVSXP) : R_NilValue)
  |  |  ------------------
  |  |  |  |  137|      0|#define OBJSXP      25    /* object, non-vector  */
  |  |  ------------------
  |  |               #define simple_as_environment(arg) (IS_S4_OBJECT(arg) && (TYPEOF(arg) == OBJSXP) ? R_getS4DataSlot(arg, ENVSXP) : R_NilValue)
  |  |  ------------------
  |  |  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  |  |  ------------------
  |  |  |  Branch (2187:37): [True: 0, False: 0]
  |  |  |  Branch (2187:58): [True: 0, False: 0]
  |  |  ------------------
  ------------------
              	TYPEOF((envarg = simple_as_environment(envarg))) != ENVSXP)
  ------------------
  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (2329:2): [True: 0, False: 0]
  ------------------
 2330|      0|	error(_("invalid '%s' argument"), "envir");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "envir");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2331|    966|    args = CDR(args);
 2332|       |
 2333|    966|    int ginherits = asLogical(CAR(args));
  ------------------
  |  |  886|    966|#define asLogical		Rf_asLogical
  ------------------
 2334|    966|    if (ginherits == NA_LOGICAL)
  ------------------
  |  |   55|    966|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (2334:9): [True: 0, False: 966]
  ------------------
 2335|      0|	error(_("invalid '%s' argument"), "inherits");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "inherits");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2336|       |
 2337|  4.83k|    for (int i = 0, done = 0; i < LENGTH(name); i++) {
  ------------------
  |  Branch (2337:31): [True: 3.86k, False: 966]
  ------------------
 2338|  3.86k|	SEXP tsym = installTrChar(STRING_ELT(name, i));
  ------------------
  |  |  937|  3.86k|#define installTrChar		Rf_installTrChar
  ------------------
 2339|  3.86k|	int hashcode;
 2340|  3.86k|	if( !HASHASH(PRINTNAME(tsym)) )
  ------------------
  |  Branch (2340:6): [True: 0, False: 3.86k]
  ------------------
 2341|      0|	    hashcode = R_Newhashpjw(CHAR(PRINTNAME(tsym)));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 2342|  3.86k|	else
 2343|  3.86k|	    hashcode = HASHVALUE(PRINTNAME(tsym));
 2344|  3.86k|	SEXP tenv = envarg;
 2345|  3.86k|	while (tenv != R_EmptyEnv) {
  ------------------
  |  Branch (2345:9): [True: 3.86k, False: 0]
  ------------------
 2346|  3.86k|	    done = RemoveVariable(tsym, hashcode, tenv);
 2347|  3.86k|	    if (done || !ginherits)
  ------------------
  |  Branch (2347:10): [True: 3.86k, False: 0]
  |  Branch (2347:18): [True: 0, False: 0]
  ------------------
 2348|  3.86k|		break;
 2349|      0|	    tenv = CDR(tenv);
 2350|      0|	}
 2351|  3.86k|	if (!done)
  ------------------
  |  Branch (2351:6): [True: 0, False: 3.86k]
  ------------------
 2352|      0|	    warning(_("object '%s' not found"), EncodeChar(PRINTNAME(tsym)));
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	    warning(_("object '%s' not found"), EncodeChar(PRINTNAME(tsym)));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
              	    warning(_("object '%s' not found"), EncodeChar(PRINTNAME(tsym)));
  ------------------
  |  | 1895|      0|# define EncodeChar             Rf_EncodeChar
  ------------------
 2353|  3.86k|    }
 2354|    966|    return R_NilValue;
 2355|    966|}
R_removeVarFromFrame:
 2358|      2|{
 2359|      2|    int hashcode = -1;
 2360|       |
 2361|      2|    if (TYPEOF(env) == NILSXP)
  ------------------
  |  |  111|      2|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (2361:9): [True: 0, False: 2]
  ------------------
 2362|      0|	error(_("use of NULL environment is defunct"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("use of NULL environment is defunct"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2363|       |
 2364|      2|    if (!isEnvironment(env))
  ------------------
  |  |  944|      2|#define isEnvironment		Rf_isEnvironment
  ------------------
  |  Branch (2364:9): [True: 0, False: 2]
  ------------------
 2365|      0|	error(_("argument to '%s' is not an environment"), "R_removeVarFromFrame");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("argument to '%s' is not an environment"), "R_removeVarFromFrame");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2366|       |
 2367|      2|    if (TYPEOF(name) != SYMSXP)
  ------------------
  |  |  112|      2|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (2367:9): [True: 0, False: 2]
  ------------------
 2368|      0|	error(_("not a symbol"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("not a symbol"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2369|       |
 2370|      2|    if (IS_HASHED(env)) {
  ------------------
  |  |  212|      2|#define IS_HASHED(x)	     (HASHTAB(x) != R_NilValue)
  |  |  ------------------
  |  |  |  Branch (212:27): [True: 2, False: 0]
  |  |  ------------------
  ------------------
 2371|      2|	if( !HASHASH(PRINTNAME(name)))
  ------------------
  |  Branch (2371:6): [True: 0, False: 2]
  ------------------
 2372|      0|	    hashcode = R_Newhashpjw(CHAR(PRINTNAME(name)));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 2373|      2|	else
 2374|      2|	    hashcode = HASHVALUE(PRINTNAME(name));
 2375|      2|    }
 2376|      2|    RemoveVariable(name, hashcode, env);
 2377|      2|}
do_get:
 2411|  3.65k|{
 2412|  3.65k|    SEXP rval, genv, t1 = R_NilValue;
 2413|  3.65k|    int ginherits = 0, where;
 2414|  3.65k|    checkArity(op, args);
  ------------------
  |  | 1793|  3.65k|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 2415|       |
 2416|       |    /* The first arg is the object name */
 2417|       |    /* It must be present and a non-empty string */
 2418|       |
 2419|  3.65k|    if (TYPEOF(CAR(args)) == SYMSXP)
  ------------------
  |  |  112|  3.65k|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (2419:9): [True: 0, False: 3.65k]
  ------------------
 2420|      0|	t1 = CAR(args);
 2421|  3.65k|    else if (isValidStringF(CAR(args))) {
  ------------------
  |  |  973|  3.65k|#define isValidStringF		Rf_isValidStringF
  ------------------
  |  Branch (2421:14): [True: 3.65k, False: 0]
  ------------------
 2422|  3.65k|	if (XLENGTH(CAR(args)) > 1)
  ------------------
  |  Branch (2422:6): [True: 0, False: 3.65k]
  ------------------
 2423|      0|	    error(_("first argument has length > 1"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("first argument has length > 1"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2424|  3.65k|	t1 = installTrChar(STRING_ELT(CAR(args), 0));
  ------------------
  |  |  937|  3.65k|#define installTrChar		Rf_installTrChar
  ------------------
 2425|  3.65k|    }
 2426|      0|    else
 2427|      0|	error(_("invalid first argument"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid first argument"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2428|       |
 2429|       |    /* envir :	originally, the "where=" argument */
 2430|       |
 2431|  3.65k|    if (TYPEOF(CADR(args)) == ENVSXP)
  ------------------
  |  |  115|  3.65k|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (2431:9): [True: 3.65k, False: 0]
  ------------------
 2432|  3.65k|	genv = CADR(args);
 2433|      0|    else if (TYPEOF(CADR(args)) == REALSXP || TYPEOF(CADR(args)) == INTSXP) {
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
                  else if (TYPEOF(CADR(args)) == REALSXP || TYPEOF(CADR(args)) == INTSXP) {
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (2433:14): [True: 0, False: 0]
  |  Branch (2433:47): [True: 0, False: 0]
  ------------------
 2434|      0|	where = asInteger(CADR(args));
  ------------------
  |  |  885|      0|#define asInteger		Rf_asInteger
  ------------------
 2435|      0|	genv = R_sysframe(where, R_GlobalContext);
 2436|      0|    }
 2437|      0|    else if (TYPEOF(CADR(args)) == NILSXP) {
  ------------------
  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (2437:14): [True: 0, False: 0]
  ------------------
 2438|      0|	error(_("use of NULL environment is defunct"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("use of NULL environment is defunct"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2439|      0|	genv = R_NilValue;  /* -Wall */
 2440|      0|    }
 2441|      0|    else if(TYPEOF((genv = simple_as_environment(CADR(args)))) != ENVSXP) {
  ------------------
  |  | 2187|      0|#define simple_as_environment(arg) (IS_S4_OBJECT(arg) && (TYPEOF(arg) == OBJSXP) ? R_getS4DataSlot(arg, ENVSXP) : R_NilValue)
  |  |  ------------------
  |  |  |  |  137|      0|#define OBJSXP      25    /* object, non-vector  */
  |  |  ------------------
  |  |               #define simple_as_environment(arg) (IS_S4_OBJECT(arg) && (TYPEOF(arg) == OBJSXP) ? R_getS4DataSlot(arg, ENVSXP) : R_NilValue)
  |  |  ------------------
  |  |  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  |  |  ------------------
  |  |  |  Branch (2187:37): [True: 0, False: 0]
  |  |  |  Branch (2187:58): [True: 0, False: 0]
  |  |  ------------------
  ------------------
                  else if(TYPEOF((genv = simple_as_environment(CADR(args)))) != ENVSXP) {
  ------------------
  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (2441:13): [True: 0, False: 0]
  ------------------
 2442|      0|	error(_("invalid '%s' argument"), "envir");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "envir");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2443|      0|	genv = R_NilValue;  /* -Wall */
 2444|      0|    }
 2445|       |
 2446|       |    /* mode :  The mode of the object being sought */
 2447|       |
 2448|       |    /* as from R 1.2.0, this is the *mode*, not the *typeof* aka
 2449|       |       storage.mode.
 2450|       |    */
 2451|       |
 2452|  3.65k|    SEXPTYPE gmode;
 2453|  3.65k|    Rboolean wants_S4 = FALSE;
 2454|  3.65k|    if (isString(CADDR(args)))
  ------------------
  |  |  966|  3.65k|#define isString		Rf_isString
  ------------------
  |  Branch (2454:9): [True: 3.65k, False: 0]
  ------------------
 2455|  3.65k|	gmode = str2mode(CHAR(STRING_ELT(CADDR(args), 0)), &wants_S4);
  ------------------
  |  |  203|  3.65k|#define CHAR(x) R_CHAR(x)
  ------------------
 2456|      0|    else {
 2457|      0|	error(_("invalid '%s' argument"), "mode");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "mode");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2458|      0|	gmode = FUNSXP;/* -Wall */
  ------------------
  |  |  144|      0|#define FUNSXP      99    /* Closure or Builtin or Special */
  ------------------
 2459|      0|    }
 2460|       |
 2461|  3.65k|    ginherits = asLogical(CADDDR(args));
  ------------------
  |  |  886|  3.65k|#define asLogical		Rf_asLogical
  ------------------
 2462|  3.65k|    if (ginherits == NA_LOGICAL)
  ------------------
  |  |   55|  3.65k|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (2462:9): [True: 0, False: 3.65k]
  ------------------
 2463|      0|	error(_("invalid '%s' argument"), "inherits");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "inherits");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2464|       |
 2465|       |    /* Search for the object */
 2466|  3.65k|    rval = findVar1mode(t1, genv, gmode, wants_S4, ginherits,
 2467|  3.65k|			(Rboolean) PRIMVAL(op));
  ------------------
  |  | 1347|  3.65k|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
 2468|  3.65k|    if (rval == R_MissingArg) { // signal a *classed* error:
  ------------------
  |  Branch (2468:9): [True: 0, False: 3.65k]
  ------------------
 2469|      0|	R_MissingArgError(t1, call, "getMissingError");
 2470|      0|    }
 2471|       |
 2472|  3.65k|    switch (PRIMVAL(op) ) {
  ------------------
  |  | 1347|  3.65k|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  |  |  ------------------
  |  |  |  Branch (1347:20): [True: 3.65k, False: 0]
  |  |  ------------------
  ------------------
 2473|  2.18k|    case 0: // exists(.) :
  ------------------
  |  Branch (2473:5): [True: 2.18k, False: 1.47k]
  ------------------
 2474|  2.18k|	return ScalarLogical(rval != R_UnboundValue);
  ------------------
  |  | 1023|  2.18k|#define ScalarLogical		Rf_ScalarLogical
  ------------------
 2475|      0|	break;
 2476|       |
 2477|    936|    case 1: // have get(.)
  ------------------
  |  Branch (2477:5): [True: 936, False: 2.72k]
  ------------------
 2478|    936|	if (rval == R_UnboundValue) {
  ------------------
  |  Branch (2478:6): [True: 0, False: 936]
  ------------------
 2479|      0|	    if (gmode == ANYSXP)
  ------------------
  |  |  128|      0|#define ANYSXP	    18	  /* make "any" args work.
  ------------------
  |  Branch (2479:10): [True: 0, False: 0]
  ------------------
 2480|      0|		R_ObjectNotFoundError(t1, R_CurrentExpression, NULL);
 2481|      0|	    else
 2482|      0|		R_ObjectNotFoundError(t1, R_CurrentExpression,
 2483|      0|				      CHAR(STRING_ELT(CADDR(args), 0))); /* ASCII */
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 2484|      0|	}
 2485|       |
 2486|    936|#     define GET_VALUE(rval) do {				\
 2487|       |	    /* We need to evaluate if it is a promise */	\
 2488|    936|	    if (TYPEOF(rval) == PROMSXP) {			\
 2489|    936|		PROTECT(rval);					\
 2490|    936|		rval = eval(rval, genv);			\
 2491|    936|		UNPROTECT(1);					\
 2492|    936|	    }							\
 2493|    936|	    ENSURE_NAMED(rval);					\
 2494|    936|	} while (0)
 2495|       |
 2496|    936|	GET_VALUE(rval);
  ------------------
  |  | 2486|    936|#     define GET_VALUE(rval) do {				\
  |  | 2487|    936|	    /* We need to evaluate if it is a promise */	\
  |  | 2488|    936|	    if (TYPEOF(rval) == PROMSXP) {			\
  |  |  ------------------
  |  |  |  |  116|    936|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  |  |  ------------------
  |  |  |  Branch (2488:10): [True: 854, False: 82]
  |  |  ------------------
  |  | 2489|    854|		PROTECT(rval);					\
  |  |  ------------------
  |  |  |  |  357|    854|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  | 2490|    854|		rval = eval(rval, genv);			\
  |  |  ------------------
  |  |  |  |  913|    854|#define eval			Rf_eval
  |  |  ------------------
  |  | 2491|    854|		UNPROTECT(1);					\
  |  |  ------------------
  |  |  |  |  358|    854|#define UNPROTECT(n)	Rf_unprotect(n)
  |  |  ------------------
  |  | 2492|    854|	    }							\
  |  | 2493|    936|	    ENSURE_NAMED(rval);					\
  |  | 2494|    936|	} while (0)
  |  |  ------------------
  |  |  |  Branch (2494:11): [Folded, False: 936]
  |  |  ------------------
  ------------------
 2497|    936|	break;
 2498|       |
 2499|    534|    case 2: // get0(.)
  ------------------
  |  Branch (2499:5): [True: 534, False: 3.12k]
  ------------------
 2500|    534|	if (rval == R_UnboundValue)
  ------------------
  |  Branch (2500:6): [True: 388, False: 146]
  ------------------
 2501|    388|	    return CAD4R(args);// i.e.  value_if_not_exists
 2502|    146|	GET_VALUE(rval);
  ------------------
  |  | 2486|    146|#     define GET_VALUE(rval) do {				\
  |  | 2487|    146|	    /* We need to evaluate if it is a promise */	\
  |  | 2488|    146|	    if (TYPEOF(rval) == PROMSXP) {			\
  |  |  ------------------
  |  |  |  |  116|    146|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  |  |  ------------------
  |  |  |  Branch (2488:10): [True: 60, False: 86]
  |  |  ------------------
  |  | 2489|     60|		PROTECT(rval);					\
  |  |  ------------------
  |  |  |  |  357|     60|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  | 2490|     60|		rval = eval(rval, genv);			\
  |  |  ------------------
  |  |  |  |  913|     60|#define eval			Rf_eval
  |  |  ------------------
  |  | 2491|     60|		UNPROTECT(1);					\
  |  |  ------------------
  |  |  |  |  358|     60|#define UNPROTECT(n)	Rf_unprotect(n)
  |  |  ------------------
  |  | 2492|     60|	    }							\
  |  | 2493|    146|	    ENSURE_NAMED(rval);					\
  |  | 2494|    146|	} while (0)
  |  |  ------------------
  |  |  |  Branch (2494:11): [Folded, False: 146]
  |  |  ------------------
  ------------------
 2503|    146|	break;
 2504|  3.65k|    }
 2505|  1.08k|    return rval;
 2506|  3.65k|}
do_mget:
 2548|     20|{
 2549|     20|    SEXP ans, env, x, mode, ifnotfound;
 2550|     20|    int ginherits = 0, nvals, nmode, nifnfnd;
 2551|       |
 2552|     20|    checkArity(op, args);
  ------------------
  |  | 1793|     20|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 2553|       |
 2554|     20|    x = CAR(args);
 2555|       |
 2556|     20|    nvals = length(x);
  ------------------
  |  |  987|     20|#define length(x)		Rf_length(x)
  ------------------
 2557|       |
 2558|       |    /* The first arg is the object name */
 2559|       |    /* It must be present and a string */
 2560|     20|    if (!isString(x) )
  ------------------
  |  |  966|     20|#define isString		Rf_isString
  ------------------
  |  Branch (2560:9): [True: 0, False: 20]
  ------------------
 2561|      0|	error(_("invalid first argument"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid first argument"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2562|  3.08k|    for(int i = 0; i < nvals; i++)
  ------------------
  |  Branch (2562:20): [True: 3.06k, False: 20]
  ------------------
 2563|  3.06k|	if( isNull(STRING_ELT(x, i)) || !CHAR(STRING_ELT(x, 0))[0] )
  ------------------
  |  |  956|  3.06k|#define isNull			Rf_isNull
  ------------------
              	if( isNull(STRING_ELT(x, i)) || !CHAR(STRING_ELT(x, 0))[0] )
  ------------------
  |  |  203|  3.06k|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (2563:6): [True: 0, False: 3.06k]
  |  Branch (2563:34): [True: 0, False: 3.06k]
  ------------------
 2564|      0|	    error(_("invalid name in position %d"), i+1);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("invalid name in position %d"), i+1);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2565|       |
 2566|     20|    env = CADR(args);
 2567|     20|    if (ISNULL(env)) {
  ------------------
  |  |  176|     20|#define ISNULL(x) ((x) == R_NilValue)
  |  |  ------------------
  |  |  |  Branch (176:19): [True: 0, False: 20]
  |  |  ------------------
  ------------------
 2568|      0|	error(_("use of NULL environment is defunct"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("use of NULL environment is defunct"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2569|     20|    } else if( !isEnvironment(env) )
  ------------------
  |  |  944|     20|#define isEnvironment		Rf_isEnvironment
  ------------------
  |  Branch (2569:16): [True: 0, False: 20]
  ------------------
 2570|      0|	error(_("second argument must be an environment"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("second argument must be an environment"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2571|       |
 2572|     20|    mode = CADDR(args);
 2573|     20|    nmode = length(mode);
  ------------------
  |  |  987|     20|#define length(x)		Rf_length(x)
  ------------------
 2574|     20|    if( !isString(mode) )
  ------------------
  |  |  966|     20|#define isString		Rf_isString
  ------------------
  |  Branch (2574:9): [True: 0, False: 20]
  ------------------
 2575|      0|	error(_("invalid '%s' argument"), "mode");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "mode");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2576|       |
 2577|     20|    if( nmode != nvals && nmode != 1 )
  ------------------
  |  Branch (2577:9): [True: 20, False: 0]
  |  Branch (2577:27): [True: 0, False: 20]
  ------------------
 2578|      0|	error(_("wrong length for '%s' argument"), "mode");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("wrong length for '%s' argument"), "mode");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2579|       |
 2580|     20|    PROTECT(ifnotfound = coerceVector(CADDDR(args), VECSXP));
  ------------------
  |  |  357|     20|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2581|     20|    nifnfnd = length(ifnotfound);
  ------------------
  |  |  987|     20|#define length(x)		Rf_length(x)
  ------------------
 2582|     20|    if( !isVector(ifnotfound) )
  ------------------
  |  |  974|     20|#define isVector		Rf_isVector
  ------------------
  |  Branch (2582:9): [True: 0, False: 20]
  ------------------
 2583|      0|	error(_("invalid '%s' argument"), "ifnotfound");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "ifnotfound");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2584|       |
 2585|     20|    if( nifnfnd != nvals && nifnfnd != 1 )
  ------------------
  |  Branch (2585:9): [True: 20, False: 0]
  |  Branch (2585:29): [True: 0, False: 20]
  ------------------
 2586|      0|	error(_("wrong length for '%s' argument"), "ifnotfound");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("wrong length for '%s' argument"), "ifnotfound");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2587|       |
 2588|     20|    ginherits = asLogical(CAD4R(args));
  ------------------
  |  |  886|     20|#define asLogical		Rf_asLogical
  ------------------
 2589|     20|    if (ginherits == NA_LOGICAL)
  ------------------
  |  |   55|     20|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (2589:9): [True: 0, False: 20]
  ------------------
 2590|      0|	error(_("invalid '%s' argument"), "inherits");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "inherits");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2591|       |
 2592|     20|    PROTECT(ans = allocVector(VECSXP, nvals));
  ------------------
  |  |  357|     20|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2593|       |
 2594|  3.08k|    for(int i = 0; i < nvals; i++) {
  ------------------
  |  Branch (2594:20): [True: 3.06k, False: 20]
  ------------------
 2595|  3.06k|	Rboolean wants_S4 = FALSE;
 2596|  3.06k|	const char *modestr = CHAR(STRING_ELT(CADDR(args), i % nmode));
  ------------------
  |  |  203|  3.06k|#define CHAR(x) R_CHAR(x)
  ------------------
 2597|  3.06k|	SEXPTYPE gmode = str2mode(modestr, &wants_S4);
 2598|  3.06k|	SEXP nf = VECTOR_ELT(ifnotfound, i % nifnfnd);
 2599|  3.06k|	SEXP ans_i = gfind(translateChar(STRING_ELT(x, i % nvals)), env,
  ------------------
  |  | 1037|  3.06k|#define translateChar		Rf_translateChar
  ------------------
 2600|  3.06k|			   gmode, wants_S4, nf, ginherits, rho);
 2601|  3.06k|	SET_VECTOR_ELT(ans, i, lazy_duplicate(ans_i));
  ------------------
  |  |  985|  3.06k|#define lazy_duplicate		Rf_lazy_duplicate
  ------------------
 2602|  3.06k|    }
 2603|       |
 2604|     20|    setAttrib(ans, R_NamesSymbol, lazy_duplicate(x));
  ------------------
  |  | 1027|     20|#define setAttrib		Rf_setAttrib
  ------------------
                  setAttrib(ans, R_NamesSymbol, lazy_duplicate(x));
  ------------------
  |  |  985|     20|#define lazy_duplicate		Rf_lazy_duplicate
  ------------------
 2605|     20|    UNPROTECT(2);
  ------------------
  |  |  358|     20|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2606|     20|    return(ans);
 2607|     20|}
R_isMissing:
 2668|  15.4k|{
 2669|  15.4k|    int ddv=0;
 2670|  15.4k|    SEXP vl, s;
 2671|       |
 2672|  15.4k|    if (symbol == R_MissingArg) /* Yes, this can happen */
  ------------------
  |  Branch (2672:9): [True: 0, False: 15.4k]
  ------------------
 2673|      0|	return TRUE;
 2674|       |
 2675|       |    /* check for infinite recursion */
 2676|  15.4k|    R_CheckStack();
 2677|       |
 2678|  15.4k|    if (DDVAL(symbol)) {
  ------------------
  |  Branch (2678:9): [True: 0, False: 15.4k]
  ------------------
 2679|      0|	s = R_DotsSymbol;
 2680|      0|	ddv = ddVal(symbol);
 2681|      0|    }
 2682|  15.4k|    else
 2683|  15.4k|	s = symbol;
 2684|       |
 2685|  15.4k|    if (rho == R_BaseEnv || rho == R_BaseNamespace)
  ------------------
  |  Branch (2685:9): [True: 0, False: 15.4k]
  |  Branch (2685:29): [True: 0, False: 15.4k]
  ------------------
 2686|      0|	return FALSE;  /* is this really the right thing to do? LT */
 2687|       |
 2688|  15.4k|    vl = findVarLocInFrame(rho, s, NULL);
 2689|  15.4k|    if (vl != R_NilValue) {
  ------------------
  |  Branch (2689:9): [True: 15.3k, False: 52]
  ------------------
 2690|  15.3k|	if (DDVAL(symbol)) {
  ------------------
  |  Branch (2690:6): [True: 0, False: 15.3k]
  ------------------
 2691|      0|	    if (length(CAR(vl)) < ddv || CAR(vl) == R_MissingArg)
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (2691:10): [True: 0, False: 0]
  |  Branch (2691:35): [True: 0, False: 0]
  ------------------
 2692|      0|		return TRUE;
 2693|       |	    /* defineVar(symbol, value, R_GlobalEnv); */
 2694|      0|	    else
 2695|      0|		vl = nthcdr(CAR(vl), ddv-1);
  ------------------
  |  | 1009|      0|#define nthcdr			Rf_nthcdr
  ------------------
 2696|      0|	}
 2697|  15.3k|	if (MISSING(vl) == 1 ||
  ------------------
  |  Branch (2697:6): [True: 52, False: 15.3k]
  ------------------
 2698|  15.3k|	    (BNDCELL_TAG(vl) == 0 && CAR(vl) == R_MissingArg))
  ------------------
  |  Branch (2698:7): [True: 13.7k, False: 1.62k]
  |  Branch (2698:31): [True: 0, False: 13.7k]
  ------------------
 2699|     52|	    return TRUE;
 2700|  15.3k|	if (IS_ACTIVE_BINDING(vl))
  ------------------
  |  Branch (2700:6): [True: 0, False: 15.3k]
  ------------------
 2701|      0|	    return FALSE;
 2702|  15.3k|	if (BNDCELL_TAG(vl))
  ------------------
  |  Branch (2702:6): [True: 1.62k, False: 13.7k]
  ------------------
 2703|  1.62k|	    return FALSE;
 2704|  13.7k|	SETCAR(vl, findRootPromise(CAR(vl)));
 2705|  13.7k|	if (TYPEOF(CAR(vl)) == PROMSXP &&
  ------------------
  |  |  116|  27.4k|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (2705:6): [True: 1.33k, False: 12.3k]
  ------------------
 2706|  1.33k|	    ! PROMISE_IS_EVALUATED(CAR(vl)) &&
  ------------------
  |  Branch (2706:6): [True: 1.26k, False: 72]
  ------------------
 2707|  1.26k|	    TYPEOF(PREXPR(CAR(vl))) == SYMSXP) {
  ------------------
  |  |  720|  1.26k|#define PREXPR(e) R_PromiseExpr(e)
  ------------------
              	    TYPEOF(PREXPR(CAR(vl))) == SYMSXP) {
  ------------------
  |  |  112|  1.26k|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (2707:6): [True: 194, False: 1.07k]
  ------------------
 2708|       |	    /* This code uses the PRSEEN value to detect cycles.  If a
 2709|       |	       cycle occurs then a missing argument was encountered,
 2710|       |	       so the return value is TRUE.  It would be a little
 2711|       |	       safer to use the promise stack to ensure unsetting of
 2712|       |	       the bits in the event of a longjump, but doing so would
 2713|       |	       require distinguishing between evaluating promises and
 2714|       |	       checking for missingness.  Because of the test above
 2715|       |	       for an active binding a longjmp should only happen if
 2716|       |	       the stack check fails.  LT */
 2717|    194|	    if (PRSEEN(CAR(vl)) == 1)
  ------------------
  |  Branch (2717:10): [True: 0, False: 194]
  ------------------
 2718|      0|		return TRUE;
 2719|    194|	    else {
 2720|    194|		int oldseen = PRSEEN(CAR(vl));
 2721|    194|		SET_PRSEEN(CAR(vl), 1);
 2722|    194|		PROTECT(vl);
  ------------------
  |  |  357|    194|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2723|    194|		Rboolean val = R_isMissing(PREXPR(CAR(vl)), PRENV(CAR(vl)));
  ------------------
  |  |  720|    194|#define PREXPR(e) R_PromiseExpr(e)
  ------------------
 2724|    194|		UNPROTECT(1); /* vl */
  ------------------
  |  |  358|    194|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2725|       |		/* The oldseen value will usually be 0, but might be 2
 2726|       |		   from an interrupted evaluation. LT */
 2727|    194|		SET_PRSEEN(CAR(vl), oldseen);
 2728|    194|		return val;
 2729|    194|	    }
 2730|    194|	}
 2731|  13.5k|	else
 2732|  13.5k|	    return FALSE;
 2733|  13.7k|    }
 2734|     52|    return FALSE;
 2735|  15.4k|}
R_missing:
 2740|  30.3k|{
 2741|  30.3k|    int ddv = 0;
 2742|  30.3k|    SEXP s = var;
 2743|  30.3k|    if (DDVAL(var)) {
  ------------------
  |  Branch (2743:9): [True: 0, False: 30.3k]
  ------------------
 2744|      0|	ddv = ddVal(var);
 2745|      0|	var = R_DotsSymbol;
 2746|      0|    }
 2747|       |
 2748|  30.3k|    SEXP t = findVarLocInFrame(rho, var, NULL);
 2749|  30.3k|    if (t != R_NilValue) {
  ------------------
  |  Branch (2749:9): [True: 30.3k, False: 0]
  ------------------
 2750|  30.3k|	if (DDVAL(s)) {
  ------------------
  |  Branch (2750:6): [True: 0, False: 30.3k]
  ------------------
 2751|      0|	    if (length(CAR(t)) < ddv  || CAR(t) == R_MissingArg) {
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (2751:10): [True: 0, False: 0]
  |  Branch (2751:35): [True: 0, False: 0]
  ------------------
 2752|      0|		return TRUE;
 2753|      0|	    }
 2754|      0|	    else
 2755|      0|		t = nthcdr(CAR(t), ddv-1);
  ------------------
  |  | 1009|      0|#define nthcdr			Rf_nthcdr
  ------------------
 2756|      0|	}
 2757|  30.3k|	if (BNDCELL_TAG(t)) return FALSE;
  ------------------
  |  Branch (2757:6): [True: 0, False: 30.3k]
  ------------------
 2758|  30.3k|	if (MISSING(t) || CAR(t) == R_MissingArg) {
  ------------------
  |  Branch (2758:6): [True: 21.2k, False: 9.09k]
  |  Branch (2758:20): [True: 0, False: 9.09k]
  ------------------
 2759|  21.2k|	    return TRUE;
 2760|  21.2k|	}
 2761|  30.3k|    }
 2762|      0|    else  /* it wasn't an argument to the function */
 2763|      0|	error(_("'missing(%s)' did not find an argument"), CHAR(PRINTNAME(var)));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'missing(%s)' did not find an argument"), CHAR(PRINTNAME(var)));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
              	error(_("'missing(%s)' did not find an argument"), CHAR(PRINTNAME(var)));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 2764|       |
 2765|  9.09k|    t = CAR(t);
 2766|  9.09k|    if (TYPEOF(t) != PROMSXP) {
  ------------------
  |  |  116|  9.09k|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (2766:9): [True: 2.92k, False: 6.17k]
  ------------------
 2767|  2.92k|	return FALSE;
 2768|  2.92k|    }
 2769|       |    // deal with promise :
 2770|  6.17k|    t = findRootPromise(t);
 2771|  6.17k|    if (!isSymbol(PREXPR(t)))
  ------------------
  |  |  953|  6.17k|#define isSymbol		Rf_isSymbol
  ------------------
                  if (!isSymbol(PREXPR(t)))
  ------------------
  |  |  720|  6.17k|#define PREXPR(e) R_PromiseExpr(e)
  ------------------
  |  Branch (2771:9): [True: 5.11k, False: 1.05k]
  ------------------
 2772|  5.11k|	return FALSE;
 2773|  1.05k|    else {
 2774|  1.05k|	return R_isMissing(PREXPR(t), PRENV(t));
  ------------------
  |  |  720|  1.05k|#define PREXPR(e) R_PromiseExpr(e)
  ------------------
 2775|  1.05k|    }
 2776|  6.17k|}
do_missing:
 2780|  27.8k|{
 2781|  27.8k|    checkArity(op, args);
  ------------------
  |  | 1793|  27.8k|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 2782|  27.8k|    check1arg(args, call, "x");
  ------------------
  |  | 1872|  27.8k|# define check1arg		Rf_check1arg
  ------------------
 2783|  27.8k|    SEXP sym = CAR(args);
 2784|  27.8k|    if( isString(sym) && length(sym)==1 )
  ------------------
  |  |  966|  27.8k|#define isString		Rf_isString
  ------------------
                  if( isString(sym) && length(sym)==1 )
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (2784:9): [True: 0, False: 27.8k]
  |  Branch (2784:26): [True: 0, False: 0]
  ------------------
 2785|      0|	sym = installTrChar(STRING_ELT(CAR(args), 0));
  ------------------
  |  |  937|      0|#define installTrChar		Rf_installTrChar
  ------------------
 2786|  27.8k|    if (!isSymbol(sym))
  ------------------
  |  |  953|  27.8k|#define isSymbol		Rf_isSymbol
  ------------------
  |  Branch (2786:9): [True: 0, False: 27.8k]
  ------------------
 2787|      0|	errorcall(call, _("invalid use of 'missing'"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("invalid use of 'missing'"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2788|       |
 2789|  27.8k|    SEXP rval = PROTECT(allocVector(LGLSXP, 1));
  ------------------
  |  |  357|  27.8k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2790|  27.8k|    LOGICAL(rval)[0] = R_missing(sym, rho);
 2791|  27.8k|    UNPROTECT(1);
  ------------------
  |  |  358|  27.8k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2792|  27.8k|    return rval;
 2793|  27.8k|}
do_globalenv:
 2805|      4|{
 2806|      4|    checkArity(op, args);
  ------------------
  |  | 1793|      4|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 2807|      4|    return R_GlobalEnv;
 2808|      4|}
do_baseenv:
 2820|  1.69k|{
 2821|  1.69k|    checkArity(op, args);
  ------------------
  |  | 1793|  1.69k|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 2822|  1.69k|    return R_BaseEnv;
 2823|  1.69k|}
do_attach:
 2860|     14|{
 2861|     14|    SEXP name, s, t, x;
 2862|     14|    int pos, hsize;
 2863|     14|    Rboolean isSpecial;
 2864|       |
 2865|     14|    checkArity(op, args);
  ------------------
  |  | 1793|     14|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 2866|       |
 2867|     14|    pos = asInteger(CADR(args));
  ------------------
  |  |  885|     14|#define asInteger		Rf_asInteger
  ------------------
 2868|     14|    if (pos == NA_INTEGER)
  ------------------
  |  |   56|     14|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (2868:9): [True: 0, False: 14]
  ------------------
 2869|      0|	error(_("'pos' must be an integer"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'pos' must be an integer"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2870|       |
 2871|     14|    name = CADDR(args);
 2872|     14|    if (!isValidStringF(name))
  ------------------
  |  |  973|     14|#define isValidStringF		Rf_isValidStringF
  ------------------
  |  Branch (2872:9): [True: 0, False: 14]
  ------------------
 2873|      0|	error(_("invalid '%s' argument"), "name");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "name");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2874|       |
 2875|     14|    isSpecial = IS_USER_DATABASE(CAR(args));
  ------------------
  |  |  102|     14|#define IS_USER_DATABASE(rho)  (OBJECT((rho)) && inherits((rho), "UserDefinedDatabase"))
  |  |  ------------------
  |  |  |  |  933|      0|#define inherits		Rf_inherits
  |  |  ------------------
  |  |  |  Branch (102:33): [True: 0, False: 14]
  |  |  |  Branch (102:50): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2876|       |
 2877|     14|    if(!isSpecial) {
  ------------------
  |  Branch (2877:8): [True: 14, False: 0]
  ------------------
 2878|     14|	if (isNewList(CAR(args))) {
  ------------------
  |  |  955|     14|#define isNewList		Rf_isNewList
  ------------------
  |  Branch (2878:6): [True: 14, False: 0]
  ------------------
 2879|     14|	    SETCAR(args, VectorToPairList(CAR(args)));
  ------------------
  |  | 1046|     14|#define VectorToPairList	Rf_VectorToPairList
  ------------------
 2880|       |
 2881|     14|	    for (x = CAR(args); x != R_NilValue; x = CDR(x))
  ------------------
  |  Branch (2881:26): [True: 0, False: 14]
  ------------------
 2882|      0|		if (TAG(x) == R_NilValue)
  ------------------
  |  Branch (2882:7): [True: 0, False: 0]
  ------------------
 2883|      0|		    error(_("all elements of a list must be named"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("all elements of a list must be named"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2884|     14|	    PROTECT(s = allocSExp(ENVSXP));
  ------------------
  |  |  357|     14|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2885|     14|	    SET_FRAME(s, shallow_duplicate(CAR(args)));
  ------------------
  |  | 1030|     14|#define shallow_duplicate	Rf_shallow_duplicate
  ------------------
 2886|     14|	} else if (isEnvironment(CAR(args))) {
  ------------------
  |  |  944|      0|#define isEnvironment		Rf_isEnvironment
  ------------------
  |  Branch (2886:13): [True: 0, False: 0]
  ------------------
 2887|      0|	    SEXP p, loadenv = CAR(args);
 2888|       |
 2889|      0|	    PROTECT(s = allocSExp(ENVSXP));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2890|      0|	    if (HASHTAB(loadenv) != R_NilValue) {
  ------------------
  |  Branch (2890:10): [True: 0, False: 0]
  ------------------
 2891|      0|		int i, n;
 2892|      0|		n = length(HASHTAB(loadenv));
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
 2893|      0|		for (i = 0; i < n; i++) {
  ------------------
  |  Branch (2893:15): [True: 0, False: 0]
  ------------------
 2894|      0|		    p = VECTOR_ELT(HASHTAB(loadenv), i);
 2895|      0|		    while (p != R_NilValue) {
  ------------------
  |  Branch (2895:14): [True: 0, False: 0]
  ------------------
 2896|      0|			set_attach_frame_value(p, s);
 2897|      0|			p = CDR(p);
 2898|      0|		    }
 2899|      0|		}
 2900|       |		/* FIXME: duplicate the hash table and assign here */
 2901|      0|	    } else {
 2902|      0|		for(p = FRAME(loadenv); p != R_NilValue; p = CDR(p))
  ------------------
  |  Branch (2902:27): [True: 0, False: 0]
  ------------------
 2903|      0|		    set_attach_frame_value(p, s);
 2904|      0|	    }
 2905|      0|	} else {
 2906|      0|	    error(_("'attach' only works for lists, data frames and environments"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("'attach' only works for lists, data frames and environments"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2907|      0|	    s = R_NilValue; /* -Wall */
 2908|      0|	}
 2909|       |
 2910|       |	/* Connect FRAME(s) into HASHTAB(s) */
 2911|     14|	if (length(s) < HASHMINSIZE)
  ------------------
  |  |  987|     14|#define length(x)		Rf_length(x)
  ------------------
              	if (length(s) < HASHMINSIZE)
  ------------------
  |  |  208|     14|#define HASHMINSIZE	     29
  ------------------
  |  Branch (2911:6): [True: 14, False: 0]
  ------------------
 2912|     14|	    hsize = HASHMINSIZE;
  ------------------
  |  |  208|     14|#define HASHMINSIZE	     29
  ------------------
 2913|      0|	else
 2914|      0|	    hsize = length(s);
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
 2915|       |
 2916|     14|	SET_HASHTAB(s, R_NewHashTable(hsize));
 2917|     14|	s = R_HashFrame(s);
 2918|       |
 2919|       |	/* FIXME: A little inefficient */
 2920|     14|	while (R_HashSizeCheck(HASHTAB(s)))
  ------------------
  |  Branch (2920:9): [True: 0, False: 14]
  ------------------
 2921|      0|	    SET_HASHTAB(s, R_HashResize(HASHTAB(s)));
 2922|       |
 2923|     14|    } else { /* is a user object */
 2924|       |	/* Having this here (rather than below) means that the onAttach routine
 2925|       |	   is called before the table is attached. This may not be necessary or
 2926|       |	   desirable. */
 2927|      0|	R_ObjectTable *tb = (R_ObjectTable*) R_ExternalPtrAddr(CAR(args));
 2928|      0|	if(tb->onAttach)
  ------------------
  |  Branch (2928:5): [True: 0, False: 0]
  ------------------
 2929|      0|	    tb->onAttach(tb);
 2930|      0|	PROTECT(s = allocSExp(ENVSXP));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2931|      0|	SET_HASHTAB(s, CAR(args));
 2932|      0|	setAttrib(s, R_ClassSymbol, getAttrib(HASHTAB(s), R_ClassSymbol));
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
              	setAttrib(s, R_ClassSymbol, getAttrib(HASHTAB(s), R_ClassSymbol));
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
 2933|      0|    }
 2934|       |
 2935|     14|    setAttrib(s, R_NameSymbol, name);
  ------------------
  |  | 1027|     14|#define setAttrib		Rf_setAttrib
  ------------------
 2936|     14|    for (t = R_GlobalEnv; ENCLOS(t) != R_BaseEnv && pos > 2; t = ENCLOS(t))
  ------------------
  |  Branch (2936:27): [True: 12, False: 2]
  |  Branch (2936:53): [True: 0, False: 12]
  ------------------
 2937|      0|	pos--;
 2938|       |
 2939|     14|    if (ENCLOS(t) == R_BaseEnv) {
  ------------------
  |  Branch (2939:9): [True: 2, False: 12]
  ------------------
 2940|      2|	SET_ENCLOS(t, s);
 2941|      2|	SET_ENCLOS(s, R_BaseEnv);
 2942|      2|    }
 2943|     12|    else {
 2944|     12|	x = ENCLOS(t);
 2945|     12|	SET_ENCLOS(t, s);
 2946|     12|	SET_ENCLOS(s, x);
 2947|     12|    }
 2948|       |
 2949|     14|    if(!isSpecial) { /* Temporary: need to remove the elements identified by objects(CAR(args)) */
  ------------------
  |  Branch (2949:8): [True: 14, False: 0]
  ------------------
 2950|     14|#ifdef USE_GLOBAL_CACHE
 2951|     14|	R_FlushGlobalCacheFromTable(HASHTAB(s));
 2952|     14|	MARK_AS_GLOBAL_FRAME(s);
  ------------------
  |  |  655|     14|  SET_ENVFLAGS(e, ENVFLAGS(e) | GLOBAL_FRAME_MASK)
  |  |  ------------------
  |  |  |  |  652|     14|#define GLOBAL_FRAME_MASK (1<<15)
  |  |  ------------------
  ------------------
 2953|     14|#endif
 2954|     14|    } else {
 2955|      0|#ifdef USE_GLOBAL_CACHE
 2956|      0|	R_FlushGlobalCacheFromUserTable(HASHTAB(s));
 2957|      0|	MARK_AS_GLOBAL_FRAME(s);
  ------------------
  |  |  655|      0|  SET_ENVFLAGS(e, ENVFLAGS(e) | GLOBAL_FRAME_MASK)
  |  |  ------------------
  |  |  |  |  652|      0|#define GLOBAL_FRAME_MASK (1<<15)
  |  |  ------------------
  ------------------
 2958|      0|#endif
 2959|      0|    }
 2960|       |
 2961|     14|    UNPROTECT(1); /* s */
  ------------------
  |  |  358|     14|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2962|     14|    return s;
 2963|     14|}
do_search:
 3033|     52|{
 3034|     52|    SEXP ans, name, t;
 3035|     52|    int i, n;
 3036|       |
 3037|     52|    checkArity(op, args);
  ------------------
  |  | 1793|     52|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 3038|     52|    n = 2;
 3039|    248|    for (t = ENCLOS(R_GlobalEnv); t != R_BaseEnv ; t = ENCLOS(t))
  ------------------
  |  Branch (3039:35): [True: 196, False: 52]
  ------------------
 3040|    196|	n++;
 3041|     52|    PROTECT(ans = allocVector(STRSXP, n));
  ------------------
  |  |  357|     52|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3042|       |    /* TODO - what should the name of this be? */
 3043|     52|    SET_STRING_ELT(ans, 0, mkChar(".GlobalEnv"));
  ------------------
  |  |  998|     52|#define mkChar			Rf_mkChar
  ------------------
 3044|     52|    SET_STRING_ELT(ans, n-1, mkChar("package:base"));
  ------------------
  |  |  998|     52|#define mkChar			Rf_mkChar
  ------------------
 3045|     52|    i = 1;
 3046|    248|    for (t = ENCLOS(R_GlobalEnv); t != R_BaseEnv ; t = ENCLOS(t)) {
  ------------------
  |  Branch (3046:35): [True: 196, False: 52]
  ------------------
 3047|    196|	name = getAttrib(t, R_NameSymbol);
  ------------------
  |  |  924|    196|#define getAttrib		Rf_getAttrib
  ------------------
 3048|    196|	if (!isString(name) || length(name) < 1)
  ------------------
  |  |  966|    196|#define isString		Rf_isString
  ------------------
              	if (!isString(name) || length(name) < 1)
  ------------------
  |  |  987|    196|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (3048:6): [True: 0, False: 196]
  |  Branch (3048:25): [True: 0, False: 196]
  ------------------
 3049|      0|	    SET_STRING_ELT(ans, i, mkChar("(unknown)"));
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
 3050|    196|	else
 3051|    196|	    SET_STRING_ELT(ans, i, STRING_ELT(name, 0));
 3052|    196|	i++;
 3053|    196|    }
 3054|     52|    UNPROTECT(1);
  ------------------
  |  |  358|     52|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 3055|     52|    return ans;
 3056|     52|}
do_ls:
 3247|      6|{
 3248|      6|    checkArity(op, args);
  ------------------
  |  | 1793|      6|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 3249|       |
 3250|      6|    if(IS_USER_DATABASE(CAR(args))) {
  ------------------
  |  |  102|      6|#define IS_USER_DATABASE(rho)  (OBJECT((rho)) && inherits((rho), "UserDefinedDatabase"))
  |  |  ------------------
  |  |  |  |  933|      0|#define inherits		Rf_inherits
  |  |  ------------------
  |  |  |  Branch (102:33): [True: 0, False: 6]
  |  |  |  Branch (102:50): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3251|      0|	R_ObjectTable *tb = (R_ObjectTable*)
 3252|      0|	    R_ExternalPtrAddr(HASHTAB(CAR(args)));
 3253|      0|	return(tb->objects(tb));
 3254|      0|    }
 3255|       |
 3256|      6|    SEXP env = CAR(args);
 3257|       |
 3258|       |    /* if (env == R_BaseNamespace) env = R_BaseEnv; */
 3259|       |
 3260|      6|    int all = asLogical(CADR(args));
  ------------------
  |  |  886|      6|#define asLogical		Rf_asLogical
  ------------------
 3261|      6|    if (all == NA_LOGICAL) all = 0;
  ------------------
  |  |   55|      6|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (3261:9): [True: 0, False: 6]
  ------------------
 3262|       |
 3263|      6|    int sort_nms = asLogical(CADDR(args)); /* sorted = TRUE/FALSE */
  ------------------
  |  |  886|      6|#define asLogical		Rf_asLogical
  ------------------
 3264|      6|    if (sort_nms == NA_LOGICAL) sort_nms = 0;
  ------------------
  |  |   55|      6|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (3264:9): [True: 0, False: 6]
  ------------------
 3265|       |
 3266|      6|    return R_lsInternal3(env, (Rboolean) all, (Rboolean) sort_nms);
 3267|      6|}
R_lsInternal3:
 3273|    174|{
 3274|    174|    if(IS_USER_DATABASE(env)) {
  ------------------
  |  |  102|    174|#define IS_USER_DATABASE(rho)  (OBJECT((rho)) && inherits((rho), "UserDefinedDatabase"))
  |  |  ------------------
  |  |  |  |  933|      0|#define inherits		Rf_inherits
  |  |  ------------------
  |  |  |  Branch (102:33): [True: 0, False: 174]
  |  |  |  Branch (102:50): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3275|      0|	R_ObjectTable *tb = (R_ObjectTable*)
 3276|      0|	    R_ExternalPtrAddr(HASHTAB(env));
 3277|      0|	return(tb->objects(tb));
 3278|      0|    }
 3279|       |
 3280|       |    /* Step 1 : Compute the Vector Size */
 3281|    174|    int k = 0;
 3282|    174|    if (env == R_BaseEnv || env == R_BaseNamespace)
  ------------------
  |  Branch (3282:9): [True: 16, False: 158]
  |  Branch (3282:29): [True: 0, False: 158]
  ------------------
 3283|     16|	k += BuiltinSize(all, 0);
 3284|    158|    else if (isEnvironment(env) ||
  ------------------
  |  |  944|    158|#define isEnvironment		Rf_isEnvironment
  ------------------
  |  Branch (3284:14): [True: 158, False: 0]
  ------------------
 3285|    158|	isEnvironment(env = simple_as_environment(env))) {
  ------------------
  |  |  944|      0|#define isEnvironment		Rf_isEnvironment
  ------------------
              	isEnvironment(env = simple_as_environment(env))) {
  ------------------
  |  | 2187|      0|#define simple_as_environment(arg) (IS_S4_OBJECT(arg) && (TYPEOF(arg) == OBJSXP) ? R_getS4DataSlot(arg, ENVSXP) : R_NilValue)
  |  |  ------------------
  |  |  |  |  137|      0|#define OBJSXP      25    /* object, non-vector  */
  |  |  ------------------
  |  |               #define simple_as_environment(arg) (IS_S4_OBJECT(arg) && (TYPEOF(arg) == OBJSXP) ? R_getS4DataSlot(arg, ENVSXP) : R_NilValue)
  |  |  ------------------
  |  |  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  |  |  ------------------
  |  |  |  Branch (2187:37): [True: 0, False: 0]
  |  |  |  Branch (2187:58): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (3285:2): [True: 0, False: 0]
  ------------------
 3286|    158|	if (HASHTAB(env) != R_NilValue)
  ------------------
  |  Branch (3286:6): [True: 158, False: 0]
  ------------------
 3287|    158|	    k += HashTableSize(HASHTAB(env), all);
 3288|      0|	else
 3289|      0|	    k += FrameSize(FRAME(env), all);
 3290|    158|    }
 3291|      0|    else
 3292|      0|	error(_("invalid '%s' argument"), "envir");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "envir");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3293|       |
 3294|       |    /* Step 2 : Allocate and Fill the Result */
 3295|    174|    SEXP ans = PROTECT(allocVector(STRSXP, k));
  ------------------
  |  |  357|    174|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3296|    174|    k = 0;
 3297|    174|    if (env == R_BaseEnv || env == R_BaseNamespace)
  ------------------
  |  Branch (3297:9): [True: 16, False: 158]
  |  Branch (3297:29): [True: 0, False: 158]
  ------------------
 3298|     16|	BuiltinNames(all, 0, ans, &k);
 3299|    158|    else if (isEnvironment(env)) {
  ------------------
  |  |  944|    158|#define isEnvironment		Rf_isEnvironment
  ------------------
  |  Branch (3299:14): [True: 158, False: 0]
  ------------------
 3300|    158|	if (HASHTAB(env) != R_NilValue)
  ------------------
  |  Branch (3300:6): [True: 158, False: 0]
  ------------------
 3301|    158|	    HashTableNames(HASHTAB(env), all, ans, &k);
 3302|      0|	else
 3303|      0|	    FrameNames(FRAME(env), all, ans, &k);
 3304|    158|    }
 3305|       |
 3306|    174|    if(sorted) sortVector(ans, FALSE);
  ------------------
  |  | 1991|      6|# define sortVector		Rf_sortVector
  ------------------
  |  Branch (3306:8): [True: 6, False: 168]
  ------------------
 3307|    174|    UNPROTECT(1);
  ------------------
  |  |  358|    174|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 3308|    174|    return ans;
 3309|    174|}
Rf_envlength:
 3507|     14|TYPE_ NAME_(SEXP rho)							\
 3508|     14|{									\
 3509|     14|    if(IS_USER_DATABASE(rho)) {						\
  ------------------
  |  |  102|     14|#define IS_USER_DATABASE(rho)  (OBJECT((rho)) && inherits((rho), "UserDefinedDatabase"))
  |  |  ------------------
  |  |  |  |  933|      0|#define inherits		Rf_inherits
  |  |  ------------------
  |  |  |  Branch (102:33): [True: 0, False: 14]
  |  |  |  Branch (102:50): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3510|      0|	R_ObjectTable *tb = (R_ObjectTable*) R_ExternalPtrAddr(HASHTAB(rho)); \
 3511|      0|	return LENGTH_FN_(tb->objects(tb));				\
  ------------------
  |  | 3520|      0|R_ENVLENGTH(Rf_envlength,   length, int)
  |  |  ------------------
  |  |  |  |  987|      0|#define length(x)		Rf_length(x)
  |  |  ------------------
  ------------------
 3512|     14|    } else if( HASHTAB(rho) != R_NilValue)				\
  ------------------
  |  Branch (3512:16): [True: 0, False: 14]
  ------------------
 3513|     14|	return HashTableSize(HASHTAB(rho), 1);				\
 3514|     14|    else if (rho == R_BaseEnv || rho == R_BaseNamespace) 		\
  ------------------
  |  Branch (3514:14): [True: 0, False: 14]
  |  Branch (3514:34): [True: 0, False: 14]
  ------------------
 3515|     14|	return BuiltinSize(1, 0);					\
 3516|     14|    else								\
 3517|     14|	return FrameSize(FRAME(rho), 1);				\
 3518|     14|}
do_pos2env:
 3598|  1.10k|{
 3599|  1.10k|    checkArity(op, args);
  ------------------
  |  | 1793|  1.10k|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 3600|  1.10k|    check1arg(args, call, "x");
  ------------------
  |  | 1872|  1.10k|# define check1arg		Rf_check1arg
  ------------------
 3601|       |
 3602|  1.10k|    SEXP pos = CAR(args);
 3603|  1.10k|    if (!isNumeric(pos) || XLENGTH(pos) != 1)
  ------------------
  |  |  957|  1.10k|#define isNumeric		Rf_isNumeric
  ------------------
  |  Branch (3603:9): [True: 0, False: 1.10k]
  |  Branch (3603:28): [True: 0, False: 1.10k]
  ------------------
 3604|      0|	errorcall(call, _("invalid '%s' argument"), "pos");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("invalid '%s' argument"), "pos");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3605|  1.10k|    return pos2env(asInteger(pos), call);
  ------------------
  |  |  885|  1.10k|#define asInteger		Rf_asInteger
  ------------------
 3606|  1.10k|}
do_as_environment:
 3633|  1.13k|{
 3634|  1.13k|    SEXP arg = CAR(args), ans;
 3635|  1.13k|    checkArity(op, args);
  ------------------
  |  | 1793|  1.13k|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 3636|  1.13k|    check1arg(args, call, "x");
  ------------------
  |  | 1872|  1.13k|# define check1arg		Rf_check1arg
  ------------------
 3637|  1.13k|    if(isEnvironment(arg))
  ------------------
  |  |  944|  1.13k|#define isEnvironment		Rf_isEnvironment
  ------------------
  |  Branch (3637:8): [True: 26, False: 1.10k]
  ------------------
 3638|     26|	return arg;
 3639|       |    /* DispatchOrEval internal generic: as.environment */
 3640|  1.10k|    if(isObject(arg) &&
  ------------------
  |  |  959|  1.10k|#define isObject		Rf_isObject
  ------------------
  |  Branch (3640:8): [True: 0, False: 1.10k]
  ------------------
 3641|      0|       DispatchOrEval(call, op, "as.environment", args, rho, &ans, 0, 1))
  ------------------
  |  | 1892|      0|# define DispatchOrEval		Rf_DispatchOrEval
  ------------------
  |  Branch (3641:8): [True: 0, False: 0]
  ------------------
 3642|      0|	return ans;
 3643|  1.10k|    switch(TYPEOF(arg)) {
 3644|      0|    case STRSXP:
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (3644:5): [True: 0, False: 1.10k]
  ------------------
 3645|      0|	return matchEnvir(call, translateChar(asChar(arg)));
  ------------------
  |  | 1037|      0|#define translateChar		Rf_translateChar
  ------------------
              	return matchEnvir(call, translateChar(asChar(arg)));
  ------------------
  |  |  882|      0|#define asChar			Rf_asChar
  ------------------
 3646|    968|    case REALSXP:
  ------------------
  |  |  124|    968|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (3646:5): [True: 968, False: 138]
  ------------------
 3647|  1.10k|    case INTSXP:
  ------------------
  |  |  123|  1.10k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (3647:5): [True: 138, False: 968]
  ------------------
 3648|  1.10k|	return do_pos2env(call, op, args, rho);
 3649|      0|    case NILSXP:
  ------------------
  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (3649:5): [True: 0, False: 1.10k]
  ------------------
 3650|      0|	errorcall(call,_("using 'as.environment(NULL)' is defunct"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call,_("using 'as.environment(NULL)' is defunct"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3651|      0|	return R_BaseEnv;	/* -Wall */
 3652|      0|    case OBJSXP: {
  ------------------
  |  |  137|      0|#define OBJSXP      25    /* object, non-vector  */
  ------------------
  |  Branch (3652:5): [True: 0, False: 1.10k]
  ------------------
 3653|       |	/* dispatch was tried above already */
 3654|      0|	SEXP dot_xData = R_getS4DataSlot(arg, ENVSXP);
  ------------------
  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  ------------------
 3655|      0|	if(!isEnvironment(dot_xData))
  ------------------
  |  |  944|      0|#define isEnvironment		Rf_isEnvironment
  ------------------
  |  Branch (3655:5): [True: 0, False: 0]
  ------------------
 3656|      0|	    errorcall(call, _("S4 object does not extend class \"environment\""));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	    errorcall(call, _("S4 object does not extend class \"environment\""));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3657|      0|	else
 3658|      0|	    return(dot_xData);
 3659|      0|    }
 3660|      0|    case VECSXP: {
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (3660:5): [True: 0, False: 1.10k]
  ------------------
 3661|       |	/* implement as.environment.list() {isObject(.) is false for a list} */
 3662|      0|	SEXP call, val;
 3663|      0|	PROTECT(call = lang4(install("list2env"), arg,
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3664|      0|			     /* envir = */R_NilValue,
 3665|      0|			     /* parent = */R_EmptyEnv));
 3666|      0|	val = eval(call, rho);
  ------------------
  |  |  913|      0|#define eval			Rf_eval
  ------------------
 3667|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 3668|      0|	return val;
 3669|      0|    }
 3670|      0|    default:
  ------------------
  |  Branch (3670:5): [True: 0, False: 1.10k]
  ------------------
 3671|      0|	errorcall(call, _("invalid object for 'as.environment'"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("invalid object for 'as.environment'"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3672|      0|	return R_NilValue;	/* -Wall */
 3673|  1.10k|    }
 3674|  1.10k|}
R_LockEnvironment:
 3677|     48|{
 3678|     48|    if(IS_S4_OBJECT(env) && (TYPEOF(env) == OBJSXP))
  ------------------
  |  |  137|      0|#define OBJSXP      25    /* object, non-vector  */
  ------------------
  |  Branch (3678:8): [True: 0, False: 48]
  |  Branch (3678:29): [True: 0, False: 0]
  ------------------
 3679|      0|	env = R_getS4DataSlot(env, ANYSXP); /* better be an ENVSXP */
  ------------------
  |  |  128|      0|#define ANYSXP	    18	  /* make "any" args work.
  ------------------
 3680|     48|    if (env == R_BaseEnv || env == R_BaseNamespace) {
  ------------------
  |  Branch (3680:9): [True: 2, False: 46]
  |  Branch (3680:29): [True: 2, False: 44]
  ------------------
 3681|      4|	if (bindings) {
  ------------------
  |  Branch (3681:6): [True: 2, False: 2]
  ------------------
 3682|      2|	    SEXP s;
 3683|      2|	    int j;
 3684|  98.3k|	    for (j = 0; j < HSIZE; j++)
  ------------------
  |  | 1174|  98.3k|#define HSIZE	  49157	/* The size of the hash table for symbols */
  ------------------
  |  Branch (3684:18): [True: 98.3k, False: 2]
  ------------------
 3685|   102k|		for (s = R_SymbolTable[j]; s != R_NilValue; s = CDR(s))
  ------------------
  |  Branch (3685:30): [True: 4.15k, False: 98.3k]
  ------------------
 3686|  4.15k|		    if(SYMVALUE(CAR(s)) != R_UnboundValue)
  ------------------
  |  Branch (3686:10): [True: 2.83k, False: 1.32k]
  ------------------
 3687|  2.83k|			LOCK_BINDING(CAR(s));
 3688|      2|	}
 3689|      4|	LOCK_FRAME(env);
  ------------------
  |  |  108|      4|#define LOCK_FRAME(e) SET_ENVFLAGS(e, ENVFLAGS(e) | FRAME_LOCK_MASK)
  |  |  ------------------
  |  |  |  |  106|      4|#define FRAME_LOCK_MASK (1<<14)
  |  |  ------------------
  ------------------
 3690|      4|	return;
 3691|      4|    }
 3692|       |
 3693|     44|    if (TYPEOF(env) != ENVSXP)
  ------------------
  |  |  115|     44|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (3693:9): [True: 0, False: 44]
  ------------------
 3694|      0|	error(_("not an environment"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("not an environment"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3695|     44|    if (bindings) {
  ------------------
  |  Branch (3695:9): [True: 44, False: 0]
  ------------------
 3696|     44|	if (IS_HASHED(env)) {
  ------------------
  |  |  212|     44|#define IS_HASHED(x)	     (HASHTAB(x) != R_NilValue)
  |  |  ------------------
  |  |  |  Branch (212:27): [True: 44, False: 0]
  |  |  ------------------
  ------------------
 3697|     44|	    SEXP table, chain;
 3698|     44|	    int i, size;
 3699|     44|	    table = HASHTAB(env);
 3700|     44|	    size = HASHSIZE(table);
  ------------------
  |  |  205|     44|#define HASHSIZE(x)	     ((int) STDVEC_LENGTH(x))
  ------------------
 3701|  9.49k|	    for (i = 0; i < size; i++)
  ------------------
  |  Branch (3701:18): [True: 9.44k, False: 44]
  ------------------
 3702|  9.44k|		for (chain = VECTOR_ELT(table, i);
 3703|  19.8k|		     chain != R_NilValue;
  ------------------
  |  Branch (3703:8): [True: 10.3k, False: 9.44k]
  ------------------
 3704|  10.3k|		     chain = CDR(chain))
 3705|  10.3k|		    LOCK_BINDING(chain);
 3706|     44|	}
 3707|      0|	else {
 3708|      0|	    SEXP frame;
 3709|      0|	    for (frame = FRAME(env); frame != R_NilValue; frame = CDR(frame))
  ------------------
  |  Branch (3709:31): [True: 0, False: 0]
  ------------------
 3710|      0|		LOCK_BINDING(frame);
 3711|      0|	}
 3712|     44|    }
 3713|     44|    LOCK_FRAME(env);
  ------------------
  |  |  108|     44|#define LOCK_FRAME(e) SET_ENVFLAGS(e, ENVFLAGS(e) | FRAME_LOCK_MASK)
  |  |  ------------------
  |  |  |  |  106|     44|#define FRAME_LOCK_MASK (1<<14)
  |  |  ------------------
  ------------------
 3714|     44|}
R_EnvironmentIsLocked:
 3717|  1.20k|{
 3718|  1.20k|    if (TYPEOF(env) == NILSXP)
  ------------------
  |  |  111|  1.20k|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (3718:9): [True: 0, False: 1.20k]
  ------------------
 3719|      0|	error(_("use of NULL environment is defunct"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("use of NULL environment is defunct"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3720|  1.20k|    if (TYPEOF(env) != ENVSXP &&
  ------------------
  |  |  115|  2.40k|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (3720:9): [True: 0, False: 1.20k]
  ------------------
 3721|      0|	TYPEOF((env = simple_as_environment(env))) != ENVSXP)
  ------------------
  |  | 2187|      0|#define simple_as_environment(arg) (IS_S4_OBJECT(arg) && (TYPEOF(arg) == OBJSXP) ? R_getS4DataSlot(arg, ENVSXP) : R_NilValue)
  |  |  ------------------
  |  |  |  |  137|      0|#define OBJSXP      25    /* object, non-vector  */
  |  |  ------------------
  |  |               #define simple_as_environment(arg) (IS_S4_OBJECT(arg) && (TYPEOF(arg) == OBJSXP) ? R_getS4DataSlot(arg, ENVSXP) : R_NilValue)
  |  |  ------------------
  |  |  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  |  |  ------------------
  |  |  |  Branch (2187:37): [True: 0, False: 0]
  |  |  |  Branch (2187:58): [True: 0, False: 0]
  |  |  ------------------
  ------------------
              	TYPEOF((env = simple_as_environment(env))) != ENVSXP)
  ------------------
  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (3721:2): [True: 0, False: 0]
  ------------------
 3722|      0|	error(_("not an environment"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("not an environment"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3723|  1.20k|    return FRAME_IS_LOCKED(env) != 0;
  ------------------
  |  |  107|  1.20k|#define FRAME_IS_LOCKED(e) (ENVFLAGS(e) & FRAME_LOCK_MASK)
  |  |  ------------------
  |  |  |  |  106|  1.20k|#define FRAME_LOCK_MASK (1<<14)
  |  |  ------------------
  ------------------
 3724|  1.20k|}
do_lockEnv:
 3727|     44|{
 3728|     44|    SEXP frame;
 3729|     44|    Rboolean bindings;
 3730|     44|    checkArity(op, args);
  ------------------
  |  | 1793|     44|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 3731|     44|    frame = CAR(args);
 3732|     44|    bindings = asRbool(CADR(args), call);
  ------------------
  |  | 1866|     44|# define asRbool		Rf_asRbool
  ------------------
 3733|     44|    R_LockEnvironment(frame, bindings);
 3734|     44|    return R_NilValue;
 3735|     44|}
do_envIsLocked:
 3738|     36|{
 3739|     36|    checkArity(op, args);
  ------------------
  |  | 1793|     36|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 3740|     36|    return ScalarLogical(R_EnvironmentIsLocked(CAR(args)));
  ------------------
  |  | 1023|     36|#define ScalarLogical		Rf_ScalarLogical
  ------------------
 3741|     36|}
R_unLockBinding:
 3765|      6|{
 3766|      6|    if (TYPEOF(sym) != SYMSXP)
  ------------------
  |  |  112|      6|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (3766:9): [True: 0, False: 6]
  ------------------
 3767|      0|	error(_("not a symbol"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("not a symbol"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3768|      6|    if (TYPEOF(env) == NILSXP)
  ------------------
  |  |  111|      6|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (3768:9): [True: 0, False: 6]
  ------------------
 3769|      0|	error(_("use of NULL environment is defunct"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("use of NULL environment is defunct"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3770|      6|    if (TYPEOF(env) != ENVSXP &&
  ------------------
  |  |  115|     12|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (3770:9): [True: 0, False: 6]
  ------------------
 3771|      0|	TYPEOF((env = simple_as_environment(env))) != ENVSXP)
  ------------------
  |  | 2187|      0|#define simple_as_environment(arg) (IS_S4_OBJECT(arg) && (TYPEOF(arg) == OBJSXP) ? R_getS4DataSlot(arg, ENVSXP) : R_NilValue)
  |  |  ------------------
  |  |  |  |  137|      0|#define OBJSXP      25    /* object, non-vector  */
  |  |  ------------------
  |  |               #define simple_as_environment(arg) (IS_S4_OBJECT(arg) && (TYPEOF(arg) == OBJSXP) ? R_getS4DataSlot(arg, ENVSXP) : R_NilValue)
  |  |  ------------------
  |  |  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  |  |  ------------------
  |  |  |  Branch (2187:37): [True: 0, False: 0]
  |  |  |  Branch (2187:58): [True: 0, False: 0]
  |  |  ------------------
  ------------------
              	TYPEOF((env = simple_as_environment(env))) != ENVSXP)
  ------------------
  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (3771:2): [True: 0, False: 0]
  ------------------
 3772|      0|	error(_("not an environment"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("not an environment"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3773|      6|    if (env == R_BaseEnv || env == R_BaseNamespace)
  ------------------
  |  Branch (3773:9): [True: 4, False: 2]
  |  Branch (3773:29): [True: 0, False: 2]
  ------------------
 3774|       |	/* It is a symbol, so must have a binding even if it is
 3775|       |	   R_UnboundSymbol */
 3776|      4|	UNLOCK_BINDING(sym);
 3777|      2|    else {
 3778|      2|	SEXP binding = findVarLocInFrame(env, sym, NULL);
 3779|      2|	if (binding == R_NilValue)
  ------------------
  |  Branch (3779:6): [True: 0, False: 2]
  ------------------
 3780|      0|	    error(_("no binding for \"%s\""), EncodeChar(PRINTNAME(sym)));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("no binding for \"%s\""), EncodeChar(PRINTNAME(sym)));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
              	    error(_("no binding for \"%s\""), EncodeChar(PRINTNAME(sym)));
  ------------------
  |  | 1895|      0|# define EncodeChar             Rf_EncodeChar
  ------------------
 3781|      2|	UNLOCK_BINDING(binding);
 3782|      2|    }
 3783|      6|}
R_MakeActiveBinding:
 3812|      4|{
 3813|      4|    if (TYPEOF(sym) != SYMSXP)
  ------------------
  |  |  112|      4|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (3813:9): [True: 0, False: 4]
  ------------------
 3814|      0|	error(_("not a symbol"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("not a symbol"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3815|      4|    if (! isFunction(fun))
  ------------------
  |  |  948|      4|#define isFunction		Rf_isFunction
  ------------------
  |  Branch (3815:9): [True: 0, False: 4]
  ------------------
 3816|      0|	error(_("not a function"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("not a function"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3817|      4|    if (TYPEOF(env) == NILSXP)
  ------------------
  |  |  111|      4|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (3817:9): [True: 0, False: 4]
  ------------------
 3818|      0|	error(_("use of NULL environment is defunct"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("use of NULL environment is defunct"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3819|      4|    if (TYPEOF(env) != ENVSXP &&
  ------------------
  |  |  115|      8|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (3819:9): [True: 0, False: 4]
  ------------------
 3820|      0|	TYPEOF((env = simple_as_environment(env))) != ENVSXP)
  ------------------
  |  | 2187|      0|#define simple_as_environment(arg) (IS_S4_OBJECT(arg) && (TYPEOF(arg) == OBJSXP) ? R_getS4DataSlot(arg, ENVSXP) : R_NilValue)
  |  |  ------------------
  |  |  |  |  137|      0|#define OBJSXP      25    /* object, non-vector  */
  |  |  ------------------
  |  |               #define simple_as_environment(arg) (IS_S4_OBJECT(arg) && (TYPEOF(arg) == OBJSXP) ? R_getS4DataSlot(arg, ENVSXP) : R_NilValue)
  |  |  ------------------
  |  |  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  |  |  ------------------
  |  |  |  Branch (2187:37): [True: 0, False: 0]
  |  |  |  Branch (2187:58): [True: 0, False: 0]
  |  |  ------------------
  ------------------
              	TYPEOF((env = simple_as_environment(env))) != ENVSXP)
  ------------------
  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (3820:2): [True: 0, False: 0]
  ------------------
 3821|      0|	error(_("not an environment"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("not an environment"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3822|      4|    if (env == R_BaseEnv || env == R_BaseNamespace) {
  ------------------
  |  Branch (3822:9): [True: 2, False: 2]
  |  Branch (3822:29): [True: 0, False: 2]
  ------------------
 3823|      2|	if (SYMVALUE(sym) != R_UnboundValue && ! IS_ACTIVE_BINDING(sym))
  ------------------
  |  Branch (3823:6): [True: 0, False: 2]
  |  Branch (3823:41): [True: 0, False: 0]
  ------------------
 3824|      0|	    error(_("symbol already has a regular binding"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("symbol already has a regular binding"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3825|      2|	else if (BINDING_IS_LOCKED(sym))
  ------------------
  |  Branch (3825:11): [True: 0, False: 2]
  ------------------
 3826|      0|	    error(_("cannot change active binding if binding is locked"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("cannot change active binding if binding is locked"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3827|      2|	SET_SYMVALUE(sym, fun);
 3828|      2|	SET_ACTIVE_BINDING_BIT(sym);
 3829|       |	/* we don't need to worry about the global cache here as
 3830|       |	   a regular binding cannot be changed */
 3831|      2|    }
 3832|      2|    else {
 3833|      2|	SEXP binding = findVarLocInFrame(env, sym, NULL);
 3834|      2|	if (binding == R_NilValue) {
  ------------------
  |  Branch (3834:6): [True: 2, False: 0]
  ------------------
 3835|      2|	    defineVar(sym, fun, env); /* fails if env is locked */
  ------------------
  |  |  905|      2|#define defineVar		Rf_defineVar
  ------------------
 3836|      2|	    binding = findVarLocInFrame(env, sym, NULL);
 3837|      2|	    SET_ACTIVE_BINDING_BIT(binding);
 3838|      2|	}
 3839|      0|	else if (! IS_ACTIVE_BINDING(binding))
  ------------------
  |  Branch (3839:11): [True: 0, False: 0]
  ------------------
 3840|      0|	    error(_("symbol already has a regular binding"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("symbol already has a regular binding"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3841|      0|	else if (BINDING_IS_LOCKED(binding))
  ------------------
  |  Branch (3841:11): [True: 0, False: 0]
  ------------------
 3842|      0|	    error(_("cannot change active binding if binding is locked"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("cannot change active binding if binding is locked"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3843|      0|	else
 3844|      0|	    SETCAR(binding, fun);
 3845|      2|    }
 3846|      4|}
R_BindingIsLocked:
 3849|      2|{
 3850|      2|    if (TYPEOF(sym) != SYMSXP)
  ------------------
  |  |  112|      2|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (3850:9): [True: 0, False: 2]
  ------------------
 3851|      0|	error(_("not a symbol"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("not a symbol"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3852|      2|    if (TYPEOF(env) == NILSXP)
  ------------------
  |  |  111|      2|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (3852:9): [True: 0, False: 2]
  ------------------
 3853|      0|	error(_("use of NULL environment is defunct"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("use of NULL environment is defunct"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3854|      2|    if (TYPEOF(env) != ENVSXP &&
  ------------------
  |  |  115|      4|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (3854:9): [True: 0, False: 2]
  ------------------
 3855|      0|	TYPEOF((env = simple_as_environment(env))) != ENVSXP)
  ------------------
  |  | 2187|      0|#define simple_as_environment(arg) (IS_S4_OBJECT(arg) && (TYPEOF(arg) == OBJSXP) ? R_getS4DataSlot(arg, ENVSXP) : R_NilValue)
  |  |  ------------------
  |  |  |  |  137|      0|#define OBJSXP      25    /* object, non-vector  */
  |  |  ------------------
  |  |               #define simple_as_environment(arg) (IS_S4_OBJECT(arg) && (TYPEOF(arg) == OBJSXP) ? R_getS4DataSlot(arg, ENVSXP) : R_NilValue)
  |  |  ------------------
  |  |  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  |  |  ------------------
  |  |  |  Branch (2187:37): [True: 0, False: 0]
  |  |  |  Branch (2187:58): [True: 0, False: 0]
  |  |  ------------------
  ------------------
              	TYPEOF((env = simple_as_environment(env))) != ENVSXP)
  ------------------
  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (3855:2): [True: 0, False: 0]
  ------------------
 3856|      0|	error(_("not an environment"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("not an environment"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3857|      2|    if (env == R_BaseEnv || env == R_BaseNamespace)
  ------------------
  |  Branch (3857:9): [True: 2, False: 0]
  |  Branch (3857:29): [True: 0, False: 0]
  ------------------
 3858|       |	/* It is a symbol, so must have a binding even if it is
 3859|       |	   R_UnboundSymbol */
 3860|      2|	return BINDING_IS_LOCKED(sym) != 0;
 3861|      0|    else {
 3862|      0|	SEXP binding = findVarLocInFrame(env, sym, NULL);
 3863|      0|	if (binding == R_NilValue)
  ------------------
  |  Branch (3863:6): [True: 0, False: 0]
  ------------------
 3864|      0|	    error(_("no binding for \"%s\""), EncodeChar(PRINTNAME(sym)));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("no binding for \"%s\""), EncodeChar(PRINTNAME(sym)));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
              	    error(_("no binding for \"%s\""), EncodeChar(PRINTNAME(sym)));
  ------------------
  |  | 1895|      0|# define EncodeChar             Rf_EncodeChar
  ------------------
 3865|      0|	return BINDING_IS_LOCKED(binding) != 0;
 3866|      0|    }
 3867|      2|}
R_BindingIsActive:
 3870|      2|{
 3871|      2|    if (TYPEOF(sym) != SYMSXP)
  ------------------
  |  |  112|      2|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (3871:9): [True: 0, False: 2]
  ------------------
 3872|      0|	error(_("not a symbol"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("not a symbol"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3873|      2|    if (TYPEOF(env) == NILSXP)
  ------------------
  |  |  111|      2|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (3873:9): [True: 0, False: 2]
  ------------------
 3874|      0|	error(_("use of NULL environment is defunct"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("use of NULL environment is defunct"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3875|      2|    if (TYPEOF(env) != ENVSXP &&
  ------------------
  |  |  115|      4|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (3875:9): [True: 0, False: 2]
  ------------------
 3876|      0|	TYPEOF((env = simple_as_environment(env))) != ENVSXP)
  ------------------
  |  | 2187|      0|#define simple_as_environment(arg) (IS_S4_OBJECT(arg) && (TYPEOF(arg) == OBJSXP) ? R_getS4DataSlot(arg, ENVSXP) : R_NilValue)
  |  |  ------------------
  |  |  |  |  137|      0|#define OBJSXP      25    /* object, non-vector  */
  |  |  ------------------
  |  |               #define simple_as_environment(arg) (IS_S4_OBJECT(arg) && (TYPEOF(arg) == OBJSXP) ? R_getS4DataSlot(arg, ENVSXP) : R_NilValue)
  |  |  ------------------
  |  |  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  |  |  ------------------
  |  |  |  Branch (2187:37): [True: 0, False: 0]
  |  |  |  Branch (2187:58): [True: 0, False: 0]
  |  |  ------------------
  ------------------
              	TYPEOF((env = simple_as_environment(env))) != ENVSXP)
  ------------------
  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (3876:2): [True: 0, False: 0]
  ------------------
 3877|      0|	error(_("not an environment"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("not an environment"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3878|      2|    if (env == R_BaseEnv || env == R_BaseNamespace)
  ------------------
  |  Branch (3878:9): [True: 2, False: 0]
  |  Branch (3878:29): [True: 0, False: 0]
  ------------------
 3879|       |	/* It is a symbol, so must have a binding even if it is
 3880|       |	   R_UnboundSymbol */
 3881|      2|	return IS_ACTIVE_BINDING(sym) != 0;
 3882|      0|    else {
 3883|      0|	SEXP binding = findVarLocInFrame(env, sym, NULL);
 3884|      0|	if (binding == R_NilValue)
  ------------------
  |  Branch (3884:6): [True: 0, False: 0]
  ------------------
 3885|      0|	    error(_("no binding for \"%s\""), EncodeChar(PRINTNAME(sym)));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("no binding for \"%s\""), EncodeChar(PRINTNAME(sym)));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
              	    error(_("no binding for \"%s\""), EncodeChar(PRINTNAME(sym)));
  ------------------
  |  | 1895|      0|# define EncodeChar             Rf_EncodeChar
  ------------------
 3886|      0|	return IS_ACTIVE_BINDING(binding) != 0;
 3887|      0|    }
 3888|      2|}
do_lockBnd:
 4018|      2|{
 4019|      2|    SEXP sym, env;
 4020|      2|    checkArity(op, args);
  ------------------
  |  | 1793|      2|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 4021|      2|    sym = CAR(args);
 4022|      2|    env = CADR(args);
 4023|      2|    switch(PRIMVAL(op)) {
  ------------------
  |  | 1347|      2|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
 4024|      0|    case 0:
  ------------------
  |  Branch (4024:5): [True: 0, False: 2]
  ------------------
 4025|      0|	R_LockBinding(sym, env);
 4026|      0|	break;
 4027|      2|    case 1:
  ------------------
  |  Branch (4027:5): [True: 2, False: 0]
  ------------------
 4028|      2|	R_unLockBinding(sym, env);
 4029|      2|	break;
 4030|      0|    default:
  ------------------
  |  Branch (4030:5): [True: 0, False: 2]
  ------------------
 4031|      0|	error(_("unknown op"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("unknown op"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4032|      2|    }
 4033|      2|    return R_NilValue;
 4034|      2|}
do_mkActiveBnd:
 4046|      4|{
 4047|      4|    SEXP sym, fun, env;
 4048|      4|    checkArity(op, args);
  ------------------
  |  | 1793|      4|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 4049|      4|    sym = CAR(args);
 4050|      4|    fun = CADR(args);
 4051|      4|    env = CADDR(args);
 4052|      4|    R_MakeActiveBinding(sym, fun, env);
 4053|      4|    return R_NilValue;
 4054|      4|}
do_mkUnbound:
 4076|      2|{
 4077|      2|    SEXP sym;
 4078|      2|    checkArity(op, args);
  ------------------
  |  | 1793|      2|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 4079|      2|    sym = CAR(args);
 4080|       |
 4081|      2|    if (TYPEOF(sym) != SYMSXP) error(_("not a symbol"));
  ------------------
  |  |  112|      2|#define SYMSXP	     1	  /* symbols */
  ------------------
                  if (TYPEOF(sym) != SYMSXP) error(_("not a symbol"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  if (TYPEOF(sym) != SYMSXP) error(_("not a symbol"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (4081:9): [True: 0, False: 2]
  ------------------
 4082|       |    /* This is not quite the same as SET_SYMBOL_BINDING_VALUE as it
 4083|       |       does not allow active bindings to be unbound */
 4084|      2|    if (FRAME_IS_LOCKED(R_BaseEnv))
  ------------------
  |  |  107|      2|#define FRAME_IS_LOCKED(e) (ENVFLAGS(e) & FRAME_LOCK_MASK)
  |  |  ------------------
  |  |  |  |  106|      2|#define FRAME_LOCK_MASK (1<<14)
  |  |  ------------------
  |  |  |  Branch (107:28): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 4085|      0|	error(_("cannot remove bindings from a locked environment"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("cannot remove bindings from a locked environment"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4086|      2|    if (R_BindingIsLocked(sym, R_BaseEnv))
  ------------------
  |  Branch (4086:9): [True: 0, False: 2]
  ------------------
 4087|      0|	error(_("cannot unbind a locked binding"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("cannot unbind a locked binding"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4088|      2|    if (R_BindingIsActive(sym, R_BaseEnv))
  ------------------
  |  Branch (4088:9): [True: 0, False: 2]
  ------------------
 4089|      0|	error(_("cannot unbind an active binding"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("cannot unbind an active binding"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4090|      2|    SET_SYMVALUE(sym, R_UnboundValue);
 4091|      2|#ifdef USE_GLOBAL_CACHE
 4092|      2|    R_FlushGlobalCache(sym);
 4093|      2|#endif
 4094|      2|    return R_NilValue;
 4095|      2|}
R_NewEnv:
 4099|    740|{
 4100|    740|    if (hash)
  ------------------
  |  Branch (4100:9): [True: 738, False: 2]
  ------------------
 4101|    738|	return R_NewHashedEnv(enclos, size);
 4102|      2|    else
 4103|      2|	return NewEnvironment(R_NilValue, R_NilValue, enclos);
  ------------------
  |  | 1966|      2|# define NewEnvironment		Rf_NewEnvironment
  ------------------
 4104|    740|}
R_IsPackageEnv:
 4122|  10.5M|{
 4123|  10.5M|    if (TYPEOF(rho) == ENVSXP) {
  ------------------
  |  |  115|  10.5M|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (4123:9): [True: 10.5M, False: 0]
  ------------------
 4124|  10.5M|	SEXP name = getAttrib(rho, R_NameSymbol);
  ------------------
  |  |  924|  10.5M|#define getAttrib		Rf_getAttrib
  ------------------
 4125|  10.5M|	char *packprefix = "package:";
 4126|  10.5M|	size_t pplen = strlen(packprefix);
 4127|  10.5M|	if(isString(name) && length(name) > 0 &&
  ------------------
  |  |  966|  10.5M|#define isString		Rf_isString
  ------------------
              	if(isString(name) && length(name) > 0 &&
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (4127:5): [True: 0, False: 10.5M]
  |  Branch (4127:23): [True: 0, False: 0]
  ------------------
 4128|      0|	   ! strncmp(packprefix, CHAR(STRING_ELT(name, 0)), pplen)) /* ASCII */
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (4128:5): [True: 0, False: 0]
  ------------------
 4129|      0|	    return TRUE;
 4130|  10.5M|	else
 4131|  10.5M|	    return FALSE;
 4132|  10.5M|    }
 4133|      0|    else
 4134|      0|	return FALSE;
 4135|  10.5M|}
R_IsNamespaceEnv:
 4165|  12.6M|{
 4166|  12.6M|    if (rho == R_BaseNamespace)
  ------------------
  |  Branch (4166:9): [True: 1.04M, False: 11.6M]
  ------------------
 4167|  1.04M|	return TRUE;
 4168|  11.6M|    else if (TYPEOF(rho) == ENVSXP) {
  ------------------
  |  |  115|  11.6M|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (4168:14): [True: 10.5M, False: 1.05M]
  ------------------
 4169|  10.5M|	SEXP info = R_findVarInFrame(rho, R_NamespaceSymbol);
 4170|  10.5M|	if (info != R_UnboundValue && TYPEOF(info) == ENVSXP) {
  ------------------
  |  |  115|  17.3k|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (4170:6): [True: 17.3k, False: 10.5M]
  |  Branch (4170:32): [True: 17.3k, False: 0]
  ------------------
 4171|  17.3k|	    PROTECT(info);
  ------------------
  |  |  357|  17.3k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4172|  17.3k|	    SEXP spec = R_findVarInFrame(info, install("spec"));
  ------------------
  |  |  934|  17.3k|#define install			Rf_install
  ------------------
 4173|  17.3k|	    UNPROTECT(1);
  ------------------
  |  |  358|  17.3k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4174|  17.3k|	    if (spec != R_UnboundValue &&
  ------------------
  |  Branch (4174:10): [True: 17.3k, False: 0]
  ------------------
 4175|  17.3k|		TYPEOF(spec) == STRSXP && LENGTH(spec) > 0)
  ------------------
  |  |  126|  34.6k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (4175:3): [True: 17.3k, False: 0]
  |  Branch (4175:29): [True: 17.3k, False: 0]
  ------------------
 4176|  17.3k|		return TRUE;
 4177|      0|	    else
 4178|      0|		return FALSE;
 4179|  17.3k|	}
 4180|  10.5M|	else return FALSE;
 4181|  10.5M|    }
 4182|  1.05M|    else return FALSE;
 4183|  12.6M|}
do_isNSEnv:
 4186|    668|{
 4187|    668|    checkArity(op, args);
  ------------------
  |  | 1793|    668|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 4188|    668|    return R_IsNamespaceEnv(CAR(args)) ? mkTrue() : mkFalse();
  ------------------
  |  | 1965|    668|# define mkTrue			Rf_mkTrue
  ------------------
                  return R_IsNamespaceEnv(CAR(args)) ? mkTrue() : mkFalse();
  ------------------
  |  | 1961|      0|# define mkFalse		Rf_mkFalse
  ------------------
  |  Branch (4188:12): [True: 668, False: 0]
  ------------------
 4189|    668|}
R_NamespaceEnvSpec:
 4192|    732|{
 4193|       |    /* The namespace spec is a character vector that specifies the
 4194|       |       namespace.  The first element is the namespace name.  The
 4195|       |       second element, if present, is the namespace version.  Further
 4196|       |       elements may be added later. */
 4197|    732|    if (rho == R_BaseNamespace)
  ------------------
  |  Branch (4197:9): [True: 8, False: 724]
  ------------------
 4198|      8|	return R_BaseNamespaceName;
 4199|    724|    else if (TYPEOF(rho) == ENVSXP) {
  ------------------
  |  |  115|    724|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (4199:14): [True: 724, False: 0]
  ------------------
 4200|    724|	SEXP info = R_findVarInFrame(rho, R_NamespaceSymbol);
 4201|    724|	if (info != R_UnboundValue && TYPEOF(info) == ENVSXP) {
  ------------------
  |  |  115|    724|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (4201:6): [True: 724, False: 0]
  |  Branch (4201:32): [True: 724, False: 0]
  ------------------
 4202|    724|	    PROTECT(info);
  ------------------
  |  |  357|    724|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4203|    724|	    SEXP spec = R_findVarInFrame(info, install("spec"));
  ------------------
  |  |  934|    724|#define install			Rf_install
  ------------------
 4204|    724|	    UNPROTECT(1);
  ------------------
  |  |  358|    724|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4205|    724|	    if (spec != R_UnboundValue &&
  ------------------
  |  Branch (4205:10): [True: 724, False: 0]
  ------------------
 4206|    724|		TYPEOF(spec) == STRSXP && LENGTH(spec) > 0)
  ------------------
  |  |  126|  1.44k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (4206:3): [True: 724, False: 0]
  |  Branch (4206:29): [True: 724, False: 0]
  ------------------
 4207|    724|		return spec;
 4208|      0|	    else
 4209|      0|		return R_NilValue;
 4210|    724|	}
 4211|      0|	else return R_NilValue;
 4212|    724|    }
 4213|      0|    else return R_NilValue;
 4214|    732|}
R_FindNamespace:
 4217|     19|{
 4218|     19|    SEXP expr, val;
 4219|     19|    PROTECT(info);
  ------------------
  |  |  357|     19|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4220|     19|    SEXP s_getNamespace = install("getNamespace");
  ------------------
  |  |  934|     19|#define install			Rf_install
  ------------------
 4221|     19|    PROTECT(expr = LCONS(s_getNamespace, LCONS(info, R_NilValue)));
  ------------------
  |  |  357|     19|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4222|     19|    val = eval(expr, R_BaseEnv);
  ------------------
  |  |  913|     19|#define eval			Rf_eval
  ------------------
 4223|     19|    UNPROTECT(2);
  ------------------
  |  |  358|     19|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4224|     19|    return val;
 4225|     19|}
do_regNS:
 4246|     14|{
 4247|     14|    SEXP name, val;
 4248|     14|    checkArity(op, args);
  ------------------
  |  | 1793|     14|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 4249|     14|    name = checkNSname(call, CAR(args));
 4250|     14|    val = CADR(args);
 4251|     14|    if (R_findVarInFrame(R_NamespaceRegistry, name) != R_UnboundValue)
  ------------------
  |  Branch (4251:9): [True: 0, False: 14]
  ------------------
 4252|      0|	errorcall(call, _("namespace already registered"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("namespace already registered"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4253|     14|    defineVar(name, val, R_NamespaceRegistry);
  ------------------
  |  |  905|     14|#define defineVar		Rf_defineVar
  ------------------
 4254|     14|    return R_NilValue;
 4255|     14|}
do_getRegNS:
 4277|  1.10k|{
 4278|  1.10k|    checkArity(op, args);
  ------------------
  |  | 1793|  1.10k|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 4279|  1.10k|    SEXP name = checkNSname(call, PROTECT(coerceVector(CAR(args), SYMSXP)));
  ------------------
  |  |  357|  1.10k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4280|  1.10k|    UNPROTECT(1);
  ------------------
  |  |  358|  1.10k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4281|  1.10k|    SEXP val = R_findVarInFrame(R_NamespaceRegistry, name);
 4282|       |
 4283|  1.10k|    switch(PRIMVAL(op)) {
  ------------------
  |  | 1347|  1.10k|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
 4284|  1.09k|    case 0: // get..()
  ------------------
  |  Branch (4284:5): [True: 1.09k, False: 12]
  ------------------
 4285|  1.09k|	if (val == R_UnboundValue)
  ------------------
  |  Branch (4285:6): [True: 16, False: 1.07k]
  ------------------
 4286|     16|	    return R_NilValue;
 4287|  1.07k|	else
 4288|  1.07k|	    return val;
 4289|     12|    case 1: // is..()
  ------------------
  |  Branch (4289:5): [True: 12, False: 1.09k]
  ------------------
 4290|     12|	return ScalarLogical(val == R_UnboundValue ? FALSE : TRUE);
  ------------------
  |  | 1023|     12|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  |  Branch (4290:23): [True: 12, False: 0]
  ------------------
 4291|       |
 4292|      0|    default: error(_("unknown op"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  default: error(_("unknown op"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (4292:5): [True: 0, False: 1.10k]
  ------------------
 4293|  1.10k|    }
 4294|      0|    return R_NilValue; // -Wall
 4295|  1.10k|}
R_getNSValue:
 4359|  1.05M|{
 4360|  1.05M|    static SEXP R_loadNamespaceSymbol = NULL;
 4361|  1.05M|    static SEXP R_exportsSymbol = NULL;
 4362|  1.05M|    static SEXP R_lazydataSymbol = NULL;
 4363|  1.05M|    static SEXP R_getNamespaceNameSymbol = NULL;
 4364|  1.05M|    if (R_loadNamespaceSymbol == NULL) {
  ------------------
  |  Branch (4364:9): [True: 2, False: 1.05M]
  ------------------
 4365|      2|	R_loadNamespaceSymbol = install("loadNamespace");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 4366|      2|	R_exportsSymbol = install("exports");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 4367|      2|	R_lazydataSymbol = install("lazydata");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 4368|      2|	R_getNamespaceNameSymbol = install("getNamespaceName");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 4369|      2|    }
 4370|       |
 4371|  1.05M|    if (R_IsNamespaceEnv(ns))
  ------------------
  |  Branch (4371:9): [True: 0, False: 1.05M]
  ------------------
 4372|      0|	PROTECT(ns);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4373|  1.05M|    else {
 4374|  1.05M|	SEXP pkg = checkNSname(call, ns);
 4375|  1.05M|	ns = R_findVarInFrame(R_NamespaceRegistry, pkg);
 4376|  1.05M|	if (ns == R_UnboundValue)
  ------------------
  |  Branch (4376:6): [True: 0, False: 1.05M]
  ------------------
 4377|      0|	    ns = callR1(R_loadNamespaceSymbol, pkg);
 4378|  1.05M|	PROTECT(ns);
  ------------------
  |  |  357|  1.05M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4379|  1.05M|	if (! R_IsNamespaceEnv(ns))
  ------------------
  |  Branch (4379:6): [True: 0, False: 1.05M]
  ------------------
 4380|      0|	    errorcall(call, _("bad namespace"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	    errorcall(call, _("bad namespace"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4381|  1.05M|    }
 4382|       |
 4383|  1.05M|    name = checkVarName(call, name);
 4384|       |
 4385|  1.05M|    SEXP val;
 4386|       |
 4387|       |    /* base or non-exported variables */
 4388|  1.05M|    if (ns == R_BaseNamespace || ! exported) {
  ------------------
  |  Branch (4388:9): [True: 1.04M, False: 1.29k]
  |  Branch (4388:34): [True: 16, False: 1.27k]
  ------------------
 4389|  1.04M|	val = getVarValInFrame(ns, name, FALSE);
 4390|  1.04M|	UNPROTECT(1); /* ns */
  ------------------
  |  |  358|  1.04M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4391|  1.04M|	return val;
 4392|  1.04M|    }
 4393|       |
 4394|       |    /* exported variables */
 4395|  1.27k|    SEXP info = PROTECT(getVarValInFrame(ns, R_NamespaceSymbol, FALSE));
  ------------------
  |  |  357|  1.27k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4396|  1.27k|    SEXP exports = PROTECT(getVarValInFrame(info, R_exportsSymbol, FALSE));
  ------------------
  |  |  357|  1.27k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4397|  1.27k|    SEXP exportName = PROTECT(getVarValInFrame(exports, name, TRUE));
  ------------------
  |  |  357|  1.27k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4398|  1.27k|    if (exportName != R_UnboundValue) {
  ------------------
  |  Branch (4398:9): [True: 1.27k, False: 0]
  ------------------
 4399|  1.27k|	val = eval(checkVarName(call, exportName), ns);
  ------------------
  |  |  913|  1.27k|#define eval			Rf_eval
  ------------------
 4400|  1.27k|	UNPROTECT(4);  /* ns, info, exports, exportName */
  ------------------
  |  |  358|  1.27k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4401|  1.27k|	return val;
 4402|  1.27k|    }
 4403|       |
 4404|       |    /* lazydata */
 4405|      0|    SEXP ld = PROTECT(getVarValInFrame(info, R_lazydataSymbol, FALSE));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4406|      0|    val = getVarValInFrame(ld, name, TRUE);
 4407|      0|    if (val != R_UnboundValue) {
  ------------------
  |  Branch (4407:9): [True: 0, False: 0]
  ------------------
 4408|      0|	UNPROTECT(5); /* ns, info, exports, exportName, ld */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4409|      0|	return val;
 4410|      0|    }
 4411|       |
 4412|      0|    SEXP nsname = PROTECT(callR1(R_getNamespaceNameSymbol, ns));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4413|      0|    if (TYPEOF(nsname) != STRSXP || LENGTH(nsname) != 1)
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (4413:9): [True: 0, False: 0]
  |  Branch (4413:37): [True: 0, False: 0]
  ------------------
 4414|      0|	errorcall(call, "bad value returned by `getNamespaceName'");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
 4415|      0|    errorcall_cpy(call,
  ------------------
  |  | 1901|      0|# define errorcall_cpy		Rf_errorcall_cpy
  ------------------
 4416|      0|		  _("'%s' is not an exported object from 'namespace:%s'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4417|      0|		  EncodeChar(PRINTNAME(name)),
  ------------------
  |  | 1895|      0|# define EncodeChar             Rf_EncodeChar
  ------------------
 4418|      0|		  CHAR(STRING_ELT(nsname, 0)));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 4419|       |    return NULL; /* not reached */
 4420|      0|}
do_colon2:
 4434|  1.05M|{
 4435|  1.05M|    checkArity(op, args);
  ------------------
  |  | 1793|  1.05M|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 4436|       |    /* use R_NilValue for the call to avoid changing the error message */
 4437|  1.05M|    return R_getNSValue(R_NilValue, CAR(args), CADR(args), TRUE);
 4438|  1.05M|}
do_colon3:
 4442|     16|{
 4443|     16|    checkArity(op, args);
  ------------------
  |  | 1793|     16|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 4444|     16|    return R_getNSValue(call, CAR(args), CADR(args), FALSE);
 4445|     16|}
do_importIntoEnv:
 4448|     40|{
 4449|       |    /* This function copies values of variables from one environment
 4450|       |       to another environment, possibly with different names.
 4451|       |       Promises are not forced and active bindings are preserved. */
 4452|     40|    SEXP impenv, impnames, expenv, expnames;
 4453|     40|    SEXP impsym, expsym, val;
 4454|     40|    int i, n;
 4455|       |
 4456|     40|    checkArity(op, args);
  ------------------
  |  | 1793|     40|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 4457|       |
 4458|     40|    impenv = CAR(args); args = CDR(args);
 4459|     40|    impnames = CAR(args); args = CDR(args);
 4460|     40|    expenv = CAR(args); args = CDR(args);
 4461|     40|    expnames = CAR(args); args = CDR(args);
 4462|       |
 4463|     40|    if (TYPEOF(impenv) == NILSXP)
  ------------------
  |  |  111|     40|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (4463:9): [True: 0, False: 40]
  ------------------
 4464|      0|	error(_("use of NULL environment is defunct"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("use of NULL environment is defunct"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4465|     40|    if (TYPEOF(impenv) != ENVSXP &&
  ------------------
  |  |  115|     80|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (4465:9): [True: 0, False: 40]
  ------------------
 4466|      0|	TYPEOF((impenv = simple_as_environment(impenv))) != ENVSXP)
  ------------------
  |  | 2187|      0|#define simple_as_environment(arg) (IS_S4_OBJECT(arg) && (TYPEOF(arg) == OBJSXP) ? R_getS4DataSlot(arg, ENVSXP) : R_NilValue)
  |  |  ------------------
  |  |  |  |  137|      0|#define OBJSXP      25    /* object, non-vector  */
  |  |  ------------------
  |  |               #define simple_as_environment(arg) (IS_S4_OBJECT(arg) && (TYPEOF(arg) == OBJSXP) ? R_getS4DataSlot(arg, ENVSXP) : R_NilValue)
  |  |  ------------------
  |  |  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  |  |  ------------------
  |  |  |  Branch (2187:37): [True: 0, False: 0]
  |  |  |  Branch (2187:58): [True: 0, False: 0]
  |  |  ------------------
  ------------------
              	TYPEOF((impenv = simple_as_environment(impenv))) != ENVSXP)
  ------------------
  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (4466:2): [True: 0, False: 0]
  ------------------
 4467|      0|	error(_("bad import environment argument"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("bad import environment argument"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4468|     40|    if (TYPEOF(expenv) == NILSXP)
  ------------------
  |  |  111|     40|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (4468:9): [True: 0, False: 40]
  ------------------
 4469|      0|	error(_("use of NULL environment is defunct"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("use of NULL environment is defunct"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4470|     40|    if (TYPEOF(expenv) != ENVSXP &&
  ------------------
  |  |  115|     80|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (4470:9): [True: 0, False: 40]
  ------------------
 4471|      0|	TYPEOF((expenv = simple_as_environment(expenv))) != ENVSXP)
  ------------------
  |  | 2187|      0|#define simple_as_environment(arg) (IS_S4_OBJECT(arg) && (TYPEOF(arg) == OBJSXP) ? R_getS4DataSlot(arg, ENVSXP) : R_NilValue)
  |  |  ------------------
  |  |  |  |  137|      0|#define OBJSXP      25    /* object, non-vector  */
  |  |  ------------------
  |  |               #define simple_as_environment(arg) (IS_S4_OBJECT(arg) && (TYPEOF(arg) == OBJSXP) ? R_getS4DataSlot(arg, ENVSXP) : R_NilValue)
  |  |  ------------------
  |  |  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  |  |  ------------------
  |  |  |  Branch (2187:37): [True: 0, False: 0]
  |  |  |  Branch (2187:58): [True: 0, False: 0]
  |  |  ------------------
  ------------------
              	TYPEOF((expenv = simple_as_environment(expenv))) != ENVSXP)
  ------------------
  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (4471:2): [True: 0, False: 0]
  ------------------
 4472|      0|	error(_("bad export environment argument"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("bad export environment argument"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4473|     40|    if (TYPEOF(impnames) != STRSXP || TYPEOF(expnames) != STRSXP)
  ------------------
  |  |  126|     80|#define STRSXP	    16	  /* string vectors */
  ------------------
                  if (TYPEOF(impnames) != STRSXP || TYPEOF(expnames) != STRSXP)
  ------------------
  |  |  126|     40|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (4473:9): [True: 0, False: 40]
  |  Branch (4473:39): [True: 0, False: 40]
  ------------------
 4474|      0|	error(_("invalid '%s' argument"), "names");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "names");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4475|     40|    if (LENGTH(impnames) != LENGTH(expnames))
  ------------------
  |  Branch (4475:9): [True: 0, False: 40]
  ------------------
 4476|      0|	error(_("length of import and export names must match"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("length of import and export names must match"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4477|       |
 4478|     40|    n = LENGTH(impnames);
 4479|  4.15k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (4479:17): [True: 4.11k, False: 40]
  ------------------
 4480|  4.11k|	impsym = installTrChar(STRING_ELT(impnames, i));
  ------------------
  |  |  937|  4.11k|#define installTrChar		Rf_installTrChar
  ------------------
 4481|  4.11k|	expsym = installTrChar(STRING_ELT(expnames, i));
  ------------------
  |  |  937|  4.11k|#define installTrChar		Rf_installTrChar
  ------------------
 4482|       |
 4483|       |	/* find the binding--may be a CONS cell or a symbol */
 4484|  4.11k|	SEXP binding = R_NilValue;
 4485|  4.11k|	for (SEXP env = expenv;
 4486|  8.22k|	     env != R_EmptyEnv && binding == R_NilValue;
  ------------------
  |  Branch (4486:7): [True: 8.22k, False: 0]
  |  Branch (4486:28): [True: 4.11k, False: 4.11k]
  ------------------
 4487|  4.11k|	     env = ENCLOS(env))
 4488|  4.11k|	    if (env == R_BaseNamespace) {
  ------------------
  |  Branch (4488:10): [True: 4, False: 4.11k]
  ------------------
 4489|      4|		if (SYMVALUE(expsym) != R_UnboundValue)
  ------------------
  |  Branch (4489:7): [True: 4, False: 0]
  ------------------
 4490|      4|		    binding = expsym;
 4491|      4|	    } else
 4492|  4.11k|		binding = findVarLocInFrame(env, expsym, NULL);
 4493|  4.11k|	if (binding == R_NilValue)
  ------------------
  |  Branch (4493:6): [True: 0, False: 4.11k]
  ------------------
 4494|      0|	    binding = expsym;
 4495|       |
 4496|       |	/* get value of the binding; do not force promises */
 4497|  4.11k|	if (TYPEOF(binding) == SYMSXP) {
  ------------------
  |  |  112|  4.11k|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (4497:6): [True: 4, False: 4.10k]
  ------------------
 4498|      4|	    if (SYMVALUE(expsym) == R_UnboundValue)
  ------------------
  |  Branch (4498:10): [True: 0, False: 4]
  ------------------
 4499|      0|		error(_("exported symbol '%s' has no value"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("exported symbol '%s' has no value"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4500|      0|		      CHAR(PRINTNAME(expsym)));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 4501|      4|	    val = SYMVALUE(expsym);
 4502|      4|	}
 4503|  4.10k|	else val = CAR(binding);
 4504|       |
 4505|       |	/* import the binding */
 4506|  4.11k|	if (IS_ACTIVE_BINDING(binding))
  ------------------
  |  Branch (4506:6): [True: 0, False: 4.11k]
  ------------------
 4507|      0|	    R_MakeActiveBinding(impsym, val, impenv);
 4508|       |	/* This is just a tiny optimization */
 4509|  4.11k|	else if (impenv == R_BaseNamespace || impenv == R_BaseEnv)
  ------------------
  |  Branch (4509:11): [True: 0, False: 4.11k]
  |  Branch (4509:40): [True: 0, False: 4.11k]
  ------------------
 4510|      0|	    gsetVar(impsym, val, impenv);
  ------------------
  |  |  932|      0|#define gsetVar			Rf_gsetVar
  ------------------
 4511|  4.11k|	else
 4512|  4.11k|	    defineVar(impsym, val, impenv);
  ------------------
  |  |  905|  4.11k|#define defineVar		Rf_defineVar
  ------------------
 4513|  4.11k|    }
 4514|     40|    return R_NilValue;
 4515|     40|}
Rf_mkCharCE:
 4537|   798k|{
 4538|   798k|    size_t len =  strlen(name);
 4539|   798k|    if (len > INT_MAX)
  ------------------
  |  Branch (4539:9): [True: 0, False: 798k]
  ------------------
 4540|      0|	error("R character strings are limited to 2^31-1 bytes");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 4541|   798k|   return mkCharLenCE(name, (int) len, enc);
  ------------------
  |  | 1001|   798k|#define mkCharLenCE		Rf_mkCharLenCE
  ------------------
 4542|   798k|}
Rf_mkChar:
 4551|  1.67M|{
 4552|  1.67M|    size_t len =  strlen(name);
 4553|  1.67M|    if (len > INT_MAX)
  ------------------
  |  Branch (4553:9): [True: 0, False: 1.67M]
  ------------------
 4554|      0|	error("R character strings are limited to 2^31-1 bytes");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 4555|  1.67M|    return mkCharLenCE(name, (int) len, CE_NATIVE);
  ------------------
  |  | 1001|  1.67M|#define mkCharLenCE		Rf_mkCharLenCE
  ------------------
 4556|  1.67M|}
Rf_InitStringHash:
 4600|      2|{
 4601|      2|    R_StringHash = R_NewHashTable(char_hash_size);
 4602|      2|}
Rf_mkCharLenCE:
 4731|  2.60M|{
 4732|  2.60M|    SEXP cval, chain;
 4733|  2.60M|    unsigned int hashcode;
 4734|  2.60M|    int need_enc;
 4735|  2.60M|    Rboolean embedNul = FALSE, is_ascii = TRUE;
 4736|  2.60M|    static int checkValid = -1;
 4737|  2.60M|    static int actionWhenInvalid = 0;
 4738|       |
 4739|  2.60M|    switch(enc){
 4740|  2.60M|    case CE_NATIVE:
  ------------------
  |  Branch (4740:5): [True: 2.60M, False: 0]
  ------------------
 4741|  2.60M|    case CE_UTF8:
  ------------------
  |  Branch (4741:5): [True: 0, False: 2.60M]
  ------------------
 4742|  2.60M|    case CE_LATIN1:
  ------------------
  |  Branch (4742:5): [True: 0, False: 2.60M]
  ------------------
 4743|  2.60M|    case CE_BYTES:
  ------------------
  |  Branch (4743:5): [True: 0, False: 2.60M]
  ------------------
 4744|  2.60M|    case CE_SYMBOL:
  ------------------
  |  Branch (4744:5): [True: 0, False: 2.60M]
  ------------------
 4745|  2.60M|    case CE_ANY:
  ------------------
  |  Branch (4745:5): [True: 0, False: 2.60M]
  ------------------
 4746|  2.60M|	break;
 4747|      0|    default:
  ------------------
  |  Branch (4747:5): [True: 0, False: 2.60M]
  ------------------
 4748|      0|	error(_("unknown encoding: %d"), enc);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("unknown encoding: %d"), enc);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4749|  2.60M|    }
 4750|  63.1M|    for (int slen = 0; slen < len; slen++) {
  ------------------
  |  Branch (4750:24): [True: 60.5M, False: 2.60M]
  ------------------
 4751|  60.5M|	if ((unsigned int) name[slen] > 127) is_ascii = FALSE;
  ------------------
  |  Branch (4751:6): [True: 88.4k, False: 60.4M]
  ------------------
 4752|  60.5M|	if (!name[slen]) embedNul = TRUE;
  ------------------
  |  Branch (4752:6): [True: 0, False: 60.5M]
  ------------------
 4753|  60.5M|    }
 4754|  2.60M|    if (embedNul) {
  ------------------
  |  Branch (4754:9): [True: 0, False: 2.60M]
  ------------------
 4755|      0|	SEXP c;
 4756|       |	/* This is tricky: we want to make a reasonable job of
 4757|       |	   representing this string, and EncodeString() is the most
 4758|       |	   comprehensive.  It may translate c, and the R_alloc() that
 4759|       |	   involves can run the GC, so c must be protected: the error
 4760|       |	   unwind pops from the PROTECT stack. */
 4761|      0|	PROTECT(c = allocCharsxp(len));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4762|      0|	if (len) memcpy(CHAR_RW(c), name, len);
  ------------------
  |  |  930|      0|#define CHAR_RW(x)	((char *) CHAR(x))
  |  |  ------------------
  |  |  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  |  |  ------------------
  ------------------
  |  Branch (4762:6): [True: 0, False: 0]
  ------------------
 4763|      0|	switch(enc) {
 4764|      0|	case CE_UTF8: SET_UTF8(c); break;
  ------------------
  |  Branch (4764:2): [True: 0, False: 0]
  ------------------
 4765|      0|	case CE_LATIN1: SET_LATIN1(c); break;
  ------------------
  |  Branch (4765:2): [True: 0, False: 0]
  ------------------
 4766|      0|	case CE_BYTES: SET_BYTES(c); break;
  ------------------
  |  Branch (4766:2): [True: 0, False: 0]
  ------------------
 4767|      0|	default: break;
  ------------------
  |  Branch (4767:2): [True: 0, False: 0]
  ------------------
 4768|      0|	}
 4769|      0|	if (is_ascii) SET_ASCII(c);
  ------------------
  |  Branch (4769:6): [True: 0, False: 0]
  ------------------
 4770|      0|	error(_("embedded nul in string: '%s'"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("embedded nul in string: '%s'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4771|      0|	      EncodeString(c, 0, 0, Rprt_adj_none));
  ------------------
  |  | 1898|      0|# define EncodeString           Rf_EncodeString
  ------------------
 4772|      0|    }
 4773|       |
 4774|  2.60M|    if (enc && is_ascii) enc = CE_NATIVE;
  ------------------
  |  Branch (4774:9): [True: 0, False: 2.60M]
  |  Branch (4774:16): [True: 0, False: 0]
  ------------------
 4775|  2.60M|    switch(enc) {
 4776|      0|    case CE_UTF8: need_enc = UTF8_MASK; break;
  ------------------
  |  |  935|      0|#define UTF8_MASK (1<<3)
  ------------------
  |  Branch (4776:5): [True: 0, False: 2.60M]
  ------------------
 4777|      0|    case CE_LATIN1: need_enc = LATIN1_MASK; break;
  ------------------
  |  |  934|      0|#define LATIN1_MASK (1<<2)
  ------------------
  |  Branch (4777:5): [True: 0, False: 2.60M]
  ------------------
 4778|      0|    case CE_BYTES: need_enc = BYTES_MASK; break;
  ------------------
  |  |  933|      0|#define BYTES_MASK (1<<1)
  ------------------
  |  Branch (4778:5): [True: 0, False: 2.60M]
  ------------------
 4779|  2.60M|    default: need_enc = 0;
  ------------------
  |  Branch (4779:5): [True: 2.60M, False: 0]
  ------------------
 4780|  2.60M|    }
 4781|       |
 4782|  2.60M|    hashcode = char_hash(name, len) & char_hash_mask;
 4783|       |
 4784|       |    /* Search for a cached value */
 4785|  2.60M|    cval = R_NilValue;
 4786|  2.60M|    chain = VECTOR_ELT(R_StringHash, hashcode);
 4787|  2.72M|    for (; !ISNULL(chain) ; chain = CXTAIL(chain)) {
  ------------------
  |  |  176|  2.72M|#define ISNULL(x) ((x) == R_NilValue)
  ------------------
                  for (; !ISNULL(chain) ; chain = CXTAIL(chain)) {
  ------------------
  |  |  972|   113k|# define CXTAIL(x) ATTRIB(x)
  ------------------
  |  Branch (4787:12): [True: 2.65M, False: 69.4k]
  ------------------
 4788|  2.65M|	SEXP val = CXHEAD(chain);
  ------------------
  |  |  971|  2.65M|# define CXHEAD(x) (x)
  ------------------
 4789|  2.65M|	if (TYPEOF(val) != CHARSXP) break; /* sanity check */
  ------------------
  |  |  120|  2.65M|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  ------------------
  |  Branch (4789:6): [True: 0, False: 2.65M]
  ------------------
 4790|  2.65M|	if (need_enc == (ENC_KNOWN(val) | IS_BYTES(val)) &&
  ------------------
  |  Branch (4790:6): [True: 2.65M, False: 0]
  ------------------
 4791|  2.65M|	    LENGTH(val) == len &&  /* quick pretest */
  ------------------
  |  Branch (4791:6): [True: 2.54M, False: 110k]
  ------------------
 4792|  2.54M|	    (!len || (memcmp(CHAR(val), name, len) == 0))) { // called with len = 0
  ------------------
  |  |  203|  2.25M|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (4792:7): [True: 286k, False: 2.25M]
  |  Branch (4792:15): [True: 2.25M, False: 3.07k]
  ------------------
 4793|  2.53M|	    cval = val;
 4794|  2.53M|	    break;
 4795|  2.53M|	}
 4796|  2.65M|    }
 4797|  2.60M|    if (cval == R_NilValue) {
  ------------------
  |  Branch (4797:9): [True: 69.4k, False: 2.53M]
  ------------------
 4798|       |	/* no cached value; need to allocate one and add to the cache */
 4799|  69.4k|	PROTECT(cval = allocCharsxp(len));
  ------------------
  |  |  357|  69.4k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4800|  69.4k|	if (len) memcpy(CHAR_RW(cval), name, len);
  ------------------
  |  |  930|  69.4k|#define CHAR_RW(x)	((char *) CHAR(x))
  |  |  ------------------
  |  |  |  |  203|  69.4k|#define CHAR(x) R_CHAR(x)
  |  |  ------------------
  ------------------
  |  Branch (4800:6): [True: 69.4k, False: 2]
  ------------------
 4801|  69.4k|	switch(enc) {
 4802|  69.4k|	case CE_NATIVE:
  ------------------
  |  Branch (4802:2): [True: 69.4k, False: 0]
  ------------------
 4803|  69.4k|	    break;          /* don't set encoding */
 4804|      0|	case CE_UTF8:
  ------------------
  |  Branch (4804:2): [True: 0, False: 69.4k]
  ------------------
 4805|      0|	    SET_UTF8(cval);
 4806|      0|	    break;
 4807|      0|	case CE_LATIN1:
  ------------------
  |  Branch (4807:2): [True: 0, False: 69.4k]
  ------------------
 4808|      0|	    SET_LATIN1(cval);
 4809|      0|	    break;
 4810|      0|	case CE_BYTES:
  ------------------
  |  Branch (4810:2): [True: 0, False: 69.4k]
  ------------------
 4811|      0|	    SET_BYTES(cval);
 4812|      0|	    break;
 4813|      0|	default:
  ------------------
  |  Branch (4813:2): [True: 0, False: 69.4k]
  ------------------
 4814|      0|	    error("unknown encoding mask: %d", enc);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 4815|  69.4k|	}
 4816|  69.4k|	if (is_ascii) SET_ASCII(cval);
  ------------------
  |  Branch (4816:6): [True: 67.9k, False: 1.57k]
  ------------------
 4817|  69.4k|	SET_CACHED(cval);  /* Mark it */
 4818|       |	/* add the new value to the cache */
 4819|  69.4k|	chain = VECTOR_ELT(R_StringHash, hashcode);
 4820|  69.4k|	if (ISNULL(chain))
  ------------------
  |  |  176|  69.4k|#define ISNULL(x) ((x) == R_NilValue)
  |  |  ------------------
  |  |  |  Branch (176:19): [True: 61.5k, False: 7.89k]
  |  |  ------------------
  ------------------
 4821|  61.5k|	    SET_HASHPRI(R_StringHash, HASHPRI(R_StringHash) + 1);
  ------------------
  |  |  209|  61.5k|#define SET_HASHPRI(x,v)     SET_TRUELENGTH(x,v)
  ------------------
 4822|       |	/* this is a destructive modification */
 4823|  69.4k|	chain = SET_CXTAIL(cval, chain);
 4824|  69.4k|	SET_VECTOR_ELT(R_StringHash, hashcode, chain);
 4825|       |
 4826|       |	/* resize the hash table if necessary with the new entry still
 4827|       |	   protected.
 4828|       |	   Maximum possible power of two is 2^30 for a VECSXP.
 4829|       |	   FIXME: this has changed with long vectors.
 4830|       |	*/
 4831|  69.4k|	if (R_HashSizeCheck(R_StringHash)
  ------------------
  |  Branch (4831:6): [True: 0, False: 69.4k]
  ------------------
 4832|      0|	    && char_hash_size < 1073741824 /* 2^30 */)
  ------------------
  |  Branch (4832:9): [True: 0, False: 0]
  ------------------
 4833|      0|	    R_StringHash_resize(char_hash_size * 2);
 4834|       |
 4835|  69.4k|	if (checkValid && !IS_ASCII(cval)) {
  ------------------
  |  Branch (4835:6): [True: 18.4k, False: 51.0k]
  |  Branch (4835:20): [True: 1, False: 18.4k]
  ------------------
 4836|      1|	    if (checkValid == -1) {
  ------------------
  |  Branch (4836:10): [True: 1, False: 0]
  ------------------
 4837|      1|		checkValid = 0;
 4838|       |		/* _R_CHECK_STRING_VALIDITY_ = XY (decimal)
 4839|       |
 4840|       |		   Y = 0 ... no checks
 4841|       |		   Y = 1 ... check marked strings
 4842|       |		   Y = 2 ... check also native strings
 4843|       |
 4844|       |		   X = 0 ... just print
 4845|       |		   X = 1 ... print + issue a warning
 4846|       |		   X = 2 ... print + throw R error
 4847|       |		   X = 3 ... print + abort R
 4848|       |
 4849|       |		   This is experimental and will be likely changed or
 4850|       |		   removed.
 4851|       |		*/
 4852|      1|		const char *p = getenv("_R_CHECK_STRING_VALIDITY_");
 4853|      1|		if (p) {
  ------------------
  |  Branch (4853:7): [True: 0, False: 1]
  ------------------
 4854|      0|		    checkValid = atoi(p);
 4855|      0|		    actionWhenInvalid = checkValid / 10;
 4856|      0|		    checkValid -= actionWhenInvalid * 10;
 4857|       |
 4858|      0|		    if (checkValid < 0 || checkValid > 2) {
  ------------------
  |  Branch (4858:11): [True: 0, False: 0]
  |  Branch (4858:29): [True: 0, False: 0]
  ------------------
 4859|      0|			checkValid = 0;
 4860|      0|			actionWhenInvalid = 0;
 4861|      0|		    }
 4862|      0|		    if (actionWhenInvalid < 0 || actionWhenInvalid > 3)
  ------------------
  |  Branch (4862:11): [True: 0, False: 0]
  |  Branch (4862:36): [True: 0, False: 0]
  ------------------
 4863|      0|			actionWhenInvalid = 0;
 4864|      0|		}
 4865|      1|	    }
 4866|      1|	    if (checkValid >= 1) {
  ------------------
  |  Branch (4866:10): [True: 0, False: 1]
  ------------------
 4867|       |		/* check strings flagged UTF-8 and latin1 */
 4868|      0|		if (IS_UTF8(cval)) {
  ------------------
  |  Branch (4868:7): [True: 0, False: 0]
  ------------------
 4869|      0|		    if (!utf8Valid(CHAR(cval)))
  ------------------
  |  | 2016|      0|# define utf8Valid		Rf_utf8Valid
  ------------------
              		    if (!utf8Valid(CHAR(cval)))
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (4869:11): [True: 0, False: 0]
  ------------------
 4870|      0|			reportInvalidString(cval, actionWhenInvalid);
 4871|      0|		    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4872|      0|		    return cval;
 4873|      0|		} else if (IS_LATIN1(cval)) {
  ------------------
  |  Branch (4873:14): [True: 0, False: 0]
  ------------------
 4874|      0|		    const void *vmax = vmaxget();
 4875|      0|		    const wchar_t *dummy = wtransChar2(cval);
  ------------------
  |  | 2022|      0|# define wtransChar2		Rf_wtransChar2
  ------------------
 4876|      0|		    if (!dummy)
  ------------------
  |  Branch (4876:11): [True: 0, False: 0]
  ------------------
 4877|      0|			reportInvalidString(cval, actionWhenInvalid);
 4878|      0|		    vmaxset(vmax);
 4879|      0|		    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4880|      0|		    return cval;
 4881|      0|		}
 4882|      0|	    }
 4883|      1|	    if (checkValid >= 2 && !IS_BYTES(cval)) {
  ------------------
  |  Branch (4883:10): [True: 0, False: 1]
  |  Branch (4883:29): [True: 0, False: 0]
  ------------------
 4884|       |		/* check strings flagged native/unknown */
 4885|      0|		if (known_to_be_utf8) {
  ------------------
  |  Branch (4885:7): [True: 0, False: 0]
  ------------------
 4886|      0|		    if (!utf8Valid(CHAR(cval)))
  ------------------
  |  | 2016|      0|# define utf8Valid		Rf_utf8Valid
  ------------------
              		    if (!utf8Valid(CHAR(cval)))
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (4886:11): [True: 0, False: 0]
  ------------------
 4887|      0|			reportInvalidString(cval, actionWhenInvalid);
 4888|      0|		    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4889|      0|		    return cval;
 4890|      0|		} else if (!mbcsValid(CHAR(cval))) {
  ------------------
  |  | 1957|      0|# define mbcsValid		Rf_mbcsValid
  ------------------
              		} else if (!mbcsValid(CHAR(cval))) {
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (4890:14): [True: 0, False: 0]
  ------------------
 4891|      0|		    reportInvalidString(cval, actionWhenInvalid);
 4892|      0|		    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4893|      0|		    return cval;
 4894|      0|		}
 4895|      0|	    }
 4896|      1|	}
 4897|       |
 4898|  69.4k|	UNPROTECT(1);
  ------------------
  |  |  358|  69.4k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4899|  69.4k|    }
 4900|  2.60M|    return cval;
 4901|  2.60M|}
Rf_topenv:
 4966|  4.25M|SEXP topenv(SEXP target, SEXP envir) {
 4967|  4.25M|    SEXP env = envir;
 4968|  14.8M|    while (env != R_EmptyEnv) {
  ------------------
  |  Branch (4968:12): [True: 14.8M, False: 0]
  ------------------
 4969|  14.8M|	if (env == target || env == R_GlobalEnv ||
  ------------------
  |  Branch (4969:6): [True: 0, False: 14.8M]
  |  Branch (4969:23): [True: 10.2k, False: 14.8M]
  ------------------
 4970|  14.8M|	    env == R_BaseEnv || env == R_BaseNamespace ||
  ------------------
  |  Branch (4970:6): [True: 0, False: 14.8M]
  |  Branch (4970:26): [True: 4.22M, False: 10.5M]
  ------------------
 4971|  10.5M|	    R_IsPackageEnv(env) || R_IsNamespaceEnv(env) ||
  ------------------
  |  Branch (4971:6): [True: 0, False: 10.5M]
  |  Branch (4971:29): [True: 15.0k, False: 10.5M]
  ------------------
 4972|  10.5M|	    R_existsVarInFrame(env, R_dot_packageName)) {
  ------------------
  |  Branch (4972:6): [True: 0, False: 10.5M]
  ------------------
 4973|  4.25M|	    return env;
 4974|  10.5M|	} else {
 4975|  10.5M|	    env = ENCLOS(env);
 4976|  10.5M|	}
 4977|  14.8M|    }
 4978|      0|    return R_GlobalEnv;
 4979|  4.25M|}
envir.c:R_NewHashTable:
  353|  1.35k|{
  354|  1.35k|    SEXP table;
  355|       |
  356|  1.35k|    if (size <= 0) size = HASHMINSIZE;
  ------------------
  |  |  208|      8|#define HASHMINSIZE	     29
  ------------------
  |  Branch (356:9): [True: 8, False: 1.34k]
  ------------------
  357|       |
  358|       |    /* Allocate hash table in the form of a vector */
  359|  1.35k|    PROTECT(table = allocVector(VECSXP, size));
  ------------------
  |  |  357|  1.35k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  360|  1.35k|    SET_HASHPRI(table, 0);
  ------------------
  |  |  209|  1.35k|#define SET_HASHPRI(x,v)     SET_TRUELENGTH(x,v)
  ------------------
  361|  1.35k|    UNPROTECT(1);
  ------------------
  |  |  358|  1.35k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  362|  1.35k|    return(table);
  363|  1.35k|}
envir.c:RemoveFromList:
  942|  3.91k|{
  943|  3.91k|    if (list == R_NilValue) {
  ------------------
  |  Branch (943:9): [True: 0, False: 3.91k]
  ------------------
  944|      0|	*found = 0;
  945|      0|	return R_NilValue;
  946|      0|    }
  947|  3.91k|    else if (TAG(list) == thing) {
  ------------------
  |  Branch (947:14): [True: 1.00k, False: 2.91k]
  ------------------
  948|  1.00k|	*found = 1;
  949|  1.00k|	SET_BNDCELL(list, R_UnboundValue); /* in case binding is cached */
  950|  1.00k|	LOCK_BINDING(list);                /* in case binding is cached */
  951|  1.00k|	SEXP rest = CDR(list);
  952|  1.00k|	SETCDR(list, R_NilValue);          /* to fix refcnt on 'rest' */
  953|  1.00k|	return rest;
  954|  1.00k|    }
  955|  2.91k|    else {
  956|  2.91k|	SEXP last = list;
  957|  2.91k|	SEXP next = CDR(list);
  958|  15.4k|	while (next != R_NilValue) {
  ------------------
  |  Branch (958:9): [True: 15.4k, False: 0]
  ------------------
  959|  15.4k|	    if (TAG(next) == thing) {
  ------------------
  |  Branch (959:10): [True: 2.91k, False: 12.5k]
  ------------------
  960|  2.91k|		*found = 1;
  961|  2.91k|		SETCAR(next, R_UnboundValue); /* in case binding is cached */
  962|  2.91k|		LOCK_BINDING(next);           /* in case binding is cached */
  963|  2.91k|		SETCDR(last, CDR(next));
  964|  2.91k|		SETCDR(next, R_NilValue);     /* to fix refcnt on 'list' */
  965|  2.91k|		return list;
  966|  2.91k|	    }
  967|  12.5k|	    else {
  968|  12.5k|		last = next;
  969|  12.5k|		next = CDR(next);
  970|  12.5k|	    }
  971|  15.4k|	}
  972|      0|	*found = 0;
  973|      0|	return list;
  974|  2.91k|    }
  975|  3.91k|}
envir.c:R_FlushGlobalCache:
  710|  5.24k|{
  711|  5.24k|    SEXP entry = R_HashGetLoc(hashIndex(sym, R_GlobalCache), sym,
  712|  5.24k|			      R_GlobalCache);
  713|  5.24k|    if (entry != R_NilValue) {
  ------------------
  |  Branch (713:9): [True: 0, False: 5.24k]
  ------------------
  714|      0|	SETCAR(entry, R_UnboundValue);
  715|      0|#ifdef FAST_BASE_CACHE_LOOKUP
  716|      0|	UNSET_BASE_SYM_CACHED(sym);
  717|      0|#endif
  718|      0|    }
  719|  5.24k|}
envir.c:R_HashGetLoc:
  329|  55.4k|{
  330|  55.4k|    SEXP chain;
  331|       |
  332|       |    /* Grab the chain from the hashtable */
  333|  55.4k|    chain = VECTOR_ELT(table, hashcode);
  334|       |    /* Retrieve the value from the chain */
  335|  79.2k|    for (; !ISNULL(chain); chain = CDR(chain))
  ------------------
  |  |  176|  79.2k|#define ISNULL(x) ((x) == R_NilValue)
  ------------------
  |  Branch (335:12): [True: 69.6k, False: 9.58k]
  ------------------
  336|  69.6k|	if (TAG(chain) == symbol) return chain;
  ------------------
  |  Branch (336:6): [True: 45.8k, False: 23.7k]
  ------------------
  337|       |    /* If not found */
  338|  9.58k|    return R_NilValue;
  339|  55.4k|}
envir.c:hashIndex:
  700|  13.8k|{
  701|  13.8k|    SEXP c = PRINTNAME(symbol);
  702|  13.8k|    if( !HASHASH(c) ) {
  ------------------
  |  Branch (702:9): [True: 0, False: 13.8k]
  ------------------
  703|      0|	SET_HASHVALUE(c, R_Newhashpjw(CHAR(c)));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  704|      0|	SET_HASHASH(c, 1);
  705|      0|    }
  706|  13.8k|    return HASHVALUE(c) % HASHSIZE(table);
  ------------------
  |  |  205|  13.8k|#define HASHSIZE(x)	     ((int) STDVEC_LENGTH(x))
  ------------------
  707|  13.8k|}
envir.c:R_HashDelete:
  397|      2|{
  398|      2|    int idx;
  399|      2|    SEXP list, hashtab;
  400|       |
  401|      2|    hashtab = HASHTAB(env);
  402|      2|    idx = hashcode % HASHSIZE(hashtab);
  ------------------
  |  |  205|      2|#define HASHSIZE(x)	     ((int) STDVEC_LENGTH(x))
  ------------------
  403|      2|    list = RemoveFromList(symbol, VECTOR_ELT(hashtab, idx), found);
  404|      2|    if (*found) {
  ------------------
  |  Branch (404:9): [True: 2, False: 0]
  ------------------
  405|      2|	if (env == R_GlobalEnv)
  ------------------
  |  Branch (405:6): [True: 2, False: 0]
  ------------------
  406|      2|	    R_DirtyImage = 1;
  407|      2|	if (list == R_NilValue)
  ------------------
  |  Branch (407:6): [True: 2, False: 0]
  ------------------
  408|      2|	    SET_HASHPRI(hashtab, HASHPRI(hashtab) - 1);
  ------------------
  |  |  209|      2|#define SET_HASHPRI(x,v)     SET_TRUELENGTH(x,v)
  ------------------
  409|      2|	SET_VECTOR_ELT(hashtab, idx, list);
  410|      2|    }
  411|      2|}
envir.c:findVarLocInFrame:
 1031|  47.1M|{
 1032|  47.1M|    int hashcode;
 1033|  47.1M|    SEXP frame, c;
 1034|       |
 1035|  47.1M|    if (rho == R_BaseEnv || rho == R_BaseNamespace)
  ------------------
  |  Branch (1035:9): [True: 0, False: 47.1M]
  |  Branch (1035:29): [True: 10.5k, False: 47.0M]
  ------------------
 1036|  10.5k|	return (SYMVALUE(symbol) == R_UnboundValue) ? R_NilValue : symbol;
  ------------------
  |  Branch (1036:9): [True: 0, False: 10.5k]
  ------------------
 1037|       |
 1038|  47.0M|    if (rho == R_EmptyEnv)
  ------------------
  |  Branch (1038:9): [True: 0, False: 47.0M]
  ------------------
 1039|      0|	return R_NilValue;
 1040|       |
 1041|  47.0M|    if(IS_USER_DATABASE(rho)) {
  ------------------
  |  |  102|  47.0M|#define IS_USER_DATABASE(rho)  (OBJECT((rho)) && inherits((rho), "UserDefinedDatabase"))
  |  |  ------------------
  |  |  |  |  933|      0|#define inherits		Rf_inherits
  |  |  ------------------
  |  |  |  Branch (102:33): [True: 0, False: 47.0M]
  |  |  |  Branch (102:50): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1042|      0|	R_ObjectTable *table;
 1043|      0|	SEXP val, tmp = R_NilValue;
 1044|      0|	table = (R_ObjectTable *) R_ExternalPtrAddr(HASHTAB(rho));
 1045|       |	/* Better to use exists() here if we don't actually need the value! */
 1046|      0|	val = table->get(CHAR(PRINTNAME(symbol)), canCache, table);
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 1047|      0|	if(val != R_UnboundValue) {
  ------------------
  |  Branch (1047:5): [True: 0, False: 0]
  ------------------
 1048|       |	    /* The result should probably be identified as being from
 1049|       |	       a user database, or maybe use an active binding
 1050|       |	       mechanism to allow setting a new value to get back to
 1051|       |	       the data base. */
 1052|      0|	    tmp = allocSExp(LISTSXP);
  ------------------
  |  |  874|      0|#define allocSExp		Rf_allocSExp
  ------------------
              	    tmp = allocSExp(LISTSXP);
  ------------------
  |  |  113|      0|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
 1053|      0|	    SETCAR(tmp, val);
 1054|      0|	    SET_TAG(tmp, symbol);
 1055|       |	    /* If the database has a canCache method, then call that.
 1056|       |	       Otherwise, we believe the setting for canCache. */
 1057|      0|	    if(canCache && table->canCache) {
  ------------------
  |  Branch (1057:9): [True: 0, False: 0]
  |  Branch (1057:21): [True: 0, False: 0]
  ------------------
 1058|      0|		PROTECT(tmp);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1059|      0|		*canCache = table->canCache(CHAR(PRINTNAME(symbol)), table);
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 1060|      0|		UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1061|      0|	    }
 1062|      0|	    MARK_NOT_MUTABLE(val); /* to keep complex assignment code sane */
 1063|      0|	}
 1064|      0|	return(tmp);
 1065|      0|    }
 1066|       |
 1067|  47.0M|    if (HASHTAB(rho) == R_NilValue) {
  ------------------
  |  Branch (1067:9): [True: 47.0M, False: 50.1k]
  ------------------
 1068|  47.0M|	frame = FRAME(rho);
 1069|  98.3M|	while (frame != R_NilValue && TAG(frame) != symbol)
  ------------------
  |  Branch (1069:9): [True: 98.1M, False: 238k]
  |  Branch (1069:32): [True: 51.3M, False: 46.8M]
  ------------------
 1070|  51.3M|	    frame = CDR(frame);
 1071|  47.0M|	return frame;
 1072|  47.0M|    }
 1073|  50.1k|    else {
 1074|  50.1k|	c = PRINTNAME(symbol);
 1075|  50.1k|	if( !HASHASH(c) ) {
  ------------------
  |  Branch (1075:6): [True: 0, False: 50.1k]
  ------------------
 1076|      0|	    SET_HASHVALUE(c, R_Newhashpjw(CHAR(c)));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 1077|      0|	    SET_HASHASH(c,  1);
 1078|      0|	}
 1079|  50.1k|	hashcode = HASHVALUE(c) % HASHSIZE(HASHTAB(rho));
  ------------------
  |  |  205|  50.1k|#define HASHSIZE(x)	     ((int) STDVEC_LENGTH(x))
  ------------------
 1080|       |	/* Will return 'R_NilValue' if not found */
 1081|  50.1k|	return R_HashGetLoc(hashcode, symbol, HASHTAB(rho));
 1082|  50.1k|    }
 1083|  47.0M|}
envir.c:getActiveValue:
  165|     14|{
  166|     14|    SEXP expr = LCONS(fun, R_NilValue);
  ------------------
  |  |  310|     14|#define LCONS(a, b)	Rf_lcons((a), (b))		/* language lists */
  ------------------
  167|     14|    PROTECT(expr);
  ------------------
  |  |  357|     14|#define PROTECT(s)	Rf_protect(s)
  ------------------
  168|     14|    expr = eval(expr, R_GlobalEnv);
  ------------------
  |  |  913|     14|#define eval			Rf_eval
  ------------------
  169|     14|    UNPROTECT(1);
  ------------------
  |  |  358|     14|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  170|       |    /* mark unmutable to prevent mutations in complex assignments */
  171|     14|    MARK_NOT_MUTABLE(expr);
  172|     14|    return expr;
  173|     14|}
envir.c:BINDING_VALUE:
  114|  16.0M|{
  115|  16.0M|    if (BNDCELL_TAG(b)) {
  ------------------
  |  Branch (115:9): [True: 1.62k, False: 16.0M]
  ------------------
  116|  1.62k|	R_expand_binding_value(b);
  117|  1.62k|	return CAR0(b);
  118|  1.62k|    }
  119|  16.0M|    if (IS_ACTIVE_BINDING(b)) return getActiveValue(CAR(b));
  ------------------
  |  Branch (119:9): [True: 0, False: 16.0M]
  ------------------
  120|  16.0M|    else return CAR(b);
  121|  16.0M|}
envir.c:setActiveValue:
  155|      6|{
  156|      6|    SEXP qfun = lang3(R_DoubleColonSymbol, R_BaseSymbol, R_QuoteSymbol);
  ------------------
  |  |  980|      6|#define lang3			Rf_lang3
  ------------------
  157|      6|    SEXP arg = lang2(qfun, val);
  ------------------
  |  |  979|      6|#define lang2			Rf_lang2
  ------------------
  158|      6|    SEXP expr = lang2(fun, arg);
  ------------------
  |  |  979|      6|#define lang2			Rf_lang2
  ------------------
  159|      6|    PROTECT(expr);
  ------------------
  |  |  357|      6|#define PROTECT(s)	Rf_protect(s)
  ------------------
  160|      6|    eval(expr, R_BaseEnv);
  ------------------
  |  |  913|      6|#define eval			Rf_eval
  ------------------
  161|      6|    UNPROTECT(1);
  ------------------
  |  |  358|      6|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  162|      6|}
envir.c:R_HashGet:
  291|  9.71M|{
  292|  9.71M|    SEXP chain;
  293|       |
  294|       |    /* Grab the chain from the hashtable */
  295|  9.71M|    chain = HASHCHAIN(table, hashcode);
  ------------------
  |  |  210|  9.71M|#define HASHCHAIN(table, i)  ((SEXP *) STDVEC_DATAPTR(table))[i]
  ------------------
  296|       |    /* Retrieve the value from the chain */
  297|  14.0M|    for (; chain != R_NilValue ; chain = CDR(chain))
  ------------------
  |  Branch (297:12): [True: 5.45M, False: 8.57M]
  ------------------
  298|  5.45M|	if (TAG(chain) == symbol) return BINDING_VALUE(chain);
  ------------------
  |  Branch (298:6): [True: 1.13M, False: 4.32M]
  ------------------
  299|       |    /* If not found */
  300|  8.57M|    return R_UnboundValue;
  301|  9.71M|}
envir.c:R_HashExists:
  304|  5.48k|{
  305|  5.48k|    SEXP chain;
  306|       |
  307|       |    /* Grab the chain from the hashtable */
  308|  5.48k|    chain = VECTOR_ELT(table, hashcode);
  309|       |    /* Find the binding in the chain */
  310|  9.47k|    for (; chain != R_NilValue ; chain = CDR(chain))
  ------------------
  |  Branch (310:12): [True: 4.82k, False: 4.65k]
  ------------------
  311|  4.82k|	if (TAG(chain) == symbol) return TRUE;
  ------------------
  |  Branch (311:6): [True: 828, False: 3.99k]
  ------------------
  312|       |    /* If not found */
  313|  4.65k|    return FALSE;
  314|  5.48k|}
envir.c:findGlobalVar:
 1361|  8.56k|{
 1362|  8.56k|    SEXP loc = findGlobalVarLoc(symbol);
 1363|  8.56k|    switch (TYPEOF(loc)) {
 1364|      0|    case NILSXP: return R_UnboundValue;
  ------------------
  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (1364:5): [True: 0, False: 8.56k]
  ------------------
 1365|     61|    case SYMSXP: return SYMBOL_BINDING_VALUE(symbol);
  ------------------
  |  |  112|     61|#define SYMSXP	     1	  /* symbols */
  ------------------
                  case SYMSXP: return SYMBOL_BINDING_VALUE(symbol);
  ------------------
  |  |  123|     61|#define SYMBOL_BINDING_VALUE(s) ((IS_ACTIVE_BINDING(s) ? getActiveValue(SYMVALUE(s)) : SYMVALUE(s)))
  |  |  ------------------
  |  |  |  Branch (123:35): [True: 0, False: 61]
  |  |  ------------------
  ------------------
  |  Branch (1365:5): [True: 61, False: 8.50k]
  ------------------
 1366|  8.50k|    default: return BINDING_VALUE(loc);
  ------------------
  |  Branch (1366:5): [True: 8.50k, False: 61]
  ------------------
 1367|       |                    /* loc is protected by callee when needed */
 1368|  8.56k|    }
 1369|  8.56k|}
envir.c:findGlobalVarLoc:
 1336|  8.56k|{
 1337|  8.56k|    SEXP vl, rho;
 1338|  8.56k|    Rboolean canCache = TRUE;
 1339|  8.56k|    vl = R_GetGlobalCacheLoc(symbol);
 1340|  8.56k|    if (vl != R_UnboundValue)
  ------------------
  |  Branch (1340:9): [True: 8.48k, False: 85]
  ------------------
 1341|  8.48k|	return vl;
 1342|    623|    for (rho = R_GlobalEnv; rho != R_EmptyEnv; rho = ENCLOS(rho)) {
  ------------------
  |  Branch (1342:29): [True: 623, False: 0]
  ------------------
 1343|    623|	if (rho != R_BaseEnv) { /* we won't have R_BaseNamespace */
  ------------------
  |  Branch (1343:6): [True: 562, False: 61]
  ------------------
 1344|    562|	    vl = findVarLocInFrame(rho, symbol, &canCache);
 1345|    562|	    if (vl != R_NilValue) {
  ------------------
  |  Branch (1345:10): [True: 24, False: 538]
  ------------------
 1346|     24|		if(canCache)
  ------------------
  |  Branch (1346:6): [True: 24, False: 0]
  ------------------
 1347|     24|		    R_AddGlobalCache(symbol, vl);
 1348|     24|		return vl;
 1349|     24|	    }
 1350|    562|	}
 1351|     61|	else {
 1352|     61|	    if (SYMVALUE(symbol) != R_UnboundValue)
  ------------------
  |  Branch (1352:10): [True: 59, False: 2]
  ------------------
 1353|     59|		R_AddGlobalCache(symbol, symbol);
 1354|     61|	    return symbol;
 1355|     61|	}
 1356|    623|    }
 1357|      0|    return R_NilValue;
 1358|     85|}
envir.c:R_GetGlobalCacheLoc:
  768|  8.56k|{
  769|  8.56k|#ifdef FAST_BASE_CACHE_LOOKUP
  770|  8.56k|    if (BASE_SYM_CACHED(symbol))
  ------------------
  |  Branch (770:9): [True: 0, False: 8.56k]
  ------------------
  771|      0|	return symbol;
  772|  8.56k|#endif
  773|       |
  774|  8.56k|    return R_HashGet(hashIndex(symbol, R_GlobalCache), symbol, R_GlobalCache);
  775|  8.56k|}
envir.c:R_AddGlobalCache:
  750|     83|{
  751|     83|    int oldpri = HASHPRI(R_GlobalCache);
  ------------------
  |  |  206|     83|#define HASHPRI(x)	     ((int) STDVEC_TRUELENGTH(x))
  ------------------
  752|     83|    R_HashSet(hashIndex(symbol, R_GlobalCache), symbol, R_GlobalCache, place,
  753|     83|	      FALSE);
  754|     83|#ifdef FAST_BASE_CACHE_LOOKUP
  755|     83|    if (symbol == place)
  ------------------
  |  Branch (755:9): [True: 59, False: 24]
  ------------------
  756|     59|	SET_BASE_SYM_CACHED(symbol);
  757|     24|    else
  758|     24|	UNSET_BASE_SYM_CACHED(symbol);
  759|     83|#endif
  760|     83|    if (oldpri != HASHPRI(R_GlobalCache) &&
  ------------------
  |  |  206|    166|#define HASHPRI(x)	     ((int) STDVEC_TRUELENGTH(x))
  ------------------
  |  Branch (760:9): [True: 83, False: 0]
  ------------------
  761|     83|	HASHPRI(R_GlobalCache) > 0.85 * HASHSIZE(R_GlobalCache)) {
  ------------------
  |  |  206|     83|#define HASHPRI(x)	     ((int) STDVEC_TRUELENGTH(x))
  ------------------
              	HASHPRI(R_GlobalCache) > 0.85 * HASHSIZE(R_GlobalCache)) {
  ------------------
  |  |  205|     83|#define HASHSIZE(x)	     ((int) STDVEC_LENGTH(x))
  ------------------
  |  Branch (761:2): [True: 0, False: 83]
  ------------------
  762|      0|	R_GlobalCache = R_HashResize(R_GlobalCache);
  763|      0|	SETCAR(R_GlobalCachePreserve, R_GlobalCache);
  764|      0|    }
  765|     83|}
envir.c:findVarLoc:
 1411|  89.0k|{
 1412|  89.0k|    SEXP vl;
 1413|       |
 1414|  89.0k|    if (TYPEOF(rho) == NILSXP)
  ------------------
  |  |  111|  89.0k|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (1414:9): [True: 0, False: 89.0k]
  ------------------
 1415|      0|	error(_("use of NULL environment is defunct"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("use of NULL environment is defunct"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1416|       |
 1417|  89.0k|    if (!isEnvironment(rho))
  ------------------
  |  |  944|  89.0k|#define isEnvironment		Rf_isEnvironment
  ------------------
  |  Branch (1417:9): [True: 0, False: 89.0k]
  ------------------
 1418|      0|	error(_("argument to '%s' is not an environment"), "findVarLoc");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("argument to '%s' is not an environment"), "findVarLoc");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1419|       |
 1420|  89.0k|#ifdef USE_GLOBAL_CACHE
 1421|       |    /* This first loop handles local frames, if there are any.  It
 1422|       |       will also handle all frames if rho is a global frame other than
 1423|       |       R_GlobalEnv */
 1424|   192k|    while (rho != R_GlobalEnv && rho != R_EmptyEnv) {
  ------------------
  |  Branch (1424:12): [True: 192k, False: 0]
  |  Branch (1424:34): [True: 192k, False: 0]
  ------------------
 1425|   192k|	vl = findVarLocInFrame(rho, symbol, NULL);
 1426|   192k|	if (vl != R_NilValue) return vl;
  ------------------
  |  Branch (1426:6): [True: 89.0k, False: 103k]
  ------------------
 1427|   103k|	rho = ENCLOS(rho);
 1428|   103k|    }
 1429|      0|    if (rho == R_GlobalEnv)
  ------------------
  |  Branch (1429:9): [True: 0, False: 0]
  ------------------
 1430|      0|	return findGlobalVarLoc(symbol);
 1431|      0|    else
 1432|      0|	return R_NilValue;
 1433|       |#else
 1434|       |    while (rho != R_EmptyEnv) {
 1435|       |	vl = R_findVarInLocFrame(rho, symbol, NULL);
 1436|       |	if (vl != R_NilValue) return vl;
 1437|       |	rho = ENCLOS(rho);
 1438|       |    }
 1439|       |    return R_NilValue;
 1440|       |#endif
 1441|      0|}
envir.c:ddVal:
 1542|  1.70k|{
 1543|  1.70k|    const char *buf;
 1544|  1.70k|    char *endp;
 1545|  1.70k|    int rval;
 1546|       |
 1547|  1.70k|    buf = CHAR(PRINTNAME(symbol));
  ------------------
  |  |  203|  1.70k|#define CHAR(x) R_CHAR(x)
  ------------------
 1548|  1.70k|    if( !strncmp(buf,"..",2) && strlen(buf) > 2 ) {
  ------------------
  |  Branch (1548:9): [True: 1.70k, False: 0]
  |  Branch (1548:33): [True: 1.70k, False: 0]
  ------------------
 1549|  1.70k|	buf += 2;
 1550|  1.70k|	rval = (int) strtol(buf, &endp, 10);
 1551|  1.70k|	if( *endp != '\0')
  ------------------
  |  Branch (1551:6): [True: 0, False: 1.70k]
  ------------------
 1552|      0|	    return 0;
 1553|  1.70k|	else
 1554|  1.70k|	    return rval;
 1555|  1.70k|    }
 1556|      0|    return 0;
 1557|  1.70k|}
envir.c:ddfind:
 1636|  1.70k|{
 1637|  1.70k|    return ddfindInFrame(i, R_findDotsEnv(rho));
 1638|  1.70k|}
envir.c:ddfindInFrame:
 1614|  10.3k|{
 1615|  10.3k|    if(i <= 0)
  ------------------
  |  Branch (1615:8): [True: 0, False: 10.3k]
  ------------------
 1616|      0|	error(_("indexing '...' with non-positive index %d"), i);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("indexing '...' with non-positive index %d"), i);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1617|  10.3k|    SEXP vl = R_findVarInFrame(rho, R_DotsSymbol);
 1618|  10.3k|    if (vl != R_UnboundValue) {
  ------------------
  |  Branch (1618:9): [True: 10.3k, False: 0]
  ------------------
 1619|  10.3k|	if (TYPEOF(vl) != DOTSXP && vl != R_MissingArg)
  ------------------
  |  |  127|  20.6k|#define DOTSXP	    17	  /* dot-dot-dot object */
  ------------------
  |  Branch (1619:6): [True: 0, False: 10.3k]
  |  Branch (1619:30): [True: 0, False: 0]
  ------------------
 1620|      0|	    error(_("bad ... value"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("bad ... value"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1621|  10.3k|	if (length_DOTS(vl) >= i) {
  ------------------
  |  | 1578|  10.3k|#define length_DOTS(_v_) (TYPEOF(_v_) == DOTSXP ? length(_v_) : 0)
  |  |  ------------------
  |  |  |  |  127|  10.3k|#define DOTSXP	    17	  /* dot-dot-dot object */
  |  |  ------------------
  |  |               #define length_DOTS(_v_) (TYPEOF(_v_) == DOTSXP ? length(_v_) : 0)
  |  |  ------------------
  |  |  |  |  987|  10.3k|#define length(x)		Rf_length(x)
  |  |  ------------------
  |  |  |  Branch (1578:27): [True: 10.3k, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1621:6): [True: 10.3k, False: 0]
  ------------------
 1622|  10.3k|	    vl = nthcdr(vl, i - 1);
  ------------------
  |  | 1009|  10.3k|#define nthcdr			Rf_nthcdr
  ------------------
 1623|  10.3k|	    return(CAR(vl));
 1624|  10.3k|	}
 1625|      0|	else // length(...) < i
 1626|      0|	    error(ngettext("the ... list contains fewer than %d element",
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 1627|      0|			   "the ... list contains fewer than %d elements", i),
 1628|      0|                  i);
 1629|  10.3k|    }
 1630|      0|    else error(_("..%d used in an incorrect context, no ... to look in"), i);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  else error(_("..%d used in an incorrect context, no ... to look in"), i);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1631|       |
 1632|      0|    return R_NilValue;
 1633|  10.3k|}
envir.c:R_HashSet:
  255|  20.1k|{
  256|  20.1k|    SEXP chain;
  257|       |
  258|       |    /* Grab the chain from the hashtable */
  259|  20.1k|    chain = VECTOR_ELT(table, hashcode);
  260|       |
  261|       |    /* Search for the value in the chain */
  262|  40.0k|    for (; !ISNULL(chain); chain = CDR(chain))
  ------------------
  |  |  176|  40.0k|#define ISNULL(x) ((x) == R_NilValue)
  ------------------
  |  Branch (262:12): [True: 20.0k, False: 20.0k]
  ------------------
  263|  20.0k|	if (TAG(chain) == symbol) {
  ------------------
  |  Branch (263:6): [True: 71, False: 19.9k]
  ------------------
  264|     71|	    SET_BINDING_VALUE(chain, value);
  ------------------
  |  |  126|     71|#define SET_BINDING_VALUE(b,val) do { \
  |  |  127|     71|  SEXP __b__ = (b); \
  |  |  128|     71|  SEXP __val__ = (val); \
  |  |  129|     71|  if (BINDING_IS_LOCKED(__b__)) \
  |  |  ------------------
  |  |  |  Branch (129:7): [True: 0, False: 71]
  |  |  ------------------
  |  |  130|     71|    error(_("cannot change value of locked binding for '%s'"), \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |                   error(_("cannot change value of locked binding for '%s'"), \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  |  131|      0|	  CHAR(PRINTNAME(TAG(__b__)))); \
  |  |  ------------------
  |  |  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  |  |  ------------------
  |  |  132|     71|  if (IS_ACTIVE_BINDING(__b__)) { \
  |  |  ------------------
  |  |  |  Branch (132:7): [True: 0, False: 71]
  |  |  ------------------
  |  |  133|      0|    PROTECT(__val__); \
  |  |  ------------------
  |  |  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  |  134|      0|    setActiveValue(CAR(__b__), __val__); \
  |  |  135|      0|    UNPROTECT(1); \
  |  |  ------------------
  |  |  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  |  |  ------------------
  |  |  136|      0|   } else \
  |  |  137|     71|    SET_BNDCELL(__b__, __val__); \
  |  |  138|     71|} while (0)
  |  |  ------------------
  |  |  |  Branch (138:10): [Folded, False: 71]
  |  |  ------------------
  ------------------
  265|     71|	    SET_MISSING(chain, 0);	/* Over-ride for new value */
  266|     71|	    return;
  267|     71|	}
  268|  20.0k|    if (frame_locked)
  ------------------
  |  Branch (268:9): [True: 0, False: 20.0k]
  ------------------
  269|      0|	error(_("cannot add bindings to a locked environment"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("cannot add bindings to a locked environment"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  270|  20.0k|    if (ISNULL(chain))
  ------------------
  |  |  176|  20.0k|#define ISNULL(x) ((x) == R_NilValue)
  |  |  ------------------
  |  |  |  Branch (176:19): [True: 20.0k, False: 0]
  |  |  ------------------
  ------------------
  271|  20.0k|	SET_HASHPRI(table, HASHPRI(table) + 1);
  ------------------
  |  |  209|  20.0k|#define SET_HASHPRI(x,v)     SET_TRUELENGTH(x,v)
  ------------------
  272|       |    /* Add the value into the chain */
  273|  20.0k|    SET_VECTOR_ELT(table, hashcode, CONS(value, VECTOR_ELT(table, hashcode)));
  ------------------
  |  |  309|  20.0k|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
  274|  20.0k|    SET_TAG(VECTOR_ELT(table, hashcode), symbol);
  275|  20.0k|    return;
  276|  20.1k|}
envir.c:R_HashSizeCheck:
  482|  89.5k|{
  483|  89.5k|    int resize;
  484|  89.5k|    double thresh_val;
  485|       |
  486|       |    /* Do some checking */
  487|  89.5k|    if (TYPEOF(table) != VECSXP)
  ------------------
  |  |  131|  89.5k|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (487:9): [True: 0, False: 89.5k]
  ------------------
  488|      0|	error("first argument ('table') not of type VECSXP, R_HashSizeCheck");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  489|  89.5k|    resize = 0; thresh_val = 0.85;
  490|  89.5k|    if ((double)HASHPRI(table) > (double)HASHSIZE(table) * thresh_val)
  ------------------
  |  |  206|  89.5k|#define HASHPRI(x)	     ((int) STDVEC_TRUELENGTH(x))
  ------------------
                  if ((double)HASHPRI(table) > (double)HASHSIZE(table) * thresh_val)
  ------------------
  |  |  205|  89.5k|#define HASHSIZE(x)	     ((int) STDVEC_LENGTH(x))
  ------------------
  |  Branch (490:9): [True: 590, False: 88.9k]
  ------------------
  491|    590|	resize = 1;
  492|  89.5k|    return resize;
  493|  89.5k|}
envir.c:R_HashResize:
  428|    590|{
  429|       |    /* Do some checking */
  430|    590|    if (TYPEOF(table) != VECSXP)
  ------------------
  |  |  131|    590|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (430:9): [True: 0, False: 590]
  ------------------
  431|      0|	error("first argument ('table') not of type VECSXP, from R_HashResize");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  432|       |
  433|       |    /* This may have to change.	 The growth rate should
  434|       |       be independent of the size (not implemented yet) */
  435|       |    /* hash_grow = HASHSIZE(table); */
  436|       |
  437|       |    /* Allocate the new hash table */
  438|    590|    SEXP new_table = R_NewHashTable(1 + (int)(HASHSIZE(table) * HASHTABLEGROWTHRATE));
  ------------------
  |  |  205|    590|#define HASHSIZE(x)	     ((int) STDVEC_LENGTH(x))
  ------------------
                  SEXP new_table = R_NewHashTable(1 + (int)(HASHSIZE(table) * HASHTABLEGROWTHRATE));
  ------------------
  |  |  207|    590|#define HASHTABLEGROWTHRATE  1.2
  ------------------
  439|  67.7k|    for (int counter = 0; counter < length(table); counter++) {
  ------------------
  |  |  987|  67.7k|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (439:27): [True: 67.1k, False: 590]
  ------------------
  440|  67.1k|	SEXP chain = VECTOR_ELT(table, counter);
  441|   148k|	while (!ISNULL(chain)) {
  ------------------
  |  |  176|   148k|#define ISNULL(x) ((x) == R_NilValue)
  ------------------
  |  Branch (441:9): [True: 81.6k, False: 67.1k]
  ------------------
  442|  81.6k|	    int new_hashcode = R_Newhashpjw(CHAR(PRINTNAME(TAG(chain)))) %
  ------------------
  |  |  203|  81.6k|#define CHAR(x) R_CHAR(x)
  ------------------
  443|  81.6k|		HASHSIZE(new_table);
  ------------------
  |  |  205|  81.6k|#define HASHSIZE(x)	     ((int) STDVEC_LENGTH(x))
  ------------------
  444|  81.6k|	    SEXP new_chain = VECTOR_ELT(new_table, new_hashcode);
  445|       |	    /* If using a primary slot then increase HASHPRI */
  446|  81.6k|	    if (ISNULL(new_chain))
  ------------------
  |  |  176|  81.6k|#define ISNULL(x) ((x) == R_NilValue)
  |  |  ------------------
  |  |  |  Branch (176:19): [True: 51.2k, False: 30.3k]
  |  |  ------------------
  ------------------
  447|  51.2k|		SET_HASHPRI(new_table, HASHPRI(new_table) + 1);
  ------------------
  |  |  209|  51.2k|#define SET_HASHPRI(x,v)     SET_TRUELENGTH(x,v)
  ------------------
  448|  81.6k|	    SEXP tmp_chain = chain;
  449|  81.6k|	    chain = CDR(chain);
  450|  81.6k|	    SETCDR(tmp_chain, new_chain);
  451|  81.6k|	    SET_VECTOR_ELT(new_table, new_hashcode,  tmp_chain);
  452|       |#ifdef MIKE_DEBUG
  453|       |	    fprintf(stdout, "HASHSIZE = %d\nHASHPRI = %d\ncounter = %d\nHASHCODE = %d\n",
  454|       |		    HASHSIZE(table), HASHPRI(table), counter, new_hashcode);
  455|       |#endif
  456|  81.6k|	}
  457|  67.1k|    }
  458|       |    /* Some debugging statements */
  459|       |#ifdef MIKE_DEBUG
  460|       |    fprintf(stdout, "Resized O.K.\n");
  461|       |    fprintf(stdout, "Old size: %d, New size: %d\n",
  462|       |	    HASHSIZE(table), HASHSIZE(new_table));
  463|       |    fprintf(stdout, "Old pri: %d, New pri: %d\n",
  464|       |	    HASHPRI(table), HASHPRI(new_table));
  465|       |#endif
  466|    590|    return new_table;
  467|    590|} /* end R_HashResize */
envir.c:setVarInFrame:
 2080|  2.90k|{
 2081|  2.90k|    int hashcode;
 2082|  2.90k|    SEXP frame, c;
 2083|       |
 2084|       |    /* R_DirtyImage should only be set if assigning to R_GlobalEnv. */
 2085|  2.90k|    if (rho == R_GlobalEnv) R_DirtyImage = 1;
  ------------------
  |  Branch (2085:9): [True: 0, False: 2.90k]
  ------------------
 2086|  2.90k|    if (rho == R_EmptyEnv) return R_NilValue;
  ------------------
  |  Branch (2086:9): [True: 0, False: 2.90k]
  ------------------
 2087|       |
 2088|  2.90k|    if(IS_USER_DATABASE(rho)) {
  ------------------
  |  |  102|  2.90k|#define IS_USER_DATABASE(rho)  (OBJECT((rho)) && inherits((rho), "UserDefinedDatabase"))
  |  |  ------------------
  |  |  |  |  933|      0|#define inherits		Rf_inherits
  |  |  ------------------
  |  |  |  Branch (102:33): [True: 0, False: 2.90k]
  |  |  |  Branch (102:50): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2089|       |	/* FIXME: This does not behave as described */
 2090|      0|	R_ObjectTable *table;
 2091|      0|	table = (R_ObjectTable *) R_ExternalPtrAddr(HASHTAB(rho));
 2092|      0|	if(table->assign == NULL)
  ------------------
  |  Branch (2092:5): [True: 0, False: 0]
  ------------------
 2093|      0|	    error(_("cannot assign variables to this database"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("cannot assign variables to this database"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2094|      0|	PROTECT(value);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2095|      0|	SEXP result = table->assign(CHAR(PRINTNAME(symbol)), value, table);
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 2096|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2097|      0|	return(result);
 2098|      0|    }
 2099|       |
 2100|  2.90k|    if (rho == R_BaseNamespace || rho == R_BaseEnv) {
  ------------------
  |  Branch (2100:9): [True: 0, False: 2.90k]
  |  Branch (2100:35): [True: 0, False: 2.90k]
  ------------------
 2101|      0|	if (SYMVALUE(symbol) == R_UnboundValue) return R_NilValue;
  ------------------
  |  Branch (2101:6): [True: 0, False: 0]
  ------------------
 2102|      0|	SET_SYMBOL_BINDING_VALUE(symbol, value);
  ------------------
  |  |  140|      0|#define SET_SYMBOL_BINDING_VALUE(sym, val) do { \
  |  |  141|      0|  SEXP __sym__ = (sym); \
  |  |  142|      0|  SEXP __val__ = (val); \
  |  |  143|      0|  if (BINDING_IS_LOCKED(__sym__)) \
  |  |  ------------------
  |  |  |  Branch (143:7): [True: 0, False: 0]
  |  |  ------------------
  |  |  144|      0|    error(_("cannot change value of locked binding for '%s'"), \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |                   error(_("cannot change value of locked binding for '%s'"), \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  |  145|      0|	  CHAR(PRINTNAME(__sym__))); \
  |  |  ------------------
  |  |  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  |  |  ------------------
  |  |  146|      0|  if (IS_ACTIVE_BINDING(__sym__)) { \
  |  |  ------------------
  |  |  |  Branch (146:7): [True: 0, False: 0]
  |  |  ------------------
  |  |  147|      0|    PROTECT(__val__); \
  |  |  ------------------
  |  |  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  |  148|      0|    setActiveValue(SYMVALUE(__sym__), __val__); \
  |  |  149|      0|    UNPROTECT(1); \
  |  |  ------------------
  |  |  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  |  |  ------------------
  |  |  150|      0|  } else \
  |  |  151|      0|    SET_SYMVALUE(__sym__, __val__); \
  |  |  152|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (152:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2103|      0|	return symbol;
 2104|      0|    }
 2105|       |
 2106|  2.90k|    if (HASHTAB(rho) == R_NilValue) {
  ------------------
  |  Branch (2106:9): [True: 2.88k, False: 18]
  ------------------
 2107|  2.88k|	frame = FRAME(rho);
 2108|  8.04k|	while (frame != R_NilValue) {
  ------------------
  |  Branch (2108:9): [True: 6.67k, False: 1.36k]
  ------------------
 2109|  6.67k|	    if (TAG(frame) == symbol) {
  ------------------
  |  Branch (2109:10): [True: 1.51k, False: 5.15k]
  ------------------
 2110|  1.51k|		SET_BINDING_VALUE(frame, value);
  ------------------
  |  |  126|  1.51k|#define SET_BINDING_VALUE(b,val) do { \
  |  |  127|  1.51k|  SEXP __b__ = (b); \
  |  |  128|  1.51k|  SEXP __val__ = (val); \
  |  |  129|  1.51k|  if (BINDING_IS_LOCKED(__b__)) \
  |  |  ------------------
  |  |  |  Branch (129:7): [True: 0, False: 1.51k]
  |  |  ------------------
  |  |  130|  1.51k|    error(_("cannot change value of locked binding for '%s'"), \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |                   error(_("cannot change value of locked binding for '%s'"), \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  |  131|      0|	  CHAR(PRINTNAME(TAG(__b__)))); \
  |  |  ------------------
  |  |  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  |  |  ------------------
  |  |  132|  1.51k|  if (IS_ACTIVE_BINDING(__b__)) { \
  |  |  ------------------
  |  |  |  Branch (132:7): [True: 0, False: 1.51k]
  |  |  ------------------
  |  |  133|      0|    PROTECT(__val__); \
  |  |  ------------------
  |  |  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  |  134|      0|    setActiveValue(CAR(__b__), __val__); \
  |  |  135|      0|    UNPROTECT(1); \
  |  |  ------------------
  |  |  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  |  |  ------------------
  |  |  136|      0|   } else \
  |  |  137|  1.51k|    SET_BNDCELL(__b__, __val__); \
  |  |  138|  1.51k|} while (0)
  |  |  ------------------
  |  |  |  Branch (138:10): [Folded, False: 1.51k]
  |  |  ------------------
  ------------------
 2111|  1.51k|		SET_MISSING(frame, 0);	/* same as defineVar */
 2112|  1.51k|		return symbol;
 2113|  1.51k|	    }
 2114|  5.15k|	    frame = CDR(frame);
 2115|  5.15k|	}
 2116|  2.88k|    } else {
 2117|       |	/* Do the hash table thing */
 2118|     18|	c = PRINTNAME(symbol);
 2119|     18|	if( !HASHASH(c) ) {
  ------------------
  |  Branch (2119:6): [True: 0, False: 18]
  ------------------
 2120|      0|	    SET_HASHVALUE(c, R_Newhashpjw(CHAR(c)));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 2121|      0|	    SET_HASHASH(c, 1);
 2122|      0|	}
 2123|     18|	hashcode = HASHVALUE(c) % HASHSIZE(HASHTAB(rho));
  ------------------
  |  |  205|     18|#define HASHSIZE(x)	     ((int) STDVEC_LENGTH(x))
  ------------------
 2124|     18|	frame = R_HashGetLoc(hashcode, symbol, HASHTAB(rho));
 2125|     18|	if (frame != R_NilValue) {
  ------------------
  |  Branch (2125:6): [True: 18, False: 0]
  ------------------
 2126|     18|	    SET_BINDING_VALUE(frame, value);
  ------------------
  |  |  126|     18|#define SET_BINDING_VALUE(b,val) do { \
  |  |  127|     18|  SEXP __b__ = (b); \
  |  |  128|     18|  SEXP __val__ = (val); \
  |  |  129|     18|  if (BINDING_IS_LOCKED(__b__)) \
  |  |  ------------------
  |  |  |  Branch (129:7): [True: 0, False: 18]
  |  |  ------------------
  |  |  130|     18|    error(_("cannot change value of locked binding for '%s'"), \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |                   error(_("cannot change value of locked binding for '%s'"), \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  |  131|      0|	  CHAR(PRINTNAME(TAG(__b__)))); \
  |  |  ------------------
  |  |  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  |  |  ------------------
  |  |  132|     18|  if (IS_ACTIVE_BINDING(__b__)) { \
  |  |  ------------------
  |  |  |  Branch (132:7): [True: 0, False: 18]
  |  |  ------------------
  |  |  133|      0|    PROTECT(__val__); \
  |  |  ------------------
  |  |  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  |  134|      0|    setActiveValue(CAR(__b__), __val__); \
  |  |  135|      0|    UNPROTECT(1); \
  |  |  ------------------
  |  |  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  |  |  ------------------
  |  |  136|      0|   } else \
  |  |  137|     18|    SET_BNDCELL(__b__, __val__); \
  |  |  138|     18|} while (0)
  |  |  ------------------
  |  |  |  Branch (138:10): [Folded, False: 18]
  |  |  ------------------
  ------------------
 2127|     18|	    SET_MISSING(frame, 0);	/* same as defineVar */
 2128|     18|	    return symbol;
 2129|     18|	}
 2130|     18|    }
 2131|  1.36k|    return R_NilValue; /* -Wall */
 2132|  2.90k|}
envir.c:RemoveVariable:
 2272|  3.86k|{
 2273|  3.86k|    int found;
 2274|  3.86k|    SEXP list;
 2275|       |
 2276|  3.86k|    if (env == R_BaseNamespace)
  ------------------
  |  Branch (2276:9): [True: 0, False: 3.86k]
  ------------------
 2277|      0|	error(_("cannot remove variables from base namespace"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("cannot remove variables from base namespace"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2278|  3.86k|    if (env == R_BaseEnv)
  ------------------
  |  Branch (2278:9): [True: 0, False: 3.86k]
  ------------------
 2279|      0|	error(_("cannot remove variables from the base environment"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("cannot remove variables from the base environment"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2280|  3.86k|    if (env == R_EmptyEnv)
  ------------------
  |  Branch (2280:9): [True: 0, False: 3.86k]
  ------------------
 2281|      0|	error(_("cannot remove variables from the empty environment"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("cannot remove variables from the empty environment"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2282|  3.86k|    if (FRAME_IS_LOCKED(env))
  ------------------
  |  |  107|  3.86k|#define FRAME_IS_LOCKED(e) (ENVFLAGS(e) & FRAME_LOCK_MASK)
  |  |  ------------------
  |  |  |  |  106|  3.86k|#define FRAME_LOCK_MASK (1<<14)
  |  |  ------------------
  |  |  |  Branch (107:28): [True: 0, False: 3.86k]
  |  |  ------------------
  ------------------
 2283|      0|	error(_("cannot remove bindings from a locked environment"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("cannot remove bindings from a locked environment"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2284|       |
 2285|  3.86k|    if(IS_USER_DATABASE(env)) {
  ------------------
  |  |  102|  3.86k|#define IS_USER_DATABASE(rho)  (OBJECT((rho)) && inherits((rho), "UserDefinedDatabase"))
  |  |  ------------------
  |  |  |  |  933|      0|#define inherits		Rf_inherits
  |  |  ------------------
  |  |  |  Branch (102:33): [True: 0, False: 3.86k]
  |  |  |  Branch (102:50): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2286|      0|	R_ObjectTable *table;
 2287|      0|	table = (R_ObjectTable *) R_ExternalPtrAddr(HASHTAB(env));
 2288|      0|	if(table->remove == NULL)
  ------------------
  |  Branch (2288:5): [True: 0, False: 0]
  ------------------
 2289|      0|	    error(_("cannot remove variables from this database"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("cannot remove variables from this database"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2290|      0|	return(table->remove(CHAR(PRINTNAME(name)), table));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 2291|      0|    }
 2292|       |
 2293|  3.86k|    if (IS_HASHED(env)) {
  ------------------
  |  |  212|  3.86k|#define IS_HASHED(x)	     (HASHTAB(x) != R_NilValue)
  |  |  ------------------
  |  |  |  Branch (212:27): [True: 2, False: 3.86k]
  |  |  ------------------
  ------------------
 2294|      2|	R_HashDelete(hashcode, name, env, &found);
 2295|      2|#ifdef USE_GLOBAL_CACHE
 2296|      2|	if (found && IS_GLOBAL_FRAME(env))
  ------------------
  |  |  653|      2|#define IS_GLOBAL_FRAME(e) (ENVFLAGS(e) & GLOBAL_FRAME_MASK)
  |  |  ------------------
  |  |  |  |  652|      2|#define GLOBAL_FRAME_MASK (1<<15)
  |  |  ------------------
  |  |  |  Branch (653:28): [True: 2, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2296:6): [True: 2, False: 0]
  ------------------
 2297|      2|	    R_FlushGlobalCache(name);
 2298|      2|#endif
 2299|  3.86k|    } else {
 2300|  3.86k|	list = RemoveFromList(name, FRAME(env), &found);
 2301|  3.86k|	if (found) {
  ------------------
  |  Branch (2301:6): [True: 3.86k, False: 0]
  ------------------
 2302|  3.86k|	    if(env == R_GlobalEnv) R_DirtyImage = 1;
  ------------------
  |  Branch (2302:9): [True: 0, False: 3.86k]
  ------------------
 2303|  3.86k|	    SET_FRAME(env, list);
 2304|  3.86k|#ifdef USE_GLOBAL_CACHE
 2305|  3.86k|	    if (IS_GLOBAL_FRAME(env))
  ------------------
  |  |  653|  3.86k|#define IS_GLOBAL_FRAME(e) (ENVFLAGS(e) & GLOBAL_FRAME_MASK)
  |  |  ------------------
  |  |  |  |  652|  3.86k|#define GLOBAL_FRAME_MASK (1<<15)
  |  |  ------------------
  |  |  |  Branch (653:28): [True: 0, False: 3.86k]
  |  |  ------------------
  ------------------
 2306|      0|		R_FlushGlobalCache(name);
 2307|  3.86k|#endif
 2308|  3.86k|	}
 2309|  3.86k|    }
 2310|  3.86k|    return found;
 2311|  3.86k|}
envir.c:str2mode:
 2394|  6.72k|{
 2395|  6.72k|    if (!strcmp(modestr, "function"))
  ------------------
  |  Branch (2395:9): [True: 46, False: 6.68k]
  ------------------
 2396|     46|	return FUNSXP;
  ------------------
  |  |  144|     46|#define FUNSXP      99    /* Closure or Builtin or Special */
  ------------------
 2397|  6.68k|    else if (!strcmp(modestr, "S4")) {
  ------------------
  |  Branch (2397:14): [True: 0, False: 6.68k]
  ------------------
 2398|      0|	if (pS4 != NULL)
  ------------------
  |  Branch (2398:6): [True: 0, False: 0]
  ------------------
 2399|      0|	    *pS4 = TRUE;
 2400|      0|	return OBJSXP;
  ------------------
  |  |  137|      0|#define OBJSXP      25    /* object, non-vector  */
  ------------------
 2401|      0|    }
 2402|  6.68k|    else {
 2403|  6.68k|	SEXPTYPE gmode = str2type(modestr);
  ------------------
  |  | 1031|  6.68k|#define str2type		Rf_str2type
  ------------------
 2404|  6.68k|	if(gmode == (SEXPTYPE) (-1))
  ------------------
  |  Branch (2404:5): [True: 0, False: 6.68k]
  ------------------
 2405|      0|	    error(_("invalid '%s' argument '%s'"), "mode", modestr);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("invalid '%s' argument '%s'"), "mode", modestr);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2406|  6.68k|	return gmode;
 2407|  6.68k|    }
 2408|  6.72k|}
envir.c:findVar1mode:
 1495|  6.72k|{
 1496|  6.72k|    SEXP vl;
 1497|  6.72k|    int tl;
 1498|  6.72k|    if (mode == INTSXP) mode = REALSXP;
  ------------------
  |  |  123|  6.72k|#define INTSXP	    13	  /* integer vectors */
  ------------------
                  if (mode == INTSXP) mode = REALSXP;
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1498:9): [True: 0, False: 6.72k]
  ------------------
 1499|  6.72k|    if (mode == FUNSXP || mode ==  BUILTINSXP || mode == SPECIALSXP)
  ------------------
  |  |  144|  13.4k|#define FUNSXP      99    /* Closure or Builtin or Special */
  ------------------
                  if (mode == FUNSXP || mode ==  BUILTINSXP || mode == SPECIALSXP)
  ------------------
  |  |  119|  13.4k|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
                  if (mode == FUNSXP || mode ==  BUILTINSXP || mode == SPECIALSXP)
  ------------------
  |  |  118|  6.68k|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (1499:9): [True: 46, False: 6.68k]
  |  Branch (1499:27): [True: 0, False: 6.68k]
  |  Branch (1499:50): [True: 0, False: 6.68k]
  ------------------
 1500|     46|	mode = CLOSXP;
  ------------------
  |  |  114|     46|#define CLOSXP	     3	  /* closures */
  ------------------
 1501|  6.91k|    while (rho != R_EmptyEnv) {
  ------------------
  |  Branch (1501:12): [True: 6.91k, False: 0]
  ------------------
 1502|  6.91k|	if (! doGet && mode == ANYSXP)
  ------------------
  |  |  128|  2.19k|#define ANYSXP	    18	  /* make "any" args work.
  ------------------
  |  Branch (1502:6): [True: 2.19k, False: 4.72k]
  |  Branch (1502:17): [True: 2.19k, False: 0]
  ------------------
 1503|  2.19k|	    vl = R_existsVarInFrame(rho, symbol) ? R_NilValue : R_UnboundValue;
  ------------------
  |  Branch (1503:11): [True: 830, False: 1.36k]
  ------------------
 1504|  4.72k|	else
 1505|  4.72k|	    vl = findVarInFrame3(rho, symbol, doGet);
  ------------------
  |  |  920|  4.72k|#define findVarInFrame3		Rf_findVarInFrame3
  ------------------
 1506|       |
 1507|  6.91k|	if (vl != R_UnboundValue) {
  ------------------
  |  Branch (1507:6): [True: 4.98k, False: 1.93k]
  ------------------
 1508|  4.98k|	    if (mode == ANYSXP) return vl;
  ------------------
  |  |  128|  4.98k|#define ANYSXP	    18	  /* make "any" args work.
  ------------------
  |  Branch (1508:10): [True: 4.93k, False: 46]
  ------------------
 1509|     46|	    if (TYPEOF(vl) == PROMSXP) {
  ------------------
  |  |  116|     46|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (1509:10): [True: 4, False: 42]
  ------------------
 1510|      4|		PROTECT(vl);
  ------------------
  |  |  357|      4|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1511|      4|		vl = eval(vl, rho);
  ------------------
  |  |  913|      4|#define eval			Rf_eval
  ------------------
 1512|      4|		UNPROTECT(1);
  ------------------
  |  |  358|      4|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1513|      4|	    }
 1514|     46|	    tl = TYPEOF(vl);
 1515|     46|	    if (tl == INTSXP) tl = REALSXP;
  ------------------
  |  |  123|     46|#define INTSXP	    13	  /* integer vectors */
  ------------------
              	    if (tl == INTSXP) tl = REALSXP;
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1515:10): [True: 0, False: 46]
  ------------------
 1516|     46|	    if (tl == FUNSXP || tl ==  BUILTINSXP || tl == SPECIALSXP)
  ------------------
  |  |  144|     92|#define FUNSXP      99    /* Closure or Builtin or Special */
  ------------------
              	    if (tl == FUNSXP || tl ==  BUILTINSXP || tl == SPECIALSXP)
  ------------------
  |  |  119|     92|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
              	    if (tl == FUNSXP || tl ==  BUILTINSXP || tl == SPECIALSXP)
  ------------------
  |  |  118|      4|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (1516:10): [True: 0, False: 46]
  |  Branch (1516:26): [True: 42, False: 4]
  |  Branch (1516:47): [True: 0, False: 4]
  ------------------
 1517|     42|		tl = CLOSXP;
  ------------------
  |  |  114|     42|#define CLOSXP	     3	  /* closures */
  ------------------
 1518|     46|	    if (tl == mode) {
  ------------------
  |  Branch (1518:10): [True: 46, False: 0]
  ------------------
 1519|     46|		if (tl == OBJSXP) {
  ------------------
  |  |  137|     46|#define OBJSXP      25    /* object, non-vector  */
  ------------------
  |  Branch (1519:7): [True: 0, False: 46]
  ------------------
 1520|      0|		    if ((wants_S4 && IS_S4_OBJECT(vl)) ||
  ------------------
  |  Branch (1520:12): [True: 0, False: 0]
  |  Branch (1520:24): [True: 0, False: 0]
  ------------------
 1521|      0|			(! wants_S4 && ! IS_S4_OBJECT(vl)))
  ------------------
  |  Branch (1521:5): [True: 0, False: 0]
  |  Branch (1521:19): [True: 0, False: 0]
  ------------------
 1522|      0|			return vl;
 1523|      0|		}
 1524|     46|		else return vl;
 1525|     46|	    }
 1526|     46|	}
 1527|  1.93k|	if (inherits)
  ------------------
  |  |  933|  1.93k|#define inherits		Rf_inherits
  |  |  ------------------
  |  |  |  Branch (933:19): [True: 188, False: 1.74k]
  |  |  ------------------
  ------------------
 1528|    188|	    rho = ENCLOS(rho);
 1529|  1.74k|	else
 1530|  1.74k|	    return (R_UnboundValue);
 1531|  1.93k|    }
 1532|      0|    return (R_UnboundValue);
 1533|  6.72k|}
envir.c:gfind:
 2512|  3.06k|{
 2513|  3.06k|    SEXP rval, t1, R_fcall, var;
 2514|       |
 2515|  3.06k|    t1 = install(name);
  ------------------
  |  |  934|  3.06k|#define install			Rf_install
  ------------------
 2516|       |
 2517|       |    /* Search for the object - last arg is 1 to 'get' */
 2518|  3.06k|    rval = findVar1mode(t1, env, mode, wants_S4, inherits, 1);
  ------------------
  |  |  933|  3.06k|#define inherits		Rf_inherits
  ------------------
 2519|       |
 2520|  3.06k|    if (rval == R_UnboundValue) {
  ------------------
  |  Branch (2520:9): [True: 0, False: 3.06k]
  ------------------
 2521|      0|	if( isFunction(ifnotfound) ) {
  ------------------
  |  |  948|      0|#define isFunction		Rf_isFunction
  ------------------
  |  Branch (2521:6): [True: 0, False: 0]
  ------------------
 2522|      0|	    PROTECT(var = mkString(name));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2523|      0|	    PROTECT(R_fcall = LCONS(ifnotfound, LCONS(var, R_NilValue)));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2524|      0|	    rval = eval(R_fcall, enclos);
  ------------------
  |  |  913|      0|#define eval			Rf_eval
  ------------------
 2525|      0|	    UNPROTECT(2);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2526|      0|	} else
 2527|      0|	    rval = ifnotfound;
 2528|      0|    }
 2529|       |
 2530|       |    /* We need to evaluate if it is a promise */
 2531|  3.06k|    if (TYPEOF(rval) == PROMSXP) {
  ------------------
  |  |  116|  3.06k|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (2531:9): [True: 0, False: 3.06k]
  ------------------
 2532|      0|	PROTECT(rval);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2533|      0|	rval = eval(rval, env);
  ------------------
  |  |  913|      0|#define eval			Rf_eval
  ------------------
 2534|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2535|      0|    }
 2536|  3.06k|    ENSURE_NAMED(rval);
 2537|  3.06k|    return rval;
 2538|  3.06k|}
envir.c:findRootPromise:
 2656|  19.8k|static SEXP findRootPromise(SEXP p) {
 2657|  19.8k|    if (TYPEOF(p) == PROMSXP) {
  ------------------
  |  |  116|  19.8k|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (2657:9): [True: 7.50k, False: 12.3k]
  ------------------
 2658|  7.50k|	while(TYPEOF(PREXPR(p)) == PROMSXP) {
  ------------------
  |  |  720|  7.50k|#define PREXPR(e) R_PromiseExpr(e)
  ------------------
              	while(TYPEOF(PREXPR(p)) == PROMSXP) {
  ------------------
  |  |  116|  7.50k|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (2658:8): [True: 0, False: 7.50k]
  ------------------
 2659|      0|	    p = PREXPR(p);
  ------------------
  |  |  720|      0|#define PREXPR(e) R_PromiseExpr(e)
  ------------------
 2660|      0|	}
 2661|  7.50k|    }
 2662|  19.8k|    return p;
 2663|  19.8k|}
envir.c:R_HashFrame:
  509|     14|{
  510|     14|    int hashcode;
  511|     14|    SEXP frame, chain, tmp_chain, table;
  512|       |
  513|       |    /* Do some checking */
  514|     14|    if (TYPEOF(rho) != ENVSXP)
  ------------------
  |  |  115|     14|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (514:9): [True: 0, False: 14]
  ------------------
  515|      0|	error("first argument ('table') not of type ENVSXP, from R_HashVector2Hash");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  516|     14|    table = HASHTAB(rho);
  517|     14|    frame = FRAME(rho);
  518|     14|    while (!ISNULL(frame)) {
  ------------------
  |  |  176|     14|#define ISNULL(x) ((x) == R_NilValue)
  ------------------
  |  Branch (518:12): [True: 0, False: 14]
  ------------------
  519|      0|	if( !HASHASH(PRINTNAME(TAG(frame))) ) {
  ------------------
  |  Branch (519:6): [True: 0, False: 0]
  ------------------
  520|      0|	    SET_HASHVALUE(PRINTNAME(TAG(frame)),
  521|      0|			  R_Newhashpjw(CHAR(PRINTNAME(TAG(frame)))));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  522|      0|	    SET_HASHASH(PRINTNAME(TAG(frame)), 1);
  523|      0|	}
  524|      0|	hashcode = HASHVALUE(PRINTNAME(TAG(frame))) % HASHSIZE(table);
  ------------------
  |  |  205|      0|#define HASHSIZE(x)	     ((int) STDVEC_LENGTH(x))
  ------------------
  525|      0|	chain = VECTOR_ELT(table, hashcode);
  526|       |	/* If using a primary slot then increase HASHPRI */
  527|      0|	if (ISNULL(chain)) SET_HASHPRI(table, HASHPRI(table) + 1);
  ------------------
  |  |  176|      0|#define ISNULL(x) ((x) == R_NilValue)
  |  |  ------------------
  |  |  |  Branch (176:19): [True: 0, False: 0]
  |  |  ------------------
  ------------------
              	if (ISNULL(chain)) SET_HASHPRI(table, HASHPRI(table) + 1);
  ------------------
  |  |  209|      0|#define SET_HASHPRI(x,v)     SET_TRUELENGTH(x,v)
  ------------------
  528|      0|	tmp_chain = frame;
  529|      0|	frame = CDR(frame);
  530|      0|	SETCDR(tmp_chain, chain);
  531|      0|	SET_VECTOR_ELT(table, hashcode, tmp_chain);
  532|      0|    }
  533|     14|    SET_FRAME(rho, R_NilValue);
  534|     14|    return rho;
  535|     14|}
envir.c:R_FlushGlobalCacheFromTable:
  722|     14|{
  723|     14|    int i, size;
  724|     14|    SEXP chain;
  725|     14|    size = HASHSIZE(table);
  ------------------
  |  |  205|     14|#define HASHSIZE(x)	     ((int) STDVEC_LENGTH(x))
  ------------------
  726|    420|    for (i = 0; i < size; i++) {
  ------------------
  |  Branch (726:17): [True: 406, False: 14]
  ------------------
  727|    406|	for (chain = VECTOR_ELT(table, i); chain != R_NilValue; chain = CDR(chain))
  ------------------
  |  Branch (727:37): [True: 0, False: 406]
  ------------------
  728|      0|	    R_FlushGlobalCache(TAG(chain));
  729|    406|    }
  730|     14|}
envir.c:BuiltinSize:
 3171|     16|{
 3172|     16|    int count = 0;
 3173|     16|    SEXP s;
 3174|     16|    int j;
 3175|   786k|    for (j = 0; j < HSIZE; j++) {
  ------------------
  |  | 1174|   786k|#define HSIZE	  49157	/* The size of the hash table for symbols */
  ------------------
  |  Branch (3175:17): [True: 786k, False: 16]
  ------------------
 3176|   865k|	for (s = R_SymbolTable[j]; s != R_NilValue; s = CDR(s)) {
  ------------------
  |  Branch (3176:29): [True: 79.4k, False: 786k]
  ------------------
 3177|  79.4k|	    if (intern) {
  ------------------
  |  Branch (3177:10): [True: 0, False: 79.4k]
  ------------------
 3178|      0|		if (INTERNAL(CAR(s)) != R_NilValue)
  ------------------
  |  Branch (3178:7): [True: 0, False: 0]
  ------------------
 3179|      0|		    count++;
 3180|      0|	    }
 3181|  79.4k|	    else {
 3182|  79.4k|		if ((all || CHAR(PRINTNAME(CAR(s)))[0] != '.')
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (3182:8): [True: 79.4k, False: 0]
  |  Branch (3182:15): [True: 0, False: 0]
  ------------------
 3183|  79.4k|		    && SYMVALUE(CAR(s)) != R_UnboundValue)
  ------------------
  |  Branch (3183:10): [True: 22.6k, False: 56.7k]
  ------------------
 3184|  22.6k|		    count++;
 3185|  79.4k|	    }
 3186|  79.4k|	}
 3187|   786k|    }
 3188|     16|    return count;
 3189|     16|}
envir.c:HashTableSize:
 3142|    158|{
 3143|    158|    CHECK_HASH_TABLE(table);
  ------------------
  |  | 3136|    158|#define CHECK_HASH_TABLE(table) do {		\
  |  | 3137|    158|	if (TYPEOF(table) != VECSXP)		\
  |  |  ------------------
  |  |  |  |  131|    158|#define VECSXP	    19	  /* generic vectors */
  |  |  ------------------
  |  |  |  Branch (3137:6): [True: 0, False: 158]
  |  |  ------------------
  |  | 3138|    158|	    error("bad hash table contents");	\
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  | 3139|    158|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3139:14): [Folded, False: 158]
  |  |  ------------------
  ------------------
 3144|    158|    int count = 0;
 3145|    158|    int n = length(table);
  ------------------
  |  |  987|    158|#define length(x)		Rf_length(x)
  ------------------
 3146|    158|    int i;
 3147|  30.5k|    for (i = 0; i < n; i++)
  ------------------
  |  Branch (3147:17): [True: 30.4k, False: 158]
  ------------------
 3148|  30.4k|	count += FrameSize(VECTOR_ELT(table, i), all);
 3149|    158|    return count;
 3150|    158|}
envir.c:FrameSize:
 3071|  30.4k|{
 3072|  30.4k|    int count = 0;
 3073|  30.4k|    if (all) {
  ------------------
  |  Branch (3073:9): [True: 30.4k, False: 0]
  ------------------
 3074|  63.0k|	while (frame != R_NilValue) {
  ------------------
  |  Branch (3074:9): [True: 32.6k, False: 30.4k]
  ------------------
 3075|  32.6k|	    count += 1;
 3076|  32.6k|	    frame = CDR(frame);
 3077|  32.6k|	}
 3078|  30.4k|    } else {
 3079|      0|	while (frame != R_NilValue) {
  ------------------
  |  Branch (3079:9): [True: 0, False: 0]
  ------------------
 3080|      0|	    if (NONEMPTY_(frame))
  ------------------
  |  | 3068|      0|    CHAR(PRINTNAME(TAG(_FRAME_)))[0] != '.'
  |  |  ------------------
  |  |  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  |  |  ------------------
  |  |  |  Branch (3068:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3081|      0|		count += 1;
 3082|      0|	    frame = CDR(frame);
 3083|      0|	}
 3084|      0|    }
 3085|  30.4k|    return count;
 3086|  30.4k|}
envir.c:BuiltinNames:
 3193|     16|{
 3194|     16|    SEXP s;
 3195|     16|    int j;
 3196|   786k|    for (j = 0; j < HSIZE; j++) {
  ------------------
  |  | 1174|   786k|#define HSIZE	  49157	/* The size of the hash table for symbols */
  ------------------
  |  Branch (3196:17): [True: 786k, False: 16]
  ------------------
 3197|   865k|	for (s = R_SymbolTable[j]; s != R_NilValue; s = CDR(s)) {
  ------------------
  |  Branch (3197:29): [True: 79.4k, False: 786k]
  ------------------
 3198|  79.4k|	    if (intern) {
  ------------------
  |  Branch (3198:10): [True: 0, False: 79.4k]
  ------------------
 3199|      0|		if (INTERNAL(CAR(s)) != R_NilValue)
  ------------------
  |  Branch (3199:7): [True: 0, False: 0]
  ------------------
 3200|      0|		    SET_STRING_ELT(names, (*indx)++, PRINTNAME(CAR(s)));
 3201|      0|	    }
 3202|  79.4k|	    else {
 3203|  79.4k|		if ((all || CHAR(PRINTNAME(CAR(s)))[0] != '.')
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (3203:8): [True: 79.4k, False: 0]
  |  Branch (3203:15): [True: 0, False: 0]
  ------------------
 3204|  79.4k|		    && SYMVALUE(CAR(s)) != R_UnboundValue)
  ------------------
  |  Branch (3204:10): [True: 22.6k, False: 56.7k]
  ------------------
 3205|  22.6k|		    SET_STRING_ELT(names, (*indx)++, PRINTNAME(CAR(s)));
 3206|  79.4k|	    }
 3207|  79.4k|	}
 3208|   786k|    }
 3209|     16|}
envir.c:HashTableNames:
 3153|    158|{
 3154|    158|    CHECK_HASH_TABLE(table);
  ------------------
  |  | 3136|    158|#define CHECK_HASH_TABLE(table) do {		\
  |  | 3137|    158|	if (TYPEOF(table) != VECSXP)		\
  |  |  ------------------
  |  |  |  |  131|    158|#define VECSXP	    19	  /* generic vectors */
  |  |  ------------------
  |  |  |  Branch (3137:6): [True: 0, False: 158]
  |  |  ------------------
  |  | 3138|    158|	    error("bad hash table contents");	\
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  | 3139|    158|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3139:14): [Folded, False: 158]
  |  |  ------------------
  ------------------
 3155|    158|    int n = length(table);
  ------------------
  |  |  987|    158|#define length(x)		Rf_length(x)
  ------------------
 3156|    158|    int i;
 3157|  30.5k|    for (i = 0; i < n; i++)
  ------------------
  |  Branch (3157:17): [True: 30.4k, False: 158]
  ------------------
 3158|  30.4k|	FrameNames(VECTOR_ELT(table, i), all, names, indx);
 3159|    158|}
envir.c:FrameNames:
 3089|  30.4k|{
 3090|  30.4k|    if (all) {
  ------------------
  |  Branch (3090:9): [True: 30.4k, False: 0]
  ------------------
 3091|  63.0k|	while (frame != R_NilValue) {
  ------------------
  |  Branch (3091:9): [True: 32.6k, False: 30.4k]
  ------------------
 3092|  32.6k|	    SET_STRING_ELT(names, *indx, PRINTNAME(TAG(frame)));
 3093|  32.6k|	    (*indx)++;
 3094|  32.6k|	    frame = CDR(frame);
 3095|  32.6k|	}
 3096|  30.4k|    } else {
 3097|      0|	while (frame != R_NilValue) {
  ------------------
  |  Branch (3097:9): [True: 0, False: 0]
  ------------------
 3098|      0|	    if (NONEMPTY_(frame)) {
  ------------------
  |  | 3068|      0|    CHAR(PRINTNAME(TAG(_FRAME_)))[0] != '.'
  |  |  ------------------
  |  |  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  |  |  ------------------
  |  |  |  Branch (3068:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3099|      0|		SET_STRING_ELT(names, *indx, PRINTNAME(TAG(frame)));
 3100|      0|		(*indx)++;
 3101|      0|	    }
 3102|      0|	    frame = CDR(frame);
 3103|      0|	}
 3104|      0|    }
 3105|  30.4k|}
envir.c:pos2env:
 3565|  1.10k|{
 3566|  1.10k|    SEXP env;
 3567|  1.10k|    RCNTXT *cptr;
 3568|       |
 3569|  1.10k|    if (pos == NA_INTEGER || pos < -1 || pos == 0) {
  ------------------
  |  |   56|  2.21k|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (3569:9): [True: 0, False: 1.10k]
  |  Branch (3569:30): [True: 0, False: 1.10k]
  |  Branch (3569:42): [True: 0, False: 1.10k]
  ------------------
 3570|      0|	errorcall(call, _("invalid '%s' argument"), "pos");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("invalid '%s' argument"), "pos");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3571|      0|	env = call;/* just for -Wall */
 3572|      0|    }
 3573|  1.10k|    else if (pos == -1) {
  ------------------
  |  Branch (3573:14): [True: 1.00k, False: 102]
  ------------------
 3574|       |	/* make sure the context is a funcall */
 3575|  1.00k|	cptr = R_GlobalContext;
 3576|  1.00k|	while( !(cptr->callflag & CTXT_FUNCTION) && cptr->nextcontext
  ------------------
  |  Branch (3576:9): [True: 0, False: 1.00k]
  |  Branch (3576:46): [True: 0, False: 0]
  ------------------
 3577|      0|	       != NULL )
 3578|      0|	    cptr = cptr->nextcontext;
 3579|  1.00k|	if( !(cptr->callflag & CTXT_FUNCTION) )
  ------------------
  |  Branch (3579:6): [True: 0, False: 1.00k]
  ------------------
 3580|      0|	    errorcall(call, _("no enclosing environment"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	    errorcall(call, _("no enclosing environment"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3581|       |
 3582|  1.00k|	env = cptr->sysparent;
 3583|  1.00k|	if (R_GlobalEnv != R_NilValue && env == R_NilValue)
  ------------------
  |  Branch (3583:6): [True: 1.00k, False: 0]
  |  Branch (3583:35): [True: 0, False: 1.00k]
  ------------------
 3584|      0|	    errorcall(call, _("invalid '%s' argument"), "pos");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	    errorcall(call, _("invalid '%s' argument"), "pos");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3585|  1.00k|    }
 3586|    102|    else {
 3587|    302|	for (env = R_GlobalEnv; env != R_EmptyEnv && pos > 1;
  ------------------
  |  Branch (3587:26): [True: 302, False: 0]
  |  Branch (3587:47): [True: 200, False: 102]
  ------------------
 3588|    200|	     env = ENCLOS(env))
 3589|    200|	    pos--;
 3590|    102|	if (pos != 1)
  ------------------
  |  Branch (3590:6): [True: 0, False: 102]
  ------------------
 3591|      0|	    errorcall(call, _("invalid '%s' argument"), "pos");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	    errorcall(call, _("invalid '%s' argument"), "pos");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3592|    102|    }
 3593|  1.10k|    return env;
 3594|  1.10k|}
envir.c:checkNSname:
 4228|  1.05M|{
 4229|  1.05M|    switch (TYPEOF(name)) {
 4230|  1.05M|    case SYMSXP:
  ------------------
  |  |  112|  1.05M|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (4230:5): [True: 1.05M, False: 14]
  ------------------
 4231|  1.05M|	break;
 4232|     14|    case STRSXP:
  ------------------
  |  |  126|     14|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (4232:5): [True: 14, False: 1.05M]
  ------------------
 4233|     14|	if (LENGTH(name) >= 1) {
  ------------------
  |  Branch (4233:6): [True: 14, False: 0]
  ------------------
 4234|     14|	    name = installTrChar(STRING_ELT(name, 0));
  ------------------
  |  |  937|     14|#define installTrChar		Rf_installTrChar
  ------------------
 4235|     14|	    break;
 4236|     14|	}
 4237|       |	/* else fall through */
 4238|      0|    default:
  ------------------
  |  Branch (4238:5): [True: 0, False: 1.05M]
  ------------------
 4239|      0|	errorcall(call, _("bad namespace name"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("bad namespace name"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4240|  1.05M|    }
 4241|  1.05M|    return name;
 4242|  1.05M|}
envir.c:checkVarName:
 4328|  1.05M|{
 4329|  1.05M|    switch(TYPEOF(name)) {
 4330|  1.05M|    case SYMSXP: break;
  ------------------
  |  |  112|  1.05M|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (4330:5): [True: 1.05M, False: 1.27k]
  ------------------
 4331|  1.27k|    case STRSXP:
  ------------------
  |  |  126|  1.27k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (4331:5): [True: 1.27k, False: 1.05M]
  ------------------
 4332|  1.27k|	if (LENGTH(name) >= 1) {
  ------------------
  |  Branch (4332:6): [True: 1.27k, False: 0]
  ------------------
 4333|  1.27k|	    name = installTrChar(STRING_ELT(name, 0));
  ------------------
  |  |  937|  1.27k|#define installTrChar		Rf_installTrChar
  ------------------
 4334|  1.27k|	    break;
 4335|  1.27k|	}
 4336|       |	/* else fall through */
 4337|      0|    default:
  ------------------
  |  Branch (4337:5): [True: 0, False: 1.05M]
  ------------------
 4338|      0|	errorcall(call, _("bad variable name"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("bad variable name"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4339|  1.05M|    }
 4340|  1.05M|    return name;
 4341|  1.05M|}
envir.c:getVarValInFrame:
 4315|  1.05M|{
 4316|  1.05M|    SEXP val = R_findVarInFrame(rho, sym);
 4317|  1.05M|    if (! unbound_ok && val == R_UnboundValue)
  ------------------
  |  Branch (4317:9): [True: 1.05M, False: 1.27k]
  |  Branch (4317:25): [True: 0, False: 1.05M]
  ------------------
 4318|      0|	R_ObjectNotFoundError(sym, R_CurrentExpression, NULL);
 4319|  1.05M|    if (TYPEOF(val) == PROMSXP) {
  ------------------
  |  |  116|  1.05M|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (4319:9): [True: 16, False: 1.05M]
  ------------------
 4320|     16|	PROTECT(val);
  ------------------
  |  |  357|     16|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4321|     16|	val = eval(val, R_EmptyEnv);
  ------------------
  |  |  913|     16|#define eval			Rf_eval
  ------------------
 4322|     16|	UNPROTECT(1);
  ------------------
  |  |  358|     16|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4323|     16|    }
 4324|  1.05M|    return val;
 4325|  1.05M|}
envir.c:char_hash:
 4589|  2.60M|{
 4590|       |    /* djb2 as from http://www.cse.yorku.ca/~oz/hash.html */
 4591|  2.60M|    char *p;
 4592|  2.60M|    int i;
 4593|  2.60M|    unsigned int h = 5381;
 4594|  63.1M|    for (p = (char *) s, i = 0; i < len; p++, i++)
  ------------------
  |  Branch (4594:33): [True: 60.5M, False: 2.60M]
  ------------------
 4595|  60.5M|	h = ((h << 5) + h) + (*p);
 4596|  2.60M|    return h;
 4597|  2.60M|}

R_CheckStack:
  115|  23.6M|{
  116|  23.6M|    int dummy;
  117|  23.6M|    intptr_t usage = R_CStackDir * (R_CStackStart - (uintptr_t)&dummy);
  118|       |
  119|       |    /* printf("usage %ld\n", usage); */
  120|  23.6M|    if(R_CStackLimit != -1 && usage > ((intptr_t) R_CStackLimit))
  ------------------
  |  Branch (120:8): [True: 22.5M, False: 1.04M]
  |  Branch (120:31): [True: 0, False: 22.5M]
  ------------------
  121|      0|	R_SignalCStackOverflow(usage);
  122|  23.6M|}
R_CheckStack2:
  125|  1.55k|{
  126|  1.55k|    int dummy;
  127|  1.55k|    intptr_t usage = R_CStackDir * (R_CStackStart - (uintptr_t)&dummy);
  128|       |
  129|  1.55k|    if (INTPTR_MAX - usage < extra)
  ------------------
  |  Branch (129:9): [True: 0, False: 1.55k]
  ------------------
  130|       |	/* addition would overflow, this is definitely too much */
  131|      0|	R_SignalCStackOverflow(INTPTR_MAX);
  132|       |
  133|       |    /* do it this way, as some compilers do usage + extra
  134|       |       in unsigned arithmetic */
  135|  1.55k|    usage += extra;
  136|  1.55k|    if(R_CStackLimit != -1 && usage > ((intptr_t) R_CStackLimit))
  ------------------
  |  Branch (136:8): [True: 724, False: 826]
  |  Branch (136:31): [True: 0, False: 724]
  ------------------
  137|      0|	R_SignalCStackOverflow(usage);
  138|       |
  139|  1.55k|}
R_CheckUserInterrupt:
  142|  3.38M|{
  143|  3.38M|    R_CheckStack();
  144|       |
  145|       |    /* Don't do any processing of interrupts, timing limits, or other
  146|       |       asynchronous events if interrupts are suspended. */
  147|  3.38M|    if (R_interrupts_suspended) return;
  ------------------
  |  Branch (147:9): [True: 106, False: 3.38M]
  ------------------
  148|       |
  149|       |    /* This is the point where GUI systems need to do enough event
  150|       |       processing to determine whether there is a user interrupt event
  151|       |       pending.  Need to be careful not to do too much event
  152|       |       processing though: if event handlers written in R are allowed
  153|       |       to run at this point then we end up with concurrent R
  154|       |       evaluations and that can cause problems until we have proper
  155|       |       concurrency support. LT */
  156|       |
  157|  3.38M|    R_ProcessEvents(); /* Also processes timing limits */
  158|  3.38M|    if (R_interrupts_pending) onintr();
  ------------------
  |  |  112|      0|# define onintr			Rf_onintr
  ------------------
  |  Branch (158:9): [True: 0, False: 3.38M]
  ------------------
  159|  3.38M|}
Rvsnprintf_mbcs:
  308|  2.11M|{
  309|  2.11M|    int val;
  310|  2.11M|    val = vsnprintf(buf, size, format, ap);
  311|  2.11M|    if (size) {
  ------------------
  |  Branch (311:9): [True: 2.11M, False: 0]
  ------------------
  312|  2.11M|	if (val < 0) buf[0] = '\0'; /* not all uses check val < 0 */
  ------------------
  |  Branch (312:6): [True: 0, False: 2.11M]
  ------------------
  313|  2.11M|	else buf[size-1] = '\0';
  314|  2.11M|	if (val >= size)
  ------------------
  |  Branch (314:6): [True: 28, False: 2.11M]
  ------------------
  315|     28|	    mbcsTruncateToValid(buf);
  316|  2.11M|    }
  317|  2.11M|    return val;
  318|  2.11M|}
Rsnprintf_mbcs:
  328|  6.87k|{
  329|  6.87k|    int val;
  330|  6.87k|    va_list ap;
  331|       |
  332|  6.87k|    va_start(ap, format);
  333|  6.87k|    val = Rvsnprintf_mbcs(str, size, format, ap);
  334|  6.87k|    va_end(ap);
  335|       |
  336|  6.87k|    return val;
  337|  6.87k|}
Rf_warning:
  395|  1.04M|{
  396|  1.04M|    char buf[BUFSIZE], *p;
  397|       |
  398|  1.04M|    va_list(ap);
  399|  1.04M|    va_start(ap, format);
  400|  1.04M|    size_t psize;
  401|  1.04M|    int pval;
  402|       |
  403|  1.04M|    psize = min(BUFSIZE, R_WarnLength+1);
  ------------------
  |  |   49|  1.04M|#define min(a, b) (a<b?a:b)
  |  |  ------------------
  |  |  |  Branch (49:20): [True: 0, False: 1.04M]
  |  |  ------------------
  ------------------
  404|  1.04M|    pval = Rvsnprintf_mbcs(buf, psize, format, ap);
  405|  1.04M|    va_end(ap);
  406|  1.04M|    p = buf + strlen(buf) - 1;
  407|  1.04M|    if(strlen(buf) > 0 && *p == '\n') *p = '\0';
  ------------------
  |  Branch (407:8): [True: 1.04M, False: 0]
  |  Branch (407:27): [True: 0, False: 1.04M]
  ------------------
  408|  1.04M|    RprintTrunc(buf, pval >= psize);
  409|  1.04M|    SEXP call = PROTECT(getCurrentCall());
  ------------------
  |  |  357|  1.04M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  410|  1.04M|    warningcall(call, "%s", buf);
  ------------------
  |  | 2018|  1.04M|# define warningcall		Rf_warningcall
  ------------------
  411|  1.04M|    UNPROTECT(1);
  ------------------
  |  |  358|  1.04M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  412|  1.04M|}
Rf_warningcall:
  559|  1.04M|{
  560|  1.04M|    va_list(ap);
  561|  1.04M|    va_start(ap, format);
  562|  1.04M|    vsignalWarning(call, format, ap);
  563|       |    va_end(ap);
  564|  1.04M|}
Rf_errorcall:
  914|  3.07k|{
  915|  3.07k|    va_list(ap);
  916|       |
  917|  3.07k|    if (call == R_CurrentExpression)
  ------------------
  |  Branch (917:9): [True: 0, False: 3.07k]
  ------------------
  918|       |	/* behave like error( */
  919|      0|	call = PROTECT(getCurrentCall()); // unprotected by the jump
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  920|       |
  921|  3.07k|    va_start(ap, format);
  922|  3.07k|    vsignalError(call, format, ap);
  923|  3.07k|    va_end(ap);
  924|       |
  925|  3.07k|    va_start(ap, format);
  926|  3.07k|    verrorcall_dflt(call, format, ap);
  927|       |    va_end(ap);
  928|  3.07k|}
Rf_error:
  956|  2.01k|{
  957|  2.01k|    char buf[BUFSIZE];
  958|       |
  959|  2.01k|    va_list(ap);
  960|  2.01k|    va_start(ap, format);
  961|  2.01k|    Rvsnprintf_mbcs(buf, min(BUFSIZE, R_WarnLength), format, ap);
  ------------------
  |  |   49|  2.01k|#define min(a, b) (a<b?a:b)
  |  |  ------------------
  |  |  |  Branch (49:20): [True: 0, False: 2.01k]
  |  |  ------------------
  ------------------
  962|  2.01k|    va_end(ap);
  963|  2.01k|    SEXP call = PROTECT(getCurrentCall()); // unprotected by the jump
  ------------------
  |  |  357|  2.01k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  964|  2.01k|    errorcall(call, "%s", buf);
  ------------------
  |  |  912|  2.01k|#define errorcall		Rf_errorcall
  ------------------
  965|  2.01k|}
do_gettext:
 1191|    732|{
 1192|       |#ifdef _gettext_3_args_only_
 1193|       |    checkArity(op, args);
 1194|       |#else
 1195|       |    // legacy code allowing "captured" 2-arg calls
 1196|    732|    int nargs = length(args);
  ------------------
  |  |  987|    732|#define length(x)		Rf_length(x)
  ------------------
 1197|    732|    if (nargs < 2 || nargs > 3)
  ------------------
  |  Branch (1197:9): [True: 0, False: 732]
  |  Branch (1197:22): [True: 0, False: 732]
  ------------------
 1198|      0|	errorcall(call, "either 2 or 3 arguments are required");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
 1199|    732|#endif
 1200|    732|#ifdef ENABLE_NLS
 1201|    732|    SEXP string = CADR(args);
 1202|    732|    int n = LENGTH(string);
 1203|       |
 1204|    732|    if(isNull(string) || !n) return string;
  ------------------
  |  |  956|    732|#define isNull			Rf_isNull
  ------------------
  |  Branch (1204:8): [True: 0, False: 732]
  |  Branch (1204:26): [True: 0, False: 732]
  ------------------
 1205|       |
 1206|    732|    if(!isString(string)) error(_("invalid '%s' value"), "string");
  ------------------
  |  |  966|    732|#define isString		Rf_isString
  ------------------
                  if(!isString(string)) error(_("invalid '%s' value"), "string");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  if(!isString(string)) error(_("invalid '%s' value"), "string");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (1206:8): [True: 0, False: 732]
  ------------------
 1207|       |
 1208|    732|    const char * domain = determine_domain_gettext(CAR(args), /*up*/TRUE);
 1209|       |
 1210|    732|    if(domain && strlen(domain)) {
  ------------------
  |  Branch (1210:8): [True: 732, False: 0]
  |  Branch (1210:18): [True: 732, False: 0]
  ------------------
 1211|    732|	SEXP ans = PROTECT(allocVector(STRSXP, n));
  ------------------
  |  |  357|    732|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1212|    732|	Rboolean trim;
 1213|       |#ifdef _gettext_3_args_only_
 1214|       |#else
 1215|    732|	if(nargs == 2)
  ------------------
  |  Branch (1215:5): [True: 0, False: 732]
  ------------------
 1216|      0|	    trim = TRUE;
 1217|    732|	else
 1218|    732|#endif
 1219|    732|	    trim = asRbool(CADDR(args), call);
  ------------------
  |  | 1866|    732|# define asRbool		Rf_asRbool
  ------------------
 1220|  1.46k|	for(int i = 0; i < n; i++) {
  ------------------
  |  Branch (1220:17): [True: 732, False: 732]
  ------------------
 1221|    732|	    int ihead = 0, itail = 0;
 1222|    732|	    const char * This = translateChar(STRING_ELT(string, i));
  ------------------
  |  | 1037|    732|#define translateChar		Rf_translateChar
  ------------------
 1223|    732|	    char *tmp, *head = NULL, *tail = NULL, *tr;
 1224|    732|	    const char *p;
 1225|       |
 1226|    732|	    if(trim) {
  ------------------
  |  Branch (1226:9): [True: 732, False: 0]
  ------------------
 1227|    732|		R_CheckStack2(strlen(This) + 1);
 1228|    732|		tmp = (char *) alloca(strlen(This) + 1);
  ------------------
  |  | 2567|    732|# define alloca(x) __builtin_alloca((x))
  ------------------
 1229|    732|		strcpy(tmp, This);
 1230|       |
 1231|       |		/* strip leading and trailing white spaces and
 1232|       |		   add back after translation */
 1233|    732|		for(p = tmp;
 1234|    732|		    *p && (*p == ' ' || *p == '\t' || *p == '\n');
  ------------------
  |  Branch (1234:7): [True: 732, False: 0]
  |  Branch (1234:14): [True: 0, False: 732]
  |  Branch (1234:27): [True: 0, False: 732]
  |  Branch (1234:41): [True: 0, False: 732]
  ------------------
 1235|    732|		    p++, ihead++) ;
 1236|       |
 1237|    732|		if(ihead > 0) {
  ------------------
  |  Branch (1237:6): [True: 0, False: 732]
  ------------------
 1238|      0|		    R_CheckStack2(ihead + 1);
 1239|      0|		    head = (char *) alloca(ihead + 1);
  ------------------
  |  | 2567|      0|# define alloca(x) __builtin_alloca((x))
  ------------------
 1240|      0|		    Rstrncpy(head, tmp, ihead + 1);
 1241|      0|		    tmp += ihead;
 1242|      0|		}
 1243|       |
 1244|    732|		if(strlen(tmp))
  ------------------
  |  Branch (1244:6): [True: 732, False: 0]
  ------------------
 1245|    732|		    for(p = tmp+strlen(tmp)-1;
 1246|    732|			p >= tmp && (*p == ' ' || *p == '\t' || *p == '\n');
  ------------------
  |  Branch (1246:4): [True: 732, False: 0]
  |  Branch (1246:17): [True: 0, False: 732]
  |  Branch (1246:30): [True: 0, False: 732]
  |  Branch (1246:44): [True: 0, False: 732]
  ------------------
 1247|    732|			p--, itail++) ;
 1248|       |
 1249|    732|		if(itail > 0) {
  ------------------
  |  Branch (1249:6): [True: 0, False: 732]
  ------------------
 1250|      0|		    R_CheckStack2(itail + 1);
 1251|      0|		    tail = (char *) alloca(itail + 1);
  ------------------
  |  | 2567|      0|# define alloca(x) __builtin_alloca((x))
  ------------------
 1252|      0|		    strcpy(tail, tmp+strlen(tmp)-itail);
 1253|      0|		    tmp[strlen(tmp)-itail] = '\0';
 1254|      0|		}
 1255|       |
 1256|    732|		p = tmp;
 1257|    732|	    } else
 1258|      0|		p = This;
 1259|    732|	    if(strlen(p)) {
  ------------------
  |  Branch (1259:9): [True: 732, False: 0]
  ------------------
 1260|    732|		GETT_PRINT("translating '%s' in domain '%s'\n", p, domain);
  ------------------
  |  | 1105|    732|# define GETT_PRINT(...) do {} while(0)
  |  |  ------------------
  |  |  |  Branch (1105:38): [Folded, False: 732]
  |  |  ------------------
  ------------------
 1261|    732|		tr = dgettext(domain, p);
 1262|    732|		if(ihead > 0 || itail > 0) {
  ------------------
  |  Branch (1262:6): [True: 0, False: 732]
  |  Branch (1262:19): [True: 0, False: 732]
  ------------------
 1263|      0| 		R_CheckStack2(        strlen(tr) + ihead + itail + 1);
 1264|      0|		tmp = (char *) alloca(strlen(tr) + ihead + itail + 1);
  ------------------
  |  | 2567|      0|# define alloca(x) __builtin_alloca((x))
  ------------------
 1265|      0|		tmp[0] ='\0';
 1266|      0|		if(ihead > 0) strcat(tmp, head);
  ------------------
  |  Branch (1266:6): [True: 0, False: 0]
  ------------------
 1267|      0|		strcat(tmp, tr);
 1268|      0|		if(itail > 0) strcat(tmp, tail);
  ------------------
  |  Branch (1268:6): [True: 0, False: 0]
  ------------------
 1269|      0|		} else
 1270|    732|		    tmp = tr;
 1271|    732|		SET_STRING_ELT(ans, i, mkChar(tmp));
  ------------------
  |  |  998|    732|#define mkChar			Rf_mkChar
  ------------------
 1272|    732|	    } else
 1273|      0|		SET_STRING_ELT(ans, i, mkChar(This));
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
 1274|    732|	}
 1275|    732|	UNPROTECT(1);
  ------------------
  |  |  358|    732|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1276|    732|	return ans;
 1277|    732|    } else
 1278|      0|#endif
 1279|       |	// no NLS or no domain :
 1280|      0|	return CADR(args);
 1281|    732|}
do_bindtextdomain:
 1316|     28|{
 1317|     28|#ifdef ENABLE_NLS
 1318|     28|    checkArity(op, args);
  ------------------
  |  | 1793|     28|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1319|     28|    if(isNull(CAR(args)) && isNull(CADR(args))) {
  ------------------
  |  |  956|     28|#define isNull			Rf_isNull
  ------------------
                  if(isNull(CAR(args)) && isNull(CADR(args))) {
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
  |  Branch (1319:8): [True: 0, False: 28]
  |  Branch (1319:29): [True: 0, False: 0]
  ------------------
 1320|      0|	textdomain(textdomain(NULL)); // flush the cache
 1321|      0|	return ScalarLogical(TRUE);
  ------------------
  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  ------------------
 1322|      0|    }
 1323|     28|    else if(!isString(CAR(args)) || LENGTH(CAR(args)) != 1)
  ------------------
  |  |  966|     28|#define isString		Rf_isString
  ------------------
  |  Branch (1323:13): [True: 0, False: 28]
  |  Branch (1323:37): [True: 0, False: 28]
  ------------------
 1324|      0|	error(_("invalid '%s' value"), "domain");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' value"), "domain");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1325|       |
 1326|     28|    char *res;
 1327|     28|    if(isNull(CADR(args))) {
  ------------------
  |  |  956|     28|#define isNull			Rf_isNull
  ------------------
  |  Branch (1327:8): [True: 0, False: 28]
  ------------------
 1328|      0|	res = bindtextdomain(translateChar(STRING_ELT(CAR(args),0)), NULL);
  ------------------
  |  | 1037|      0|#define translateChar		Rf_translateChar
  ------------------
 1329|     28|    } else {
 1330|     28|	if(!isString(CADR(args)) || LENGTH(CADR(args)) != 1)
  ------------------
  |  |  966|     28|#define isString		Rf_isString
  ------------------
  |  Branch (1330:5): [True: 0, False: 28]
  |  Branch (1330:30): [True: 0, False: 28]
  ------------------
 1331|      0|	    error(_("invalid '%s' value"), "dirname");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("invalid '%s' value"), "dirname");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1332|     28|	res = bindtextdomain(translateChar(STRING_ELT(CAR (args),0)),
  ------------------
  |  | 1037|     28|#define translateChar		Rf_translateChar
  ------------------
 1333|     28|			     translateChar(STRING_ELT(CADR(args),0)));
  ------------------
  |  | 1037|     28|#define translateChar		Rf_translateChar
  ------------------
 1334|     28|    }
 1335|     28|    if(res) return mkString(res);
  ------------------
  |  | 1003|     28|#define mkString		Rf_mkString
  ------------------
  |  Branch (1335:8): [True: 28, False: 0]
  ------------------
 1336|       |    /* else this failed */
 1337|      0|#endif
 1338|      0|    return R_NilValue;
 1339|     28|}
do_stop:
 1353|    854|{
 1354|       |/* error(.) : really doesn't return anything; but all do_foo() must be SEXP */
 1355|    854|    SEXP c_call;
 1356|    854|    checkArity(op, args);
  ------------------
  |  | 1793|    854|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1357|       |
 1358|    854|    if(asLogical(CAR(args))) /* find context -> "Error in ..:" */
  ------------------
  |  |  886|    854|#define asLogical		Rf_asLogical
  ------------------
  |  Branch (1358:8): [True: 854, False: 0]
  ------------------
 1359|    854|	c_call = findCall();
 1360|      0|    else
 1361|      0|	c_call = R_NilValue;
 1362|       |
 1363|    854|    args = CDR(args);
 1364|       |
 1365|    854|    if (CAR(args) != R_NilValue) { /* message */
  ------------------
  |  Branch (1365:9): [True: 854, False: 0]
  ------------------
 1366|    854|      SETCAR(args, coerceVector(CAR(args), STRSXP));
  ------------------
  |  |  895|    854|#define coerceVector		Rf_coerceVector
  ------------------
                    SETCAR(args, coerceVector(CAR(args), STRSXP));
  ------------------
  |  |  126|    854|#define STRSXP	    16	  /* string vectors */
  ------------------
 1367|    854|      if(!isValidString(CAR(args)))
  ------------------
  |  |  972|    854|#define isValidString		Rf_isValidString
  ------------------
  |  Branch (1367:10): [True: 0, False: 854]
  ------------------
 1368|      0|	  errorcall(c_call, _(" [invalid string in stop(.)]"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	  errorcall(c_call, _(" [invalid string in stop(.)]"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1369|    854|      errorcall(c_call, "%s", translateChar(STRING_ELT(CAR(args), 0)));
  ------------------
  |  |  912|    854|#define errorcall		Rf_errorcall
  ------------------
                    errorcall(c_call, "%s", translateChar(STRING_ELT(CAR(args), 0)));
  ------------------
  |  | 1037|    854|#define translateChar		Rf_translateChar
  ------------------
 1370|    854|    }
 1371|      0|    else
 1372|      0|      errorcall(c_call, "%s", "");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
 1373|       |    /* never called: */
 1374|    854|}
R_GetTracebackOnly:
 1524|  3.07k|{
 1525|  3.07k|    int nback = 0, ns;
 1526|  3.07k|    RCNTXT *c;
 1527|  3.07k|    SEXP s, t;
 1528|       |
 1529|  3.07k|    for (c = R_GlobalContext, ns = skip;
 1530|  16.5k|	 c != NULL && c->callflag != CTXT_TOPLEVEL;
  ------------------
  |  Branch (1530:3): [True: 16.5k, False: 0]
  |  Branch (1530:16): [True: 13.4k, False: 3.07k]
  ------------------
 1531|  13.4k|	 c = c->nextcontext)
 1532|  13.4k|	if (c->callflag & (CTXT_FUNCTION | CTXT_BUILTIN) ) {
  ------------------
  |  Branch (1532:6): [True: 7.31k, False: 6.14k]
  ------------------
 1533|  7.31k|	    if (ns > 0)
  ------------------
  |  Branch (1533:10): [True: 0, False: 7.31k]
  ------------------
 1534|      0|		ns--;
 1535|  7.31k|	    else
 1536|  7.31k|		nback++;
 1537|  7.31k|	}
 1538|       |
 1539|  3.07k|    PROTECT(s = allocList(nback));
  ------------------
  |  |  357|  3.07k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1540|  3.07k|    t = s;
 1541|  3.07k|    for (c = R_GlobalContext ;
 1542|  16.5k|	 c != NULL && c->callflag != CTXT_TOPLEVEL;
  ------------------
  |  Branch (1542:3): [True: 16.5k, False: 0]
  |  Branch (1542:16): [True: 13.4k, False: 3.07k]
  ------------------
 1543|  13.4k|	 c = c->nextcontext)
 1544|  13.4k|	if (c->callflag & (CTXT_FUNCTION | CTXT_BUILTIN) ) {
  ------------------
  |  Branch (1544:6): [True: 7.31k, False: 6.14k]
  ------------------
 1545|  7.31k|	    if (skip > 0)
  ------------------
  |  Branch (1545:10): [True: 0, False: 7.31k]
  ------------------
 1546|      0|		skip--;
 1547|  7.31k|	    else {
 1548|  7.31k|		SETCAR(t, duplicate(c->call));
  ------------------
  |  |  909|  7.31k|#define duplicate		Rf_duplicate
  ------------------
 1549|  7.31k|		if (c->srcref && !isNull(c->srcref)) {
  ------------------
  |  |  956|  7.31k|#define isNull			Rf_isNull
  ------------------
  |  Branch (1549:7): [True: 7.31k, False: 0]
  |  Branch (1549:20): [True: 4.22k, False: 3.08k]
  ------------------
 1550|  4.22k|		    SEXP sref;
 1551|  4.22k|		    if (c->srcref == R_InBCInterpreter)
  ------------------
  |  Branch (1551:11): [True: 4.22k, False: 0]
  ------------------
 1552|  4.22k|			sref = R_findBCInterpreterSrcref(c);
 1553|      0|		    else
 1554|      0|			sref = c->srcref;
 1555|  4.22k|		    setAttrib(CAR(t), R_SrcrefSymbol, duplicate(sref));
  ------------------
  |  | 1027|  4.22k|#define setAttrib		Rf_setAttrib
  ------------------
              		    setAttrib(CAR(t), R_SrcrefSymbol, duplicate(sref));
  ------------------
  |  |  909|  4.22k|#define duplicate		Rf_duplicate
  ------------------
 1556|  4.22k|		}
 1557|  7.31k|		t = CDR(t);
 1558|  7.31k|	    }
 1559|  7.31k|	}
 1560|  3.07k|    UNPROTECT(1);
  ------------------
  |  |  358|  3.07k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1561|  3.07k|    return s;
 1562|  3.07k|}
R_UnwindHandlerStack:
 1687|  12.7M|{
 1688|  12.7M|    SEXP hs;
 1689|       |
 1690|       |    /* check that the target is in the current stack */
 1691|  12.7M|    for (hs = R_HandlerStack; hs != target && hs != R_NilValue; hs = CDR(hs))
  ------------------
  |  Branch (1691:31): [True: 2.35k, False: 12.7M]
  |  Branch (1691:47): [True: 2.35k, False: 0]
  ------------------
 1692|  2.35k|	if (hs == target)
  ------------------
  |  Branch (1692:6): [True: 0, False: 2.35k]
  ------------------
 1693|      0|	    break;
 1694|  12.7M|    if (hs != target)
  ------------------
  |  Branch (1694:9): [True: 0, False: 12.7M]
  ------------------
 1695|      0|	return target; /* restoring a saved stack */
 1696|       |
 1697|  12.7M|    for (hs = R_HandlerStack; hs != target; hs = CDR(hs)) {
  ------------------
  |  Branch (1697:31): [True: 2.35k, False: 12.7M]
  ------------------
 1698|       |	/* pop top handler; may not be needed */
 1699|  2.35k|	R_HandlerStack = CDR(hs);
 1700|       |
 1701|       |	/* clear the two environments to reduce reference counts */
 1702|  2.35k|	CLEAR_ENTRY_CALLING_ENVIR(CAR(hs));
  ------------------
  |  | 1683|  2.35k|#define CLEAR_ENTRY_CALLING_ENVIR(e) SET_VECTOR_ELT(e, 1, R_NilValue)
  ------------------
 1703|  2.35k|	CLEAR_ENTRY_TARGET_ENVIR(CAR(hs));
  ------------------
  |  | 1684|  2.35k|#define CLEAR_ENTRY_TARGET_ENVIR(e) SET_VECTOR_ELT(e, 3, R_NilValue)
  ------------------
 1704|  2.35k|    }
 1705|  12.7M|    return target;
 1706|  12.7M|}
R_FixupExitingHandlerResult:
 1713|    557|{
 1714|       |    /* The internal error handling mechanism stores the error message
 1715|       |       in 'errbuf'.  If an on.exit() action is processed while jumping
 1716|       |       to an exiting handler for such an error, then endcontext()
 1717|       |       calls R_FixupExitingHandlerResult to save the error message
 1718|       |       currently in the buffer before processing the on.exit
 1719|       |       action. This is in case an error occurs in the on.exit action
 1720|       |       that over-writes the buffer. The allocation should occur in a
 1721|       |       more favorable stack context than before the jump. The
 1722|       |       R_HandlerResultToken is used to make sure the result being
 1723|       |       modified is associated with jumping to an exiting handler. */
 1724|    557|    if (result != NULL &&
  ------------------
  |  Branch (1724:9): [True: 212, False: 345]
  ------------------
 1725|    212|	TYPEOF(result) == VECSXP &&
  ------------------
  |  |  131|    769|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (1725:2): [True: 0, False: 212]
  ------------------
 1726|      0|	XLENGTH(result) == RESULT_SIZE &&
  ------------------
  |  | 1708|    557|#define RESULT_SIZE 4
  ------------------
  |  Branch (1726:2): [True: 0, False: 0]
  ------------------
 1727|      0|	VECTOR_ELT(result, 0) == R_NilValue &&
  ------------------
  |  Branch (1727:2): [True: 0, False: 0]
  ------------------
 1728|      0|	VECTOR_ELT(result, RESULT_SIZE - 1) == R_HandlerResultToken) {
  ------------------
  |  | 1708|      0|#define RESULT_SIZE 4
  ------------------
  |  Branch (1728:2): [True: 0, False: 0]
  ------------------
 1729|      0|	SET_VECTOR_ELT(result, 0, mkString(errbuf));
  ------------------
  |  | 1003|      0|#define mkString		Rf_mkString
  ------------------
 1730|      0|    }
 1731|    557|}
do_addCondHands:
 1734|  2.92k|{
 1735|  2.92k|    SEXP classes, handlers, parentenv, target, oldstack, newstack, result;
 1736|  2.92k|    int calling, i, n;
 1737|  2.92k|    PROTECT_INDEX osi;
 1738|       |
 1739|  2.92k|    if (R_HandlerResultToken == NULL) {
  ------------------
  |  Branch (1739:9): [True: 2, False: 2.92k]
  ------------------
 1740|      2|	R_HandlerResultToken = allocVector(VECSXP, 1);
  ------------------
  |  |  875|      2|#define allocVector		Rf_allocVector
  ------------------
              	R_HandlerResultToken = allocVector(VECSXP, 1);
  ------------------
  |  |  131|      2|#define VECSXP	    19	  /* generic vectors */
  ------------------
 1741|      2|	R_PreserveObject(R_HandlerResultToken);
 1742|      2|    }
 1743|       |
 1744|  2.92k|    checkArity(op, args);
  ------------------
  |  | 1793|  2.92k|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1745|       |
 1746|  2.92k|    classes = CAR(args); args = CDR(args);
 1747|  2.92k|    handlers = CAR(args); args = CDR(args);
 1748|  2.92k|    parentenv = CAR(args); args = CDR(args);
 1749|  2.92k|    target = CAR(args); args = CDR(args);
 1750|  2.92k|    calling = asLogical(CAR(args));
  ------------------
  |  |  886|  2.92k|#define asLogical		Rf_asLogical
  ------------------
 1751|       |
 1752|  2.92k|    if (classes == R_NilValue || handlers == R_NilValue)
  ------------------
  |  Branch (1752:9): [True: 0, False: 2.92k]
  |  Branch (1752:34): [True: 0, False: 2.92k]
  ------------------
 1753|      0|	return R_HandlerStack;
 1754|       |
 1755|  2.92k|    if (TYPEOF(classes) != STRSXP || TYPEOF(handlers) != VECSXP ||
  ------------------
  |  |  126|  5.84k|#define STRSXP	    16	  /* string vectors */
  ------------------
                  if (TYPEOF(classes) != STRSXP || TYPEOF(handlers) != VECSXP ||
  ------------------
  |  |  131|  5.84k|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (1755:9): [True: 0, False: 2.92k]
  |  Branch (1755:38): [True: 0, False: 2.92k]
  ------------------
 1756|  2.92k|	LENGTH(classes) != LENGTH(handlers))
  ------------------
  |  Branch (1756:2): [True: 0, False: 2.92k]
  ------------------
 1757|      0|	error(_("bad handler data"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("bad handler data"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1758|       |
 1759|  2.92k|    n = LENGTH(handlers);
 1760|  2.92k|    oldstack = R_HandlerStack;
 1761|       |
 1762|  2.92k|    PROTECT(result = allocVector(VECSXP, RESULT_SIZE));
  ------------------
  |  |  357|  2.92k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1763|  2.92k|    SET_VECTOR_ELT(result, RESULT_SIZE - 1, R_HandlerResultToken);
  ------------------
  |  | 1708|  2.92k|#define RESULT_SIZE 4
  ------------------
 1764|  2.92k|    PROTECT_WITH_INDEX(newstack = oldstack, &osi);
  ------------------
  |  |  366|  2.92k|#define PROTECT_WITH_INDEX(x,i) R_ProtectWithIndex(x,i)
  ------------------
 1765|       |
 1766|  5.84k|    for (i = n - 1; i >= 0; i--) {
  ------------------
  |  Branch (1766:21): [True: 2.92k, False: 2.92k]
  ------------------
 1767|  2.92k|	SEXP klass = STRING_ELT(classes, i);
 1768|  2.92k|	SEXP handler = VECTOR_ELT(handlers, i);
 1769|  2.92k|	SEXP entry = mkHandlerEntry(klass, parentenv, handler, target, result,
 1770|  2.92k|				    calling);
 1771|  2.92k|	REPROTECT(newstack = CONS(entry, newstack), osi);
  ------------------
  |  |  367|  2.92k|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
 1772|  2.92k|    }
 1773|       |
 1774|  2.92k|    R_HandlerStack = newstack;
 1775|  2.92k|    UNPROTECT(2);
  ------------------
  |  |  358|  2.92k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1776|       |
 1777|  2.92k|    return oldstack;
 1778|  2.92k|}
do_signalCondition:
 1896|  1.04M|{
 1897|  1.04M|    SEXP list, cond, msg, ecall, oldstack;
 1898|       |
 1899|  1.04M|    checkArity(op, args);
  ------------------
  |  | 1793|  1.04M|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1900|       |
 1901|  1.04M|    cond = CAR(args);
 1902|  1.04M|    msg = CADR(args);
 1903|  1.04M|    ecall = CADDR(args);
 1904|       |
 1905|  1.04M|    PROTECT(oldstack = R_HandlerStack);
  ------------------
  |  |  357|  1.04M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1906|  1.05M|    while ((list = findConditionHandler(cond)) != R_NilValue) {
  ------------------
  |  Branch (1906:12): [True: 1.35k, False: 1.04M]
  ------------------
 1907|  1.35k|	SEXP entry = CAR(list);
 1908|  1.35k|	R_HandlerStack = CDR(list);
 1909|  1.35k|	if (IS_CALLING_ENTRY(entry)) {
  ------------------
  |  | 1677|  1.35k|#define IS_CALLING_ENTRY(e) LEVELS(e)
  |  |  ------------------
  |  |  |  Branch (1677:29): [True: 1.35k, False: 0]
  |  |  ------------------
  ------------------
 1910|  1.35k|	    SEXP h = ENTRY_HANDLER(entry);
  ------------------
  |  | 1680|  1.35k|#define ENTRY_HANDLER(e) VECTOR_ELT(e, 2)
  ------------------
 1911|  1.35k|	    if (h == R_RestartToken) {
  ------------------
  |  Branch (1911:10): [True: 0, False: 1.35k]
  ------------------
 1912|      0|		const char *msgstr = NULL;
 1913|      0|		if (TYPEOF(msg) == STRSXP && LENGTH(msg) > 0)
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1913:7): [True: 0, False: 0]
  |  Branch (1913:32): [True: 0, False: 0]
  ------------------
 1914|      0|		    msgstr = translateChar(STRING_ELT(msg, 0));
  ------------------
  |  | 1037|      0|#define translateChar		Rf_translateChar
  ------------------
 1915|      0|		else error(_("error message not a string"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		else error(_("error message not a string"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1916|      0|		errorcall_dflt(ecall, "%s", msgstr);
 1917|      0|	    }
 1918|  1.35k|	    else {
 1919|  1.35k|		SEXP hcall = LCONS(h, LCONS(cond, R_NilValue));
  ------------------
  |  |  310|  1.35k|#define LCONS(a, b)	Rf_lcons((a), (b))		/* language lists */
  ------------------
 1920|  1.35k|		PROTECT(hcall);
  ------------------
  |  |  357|  1.35k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1921|  1.35k|		eval(hcall, R_GlobalEnv);
  ------------------
  |  |  913|  1.35k|#define eval			Rf_eval
  ------------------
 1922|  1.35k|		UNPROTECT(1);
  ------------------
  |  |  358|  1.35k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1923|  1.35k|	    }
 1924|  1.35k|	}
 1925|      0|	else gotoExitingHandler(cond, ecall, entry);
 1926|  1.35k|    }
 1927|  1.04M|    R_HandlerStack = oldstack;
 1928|  1.04M|    UNPROTECT(1);
  ------------------
  |  |  358|  1.04M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1929|  1.04M|    return R_NilValue;
 1930|  1.04M|}
do_dfltWarn:
 2033|  1.04M|{
 2034|  1.04M|    checkArity(op, args);
  ------------------
  |  | 1793|  1.04M|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 2035|       |
 2036|  1.04M|    if (TYPEOF(CAR(args)) != STRSXP || LENGTH(CAR(args)) != 1)
  ------------------
  |  |  126|  2.09M|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (2036:9): [True: 0, False: 1.04M]
  |  Branch (2036:40): [True: 0, False: 1.04M]
  ------------------
 2037|      0|	error(_("bad error message"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("bad error message"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2038|  1.04M|    const char *msg = translateChar(STRING_ELT(CAR(args), 0));
  ------------------
  |  | 1037|  1.04M|#define translateChar		Rf_translateChar
  ------------------
 2039|  1.04M|    SEXP ecall = CADR(args);
 2040|       |
 2041|  1.04M|    warningcall_dflt(ecall, "%s", msg);
 2042|  1.04M|    return R_NilValue;
 2043|  1.04M|}
do_getRestart:
 2063|  1.35k|{
 2064|  1.35k|    int i;
 2065|  1.35k|    SEXP list;
 2066|  1.35k|    checkArity(op, args);
  ------------------
  |  | 1793|  1.35k|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 2067|  1.35k|    i = asInteger(CAR(args));
  ------------------
  |  |  885|  1.35k|#define asInteger		Rf_asInteger
  ------------------
 2068|  1.35k|    for (list = R_RestartStack;
 2069|  1.35k|	 list != R_NilValue && i > 1;
  ------------------
  |  Branch (2069:3): [True: 1.35k, False: 0]
  |  Branch (2069:25): [True: 0, False: 1.35k]
  ------------------
 2070|  1.35k|	 list = CDR(list), i--);
 2071|  1.35k|    if (list != R_NilValue)
  ------------------
  |  Branch (2071:9): [True: 1.35k, False: 0]
  ------------------
 2072|  1.35k|	return CAR(list);
 2073|      0|    else if (i == 1) {
  ------------------
  |  Branch (2073:14): [True: 0, False: 0]
  ------------------
 2074|       |	/**** need to pre-allocate */
 2075|      0|	SEXP name, entry;
 2076|      0|	PROTECT(name = mkString("abort"));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2077|      0|	PROTECT(entry = allocVector(VECSXP, 2));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2078|      0|	SET_VECTOR_ELT(entry, 0, name);
 2079|      0|	SET_VECTOR_ELT(entry, 1, R_NilValue);
 2080|      0|	setAttrib(entry, R_ClassSymbol, mkString("restart"));
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
              	setAttrib(entry, R_ClassSymbol, mkString("restart"));
  ------------------
  |  | 1003|      0|#define mkString		Rf_mkString
  ------------------
 2081|      0|	UNPROTECT(2);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2082|      0|	return entry;
 2083|      0|    }
 2084|      0|    else return R_NilValue;
 2085|  1.35k|}
do_addRestart:
 2095|  1.04M|{
 2096|  1.04M|    checkArity(op, args);
  ------------------
  |  | 1793|  1.04M|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 2097|  1.04M|    CHECK_RESTART(CAR(args));
  ------------------
  |  | 2088|  1.04M|#define CHECK_RESTART(r) do { \
  |  | 2089|  1.04M|    SEXP __r__ = (r); \
  |  | 2090|  1.04M|    if (TYPEOF(__r__) != VECSXP || LENGTH(__r__) < 2) \
  |  |  ------------------
  |  |  |  |  131|  2.09M|#define VECSXP	    19	  /* generic vectors */
  |  |  ------------------
  |  |  |  Branch (2090:9): [True: 0, False: 1.04M]
  |  |  |  Branch (2090:36): [True: 0, False: 1.04M]
  |  |  ------------------
  |  | 2091|  1.04M|	error(_("bad restart")); \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	error(_("bad restart")); \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 2092|  1.04M|} while (0)
  |  |  ------------------
  |  |  |  Branch (2092:10): [Folded, False: 1.04M]
  |  |  ------------------
  ------------------
 2098|  1.04M|    R_RestartStack = CONS(CAR(args), R_RestartStack);
  ------------------
  |  |  309|  1.04M|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
 2099|  1.04M|    return R_NilValue;
 2100|  1.04M|}
do_invokeRestart:
 2129|  1.35k|{
 2130|  1.35k|    checkArity(op, args);
  ------------------
  |  | 1793|  1.35k|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 2131|       |    CHECK_RESTART(CAR(args));
  ------------------
  |  | 2088|  1.35k|#define CHECK_RESTART(r) do { \
  |  | 2089|  1.35k|    SEXP __r__ = (r); \
  |  | 2090|  1.35k|    if (TYPEOF(__r__) != VECSXP || LENGTH(__r__) < 2) \
  |  |  ------------------
  |  |  |  |  131|  2.70k|#define VECSXP	    19	  /* generic vectors */
  |  |  ------------------
  |  |  |  Branch (2090:9): [True: 0, False: 1.35k]
  |  |  |  Branch (2090:36): [True: 0, False: 1.35k]
  |  |  ------------------
  |  | 2091|  1.35k|	error(_("bad restart")); \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	error(_("bad restart")); \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 2092|  1.35k|} while (0)
  |  |  ------------------
  |  |  |  Branch (2092:10): [Folded, False: 1.35k]
  |  |  ------------------
  ------------------
 2132|  1.35k|    invokeRestart(CAR(args), CADR(args));
 2133|  1.35k|}
R_tryCatchError:
 2428|     17|{
 2429|     17|    SEXP val;
 2430|     17|    SEXP cond = Rf_mkString("error");
 2431|       |
 2432|     17|    PROTECT(cond);
  ------------------
  |  |  357|     17|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2433|     17|    val = R_tryCatch(body, bdata, cond, handler, hdata, NULL, NULL);
 2434|     17|    UNPROTECT(1);
  ------------------
  |  |  358|     17|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2435|     17|    return val;
 2436|     17|}
R_tryCatch:
 2479|     18|{
 2480|     18|    if (body == NULL) error("must supply a body function");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  |  Branch (2480:9): [True: 0, False: 18]
  ------------------
 2481|       |
 2482|     18|    if (trycatch_callback == NULL) {
  ------------------
  |  Branch (2482:9): [True: 2, False: 16]
  ------------------
 2483|      2|	trycatch_callback = R_ParseEvalString(trycatch_callback_source,
 2484|      2|					      R_BaseNamespace);
 2485|      2|	R_PreserveObject(trycatch_callback);
 2486|      2|    }
 2487|       |
 2488|     18|    tryCatchData_t tcd = {
 2489|     18|	.body = body,
 2490|     18|	.bdata = bdata,
 2491|     18|	.handler = handler != NULL ? handler : default_tryCatch_handler,
  ------------------
  |  Branch (2491:13): [True: 18, False: 0]
  ------------------
 2492|     18|	.hdata = hdata,
 2493|     18|	.finally = finally != NULL ? finally : default_tryCatch_finally,
  ------------------
  |  Branch (2493:13): [True: 0, False: 18]
  ------------------
 2494|     18|	.fdata = fdata,
 2495|     18|	.suspended = R_interrupts_suspended
 2496|     18|    };
 2497|       |
 2498|       |    /* Interrupts are suspended while in the infrastructure R code and
 2499|       |       enabled, if they were on entry to R_tryCatch, while calling the
 2500|       |       body function in do_tryCatchHelper */
 2501|       |
 2502|     18|    R_interrupts_suspended = TRUE;
 2503|       |
 2504|     18|    if (conds == NULL) conds = allocVector(STRSXP, 0);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
                  if (conds == NULL) conds = allocVector(STRSXP, 0);
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (2504:9): [True: 0, False: 18]
  ------------------
 2505|     18|    PROTECT(conds);
  ------------------
  |  |  357|     18|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2506|     18|    SEXP fin = finally != NULL ? R_TrueValue : R_FalseValue;
  ------------------
  |  Branch (2506:16): [True: 0, False: 18]
  ------------------
 2507|     18|    SEXP tcdptr = R_MakeExternalPtr(&tcd, R_NilValue, R_NilValue);
 2508|     18|    SEXP expr = lang4(trycatch_callback, tcdptr, conds, fin);
  ------------------
  |  |  981|     18|#define lang4			Rf_lang4
  ------------------
 2509|     18|    PROTECT(expr);
  ------------------
  |  |  357|     18|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2510|     18|    SEXP val = evalKeepVis(expr, R_GlobalEnv);
 2511|     18|    UNPROTECT(2); /* conds, expr */
  ------------------
  |  |  358|     18|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2512|     18|    R_interrupts_suspended = tcd.suspended;
 2513|     18|    return val;
 2514|     18|}
do_tryCatchHelper:
 2518|     18|{
 2519|     18|    SEXP eptr = CAR(args);
 2520|     18|    SEXP sw = CADR(args);
 2521|     18|    SEXP cond = CADDR(args);
 2522|       |
 2523|     18|    if (TYPEOF(eptr) != EXTPTRSXP)
  ------------------
  |  |  134|     18|#define EXTPTRSXP   22    /* external pointer */
  ------------------
  |  Branch (2523:9): [True: 0, False: 18]
  ------------------
 2524|      0|	error("not an external pointer");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 2525|       |
 2526|     18|    tryCatchData_t *ptcd = R_ExternalPtrAddr(CAR(args));
 2527|       |
 2528|     18|    switch (asInteger(sw)) {
  ------------------
  |  |  885|     18|#define asInteger		Rf_asInteger
  ------------------
 2529|     18|    case 0:
  ------------------
  |  Branch (2529:5): [True: 18, False: 0]
  ------------------
 2530|     18|	if (ptcd->suspended)
  ------------------
  |  Branch (2530:6): [True: 0, False: 18]
  ------------------
 2531|       |	    /* Interrupts were suspended for the call to R_TryCatch,
 2532|       |	       so leave them that way */
 2533|      0|	    return ptcd->body(ptcd->bdata);
 2534|     18|	else {
 2535|       |	    /* Interrupts were not suspended for the call to
 2536|       |	       R_TryCatch, but were suspended for the call through
 2537|       |	       R. So enable them for the body and suspend again on the
 2538|       |	       way out. */
 2539|     18|	    R_interrupts_suspended = FALSE;
 2540|     18|	    SEXP val = ptcd->body(ptcd->bdata);
 2541|     18|	    R_interrupts_suspended = TRUE;
 2542|     18|	    return val;
 2543|     18|	}
 2544|      0|    case 1:
  ------------------
  |  Branch (2544:5): [True: 0, False: 18]
  ------------------
 2545|      0|	if (ptcd->handler != NULL)
  ------------------
  |  Branch (2545:6): [True: 0, False: 0]
  ------------------
 2546|      0|	    return ptcd->handler(cond, ptcd->hdata);
 2547|      0|	else return R_NilValue;
 2548|      0|    case 2:
  ------------------
  |  Branch (2548:5): [True: 0, False: 18]
  ------------------
 2549|      0|	if (ptcd->finally != NULL)
  ------------------
  |  Branch (2549:6): [True: 0, False: 0]
  ------------------
 2550|      0|	    ptcd->finally(ptcd->fdata);
 2551|      0|	return R_NilValue;
 2552|      0|    default: return R_NilValue; /* should not happen */
  ------------------
  |  Branch (2552:5): [True: 0, False: 18]
  ------------------
 2553|     18|    }
 2554|     18|}
R_vmakeErrorCondition:
 2737|      6|{
 2738|      6|    if (call == R_CurrentExpression)
  ------------------
  |  Branch (2738:9): [True: 0, False: 6]
  ------------------
 2739|       |	/* behave like error() */
 2740|      0|	call = getCurrentCall();
 2741|      6|    PROTECT(call);
  ------------------
  |  |  357|      6|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2742|      6|    int nelem = nextra + 2;
 2743|      6|    SEXP cond = PROTECT(allocVector(VECSXP, nelem));
  ------------------
  |  |  357|      6|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2744|       |
 2745|      6|    Rvsnprintf_mbcs(emsg_buf, BUFSIZE, format, ap);
  ------------------
  |  |  368|      6|#define BUFSIZE 8192
  ------------------
 2746|      6|    SET_VECTOR_ELT(cond, 0, mkString(emsg_buf));
  ------------------
  |  | 1003|      6|#define mkString		Rf_mkString
  ------------------
 2747|      6|    SET_VECTOR_ELT(cond, 1, call);
 2748|       |
 2749|      6|    SEXP names = allocVector(STRSXP, nelem);
  ------------------
  |  |  875|      6|#define allocVector		Rf_allocVector
  ------------------
                  SEXP names = allocVector(STRSXP, nelem);
  ------------------
  |  |  126|      6|#define STRSXP	    16	  /* string vectors */
  ------------------
 2750|      6|    setAttrib(cond, R_NamesSymbol, names);
  ------------------
  |  | 1027|      6|#define setAttrib		Rf_setAttrib
  ------------------
 2751|      6|    SET_STRING_ELT(names, 0, mkChar("message"));
  ------------------
  |  |  998|      6|#define mkChar			Rf_mkChar
  ------------------
 2752|      6|    SET_STRING_ELT(names, 1, mkChar("call"));
  ------------------
  |  |  998|      6|#define mkChar			Rf_mkChar
  ------------------
 2753|       |
 2754|      6|    SEXP klass = allocVector(STRSXP, subclassname == NULL ? 3 : 4);
  ------------------
  |  |  875|      6|#define allocVector		Rf_allocVector
  ------------------
                  SEXP klass = allocVector(STRSXP, subclassname == NULL ? 3 : 4);
  ------------------
  |  |  126|      6|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (2754:38): [True: 0, False: 6]
  ------------------
 2755|      6|    setAttrib(cond, R_ClassSymbol, klass);
  ------------------
  |  | 1027|      6|#define setAttrib		Rf_setAttrib
  ------------------
 2756|      6|    if (subclassname == NULL) {
  ------------------
  |  Branch (2756:9): [True: 0, False: 6]
  ------------------
 2757|      0|	SET_STRING_ELT(klass, 0, mkChar(classname));
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
 2758|      0|	SET_STRING_ELT(klass, 1, mkChar("error"));
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
 2759|      0|	SET_STRING_ELT(klass, 2, mkChar("condition"));
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
 2760|      0|    }
 2761|      6|    else {
 2762|      6|	SET_STRING_ELT(klass, 0, mkChar(subclassname));
  ------------------
  |  |  998|      6|#define mkChar			Rf_mkChar
  ------------------
 2763|      6|	SET_STRING_ELT(klass, 1, mkChar(classname));
  ------------------
  |  |  998|      6|#define mkChar			Rf_mkChar
  ------------------
 2764|      6|	SET_STRING_ELT(klass, 2, mkChar("error"));
  ------------------
  |  |  998|      6|#define mkChar			Rf_mkChar
  ------------------
 2765|      6|	SET_STRING_ELT(klass, 3, mkChar("condition"));
  ------------------
  |  |  998|      6|#define mkChar			Rf_mkChar
  ------------------
 2766|      6|    }
 2767|       |
 2768|      6|    UNPROTECT(2); /* cond, call */
  ------------------
  |  |  358|      6|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2769|       |
 2770|      6|    return cond;
 2771|      6|}
R_makeErrorCondition:
 2777|      6|{
 2778|      6|    va_list(ap);
 2779|      6|    va_start(ap, format);
 2780|      6|    SEXP cond = R_vmakeErrorCondition(call, classname, subclassname,
 2781|      6|				      nextra, format, ap);
 2782|       |    va_end(ap);
 2783|      6|    return cond;
 2784|      6|}
R_InitConditions:
 3074|      2|{
 3075|      2|    R_protectStackOverflowError =
 3076|      2|	R_makeErrorCondition(R_NilValue, "stackOverflowError",
 3077|      2|			     "protectStackOverflowError", 0, PROT_SO_MSG);
  ------------------
  |  | 3068|      2|#define PROT_SO_MSG _("protect(): protection stack overflow")
  |  |  ------------------
  |  |  |  | 2536|      2|#   define _(String) gettext (String)
  |  |  ------------------
  ------------------
 3078|      2|    MARK_NOT_MUTABLE(R_protectStackOverflowError);
 3079|      2|    R_PreserveObject(R_protectStackOverflowError);
 3080|       |
 3081|      2|    R_expressionStackOverflowError =
 3082|      2|	R_makeErrorCondition(R_NilValue, "stackOverflowError",
 3083|      2|			     "expressionStackOverflowError", 0, EXPR_SO_MSG);
  ------------------
  |  | 3069|      2|#define EXPR_SO_MSG _("evaluation nested too deeply: infinite recursion / options(expressions=)?")
  |  |  ------------------
  |  |  |  | 2536|      2|#   define _(String) gettext (String)
  |  |  ------------------
  ------------------
 3084|      2|    MARK_NOT_MUTABLE(R_expressionStackOverflowError);
 3085|      2|    R_PreserveObject(R_expressionStackOverflowError);
 3086|       |
 3087|      2|    R_nodeStackOverflowError =
 3088|      2|	R_makeErrorCondition(R_NilValue, "stackOverflowError",
 3089|       |			     "nodeStackOverflowError", 0, NODE_SO_MSG);
  ------------------
  |  | 3070|      2|#define NODE_SO_MSG _("node stack overflow")
  |  |  ------------------
  |  |  |  | 2536|      2|#   define _(String) gettext (String)
  |  |  ------------------
  ------------------
 3090|      2|    MARK_NOT_MUTABLE(R_nodeStackOverflowError);
 3091|      2|    R_PreserveObject(R_nodeStackOverflowError);
 3092|      2|}
errors.c:RprintTrunc:
  370|  1.04M|{
  371|  1.04M|    if (truncated) {
  ------------------
  |  Branch (371:9): [True: 0, False: 1.04M]
  ------------------
  372|      0|	char *msg = _("[... truncated]");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  373|      0|	if (strlen(buf) + 1 + strlen(msg) < BUFSIZE) {
  ------------------
  |  |  368|      0|#define BUFSIZE 8192
  ------------------
  |  Branch (373:6): [True: 0, False: 0]
  ------------------
  374|      0|	    strcat(buf, " ");
  375|      0|	    strcat(buf, msg);
  376|      0|	}
  377|      0|    }
  378|  1.04M|}
errors.c:getCurrentCall:
  381|  1.05M|{
  382|  1.05M|    RCNTXT *c = R_GlobalContext;
  383|       |
  384|       |    /* This can be called before R_GlobalContext is defined, so... */
  385|       |    /* If profiling is on, this can be a CTXT_BUILTIN */
  386|       |
  387|  1.05M|    if (c && (c->callflag & CTXT_BUILTIN)) c = c->nextcontext;
  ------------------
  |  Branch (387:9): [True: 1.05M, False: 0]
  |  Branch (387:14): [True: 0, False: 1.05M]
  ------------------
  388|  1.05M|    if (c == R_GlobalContext && R_BCIntActive)
  ------------------
  |  Branch (388:9): [True: 1.05M, False: 0]
  |  Branch (388:33): [True: 1.05M, False: 14]
  ------------------
  389|  1.05M|	return R_getBCInterpreterExpression();
  390|     14|    else
  391|     14|	return c ? c->call : R_NilValue;
  ------------------
  |  Branch (391:9): [True: 14, False: 0]
  ------------------
  392|  1.05M|}
errors.c:verrorcall_dflt:
  758|  3.07k|{
  759|  3.07k|    if (allowedConstsChecks > 0) {
  ------------------
  |  Branch (759:9): [True: 1.00k, False: 2.06k]
  ------------------
  760|  1.00k|	allowedConstsChecks--;
  761|  1.00k|	R_checkConstants(TRUE);
  762|  1.00k|    }
  763|       |
  764|  3.07k|    if (inError) {
  ------------------
  |  Branch (764:9): [True: 0, False: 3.07k]
  ------------------
  765|       |	/* fail-safe handler for recursive errors */
  766|      0|	if(inError == 3) {
  ------------------
  |  Branch (766:5): [True: 0, False: 0]
  ------------------
  767|       |	     /* Can REprintf generate an error? If so we should guard for it */
  768|      0|	    REprintf(_("Error during wrapup: "));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  769|       |	    /* this does NOT try to print the call since that could
  770|       |	       cause a cascade of error calls */
  771|      0|	    Rvsnprintf_mbcs(errbuf, sizeof(errbuf), format, ap);
  772|      0|	    REprintf("%s\n", errbuf);
  773|      0|	}
  774|      0|	if (R_Warnings != R_NilValue) {
  ------------------
  |  Branch (774:6): [True: 0, False: 0]
  ------------------
  775|      0|	    R_CollectWarnings = 0;
  776|      0|	    R_Warnings = R_NilValue;
  777|      0|	    REprintf(_("Lost warning messages\n"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  778|      0|	}
  779|      0|	REprintf(_("Error: no more error handlers available "
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  780|      0|		   "(recursive errors?); invoking 'abort' restart\n"));
  781|      0|	R_Expressions = R_Expressions_keep;
  782|      0|	jump_to_top_ex(FALSE, FALSE, FALSE, FALSE, FALSE);
  783|      0|    }
  784|       |
  785|       |    /* set up a context to restore inError value on exit */
  786|  3.07k|    RCNTXT cntxt;
  787|  3.07k|    begincontext(&cntxt, CTXT_CCODE, R_NilValue, R_BaseEnv, R_BaseEnv,
  ------------------
  |  | 1869|  3.07k|# define begincontext		Rf_begincontext
  ------------------
  788|  3.07k|		 R_NilValue, R_NilValue);
  789|  3.07k|    int oldInError;
  790|  3.07k|    cntxt.cend = &restore_inError;
  791|  3.07k|    cntxt.cenddata = &oldInError;
  792|  3.07k|    oldInError = inError;
  793|  3.07k|    inError = 1;
  794|       |
  795|       |    // For use with Rv?snprintf, which truncates at size - 1, hence the + 1
  796|  3.07k|    size_t msg_len = min(BUFSIZE, R_WarnLength) + 1;
  ------------------
  |  |   49|  3.07k|#define min(a, b) (a<b?a:b)
  |  |  ------------------
  |  |  |  Branch (49:20): [True: 0, False: 3.07k]
  |  |  ------------------
  ------------------
  797|       |
  798|  3.07k|    if(call != R_NilValue) {
  ------------------
  |  Branch (798:8): [True: 3.07k, False: 0]
  ------------------
  799|  3.07k|	char tmp[BUFSIZE], tmp2[BUFSIZE];
  800|  3.07k|	char *head = _("Error in "), *tail = "\n  ";
  ------------------
  |  | 2536|  3.07k|#   define _(String) gettext (String)
  ------------------
  801|  3.07k|	SEXP srcloc = R_NilValue; // -Wall
  802|  3.07k|	size_t len = 0;	// indicates if srcloc has been set
  803|  3.07k|	int protected = 0, show = 0;
  804|  3.07k|	SEXP opt = GetOption1(install("show.error.locations"));
  ------------------
  |  |  928|  3.07k|#define GetOption1		Rf_GetOption1
  ------------------
              	SEXP opt = GetOption1(install("show.error.locations"));
  ------------------
  |  |  934|  3.07k|#define install			Rf_install
  ------------------
  805|  3.07k|	if (length(opt) == 1 &&
  ------------------
  |  |  987|  3.07k|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (805:6): [True: 0, False: 3.07k]
  ------------------
  806|      0|	    (asLogical(opt) == 1 ||
  ------------------
  |  |  886|      0|#define asLogical		Rf_asLogical
  ------------------
  |  Branch (806:7): [True: 0, False: 0]
  ------------------
  807|      0|	     (TYPEOF(opt) == STRSXP &&
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (807:8): [True: 0, False: 0]
  ------------------
  808|      0|	      pmatch(ScalarString(mkChar("top")), opt, 0))))
  ------------------
  |  | 1011|      0|#define pmatch			Rf_pmatch
  ------------------
              	      pmatch(ScalarString(mkChar("top")), opt, 0))))
  ------------------
  |  | 1025|      0|#define ScalarString		Rf_ScalarString
  ------------------
              	      pmatch(ScalarString(mkChar("top")), opt, 0))))
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
  |  Branch (808:8): [True: 0, False: 0]
  ------------------
  809|      0|	    	show = 1;
  810|       |
  811|  3.07k|	const char *dcall = CHAR(STRING_ELT(deparse1s(call), 0));
  ------------------
  |  |  203|  3.07k|#define CHAR(x) R_CHAR(x)
  ------------------
  812|  3.07k|	Rsnprintf_mbcs(tmp2, BUFSIZE,  "%s", head);
  ------------------
  |  |  368|  3.07k|#define BUFSIZE 8192
  ------------------
  813|  3.07k|	if (show) {
  ------------------
  |  Branch (813:6): [True: 0, False: 3.07k]
  ------------------
  814|      0|	    PROTECT(srcloc = GetSrcLoc(R_GetCurrentSrcref(NA_INTEGER)));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  815|      0|	    protected++;
  816|      0|	    len = strlen(CHAR(STRING_ELT(srcloc, 0)));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  817|      0|	    if (len)
  ------------------
  |  Branch (817:10): [True: 0, False: 0]
  ------------------
  818|      0|		Rsnprintf_mbcs(tmp2, BUFSIZE,  _("Error in %s (from %s) : "),
  ------------------
  |  |  368|      0|#define BUFSIZE 8192
  ------------------
              		Rsnprintf_mbcs(tmp2, BUFSIZE,  _("Error in %s (from %s) : "),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  819|      0|			       dcall, CHAR(STRING_ELT(srcloc, 0)));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  820|      0|	}
  821|       |
  822|  3.07k|	Rvsnprintf_mbcs(tmp, max(msg_len - strlen(head), 0), format, ap);
  ------------------
  |  |   52|  3.07k|#define max(a, b) (a>b?a:b)
  |  |  ------------------
  |  |  |  Branch (52:20): [True: 3.07k, False: 0]
  |  |  ------------------
  ------------------
  823|  3.07k|	if (strlen(tmp2) + strlen(tail) + strlen(tmp) < BUFSIZE) {
  ------------------
  |  |  368|  3.07k|#define BUFSIZE 8192
  ------------------
  |  Branch (823:6): [True: 3.07k, False: 0]
  ------------------
  824|  3.07k|	    if(len) Rsnprintf_mbcs(errbuf, BUFSIZE,
  ------------------
  |  |  368|      0|#define BUFSIZE 8192
  ------------------
  |  Branch (824:9): [True: 0, False: 3.07k]
  ------------------
  825|      0|				   _("Error in %s (from %s) : "),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  826|      0|				   dcall, CHAR(STRING_ELT(srcloc, 0)));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  827|  3.07k|	    else Rsnprintf_mbcs(errbuf, BUFSIZE,  _("Error in %s : "), dcall);
  ------------------
  |  |  368|  3.07k|#define BUFSIZE 8192
  ------------------
              	    else Rsnprintf_mbcs(errbuf, BUFSIZE,  _("Error in %s : "), dcall);
  ------------------
  |  | 2536|  3.07k|#   define _(String) gettext (String)
  ------------------
  828|  3.07k|	    if (mbcslocale) {
  ------------------
  |  Branch (828:10): [True: 0, False: 3.07k]
  ------------------
  829|      0|		int msgline1;
  830|       |		// tmp is local array, so OK to temporaily edit in place
  831|      0|		char *p = strchr(tmp, '\n');
  832|      0|		if (p) {
  ------------------
  |  Branch (832:7): [True: 0, False: 0]
  ------------------
  833|      0|		    *p = '\0';
  834|      0|		    msgline1 = wd(tmp);
  835|      0|		    *p = '\n';
  836|      0|		} else msgline1 = wd(tmp);
  837|       |		// gcc 8 warns here
  838|       |		// 'output may be truncated copying between 0 and 8191 bytes from a string of length 8191'
  839|       |		// but truncation is intentional.
  840|      0|		if (14 + wd(dcall) + msgline1 > LONGWARN)
  ------------------
  |  |   56|      0|#define LONGWARN 75
  ------------------
  |  Branch (840:7): [True: 0, False: 0]
  ------------------
  841|      0|		    ERRBUFCAT(tail);
  ------------------
  |  |  734|      0|#define ERRBUFCAT(txt) Rstrncat(errbuf, txt, BUFSIZE - strlen(errbuf))
  |  |  ------------------
  |  |  |  |  368|      0|#define BUFSIZE 8192
  |  |  ------------------
  ------------------
  842|  3.07k|	    } else {
  843|  3.07k|		size_t msgline1 = strlen(tmp);
  844|  3.07k|		const char *p = strchr(tmp, '\n');
  845|  3.07k|		if (p) msgline1 = (int)(p - tmp);
  ------------------
  |  Branch (845:7): [True: 0, False: 3.07k]
  ------------------
  846|  3.07k|		if (14 + strlen(dcall) + msgline1 > LONGWARN)
  ------------------
  |  |   56|  3.07k|#define LONGWARN 75
  ------------------
  |  Branch (846:7): [True: 1.74k, False: 1.32k]
  ------------------
  847|  1.74k|		    ERRBUFCAT(tail);
  ------------------
  |  |  734|  1.74k|#define ERRBUFCAT(txt) Rstrncat(errbuf, txt, BUFSIZE - strlen(errbuf))
  |  |  ------------------
  |  |  |  |  368|  1.74k|#define BUFSIZE 8192
  |  |  ------------------
  ------------------
  848|  3.07k|	    }
  849|  3.07k|	    ERRBUFCAT(tmp);
  ------------------
  |  |  734|  3.07k|#define ERRBUFCAT(txt) Rstrncat(errbuf, txt, BUFSIZE - strlen(errbuf))
  |  |  ------------------
  |  |  |  |  368|  3.07k|#define BUFSIZE 8192
  |  |  ------------------
  ------------------
  850|  3.07k|	} else {
  851|      0|	    Rsnprintf_mbcs(errbuf, BUFSIZE, _("Error: "));
  ------------------
  |  |  368|      0|#define BUFSIZE 8192
  ------------------
              	    Rsnprintf_mbcs(errbuf, BUFSIZE, _("Error: "));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  852|      0|	    ERRBUFCAT(tmp);
  ------------------
  |  |  734|      0|#define ERRBUFCAT(txt) Rstrncat(errbuf, txt, BUFSIZE - strlen(errbuf))
  |  |  ------------------
  |  |  |  |  368|      0|#define BUFSIZE 8192
  |  |  ------------------
  ------------------
  853|      0|	}
  854|  3.07k|	UNPROTECT(protected);
  ------------------
  |  |  358|  3.07k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  855|  3.07k|    }
  856|      0|    else {
  857|      0|	Rsnprintf_mbcs(errbuf, BUFSIZE, _("Error: "));
  ------------------
  |  |  368|      0|#define BUFSIZE 8192
  ------------------
              	Rsnprintf_mbcs(errbuf, BUFSIZE, _("Error: "));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  858|      0|	char *p = errbuf + strlen(errbuf);
  859|      0|	Rvsnprintf_mbcs(p, max(msg_len - strlen(errbuf), 0), format, ap);
  ------------------
  |  |   52|      0|#define max(a, b) (a>b?a:b)
  |  |  ------------------
  |  |  |  Branch (52:20): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  860|      0|    }
  861|       |    /* Approximate truncation detection, may produce false positives.  Assumes
  862|       |       R_MB_CUR_MAX > 0. Note: approximation is fine, as the string may include
  863|       |       dots, anyway */
  864|  3.07k|    size_t nc = strlen(errbuf); // > 0, ignoring possibility of failure
  865|  3.07k|    if (nc > BUFSIZE - 1 - (R_MB_CUR_MAX - 1)) {
  ------------------
  |  |  368|  3.07k|#define BUFSIZE 8192
  ------------------
  |  Branch (865:9): [True: 0, False: 3.07k]
  ------------------
  866|      0|	size_t end = min(nc + 1, (BUFSIZE + 1) - 4); // room for "...\n\0"
  ------------------
  |  |   49|      0|#define min(a, b) (a<b?a:b)
  |  |  ------------------
  |  |  |  Branch (49:20): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  867|      0|	for(size_t i = end; i <= BUFSIZE + 1; ++i) errbuf[i - 1] = '\0';
  ------------------
  |  |  368|      0|#define BUFSIZE 8192
  ------------------
  |  Branch (867:22): [True: 0, False: 0]
  ------------------
  868|      0|	mbcsTruncateToValid(errbuf);
  869|      0|	ERRBUFCAT("...\n");
  ------------------
  |  |  734|      0|#define ERRBUFCAT(txt) Rstrncat(errbuf, txt, BUFSIZE - strlen(errbuf))
  |  |  ------------------
  |  |  |  |  368|      0|#define BUFSIZE 8192
  |  |  ------------------
  ------------------
  870|  3.07k|    } else {
  871|  3.07k|	char *p = errbuf + nc - 1;
  872|  3.07k|	if(*p != '\n') {
  ------------------
  |  Branch (872:5): [True: 3.07k, False: 0]
  ------------------
  873|  3.07k|	    ERRBUFCAT("\n");  // guaranteed to have room for this
  ------------------
  |  |  734|  3.07k|#define ERRBUFCAT(txt) Rstrncat(errbuf, txt, BUFSIZE - strlen(errbuf))
  |  |  ------------------
  |  |  |  |  368|  3.07k|#define BUFSIZE 8192
  |  |  ------------------
  ------------------
  874|  3.07k|	    ++nc;
  875|  3.07k|	}
  876|  3.07k|	if(R_ShowErrorCalls && call != R_NilValue) {  /* assume we want to avoid deparse */
  ------------------
  |  Branch (876:5): [True: 0, False: 3.07k]
  |  Branch (876:25): [True: 0, False: 0]
  ------------------
  877|      0|	    char *tr = R_ConciseTraceback(call, 0);
  878|      0|	    size_t nc_tr = strlen(tr);
  879|      0|	    if (nc_tr) {
  ------------------
  |  Branch (879:10): [True: 0, False: 0]
  ------------------
  880|      0|		char * call_trans = _("Calls:");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  881|      0|		if (nc_tr + nc + strlen(call_trans) + 2 < BUFSIZE + 1) {
  ------------------
  |  |  368|      0|#define BUFSIZE 8192
  ------------------
  |  Branch (881:7): [True: 0, False: 0]
  ------------------
  882|      0|		    ERRBUFCAT(call_trans);
  ------------------
  |  |  734|      0|#define ERRBUFCAT(txt) Rstrncat(errbuf, txt, BUFSIZE - strlen(errbuf))
  |  |  ------------------
  |  |  |  |  368|      0|#define BUFSIZE 8192
  |  |  ------------------
  ------------------
  883|      0|		    ERRBUFCAT(" ");
  ------------------
  |  |  734|      0|#define ERRBUFCAT(txt) Rstrncat(errbuf, txt, BUFSIZE - strlen(errbuf))
  |  |  ------------------
  |  |  |  |  368|      0|#define BUFSIZE 8192
  |  |  ------------------
  ------------------
  884|      0|		    ERRBUFCAT(tr);
  ------------------
  |  |  734|      0|#define ERRBUFCAT(txt) Rstrncat(errbuf, txt, BUFSIZE - strlen(errbuf))
  |  |  ------------------
  |  |  |  |  368|      0|#define BUFSIZE 8192
  |  |  ------------------
  ------------------
  885|      0|		    ERRBUFCAT("\n");
  ------------------
  |  |  734|      0|#define ERRBUFCAT(txt) Rstrncat(errbuf, txt, BUFSIZE - strlen(errbuf))
  |  |  ------------------
  |  |  |  |  368|      0|#define BUFSIZE 8192
  |  |  ------------------
  ------------------
  886|      0|		}
  887|      0|	    }
  888|      0|	}
  889|  3.07k|    }
  890|  3.07k|    if (R_ShowErrorMessages) REprintf("%s", errbuf);
  ------------------
  |  Branch (890:9): [True: 0, False: 3.07k]
  ------------------
  891|       |
  892|  3.07k|    if( R_ShowErrorMessages && R_CollectWarnings ) {
  ------------------
  |  Branch (892:9): [True: 0, False: 3.07k]
  |  Branch (892:32): [True: 0, False: 0]
  ------------------
  893|      0|	REprintf(_("In addition: "));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  894|      0|	PrintWarnings();
  ------------------
  |  | 1982|      0|# define PrintWarnings		Rf_PrintWarnings
  ------------------
  895|      0|    }
  896|       |
  897|  3.07k|    jump_to_top_ex(TRUE, TRUE, TRUE, TRUE, FALSE);
  898|       |
  899|       |    /* not reached */
  900|  3.07k|    endcontext(&cntxt);
  ------------------
  |  | 1900|  3.07k|# define endcontext		Rf_endcontext
  ------------------
  901|  3.07k|    inError = oldInError;
  902|  3.07k|}
errors.c:restore_inError:
  741|  6.14k|{
  742|  6.14k|    int *poldval = (int *) data;
  743|  6.14k|    inError = *poldval;
  744|  6.14k|    R_Expressions = R_Expressions_keep;
  745|  6.14k|}
errors.c:Rstrncat:
  341|  7.89k|{
  342|  7.89k|    size_t after;
  343|  7.89k|    size_t before = strlen(dest);
  344|       |
  345|  7.89k|    strncat(dest, src, n);
  346|       |
  347|  7.89k|    after = strlen(dest);
  348|  7.89k|    if (after - before == n)
  ------------------
  |  Branch (348:9): [True: 0, False: 7.89k]
  ------------------
  349|       |	/* the string may have been truncated, but we cannot know for sure
  350|       |	   because str may not be null terminated */
  351|      0|	mbcsTruncateToValid(dest + before);
  352|       |
  353|  7.89k|    return dest;
  354|  7.89k|}
errors.c:jump_to_top_ex:
  995|  3.07k|{
  996|  3.07k|    RCNTXT cntxt;
  997|  3.07k|    SEXP s;
  998|  3.07k|    int haveHandler, oldInError;
  999|       |
 1000|       |    /* set up a context to restore inError value on exit */
 1001|  3.07k|    begincontext(&cntxt, CTXT_CCODE, R_NilValue, R_BaseEnv, R_BaseEnv,
  ------------------
  |  | 1869|  3.07k|# define begincontext		Rf_begincontext
  ------------------
 1002|  3.07k|		 R_NilValue, R_NilValue);
 1003|  3.07k|    cntxt.cend = &restore_inError;
 1004|  3.07k|    cntxt.cenddata = &oldInError;
 1005|       |
 1006|  3.07k|    oldInError = inError;
 1007|       |
 1008|  3.07k|    haveHandler = FALSE;
 1009|       |
 1010|       |    /* don't use options("error") when handling a C stack overflow */
 1011|  3.07k|    if (R_OldCStackLimit == 0 && tryUserHandler && inError < 3) {
  ------------------
  |  Branch (1011:9): [True: 3.07k, False: 0]
  |  Branch (1011:34): [True: 3.07k, False: 0]
  |  Branch (1011:52): [True: 3.07k, False: 0]
  ------------------
 1012|  3.07k|	if (! inError)
  ------------------
  |  Branch (1012:6): [True: 0, False: 3.07k]
  ------------------
 1013|      0|	    inError = 1;
 1014|       |
 1015|       |	/* now see if options("error") is set */
 1016|  3.07k|	s = GetOption1(install("error"));
  ------------------
  |  |  928|  3.07k|#define GetOption1		Rf_GetOption1
  ------------------
              	s = GetOption1(install("error"));
  ------------------
  |  |  934|  3.07k|#define install			Rf_install
  ------------------
 1017|  3.07k|	haveHandler = ( s != R_NilValue );
 1018|  3.07k|	if (haveHandler) {
  ------------------
  |  Branch (1018:6): [True: 0, False: 3.07k]
  ------------------
 1019|      0|	    if( !isLanguage(s) &&  ! isExpression(s) )  /* shouldn't happen */
  ------------------
  |  |  950|      0|#define isLanguage		Rf_isLanguage
  ------------------
              	    if( !isLanguage(s) &&  ! isExpression(s) )  /* shouldn't happen */
  ------------------
  |  |  945|      0|#define isExpression		Rf_isExpression
  ------------------
  |  Branch (1019:10): [True: 0, False: 0]
  |  Branch (1019:29): [True: 0, False: 0]
  ------------------
 1020|      0|		REprintf(_("invalid option \"error\"\n"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1021|      0|	    else {
 1022|      0|		R_CheckStack();
 1023|      0|		inError = 3;
 1024|      0|		if (isLanguage(s))
  ------------------
  |  |  950|      0|#define isLanguage		Rf_isLanguage
  ------------------
  |  Branch (1024:7): [True: 0, False: 0]
  ------------------
 1025|      0|		    eval(s, R_GlobalEnv);
  ------------------
  |  |  913|      0|#define eval			Rf_eval
  ------------------
 1026|      0|		else /* expression */
 1027|      0|		    {
 1028|      0|			int i, n = LENGTH(s);
 1029|      0|			for (i = 0 ; i < n ; i++)
  ------------------
  |  Branch (1029:17): [True: 0, False: 0]
  ------------------
 1030|      0|			    eval(VECTOR_ELT(s, i), R_GlobalEnv);
  ------------------
  |  |  913|      0|#define eval			Rf_eval
  ------------------
 1031|      0|		    }
 1032|      0|		inError = oldInError;
 1033|      0|	    }
 1034|      0|	}
 1035|  3.07k|	inError = oldInError;
 1036|  3.07k|    }
 1037|       |
 1038|       |    /* print warnings if there are any left to be printed */
 1039|  3.07k|    if( processWarnings && R_CollectWarnings )
  ------------------
  |  Branch (1039:9): [True: 3.07k, False: 0]
  |  Branch (1039:28): [True: 0, False: 3.07k]
  ------------------
 1040|      0|	PrintWarnings();
  ------------------
  |  | 1982|      0|# define PrintWarnings		Rf_PrintWarnings
  ------------------
 1041|       |
 1042|       |    /* reset some stuff--not sure (all) this belongs here */
 1043|  3.07k|    if (resetConsole) {
  ------------------
  |  Branch (1043:9): [True: 3.07k, False: 0]
  ------------------
 1044|  3.07k|	R_ResetConsole();
 1045|  3.07k|	R_FlushConsole();
 1046|  3.07k|	R_ClearerrConsole();
 1047|  3.07k|	R_ParseError = 0;
 1048|  3.07k|	R_ParseErrorFile = NULL;
 1049|  3.07k|	R_ParseErrorMsg[0] = '\0';
 1050|  3.07k|    }
 1051|       |
 1052|       |    /*
 1053|       |     * Reset graphics state
 1054|       |     */
 1055|  3.07k|    GEonExit();
 1056|       |
 1057|       |    /* WARNING: If oldInError > 0 ABSOLUTELY NO ALLOCATION can be
 1058|       |       triggered after this point except whatever happens in writing
 1059|       |       the traceback.  The error could be an out of memory error and
 1060|       |       any allocation could result in an infinite-loop condition. All
 1061|       |       you can do is reset things and exit.  */
 1062|       |
 1063|       |    /* jump to a browser/try if one is on the stack */
 1064|  3.07k|    if (! ignoreRestartContexts)
  ------------------
  |  Branch (1064:9): [True: 3.07k, False: 0]
  ------------------
 1065|  3.07k|	try_jump_to_restart();
 1066|       |    /* at this point, i.e. if we have not exited in
 1067|       |       try_jump_to_restart, we are heading for R_ToplevelContext */
 1068|       |
 1069|       |    /* only run traceback if we are not going to bail out of a
 1070|       |       non-interactive session */
 1071|       |
 1072|  3.07k|    if (R_Interactive || haveHandler || R_isTRUE(GetOption1(install("catch.script.errors")))) {
  ------------------
  |  |  928|      0|#define GetOption1		Rf_GetOption1
  ------------------
                  if (R_Interactive || haveHandler || R_isTRUE(GetOption1(install("catch.script.errors")))) {
  ------------------
  |  |  934|      0|#define install			Rf_install
  ------------------
  |  Branch (1072:9): [True: 3.07k, False: 0]
  |  Branch (1072:26): [True: 0, False: 0]
  |  Branch (1072:41): [True: 0, False: 0]
  ------------------
 1073|       |	/* write traceback if requested, unless we're already doing it
 1074|       |	   or there is an inconsistency between inError and oldInError
 1075|       |	   (which should not happen) */
 1076|  3.07k|	if (traceback && inError < 2 && inError == oldInError) {
  ------------------
  |  Branch (1076:6): [True: 3.07k, False: 0]
  |  Branch (1076:19): [True: 3.07k, False: 0]
  |  Branch (1076:34): [True: 3.07k, False: 0]
  ------------------
 1077|  3.07k|	    inError = 2;
 1078|  3.07k|	    PROTECT(s = R_GetTracebackOnly(0));
  ------------------
  |  |  357|  3.07k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1079|  3.07k|	    SET_SYMVALUE(install(".Traceback"), s);
  ------------------
  |  |  934|  3.07k|#define install			Rf_install
  ------------------
 1080|       |	    /* should have been defineVar
 1081|       |	       setVar(install(".Traceback"), s, R_GlobalEnv); */
 1082|  3.07k|	    UNPROTECT(1);
  ------------------
  |  |  358|  3.07k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1083|  3.07k|	    inError = oldInError;
 1084|  3.07k|	}
 1085|  3.07k|    }
 1086|       |
 1087|       |    R_jumpctxt(R_ToplevelContext, 0, NULL);
 1088|  3.07k|}
errors.c:try_jump_to_restart:
  968|  3.07k|{
  969|  3.07k|    SEXP list;
  970|       |
  971|  3.07k|    for (list = R_RestartStack; list != R_NilValue; list = CDR(list)) {
  ------------------
  |  Branch (971:33): [True: 0, False: 3.07k]
  ------------------
  972|      0|	SEXP restart = CAR(list);
  973|      0|	if (TYPEOF(restart) == VECSXP && LENGTH(restart) > 1) {
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (973:6): [True: 0, False: 0]
  |  Branch (973:35): [True: 0, False: 0]
  ------------------
  974|      0|	    SEXP name = VECTOR_ELT(restart, 0);
  975|      0|	    if (TYPEOF(name) == STRSXP && LENGTH(name) == 1) {
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (975:10): [True: 0, False: 0]
  |  Branch (975:36): [True: 0, False: 0]
  ------------------
  976|      0|		const char *cname = CHAR(STRING_ELT(name, 0));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  977|      0|		if (! strcmp(cname, "browser") ||
  ------------------
  |  Branch (977:7): [True: 0, False: 0]
  ------------------
  978|      0|		    ! strcmp(cname, "tryRestart") ||
  ------------------
  |  Branch (978:7): [True: 0, False: 0]
  ------------------
  979|      0|		    ! strcmp(cname, "abort")) /**** move abort eventually? */
  ------------------
  |  Branch (979:7): [True: 0, False: 0]
  ------------------
  980|      0|		    invokeRestart(restart, R_NilValue);
  981|      0|	    }
  982|      0|	}
  983|      0|    }
  984|  3.07k|}
errors.c:determine_domain_gettext:
 1111|    732|{
 1112|    732|    const char *domain = "";
 1113|    732|    char *buf; // will be returned
 1114|       |
 1115|       |    /* If TYPEOF(cptr->callfun) == CLOSXP (not .Primitive("eval")),
 1116|       |     * ENCLOS(cptr->cloenv) is CLOENV(cptr->callfun) */
 1117|       |    /* R_findParentContext(cptr, 1)->cloenv == cptr->sysparent */
 1118|    732|    if(isNull(domain_)) {
  ------------------
  |  |  956|    732|#define isNull			Rf_isNull
  ------------------
  |  Branch (1118:8): [True: 732, False: 0]
  ------------------
 1119|    732|	RCNTXT *cptr;
 1120|    732|	GETT_PRINT(">> determine_domain_gettext(), first rho=%s\n", EncodeEnvironment(rho));
  ------------------
  |  | 1105|    732|# define GETT_PRINT(...) do {} while(0)
  |  |  ------------------
  |  |  |  Branch (1105:38): [Folded, False: 732]
  |  |  ------------------
  ------------------
 1121|       |
 1122|       |	/* stop() etc have internal call to .makeMessage */
 1123|       |	/* gettextf calls gettext */
 1124|       |
 1125|    732|	SEXP rho = R_EmptyEnv;
 1126|    732|	if(R_GlobalContext->callflag & CTXT_FUNCTION) {
  ------------------
  |  Branch (1126:5): [True: 732, False: 0]
  ------------------
 1127|    732|	    if(up) {
  ------------------
  |  Branch (1127:9): [True: 732, False: 0]
  ------------------
 1128|    732|		SEXP call = R_GlobalContext->call;
 1129|       |		/* The call is of the form
 1130|       |		   <symbol>(<symbol>, domain = domain [possible other argument]) */
 1131|    732|		rho =
 1132|    732|		    (isSymbol(CAR(call)) && (call = CDR(call)) != R_NilValue &&
  ------------------
  |  |  953|    732|#define isSymbol		Rf_isSymbol
  ------------------
  |  Branch (1132:8): [True: 732, False: 0]
  |  Branch (1132:31): [True: 732, False: 0]
  ------------------
 1133|    732|		     TAG(call) == R_NilValue && isSymbol(CAR(call)) &&
  ------------------
  |  |  953|    732|#define isSymbol		Rf_isSymbol
  ------------------
  |  Branch (1133:8): [True: 732, False: 0]
  |  Branch (1133:35): [True: 724, False: 8]
  ------------------
 1134|    724|		     (call = CDR(call)) != R_NilValue &&
  ------------------
  |  Branch (1134:8): [True: 724, False: 0]
  ------------------
 1135|    724|		     isSymbol(TAG(call)) && streql(CHAR(PRINTNAME(TAG(call))), "domain") &&
  ------------------
  |  |  953|    724|#define isSymbol		Rf_isSymbol
  ------------------
              		     isSymbol(TAG(call)) && streql(CHAR(PRINTNAME(TAG(call))), "domain") &&
  ------------------
  |  | 1498|  1.45k|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 724, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1135:8): [True: 724, False: 0]
  ------------------
 1136|    724|		     isSymbol(CAR(call)) && streql(CHAR(PRINTNAME(CAR(call))), "domain") &&
  ------------------
  |  |  953|    724|#define isSymbol		Rf_isSymbol
  ------------------
              		     isSymbol(CAR(call)) && streql(CHAR(PRINTNAME(CAR(call))), "domain") &&
  ------------------
  |  | 1498|  1.45k|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 724, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1136:8): [True: 724, False: 0]
  ------------------
 1137|    724|		     (cptr = R_findParentContext(R_GlobalContext, 1)))
  ------------------
  |  Branch (1137:8): [True: 724, False: 0]
  ------------------
 1138|    732|		    ? cptr->sysparent
 1139|    732|		    : R_GlobalContext->sysparent;
 1140|    732|	    }
 1141|      0|	    else
 1142|      0|		rho = R_GlobalContext->sysparent;
 1143|    732|	}
 1144|    732|	GETT_PRINT(" .. rho1_domain_ => rho=%s\n", EncodeEnvironment(rho));
  ------------------
  |  | 1105|    732|# define GETT_PRINT(...) do {} while(0)
  |  |  ------------------
  |  |  |  Branch (1105:38): [Folded, False: 732]
  |  |  ------------------
  ------------------
 1145|       |
 1146|    732|	SEXP ns = R_NilValue;
 1147|    732|	int cnt = 0;
 1148|  1.46k|	    while(rho != R_EmptyEnv) {
  ------------------
  |  Branch (1148:12): [True: 1.46k, False: 0]
  ------------------
 1149|  1.46k|		if (rho == R_GlobalEnv) break;
  ------------------
  |  Branch (1149:7): [True: 0, False: 1.46k]
  ------------------
 1150|  1.46k|		else if (R_IsNamespaceEnv(rho)) {
  ------------------
  |  Branch (1150:12): [True: 732, False: 732]
  ------------------
 1151|    732|		    ns = R_NamespaceEnvSpec(rho);
 1152|    732|		    break;
 1153|    732|		}
 1154|    732|		if(++cnt <= 5 || cnt > 99) { // diagnose "inf." loop
  ------------------
  |  Branch (1154:6): [True: 732, False: 0]
  |  Branch (1154:20): [True: 0, False: 0]
  ------------------
 1155|    732|		    GETT_PRINT("  cnt=%4d, rho=%s\n", cnt, EncodeEnvironment(rho));
  ------------------
  |  | 1105|    732|# define GETT_PRINT(...) do {} while(0)
  |  |  ------------------
  |  |  |  Branch (1105:38): [Folded, False: 732]
  |  |  ------------------
  ------------------
 1156|    732|		    if(cnt > 111) break;
  ------------------
  |  Branch (1156:10): [True: 0, False: 732]
  ------------------
 1157|    732|		}
 1158|    732|		if(rho == ENCLOS(rho)) break; // *did* happen; now keep for safety
  ------------------
  |  Branch (1158:6): [True: 0, False: 732]
  ------------------
 1159|    732|		rho = ENCLOS(rho);
 1160|    732|	    }
 1161|    732|	if (!isNull(ns)) {
  ------------------
  |  |  956|    732|#define isNull			Rf_isNull
  ------------------
  |  Branch (1161:6): [True: 732, False: 0]
  ------------------
 1162|    732|	    PROTECT(ns);
  ------------------
  |  |  357|    732|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1163|    732|	    domain = translateChar(STRING_ELT(ns, 0));
  ------------------
  |  | 1037|    732|#define translateChar		Rf_translateChar
  ------------------
 1164|    732|	    if (strlen(domain)) {
  ------------------
  |  Branch (1164:10): [True: 732, False: 0]
  ------------------
 1165|    732|		size_t len = strlen(domain)+3;
 1166|    732|		buf = R_alloc(len, sizeof(char));
 1167|    732|		Rsnprintf_mbcs(buf, len, "R-%s", domain);
 1168|    732|		UNPROTECT(1); /* ns */
  ------------------
  |  |  358|    732|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1169|    732|		GETT_PRINT("Managed to determine 'domain' from environment as: '%s'\n", buf);
  ------------------
  |  | 1105|    732|# define GETT_PRINT(...) do {} while(0)
  |  |  ------------------
  |  |  |  Branch (1105:38): [Folded, False: 732]
  |  |  ------------------
  ------------------
 1170|    732|		return (const char*) buf;
 1171|    732|	    }
 1172|      0|	    UNPROTECT(1); /* ns */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1173|      0|	}
 1174|      0|	return NULL;
 1175|       |
 1176|    732|    } else if(isString(domain_)) {
  ------------------
  |  |  966|      0|#define isString		Rf_isString
  ------------------
  |  Branch (1176:15): [True: 0, False: 0]
  ------------------
 1177|      0|	domain = translateChar(STRING_ELT(domain_, 0));
  ------------------
  |  | 1037|      0|#define translateChar		Rf_translateChar
  ------------------
 1178|      0|	if (!strlen(domain))
  ------------------
  |  Branch (1178:6): [True: 0, False: 0]
  ------------------
 1179|      0|	    return NULL;
 1180|      0|	return domain;
 1181|       |
 1182|      0|    } else if(isLogical(domain_) && LENGTH(domain_) == 1 && LOGICAL(domain_)[0] == NA_LOGICAL)
  ------------------
  |  |  952|      0|#define isLogical		Rf_isLogical
  ------------------
                  } else if(isLogical(domain_) && LENGTH(domain_) == 1 && LOGICAL(domain_)[0] == NA_LOGICAL)
  ------------------
  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (1182:15): [True: 0, False: 0]
  |  Branch (1182:37): [True: 0, False: 0]
  |  Branch (1182:61): [True: 0, False: 0]
  ------------------
 1183|      0|	return NULL;
 1184|      0|    else error(_("invalid '%s' value"), "domain");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  else error(_("invalid '%s' value"), "domain");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1185|    732|}
errors.c:findCall:
 1342|    854|{
 1343|    854|    RCNTXT *cptr;
 1344|    854|    for (cptr = R_GlobalContext->nextcontext;
 1345|    854|	 cptr != NULL && cptr->callflag != CTXT_TOPLEVEL;
  ------------------
  |  Branch (1345:3): [True: 854, False: 0]
  |  Branch (1345:19): [True: 854, False: 0]
  ------------------
 1346|    854|	 cptr = cptr->nextcontext)
 1347|    854|	if (cptr->callflag & CTXT_FUNCTION)
  ------------------
  |  Branch (1347:6): [True: 854, False: 0]
  ------------------
 1348|    854|	    return cptr->call;
 1349|      0|    return R_NilValue;
 1350|    854|}
errors.c:mkHandlerEntry:
 1665|  2.92k|{
 1666|  2.92k|    SEXP entry = allocVector(VECSXP, 5);
  ------------------
  |  |  875|  2.92k|#define allocVector		Rf_allocVector
  ------------------
                  SEXP entry = allocVector(VECSXP, 5);
  ------------------
  |  |  131|  2.92k|#define VECSXP	    19	  /* generic vectors */
  ------------------
 1667|  2.92k|    SET_VECTOR_ELT(entry, 0, klass);
 1668|  2.92k|    SET_VECTOR_ELT(entry, 1, parentenv);
 1669|  2.92k|    SET_VECTOR_ELT(entry, 2, handler);
 1670|  2.92k|    SET_VECTOR_ELT(entry, 3, rho);
 1671|  2.92k|    SET_VECTOR_ELT(entry, 4, result);
 1672|  2.92k|    SETLEVELS(entry, calling);
 1673|  2.92k|    return entry;
 1674|  2.92k|}
errors.c:vsignalWarning:
 1801|  1.04M|{
 1802|  1.04M|    char buf[BUFSIZE];
 1803|  1.04M|    SEXP hooksym, hcall, qcall, qfun;
 1804|       |
 1805|  1.04M|    hooksym = install(".signalSimpleWarning");
  ------------------
  |  |  934|  1.04M|#define install			Rf_install
  ------------------
 1806|  1.04M|    if (SYMVALUE(hooksym) != R_UnboundValue &&
  ------------------
  |  Branch (1806:9): [True: 1.04M, False: 0]
  ------------------
 1807|  1.04M|	SYMVALUE(R_QuoteSymbol) != R_UnboundValue) {
  ------------------
  |  Branch (1807:2): [True: 1.04M, False: 0]
  ------------------
 1808|  1.04M|	qfun = lang3(R_DoubleColonSymbol, R_BaseSymbol, R_QuoteSymbol);
  ------------------
  |  |  980|  1.04M|#define lang3			Rf_lang3
  ------------------
 1809|  1.04M|	PROTECT(qfun);
  ------------------
  |  |  357|  1.04M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1810|  1.04M|	PROTECT(qcall = LCONS(qfun, LCONS(call, R_NilValue)));
  ------------------
  |  |  357|  1.04M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1811|  1.04M|	PROTECT(hcall = LCONS(qcall, R_NilValue));
  ------------------
  |  |  357|  1.04M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1812|  1.04M|	Rvsnprintf_mbcs(buf, BUFSIZE - 1, format, ap);
  ------------------
  |  |  368|  1.04M|#define BUFSIZE 8192
  ------------------
 1813|  1.04M|	hcall = LCONS(mkString(buf), hcall);
  ------------------
  |  |  310|  1.04M|#define LCONS(a, b)	Rf_lcons((a), (b))		/* language lists */
  ------------------
 1814|  1.04M|	PROTECT(hcall = LCONS(hooksym, hcall));
  ------------------
  |  |  357|  1.04M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1815|  1.04M|	evalKeepVis(hcall, R_BaseEnv);
 1816|  1.04M|	UNPROTECT(4);
  ------------------
  |  |  358|  1.04M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1817|  1.04M|    }
 1818|      0|    else vwarningcall_dflt(call, format, ap);
 1819|  1.04M|}
errors.c:vwarningcall_dflt:
  445|  1.04M|{
  446|  1.04M|    int w;
  447|  1.04M|    SEXP names, s;
  448|  1.04M|    const char *dcall;
  449|  1.04M|    char buf[BUFSIZE];
  450|  1.04M|    RCNTXT *cptr;
  451|  1.04M|    RCNTXT cntxt;
  452|  1.04M|    size_t psize;
  453|  1.04M|    int pval;
  454|       |
  455|  1.04M|    if (inWarning)
  ------------------
  |  Branch (455:9): [True: 0, False: 1.04M]
  ------------------
  456|      0|	return;
  457|       |
  458|  1.04M|    s = GetOption1(install("warning.expression"));
  ------------------
  |  |  928|  1.04M|#define GetOption1		Rf_GetOption1
  ------------------
                  s = GetOption1(install("warning.expression"));
  ------------------
  |  |  934|  1.04M|#define install			Rf_install
  ------------------
  459|  1.04M|    if( s != R_NilValue ) {
  ------------------
  |  Branch (459:9): [True: 0, False: 1.04M]
  ------------------
  460|      0|	if( !isLanguage(s) &&  ! isExpression(s) )
  ------------------
  |  |  950|      0|#define isLanguage		Rf_isLanguage
  ------------------
              	if( !isLanguage(s) &&  ! isExpression(s) )
  ------------------
  |  |  945|      0|#define isExpression		Rf_isExpression
  ------------------
  |  Branch (460:6): [True: 0, False: 0]
  |  Branch (460:25): [True: 0, False: 0]
  ------------------
  461|      0|	    error(_("invalid option \"warning.expression\""));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("invalid option \"warning.expression\""));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  462|      0|	cptr = R_GlobalContext;
  463|      0|	while ( !(cptr->callflag & CTXT_FUNCTION) && cptr->callflag )
  ------------------
  |  Branch (463:10): [True: 0, False: 0]
  |  Branch (463:47): [True: 0, False: 0]
  ------------------
  464|      0|	    cptr = cptr->nextcontext;
  465|      0|	evalKeepVis(s, cptr->cloenv);
  466|      0|	return;
  467|      0|    }
  468|       |
  469|  1.04M|    w = asInteger(GetOption1(install("warn")));
  ------------------
  |  |  885|  1.04M|#define asInteger		Rf_asInteger
  ------------------
                  w = asInteger(GetOption1(install("warn")));
  ------------------
  |  |  928|  1.04M|#define GetOption1		Rf_GetOption1
  ------------------
                  w = asInteger(GetOption1(install("warn")));
  ------------------
  |  |  934|  1.04M|#define install			Rf_install
  ------------------
  470|       |
  471|  1.04M|    if( w == NA_INTEGER ) /* set to a sensible value */
  ------------------
  |  |   56|  1.04M|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (471:9): [True: 0, False: 1.04M]
  ------------------
  472|      0|	w = 0;
  473|       |
  474|  1.04M|    if( w <= 0 && immediateWarning ) w = 1;
  ------------------
  |  Branch (474:9): [True: 1.04M, False: 0]
  |  Branch (474:19): [True: 0, False: 1.04M]
  ------------------
  475|       |
  476|  1.04M|    if( w < 0 || inWarning || inError) /* ignore if w<0 or already in here*/
  ------------------
  |  Branch (476:9): [True: 1.04M, False: 0]
  |  Branch (476:18): [True: 0, False: 0]
  |  Branch (476:31): [True: 0, False: 0]
  ------------------
  477|  1.04M|	return;
  478|       |
  479|       |    /* set up a context which will restore inWarning if there is an exit */
  480|      0|    begincontext(&cntxt, CTXT_CCODE, R_NilValue, R_BaseEnv, R_BaseEnv,
  ------------------
  |  | 1869|      0|# define begincontext		Rf_begincontext
  ------------------
  481|      0|		 R_NilValue, R_NilValue);
  482|      0|    cntxt.cend = &reset_inWarning;
  483|       |
  484|      0|    inWarning = 1;
  485|       |
  486|      0|    if(w >= 2) { /* make it an error */
  ------------------
  |  Branch (486:8): [True: 0, False: 0]
  ------------------
  487|      0|	psize = min(BUFSIZE, R_WarnLength+1);
  ------------------
  |  |   49|      0|#define min(a, b) (a<b?a:b)
  |  |  ------------------
  |  |  |  Branch (49:20): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  488|      0|	pval = Rvsnprintf_mbcs(buf, psize, format, ap);
  489|      0|	RprintTrunc(buf, pval >= psize);
  490|      0|	inWarning = 0; /* PR#1570 */
  491|      0|	errorcall(call, _("(converted from warning) %s"), buf);
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("(converted from warning) %s"), buf);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  492|      0|    }
  493|      0|    else if(w == 1) {	/* print as they happen */
  ------------------
  |  Branch (493:13): [True: 0, False: 0]
  ------------------
  494|      0|	char *tr;
  495|      0|	if( call != R_NilValue ) {
  ------------------
  |  Branch (495:6): [True: 0, False: 0]
  ------------------
  496|      0|	    dcall = CHAR(STRING_ELT(deparse1s(call), false));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  497|      0|	} else dcall = "";
  498|      0|	psize = min(BUFSIZE, R_WarnLength+1);
  ------------------
  |  |   49|      0|#define min(a, b) (a<b?a:b)
  |  |  ------------------
  |  |  |  Branch (49:20): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  499|      0|	pval = Rvsnprintf_mbcs(buf, psize, format, ap);
  500|      0|	RprintTrunc(buf, pval >= psize);
  501|       |
  502|      0|	if(dcall[0] == '\0') REprintf(_("Warning:"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (502:5): [True: 0, False: 0]
  ------------------
  503|      0|	else {
  504|      0|	    REprintf(_("Warning in %s :"), dcall);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  505|       |	    // This did not allow for buf containing line breaks
  506|       |	    // We can put the first line on the same line as the warning
  507|       |	    // if it fits within LONGWARN.
  508|      0|	    char buf1[BUFSIZE];
  509|      0|	    strncpy(buf1, buf, BUFSIZE);
  ------------------
  |  |  368|      0|#define BUFSIZE 8192
  ------------------
  510|      0|	    char *p = strstr(buf1, "\n");
  511|      0|	    if(p) *p = '\0';
  ------------------
  |  Branch (511:9): [True: 0, False: 0]
  ------------------
  512|      0|	    if(!(noBreakWarning ||
  ------------------
  |  Branch (512:11): [True: 0, False: 0]
  ------------------
  513|      0|		 ( mbcslocale && (18 + wd(dcall) + wd(buf1) <= LONGWARN)) ||
  ------------------
  |  |   56|      0|#define LONGWARN 75
  ------------------
  |  Branch (513:6): [True: 0, False: 0]
  |  Branch (513:20): [True: 0, False: 0]
  ------------------
  514|      0|		 (!mbcslocale && (18 + strlen(dcall) + strlen(buf1) <= LONGWARN))))
  ------------------
  |  |   56|      0|#define LONGWARN 75
  ------------------
  |  Branch (514:5): [True: 0, False: 0]
  |  Branch (514:20): [True: 0, False: 0]
  ------------------
  515|      0|		REprintf("\n ");
  516|      0|	}
  517|      0|	REprintf(" %s\n", buf);
  518|      0|	if(R_ShowWarnCalls && call != R_NilValue) {
  ------------------
  |  Branch (518:5): [True: 0, False: 0]
  |  Branch (518:24): [True: 0, False: 0]
  ------------------
  519|      0|	    tr = R_ConciseTraceback(call, 0);
  520|      0|	    if (strlen(tr)) {REprintf(_("Calls:")); REprintf(" %s\n", tr);}
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (520:10): [True: 0, False: 0]
  ------------------
  521|      0|	}
  522|      0|    }
  523|      0|    else if(w == 0) {	/* collect them */
  ------------------
  |  Branch (523:13): [True: 0, False: 0]
  ------------------
  524|      0|	if(!R_CollectWarnings) setupwarnings();
  ------------------
  |  Branch (524:5): [True: 0, False: 0]
  ------------------
  525|      0|	if(R_CollectWarnings < R_nwarnings) {
  ------------------
  |  Branch (525:5): [True: 0, False: 0]
  ------------------
  526|      0|	    SET_VECTOR_ELT(R_Warnings, R_CollectWarnings, call);
  527|      0|	    psize = min(BUFSIZE, R_WarnLength+1);
  ------------------
  |  |   49|      0|#define min(a, b) (a<b?a:b)
  |  |  ------------------
  |  |  |  Branch (49:20): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  528|      0|	    pval = Rvsnprintf_mbcs(buf, psize, format, ap);
  529|      0|	    RprintTrunc(buf, pval >= psize);
  530|      0|	    if(R_ShowWarnCalls && call != R_NilValue) {
  ------------------
  |  Branch (530:9): [True: 0, False: 0]
  |  Branch (530:28): [True: 0, False: 0]
  ------------------
  531|      0|		char *tr =  R_ConciseTraceback(call, 0);
  532|      0|		size_t nc = strlen(tr);
  533|      0|		if (nc && nc + (int)strlen(buf) + 8 < BUFSIZE) {
  ------------------
  |  |  368|      0|#define BUFSIZE 8192
  ------------------
  |  Branch (533:7): [True: 0, False: 0]
  |  Branch (533:13): [True: 0, False: 0]
  ------------------
  534|      0|		    strcat(buf, "\n");
  535|      0|		    strcat(buf, _("Calls:"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  536|      0|		    strcat(buf, " ");
  537|      0|		    strcat(buf, tr);
  538|      0|		}
  539|      0|	    }
  540|      0|	    names = CAR(ATTRIB(R_Warnings));
  541|      0|	    SET_STRING_ELT(names, R_CollectWarnings++, mkChar(buf));
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
  542|      0|	}
  543|      0|    }
  544|       |    /* else:  w <= -1 */
  545|      0|    endcontext(&cntxt);
  ------------------
  |  | 1900|      0|# define endcontext		Rf_endcontext
  ------------------
  546|      0|    inWarning = 0;
  547|      0|}
errors.c:vsignalError:
 1832|  3.07k|{
 1833|       |    /* This function does not protect or restore the old handler
 1834|       |       stack. On return R_HandlerStack will be R_NilValue (unless
 1835|       |       R_RestartToken is encountered). */
 1836|  3.07k|    char localbuf[BUFSIZE];
 1837|  3.07k|    SEXP list;
 1838|       |
 1839|  3.07k|    Rvsnprintf_mbcs(localbuf, BUFSIZE - 1, format, ap);
  ------------------
  |  |  368|  3.07k|#define BUFSIZE 8192
  ------------------
 1840|  3.07k|    while ((list = findSimpleErrorHandler()) != R_NilValue) {
  ------------------
  |  Branch (1840:12): [True: 0, False: 3.07k]
  ------------------
 1841|      0|	char *buf = errbuf;
 1842|      0|	SEXP entry = CAR(list);
 1843|      0|	R_HandlerStack = CDR(list);
 1844|      0|	Rstrncpy(buf, localbuf, BUFSIZE);
  ------------------
  |  |  368|      0|#define BUFSIZE 8192
  ------------------
 1845|       |	/*	Rvsnprintf(buf, BUFSIZE - 1, format, ap);*/
 1846|      0|	if (IS_CALLING_ENTRY(entry)) {
  ------------------
  |  | 1677|      0|#define IS_CALLING_ENTRY(e) LEVELS(e)
  |  |  ------------------
  |  |  |  Branch (1677:29): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1847|      0|	    if (ENTRY_HANDLER(entry) == R_RestartToken) {
  ------------------
  |  | 1680|      0|#define ENTRY_HANDLER(e) VECTOR_ELT(e, 2)
  ------------------
  |  Branch (1847:10): [True: 0, False: 0]
  ------------------
 1848|      0|		UNPROTECT(1); /* oldstack */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1849|      0|		break; /* go to default error handling */
 1850|      0|	    } else {
 1851|       |		/* if we are in the process of handling a C stack
 1852|       |		   overflow, treat all calling handlers as failed */
 1853|      0|		if (R_OldCStackLimit)
  ------------------
  |  Branch (1853:7): [True: 0, False: 0]
  ------------------
 1854|      0|		    continue;
 1855|      0|		SEXP hooksym, hcall, qcall, qfun;
 1856|      0|		PROTECT(entry); /* protect since no longer on the stack */
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1857|      0|		hooksym = install(".handleSimpleError");
  ------------------
  |  |  934|      0|#define install			Rf_install
  ------------------
 1858|      0|		qfun = lang3(R_DoubleColonSymbol, R_BaseSymbol,
  ------------------
  |  |  980|      0|#define lang3			Rf_lang3
  ------------------
 1859|      0|		             R_QuoteSymbol);
 1860|      0|		PROTECT(qfun);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1861|      0|		PROTECT(qcall = LCONS(qfun,
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1862|      0|				      LCONS(call, R_NilValue)));
 1863|      0|		PROTECT(hcall = LCONS(qcall, R_NilValue));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1864|      0|		hcall = LCONS(mkString(buf), hcall);
  ------------------
  |  |  310|      0|#define LCONS(a, b)	Rf_lcons((a), (b))		/* language lists */
  ------------------
 1865|      0|		hcall = LCONS(ENTRY_HANDLER(entry), hcall);
  ------------------
  |  |  310|      0|#define LCONS(a, b)	Rf_lcons((a), (b))		/* language lists */
  ------------------
 1866|      0|		PROTECT(hcall = LCONS(hooksym, hcall));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1867|      0|		eval(hcall, R_BaseEnv);
  ------------------
  |  |  913|      0|#define eval			Rf_eval
  ------------------
 1868|      0|		UNPROTECT(5);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1869|      0|	    }
 1870|      0|	}
 1871|      0|	else gotoExitingHandler(R_NilValue, call, entry);
 1872|      0|    }
 1873|  3.07k|}
errors.c:findSimpleErrorHandler:
 1788|  3.07k|{
 1789|  3.07k|    SEXP list;
 1790|  3.07k|    for (list = R_HandlerStack; list != R_NilValue; list = CDR(list)) {
  ------------------
  |  Branch (1790:33): [True: 0, False: 3.07k]
  ------------------
 1791|      0|	SEXP entry = CAR(list);
 1792|      0|	if (! strcmp(CHAR(ENTRY_CLASS(entry)), "simpleError") ||
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (1792:6): [True: 0, False: 0]
  ------------------
 1793|      0|	    ! strcmp(CHAR(ENTRY_CLASS(entry)), "error") ||
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (1793:6): [True: 0, False: 0]
  ------------------
 1794|      0|	    ! strcmp(CHAR(ENTRY_CLASS(entry)), "condition"))
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (1794:6): [True: 0, False: 0]
  ------------------
 1795|      0|	    return list;
 1796|      0|    }
 1797|  3.07k|    return R_NilValue;
 1798|  3.07k|}
errors.c:findConditionHandler:
 1876|  1.04M|{
 1877|  1.04M|    int i;
 1878|  1.04M|    SEXP list;
 1879|  1.04M|    SEXP classes = getAttrib(cond, R_ClassSymbol);
  ------------------
  |  |  924|  1.04M|#define getAttrib		Rf_getAttrib
  ------------------
 1880|       |
 1881|  1.04M|    if (TYPEOF(classes) != STRSXP)
  ------------------
  |  |  126|  1.04M|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1881:9): [True: 0, False: 1.04M]
  ------------------
 1882|      0|	return R_NilValue;
 1883|       |
 1884|       |    /**** need some changes here to allow conditions to be S4 classes */
 1885|  1.04M|    for (list = R_HandlerStack; list != R_NilValue; list = CDR(list)) {
  ------------------
  |  Branch (1885:33): [True: 1.35k, False: 1.04M]
  ------------------
 1886|  1.35k|	SEXP entry = CAR(list);
 1887|  2.70k|	for (i = 0; i < LENGTH(classes); i++)
  ------------------
  |  Branch (1887:14): [True: 2.70k, False: 0]
  ------------------
 1888|  2.70k|	    if (! strcmp(CHAR(ENTRY_CLASS(entry)),
  ------------------
  |  |  203|  2.70k|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (1888:10): [True: 1.35k, False: 1.35k]
  ------------------
 1889|  2.70k|			 CHAR(STRING_ELT(classes, i))))
  ------------------
  |  |  203|  2.70k|#define CHAR(x) R_CHAR(x)
  ------------------
 1890|  1.35k|		return list;
 1891|  1.35k|    }
 1892|  1.04M|    return R_NilValue;
 1893|  1.04M|}
errors.c:warningcall_dflt:
  550|  1.04M|{
  551|  1.04M|    va_list(ap);
  552|       |
  553|  1.04M|    va_start(ap, format);
  554|  1.04M|    vwarningcall_dflt(call, format, ap);
  555|       |    va_end(ap);
  556|  1.04M|}
errors.c:invokeRestart:
 2105|  1.35k|{
 2106|  1.35k|    SEXP exit = RESTART_EXIT(r);
  ------------------
  |  | 2102|  1.35k|#define RESTART_EXIT(r) VECTOR_ELT(r, 1)
  ------------------
 2107|       |
 2108|  1.35k|    if (exit == R_NilValue) {
  ------------------
  |  Branch (2108:9): [True: 0, False: 1.35k]
  ------------------
 2109|      0|	R_RestartStack = R_NilValue;
 2110|      0|	jump_to_toplevel();
  ------------------
  |  |  110|      0|# define jump_to_toplevel	Rf_jump_to_toplevel
  ------------------
 2111|      0|    }
 2112|  1.35k|    else {
 2113|  2.70k|	for (; R_RestartStack != R_NilValue;
  ------------------
  |  Branch (2113:9): [True: 1.35k, False: 1.35k]
  ------------------
 2114|  1.35k|	     R_RestartStack = CDR(R_RestartStack))
 2115|  1.35k|	    if (exit == RESTART_EXIT(CAR(R_RestartStack))) {
  ------------------
  |  | 2102|  1.35k|#define RESTART_EXIT(r) VECTOR_ELT(r, 1)
  ------------------
  |  Branch (2115:10): [True: 1.35k, False: 0]
  ------------------
 2116|  1.35k|		R_RestartStack = CDR(R_RestartStack);
 2117|  1.35k|		if (TYPEOF(exit) == EXTPTRSXP) {
  ------------------
  |  |  134|  1.35k|#define EXTPTRSXP   22    /* external pointer */
  ------------------
  |  Branch (2117:7): [True: 0, False: 1.35k]
  ------------------
 2118|      0|		    RCNTXT *c = (RCNTXT *) R_ExternalPtrAddr(exit);
 2119|      0|		    R_JumpToContext(c, CTXT_RESTART, R_RestartToken);
 2120|      0|		}
 2121|  1.35k|		else findcontext(CTXT_FUNCTION, exit, arglist);
  ------------------
  |  | 1906|  1.35k|# define findcontext		Rf_findcontext
  ------------------
 2122|  1.35k|	    }
 2123|  1.35k|	error(_("restart not on stack"));
  ------------------
  |  |   88|  1.35k|#define error Rf_error
  ------------------
              	error(_("restart not on stack"));
  ------------------
  |  | 2536|  1.35k|#   define _(String) gettext (String)
  ------------------
 2124|  1.35k|    }
 2125|  1.35k|}
errors.c:evalKeepVis:
   41|  1.04M|{
   42|  1.04M|    Rboolean oldvis = R_Visible;
   43|  1.04M|    SEXP val = eval(e, rho);
  ------------------
  |  |  913|  1.04M|#define eval			Rf_eval
  ------------------
   44|  1.04M|    R_Visible = oldvis;
   45|  1.04M|    return val;
   46|  1.04M|}

Rf_check_stack_balance:
  940|  3.18M|{
  941|  3.18M|    if(save == R_PPStackTop) return;
  ------------------
  |  Branch (941:8): [True: 3.18M, False: 0]
  ------------------
  942|      0|    REprintf("Warning: stack imbalance in '%s', %d then %d\n",
  943|      0|	     PRIMNAME(op), save, R_PPStackTop);
  ------------------
  |  | 1346|      0|#define PRIMNAME(x)	(R_FunTab[PRIMOFFSET(x)].name)
  ------------------
  944|      0|}
R_BCProtReset:
 1053|  1.06M|{
 1054|  1.06M|    DECLNK_stack(ptop);
 1055|  1.06M|}
Rf_eval:
 1093|  25.6M|{
 1094|  25.6M|    SEXP op, tmp;
 1095|  25.6M|    static int evalcount = 0;
 1096|       |
 1097|  25.6M|    R_Visible = TRUE;
 1098|       |
 1099|       |    /* this is needed even for self-evaluating objects or something like
 1100|       |       'while (TRUE) NULL' will not be interruptable */
 1101|  25.6M|    if (++evalcount > EVAL_COUNT_DELTA) { /* was 100 before 2.8.0 */
  ------------------
  |  |   44|  25.6M|#define EVAL_COUNT_DELTA 10
  ------------------
  |  Branch (1101:9): [True: 2.32M, False: 23.2M]
  ------------------
 1102|  2.32M|	R_CheckUserInterrupt();
 1103|  2.32M|#ifndef IMMEDIATE_FINALIZERS
 1104|       |	/* finalizers are run here since this should only be called at
 1105|       |	   points where running arbitrary code should be safe */
 1106|  2.32M|	R_RunPendingFinalizers();
 1107|  2.32M|#endif
 1108|  2.32M|	evalcount = 0 ;
 1109|  2.32M|    }
 1110|       |
 1111|       |    /* handle self-evaluating objects with minimal overhead */
 1112|  25.6M|    switch (TYPEOF(e)) {
 1113|  2.10M|    case NILSXP:
  ------------------
  |  |  111|  2.10M|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (1113:5): [True: 2.10M, False: 23.5M]
  ------------------
 1114|  2.10M|    case LISTSXP:
  ------------------
  |  |  113|  2.10M|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (1114:5): [True: 0, False: 25.6M]
  ------------------
 1115|  2.15M|    case LGLSXP:
  ------------------
  |  |  121|  2.15M|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (1115:5): [True: 48.5k, False: 25.5M]
  ------------------
 1116|  2.17M|    case INTSXP:
  ------------------
  |  |  123|  2.17M|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1116:5): [True: 20.2k, False: 25.5M]
  ------------------
 1117|  2.19M|    case REALSXP:
  ------------------
  |  |  124|  2.19M|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1117:5): [True: 16.7k, False: 25.5M]
  ------------------
 1118|  6.42M|    case STRSXP:
  ------------------
  |  |  126|  6.42M|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1118:5): [True: 4.22M, False: 21.3M]
  ------------------
 1119|  6.42M|    case CPLXSXP:
  ------------------
  |  |  125|  6.42M|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (1119:5): [True: 0, False: 25.6M]
  ------------------
 1120|  6.42M|    case RAWSXP:
  ------------------
  |  |  136|  6.42M|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (1120:5): [True: 0, False: 25.6M]
  ------------------
 1121|  6.42M|    case OBJSXP:
  ------------------
  |  |  137|  6.42M|#define OBJSXP      25    /* object, non-vector  */
  ------------------
  |  Branch (1121:5): [True: 0, False: 25.6M]
  ------------------
 1122|  6.42M|    case SPECIALSXP:
  ------------------
  |  |  118|  6.42M|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (1122:5): [True: 0, False: 25.6M]
  ------------------
 1123|  6.42M|    case BUILTINSXP:
  ------------------
  |  |  119|  6.42M|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (1123:5): [True: 1, False: 25.6M]
  ------------------
 1124|  6.42M|    case ENVSXP:
  ------------------
  |  |  115|  6.42M|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (1124:5): [True: 0, False: 25.6M]
  ------------------
 1125|  6.42M|    case CLOSXP:
  ------------------
  |  |  114|  6.42M|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (1125:5): [True: 6.71k, False: 25.6M]
  ------------------
 1126|  6.42M|    case VECSXP:
  ------------------
  |  |  131|  6.42M|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (1126:5): [True: 1.47k, False: 25.6M]
  ------------------
 1127|  6.42M|    case EXTPTRSXP:
  ------------------
  |  |  134|  6.42M|#define EXTPTRSXP   22    /* external pointer */
  ------------------
  |  Branch (1127:5): [True: 18, False: 25.6M]
  ------------------
 1128|  6.42M|    case WEAKREFSXP:
  ------------------
  |  |  135|  6.42M|#define WEAKREFSXP  23    /* weak reference */
  ------------------
  |  Branch (1128:5): [True: 0, False: 25.6M]
  ------------------
 1129|  6.42M|    case EXPRSXP:
  ------------------
  |  |  132|  6.42M|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (1129:5): [True: 0, False: 25.6M]
  ------------------
 1130|       |	/* Make sure constants in expressions are NAMED before being
 1131|       |	   used as values.  Setting NAMED to NAMEDMAX makes sure weird calls
 1132|       |	   to replacement functions won't modify constants in
 1133|       |	   expressions.  */
 1134|  6.42M|	ENSURE_NAMEDMAX(e);
 1135|  6.42M|	return e;
 1136|  19.1M|    default: break;
  ------------------
  |  Branch (1136:5): [True: 19.1M, False: 6.42M]
  ------------------
 1137|  25.6M|    }
 1138|       |
 1139|  19.1M|    int bcintactivesave = R_BCIntActive;
 1140|  19.1M|    R_BCIntActive = 0;
 1141|       |
 1142|  19.1M|    if (!rho)
  ------------------
  |  Branch (1142:9): [True: 0, False: 19.1M]
  ------------------
 1143|      0|	error("'rho' cannot be C NULL: detected in C-level eval");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 1144|  19.1M|    if (!isEnvironment(rho))
  ------------------
  |  |  944|  19.1M|#define isEnvironment		Rf_isEnvironment
  ------------------
  |  Branch (1144:9): [True: 0, False: 19.1M]
  ------------------
 1145|      0|	error("'rho' must be an environment not %s: detected in C-level eval",
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 1146|      0|	      R_typeToChar(rho));
 1147|       |
 1148|       |    /* Save the current srcref context. */
 1149|       |
 1150|  19.1M|    SEXP srcrefsave = R_Srcref;
 1151|       |
 1152|       |    /* The use of depthsave below is necessary because of the
 1153|       |       possibility of non-local returns from evaluation.  Without this
 1154|       |       an "expression too complex error" is quite likely. */
 1155|       |
 1156|  19.1M|    int depthsave = R_EvalDepth;
 1157|  19.1M|    INCREMENT_EVAL_DEPTH();
  ------------------
  |  | 1067|  19.1M|#define INCREMENT_EVAL_DEPTH() do {		\
  |  | 1068|  19.1M|	R_EvalDepth++;				\
  |  | 1069|  19.1M|	if (R_EvalDepth > R_Expressions)	\
  |  |  ------------------
  |  |  |  Branch (1069:6): [True: 0, False: 19.1M]
  |  |  ------------------
  |  | 1070|  19.1M|	    handle_eval_depth_overflow();	\
  |  | 1071|  19.1M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1071:14): [Folded, False: 19.1M]
  |  |  ------------------
  ------------------
 1158|  19.1M|    R_CheckStack();
 1159|       |
 1160|  19.1M|    tmp = R_NilValue;		/* -Wall */
 1161|       |#ifdef Win32
 1162|       |    /* This is an inlined version of Rwin_fpreset (src/gnuwin/extra.c)
 1163|       |       and resets the precision, rounding and exception modes of a ix86
 1164|       |       fpu.
 1165|       |     */
 1166|       |# if (defined(__i386) || defined(__x86_64))
 1167|       |    __asm__ ( "fninit" );
 1168|       |# elif defined(__aarch64__)
 1169|       |    __asm__ volatile("msr fpcr, %0" : : "r"(0LL));
 1170|       |# else
 1171|       |    _fpreset();
 1172|       |# endif
 1173|       |#endif
 1174|       |
 1175|  19.1M|    switch (TYPEOF(e)) {
 1176|  4.27M|    case BCODESXP:
  ------------------
  |  |  133|  4.27M|#define BCODESXP    21    /* byte code */
  ------------------
  |  Branch (1176:5): [True: 4.27M, False: 14.9M]
  ------------------
 1177|  4.27M|	tmp = bcEval(e, rho);
 1178|  4.27M|	    break;
 1179|  3.21M|    case SYMSXP:
  ------------------
  |  |  112|  3.21M|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (1179:5): [True: 3.21M, False: 15.9M]
  ------------------
 1180|  3.21M|	if (e == R_DotsSymbol)
  ------------------
  |  Branch (1180:6): [True: 0, False: 3.21M]
  ------------------
 1181|      0|	    error(_("'...' used in an incorrect context"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("'...' used in an incorrect context"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1182|  3.21M|	if( DDVAL(e) )
  ------------------
  |  Branch (1182:6): [True: 0, False: 3.21M]
  ------------------
 1183|      0|	    tmp = ddfindVar(e,rho);
  ------------------
  |  | 1885|      0|# define ddfindVar		Rf_ddfindVar
  ------------------
 1184|  3.21M|	else
 1185|  3.21M|	    tmp = R_findVar(e, rho);
 1186|  3.21M|	if (tmp == R_UnboundValue)
  ------------------
  |  Branch (1186:6): [True: 0, False: 3.21M]
  ------------------
 1187|      0|	    R_ObjectNotFoundError(e, getLexicalCall(rho), NULL);
 1188|  3.21M|	else if (tmp == R_MissingArg) {
  ------------------
  |  Branch (1188:11): [True: 0, False: 3.21M]
  ------------------
 1189|       |	    /* the error signaled here for a missing ..d matches the one
 1190|       |	       signaled in getvar() for byte compiled code, but ...elt()
 1191|       |	       signals a slightly different error (see PR18661) */
 1192|      0|	    R_MissingArgError(e, getLexicalCall(rho), "evalError");
 1193|      0|	}
 1194|  3.21M|	else if (TYPEOF(tmp) == PROMSXP) {
  ------------------
  |  |  116|  3.21M|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (1194:11): [True: 3.17M, False: 40.2k]
  ------------------
 1195|  3.17M|	    ENSURE_PROMISE_IS_EVALUATED(tmp);
  ------------------
  |  |  946|  3.17M|#define ENSURE_PROMISE_IS_EVALUATED(x) do {	\
  |  |  947|  3.17M|	SEXP __x__ = (x);			\
  |  |  948|  3.17M|	if (! PROMISE_IS_EVALUATED(__x__))	\
  |  |  ------------------
  |  |  |  Branch (948:6): [True: 1.06M, False: 2.11M]
  |  |  ------------------
  |  |  949|  3.17M|	    forcePromise(__x__);		\
  |  |  950|  3.17M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (950:14): [Folded, False: 3.17M]
  |  |  ------------------
  ------------------
 1196|  3.17M|	    tmp = PRVALUE(tmp);
 1197|  3.17M|	}
 1198|  40.2k|	else ENSURE_NAMED(tmp); /* needed for .Last.value - LT */
 1199|  3.21M|	break;
 1200|  7.45M|    case PROMSXP:
  ------------------
  |  |  116|  7.45M|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (1200:5): [True: 7.45M, False: 11.7M]
  ------------------
 1201|  7.45M|	ENSURE_PROMISE_IS_EVALUATED(e);
  ------------------
  |  |  946|  7.45M|#define ENSURE_PROMISE_IS_EVALUATED(x) do {	\
  |  |  947|  7.45M|	SEXP __x__ = (x);			\
  |  |  948|  7.45M|	if (! PROMISE_IS_EVALUATED(__x__))	\
  |  |  ------------------
  |  |  |  Branch (948:6): [True: 3.19M, False: 4.25M]
  |  |  ------------------
  |  |  949|  7.45M|	    forcePromise(__x__);		\
  |  |  950|  7.45M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (950:14): [Folded, False: 7.45M]
  |  |  ------------------
  ------------------
 1202|  7.45M|	tmp = PRVALUE(e);
 1203|       |	/* This does _not_ change the value of NAMED on the value tmp,
 1204|       |	   in contrast to the handling of promises bound to symbols in
 1205|       |	   the SYMSXP case above.  The reason is that one (typically
 1206|       |	   the only) place promises appear in source code is as
 1207|       |	   wrappers for the RHS value in replacement function calls for
 1208|       |	   complex assignment expression created in applydefine().  If
 1209|       |	   the RHS value is freshly created it will have NAMED = 0 and
 1210|       |	   we want it to stay that way or a BUILTIN or SPECIAL
 1211|       |	   replacement function might have to duplicate the value
 1212|       |	   before inserting it to avoid creating cycles.  (Closure
 1213|       |	   replacement functions will get the value via the SYMSXP case
 1214|       |	   from evaluating their 'value' argument so the value will
 1215|       |	   end up getting duplicated if NAMED > 1.) LT */
 1216|  7.45M|	break;
 1217|  4.24M|    case LANGSXP:
  ------------------
  |  |  117|  4.24M|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (1217:5): [True: 4.24M, False: 14.9M]
  ------------------
 1218|  4.24M|	if (TYPEOF(CAR(e)) == SYMSXP) {
  ------------------
  |  |  112|  4.24M|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (1218:6): [True: 3.19M, False: 1.05M]
  ------------------
 1219|       |	    /* This will throw an error if the function is not found */
 1220|  3.19M|	    SEXP ecall = e;
 1221|       |
 1222|       |	    /* This picks the correct/better error expression for
 1223|       |	       replacement calls running in the AST interpreter. */
 1224|  3.19M|	    if (R_GlobalContext != NULL &&
  ------------------
  |  Branch (1224:10): [True: 3.19M, False: 0]
  ------------------
 1225|  3.19M|		    (R_GlobalContext->callflag == CTXT_CCODE))
  ------------------
  |  Branch (1225:7): [True: 901, False: 3.19M]
  ------------------
 1226|    901|		ecall = R_GlobalContext->call;
 1227|  3.19M|	    PROTECT(op = findFun3(CAR(e), rho, ecall));
  ------------------
  |  |  357|  3.19M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1228|  3.19M|	} else
 1229|  1.05M|	    PROTECT(op = eval(CAR(e), rho));
  ------------------
  |  |  357|  1.05M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1230|       |
 1231|  4.24M|	if(RTRACE(op) && R_current_trace_state()) {
  ------------------
  |  Branch (1231:5): [True: 0, False: 4.24M]
  |  Branch (1231:19): [True: 0, False: 0]
  ------------------
 1232|      0|	    Rprintf("trace: ");
 1233|      0|	    PrintValue(e);
  ------------------
  |  | 1013|      0|#define PrintValue		Rf_PrintValue
  ------------------
 1234|      0|	}
 1235|  4.24M|	if (TYPEOF(op) == SPECIALSXP) {
  ------------------
  |  |  118|  4.24M|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (1235:6): [True: 3.16M, False: 1.08M]
  ------------------
 1236|  3.16M|	    int save = R_PPStackTop, flag = PRIMPRINT(op);
  ------------------
  |  | 1350|  3.16M|#define PRIMPRINT(x)	(((R_FunTab[PRIMOFFSET(x)].eval)/100)%10)
  |  |  ------------------
  |  |  |  |  913|  3.16M|#define eval			Rf_eval
  |  |  ------------------
  ------------------
 1237|  3.16M|	    const void *vmax = vmaxget();
 1238|  3.16M|	    PROTECT(e);
  ------------------
  |  |  357|  3.16M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1239|  3.16M|	    R_Visible = flag != 1;
 1240|  3.16M|	    tmp = PRIMFUN(op) (e, op, CDR(e), rho);
  ------------------
  |  | 1345|  3.16M|#define PRIMFUN(x)	(R_FunTab[PRIMOFFSET(x)].cfun)
  ------------------
 1241|       |#ifdef CHECK_VISIBILITY
 1242|       |	    if(flag < 2 && R_Visible == flag) {
 1243|       |		char *nm = PRIMNAME(op);
 1244|       |		if(strcmp(nm, "for")
 1245|       |		   && strcmp(nm, "repeat") && strcmp(nm, "while")
 1246|       |		   && strcmp(nm, "[[<-") && strcmp(nm, "on.exit"))
 1247|       |		    printf("vis: special %s\n", nm);
 1248|       |	    }
 1249|       |#endif
 1250|  3.16M|	    if (flag < 2) R_Visible = flag != 1;
  ------------------
  |  Branch (1250:10): [True: 2.11M, False: 1.05M]
  ------------------
 1251|  3.16M|	    UNPROTECT(1);
  ------------------
  |  |  358|  3.16M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1252|  3.16M|	    check_stack_balance(op, save);
  ------------------
  |  | 1871|  3.16M|# define check_stack_balance	Rf_check_stack_balance
  ------------------
 1253|  3.16M|	    vmaxset(vmax);
 1254|  3.16M|	}
 1255|  1.08M|	else if (TYPEOF(op) == BUILTINSXP) {
  ------------------
  |  |  119|  1.08M|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (1255:11): [True: 10.8k, False: 1.07M]
  ------------------
 1256|  10.8k|	    int save = R_PPStackTop, flag = PRIMPRINT(op);
  ------------------
  |  | 1350|  10.8k|#define PRIMPRINT(x)	(((R_FunTab[PRIMOFFSET(x)].eval)/100)%10)
  |  |  ------------------
  |  |  |  |  913|  10.8k|#define eval			Rf_eval
  |  |  ------------------
  ------------------
 1257|  10.8k|	    const void *vmax = vmaxget();
 1258|  10.8k|	    RCNTXT cntxt;
 1259|  10.8k|	    PROTECT(tmp = evalList(CDR(e), rho, e, 0));
  ------------------
  |  |  357|  10.8k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1260|  10.8k|	    if (flag < 2) R_Visible = flag != 1;
  ------------------
  |  Branch (1260:10): [True: 10.7k, False: 14]
  ------------------
 1261|       |	    /* We used to insert a context only if profiling,
 1262|       |	       but helps for tracebacks on .C etc. */
 1263|  10.8k|	    if (R_Profiling || (PPINFO(op).kind == PP_FOREIGN)) {
  ------------------
  |  | 1349|  10.7k|#define PPINFO(x)	(R_FunTab[PRIMOFFSET(x)].gram)
  ------------------
  |  Branch (1263:10): [True: 14, False: 10.7k]
  |  Branch (1263:25): [True: 0, False: 10.7k]
  ------------------
 1264|      0|		SEXP oldref = R_Srcref;
 1265|      0|		begincontext(&cntxt, CTXT_BUILTIN, e,
  ------------------
  |  | 1869|      0|# define begincontext		Rf_begincontext
  ------------------
 1266|      0|			     R_BaseEnv, R_BaseEnv, R_NilValue, R_NilValue);
 1267|      0|		R_Srcref = NULL;
 1268|      0|		tmp = PRIMFUN(op) (e, op, tmp, rho);
  ------------------
  |  | 1345|      0|#define PRIMFUN(x)	(R_FunTab[PRIMOFFSET(x)].cfun)
  ------------------
 1269|      0|		R_Srcref = oldref;
 1270|      0|		endcontext(&cntxt);
  ------------------
  |  | 1900|      0|# define endcontext		Rf_endcontext
  ------------------
 1271|  10.8k|	    } else {
 1272|  10.8k|		tmp = PRIMFUN(op) (e, op, tmp, rho);
  ------------------
  |  | 1345|  10.8k|#define PRIMFUN(x)	(R_FunTab[PRIMOFFSET(x)].cfun)
  ------------------
 1273|  10.8k|	    }
 1274|       |#ifdef CHECK_VISIBILITY
 1275|       |	    if(flag < 2 && R_Visible == flag) {
 1276|       |		char *nm = PRIMNAME(op);
 1277|       |		printf("vis: builtin %s\n", nm);
 1278|       |	    }
 1279|       |#endif
 1280|  10.8k|	    if (flag < 2) R_Visible = flag != 1;
  ------------------
  |  Branch (1280:10): [True: 10.7k, False: 14]
  ------------------
 1281|  10.8k|	    UNPROTECT(1);
  ------------------
  |  |  358|  10.8k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1282|  10.8k|	    check_stack_balance(op, save);
  ------------------
  |  | 1871|  10.8k|# define check_stack_balance	Rf_check_stack_balance
  ------------------
 1283|  10.8k|	    vmaxset(vmax);
 1284|  10.8k|	}
 1285|  1.07M|	else if (TYPEOF(op) == CLOSXP) {
  ------------------
  |  |  114|  1.07M|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (1285:11): [True: 1.07M, False: 0]
  ------------------
 1286|  1.07M|	    SEXP pargs = promiseArgs(CDR(e), rho);
  ------------------
  |  | 1983|  1.07M|# define promiseArgs		Rf_promiseArgs
  ------------------
 1287|  1.07M|	    PROTECT(pargs);
  ------------------
  |  |  357|  1.07M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1288|  1.07M|	    tmp = applyClosure(e, op, pargs, rho, R_NilValue, TRUE);
  ------------------
  |  |  879|  1.07M|#define applyClosure		Rf_applyClosure
  ------------------
 1289|  1.07M|	    UNPROTECT(1);
  ------------------
  |  |  358|  1.07M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1290|  1.07M|	}
 1291|      0|	else
 1292|      0|	    error(_("attempt to apply non-function"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("attempt to apply non-function"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1293|  4.24M|	UNPROTECT(1);
  ------------------
  |  |  358|  4.24M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1294|  4.24M|	break;
 1295|      0|    case DOTSXP:
  ------------------
  |  |  127|      0|#define DOTSXP	    17	  /* dot-dot-dot object */
  ------------------
  |  Branch (1295:5): [True: 0, False: 19.1M]
  ------------------
 1296|      0|	error(_("'...' used in an incorrect context"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'...' used in an incorrect context"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1297|      0|    default:
  ------------------
  |  Branch (1297:5): [True: 0, False: 19.1M]
  ------------------
 1298|      0|	UNIMPLEMENTED_TYPE("eval", e);
 1299|  19.1M|    }
 1300|  19.1M|    R_EvalDepth = depthsave;
 1301|  19.1M|    R_Srcref = srcrefsave;
 1302|  19.1M|    R_BCIntActive = bcintactivesave;
 1303|  19.1M|    return (tmp);
 1304|  19.1M|}
R_init_jit_enabled:
 1467|      2|{
 1468|       |    /* Need to force the lazy loading promise to avoid recursive
 1469|       |       promise evaluation when JIT is enabled. Might be better to do
 1470|       |       this in baseloader.R. */
 1471|      2|    eval(install(".ArgsEnv"), R_BaseEnv);
  ------------------
  |  |  913|      2|#define eval			Rf_eval
  ------------------
                  eval(install(".ArgsEnv"), R_BaseEnv);
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1472|       |
 1473|      2|    int val = 3; /* turn JIT on by default */
 1474|      2|    char *enable = getenv("R_ENABLE_JIT");
 1475|      2|    if (enable != NULL)
  ------------------
  |  Branch (1475:9): [True: 0, False: 2]
  ------------------
 1476|      0|	val = atoi(enable);
 1477|      2|    if (val) {
  ------------------
  |  Branch (1477:9): [True: 2, False: 0]
  ------------------
 1478|      2|	loadCompilerNamespace();
 1479|      2|	checkCompilerOptions(val);
 1480|      2|    }
 1481|      2|    R_jit_enabled = val;
 1482|       |
 1483|      2|    const char *cmp = getenv("R_BYTECODE_COMPILER");
 1484|      2|    if (cmp != NULL && (strcmp(cmp, "R") == 0 || strcmp(cmp, "r") == 0))
  ------------------
  |  Branch (1484:9): [True: 0, False: 2]
  |  Branch (1484:25): [True: 0, False: 0]
  |  Branch (1484:50): [True: 0, False: 0]
  ------------------
 1485|      0|	R_use_native_compiler = FALSE;
 1486|       |
 1487|      2|    if (R_compile_pkgs <= 0) {
  ------------------
  |  Branch (1487:9): [True: 2, False: 0]
  ------------------
 1488|      2|	char *compile = getenv("_R_COMPILE_PKGS_");
 1489|      2|	if (compile != NULL) {
  ------------------
  |  Branch (1489:6): [True: 0, False: 2]
  ------------------
 1490|      0|	    int val = atoi(compile);
 1491|      0|	    if (val > 0)
  ------------------
  |  Branch (1491:10): [True: 0, False: 0]
  ------------------
 1492|      0|		R_compile_pkgs = TRUE;
 1493|      0|	    else
 1494|      0|		R_compile_pkgs = FALSE;
 1495|      0|	}
 1496|      2|    }
 1497|       |
 1498|      2|    if (R_disable_bytecode <= 0) {
  ------------------
  |  Branch (1498:9): [True: 2, False: 0]
  ------------------
 1499|      2|	char *disable = getenv("R_DISABLE_BYTECODE");
 1500|      2|	if (disable != NULL) {
  ------------------
  |  Branch (1500:6): [True: 0, False: 2]
  ------------------
 1501|      0|	    int val = atoi(disable);
 1502|      0|	    if (val > 0)
  ------------------
  |  Branch (1502:10): [True: 0, False: 0]
  ------------------
 1503|      0|		R_disable_bytecode = TRUE;
 1504|      0|	    else
 1505|      0|		R_disable_bytecode = FALSE;
 1506|      0|	}
 1507|      2|    }
 1508|       |
 1509|       |    /* -1 ... duplicate constants on LDCONST and PUSHCONSTARG, no checking
 1510|       |        0 ... no checking (no duplication for >= 0) [DEFAULT]
 1511|       |	1 ... check at error, session exit and reclamation
 1512|       |	2 ... check also at full GC
 1513|       |	3 ... check also at partial GC
 1514|       |	4 ... check also at .Call
 1515|       |	5 ... (very) verbose report on modified constants
 1516|       |    */
 1517|      2|    if (R_check_constants <= 1) {
  ------------------
  |  Branch (1517:9): [True: 2, False: 0]
  ------------------
 1518|      2|	char *check = getenv("R_CHECK_CONSTANTS");
 1519|      2|	if (check != NULL)
  ------------------
  |  Branch (1519:6): [True: 0, False: 2]
  ------------------
 1520|      0|	    R_check_constants = atoi(check);
 1521|      2|    }
 1522|       |
 1523|       |    /* initialize JIT variables */
 1524|      2|    R_IfSymbol = install("if");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1525|      2|    R_ForSymbol = install("for");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1526|      2|    R_WhileSymbol = install("while");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1527|      2|    R_RepeatSymbol = install("repeat");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1528|       |
 1529|      2|    R_PreserveObject(JIT_cache = allocVector(VECSXP, JIT_CACHE_SIZE));
  ------------------
  |  |  875|      2|#define allocVector		Rf_allocVector
  ------------------
                  R_PreserveObject(JIT_cache = allocVector(VECSXP, JIT_CACHE_SIZE));
  ------------------
  |  |  131|      2|#define VECSXP	    19	  /* generic vectors */
  ------------------
                  R_PreserveObject(JIT_cache = allocVector(VECSXP, JIT_CACHE_SIZE));
  ------------------
  |  | 1451|      2|#define JIT_CACHE_SIZE 1024
  ------------------
 1530|      2|}
R_cmpfun1:
 1840|     17|{
 1841|     17|    Rboolean old_visible = R_Visible;
 1842|     17|    SEXP packsym, funsym, call, fcall, val;
 1843|       |
 1844|     17|    if (R_use_native_compiler) {
  ------------------
  |  Branch (1844:9): [True: 17, False: 0]
  ------------------
 1845|       |	/* the compiler package's .onLoad() applies the R_COMPILER_*
 1846|       |	   settings that the C compiler reads from the package */
 1847|     17|	loadCompilerNamespace();
 1848|     17|	PROTECT(val = R_bcTryCmpfun(fun));
  ------------------
  |  |  357|     17|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1849|     17|	if (TYPEOF(BODY(val)) != BCODESXP)
  ------------------
  |  |  133|     17|#define BCODESXP    21    /* byte code */
  ------------------
  |  Branch (1849:6): [True: 0, False: 17]
  ------------------
 1850|      0|	    R_gc(); /* see below */
 1851|     17|	UNPROTECT(1);
  ------------------
  |  |  358|     17|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1852|     17|	R_Visible = old_visible;
 1853|     17|	return val;
 1854|     17|    }
 1855|       |
 1856|      0|    packsym = install("compiler");
  ------------------
  |  |  934|      0|#define install			Rf_install
  ------------------
 1857|      0|    funsym = install("tryCmpfun");
  ------------------
  |  |  934|      0|#define install			Rf_install
  ------------------
 1858|       |
 1859|      0|    PROTECT(fcall = lang3(R_TripleColonSymbol, packsym, funsym));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1860|      0|    PROTECT(call = lang2(fcall, fun));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1861|      0|    PROTECT(val = eval(call, R_BaseEnv));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1862|      0|    if (TYPEOF(BODY(val)) != BCODESXP)
  ------------------
  |  |  133|      0|#define BCODESXP    21    /* byte code */
  ------------------
  |  Branch (1862:9): [True: 0, False: 0]
  ------------------
 1863|       |	/* Compilation may have failed because R allocator could not malloc
 1864|       |	   memory to extend the R heap, so we run GC to release some pages.
 1865|       |	   This problem has been observed while byte-compiling packages on
 1866|       |	   installation: serialization uses malloc to allocate buffers and
 1867|       |	   fails when the compiler makes R allocator exhaust malloc memory.
 1868|       |	   A more general solution might be to run the GC conditionally inside
 1869|       |	   error handling. */
 1870|      0|	R_gc();
 1871|      0|    UNPROTECT(3); /* fcall, call, val */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1872|       |
 1873|      0|    R_Visible = old_visible;
 1874|      0|    return val;
 1875|     17|}
Rf_applyClosure:
 2384|  1.09M|{
 2385|  1.09M|    SEXP val = applyClosure_core(call, op, arglist, rho,
 2386|  1.09M|				 suppliedvars, R_NilValue, unpromise);
 2387|  1.09M|#ifdef SUPPORT_TAILCALL
 2388|  1.09M|    val = handle_exec_continuation(val);
 2389|  1.09M|#endif
 2390|  1.09M|    return val;
 2391|  1.09M|}
R_forceAndCall:
 2467|  11.3k|{
 2468|  11.3k|    SEXP fun, tmp;
 2469|  11.3k|    if (TYPEOF(CAR(e)) == SYMSXP)
  ------------------
  |  |  112|  11.3k|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (2469:9): [True: 11.3k, False: 0]
  ------------------
 2470|       |	/* This will throw an error if the function is not found */
 2471|  11.3k|	PROTECT(fun = findFun(CAR(e), rho));
  ------------------
  |  |  357|  11.3k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2472|      0|    else
 2473|      0|	PROTECT(fun = eval(CAR(e), rho));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2474|       |
 2475|  11.3k|    if (TYPEOF(fun) == SPECIALSXP) {
  ------------------
  |  |  118|  11.3k|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (2475:9): [True: 0, False: 11.3k]
  ------------------
 2476|      0|	int flag = PRIMPRINT(fun);
  ------------------
  |  | 1350|      0|#define PRIMPRINT(x)	(((R_FunTab[PRIMOFFSET(x)].eval)/100)%10)
  |  |  ------------------
  |  |  |  |  913|      0|#define eval			Rf_eval
  |  |  ------------------
  ------------------
 2477|      0|	PROTECT(e);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2478|      0|	R_Visible = flag != 1;
 2479|      0|	tmp = PRIMFUN(fun) (e, fun, CDR(e), rho);
  ------------------
  |  | 1345|      0|#define PRIMFUN(x)	(R_FunTab[PRIMOFFSET(x)].cfun)
  ------------------
 2480|      0|	if (flag < 2) R_Visible = flag != 1;
  ------------------
  |  Branch (2480:6): [True: 0, False: 0]
  ------------------
 2481|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2482|      0|    }
 2483|  11.3k|    else if (TYPEOF(fun) == BUILTINSXP) {
  ------------------
  |  |  119|  11.3k|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (2483:14): [True: 4.78k, False: 6.51k]
  ------------------
 2484|  4.78k|	int flag = PRIMPRINT(fun);
  ------------------
  |  | 1350|  4.78k|#define PRIMPRINT(x)	(((R_FunTab[PRIMOFFSET(x)].eval)/100)%10)
  |  |  ------------------
  |  |  |  |  913|  4.78k|#define eval			Rf_eval
  |  |  ------------------
  ------------------
 2485|  4.78k|	PROTECT(tmp = evalList(CDR(e), rho, e, 0));
  ------------------
  |  |  357|  4.78k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2486|  4.78k|	if (flag < 2) R_Visible = flag != 1;
  ------------------
  |  Branch (2486:6): [True: 4.78k, False: 0]
  ------------------
 2487|       |	/* We used to insert a context only if profiling,
 2488|       |	   but helps for tracebacks on .C etc. */
 2489|  4.78k|	if (R_Profiling || (PPINFO(fun).kind == PP_FOREIGN)) {
  ------------------
  |  | 1349|  4.78k|#define PPINFO(x)	(R_FunTab[PRIMOFFSET(x)].gram)
  ------------------
  |  Branch (2489:6): [True: 0, False: 4.78k]
  |  Branch (2489:21): [True: 0, False: 4.78k]
  ------------------
 2490|      0|	    RCNTXT cntxt;
 2491|      0|	    SEXP oldref = R_Srcref;
 2492|      0|	    begincontext(&cntxt, CTXT_BUILTIN, e,
  ------------------
  |  | 1869|      0|# define begincontext		Rf_begincontext
  ------------------
 2493|      0|			 R_BaseEnv, R_BaseEnv, R_NilValue, R_NilValue);
 2494|      0|	    R_Srcref = NULL;
 2495|      0|	    tmp = PRIMFUN(fun) (e, fun, tmp, rho);
  ------------------
  |  | 1345|      0|#define PRIMFUN(x)	(R_FunTab[PRIMOFFSET(x)].cfun)
  ------------------
 2496|      0|	    R_Srcref = oldref;
 2497|      0|	    endcontext(&cntxt);
  ------------------
  |  | 1900|      0|# define endcontext		Rf_endcontext
  ------------------
 2498|  4.78k|	} else {
 2499|  4.78k|	    tmp = PRIMFUN(fun) (e, fun, tmp, rho);
  ------------------
  |  | 1345|  4.78k|#define PRIMFUN(x)	(R_FunTab[PRIMOFFSET(x)].cfun)
  ------------------
 2500|  4.78k|	}
 2501|  4.78k|	if (flag < 2) R_Visible = flag != 1;
  ------------------
  |  Branch (2501:6): [True: 4.78k, False: 0]
  ------------------
 2502|  4.78k|	UNPROTECT(1);
  ------------------
  |  |  358|  4.78k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2503|  4.78k|    }
 2504|  6.51k|    else if (TYPEOF(fun) == CLOSXP) {
  ------------------
  |  |  114|  6.51k|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (2504:14): [True: 6.51k, False: 0]
  ------------------
 2505|  6.51k|	PROTECT(tmp = promiseArgs(CDR(e), rho));
  ------------------
  |  |  357|  6.51k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2506|  6.51k|	SEXP a;
 2507|  6.51k|	int i;
 2508|  13.0k|	for (a = tmp, i = 0; i < n && a != R_NilValue; a = CDR(a), i++) {
  ------------------
  |  Branch (2508:23): [True: 6.51k, False: 6.51k]
  |  Branch (2508:32): [True: 6.51k, False: 0]
  ------------------
 2509|  6.51k|	    SEXP p = CAR(a);
 2510|  6.51k|	    if (TYPEOF(p) == PROMSXP)
  ------------------
  |  |  116|  6.51k|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (2510:10): [True: 6.51k, False: 0]
  ------------------
 2511|  6.51k|		eval(p, rho);
  ------------------
  |  |  913|  6.51k|#define eval			Rf_eval
  ------------------
 2512|      0|	    else if (p == R_MissingArg)
  ------------------
  |  Branch (2512:15): [True: 0, False: 0]
  ------------------
 2513|      0|		errorcall(e, _("argument %d is empty"), i + 1);
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              		errorcall(e, _("argument %d is empty"), i + 1);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2514|      0|	    else error("something weird happened");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 2515|  6.51k|	}
 2516|  6.51k|	SEXP pargs = tmp;
 2517|  6.51k|	tmp = applyClosure(e, fun, pargs, rho, R_NilValue, TRUE);
  ------------------
  |  |  879|  6.51k|#define applyClosure		Rf_applyClosure
  ------------------
 2518|  6.51k|	UNPROTECT(1);
  ------------------
  |  |  358|  6.51k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2519|  6.51k|    }
 2520|      0|    else {
 2521|      0|	tmp = R_NilValue; /* -Wall */
 2522|      0|	error(_("attempt to apply non-function"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("attempt to apply non-function"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2523|      0|    }
 2524|       |
 2525|  11.3k|    UNPROTECT(1);
  ------------------
  |  |  358|  11.3k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2526|  11.3k|    return tmp;
 2527|  11.3k|}
do_if:
 2757|  1.21k|{
 2758|  1.21k|    SEXP Cond, Stmt=R_NilValue;
 2759|  1.21k|    int vis=0;
 2760|       |
 2761|  1.21k|    PROTECT(Cond = eval(CAR(args), rho));
  ------------------
  |  |  357|  1.21k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2762|  1.21k|    if (asLogicalNoNA(Cond, call))
  ------------------
  |  Branch (2762:9): [True: 34, False: 1.18k]
  ------------------
 2763|     34|	Stmt = CADR(args);
 2764|  1.18k|    else {
 2765|  1.18k|	if (length(args) > 2)
  ------------------
  |  |  987|  1.18k|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (2765:6): [True: 1.07k, False: 113]
  ------------------
 2766|  1.07k|	    Stmt = CADDR(args);
 2767|    113|	else
 2768|    113|	    vis = 1;
 2769|  1.18k|    }
 2770|  1.21k|    if( !vis && RDEBUG(rho) && !BodyHasBraces(Stmt) && !R_GlobalContext->browserfinish) {
  ------------------
  |  | 2742|  1.21k|    ((isLanguage(body) && CAR(body) == R_BraceSymbol) ? 1 : 0)
  |  |  ------------------
  |  |  |  |  950|      0|#define isLanguage		Rf_isLanguage
  |  |  ------------------
  |  |  |  Branch (2742:7): [True: 0, False: 0]
  |  |  |  Branch (2742:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2770:9): [True: 1.10k, False: 113]
  |  Branch (2770:17): [True: 0, False: 1.10k]
  |  Branch (2770:32): [True: 0, False: 0]
  |  Branch (2770:56): [True: 0, False: 0]
  ------------------
 2771|      0|	SrcrefPrompt("debug", R_Srcref);
  ------------------
  |  | 1992|      0|# define SrcrefPrompt		Rf_SrcrefPrompt
  ------------------
 2772|      0|	PrintValue(Stmt);
  ------------------
  |  | 1013|      0|#define PrintValue		Rf_PrintValue
  ------------------
 2773|      0|	do_browser(call, op, R_NilValue, rho);
 2774|      0|    }
 2775|  1.21k|    UNPROTECT(1);
  ------------------
  |  |  358|  1.21k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2776|  1.21k|    if( vis ) {
  ------------------
  |  Branch (2776:9): [True: 113, False: 1.10k]
  ------------------
 2777|    113|	R_Visible = FALSE; /* case of no 'else' so return invisible NULL */
 2778|    113|	return Stmt;
 2779|    113|    }
 2780|  1.10k|    return (eval(Stmt, rho));
  ------------------
  |  |  913|  1.10k|#define eval			Rf_eval
  ------------------
 2781|  1.21k|}
do_for:
 2813|      8|{
 2814|       |    /* Need to declare volatile variables whose values are relied on
 2815|       |       after for_next or for_break longjmps and might change between
 2816|       |       the setjmp and longjmp calls. Theoretically this does not
 2817|       |       include n and bgn, but gcc -O2 -Wclobbered warns about these so
 2818|       |       to be safe we declare them volatile as well. */
 2819|      8|    volatile R_xlen_t i = 0, n;
 2820|      8|    volatile int bgn;
 2821|      8|    volatile SEXP v, val, cell;
 2822|      8|    int dbg, val_type;
 2823|      8|    SEXP sym, body;
 2824|      8|    RCNTXT cntxt;
 2825|      8|    PROTECT_INDEX vpi;
 2826|       |
 2827|      8|    checkArity(op, args);
  ------------------
  |  | 1793|      8|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 2828|      8|    sym = CAR(args);
 2829|      8|    val = CADR(args);
 2830|      8|    body = CADDR(args);
 2831|       |
 2832|      8|    if ( !isSymbol(sym) ) errorcall(call, _("non-symbol loop variable"));
  ------------------
  |  |  953|      8|#define isSymbol		Rf_isSymbol
  ------------------
                  if ( !isSymbol(sym) ) errorcall(call, _("non-symbol loop variable"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
                  if ( !isSymbol(sym) ) errorcall(call, _("non-symbol loop variable"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (2832:10): [True: 0, False: 8]
  ------------------
 2833|       |
 2834|      8|    dbg = RDEBUG(rho);
 2835|      8|    if (R_jit_enabled > 2 && !dbg && !R_disable_bytecode
  ------------------
  |  Branch (2835:9): [True: 0, False: 8]
  |  Branch (2835:30): [True: 0, False: 0]
  |  Branch (2835:38): [True: 0, False: 0]
  ------------------
 2836|      0|	    && rho == R_GlobalEnv
  ------------------
  |  Branch (2836:9): [True: 0, False: 0]
  ------------------
 2837|      0|	    && isUnmodifiedSpecSym(CAR(call), rho)
  ------------------
  |  |  968|      0|#define isUnmodifiedSpecSym	Rf_isUnmodifiedSpecSym
  ------------------
  |  Branch (2837:9): [True: 0, False: 0]
  ------------------
 2838|      0|	    && R_compileAndExecute(call, rho))
  ------------------
  |  Branch (2838:9): [True: 0, False: 0]
  ------------------
 2839|      0|	return R_NilValue;
 2840|       |
 2841|      8|    PROTECT(args);
  ------------------
  |  |  357|      8|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2842|      8|    PROTECT(rho);
  ------------------
  |  |  357|      8|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2843|      8|    PROTECT(val = eval(val, rho));
  ------------------
  |  |  357|      8|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2844|       |
 2845|       |    /* deal with the case where we are iterating over a factor
 2846|       |       we need to coerce to character - then iterate */
 2847|       |
 2848|      8|    if ( inherits(val, "factor") ) {
  ------------------
  |  |  933|      8|#define inherits		Rf_inherits
  ------------------
  |  Branch (2848:10): [True: 0, False: 8]
  ------------------
 2849|      0|	SEXP tmp = asCharacterFactor(val);
  ------------------
  |  |  883|      0|#define asCharacterFactor	Rf_asCharacterFactor
  ------------------
 2850|      0|	UNPROTECT(1); /* val from above */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2851|      0|	PROTECT(val = tmp);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2852|      0|    }
 2853|       |
 2854|      8|    if (isList(val) || isNull(val))
  ------------------
  |  |  951|      8|#define isList			Rf_isList
  ------------------
                  if (isList(val) || isNull(val))
  ------------------
  |  |  956|      8|#define isNull			Rf_isNull
  ------------------
  |  Branch (2854:9): [True: 0, False: 8]
  |  Branch (2854:24): [True: 0, False: 8]
  ------------------
 2855|      0|	n = length(val);
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
 2856|      8|    else
 2857|      8|	n = XLENGTH(val);
 2858|       |
 2859|      8|    val_type = TYPEOF(val);
 2860|       |
 2861|      8|    defineVar(sym, R_NilValue, rho);
  ------------------
  |  |  905|      8|#define defineVar		Rf_defineVar
  ------------------
 2862|      8|    PROTECT(cell = GET_BINDING_CELL(sym, rho));
  ------------------
  |  |  357|      8|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2863|      8|    bgn = BodyHasBraces(body);
  ------------------
  |  | 2742|      8|    ((isLanguage(body) && CAR(body) == R_BraceSymbol) ? 1 : 0)
  |  |  ------------------
  |  |  |  |  950|      8|#define isLanguage		Rf_isLanguage
  |  |  ------------------
  |  |  |  Branch (2742:7): [True: 8, False: 0]
  |  |  |  Branch (2742:27): [True: 2, False: 6]
  |  |  ------------------
  ------------------
 2864|       |
 2865|       |    /* bump up links count of sequence to avoid modification by loop code */
 2866|      8|    INCREMENT_LINKS(val);
  ------------------
  |  |  540|      8|#define INCREMENT_LINKS(x) do {			\
  |  |  541|      8|	SEXP il__x__ = (x);			\
  |  |  542|      8|	INCREMENT_NAMED(il__x__);		\
  |  |  ------------------
  |  |  |  |  222|      8|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:43): [Folded, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  543|      8|	INCREMENT_REFCNT(il__x__);		\
  |  |  544|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (544:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 2867|       |
 2868|      8|    PROTECT_WITH_INDEX(v = R_NilValue, &vpi);
  ------------------
  |  |  366|      8|#define PROTECT_WITH_INDEX(x,i) R_ProtectWithIndex(x,i)
  ------------------
 2869|       |
 2870|      8|    begincontext(&cntxt, CTXT_LOOP, R_NilValue, rho, R_BaseEnv, R_NilValue,
  ------------------
  |  | 1869|      8|# define begincontext		Rf_begincontext
  ------------------
 2871|      8|		 R_NilValue);
 2872|      8|    switch (SETJMP(cntxt.cjmpbuf)) {
  ------------------
  |  | 1162|      8|# define SETJMP(x) sigsetjmp(x,0)
  ------------------
  |  Branch (2872:13): [True: 0, False: 8]
  ------------------
 2873|      0|    case CTXT_BREAK: goto for_break;
  ------------------
  |  Branch (2873:5): [True: 0, False: 8]
  ------------------
 2874|      0|    case CTXT_NEXT: goto for_next;
  ------------------
  |  Branch (2874:5): [True: 0, False: 8]
  ------------------
 2875|      8|    }
 2876|       |
 2877|    834|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (2877:17): [True: 826, False: 8]
  ------------------
 2878|       |
 2879|    826|	switch (val_type) {
 2880|       |
 2881|      0|	case EXPRSXP:
  ------------------
  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (2881:2): [True: 0, False: 826]
  ------------------
 2882|      0|	case VECSXP:
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (2882:2): [True: 0, False: 826]
  ------------------
 2883|       |	    /* make sure loop variable is not modified via other vars */
 2884|      0|	    ENSURE_NAMEDMAX(VECTOR_ELT(val, i));
 2885|       |	    /* defineVar is used here and below rather than setVar in
 2886|       |	       case the loop code removes the variable. */
 2887|      0|	    defineVar(sym, VECTOR_ELT(val, i), rho);
  ------------------
  |  |  905|      0|#define defineVar		Rf_defineVar
  ------------------
 2888|      0|	    break;
 2889|       |
 2890|      0|	case LISTSXP:
  ------------------
  |  |  113|      0|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (2890:2): [True: 0, False: 826]
  ------------------
 2891|       |	    /* make sure loop variable is not modified via other vars */
 2892|      0|	    ENSURE_NAMEDMAX(CAR(val));
 2893|      0|	    defineVar(sym, CAR(val), rho);
  ------------------
  |  |  905|      0|#define defineVar		Rf_defineVar
  ------------------
 2894|      0|	    val = CDR(val);
 2895|      0|	    break;
 2896|       |
 2897|    826|	default:
  ------------------
  |  Branch (2897:2): [True: 826, False: 0]
  ------------------
 2898|       |
 2899|    826|	    switch (val_type) {
 2900|      0|	    case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (2900:6): [True: 0, False: 826]
  ------------------
 2901|      0|		ALLOC_LOOP_VAR(v, val_type, vpi);
  ------------------
  |  | 2748|      0|#define ALLOC_LOOP_VAR(v, val_type, vpi) do {			\
  |  | 2749|      0|	if (v == R_NilValue || MAYBE_SHARED(v) ||		\
  |  |  ------------------
  |  |  |  Branch (2749:6): [True: 0, False: 0]
  |  |  |  Branch (2749:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 2750|      0|	    ATTRIB(v) != R_NilValue || (v) != CAR(cell)) {	\
  |  |  ------------------
  |  |  |  Branch (2750:6): [True: 0, False: 0]
  |  |  |  Branch (2750:33): [True: 0, False: 0]
  |  |  ------------------
  |  | 2751|      0|	    REPROTECT(v = allocVector(val_type, 1), vpi);	\
  |  |  ------------------
  |  |  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  |  |  ------------------
  |  | 2752|      0|	    INCREMENT_NAMED(v);					\
  |  |  ------------------
  |  |  |  |  222|      0|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:43): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2753|      0|	}							\
  |  | 2754|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (2754:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2902|      0|		SET_SCALAR_LVAL(v, LOGICAL_ELT(val, i));
 2903|      0|		break;
 2904|      4|	    case INTSXP:
  ------------------
  |  |  123|      4|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (2904:6): [True: 4, False: 822]
  ------------------
 2905|      4|		ALLOC_LOOP_VAR(v, val_type, vpi);
  ------------------
  |  | 2748|      4|#define ALLOC_LOOP_VAR(v, val_type, vpi) do {			\
  |  | 2749|      4|	if (v == R_NilValue || MAYBE_SHARED(v) ||		\
  |  |  ------------------
  |  |  |  Branch (2749:6): [True: 2, False: 2]
  |  |  |  Branch (2749:25): [True: 0, False: 2]
  |  |  ------------------
  |  | 2750|      4|	    ATTRIB(v) != R_NilValue || (v) != CAR(cell)) {	\
  |  |  ------------------
  |  |  |  Branch (2750:6): [True: 0, False: 2]
  |  |  |  Branch (2750:33): [True: 0, False: 2]
  |  |  ------------------
  |  | 2751|      2|	    REPROTECT(v = allocVector(val_type, 1), vpi);	\
  |  |  ------------------
  |  |  |  |  367|      2|#define REPROTECT(x,i) R_Reprotect(x,i)
  |  |  ------------------
  |  | 2752|      2|	    INCREMENT_NAMED(v);					\
  |  |  ------------------
  |  |  |  |  222|      2|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:43): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2753|      2|	}							\
  |  | 2754|      4|    } while(0)
  |  |  ------------------
  |  |  |  Branch (2754:13): [Folded, False: 4]
  |  |  ------------------
  ------------------
 2906|      4|		SET_SCALAR_IVAL(v, INTEGER_ELT(val, i));
 2907|      4|		break;
 2908|      0|	    case REALSXP:
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (2908:6): [True: 0, False: 826]
  ------------------
 2909|      0|		ALLOC_LOOP_VAR(v, val_type, vpi);
  ------------------
  |  | 2748|      0|#define ALLOC_LOOP_VAR(v, val_type, vpi) do {			\
  |  | 2749|      0|	if (v == R_NilValue || MAYBE_SHARED(v) ||		\
  |  |  ------------------
  |  |  |  Branch (2749:6): [True: 0, False: 0]
  |  |  |  Branch (2749:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 2750|      0|	    ATTRIB(v) != R_NilValue || (v) != CAR(cell)) {	\
  |  |  ------------------
  |  |  |  Branch (2750:6): [True: 0, False: 0]
  |  |  |  Branch (2750:33): [True: 0, False: 0]
  |  |  ------------------
  |  | 2751|      0|	    REPROTECT(v = allocVector(val_type, 1), vpi);	\
  |  |  ------------------
  |  |  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  |  |  ------------------
  |  | 2752|      0|	    INCREMENT_NAMED(v);					\
  |  |  ------------------
  |  |  |  |  222|      0|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:43): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2753|      0|	}							\
  |  | 2754|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (2754:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2910|      0|		SET_SCALAR_DVAL(v, REAL_ELT(val, i));
 2911|      0|		break;
 2912|      0|	    case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (2912:6): [True: 0, False: 826]
  ------------------
 2913|      0|		ALLOC_LOOP_VAR(v, val_type, vpi);
  ------------------
  |  | 2748|      0|#define ALLOC_LOOP_VAR(v, val_type, vpi) do {			\
  |  | 2749|      0|	if (v == R_NilValue || MAYBE_SHARED(v) ||		\
  |  |  ------------------
  |  |  |  Branch (2749:6): [True: 0, False: 0]
  |  |  |  Branch (2749:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 2750|      0|	    ATTRIB(v) != R_NilValue || (v) != CAR(cell)) {	\
  |  |  ------------------
  |  |  |  Branch (2750:6): [True: 0, False: 0]
  |  |  |  Branch (2750:33): [True: 0, False: 0]
  |  |  ------------------
  |  | 2751|      0|	    REPROTECT(v = allocVector(val_type, 1), vpi);	\
  |  |  ------------------
  |  |  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  |  |  ------------------
  |  | 2752|      0|	    INCREMENT_NAMED(v);					\
  |  |  ------------------
  |  |  |  |  222|      0|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:43): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2753|      0|	}							\
  |  | 2754|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (2754:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2914|      0|		SET_SCALAR_CVAL(v, COMPLEX_ELT(val, i));
 2915|      0|		break;
 2916|    822|	    case STRSXP:
  ------------------
  |  |  126|    822|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (2916:6): [True: 822, False: 4]
  ------------------
 2917|    822|		ALLOC_LOOP_VAR(v, val_type, vpi);
  ------------------
  |  | 2748|    822|#define ALLOC_LOOP_VAR(v, val_type, vpi) do {			\
  |  | 2749|    822|	if (v == R_NilValue || MAYBE_SHARED(v) ||		\
  |  |  ------------------
  |  |  |  Branch (2749:6): [True: 6, False: 816]
  |  |  |  Branch (2749:25): [True: 816, False: 0]
  |  |  ------------------
  |  | 2750|    822|	    ATTRIB(v) != R_NilValue || (v) != CAR(cell)) {	\
  |  |  ------------------
  |  |  |  Branch (2750:6): [True: 0, False: 0]
  |  |  |  Branch (2750:33): [True: 0, False: 0]
  |  |  ------------------
  |  | 2751|    822|	    REPROTECT(v = allocVector(val_type, 1), vpi);	\
  |  |  ------------------
  |  |  |  |  367|    822|#define REPROTECT(x,i) R_Reprotect(x,i)
  |  |  ------------------
  |  | 2752|    822|	    INCREMENT_NAMED(v);					\
  |  |  ------------------
  |  |  |  |  222|    822|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:43): [Folded, False: 822]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2753|    822|	}							\
  |  | 2754|    822|    } while(0)
  |  |  ------------------
  |  |  |  Branch (2754:13): [Folded, False: 822]
  |  |  ------------------
  ------------------
 2918|    822|		SET_STRING_ELT(v, 0, STRING_ELT(val, i));
 2919|    822|		break;
 2920|      0|	    case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (2920:6): [True: 0, False: 826]
  ------------------
 2921|      0|		ALLOC_LOOP_VAR(v, val_type, vpi);
  ------------------
  |  | 2748|      0|#define ALLOC_LOOP_VAR(v, val_type, vpi) do {			\
  |  | 2749|      0|	if (v == R_NilValue || MAYBE_SHARED(v) ||		\
  |  |  ------------------
  |  |  |  Branch (2749:6): [True: 0, False: 0]
  |  |  |  Branch (2749:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 2750|      0|	    ATTRIB(v) != R_NilValue || (v) != CAR(cell)) {	\
  |  |  ------------------
  |  |  |  Branch (2750:6): [True: 0, False: 0]
  |  |  |  Branch (2750:33): [True: 0, False: 0]
  |  |  ------------------
  |  | 2751|      0|	    REPROTECT(v = allocVector(val_type, 1), vpi);	\
  |  |  ------------------
  |  |  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  |  |  ------------------
  |  | 2752|      0|	    INCREMENT_NAMED(v);					\
  |  |  ------------------
  |  |  |  |  222|      0|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:43): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2753|      0|	}							\
  |  | 2754|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (2754:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2922|      0|		SET_SCALAR_BVAL(v, RAW(val)[i]);
 2923|      0|		break;
 2924|      0|	    default:
  ------------------
  |  Branch (2924:6): [True: 0, False: 826]
  ------------------
 2925|      0|		errorcall(call, _("invalid for() loop sequence"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              		errorcall(call, _("invalid for() loop sequence"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2926|    826|	    }
 2927|    826|	    if (CAR(cell) == R_UnboundValue || ! SET_BINDING_VALUE(cell, v))
  ------------------
  |  Branch (2927:10): [True: 0, False: 826]
  |  Branch (2927:41): [True: 0, False: 826]
  ------------------
 2928|      0|		defineVar(sym, v, rho);
  ------------------
  |  |  905|      0|#define defineVar		Rf_defineVar
  ------------------
 2929|    826|	}
 2930|    826|	if (!bgn && RDEBUG(rho) && !R_GlobalContext->browserfinish) {
  ------------------
  |  Branch (2930:6): [True: 814, False: 12]
  |  Branch (2930:14): [True: 0, False: 814]
  |  Branch (2930:29): [True: 0, False: 0]
  ------------------
 2931|      0|	    SrcrefPrompt("debug", R_Srcref);
  ------------------
  |  | 1992|      0|# define SrcrefPrompt		Rf_SrcrefPrompt
  ------------------
 2932|      0|	    PrintValue(body);
  ------------------
  |  | 1013|      0|#define PrintValue		Rf_PrintValue
  ------------------
 2933|      0|	    do_browser(call, op, R_NilValue, rho);
 2934|      0|	}
 2935|    826|	eval(body, rho);
  ------------------
  |  |  913|    826|#define eval			Rf_eval
  ------------------
 2936|       |
 2937|    826|    for_next:
 2938|    826|	; /* needed for strict ISO C compliance, according to gcc 2.95.2 */
 2939|    826|    }
 2940|      8| for_break:
 2941|      8|    endcontext(&cntxt);
  ------------------
  |  | 1900|      8|# define endcontext		Rf_endcontext
  ------------------
 2942|      8|    DECREMENT_LINKS(val);
  ------------------
  |  |  545|      8|#define DECREMENT_LINKS(x) do {			\
  |  |  546|      8|	SEXP dl__x__ = (x);			\
  |  |  547|      8|	DECREMENT_NAMED(dl__x__);		\
  |  |  ------------------
  |  |  |  |  223|      8|# define DECREMENT_NAMED(x) do { } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (223:43): [Folded, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  548|      8|	DECREMENT_REFCNT(dl__x__);		\
  |  |  549|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (549:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 2943|      8|    UNPROTECT(5);
  ------------------
  |  |  358|      8|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2944|      8|    SET_RDEBUG(rho, dbg);
 2945|      8|    return R_NilValue;
 2946|      8|}
do_paren:
 3034|      6|{
 3035|      6|    checkArity(op, args);
  ------------------
  |  | 1793|      6|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 3036|      6|    return CAR(args);
 3037|      6|}
do_begin:
 3040|    959|{
 3041|    959|    SEXP s = R_NilValue;
 3042|    959|    if (args != R_NilValue) {
  ------------------
  |  Branch (3042:9): [True: 959, False: 0]
  ------------------
 3043|    959|	SEXP srcrefs = getBlockSrcrefs(call);
 3044|    959|	PROTECT(srcrefs);
  ------------------
  |  |  357|    959|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3045|    959|	int i = 1;
 3046|  4.00k|	while (args != R_NilValue) {
  ------------------
  |  Branch (3046:9): [True: 3.05k, False: 959]
  ------------------
 3047|  3.05k|	    PROTECT(R_Srcref = getSrcref(srcrefs, i++));
  ------------------
  |  |  357|  3.05k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3048|  3.05k|	    if (RDEBUG(rho) && !R_GlobalContext->browserfinish) {
  ------------------
  |  Branch (3048:10): [True: 0, False: 3.05k]
  |  Branch (3048:25): [True: 0, False: 0]
  ------------------
 3049|      0|		SrcrefPrompt("debug", R_Srcref);
  ------------------
  |  | 1992|      0|# define SrcrefPrompt		Rf_SrcrefPrompt
  ------------------
 3050|      0|		PrintValue(CAR(args));
  ------------------
  |  | 1013|      0|#define PrintValue		Rf_PrintValue
  ------------------
 3051|      0|		do_browser(call, op, R_NilValue, rho);
 3052|      0|	    }
 3053|  3.05k|	    s = eval(CAR(args), rho);
  ------------------
  |  |  913|  3.05k|#define eval			Rf_eval
  ------------------
 3054|  3.05k|	    UNPROTECT(1);
  ------------------
  |  |  358|  3.05k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 3055|  3.05k|	    args = CDR(args);
 3056|  3.05k|	}
 3057|    959|	R_Srcref = R_NilValue;
 3058|    959|	UNPROTECT(1); /* srcrefs */
  ------------------
  |  |  358|    959|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 3059|    959|    }
 3060|    959|    return s;
 3061|    959|}
do_function:
 3190|  1.04M|{
 3191|  1.04M|    SEXP rval, srcref;
 3192|       |
 3193|  1.04M|    if (TYPEOF(op) == PROMSXP) {
  ------------------
  |  |  116|  1.04M|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (3193:9): [True: 0, False: 1.04M]
  ------------------
 3194|      0|	ENSURE_PROMISE_IS_EVALUATED(op);
  ------------------
  |  |  946|      0|#define ENSURE_PROMISE_IS_EVALUATED(x) do {	\
  |  |  947|      0|	SEXP __x__ = (x);			\
  |  |  948|      0|	if (! PROMISE_IS_EVALUATED(__x__))	\
  |  |  ------------------
  |  |  |  Branch (948:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  949|      0|	    forcePromise(__x__);		\
  |  |  950|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (950:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3195|      0|	op = PRVALUE(op);
 3196|      0|    }
 3197|  1.04M|    if (length(args) < 2) WrongArgCount("function");
  ------------------
  |  |  987|  1.04M|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (3197:9): [True: 0, False: 1.04M]
  ------------------
 3198|  1.04M|    CheckFormals(CAR(args), "function");
  ------------------
  |  | 1873|  1.04M|# define CheckFormals		Rf_CheckFormals
  ------------------
 3199|  1.04M|    rval = mkCLOSXP(CAR(args), CADR(args), rho);
  ------------------
  |  | 1960|  1.04M|# define mkCLOSXP		Rf_mkCLOSXP
  ------------------
 3200|  1.04M|    srcref = CADDR(args);
 3201|  1.04M|    if (!isNull(srcref)) setAttrib(rval, R_SrcrefSymbol, srcref);
  ------------------
  |  |  956|  1.04M|#define isNull			Rf_isNull
  ------------------
                  if (!isNull(srcref)) setAttrib(rval, R_SrcrefSymbol, srcref);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  |  Branch (3201:9): [True: 0, False: 1.04M]
  ------------------
 3202|  1.04M|    return rval;
 3203|  1.04M|}
R_initEvalSymbols:
 3291|      2|{
 3292|     10|    for (int i = 0; i < NUM_ASYM; i++)
  ------------------
  |  | 3279|     10|#define NUM_ASYM (sizeof(asym) / sizeof(char *))
  ------------------
  |  Branch (3292:21): [True: 8, False: 2]
  ------------------
 3293|      8|	asymSymbol[i] = install(asym[i]);
  ------------------
  |  |  934|      8|#define install			Rf_install
  ------------------
 3294|       |
 3295|      2|    R_ReplaceFunsTable = R_NewHashedEnv(R_EmptyEnv, 1099);
 3296|      2|    R_PreserveObject(R_ReplaceFunsTable);
 3297|       |
 3298|      2|    R_SubsetSym = install("[");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 3299|      2|    R_SubassignSym = install("[<-");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 3300|      2|    R_Subset2Sym = install("[[");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 3301|      2|    R_Subassign2Sym = install("[[<-");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 3302|      2|    R_DollarGetsSymbol = install("$<-");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 3303|      2|    R_valueSym = install("value");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 3304|      2|    R_AssignSym = install("<-");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 3305|       |
 3306|      2|#ifdef SUPPORT_TAILCALL
 3307|      2|    R_exec_token = CONS(install(".__EXEC__."), R_NilValue);
  ------------------
  |  |  309|      2|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
 3308|      2|    R_PreserveObject(R_exec_token);
 3309|      2|#endif
 3310|      2|}
do_set:
 3622|  2.24k|{
 3623|  2.24k|    SEXP lhs, rhs;
 3624|       |
 3625|  2.24k|    if (args == R_NilValue ||
  ------------------
  |  Branch (3625:9): [True: 0, False: 2.24k]
  ------------------
 3626|  2.24k|	CDR(args) == R_NilValue ||
  ------------------
  |  Branch (3626:2): [True: 0, False: 2.24k]
  ------------------
 3627|  2.24k|	CDDR(args) != R_NilValue)
  ------------------
  |  Branch (3627:2): [True: 0, False: 2.24k]
  ------------------
 3628|      0|	WrongArgCount(asym[PRIMVAL(op)]);
  ------------------
  |  | 1347|      0|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
 3629|       |
 3630|  2.24k|    lhs = CAR(args);
 3631|       |
 3632|  2.24k|    switch (TYPEOF(lhs)) {
 3633|      0|    case STRSXP:
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (3633:5): [True: 0, False: 2.24k]
  ------------------
 3634|      0|	lhs = installTrChar(STRING_ELT(lhs, 0));
  ------------------
  |  |  937|      0|#define installTrChar		Rf_installTrChar
  ------------------
 3635|       |	/* fall through */
 3636|  2.19k|    case SYMSXP:
  ------------------
  |  |  112|  2.19k|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (3636:5): [True: 2.19k, False: 50]
  ------------------
 3637|  2.19k|	rhs = eval(CADR(args), rho);
  ------------------
  |  |  913|  2.19k|#define eval			Rf_eval
  ------------------
 3638|  2.19k|	INCREMENT_NAMED(rhs);
  ------------------
  |  |  222|  2.19k|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  ------------------
  |  |  |  Branch (222:43): [Folded, False: 2.19k]
  |  |  ------------------
  ------------------
 3639|  2.19k|	if (PRIMVAL(op) == 2)                       /* <<- */
  ------------------
  |  | 1347|  2.19k|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (3639:6): [True: 6, False: 2.18k]
  ------------------
 3640|      6|	    setVar(lhs, rhs, ENCLOS(rho));
  ------------------
  |  | 1029|      6|#define setVar			Rf_setVar
  ------------------
 3641|  2.18k|	else                                        /* <-, = */
 3642|  2.18k|	    defineVar(lhs, rhs, rho);
  ------------------
  |  |  905|  2.18k|#define defineVar		Rf_defineVar
  ------------------
 3643|  2.19k|	R_Visible = FALSE;
 3644|  2.19k|	return rhs;
 3645|     50|    case LANGSXP:
  ------------------
  |  |  117|     50|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (3645:5): [True: 50, False: 2.19k]
  ------------------
 3646|     50|	R_Visible = FALSE;
 3647|     50|	return applydefine(call, op, args, rho);
 3648|      0|    default:
  ------------------
  |  Branch (3648:5): [True: 0, False: 2.24k]
  ------------------
 3649|      0|	errorcall(call, _("invalid (do_set) left-hand side to assignment"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("invalid (do_set) left-hand side to assignment"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3650|  2.24k|    }
 3651|       |
 3652|      0|    return R_NilValue;/*NOTREACHED*/
 3653|  2.24k|}
Rf_evalList:
 3675|  16.7k|{
 3676|  16.7k|    SEXP head, tail, ev, h, val;
 3677|       |
 3678|  16.7k|    head = R_NilValue;
 3679|  16.7k|    tail = R_NilValue; /* to prevent uninitialized variable warnings */
 3680|       |
 3681|  44.9k|    while (el != R_NilValue) {
  ------------------
  |  Branch (3681:12): [True: 28.2k, False: 16.7k]
  ------------------
 3682|  28.2k|	n++;
 3683|       |
 3684|  28.2k|	if (CAR(el) == R_DotsSymbol) {
  ------------------
  |  Branch (3684:6): [True: 5.79k, False: 22.4k]
  ------------------
 3685|       |	    /* If we have a ... symbol, we look to see what it is bound to.
 3686|       |	     * If its binding is Null (i.e. zero length)
 3687|       |	     *	we just ignore it and return the cdr with all its expressions evaluated;
 3688|       |	     * if it is bound to a ... list of promises,
 3689|       |	     *	we force all the promises and then splice
 3690|       |	     *	the list of resulting values into the return value.
 3691|       |	     * Anything else bound to a ... symbol is an error
 3692|       |	     */
 3693|  5.79k|	    PROTECT(h = R_findVar(CAR(el), rho));
  ------------------
  |  |  357|  5.79k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3694|  5.79k|	    if (TYPEOF(h) == DOTSXP || h == R_NilValue) {
  ------------------
  |  |  127|  11.5k|#define DOTSXP	    17	  /* dot-dot-dot object */
  ------------------
  |  Branch (3694:10): [True: 1.00k, False: 4.78k]
  |  Branch (3694:33): [True: 0, False: 4.78k]
  ------------------
 3695|  2.92k|		while (h != R_NilValue) {
  ------------------
  |  Branch (3695:10): [True: 1.91k, False: 1.00k]
  ------------------
 3696|  1.91k|		    val = eval(CAR(h), rho);
  ------------------
  |  |  913|  1.91k|#define eval			Rf_eval
  ------------------
 3697|  1.91k|		    INCREMENT_LINKS(val);
  ------------------
  |  |  540|  1.91k|#define INCREMENT_LINKS(x) do {			\
  |  |  541|  1.91k|	SEXP il__x__ = (x);			\
  |  |  542|  1.91k|	INCREMENT_NAMED(il__x__);		\
  |  |  ------------------
  |  |  |  |  222|  1.91k|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:43): [Folded, False: 1.91k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  543|  1.91k|	INCREMENT_REFCNT(il__x__);		\
  |  |  544|  1.91k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (544:14): [Folded, False: 1.91k]
  |  |  ------------------
  ------------------
 3698|  1.91k|		    ev = CONS_NR(val, R_NilValue);
 3699|  1.91k|		    if (head == R_NilValue) {
  ------------------
  |  Branch (3699:11): [True: 84, False: 1.82k]
  ------------------
 3700|     84|			UNPROTECT(1); /* h */
  ------------------
  |  |  358|     84|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 3701|     84|			PROTECT(head = ev);
  ------------------
  |  |  357|     84|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3702|     84|			PROTECT(h); /* put current h on top of protect stack */
  ------------------
  |  |  357|     84|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3703|     84|		    }
 3704|  1.82k|		    else
 3705|  1.82k|			SETCDR(tail, ev);
 3706|  1.91k|		    COPY_TAG(ev, h);
  ------------------
  |  | 3662|  1.91k|#define COPY_TAG(to, from) do { \
  |  | 3663|  1.91k|  SEXP __tag__ = TAG(from); \
  |  | 3664|  1.91k|  if (__tag__ != R_NilValue) SET_TAG(to, __tag__); \
  |  |  ------------------
  |  |  |  Branch (3664:7): [True: 86, False: 1.82k]
  |  |  ------------------
  |  | 3665|  1.91k|} while (0)
  |  |  ------------------
  |  |  |  Branch (3665:10): [Folded, False: 1.91k]
  |  |  ------------------
  ------------------
 3707|  1.91k|		    tail = ev;
 3708|  1.91k|		    h = CDR(h);
 3709|  1.91k|		}
 3710|  1.00k|	    }
 3711|  4.78k|	    else if (h != R_MissingArg)
  ------------------
  |  Branch (3711:15): [True: 0, False: 4.78k]
  ------------------
 3712|      0|		error(_("'...' used in an incorrect context"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("'...' used in an incorrect context"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3713|  5.79k|	    UNPROTECT(1); /* h */
  ------------------
  |  |  358|  5.79k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 3714|  22.4k|	} else if (CAR(el) == R_MissingArg) {
  ------------------
  |  Branch (3714:13): [True: 0, False: 22.4k]
  ------------------
 3715|       |	    /* It was an empty element: most likely get here from evalArgs
 3716|       |	       which may have been called on part of the args. */
 3717|      0|	    errorcall(call, _("argument %d is empty"), n);
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	    errorcall(call, _("argument %d is empty"), n);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3718|       |#ifdef CHECK_IS_MISSING_IN_evalList
 3719|       |	    /* Radford Neal drops this R_isMissing check in pqR in
 3720|       |	       03-zap-isMissing (but it seems to creep in again later
 3721|       |	       with helper thread stuff?)  as it takes quite a bit of
 3722|       |	       time (essentially the equivalent of evaluating the
 3723|       |	       symbol, but maybe not as efficiently as eval) and only
 3724|       |	       serves to change the error message, not always for the
 3725|       |	       better. Also, the byte code interpreter does not do
 3726|       |	       this, so dropping this makes compiled and interpreted
 3727|       |	       code more consistent. */
 3728|       |	} else if (isSymbol(CAR(el)) && R_isMissing(CAR(el), rho)) {
 3729|       |	    /* It was missing */
 3730|       |	    errorcall_cpy(call,
 3731|       |	                  _("'%s' is missing"),
 3732|       |	                  EncodeChar(PRINTNAME(CAR(el))));
 3733|       |#endif
 3734|  22.4k|	} else {
 3735|  22.4k|	    val = eval(CAR(el), rho);
  ------------------
  |  |  913|  22.4k|#define eval			Rf_eval
  ------------------
 3736|  22.4k|	    INCREMENT_LINKS(val);
  ------------------
  |  |  540|  22.4k|#define INCREMENT_LINKS(x) do {			\
  |  |  541|  22.4k|	SEXP il__x__ = (x);			\
  |  |  542|  22.4k|	INCREMENT_NAMED(il__x__);		\
  |  |  ------------------
  |  |  |  |  222|  22.4k|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:43): [Folded, False: 22.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  543|  22.4k|	INCREMENT_REFCNT(il__x__);		\
  |  |  544|  22.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (544:14): [Folded, False: 22.4k]
  |  |  ------------------
  ------------------
 3737|  22.4k|	    ev = CONS_NR(val, R_NilValue);
 3738|  22.4k|	    if (head == R_NilValue)
  ------------------
  |  Branch (3738:10): [True: 15.5k, False: 6.86k]
  ------------------
 3739|  15.5k|		PROTECT(head = ev);
  ------------------
  |  |  357|  15.5k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3740|  6.86k|	    else
 3741|  6.86k|		SETCDR(tail, ev);
 3742|  22.4k|	    COPY_TAG(ev, el);
  ------------------
  |  | 3662|  22.4k|#define COPY_TAG(to, from) do { \
  |  | 3663|  22.4k|  SEXP __tag__ = TAG(from); \
  |  | 3664|  22.4k|  if (__tag__ != R_NilValue) SET_TAG(to, __tag__); \
  |  |  ------------------
  |  |  |  Branch (3664:7): [True: 22, False: 22.4k]
  |  |  ------------------
  |  | 3665|  22.4k|} while (0)
  |  |  ------------------
  |  |  |  Branch (3665:10): [Folded, False: 22.4k]
  |  |  ------------------
  ------------------
 3743|  22.4k|	    tail = ev;
 3744|  22.4k|	}
 3745|  28.2k|	el = CDR(el);
 3746|  28.2k|    }
 3747|       |
 3748|  41.0k|    for(el = head; el != R_NilValue; el = CDR(el))
  ------------------
  |  Branch (3748:20): [True: 24.3k, False: 16.7k]
  ------------------
 3749|  24.3k|	DECREMENT_LINKS(CAR(el));
  ------------------
  |  |  545|  24.3k|#define DECREMENT_LINKS(x) do {			\
  |  |  546|  24.3k|	SEXP dl__x__ = (x);			\
  |  |  547|  24.3k|	DECREMENT_NAMED(dl__x__);		\
  |  |  ------------------
  |  |  |  |  223|  24.3k|# define DECREMENT_NAMED(x) do { } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (223:43): [Folded, False: 24.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  548|  24.3k|	DECREMENT_REFCNT(dl__x__);		\
  |  |  549|  24.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (549:14): [Folded, False: 24.3k]
  |  |  ------------------
  ------------------
 3750|       |
 3751|  16.7k|    if (head != R_NilValue)
  ------------------
  |  Branch (3751:9): [True: 15.6k, False: 1.04k]
  ------------------
 3752|  15.6k|	UNPROTECT(1);
  ------------------
  |  |  358|  15.6k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 3753|       |
 3754|  16.7k|    return head;
 3755|       |
 3756|  16.7k|} /* evalList() */
Rf_evalListKeepMissing:
 3763|  16.5k|{
 3764|  16.5k|    SEXP head, tail, ev, h, val;
 3765|       |
 3766|  16.5k|    head = R_NilValue;
 3767|  16.5k|    tail = R_NilValue; /* to prevent uninitialized variable warnings */
 3768|       |
 3769|  33.2k|    while (el != R_NilValue) {
  ------------------
  |  Branch (3769:12): [True: 16.7k, False: 16.5k]
  ------------------
 3770|       |
 3771|       |	/* If we have a ... symbol, we look to see what it is bound to.
 3772|       |	 * If its binding is Null (i.e. zero length)
 3773|       |	 *	we just ignore it and return the cdr with all its expressions evaluated;
 3774|       |	 * if it is bound to a ... list of promises,
 3775|       |	 *	we force all the promises and then splice
 3776|       |	 *	the list of resulting values into the return value.
 3777|       |	 * Anything else bound to a ... symbol is an error
 3778|       |	*/
 3779|  16.7k|	if (CAR(el) == R_DotsSymbol) {
  ------------------
  |  Branch (3779:6): [True: 0, False: 16.7k]
  ------------------
 3780|      0|	    PROTECT(h = R_findVar(CAR(el), rho));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3781|      0|	    if (TYPEOF(h) == DOTSXP || h == R_NilValue) {
  ------------------
  |  |  127|      0|#define DOTSXP	    17	  /* dot-dot-dot object */
  ------------------
  |  Branch (3781:10): [True: 0, False: 0]
  |  Branch (3781:33): [True: 0, False: 0]
  ------------------
 3782|      0|		while (h != R_NilValue) {
  ------------------
  |  Branch (3782:10): [True: 0, False: 0]
  ------------------
 3783|      0|		    if (CAR(h) == R_MissingArg)
  ------------------
  |  Branch (3783:11): [True: 0, False: 0]
  ------------------
 3784|      0|			val = R_MissingArg;
 3785|      0|		    else
 3786|      0|			val = eval(CAR(h), rho);
  ------------------
  |  |  913|      0|#define eval			Rf_eval
  ------------------
 3787|      0|		    INCREMENT_LINKS(val);
  ------------------
  |  |  540|      0|#define INCREMENT_LINKS(x) do {			\
  |  |  541|      0|	SEXP il__x__ = (x);			\
  |  |  542|      0|	INCREMENT_NAMED(il__x__);		\
  |  |  ------------------
  |  |  |  |  222|      0|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:43): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  543|      0|	INCREMENT_REFCNT(il__x__);		\
  |  |  544|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (544:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3788|      0|		    ev = CONS_NR(val, R_NilValue);
 3789|      0|		    if (head == R_NilValue) {
  ------------------
  |  Branch (3789:11): [True: 0, False: 0]
  ------------------
 3790|      0|			UNPROTECT(1); /* h */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 3791|      0|			PROTECT(head = ev);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3792|      0|			PROTECT(h);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3793|      0|		    } else
 3794|      0|			SETCDR(tail, ev);
 3795|      0|		    COPY_TAG(ev, h);
  ------------------
  |  | 3662|      0|#define COPY_TAG(to, from) do { \
  |  | 3663|      0|  SEXP __tag__ = TAG(from); \
  |  | 3664|      0|  if (__tag__ != R_NilValue) SET_TAG(to, __tag__); \
  |  |  ------------------
  |  |  |  Branch (3664:7): [True: 0, False: 0]
  |  |  ------------------
  |  | 3665|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (3665:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3796|      0|		    tail = ev;
 3797|      0|		    h = CDR(h);
 3798|      0|		}
 3799|      0|	    }
 3800|      0|	    else if(h != R_MissingArg)
  ------------------
  |  Branch (3800:14): [True: 0, False: 0]
  ------------------
 3801|      0|		error(_("'...' used in an incorrect context"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("'...' used in an incorrect context"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3802|      0|	    UNPROTECT(1); /* h */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 3803|      0|	}
 3804|  16.7k|	else {
 3805|  16.7k|	    if (CAR(el) == R_MissingArg ||
  ------------------
  |  Branch (3805:10): [True: 4, False: 16.7k]
  ------------------
 3806|  16.7k|		(isSymbol(CAR(el)) && R_isMissing(CAR(el), rho)))
  ------------------
  |  |  953|  16.7k|#define isSymbol		Rf_isSymbol
  ------------------
  |  Branch (3806:4): [True: 13.2k, False: 3.50k]
  |  Branch (3806:25): [True: 0, False: 13.2k]
  ------------------
 3807|      4|		val = R_MissingArg;
 3808|  16.7k|	    else
 3809|  16.7k|		val = eval(CAR(el), rho);
  ------------------
  |  |  913|  16.7k|#define eval			Rf_eval
  ------------------
 3810|  16.7k|	    INCREMENT_LINKS(val);
  ------------------
  |  |  540|  16.7k|#define INCREMENT_LINKS(x) do {			\
  |  |  541|  16.7k|	SEXP il__x__ = (x);			\
  |  |  542|  16.7k|	INCREMENT_NAMED(il__x__);		\
  |  |  ------------------
  |  |  |  |  222|  16.7k|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:43): [Folded, False: 16.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  543|  16.7k|	INCREMENT_REFCNT(il__x__);		\
  |  |  544|  16.7k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (544:14): [Folded, False: 16.7k]
  |  |  ------------------
  ------------------
 3811|  16.7k|	    ev = CONS_NR(val, R_NilValue);
 3812|  16.7k|	    if (head==R_NilValue)
  ------------------
  |  Branch (3812:10): [True: 16.5k, False: 181]
  ------------------
 3813|  16.5k|		PROTECT(head = ev);
  ------------------
  |  |  357|  16.5k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3814|    181|	    else
 3815|    181|		SETCDR(tail, ev);
 3816|  16.7k|	    COPY_TAG(ev, el);
  ------------------
  |  | 3662|  16.7k|#define COPY_TAG(to, from) do { \
  |  | 3663|  16.7k|  SEXP __tag__ = TAG(from); \
  |  | 3664|  16.7k|  if (__tag__ != R_NilValue) SET_TAG(to, __tag__); \
  |  |  ------------------
  |  |  |  Branch (3664:7): [True: 675, False: 16.0k]
  |  |  ------------------
  |  | 3665|  16.7k|} while (0)
  |  |  ------------------
  |  |  |  Branch (3665:10): [Folded, False: 16.7k]
  |  |  ------------------
  ------------------
 3817|  16.7k|	    tail = ev;
 3818|  16.7k|	}
 3819|  16.7k|	el = CDR(el);
 3820|  16.7k|    }
 3821|       |
 3822|  33.2k|    for(el = head; el != R_NilValue; el = CDR(el))
  ------------------
  |  Branch (3822:20): [True: 16.7k, False: 16.5k]
  ------------------
 3823|  16.7k|	DECREMENT_LINKS(CAR(el));
  ------------------
  |  |  545|  16.7k|#define DECREMENT_LINKS(x) do {			\
  |  |  546|  16.7k|	SEXP dl__x__ = (x);			\
  |  |  547|  16.7k|	DECREMENT_NAMED(dl__x__);		\
  |  |  ------------------
  |  |  |  |  223|  16.7k|# define DECREMENT_NAMED(x) do { } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (223:43): [Folded, False: 16.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  548|  16.7k|	DECREMENT_REFCNT(dl__x__);		\
  |  |  549|  16.7k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (549:14): [Folded, False: 16.7k]
  |  |  ------------------
  ------------------
 3824|       |
 3825|  16.5k|    if (head!=R_NilValue)
  ------------------
  |  Branch (3825:9): [True: 16.5k, False: 0]
  ------------------
 3826|  16.5k|	UNPROTECT(1);
  ------------------
  |  |  358|  16.5k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 3827|       |
 3828|  16.5k|    return head;
 3829|  16.5k|}
Rf_promiseArgs:
 3905|  3.18M|{
 3906|  3.18M|    return promiseArgsEx(el, rho, FALSE);
 3907|  3.18M|}
Rf_CheckFormals:
 3914|  1.04M|{
 3915|  1.04M|    if (isList(ls)) {
  ------------------
  |  |  951|  1.04M|#define isList			Rf_isList
  ------------------
  |  Branch (3915:9): [True: 1.04M, False: 0]
  ------------------
 3916|  2.09M|	for (; ls != R_NilValue; ls = CDR(ls))
  ------------------
  |  Branch (3916:9): [True: 1.04M, False: 1.04M]
  ------------------
 3917|  1.04M|	    if (TYPEOF(TAG(ls)) != SYMSXP)
  ------------------
  |  |  112|  1.04M|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (3917:10): [True: 0, False: 1.04M]
  ------------------
 3918|      0|		goto err;
 3919|  1.04M|	return;
 3920|  1.04M|    }
 3921|      0| err:
 3922|      0|    error(_("invalid formal argument list for \"%s\""), name);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  error(_("invalid formal argument list for \"%s\""), name);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3923|      0|}
do_eval:
 3962|    997|{
 3963|    997|    SEXP encl, x;
 3964|    997|    volatile SEXP expr, env, tmp;
 3965|       |
 3966|    997|    int frame;
 3967|    997|    RCNTXT cntxt;
 3968|       |
 3969|    997|    checkArity(op, args);
  ------------------
  |  | 1793|    997|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 3970|    997|    expr = CAR(args);
 3971|    997|    env = CADR(args);
 3972|    997|    encl = CADDR(args);
 3973|    997|    if (isNull(encl)) {
  ------------------
  |  |  956|    997|#define isNull			Rf_isNull
  ------------------
  |  Branch (3973:9): [True: 0, False: 997]
  ------------------
 3974|       |	/* This is supposed to be defunct, but has been kept here
 3975|       |	   (and documented as such) */
 3976|      0|	encl = R_BaseEnv;
 3977|    997|    } else if ( !isEnvironment(encl) &&
  ------------------
  |  |  944|    997|#define isEnvironment		Rf_isEnvironment
  ------------------
  |  Branch (3977:17): [True: 0, False: 997]
  ------------------
 3978|      0|		!isEnvironment((encl = simple_as_environment(encl))) ) {
  ------------------
  |  |  944|      0|#define isEnvironment		Rf_isEnvironment
  ------------------
              		!isEnvironment((encl = simple_as_environment(encl))) ) {
  ------------------
  |  | 3956|      0|#define simple_as_environment(arg) (IS_S4_OBJECT(arg) && (TYPEOF(arg) == OBJSXP) ? R_getS4DataSlot(arg, ENVSXP) : R_NilValue)
  |  |  ------------------
  |  |  |  |  137|      0|#define OBJSXP      25    /* object, non-vector  */
  |  |  ------------------
  |  |               #define simple_as_environment(arg) (IS_S4_OBJECT(arg) && (TYPEOF(arg) == OBJSXP) ? R_getS4DataSlot(arg, ENVSXP) : R_NilValue)
  |  |  ------------------
  |  |  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  |  |  ------------------
  |  |  |  Branch (3956:37): [True: 0, False: 0]
  |  |  |  Branch (3956:58): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (3978:3): [True: 0, False: 0]
  ------------------
 3979|      0|	error(_("invalid '%s' argument of type '%s'"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument of type '%s'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3980|      0|	      "enclos", R_typeToChar(encl));
 3981|      0|    }
 3982|    997|    if(IS_S4_OBJECT(env) && (TYPEOF(env) == OBJSXP))
  ------------------
  |  |  137|      0|#define OBJSXP      25    /* object, non-vector  */
  ------------------
  |  Branch (3982:8): [True: 0, False: 997]
  |  Branch (3982:29): [True: 0, False: 0]
  ------------------
 3983|      0|	env = R_getS4DataSlot(env, ANYSXP); /* usually an ENVSXP */
  ------------------
  |  |  128|      0|#define ANYSXP	    18	  /* make "any" args work.
  ------------------
 3984|    997|    switch(TYPEOF(env)) {
 3985|      0|    case NILSXP:
  ------------------
  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (3985:5): [True: 0, False: 997]
  ------------------
 3986|      0|	env = encl;     /* so eval(expr, NULL, encl) works */
 3987|       |	/* falls through */
 3988|    997|    case ENVSXP:
  ------------------
  |  |  115|    997|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (3988:5): [True: 997, False: 0]
  ------------------
 3989|    997|	PROTECT(env);	/* so we can unprotect 2 at the end */
  ------------------
  |  |  357|    997|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3990|    997|	break;
 3991|      0|    case LISTSXP:
  ------------------
  |  |  113|      0|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (3991:5): [True: 0, False: 997]
  ------------------
 3992|       |	/* This usage requires all the pairlist to be named */
 3993|      0|	env = NewEnvironment(R_NilValue, duplicate(CADR(args)), encl);
  ------------------
  |  | 1966|      0|# define NewEnvironment		Rf_NewEnvironment
  ------------------
              	env = NewEnvironment(R_NilValue, duplicate(CADR(args)), encl);
  ------------------
  |  |  909|      0|#define duplicate		Rf_duplicate
  ------------------
 3994|      0|	PROTECT(env);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3995|      0|	break;
 3996|      0|    case VECSXP:
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (3996:5): [True: 0, False: 997]
  ------------------
 3997|       |	/* PR#14035 */
 3998|      0|	x = VectorToPairListNamed(CADR(args));
 3999|      0|	for (SEXP xptr = x ; xptr != R_NilValue ; xptr = CDR(xptr))
  ------------------
  |  Branch (3999:23): [True: 0, False: 0]
  ------------------
 4000|      0|	    ENSURE_NAMEDMAX(CAR(xptr));
 4001|      0|	env = NewEnvironment(R_NilValue, x, encl);
  ------------------
  |  | 1966|      0|# define NewEnvironment		Rf_NewEnvironment
  ------------------
 4002|      0|	PROTECT(env);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4003|      0|	break;
 4004|      0|    case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (4004:5): [True: 0, False: 997]
  ------------------
 4005|      0|    case REALSXP:
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (4005:5): [True: 0, False: 997]
  ------------------
 4006|      0|	if (length(env) != 1)
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (4006:6): [True: 0, False: 0]
  ------------------
 4007|      0|	    error(_("numeric 'envir' arg not of length one"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("numeric 'envir' arg not of length one"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4008|      0|	frame = asInteger(env);
  ------------------
  |  |  885|      0|#define asInteger		Rf_asInteger
  ------------------
 4009|      0|	if (frame == NA_INTEGER)
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (4009:6): [True: 0, False: 0]
  ------------------
 4010|      0|	    error(_("invalid '%s' argument of type '%s'"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("invalid '%s' argument of type '%s'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4011|      0|		  "envir", R_typeToChar(env));
 4012|      0|	PROTECT(env = R_sysframe(frame, R_GlobalContext));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4013|      0|	break;
 4014|      0|    default:
  ------------------
  |  Branch (4014:5): [True: 0, False: 997]
  ------------------
 4015|      0|	error(_("invalid '%s' argument of type '%s'"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument of type '%s'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4016|      0|	      "envir", R_typeToChar(env));
 4017|    997|    }
 4018|       |
 4019|       |    /* isLanguage include NILSXP, and that does not need to be
 4020|       |       evaluated
 4021|       |    if (isLanguage(expr) || isSymbol(expr) || isByteCode(expr)) { */
 4022|    997|    if (TYPEOF(expr) == LANGSXP || TYPEOF(expr) == SYMSXP || isByteCode(expr)) {
  ------------------
  |  |  117|  1.99k|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
                  if (TYPEOF(expr) == LANGSXP || TYPEOF(expr) == SYMSXP || isByteCode(expr)) {
  ------------------
  |  |  112|  1.00k|#define SYMSXP	     1	  /* symbols */
  ------------------
                  if (TYPEOF(expr) == LANGSXP || TYPEOF(expr) == SYMSXP || isByteCode(expr)) {
  ------------------
  |  |  739|     12|#define isByteCode(x)	(TYPEOF(x)==BCODESXP)
  |  |  ------------------
  |  |  |  |  133|     12|#define BCODESXP    21    /* byte code */
  |  |  ------------------
  |  |  |  Branch (739:23): [True: 0, False: 12]
  |  |  ------------------
  ------------------
  |  Branch (4022:9): [True: 985, False: 12]
  |  Branch (4022:36): [True: 0, False: 12]
  ------------------
 4023|    985|	PROTECT(expr);
  ------------------
  |  |  357|    985|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4024|    985|	begincontext(&cntxt, CTXT_RETURN, R_GlobalContext->call,
  ------------------
  |  | 1869|    985|# define begincontext		Rf_begincontext
  ------------------
 4025|    985|	             env, rho, args, op);
 4026|    985|	if (!SETJMP(cntxt.cjmpbuf))
  ------------------
  |  | 1162|    985|# define SETJMP(x) sigsetjmp(x,0)
  ------------------
  |  Branch (4026:6): [True: 985, False: 0]
  ------------------
 4027|    985|	    expr = eval(expr, env);
  ------------------
  |  |  913|    985|#define eval			Rf_eval
  ------------------
 4028|      0|	else
 4029|      0|	    expr = R_ReturnedValue;
 4030|    985|	UNPROTECT(1);
  ------------------
  |  |  358|    985|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4031|    985|	PROTECT(expr);
  ------------------
  |  |  357|    985|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4032|    985|	endcontext(&cntxt);
  ------------------
  |  | 1900|    985|# define endcontext		Rf_endcontext
  ------------------
 4033|    985|	UNPROTECT(1);
  ------------------
  |  |  358|    985|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4034|    985|    }
 4035|     12|    else if (TYPEOF(expr) == EXPRSXP) {
  ------------------
  |  |  132|     12|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (4035:14): [True: 12, False: 0]
  ------------------
 4036|     12|	volatile SEXP srcrefs = getBlockSrcrefs(expr);
 4037|     12|	PROTECT(expr);
  ------------------
  |  |  357|     12|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4038|     12|	tmp = R_NilValue;
 4039|     12|	begincontext(&cntxt, CTXT_RETURN, R_GlobalContext->call,
  ------------------
  |  | 1869|     12|# define begincontext		Rf_begincontext
  ------------------
 4040|     12|	             env, rho, args, op);
 4041|     12|	if (!SETJMP(cntxt.cjmpbuf)) {
  ------------------
  |  | 1162|     12|# define SETJMP(x) sigsetjmp(x,0)
  ------------------
  |  Branch (4041:6): [True: 12, False: 0]
  ------------------
 4042|     12|	    int n = LENGTH(expr);
 4043|     24|	    for(int i = 0 ; i < n ; i++) {
  ------------------
  |  Branch (4043:22): [True: 12, False: 12]
  ------------------
 4044|     12|		R_Srcref = getSrcref(srcrefs, i);
 4045|     12|		tmp = eval(VECTOR_ELT(expr, i), env);
  ------------------
  |  |  913|     12|#define eval			Rf_eval
  ------------------
 4046|     12|	    }
 4047|     12|	}
 4048|      0|	else
 4049|      0|	    tmp = R_ReturnedValue;
 4050|     12|	UNPROTECT(1);
  ------------------
  |  |  358|     12|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4051|     12|	PROTECT(tmp);
  ------------------
  |  |  357|     12|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4052|     12|	endcontext(&cntxt);
  ------------------
  |  | 1900|     12|# define endcontext		Rf_endcontext
  ------------------
 4053|     12|	UNPROTECT(1);
  ------------------
  |  |  358|     12|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4054|     12|	expr = tmp;
 4055|     12|    }
 4056|      0|    else if( TYPEOF(expr) == PROMSXP ) {
  ------------------
  |  |  116|      0|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (4056:14): [True: 0, False: 0]
  ------------------
 4057|      0|	expr = eval(expr, rho);
  ------------------
  |  |  913|      0|#define eval			Rf_eval
  ------------------
 4058|      0|    } /* else expr is returned unchanged */
 4059|    997|    UNPROTECT(1);
  ------------------
  |  |  358|    997|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4060|    997|    return expr;
 4061|    997|}
Rf_DispatchAnyOrEval:
 4142|  2.10M|{
 4143|  2.10M|    if(R_has_methods(op)) {
  ------------------
  |  Branch (4143:8): [True: 0, False: 2.10M]
  ------------------
 4144|      0|	SEXP argValue, el,  value;
 4145|       |	/* Rboolean hasS4 = FALSE; */
 4146|      0|	int nprotect = 0, dispatch;
 4147|      0|	if(!argsevald) {
  ------------------
  |  Branch (4147:5): [True: 0, False: 0]
  ------------------
 4148|      0|	    PROTECT(argValue = evalArgs(args, rho, dropmissing, call, 0));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4149|      0|	    nprotect++;
 4150|      0|	    argsevald = TRUE;
 4151|      0|	}
 4152|      0|	else argValue = args;
 4153|      0|	for(el = argValue; el != R_NilValue; el = CDR(el)) {
  ------------------
  |  Branch (4153:21): [True: 0, False: 0]
  ------------------
 4154|      0|	    if(IS_S4_OBJECT(CAR(el))) {
  ------------------
  |  Branch (4154:9): [True: 0, False: 0]
  ------------------
 4155|      0|		value = R_possible_dispatch(call, op, argValue, rho, TRUE);
 4156|      0|		if(value) {
  ------------------
  |  Branch (4156:6): [True: 0, False: 0]
  ------------------
 4157|      0|		    *ans = value;
 4158|      0|		    UNPROTECT(nprotect);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4159|      0|		    return 1;
 4160|      0|		}
 4161|      0|		else break;
 4162|      0|	    }
 4163|      0|	}
 4164|       |	 /* else, use the regular DispatchOrEval, but now with evaluated args */
 4165|      0|	dispatch = DispatchOrEval(call, op, generic, argValue, rho, ans, dropmissing, argsevald);
  ------------------
  |  | 1892|      0|# define DispatchOrEval		Rf_DispatchOrEval
  ------------------
 4166|      0|	UNPROTECT(nprotect);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4167|      0|	return dispatch;
 4168|      0|    }
 4169|  2.10M|    return DispatchOrEval(call, op, generic, args, rho, ans, dropmissing, argsevald);
  ------------------
  |  | 1892|  2.10M|# define DispatchOrEval		Rf_DispatchOrEval
  ------------------
 4170|  2.10M|}
Rf_DispatchOrEval:
 4185|  8.48M|{
 4186|       |/* DispatchOrEval is called very frequently, most often in cases where
 4187|       |   no dispatching is needed and the isObject or the string-based
 4188|       |   pre-test fail.  To avoid degrading performance it is therefore
 4189|       |   necessary to avoid creating promises in these cases.  The pre-test
 4190|       |   does require that we look at the first argument, so that needs to
 4191|       |   be evaluated.  The complicating factor is that the first argument
 4192|       |   might come in with a "..." and that there might be other arguments
 4193|       |   in the "..." as well.  LT */
 4194|       |
 4195|  8.48M|    SEXP x = R_NilValue;
 4196|  8.48M|    int dots = FALSE, nprotect = 0;;
 4197|       |
 4198|  8.48M|    if( argsevald )
  ------------------
  |  Branch (4198:9): [True: 8.48M, False: 2.03k]
  ------------------
 4199|  8.48M|	{PROTECT(x = CAR(args)); nprotect++;}
  ------------------
  |  |  357|  8.48M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4200|  2.03k|    else {
 4201|       |	/* Find the object to dispatch on, dropping any leading
 4202|       |	   ... arguments with missing or empty values.  If there are no
 4203|       |	   arguments, R_NilValue is used. */
 4204|  2.03k|	for (; args != R_NilValue; args = CDR(args)) {
  ------------------
  |  Branch (4204:9): [True: 2.03k, False: 0]
  ------------------
 4205|  2.03k|	    if (CAR(args) == R_DotsSymbol) {
  ------------------
  |  Branch (4205:10): [True: 0, False: 2.03k]
  ------------------
 4206|      0|		SEXP h = R_findVar(R_DotsSymbol, rho);
 4207|      0|		if (TYPEOF(h) == DOTSXP) {
  ------------------
  |  |  127|      0|#define DOTSXP	    17	  /* dot-dot-dot object */
  ------------------
  |  Branch (4207:7): [True: 0, False: 0]
  ------------------
 4208|       |#ifdef DODO
 4209|       |		    /**** any self-evaluating value should be OK; this
 4210|       |			  is used in byte compiled code. LT */
 4211|       |		    /* just a consistency check */
 4212|       |		    if (TYPEOF(CAR(h)) != PROMSXP)
 4213|       |			error(_("value in '...' is not a promise"));
 4214|       |#endif
 4215|      0|		    dots = TRUE;
 4216|      0|		    x = eval(CAR(h), rho);
  ------------------
  |  |  913|      0|#define eval			Rf_eval
  ------------------
 4217|      0|		    break;
 4218|      0|		}
 4219|      0|		else if (h != R_NilValue && h != R_MissingArg)
  ------------------
  |  Branch (4219:12): [True: 0, False: 0]
  |  Branch (4219:31): [True: 0, False: 0]
  ------------------
 4220|      0|		    error(_("'...' used in an incorrect context"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("'...' used in an incorrect context"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4221|      0|	    }
 4222|  2.03k|	    else {
 4223|  2.03k|		dots = FALSE;
 4224|  2.03k|		x = eval(CAR(args), rho);
  ------------------
  |  |  913|  2.03k|#define eval			Rf_eval
  ------------------
 4225|  2.03k|		break;
 4226|  2.03k|	    }
 4227|  2.03k|	}
 4228|  2.03k|	PROTECT(x); nprotect++;
  ------------------
  |  |  357|  2.03k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4229|  2.03k|    }
 4230|       |	/* try to dispatch on the object */
 4231|  8.48M|    if( isObject(x) ) {
  ------------------
  |  |  959|  8.48M|#define isObject		Rf_isObject
  ------------------
  |  Branch (4231:9): [True: 2.23k, False: 8.48M]
  ------------------
 4232|       |	/* Try for formal method. */
 4233|  2.23k|	if(IS_S4_OBJECT(x) && R_has_methods(op)) {
  ------------------
  |  Branch (4233:5): [True: 0, False: 2.23k]
  |  Branch (4233:24): [True: 0, False: 0]
  ------------------
 4234|      0|	    SEXP value, argValue;
 4235|       |	    /* create a promise to pass down to applyClosure  */
 4236|      0|	    if(!argsevald) {
  ------------------
  |  Branch (4236:9): [True: 0, False: 0]
  ------------------
 4237|      0|		argValue = promiseArgs(args, rho);
  ------------------
  |  | 1983|      0|# define promiseArgs		Rf_promiseArgs
  ------------------
 4238|      0|		IF_PROMSXP_SET_PRVALUE(CAR(argValue), x);
 4239|      0|	    } else argValue = args;
 4240|      0|	    PROTECT(argValue); nprotect++;
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4241|       |	    /* This means S4 dispatch */
 4242|      0|	    value = R_possible_dispatch(call, op, argValue, rho, TRUE);
 4243|      0|	    if(value) {
  ------------------
  |  Branch (4243:9): [True: 0, False: 0]
  ------------------
 4244|      0|		*ans = value;
 4245|      0|		UNPROTECT(nprotect);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4246|      0|		return 1;
 4247|      0|	    }
 4248|      0|	    else {
 4249|       |		/* go on, with the evaluated args.  Not guaranteed to have
 4250|       |		   the same semantics as if the arguments were not
 4251|       |		   evaluated, in special cases (e.g., arg values that are
 4252|       |		   LANGSXP).
 4253|       |		   The use of the promiseArgs is supposed to prevent
 4254|       |		   multiple evaluation after the call to possible_dispatch.
 4255|       |		*/
 4256|      0|		if (dots)
  ------------------
  |  Branch (4256:7): [True: 0, False: 0]
  ------------------
 4257|      0|		    PROTECT(argValue = evalArgs(argValue, rho, dropmissing,
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4258|      0|						call, 0));
 4259|      0|		else {
 4260|      0|		    PROTECT(argValue = CONS_NR(x, evalArgs(CDR(argValue), rho,
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4261|      0|							   dropmissing, call, 1)));
 4262|      0|		    SET_TAG(argValue, CreateTag(TAG(args)));
  ------------------
  |  |  904|      0|#define CreateTag		Rf_CreateTag
  ------------------
 4263|      0|		}
 4264|      0|		nprotect++;
 4265|      0|		args = argValue;
 4266|      0|		argsevald = 1;
 4267|      0|	    }
 4268|      0|	}
 4269|  2.23k|	const char *pt;
 4270|  2.23k|	if (TYPEOF(CAR(call)) == SYMSXP)
  ------------------
  |  |  112|  2.23k|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (4270:6): [True: 2.23k, False: 0]
  ------------------
 4271|  2.23k|	    pt = Rf_strrchr_const(CHAR(PRINTNAME(CAR(call))), '.');
  ------------------
  |  |  203|  2.23k|#define CHAR(x) R_CHAR(x)
  ------------------
 4272|      0|	else
 4273|      0|	    pt = NULL;
 4274|       |
 4275|  2.23k|	if (pt == NULL || strcmp(pt,".default")) {
  ------------------
  |  Branch (4275:6): [True: 2.03k, False: 206]
  |  Branch (4275:20): [True: 86, False: 120]
  ------------------
 4276|  2.11k|	    RCNTXT cntxt;
 4277|  2.11k|	    SEXP pargs, rho1;
 4278|  2.11k|	    PROTECT(pargs = promiseArgs(args, rho)); nprotect++;
  ------------------
  |  |  357|  2.11k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4279|       |	    /* The context set up here is needed because of the way
 4280|       |	       usemethod() is written.  DispatchGroup() repeats some
 4281|       |	       internal usemethod() code and avoids the need for a
 4282|       |	       context; perhaps the usemethod() code should be
 4283|       |	       refactored so the contexts around the usemethod() calls
 4284|       |	       in this file can be removed.
 4285|       |
 4286|       |	       Using rho for current and calling environment can be
 4287|       |	       confusing for things like sys.parent() calls captured
 4288|       |	       in promises (Gabor G had an example of this).  Also,
 4289|       |	       since the context is established without a SETJMP using
 4290|       |	       an R-accessible environment allows a segfault to be
 4291|       |	       triggered (by something very obscure, but still).
 4292|       |	       Hence here and in the other usemethod() uses below a
 4293|       |	       new environment rho1 is created and used.  LT */
 4294|  2.11k|	    PROTECT(rho1 = NewEnvironment(R_NilValue, R_NilValue, rho)); nprotect++;
  ------------------
  |  |  357|  2.11k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4295|  2.11k|	    IF_PROMSXP_SET_PRVALUE(CAR(pargs), x);
 4296|  2.11k|	    begincontext(&cntxt, CTXT_RETURN, call, rho1, rho, pargs, op);
  ------------------
  |  | 1869|  2.11k|# define begincontext		Rf_begincontext
  ------------------
 4297|  2.11k|	    if(usemethod(generic, x, call, pargs, rho1, rho, R_BaseEnv, ans))
  ------------------
  |  | 2010|  2.11k|# define usemethod		Rf_usemethod
  ------------------
  |  Branch (4297:9): [True: 375, False: 1.74k]
  ------------------
 4298|    375|	    {
 4299|    375|		endcontext(&cntxt);
  ------------------
  |  | 1900|    375|# define endcontext		Rf_endcontext
  ------------------
 4300|    375|		UNPROTECT(nprotect);
  ------------------
  |  |  358|    375|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4301|    375|#ifdef ADJUST_ENVIR_REFCNTS
 4302|    375|		R_CleanupEnvir(rho1, *ans);
 4303|    375|		unpromiseArgs(pargs);
 4304|    375|#endif
 4305|    375|		return 1;
 4306|    375|	    }
 4307|  1.74k|	    endcontext(&cntxt);
  ------------------
  |  | 1900|  1.74k|# define endcontext		Rf_endcontext
  ------------------
 4308|  1.74k|#ifdef ADJUST_ENVIR_REFCNTS
 4309|  1.74k|	    R_CleanupEnvir(rho1, R_NilValue);
 4310|  1.74k|	    unpromiseArgs(pargs);
 4311|  1.74k|#endif
 4312|  1.74k|	}
 4313|  2.23k|    }
 4314|  8.48M|    if(!argsevald) {
  ------------------
  |  Branch (4314:8): [True: 2.03k, False: 8.48M]
  ------------------
 4315|  2.03k|	if (dots)
  ------------------
  |  Branch (4315:6): [True: 0, False: 2.03k]
  ------------------
 4316|       |	    /* The first call argument was ... and may contain more than the
 4317|       |	       object, so it needs to be evaluated here.  The object should be
 4318|       |	       in a promise, so evaluating it again should be no problem. */
 4319|      0|	    *ans = evalArgs(args, rho, dropmissing, call, 0);
 4320|  2.03k|	else {
 4321|  2.03k|	    INCREMENT_LINKS(x);
  ------------------
  |  |  540|  2.03k|#define INCREMENT_LINKS(x) do {			\
  |  |  541|  2.03k|	SEXP il__x__ = (x);			\
  |  |  542|  2.03k|	INCREMENT_NAMED(il__x__);		\
  |  |  ------------------
  |  |  |  |  222|  2.03k|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:43): [Folded, False: 2.03k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  543|  2.03k|	INCREMENT_REFCNT(il__x__);		\
  |  |  544|  2.03k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (544:14): [Folded, False: 2.03k]
  |  |  ------------------
  ------------------
 4322|  2.03k|	    PROTECT(*ans = CONS_NR(x, evalArgs(CDR(args), rho, dropmissing, call, 1)));
  ------------------
  |  |  357|  2.03k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4323|  2.03k|	    DECREMENT_LINKS(x);
  ------------------
  |  |  545|  2.03k|#define DECREMENT_LINKS(x) do {			\
  |  |  546|  2.03k|	SEXP dl__x__ = (x);			\
  |  |  547|  2.03k|	DECREMENT_NAMED(dl__x__);		\
  |  |  ------------------
  |  |  |  |  223|  2.03k|# define DECREMENT_NAMED(x) do { } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (223:43): [Folded, False: 2.03k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  548|  2.03k|	DECREMENT_REFCNT(dl__x__);		\
  |  |  549|  2.03k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (549:14): [Folded, False: 2.03k]
  |  |  ------------------
  ------------------
 4324|  2.03k|	    SET_TAG(*ans, CreateTag(TAG(args)));
  ------------------
  |  |  904|  2.03k|#define CreateTag		Rf_CreateTag
  ------------------
 4325|  2.03k|	    UNPROTECT(1);
  ------------------
  |  |  358|  2.03k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4326|  2.03k|	}
 4327|  2.03k|    }
 4328|  8.48M|    else *ans = args;
 4329|  8.48M|    UNPROTECT(nprotect);
  ------------------
  |  |  358|  8.48M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4330|  8.48M|    return 0;
 4331|  8.48M|}
Rf_DispatchGroup:
 4427|  2.12M|{
 4428|       |    /* pre-test to avoid string computations when there is nothing to
 4429|       |       dispatch on because either there is only one argument and it
 4430|       |       isn't an object or there are two or more arguments but neither
 4431|       |       of the first two is an object -- both of these cases would be
 4432|       |       rejected by the code following the string examination code
 4433|       |       below */
 4434|  2.12M|    if (args != R_NilValue && ! isObject(CAR(args)) &&
  ------------------
  |  |  959|  2.12M|#define isObject		Rf_isObject
  ------------------
  |  Branch (4434:9): [True: 2.12M, False: 0]
  |  Branch (4434:31): [True: 2.12M, False: 38]
  ------------------
 4435|  2.12M|	(CDR(args) == R_NilValue || ! isObject(CADR(args))))
  ------------------
  |  |  959|  2.12M|#define isObject		Rf_isObject
  ------------------
  |  Branch (4435:3): [True: 3.94k, False: 2.12M]
  |  Branch (4435:30): [True: 2.12M, False: 0]
  ------------------
 4436|  2.12M|	return 0;
 4437|       |
 4438|     38|    SEXP s;
 4439|     38|    Rboolean isOps = strcmp(group, "Ops") == 0 || strcmp(group, "matrixOps") == 0;
  ------------------
  |  Branch (4439:22): [True: 38, False: 0]
  |  Branch (4439:51): [True: 0, False: 0]
  ------------------
 4440|       |
 4441|       |    /* try for formal method */
 4442|     38|    if(length(args) == 1 && !IS_S4_OBJECT(CAR(args))) {
  ------------------
  |  |  987|     38|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (4442:8): [True: 0, False: 38]
  |  Branch (4442:29): [True: 0, False: 0]
  ------------------
 4443|       |	// no S4
 4444|     38|    } else if(length(args) == 2 && !IS_S4_OBJECT(CAR(args)) && !IS_S4_OBJECT(CADR(args))) {
  ------------------
  |  |  987|     38|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (4444:15): [True: 38, False: 0]
  |  Branch (4444:36): [True: 38, False: 0]
  |  Branch (4444:64): [True: 38, False: 0]
  ------------------
 4445|       |	// no S4
 4446|     38|    } else { // try to use S4 :
 4447|       |	/* Remove argument names to ensure positional matching */
 4448|      0|	if(isOps)
  ------------------
  |  Branch (4448:5): [True: 0, False: 0]
  ------------------
 4449|      0|	    for(s = args; s != R_NilValue; s = CDR(s)) SET_TAG(s, R_NilValue);
  ------------------
  |  Branch (4449:20): [True: 0, False: 0]
  ------------------
 4450|      0|	SEXP value;
 4451|      0|	if(R_has_methods(op) &&
  ------------------
  |  Branch (4451:5): [True: 0, False: 0]
  ------------------
 4452|      0|	   (value = R_possible_dispatch(call, op, args, rho, FALSE))) {
  ------------------
  |  Branch (4452:5): [True: 0, False: 0]
  ------------------
 4453|      0|	       *ans = value;
 4454|      0|	       return 1;
 4455|      0|	}
 4456|       |	/* else go on to look for S3 methods */
 4457|      0|    }
 4458|       |
 4459|       |    /* check whether we are processing the default method */
 4460|     38|    if ( isSymbol(CAR(call)) ) {
  ------------------
  |  |  953|     38|#define isSymbol		Rf_isSymbol
  ------------------
  |  Branch (4460:10): [True: 38, False: 0]
  ------------------
 4461|     38|	const char *cstr = strchr(CHAR(PRINTNAME(CAR(call))), '.');
  ------------------
  |  |  203|     38|#define CHAR(x) R_CHAR(x)
  ------------------
 4462|     38|	if (cstr && !strcmp(cstr + 1, "default"))
  ------------------
  |  Branch (4462:6): [True: 0, False: 38]
  |  Branch (4462:14): [True: 0, False: 0]
  ------------------
 4463|      0|	    return 0;
 4464|     38|    }
 4465|       |
 4466|     38|    int nargs = isOps ? length(args) : 1;
  ------------------
  |  |  987|     38|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (4466:17): [True: 38, False: 0]
  ------------------
 4467|       |
 4468|     38|    if( nargs == 1 && !isObject(CAR(args)) )
  ------------------
  |  |  959|      0|#define isObject		Rf_isObject
  ------------------
  |  Branch (4468:9): [True: 0, False: 38]
  |  Branch (4468:23): [True: 0, False: 0]
  ------------------
 4469|      0|	return 0;
 4470|       |
 4471|     38|    char *generic = PRIMNAME(op);
  ------------------
  |  | 1346|     38|#define PRIMNAME(x)	(R_FunTab[PRIMOFFSET(x)].name)
  ------------------
 4472|     38|    SEXP lclass = PROTECT(classForGroupDispatch(CAR(args))), rclass;
  ------------------
  |  |  357|     38|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4473|     38|    if( nargs == 2 )
  ------------------
  |  Branch (4473:9): [True: 38, False: 0]
  ------------------
 4474|     38|	rclass = classForGroupDispatch(CADR(args));
 4475|      0|    else
 4476|      0|	rclass = R_NilValue;
 4477|     38|    PROTECT(rclass);
  ------------------
  |  |  357|     38|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4478|       |
 4479|     38|    SEXP lmeth = R_NilValue, lsxp = R_NilValue, lgr = R_NilValue,
 4480|     38|	 rmeth = R_NilValue, rsxp = R_NilValue, rgr = R_NilValue;
 4481|     38|    int lwhich, rwhich;
 4482|     38|    findmethod(lclass, group, generic,
 4483|     38|	       &lsxp, &lgr, &lmeth, &lwhich, args, rho);
 4484|     38|    PROTECT(lgr);
  ------------------
  |  |  357|     38|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4485|       |
 4486|     38|    if( nargs == 2 )
  ------------------
  |  Branch (4486:9): [True: 38, False: 0]
  ------------------
 4487|     38|	findmethod(rclass, group, generic, &rsxp, &rgr, &rmeth,
 4488|     38|		   &rwhich, CDR(args), rho);
 4489|      0|    else
 4490|      0|	rwhich = 0;
 4491|     38|    PROTECT(rgr);
  ------------------
  |  |  357|     38|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4492|       |
 4493|     38|    if( !isFunction(lsxp) && !isFunction(rsxp) ) {
  ------------------
  |  |  948|     38|#define isFunction		Rf_isFunction
  ------------------
                  if( !isFunction(lsxp) && !isFunction(rsxp) ) {
  ------------------
  |  |  948|      0|#define isFunction		Rf_isFunction
  ------------------
  |  Branch (4493:9): [True: 0, False: 38]
  |  Branch (4493:30): [True: 0, False: 0]
  ------------------
 4494|      0|	UNPROTECT(4);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4495|      0|	return 0; /* no generic or group method so use default */
 4496|      0|    }
 4497|       |
 4498|     38|    if( lsxp != rsxp ) {
  ------------------
  |  Branch (4498:9): [True: 26, False: 12]
  ------------------
 4499|     26|	if ( isFunction(lsxp) && isFunction(rsxp) ) {
  ------------------
  |  |  948|     26|#define isFunction		Rf_isFunction
  ------------------
              	if ( isFunction(lsxp) && isFunction(rsxp) ) {
  ------------------
  |  |  948|     26|#define isFunction		Rf_isFunction
  ------------------
  |  Branch (4499:7): [True: 26, False: 0]
  |  Branch (4499:27): [True: 0, False: 26]
  ------------------
 4500|       |	    /* special-case some methods involving difftime */
 4501|      0|	    const char *lname = CHAR(PRINTNAME(lmeth)),
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 4502|      0|		*rname = CHAR(PRINTNAME(rmeth));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 4503|      0|	    if( streql(rname, "Ops.difftime") &&
  ------------------
  |  | 1498|      0|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 4504|      0|		(streql(lname, "+.POSIXt") || streql(lname, "-.POSIXt") ||
  ------------------
  |  | 1498|      0|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 0]
  |  |  ------------------
  ------------------
              		(streql(lname, "+.POSIXt") || streql(lname, "-.POSIXt") ||
  ------------------
  |  | 1498|      0|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 4505|      0|		 streql(lname, "+.Date") || streql(lname, "-.Date")) )
  ------------------
  |  | 1498|      0|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 0]
  |  |  ------------------
  ------------------
              		 streql(lname, "+.Date") || streql(lname, "-.Date")) )
  ------------------
  |  | 1498|      0|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 4506|      0|		rsxp = R_NilValue;
 4507|      0|	    else if (streql(lname, "Ops.difftime") &&
  ------------------
  |  | 1498|      0|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 4508|      0|		     (streql(rname, "+.POSIXt") || streql(rname, "+.Date")) )
  ------------------
  |  | 1498|      0|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 0]
  |  |  ------------------
  ------------------
              		     (streql(rname, "+.POSIXt") || streql(rname, "+.Date")) )
  ------------------
  |  | 1498|      0|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 4509|      0|		lsxp = R_NilValue;
 4510|       |
 4511|       |	    /* Strict comparison, the docs requires methods to be "the same":
 4512|       |	      16 to take environments into account
 4513|       |	     1+2 for bitwise comparison of numbers
 4514|       |	       4 for the same order of attributes
 4515|       |	         bytecode ignored (can change at runtime)
 4516|       |	         srcref ignored (as per default)
 4517|       |	    */
 4518|      0|	    else if (!R_compute_identical(lsxp, rsxp, 16 + 1 + 2 + 4)) {
  ------------------
  |  Branch (4518:15): [True: 0, False: 0]
  ------------------
 4519|      0|		SEXP x = CAR(args), y = CADR(args);
 4520|      0|		if (R_chooseOpsMethod(x, y, lsxp, rsxp, call, FALSE, rho)) {
  ------------------
  |  Branch (4520:7): [True: 0, False: 0]
  ------------------
 4521|      0|		    rsxp = R_NilValue;
 4522|      0|		}
 4523|      0|		else if (R_chooseOpsMethod(y, x, rsxp, lsxp, call, TRUE, rho)) {
  ------------------
  |  Branch (4523:12): [True: 0, False: 0]
  ------------------
 4524|      0|		    lsxp = R_NilValue;
 4525|      0|		}
 4526|      0|		else {
 4527|      0|		    warning(_("Incompatible methods "
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              		    warning(_("Incompatible methods "
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4528|      0|			      "(\"%s\", \"%s\") for \"%s\""),
 4529|      0|			    lname, rname, generic);
 4530|      0|		    UNPROTECT(4);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4531|      0|		    return 0;
 4532|      0|		}
 4533|      0|	    }
 4534|      0|	}
 4535|       |	/* if the right hand side is the one */
 4536|     26|	if( !isFunction(lsxp) ) { /* copy over the righthand stuff */
  ------------------
  |  |  948|     26|#define isFunction		Rf_isFunction
  ------------------
  |  Branch (4536:6): [True: 0, False: 26]
  ------------------
 4537|      0|	    lsxp = rsxp;
 4538|      0|	    lmeth = rmeth;
 4539|      0|	    lgr = rgr;
 4540|      0|	    lclass = rclass;
 4541|      0|	    lwhich = rwhich;
 4542|      0|	}
 4543|     26|    }
 4544|       |
 4545|       |    /* we either have a group method or a class method */
 4546|       |
 4547|     38|    const void *vmax = vmaxget();
 4548|     38|    s = args;
 4549|     38|    const char *dispatchClassName = translateChar(STRING_ELT(lclass, lwhich));
  ------------------
  |  | 1037|     38|#define translateChar		Rf_translateChar
  ------------------
 4550|       |
 4551|     38|    SEXP t, m = PROTECT(allocVector(STRSXP,nargs));
  ------------------
  |  |  357|     38|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4552|    114|    for (int i = 0 ; i < nargs ; i++) {
  ------------------
  |  Branch (4552:22): [True: 76, False: 38]
  ------------------
 4553|     76|	t = classForGroupDispatch(CAR(s));
 4554|     76|	if (isString(t) && (stringPositionTr(t, dispatchClassName) >= 0))
  ------------------
  |  |  966|     76|#define isString		Rf_isString
  ------------------
              	if (isString(t) && (stringPositionTr(t, dispatchClassName) >= 0))
  ------------------
  |  | 1033|     50|#define stringPositionTr	Rf_stringPositionTr
  ------------------
  |  Branch (4554:6): [True: 50, False: 26]
  |  Branch (4554:21): [True: 50, False: 0]
  ------------------
 4555|     50|	    SET_STRING_ELT(m, i, PRINTNAME(lmeth));
 4556|     26|	else
 4557|     26|	    SET_STRING_ELT(m, i, R_BlankString);
 4558|     76|	s = CDR(s);
 4559|     76|    }
 4560|     38|    vmaxset(vmax);
 4561|       |
 4562|     38|    SEXP newvars = PROTECT(createS3Vars(
  ------------------
  |  |  357|     38|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4563|     38|	PROTECT(mkString(generic)),
 4564|     38|	lgr,
 4565|     38|	PROTECT(stringSuffix(lclass, lwhich)),
 4566|     38|	m,
 4567|     38|	rho,
 4568|     38|	R_BaseEnv
 4569|     38|    ));
 4570|       |
 4571|     38|    PROTECT(t = LCONS(lmeth, CDR(call)));
  ------------------
  |  |  357|     38|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4572|       |
 4573|       |    /* the arguments have been evaluated; since we are passing them */
 4574|       |    /* out to a closure we need to wrap them in promises so that */
 4575|       |    /* they get duplicated and things like missing/substitute work. */
 4576|       |
 4577|     38|    PROTECT(s = promiseArgs(CDR(call), rho));
  ------------------
  |  |  357|     38|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4578|     38|    if (length(s) != length(args))
  ------------------
  |  |  987|     38|#define length(x)		Rf_length(x)
  ------------------
                  if (length(s) != length(args))
  ------------------
  |  |  987|     38|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (4578:9): [True: 0, False: 38]
  ------------------
 4579|      0|	error(_("dispatch error in group dispatch"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("dispatch error in group dispatch"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4580|    114|    for (m = s ; m != R_NilValue ; m = CDR(m), args = CDR(args) ) {
  ------------------
  |  Branch (4580:18): [True: 76, False: 38]
  ------------------
 4581|     76|	IF_PROMSXP_SET_PRVALUE(CAR(m), CAR(args));
 4582|       |	/* ensure positional matching for operators */
 4583|     76|	if(isOps) SET_TAG(m, R_NilValue);
  ------------------
  |  Branch (4583:5): [True: 76, False: 0]
  ------------------
 4584|     76|    }
 4585|       |
 4586|     38|    *ans = applyClosure(t, lsxp, s, rho, newvars, TRUE);
  ------------------
  |  |  879|     38|#define applyClosure		Rf_applyClosure
  ------------------
 4587|     38|    UNPROTECT(10);
  ------------------
  |  |  358|     38|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4588|     38|    return 1;
 4589|     38|}
R_bcVersionNumber:
 4596|      2|{
 4597|      2|    return R_bcVersion;
 4598|      2|}
R_initialize_bcode:
 4640|      2|{
 4641|      2|  R_AddSym = install("+");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 4642|      2|  R_SubSym = install("-");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 4643|      2|  R_MulSym = install("*");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 4644|      2|  R_DivSym = install("/");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 4645|      2|  R_ExptSym = install("^");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 4646|      2|  R_SqrtSym = install("sqrt");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 4647|      2|  R_ExpSym = install("exp");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 4648|      2|  R_EqSym = install("==");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 4649|      2|  R_NeSym = install("!=");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 4650|      2|  R_LtSym = install("<");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 4651|      2|  R_LeSym = install("<=");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 4652|      2|  R_GeSym = install(">=");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 4653|      2|  R_GtSym = install(">");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 4654|      2|  R_AndSym = install("&");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 4655|      2|  R_OrSym = install("|");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 4656|      2|  R_NotSym = install("!");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 4657|      2|  R_CSym = install("c");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 4658|      2|  R_LogSym = install("log");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 4659|      2|  R_DotInternalSym = install(".Internal");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 4660|      2|  R_DotExternalSym = install(".External");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 4661|      2|  R_DotExternal2Sym = install(".External2");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 4662|      2|  R_DotExternalgraphicsSym = install(".External.graphics");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 4663|      2|  R_DotCallSym = install(".Call");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 4664|      2|  R_DotCallgraphicsSym = install(".Call.graphics");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 4665|      2|  R_DotFortranSym = install(".Fortran");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 4666|      2|  R_DotCSym = install(".C");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 4667|       |
 4668|      2|  bcEval_init();
 4669|       |
 4670|       |  /* the first constants record always stays in place for protection */
 4671|      2|  R_ConstantsRegistry = allocVector(VECSXP, 2);
  ------------------
  |  |  875|      2|#define allocVector		Rf_allocVector
  ------------------
                R_ConstantsRegistry = allocVector(VECSXP, 2);
  ------------------
  |  |  131|      2|#define VECSXP	    19	  /* generic vectors */
  ------------------
 4672|      2|  R_PreserveObject(R_ConstantsRegistry);
 4673|      2|  SET_VECTOR_ELT(R_ConstantsRegistry, 0, R_NilValue);
 4674|      2|  SET_VECTOR_ELT(R_ConstantsRegistry, 1, R_NilValue);
 4675|       |
 4676|      2|  R_BCProtCommitted = R_BCNodeStackBase;
 4677|      2|}
R_PromiseExpr:
 5527|  36.8k|{
 5528|  36.8k|    return bytecodeExpr(PRCODE(p));
 5529|  36.8k|}
R_ClosureExpr:
 5532|    147|{
 5533|    147|    return bytecodeExpr(BODY(p));
 5534|    147|}
R_BCRelPC:
 6913|  13.8M|{
 6914|       |    /* used to capture the pc offset from its codebase at the time a
 6915|       |       context is created */
 6916|  13.8M|    if (body && currentpc)
  ------------------
  |  Branch (6916:9): [True: 13.8M, False: 12.7k]
  |  Branch (6916:17): [True: 13.8M, False: 0]
  ------------------
 6917|  13.8M|	return *((BCODE **) currentpc) - BCCODE(body);
  ------------------
  |  | 5572|  13.8M|#define BCCODE(e) BCODE_PTR(BCODE_CODE(e))
  |  |  ------------------
  |  |  |  |  736|  13.8M|#define BCODE_PTR(x) ((BCODE *) DATAPTR(x))
  |  |  ------------------
  ------------------
 6918|  12.7k|    else
 6919|  12.7k|	return -1;
 6920|  13.8M|}
R_findBCInterpreterSrcref:
 6949|  6.94k|{
 6950|  6.94k|    return R_findBCInterpreterLocation(cptr, "srcrefsIndex");
 6951|  6.94k|}
R_getBCInterpreterExpression:
 7060|  1.05M|{
 7061|  1.05M|    SEXP exp = R_findBCInterpreterExpression();
 7062|  1.05M|    if (TYPEOF(exp) == PROMSXP) {
  ------------------
  |  |  116|  1.05M|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (7062:9): [True: 0, False: 1.05M]
  ------------------
 7063|      0|	ENSURE_PROMISE_IS_EVALUATED(exp);
  ------------------
  |  |  946|      0|#define ENSURE_PROMISE_IS_EVALUATED(x) do {	\
  |  |  947|      0|	SEXP __x__ = (x);			\
  |  |  948|      0|	if (! PROMISE_IS_EVALUATED(__x__))	\
  |  |  ------------------
  |  |  |  Branch (948:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  949|      0|	    forcePromise(__x__);		\
  |  |  950|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (950:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 7064|      0|	exp = PRVALUE(exp);
 7065|      0|    }
 7066|       |
 7067|       |    /* This tries to mimick the behavior of the AST interpreter to a
 7068|       |       reasonable level, based on relatively consistent expressions
 7069|       |       provided by the compiler in the constant pool. The AST
 7070|       |       interpreter behavior is rather inconsistent and should be fixed
 7071|       |       at some point. When this happens, the code below will have to
 7072|       |       be revisited, but the compiler code should mostly stay the
 7073|       |       same.
 7074|       |
 7075|       |       Currently this code attempts to bypass implementation of
 7076|       |       closure wrappers for internals and other foreign functions
 7077|       |       called via a directive, hide away primitives, but show
 7078|       |       assignment calls. This code ignores less usual problematic
 7079|       |       situations such as overriding of builtins or inlining of the
 7080|       |       wrappers by the compiler. Simple assignment calls are inflated
 7081|       |       (back) into the usual form like x[1] <- y. Expressions made of
 7082|       |       a single symbol are hidden away (note these are e.g. for
 7083|       |       missing function arguments). */
 7084|       |
 7085|  1.05M|    if (maybeAssignmentCall(exp)) {
  ------------------
  |  Branch (7085:9): [True: 0, False: 1.05M]
  ------------------
 7086|      0|	exp = inflateAssignmentCall(exp);
 7087|  1.05M|    } else if (TYPEOF(exp) == SYMSXP || maybeClosureWrapper(exp)
  ------------------
  |  |  112|  2.10M|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (7087:16): [True: 0, False: 1.05M]
  |  Branch (7087:41): [True: 2.38k, False: 1.04M]
  ------------------
 7088|  1.05M|	|| maybePrimitiveCall(exp)) {
  ------------------
  |  Branch (7088:5): [True: 1.04M, False: 0]
  ------------------
 7089|       |
 7090|  1.05M|	RCNTXT *c = R_GlobalContext;
 7091|  1.05M|        while(c && c->callflag != CTXT_TOPLEVEL) {
  ------------------
  |  Branch (7091:15): [True: 1.05M, False: 0]
  |  Branch (7091:20): [True: 1.05M, False: 0]
  ------------------
 7092|  1.05M|	    if (c->callflag & CTXT_FUNCTION) {
  ------------------
  |  Branch (7092:10): [True: 1.05M, False: 0]
  ------------------
 7093|  1.05M|		exp = c->call;
 7094|  1.05M|		break;
 7095|  1.05M|	    }
 7096|      0|	    c = c->nextcontext;
 7097|      0|	}
 7098|  1.05M|    }
 7099|  1.05M|    return exp;
 7100|  1.05M|}
R_BCVersionOK:
 7111|  14.9M|{
 7112|  14.9M|    if (TYPEOF(s) != BCODESXP)
  ------------------
  |  |  133|  14.9M|#define BCODESXP    21    /* byte code */
  ------------------
  |  Branch (7112:9): [True: 0, False: 14.9M]
  ------------------
 7113|      0|	return FALSE;
 7114|       |
 7115|  14.9M|    BCODE *pc = BCCODE(s);
  ------------------
  |  | 5572|  14.9M|#define BCCODE(e) BCODE_PTR(BCODE_CODE(e))
  |  |  ------------------
  |  |  |  |  736|  14.9M|#define BCODE_PTR(x) ((BCODE *) DATAPTR(x))
  |  |  ------------------
  ------------------
 7116|  14.9M|    int version = GETOP();
  ------------------
  |  | 5569|  14.9M|#define GETOP() (*pc++).i
  ------------------
 7117|       |
 7118|  14.9M|    return (version >= R_bcMinVersion && version <= R_bcVersion);
  ------------------
  |  Branch (7118:13): [True: 14.9M, False: 0]
  |  Branch (7118:42): [True: 14.9M, False: 0]
  ------------------
 7119|  14.9M|}
R_bcEncode:
 8674|  18.9k|{
 8675|  18.9k|    SEXP code;
 8676|  18.9k|    BCODE *pc;
 8677|  18.9k|    int *ipc, i, n, m, v;
 8678|       |
 8679|  18.9k|    m = (sizeof(BCODE) + sizeof(int) - 1) / sizeof(int);
 8680|       |
 8681|  18.9k|    n = LENGTH(bytes);
 8682|  18.9k|    if (n == 0)
  ------------------
  |  Branch (8682:9): [True: 0, False: 18.9k]
  ------------------
 8683|      0|	return R_NilValue;
 8684|  18.9k|    ipc = INTEGER(bytes);
 8685|       |
 8686|  18.9k|    v = ipc[0];
 8687|  18.9k|    if (v < R_bcMinVersion || v > R_bcVersion) {
  ------------------
  |  Branch (8687:9): [True: 0, False: 18.9k]
  |  Branch (8687:31): [True: 0, False: 18.9k]
  ------------------
 8688|      0|	code = allocVector(INTSXP, m * 2);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              	code = allocVector(INTSXP, m * 2);
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
 8689|      0|	pc = BCODE_PTR(code);
  ------------------
  |  |  736|      0|#define BCODE_PTR(x) ((BCODE *) DATAPTR(x))
  ------------------
 8690|      0|	pc[0].i = v;
 8691|      0|	pc[1].v = opinfo[BCMISMATCH_OP].addr;
 8692|      0|	return code;
 8693|      0|    }
 8694|  18.9k|    else {
 8695|  18.9k|	code = allocVector(INTSXP, m * n);
  ------------------
  |  |  875|  18.9k|#define allocVector		Rf_allocVector
  ------------------
              	code = allocVector(INTSXP, m * n);
  ------------------
  |  |  123|  18.9k|#define INTSXP	    13	  /* integer vectors */
  ------------------
 8696|  18.9k|	memset(INTEGER(code), 0, m * n * sizeof(int));
 8697|  18.9k|	pc = BCODE_PTR(code);
  ------------------
  |  |  736|  18.9k|#define BCODE_PTR(x) ((BCODE *) DATAPTR(x))
  ------------------
 8698|       |
 8699|   376k|	for (i = 0; i < n; i++) pc[i].i = ipc[i];
  ------------------
  |  Branch (8699:14): [True: 357k, False: 18.9k]
  ------------------
 8700|       |
 8701|       |	/* install the current version number */
 8702|  18.9k|	pc[0].i = R_bcVersion;
 8703|       |
 8704|       |	/* Revert to version 2 to allow for some one compiling in a
 8705|       |	   new R, loading/saving in an old one, and then trying to run
 8706|       |	   in a new one. This has happened! Setting the version number
 8707|       |	   back tells bcEval to drop back to eval. */
 8708|  18.9k|	if (n == 2 && ipc[1] == BCMISMATCH_OP)
  ------------------
  |  Branch (8708:6): [True: 0, False: 18.9k]
  |  Branch (8708:16): [True: 0, False: 0]
  ------------------
 8709|      0|	    pc[0].i = 2;
 8710|       |
 8711|   208k|	for (i = 1; i < n;) {
  ------------------
  |  Branch (8711:14): [True: 189k, False: 18.9k]
  ------------------
 8712|   189k|	    int op = pc[i].i;
 8713|   189k|	    if (op < 0 || op >= OPCOUNT)
  ------------------
  |  Branch (8713:10): [True: 0, False: 189k]
  |  Branch (8713:20): [True: 0, False: 189k]
  ------------------
 8714|      0|		error("unknown instruction code");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 8715|   189k|	    pc[i].v = opinfo[op].addr;
 8716|   189k|	    i += opinfo[op].argc + 1;
 8717|   189k|	}
 8718|       |
 8719|  18.9k|	return code;
 8720|  18.9k|    }
 8721|  18.9k|}
R_registerBC:
 8771|  18.9k|{
 8772|  18.9k|    if (R_check_constants <= 0)
  ------------------
  |  Branch (8772:9): [True: 18.9k, False: 0]
  ------------------
 8773|  18.9k|	return;
 8774|      0|    if (TYPEOF(bcBytes) != INTSXP)
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (8774:9): [True: 0, False: 0]
  ------------------
 8775|      0|	error("registerBC requires integer vector as bcBytes");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 8776|      0|    if (TYPEOF(bcode) != BCODESXP)
  ------------------
  |  |  133|      0|#define BCODESXP    21    /* byte code */
  ------------------
  |  Branch (8776:9): [True: 0, False: 0]
  ------------------
 8777|      0|	error("registerBC requires BCODESXP object as bcode");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 8778|       |
 8779|      0|    static int count = CONST_CHECK_COUNT;
  ------------------
  |  | 8769|      0|#define CONST_CHECK_COUNT 1000
  ------------------
 8780|      0|    if (--count <= 0) {
  ------------------
  |  Branch (8780:9): [True: 0, False: 0]
  ------------------
 8781|      0|	count = CONST_CHECK_COUNT;
  ------------------
  |  | 8769|      0|#define CONST_CHECK_COUNT 1000
  ------------------
 8782|      0|	R_checkConstants(TRUE);
 8783|      0|    }
 8784|       |
 8785|       |    /* The constants registry is a linked list of constant records. Each
 8786|       |       constant record is a generic vector, its first element is a pointer
 8787|       |       to the next constant record, the second element is a weak reference
 8788|       |       to the byte-code object, the third element is a reference to the whole
 8789|       |       constant pool, and the following elements are interleaved original and
 8790|       |       copied constants. A constant registry corresponds to a constant pool.
 8791|       |       When the weak reference gets cleared, the respective constant record
 8792|       |       can be removed from the list.
 8793|       |
 8794|       |       One could simply compare/duplicate the lists of all constants (the whole
 8795|       |       constant pools), but that turned out too expensive */
 8796|       |
 8797|      0|    SEXP consts = BCODE_CONSTS(bcode); /* all constants, VECSXP */
  ------------------
  |  |  737|      0|#define BCODE_CONSTS(x) CDR(x)
  ------------------
 8798|       |
 8799|      0|#define CHECK_ALL_CONSTANTS
 8800|       |#ifndef CHECK_ALL_CONSTANTS
 8801|       |    int *ipc = INTEGER(bcBytes);
 8802|       |    int n = LENGTH(bcBytes);
 8803|       |    int i;
 8804|       |    int loadableConsts = 0;
 8805|       |
 8806|       |    /* add only constants loaded by certain instructions  */
 8807|       |    for(i = 0; i < n; i += opinfo[ipc[i]].argc + 1)
 8808|       |        if (ipc[i] == LDCONST_OP || ipc[i] == PUSHCONSTARG_OP ||
 8809|       |		ipc[i] == CALLSPECIAL_OP)
 8810|       |            loadableConsts++;
 8811|       |
 8812|       |    SEXP constsRecord = PROTECT(allocVector(VECSXP, loadableConsts * 2 + 3));
 8813|       |    int crIdx = 3;
 8814|       |    for(i = 0; i < n; i += opinfo[ipc[i]].argc + 1)
 8815|       |        if (ipc[i] == LDCONST_OP || ipc[i] == PUSHCONSTARG_OP ||
 8816|       |		ipc[i] == CALLSPECIAL_OP) {
 8817|       |            SEXP corig = VECTOR_ELT(consts, ipc[i + 1]);
 8818|       |            SET_VECTOR_ELT(constsRecord, crIdx++, corig);
 8819|       |            SET_VECTOR_ELT(constsRecord, crIdx++, duplicate(corig));
 8820|       |        }
 8821|       |#else
 8822|       |    /* add the whole constant pool */
 8823|      0|    SEXP constsRecord = PROTECT(allocVector(VECSXP, 2 + 3));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 8824|      0|    SET_VECTOR_ELT(constsRecord, 3, consts);
 8825|       |    /* the consts reference is in the record twice to make the code simpler */
 8826|      0|    SET_VECTOR_ELT(constsRecord, 4, duplicate(consts));
  ------------------
  |  |  909|      0|#define duplicate		Rf_duplicate
  ------------------
 8827|      0|#endif
 8828|       |
 8829|      0|    SEXP wref = R_MakeWeakRef(bcode, R_NilValue, R_NilValue, FALSE);
 8830|      0|    SET_VECTOR_ELT(constsRecord, 0, VECTOR_ELT(R_ConstantsRegistry, 0));
 8831|      0|    SET_VECTOR_ELT(constsRecord, 1, wref);
 8832|      0|    SET_VECTOR_ELT(constsRecord, 2, consts);
 8833|      0|    SET_VECTOR_ELT(R_ConstantsRegistry, 0, constsRecord);
 8834|      0|    UNPROTECT(1); /* constsRecord */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 8835|      0|}
R_checkConstants:
 8940|  1.00k|{
 8941|  1.00k|    if (R_check_constants <= 0 || R_ConstantsRegistry == NULL)
  ------------------
  |  Branch (8941:9): [True: 1.00k, False: 0]
  |  Branch (8941:35): [True: 0, False: 0]
  ------------------
 8942|  1.00k|	return TRUE;
 8943|       |
 8944|      0|    static Rboolean checkingInProgress = FALSE;
 8945|      0|    RCNTXT cntxt;
 8946|       |
 8947|      0|    if (checkingInProgress)
  ------------------
  |  Branch (8947:9): [True: 0, False: 0]
  ------------------
 8948|       |	/* recursive invocation is possible because of allocation
 8949|       |           in R_compute_identical */
 8950|      0|	return TRUE;
 8951|       |
 8952|       |    /* set up context to recover checkingInProgress */
 8953|      0|    begincontext(&cntxt, CTXT_CCODE, R_NilValue, R_BaseEnv, R_BaseEnv,
  ------------------
  |  | 1869|      0|# define begincontext		Rf_begincontext
  ------------------
 8954|      0|                 R_NilValue, R_NilValue);
 8955|      0|    cntxt.cend = &const_cleanup;
 8956|      0|    cntxt.cenddata = &checkingInProgress;
 8957|       |
 8958|      0|    checkingInProgress = TRUE;
 8959|      0|    SEXP prev_crec = R_ConstantsRegistry;
 8960|      0|    SEXP crec = VECTOR_ELT(prev_crec, 0);
 8961|      0|    Rboolean constsOK = TRUE;
 8962|      0|    while(crec != R_NilValue) {
  ------------------
  |  Branch (8962:11): [True: 0, False: 0]
  ------------------
 8963|      0|	SEXP wref = VECTOR_ELT(crec, 1);
 8964|      0|	SEXP bc = R_WeakRefKey(wref);
 8965|      0|	if (!checkConstantsInRecord(crec, abortOnError))
  ------------------
  |  Branch (8965:6): [True: 0, False: 0]
  ------------------
 8966|      0|	    constsOK = FALSE;
 8967|      0|	if (bc == R_NilValue)
  ------------------
  |  Branch (8967:6): [True: 0, False: 0]
  ------------------
 8968|       |	    /* remove no longer needed record from the registry */
 8969|      0|	    SET_VECTOR_ELT(prev_crec, 0, VECTOR_ELT(crec, 0));
 8970|      0|	else
 8971|      0|            prev_crec = crec;
 8972|      0|	crec = VECTOR_ELT(crec, 0);
 8973|      0|    }
 8974|      0|    endcontext(&cntxt);
  ------------------
  |  | 1900|      0|# define endcontext		Rf_endcontext
  ------------------
 8975|      0|    checkingInProgress = FALSE;
 8976|      0|    return constsOK;
 8977|      0|}
R_ParseEvalString:
 9345|      2|{
 9346|      2|    SEXP s = PROTECT(mkString(str));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
 9347|       |
 9348|      2|    ParseStatus status;
 9349|      2|    SEXP ps = PROTECT(R_ParseVector(s, -1, &status, R_NilValue));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
 9350|      2|    if (status != PARSE_OK ||
  ------------------
  |  Branch (9350:9): [True: 0, False: 2]
  ------------------
 9351|      2|	TYPEOF(ps) != EXPRSXP ||
  ------------------
  |  |  132|      4|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (9351:2): [True: 0, False: 2]
  ------------------
 9352|      2|	LENGTH(ps) != 1)
  ------------------
  |  Branch (9352:2): [True: 0, False: 2]
  ------------------
 9353|      0|	error("parse error");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 9354|       |
 9355|      2|    SEXP val = VECTOR_ELT(ps, 0);
 9356|      2|    if (env != NULL)
  ------------------
  |  Branch (9356:9): [True: 2, False: 0]
  ------------------
 9357|      2|	val = eval(val, env);
  ------------------
  |  |  913|      2|#define eval			Rf_eval
  ------------------
 9358|       |
 9359|      2|    UNPROTECT(2); /* s, ps */
  ------------------
  |  |  358|      2|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 9360|      2|    return val;
 9361|      2|}
eval.c:DECLNK_stack:
 1038|  24.5M|{
 1039|  24.5M|    if (base < R_BCProtCommitted) {
  ------------------
  |  Branch (1039:9): [True: 6.30M, False: 18.2M]
  ------------------
 1040|  6.30M|	R_bcstack_t *top = R_BCProtCommitted;
 1041|  43.0M|	for (R_bcstack_t *p = base; p < top; p++) {
  ------------------
  |  Branch (1041:30): [True: 36.7M, False: 6.30M]
  ------------------
 1042|  36.7M|	    if (p->tag == RAWMEM_TAG || p->tag == CACHESZ_TAG)
  ------------------
  |  | 1401|  73.4M|# define RAWMEM_TAG 254
  ------------------
              	    if (p->tag == RAWMEM_TAG || p->tag == CACHESZ_TAG)
  ------------------
  |  | 1402|  26.2M|# define CACHESZ_TAG 253
  ------------------
  |  Branch (1042:10): [True: 10.4M, False: 26.2M]
  |  Branch (1042:34): [True: 5.25M, False: 20.9M]
  ------------------
 1043|  15.7M|		p += p->u.ival;
 1044|  20.9M|	    else if (p->tag == 0)
  ------------------
  |  Branch (1044:15): [True: 17.8M, False: 3.14M]
  ------------------
 1045|  17.8M|		DECREMENT_LINKS(p->u.sxpval);
  ------------------
  |  |  545|  17.8M|#define DECREMENT_LINKS(x) do {			\
  |  |  546|  17.8M|	SEXP dl__x__ = (x);			\
  |  |  547|  17.8M|	DECREMENT_NAMED(dl__x__);		\
  |  |  ------------------
  |  |  |  |  223|  17.8M|# define DECREMENT_NAMED(x) do { } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (223:43): [Folded, False: 17.8M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  548|  17.8M|	DECREMENT_REFCNT(dl__x__);		\
  |  |  549|  17.8M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (549:14): [Folded, False: 17.8M]
  |  |  ------------------
  ------------------
 1046|  36.7M|	}
 1047|  6.30M|	R_BCProtCommitted = base;
 1048|  6.30M|    }
 1049|  24.5M|    R_BCProtTop = base;
 1050|  24.5M|}
eval.c:forcePromise:
  965|  11.7M|{
  966|  11.7M|    if (! PROMISE_IS_EVALUATED(e)) {
  ------------------
  |  Branch (966:9): [True: 11.7M, False: 0]
  ------------------
  967|  11.7M|	PROTECT(e);
  ------------------
  |  |  357|  11.7M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  968|  11.7M|	if(PRSEEN(e)) {
  ------------------
  |  Branch (968:5): [True: 0, False: 11.7M]
  ------------------
  969|      0|	    if (PRSEEN(e) == 1)
  ------------------
  |  Branch (969:10): [True: 0, False: 0]
  ------------------
  970|      0|		errorcall(R_GlobalContext->call,
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
  971|      0|			  _("promise already under evaluation: recursive default argument reference or earlier problems?"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  972|      0|	    else {
  973|       |		/* set PRSEEN to 1 to avoid infinite recursion */
  974|      0|		SET_PRSEEN(e, 1);
  975|      0|		warningcall(R_GlobalContext->call,
  ------------------
  |  | 2018|      0|# define warningcall		Rf_warningcall
  ------------------
  976|      0|			     _("restarting interrupted promise evaluation"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  977|      0|	    }
  978|      0|	}
  979|       |	/* Mark the promise as under evaluation and push it on a stack
  980|       |	   that can be used to unmark pending promises if a jump out
  981|       |	   of the evaluation occurs. */
  982|  11.7M|	SET_PRSEEN(e, 1);
  983|  11.7M|	RPRSTACK prstack;
  984|  11.7M|	PUSH_PENDING_PROMISE(e, &prstack);
  985|       |
  986|  11.7M|	SEXP val = eval(PRCODE(e), PRENV(e));
  ------------------
  |  |  913|  11.7M|#define eval			Rf_eval
  ------------------
  987|  11.7M|	SET_PRVALUE(e, val);
  988|  11.7M|	ENSURE_NAMEDMAX(val);
  989|       |
  990|       |	/* Pop the stack, unmark the promise and set its value field.
  991|       |	   Also set the environment to R_NilValue to allow GC to
  992|       |	   reclaim the promise environment; this is also useful for
  993|       |	   fancy games with delayedAssign() */
  994|  11.7M|	POP_PENDING_PROMISE(&prstack);
  995|  11.7M|	SET_PRSEEN(e, 0);
  996|  11.7M|	SET_PRENV(e, R_NilValue);
  997|  11.7M|	UNPROTECT(1); /* e */
  ------------------
  |  |  358|  11.7M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  998|  11.7M|    }
  999|  11.7M|}
eval.c:PUSH_PENDING_PROMISE:
  953|  21.3M|{
  954|  21.3M|    cellptr->promise = e;
  955|  21.3M|    cellptr->next = R_PendingPromises;
  956|  21.3M|    R_PendingPromises = cellptr;
  957|  21.3M|}
eval.c:POP_PENDING_PROMISE:
  960|  20.2M|{
  961|  20.2M|    R_PendingPromises = cellptr->next;
  962|  20.2M|}
eval.c:loadCompilerNamespace:
 1424|     19|{
 1425|     19|    SEXP arg = PROTECT(mkString("compiler"));
  ------------------
  |  |  357|     19|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1426|     19|    R_FindNamespace(arg);
 1427|     19|    UNPROTECT(1);
  ------------------
  |  |  358|     19|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1428|     19|}
eval.c:checkCompilerOptions:
 1431|      2|{
 1432|      2|    Rboolean old_visible = R_Visible;
 1433|      2|    SEXP packsym, funsym, call, fcall, arg;
 1434|       |
 1435|      2|    packsym = install("compiler");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1436|      2|    funsym = install("checkCompilerOptions");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1437|       |
 1438|      2|    PROTECT(arg = ScalarInteger(jitEnabled));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1439|      2|    PROTECT(fcall = lang3(R_TripleColonSymbol, packsym, funsym));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1440|      2|    PROTECT(call = lang2(fcall, arg));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1441|      2|    eval(call, R_BaseEnv);
  ------------------
  |  |  913|      2|#define eval			Rf_eval
  ------------------
 1442|      2|    UNPROTECT(3);
  ------------------
  |  |  358|      2|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1443|      2|    R_Visible = old_visible;
 1444|      2|}
eval.c:applyClosure_core:
 2355|  1.09M|{
 2356|  1.09M|    SEXP newrho = make_applyClosure_env(call, op, arglist, rho, suppliedvars);
 2357|  1.09M|    PROTECT(newrho);
  ------------------
  |  |  357|  1.09M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2358|       |
 2359|       |    /*  If we have a generic function we need to use the sysparent of
 2360|       |	the generic as the sysparent of the method because the method
 2361|       |	is a straight substitution of the generic.  */
 2362|  1.09M|    if (sysparent == R_NilValue)
  ------------------
  |  Branch (2362:9): [True: 1.09M, False: 0]
  ------------------
 2363|  1.09M|	sysparent = (R_GlobalContext->callflag == CTXT_GENERIC) ?
  ------------------
  |  Branch (2363:14): [True: 10.7k, False: 1.07M]
  ------------------
 2364|  1.07M|	    R_GlobalContext->sysparent : rho;
 2365|       |
 2366|  1.09M|    SEXP val = R_execClosure(call, newrho, sysparent, rho, arglist, op);
 2367|  1.09M|#ifdef ADJUST_ENVIR_REFCNTS
 2368|  1.09M|    Rboolean is_getter_call =
 2369|  1.09M|	(CADR(call) == R_TmpvalSymbol && ! R_isReplaceSymbol(CAR(call)));
  ------------------
  |  Branch (2369:3): [True: 1.59k, False: 1.08M]
  |  Branch (2369:35): [True: 0, False: 1.59k]
  ------------------
 2370|  1.09M|    R_CleanupEnvir(newrho, val);
 2371|  1.09M|    if (is_getter_call && MAYBE_REFERENCED(val))
  ------------------
  |  |  251|      0|#define MAYBE_REFERENCED(x) (! NO_REFERENCES(x))
  |  |  ------------------
  |  |  |  Branch (251:29): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2371:9): [True: 0, False: 1.09M]
  ------------------
 2372|      0|    	val = shallow_duplicate(val);
  ------------------
  |  | 1030|      0|#define shallow_duplicate	Rf_shallow_duplicate
  ------------------
 2373|  1.09M|    if (unpromise)
  ------------------
  |  Branch (2373:9): [True: 1.07M, False: 15.2k]
  ------------------
 2374|  1.07M|	unpromiseArgs(arglist);
 2375|  1.09M|#endif
 2376|       |
 2377|  1.09M|    UNPROTECT(1); /* newrho */
  ------------------
  |  |  358|  1.09M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2378|  1.09M|    return val;
 2379|  1.09M|}
eval.c:make_applyClosure_env:
 2285|  10.6M|{
 2286|  10.6M|    SEXP formals, actuals, savedrho, newrho;
 2287|  10.6M|    SEXP f, a;
 2288|       |
 2289|       |    /* formals = list of formal parameters */
 2290|       |    /* actuals = values to be bound to formals */
 2291|       |    /* arglist = the tagged list of arguments */
 2292|       |
 2293|       |    /* protection against rho = NULL */
 2294|       |    // these are deliberately not translated
 2295|  10.6M|    if (!rho)
  ------------------
  |  Branch (2295:9): [True: 0, False: 10.6M]
  ------------------
 2296|      0|	errorcall(call,
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
 2297|      0|		  "'rho' cannot be C NULL: detected in C-level applyClosure");
 2298|  10.6M|    if (!isEnvironment(rho))
  ------------------
  |  |  944|  10.6M|#define isEnvironment		Rf_isEnvironment
  ------------------
  |  Branch (2298:9): [True: 0, False: 10.6M]
  ------------------
 2299|      0|	errorcall(call, "'rho' must be an environment not %s: detected in C-level applyClosure",
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
 2300|      0|		  R_typeToChar(rho));
 2301|  10.6M|    if (TYPEOF(op) != CLOSXP)
  ------------------
  |  |  114|  10.6M|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (2301:9): [True: 0, False: 10.6M]
  ------------------
 2302|      0|	errorcall(call, "'op' must be a closure not %s: detected in C-level applyClosure", R_typeToChar(op));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
 2303|       |
 2304|  10.6M|    formals = FORMALS(op);
 2305|  10.6M|    savedrho = CLOENV(op);
 2306|       |
 2307|       |    /*  Build a list which matches the actual (unevaluated) arguments
 2308|       |	to the formal paramters.  Build a new environment which
 2309|       |	contains the matched pairs.  matchArgs_RC is used since the
 2310|       |	result becomes part of the environment frame and so needs
 2311|       |	reference couting enabled. */
 2312|       |
 2313|  10.6M|    actuals = matchArgs_RC(formals, arglist, call);
  ------------------
  |  | 1952|  10.6M|# define matchArgs_RC		Rf_matchArgs_RC
  ------------------
 2314|  10.6M|    PROTECT(newrho = NewEnvironment(formals, actuals, savedrho));
  ------------------
  |  |  357|  10.6M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2315|       |
 2316|       |    /*  Use the default code for unbound formals.  FIXME: It looks like
 2317|       |	this code should preceed the building of the environment so that
 2318|       |	this will also go into the hash table.  */
 2319|       |
 2320|       |    /* This piece of code is destructively modifying the actuals list,
 2321|       |       which is now also the list of bindings in the frame of newrho.
 2322|       |       This is one place where internal structure of environment
 2323|       |       bindings leaks out of envir.c.  It should be rewritten
 2324|       |       eventually so as not to break encapsulation of the internal
 2325|       |       environment layout.  We can live with it for now since it only
 2326|       |       happens immediately after the environment creation.  LT */
 2327|       |
 2328|  10.6M|    f = formals;
 2329|  10.6M|    a = actuals;
 2330|  33.1M|    while (f != R_NilValue) {
  ------------------
  |  Branch (2330:12): [True: 22.4M, False: 10.6M]
  ------------------
 2331|  22.4M|	if (CAR(a) == R_MissingArg && CAR(f) != R_MissingArg) {
  ------------------
  |  Branch (2331:6): [True: 5.40M, False: 17.0M]
  |  Branch (2331:32): [True: 5.36M, False: 33.3k]
  ------------------
 2332|  5.36M|	    SETCAR(a, mkPROMISE(CAR(f), newrho));
  ------------------
  |  | 1962|  5.36M|# define mkPROMISE		Rf_mkPROMISE
  ------------------
 2333|  5.36M|	    SET_MISSING(a, 2);
 2334|  5.36M|	}
 2335|  22.4M|	f = CDR(f);
 2336|  22.4M|	a = CDR(a);
 2337|  22.4M|    }
 2338|       |
 2339|       |    /*  Fix up any extras that were supplied by usemethod. */
 2340|       |
 2341|  10.6M|    if (suppliedvars != R_NilValue)
  ------------------
  |  Branch (2341:9): [True: 10.8k, False: 10.6M]
  ------------------
 2342|  10.8k|	addMissingVarsToNewEnv(newrho, suppliedvars);
  ------------------
  |  |  862|  10.8k|#define addMissingVarsToNewEnv	Rf_addMissingVarsToNewEnv
  ------------------
 2343|       |
 2344|  10.6M|    if (R_envHasNoSpecialSymbols(newrho))
  ------------------
  |  Branch (2344:9): [True: 10.6M, False: 0]
  ------------------
 2345|  10.6M|	SET_NO_SPECIAL_SYMBOLS(newrho);
 2346|       |
 2347|  10.6M|    UNPROTECT(1); /* newrho */
  ------------------
  |  |  358|  10.6M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2348|  10.6M|    return newrho;
 2349|  10.6M|}
eval.c:R_isReplaceSymbol:
 2051|  1.59k|{
 2052|       |    /* fun is a replacement function name if it contains '<-'
 2053|       |       anywhere. For internally dispatched replacement functions this
 2054|       |       may occur in the middle; in other cases it will be at the
 2055|       |       end. */
 2056|  1.59k|    if (TYPEOF(fun) == SYMSXP &&
  ------------------
  |  |  112|  3.19k|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (2056:9): [True: 1.59k, False: 0]
  ------------------
 2057|  1.59k|	strstr(CHAR(PRINTNAME(fun)), "<-"))
  ------------------
  |  |  203|  1.59k|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (2057:2): [True: 1.59k, False: 0]
  ------------------
 2058|  1.59k|	return TRUE;
 2059|      0|    else return FALSE;
 2060|  1.59k|}
eval.c:handle_exec_continuation:
 2240|  9.60M|{
 2241|  9.60M|    while (is_exec_continuation(val)) {
  ------------------
  |  Branch (2241:12): [True: 0, False: 9.60M]
  ------------------
 2242|      0|	SEXP call = PROTECT(VECTOR_ELT(val, 1));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2243|      0|	SEXP rho = PROTECT(VECTOR_ELT(val, 2));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2244|      0|	SET_VECTOR_ELT(val, 2, R_NilValue); // to drop REFCNT
 2245|      0|	SEXP op = PROTECT(VECTOR_ELT(val, 3));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2246|       |
 2247|      0|	if (TYPEOF(op) == CLOSXP) {
  ------------------
  |  |  114|      0|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (2247:6): [True: 0, False: 0]
  ------------------
 2248|      0|	    SEXP callrho = R_GlobalEnv;
 2249|      0|	    for (RCNTXT *cptr = R_GlobalContext;
 2250|      0|		 cptr != NULL && cptr->callflag != CTXT_TOPLEVEL;
  ------------------
  |  Branch (2250:4): [True: 0, False: 0]
  |  Branch (2250:20): [True: 0, False: 0]
  ------------------
 2251|      0|		 cptr = cptr->nextcontext)
 2252|      0|		if (cptr->callflag & CTXT_FUNCTION) {
  ------------------
  |  Branch (2252:7): [True: 0, False: 0]
  ------------------
 2253|      0|		    callrho = cptr->cloenv;
 2254|      0|		    break;
 2255|      0|		}
 2256|      0|	    SEXP arglist = PROTECT(promiseArgsEx(CDR(call), rho, TRUE));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2257|      0|	    SEXP suppliedvars = R_NilValue;
 2258|      0|	    val = applyClosure_core(call, op, arglist, rho, suppliedvars,
 2259|      0|				    callrho, TRUE);
 2260|      0|# ifdef ADJUST_ENVIR_REFCNTS
 2261|      0|	    R_CleanupEnvir(rho, val);
 2262|      0|# endif
 2263|      0|	    UNPROTECT(1); /* arglist */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2264|      0|	}
 2265|      0|	else {
 2266|       |	    /* Ideally this should handle BUILTINSXP/SPECIALSXP calls
 2267|       |	       in the standard way as in eval() or bceval(). For now,
 2268|       |	       just build a new call and eval. */
 2269|      0|	    SEXP expr = PROTECT(LCONS(op, CDR(call)));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2270|      0|	    val = eval(expr, rho);
  ------------------
  |  |  913|      0|#define eval			Rf_eval
  ------------------
 2271|      0|	    UNPROTECT(1); /* expr */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2272|      0|	}
 2273|      0|	UNPROTECT(3); /* call, rho, op */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2274|      0|    }
 2275|  9.60M|    return val;
 2276|  9.60M|}
eval.c:R_execClosure:
 2397|  1.09M|{
 2398|  1.09M|    SEXP body;
 2399|  1.09M|    RCNTXT cntxt;
 2400|  1.09M|    volatile Rboolean dbg = FALSE;
 2401|       |
 2402|  1.09M|    begincontext(&cntxt, CTXT_RETURN, call, newrho, sysparent, arglist, op);
  ------------------
  |  | 1869|  1.09M|# define begincontext		Rf_begincontext
  ------------------
 2403|       |
 2404|  1.09M|    body = BODY(op);
 2405|  1.09M|    if (R_CheckJIT(op)) {
  ------------------
  |  Branch (2405:9): [True: 17, False: 1.08M]
  ------------------
 2406|     17|	int old_enabled = R_jit_enabled;
 2407|     17|	R_jit_enabled = 0;
 2408|     17|	R_cmpfun(op);
 2409|     17|	body = BODY(op);
 2410|     17|	R_jit_enabled = old_enabled;
 2411|     17|    }
 2412|       |
 2413|       |    /* Get the srcref record from the closure object. The old srcref was
 2414|       |       saved in cntxt. */
 2415|       |
 2416|  1.09M|    R_Srcref = getAttrib(op, R_SrcrefSymbol);
  ------------------
  |  |  924|  1.09M|#define getAttrib		Rf_getAttrib
  ------------------
 2417|       |
 2418|       |    /* Debugging */
 2419|       |
 2420|  1.09M|    if ((RDEBUG(op) && R_current_debug_state()) || RSTEP(op)
  ------------------
  |  Branch (2420:10): [True: 0, False: 1.09M]
  |  Branch (2420:24): [True: 0, False: 0]
  |  Branch (2420:52): [True: 0, False: 1.09M]
  ------------------
 2421|  1.09M|         || (RDEBUG(rho) && R_BrowserLastCommand == 's')) {
  ------------------
  |  Branch (2421:14): [True: 0, False: 1.09M]
  |  Branch (2421:29): [True: 0, False: 0]
  ------------------
 2422|       |
 2423|      0|	dbg = TRUE;
 2424|      0|	SET_RSTEP(op, 0);
 2425|      0|	SET_RDEBUG(newrho, 1);
 2426|      0|	cntxt.browserfinish = 0; /* Don't want to inherit the "f" */
 2427|       |	/* switch to interpreted version when debugging compiled code */
 2428|      0|	if (TYPEOF(body) == BCODESXP)
  ------------------
  |  |  133|      0|#define BCODESXP    21    /* byte code */
  ------------------
  |  Branch (2428:6): [True: 0, False: 0]
  ------------------
 2429|      0|	    body = bytecodeExpr(body);
 2430|      0|	Rprintf("debugging in: ");
 2431|      0|	PrintCall(call, rho);
 2432|      0|	SrcrefPrompt("debug", R_Srcref);
  ------------------
  |  | 1992|      0|# define SrcrefPrompt		Rf_SrcrefPrompt
  ------------------
 2433|      0|	PrintValue(body);
  ------------------
  |  | 1013|      0|#define PrintValue		Rf_PrintValue
  ------------------
 2434|      0|	do_browser(call, op, R_NilValue, newrho);
 2435|      0|    }
 2436|       |
 2437|       |    /*  Set a longjmp target which will catch any explicit returns
 2438|       |	from the function body.  */
 2439|       |
 2440|  1.09M|    if ((SETJMP(cntxt.cjmpbuf))) {
  ------------------
  |  | 1162|  1.09M|# define SETJMP(x) sigsetjmp(x,0)
  ------------------
  |  Branch (2440:9): [True: 439, False: 1.08M]
  ------------------
 2441|    439|	if (!cntxt.jumptarget) {
  ------------------
  |  Branch (2441:6): [True: 94, False: 345]
  ------------------
 2442|       |	    /* ignores intermediate jumps for on.exits */
 2443|     94|	    cntxt.returnValue = SEXP_TO_STACKVAL(R_ReturnedValue);
  ------------------
  |  | 2603|     94|#define SEXP_TO_STACKVAL(x) ((R_bcstack_t) { .tag = 0, .u.sxpval = (x) })
  ------------------
 2444|     94|	}
 2445|    345|	else
 2446|    345|	    cntxt.returnValue = SEXP_TO_STACKVAL(NULL); /* undefined */
  ------------------
  |  | 2603|    345|#define SEXP_TO_STACKVAL(x) ((R_bcstack_t) { .tag = 0, .u.sxpval = (x) })
  ------------------
 2447|    439|    }
 2448|  1.08M|    else
 2449|       |	/* make it available to on.exit and implicitly protect */
 2450|  1.08M|	cntxt.returnValue = SEXP_TO_STACKVAL(eval(body, newrho));
  ------------------
  |  | 2603|  1.08M|#define SEXP_TO_STACKVAL(x) ((R_bcstack_t) { .tag = 0, .u.sxpval = (x) })
  ------------------
 2451|       |
 2452|  1.09M|    R_Srcref = cntxt.srcref;
 2453|  1.09M|    endcontext(&cntxt);
  ------------------
  |  | 1900|  1.09M|# define endcontext		Rf_endcontext
  ------------------
 2454|       |
 2455|  1.09M|    if (dbg) {
  ------------------
  |  Branch (2455:9): [True: 0, False: 1.09M]
  ------------------
 2456|      0|	Rprintf("exiting from: ");
 2457|      0|	PrintCall(call, rho);
 2458|      0|    }
 2459|       |
 2460|       |    /* clear R_ReturnedValue to allow GC to reclaim old value */
 2461|  1.09M|    R_ReturnedValue = R_NilValue;
 2462|       |
 2463|  1.09M|    return STACKVAL_TO_SEXP(cntxt.returnValue);
 2464|  1.09M|}
eval.c:R_CheckJIT:
 1587|  1.09M|{
 1588|       |    /* to help with testing */
 1589|  1.09M|    if (jit_strategy < 0) {
  ------------------
  |  Branch (1589:9): [True: 2, False: 1.09M]
  ------------------
 1590|      2|	int dflt = R_jit_enabled == 1 ?
  ------------------
  |  Branch (1590:13): [True: 0, False: 2]
  ------------------
 1591|      2|	    STRATEGY_NO_SMALL : STRATEGY_TOP_SMALL_MAYBE;
  ------------------
  |  | 1555|      0|#define STRATEGY_NO_SMALL 0
  ------------------
              	    STRATEGY_NO_SMALL : STRATEGY_TOP_SMALL_MAYBE;
  ------------------
  |  | 1556|      2|#define STRATEGY_TOP_SMALL_MAYBE 1
  ------------------
 1592|      2|	int val = dflt;
 1593|      2|	char *valstr = getenv("R_JIT_STRATEGY");
 1594|      2|	if (valstr != NULL)
  ------------------
  |  Branch (1594:6): [True: 0, False: 2]
  ------------------
 1595|      0|	    val = atoi(valstr);
 1596|      2|	if (val < 0 || val > 4)
  ------------------
  |  Branch (1596:6): [True: 0, False: 2]
  |  Branch (1596:17): [True: 0, False: 2]
  ------------------
 1597|      0|	    jit_strategy = dflt;
 1598|      2|	else
 1599|      2|	    jit_strategy = val;
 1600|       |
 1601|      2|	valstr = getenv("R_MIN_JIT_SCORE");
 1602|      2|	if (valstr != NULL)
  ------------------
  |  Branch (1602:6): [True: 0, False: 2]
  ------------------
 1603|      0|	    MIN_JIT_SCORE = atoi(valstr);
 1604|      2|    }
 1605|       |
 1606|  1.09M|    SEXP body = BODY(fun);
 1607|       |
 1608|  1.09M|    if (R_jit_enabled > 0 && TYPEOF(body) != BCODESXP &&
  ------------------
  |  |  133|  2.17M|#define BCODESXP    21    /* byte code */
  ------------------
  |  Branch (1608:9): [True: 1.08M, False: 7.71k]
  |  Branch (1608:30): [True: 47, False: 1.08M]
  ------------------
 1609|     47|	! R_disable_bytecode && ! NOJIT(fun)) {
  ------------------
  |  Branch (1609:2): [True: 47, False: 0]
  |  Branch (1609:26): [True: 47, False: 0]
  ------------------
 1610|       |
 1611|     47|	if (MAYBEJIT(fun)) {
  ------------------
  |  Branch (1611:6): [True: 15, False: 32]
  ------------------
 1612|       |	    /* function marked as MAYBEJIT the first time now seen
 1613|       |	       twice, so go ahead and compile */
 1614|     15|	    UNSET_MAYBEJIT(fun);
 1615|     15|	    return TRUE;
 1616|     15|	}
 1617|       |
 1618|     32|	if (jit_strategy == STRATEGY_NO_SCORE ||
  ------------------
  |  | 1558|     64|#define STRATEGY_NO_SCORE 3
  ------------------
  |  Branch (1618:6): [True: 0, False: 32]
  ------------------
 1619|     32|	    jit_strategy == STRATEGY_NO_CACHE)
  ------------------
  |  | 1559|     32|#define STRATEGY_NO_CACHE 4
  ------------------
  |  Branch (1619:6): [True: 0, False: 32]
  ------------------
 1620|      0|	    return TRUE;
 1621|       |
 1622|     32|	int score = JIT_score(body);
 1623|     32|	if (jit_strategy == STRATEGY_ALL_SMALL_MAYBE)
  ------------------
  |  | 1557|     32|#define STRATEGY_ALL_SMALL_MAYBE 2
  ------------------
  |  Branch (1623:6): [True: 0, False: 32]
  ------------------
 1624|      0|	    if (score < MIN_JIT_SCORE) { SET_MAYBEJIT(fun); return FALSE; }
  ------------------
  |  Branch (1624:10): [True: 0, False: 0]
  ------------------
 1625|       |
 1626|     32|	if (CLOENV(fun) == R_GlobalEnv) {
  ------------------
  |  Branch (1626:6): [True: 32, False: 0]
  ------------------
 1627|       |	    /* top level functions are only compiled if score is high enough */
 1628|     32|	    if (score < MIN_JIT_SCORE) {
  ------------------
  |  Branch (1628:10): [True: 30, False: 2]
  ------------------
 1629|     30|		if (jit_strategy == STRATEGY_TOP_SMALL_MAYBE)
  ------------------
  |  | 1556|     30|#define STRATEGY_TOP_SMALL_MAYBE 1
  ------------------
  |  Branch (1629:7): [True: 30, False: 0]
  ------------------
 1630|     30|		    SET_MAYBEJIT(fun);
 1631|      0|		else
 1632|      0|		    SET_NOJIT(fun);
 1633|     30|		return FALSE;
 1634|     30|	    }
 1635|      2|	    else return TRUE;
 1636|     32|	}
 1637|      0|	else {
 1638|       |	    /* only compile non-top-level function if score is high
 1639|       |	       enough and seen twice */
 1640|      0|	    if (score < MIN_JIT_SCORE) {
  ------------------
  |  Branch (1640:10): [True: 0, False: 0]
  ------------------
 1641|      0|		SET_NOJIT(fun);
 1642|      0|		return FALSE;
 1643|      0|	    }
 1644|      0|	    else {
 1645|      0|		SET_MAYBEJIT(fun);
 1646|      0|		return FALSE;
 1647|      0|	    }
 1648|      0|	}
 1649|     32|    }
 1650|  1.08M|    return FALSE;
 1651|  1.09M|}
eval.c:JIT_score:
 1533|  1.00k|{
 1534|  1.00k|    if (TYPEOF(e) == LANGSXP) {
  ------------------
  |  |  117|  1.00k|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (1534:9): [True: 486, False: 516]
  ------------------
 1535|    486|	SEXP fun = CAR(e);
 1536|    486|	if (fun == R_IfSymbol) {
  ------------------
  |  Branch (1536:6): [True: 0, False: 486]
  ------------------
 1537|      0|	    int cons = JIT_score(CADR(e));
 1538|      0|	    int alt =  JIT_score(CADDR(e));
 1539|      0|	    return cons > alt ? cons : alt;
  ------------------
  |  |  897|      0|#define cons			Rf_cons
  ------------------
              	    return cons > alt ? cons : alt;
  ------------------
  |  |  897|      0|#define cons			Rf_cons
  ------------------
  |  Branch (1539:13): [True: 0, False: 0]
  ------------------
 1540|      0|	}
 1541|    486|	else if (fun == R_ForSymbol ||
  ------------------
  |  Branch (1541:11): [True: 0, False: 486]
  ------------------
 1542|    486|		 fun == R_WhileSymbol ||
  ------------------
  |  Branch (1542:4): [True: 0, False: 486]
  ------------------
 1543|    486|		 fun == R_RepeatSymbol)
  ------------------
  |  Branch (1543:4): [True: 0, False: 486]
  ------------------
 1544|      0|	    return LOOP_JIT_SCORE;
  ------------------
  |  | 1462|      0|#define LOOP_JIT_SCORE MIN_JIT_SCORE
  ------------------
 1545|    486|	else {
 1546|    486|	    int score = 1;
 1547|  1.45k|	    for (SEXP args = CDR(e); args != R_NilValue; args = CDR(args))
  ------------------
  |  Branch (1547:31): [True: 970, False: 486]
  ------------------
 1548|    970|		score += JIT_score(CAR(args));
 1549|    486|	    return score;
 1550|    486|	}
 1551|    486|    }
 1552|    516|    else return 1;
 1553|  1.00k|}
eval.c:R_cmpfun:
 1879|     17|{
 1880|     17|    R_exprhash_t hash = 0;
 1881|     17|    if (jit_strategy != STRATEGY_NO_CACHE) {
  ------------------
  |  | 1559|     17|#define STRATEGY_NO_CACHE 4
  ------------------
  |  Branch (1881:9): [True: 17, False: 0]
  ------------------
 1882|     17|	hash = hashfun(fun);
 1883|     17|	SEXP entry = get_jit_cache_entry(hash);
 1884|       |
 1885|     17|	if (entry != R_NilValue) {
  ------------------
  |  Branch (1885:6): [True: 0, False: 17]
  ------------------
 1886|      0|	    jit_info.count++;
 1887|      0|	    if (jit_env_match(jit_cache_env(entry), fun)) {
  ------------------
  |  Branch (1887:10): [True: 0, False: 0]
  ------------------
 1888|      0|		jit_info.envcount++;
 1889|      0|		if (jit_expr_match(jit_cache_expr(entry), BODY(fun))) {
  ------------------
  |  Branch (1889:7): [True: 0, False: 0]
  ------------------
 1890|      0|		    jit_info.bdcount++;
 1891|       |		    /* if function body has a srcref, all srcrefs compiled
 1892|       |		       in that function only depend on the body srcref;
 1893|       |		       but, otherwise the srcrefs compiled in are taken
 1894|       |		       from the function (op) */
 1895|      0|		    if (getAttrib(BODY(fun), R_SrcrefSymbol) != R_NilValue ||
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
  |  Branch (1895:11): [True: 0, False: 0]
  ------------------
 1896|      0|			jit_srcref_match(jit_cache_srcref(entry),
  ------------------
  |  Branch (1896:4): [True: 0, False: 0]
  ------------------
 1897|      0|					 getAttrib(fun, R_SrcrefSymbol))) {
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
 1898|      0|			PRINT_JIT_INFO;
  ------------------
  |  | 1658|      0|# define PRINT_JIT_INFO	do { } while(0)
  |  |  ------------------
  |  |  |  Branch (1658:38): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1899|      0|			SET_BODY(fun, jit_cache_code(entry));
 1900|       |			/**** reset the cache here?*/
 1901|      0|			return;
 1902|      0|		    }
 1903|      0|		}
 1904|       |		/* The functions probably differ only in source references
 1905|       |		   (for functions with bodies that have no source references
 1906|       |		   we know for sure, for other functions we speculate).
 1907|       |		   Therefore, we allow re-compilation and re-caching. This
 1908|       |		   situation may be caused e.g. by re-sourcing the same source
 1909|       |		   file or re-pasting the same definitions for a function in
 1910|       |		   interactive R session. Note srcref information includes
 1911|       |		   environments (srcfile), which are now compared by address,
 1912|       |		   so it may be we actually have logically identical source
 1913|       |		   references, anyway. */
 1914|       |		/* FIXME: revisit this when deep comparison of environments
 1915|       |			  (and srcrefs) is available */
 1916|      0|	    } else {
 1917|      0|		SET_NOJIT(fun);
 1918|       |		/**** also mark the cache entry as NOJIT, or as need to see
 1919|       |		      many times? */
 1920|      0|		return;
 1921|      0|	    }
 1922|      0|	}
 1923|     17|	PRINT_JIT_INFO;
  ------------------
  |  | 1658|     17|# define PRINT_JIT_INFO	do { } while(0)
  |  |  ------------------
  |  |  |  Branch (1658:38): [Folded, False: 17]
  |  |  ------------------
  ------------------
 1924|     17|    }
 1925|       |
 1926|     17|    SEXP val = R_cmpfun1(fun);
 1927|       |
 1928|     17|    if (TYPEOF(BODY(val)) != BCODESXP)
  ------------------
  |  |  133|     17|#define BCODESXP    21    /* byte code */
  ------------------
  |  Branch (1928:9): [True: 0, False: 17]
  ------------------
 1929|      0|	SET_NOJIT(fun);
 1930|     17|    else {
 1931|     17|	if (jit_strategy != STRATEGY_NO_CACHE)
  ------------------
  |  | 1559|     17|#define STRATEGY_NO_CACHE 4
  ------------------
  |  Branch (1931:6): [True: 17, False: 0]
  ------------------
 1932|     17|	    set_jit_cache_entry(hash, val); /* val is protected by callee */
 1933|     17|	SET_BODY(fun, BODY(val));
 1934|     17|    }
 1935|     17|}
eval.c:hashfun:
 1416|     17|{
 1417|     17|    R_exprhash_t h = hashexpr(BODY(f));
 1418|     17|    if (getAttrib(BODY(f), R_SrcrefSymbol) == R_NilValue)
  ------------------
  |  |  924|     17|#define getAttrib		Rf_getAttrib
  ------------------
  |  Branch (1418:9): [True: 17, False: 0]
  ------------------
 1419|     17|	h = hashsrcref(getAttrib(f, R_SrcrefSymbol), h);
  ------------------
  |  |  924|     17|#define getAttrib		Rf_getAttrib
  ------------------
 1420|     17|    return h;
 1421|     17|}
eval.c:hashexpr:
 1411|     17|{
 1412|     17|    return hashexpr1(e, 5381);
 1413|     17|}
eval.c:hashexpr1:
 1346|    830|{
 1347|    830|#define SKIP_NONSCALAR 	if (len != 1) break /* non-scalars hashed by address */
 1348|    830|    int len = length(e);
  ------------------
  |  |  987|    830|#define length(x)		Rf_length(x)
  ------------------
 1349|    830|    int type = TYPEOF(e);
 1350|    830|    h = HASH(type, h);
  ------------------
  |  | 1343|    830|#define HASH(x, h) hash((unsigned char *) &x, sizeof(x), h)
  ------------------
 1351|    830|    h = HASH(len, h);
  ------------------
  |  | 1343|    830|#define HASH(x, h) hash((unsigned char *) &x, sizeof(x), h)
  ------------------
 1352|       |
 1353|    830|    switch(type) {
  ------------------
  |  Branch (1353:12): [True: 400, False: 430]
  ------------------
 1354|    271|    case LANGSXP:
  ------------------
  |  |  117|    271|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (1354:5): [True: 271, False: 559]
  ------------------
 1355|    271|    case LISTSXP:
  ------------------
  |  |  113|    271|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (1355:5): [True: 0, False: 830]
  ------------------
 1356|       |	/**** safer to only follow while CDR is LANGSXP/LISTSXP */
 1357|  1.08k|	for (; e != R_NilValue; e = CDR(e))
  ------------------
  |  Branch (1357:9): [True: 813, False: 271]
  ------------------
 1358|    813|	    h = hashexpr1(CAR(e), h);
 1359|    271|	return h;
 1360|     21|    case LGLSXP:
  ------------------
  |  |  121|     21|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (1360:5): [True: 21, False: 809]
  ------------------
 1361|     21|	SKIP_NONSCALAR;
  ------------------
  |  | 1347|     21|#define SKIP_NONSCALAR 	if (len != 1) break /* non-scalars hashed by address */
  |  |  ------------------
  |  |  |  Branch (1347:29): [True: 0, False: 21]
  |  |  ------------------
  ------------------
 1362|     42|	for (int i = 0; i < len; i++) {
  ------------------
  |  Branch (1362:18): [True: 21, False: 21]
  ------------------
 1363|     21|	    int ival = LOGICAL(e)[i];
 1364|     21|	    h = HASH(ival, h);
  ------------------
  |  | 1343|     21|#define HASH(x, h) hash((unsigned char *) &x, sizeof(x), h)
  ------------------
 1365|     21|	}
 1366|     21|	return h;
 1367|     30|    case INTSXP:
  ------------------
  |  |  123|     30|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1367:5): [True: 30, False: 800]
  ------------------
 1368|     30|	SKIP_NONSCALAR;
  ------------------
  |  | 1347|     30|#define SKIP_NONSCALAR 	if (len != 1) break /* non-scalars hashed by address */
  |  |  ------------------
  |  |  |  Branch (1347:29): [True: 0, False: 30]
  |  |  ------------------
  ------------------
 1369|     60|	for (int i = 0; i < len; i++) {
  ------------------
  |  Branch (1369:18): [True: 30, False: 30]
  ------------------
 1370|     30|	    int ival = INTEGER(e)[i];
 1371|     30|	    h = HASH(ival, h);
  ------------------
  |  | 1343|     30|#define HASH(x, h) hash((unsigned char *) &x, sizeof(x), h)
  ------------------
 1372|     30|	}
 1373|     30|	return h;
 1374|     56|    case REALSXP:
  ------------------
  |  |  124|     56|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1374:5): [True: 56, False: 774]
  ------------------
 1375|     56|	SKIP_NONSCALAR;
  ------------------
  |  | 1347|     56|#define SKIP_NONSCALAR 	if (len != 1) break /* non-scalars hashed by address */
  |  |  ------------------
  |  |  |  Branch (1347:29): [True: 0, False: 56]
  |  |  ------------------
  ------------------
 1376|    112|	for (int i = 0; i < len; i++) {
  ------------------
  |  Branch (1376:18): [True: 56, False: 56]
  ------------------
 1377|     56|	    double dval = REAL(e)[i];
 1378|     56|	    h = HASH(dval, h);
  ------------------
  |  | 1343|     56|#define HASH(x, h) hash((unsigned char *) &x, sizeof(x), h)
  ------------------
 1379|     56|	}
 1380|     56|	return h;
 1381|     22|    case STRSXP:
  ------------------
  |  |  126|     22|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1381:5): [True: 22, False: 808]
  ------------------
 1382|     22|	SKIP_NONSCALAR;
  ------------------
  |  | 1347|     22|#define SKIP_NONSCALAR 	if (len != 1) break /* non-scalars hashed by address */
  |  |  ------------------
  |  |  |  Branch (1347:29): [True: 0, False: 22]
  |  |  ------------------
  ------------------
 1383|     44|	for (int i = 0; i < len; i++) {
  ------------------
  |  Branch (1383:18): [True: 22, False: 22]
  ------------------
 1384|     22|	    SEXP cval = STRING_ELT(e, i);
 1385|     22|	    h = hash((unsigned char *) CHAR(cval), LENGTH(cval), h);
  ------------------
  |  |  203|     22|#define CHAR(x) R_CHAR(x)
  ------------------
 1386|     22|	}
 1387|     22|	return h;
 1388|    830|    }
 1389|       |
 1390|    430|    return HASH(e, h);
  ------------------
  |  | 1343|    430|#define HASH(x, h) hash((unsigned char *) &x, sizeof(x), h)
  ------------------
 1391|    830|#undef SKIP_NONSCALAR
 1392|    830|}
eval.c:hash:
 1331|  2.21k|{
 1332|       |    // djb2 from http://www.cse.yorku.ca/~oz/hash.html
 1333|       |    // (modified for n-byte lengths)
 1334|       |
 1335|  2.21k|    int i;
 1336|       |
 1337|  12.9k|    for(i = 0; i < n; i++)
  ------------------
  |  Branch (1337:16): [True: 10.7k, False: 2.21k]
  ------------------
 1338|  10.7k|        hash = ((hash << 5) + hash) + str[i]; /* hash * 33 + c */
 1339|       |
 1340|  2.21k|    return hash;
 1341|  2.21k|}
eval.c:hashsrcref:
 1396|     17|{
 1397|     17|    if (TYPEOF(e) == INTSXP && LENGTH(e) >= 6) {
  ------------------
  |  |  123|     34|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1397:9): [True: 0, False: 17]
  |  Branch (1397:32): [True: 0, False: 0]
  ------------------
 1398|      0|	for(int i = 0; i < 6; i++) {
  ------------------
  |  Branch (1398:17): [True: 0, False: 0]
  ------------------
 1399|      0|	    int ival = INTEGER(e)[i];
 1400|      0|	    h = HASH(ival, h);
  ------------------
  |  | 1343|      0|#define HASH(x, h) hash((unsigned char *) &x, sizeof(x), h)
  ------------------
 1401|      0|	}
 1402|       |	/* FIXME: update this when deep-comparison of srcref is available */
 1403|      0|	SEXP srcfile = getAttrib(e, R_SrcfileSymbol);
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
 1404|      0|	h = HASH(srcfile, h);
  ------------------
  |  | 1343|      0|#define HASH(x, h) hash((unsigned char *) &x, sizeof(x), h)
  ------------------
 1405|      0|    }
 1406|     17|    return h;
 1407|     17|}
eval.c:get_jit_cache_entry:
 1762|     17|{
 1763|     17|    int hashidx = hash % JIT_CACHE_SIZE;
  ------------------
  |  | 1451|     17|#define JIT_CACHE_SIZE 1024
  ------------------
 1764|     17|    if (JIT_cache_hashes[hashidx] == hash) {
  ------------------
  |  Branch (1764:9): [True: 0, False: 17]
  ------------------
 1765|      0|	SEXP entry = VECTOR_ELT(JIT_cache, hashidx);
 1766|      0|	if (TYPEOF(jit_cache_code(entry)) == BCODESXP)
  ------------------
  |  |  133|      0|#define BCODESXP    21    /* byte code */
  ------------------
  |  Branch (1766:6): [True: 0, False: 0]
  ------------------
 1767|      0|	    return entry;
 1768|      0|	else
 1769|       |	    /* function has been de-compiled; clear the cache entry */
 1770|      0|	    SET_VECTOR_ELT(JIT_cache, hashidx, R_NilValue);
 1771|      0|    }
 1772|     17|    return R_NilValue;
 1773|     17|}
eval.c:set_jit_cache_entry:
 1726|     17|{
 1727|     17|    int hashidx = hash % JIT_CACHE_SIZE;
  ------------------
  |  | 1451|     17|#define JIT_CACHE_SIZE 1024
  ------------------
 1728|       |
 1729|     17|    PROTECT(val);
  ------------------
  |  |  357|     17|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1730|     17|    SEXP entry = CONS(BODY(val), make_cached_cmpenv(val));
  ------------------
  |  |  309|     17|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
 1731|     17|    SET_VECTOR_ELT(JIT_cache, hashidx, entry);
 1732|     17|    SET_TAG(entry, getAttrib(val, R_SrcrefSymbol));
  ------------------
  |  |  924|     17|#define getAttrib		Rf_getAttrib
  ------------------
 1733|     17|    UNPROTECT(1); /* val */
  ------------------
  |  |  358|     17|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1734|       |
 1735|     17|    JIT_cache_hashes[hashidx] = hash;
 1736|     17|}
eval.c:make_cached_cmpenv:
 1690|     17|{
 1691|     17|    SEXP frmls = FORMALS(fun);
 1692|     17|    SEXP cmpenv = CLOENV(fun);
 1693|     17|    SEXP top = topenv(R_NilValue, cmpenv);
  ------------------
  |  | 1036|     17|#define topenv		        Rf_topenv
  ------------------
 1694|     17|    if (cmpenv == top && frmls == R_NilValue)
  ------------------
  |  Branch (1694:9): [True: 17, False: 0]
  |  Branch (1694:26): [True: 0, False: 17]
  ------------------
 1695|      0|	return cmpenv;
 1696|     17|    else {
 1697|     17|	SEXP newenv = PROTECT(NewEnvironment(R_NilValue, R_NilValue, top));
  ------------------
  |  |  357|     17|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1698|     34|	for (; frmls != R_NilValue; frmls = CDR(frmls))
  ------------------
  |  Branch (1698:9): [True: 17, False: 17]
  ------------------
 1699|     17|	    defineVar(TAG(frmls), R_NilValue, newenv);
  ------------------
  |  |  905|     17|#define defineVar		Rf_defineVar
  ------------------
 1700|     17|	for (SEXP env = cmpenv; env != top; env = CDR(env)) {
  ------------------
  |  Branch (1700:26): [True: 0, False: 17]
  ------------------
 1701|      0|	    if (IS_STANDARD_UNHASHED_FRAME(env))
  ------------------
  |  | 1665|      0|#define IS_STANDARD_UNHASHED_FRAME(e) (! IS_USER_DATABASE(e) && HASHTAB(e) == R_NilValue)
  |  |  ------------------
  |  |  |  | 1664|      0|#define IS_USER_DATABASE(rho)  (OBJECT((rho)) && inherits((rho), "UserDefinedDatabase"))
  |  |  |  |  ------------------
  |  |  |  |  |  |  933|      0|#define inherits		Rf_inherits
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1664:33): [True: 0, False: 0]
  |  |  |  |  |  Branch (1664:50): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1665:65): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1702|      0|		cmpenv_enter_frame(FRAME(env), newenv);
 1703|      0|	    else if (IS_STANDARD_HASHED_FRAME(env)) {
  ------------------
  |  | 1666|      0|#define IS_STANDARD_HASHED_FRAME(e) (! IS_USER_DATABASE(e) && HASHTAB(e) != R_NilValue)
  |  |  ------------------
  |  |  |  | 1664|      0|#define IS_USER_DATABASE(rho)  (OBJECT((rho)) && inherits((rho), "UserDefinedDatabase"))
  |  |  |  |  ------------------
  |  |  |  |  |  |  933|      0|#define inherits		Rf_inherits
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1664:33): [True: 0, False: 0]
  |  |  |  |  |  Branch (1664:50): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1666:63): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1704|      0|		SEXP h = HASHTAB(env);
 1705|      0|		int n = length(h);
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
 1706|      0|		for (int i = 0; i < n; i++)
  ------------------
  |  Branch (1706:19): [True: 0, False: 0]
  ------------------
 1707|      0|		    cmpenv_enter_frame(VECTOR_ELT(h, i), newenv);
 1708|      0|	    } else {
 1709|      0|		UNPROTECT(1); /* newenv */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1710|      0|		return top;
 1711|      0|	    }
 1712|       |		/* topenv is a safe conservative answer; if a closure
 1713|       |		   defines anything, its environment will not match, and
 1714|       |		   it will never be compiled */
 1715|       |		/* FIXME: would it be safe to simply ignore elements of
 1716|       |		   of these environments? */
 1717|      0|	}
 1718|     17|	UNPROTECT(1); /* newenv */
  ------------------
  |  |  358|     17|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1719|     17|	return newenv;
 1720|     17|    }
 1721|     17|}
eval.c:R_CleanupEnvir:
 2177|  11.7M|{
 2178|  11.7M|    if (val != rho) {
  ------------------
  |  Branch (2178:9): [True: 11.7M, False: 0]
  ------------------
 2179|       |	/* release the bindings and promises in rho if rho is no
 2180|       |	   longer accessible from R */
 2181|  11.7M|	int refs = REFCNT(rho);
 2182|  11.7M|	if (refs > 0)
  ------------------
  |  Branch (2182:6): [True: 4.23M, False: 7.49M]
  ------------------
 2183|  4.23M|	    refs -= countCycleRefs(rho, val);
 2184|  11.7M|	if (refs == 0) {
  ------------------
  |  Branch (2184:6): [True: 7.51M, False: 4.21M]
  ------------------
 2185|  7.51M|	    for (SEXP b = FRAME(rho);
 2186|  29.0M|		 b != R_NilValue && REFCNT(b) == 1;
  ------------------
  |  Branch (2186:4): [True: 22.5M, False: 6.46M]
  |  Branch (2186:23): [True: 21.5M, False: 1.04M]
  ------------------
 2187|  21.5M|		 b = CDR(b)) {
 2188|  21.5M|		if (BNDCELL_TAG(b)) continue;
  ------------------
  |  Branch (2188:7): [True: 4.34k, False: 21.5M]
  ------------------
 2189|  21.5M|		SEXP v = CAR(b);
 2190|  21.5M|		if (REFCNT(v) == 1 && v != val) {
  ------------------
  |  Branch (2190:7): [True: 9.64M, False: 11.8M]
  |  Branch (2190:25): [True: 7.54M, False: 2.10M]
  ------------------
 2191|  7.54M|		    switch(TYPEOF(v)) {
  ------------------
  |  Branch (2191:14): [True: 5.36M, False: 2.17M]
  ------------------
 2192|  1.14M|		    case PROMSXP:
  ------------------
  |  |  116|  1.14M|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (2192:7): [True: 1.14M, False: 6.39M]
  ------------------
 2193|  1.14M|			clearPromise(v);
 2194|  1.14M|			break;
 2195|  2.10M|		    case DOTSXP:
  ------------------
  |  |  127|  2.10M|#define DOTSXP	    17	  /* dot-dot-dot object */
  ------------------
  |  Branch (2195:7): [True: 2.10M, False: 5.43M]
  ------------------
 2196|  2.10M|			cleanupEnvDots(v);
 2197|  2.10M|			break;
 2198|  2.10M|		    case VECSXP: /* mainly for list(...) */
  ------------------
  |  |  131|  2.10M|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (2198:7): [True: 2.10M, False: 5.43M]
  ------------------
 2199|  2.10M|			cleanupEnvVector(v);
 2200|  2.10M|			break;
 2201|  7.54M|		    }
 2202|  7.54M|		}
 2203|  21.5M|		SETCAR(b, R_NilValue);
 2204|  21.5M|	    }
 2205|  7.51M|	    SET_ENCLOS(rho, R_EmptyEnv);
 2206|  7.51M|	}
 2207|  11.7M|    }
 2208|  11.7M|}
eval.c:countCycleRefs:
 2103|  4.23M|{
 2104|       |    /* check for simple cycles */
 2105|  4.23M|    int crefs = 0;
 2106|  4.23M|    for (SEXP b = FRAME(rho);
 2107|  23.3M|	 b != R_NilValue && REFCNT(b) == 1;
  ------------------
  |  Branch (2107:3): [True: 19.0M, False: 4.23M]
  |  Branch (2107:22): [True: 19.0M, False: 68]
  ------------------
 2108|  19.0M|	 b = CDR(b)) {
 2109|  19.0M|	if (BNDCELL_TAG(b)) continue;
  ------------------
  |  Branch (2109:6): [True: 4.30k, False: 19.0M]
  ------------------
 2110|  19.0M|	SEXP v = CAR(b);
 2111|  19.0M|	if (val != v) {
  ------------------
  |  Branch (2111:6): [True: 19.0M, False: 5.25k]
  ------------------
 2112|  19.0M|	    switch(TYPEOF(v)) {
  ------------------
  |  Branch (2112:13): [True: 16.8M, False: 2.17M]
  ------------------
 2113|  10.5M|	    case PROMSXP:
  ------------------
  |  |  116|  10.5M|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (2113:6): [True: 10.5M, False: 8.49M]
  ------------------
 2114|  10.5M|		if (REFCNT(v) == 1 && PRENV(v) == rho)
  ------------------
  |  Branch (2114:7): [True: 4.24M, False: 6.32M]
  |  Branch (2114:25): [True: 23.4k, False: 4.22M]
  ------------------
 2115|  23.4k|		    crefs++;
 2116|  10.5M|		break;
 2117|  6.31M|	    case CLOSXP:
  ------------------
  |  |  114|  6.31M|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (2117:6): [True: 6.31M, False: 12.7M]
  ------------------
 2118|  6.31M|		if (REFCNT(v) == 1 && CLOENV(v) == rho)
  ------------------
  |  Branch (2118:7): [True: 4.21M, False: 2.10M]
  |  Branch (2118:25): [True: 4.21M, False: 161]
  ------------------
 2119|  4.21M|		    crefs++;
 2120|  6.31M|		break;
 2121|  8.28k|	    case ENVSXP: /* is this worth bothering with? */
  ------------------
  |  |  115|  8.28k|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (2121:6): [True: 8.28k, False: 19.0M]
  ------------------
 2122|  8.28k|		if (v == rho)
  ------------------
  |  Branch (2122:7): [True: 2, False: 8.27k]
  ------------------
 2123|      2|		    crefs++;
 2124|  8.28k|		break;
 2125|  19.0M|	    }
 2126|  19.0M|	}
 2127|  19.0M|    }
 2128|  4.23M|    return crefs;
 2129|  4.23M|}
eval.c:clearPromise:
 2132|  12.9M|{
 2133|  12.9M|#ifdef IMMEDIATE_PROMISE_VALUES
 2134|       |    /* If PROMISE_TAG(p) is not zero then the promise is evaluated and
 2135|       |       the environment is already R_NilValue. Setting the value is not
 2136|       |       necessary, and clearing the code is probably not worth it. */
 2137|  12.9M|    if (PROMISE_TAG(p))	return;
  ------------------
  |  Branch (2137:9): [True: 1.23k, False: 12.9M]
  ------------------
 2138|  12.9M|#endif
 2139|  12.9M|    SET_PRVALUE(p, R_UnboundValue);
 2140|  12.9M|    SET_PRENV(p, R_NilValue);
 2141|  12.9M|    SET_PRCODE(p, R_NilValue); /* for calls with literal values */
 2142|  12.9M|}
eval.c:cleanupEnvDots:
 2145|  2.10M|{
 2146|  4.22M|    for (; d != R_NilValue && REFCNT(d) == 1; d = CDR(d)) {
  ------------------
  |  Branch (2146:12): [True: 2.11M, False: 2.10M]
  |  Branch (2146:31): [True: 2.11M, False: 0]
  ------------------
 2147|  2.11M|	SEXP v = CAR(d);
 2148|  2.11M|	if (REFCNT(v) == 1 && TYPEOF(v) == PROMSXP)
  ------------------
  |  |  116|      0|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (2148:6): [True: 0, False: 2.11M]
  |  Branch (2148:24): [True: 0, False: 0]
  ------------------
 2149|      0|	    clearPromise(v);
 2150|  2.11M|	SETCAR(d, R_NilValue);
 2151|  2.11M|    }
 2152|  2.10M|}
eval.c:cleanupEnvVector:
 2155|  2.10M|{
 2156|       |    /* This is mainly for handling results of list(...) stored as a
 2157|       |       local variable. It would be cheaper to just use
 2158|       |       DECREMENT_REFCNT. It might also make sense to max out at len =
 2159|       |       10 or so, and to avoid ALTREP objects. */
 2160|       |
 2161|       |    /* FIXME: Disabled for now since a BUILTIN that saves its (NR)
 2162|       |       list can cause problems. .External.graphics does this for
 2163|       |       recording. Probably the best option is to not have the args go
 2164|       |       down as NR. Most of these are fixed now, but this stilll seems
 2165|       |       to wake things up, so hold off for now. */
 2166|  2.10M|    return;
 2167|       |
 2168|       |    // avoid ODS compiler warning.
 2169|       | #ifdef FALSE
 2170|       |    R_xlen_t len = XLENGTH(v);
 2171|       |    for (R_xlen_t i = 0; i < len; i++)
 2172|       |	SET_VECTOR_ELT(v, i, R_NilValue);
 2173|       |#endif
 2174|  2.10M|}
eval.c:is_exec_continuation:
 2231|  9.60M|{
 2232|  9.60M|    return (TYPEOF(val) == VECSXP && XLENGTH(val) == 4 &&
  ------------------
  |  |  131|  19.2M|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (2232:13): [True: 5.26M, False: 4.34M]
  |  Branch (2232:38): [True: 6.11k, False: 5.25M]
  ------------------
 2233|  6.11k|	    VECTOR_ELT(val, 0) == R_exec_token);
  ------------------
  |  Branch (2233:6): [True: 0, False: 6.11k]
  ------------------
 2234|  9.60M|}
eval.c:asLogicalNoNA:
 2698|  2.11M|{
 2699|  2.11M|    int cond = NA_LOGICAL; // cannot be Rboolean
  ------------------
  |  |   55|  2.11M|#define NA_LOGICAL	R_NaInt
  ------------------
 2700|       |
 2701|       |    /* handle most common special case directly */
 2702|  2.11M|    if (IS_SCALAR(s, LGLSXP)) {
  ------------------
  |  |  121|  2.11M|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (2702:9): [True: 1.40k, False: 2.10M]
  ------------------
 2703|  1.40k|	cond = SCALAR_LVAL(s);
 2704|  1.40k|	if (cond != NA_LOGICAL)
  ------------------
  |  |   55|  1.40k|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (2704:6): [True: 1.21k, False: 190]
  ------------------
 2705|  1.21k|	    return (Rboolean) cond;
 2706|  1.40k|    }
 2707|  2.10M|    else if (IS_SCALAR(s, INTSXP)) {
  ------------------
  |  |  123|  2.10M|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (2707:14): [True: 2.10M, False: 0]
  ------------------
 2708|  2.10M|	int val = SCALAR_IVAL(s);
 2709|  2.10M|	if (val != NA_INTEGER)
  ------------------
  |  |   56|  2.10M|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (2709:6): [True: 2.10M, False: 0]
  ------------------
 2710|  2.10M|	    return val != 0;
 2711|  2.10M|    }
 2712|       |
 2713|    190|    int len = length(s);
  ------------------
  |  |  987|    190|#define length(x)		Rf_length(x)
  ------------------
 2714|    190|    if (len > 1)
  ------------------
  |  Branch (2714:9): [True: 0, False: 190]
  ------------------
 2715|      0|	errorcall(call, _("the condition has length > 1"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("the condition has length > 1"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2716|    190|    if (len > 0) {
  ------------------
  |  Branch (2716:9): [True: 190, False: 0]
  ------------------
 2717|       |	/* inline common cases for efficiency */
 2718|    190|	switch(TYPEOF(s)) {
 2719|    190|	case LGLSXP:
  ------------------
  |  |  121|    190|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (2719:2): [True: 190, False: 0]
  ------------------
 2720|    190|	    cond = LOGICAL(s)[0];
 2721|    190|	    break;
 2722|      0|	case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (2722:2): [True: 0, False: 190]
  ------------------
 2723|      0|	    cond = INTEGER(s)[0]; /* relies on NA_INTEGER == NA_LOGICAL */
 2724|      0|	    break;
 2725|      0|	default:
  ------------------
  |  Branch (2725:2): [True: 0, False: 190]
  ------------------
 2726|      0|	    cond = asLogical(s);
  ------------------
  |  |  886|      0|#define asLogical		Rf_asLogical
  ------------------
 2727|    190|	}
 2728|    190|    }
 2729|       |
 2730|    190|    if (cond == NA_LOGICAL) {
  ------------------
  |  |   55|    190|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (2730:9): [True: 190, False: 0]
  ------------------
 2731|    190|	char *msg = len ? (isLogical(s) ?
  ------------------
  |  |  952|    190|#define isLogical		Rf_isLogical
  ------------------
  |  Branch (2731:14): [True: 190, False: 0]
  |  Branch (2731:21): [True: 190, False: 0]
  ------------------
 2732|    190|			   _("missing value where TRUE/FALSE needed") :
  ------------------
  |  | 2536|    190|#   define _(String) gettext (String)
  ------------------
 2733|    190|			   _("argument is not interpretable as logical")) :
  ------------------
  |  | 2536|    190|#   define _(String) gettext (String)
  ------------------
 2734|    190|	    _("argument is of length zero");
  ------------------
  |  | 2536|    190|#   define _(String) gettext (String)
  ------------------
 2735|    190|	errorcall(call, "%s", msg);
  ------------------
  |  |  912|    190|#define errorcall		Rf_errorcall
  ------------------
 2736|    190|    }
 2737|    190|    return (Rboolean) cond;
 2738|    190|}
eval.c:GET_BINDING_CELL:
 2787|  43.7M|{
 2788|  43.7M|    if (rho == R_BaseEnv || rho == R_BaseNamespace || IS_USER_DATABASE(rho))
  ------------------
  |  | 2784|  43.7M|    (OBJECT((rho)) && inherits((rho), "UserDefinedDatabase"))
  |  |  ------------------
  |  |  |  |  933|      0|#define inherits		Rf_inherits
  |  |  ------------------
  |  |  |  Branch (2784:6): [True: 0, False: 43.7M]
  |  |  |  Branch (2784:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2788:9): [True: 0, False: 43.7M]
  |  Branch (2788:29): [True: 0, False: 43.7M]
  ------------------
 2789|      0|	return R_NilValue;
 2790|  43.7M|    else {
 2791|  43.7M|	R_varloc_t loc = R_findVarLocInFrame(rho, symbol);
 2792|  43.7M|	return (! R_VARLOC_IS_NULL(loc) && ! IS_ACTIVE_BINDING(loc.cell)) ?
  ------------------
  |  | 2058|  87.4M|#define R_VARLOC_IS_NULL(loc) ((loc).cell == NULL)
  ------------------
  |  Branch (2792:10): [True: 43.5M, False: 138k]
  |  Branch (2792:37): [True: 43.5M, False: 0]
  ------------------
 2793|  43.5M|	    loc.cell : R_NilValue;
 2794|  43.7M|    }
 2795|  43.7M|}
eval.c:SET_BINDING_VALUE:
 2797|  29.5M|static R_INLINE Rboolean SET_BINDING_VALUE(SEXP loc, SEXP value) {
 2798|       |    /* This depends on the current implementation of bindings */
 2799|  29.5M|    if (loc != R_NilValue &&
  ------------------
  |  Branch (2799:9): [True: 5.28M, False: 24.2M]
  ------------------
 2800|  5.28M|	! BINDING_IS_LOCKED(loc) && ! IS_ACTIVE_BINDING(loc)) {
  ------------------
  |  Branch (2800:2): [True: 5.28M, False: 0]
  |  Branch (2800:30): [True: 5.28M, False: 0]
  ------------------
 2801|  5.28M|	if (BNDCELL_TAG(loc) || CAR(loc) != value) {
  ------------------
  |  Branch (2801:6): [True: 0, False: 5.28M]
  |  Branch (2801:26): [True: 2.12M, False: 3.16M]
  ------------------
 2802|  2.12M|	    SET_BNDCELL(loc, value);
 2803|  2.12M|	    if (MISSING(loc))
  ------------------
  |  Branch (2803:10): [True: 3.14k, False: 2.12M]
  ------------------
 2804|  3.14k|		SET_MISSING(loc, 0);
 2805|  2.12M|	}
 2806|  5.28M|	return TRUE;
 2807|  5.28M|    }
 2808|  24.2M|    else
 2809|  24.2M|	return FALSE;
 2810|  29.5M|}
eval.c:getBlockSrcrefs:
 2027|    971|{
 2028|    971|    SEXP srcrefs = getAttrib(call, R_SrcrefSymbol);
  ------------------
  |  |  924|    971|#define getAttrib		Rf_getAttrib
  ------------------
 2029|    971|    if (TYPEOF(srcrefs) == VECSXP) return srcrefs;
  ------------------
  |  |  131|    971|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (2029:9): [True: 0, False: 971]
  ------------------
 2030|    971|    return R_NilValue;
 2031|    971|}
eval.c:getSrcref:
 2037|  3.06k|{
 2038|  3.06k|    SEXP result;
 2039|  3.06k|    if (!isNull(srcrefs)
  ------------------
  |  |  956|  3.06k|#define isNull			Rf_isNull
  ------------------
  |  Branch (2039:9): [True: 0, False: 3.06k]
  ------------------
 2040|      0|	&& length(srcrefs) > ind
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (2040:5): [True: 0, False: 0]
  ------------------
 2041|      0|	&& !isNull(result = VECTOR_ELT(srcrefs, ind))
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
  |  Branch (2041:5): [True: 0, False: 0]
  ------------------
 2042|      0|	&& TYPEOF(result) == INTSXP
  ------------------
  |  |  123|  3.06k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (2042:5): [True: 0, False: 0]
  ------------------
 2043|      0|	&& length(result) >= 6)
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (2043:5): [True: 0, False: 0]
  ------------------
 2044|      0|	return result;
 2045|  3.06k|    else
 2046|  3.06k|	return R_NilValue;
 2047|  3.06k|}
eval.c:applydefine:
 3424|     50|{
 3425|     50|    SEXP expr, lhs, rhs, saverhs, tmp, afun, rhsprom;
 3426|     50|    R_varloc_t tmploc;
 3427|     50|    RCNTXT cntxt;
 3428|     50|    int nprot;
 3429|       |
 3430|     50|    expr = CAR(args);
 3431|       |
 3432|       |    /*  It's important that the rhs get evaluated first because
 3433|       |	assignment is right associative i.e.  a <- b <- c is parsed as
 3434|       |	a <- (b <- c).  */
 3435|       |
 3436|     50|    R_bcstack_t *old_bcprot_top = R_BCProtTop;
 3437|     50|    INCREMENT_BCSTACK_LINKS();
  ------------------
  |  | 1057|     50|#define INCREMENT_BCSTACK_LINKS() do {			\
  |  | 1058|     50|	if (R_BCNodeStackTop > R_BCProtTop)		\
  |  |  ------------------
  |  |  |  Branch (1058:6): [True: 4, False: 46]
  |  |  ------------------
  |  | 1059|     50|	    INCLNK_stack(R_BCNodeStackTop);		\
  |  | 1060|     50|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1060:14): [Folded, False: 50]
  |  |  ------------------
  ------------------
 3438|     50|    INCLNK_stack_commit();
 3439|       |
 3440|     50|    PROTECT(saverhs = rhs = eval(CADR(args), rho));
  ------------------
  |  |  357|     50|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3441|     50|#ifdef SWITCH_TO_REFCNT
 3442|     50|    int refrhs = MAYBE_REFERENCED(saverhs);
  ------------------
  |  |  251|     50|#define MAYBE_REFERENCED(x) (! NO_REFERENCES(x))
  ------------------
 3443|     50|    if (refrhs) INCREMENT_REFCNT(saverhs);
  ------------------
  |  Branch (3443:9): [True: 50, False: 0]
  ------------------
 3444|     50|#endif
 3445|       |
 3446|       |    /*  FIXME: We need to ensure that this works for hashed
 3447|       |	environments.  This code only works for unhashed ones.  the
 3448|       |	syntax error here is a deliberate marker so I don't forget that
 3449|       |	this needs to be done.  The code used in "missing" will help
 3450|       |	here.  */
 3451|       |
 3452|       |    /*  FIXME: This strategy will not work when we are working in the
 3453|       |	data frame defined by the system hash table.  The structure there
 3454|       |	is different.  Should we special case here?  */
 3455|       |
 3456|       |    /*  We need a temporary variable to hold the intermediate values
 3457|       |	in the computation.  For efficiency reasons we record the
 3458|       |	location where this variable is stored.  We need to protect
 3459|       |	the location in case the biding is removed from its
 3460|       |	environment by user code or an assignment within the
 3461|       |	assignment arguments */
 3462|       |
 3463|       |    /*  There are two issues with the approach here:
 3464|       |
 3465|       |	    A complex assignment within a complex assignment, like
 3466|       |	    f(x, y[] <- 1) <- 3, can cause the value temporary
 3467|       |	    variable for the outer assignment to be overwritten and
 3468|       |	    then removed by the inner one.  This could be addressed by
 3469|       |	    using multiple temporaries or using a promise for this
 3470|       |	    variable as is done for the RHS.  Printing of the
 3471|       |	    replacement function call in error messages might then need
 3472|       |	    to be adjusted.
 3473|       |
 3474|       |	    With assignments of the form f(g(x, z), y) <- w the value
 3475|       |	    of 'z' will be computed twice, once for a call to g(x, z)
 3476|       |	    and once for the call to the replacement function g<-.  It
 3477|       |	    might be possible to address this by using promises.
 3478|       |	    Using more temporaries would not work as it would mess up
 3479|       |	    replacement functions that use substitute and/or
 3480|       |	    nonstandard evaluation (and there are packages that do
 3481|       |	    that -- igraph is one).
 3482|       |
 3483|       |	    LT */
 3484|       |
 3485|     50|    FIXUP_RHS_NAMED(rhs);
  ------------------
  |  | 3348|     50|#define FIXUP_RHS_NAMED(r) do { \
  |  | 3349|     50|	SEXP __rhs__ = (r); \
  |  | 3350|     50|	if (NAMED(__rhs__)) \
  |  |  ------------------
  |  |  |  Branch (3350:6): [True: 50, False: 0]
  |  |  ------------------
  |  | 3351|     50|	    ENSURE_NAMEDMAX(__rhs__); \
  |  | 3352|     50|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3352:14): [Folded, False: 50]
  |  |  ------------------
  ------------------
 3486|       |
 3487|     50|    if (rho == R_BaseNamespace)
  ------------------
  |  Branch (3487:9): [True: 0, False: 50]
  ------------------
 3488|      0|	errorcall(call, _("cannot do complex assignments in base namespace"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("cannot do complex assignments in base namespace"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3489|     50|    if (rho == R_BaseEnv)
  ------------------
  |  Branch (3489:9): [True: 0, False: 50]
  ------------------
 3490|      0|	errorcall(call, _("cannot do complex assignments in base environment"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("cannot do complex assignments in base environment"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3491|       |
 3492|     50|    tmploc = R_findVarLocInFrame(rho, R_TmpvalSymbol);
 3493|     50|    SEXP oldTmpval = NULL;
 3494|     50|    if (tmploc.cell == NULL) {
  ------------------
  |  Branch (3494:9): [True: 50, False: 0]
  ------------------
 3495|     50|	defineVar(R_TmpvalSymbol, R_NilValue, rho);
  ------------------
  |  |  905|     50|#define defineVar		Rf_defineVar
  ------------------
 3496|     50|	tmploc = R_findVarLocInFrame(rho, R_TmpvalSymbol);
 3497|     50|	DISABLE_REFCNT(tmploc.cell);
 3498|     50|	DECREMENT_REFCNT(CDR(tmploc.cell));
 3499|     50|    }
 3500|      0|    else {
 3501|      0|	oldTmpval = R_GetVarLocValue(tmploc);
 3502|      0|	if (BINDING_IS_LOCKED(tmploc.cell))
  ------------------
  |  Branch (3502:6): [True: 0, False: 0]
  ------------------
 3503|      0|	    error(_("existing `*tmp*` binding is locked"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("existing `*tmp*` binding is locked"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3504|      0|	if (IS_ACTIVE_BINDING(tmploc.cell))
  ------------------
  |  Branch (3504:6): [True: 0, False: 0]
  ------------------
 3505|      0|	    error(_("existing `*tmp*` binding is an active binding"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("existing `*tmp*` binding is an active binding"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3506|      0|	PROTECT(oldTmpval);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3507|      0|    }
 3508|     50|    PROTECT(tmploc.cell);
  ------------------
  |  |  357|     50|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3509|       |
 3510|       |    /* Now set up a context to remove it when we are done, even in the
 3511|       |     * case of an error.  This all helps error() provide a better call.
 3512|       |     */
 3513|     50|    begincontext(&cntxt, CTXT_CCODE, call, R_BaseEnv, R_BaseEnv,
  ------------------
  |  | 1869|     50|# define begincontext		Rf_begincontext
  ------------------
 3514|     50|		 R_NilValue, R_NilValue);
 3515|     50|    cntxt.cend = &tmp_cleanup;
 3516|     50|    cntxt.cenddata = rho;
 3517|       |
 3518|       |    /*  Do a partial evaluation down through the LHS. */
 3519|     50|    R_varloc_t lhsloc;
 3520|     50|    lhs = evalseq(CADR(expr), rho,
 3521|     50|		  PRIMVAL(op)==1 || PRIMVAL(op)==3, tmploc, &lhsloc);
  ------------------
  |  | 1347|     50|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
              		  PRIMVAL(op)==1 || PRIMVAL(op)==3, tmploc, &lhsloc);
  ------------------
  |  | 1347|      0|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (3521:5): [True: 50, False: 0]
  |  Branch (3521:23): [True: 0, False: 0]
  ------------------
 3522|     50|    if (lhsloc.cell == NULL)
  ------------------
  |  Branch (3522:9): [True: 0, False: 50]
  ------------------
 3523|      0|	lhsloc.cell = R_NilValue;
 3524|     50|    PROTECT(lhsloc.cell);
  ------------------
  |  |  357|     50|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3525|       |
 3526|     50|    PROTECT(lhs);
  ------------------
  |  |  357|     50|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3527|     50|    PROTECT(rhsprom = mkRHSPROMISE(CADR(args), rhs));
  ------------------
  |  |  357|     50|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3528|       |
 3529|     50|    while (isLanguage(CADR(expr))) {
  ------------------
  |  |  950|     50|#define isLanguage		Rf_isLanguage
  ------------------
  |  Branch (3529:12): [True: 0, False: 50]
  ------------------
 3530|      0|	nprot = 1; /* the PROTECT of rhs below from this iteration */
 3531|      0|	if (TYPEOF(CAR(expr)) == SYMSXP)
  ------------------
  |  |  112|      0|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (3531:6): [True: 0, False: 0]
  ------------------
 3532|      0|	    tmp = getAssignFcnSymbol(CAR(expr));
 3533|      0|	else {
 3534|       |	    /* check for and handle assignments of the form
 3535|       |	       foo::bar(x) <- y or foo:::bar(x) <- y */
 3536|      0|	    tmp = R_NilValue; /* avoid uninitialized variable warnings */
 3537|      0|	    if (TYPEOF(CAR(expr)) == LANGSXP &&
  ------------------
  |  |  117|      0|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (3537:10): [True: 0, False: 0]
  ------------------
 3538|      0|		(CAR(CAR(expr)) == R_DoubleColonSymbol ||
  ------------------
  |  Branch (3538:4): [True: 0, False: 0]
  ------------------
 3539|      0|		 CAR(CAR(expr)) == R_TripleColonSymbol) &&
  ------------------
  |  Branch (3539:4): [True: 0, False: 0]
  ------------------
 3540|      0|		length(CAR(expr)) == 3 && TYPEOF(CADDR(CAR(expr))) == SYMSXP) {
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
              		length(CAR(expr)) == 3 && TYPEOF(CADDR(CAR(expr))) == SYMSXP) {
  ------------------
  |  |  112|      0|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (3540:3): [True: 0, False: 0]
  |  Branch (3540:29): [True: 0, False: 0]
  ------------------
 3541|      0|		tmp = getAssignFcnSymbol(CADDR(CAR(expr)));
 3542|      0|		PROTECT(tmp = lang3(CAAR(expr), CADR(CAR(expr)), tmp));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3543|      0|		nprot++;
 3544|      0|	    }
 3545|      0|	    else
 3546|      0|		error(_("invalid function in complex assignment"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("invalid function in complex assignment"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3547|      0|	}
 3548|      0|	SET_TEMPVARLOC_FROM_CAR(tmploc, lhs);
  ------------------
  |  | 3333|      0|#define SET_TEMPVARLOC_FROM_CAR(loc, lhs) do { \
  |  | 3334|      0|	SEXP __lhs__ = (lhs); \
  |  | 3335|      0|	SEXP __v__ = CAR(__lhs__); \
  |  | 3336|      0|	if (MAYBE_SHARED(__v__)) { \
  |  |  ------------------
  |  |  |  Branch (3336:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 3337|      0|	    __v__ = shallow_duplicate(__v__); \
  |  |  ------------------
  |  |  |  | 1030|      0|#define shallow_duplicate	Rf_shallow_duplicate
  |  |  ------------------
  |  | 3338|      0|	    ENSURE_NAMED(__v__); \
  |  | 3339|      0|	    SETCAR(__lhs__, __v__); \
  |  | 3340|      0|	} \
  |  | 3341|      0|	R_SetVarLocValue(loc, __v__); \
  |  | 3342|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (3342:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3549|      0|	PROTECT(rhs = replaceCall(tmp, R_TmpvalSymbol, CDDR(expr), rhsprom));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3550|      0|	rhs = eval(rhs, rho);
  ------------------
  |  |  913|      0|#define eval			Rf_eval
  ------------------
 3551|      0|	SET_PRVALUE(rhsprom, rhs);
 3552|      0|	SET_PRCODE(rhsprom, rhs); /* not good but is what we have been doing */
 3553|      0|	UNPROTECT(nprot);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 3554|      0|	lhs = CDR(lhs);
 3555|      0|	expr = CADR(expr);
 3556|      0|    }
 3557|     50|    nprot = 6; /* the commont case */
 3558|     50|    if (oldTmpval != NULL) nprot++;
  ------------------
  |  Branch (3558:9): [True: 0, False: 50]
  ------------------
 3559|       |
 3560|     50|    if (TYPEOF(CAR(expr)) == SYMSXP)
  ------------------
  |  |  112|     50|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (3560:9): [True: 50, False: 0]
  ------------------
 3561|     50|	afun = getAssignFcnSymbol(CAR(expr));
 3562|      0|    else {
 3563|       |	/* check for and handle assignments of the form
 3564|       |	   foo::bar(x) <- y or foo:::bar(x) <- y */
 3565|      0|	afun = R_NilValue; /* avoid uninitialized variable warnings */
 3566|      0|	if (TYPEOF(CAR(expr)) == LANGSXP &&
  ------------------
  |  |  117|      0|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (3566:6): [True: 0, False: 0]
  ------------------
 3567|      0|	    (CAR(CAR(expr)) == R_DoubleColonSymbol ||
  ------------------
  |  Branch (3567:7): [True: 0, False: 0]
  ------------------
 3568|      0|	     CAR(CAR(expr)) == R_TripleColonSymbol) &&
  ------------------
  |  Branch (3568:7): [True: 0, False: 0]
  ------------------
 3569|      0|	    length(CAR(expr)) == 3 && TYPEOF(CADDR(CAR(expr))) == SYMSXP) {
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
              	    length(CAR(expr)) == 3 && TYPEOF(CADDR(CAR(expr))) == SYMSXP) {
  ------------------
  |  |  112|      0|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (3569:6): [True: 0, False: 0]
  |  Branch (3569:32): [True: 0, False: 0]
  ------------------
 3570|      0|	    afun = getAssignFcnSymbol(CADDR(CAR(expr)));
 3571|      0|	    PROTECT(afun = lang3(CAAR(expr), CADR(CAR(expr)), afun));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3572|      0|	    nprot++;
 3573|      0|	}
 3574|      0|	else
 3575|      0|	    error(_("invalid function in complex assignment"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("invalid function in complex assignment"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3576|      0|    }
 3577|     50|    SET_TEMPVARLOC_FROM_CAR(tmploc, lhs);
  ------------------
  |  | 3333|     50|#define SET_TEMPVARLOC_FROM_CAR(loc, lhs) do { \
  |  | 3334|     50|	SEXP __lhs__ = (lhs); \
  |  | 3335|     50|	SEXP __v__ = CAR(__lhs__); \
  |  | 3336|     50|	if (MAYBE_SHARED(__v__)) { \
  |  |  ------------------
  |  |  |  Branch (3336:6): [True: 32, False: 18]
  |  |  ------------------
  |  | 3337|     32|	    __v__ = shallow_duplicate(__v__); \
  |  |  ------------------
  |  |  |  | 1030|     32|#define shallow_duplicate	Rf_shallow_duplicate
  |  |  ------------------
  |  | 3338|     32|	    ENSURE_NAMED(__v__); \
  |  | 3339|     32|	    SETCAR(__lhs__, __v__); \
  |  | 3340|     32|	} \
  |  | 3341|     50|	R_SetVarLocValue(loc, __v__); \
  |  | 3342|     50|    } while(0)
  |  |  ------------------
  |  |  |  Branch (3342:13): [Folded, False: 50]
  |  |  ------------------
  ------------------
 3578|     50|    SEXP lhsSym = CDR(lhs);
 3579|       |
 3580|     50|    PROTECT(expr = replaceCall(afun, R_TmpvalSymbol, CDDR(expr), rhsprom));
  ------------------
  |  |  357|     50|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3581|     50|    SEXP value = eval(expr, rho);
  ------------------
  |  |  913|     50|#define eval			Rf_eval
  ------------------
 3582|       |
 3583|     50|    SET_ASSIGNMENT_PENDING(lhsloc.cell, FALSE);
 3584|     50|    if (PRIMVAL(op) == 2)                       /* <<- */
  ------------------
  |  | 1347|     50|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (3584:9): [True: 0, False: 50]
  ------------------
 3585|      0|	setVar(lhsSym, value, ENCLOS(rho));
  ------------------
  |  | 1029|      0|#define setVar			Rf_setVar
  ------------------
 3586|     50|    else {                                      /* <-, = */
 3587|     50|	if (ALTREP(value)) {
  ------------------
  |  Branch (3587:6): [True: 0, False: 50]
  ------------------
 3588|      0|	    PROTECT(value);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3589|      0|	    value = try_assign_unwrap(value, lhsSym, rho, NULL);
 3590|      0|	    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 3591|      0|	}
 3592|     50|	defineVar(lhsSym, value, rho);
  ------------------
  |  |  905|     50|#define defineVar		Rf_defineVar
  ------------------
 3593|     50|    }
 3594|     50|    INCREMENT_NAMED(value);
  ------------------
  |  |  222|     50|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  ------------------
  |  |  |  Branch (222:43): [Folded, False: 50]
  |  |  ------------------
  ------------------
 3595|     50|    R_Visible = FALSE;
 3596|       |
 3597|     50|    endcontext(&cntxt); /* which does not run the remove */
  ------------------
  |  | 1900|     50|# define endcontext		Rf_endcontext
  ------------------
 3598|     50|    if (oldTmpval == NULL)
  ------------------
  |  Branch (3598:9): [True: 50, False: 0]
  ------------------
 3599|     50|	unbindVar(R_TmpvalSymbol, rho);
  ------------------
  |  | 2009|     50|# define unbindVar		Rf_unbindVar
  ------------------
 3600|      0|    else
 3601|      0|	R_SetVarLocValue(tmploc, oldTmpval);
 3602|     50|    UNPROTECT(nprot);
  ------------------
  |  |  358|     50|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 3603|       |#ifdef OLD_RHS_NAMED
 3604|       |    /* we do not duplicate the value, so to be conservative mark the
 3605|       |       value as NAMED = NAMEDMAX */
 3606|       |    ENSURE_NAMEDMAX(saverhs);
 3607|       |#else
 3608|     50|    INCREMENT_NAMED(saverhs);
  ------------------
  |  |  222|     50|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  ------------------
  |  |  |  Branch (222:43): [Folded, False: 50]
  |  |  ------------------
  ------------------
 3609|     50|#endif
 3610|     50|#ifdef SWITCH_TO_REFCNT
 3611|     50|    if (refrhs) DECREMENT_REFCNT(saverhs);
  ------------------
  |  Branch (3611:9): [True: 50, False: 0]
  ------------------
 3612|     50|#endif
 3613|       |
 3614|     50|    DECREMENT_BCSTACK_LINKS(old_bcprot_top);
  ------------------
  |  | 1062|     50|#define DECREMENT_BCSTACK_LINKS(oldptop) do {		\
  |  | 1063|     50|	if (R_BCProtTop > (oldptop))			\
  |  |  ------------------
  |  |  |  Branch (1063:6): [True: 4, False: 46]
  |  |  ------------------
  |  | 1064|     50|	    DECLNK_stack(oldptop);			\
  |  | 1065|     50|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1065:14): [Folded, False: 50]
  |  |  ------------------
  ------------------
 3615|       |
 3616|     50|    return saverhs;
 3617|     50|}
eval.c:INCLNK_stack:
 1018|  25.5M|{
 1019|  25.5M|    R_BCProtTop = top;
 1020|  25.5M|}
eval.c:INCLNK_stack_commit:
 1023|  5.25M|{
 1024|  5.25M|    if (R_BCProtCommitted < R_BCProtTop) {
  ------------------
  |  Branch (1024:9): [True: 4.20M, False: 1.05M]
  ------------------
 1025|  4.20M|	R_bcstack_t *base = R_BCProtCommitted;
 1026|  4.20M|	R_bcstack_t *top = R_BCProtTop;
 1027|   155M|	for (R_bcstack_t *p = base; p < top; p++) {
  ------------------
  |  Branch (1027:30): [True: 151M, False: 4.20M]
  ------------------
 1028|   151M|	    if (p->tag == RAWMEM_TAG || p->tag == CACHESZ_TAG)
  ------------------
  |  | 1401|   302M|# define RAWMEM_TAG 254
  ------------------
              	    if (p->tag == RAWMEM_TAG || p->tag == CACHESZ_TAG)
  ------------------
  |  | 1402|   113M|# define CACHESZ_TAG 253
  ------------------
  |  Branch (1028:10): [True: 37.7M, False: 113M]
  |  Branch (1028:34): [True: 29.3M, False: 84.2M]
  ------------------
 1029|  67.0M|		p += p->u.ival;
 1030|  84.2M|	    else if (p->tag == 0)
  ------------------
  |  Branch (1030:15): [True: 77.9M, False: 6.29M]
  ------------------
 1031|  77.9M|		INCREMENT_LINKS(p->u.sxpval);
  ------------------
  |  |  540|  77.9M|#define INCREMENT_LINKS(x) do {			\
  |  |  541|  77.9M|	SEXP il__x__ = (x);			\
  |  |  542|  77.9M|	INCREMENT_NAMED(il__x__);		\
  |  |  ------------------
  |  |  |  |  222|  77.9M|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:43): [Folded, False: 77.9M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  543|  77.9M|	INCREMENT_REFCNT(il__x__);		\
  |  |  544|  77.9M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (544:14): [Folded, False: 77.9M]
  |  |  ------------------
  ------------------
 1032|   151M|	}
 1033|  4.20M|	R_BCProtCommitted = R_BCProtTop;
 1034|  4.20M|    }
 1035|  5.25M|}
eval.c:evalseq:
 3227|     50|{
 3228|     50|    SEXP val, nval, nexpr;
 3229|     50|    if (isNull(expr))
  ------------------
  |  |  956|     50|#define isNull			Rf_isNull
  ------------------
  |  Branch (3229:9): [True: 0, False: 50]
  ------------------
 3230|      0|	error(_("invalid (NULL) left side of assignment"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid (NULL) left side of assignment"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3231|     50|    if (isSymbol(expr)) { /* now we are down to the target symbol */
  ------------------
  |  |  953|     50|#define isSymbol		Rf_isSymbol
  ------------------
  |  Branch (3231:9): [True: 50, False: 0]
  ------------------
 3232|     50|	PROTECT(expr);
  ------------------
  |  |  357|     50|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3233|     50|	if(forcelocal) {
  ------------------
  |  Branch (3233:5): [True: 50, False: 0]
  ------------------
 3234|     50|	    nval = EnsureLocal(expr, rho, ploc);
 3235|     50|	}
 3236|      0|	else {
 3237|      0|	    nval = eval(expr, ENCLOS(rho));
  ------------------
  |  |  913|      0|#define eval			Rf_eval
  ------------------
 3238|      0|	    PROTECT(nval); /* R_findVarLoc allocates for user databases */
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3239|      0|	    *ploc = R_findVarLoc(expr, ENCLOS(rho));
 3240|      0|	    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 3241|      0|	}
 3242|     50|	int maybe_in_assign = ploc->cell ?
  ------------------
  |  Branch (3242:24): [True: 50, False: 0]
  ------------------
 3243|     50|	    ASSIGNMENT_PENDING(ploc->cell) : FALSE;
 3244|     50|	if (ploc->cell)
  ------------------
  |  Branch (3244:6): [True: 50, False: 0]
  ------------------
 3245|     50|	    SET_ASSIGNMENT_PENDING(ploc->cell, TRUE);
 3246|     50|	if (maybe_in_assign || MAYBE_SHARED(nval))
  ------------------
  |  Branch (3246:6): [True: 0, False: 50]
  |  Branch (3246:25): [True: 32, False: 18]
  ------------------
 3247|     32|	    nval = shallow_duplicate(nval);
  ------------------
  |  | 1030|     32|#define shallow_duplicate	Rf_shallow_duplicate
  ------------------
 3248|     50|	UNPROTECT(1);
  ------------------
  |  |  358|     50|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 3249|     50|	return CONS_NR(nval, expr);
 3250|     50|    }
 3251|      0|    else if (isLanguage(expr)) {
  ------------------
  |  |  950|      0|#define isLanguage		Rf_isLanguage
  ------------------
  |  Branch (3251:14): [True: 0, False: 0]
  ------------------
 3252|      0|	PROTECT(expr);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3253|      0|	PROTECT(val = evalseq(CADR(expr), rho, forcelocal, tmploc, ploc));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3254|      0|	R_SetVarLocValue(tmploc, CAR(val));
 3255|      0|	PROTECT(nexpr = LCONS(R_GetVarLocSymbol(tmploc), CDDR(expr)));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3256|      0|	PROTECT(nexpr = LCONS(CAR(expr), nexpr));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3257|      0|	nval = eval(nexpr, rho);
  ------------------
  |  |  913|      0|#define eval			Rf_eval
  ------------------
 3258|       |	/* duplicate nval if it might be shared _or_ if the container,
 3259|       |	   CAR(val), has become possibly shared by going through a
 3260|       |	   closure.  This is taken to indicate that the corresponding
 3261|       |	   replacement function might be a closure and will need to
 3262|       |	   see an unmodified LHS value. This heuristic fails if the
 3263|       |	   accessor function called here is not a closure but the
 3264|       |	   replacement function is. */
 3265|      0|	if (MAYBE_REFERENCED(nval) &&
  ------------------
  |  |  251|      0|#define MAYBE_REFERENCED(x) (! NO_REFERENCES(x))
  |  |  ------------------
  |  |  |  Branch (251:29): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3266|      0|	    (MAYBE_SHARED(nval) || MAYBE_SHARED(CAR(val))))
  ------------------
  |  Branch (3266:7): [True: 0, False: 0]
  |  Branch (3266:29): [True: 0, False: 0]
  ------------------
 3267|      0|	    nval = shallow_duplicate(nval);
  ------------------
  |  | 1030|      0|#define shallow_duplicate	Rf_shallow_duplicate
  ------------------
 3268|      0|	UNPROTECT(4);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 3269|      0|	return CONS_NR(nval, val);
 3270|      0|    }
 3271|      0|    else error(_("target of assignment expands to non-language object"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  else error(_("target of assignment expands to non-language object"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3272|      0|    return R_NilValue;	/*NOTREACHED*/
 3273|     50|}
eval.c:EnsureLocal:
 2632|  3.15M|{
 2633|  3.15M|    SEXP vl;
 2634|       |
 2635|  3.15M|    if ((vl = R_findVarInFrame(rho, symbol)) != R_UnboundValue) {
  ------------------
  |  Branch (2635:9): [True: 3.15M, False: 1.26k]
  ------------------
 2636|  3.15M|	vl = eval(symbol, rho);	/* for promises */
  ------------------
  |  |  913|  3.15M|#define eval			Rf_eval
  ------------------
 2637|  3.15M|	if(MAYBE_SHARED(vl)) {
  ------------------
  |  Branch (2637:5): [True: 1.05M, False: 2.09M]
  ------------------
 2638|       |	    /* Using R_shallow_duplicate_attr may defer duplicating
 2639|       |	       data until it it is needed. If the data are duplicated,
 2640|       |	       then the wrapper can be discarded at the end of the
 2641|       |	       assignment process in try_assign_unwrap(). */
 2642|  1.05M|	    PROTECT(vl);
  ------------------
  |  |  357|  1.05M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2643|  1.05M|	    PROTECT(vl = R_shallow_duplicate_attr(vl));
  ------------------
  |  |  357|  1.05M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2644|  1.05M|	    defineVar(symbol, vl, rho);
  ------------------
  |  |  905|  1.05M|#define defineVar		Rf_defineVar
  ------------------
 2645|  1.05M|	    INCREMENT_NAMED(vl);
  ------------------
  |  |  222|  1.05M|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  ------------------
  |  |  |  Branch (222:43): [Folded, False: 1.05M]
  |  |  ------------------
  ------------------
 2646|  1.05M|	    UNPROTECT(2);
  ------------------
  |  |  358|  1.05M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2647|  1.05M|	}
 2648|  3.15M|	PROTECT(vl); /* R_findVarLocInFrame allocates for user databases */
  ------------------
  |  |  357|  3.15M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2649|  3.15M|	*ploc = R_findVarLocInFrame(rho, symbol);
 2650|  3.15M|	UNPROTECT(1);
  ------------------
  |  |  358|  3.15M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2651|  3.15M|	return vl;
 2652|  3.15M|    }
 2653|       |
 2654|  1.26k|    vl = eval(symbol, ENCLOS(rho));
  ------------------
  |  |  913|  1.26k|#define eval			Rf_eval
  ------------------
 2655|  1.26k|    if (vl == R_UnboundValue) // can this really happen?
  ------------------
  |  Branch (2655:9): [True: 0, False: 1.26k]
  ------------------
 2656|      0|	R_ObjectNotFoundError(symbol, R_CurrentExpression, NULL);
 2657|       |
 2658|  1.26k|    PROTECT(vl = shallow_duplicate(vl));
  ------------------
  |  |  357|  1.26k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2659|  1.26k|    defineVar(symbol, vl, rho);
  ------------------
  |  |  905|  1.26k|#define defineVar		Rf_defineVar
  ------------------
 2660|  1.26k|    *ploc = R_findVarLocInFrame(rho, symbol);
 2661|  1.26k|    INCREMENT_NAMED(vl);
  ------------------
  |  |  222|  1.26k|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  ------------------
  |  |  |  Branch (222:43): [Folded, False: 1.26k]
  |  |  ------------------
  ------------------
 2662|  1.26k|    UNPROTECT(1);
  ------------------
  |  |  358|  1.26k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2663|  1.26k|    return vl;
 2664|  3.15M|}
eval.c:mkRHSPROMISE:
 3389|  2.09M|{
 3390|  2.09M|    return R_mkEVPROMISE_NR(expr, rhs);
 3391|  2.09M|}
eval.c:getAssignFcnSymbol:
 3370|     50|{
 3371|       |    /* handle [<-, [[<-, and $<- efficiently */
 3372|     50|    if (fun == R_SubsetSym)
  ------------------
  |  Branch (3372:9): [True: 0, False: 50]
  ------------------
 3373|      0|	return R_SubassignSym;
 3374|     50|    else if (fun == R_Subset2Sym)
  ------------------
  |  Branch (3374:14): [True: 16, False: 34]
  ------------------
 3375|     16|	return R_Subassign2Sym;
 3376|     34|    else if (fun == R_DollarSymbol)
  ------------------
  |  Branch (3376:14): [True: 0, False: 34]
  ------------------
 3377|      0|	return R_DollarGetsSymbol;
 3378|       |
 3379|       |    /* look up in the replacement functions table */
 3380|     34|    SEXP val = lookupAssignFcnSymbol(fun);
 3381|     34|    if (val != R_UnboundValue)
  ------------------
  |  Branch (3381:9): [True: 30, False: 4]
  ------------------
 3382|     30|	return val;
 3383|       |
 3384|       |    /* instal symbol, entern in table,  and return */
 3385|      4|    return installAssignFcnSymbol(fun);
 3386|     34|}
eval.c:lookupAssignFcnSymbol:
 3313|     34|{
 3314|     34|    return R_findVarInFrame(R_ReplaceFunsTable, fun);
 3315|     34|}
eval.c:installAssignFcnSymbol:
 3356|      4|{
 3357|      4|    char buf[ASSIGNBUFSIZ];
 3358|       |
 3359|       |    /* install the symbol */
 3360|      4|    if(strlen(CHAR(PRINTNAME(fun))) + 3 > ASSIGNBUFSIZ)
  ------------------
  |  |  203|      4|#define CHAR(x) R_CHAR(x)
  ------------------
                  if(strlen(CHAR(PRINTNAME(fun))) + 3 > ASSIGNBUFSIZ)
  ------------------
  |  | 3354|      4|#define ASSIGNBUFSIZ 32
  ------------------
  |  Branch (3360:8): [True: 0, False: 4]
  ------------------
 3361|      0|	error(_("overlong name in '%s'"), EncodeChar(PRINTNAME(fun)));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("overlong name in '%s'"), EncodeChar(PRINTNAME(fun)));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
              	error(_("overlong name in '%s'"), EncodeChar(PRINTNAME(fun)));
  ------------------
  |  | 1895|      0|# define EncodeChar             Rf_EncodeChar
  ------------------
 3362|      4|    snprintf(buf, ASSIGNBUFSIZ, "%s<-", CHAR(PRINTNAME(fun)));
  ------------------
  |  | 3354|      4|#define ASSIGNBUFSIZ 32
  ------------------
                  snprintf(buf, ASSIGNBUFSIZ, "%s<-", CHAR(PRINTNAME(fun)));
  ------------------
  |  |  203|      4|#define CHAR(x) R_CHAR(x)
  ------------------
 3363|      4|    SEXP val = install(buf);
  ------------------
  |  |  934|      4|#define install			Rf_install
  ------------------
 3364|       |
 3365|      4|    enterAssignFcnSymbol(fun, val);
 3366|      4|    return val;
 3367|      4|}
eval.c:enterAssignFcnSymbol:
 3318|      4|{
 3319|      4|    defineVar(fun, val, R_ReplaceFunsTable);
  ------------------
  |  |  905|      4|#define defineVar		Rf_defineVar
  ------------------
 3320|      4|}
eval.c:replaceCall:
 2674|     50|{
 2675|     50|    SEXP tmp, ptmp;
 2676|     50|    PROTECT(fun);
  ------------------
  |  |  357|     50|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2677|     50|    PROTECT(args);
  ------------------
  |  |  357|     50|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2678|     50|    PROTECT(rhs);
  ------------------
  |  |  357|     50|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2679|     50|    PROTECT(val);
  ------------------
  |  |  357|     50|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2680|     50|    ptmp = tmp = allocLang(length(args)+3);
  ------------------
  |  |  870|     50|#define allocLang		Rf_allocLang
  ------------------
                  ptmp = tmp = allocLang(length(args)+3);
  ------------------
  |  |  987|     50|#define length(x)		Rf_length(x)
  ------------------
 2681|     50|    UNPROTECT(4);
  ------------------
  |  |  358|     50|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2682|     50|    SETCAR(ptmp, fun); ptmp = CDR(ptmp);
 2683|     50|    SETCAR(ptmp, val); ptmp = CDR(ptmp);
 2684|     66|    while(args != R_NilValue) {
  ------------------
  |  Branch (2684:11): [True: 16, False: 50]
  ------------------
 2685|     16|	SETCAR(ptmp, CAR(args));
 2686|     16|	SET_TAG(ptmp, TAG(args));
 2687|     16|	ptmp = CDR(ptmp);
 2688|     16|	args = CDR(args);
 2689|     16|    }
 2690|     50|    SETCAR(ptmp, rhs);
 2691|     50|    SET_TAG(ptmp, R_valueSym);
 2692|     50|    MARK_ASSIGNMENT_CALL(tmp);
 2693|     50|    return tmp;
 2694|     50|}
eval.c:try_assign_unwrap:
 3398|      8|{
 3399|       |    /* If EnsureLocal() has introduced a wrapper for the LHS object in
 3400|       |       a complex assignment and the data has been duplicated, then it
 3401|       |       may be possible to remove the wrapper before assigning the
 3402|       |       final value to a its symbol. */
 3403|      8|    if (! MAYBE_REFERENCED(value))
  ------------------
  |  |  251|      8|#define MAYBE_REFERENCED(x) (! NO_REFERENCES(x))
  ------------------
  |  Branch (3403:9): [True: 0, False: 8]
  ------------------
 3404|       |	/* Typical case for NAMED; can also happen for REFCNT. */
 3405|      0|	return R_tryUnwrap(value);
 3406|      8|#ifdef SWITCH_TO_REFCNT
 3407|      8|    else {
 3408|       |	/* Typical case for REFCNT; might not be safe to unwrap for NAMED. */
 3409|      8|	if (! MAYBE_SHARED(value)) {
  ------------------
  |  Branch (3409:6): [True: 8, False: 0]
  ------------------
 3410|      8|	    if (cell == NULL)  /* for AST; byte code has the binding */
  ------------------
  |  Branch (3410:10): [True: 0, False: 8]
  ------------------
 3411|      0|		cell = GET_BINDING_CELL(sym, rho);
 3412|       |	    /* Ruling out active bindigns may not be necessary at this
 3413|       |	       point, but just to be safe ... */
 3414|      8|	    if (! IS_ACTIVE_BINDING(cell) &&
  ------------------
  |  Branch (3414:10): [True: 8, False: 0]
  ------------------
 3415|      8|		value == BINDING_VALUE(cell))
  ------------------
  |  Branch (3415:3): [True: 8, False: 0]
  ------------------
 3416|      8|		return R_tryUnwrap(value);
 3417|      8|	}
 3418|      8|    }
 3419|      0|#endif
 3420|      0|    return value;
 3421|      8|}
eval.c:BINDING_VALUE:
 5620|  29.9M|{
 5621|  29.9M|    if (BNDCELL_TAG(loc)) {
  ------------------
  |  Branch (5621:9): [True: 22, False: 29.9M]
  ------------------
 5622|     22|	R_expand_binding_value(loc);
 5623|     22|	return CAR0(loc);
 5624|     22|    }
 5625|  29.9M|    else if (loc != R_NilValue && ! IS_ACTIVE_BINDING(loc))
  ------------------
  |  Branch (5625:14): [True: 29.8M, False: 90.2k]
  |  Branch (5625:35): [True: 29.8M, False: 0]
  ------------------
 5626|  29.8M|	return CAR0(loc);
 5627|  90.2k|    else
 5628|  90.2k|	return R_UnboundValue;
 5629|  29.9M|}
eval.c:promiseArgsEx:
 3838|  3.18M|{
 3839|  3.18M|    SEXP ans, h, tail;
 3840|       |
 3841|  3.18M|    PROTECT(ans = tail = CONS(R_NilValue, R_NilValue));
  ------------------
  |  |  357|  3.18M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3842|       |
 3843|  11.6M|    while(el != R_NilValue) {
  ------------------
  |  Branch (3843:11): [True: 8.45M, False: 3.18M]
  ------------------
 3844|       |
 3845|       |	/* If we have a ... symbol, we look to see what it is bound to.
 3846|       |	 * If its binding is Null (i.e. zero length)
 3847|       |	 * we just ignore it and return the cdr with all its
 3848|       |	 * expressions promised; if it is bound to a ... list
 3849|       |	 * of promises, we repromise all the promises and then splice
 3850|       |	 * the list of resulting values into the return value.
 3851|       |	 * Anything else bound to a ... symbol is an error
 3852|       |	 */
 3853|       |
 3854|       |	/* double promises are needed to make sure a function argument
 3855|       |	   passed via ... is marked as referenced in the caller and
 3856|       |	   the callee */
 3857|       |
 3858|  8.45M|	if (CAR(el) == R_DotsSymbol) {
  ------------------
  |  Branch (3858:6): [True: 9.00k, False: 8.44M]
  ------------------
 3859|  9.00k|	    PROTECT(h = R_findVar(CAR(el), rho));
  ------------------
  |  |  357|  9.00k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3860|  9.00k|	    if (TYPEOF(h) == DOTSXP || h == R_NilValue) {
  ------------------
  |  |  127|  18.0k|#define DOTSXP	    17	  /* dot-dot-dot object */
  ------------------
  |  Branch (3860:10): [True: 2.50k, False: 6.49k]
  |  Branch (3860:33): [True: 0, False: 6.49k]
  ------------------
 3861|  10.1k|		while (h != R_NilValue) {
  ------------------
  |  Branch (3861:10): [True: 7.68k, False: 2.50k]
  ------------------
 3862|  7.68k|		    if (CAR(h) == R_MissingArg)
  ------------------
  |  Branch (3862:11): [True: 0, False: 7.68k]
  ------------------
 3863|      0|		      SETCDR(tail, CONS(CAR(h), R_NilValue));
  ------------------
  |  |  309|      0|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
 3864|  7.68k|                    else
 3865|  7.68k|		      SETCDR(tail, CONS(mkPROMISE(CAR(h), rho), R_NilValue));
  ------------------
  |  |  309|  7.68k|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
 3866|  7.68k|		    tail = CDR(tail);
 3867|  7.68k|		    COPY_TAG(tail, h);
  ------------------
  |  | 3662|  7.68k|#define COPY_TAG(to, from) do { \
  |  | 3663|  7.68k|  SEXP __tag__ = TAG(from); \
  |  | 3664|  7.68k|  if (__tag__ != R_NilValue) SET_TAG(to, __tag__); \
  |  |  ------------------
  |  |  |  Branch (3664:7): [True: 1.77k, False: 5.90k]
  |  |  ------------------
  |  | 3665|  7.68k|} while (0)
  |  |  ------------------
  |  |  |  Branch (3665:10): [Folded, False: 7.68k]
  |  |  ------------------
  ------------------
 3868|  7.68k|		    h = CDR(h);
 3869|  7.68k|		}
 3870|  2.50k|	    }
 3871|  6.49k|	    else if (h != R_MissingArg)
  ------------------
  |  Branch (3871:15): [True: 0, False: 6.49k]
  ------------------
 3872|      0|		error(_("'...' used in an incorrect context"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("'...' used in an incorrect context"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3873|  9.00k|	    UNPROTECT(1); /* h */
  ------------------
  |  |  358|  9.00k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 3874|  9.00k|	}
 3875|  8.44M|	else if (CAR(el) == R_MissingArg) {
  ------------------
  |  Branch (3875:11): [True: 58, False: 8.44M]
  ------------------
 3876|     58|	    SETCDR(tail, CONS(R_MissingArg, R_NilValue));
  ------------------
  |  |  309|     58|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
 3877|     58|	    tail = CDR(tail);
 3878|     58|	    COPY_TAG(tail, el);
  ------------------
  |  | 3662|     58|#define COPY_TAG(to, from) do { \
  |  | 3663|     58|  SEXP __tag__ = TAG(from); \
  |  | 3664|     58|  if (__tag__ != R_NilValue) SET_TAG(to, __tag__); \
  |  |  ------------------
  |  |  |  Branch (3664:7): [True: 0, False: 58]
  |  |  ------------------
  |  | 3665|     58|} while (0)
  |  |  ------------------
  |  |  |  Branch (3665:10): [Folded, False: 58]
  |  |  ------------------
  ------------------
 3879|     58|	}
 3880|  8.44M|	else {
 3881|  8.44M|	    if (forward && TYPEOF(CAR(el)) == SYMSXP) {
  ------------------
  |  |  112|      0|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (3881:10): [True: 0, False: 8.44M]
  |  Branch (3881:21): [True: 0, False: 0]
  ------------------
 3882|      0|		SEXP val = findVar(CAR(el), rho);
  ------------------
  |  |  918|      0|#define findVar			Rf_findVar
  ------------------
 3883|      0|		if (TYPEOF(val) == PROMSXP)
  ------------------
  |  |  116|      0|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (3883:7): [True: 0, False: 0]
  ------------------
 3884|       |		    // repromise, or forward, argument to help with substitute()
 3885|      0|		    SETCDR(tail, CONS(mkPROMISE(val, rho), R_NilValue));
  ------------------
  |  |  309|      0|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
 3886|      0|		else if (val == R_MissingArg)
  ------------------
  |  Branch (3886:12): [True: 0, False: 0]
  ------------------
 3887|      0|		    SETCDR(tail, CONS(R_MissingArg, R_NilValue));
  ------------------
  |  |  309|      0|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
 3888|      0|		else
 3889|      0|		    SETCDR(tail, CONS(mkPROMISE(CAR(el), rho), R_NilValue));
  ------------------
  |  |  309|      0|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
 3890|      0|	    }
 3891|  8.44M|	    else
 3892|  8.44M|		SETCDR(tail, CONS(mkPROMISE(CAR(el), rho), R_NilValue));
  ------------------
  |  |  309|  8.44M|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
 3893|  8.44M|	    tail = CDR(tail);
 3894|  8.44M|	    COPY_TAG(tail, el);
  ------------------
  |  | 3662|  8.44M|#define COPY_TAG(to, from) do { \
  |  | 3663|  8.44M|  SEXP __tag__ = TAG(from); \
  |  | 3664|  8.44M|  if (__tag__ != R_NilValue) SET_TAG(to, __tag__); \
  |  |  ------------------
  |  |  |  Branch (3664:7): [True: 2.10M, False: 6.34M]
  |  |  ------------------
  |  | 3665|  8.44M|} while (0)
  |  |  ------------------
  |  |  |  Branch (3665:10): [Folded, False: 8.44M]
  |  |  ------------------
  ------------------
 3895|  8.44M|	}
 3896|  8.45M|	el = CDR(el);
 3897|  8.45M|    }
 3898|  3.18M|    UNPROTECT(1);
  ------------------
  |  |  358|  3.18M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 3899|  3.18M|    ans = CDR(ans);
 3900|  3.18M|    DECREMENT_REFCNT(ans);
 3901|  3.18M|    return ans;
 3902|  3.18M|}
eval.c:evalArgs:
 4127|  2.03k|{
 4128|  2.03k|    if(dropmissing) return evalList(el, rho, call, n);
  ------------------
  |  | 1903|      0|# define evalList		Rf_evalList
  ------------------
  |  Branch (4128:8): [True: 0, False: 2.03k]
  ------------------
 4129|  2.03k|    else return evalListKeepMissing(el, rho);
  ------------------
  |  | 1904|  2.03k|# define evalListKeepMissing	Rf_evalListKeepMissing
  ------------------
 4130|  2.03k|}
eval.c:unpromiseArgs:
 2214|  11.7M|{
 2215|       |    /* This assumes pargs will no longer be referenced. We could
 2216|       |       double check the refcounts on pargs as a sanity check. */
 2217|  32.9M|    for (; pargs != R_NilValue; pargs = CDR(pargs)) {
  ------------------
  |  Branch (2217:12): [True: 21.2M, False: 11.7M]
  ------------------
 2218|  21.2M|	SEXP v = CAR(pargs);
 2219|  21.2M|	if (TYPEOF(v) == PROMSXP && REFCNT(v) == 1)
  ------------------
  |  |  116|  42.5M|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (2219:6): [True: 20.1M, False: 1.08M]
  |  Branch (2219:30): [True: 11.7M, False: 8.42M]
  ------------------
 2220|  11.7M|	    clearPromise(v);
 2221|  21.2M|	SETCAR(pargs, R_NilValue);
 2222|  21.2M|    }
 2223|  11.7M|}
eval.c:classForGroupDispatch:
 4381|    152|static SEXP classForGroupDispatch(SEXP obj) {
 4382|       |
 4383|    152|    return IS_S4_OBJECT(obj) ? R_data_class2(obj)
  ------------------
  |  Branch (4383:12): [True: 0, False: 152]
  ------------------
 4384|    152|	    : getAttrib(obj, R_ClassSymbol);
  ------------------
  |  |  924|    152|#define getAttrib		Rf_getAttrib
  ------------------
 4385|    152|}
eval.c:findmethod:
 4350|     76|{
 4351|     76|    int len, whichclass;
 4352|     76|    const void *vmax = vmaxget();
 4353|       |
 4354|     76|    len = length(Class);
  ------------------
  |  |  987|     76|#define length(x)		Rf_length(x)
  ------------------
 4355|       |
 4356|       |    /* Need to interleave looking for group and generic methods
 4357|       |       e.g. if class(x) is c("foo", "bar)" then x > 3 should invoke
 4358|       |       "Ops.foo" rather than ">.bar"
 4359|       |    */
 4360|    176|    for (whichclass = 0 ; whichclass < len ; whichclass++) {
  ------------------
  |  Branch (4360:27): [True: 150, False: 26]
  ------------------
 4361|    150|	const char *ss = translateChar(STRING_ELT(Class, whichclass));
  ------------------
  |  | 1037|    150|#define translateChar		Rf_translateChar
  ------------------
 4362|    150|	*meth = installS3Signature(generic, ss);
  ------------------
  |  |  939|    150|#define installS3Signature	Rf_installS3Signature
  ------------------
 4363|    150|	*sxp = R_LookupMethod(*meth, rho, rho, R_BaseEnv);
 4364|    150|	if (isFunction(*sxp)) {
  ------------------
  |  |  948|    150|#define isFunction		Rf_isFunction
  ------------------
  |  Branch (4364:6): [True: 0, False: 150]
  ------------------
 4365|      0|	    *gr = R_BlankScalarString;
 4366|      0|	    if (whichclass > 0) updateObjFromS4Slot(objSlot, ss);
  ------------------
  |  Branch (4366:10): [True: 0, False: 0]
  ------------------
 4367|      0|	    break;
 4368|      0|	}
 4369|    150|	*meth = installS3Signature(group, ss);
  ------------------
  |  |  939|    150|#define installS3Signature	Rf_installS3Signature
  ------------------
 4370|    150|	*sxp = R_LookupMethod(*meth, rho, rho, R_BaseEnv);
 4371|    150|	if (isFunction(*sxp)) {
  ------------------
  |  |  948|    150|#define isFunction		Rf_isFunction
  ------------------
  |  Branch (4371:6): [True: 50, False: 100]
  ------------------
 4372|     50|	    *gr = mkString(group);
  ------------------
  |  | 1003|     50|#define mkString		Rf_mkString
  ------------------
 4373|     50|	    if (whichclass > 0) updateObjFromS4Slot(objSlot, ss);
  ------------------
  |  Branch (4373:10): [True: 50, False: 0]
  ------------------
 4374|     50|	    break;
 4375|     50|	}
 4376|    150|    }
 4377|     76|    vmaxset(vmax);
 4378|     76|    *which = whichclass;
 4379|     76|}
eval.c:updateObjFromS4Slot:
 4333|     50|static R_INLINE void updateObjFromS4Slot(SEXP objSlot, const char *className) {
 4334|     50|    SEXP obj = CAR(objSlot);
 4335|       |
 4336|     50|    if(IS_S4_OBJECT(obj) && isBasicClass(className)) {
  ------------------
  |  |  941|      0|#define isBasicClass            Rf_isBasicClass
  ------------------
  |  Branch (4336:8): [True: 0, False: 50]
  |  Branch (4336:29): [True: 0, False: 0]
  ------------------
 4337|       |	/* This and the similar test below implement the strategy
 4338|       |	 for S3 methods selected for S4 objects.  See ?Methods */
 4339|      0|	if(NAMED(obj)) ENSURE_NAMEDMAX(obj);
  ------------------
  |  Branch (4339:5): [True: 0, False: 0]
  ------------------
 4340|      0|	obj = R_getS4DataSlot(obj, OBJSXP); /* the .S3Class obj. or NULL*/
  ------------------
  |  |  137|      0|#define OBJSXP      25    /* object, non-vector  */
  ------------------
 4341|      0|	if(obj != R_NilValue) /* use the S3Part as the inherited object */
  ------------------
  |  Branch (4341:5): [True: 0, False: 0]
  ------------------
 4342|      0|	    SETCAR(objSlot, obj);
 4343|      0|    }
 4344|     50|}
eval.c:bytecodeExpr:
 5512|  37.0k|{
 5513|  37.0k|    if (isByteCode(e)) {
  ------------------
  |  |  739|  37.0k|#define isByteCode(x)	(TYPEOF(x)==BCODESXP)
  |  |  ------------------
  |  |  |  |  133|  37.0k|#define BCODESXP    21    /* byte code */
  |  |  ------------------
  |  |  |  Branch (739:23): [True: 24.4k, False: 12.5k]
  |  |  ------------------
  ------------------
 5514|  24.4k|	if (LENGTH(BCODE_CONSTS(e)) > 0)
  ------------------
  |  |  737|  24.4k|#define BCODE_CONSTS(x) CDR(x)
  ------------------
  |  Branch (5514:6): [True: 24.4k, False: 0]
  ------------------
 5515|  24.4k|	    return VECTOR_ELT(BCODE_CONSTS(e), 0);
  ------------------
  |  |  737|  24.4k|#define BCODE_CONSTS(x) CDR(x)
  ------------------
 5516|      0|	else return R_NilValue;
 5517|  24.4k|    }
 5518|  12.5k|    else return e;
 5519|  37.0k|}
eval.c:R_findBCInterpreterLocation:
 6926|  1.05M|{
 6927|  1.05M|    SEXP body = cptr ? cptr->bcbody : R_BCbody;
  ------------------
  |  Branch (6927:17): [True: 6.94k, False: 1.05M]
  ------------------
 6928|  1.05M|    if (body == NULL)
  ------------------
  |  Branch (6928:9): [True: 0, False: 1.05M]
  ------------------
 6929|       |	/* This has happened, but it is not clear how. */
 6930|       |	/* (R_Srcref == R_InBCInterpreter && R_BCbody == NULL) */
 6931|      0|	return R_NilValue;
 6932|  1.05M|    SEXP constants = BCODE_CONSTS(body);
  ------------------
  |  |  737|  1.05M|#define BCODE_CONSTS(x) CDR(x)
  ------------------
 6933|  1.05M|    SEXP ltable = findLocTable(constants, iname);
 6934|  1.05M|    if (ltable == R_NilValue)
  ------------------
  |  Branch (6934:9): [True: 6.94k, False: 1.05M]
  ------------------
 6935|       |	/* location table not available */
 6936|  6.94k|	return R_NilValue;
 6937|       |
 6938|       |    /* use relpc stored in the context if available */
 6939|  1.05M|    if (cptr && cptr->relpc > 0)
  ------------------
  |  Branch (6939:9): [True: 0, False: 1.05M]
  |  Branch (6939:17): [True: 0, False: 0]
  ------------------
 6940|      0|	return getLocTableElt(cptr->relpc, ltable, constants);
 6941|       |
 6942|  1.05M|    BCODE *codebase = BCCODE(body);
  ------------------
  |  | 5572|  1.05M|#define BCCODE(e) BCODE_PTR(BCODE_CODE(e))
  |  |  ------------------
  |  |  |  |  736|  1.05M|#define BCODE_PTR(x) ((BCODE *) DATAPTR(x))
  |  |  ------------------
  ------------------
 6943|  1.05M|    ptrdiff_t relpc = (*((BCODE **)(cptr ? cptr->bcpc : R_BCpc))) - codebase;
  ------------------
  |  Branch (6943:37): [True: 0, False: 1.05M]
  ------------------
 6944|       |
 6945|  1.05M|    return getLocTableElt(relpc, ltable, constants);
 6946|  1.05M|}
eval.c:findLocTable:
 6888|  1.05M|{
 6889|  1.05M|    int i;
 6890|       |    /* location tables are at the end of the constant pool */
 6891|  1.87M|    for(i = LENGTH(constants) - 1; i >= 0 ; i--) {
  ------------------
  |  Branch (6891:36): [True: 1.86M, False: 6.94k]
  ------------------
 6892|  1.86M|	SEXP s = VECTOR_ELT(constants, i);
 6893|       |	/* could use exact check instead of inherits */
 6894|  1.86M|	if (TYPEOF(s) == INTSXP && inherits(s, tclass))
  ------------------
  |  |  123|  3.72M|#define INTSXP	    13	  /* integer vectors */
  ------------------
              	if (TYPEOF(s) == INTSXP && inherits(s, tclass))
  ------------------
  |  |  933|  1.07M|#define inherits		Rf_inherits
  ------------------
  |  Branch (6894:6): [True: 1.07M, False: 789k]
  |  Branch (6894:29): [True: 1.05M, False: 23.7k]
  ------------------
 6895|  1.05M|	    return s;
 6896|  1.86M|    }
 6897|  6.94k|    return R_NilValue;
 6898|  1.05M|}
eval.c:getLocTableElt:
 6902|  1.05M|{
 6903|  1.05M|    if (table == R_NilValue || relpc >= LENGTH(table) || relpc < 0)
  ------------------
  |  Branch (6903:9): [True: 0, False: 1.05M]
  |  Branch (6903:32): [True: 0, False: 1.05M]
  |  Branch (6903:58): [True: 0, False: 1.05M]
  ------------------
 6904|      0|	return R_NilValue;
 6905|       |
 6906|  1.05M|    int cidx = INTEGER(table)[relpc];
 6907|  1.05M|    if (cidx < 0 || cidx >= LENGTH(constants))
  ------------------
  |  Branch (6907:9): [True: 0, False: 1.05M]
  |  Branch (6907:21): [True: 0, False: 1.05M]
  ------------------
 6908|      0|	return R_NilValue;
 6909|  1.05M|    return VECTOR_ELT(constants, cidx);
 6910|  1.05M|}
eval.c:R_findBCInterpreterExpression:
 6954|  1.05M|{
 6955|       |    return R_findBCInterpreterLocation(NULL, "expressionsIndex");
 6956|  1.05M|}
eval.c:maybeAssignmentCall:
 6986|  1.05M|{
 6987|  1.05M|    if (TYPEOF(expr) != LANGSXP)
  ------------------
  |  |  117|  1.05M|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (6987:9): [True: 0, False: 1.05M]
  ------------------
 6988|      0|	return FALSE;
 6989|       |
 6990|  1.05M|    if (TYPEOF(CAR(expr)) != SYMSXP)
  ------------------
  |  |  112|  1.05M|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (6990:9): [True: 0, False: 1.05M]
  ------------------
 6991|      0|	return FALSE;
 6992|  1.05M|    const char *name = CHAR(PRINTNAME(CAR(expr)));
  ------------------
  |  |  203|  1.05M|#define CHAR(x) R_CHAR(x)
  ------------------
 6993|  1.05M|    size_t slen = strlen(name);
 6994|  1.05M|    return slen > 2 && name[slen-2] == '<' && name[slen-1] == '-';
  ------------------
  |  Branch (6994:12): [True: 3.74k, False: 1.04M]
  |  Branch (6994:24): [True: 0, False: 3.74k]
  |  Branch (6994:47): [True: 0, False: 0]
  ------------------
 6995|  1.05M|}
eval.c:maybeClosureWrapper:
 6969|  1.05M|{
 6970|  1.05M|    if (TYPEOF(expr) != LANGSXP)
  ------------------
  |  |  117|  1.05M|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (6970:9): [True: 0, False: 1.05M]
  ------------------
 6971|      0|	return FALSE;
 6972|       |
 6973|  1.05M|    SEXP sym = CAR(expr);
 6974|       |
 6975|  1.05M|    if (!(sym == R_DotInternalSym || sym == R_DotExternalSym ||
  ------------------
  |  Branch (6975:11): [True: 0, False: 1.05M]
  |  Branch (6975:38): [True: 0, False: 1.05M]
  ------------------
 6976|  1.05M|	sym == R_DotExternal2Sym || sym == R_DotExternalgraphicsSym ||
  ------------------
  |  Branch (6976:2): [True: 0, False: 1.05M]
  |  Branch (6976:30): [True: 0, False: 1.05M]
  ------------------
 6977|  1.05M|	sym == R_DotCallSym || sym == R_DotFortranSym ||
  ------------------
  |  Branch (6977:2): [True: 2.38k, False: 1.04M]
  |  Branch (6977:25): [True: 0, False: 1.04M]
  ------------------
 6978|  1.04M|	sym == R_DotCSym || sym == R_DotCallgraphicsSym))
  ------------------
  |  Branch (6978:2): [True: 0, False: 1.04M]
  |  Branch (6978:22): [True: 0, False: 1.04M]
  ------------------
 6979|       |
 6980|  1.04M|	return FALSE;
 6981|       |
 6982|  2.38k|    return CDR(expr) != R_NilValue && CADR(expr) != R_NilValue;
  ------------------
  |  Branch (6982:12): [True: 2.38k, False: 0]
  |  Branch (6982:39): [True: 2.38k, False: 0]
  ------------------
 6983|  1.05M|}
eval.c:maybePrimitiveCall:
 7000|  1.04M|{
 7001|  1.04M|    if (TYPEOF(expr) != LANGSXP)
  ------------------
  |  |  117|  1.04M|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (7001:9): [True: 0, False: 1.04M]
  ------------------
 7002|      0|	return FALSE;
 7003|       |
 7004|  1.04M|    if (TYPEOF(CAR(expr)) == SYMSXP) {
  ------------------
  |  |  112|  1.04M|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (7004:9): [True: 1.04M, False: 0]
  ------------------
 7005|  1.04M|	SEXP value = SYMVALUE(CAR(expr));
 7006|  1.04M|	if (TYPEOF(value) == PROMSXP)
  ------------------
  |  |  116|  1.04M|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (7006:6): [True: 0, False: 1.04M]
  ------------------
 7007|      0|	    value = PRVALUE(value);
 7008|  1.04M|	return TYPEOF(value) == BUILTINSXP || TYPEOF(value) == SPECIALSXP;
  ------------------
  |  |  119|  2.09M|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
              	return TYPEOF(value) == BUILTINSXP || TYPEOF(value) == SPECIALSXP;
  ------------------
  |  |  118|  1.04M|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (7008:9): [True: 1.04M, False: 0]
  |  Branch (7008:40): [True: 0, False: 0]
  ------------------
 7009|  1.04M|    }
 7010|      0|    return FALSE;
 7011|  1.04M|}
eval.c:bcEval:
 7445|  5.32M|{
 7446|       |  /* check version and allow bytecode to be disabled for testing */
 7447|  5.32M|  if (R_disable_bytecode || ! R_BCVersionOK(body))
  ------------------
  |  Branch (7447:7): [True: 0, False: 5.32M]
  |  Branch (7447:29): [True: 0, False: 5.32M]
  ------------------
 7448|      0|      return eval(bytecodeExpr(body), rho);
  ------------------
  |  |  913|      0|#define eval			Rf_eval
  ------------------
 7449|       |
 7450|  5.32M|  struct bcEval_globals globals;
 7451|  5.32M|  save_bcEval_globals(&globals);
 7452|       |
 7453|  5.32M|  R_Srcref = R_InBCInterpreter;
 7454|  5.32M|  R_BCIntActive = 1;
 7455|       |
 7456|  5.32M|  R_BCFrame = NULL;
 7457|       |
 7458|  5.32M|  struct bcEval_locals locals = bcode_setup_locals(body, rho);
 7459|  5.32M|  SEXP value = bcEval_loop(&locals);
 7460|  5.32M|  restore_bcEval_globals(&globals);
 7461|  5.32M|  return value;  
 7462|  5.32M|}
eval.c:save_bcEval_globals:
 7137|  24.5M|{
 7138|  24.5M|    g->oldntop = R_BCNodeStackTop;
 7139|  24.5M|    g->oldbcintactive = R_BCIntActive;
 7140|  24.5M|    g->oldbcbody = R_BCbody;
 7141|  24.5M|    g->oldbcpc = R_BCpc;
 7142|  24.5M|    g->oldbcframe = R_BCFrame;
 7143|  24.5M|    g->oldsrcref = R_Srcref;
 7144|       |#ifdef BC_PROFILING
 7145|       |    g->old_current_opcode = current_opcode;
 7146|       |#endif
 7147|  24.5M|    g->old_bcprot_top = R_BCProtTop;
 7148|  24.5M|    g->old_bcprot_committed = R_BCProtCommitted;
 7149|  24.5M|    g->oldevdepth = R_EvalDepth;
 7150|  24.5M|    INCREMENT_BCSTACK_LINKS();
  ------------------
  |  | 1057|  24.5M|#define INCREMENT_BCSTACK_LINKS() do {			\
  |  | 1058|  24.5M|	if (R_BCNodeStackTop > R_BCProtTop)		\
  |  |  ------------------
  |  |  |  Branch (1058:6): [True: 24.4M, False: 37.7k]
  |  |  ------------------
  |  | 1059|  24.5M|	    INCLNK_stack(R_BCNodeStackTop);		\
  |  | 1060|  24.5M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1060:14): [Folded, False: 24.5M]
  |  |  ------------------
  ------------------
 7151|  24.5M|}
eval.c:bcode_setup_locals:
 7320|  24.5M|{
 7321|  24.5M|    struct bcEval_locals loc;
 7322|  24.5M|    loc.body = body;
 7323|  24.5M|    loc.rho = rho;
 7324|  24.5M|    loc.pc = BCCODE(body) + 1; /* pop off version */
  ------------------
  |  | 5572|  24.5M|#define BCCODE(e) BCODE_PTR(BCODE_CODE(e))
  |  |  ------------------
  |  |  |  |  736|  24.5M|#define BCODE_PTR(x) ((BCODE *) DATAPTR(x))
  |  |  ------------------
  ------------------
 7325|  24.5M|    struct vcache_info vcinfo = setup_vcache(body);
 7326|  24.5M|    loc.vcache = vcinfo.vcache;
 7327|  24.5M|    loc.smallcache = vcinfo.smallcache;
 7328|  24.5M|    R_BCbody = body; //**** move this somewhere else?
 7329|  24.5M|    return loc;
 7330|  24.5M|}
eval.c:setup_vcache:
 7282|  24.5M|{
 7283|  24.5M|    R_binding_cache_t vcache = NULL;
 7284|  24.5M|    Rboolean smallcache = TRUE;
 7285|       |
 7286|  24.5M|#ifdef USE_BINDING_CACHE
 7287|  24.5M|    R_xlen_t n = BCCONSTS_LEN(body);
  ------------------
  |  | 5462|  24.5M|#define BCCONSTS_LEN(e) XLENGTH(BCODE_CONSTS(e))
  |  |  ------------------
  |  |  |  |  737|  24.5M|#define BCODE_CONSTS(x) CDR(x)
  |  |  ------------------
  ------------------
 7288|  24.5M|# ifdef CACHE_MAX
 7289|  24.5M|    if (n > CACHE_MAX) {
  ------------------
  |  | 5670|  24.5M|# define CACHE_MAX 256
  ------------------
  |  Branch (7289:9): [True: 329, False: 24.5M]
  ------------------
 7290|    329|	n = CACHE_MAX;
  ------------------
  |  | 5670|    329|# define CACHE_MAX 256
  ------------------
 7291|    329|	smallcache = FALSE;
 7292|    329|    }
 7293|  24.5M|# endif
 7294|  24.5M|# ifdef CACHE_ON_STACK
 7295|       |    /* initialize binding cache on the stack */
 7296|  24.5M|    if (R_BCNodeStackTop + n + 1 > R_BCNodeStackEnd)
  ------------------
  |  Branch (7296:9): [True: 0, False: 24.5M]
  ------------------
 7297|      0|	nodeStackOverflow();
 7298|  24.5M|    R_BCNodeStackTop->u.ival = (int) n;
 7299|  24.5M|    R_BCNodeStackTop->tag = CACHESZ_TAG;
  ------------------
  |  | 1402|  24.5M|# define CACHESZ_TAG 253
  ------------------
 7300|  24.5M|    R_BCNodeStackTop++;
 7301|  24.5M|    vcache = R_BCNodeStackTop;
 7302|   403M|    while (n > 0) {
  ------------------
  |  Branch (7302:12): [True: 378M, False: 24.5M]
  ------------------
 7303|   378M|	SETSTACK_NLNK(0, R_NilValue);
  ------------------
  |  | 4763|   378M|#define SETSTACK_NLNK(i, v) SETSTACK_NLNK_PTR(R_BCNodeStackTop + (i), v)
  |  |  ------------------
  |  |  |  | 4757|   378M|#define SETSTACK_NLNK_PTR(s, v) do {			\
  |  |  |  | 4758|   378M|	R_bcstack_t *__s__ = (s);			\
  |  |  |  | 4759|   378M|	SEXP __v__ = (v);				\
  |  |  |  | 4760|   378M|	__s__->tag = NLNKSXP;				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4717|   378M|#define NLNKSXP 9996
  |  |  |  |  ------------------
  |  |  |  | 4761|   378M|	__s__->u.sxpval = __v__;			\
  |  |  |  | 4762|   378M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4762:14): [Folded, False: 378M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7304|   378M|	R_BCNodeStackTop++;
 7305|   378M|	n--;
 7306|   378M|    }
 7307|       |# else
 7308|       |    /* allocate binding cache and protect on stack */
 7309|       |    vcache = allocVector(VECSXP, n);
 7310|       |    BCNPUSH(vcache);
 7311|       |# endif
 7312|  24.5M|#endif
 7313|  24.5M|    R_BCProtTop = R_BCNodeStackTop;
 7314|       |
 7315|  24.5M|    return (struct vcache_info) { vcache, smallcache };
 7316|  24.5M|}
eval.c:bcEval_loop:
 7465|  5.32M|{
 7466|  5.32M|  INITIALIZE_MACHINE();
  ------------------
  |  | 5560|  5.32M|    do {							\
  |  | 5561|  5.32M|	static Rboolean loop_initialized = FALSE;		\
  |  | 5562|  5.32M|	if (! loop_initialized) {				\
  |  |  ------------------
  |  |  |  Branch (5562:6): [True: 2, False: 5.32M]
  |  |  ------------------
  |  | 5563|      2|	    loop_initialized = TRUE;				\
  |  | 5564|      2|	    goto init;						\
  |  | 5565|      2|	}							\
  |  | 5566|  5.32M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (5566:14): [Folded, False: 5.32M]
  |  |  ------------------
  ------------------
 7467|       |
 7468|  5.32M|  struct bcEval_locals locals = *ploc;
 7469|       |
 7470|  5.32M|  SEXP body, rho;
 7471|  5.32M|  R_bcconsts_t constants;
 7472|  5.32M|  BCODE *pc, *codebase;
 7473|  5.32M|  R_binding_cache_t vcache;
 7474|  5.32M|  Rboolean smallcache;
 7475|       |
 7476|  5.32M|  RESTORE_BCEVAL_LOCALS(&locals);
  ------------------
  |  | 7188|  5.32M|#define RESTORE_BCEVAL_LOCALS(loc) do {		\
  |  | 7189|  5.32M|	body = (loc)->body;			\
  |  | 7190|  5.32M|	codebase = BCCODE(body);		\
  |  |  ------------------
  |  |  |  | 5572|  5.32M|#define BCCODE(e) BCODE_PTR(BCODE_CODE(e))
  |  |  |  |  ------------------
  |  |  |  |  |  |  736|  5.32M|#define BCODE_PTR(x) ((BCODE *) DATAPTR(x))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7191|  5.32M|	constants = BCCONSTS(body);		\
  |  |  ------------------
  |  |  |  | 5461|  5.32M|    (R_bcconsts_t) {((SEXP const *) DATAPTR_RO(BCODE_CONSTS(e)))}
  |  |  |  |  ------------------
  |  |  |  |  |  |  737|  5.32M|#define BCODE_CONSTS(x) CDR(x)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7192|  5.32M|	rho = (loc)->rho;			\
  |  | 7193|  5.32M|	vcache = (loc)->vcache;			\
  |  | 7194|  5.32M|	smallcache = (loc)->smallcache;		\
  |  | 7195|  5.32M|	pc = (loc)->pc;				\
  |  | 7196|  5.32M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (7196:14): [Folded, False: 5.32M]
  |  |  ------------------
  ------------------
 7477|       |
 7478|  5.32M|  BCODE *currentpc = NULL;
 7479|  5.32M|  void *oldbcpc = R_BCpc;
 7480|  5.32M|  R_BCpc = &currentpc;
 7481|       |
 7482|  5.32M|  static int evalcount = 0;
 7483|  5.32M|  BC_CHECK_SIGINT();
  ------------------
  |  | 6194|  5.32M|#define BC_CHECK_SIGINT() do {			\
  |  | 6195|  5.32M|	if (++evalcount > BC_COUNT_DELTA) {	\
  |  |  ------------------
  |  |  |  |   45|  5.32M|#define BC_COUNT_DELTA 127
  |  |  ------------------
  |  |  |  Branch (6195:6): [True: 136, False: 5.32M]
  |  |  ------------------
  |  | 6196|    136|	    bc_check_sigint();			\
  |  | 6197|    136|	    evalcount = 0;			\
  |  | 6198|    136|	}					\
  |  | 6199|  5.32M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6199:14): [Folded, False: 5.32M]
  |  |  ------------------
  ------------------
 7484|       |
 7485|  5.32M|  BEGIN_MACHINE {
  ------------------
  |  | 5557|  5.32M|#define BEGIN_MACHINE NEXT(); init: { int which = 0; loop: switch(which++)
  |  |  ------------------
  |  |  |  | 5568|  5.32M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  |  |  Branch (5557:67): [True: 258, False: 2]
  |  |  ------------------
  ------------------
 7486|      2|    OP(BCMISMATCH, 0): error(_("byte code version mismatch"));
  ------------------
  |  | 5551|      2|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|      2|    opinfo[name##_OP].argc = (n); \
  |  | 5553|      2|    opinfo[name##_OP].instname = #name; \
  |  | 5554|      2|    goto loop; \
  |  | 5555|      2|    op_##name
  ------------------
                  OP(BCMISMATCH, 0): error(_("byte code version mismatch"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  OP(BCMISMATCH, 0): error(_("byte code version mismatch"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 7487|  21.3M|    OP(RETURN, 0):
  ------------------
  |  | 5551|      2|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|      2|    opinfo[name##_OP].argc = (n); \
  |  | 5553|      2|    opinfo[name##_OP].instname = #name; \
  |  | 5554|      2|    goto loop; \
  |  | 5555|  21.3M|    op_##name
  ------------------
 7488|  21.3M|      if (R_BCFrame == NULL) {
  ------------------
  |  Branch (7488:11): [True: 5.31M, False: 16.0M]
  ------------------
 7489|  5.31M|	  R_BCpc = oldbcpc;
 7490|  5.31M|	  SEXP retvalue = GETSTACK(-1);
  ------------------
  |  | 4817|  5.31M|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  ------------------
  |  |  |  | 4751|  5.31M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4751:26): [True: 9.35k, False: 5.30M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7491|  5.31M|	  return retvalue;
 7492|  5.31M|      }
 7493|  16.0M|      else if (BCFRAME_CNTXT() == NULL)
  ------------------
  |  | 7246|  16.0M|#define BCFRAME_CNTXT() (R_BCFrame->pcntxt)
  ------------------
  |  Branch (7493:16): [True: 8.55M, False: 7.47M]
  ------------------
 7494|  8.55M|	  DO_GETVAR_FORCE_PROMISE_RETURN();
  ------------------
  |  | 7430|  8.55M|#define DO_GETVAR_FORCE_PROMISE_RETURN() do {			\
  |  | 7431|  8.55M|	RESTORE_BCEVAL_LOCALS(BCFRAME_LOCALS());		\
  |  |  ------------------
  |  |  |  | 7188|  8.55M|#define RESTORE_BCEVAL_LOCALS(loc) do {		\
  |  |  |  | 7189|  8.55M|	body = (loc)->body;			\
  |  |  |  | 7190|  8.55M|	codebase = BCCODE(body);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5572|  8.55M|#define BCCODE(e) BCODE_PTR(BCODE_CODE(e))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  736|  8.55M|#define BCODE_PTR(x) ((BCODE *) DATAPTR(x))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 7191|  8.55M|	constants = BCCONSTS(body);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5461|  8.55M|    (R_bcconsts_t) {((SEXP const *) DATAPTR_RO(BCODE_CONSTS(e)))}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  737|  8.55M|#define BCODE_CONSTS(x) CDR(x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 7192|  8.55M|	rho = (loc)->rho;			\
  |  |  |  | 7193|  8.55M|	vcache = (loc)->vcache;			\
  |  |  |  | 7194|  8.55M|	smallcache = (loc)->smallcache;		\
  |  |  |  | 7195|  8.55M|	pc = (loc)->pc;				\
  |  |  |  | 7196|  8.55M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (7196:14): [Folded, False: 8.55M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7432|  8.55M|	finish_force_promise();					\
  |  | 7433|  8.55M|	NEXT();							\
  |  |  ------------------
  |  |  |  | 5568|  8.55M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 7434|  8.55M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (7434:14): [Folded, False: 8.55M]
  |  |  ------------------
  ------------------
 7495|  7.47M|      else {
 7496|  7.47M|	  BCFRAME_CNTXT()->returnValue = R_BCNodeStackTop[-1];
  ------------------
  |  | 7246|  7.47M|#define BCFRAME_CNTXT() (R_BCFrame->pcntxt)
  ------------------
 7497|  7.47M|	  DO_INLINE_CLOSURE_CALL_RETURN();
  ------------------
  |  | 7393|  7.47M|#define DO_INLINE_CLOSURE_CALL_RETURN() do {			\
  |  | 7394|  7.47M|	RESTORE_BCEVAL_LOCALS(BCFRAME_LOCALS());		\
  |  |  ------------------
  |  |  |  | 7188|  7.47M|#define RESTORE_BCEVAL_LOCALS(loc) do {		\
  |  |  |  | 7189|  7.47M|	body = (loc)->body;			\
  |  |  |  | 7190|  7.47M|	codebase = BCCODE(body);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5572|  7.47M|#define BCCODE(e) BCODE_PTR(BCODE_CODE(e))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  736|  7.47M|#define BCODE_PTR(x) ((BCODE *) DATAPTR(x))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 7191|  7.47M|	constants = BCCONSTS(body);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5461|  7.47M|    (R_bcconsts_t) {((SEXP const *) DATAPTR_RO(BCODE_CONSTS(e)))}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  737|  7.47M|#define BCODE_CONSTS(x) CDR(x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 7192|  7.47M|	rho = (loc)->rho;			\
  |  |  |  | 7193|  7.47M|	vcache = (loc)->vcache;			\
  |  |  |  | 7194|  7.47M|	smallcache = (loc)->smallcache;		\
  |  |  |  | 7195|  7.47M|	pc = (loc)->pc;				\
  |  |  |  | 7196|  7.47M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (7196:14): [Folded, False: 7.47M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7395|  7.47M|	finish_inline_closure_call();				\
  |  | 7396|  7.47M|	NEXT();							\
  |  |  ------------------
  |  |  |  | 5568|  7.47M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 7397|  7.47M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (7397:14): [Folded, False: 7.47M]
  |  |  ------------------
  ------------------
 7498|  7.47M|      }
 7499|  16.0M|    OP(GOTO, 1):
  ------------------
  |  | 5551|  16.0M|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  16.0M|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  16.0M|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  16.0M|    goto loop; \
  |  | 5555|  16.0M|    op_##name
  ------------------
 7500|  3.18M|      {
 7501|  3.18M|	int label = GETOP();
  ------------------
  |  | 5569|  3.18M|#define GETOP() (*pc++).i
  ------------------
 7502|  3.18M|	BC_CHECK_SIGINT();
  ------------------
  |  | 6194|  3.18M|#define BC_CHECK_SIGINT() do {			\
  |  | 6195|  3.18M|	if (++evalcount > BC_COUNT_DELTA) {	\
  |  |  ------------------
  |  |  |  |   45|  3.18M|#define BC_COUNT_DELTA 127
  |  |  ------------------
  |  |  |  Branch (6195:6): [True: 54, False: 3.18M]
  |  |  ------------------
  |  | 6196|     54|	    bc_check_sigint();			\
  |  | 6197|     54|	    evalcount = 0;			\
  |  | 6198|     54|	}					\
  |  | 6199|  3.18M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6199:14): [Folded, False: 3.18M]
  |  |  ------------------
  ------------------
 7503|  3.18M|	pc = codebase + label;
 7504|  3.18M|	NEXT();
  ------------------
  |  | 5568|  3.18M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7505|  3.18M|      }
 7506|  9.67M|    OP(BRIFNOT, 2):
  ------------------
  |  | 5551|  3.18M|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  3.18M|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  3.18M|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  3.18M|    goto loop; \
  |  | 5555|  9.67M|    op_##name
  ------------------
 7507|  9.67M|      {
 7508|  9.67M|	int callidx = GETOP();
  ------------------
  |  | 5569|  9.67M|#define GETOP() (*pc++).i
  ------------------
 7509|  9.67M|	int label = GETOP();
  ------------------
  |  | 5569|  9.67M|#define GETOP() (*pc++).i
  ------------------
 7510|  9.67M|	Rboolean cond = GETSTACK_LOGICAL_NO_NA_PTR(R_BCNodeStackTop - 1,
 7511|  9.67M|						   callidx, constants, rho);
 7512|  9.67M|	BCNPOP_IGNORE_VALUE();
  ------------------
  |  | 5432|  9.67M|#define BCNPOP_IGNORE_VALUE() R_BCNodeStackTop--
  ------------------
 7513|  9.67M|	if (! cond) {
  ------------------
  |  Branch (7513:6): [True: 5.41M, False: 4.25M]
  ------------------
 7514|  5.41M|	    BC_CHECK_SIGINT(); /**** only on back branch?*/
  ------------------
  |  | 6194|  5.41M|#define BC_CHECK_SIGINT() do {			\
  |  | 6195|  5.41M|	if (++evalcount > BC_COUNT_DELTA) {	\
  |  |  ------------------
  |  |  |  |   45|  5.41M|#define BC_COUNT_DELTA 127
  |  |  ------------------
  |  |  |  Branch (6195:6): [True: 299, False: 5.41M]
  |  |  ------------------
  |  | 6196|    299|	    bc_check_sigint();			\
  |  | 6197|    299|	    evalcount = 0;			\
  |  | 6198|    299|	}					\
  |  | 6199|  5.41M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6199:14): [Folded, False: 5.41M]
  |  |  ------------------
  ------------------
 7515|  5.41M|	    pc = codebase + label;
 7516|  5.41M|	}
 7517|  9.67M|	NEXT();
  ------------------
  |  | 5568|  9.67M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7518|  9.67M|      }
 7519|  37.0M|    OP(POP, 0): BCNPOP_IGNORE_VALUE(); NEXT();
  ------------------
  |  | 5551|  9.67M|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  9.67M|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  9.67M|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  9.67M|    goto loop; \
  |  | 5555|  37.0M|    op_##name
  ------------------
                  OP(POP, 0): BCNPOP_IGNORE_VALUE(); NEXT();
  ------------------
  |  | 5432|  37.0M|#define BCNPOP_IGNORE_VALUE() R_BCNodeStackTop--
  ------------------
                  OP(POP, 0): BCNPOP_IGNORE_VALUE(); NEXT();
  ------------------
  |  | 5568|  37.0M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7520|  37.0M|    OP(DUP, 0): BCNDUP(); NEXT();
  ------------------
  |  | 5551|  37.0M|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  37.0M|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  37.0M|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  37.0M|    goto loop; \
  |  | 5555|  37.0M|    op_##name
  ------------------
                  OP(DUP, 0): BCNDUP(); NEXT();
  ------------------
  |  | 5410|      0|#define BCNDUP() do {						\
  |  | 5411|      0|	R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1;		\
  |  | 5412|      0|	if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow();	\
  |  |  ------------------
  |  |  |  Branch (5412:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 5413|      0|	__ntop__[-1] = __ntop__[-2];				\
  |  | 5414|      0|	R_BCNodeStackTop = __ntop__;				\
  |  | 5415|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5415:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
                  OP(DUP, 0): BCNDUP(); NEXT();
  ------------------
  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7521|      2|    OP(PRINTVALUE, 0): PrintValue(BCNPOP()); NEXT();
  ------------------
  |  | 5551|      2|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|      2|    opinfo[name##_OP].argc = (n); \
  |  | 5553|      2|    opinfo[name##_OP].instname = #name; \
  |  | 5554|      2|    goto loop; \
  |  | 5555|      2|    op_##name
  ------------------
                  OP(PRINTVALUE, 0): PrintValue(BCNPOP()); NEXT();
  ------------------
  |  | 1013|      0|#define PrintValue		Rf_PrintValue
  ------------------
                  OP(PRINTVALUE, 0): PrintValue(BCNPOP()); NEXT();
  ------------------
  |  | 5431|      0|#define BCNPOP() (R_BCNodeStackTop--, GETSTACK(0))
  |  |  ------------------
  |  |  |  | 4817|      0|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  OP(PRINTVALUE, 0): PrintValue(BCNPOP()); NEXT();
  ------------------
  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7522|     12|    OP(STARTLOOPCNTXT, 2):
  ------------------
  |  | 5551|      2|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|      2|    opinfo[name##_OP].argc = (n); \
  |  | 5553|      2|    opinfo[name##_OP].instname = #name; \
  |  | 5554|      2|    goto loop; \
  |  | 5555|     12|    op_##name
  ------------------
 7523|     12|	{
 7524|     12|	    int is_for_loop = GETOP();
  ------------------
  |  | 5569|     12|#define GETOP() (*pc++).i
  ------------------
 7525|     12|	    R_bcstack_t *oldtop = R_BCNodeStackTop;
 7526|     12|	    RCNTXT *cntxt = BCNALLOC_CNTXT();
  ------------------
  |  | 5503|     12|#define BCNALLOC_CNTXT() (RCNTXT *) BCNALLOC(sizeof(RCNTXT))
  ------------------
 7527|     12|	    int break_offset = GETOP();
  ------------------
  |  | 5569|     12|#define GETOP() (*pc++).i
  ------------------
 7528|     12|	    BCODE *break_pc = codebase + break_offset;
 7529|     12|	    struct bcEval_locals locals;
 7530|     12|	    SAVE_BCEVAL_LOCALS(&locals);
  ------------------
  |  | 7180|     12|#define SAVE_BCEVAL_LOCALS(loc) do {		\
  |  | 7181|     12|	(loc)->body = body;			\
  |  | 7182|     12|	(loc)->rho = rho;			\
  |  | 7183|     12|	(loc)->vcache = vcache;			\
  |  | 7184|     12|	(loc)->smallcache = smallcache;		\
  |  | 7185|     12|	(loc)->pc = pc;				\
  |  | 7186|     12|    } while (0)
  |  |  ------------------
  |  |  |  Branch (7186:14): [Folded, False: 12]
  |  |  ------------------
  ------------------
 7531|     12|	    PUSH_LOOP_LOCALS(break_pc);
  ------------------
  |  | 7210|     12|#define PUSH_LOOP_LOCALS(bpc) do {				\
  |  | 7211|     12|	struct cntxt_loop_locals *loc =				\
  |  | 7212|     12|	    BCNALLOC(sizeof(struct cntxt_loop_locals));		\
  |  | 7213|     12|	SAVE_BCEVAL_LOCALS(&(loc->locals));			\
  |  |  ------------------
  |  |  |  | 7180|     12|#define SAVE_BCEVAL_LOCALS(loc) do {		\
  |  |  |  | 7181|     12|	(loc)->body = body;			\
  |  |  |  | 7182|     12|	(loc)->rho = rho;			\
  |  |  |  | 7183|     12|	(loc)->vcache = vcache;			\
  |  |  |  | 7184|     12|	(loc)->smallcache = smallcache;		\
  |  |  |  | 7185|     12|	(loc)->pc = pc;				\
  |  |  |  | 7186|     12|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (7186:14): [Folded, False: 12]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7214|     12|	loc->break_pc = (bpc);					\
  |  | 7215|     12|    } while (0)
  |  |  ------------------
  |  |  |  Branch (7215:14): [Folded, False: 12]
  |  |  ------------------
  ------------------
 7532|     12|	    if (is_for_loop) {
  ------------------
  |  Branch (7532:10): [True: 12, False: 0]
  ------------------
 7533|       |		/* duplicate the for loop state data on the top of the stack */
 7534|     12|		R_bcstack_t *loopdata = oldtop - FOR_LOOP_STATE_SIZE;
  ------------------
  |  | 6788|     12|#define FOR_LOOP_STATE_SIZE 5
  ------------------
 7535|     12|		BCNSTACKCHECK(FOR_LOOP_STATE_SIZE);
  ------------------
  |  | 5434|     12|#define BCNSTACKCHECK(n)  do {						\
  |  | 5435|     12|	if (R_BCNodeStackTop + (n) > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  ------------------
  |  |  |  Branch (5435:6): [True: 0, False: 12]
  |  |  ------------------
  |  | 5436|     12|    } while (0)
  |  |  ------------------
  |  |  |  Branch (5436:14): [Folded, False: 12]
  |  |  ------------------
  ------------------
 7536|     72|		for (int i = 0; i < FOR_LOOP_STATE_SIZE; i++)
  ------------------
  |  | 6788|     72|#define FOR_LOOP_STATE_SIZE 5
  ------------------
  |  Branch (7536:19): [True: 60, False: 12]
  ------------------
 7537|     60|		    R_BCNodeStackTop[i] = loopdata[i];
 7538|     12|		R_BCNodeStackTop += FOR_LOOP_STATE_SIZE;
  ------------------
  |  | 6788|     12|#define FOR_LOOP_STATE_SIZE 5
  ------------------
 7539|     12|		SET_FOR_LOOP_BCPROT_OFFSET(R_BCProtTop - R_BCNodeStackBase);
  ------------------
  |  | 6793|     12|#define SET_FOR_LOOP_BCPROT_OFFSET(v) SETSTACK_INTEGER(-5, (int) (v))
  |  |  ------------------
  |  |  |  | 4823|     12|#define SETSTACK_INTEGER(i, v) SETSTACK_INTEGER_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4785|     12|#define SETSTACK_INTEGER_PTR(s, v) do { \
  |  |  |  |  |  | 4786|     12|    int __v__ = (v); \
  |  |  |  |  |  | 4787|     12|    (s)->tag = INTSXP; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  123|     12|#define INTSXP	    13	  /* integer vectors */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4788|     12|    (s)->u.ival = __v__; \
  |  |  |  |  |  | 4789|     12|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4789:10): [Folded, False: 12]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7540|     12|		INCLNK_stack(R_BCNodeStackTop);
 7541|       |
 7542|     12|		begincontext(cntxt, CTXT_LOOP, R_NilValue, rho, R_BaseEnv,
  ------------------
  |  | 1869|     12|# define begincontext		Rf_begincontext
  ------------------
 7543|     12|			     R_NilValue, R_NilValue);
 7544|     12|		switch (SETJMP(cntxt->cjmpbuf)) {
  ------------------
  |  | 1162|     12|# define SETJMP(x) sigsetjmp(x,0)
  ------------------
  |  Branch (7544:11): [True: 0, False: 12]
  ------------------
 7545|      0|		case CTXT_BREAK:
  ------------------
  |  Branch (7545:3): [True: 0, False: 12]
  ------------------
 7546|      0|		    locals = recover_loop_locals(FOR_LOOP_STATE_SIZE, TRUE);
  ------------------
  |  | 6788|      0|#define FOR_LOOP_STATE_SIZE 5
  ------------------
 7547|      0|		    break;
 7548|      0|		case CTXT_NEXT:
  ------------------
  |  Branch (7548:3): [True: 0, False: 12]
  ------------------
 7549|      0|		    locals = recover_loop_locals(FOR_LOOP_STATE_SIZE, FALSE);
  ------------------
  |  | 6788|      0|#define FOR_LOOP_STATE_SIZE 5
  ------------------
 7550|      0|		    break;
 7551|     12|		}
 7552|     12|	    }
 7553|      0|	    else {
 7554|      0|		begincontext(cntxt, CTXT_LOOP, R_NilValue, rho, R_BaseEnv,
  ------------------
  |  | 1869|      0|# define begincontext		Rf_begincontext
  ------------------
 7555|      0|			     R_NilValue, R_NilValue);
 7556|      0|		switch (SETJMP(cntxt->cjmpbuf)) {
  ------------------
  |  | 1162|      0|# define SETJMP(x) sigsetjmp(x,0)
  ------------------
  |  Branch (7556:11): [True: 0, False: 0]
  ------------------
 7557|      0|		case CTXT_BREAK:
  ------------------
  |  Branch (7557:3): [True: 0, False: 0]
  ------------------
 7558|      0|		    locals = recover_loop_locals(0, TRUE);
 7559|      0|		    break;
 7560|      0|		case CTXT_NEXT:
  ------------------
  |  Branch (7560:3): [True: 0, False: 0]
  ------------------
 7561|      0|		    locals = recover_loop_locals(0, FALSE);
 7562|      0|		    BC_CHECK_SIGINT();
  ------------------
  |  | 6194|      0|#define BC_CHECK_SIGINT() do {			\
  |  | 6195|      0|	if (++evalcount > BC_COUNT_DELTA) {	\
  |  |  ------------------
  |  |  |  |   45|      0|#define BC_COUNT_DELTA 127
  |  |  ------------------
  |  |  |  Branch (6195:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 6196|      0|	    bc_check_sigint();			\
  |  | 6197|      0|	    evalcount = 0;			\
  |  | 6198|      0|	}					\
  |  | 6199|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6199:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 7563|      0|		    break;
 7564|      0|		}
 7565|      0|	    }
 7566|     12|	    RESTORE_BCEVAL_LOCALS(&locals);
  ------------------
  |  | 7188|     12|#define RESTORE_BCEVAL_LOCALS(loc) do {		\
  |  | 7189|     12|	body = (loc)->body;			\
  |  | 7190|     12|	codebase = BCCODE(body);		\
  |  |  ------------------
  |  |  |  | 5572|     12|#define BCCODE(e) BCODE_PTR(BCODE_CODE(e))
  |  |  |  |  ------------------
  |  |  |  |  |  |  736|     12|#define BCODE_PTR(x) ((BCODE *) DATAPTR(x))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7191|     12|	constants = BCCONSTS(body);		\
  |  |  ------------------
  |  |  |  | 5461|     12|    (R_bcconsts_t) {((SEXP const *) DATAPTR_RO(BCODE_CONSTS(e)))}
  |  |  |  |  ------------------
  |  |  |  |  |  |  737|     12|#define BCODE_CONSTS(x) CDR(x)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7192|     12|	rho = (loc)->rho;			\
  |  | 7193|     12|	vcache = (loc)->vcache;			\
  |  | 7194|     12|	smallcache = (loc)->smallcache;		\
  |  | 7195|     12|	pc = (loc)->pc;				\
  |  | 7196|     12|    } while (0)
  |  |  ------------------
  |  |  |  Branch (7196:14): [Folded, False: 12]
  |  |  ------------------
  ------------------
 7567|     12|	    NEXT();
  ------------------
  |  | 5568|     12|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7568|       |	    /* context, offsets on stack, to be popped by ENDLOOPCNTXT */
 7569|     12|	}
 7570|     14|    OP(ENDLOOPCNTXT, 1):
  ------------------
  |  | 5551|     14|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|     14|    opinfo[name##_OP].argc = (n); \
  |  | 5553|     14|    opinfo[name##_OP].instname = #name; \
  |  | 5554|     14|    goto loop; \
  |  | 5555|     14|    op_##name
  ------------------
 7571|     12|	{
 7572|     12|	    int is_for_loop = GETOP();
  ------------------
  |  | 5569|     12|#define GETOP() (*pc++).i
  ------------------
 7573|     12|	    if (is_for_loop) {
  ------------------
  |  Branch (7573:10): [True: 12, False: 0]
  ------------------
 7574|     12|		int offset = GET_FOR_LOOP_BCPROT_OFFSET();
  ------------------
  |  | 6794|     12|#define GET_FOR_LOOP_BCPROT_OFFSET() GETSTACK_IVAL_PTR(R_BCNodeStackTop - 5)
  |  |  ------------------
  |  |  |  | 4755|     12|#define GETSTACK_IVAL_PTR(s) ((s)->u.ival)
  |  |  ------------------
  ------------------
 7575|     12|		DECLNK_stack(R_BCNodeStackBase + offset);
 7576|       |
 7577|       |		/* remove the duplicated for loop state data */
 7578|     12|		R_BCNodeStackTop -= FOR_LOOP_STATE_SIZE;
  ------------------
  |  | 6788|     12|#define FOR_LOOP_STATE_SIZE 5
  ------------------
 7579|     12|	    }
 7580|     12|	    POP_LOOP_LOCALS();
  ------------------
  |  | 7217|     12|#define POP_LOOP_LOCALS() do {					\
  |  | 7218|     12|	BCNPOP_ALLOC(sizeof(struct cntxt_loop_locals));		\
  |  | 7219|     12|    } while (0)
  |  |  ------------------
  |  |  |  Branch (7219:14): [Folded, False: 12]
  |  |  ------------------
  ------------------
 7581|     12|	    BCNPOP_AND_END_CNTXT();
 7582|     12|	    NEXT();
  ------------------
  |  | 5568|     12|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7583|     12|	}
 7584|     14|    OP(DOLOOPNEXT, 0): findcontext(CTXT_NEXT, rho, R_NilValue);
  ------------------
  |  | 5551|     14|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|     14|    opinfo[name##_OP].argc = (n); \
  |  | 5553|     14|    opinfo[name##_OP].instname = #name; \
  |  | 5554|     14|    goto loop; \
  |  | 5555|     14|    op_##name
  ------------------
                  OP(DOLOOPNEXT, 0): findcontext(CTXT_NEXT, rho, R_NilValue);
  ------------------
  |  | 1906|      0|# define findcontext		Rf_findcontext
  ------------------
 7585|      2|    OP(DOLOOPBREAK, 0): findcontext(CTXT_BREAK, rho, R_NilValue);
  ------------------
  |  | 5551|      2|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|      2|    opinfo[name##_OP].argc = (n); \
  |  | 5553|      2|    opinfo[name##_OP].instname = #name; \
  |  | 5554|      2|    goto loop; \
  |  | 5555|      2|    op_##name
  ------------------
                  OP(DOLOOPBREAK, 0): findcontext(CTXT_BREAK, rho, R_NilValue);
  ------------------
  |  | 1906|      0|# define findcontext		Rf_findcontext
  ------------------
 7586|  1.05M|    OP(STARTFOR, 3):
  ------------------
  |  | 5551|      2|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|      2|    opinfo[name##_OP].argc = (n); \
  |  | 5553|      2|    opinfo[name##_OP].instname = #name; \
  |  | 5554|      2|    goto loop; \
  |  | 5555|  1.05M|    op_##name
  ------------------
 7587|  1.05M|      {
 7588|  1.05M|	Rboolean iscompact = FALSE;
 7589|  1.05M|	SEXP seq = getForLoopSeq(-1, &iscompact);
 7590|  1.05M|	int callidx = GETOP();
  ------------------
  |  | 5569|  1.05M|#define GETOP() (*pc++).i
  ------------------
 7591|  1.05M|	SEXP symbol = GETCONST(constants, GETOP());
  ------------------
  |  | 5463|  1.05M|#define GETCONST(x, i) ((x).p)[i]
  ------------------
 7592|  1.05M|	int label = GETOP();
  ------------------
  |  | 5569|  1.05M|#define GETOP() (*pc++).i
  ------------------
 7593|       |
 7594|  1.05M|	INSERT_FOR_LOOP_BCPROT_OFFSET();
  ------------------
  |  | 6795|  1.05M|#define INSERT_FOR_LOOP_BCPROT_OFFSET() do {				\
  |  | 6796|  1.05M|	/* insert space for the BCProt offset below the sequence */	\
  |  | 6797|  1.05M|	if (R_BCNodeStackTop >= R_BCNodeStackEnd)			\
  |  |  ------------------
  |  |  |  Branch (6797:6): [True: 0, False: 1.05M]
  |  |  ------------------
  |  | 6798|  1.05M|	    nodeStackOverflow();					\
  |  | 6799|  1.05M|	R_BCNodeStackTop[0] = R_BCNodeStackTop[-1];			\
  |  | 6800|  1.05M|	SETSTACK_INTEGER(-1, 0);					\
  |  |  ------------------
  |  |  |  | 4823|  1.05M|#define SETSTACK_INTEGER(i, v) SETSTACK_INTEGER_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4785|  1.05M|#define SETSTACK_INTEGER_PTR(s, v) do { \
  |  |  |  |  |  | 4786|  1.05M|    int __v__ = (v); \
  |  |  |  |  |  | 4787|  1.05M|    (s)->tag = INTSXP; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  123|  1.05M|#define INTSXP	    13	  /* integer vectors */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4788|  1.05M|    (s)->u.ival = __v__; \
  |  |  |  |  |  | 4789|  1.05M|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4789:10): [Folded, False: 1.05M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6801|  1.05M|	R_BCNodeStackTop++;						\
  |  | 6802|  1.05M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6802:14): [Folded, False: 1.05M]
  |  |  ------------------
  ------------------
 7595|       |
 7596|       |	/* if we are iterating over a factor, coerce to character first */
 7597|  1.05M|	if (inherits(seq, "factor")) {
  ------------------
  |  |  933|  1.05M|#define inherits		Rf_inherits
  ------------------
  |  Branch (7597:6): [True: 0, False: 1.05M]
  ------------------
 7598|      0|	    seq = asCharacterFactor(seq);
  ------------------
  |  |  883|      0|#define asCharacterFactor	Rf_asCharacterFactor
  ------------------
 7599|      0|	    SETSTACK(-1, seq);
  ------------------
  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  ------------------
  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7600|      0|	}
 7601|       |
 7602|  1.05M|	defineVar(symbol, R_NilValue, rho);
  ------------------
  |  |  905|  1.05M|#define defineVar		Rf_defineVar
  ------------------
 7603|  1.05M|	BCNPUSH(GET_BINDING_CELL(symbol, rho));
  ------------------
  |  | 5362|  1.05M|#define BCNPUSH(v) do { \
  |  | 5363|  1.05M|  SEXP __value__ = (v); \
  |  | 5364|  1.05M|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  | 5365|  1.05M|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  ------------------
  |  |  |  Branch (5365:7): [True: 0, False: 1.05M]
  |  |  ------------------
  |  | 5366|  1.05M|  SETSTACK(0, __value__); \
  |  |  ------------------
  |  |  |  | 4819|  1.05M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|  1.05M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|  1.05M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|  1.05M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 1.05M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|  1.05M|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|  1.05M|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|  1.05M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|  1.05M|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 1.05M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5367|  1.05M|  R_BCNodeStackTop = __ntop__; \
  |  | 5368|  1.05M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5368:10): [Folded, False: 1.05M]
  |  |  ------------------
  ------------------
 7604|       |
 7605|  1.05M|	SEXP value = allocVector(RAWSXP, sizeof(R_loopinfo_t));
  ------------------
  |  |  875|  1.05M|#define allocVector		Rf_allocVector
  ------------------
              	SEXP value = allocVector(RAWSXP, sizeof(R_loopinfo_t));
  ------------------
  |  |  136|  1.05M|#define RAWSXP      24    /* raw bytes */
  ------------------
 7606|  1.05M|	R_loopinfo_t *loopinfo = (R_loopinfo_t *) RAW0(value);
 7607|  1.05M|	loopinfo->idx = -1;
 7608|  1.05M|#ifdef COMPACT_INTSEQ
 7609|  1.05M|	if (iscompact) {
  ------------------
  |  Branch (7609:6): [True: 1.05M, False: 160]
  ------------------
 7610|  1.05M|	    int n1 = INTEGER(seq)[0];
 7611|  1.05M|	    int n2 = INTEGER(seq)[1];
 7612|  1.05M|	    loopinfo->len = n1 <= n2 ? n2 - n1 + 1 : n1 - n2 + 1;
  ------------------
  |  Branch (7612:22): [True: 1.05M, False: 0]
  ------------------
 7613|  1.05M|	}
 7614|    160|	else
 7615|    160|#endif
 7616|    160|	if (isVector(seq))
  ------------------
  |  |  974|    160|#define isVector		Rf_isVector
  ------------------
  |  Branch (7616:6): [True: 148, False: 12]
  ------------------
 7617|    148|	  loopinfo->len = XLENGTH(seq);
 7618|     12|	else if (isList(seq) || isNull(seq))
  ------------------
  |  |  951|     12|#define isList			Rf_isList
  ------------------
              	else if (isList(seq) || isNull(seq))
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
  |  Branch (7618:11): [True: 12, False: 0]
  |  Branch (7618:26): [True: 0, False: 0]
  ------------------
 7619|     12|	  loopinfo->len = length(seq);
  ------------------
  |  |  987|     12|#define length(x)		Rf_length(x)
  ------------------
 7620|      0|	else errorcall(GETCONST(constants, callidx),
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	else errorcall(GETCONST(constants, callidx),
  ------------------
  |  | 5463|      0|#define GETCONST(x, i) ((x).p)[i]
  ------------------
 7621|      0|		       _("invalid for() loop sequence"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 7622|  1.05M|#ifdef COMPACT_INTSEQ
 7623|  1.05M|	loopinfo->type = iscompact ? INTSEQSXP : TYPEOF(seq);
  ------------------
  |  | 4714|  1.05M|# define INTSEQSXP 9999
  ------------------
  |  Branch (7623:19): [True: 1.05M, False: 160]
  ------------------
 7624|       |#else
 7625|       |	loopinfo->type = TYPEOF(seq);
 7626|       |#endif
 7627|  1.05M|	loopinfo->symbol = symbol;
 7628|  1.05M|	BCNPUSH(value);
  ------------------
  |  | 5362|  1.05M|#define BCNPUSH(v) do { \
  |  | 5363|  1.05M|  SEXP __value__ = (v); \
  |  | 5364|  1.05M|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  | 5365|  1.05M|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  ------------------
  |  |  |  Branch (5365:7): [True: 0, False: 1.05M]
  |  |  ------------------
  |  | 5366|  1.05M|  SETSTACK(0, __value__); \
  |  |  ------------------
  |  |  |  | 4819|  1.05M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|  1.05M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|  1.05M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|  1.05M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 1.05M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|  1.05M|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|  1.05M|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|  1.05M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|  1.05M|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 1.05M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5367|  1.05M|  R_BCNodeStackTop = __ntop__; \
  |  | 5368|  1.05M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5368:10): [Folded, False: 1.05M]
  |  |  ------------------
  ------------------
 7629|       |
 7630|       |	/* bump up links count of seq to avoid modification by loop code */
 7631|  1.05M|	INCREMENT_LINKS(seq);
  ------------------
  |  |  540|  1.05M|#define INCREMENT_LINKS(x) do {			\
  |  |  541|  1.05M|	SEXP il__x__ = (x);			\
  |  |  542|  1.05M|	INCREMENT_NAMED(il__x__);		\
  |  |  ------------------
  |  |  |  |  222|  1.05M|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:43): [Folded, False: 1.05M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  543|  1.05M|	INCREMENT_REFCNT(il__x__);		\
  |  |  544|  1.05M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (544:14): [Folded, False: 1.05M]
  |  |  ------------------
  ------------------
 7632|       |
 7633|       |	/* place initial loop variable value object on stack */
 7634|  1.05M|	switch(TYPEOF(seq)) {
 7635|      0|	case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (7635:2): [True: 0, False: 1.05M]
  ------------------
 7636|  1.05M|	case INTSXP:
  ------------------
  |  |  123|  1.05M|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (7636:2): [True: 1.05M, False: 130]
  ------------------
 7637|  1.05M|	case REALSXP:
  ------------------
  |  |  124|  1.05M|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (7637:2): [True: 0, False: 1.05M]
  ------------------
 7638|  1.05M|	case CPLXSXP:
  ------------------
  |  |  125|  1.05M|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (7638:2): [True: 0, False: 1.05M]
  ------------------
 7639|  1.05M|	case STRSXP:
  ------------------
  |  |  126|  1.05M|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (7639:2): [True: 46, False: 1.05M]
  ------------------
 7640|  1.05M|	case RAWSXP:
  ------------------
  |  |  136|  1.05M|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (7640:2): [True: 0, False: 1.05M]
  ------------------
 7641|  1.05M|	    value = allocVector(TYPEOF(seq), 1);
  ------------------
  |  |  875|  1.05M|#define allocVector		Rf_allocVector
  ------------------
 7642|  1.05M|	    INCREMENT_NAMED(value);
  ------------------
  |  |  222|  1.05M|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  ------------------
  |  |  |  Branch (222:43): [Folded, False: 1.05M]
  |  |  ------------------
  ------------------
 7643|  1.05M|	    BCNPUSH_NLNK(value);
  ------------------
  |  | 5370|  1.05M|#define BCNPUSH_NLNK(v) do {			\
  |  | 5371|  1.05M|	BCNPUSH(R_NilValue);			\
  |  |  ------------------
  |  |  |  | 5362|  1.05M|#define BCNPUSH(v) do { \
  |  |  |  | 5363|  1.05M|  SEXP __value__ = (v); \
  |  |  |  | 5364|  1.05M|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5365|  1.05M|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5365:7): [True: 0, False: 1.05M]
  |  |  |  |  ------------------
  |  |  |  | 5366|  1.05M|  SETSTACK(0, __value__); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  1.05M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  1.05M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  1.05M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  1.05M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 1.05M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  1.05M|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|  1.05M|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  1.05M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  1.05M|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 1.05M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5367|  1.05M|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5368|  1.05M|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5368:10): [Folded, False: 1.05M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5372|  1.05M|	SETSTACK_NLNK(-1, v);			\
  |  |  ------------------
  |  |  |  | 4763|  1.05M|#define SETSTACK_NLNK(i, v) SETSTACK_NLNK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4757|  1.05M|#define SETSTACK_NLNK_PTR(s, v) do {			\
  |  |  |  |  |  | 4758|  1.05M|	R_bcstack_t *__s__ = (s);			\
  |  |  |  |  |  | 4759|  1.05M|	SEXP __v__ = (v);				\
  |  |  |  |  |  | 4760|  1.05M|	__s__->tag = NLNKSXP;				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4717|  1.05M|#define NLNKSXP 9996
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4761|  1.05M|	__s__->u.sxpval = __v__;			\
  |  |  |  |  |  | 4762|  1.05M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4762:14): [Folded, False: 1.05M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5373|  1.05M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (5373:14): [Folded, False: 1.05M]
  |  |  ------------------
  ------------------
 7644|  1.05M|	    break;
 7645|     84|	default: BCNPUSH(R_NilValue);
  ------------------
  |  | 5362|     84|#define BCNPUSH(v) do { \
  |  | 5363|     84|  SEXP __value__ = (v); \
  |  | 5364|     84|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  | 5365|     84|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  ------------------
  |  |  |  Branch (5365:7): [True: 0, False: 84]
  |  |  ------------------
  |  | 5366|     84|  SETSTACK(0, __value__); \
  |  |  ------------------
  |  |  |  | 4819|     84|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|     84|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|     84|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|     84|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 84]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|     84|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|     84|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|     84|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|     84|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 84]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5367|     84|  R_BCNodeStackTop = __ntop__; \
  |  | 5368|     84|} while (0)
  |  |  ------------------
  |  |  |  Branch (5368:10): [Folded, False: 84]
  |  |  ------------------
  ------------------
  |  Branch (7645:2): [True: 84, False: 1.05M]
  ------------------
 7646|  1.05M|	}
 7647|       |	/* the seq, binding cell, and value on the stack are now boxed */
 7648|       |
 7649|  1.05M|	SET_FOR_LOOP_BCPROT_OFFSET(R_BCProtTop - R_BCNodeStackBase);
  ------------------
  |  | 6793|  1.05M|#define SET_FOR_LOOP_BCPROT_OFFSET(v) SETSTACK_INTEGER(-5, (int) (v))
  |  |  ------------------
  |  |  |  | 4823|  1.05M|#define SETSTACK_INTEGER(i, v) SETSTACK_INTEGER_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4785|  1.05M|#define SETSTACK_INTEGER_PTR(s, v) do { \
  |  |  |  |  |  | 4786|  1.05M|    int __v__ = (v); \
  |  |  |  |  |  | 4787|  1.05M|    (s)->tag = INTSXP; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  123|  1.05M|#define INTSXP	    13	  /* integer vectors */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4788|  1.05M|    (s)->u.ival = __v__; \
  |  |  |  |  |  | 4789|  1.05M|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4789:10): [Folded, False: 1.05M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7650|  1.05M|	INCLNK_stack(R_BCNodeStackTop);
 7651|       |
 7652|  1.05M|	BC_CHECK_SIGINT();
  ------------------
  |  | 6194|  1.05M|#define BC_CHECK_SIGINT() do {			\
  |  | 6195|  1.05M|	if (++evalcount > BC_COUNT_DELTA) {	\
  |  |  ------------------
  |  |  |  |   45|  1.05M|#define BC_COUNT_DELTA 127
  |  |  ------------------
  |  |  |  Branch (6195:6): [True: 9, False: 1.05M]
  |  |  ------------------
  |  | 6196|      9|	    bc_check_sigint();			\
  |  | 6197|      9|	    evalcount = 0;			\
  |  | 6198|      9|	}					\
  |  | 6199|  1.05M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6199:14): [Folded, False: 1.05M]
  |  |  ------------------
  ------------------
 7653|  1.05M|	pc = codebase + label;
 7654|  1.05M|	NEXT();
  ------------------
  |  | 5568|  1.05M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7655|  1.05M|      }
 7656|  2.11M|    OP(STEPFOR, 1):
  ------------------
  |  | 5551|  1.05M|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  1.05M|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  1.05M|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  1.05M|    goto loop; \
  |  | 5555|  2.11M|    op_##name
  ------------------
 7657|  2.11M|      {
 7658|  2.11M|	int label = GETOP();
  ------------------
  |  | 5569|  2.11M|#define GETOP() (*pc++).i
  ------------------
 7659|  2.11M|	R_loopinfo_t *loopinfo = GET_FOR_LOOP_INFO();
  ------------------
  |  | 6789|  2.11M|#define GET_FOR_LOOP_INFO() ((R_loopinfo_t *) RAW0(GETSTACK_SXPVAL(-2)))
  |  |  ------------------
  |  |  |  | 4815|  2.11M|#define GETSTACK_SXPVAL(i) GETSTACK_SXPVAL_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4753|  2.11M|#define GETSTACK_SXPVAL_PTR(s) ((s)->u.sxpval)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7660|  2.11M|	R_xlen_t i = ++(loopinfo->idx);
 7661|  2.11M|	R_xlen_t n = loopinfo->len;
 7662|  2.11M|	if (i < n) {
  ------------------
  |  Branch (7662:6): [True: 1.06M, False: 1.05M]
  ------------------
 7663|  1.06M|	  BC_CHECK_SIGINT_LOOP(i);
  ------------------
  |  | 6203|  1.06M|#define BC_CHECK_SIGINT_LOOP(i) do {		\
  |  | 6204|  1.06M|	if ((i & BC_LOOP_COUNT_MASK) == 0) {	\
  |  |  ------------------
  |  |  |  | 6202|  1.06M|#define BC_LOOP_COUNT_MASK BC_COUNT_DELTA
  |  |  |  |  ------------------
  |  |  |  |  |  |   45|  1.06M|#define BC_COUNT_DELTA 127
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6204:6): [True: 1.05M, False: 7.69k]
  |  |  ------------------
  |  | 6205|  1.05M|	    bc_check_sigint();			\
  |  | 6206|  1.05M|	    evalcount = 0;			\
  |  | 6207|  1.05M|	}					\
  |  | 6208|  1.06M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6208:14): [Folded, False: 1.06M]
  |  |  ------------------
  ------------------
 7664|  1.06M|	  pc = codebase + label;
 7665|  1.06M|	  int type = loopinfo->type;
 7666|  1.06M|	  SEXP seq = GET_FOR_LOOP_SEQ();
  ------------------
  |  | 6791|  1.06M|#define GET_FOR_LOOP_SEQ() GETSTACK_SXPVAL(-4)
  |  |  ------------------
  |  |  |  | 4815|  1.06M|#define GETSTACK_SXPVAL(i) GETSTACK_SXPVAL_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4753|  1.06M|#define GETSTACK_SXPVAL_PTR(s) ((s)->u.sxpval)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7667|  1.06M|	  SEXP cell = GET_FOR_LOOP_BINDING();
  ------------------
  |  | 6790|  1.06M|#define GET_FOR_LOOP_BINDING() GETSTACK_SXPVAL(-3)
  |  |  ------------------
  |  |  |  | 4815|  1.06M|#define GETSTACK_SXPVAL(i) GETSTACK_SXPVAL_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4753|  1.06M|#define GETSTACK_SXPVAL_PTR(s) ((s)->u.sxpval)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7668|  1.06M|	  SEXP value = NULL;
 7669|  1.06M|	  switch (type) {
 7670|      0|	  case REALSXP:
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (7670:4): [True: 0, False: 1.06M]
  ------------------
 7671|      0|	    if (BNDCELL_TAG_WR(cell) == REALSXP) {
  ------------------
  |  | 5595|      0|#define BNDCELL_TAG_WR(v) (BINDING_IS_LOCKED(v) ? 0 : BNDCELL_TAG(v))
  |  |  ------------------
  |  |  |  Branch (5595:28): [True: 0, False: 0]
  |  |  ------------------
  ------------------
              	    if (BNDCELL_TAG_WR(cell) == REALSXP) {
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (7671:10): [True: 0, False: 0]
  ------------------
 7672|      0|		SET_BNDCELL_DVAL(cell,  REAL_ELT(seq, i));
 7673|      0|		NEXT();
  ------------------
  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7674|      0|	    }
 7675|      0|	    if (BNDCELL_WRITABLE(cell)) {
  ------------------
  |  | 5598|      0|    (v != R_NilValue &&	 ! BINDING_IS_LOCKED(v) && ! IS_ACTIVE_BINDING(v))
  |  |  ------------------
  |  |  |  Branch (5598:6): [True: 0, False: 0]
  |  |  |  Branch (5598:26): [True: 0, False: 0]
  |  |  |  Branch (5598:52): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 7676|      0|		NEW_BNDCELL_DVAL(cell, REAL_ELT(seq, i));
 7677|      0|		NEXT();
  ------------------
  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7678|      0|	    }
 7679|      0|	    GET_VEC_LOOP_VALUE(value);
  ------------------
  |  | 6804|      0|#define GET_VEC_LOOP_VALUE(var) do {			\
  |  | 6805|      0|	(var) = GETSTACK_SXPVAL(-1);			\
  |  |  ------------------
  |  |  |  | 4815|      0|#define GETSTACK_SXPVAL(i) GETSTACK_SXPVAL_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4753|      0|#define GETSTACK_SXPVAL_PTR(s) ((s)->u.sxpval)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6806|      0|	if (BNDCELL_TAG(cell) ||			\
  |  |  ------------------
  |  |  |  Branch (6806:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 6807|      0|	    (var) != CAR(cell) || MAYBE_SHARED(var) ||	\
  |  |  ------------------
  |  |  |  Branch (6807:6): [True: 0, False: 0]
  |  |  |  Branch (6807:28): [True: 0, False: 0]
  |  |  ------------------
  |  | 6808|      0|	    ATTRIB(var) != R_NilValue) {		\
  |  |  ------------------
  |  |  |  Branch (6808:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 6809|      0|	    (var) = allocVector(TYPEOF(seq), 1);	\
  |  |  ------------------
  |  |  |  |  875|      0|#define allocVector		Rf_allocVector
  |  |  ------------------
  |  | 6810|      0|	    SETSTACK_NLNK(-1, var);			\
  |  |  ------------------
  |  |  |  | 4763|      0|#define SETSTACK_NLNK(i, v) SETSTACK_NLNK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4757|      0|#define SETSTACK_NLNK_PTR(s, v) do {			\
  |  |  |  |  |  | 4758|      0|	R_bcstack_t *__s__ = (s);			\
  |  |  |  |  |  | 4759|      0|	SEXP __v__ = (v);				\
  |  |  |  |  |  | 4760|      0|	__s__->tag = NLNKSXP;				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4717|      0|#define NLNKSXP 9996
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4761|      0|	__s__->u.sxpval = __v__;			\
  |  |  |  |  |  | 4762|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4762:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6811|      0|	    INCREMENT_NAMED(var);			\
  |  |  ------------------
  |  |  |  |  222|      0|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:43): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6812|      0|	}						\
  |  | 6813|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6813:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 7680|      0|	    SET_SCALAR_DVAL(value, REAL_ELT(seq, i));
 7681|      0|	    SET_FOR_LOOP_VAR(value, cell, loopinfo, rho);
  ------------------
  |  | 6817|      0|#define SET_FOR_LOOP_VAR(value, cell, loopinfo, rho) do {	\
  |  | 6818|      0|	if (BNDCELL_UNBOUND(cell) ||				\
  |  |  ------------------
  |  |  |  | 5599|      0|#define BNDCELL_UNBOUND(v) (BNDCELL_TAG(v) == 0 && CAR0(v) == R_UnboundValue)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5599:29): [True: 0, False: 0]
  |  |  |  |  |  Branch (5599:52): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6819|      0|	    ! SET_BINDING_VALUE(cell, value))			\
  |  |  ------------------
  |  |  |  Branch (6819:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 6820|      0|	    defineVar(loopinfo->symbol, value, rho);		\
  |  |  ------------------
  |  |  |  |  905|      0|#define defineVar		Rf_defineVar
  |  |  ------------------
  |  | 6821|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6821:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 7682|      0|	    NEXT();
  ------------------
  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7683|    886|	  case INTSXP:
  ------------------
  |  |  123|    886|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (7683:4): [True: 886, False: 1.06M]
  ------------------
 7684|    886|	    if (BNDCELL_TAG_WR(cell) == INTSXP) {
  ------------------
  |  | 5595|    886|#define BNDCELL_TAG_WR(v) (BINDING_IS_LOCKED(v) ? 0 : BNDCELL_TAG(v))
  |  |  ------------------
  |  |  |  Branch (5595:28): [True: 0, False: 886]
  |  |  ------------------
  ------------------
              	    if (BNDCELL_TAG_WR(cell) == INTSXP) {
  ------------------
  |  |  123|    886|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (7684:10): [True: 862, False: 24]
  ------------------
 7685|    862|		SET_BNDCELL_IVAL(cell, INTEGER_ELT(seq, i));
 7686|    862|		NEXT();
  ------------------
  |  | 5568|    862|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7687|    862|	    }
 7688|    886|	    if (BNDCELL_WRITABLE(cell)) {
  ------------------
  |  | 5598|    886|    (v != R_NilValue &&	 ! BINDING_IS_LOCKED(v) && ! IS_ACTIVE_BINDING(v))
  |  |  ------------------
  |  |  |  Branch (5598:6): [True: 24, False: 862]
  |  |  |  Branch (5598:26): [True: 24, False: 0]
  |  |  |  Branch (5598:52): [True: 24, False: 0]
  |  |  ------------------
  ------------------
 7689|     24|		NEW_BNDCELL_IVAL(cell, INTEGER_ELT(seq, i));
 7690|     24|		NEXT();
  ------------------
  |  | 5568|     24|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7691|     24|	    }
 7692|    886|	    GET_VEC_LOOP_VALUE(value);
  ------------------
  |  | 6804|    886|#define GET_VEC_LOOP_VALUE(var) do {			\
  |  | 6805|    886|	(var) = GETSTACK_SXPVAL(-1);			\
  |  |  ------------------
  |  |  |  | 4815|    886|#define GETSTACK_SXPVAL(i) GETSTACK_SXPVAL_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4753|    886|#define GETSTACK_SXPVAL_PTR(s) ((s)->u.sxpval)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6806|    886|	if (BNDCELL_TAG(cell) ||			\
  |  |  ------------------
  |  |  |  Branch (6806:6): [True: 886, False: 0]
  |  |  ------------------
  |  | 6807|    886|	    (var) != CAR(cell) || MAYBE_SHARED(var) ||	\
  |  |  ------------------
  |  |  |  Branch (6807:6): [True: 0, False: 0]
  |  |  |  Branch (6807:28): [True: 0, False: 0]
  |  |  ------------------
  |  | 6808|    886|	    ATTRIB(var) != R_NilValue) {		\
  |  |  ------------------
  |  |  |  Branch (6808:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 6809|      0|	    (var) = allocVector(TYPEOF(seq), 1);	\
  |  |  ------------------
  |  |  |  |  875|      0|#define allocVector		Rf_allocVector
  |  |  ------------------
  |  | 6810|      0|	    SETSTACK_NLNK(-1, var);			\
  |  |  ------------------
  |  |  |  | 4763|      0|#define SETSTACK_NLNK(i, v) SETSTACK_NLNK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4757|      0|#define SETSTACK_NLNK_PTR(s, v) do {			\
  |  |  |  |  |  | 4758|      0|	R_bcstack_t *__s__ = (s);			\
  |  |  |  |  |  | 4759|      0|	SEXP __v__ = (v);				\
  |  |  |  |  |  | 4760|      0|	__s__->tag = NLNKSXP;				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4717|      0|#define NLNKSXP 9996
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4761|      0|	__s__->u.sxpval = __v__;			\
  |  |  |  |  |  | 4762|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4762:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6811|      0|	    INCREMENT_NAMED(var);			\
  |  |  ------------------
  |  |  |  |  222|      0|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:43): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6812|      0|	}						\
  |  | 6813|    886|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6813:14): [Folded, False: 886]
  |  |  ------------------
  ------------------
 7693|    886|	    SET_SCALAR_IVAL(value, INTEGER_ELT(seq, i));
 7694|    886|	    SET_FOR_LOOP_VAR(value, cell, loopinfo, rho);
  ------------------
  |  | 6817|    886|#define SET_FOR_LOOP_VAR(value, cell, loopinfo, rho) do {	\
  |  | 6818|    886|	if (BNDCELL_UNBOUND(cell) ||				\
  |  |  ------------------
  |  |  |  | 5599|  1.77k|#define BNDCELL_UNBOUND(v) (BNDCELL_TAG(v) == 0 && CAR0(v) == R_UnboundValue)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5599:29): [True: 0, False: 886]
  |  |  |  |  |  Branch (5599:52): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6819|    886|	    ! SET_BINDING_VALUE(cell, value))			\
  |  |  ------------------
  |  |  |  Branch (6819:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 6820|    886|	    defineVar(loopinfo->symbol, value, rho);		\
  |  |  ------------------
  |  |  |  |  905|      0|#define defineVar		Rf_defineVar
  |  |  ------------------
  |  | 6821|    886|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6821:14): [Folded, False: 886]
  |  |  ------------------
  ------------------
 7695|    886|	    NEXT();
  ------------------
  |  | 5568|    886|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7696|    886|#ifdef COMPACT_INTSEQ
 7697|  1.06M|	  case INTSEQSXP:
  ------------------
  |  | 4714|  1.06M|# define INTSEQSXP 9999
  ------------------
  |  Branch (7697:4): [True: 1.06M, False: 1.40k]
  ------------------
 7698|  1.06M|	    {
 7699|  1.06M|		int *info = INTEGER(seq);
 7700|  1.06M|		int n1 = info[0];
 7701|  1.06M|		int n2 = info[1];
 7702|  1.06M|		int ii = (int) i;
 7703|  1.06M|		int ival = n1 <= n2 ? n1 + ii : n1 - ii;
  ------------------
  |  Branch (7703:14): [True: 1.06M, False: 886]
  ------------------
 7704|  1.06M|		if (BNDCELL_TAG_WR(cell) == INTSXP) {
  ------------------
  |  | 5595|  1.06M|#define BNDCELL_TAG_WR(v) (BINDING_IS_LOCKED(v) ? 0 : BNDCELL_TAG(v))
  |  |  ------------------
  |  |  |  Branch (5595:28): [True: 0, False: 1.06M]
  |  |  ------------------
  ------------------
              		if (BNDCELL_TAG_WR(cell) == INTSXP) {
  ------------------
  |  |  123|  1.06M|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (7704:7): [True: 4.82k, False: 1.05M]
  ------------------
 7705|  4.82k|		    SET_BNDCELL_IVAL(cell,  ival);
 7706|  4.82k|		    NEXT();
  ------------------
  |  | 5568|  4.82k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7707|  4.82k|		}
 7708|  1.06M|		if (BNDCELL_WRITABLE(cell)) {
  ------------------
  |  | 5598|  1.06M|    (v != R_NilValue &&	 ! BINDING_IS_LOCKED(v) && ! IS_ACTIVE_BINDING(v))
  |  |  ------------------
  |  |  |  Branch (5598:6): [True: 1.05M, False: 5.71k]
  |  |  |  Branch (5598:26): [True: 1.05M, False: 0]
  |  |  |  Branch (5598:52): [True: 1.05M, False: 0]
  |  |  ------------------
  ------------------
 7709|  1.05M|		    NEW_BNDCELL_IVAL(cell, ival);
 7710|  1.05M|		    NEXT();
  ------------------
  |  | 5568|  1.05M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7711|  1.05M|		}
 7712|  1.06M|		GET_VEC_LOOP_VALUE(value);
  ------------------
  |  | 6804|  1.06M|#define GET_VEC_LOOP_VALUE(var) do {			\
  |  | 6805|  1.06M|	(var) = GETSTACK_SXPVAL(-1);			\
  |  |  ------------------
  |  |  |  | 4815|  1.06M|#define GETSTACK_SXPVAL(i) GETSTACK_SXPVAL_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4753|  1.06M|#define GETSTACK_SXPVAL_PTR(s) ((s)->u.sxpval)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6806|  1.06M|	if (BNDCELL_TAG(cell) ||			\
  |  |  ------------------
  |  |  |  Branch (6806:6): [True: 1.06M, False: 0]
  |  |  ------------------
  |  | 6807|  1.06M|	    (var) != CAR(cell) || MAYBE_SHARED(var) ||	\
  |  |  ------------------
  |  |  |  Branch (6807:6): [True: 0, False: 0]
  |  |  |  Branch (6807:28): [True: 0, False: 0]
  |  |  ------------------
  |  | 6808|  1.06M|	    ATTRIB(var) != R_NilValue) {		\
  |  |  ------------------
  |  |  |  Branch (6808:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 6809|      0|	    (var) = allocVector(TYPEOF(seq), 1);	\
  |  |  ------------------
  |  |  |  |  875|      0|#define allocVector		Rf_allocVector
  |  |  ------------------
  |  | 6810|      0|	    SETSTACK_NLNK(-1, var);			\
  |  |  ------------------
  |  |  |  | 4763|      0|#define SETSTACK_NLNK(i, v) SETSTACK_NLNK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4757|      0|#define SETSTACK_NLNK_PTR(s, v) do {			\
  |  |  |  |  |  | 4758|      0|	R_bcstack_t *__s__ = (s);			\
  |  |  |  |  |  | 4759|      0|	SEXP __v__ = (v);				\
  |  |  |  |  |  | 4760|      0|	__s__->tag = NLNKSXP;				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4717|      0|#define NLNKSXP 9996
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4761|      0|	__s__->u.sxpval = __v__;			\
  |  |  |  |  |  | 4762|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4762:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6811|      0|	    INCREMENT_NAMED(var);			\
  |  |  ------------------
  |  |  |  |  222|      0|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:43): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6812|      0|	}						\
  |  | 6813|  1.06M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6813:14): [Folded, False: 1.06M]
  |  |  ------------------
  ------------------
 7713|  1.06M|		SET_SCALAR_IVAL(value, ival);
 7714|  1.06M|		SET_FOR_LOOP_VAR(value, cell, loopinfo, rho);
  ------------------
  |  | 6817|  1.06M|#define SET_FOR_LOOP_VAR(value, cell, loopinfo, rho) do {	\
  |  | 6818|  1.06M|	if (BNDCELL_UNBOUND(cell) ||				\
  |  |  ------------------
  |  |  |  | 5599|  2.12M|#define BNDCELL_UNBOUND(v) (BNDCELL_TAG(v) == 0 && CAR0(v) == R_UnboundValue)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5599:29): [True: 0, False: 1.06M]
  |  |  |  |  |  Branch (5599:52): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6819|  1.06M|	    ! SET_BINDING_VALUE(cell, value))			\
  |  |  ------------------
  |  |  |  Branch (6819:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 6820|  1.06M|	    defineVar(loopinfo->symbol, value, rho);		\
  |  |  ------------------
  |  |  |  |  905|      0|#define defineVar		Rf_defineVar
  |  |  ------------------
  |  | 6821|  1.06M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6821:14): [Folded, False: 1.06M]
  |  |  ------------------
  ------------------
 7715|  1.06M|		NEXT();
  ------------------
  |  | 5568|  1.06M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7716|  1.06M|	    }
 7717|  1.06M|#endif
 7718|  1.06M|	  case LGLSXP:
  ------------------
  |  |  121|  1.06M|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (7718:4): [True: 0, False: 1.06M]
  ------------------
 7719|  1.06M|	    if (BNDCELL_TAG_WR(cell) == LGLSXP) {
  ------------------
  |  | 5595|  1.06M|#define BNDCELL_TAG_WR(v) (BINDING_IS_LOCKED(v) ? 0 : BNDCELL_TAG(v))
  |  |  ------------------
  |  |  |  Branch (5595:28): [True: 0, False: 1.06M]
  |  |  ------------------
  ------------------
              	    if (BNDCELL_TAG_WR(cell) == LGLSXP) {
  ------------------
  |  |  121|  1.06M|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (7719:10): [True: 0, False: 1.06M]
  ------------------
 7720|      0|		SET_BNDCELL_LVAL(cell,  LOGICAL_ELT(seq, i));
 7721|      0|		NEXT();
  ------------------
  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7722|      0|	    }
 7723|  1.06M|	    if (BNDCELL_WRITABLE(cell)) {
  ------------------
  |  | 5598|  1.06M|    (v != R_NilValue &&	 ! BINDING_IS_LOCKED(v) && ! IS_ACTIVE_BINDING(v))
  |  |  ------------------
  |  |  |  Branch (5598:6): [True: 0, False: 1.06M]
  |  |  |  Branch (5598:26): [True: 0, False: 0]
  |  |  |  Branch (5598:52): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 7724|      0|		NEW_BNDCELL_LVAL(cell, LOGICAL_ELT(seq, i));
 7725|      0|		NEXT();
  ------------------
  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7726|      0|	    }
 7727|  1.06M|	    GET_VEC_LOOP_VALUE(value);
  ------------------
  |  | 6804|  1.06M|#define GET_VEC_LOOP_VALUE(var) do {			\
  |  | 6805|  1.06M|	(var) = GETSTACK_SXPVAL(-1);			\
  |  |  ------------------
  |  |  |  | 4815|  1.06M|#define GETSTACK_SXPVAL(i) GETSTACK_SXPVAL_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4753|  1.06M|#define GETSTACK_SXPVAL_PTR(s) ((s)->u.sxpval)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6806|  1.06M|	if (BNDCELL_TAG(cell) ||			\
  |  |  ------------------
  |  |  |  Branch (6806:6): [True: 1.06M, False: 0]
  |  |  ------------------
  |  | 6807|  1.06M|	    (var) != CAR(cell) || MAYBE_SHARED(var) ||	\
  |  |  ------------------
  |  |  |  Branch (6807:6): [True: 0, False: 0]
  |  |  |  Branch (6807:28): [True: 0, False: 0]
  |  |  ------------------
  |  | 6808|  1.06M|	    ATTRIB(var) != R_NilValue) {		\
  |  |  ------------------
  |  |  |  Branch (6808:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 6809|      0|	    (var) = allocVector(TYPEOF(seq), 1);	\
  |  |  ------------------
  |  |  |  |  875|      0|#define allocVector		Rf_allocVector
  |  |  ------------------
  |  | 6810|      0|	    SETSTACK_NLNK(-1, var);			\
  |  |  ------------------
  |  |  |  | 4763|      0|#define SETSTACK_NLNK(i, v) SETSTACK_NLNK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4757|      0|#define SETSTACK_NLNK_PTR(s, v) do {			\
  |  |  |  |  |  | 4758|      0|	R_bcstack_t *__s__ = (s);			\
  |  |  |  |  |  | 4759|      0|	SEXP __v__ = (v);				\
  |  |  |  |  |  | 4760|      0|	__s__->tag = NLNKSXP;				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4717|      0|#define NLNKSXP 9996
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4761|      0|	__s__->u.sxpval = __v__;			\
  |  |  |  |  |  | 4762|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4762:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6811|      0|	    INCREMENT_NAMED(var);			\
  |  |  ------------------
  |  |  |  |  222|      0|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:43): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6812|      0|	}						\
  |  | 6813|  1.06M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6813:14): [Folded, False: 1.06M]
  |  |  ------------------
  ------------------
 7728|  1.06M|	    SET_SCALAR_LVAL(value, LOGICAL_ELT(seq, i));
 7729|  1.06M|	    SET_FOR_LOOP_VAR(value, cell, loopinfo, rho);
  ------------------
  |  | 6817|  1.06M|#define SET_FOR_LOOP_VAR(value, cell, loopinfo, rho) do {	\
  |  | 6818|  1.06M|	if (BNDCELL_UNBOUND(cell) ||				\
  |  |  ------------------
  |  |  |  | 5599|  2.12M|#define BNDCELL_UNBOUND(v) (BNDCELL_TAG(v) == 0 && CAR0(v) == R_UnboundValue)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5599:29): [True: 0, False: 1.06M]
  |  |  |  |  |  Branch (5599:52): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6819|  1.06M|	    ! SET_BINDING_VALUE(cell, value))			\
  |  |  ------------------
  |  |  |  Branch (6819:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 6820|  1.06M|	    defineVar(loopinfo->symbol, value, rho);		\
  |  |  ------------------
  |  |  |  |  905|      0|#define defineVar		Rf_defineVar
  |  |  ------------------
  |  | 6821|  1.06M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6821:14): [Folded, False: 1.06M]
  |  |  ------------------
  ------------------
 7730|  1.06M|	    NEXT();
  ------------------
  |  | 5568|  1.06M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7731|  1.06M|	  case CPLXSXP:
  ------------------
  |  |  125|  1.06M|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (7731:4): [True: 0, False: 1.06M]
  ------------------
 7732|  1.06M|	    GET_VEC_LOOP_VALUE(value);
  ------------------
  |  | 6804|  1.06M|#define GET_VEC_LOOP_VALUE(var) do {			\
  |  | 6805|  1.06M|	(var) = GETSTACK_SXPVAL(-1);			\
  |  |  ------------------
  |  |  |  | 4815|  1.06M|#define GETSTACK_SXPVAL(i) GETSTACK_SXPVAL_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4753|  1.06M|#define GETSTACK_SXPVAL_PTR(s) ((s)->u.sxpval)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6806|  1.06M|	if (BNDCELL_TAG(cell) ||			\
  |  |  ------------------
  |  |  |  Branch (6806:6): [True: 1.06M, False: 0]
  |  |  ------------------
  |  | 6807|  1.06M|	    (var) != CAR(cell) || MAYBE_SHARED(var) ||	\
  |  |  ------------------
  |  |  |  Branch (6807:6): [True: 0, False: 0]
  |  |  |  Branch (6807:28): [True: 0, False: 0]
  |  |  ------------------
  |  | 6808|  1.06M|	    ATTRIB(var) != R_NilValue) {		\
  |  |  ------------------
  |  |  |  Branch (6808:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 6809|      0|	    (var) = allocVector(TYPEOF(seq), 1);	\
  |  |  ------------------
  |  |  |  |  875|      0|#define allocVector		Rf_allocVector
  |  |  ------------------
  |  | 6810|      0|	    SETSTACK_NLNK(-1, var);			\
  |  |  ------------------
  |  |  |  | 4763|      0|#define SETSTACK_NLNK(i, v) SETSTACK_NLNK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4757|      0|#define SETSTACK_NLNK_PTR(s, v) do {			\
  |  |  |  |  |  | 4758|      0|	R_bcstack_t *__s__ = (s);			\
  |  |  |  |  |  | 4759|      0|	SEXP __v__ = (v);				\
  |  |  |  |  |  | 4760|      0|	__s__->tag = NLNKSXP;				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4717|      0|#define NLNKSXP 9996
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4761|      0|	__s__->u.sxpval = __v__;			\
  |  |  |  |  |  | 4762|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4762:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6811|      0|	    INCREMENT_NAMED(var);			\
  |  |  ------------------
  |  |  |  |  222|      0|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:43): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6812|      0|	}						\
  |  | 6813|  1.06M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6813:14): [Folded, False: 1.06M]
  |  |  ------------------
  ------------------
 7733|  1.06M|	    SET_SCALAR_CVAL(value, COMPLEX_ELT(seq, i));
 7734|  1.06M|	    break;
 7735|    508|	  case STRSXP:
  ------------------
  |  |  126|    508|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (7735:4): [True: 508, False: 1.06M]
  ------------------
 7736|    508|	    GET_VEC_LOOP_VALUE(value);
  ------------------
  |  | 6804|    508|#define GET_VEC_LOOP_VALUE(var) do {			\
  |  | 6805|    508|	(var) = GETSTACK_SXPVAL(-1);			\
  |  |  ------------------
  |  |  |  | 4815|    508|#define GETSTACK_SXPVAL(i) GETSTACK_SXPVAL_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4753|    508|#define GETSTACK_SXPVAL_PTR(s) ((s)->u.sxpval)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6806|    508|	if (BNDCELL_TAG(cell) ||			\
  |  |  ------------------
  |  |  |  Branch (6806:6): [True: 0, False: 508]
  |  |  ------------------
  |  | 6807|    508|	    (var) != CAR(cell) || MAYBE_SHARED(var) ||	\
  |  |  ------------------
  |  |  |  Branch (6807:6): [True: 22, False: 486]
  |  |  |  Branch (6807:28): [True: 4, False: 482]
  |  |  ------------------
  |  | 6808|    508|	    ATTRIB(var) != R_NilValue) {		\
  |  |  ------------------
  |  |  |  Branch (6808:6): [True: 0, False: 482]
  |  |  ------------------
  |  | 6809|     26|	    (var) = allocVector(TYPEOF(seq), 1);	\
  |  |  ------------------
  |  |  |  |  875|     26|#define allocVector		Rf_allocVector
  |  |  ------------------
  |  | 6810|     26|	    SETSTACK_NLNK(-1, var);			\
  |  |  ------------------
  |  |  |  | 4763|     26|#define SETSTACK_NLNK(i, v) SETSTACK_NLNK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4757|     26|#define SETSTACK_NLNK_PTR(s, v) do {			\
  |  |  |  |  |  | 4758|     26|	R_bcstack_t *__s__ = (s);			\
  |  |  |  |  |  | 4759|     26|	SEXP __v__ = (v);				\
  |  |  |  |  |  | 4760|     26|	__s__->tag = NLNKSXP;				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4717|     26|#define NLNKSXP 9996
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4761|     26|	__s__->u.sxpval = __v__;			\
  |  |  |  |  |  | 4762|     26|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4762:14): [Folded, False: 26]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6811|     26|	    INCREMENT_NAMED(var);			\
  |  |  ------------------
  |  |  |  |  222|     26|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:43): [Folded, False: 26]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6812|     26|	}						\
  |  | 6813|    508|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6813:14): [Folded, False: 508]
  |  |  ------------------
  ------------------
 7737|    508|	    SET_STRING_ELT(value, 0, STRING_ELT(seq, i));
 7738|    508|	    break;
 7739|      0|	  case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (7739:4): [True: 0, False: 1.06M]
  ------------------
 7740|      0|	    GET_VEC_LOOP_VALUE(value);
  ------------------
  |  | 6804|      0|#define GET_VEC_LOOP_VALUE(var) do {			\
  |  | 6805|      0|	(var) = GETSTACK_SXPVAL(-1);			\
  |  |  ------------------
  |  |  |  | 4815|      0|#define GETSTACK_SXPVAL(i) GETSTACK_SXPVAL_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4753|      0|#define GETSTACK_SXPVAL_PTR(s) ((s)->u.sxpval)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6806|      0|	if (BNDCELL_TAG(cell) ||			\
  |  |  ------------------
  |  |  |  Branch (6806:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 6807|      0|	    (var) != CAR(cell) || MAYBE_SHARED(var) ||	\
  |  |  ------------------
  |  |  |  Branch (6807:6): [True: 0, False: 0]
  |  |  |  Branch (6807:28): [True: 0, False: 0]
  |  |  ------------------
  |  | 6808|      0|	    ATTRIB(var) != R_NilValue) {		\
  |  |  ------------------
  |  |  |  Branch (6808:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 6809|      0|	    (var) = allocVector(TYPEOF(seq), 1);	\
  |  |  ------------------
  |  |  |  |  875|      0|#define allocVector		Rf_allocVector
  |  |  ------------------
  |  | 6810|      0|	    SETSTACK_NLNK(-1, var);			\
  |  |  ------------------
  |  |  |  | 4763|      0|#define SETSTACK_NLNK(i, v) SETSTACK_NLNK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4757|      0|#define SETSTACK_NLNK_PTR(s, v) do {			\
  |  |  |  |  |  | 4758|      0|	R_bcstack_t *__s__ = (s);			\
  |  |  |  |  |  | 4759|      0|	SEXP __v__ = (v);				\
  |  |  |  |  |  | 4760|      0|	__s__->tag = NLNKSXP;				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4717|      0|#define NLNKSXP 9996
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4761|      0|	__s__->u.sxpval = __v__;			\
  |  |  |  |  |  | 4762|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4762:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6811|      0|	    INCREMENT_NAMED(var);			\
  |  |  ------------------
  |  |  |  |  222|      0|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:43): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6812|      0|	}						\
  |  | 6813|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6813:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 7741|      0|	    SET_SCALAR_BVAL(value, RAW(seq)[i]);
 7742|      0|	    break;
 7743|      0|	  case EXPRSXP:
  ------------------
  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (7743:4): [True: 0, False: 1.06M]
  ------------------
 7744|     12|	  case VECSXP:
  ------------------
  |  |  131|     12|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (7744:4): [True: 12, False: 1.06M]
  ------------------
 7745|     12|	    value = VECTOR_ELT(seq, i);
 7746|     12|	    ENSURE_NAMEDMAX(value);
 7747|     12|	    break;
 7748|      0|	  case LISTSXP:
  ------------------
  |  |  113|      0|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (7748:4): [True: 0, False: 1.06M]
  ------------------
 7749|      0|	    value = CAR(seq);
 7750|      0|	    SET_FOR_LOOP_SEQ(CDR(seq));
  ------------------
  |  | 6792|      0|#define SET_FOR_LOOP_SEQ(v) SETSTACK(-4, v);
  |  |  ------------------
  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7751|      0|	    ENSURE_NAMEDMAX(value);
 7752|      0|	    break;
 7753|      0|	  default:
  ------------------
  |  Branch (7753:4): [True: 0, False: 1.06M]
  ------------------
 7754|      0|	    error(_("invalid sequence argument in for loop"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("invalid sequence argument in for loop"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 7755|  1.06M|	  }
 7756|    520|	  SET_FOR_LOOP_VAR(value, cell, loopinfo, rho);
  ------------------
  |  | 6817|    520|#define SET_FOR_LOOP_VAR(value, cell, loopinfo, rho) do {	\
  |  | 6818|    520|	if (BNDCELL_UNBOUND(cell) ||				\
  |  |  ------------------
  |  |  |  | 5599|  1.04k|#define BNDCELL_UNBOUND(v) (BNDCELL_TAG(v) == 0 && CAR0(v) == R_UnboundValue)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5599:29): [True: 520, False: 0]
  |  |  |  |  |  Branch (5599:52): [True: 0, False: 520]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6819|    520|	    ! SET_BINDING_VALUE(cell, value))			\
  |  |  ------------------
  |  |  |  Branch (6819:6): [True: 0, False: 520]
  |  |  ------------------
  |  | 6820|    520|	    defineVar(loopinfo->symbol, value, rho);		\
  |  |  ------------------
  |  |  |  |  905|      0|#define defineVar		Rf_defineVar
  |  |  ------------------
  |  | 6821|    520|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6821:14): [Folded, False: 520]
  |  |  ------------------
  ------------------
 7757|    520|	}
 7758|  1.05M|	NEXT();
  ------------------
  |  | 5568|  1.05M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7759|  1.05M|      }
 7760|  1.05M|    OP(ENDFOR, 0):
  ------------------
  |  | 5551|  1.05M|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  1.05M|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  1.05M|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  1.05M|    goto loop; \
  |  | 5555|  1.05M|    op_##name
  ------------------
 7761|  1.05M|      {
 7762|  1.05M|	int offset = GET_FOR_LOOP_BCPROT_OFFSET();
  ------------------
  |  | 6794|  1.05M|#define GET_FOR_LOOP_BCPROT_OFFSET() GETSTACK_IVAL_PTR(R_BCNodeStackTop - 5)
  |  |  ------------------
  |  |  |  | 4755|  1.05M|#define GETSTACK_IVAL_PTR(s) ((s)->u.ival)
  |  |  ------------------
  ------------------
 7763|  1.05M|	DECLNK_stack(R_BCNodeStackBase + offset);
 7764|  1.05M|	SEXP seq = GET_FOR_LOOP_SEQ();
  ------------------
  |  | 6791|  1.05M|#define GET_FOR_LOOP_SEQ() GETSTACK_SXPVAL(-4)
  |  |  ------------------
  |  |  |  | 4815|  1.05M|#define GETSTACK_SXPVAL(i) GETSTACK_SXPVAL_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4753|  1.05M|#define GETSTACK_SXPVAL_PTR(s) ((s)->u.sxpval)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7765|  1.05M|	DECREMENT_LINKS(seq);
  ------------------
  |  |  545|  1.05M|#define DECREMENT_LINKS(x) do {			\
  |  |  546|  1.05M|	SEXP dl__x__ = (x);			\
  |  |  547|  1.05M|	DECREMENT_NAMED(dl__x__);		\
  |  |  ------------------
  |  |  |  |  223|  1.05M|# define DECREMENT_NAMED(x) do { } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (223:43): [Folded, False: 1.05M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  548|  1.05M|	DECREMENT_REFCNT(dl__x__);		\
  |  |  549|  1.05M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (549:14): [Folded, False: 1.05M]
  |  |  ------------------
  ------------------
 7766|  1.05M|	R_BCNodeStackTop -= FOR_LOOP_STATE_SIZE - 1;
  ------------------
  |  | 6788|  1.05M|#define FOR_LOOP_STATE_SIZE 5
  ------------------
 7767|  1.05M|	SETSTACK(-1, R_NilValue);
  ------------------
  |  | 4819|  1.05M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  ------------------
  |  |  |  | 4772|  1.05M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  | 4773|  1.05M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4767|  1.05M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 1.05M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4774|  1.05M|    SEXP __v__ = (v); \
  |  |  |  | 4775|  1.05M|    (s)->tag = 0; \
  |  |  |  | 4776|  1.05M|    (s)->u.sxpval = __v__; \
  |  |  |  | 4777|  1.05M|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4777:10): [Folded, False: 1.05M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7768|  1.05M|	NEXT();
  ------------------
  |  | 5568|  1.05M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7769|  1.05M|      }
 7770|  1.05M|    OP(SETLOOPVAL, 0):
  ------------------
  |  | 5551|  1.05M|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  1.05M|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  1.05M|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  1.05M|    goto loop; \
  |  | 5555|  1.05M|    op_##name
  ------------------
 7771|      0|      BCNPOP_IGNORE_VALUE(); SETSTACK(-1, R_NilValue); NEXT();
  ------------------
  |  | 5432|      0|#define BCNPOP_IGNORE_VALUE() R_BCNodeStackTop--
  ------------------
                    BCNPOP_IGNORE_VALUE(); SETSTACK(-1, R_NilValue); NEXT();
  ------------------
  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  ------------------
  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                    BCNPOP_IGNORE_VALUE(); SETSTACK(-1, R_NilValue); NEXT();
  ------------------
  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7772|  2.03k|    OP(INVISIBLE,0): R_Visible = FALSE; NEXT();
  ------------------
  |  | 5551|      2|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|      2|    opinfo[name##_OP].argc = (n); \
  |  | 5553|      2|    opinfo[name##_OP].instname = #name; \
  |  | 5554|      2|    goto loop; \
  |  | 5555|  2.03k|    op_##name
  ------------------
                  OP(INVISIBLE,0): R_Visible = FALSE; NEXT();
  ------------------
  |  | 5568|  2.03k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7773|  6.40M|    OP(LDCONST, 1):
  ------------------
  |  | 5551|  2.03k|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  2.03k|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  2.03k|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  2.03k|    goto loop; \
  |  | 5555|  6.40M|    op_##name
  ------------------
 7774|  6.40M|      {
 7775|  6.40M|	R_Visible = TRUE;
 7776|  6.40M|	SEXP value = GETCONST(constants, GETOP());
  ------------------
  |  | 5463|  6.40M|#define GETCONST(x, i) ((x).p)[i]
  ------------------
 7777|  6.40M|	int type = TYPEOF(value);
 7778|  6.40M|	switch(type) {
  ------------------
  |  Branch (7778:9): [True: 3.24M, False: 3.15M]
  ------------------
 7779|  25.8k|	case REALSXP:
  ------------------
  |  |  124|  25.8k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (7779:2): [True: 25.8k, False: 6.37M]
  ------------------
 7780|  25.8k|	    if (IS_SIMPLE_SCALAR(value, REALSXP)) {
  ------------------
  |  |  218|  25.8k|    (IS_SCALAR(x, type) && ATTRIB(x) == R_NilValue)
  |  |  ------------------
  |  |  |  Branch (218:6): [True: 24.8k, False: 1.02k]
  |  |  |  Branch (218:28): [True: 24.8k, False: 0]
  |  |  ------------------
  ------------------
 7781|  24.8k|		BCNPUSH_REAL(REAL0(value)[0]);
  ------------------
  |  | 5375|  24.8k|#define BCNPUSH_REAL(v) do { \
  |  | 5376|  24.8k|  double __value__ = (v); \
  |  | 5377|  24.8k|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  | 5378|  24.8k|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  ------------------
  |  |  |  Branch (5378:7): [True: 0, False: 24.8k]
  |  |  ------------------
  |  | 5379|  24.8k|  __ntop__[-1].u.dval = __value__; \
  |  | 5380|  24.8k|  __ntop__[-1].tag = REALSXP; \
  |  |  ------------------
  |  |  |  |  124|  24.8k|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  | 5381|  24.8k|  R_BCNodeStackTop = __ntop__; \
  |  | 5382|  24.8k|} while (0)
  |  |  ------------------
  |  |  |  Branch (5382:10): [Folded, False: 24.8k]
  |  |  ------------------
  ------------------
 7782|  24.8k|		NEXT();
  ------------------
  |  | 5568|  24.8k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7783|  24.8k|	    }
 7784|  25.8k|	    break;
 7785|  3.21M|	case INTSXP:
  ------------------
  |  |  123|  3.21M|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (7785:2): [True: 3.21M, False: 3.18M]
  ------------------
 7786|  3.21M|	    if (IS_SIMPLE_SCALAR(value, INTSXP)) {
  ------------------
  |  |  218|  3.21M|    (IS_SCALAR(x, type) && ATTRIB(x) == R_NilValue)
  |  |  ------------------
  |  |  |  Branch (218:6): [True: 3.21M, False: 1.27k]
  |  |  |  Branch (218:28): [True: 3.21M, False: 0]
  |  |  ------------------
  ------------------
 7787|  3.21M|		BCNPUSH_INTEGER(INTEGER0(value)[0]);
  ------------------
  |  | 5384|  3.21M|#define BCNPUSH_INTEGER(v) do { \
  |  | 5385|  3.21M|  int __value__ = (v); \
  |  | 5386|  3.21M|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  | 5387|  3.21M|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  ------------------
  |  |  |  Branch (5387:7): [True: 0, False: 3.21M]
  |  |  ------------------
  |  | 5388|  3.21M|  __ntop__[-1].u.ival = __value__; \
  |  | 5389|  3.21M|  __ntop__[-1].tag = INTSXP; \
  |  |  ------------------
  |  |  |  |  123|  3.21M|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  | 5390|  3.21M|  R_BCNodeStackTop = __ntop__; \
  |  | 5391|  3.21M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5391:10): [Folded, False: 3.21M]
  |  |  ------------------
  ------------------
 7788|  3.21M|		NEXT();
  ------------------
  |  | 5568|  3.21M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7789|  3.21M|	    }
 7790|  3.21M|	    break;
 7791|  1.93k|	case LGLSXP:
  ------------------
  |  |  121|  1.93k|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (7791:2): [True: 1.93k, False: 6.40M]
  ------------------
 7792|  1.93k|	    if (IS_SIMPLE_SCALAR(value, LGLSXP)) {
  ------------------
  |  |  218|  1.93k|    (IS_SCALAR(x, type) && ATTRIB(x) == R_NilValue)
  |  |  ------------------
  |  |  |  Branch (218:6): [True: 1.93k, False: 0]
  |  |  |  Branch (218:28): [True: 1.93k, False: 0]
  |  |  ------------------
  ------------------
 7793|  1.93k|		BCNPUSH_LOGICAL(LOGICAL0(value)[0]);
  ------------------
  |  | 5393|  1.93k|#define BCNPUSH_LOGICAL(v) do { \
  |  | 5394|  1.93k|  int __value__ = (v); \
  |  | 5395|  1.93k|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  | 5396|  1.93k|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  ------------------
  |  |  |  Branch (5396:7): [True: 0, False: 1.93k]
  |  |  ------------------
  |  | 5397|  1.93k|  __ntop__[-1].u.ival = __value__; \
  |  | 5398|  1.93k|  __ntop__[-1].tag = LGLSXP; \
  |  |  ------------------
  |  |  |  |  121|  1.93k|#define LGLSXP	    10	  /* logical vectors */
  |  |  ------------------
  |  | 5399|  1.93k|  R_BCNodeStackTop = __ntop__; \
  |  | 5400|  1.93k|} while (0)
  |  |  ------------------
  |  |  |  Branch (5400:10): [Folded, False: 1.93k]
  |  |  ------------------
  ------------------
 7794|  1.93k|		NEXT();
  ------------------
  |  | 5568|  1.93k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7795|  1.93k|	    }
 7796|  1.93k|	    break;
 7797|  6.40M|	}
 7798|  3.16M|	if (R_check_constants < 0)
  ------------------
  |  Branch (7798:6): [True: 0, False: 3.16M]
  ------------------
 7799|      0|	    value = duplicate(value);
  ------------------
  |  |  909|      0|#define duplicate		Rf_duplicate
  ------------------
 7800|  3.16M|	MARK_NOT_MUTABLE(value);
 7801|  3.16M|	BCNPUSH(value);
  ------------------
  |  | 5362|  3.16M|#define BCNPUSH(v) do { \
  |  | 5363|  3.16M|  SEXP __value__ = (v); \
  |  | 5364|  3.16M|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  | 5365|  3.16M|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  ------------------
  |  |  |  Branch (5365:7): [True: 0, False: 3.16M]
  |  |  ------------------
  |  | 5366|  3.16M|  SETSTACK(0, __value__); \
  |  |  ------------------
  |  |  |  | 4819|  3.16M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|  3.16M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|  3.16M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|  3.16M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 3.16M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|  3.16M|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|  3.16M|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|  3.16M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|  3.16M|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 3.16M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5367|  3.16M|  R_BCNodeStackTop = __ntop__; \
  |  | 5368|  3.16M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5368:10): [Folded, False: 3.16M]
  |  |  ------------------
  ------------------
 7802|  3.16M|	NEXT();
  ------------------
  |  | 5568|  3.16M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7803|  3.16M|      }
 7804|  4.32M|    OP(LDNULL, 0): R_Visible = TRUE; BCNPUSH(R_NilValue); NEXT();
  ------------------
  |  | 5551|  3.16M|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  3.16M|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  3.16M|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  3.16M|    goto loop; \
  |  | 5555|  4.32M|    op_##name
  ------------------
                  OP(LDNULL, 0): R_Visible = TRUE; BCNPUSH(R_NilValue); NEXT();
  ------------------
  |  | 5362|  4.32M|#define BCNPUSH(v) do { \
  |  | 5363|  4.32M|  SEXP __value__ = (v); \
  |  | 5364|  4.32M|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  | 5365|  4.32M|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  ------------------
  |  |  |  Branch (5365:7): [True: 0, False: 4.32M]
  |  |  ------------------
  |  | 5366|  4.32M|  SETSTACK(0, __value__); \
  |  |  ------------------
  |  |  |  | 4819|  4.32M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|  4.32M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|  4.32M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|  4.32M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 4.32M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|  4.32M|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|  4.32M|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|  4.32M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|  4.32M|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 4.32M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5367|  4.32M|  R_BCNodeStackTop = __ntop__; \
  |  | 5368|  4.32M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5368:10): [Folded, False: 4.32M]
  |  |  ------------------
  ------------------
                  OP(LDNULL, 0): R_Visible = TRUE; BCNPUSH(R_NilValue); NEXT();
  ------------------
  |  | 5568|  4.32M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7805|  4.32M|    OP(LDTRUE, 0): R_Visible = TRUE; BCNPUSH_LOGICAL(TRUE); NEXT();
  ------------------
  |  | 5551|  4.32M|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  4.32M|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  4.32M|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  4.32M|    goto loop; \
  |  | 5555|  4.32M|    op_##name
  ------------------
                  OP(LDTRUE, 0): R_Visible = TRUE; BCNPUSH_LOGICAL(TRUE); NEXT();
  ------------------
  |  | 5393|  1.25k|#define BCNPUSH_LOGICAL(v) do { \
  |  | 5394|  1.25k|  int __value__ = (v); \
  |  | 5395|  1.25k|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  | 5396|  1.25k|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  ------------------
  |  |  |  Branch (5396:7): [True: 0, False: 1.25k]
  |  |  ------------------
  |  | 5397|  1.25k|  __ntop__[-1].u.ival = __value__; \
  |  | 5398|  1.25k|  __ntop__[-1].tag = LGLSXP; \
  |  |  ------------------
  |  |  |  |  121|  1.25k|#define LGLSXP	    10	  /* logical vectors */
  |  |  ------------------
  |  | 5399|  1.25k|  R_BCNodeStackTop = __ntop__; \
  |  | 5400|  1.25k|} while (0)
  |  |  ------------------
  |  |  |  Branch (5400:10): [Folded, False: 1.25k]
  |  |  ------------------
  ------------------
                  OP(LDTRUE, 0): R_Visible = TRUE; BCNPUSH_LOGICAL(TRUE); NEXT();
  ------------------
  |  | 5568|  1.25k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7806|  3.79k|    OP(LDFALSE, 0): R_Visible = TRUE; BCNPUSH_LOGICAL(FALSE); NEXT();
  ------------------
  |  | 5551|  1.25k|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  1.25k|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  1.25k|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  1.25k|    goto loop; \
  |  | 5555|  3.79k|    op_##name
  ------------------
                  OP(LDFALSE, 0): R_Visible = TRUE; BCNPUSH_LOGICAL(FALSE); NEXT();
  ------------------
  |  | 5393|  3.79k|#define BCNPUSH_LOGICAL(v) do { \
  |  | 5394|  3.79k|  int __value__ = (v); \
  |  | 5395|  3.79k|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  | 5396|  3.79k|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  ------------------
  |  |  |  Branch (5396:7): [True: 0, False: 3.79k]
  |  |  ------------------
  |  | 5397|  3.79k|  __ntop__[-1].u.ival = __value__; \
  |  | 5398|  3.79k|  __ntop__[-1].tag = LGLSXP; \
  |  |  ------------------
  |  |  |  |  121|  3.79k|#define LGLSXP	    10	  /* logical vectors */
  |  |  ------------------
  |  | 5399|  3.79k|  R_BCNodeStackTop = __ntop__; \
  |  | 5400|  3.79k|} while (0)
  |  |  ------------------
  |  |  |  Branch (5400:10): [Folded, False: 3.79k]
  |  |  ------------------
  ------------------
                  OP(LDFALSE, 0): R_Visible = TRUE; BCNPUSH_LOGICAL(FALSE); NEXT();
  ------------------
  |  | 5568|  3.79k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7807|  55.3M|    OP(GETVAR, 1): DO_GETVAR(FALSE, FALSE);
  ------------------
  |  | 5551|  3.79k|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  3.79k|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  3.79k|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  3.79k|    goto loop; \
  |  | 5555|  55.3M|    op_##name
  ------------------
                  OP(GETVAR, 1): DO_GETVAR(FALSE, FALSE);
  ------------------
  |  | 5834|  55.3M|#define DO_GETVAR(dd,keepmiss) do { \
  |  | 5835|  55.3M|    int sidx = GETOP(); \
  |  |  ------------------
  |  |  |  | 5569|  55.3M|#define GETOP() (*pc++).i
  |  |  ------------------
  |  | 5836|  55.3M|    R_Visible = TRUE;	     \
  |  | 5837|  55.3M|    if (!dd && smallcache) {						\
  |  |  ------------------
  |  |  |  Branch (5837:9): [True: 55.3M, Folded]
  |  |  |  Branch (5837:16): [True: 55.3M, False: 13.9k]
  |  |  ------------------
  |  | 5838|  55.3M|	SEXP cell = GET_SMALLCACHE_BINDING_CELL(vcache, sidx);		\
  |  |  ------------------
  |  |  |  | 5684|  55.3M|#  define GET_SMALLCACHE_BINDING_CELL(vcache, sidx) VCACHE(sidx)
  |  |  |  |  ------------------
  |  |  |  |  |  | 5681|  55.3M|#  define VCACHE(i) GETSTACK_SXPVAL_PTR(vcache + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4753|  55.3M|#define GETSTACK_SXPVAL_PTR(s) ((s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5839|  55.3M|	if (cell == R_NilValue) {					\
  |  |  ------------------
  |  |  |  Branch (5839:6): [True: 39.3M, False: 15.9M]
  |  |  ------------------
  |  | 5840|  39.3M|	    /* make sure local variable cells are cached */		\
  |  | 5841|  39.3M|	    SEXP symbol = GETCONST(constants, sidx);			\
  |  |  ------------------
  |  |  |  | 5463|  39.3M|#define GETCONST(x, i) ((x).p)[i]
  |  |  ------------------
  |  | 5842|  39.3M|	    cell = GET_BINDING_CELL_CACHE(symbol, rho, vcache, sidx);	\
  |  | 5843|  39.3M|	}								\
  |  | 5844|  55.3M|	/* handle immediate binings */					\
  |  | 5845|  55.3M|	switch (BNDCELL_TAG(cell)) {					\
  |  |  ------------------
  |  |  |  Branch (5845:10): [True: 9.78k, False: 55.3M]
  |  |  ------------------
  |  | 5846|      0|	case REALSXP: BCNPUSH_REAL(BNDCELL_DVAL(cell)); NEXT();		\
  |  |  ------------------
  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |               	case REALSXP: BCNPUSH_REAL(BNDCELL_DVAL(cell)); NEXT();		\
  |  |  ------------------
  |  |  |  | 5375|      0|#define BCNPUSH_REAL(v) do { \
  |  |  |  | 5376|      0|  double __value__ = (v); \
  |  |  |  | 5377|      0|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5378|      0|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5378:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5379|      0|  __ntop__[-1].u.dval = __value__; \
  |  |  |  | 5380|      0|  __ntop__[-1].tag = REALSXP; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  |  |  ------------------
  |  |  |  | 5381|      0|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5382|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5382:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               	case REALSXP: BCNPUSH_REAL(BNDCELL_DVAL(cell)); NEXT();		\
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  |  |  Branch (5846:2): [True: 0, False: 55.3M]
  |  |  ------------------
  |  | 5847|  9.78k|	case INTSXP: BCNPUSH_INTEGER(BNDCELL_IVAL(cell)); NEXT();	\
  |  |  ------------------
  |  |  |  |  123|  9.78k|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	case INTSXP: BCNPUSH_INTEGER(BNDCELL_IVAL(cell)); NEXT();	\
  |  |  ------------------
  |  |  |  | 5384|  9.78k|#define BCNPUSH_INTEGER(v) do { \
  |  |  |  | 5385|  9.78k|  int __value__ = (v); \
  |  |  |  | 5386|  9.78k|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5387|  9.78k|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5387:7): [True: 0, False: 9.78k]
  |  |  |  |  ------------------
  |  |  |  | 5388|  9.78k|  __ntop__[-1].u.ival = __value__; \
  |  |  |  | 5389|  9.78k|  __ntop__[-1].tag = INTSXP; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  123|  9.78k|#define INTSXP	    13	  /* integer vectors */
  |  |  |  |  ------------------
  |  |  |  | 5390|  9.78k|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5391|  9.78k|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5391:10): [Folded, False: 9.78k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               	case INTSXP: BCNPUSH_INTEGER(BNDCELL_IVAL(cell)); NEXT();	\
  |  |  ------------------
  |  |  |  | 5568|  9.78k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  |  |  Branch (5847:2): [True: 9.78k, False: 55.3M]
  |  |  ------------------
  |  | 5848|  9.78k|	case LGLSXP: BCNPUSH_LOGICAL(BNDCELL_LVAL(cell)); NEXT();	\
  |  |  ------------------
  |  |  |  |  121|  9.78k|#define LGLSXP	    10	  /* logical vectors */
  |  |  ------------------
  |  |               	case LGLSXP: BCNPUSH_LOGICAL(BNDCELL_LVAL(cell)); NEXT();	\
  |  |  ------------------
  |  |  |  | 5393|  9.78k|#define BCNPUSH_LOGICAL(v) do { \
  |  |  |  | 5394|  9.78k|  int __value__ = (v); \
  |  |  |  | 5395|  9.78k|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5396|  9.78k|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5396:7): [True: 0, False: 9.78k]
  |  |  |  |  ------------------
  |  |  |  | 5397|  9.78k|  __ntop__[-1].u.ival = __value__; \
  |  |  |  | 5398|  9.78k|  __ntop__[-1].tag = LGLSXP; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  121|  9.78k|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  ------------------
  |  |  |  | 5399|  9.78k|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5400|  9.78k|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5400:10): [Folded, False: 9.78k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               	case LGLSXP: BCNPUSH_LOGICAL(BNDCELL_LVAL(cell)); NEXT();	\
  |  |  ------------------
  |  |  |  | 5568|  9.78k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  |  |  Branch (5848:2): [True: 4, False: 55.3M]
  |  |  ------------------
  |  | 5849|  55.3M|	}								\
  |  | 5850|  55.3M|	SEXP value = CAR(cell);						\
  |  | 5851|  55.3M|	int type = TYPEOF(value);					\
  |  | 5852|  55.3M|	/* extract value of forced promises */				\
  |  | 5853|  55.3M|	if (type == PROMSXP) {						\
  |  |  ------------------
  |  |  |  |  116|  55.3M|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  |  |  ------------------
  |  |  |  Branch (5853:6): [True: 23.5M, False: 31.8M]
  |  |  ------------------
  |  | 5854|  23.5M|	    if (PROMISE_IS_EVALUATED(value)) {				\
  |  |  ------------------
  |  |  |  Branch (5854:10): [True: 6.46M, False: 17.0M]
  |  |  ------------------
  |  | 5855|  6.46M|		switch (PROMISE_TAG(value)) {				\
  |  |  ------------------
  |  |  |  Branch (5855:11): [True: 750, False: 6.46M]
  |  |  ------------------
  |  | 5856|    644|		case REALSXP: BCNPUSH_REAL(PROMISE_DVAL(value)); NEXT(); \
  |  |  ------------------
  |  |  |  |  124|    644|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |               		case REALSXP: BCNPUSH_REAL(PROMISE_DVAL(value)); NEXT(); \
  |  |  ------------------
  |  |  |  | 5375|    644|#define BCNPUSH_REAL(v) do { \
  |  |  |  | 5376|    644|  double __value__ = (v); \
  |  |  |  | 5377|    644|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5378|    644|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5378:7): [True: 0, False: 644]
  |  |  |  |  ------------------
  |  |  |  | 5379|    644|  __ntop__[-1].u.dval = __value__; \
  |  |  |  | 5380|    644|  __ntop__[-1].tag = REALSXP; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  124|    644|#define REALSXP	    14	  /* real variables */
  |  |  |  |  ------------------
  |  |  |  | 5381|    644|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5382|    644|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5382:10): [Folded, False: 644]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               		case REALSXP: BCNPUSH_REAL(PROMISE_DVAL(value)); NEXT(); \
  |  |  ------------------
  |  |  |  | 5568|    644|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  |  |  Branch (5856:3): [True: 644, False: 6.46M]
  |  |  ------------------
  |  | 5857|    644|		case INTSXP: BCNPUSH_INTEGER(PROMISE_IVAL(value)); NEXT(); \
  |  |  ------------------
  |  |  |  |  123|    644|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               		case INTSXP: BCNPUSH_INTEGER(PROMISE_IVAL(value)); NEXT(); \
  |  |  ------------------
  |  |  |  | 5384|    644|#define BCNPUSH_INTEGER(v) do { \
  |  |  |  | 5385|    644|  int __value__ = (v); \
  |  |  |  | 5386|    644|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5387|    644|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5387:7): [True: 0, False: 644]
  |  |  |  |  ------------------
  |  |  |  | 5388|    644|  __ntop__[-1].u.ival = __value__; \
  |  |  |  | 5389|    644|  __ntop__[-1].tag = INTSXP; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  123|    644|#define INTSXP	    13	  /* integer vectors */
  |  |  |  |  ------------------
  |  |  |  | 5390|    644|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5391|    644|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5391:10): [Folded, False: 644]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               		case INTSXP: BCNPUSH_INTEGER(PROMISE_IVAL(value)); NEXT(); \
  |  |  ------------------
  |  |  |  | 5568|    644|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  |  |  Branch (5857:3): [True: 0, False: 6.46M]
  |  |  ------------------
  |  | 5858|    750|		case LGLSXP: BCNPUSH_LOGICAL(PROMISE_LVAL(value)); NEXT(); \
  |  |  ------------------
  |  |  |  |  121|    750|#define LGLSXP	    10	  /* logical vectors */
  |  |  ------------------
  |  |               		case LGLSXP: BCNPUSH_LOGICAL(PROMISE_LVAL(value)); NEXT(); \
  |  |  ------------------
  |  |  |  | 5393|    750|#define BCNPUSH_LOGICAL(v) do { \
  |  |  |  | 5394|    750|  int __value__ = (v); \
  |  |  |  | 5395|    750|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5396|    750|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5396:7): [True: 0, False: 750]
  |  |  |  |  ------------------
  |  |  |  | 5397|    750|  __ntop__[-1].u.ival = __value__; \
  |  |  |  | 5398|    750|  __ntop__[-1].tag = LGLSXP; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  121|    750|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  ------------------
  |  |  |  | 5399|    750|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5400|    750|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5400:10): [Folded, False: 750]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               		case LGLSXP: BCNPUSH_LOGICAL(PROMISE_LVAL(value)); NEXT(); \
  |  |  ------------------
  |  |  |  | 5568|    750|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  |  |  Branch (5858:3): [True: 106, False: 6.46M]
  |  |  ------------------
  |  | 5859|  6.46M|		}							\
  |  | 5860|  6.46M|		value = PRVALUE(value);					\
  |  | 5861|  6.46M|		type = TYPEOF(value);					\
  |  | 5862|  6.46M|	    }								\
  |  | 5863|  23.5M|	}								\
  |  | 5864|  55.3M|	/* try fast handling of some types; for these the */		\
  |  | 5865|  55.3M|	/* cell won't be R_NilValue or an active binding */		\
  |  | 5866|  55.3M|	switch(type) {							\
  |  | 5867|   132k|	case REALSXP:							\
  |  |  ------------------
  |  |  |  |  124|   132k|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (5867:2): [True: 132k, False: 55.2M]
  |  |  ------------------
  |  | 5868|  2.28M|	case INTSXP:							\
  |  |  ------------------
  |  |  |  |  123|  2.28M|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |  |  Branch (5868:2): [True: 2.15M, False: 53.1M]
  |  |  ------------------
  |  | 5869|  4.45M|	case LGLSXP:							\
  |  |  ------------------
  |  |  |  |  121|  4.45M|#define LGLSXP	    10	  /* logical vectors */
  |  |  ------------------
  |  |  |  Branch (5869:2): [True: 2.17M, False: 53.1M]
  |  |  ------------------
  |  | 5870|  4.45M|	case CPLXSXP:							\
  |  |  ------------------
  |  |  |  |  125|  4.45M|#define CPLXSXP	    15	  /* complex variables */
  |  |  ------------------
  |  |  |  Branch (5870:2): [True: 0, False: 55.3M]
  |  |  ------------------
  |  | 5871|  13.9M|	case STRSXP:							\
  |  |  ------------------
  |  |  |  |  126|  13.9M|#define STRSXP	    16	  /* string vectors */
  |  |  ------------------
  |  |  |  Branch (5871:2): [True: 9.53M, False: 45.8M]
  |  |  ------------------
  |  | 5872|  33.9M|	case VECSXP:							\
  |  |  ------------------
  |  |  |  |  131|  33.9M|#define VECSXP	    19	  /* generic vectors */
  |  |  ------------------
  |  |  |  Branch (5872:2): [True: 19.9M, False: 35.3M]
  |  |  ------------------
  |  | 5873|  33.9M|	case RAWSXP:							\
  |  |  ------------------
  |  |  |  |  136|  33.9M|#define RAWSXP      24    /* raw bytes */
  |  |  ------------------
  |  |  |  Branch (5873:2): [True: 0, False: 55.3M]
  |  |  ------------------
  |  | 5874|  33.9M|	    BCNPUSH(value);						\
  |  |  ------------------
  |  |  |  | 5362|  33.9M|#define BCNPUSH(v) do { \
  |  |  |  | 5363|  33.9M|  SEXP __value__ = (v); \
  |  |  |  | 5364|  33.9M|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5365|  33.9M|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5365:7): [True: 0, False: 33.9M]
  |  |  |  |  ------------------
  |  |  |  | 5366|  33.9M|  SETSTACK(0, __value__); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  33.9M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  33.9M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  33.9M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  33.9M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 33.9M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  33.9M|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|  33.9M|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  33.9M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  33.9M|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 33.9M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5367|  33.9M|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5368|  33.9M|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5368:10): [Folded, False: 33.9M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5875|  33.9M|	    NEXT();							\
  |  |  ------------------
  |  |  |  | 5568|  33.9M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 5876|  33.9M|	case SYMSXP:							\
  |  |  ------------------
  |  |  |  |  112|  33.9M|#define SYMSXP	     1	  /* symbols */
  |  |  ------------------
  |  |  |  Branch (5876:2): [True: 4.33k, False: 55.3M]
  |  |  ------------------
  |  | 5877|  51.0M|	case PROMSXP:							\
  |  |  ------------------
  |  |  |  |  116|  51.0M|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  |  |  ------------------
  |  |  |  Branch (5877:2): [True: 17.0M, False: 38.2M]
  |  |  ------------------
  |  | 5878|  51.0M|	    break;							\
  |  | 5879|  33.9M|	default:							\
  |  |  ------------------
  |  |  |  Branch (5879:2): [True: 4.29M, False: 51.0M]
  |  |  ------------------
  |  | 5880|  4.29M|	    if (cell != R_NilValue && ! IS_ACTIVE_BINDING(cell)) {	\
  |  |  ------------------
  |  |  |  Branch (5880:10): [True: 4.24M, False: 44.5k]
  |  |  |  Branch (5880:32): [True: 4.24M, False: 0]
  |  |  ------------------
  |  | 5881|  4.24M|		BCNPUSH(value);						\
  |  |  ------------------
  |  |  |  | 5362|  4.24M|#define BCNPUSH(v) do { \
  |  |  |  | 5363|  4.24M|  SEXP __value__ = (v); \
  |  |  |  | 5364|  4.24M|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5365|  4.24M|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5365:7): [True: 0, False: 4.24M]
  |  |  |  |  ------------------
  |  |  |  | 5366|  4.24M|  SETSTACK(0, __value__); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  4.24M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  4.24M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  4.24M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  4.24M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 4.24M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  4.24M|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|  4.24M|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  4.24M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  4.24M|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 4.24M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5367|  4.24M|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5368|  4.24M|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5368:10): [Folded, False: 4.24M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5882|  4.24M|		NEXT();							\
  |  |  ------------------
  |  |  |  | 5568|  4.24M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 5883|  4.24M|	    }								\
  |  | 5884|  55.3M|	}								\
  |  | 5885|  55.3M|    }									\
  |  | 5886|  55.3M|    SEXP symbol = GETCONST(constants, sidx);				\
  |  |  ------------------
  |  |  |  | 5463|  17.1M|#define GETCONST(x, i) ((x).p)[i]
  |  |  ------------------
  |  | 5887|  17.1M|    SEXP value = findVarEX(symbol, rho, dd, vcache, sidx);		\
  |  | 5888|  17.1M|    if (! keepmiss && TYPEOF(value) == PROMSXP &&			\
  |  |  ------------------
  |  |  |  |  116|  34.2M|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  |  |  ------------------
  |  |  |  Branch (5888:9): [True: 17.1M, Folded]
  |  |  |  Branch (5888:23): [True: 17.0M, False: 45.0k]
  |  |  ------------------
  |  | 5889|  17.1M|	! PRSEEN(value) && ! PROMISE_IS_EVALUATED(value) &&		\
  |  |  ------------------
  |  |  |  Branch (5889:2): [True: 17.0M, False: 0]
  |  |  |  Branch (5889:21): [True: 17.0M, False: 15.6k]
  |  |  ------------------
  |  | 5890|  17.1M|	TYPEOF(PRCODE(value)) == BCODESXP) {				\
  |  |  ------------------
  |  |  |  |  133|  17.0M|#define BCODESXP    21    /* byte code */
  |  |  ------------------
  |  |  |  Branch (5890:2): [True: 9.61M, False: 7.45M]
  |  |  ------------------
  |  | 5891|  9.61M|	START_BCFRAME_PROM(value);					\
  |  |  ------------------
  |  |  |  | 7411|  9.61M|#define START_BCFRAME_PROM(prom) do {				\
  |  |  |  | 7412|  9.61M|	struct bcEval_locals locals =				\
  |  |  |  | 7413|  9.61M|	    setup_bcframe_prom(prom);				\
  |  |  |  | 7414|  9.61M|	SAVE_BCEVAL_LOCALS(BCFRAME_LOCALS());			\
  |  |  |  |  ------------------
  |  |  |  |  |  | 7180|  9.61M|#define SAVE_BCEVAL_LOCALS(loc) do {		\
  |  |  |  |  |  | 7181|  9.61M|	(loc)->body = body;			\
  |  |  |  |  |  | 7182|  9.61M|	(loc)->rho = rho;			\
  |  |  |  |  |  | 7183|  9.61M|	(loc)->vcache = vcache;			\
  |  |  |  |  |  | 7184|  9.61M|	(loc)->smallcache = smallcache;		\
  |  |  |  |  |  | 7185|  9.61M|	(loc)->pc = pc;				\
  |  |  |  |  |  | 7186|  9.61M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (7186:14): [Folded, False: 9.61M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 7415|  9.61M|	RESTORE_BCEVAL_LOCALS(&locals);				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 7188|  9.61M|#define RESTORE_BCEVAL_LOCALS(loc) do {		\
  |  |  |  |  |  | 7189|  9.61M|	body = (loc)->body;			\
  |  |  |  |  |  | 7190|  9.61M|	codebase = BCCODE(body);		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5572|  9.61M|#define BCCODE(e) BCODE_PTR(BCODE_CODE(e))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  736|  9.61M|#define BCODE_PTR(x) ((BCODE *) DATAPTR(x))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 7191|  9.61M|	constants = BCCONSTS(body);		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5461|  9.61M|    (R_bcconsts_t) {((SEXP const *) DATAPTR_RO(BCODE_CONSTS(e)))}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  737|  9.61M|#define BCODE_CONSTS(x) CDR(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 7192|  9.61M|	rho = (loc)->rho;			\
  |  |  |  |  |  | 7193|  9.61M|	vcache = (loc)->vcache;			\
  |  |  |  |  |  | 7194|  9.61M|	smallcache = (loc)->smallcache;		\
  |  |  |  |  |  | 7195|  9.61M|	pc = (loc)->pc;				\
  |  |  |  |  |  | 7196|  9.61M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (7196:14): [Folded, False: 9.61M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 7416|  9.61M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (7416:14): [Folded, False: 9.61M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5892|  9.61M|	NEXT();								\
  |  |  ------------------
  |  |  |  | 5568|  9.61M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 5893|  9.61M|	/* return cleanup is in DO_GETVAR_FORCE_PROMISE_RETURN */	\
  |  | 5894|  9.61M|    }									\
  |  | 5895|  17.1M|    BCNPUSH(getvar(symbol, rho, dd, keepmiss, vcache, sidx));		\
  |  |  ------------------
  |  |  |  | 5362|  17.1M|#define BCNPUSH(v) do { \
  |  |  |  | 5363|  17.1M|  SEXP __value__ = (v); \
  |  |  |  | 5364|  17.1M|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5365|  17.1M|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5365:7): [True: 0, False: 17.1M]
  |  |  |  |  ------------------
  |  |  |  | 5366|  17.1M|  SETSTACK(0, __value__); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  17.1M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  17.1M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  17.1M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  17.1M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 17.1M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  17.1M|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|  17.1M|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  17.1M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  17.1M|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 17.1M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5367|  17.1M|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5368|  17.1M|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5368:10): [Folded, False: 17.1M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5896|  17.1M|    NEXT();								\
  |  |  ------------------
  |  |  |  | 5568|  17.1M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 5897|  17.1M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5897:10): [Folded, False: 17.1M]
  |  |  ------------------
  ------------------
 7808|  17.1M|    OP(DDVAL, 1): DO_GETVAR(TRUE, FALSE);
  ------------------
  |  | 5551|  17.1M|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  17.1M|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  17.1M|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  17.1M|    goto loop; \
  |  | 5555|  17.1M|    op_##name
  ------------------
                  OP(DDVAL, 1): DO_GETVAR(TRUE, FALSE);
  ------------------
  |  | 5834|    854|#define DO_GETVAR(dd,keepmiss) do { \
  |  | 5835|    854|    int sidx = GETOP(); \
  |  |  ------------------
  |  |  |  | 5569|    854|#define GETOP() (*pc++).i
  |  |  ------------------
  |  | 5836|    854|    R_Visible = TRUE;	     \
  |  | 5837|    854|    if (!dd && smallcache) {						\
  |  |  ------------------
  |  |  |  Branch (5837:9): [Folded, False: 854]
  |  |  |  Branch (5837:16): [True: 0, False: 0]
  |  |  ------------------
  |  | 5838|      0|	SEXP cell = GET_SMALLCACHE_BINDING_CELL(vcache, sidx);		\
  |  |  ------------------
  |  |  |  | 5684|      0|#  define GET_SMALLCACHE_BINDING_CELL(vcache, sidx) VCACHE(sidx)
  |  |  |  |  ------------------
  |  |  |  |  |  | 5681|      0|#  define VCACHE(i) GETSTACK_SXPVAL_PTR(vcache + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4753|      0|#define GETSTACK_SXPVAL_PTR(s) ((s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5839|      0|	if (cell == R_NilValue) {					\
  |  |  ------------------
  |  |  |  Branch (5839:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 5840|      0|	    /* make sure local variable cells are cached */		\
  |  | 5841|      0|	    SEXP symbol = GETCONST(constants, sidx);			\
  |  |  ------------------
  |  |  |  | 5463|      0|#define GETCONST(x, i) ((x).p)[i]
  |  |  ------------------
  |  | 5842|      0|	    cell = GET_BINDING_CELL_CACHE(symbol, rho, vcache, sidx);	\
  |  | 5843|      0|	}								\
  |  | 5844|      0|	/* handle immediate binings */					\
  |  | 5845|      0|	switch (BNDCELL_TAG(cell)) {					\
  |  |  ------------------
  |  |  |  Branch (5845:10): [True: 0, False: 0]
  |  |  ------------------
  |  | 5846|      0|	case REALSXP: BCNPUSH_REAL(BNDCELL_DVAL(cell)); NEXT();		\
  |  |  ------------------
  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |               	case REALSXP: BCNPUSH_REAL(BNDCELL_DVAL(cell)); NEXT();		\
  |  |  ------------------
  |  |  |  | 5375|      0|#define BCNPUSH_REAL(v) do { \
  |  |  |  | 5376|      0|  double __value__ = (v); \
  |  |  |  | 5377|      0|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5378|      0|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5378:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5379|      0|  __ntop__[-1].u.dval = __value__; \
  |  |  |  | 5380|      0|  __ntop__[-1].tag = REALSXP; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  |  |  ------------------
  |  |  |  | 5381|      0|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5382|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5382:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               	case REALSXP: BCNPUSH_REAL(BNDCELL_DVAL(cell)); NEXT();		\
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  |  |  Branch (5846:2): [True: 0, False: 0]
  |  |  ------------------
  |  | 5847|      0|	case INTSXP: BCNPUSH_INTEGER(BNDCELL_IVAL(cell)); NEXT();	\
  |  |  ------------------
  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	case INTSXP: BCNPUSH_INTEGER(BNDCELL_IVAL(cell)); NEXT();	\
  |  |  ------------------
  |  |  |  | 5384|      0|#define BCNPUSH_INTEGER(v) do { \
  |  |  |  | 5385|      0|  int __value__ = (v); \
  |  |  |  | 5386|      0|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5387|      0|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5387:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5388|      0|  __ntop__[-1].u.ival = __value__; \
  |  |  |  | 5389|      0|  __ntop__[-1].tag = INTSXP; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  |  |  ------------------
  |  |  |  | 5390|      0|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5391|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5391:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               	case INTSXP: BCNPUSH_INTEGER(BNDCELL_IVAL(cell)); NEXT();	\
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  |  |  Branch (5847:2): [True: 0, False: 0]
  |  |  ------------------
  |  | 5848|      0|	case LGLSXP: BCNPUSH_LOGICAL(BNDCELL_LVAL(cell)); NEXT();	\
  |  |  ------------------
  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  ------------------
  |  |               	case LGLSXP: BCNPUSH_LOGICAL(BNDCELL_LVAL(cell)); NEXT();	\
  |  |  ------------------
  |  |  |  | 5393|      0|#define BCNPUSH_LOGICAL(v) do { \
  |  |  |  | 5394|      0|  int __value__ = (v); \
  |  |  |  | 5395|      0|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5396|      0|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5396:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5397|      0|  __ntop__[-1].u.ival = __value__; \
  |  |  |  | 5398|      0|  __ntop__[-1].tag = LGLSXP; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  ------------------
  |  |  |  | 5399|      0|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5400|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5400:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               	case LGLSXP: BCNPUSH_LOGICAL(BNDCELL_LVAL(cell)); NEXT();	\
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  |  |  Branch (5848:2): [True: 0, False: 0]
  |  |  ------------------
  |  | 5849|      0|	}								\
  |  | 5850|      0|	SEXP value = CAR(cell);						\
  |  | 5851|      0|	int type = TYPEOF(value);					\
  |  | 5852|      0|	/* extract value of forced promises */				\
  |  | 5853|      0|	if (type == PROMSXP) {						\
  |  |  ------------------
  |  |  |  |  116|      0|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  |  |  ------------------
  |  |  |  Branch (5853:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 5854|      0|	    if (PROMISE_IS_EVALUATED(value)) {				\
  |  |  ------------------
  |  |  |  Branch (5854:10): [True: 0, False: 0]
  |  |  ------------------
  |  | 5855|      0|		switch (PROMISE_TAG(value)) {				\
  |  |  ------------------
  |  |  |  Branch (5855:11): [True: 0, False: 0]
  |  |  ------------------
  |  | 5856|      0|		case REALSXP: BCNPUSH_REAL(PROMISE_DVAL(value)); NEXT(); \
  |  |  ------------------
  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |               		case REALSXP: BCNPUSH_REAL(PROMISE_DVAL(value)); NEXT(); \
  |  |  ------------------
  |  |  |  | 5375|      0|#define BCNPUSH_REAL(v) do { \
  |  |  |  | 5376|      0|  double __value__ = (v); \
  |  |  |  | 5377|      0|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5378|      0|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5378:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5379|      0|  __ntop__[-1].u.dval = __value__; \
  |  |  |  | 5380|      0|  __ntop__[-1].tag = REALSXP; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  |  |  ------------------
  |  |  |  | 5381|      0|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5382|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5382:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               		case REALSXP: BCNPUSH_REAL(PROMISE_DVAL(value)); NEXT(); \
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  |  |  Branch (5856:3): [True: 0, False: 0]
  |  |  ------------------
  |  | 5857|      0|		case INTSXP: BCNPUSH_INTEGER(PROMISE_IVAL(value)); NEXT(); \
  |  |  ------------------
  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               		case INTSXP: BCNPUSH_INTEGER(PROMISE_IVAL(value)); NEXT(); \
  |  |  ------------------
  |  |  |  | 5384|      0|#define BCNPUSH_INTEGER(v) do { \
  |  |  |  | 5385|      0|  int __value__ = (v); \
  |  |  |  | 5386|      0|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5387|      0|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5387:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5388|      0|  __ntop__[-1].u.ival = __value__; \
  |  |  |  | 5389|      0|  __ntop__[-1].tag = INTSXP; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  |  |  ------------------
  |  |  |  | 5390|      0|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5391|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5391:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               		case INTSXP: BCNPUSH_INTEGER(PROMISE_IVAL(value)); NEXT(); \
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  |  |  Branch (5857:3): [True: 0, False: 0]
  |  |  ------------------
  |  | 5858|      0|		case LGLSXP: BCNPUSH_LOGICAL(PROMISE_LVAL(value)); NEXT(); \
  |  |  ------------------
  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  ------------------
  |  |               		case LGLSXP: BCNPUSH_LOGICAL(PROMISE_LVAL(value)); NEXT(); \
  |  |  ------------------
  |  |  |  | 5393|      0|#define BCNPUSH_LOGICAL(v) do { \
  |  |  |  | 5394|      0|  int __value__ = (v); \
  |  |  |  | 5395|      0|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5396|      0|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5396:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5397|      0|  __ntop__[-1].u.ival = __value__; \
  |  |  |  | 5398|      0|  __ntop__[-1].tag = LGLSXP; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  ------------------
  |  |  |  | 5399|      0|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5400|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5400:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               		case LGLSXP: BCNPUSH_LOGICAL(PROMISE_LVAL(value)); NEXT(); \
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  |  |  Branch (5858:3): [True: 0, False: 0]
  |  |  ------------------
  |  | 5859|      0|		}							\
  |  | 5860|      0|		value = PRVALUE(value);					\
  |  | 5861|      0|		type = TYPEOF(value);					\
  |  | 5862|      0|	    }								\
  |  | 5863|      0|	}								\
  |  | 5864|      0|	/* try fast handling of some types; for these the */		\
  |  | 5865|      0|	/* cell won't be R_NilValue or an active binding */		\
  |  | 5866|      0|	switch(type) {							\
  |  | 5867|      0|	case REALSXP:							\
  |  |  ------------------
  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (5867:2): [True: 0, False: 0]
  |  |  ------------------
  |  | 5868|      0|	case INTSXP:							\
  |  |  ------------------
  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |  |  Branch (5868:2): [True: 0, False: 0]
  |  |  ------------------
  |  | 5869|      0|	case LGLSXP:							\
  |  |  ------------------
  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  ------------------
  |  |  |  Branch (5869:2): [True: 0, False: 0]
  |  |  ------------------
  |  | 5870|      0|	case CPLXSXP:							\
  |  |  ------------------
  |  |  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  |  |  ------------------
  |  |  |  Branch (5870:2): [True: 0, False: 0]
  |  |  ------------------
  |  | 5871|      0|	case STRSXP:							\
  |  |  ------------------
  |  |  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  |  |  ------------------
  |  |  |  Branch (5871:2): [True: 0, False: 0]
  |  |  ------------------
  |  | 5872|      0|	case VECSXP:							\
  |  |  ------------------
  |  |  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  |  |  ------------------
  |  |  |  Branch (5872:2): [True: 0, False: 0]
  |  |  ------------------
  |  | 5873|      0|	case RAWSXP:							\
  |  |  ------------------
  |  |  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  |  |  ------------------
  |  |  |  Branch (5873:2): [True: 0, False: 0]
  |  |  ------------------
  |  | 5874|      0|	    BCNPUSH(value);						\
  |  |  ------------------
  |  |  |  | 5362|      0|#define BCNPUSH(v) do { \
  |  |  |  | 5363|      0|  SEXP __value__ = (v); \
  |  |  |  | 5364|      0|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5365|      0|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5365:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5366|      0|  SETSTACK(0, __value__); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5367|      0|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5368|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5368:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5875|      0|	    NEXT();							\
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 5876|      0|	case SYMSXP:							\
  |  |  ------------------
  |  |  |  |  112|      0|#define SYMSXP	     1	  /* symbols */
  |  |  ------------------
  |  |  |  Branch (5876:2): [True: 0, False: 0]
  |  |  ------------------
  |  | 5877|      0|	case PROMSXP:							\
  |  |  ------------------
  |  |  |  |  116|      0|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  |  |  ------------------
  |  |  |  Branch (5877:2): [True: 0, False: 0]
  |  |  ------------------
  |  | 5878|      0|	    break;							\
  |  | 5879|      0|	default:							\
  |  |  ------------------
  |  |  |  Branch (5879:2): [True: 0, False: 0]
  |  |  ------------------
  |  | 5880|      0|	    if (cell != R_NilValue && ! IS_ACTIVE_BINDING(cell)) {	\
  |  |  ------------------
  |  |  |  Branch (5880:10): [True: 0, False: 0]
  |  |  |  Branch (5880:32): [True: 0, False: 0]
  |  |  ------------------
  |  | 5881|      0|		BCNPUSH(value);						\
  |  |  ------------------
  |  |  |  | 5362|      0|#define BCNPUSH(v) do { \
  |  |  |  | 5363|      0|  SEXP __value__ = (v); \
  |  |  |  | 5364|      0|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5365|      0|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5365:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5366|      0|  SETSTACK(0, __value__); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5367|      0|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5368|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5368:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5882|      0|		NEXT();							\
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 5883|      0|	    }								\
  |  | 5884|      0|	}								\
  |  | 5885|      0|    }									\
  |  | 5886|    854|    SEXP symbol = GETCONST(constants, sidx);				\
  |  |  ------------------
  |  |  |  | 5463|    854|#define GETCONST(x, i) ((x).p)[i]
  |  |  ------------------
  |  | 5887|    854|    SEXP value = findVarEX(symbol, rho, dd, vcache, sidx);		\
  |  | 5888|    854|    if (! keepmiss && TYPEOF(value) == PROMSXP &&			\
  |  |  ------------------
  |  |  |  |  116|  1.70k|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  |  |  ------------------
  |  |  |  Branch (5888:9): [True: 854, Folded]
  |  |  |  Branch (5888:23): [True: 0, False: 854]
  |  |  ------------------
  |  | 5889|    854|	! PRSEEN(value) && ! PROMISE_IS_EVALUATED(value) &&		\
  |  |  ------------------
  |  |  |  Branch (5889:2): [True: 0, False: 0]
  |  |  |  Branch (5889:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 5890|    854|	TYPEOF(PRCODE(value)) == BCODESXP) {				\
  |  |  ------------------
  |  |  |  |  133|      0|#define BCODESXP    21    /* byte code */
  |  |  ------------------
  |  |  |  Branch (5890:2): [True: 0, False: 0]
  |  |  ------------------
  |  | 5891|      0|	START_BCFRAME_PROM(value);					\
  |  |  ------------------
  |  |  |  | 7411|      0|#define START_BCFRAME_PROM(prom) do {				\
  |  |  |  | 7412|      0|	struct bcEval_locals locals =				\
  |  |  |  | 7413|      0|	    setup_bcframe_prom(prom);				\
  |  |  |  | 7414|      0|	SAVE_BCEVAL_LOCALS(BCFRAME_LOCALS());			\
  |  |  |  |  ------------------
  |  |  |  |  |  | 7180|      0|#define SAVE_BCEVAL_LOCALS(loc) do {		\
  |  |  |  |  |  | 7181|      0|	(loc)->body = body;			\
  |  |  |  |  |  | 7182|      0|	(loc)->rho = rho;			\
  |  |  |  |  |  | 7183|      0|	(loc)->vcache = vcache;			\
  |  |  |  |  |  | 7184|      0|	(loc)->smallcache = smallcache;		\
  |  |  |  |  |  | 7185|      0|	(loc)->pc = pc;				\
  |  |  |  |  |  | 7186|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (7186:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 7415|      0|	RESTORE_BCEVAL_LOCALS(&locals);				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 7188|      0|#define RESTORE_BCEVAL_LOCALS(loc) do {		\
  |  |  |  |  |  | 7189|      0|	body = (loc)->body;			\
  |  |  |  |  |  | 7190|      0|	codebase = BCCODE(body);		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5572|      0|#define BCCODE(e) BCODE_PTR(BCODE_CODE(e))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  736|      0|#define BCODE_PTR(x) ((BCODE *) DATAPTR(x))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 7191|      0|	constants = BCCONSTS(body);		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5461|      0|    (R_bcconsts_t) {((SEXP const *) DATAPTR_RO(BCODE_CONSTS(e)))}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  737|      0|#define BCODE_CONSTS(x) CDR(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 7192|      0|	rho = (loc)->rho;			\
  |  |  |  |  |  | 7193|      0|	vcache = (loc)->vcache;			\
  |  |  |  |  |  | 7194|      0|	smallcache = (loc)->smallcache;		\
  |  |  |  |  |  | 7195|      0|	pc = (loc)->pc;				\
  |  |  |  |  |  | 7196|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (7196:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 7416|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (7416:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5892|      0|	NEXT();								\
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 5893|      0|	/* return cleanup is in DO_GETVAR_FORCE_PROMISE_RETURN */	\
  |  | 5894|      0|    }									\
  |  | 5895|    854|    BCNPUSH(getvar(symbol, rho, dd, keepmiss, vcache, sidx));		\
  |  |  ------------------
  |  |  |  | 5362|    854|#define BCNPUSH(v) do { \
  |  |  |  | 5363|    854|  SEXP __value__ = (v); \
  |  |  |  | 5364|    854|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5365|    854|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5365:7): [True: 0, False: 854]
  |  |  |  |  ------------------
  |  |  |  | 5366|    854|  SETSTACK(0, __value__); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|    854|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|    854|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|    854|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|    854|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 854]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|    854|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|    854|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|    854|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|    854|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 854]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5367|    854|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5368|    854|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5368:10): [Folded, False: 854]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5896|    854|    NEXT();								\
  |  |  ------------------
  |  |  |  | 5568|    854|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 5897|    854|} while (0)
  |  |  ------------------
  |  |  |  Branch (5897:10): [Folded, False: 854]
  |  |  ------------------
  ------------------
 7809|  24.3M|    OP(SETVAR, 1):
  ------------------
  |  | 5551|    856|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|    856|    opinfo[name##_OP].argc = (n); \
  |  | 5553|    856|    opinfo[name##_OP].instname = #name; \
  |  | 5554|    856|    goto loop; \
  |  | 5555|  24.3M|    op_##name
  ------------------
 7810|  24.3M|      {
 7811|  24.3M|	int sidx = GETOP();
  ------------------
  |  | 5569|  24.3M|#define GETOP() (*pc++).i
  ------------------
 7812|  24.3M|	SEXP loc;
 7813|  24.3M|	if (smallcache)
  ------------------
  |  Branch (7813:6): [True: 24.3M, False: 7.09k]
  ------------------
 7814|  24.3M|	    loc = GET_SMALLCACHE_BINDING_CELL(vcache, sidx);
  ------------------
  |  | 5684|  24.3M|#  define GET_SMALLCACHE_BINDING_CELL(vcache, sidx) VCACHE(sidx)
  |  |  ------------------
  |  |  |  | 5681|  24.3M|#  define VCACHE(i) GETSTACK_SXPVAL_PTR(vcache + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4753|  24.3M|#define GETSTACK_SXPVAL_PTR(s) ((s)->u.sxpval)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7815|  7.09k|	else {
 7816|  7.09k|	    SEXP symbol = GETCONST(constants, sidx);
  ------------------
  |  | 5463|  7.09k|#define GETCONST(x, i) ((x).p)[i]
  ------------------
 7817|  7.09k|	    loc = GET_BINDING_CELL_CACHE(symbol, rho, vcache, sidx);
 7818|  7.09k|	}
 7819|       |
 7820|  24.3M|	R_bcstack_t *s = R_BCNodeStackTop - 1;
 7821|  24.3M|	int tag = s->tag;
 7822|       |
 7823|  24.3M|	if (tag == BNDCELL_TAG_WR(loc))
  ------------------
  |  | 5595|  24.3M|#define BNDCELL_TAG_WR(v) (BINDING_IS_LOCKED(v) ? 0 : BNDCELL_TAG(v))
  |  |  ------------------
  |  |  |  Branch (5595:28): [True: 0, False: 24.3M]
  |  |  ------------------
  ------------------
  |  Branch (7823:6): [True: 24.3M, False: 13.9k]
  ------------------
 7824|  24.3M|	    switch (tag) {
  ------------------
  |  Branch (7824:14): [True: 338, False: 24.3M]
  ------------------
 7825|      0|	    case REALSXP: SET_BNDCELL_DVAL(loc, s->u.dval); NEXT();
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
              	    case REALSXP: SET_BNDCELL_DVAL(loc, s->u.dval); NEXT();
  ------------------
  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
  |  Branch (7825:6): [True: 0, False: 24.3M]
  ------------------
 7826|    336|	    case INTSXP: SET_BNDCELL_IVAL(loc, s->u.ival); NEXT();
  ------------------
  |  |  123|    336|#define INTSXP	    13	  /* integer vectors */
  ------------------
              	    case INTSXP: SET_BNDCELL_IVAL(loc, s->u.ival); NEXT();
  ------------------
  |  | 5568|    336|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
  |  Branch (7826:6): [True: 336, False: 24.3M]
  ------------------
 7827|    338|	    case LGLSXP: SET_BNDCELL_LVAL(loc, s->u.ival); NEXT();
  ------------------
  |  |  121|    338|#define LGLSXP	    10	  /* logical vectors */
  ------------------
              	    case LGLSXP: SET_BNDCELL_LVAL(loc, s->u.ival); NEXT();
  ------------------
  |  | 5568|    338|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
  |  Branch (7827:6): [True: 2, False: 24.3M]
  ------------------
 7828|  24.3M|	    }
 7829|  13.9k|	else if (BNDCELL_WRITABLE(loc))
  ------------------
  |  | 5598|  13.9k|    (v != R_NilValue &&	 ! BINDING_IS_LOCKED(v) && ! IS_ACTIVE_BINDING(v))
  |  |  ------------------
  |  |  |  Branch (5598:6): [True: 38, False: 13.9k]
  |  |  |  Branch (5598:26): [True: 38, False: 0]
  |  |  |  Branch (5598:52): [True: 38, False: 0]
  |  |  ------------------
  ------------------
 7830|     38|	    switch (tag) {
  ------------------
  |  Branch (7830:14): [True: 38, False: 0]
  ------------------
 7831|      0|	    case REALSXP: NEW_BNDCELL_DVAL(loc, s->u.dval); NEXT();
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
              	    case REALSXP: NEW_BNDCELL_DVAL(loc, s->u.dval); NEXT();
  ------------------
  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
  |  Branch (7831:6): [True: 0, False: 38]
  ------------------
 7832|     34|	    case INTSXP: NEW_BNDCELL_IVAL(loc, s->u.ival); NEXT();
  ------------------
  |  |  123|     34|#define INTSXP	    13	  /* integer vectors */
  ------------------
              	    case INTSXP: NEW_BNDCELL_IVAL(loc, s->u.ival); NEXT();
  ------------------
  |  | 5568|     34|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
  |  Branch (7832:6): [True: 34, False: 4]
  ------------------
 7833|     38|	    case LGLSXP: NEW_BNDCELL_LVAL(loc, s->u.ival); NEXT();
  ------------------
  |  |  121|     38|#define LGLSXP	    10	  /* logical vectors */
  ------------------
              	    case LGLSXP: NEW_BNDCELL_LVAL(loc, s->u.ival); NEXT();
  ------------------
  |  | 5568|     38|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
  |  Branch (7833:6): [True: 4, False: 34]
  ------------------
 7834|     38|	    }
 7835|       |
 7836|  24.3M|	SEXP value = GETSTACK(-1);
  ------------------
  |  | 4817|  24.3M|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  ------------------
  |  |  |  | 4751|  24.3M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4751:26): [True: 13.9k, False: 24.3M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7837|  24.3M|	INCREMENT_NAMED(value);
  ------------------
  |  |  222|  24.3M|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  ------------------
  |  |  |  Branch (222:43): [Folded, False: 24.3M]
  |  |  ------------------
  ------------------
 7838|  24.3M|	if (! SET_BINDING_VALUE(loc, value)) {
  ------------------
  |  Branch (7838:6): [True: 24.2M, False: 29.0k]
  ------------------
 7839|  24.2M|	    SEXP symbol = GETCONST(constants, sidx);
  ------------------
  |  | 5463|  24.2M|#define GETCONST(x, i) ((x).p)[i]
  ------------------
 7840|  24.2M|	    PROTECT(value);
  ------------------
  |  |  357|  24.2M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 7841|  24.2M|	    defineVar(symbol, value, rho);
  ------------------
  |  |  905|  24.2M|#define defineVar		Rf_defineVar
  ------------------
 7842|  24.2M|	    UNPROTECT(1);
  ------------------
  |  |  358|  24.2M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 7843|  24.2M|	}
 7844|  24.3M|	NEXT();
  ------------------
  |  | 5568|  24.3M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7845|  24.3M|      }
 7846|  24.3M|    OP(GETFUN, 1):
  ------------------
  |  | 5551|  24.3M|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  24.3M|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  24.3M|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  24.3M|    goto loop; \
  |  | 5555|  24.3M|    op_##name
  ------------------
 7847|  15.8M|      {
 7848|       |	/* get the function */
 7849|  15.8M|	SEXP symbol = GETCONST(constants, GETOP());
  ------------------
  |  | 5463|  15.8M|#define GETCONST(x, i) ((x).p)[i]
  ------------------
 7850|  15.8M|	SEXP value = findFun(symbol, rho);
  ------------------
  |  |  915|  15.8M|#define findFun			Rf_findFun
  ------------------
 7851|  15.8M|	INIT_CALL_FRAME(value);
  ------------------
  |  | 5952|  15.8M|#define INIT_CALL_FRAME(fun) do { \
  |  | 5953|  15.8M|	BCNPUSH(fun);		\
  |  |  ------------------
  |  |  |  | 5362|  15.8M|#define BCNPUSH(v) do { \
  |  |  |  | 5363|  15.8M|  SEXP __value__ = (v); \
  |  |  |  | 5364|  15.8M|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5365|  15.8M|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5365:7): [True: 0, False: 15.8M]
  |  |  |  |  ------------------
  |  |  |  | 5366|  15.8M|  SETSTACK(0, __value__); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  15.8M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  15.8M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  15.8M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  15.8M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 15.8M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  15.8M|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|  15.8M|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  15.8M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  15.8M|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 15.8M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5367|  15.8M|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5368|  15.8M|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5368:10): [Folded, False: 15.8M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5954|  15.8M|	INIT_CALL_FRAME_ARGS();	\
  |  |  ------------------
  |  |  |  | 5944|  15.8M|#define INIT_CALL_FRAME_ARGS() do { \
  |  |  |  | 5945|  15.8M|	BCNSTACKCHECK(2);	  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5434|  15.8M|#define BCNSTACKCHECK(n)  do {						\
  |  |  |  |  |  | 5435|  15.8M|	if (R_BCNodeStackTop + (n) > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5435:6): [True: 0, False: 15.8M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5436|  15.8M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5436:14): [Folded, False: 15.8M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5946|  15.8M|	SETSTACK(0, R_NilValue);  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  15.8M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  15.8M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  15.8M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  15.8M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 15.8M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  15.8M|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|  15.8M|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  15.8M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  15.8M|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 15.8M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5947|  15.8M|	SETSTACK(1, R_NilValue);  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  15.8M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  15.8M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  15.8M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  15.8M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 15.8M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  15.8M|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|  15.8M|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  15.8M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  15.8M|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 15.8M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5948|  15.8M|	R_BCNodeStackTop += 2;	  \
  |  |  |  | 5949|  15.8M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5949:14): [Folded, False: 15.8M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5955|  15.8M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (5955:14): [Folded, False: 15.8M]
  |  |  ------------------
  ------------------
 7852|  15.8M|	if(RTRACE(value)) {
  ------------------
  |  Branch (7852:5): [True: 0, False: 15.8M]
  ------------------
 7853|      0|	  Rprintf("trace: ");
 7854|      0|	  PrintValue(symbol);
  ------------------
  |  | 1013|      0|#define PrintValue		Rf_PrintValue
  ------------------
 7855|      0|	}
 7856|  15.8M|	NEXT();
  ------------------
  |  | 5568|  15.8M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7857|  15.8M|      }
 7858|  15.8M|    OP(GETGLOBFUN, 1):
  ------------------
  |  | 5551|  15.8M|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  15.8M|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  15.8M|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  15.8M|    goto loop; \
  |  | 5555|  15.8M|    op_##name
  ------------------
 7859|      0|      {
 7860|       |	/* get the function */
 7861|      0|	SEXP symbol = GETCONST(constants, GETOP());
  ------------------
  |  | 5463|      0|#define GETCONST(x, i) ((x).p)[i]
  ------------------
 7862|      0|	SEXP value = findFun(symbol, R_GlobalEnv);
  ------------------
  |  |  915|      0|#define findFun			Rf_findFun
  ------------------
 7863|      0|	INIT_CALL_FRAME(value);
  ------------------
  |  | 5952|      0|#define INIT_CALL_FRAME(fun) do { \
  |  | 5953|      0|	BCNPUSH(fun);		\
  |  |  ------------------
  |  |  |  | 5362|      0|#define BCNPUSH(v) do { \
  |  |  |  | 5363|      0|  SEXP __value__ = (v); \
  |  |  |  | 5364|      0|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5365|      0|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5365:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5366|      0|  SETSTACK(0, __value__); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5367|      0|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5368|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5368:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5954|      0|	INIT_CALL_FRAME_ARGS();	\
  |  |  ------------------
  |  |  |  | 5944|      0|#define INIT_CALL_FRAME_ARGS() do { \
  |  |  |  | 5945|      0|	BCNSTACKCHECK(2);	  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5434|      0|#define BCNSTACKCHECK(n)  do {						\
  |  |  |  |  |  | 5435|      0|	if (R_BCNodeStackTop + (n) > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5435:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5436|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5436:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5946|      0|	SETSTACK(0, R_NilValue);  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5947|      0|	SETSTACK(1, R_NilValue);  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5948|      0|	R_BCNodeStackTop += 2;	  \
  |  |  |  | 5949|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5949:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5955|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (5955:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 7864|      0|	if(RTRACE(value)) {
  ------------------
  |  Branch (7864:5): [True: 0, False: 0]
  ------------------
 7865|      0|	  Rprintf("trace: ");
 7866|      0|	  PrintValue(symbol);
  ------------------
  |  | 1013|      0|#define PrintValue		Rf_PrintValue
  ------------------
 7867|      0|	}
 7868|      0|	NEXT();
  ------------------
  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7869|      0|      }
 7870|      2|    OP(GETSYMFUN, 1):
  ------------------
  |  | 5551|      2|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|      2|    opinfo[name##_OP].argc = (n); \
  |  | 5553|      2|    opinfo[name##_OP].instname = #name; \
  |  | 5554|      2|    goto loop; \
  |  | 5555|      2|    op_##name
  ------------------
 7871|      0|      {
 7872|       |	/* get the function */
 7873|      0|	SEXP symbol = GETCONST(constants, GETOP());
  ------------------
  |  | 5463|      0|#define GETCONST(x, i) ((x).p)[i]
  ------------------
 7874|      0|	SEXP value = SYMVALUE(symbol);
 7875|      0|	if (TYPEOF(value) == PROMSXP) {
  ------------------
  |  |  116|      0|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (7875:6): [True: 0, False: 0]
  ------------------
 7876|      0|	    ENSURE_PROMISE_IS_EVALUATED(value);
  ------------------
  |  |  946|      0|#define ENSURE_PROMISE_IS_EVALUATED(x) do {	\
  |  |  947|      0|	SEXP __x__ = (x);			\
  |  |  948|      0|	if (! PROMISE_IS_EVALUATED(__x__))	\
  |  |  ------------------
  |  |  |  Branch (948:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  949|      0|	    forcePromise(__x__);		\
  |  |  950|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (950:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 7877|      0|	    value = PRVALUE(value);
 7878|      0|	}
 7879|      0|	if(RTRACE(value)) {
  ------------------
  |  Branch (7879:5): [True: 0, False: 0]
  ------------------
 7880|      0|	  Rprintf("trace: ");
 7881|      0|	  PrintValue(symbol);
  ------------------
  |  | 1013|      0|#define PrintValue		Rf_PrintValue
  ------------------
 7882|      0|	}
 7883|      0|	INIT_CALL_FRAME(value);
  ------------------
  |  | 5952|      0|#define INIT_CALL_FRAME(fun) do { \
  |  | 5953|      0|	BCNPUSH(fun);		\
  |  |  ------------------
  |  |  |  | 5362|      0|#define BCNPUSH(v) do { \
  |  |  |  | 5363|      0|  SEXP __value__ = (v); \
  |  |  |  | 5364|      0|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5365|      0|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5365:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5366|      0|  SETSTACK(0, __value__); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5367|      0|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5368|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5368:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5954|      0|	INIT_CALL_FRAME_ARGS();	\
  |  |  ------------------
  |  |  |  | 5944|      0|#define INIT_CALL_FRAME_ARGS() do { \
  |  |  |  | 5945|      0|	BCNSTACKCHECK(2);	  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5434|      0|#define BCNSTACKCHECK(n)  do {						\
  |  |  |  |  |  | 5435|      0|	if (R_BCNodeStackTop + (n) > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5435:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5436|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5436:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5946|      0|	SETSTACK(0, R_NilValue);  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5947|      0|	SETSTACK(1, R_NilValue);  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5948|      0|	R_BCNodeStackTop += 2;	  \
  |  |  |  | 5949|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5949:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5955|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (5955:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 7884|      0|	NEXT();
  ------------------
  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7885|      0|      }
 7886|  20.1M|    OP(GETBUILTIN, 1):
  ------------------
  |  | 5551|      2|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|      2|    opinfo[name##_OP].argc = (n); \
  |  | 5553|      2|    opinfo[name##_OP].instname = #name; \
  |  | 5554|      2|    goto loop; \
  |  | 5555|  20.1M|    op_##name
  ------------------
 7887|  20.1M|      {
 7888|       |	/* get the function */
 7889|  20.1M|	SEXP symbol = GETCONST(constants, GETOP());
  ------------------
  |  | 5463|  20.1M|#define GETCONST(x, i) ((x).p)[i]
  ------------------
 7890|  20.1M|	SEXP value = getPrimitive(symbol, BUILTINSXP);
  ------------------
  |  |  119|  20.1M|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
 7891|       |//#define REPORT_OVERRIDEN_BUILTINS
 7892|       |#ifdef REPORT_OVERRIDEN_BUILTINS
 7893|       |	if (value != findFun(symbol, rho)) {
 7894|       |	    Rprintf("Possibly overridden builtin: %s\n", PRIMNAME(value));
 7895|       |	}
 7896|       |#endif
 7897|  20.1M|	if (RTRACE(value)) {
  ------------------
  |  Branch (7897:6): [True: 0, False: 20.1M]
  ------------------
 7898|      0|	  Rprintf("trace: ");
 7899|      0|	  PrintValue(symbol);
  ------------------
  |  | 1013|      0|#define PrintValue		Rf_PrintValue
  ------------------
 7900|      0|	}
 7901|  20.1M|	INIT_CALL_FRAME(value);
  ------------------
  |  | 5952|  20.1M|#define INIT_CALL_FRAME(fun) do { \
  |  | 5953|  20.1M|	BCNPUSH(fun);		\
  |  |  ------------------
  |  |  |  | 5362|  20.1M|#define BCNPUSH(v) do { \
  |  |  |  | 5363|  20.1M|  SEXP __value__ = (v); \
  |  |  |  | 5364|  20.1M|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5365|  20.1M|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5365:7): [True: 0, False: 20.1M]
  |  |  |  |  ------------------
  |  |  |  | 5366|  20.1M|  SETSTACK(0, __value__); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  20.1M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  20.1M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  20.1M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  20.1M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 20.1M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  20.1M|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|  20.1M|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  20.1M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  20.1M|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 20.1M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5367|  20.1M|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5368|  20.1M|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5368:10): [Folded, False: 20.1M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5954|  20.1M|	INIT_CALL_FRAME_ARGS();	\
  |  |  ------------------
  |  |  |  | 5944|  20.1M|#define INIT_CALL_FRAME_ARGS() do { \
  |  |  |  | 5945|  20.1M|	BCNSTACKCHECK(2);	  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5434|  20.1M|#define BCNSTACKCHECK(n)  do {						\
  |  |  |  |  |  | 5435|  20.1M|	if (R_BCNodeStackTop + (n) > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5435:6): [True: 0, False: 20.1M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5436|  20.1M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5436:14): [Folded, False: 20.1M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5946|  20.1M|	SETSTACK(0, R_NilValue);  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  20.1M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  20.1M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  20.1M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  20.1M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 20.1M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  20.1M|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|  20.1M|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  20.1M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  20.1M|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 20.1M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5947|  20.1M|	SETSTACK(1, R_NilValue);  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  20.1M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  20.1M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  20.1M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  20.1M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 20.1M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  20.1M|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|  20.1M|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  20.1M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  20.1M|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 20.1M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5948|  20.1M|	R_BCNodeStackTop += 2;	  \
  |  |  |  | 5949|  20.1M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5949:14): [Folded, False: 20.1M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5955|  20.1M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (5955:14): [Folded, False: 20.1M]
  |  |  ------------------
  ------------------
 7902|  20.1M|	NEXT();
  ------------------
  |  | 5568|  20.1M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7903|  20.1M|      }
 7904|  20.1M|    OP(GETINTLBUILTIN, 1):
  ------------------
  |  | 5551|  20.1M|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  20.1M|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  20.1M|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  20.1M|    goto loop; \
  |  | 5555|  20.1M|    op_##name
  ------------------
 7905|  7.43M|      {
 7906|       |	/* get the function */
 7907|  7.43M|	SEXP symbol = GETCONST(constants, GETOP());
  ------------------
  |  | 5463|  7.43M|#define GETCONST(x, i) ((x).p)[i]
  ------------------
 7908|  7.43M|	SEXP value = INTERNAL(symbol);
 7909|  7.43M|	if (TYPEOF(value) != BUILTINSXP)
  ------------------
  |  |  119|  7.43M|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (7909:6): [True: 0, False: 7.43M]
  ------------------
 7910|      0|	  error(_("there is no .Internal function '%s'"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	  error(_("there is no .Internal function '%s'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 7911|      0|		CHAR(PRINTNAME(symbol)));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 7912|  7.43M|	INIT_CALL_FRAME(value);
  ------------------
  |  | 5952|  7.43M|#define INIT_CALL_FRAME(fun) do { \
  |  | 5953|  7.43M|	BCNPUSH(fun);		\
  |  |  ------------------
  |  |  |  | 5362|  7.43M|#define BCNPUSH(v) do { \
  |  |  |  | 5363|  7.43M|  SEXP __value__ = (v); \
  |  |  |  | 5364|  7.43M|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5365|  7.43M|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5365:7): [True: 0, False: 7.43M]
  |  |  |  |  ------------------
  |  |  |  | 5366|  7.43M|  SETSTACK(0, __value__); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  7.43M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  7.43M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  7.43M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  7.43M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 7.43M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  7.43M|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|  7.43M|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  7.43M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  7.43M|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 7.43M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5367|  7.43M|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5368|  7.43M|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5368:10): [Folded, False: 7.43M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5954|  7.43M|	INIT_CALL_FRAME_ARGS();	\
  |  |  ------------------
  |  |  |  | 5944|  7.43M|#define INIT_CALL_FRAME_ARGS() do { \
  |  |  |  | 5945|  7.43M|	BCNSTACKCHECK(2);	  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5434|  7.43M|#define BCNSTACKCHECK(n)  do {						\
  |  |  |  |  |  | 5435|  7.43M|	if (R_BCNodeStackTop + (n) > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5435:6): [True: 0, False: 7.43M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5436|  7.43M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5436:14): [Folded, False: 7.43M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5946|  7.43M|	SETSTACK(0, R_NilValue);  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  7.43M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  7.43M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  7.43M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  7.43M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 7.43M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  7.43M|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|  7.43M|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  7.43M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  7.43M|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 7.43M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5947|  7.43M|	SETSTACK(1, R_NilValue);  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  7.43M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  7.43M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  7.43M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  7.43M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 7.43M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  7.43M|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|  7.43M|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  7.43M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  7.43M|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 7.43M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5948|  7.43M|	R_BCNodeStackTop += 2;	  \
  |  |  |  | 5949|  7.43M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5949:14): [Folded, False: 7.43M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5955|  7.43M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (5955:14): [Folded, False: 7.43M]
  |  |  ------------------
  ------------------
 7913|  7.43M|	NEXT();
  ------------------
  |  | 5568|  7.43M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7914|  7.43M|      }
 7915|  7.43M|    OP(CHECKFUN, 0):
  ------------------
  |  | 5551|  7.43M|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  7.43M|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  7.43M|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  7.43M|    goto loop; \
  |  | 5555|  7.43M|    op_##name
  ------------------
 7916|  5.05k|      {
 7917|       |	/* check then the value on the stack is a function */
 7918|  5.05k|	SEXP value = GETSTACK(-1);
  ------------------
  |  | 4817|  5.05k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  ------------------
  |  |  |  | 4751|  5.05k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4751:26): [True: 0, False: 5.05k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7919|  5.05k|	if (TYPEOF(value) != CLOSXP && TYPEOF(value) != BUILTINSXP &&
  ------------------
  |  |  114|  10.1k|#define CLOSXP	     3	  /* closures */
  ------------------
              	if (TYPEOF(value) != CLOSXP && TYPEOF(value) != BUILTINSXP &&
  ------------------
  |  |  119|  5.05k|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (7919:6): [True: 0, False: 5.05k]
  |  Branch (7919:33): [True: 0, False: 0]
  ------------------
 7920|      0|	    TYPEOF(value) != SPECIALSXP)
  ------------------
  |  |  118|      0|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (7920:6): [True: 0, False: 0]
  ------------------
 7921|      0|	  error(_("attempt to apply non-function"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	  error(_("attempt to apply non-function"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 7922|  5.05k|	INIT_CALL_FRAME_ARGS();
  ------------------
  |  | 5944|  5.05k|#define INIT_CALL_FRAME_ARGS() do { \
  |  | 5945|  5.05k|	BCNSTACKCHECK(2);	  \
  |  |  ------------------
  |  |  |  | 5434|  5.05k|#define BCNSTACKCHECK(n)  do {						\
  |  |  |  | 5435|  5.05k|	if (R_BCNodeStackTop + (n) > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5435:6): [True: 0, False: 5.05k]
  |  |  |  |  ------------------
  |  |  |  | 5436|  5.05k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5436:14): [Folded, False: 5.05k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5946|  5.05k|	SETSTACK(0, R_NilValue);  \
  |  |  ------------------
  |  |  |  | 4819|  5.05k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|  5.05k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|  5.05k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|  5.05k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 5.05k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|  5.05k|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|  5.05k|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|  5.05k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|  5.05k|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 5.05k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5947|  5.05k|	SETSTACK(1, R_NilValue);  \
  |  |  ------------------
  |  |  |  | 4819|  5.05k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|  5.05k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|  5.05k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|  5.05k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 5.05k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|  5.05k|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|  5.05k|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|  5.05k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|  5.05k|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 5.05k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5948|  5.05k|	R_BCNodeStackTop += 2;	  \
  |  | 5949|  5.05k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (5949:14): [Folded, False: 5.05k]
  |  |  ------------------
  ------------------
 7923|  5.05k|	NEXT();
  ------------------
  |  | 5568|  5.05k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7924|  5.05k|      }
 7925|  13.8M|    OP(MAKEPROM, 1):
  ------------------
  |  | 5551|  5.05k|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  5.05k|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  5.05k|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  5.05k|    goto loop; \
  |  | 5555|  13.8M|    op_##name
  ------------------
 7926|  13.8M|      {
 7927|  13.8M|	SEXP code = GETCONST(constants, GETOP());
  ------------------
  |  | 5463|  13.8M|#define GETCONST(x, i) ((x).p)[i]
  ------------------
 7928|  13.8M|	switch (CALL_FRAME_FTYPE()) {
  ------------------
  |  | 5911|  13.8M|#define CALL_FRAME_FTYPE() TYPEOF(CALL_FRAME_FUN())
  |  |  ------------------
  |  |  |  | 5909|  13.8M|#define CALL_FRAME_FUN() GETSTACK(-3)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|  13.8M|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|  13.8M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 13.8M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5911:28): [True: 13.8M, False: 0]
  |  |  ------------------
  ------------------
 7929|  12.8M|	case CLOSXP:
  ------------------
  |  |  114|  12.8M|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (7929:2): [True: 12.8M, False: 1.05M]
  ------------------
 7930|  12.8M|	    PUSHCALLARG_RC(mkPROMISE(code, rho));
  ------------------
  |  | 5980|  12.8M|#define PUSHCALLARG_RC PUSHCALLARG
  |  |  ------------------
  |  |  |  | 5976|  12.8M|#define PUSHCALLARG(v) PUSHCALLARG_EX(v, FALSE)
  |  |  |  |  ------------------
  |  |  |  |  |  | 5967|  12.8M|#define PUSHCALLARG_EX(v, RC) do {					\
  |  |  |  |  |  | 5968|  12.8M|	SEXP __cell__ =							\
  |  |  |  |  |  | 5969|  12.8M|	    (RC) ? CONS(v, R_NilValue) : CONS_NR(v, R_NilValue);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  309|      0|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5969:6): [Folded, False: 12.8M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5970|  12.8M|	if (GETSTACK(-2) == R_NilValue) SETSTACK(-2, __cell__);		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4817|  12.8M|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4751|  12.8M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 12.8M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (GETSTACK(-2) == R_NilValue) SETSTACK(-2, __cell__);		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|  7.47M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|  7.47M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|  7.47M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|  7.47M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 7.47M]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|  7.47M|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|  7.47M|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|  7.47M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|  7.47M|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 7.47M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5970:6): [True: 7.47M, False: 5.33M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5971|  12.8M|	else SETCDR(GETSTACK(-1), __cell__);				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4817|  5.33M|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4751|  5.33M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 5.33M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5972|  12.8M|	SETSTACK(-1, __cell__);						\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|  12.8M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|  12.8M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|  12.8M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|  12.8M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 12.8M]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|  12.8M|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|  12.8M|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|  12.8M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|  12.8M|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 12.8M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5973|  12.8M|	if (RC) INCREMENT_NAMED(CAR(__cell__));				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  222|      0|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (222:43): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5973:6): [Folded, False: 12.8M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5974|  12.8M|	else INCREMENT_LINKS(CAR(__cell__));				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  540|  12.8M|#define INCREMENT_LINKS(x) do {			\
  |  |  |  |  |  |  |  |  541|  12.8M|	SEXP il__x__ = (x);			\
  |  |  |  |  |  |  |  |  542|  12.8M|	INCREMENT_NAMED(il__x__);		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  222|  12.8M|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (222:43): [Folded, False: 12.8M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  543|  12.8M|	INCREMENT_REFCNT(il__x__);		\
  |  |  |  |  |  |  |  |  544|  12.8M|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (544:14): [Folded, False: 12.8M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5975|  12.8M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5975:14): [Folded, False: 12.8M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7931|  12.8M|	    break;
 7932|  1.04M|	case BUILTINSXP:
  ------------------
  |  |  119|  1.04M|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (7932:2): [True: 1.04M, False: 12.8M]
  ------------------
 7933|  1.04M|	    if (TYPEOF(code) == BCODESXP)
  ------------------
  |  |  133|  1.04M|#define BCODESXP    21    /* byte code */
  ------------------
  |  Branch (7933:10): [True: 1.04M, False: 0]
  ------------------
 7934|  1.04M|		PUSHCALLARG(bcEval(code, rho));
  ------------------
  |  | 5976|  1.04M|#define PUSHCALLARG(v) PUSHCALLARG_EX(v, FALSE)
  |  |  ------------------
  |  |  |  | 5967|  1.04M|#define PUSHCALLARG_EX(v, RC) do {					\
  |  |  |  | 5968|  1.04M|	SEXP __cell__ =							\
  |  |  |  | 5969|  1.04M|	    (RC) ? CONS(v, R_NilValue) : CONS_NR(v, R_NilValue);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  309|      0|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5969:6): [Folded, False: 1.04M]
  |  |  |  |  ------------------
  |  |  |  | 5970|  1.04M|	if (GETSTACK(-2) == R_NilValue) SETSTACK(-2, __cell__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|  1.04M|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|  1.04M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 1.04M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               	if (GETSTACK(-2) == R_NilValue) SETSTACK(-2, __cell__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  1.04M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  1.04M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  1.04M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  1.04M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 1.04M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  1.04M|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|  1.04M|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  1.04M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  1.04M|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 1.04M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5970:6): [True: 1.04M, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5971|  1.04M|	else SETCDR(GETSTACK(-1), __cell__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|      0|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5972|  1.04M|	SETSTACK(-1, __cell__);						\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  1.04M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  1.04M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  1.04M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  1.04M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 1.04M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  1.04M|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|  1.04M|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  1.04M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  1.04M|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 1.04M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5973|  1.04M|	if (RC) INCREMENT_NAMED(CAR(__cell__));				\
  |  |  |  |  ------------------
  |  |  |  |  |  |  222|      0|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (222:43): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5973:6): [Folded, False: 1.04M]
  |  |  |  |  ------------------
  |  |  |  | 5974|  1.04M|	else INCREMENT_LINKS(CAR(__cell__));				\
  |  |  |  |  ------------------
  |  |  |  |  |  |  540|  1.04M|#define INCREMENT_LINKS(x) do {			\
  |  |  |  |  |  |  541|  1.04M|	SEXP il__x__ = (x);			\
  |  |  |  |  |  |  542|  1.04M|	INCREMENT_NAMED(il__x__);		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  222|  1.04M|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (222:43): [Folded, False: 1.04M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  543|  1.04M|	INCREMENT_REFCNT(il__x__);		\
  |  |  |  |  |  |  544|  1.04M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (544:14): [Folded, False: 1.04M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5975|  1.04M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5975:14): [Folded, False: 1.04M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7935|      0|	    else
 7936|       |		/* uncommon but possible, the compiler may decide not
 7937|       |		   to compile an argument expression */
 7938|  1.04M|		PUSHCALLARG(eval(code, rho));
  ------------------
  |  | 5976|      0|#define PUSHCALLARG(v) PUSHCALLARG_EX(v, FALSE)
  |  |  ------------------
  |  |  |  | 5967|      0|#define PUSHCALLARG_EX(v, RC) do {					\
  |  |  |  | 5968|      0|	SEXP __cell__ =							\
  |  |  |  | 5969|      0|	    (RC) ? CONS(v, R_NilValue) : CONS_NR(v, R_NilValue);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  309|      0|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5969:6): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5970|      0|	if (GETSTACK(-2) == R_NilValue) SETSTACK(-2, __cell__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|      0|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               	if (GETSTACK(-2) == R_NilValue) SETSTACK(-2, __cell__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5970:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5971|      0|	else SETCDR(GETSTACK(-1), __cell__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|      0|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5972|      0|	SETSTACK(-1, __cell__);						\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5973|      0|	if (RC) INCREMENT_NAMED(CAR(__cell__));				\
  |  |  |  |  ------------------
  |  |  |  |  |  |  222|      0|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (222:43): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5973:6): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5974|      0|	else INCREMENT_LINKS(CAR(__cell__));				\
  |  |  |  |  ------------------
  |  |  |  |  |  |  540|      0|#define INCREMENT_LINKS(x) do {			\
  |  |  |  |  |  |  541|      0|	SEXP il__x__ = (x);			\
  |  |  |  |  |  |  542|      0|	INCREMENT_NAMED(il__x__);		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  222|      0|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (222:43): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  543|      0|	INCREMENT_REFCNT(il__x__);		\
  |  |  |  |  |  |  544|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (544:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5975|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5975:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7939|  1.04M|	    break;
 7940|  1.00k|	case SPECIALSXP: break;
  ------------------
  |  |  118|  1.00k|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (7940:2): [True: 1.00k, False: 13.8M]
  ------------------
 7941|  13.8M|	}
 7942|  13.8M|	NEXT();
  ------------------
  |  | 5568|  13.8M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7943|  13.8M|      }
 7944|  13.8M|    OP(DOMISSING, 0):
  ------------------
  |  | 5551|  13.8M|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  13.8M|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  13.8M|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  13.8M|    goto loop; \
  |  | 5555|  13.8M|    op_##name
  ------------------
 7945|  7.45k|      {
 7946|  7.45k|	SEXPTYPE ftype = CALL_FRAME_FTYPE();
  ------------------
  |  | 5911|  7.45k|#define CALL_FRAME_FTYPE() TYPEOF(CALL_FRAME_FUN())
  |  |  ------------------
  |  |  |  | 5909|  7.45k|#define CALL_FRAME_FUN() GETSTACK(-3)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|  7.45k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|  7.45k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 7.45k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7947|  7.45k|	if (ftype != SPECIALSXP)
  ------------------
  |  |  118|  7.45k|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (7947:6): [True: 7.45k, False: 0]
  ------------------
 7948|  7.45k|	  PUSHCALLARG(R_MissingArg);
  ------------------
  |  | 5976|  7.45k|#define PUSHCALLARG(v) PUSHCALLARG_EX(v, FALSE)
  |  |  ------------------
  |  |  |  | 5967|  7.45k|#define PUSHCALLARG_EX(v, RC) do {					\
  |  |  |  | 5968|  7.45k|	SEXP __cell__ =							\
  |  |  |  | 5969|  7.45k|	    (RC) ? CONS(v, R_NilValue) : CONS_NR(v, R_NilValue);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  309|      0|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5969:6): [Folded, False: 7.45k]
  |  |  |  |  ------------------
  |  |  |  | 5970|  7.45k|	if (GETSTACK(-2) == R_NilValue) SETSTACK(-2, __cell__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|  7.45k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|  7.45k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 7.45k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               	if (GETSTACK(-2) == R_NilValue) SETSTACK(-2, __cell__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5970:6): [True: 0, False: 7.45k]
  |  |  |  |  ------------------
  |  |  |  | 5971|  7.45k|	else SETCDR(GETSTACK(-1), __cell__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|  7.45k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|  7.45k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 7.45k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5972|  7.45k|	SETSTACK(-1, __cell__);						\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  7.45k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  7.45k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  7.45k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  7.45k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 7.45k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  7.45k|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|  7.45k|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  7.45k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  7.45k|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 7.45k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5973|  7.45k|	if (RC) INCREMENT_NAMED(CAR(__cell__));				\
  |  |  |  |  ------------------
  |  |  |  |  |  |  222|      0|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (222:43): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5973:6): [Folded, False: 7.45k]
  |  |  |  |  ------------------
  |  |  |  | 5974|  7.45k|	else INCREMENT_LINKS(CAR(__cell__));				\
  |  |  |  |  ------------------
  |  |  |  |  |  |  540|  7.45k|#define INCREMENT_LINKS(x) do {			\
  |  |  |  |  |  |  541|  7.45k|	SEXP il__x__ = (x);			\
  |  |  |  |  |  |  542|  7.45k|	INCREMENT_NAMED(il__x__);		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  222|  7.45k|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (222:43): [Folded, False: 7.45k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  543|  7.45k|	INCREMENT_REFCNT(il__x__);		\
  |  |  |  |  |  |  544|  7.45k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (544:14): [Folded, False: 7.45k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5975|  7.45k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5975:14): [Folded, False: 7.45k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7949|  7.45k|	NEXT();
  ------------------
  |  | 5568|  7.45k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7950|  7.45k|      }
 7951|  12.6M|    OP(SETTAG, 1):
  ------------------
  |  | 5551|  7.45k|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  7.45k|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  7.45k|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  7.45k|    goto loop; \
  |  | 5555|  12.6M|    op_##name
  ------------------
 7952|  12.6M|      {
 7953|  12.6M|	SEXPTYPE ftype = CALL_FRAME_FTYPE();
  ------------------
  |  | 5911|  12.6M|#define CALL_FRAME_FTYPE() TYPEOF(CALL_FRAME_FUN())
  |  |  ------------------
  |  |  |  | 5909|  12.6M|#define CALL_FRAME_FUN() GETSTACK(-3)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|  12.6M|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|  12.6M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 12.6M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7954|  12.6M|	int tagidx = GETOP();
  ------------------
  |  | 5569|  12.6M|#define GETOP() (*pc++).i
  ------------------
 7955|  12.6M|	if (ftype != SPECIALSXP) {
  ------------------
  |  |  118|  12.6M|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (7955:6): [True: 12.6M, False: 0]
  ------------------
 7956|  12.6M|	    SEXP tag = GETCONST(constants, tagidx);
  ------------------
  |  | 5463|  12.6M|#define GETCONST(x, i) ((x).p)[i]
  ------------------
 7957|  12.6M|	    SETCALLARG_TAG(tag);
  ------------------
  |  | 5984|  12.6M|#define SETCALLARG_TAG(t) do {			\
  |  | 5985|  12.6M|	SEXP __tag__ = (t);			\
  |  | 5986|  12.6M|	if (__tag__ != R_NilValue) {		\
  |  |  ------------------
  |  |  |  Branch (5986:6): [True: 12.6M, False: 0]
  |  |  ------------------
  |  | 5987|  12.6M|	    SEXP __cell__ = GETSTACK(-1);	\
  |  |  ------------------
  |  |  |  | 4817|  12.6M|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4751|  12.6M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 12.6M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5988|  12.6M|	    if (__cell__ != R_NilValue)		   \
  |  |  ------------------
  |  |  |  Branch (5988:10): [True: 12.6M, False: 0]
  |  |  ------------------
  |  | 5989|  12.6M|		SET_TAG(__cell__, CreateTag(__tag__));	\
  |  |  ------------------
  |  |  |  |  904|  12.6M|#define CreateTag		Rf_CreateTag
  |  |  ------------------
  |  | 5990|  12.6M|	}						\
  |  | 5991|  12.6M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (5991:14): [Folded, False: 12.6M]
  |  |  ------------------
  ------------------
 7958|  12.6M|	}
 7959|  12.6M|	NEXT();
  ------------------
  |  | 5568|  12.6M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7960|  12.6M|      }
 7961|  12.6M|    OP(DODOTS, 0):
  ------------------
  |  | 5551|  12.6M|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  12.6M|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  12.6M|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  12.6M|    goto loop; \
  |  | 5555|  12.6M|    op_##name
  ------------------
 7962|  4.20M|      {
 7963|  4.20M|	SEXPTYPE ftype = CALL_FRAME_FTYPE();
  ------------------
  |  | 5911|  4.20M|#define CALL_FRAME_FTYPE() TYPEOF(CALL_FRAME_FUN())
  |  |  ------------------
  |  |  |  | 5909|  4.20M|#define CALL_FRAME_FUN() GETSTACK(-3)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|  4.20M|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|  4.20M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 4.20M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7964|  4.20M|	if (ftype != SPECIALSXP) {
  ------------------
  |  |  118|  4.20M|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (7964:6): [True: 4.20M, False: 0]
  ------------------
 7965|  4.20M|	  SEXP h = R_findVar(R_DotsSymbol, rho);
 7966|  4.20M|	  if (TYPEOF(h) == DOTSXP || h == R_NilValue) {
  ------------------
  |  |  127|  8.41M|#define DOTSXP	    17	  /* dot-dot-dot object */
  ------------------
  |  Branch (7966:8): [True: 4.20M, False: 2.71k]
  |  Branch (7966:31): [True: 0, False: 2.71k]
  ------------------
 7967|  4.20M|	    PROTECT(h);
  ------------------
  |  |  357|  4.20M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 7968|  8.41M|	    for (; h != R_NilValue; h = CDR(h)) {
  ------------------
  |  Branch (7968:13): [True: 4.20M, False: 4.20M]
  ------------------
 7969|  4.20M|	      SEXP val;
 7970|  4.20M|	      if (ftype == BUILTINSXP)
  ------------------
  |  |  119|  4.20M|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (7970:12): [True: 3.15M, False: 1.05M]
  ------------------
 7971|  3.15M|	        val = eval(CAR(h), rho);
  ------------------
  |  |  913|  3.15M|#define eval			Rf_eval
  ------------------
 7972|  1.05M|	      else if (CAR(h) == R_MissingArg)
  ------------------
  |  Branch (7972:17): [True: 0, False: 1.05M]
  ------------------
 7973|      0|	        val = CAR(h);
 7974|  1.05M|	      else
 7975|  1.05M|	        val = mkPROMISE(CAR(h), rho);
  ------------------
  |  | 1962|  1.05M|# define mkPROMISE		Rf_mkPROMISE
  ------------------
 7976|  4.20M|	      PUSHCALLARG(val);
  ------------------
  |  | 5976|  4.20M|#define PUSHCALLARG(v) PUSHCALLARG_EX(v, FALSE)
  |  |  ------------------
  |  |  |  | 5967|  4.20M|#define PUSHCALLARG_EX(v, RC) do {					\
  |  |  |  | 5968|  4.20M|	SEXP __cell__ =							\
  |  |  |  | 5969|  4.20M|	    (RC) ? CONS(v, R_NilValue) : CONS_NR(v, R_NilValue);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  309|      0|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5969:6): [Folded, False: 4.20M]
  |  |  |  |  ------------------
  |  |  |  | 5970|  4.20M|	if (GETSTACK(-2) == R_NilValue) SETSTACK(-2, __cell__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|  4.20M|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|  4.20M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 4.20M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               	if (GETSTACK(-2) == R_NilValue) SETSTACK(-2, __cell__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  4.20M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  4.20M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  4.20M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  4.20M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 4.20M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  4.20M|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|  4.20M|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  4.20M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  4.20M|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 4.20M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5970:6): [True: 4.20M, False: 4.72k]
  |  |  |  |  ------------------
  |  |  |  | 5971|  4.20M|	else SETCDR(GETSTACK(-1), __cell__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|  4.72k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|  4.72k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 4.72k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5972|  4.20M|	SETSTACK(-1, __cell__);						\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  4.20M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  4.20M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  4.20M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  4.20M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 4.20M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  4.20M|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|  4.20M|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  4.20M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  4.20M|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 4.20M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5973|  4.20M|	if (RC) INCREMENT_NAMED(CAR(__cell__));				\
  |  |  |  |  ------------------
  |  |  |  |  |  |  222|      0|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (222:43): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5973:6): [Folded, False: 4.20M]
  |  |  |  |  ------------------
  |  |  |  | 5974|  4.20M|	else INCREMENT_LINKS(CAR(__cell__));				\
  |  |  |  |  ------------------
  |  |  |  |  |  |  540|  4.20M|#define INCREMENT_LINKS(x) do {			\
  |  |  |  |  |  |  541|  4.20M|	SEXP il__x__ = (x);			\
  |  |  |  |  |  |  542|  4.20M|	INCREMENT_NAMED(il__x__);		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  222|  4.20M|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (222:43): [Folded, False: 4.20M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  543|  4.20M|	INCREMENT_REFCNT(il__x__);		\
  |  |  |  |  |  |  544|  4.20M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (544:14): [Folded, False: 4.20M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5975|  4.20M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5975:14): [Folded, False: 4.20M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7977|  4.20M|	      SETCALLARG_TAG(TAG(h));
  ------------------
  |  | 5984|  4.20M|#define SETCALLARG_TAG(t) do {			\
  |  | 5985|  4.20M|	SEXP __tag__ = (t);			\
  |  | 5986|  4.20M|	if (__tag__ != R_NilValue) {		\
  |  |  ------------------
  |  |  |  Branch (5986:6): [True: 4.20M, False: 9.35k]
  |  |  ------------------
  |  | 5987|  4.20M|	    SEXP __cell__ = GETSTACK(-1);	\
  |  |  ------------------
  |  |  |  | 4817|  4.20M|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4751|  4.20M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 4.20M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5988|  4.20M|	    if (__cell__ != R_NilValue)		   \
  |  |  ------------------
  |  |  |  Branch (5988:10): [True: 4.20M, False: 0]
  |  |  ------------------
  |  | 5989|  4.20M|		SET_TAG(__cell__, CreateTag(__tag__));	\
  |  |  ------------------
  |  |  |  |  904|  4.20M|#define CreateTag		Rf_CreateTag
  |  |  ------------------
  |  | 5990|  4.20M|	}						\
  |  | 5991|  4.20M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (5991:14): [Folded, False: 4.20M]
  |  |  ------------------
  ------------------
 7978|  4.20M|	    }
 7979|  4.20M|	    UNPROTECT(1); /* h */
  ------------------
  |  |  358|  4.20M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 7980|  4.20M|	  }
 7981|  2.71k|	  else if (h != R_MissingArg)
  ------------------
  |  Branch (7981:13): [True: 0, False: 2.71k]
  ------------------
 7982|      0|	    error(_("'...' used in an incorrect context"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("'...' used in an incorrect context"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 7983|  4.20M|	}
 7984|  4.20M|	NEXT();
  ------------------
  |  | 5568|  4.20M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7985|  4.20M|      }
 7986|  40.2M|    OP(PUSHARG, 0): PUSHCALLARG(BCNPOP()); NEXT();
  ------------------
  |  | 5551|  4.20M|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  4.20M|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  4.20M|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  4.20M|    goto loop; \
  |  | 5555|  40.2M|    op_##name
  ------------------
                  OP(PUSHARG, 0): PUSHCALLARG(BCNPOP()); NEXT();
  ------------------
  |  | 5976|  40.2M|#define PUSHCALLARG(v) PUSHCALLARG_EX(v, FALSE)
  |  |  ------------------
  |  |  |  | 5967|  40.2M|#define PUSHCALLARG_EX(v, RC) do {					\
  |  |  |  | 5968|  40.2M|	SEXP __cell__ =							\
  |  |  |  | 5969|  80.5M|	    (RC) ? CONS(v, R_NilValue) : CONS_NR(v, R_NilValue);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  309|      0|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (309:29): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5969:6): [Folded, False: 40.2M]
  |  |  |  |  |  Branch (5969:43): [True: 12.4k, False: 40.2M]
  |  |  |  |  ------------------
  |  |  |  | 5970|  40.2M|	if (GETSTACK(-2) == R_NilValue) SETSTACK(-2, __cell__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|  40.2M|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|  40.2M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 40.2M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               	if (GETSTACK(-2) == R_NilValue) SETSTACK(-2, __cell__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  26.5M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  26.5M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  26.5M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  26.5M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 26.5M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  26.5M|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|  26.5M|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  26.5M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  26.5M|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 26.5M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5970:6): [True: 26.5M, False: 13.7M]
  |  |  |  |  ------------------
  |  |  |  | 5971|  40.2M|	else SETCDR(GETSTACK(-1), __cell__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|  13.7M|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|  13.7M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 13.7M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5972|  40.2M|	SETSTACK(-1, __cell__);						\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  40.2M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  40.2M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  40.2M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  40.2M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 40.2M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  40.2M|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|  40.2M|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  40.2M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  40.2M|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 40.2M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5973|  40.2M|	if (RC) INCREMENT_NAMED(CAR(__cell__));				\
  |  |  |  |  ------------------
  |  |  |  |  |  |  222|      0|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (222:43): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5973:6): [Folded, False: 40.2M]
  |  |  |  |  ------------------
  |  |  |  | 5974|  40.2M|	else INCREMENT_LINKS(CAR(__cell__));				\
  |  |  |  |  ------------------
  |  |  |  |  |  |  540|  40.2M|#define INCREMENT_LINKS(x) do {			\
  |  |  |  |  |  |  541|  40.2M|	SEXP il__x__ = (x);			\
  |  |  |  |  |  |  542|  40.2M|	INCREMENT_NAMED(il__x__);		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  222|  40.2M|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (222:43): [Folded, False: 40.2M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  543|  40.2M|	INCREMENT_REFCNT(il__x__);		\
  |  |  |  |  |  |  544|  40.2M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (544:14): [Folded, False: 40.2M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5975|  40.2M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5975:14): [Folded, False: 40.2M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  OP(PUSHARG, 0): PUSHCALLARG(BCNPOP()); NEXT();
  ------------------
  |  | 5568|  40.2M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7987|  40.2M|    OP(PUSHCONSTARG, 1):
  ------------------
  |  | 5551|  40.2M|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  40.2M|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  40.2M|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  40.2M|    goto loop; \
  |  | 5555|  40.2M|    op_##name
  ------------------
 7988|  4.27M|      {
 7989|  4.27M|	SEXP value = GETCONST(constants, GETOP());
  ------------------
  |  | 5463|  4.27M|#define GETCONST(x, i) ((x).p)[i]
  ------------------
 7990|  4.27M|	if (R_check_constants < 0)
  ------------------
  |  Branch (7990:6): [True: 0, False: 4.27M]
  ------------------
 7991|      0|	    value = duplicate(value);
  ------------------
  |  |  909|      0|#define duplicate		Rf_duplicate
  ------------------
 7992|  4.27M|	MARK_NOT_MUTABLE(value);
 7993|  4.27M|	PUSHCALLARG(value);
  ------------------
  |  | 5976|  4.27M|#define PUSHCALLARG(v) PUSHCALLARG_EX(v, FALSE)
  |  |  ------------------
  |  |  |  | 5967|  4.27M|#define PUSHCALLARG_EX(v, RC) do {					\
  |  |  |  | 5968|  4.27M|	SEXP __cell__ =							\
  |  |  |  | 5969|  4.27M|	    (RC) ? CONS(v, R_NilValue) : CONS_NR(v, R_NilValue);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  309|      0|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5969:6): [Folded, False: 4.27M]
  |  |  |  |  ------------------
  |  |  |  | 5970|  4.27M|	if (GETSTACK(-2) == R_NilValue) SETSTACK(-2, __cell__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|  4.27M|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|  4.27M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 4.27M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               	if (GETSTACK(-2) == R_NilValue) SETSTACK(-2, __cell__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  1.06M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  1.06M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  1.06M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  1.06M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 1.06M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  1.06M|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|  1.06M|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  1.06M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  1.06M|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 1.06M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5970:6): [True: 1.06M, False: 3.21M]
  |  |  |  |  ------------------
  |  |  |  | 5971|  4.27M|	else SETCDR(GETSTACK(-1), __cell__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|  3.21M|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|  3.21M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 3.21M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5972|  4.27M|	SETSTACK(-1, __cell__);						\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  4.27M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  4.27M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  4.27M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  4.27M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 4.27M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  4.27M|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|  4.27M|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  4.27M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  4.27M|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 4.27M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5973|  4.27M|	if (RC) INCREMENT_NAMED(CAR(__cell__));				\
  |  |  |  |  ------------------
  |  |  |  |  |  |  222|      0|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (222:43): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5973:6): [Folded, False: 4.27M]
  |  |  |  |  ------------------
  |  |  |  | 5974|  4.27M|	else INCREMENT_LINKS(CAR(__cell__));				\
  |  |  |  |  ------------------
  |  |  |  |  |  |  540|  4.27M|#define INCREMENT_LINKS(x) do {			\
  |  |  |  |  |  |  541|  4.27M|	SEXP il__x__ = (x);			\
  |  |  |  |  |  |  542|  4.27M|	INCREMENT_NAMED(il__x__);		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  222|  4.27M|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (222:43): [Folded, False: 4.27M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  543|  4.27M|	INCREMENT_REFCNT(il__x__);		\
  |  |  |  |  |  |  544|  4.27M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (544:14): [Folded, False: 4.27M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5975|  4.27M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5975:14): [Folded, False: 4.27M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7994|  4.27M|	NEXT();
  ------------------
  |  | 5568|  4.27M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7995|  4.27M|      }
 7996|  5.25M|    OP(PUSHNULLARG, 0): PUSHCALLARG(R_NilValue); NEXT();
  ------------------
  |  | 5551|  4.27M|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  4.27M|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  4.27M|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  4.27M|    goto loop; \
  |  | 5555|  5.25M|    op_##name
  ------------------
                  OP(PUSHNULLARG, 0): PUSHCALLARG(R_NilValue); NEXT();
  ------------------
  |  | 5976|  5.25M|#define PUSHCALLARG(v) PUSHCALLARG_EX(v, FALSE)
  |  |  ------------------
  |  |  |  | 5967|  5.25M|#define PUSHCALLARG_EX(v, RC) do {					\
  |  |  |  | 5968|  5.25M|	SEXP __cell__ =							\
  |  |  |  | 5969|  5.25M|	    (RC) ? CONS(v, R_NilValue) : CONS_NR(v, R_NilValue);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  309|      0|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5969:6): [Folded, False: 5.25M]
  |  |  |  |  ------------------
  |  |  |  | 5970|  5.25M|	if (GETSTACK(-2) == R_NilValue) SETSTACK(-2, __cell__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|  5.25M|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|  5.25M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 5.25M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               	if (GETSTACK(-2) == R_NilValue) SETSTACK(-2, __cell__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  2.10M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  2.10M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  2.10M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  2.10M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 2.10M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  2.10M|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|  2.10M|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  2.10M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  2.10M|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 2.10M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5970:6): [True: 2.10M, False: 3.15M]
  |  |  |  |  ------------------
  |  |  |  | 5971|  5.25M|	else SETCDR(GETSTACK(-1), __cell__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|  3.15M|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|  3.15M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 3.15M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5972|  5.25M|	SETSTACK(-1, __cell__);						\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  5.25M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  5.25M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  5.25M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  5.25M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 5.25M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  5.25M|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|  5.25M|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  5.25M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  5.25M|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 5.25M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5973|  5.25M|	if (RC) INCREMENT_NAMED(CAR(__cell__));				\
  |  |  |  |  ------------------
  |  |  |  |  |  |  222|      0|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (222:43): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5973:6): [Folded, False: 5.25M]
  |  |  |  |  ------------------
  |  |  |  | 5974|  5.25M|	else INCREMENT_LINKS(CAR(__cell__));				\
  |  |  |  |  ------------------
  |  |  |  |  |  |  540|  5.25M|#define INCREMENT_LINKS(x) do {			\
  |  |  |  |  |  |  541|  5.25M|	SEXP il__x__ = (x);			\
  |  |  |  |  |  |  542|  5.25M|	INCREMENT_NAMED(il__x__);		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  222|  5.25M|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (222:43): [Folded, False: 5.25M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  543|  5.25M|	INCREMENT_REFCNT(il__x__);		\
  |  |  |  |  |  |  544|  5.25M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (544:14): [Folded, False: 5.25M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5975|  5.25M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5975:14): [Folded, False: 5.25M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  OP(PUSHNULLARG, 0): PUSHCALLARG(R_NilValue); NEXT();
  ------------------
  |  | 5568|  5.25M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7997|  5.25M|    OP(PUSHTRUEARG, 0): PUSHCALLARG(R_TrueValue); NEXT();
  ------------------
  |  | 5551|  5.25M|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  5.25M|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  5.25M|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  5.25M|    goto loop; \
  |  | 5555|  5.25M|    op_##name
  ------------------
                  OP(PUSHTRUEARG, 0): PUSHCALLARG(R_TrueValue); NEXT();
  ------------------
  |  | 5976|  27.9k|#define PUSHCALLARG(v) PUSHCALLARG_EX(v, FALSE)
  |  |  ------------------
  |  |  |  | 5967|  27.9k|#define PUSHCALLARG_EX(v, RC) do {					\
  |  |  |  | 5968|  27.9k|	SEXP __cell__ =							\
  |  |  |  | 5969|  27.9k|	    (RC) ? CONS(v, R_NilValue) : CONS_NR(v, R_NilValue);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  309|      0|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5969:6): [Folded, False: 27.9k]
  |  |  |  |  ------------------
  |  |  |  | 5970|  27.9k|	if (GETSTACK(-2) == R_NilValue) SETSTACK(-2, __cell__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|  27.9k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|  27.9k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 27.9k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               	if (GETSTACK(-2) == R_NilValue) SETSTACK(-2, __cell__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|    656|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|    656|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|    656|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|    656|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 656]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|    656|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|    656|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|    656|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|    656|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 656]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5970:6): [True: 656, False: 27.3k]
  |  |  |  |  ------------------
  |  |  |  | 5971|  27.9k|	else SETCDR(GETSTACK(-1), __cell__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|  27.3k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|  27.3k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 27.3k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5972|  27.9k|	SETSTACK(-1, __cell__);						\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  27.9k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  27.9k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  27.9k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  27.9k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 27.9k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  27.9k|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|  27.9k|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  27.9k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  27.9k|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 27.9k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5973|  27.9k|	if (RC) INCREMENT_NAMED(CAR(__cell__));				\
  |  |  |  |  ------------------
  |  |  |  |  |  |  222|      0|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (222:43): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5973:6): [Folded, False: 27.9k]
  |  |  |  |  ------------------
  |  |  |  | 5974|  27.9k|	else INCREMENT_LINKS(CAR(__cell__));				\
  |  |  |  |  ------------------
  |  |  |  |  |  |  540|  27.9k|#define INCREMENT_LINKS(x) do {			\
  |  |  |  |  |  |  541|  27.9k|	SEXP il__x__ = (x);			\
  |  |  |  |  |  |  542|  27.9k|	INCREMENT_NAMED(il__x__);		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  222|  27.9k|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (222:43): [Folded, False: 27.9k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  543|  27.9k|	INCREMENT_REFCNT(il__x__);		\
  |  |  |  |  |  |  544|  27.9k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (544:14): [Folded, False: 27.9k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5975|  27.9k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5975:14): [Folded, False: 27.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  OP(PUSHTRUEARG, 0): PUSHCALLARG(R_TrueValue); NEXT();
  ------------------
  |  | 5568|  27.9k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7998|  27.9k|    OP(PUSHFALSEARG, 0): PUSHCALLARG(R_FalseValue); NEXT();
  ------------------
  |  | 5551|  27.9k|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  27.9k|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  27.9k|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  27.9k|    goto loop; \
  |  | 5555|  27.9k|    op_##name
  ------------------
                  OP(PUSHFALSEARG, 0): PUSHCALLARG(R_FalseValue); NEXT();
  ------------------
  |  | 5976|  23.8k|#define PUSHCALLARG(v) PUSHCALLARG_EX(v, FALSE)
  |  |  ------------------
  |  |  |  | 5967|  23.8k|#define PUSHCALLARG_EX(v, RC) do {					\
  |  |  |  | 5968|  23.8k|	SEXP __cell__ =							\
  |  |  |  | 5969|  23.8k|	    (RC) ? CONS(v, R_NilValue) : CONS_NR(v, R_NilValue);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  309|      0|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5969:6): [Folded, False: 23.8k]
  |  |  |  |  ------------------
  |  |  |  | 5970|  23.8k|	if (GETSTACK(-2) == R_NilValue) SETSTACK(-2, __cell__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|  23.8k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|  23.8k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 23.8k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               	if (GETSTACK(-2) == R_NilValue) SETSTACK(-2, __cell__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|      4|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|      4|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|      4|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|      4|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 4]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|      4|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|      4|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|      4|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|      4|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 4]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5970:6): [True: 4, False: 23.8k]
  |  |  |  |  ------------------
  |  |  |  | 5971|  23.8k|	else SETCDR(GETSTACK(-1), __cell__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|  23.8k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|  23.8k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 23.8k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5972|  23.8k|	SETSTACK(-1, __cell__);						\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  23.8k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  23.8k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  23.8k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  23.8k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 23.8k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  23.8k|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|  23.8k|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  23.8k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  23.8k|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 23.8k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5973|  23.8k|	if (RC) INCREMENT_NAMED(CAR(__cell__));				\
  |  |  |  |  ------------------
  |  |  |  |  |  |  222|      0|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (222:43): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5973:6): [Folded, False: 23.8k]
  |  |  |  |  ------------------
  |  |  |  | 5974|  23.8k|	else INCREMENT_LINKS(CAR(__cell__));				\
  |  |  |  |  ------------------
  |  |  |  |  |  |  540|  23.8k|#define INCREMENT_LINKS(x) do {			\
  |  |  |  |  |  |  541|  23.8k|	SEXP il__x__ = (x);			\
  |  |  |  |  |  |  542|  23.8k|	INCREMENT_NAMED(il__x__);		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  222|  23.8k|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (222:43): [Folded, False: 23.8k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  543|  23.8k|	INCREMENT_REFCNT(il__x__);		\
  |  |  |  |  |  |  544|  23.8k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (544:14): [Folded, False: 23.8k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5975|  23.8k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5975:14): [Folded, False: 23.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  OP(PUSHFALSEARG, 0): PUSHCALLARG(R_FalseValue); NEXT();
  ------------------
  |  | 5568|  23.8k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 7999|  13.7M|    OP(CALL, 1):
  ------------------
  |  | 5551|  23.8k|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  23.8k|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  23.8k|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  23.8k|    goto loop; \
  |  | 5555|  13.7M|    op_##name
  ------------------
 8000|  13.7M|      {
 8001|  13.7M|	SEXP fun = CALL_FRAME_FUN();
  ------------------
  |  | 5909|  13.7M|#define CALL_FRAME_FUN() GETSTACK(-3)
  |  |  ------------------
  |  |  |  | 4817|  13.7M|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4751|  13.7M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 13.7M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8002|  13.7M|	SEXP call = GETCONST(constants, GETOP());
  ------------------
  |  | 5463|  13.7M|#define GETCONST(x, i) ((x).p)[i]
  ------------------
 8003|  13.7M|	SEXP args;
 8004|  13.7M|	SEXP value = NULL;
 8005|  13.7M|	int flag;
 8006|  13.7M|	switch (TYPEOF(fun)) {
 8007|  4.20M|	case BUILTINSXP:
  ------------------
  |  |  119|  4.20M|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (8007:2): [True: 4.20M, False: 9.58M]
  ------------------
 8008|  4.20M|	  args = BUILTIN_CALL_FRAME_ARGS();
 8009|  4.20M|	  checkForMissings(args, call);
 8010|  4.20M|	  flag = PRIMPRINT(fun);
  ------------------
  |  | 1350|  4.20M|#define PRIMPRINT(x)	(((R_FunTab[PRIMOFFSET(x)].eval)/100)%10)
  |  |  ------------------
  |  |  |  |  913|  4.20M|#define eval			Rf_eval
  |  |  ------------------
  ------------------
 8011|  4.20M|	  R_Visible = flag != 1;
 8012|  4.20M|	  value = PRIMFUN(fun) (call, fun, args, rho);
  ------------------
  |  | 1345|  4.20M|#define PRIMFUN(x)	(R_FunTab[PRIMOFFSET(x)].cfun)
  ------------------
 8013|  4.20M|	  if (flag < 2) R_Visible = flag != 1;
  ------------------
  |  Branch (8013:8): [True: 4.20M, False: 0]
  ------------------
 8014|  4.20M|	  break;
 8015|  2.29k|	case SPECIALSXP:
  ------------------
  |  |  118|  2.29k|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (8015:2): [True: 2.29k, False: 13.7M]
  ------------------
 8016|  2.29k|	  flag = PRIMPRINT(fun);
  ------------------
  |  | 1350|  2.29k|#define PRIMPRINT(x)	(((R_FunTab[PRIMOFFSET(x)].eval)/100)%10)
  |  |  ------------------
  |  |  |  |  913|  2.29k|#define eval			Rf_eval
  |  |  ------------------
  ------------------
 8017|  2.29k|	  R_Visible = flag != 1;
 8018|  2.29k|	  value = PRIMFUN(fun) (call, fun, markSpecialArgs(CDR(call)), rho);
  ------------------
  |  | 1345|  2.29k|#define PRIMFUN(x)	(R_FunTab[PRIMOFFSET(x)].cfun)
  ------------------
 8019|  2.29k|	  if (flag < 2) R_Visible = flag != 1;
  ------------------
  |  Branch (8019:8): [True: 0, False: 2.29k]
  ------------------
 8020|  2.29k|	  break;
 8021|  9.58M|	case CLOSXP:
  ------------------
  |  |  114|  9.58M|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (8021:2): [True: 9.58M, False: 4.20M]
  ------------------
 8022|  9.58M|	  args = CLOSURE_CALL_FRAME_ARGS();
 8023|  9.58M|	  if (INLINE_CLOSURE_CALL_OK(fun)) {
  ------------------
  |  | 7437|  9.58M|    (! R_disable_bytecode && TYPEOF(BODY(fun)) == BCODESXP &&	\
  |  |  ------------------
  |  |  |  |  133|  19.1M|#define BCODESXP    21    /* byte code */
  |  |  ------------------
  |  |  |  Branch (7437:6): [True: 9.58M, False: 0]
  |  |  |  Branch (7437:30): [True: 9.58M, False: 12]
  |  |  ------------------
  |  | 7438|  9.58M|     R_BCVersionOK(BODY(fun)) && ! RDEBUG(fun) &&		\
  |  |  ------------------
  |  |  |  Branch (7438:6): [True: 9.58M, False: 0]
  |  |  |  Branch (7438:34): [True: 9.58M, False: 0]
  |  |  ------------------
  |  | 7439|  9.58M|     ! RSTEP(fun) && ! RDEBUG(rho) &&				\
  |  |  ------------------
  |  |  |  Branch (7439:6): [True: 9.58M, False: 0]
  |  |  |  Branch (7439:22): [True: 9.58M, False: 0]
  |  |  ------------------
  |  | 7440|  9.58M|     R_GlobalContext->callflag != CTXT_GENERIC)
  |  |  ------------------
  |  |  |  Branch (7440:6): [True: 9.58M, False: 0]
  |  |  ------------------
  ------------------
 8024|  9.58M|	      START_BCFRAME_CALL();
  ------------------
  |  | 7347|  9.58M|#define START_BCFRAME_CALL() do {				\
  |  | 7348|  9.58M|	BC_CHECK_SIGINT();					\
  |  |  ------------------
  |  |  |  | 6194|  9.58M|#define BC_CHECK_SIGINT() do {			\
  |  |  |  | 6195|  9.58M|	if (++evalcount > BC_COUNT_DELTA) {	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   45|  9.58M|#define BC_COUNT_DELTA 127
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (6195:6): [True: 430, False: 9.58M]
  |  |  |  |  ------------------
  |  |  |  | 6196|    430|	    bc_check_sigint();			\
  |  |  |  | 6197|    430|	    evalcount = 0;			\
  |  |  |  | 6198|    430|	}					\
  |  |  |  | 6199|  9.58M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (6199:14): [Folded, False: 9.58M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7349|  9.58M|	struct bcEval_locals locals =				\
  |  | 7350|  9.58M|	    setup_bcframe_call(call, fun, args, rho);		\
  |  | 7351|  9.58M|	SAVE_BCEVAL_LOCALS(BCFRAME_LOCALS());			\
  |  |  ------------------
  |  |  |  | 7180|  9.58M|#define SAVE_BCEVAL_LOCALS(loc) do {		\
  |  |  |  | 7181|  9.58M|	(loc)->body = body;			\
  |  |  |  | 7182|  9.58M|	(loc)->rho = rho;			\
  |  |  |  | 7183|  9.58M|	(loc)->vcache = vcache;			\
  |  |  |  | 7184|  9.58M|	(loc)->smallcache = smallcache;		\
  |  |  |  | 7185|  9.58M|	(loc)->pc = pc;				\
  |  |  |  | 7186|  9.58M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (7186:14): [Folded, False: 9.58M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7352|  9.58M|	RESTORE_BCEVAL_LOCALS(&locals);				\
  |  |  ------------------
  |  |  |  | 7188|  9.58M|#define RESTORE_BCEVAL_LOCALS(loc) do {		\
  |  |  |  | 7189|  9.58M|	body = (loc)->body;			\
  |  |  |  | 7190|  9.58M|	codebase = BCCODE(body);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5572|  9.58M|#define BCCODE(e) BCODE_PTR(BCODE_CODE(e))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  736|  9.58M|#define BCODE_PTR(x) ((BCODE *) DATAPTR(x))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 7191|  9.58M|	constants = BCCONSTS(body);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5461|  9.58M|    (R_bcconsts_t) {((SEXP const *) DATAPTR_RO(BCODE_CONSTS(e)))}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  737|  9.58M|#define BCODE_CONSTS(x) CDR(x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 7192|  9.58M|	rho = (loc)->rho;			\
  |  |  |  | 7193|  9.58M|	vcache = (loc)->vcache;			\
  |  |  |  | 7194|  9.58M|	smallcache = (loc)->smallcache;		\
  |  |  |  | 7195|  9.58M|	pc = (loc)->pc;				\
  |  |  |  | 7196|  9.58M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (7196:14): [Folded, False: 9.58M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7353|  9.58M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (7353:14): [Folded, False: 9.58M]
  |  |  ------------------
  ------------------
 8025|  9.58M|	      volatile SEXP vbody = body; // keep gcc -Wclobbered happy
 8026|  9.58M|	      if (SETJMP(BCFRAME_CNTXT()->cjmpbuf)) {
  ------------------
  |  | 1162|  9.58M|# define SETJMP(x) sigsetjmp(x,0)
  ------------------
  |  Branch (8026:12): [True: 1.05M, False: 8.52M]
  ------------------
 8027|  1.05M|		  RCNTXT *pcntxt = BCFRAME_CNTXT();
  ------------------
  |  | 7246|  1.05M|#define BCFRAME_CNTXT() (R_BCFrame->pcntxt)
  ------------------
 8028|  1.05M|		  if (! pcntxt->jumptarget) {
  ------------------
  |  Branch (8028:9): [True: 1.05M, False: 0]
  ------------------
 8029|       |		      /* ignores intermediate jumps for on.exits */
 8030|  1.05M|		      pcntxt->returnValue =
 8031|  1.05M|			  SEXP_TO_STACKVAL(R_ReturnedValue);
  ------------------
  |  | 2603|  1.05M|#define SEXP_TO_STACKVAL(x) ((R_bcstack_t) { .tag = 0, .u.sxpval = (x) })
  ------------------
 8032|  1.05M|		  }
 8033|      0|		  else
 8034|       |		      /* might be better so use something less
 8035|       |			 segfault-prone than NULL here and elsewhere */
 8036|      0|		      pcntxt->returnValue =
 8037|      0|			  SEXP_TO_STACKVAL(NULL); /* undefined */
  ------------------
  |  | 2603|      0|#define SEXP_TO_STACKVAL(x) ((R_bcstack_t) { .tag = 0, .u.sxpval = (x) })
  ------------------
 8038|       |		  /* do NOT put on the stack -- it might be a NULL pointer */
 8039|  1.05M|		  DO_INLINE_CLOSURE_CALL_RETURN();
  ------------------
  |  | 7393|  1.05M|#define DO_INLINE_CLOSURE_CALL_RETURN() do {			\
  |  | 7394|  1.05M|	RESTORE_BCEVAL_LOCALS(BCFRAME_LOCALS());		\
  |  |  ------------------
  |  |  |  | 7188|  1.05M|#define RESTORE_BCEVAL_LOCALS(loc) do {		\
  |  |  |  | 7189|  1.05M|	body = (loc)->body;			\
  |  |  |  | 7190|  1.05M|	codebase = BCCODE(body);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5572|  1.05M|#define BCCODE(e) BCODE_PTR(BCODE_CODE(e))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  736|  1.05M|#define BCODE_PTR(x) ((BCODE *) DATAPTR(x))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 7191|  1.05M|	constants = BCCONSTS(body);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5461|  1.05M|    (R_bcconsts_t) {((SEXP const *) DATAPTR_RO(BCODE_CONSTS(e)))}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  737|  1.05M|#define BCODE_CONSTS(x) CDR(x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 7192|  1.05M|	rho = (loc)->rho;			\
  |  |  |  | 7193|  1.05M|	vcache = (loc)->vcache;			\
  |  |  |  | 7194|  1.05M|	smallcache = (loc)->smallcache;		\
  |  |  |  | 7195|  1.05M|	pc = (loc)->pc;				\
  |  |  |  | 7196|  1.05M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (7196:14): [Folded, False: 1.05M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7395|  1.05M|	finish_inline_closure_call();				\
  |  | 7396|  1.05M|	NEXT();							\
  |  |  ------------------
  |  |  |  | 5568|  1.05M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 7397|  1.05M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (7397:14): [Folded, False: 1.05M]
  |  |  ------------------
  ------------------
 8040|  1.05M|	      }
 8041|  8.52M|	      else {
 8042|  8.52M|		  body = vbody; // keep gcc -Wclobbered happy
 8043|  8.52M|		  NEXT();
  ------------------
  |  | 5568|  8.52M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8044|       |		  /* return cleanup is in DO_INLINE_CLOSURE_CALL_RETURN */
 8045|  8.52M|	      }
 8046|  9.58M|	  }
 8047|     12|	  else
 8048|     12|	      value = applyClosure(call, fun, args, rho, R_NilValue, TRUE);
  ------------------
  |  |  879|     12|#define applyClosure		Rf_applyClosure
  ------------------
 8049|  9.58M|	  break;
 8050|      0|	default: error(_("bad function"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	default: error(_("bad function"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (8050:2): [True: 0, False: 13.7M]
  ------------------
 8051|  13.7M|	}
 8052|  4.20M|	POP_CALL_FRAME(value);
  ------------------
  |  | 5958|  4.20M|#define POP_CALL_FRAME(value) POP_CALL_FRAME_PLUS(0, value)
  |  |  ------------------
  |  |  |  | 5960|  4.20M|#define POP_CALL_FRAME_PLUS(n, value) do {	\
  |  |  |  | 5961|  4.20M|	R_BCNodeStackTop -= (2 + (n));		\
  |  |  |  | 5962|  4.20M|	SETSTACK(-1, value);			\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  4.20M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  4.20M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  4.20M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  4.20M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 4.20M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  4.20M|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|  4.20M|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  4.20M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  4.20M|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 4.20M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5963|  4.20M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5963:14): [Folded, False: 4.20M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8053|  4.20M|	NEXT();
  ------------------
  |  | 5568|  4.20M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8054|  4.20M|      }
 8055|  27.6M|    OP(CALLBUILTIN, 1):
  ------------------
  |  | 5551|  4.20M|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  4.20M|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  4.20M|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  4.20M|    goto loop; \
  |  | 5555|  27.6M|    op_##name
  ------------------
 8056|  27.6M|      {
 8057|  27.6M|	SEXP fun = CALL_FRAME_FUN();
  ------------------
  |  | 5909|  27.6M|#define CALL_FRAME_FUN() GETSTACK(-3)
  |  |  ------------------
  |  |  |  | 4817|  27.6M|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4751|  27.6M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 27.6M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8058|  27.6M|	SEXP call = GETCONST(constants, GETOP());
  ------------------
  |  | 5463|  27.6M|#define GETCONST(x, i) ((x).p)[i]
  ------------------
 8059|  27.6M|	SEXP args = BUILTIN_CALL_FRAME_ARGS();
 8060|  27.6M|	int flag;
 8061|  27.6M|	const void *vmax = vmaxget();
 8062|  27.6M|	if (TYPEOF(fun) != BUILTINSXP)
  ------------------
  |  |  119|  27.6M|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (8062:6): [True: 0, False: 27.6M]
  ------------------
 8063|      0|	  error(_("not a BUILTIN function"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	  error(_("not a BUILTIN function"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 8064|  27.6M|	flag = PRIMPRINT(fun);
  ------------------
  |  | 1350|  27.6M|#define PRIMPRINT(x)	(((R_FunTab[PRIMOFFSET(x)].eval)/100)%10)
  |  |  ------------------
  |  |  |  |  913|  27.6M|#define eval			Rf_eval
  |  |  ------------------
  ------------------
 8065|  27.6M|	R_Visible = flag != 1;
 8066|  27.6M|	SEXP value;
 8067|  27.6M|	if (R_Profiling && IS_TRUE_BUILTIN(fun)) {
  ------------------
  |  | 6855|      0|#define IS_TRUE_BUILTIN(x) ((R_FunTab[PRIMOFFSET(x)].eval % 100 )/10 == 0)
  |  |  ------------------
  |  |  |  |  913|      0|#define eval			Rf_eval
  |  |  ------------------
  |  |  |  Branch (6855:28): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (8067:6): [True: 0, False: 27.6M]
  ------------------
 8068|      0|	    RCNTXT cntxt;
 8069|      0|	    SEXP oldref = R_Srcref;
 8070|      0|	    begincontext(&cntxt, CTXT_BUILTIN, call,
  ------------------
  |  | 1869|      0|# define begincontext		Rf_begincontext
  ------------------
 8071|      0|			 R_BaseEnv, R_BaseEnv, R_NilValue, R_NilValue);
 8072|      0|	    R_Srcref = NULL;
 8073|      0|	    value = PRIMFUN(fun) (call, fun, args, rho);
  ------------------
  |  | 1345|      0|#define PRIMFUN(x)	(R_FunTab[PRIMOFFSET(x)].cfun)
  ------------------
 8074|      0|	    R_Srcref = oldref;
 8075|      0|	    endcontext(&cntxt);
  ------------------
  |  | 1900|      0|# define endcontext		Rf_endcontext
  ------------------
 8076|  27.6M|	} else {
 8077|  27.6M|	    value = PRIMFUN(fun) (call, fun, args, rho);
  ------------------
  |  | 1345|  27.6M|#define PRIMFUN(x)	(R_FunTab[PRIMOFFSET(x)].cfun)
  ------------------
 8078|  27.6M|	}
 8079|  27.6M|	if (flag < 2) R_Visible = flag != 1;
  ------------------
  |  Branch (8079:6): [True: 27.5M, False: 14.5k]
  ------------------
 8080|  27.6M|	vmaxset(vmax);
 8081|  27.6M|	POP_CALL_FRAME(value);
  ------------------
  |  | 5958|  27.6M|#define POP_CALL_FRAME(value) POP_CALL_FRAME_PLUS(0, value)
  |  |  ------------------
  |  |  |  | 5960|  27.6M|#define POP_CALL_FRAME_PLUS(n, value) do {	\
  |  |  |  | 5961|  27.6M|	R_BCNodeStackTop -= (2 + (n));		\
  |  |  |  | 5962|  27.6M|	SETSTACK(-1, value);			\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  27.6M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  27.6M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  27.6M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  27.6M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 27.6M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  27.6M|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|  27.6M|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  27.6M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  27.6M|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 27.6M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5963|  27.6M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5963:14): [Folded, False: 27.6M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8082|  27.6M|	NEXT();
  ------------------
  |  | 5568|  27.6M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8083|  27.6M|      }
 8084|  27.6M|    OP(CALLSPECIAL, 1):
  ------------------
  |  | 5551|  27.6M|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  27.6M|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  27.6M|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  27.6M|    goto loop; \
  |  | 5555|  27.6M|    op_##name
  ------------------
 8085|  51.1k|      {
 8086|  51.1k|	SEXP call = GETCONST(constants, GETOP());
  ------------------
  |  | 5463|  51.1k|#define GETCONST(x, i) ((x).p)[i]
  ------------------
 8087|  51.1k|	SEXP symbol = CAR(call);
 8088|  51.1k|	SEXP fun = getPrimitive(symbol, SPECIALSXP);
  ------------------
  |  |  118|  51.1k|#define SPECIALSXP   7	  /* special forms */
  ------------------
 8089|  51.1k|	int flag;
 8090|  51.1k|	const void *vmax = vmaxget();
 8091|  51.1k|	if (RTRACE(fun)) {
  ------------------
  |  Branch (8091:6): [True: 0, False: 51.1k]
  ------------------
 8092|      0|	  Rprintf("trace: ");
 8093|      0|	  PrintValue(symbol);
  ------------------
  |  | 1013|      0|#define PrintValue		Rf_PrintValue
  ------------------
 8094|      0|	}
 8095|  51.1k|	flag = PRIMPRINT(fun);
  ------------------
  |  | 1350|  51.1k|#define PRIMPRINT(x)	(((R_FunTab[PRIMOFFSET(x)].eval)/100)%10)
  |  |  ------------------
  |  |  |  |  913|  51.1k|#define eval			Rf_eval
  |  |  ------------------
  ------------------
 8096|  51.1k|	R_Visible = flag != 1;
 8097|  51.1k|	SEXP value = PRIMFUN(fun) (call, fun, markSpecialArgs(CDR(call)), rho);
  ------------------
  |  | 1345|  51.1k|#define PRIMFUN(x)	(R_FunTab[PRIMOFFSET(x)].cfun)
  ------------------
 8098|  51.1k|	if (flag < 2) R_Visible = flag != 1;
  ------------------
  |  Branch (8098:6): [True: 34.8k, False: 16.3k]
  ------------------
 8099|  51.1k|	vmaxset(vmax);
 8100|  51.1k|	BCNPUSH(value);
  ------------------
  |  | 5362|  51.1k|#define BCNPUSH(v) do { \
  |  | 5363|  51.1k|  SEXP __value__ = (v); \
  |  | 5364|  51.1k|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  | 5365|  51.1k|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  ------------------
  |  |  |  Branch (5365:7): [True: 0, False: 51.1k]
  |  |  ------------------
  |  | 5366|  51.1k|  SETSTACK(0, __value__); \
  |  |  ------------------
  |  |  |  | 4819|  51.1k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|  51.1k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|  51.1k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|  51.1k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 51.1k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|  51.1k|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|  51.1k|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|  51.1k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|  51.1k|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 51.1k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5367|  51.1k|  R_BCNodeStackTop = __ntop__; \
  |  | 5368|  51.1k|} while (0)
  |  |  ------------------
  |  |  |  Branch (5368:10): [Folded, False: 51.1k]
  |  |  ------------------
  ------------------
 8101|  51.1k|	NEXT();
  ------------------
  |  | 5568|  51.1k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8102|  51.1k|      }
 8103|  7.36M|    OP(MAKECLOSURE, 1):
  ------------------
  |  | 5551|  51.1k|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  51.1k|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  51.1k|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  51.1k|    goto loop; \
  |  | 5555|  7.36M|    op_##name
  ------------------
 8104|  7.36M|      {
 8105|  7.36M|	SEXP fb = GETCONST(constants, GETOP());
  ------------------
  |  | 5463|  7.36M|#define GETCONST(x, i) ((x).p)[i]
  ------------------
 8106|  7.36M|	SEXP forms = VECTOR_ELT(fb, 0);
 8107|  7.36M|	SEXP body = VECTOR_ELT(fb, 1);
 8108|  7.36M|	SEXP value = mkCLOSXP(forms, body, rho);
  ------------------
  |  | 1960|  7.36M|# define mkCLOSXP		Rf_mkCLOSXP
  ------------------
 8109|       |	/* The LENGTH check below allows for byte code object created
 8110|       |	   by older versions of the compiler that did not record a
 8111|       |	   source attribute. */
 8112|       |	/* FIXME: bump bc version and don't check LENGTH? */
 8113|  7.36M|	if (LENGTH(fb) > 2) {
  ------------------
  |  Branch (8113:6): [True: 7.36M, False: 0]
  ------------------
 8114|  7.36M|	  SEXP srcref = VECTOR_ELT(fb, 2);
 8115|  7.36M|	  if (!isNull(srcref)) setAttrib(value, R_SrcrefSymbol, srcref);
  ------------------
  |  |  956|  7.36M|#define isNull			Rf_isNull
  ------------------
              	  if (!isNull(srcref)) setAttrib(value, R_SrcrefSymbol, srcref);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  |  Branch (8115:8): [True: 0, False: 7.36M]
  ------------------
 8116|  7.36M|	}
 8117|  7.36M|	R_Visible = TRUE;
 8118|  7.36M|	BCNPUSH(value);
  ------------------
  |  | 5362|  7.36M|#define BCNPUSH(v) do { \
  |  | 5363|  7.36M|  SEXP __value__ = (v); \
  |  | 5364|  7.36M|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  | 5365|  7.36M|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  ------------------
  |  |  |  Branch (5365:7): [True: 0, False: 7.36M]
  |  |  ------------------
  |  | 5366|  7.36M|  SETSTACK(0, __value__); \
  |  |  ------------------
  |  |  |  | 4819|  7.36M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|  7.36M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|  7.36M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|  7.36M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 7.36M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|  7.36M|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|  7.36M|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|  7.36M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|  7.36M|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 7.36M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5367|  7.36M|  R_BCNodeStackTop = __ntop__; \
  |  | 5368|  7.36M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5368:10): [Folded, False: 7.36M]
  |  |  ------------------
  ------------------
 8119|  7.36M|	NEXT();
  ------------------
  |  | 5568|  7.36M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8120|  7.36M|      }
 8121|  7.36M|    OP(UMINUS, 1): FastUnary(-, R_SubSym);
  ------------------
  |  | 5551|  7.36M|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  7.36M|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  7.36M|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  7.36M|    goto loop; \
  |  | 5555|  7.36M|    op_##name
  ------------------
                  OP(UMINUS, 1): FastUnary(-, R_SubSym);
  ------------------
  |  | 5090|    660|#define FastUnary(op, opsym) do {					\
  |  | 5091|    660|	R_bcstack_t vvx;						\
  |  | 5092|    660|	R_bcstack_t *vx = bcStackScalar(R_BCNodeStackTop - 1, &vvx);	\
  |  | 5093|    660|	if (vx->tag == REALSXP) {					\
  |  |  ------------------
  |  |  |  |  124|    660|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (5093:6): [True: 0, False: 660]
  |  |  ------------------
  |  | 5094|      0|	    SKIP_OP();							\
  |  |  ------------------
  |  |  |  | 5570|      0|#define SKIP_OP() (pc++)
  |  |  ------------------
  |  | 5095|      0|	    SETSTACK_REAL(-1, op vx->u.dval);				\
  |  |  ------------------
  |  |  |  | 4821|      0|#define SETSTACK_REAL(i, v) SETSTACK_REAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4779|      0|#define SETSTACK_REAL_PTR(s, v) do { \
  |  |  |  |  |  | 4780|      0|    double __v__ = (v); \
  |  |  |  |  |  | 4781|      0|    (s)->tag = REALSXP; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4782|      0|    (s)->u.dval = __v__; \
  |  |  |  |  |  | 4783|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4783:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5096|      0|	    R_Visible = TRUE;						\
  |  | 5097|      0|	    NEXT();							\
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 5098|      0|	}								\
  |  | 5099|    660|	else if (vx->tag == INTSXP && vx->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |  123|  1.32k|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	else if (vx->tag == INTSXP && vx->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |   56|    646|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (5099:11): [True: 646, False: 14]
  |  |  |  Branch (5099:32): [True: 646, False: 0]
  |  |  ------------------
  |  | 5100|    646|	    SKIP_OP();							\
  |  |  ------------------
  |  |  |  | 5570|    646|#define SKIP_OP() (pc++)
  |  |  ------------------
  |  | 5101|    646|	    SETSTACK_INTEGER(-1, op vx->u.ival);			\
  |  |  ------------------
  |  |  |  | 4823|    646|#define SETSTACK_INTEGER(i, v) SETSTACK_INTEGER_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4785|    646|#define SETSTACK_INTEGER_PTR(s, v) do { \
  |  |  |  |  |  | 4786|    646|    int __v__ = (v); \
  |  |  |  |  |  | 4787|    646|    (s)->tag = INTSXP; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  123|    646|#define INTSXP	    13	  /* integer vectors */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4788|    646|    (s)->u.ival = __v__; \
  |  |  |  |  |  | 4789|    646|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4789:10): [Folded, False: 646]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5102|    646|	    R_Visible = TRUE;						\
  |  | 5103|    646|	    NEXT();							\
  |  |  ------------------
  |  |  |  | 5568|    646|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 5104|    646|	}								\
  |  | 5105|    660|	Arith1(opsym);							\
  |  |  ------------------
  |  |  |  | 5029|    660|#define Arith1(opsym) do {		\
  |  |  |  | 5030|    660|  SEXP call = GETCONST(constants, GETOP()); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5463|    660|#define GETCONST(x, i) ((x).p)[i]
  |  |  |  |  ------------------
  |  |  |  | 5031|    660|  SEXP x = GETSTACK(-1); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|    660|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|    660|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 660]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5032|    660|  SETSTACK(-1, cmp_arith1(call, opsym, x, rho)); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|    660|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|    660|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|    660|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|    660|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 660]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|    660|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|    660|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|    660|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|    660|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 660]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5033|    660|  R_Visible = TRUE; \
  |  |  |  | 5034|    660|  NEXT(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|    660|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 5035|    660|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5035:9): [Folded, False: 660]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5106|    660|    } while (0)
  |  |  ------------------
  |  |  |  Branch (5106:14): [Folded, False: 660]
  |  |  ------------------
  ------------------
 8122|    662|    OP(UPLUS, 1): FastUnary(+, R_AddSym);
  ------------------
  |  | 5551|    662|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|    662|    opinfo[name##_OP].argc = (n); \
  |  | 5553|    662|    opinfo[name##_OP].instname = #name; \
  |  | 5554|    662|    goto loop; \
  |  | 5555|    662|    op_##name
  ------------------
                  OP(UPLUS, 1): FastUnary(+, R_AddSym);
  ------------------
  |  | 5090|      0|#define FastUnary(op, opsym) do {					\
  |  | 5091|      0|	R_bcstack_t vvx;						\
  |  | 5092|      0|	R_bcstack_t *vx = bcStackScalar(R_BCNodeStackTop - 1, &vvx);	\
  |  | 5093|      0|	if (vx->tag == REALSXP) {					\
  |  |  ------------------
  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (5093:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 5094|      0|	    SKIP_OP();							\
  |  |  ------------------
  |  |  |  | 5570|      0|#define SKIP_OP() (pc++)
  |  |  ------------------
  |  | 5095|      0|	    SETSTACK_REAL(-1, op vx->u.dval);				\
  |  |  ------------------
  |  |  |  | 4821|      0|#define SETSTACK_REAL(i, v) SETSTACK_REAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4779|      0|#define SETSTACK_REAL_PTR(s, v) do { \
  |  |  |  |  |  | 4780|      0|    double __v__ = (v); \
  |  |  |  |  |  | 4781|      0|    (s)->tag = REALSXP; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4782|      0|    (s)->u.dval = __v__; \
  |  |  |  |  |  | 4783|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4783:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5096|      0|	    R_Visible = TRUE;						\
  |  | 5097|      0|	    NEXT();							\
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 5098|      0|	}								\
  |  | 5099|      0|	else if (vx->tag == INTSXP && vx->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	else if (vx->tag == INTSXP && vx->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (5099:11): [True: 0, False: 0]
  |  |  |  Branch (5099:32): [True: 0, False: 0]
  |  |  ------------------
  |  | 5100|      0|	    SKIP_OP();							\
  |  |  ------------------
  |  |  |  | 5570|      0|#define SKIP_OP() (pc++)
  |  |  ------------------
  |  | 5101|      0|	    SETSTACK_INTEGER(-1, op vx->u.ival);			\
  |  |  ------------------
  |  |  |  | 4823|      0|#define SETSTACK_INTEGER(i, v) SETSTACK_INTEGER_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4785|      0|#define SETSTACK_INTEGER_PTR(s, v) do { \
  |  |  |  |  |  | 4786|      0|    int __v__ = (v); \
  |  |  |  |  |  | 4787|      0|    (s)->tag = INTSXP; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4788|      0|    (s)->u.ival = __v__; \
  |  |  |  |  |  | 4789|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4789:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5102|      0|	    R_Visible = TRUE;						\
  |  | 5103|      0|	    NEXT();							\
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 5104|      0|	}								\
  |  | 5105|      0|	Arith1(opsym);							\
  |  |  ------------------
  |  |  |  | 5029|      0|#define Arith1(opsym) do {		\
  |  |  |  | 5030|      0|  SEXP call = GETCONST(constants, GETOP()); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5463|      0|#define GETCONST(x, i) ((x).p)[i]
  |  |  |  |  ------------------
  |  |  |  | 5031|      0|  SEXP x = GETSTACK(-1); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|      0|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5032|      0|  SETSTACK(-1, cmp_arith1(call, opsym, x, rho)); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5033|      0|  R_Visible = TRUE; \
  |  |  |  | 5034|      0|  NEXT(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 5035|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5035:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5106|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (5106:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 8123|  1.71k|    OP(ADD, 1): FastBinary(R_ADD, PLUSOP, R_AddSym);
  ------------------
  |  | 5551|      2|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|      2|    opinfo[name##_OP].argc = (n); \
  |  | 5553|      2|    opinfo[name##_OP].instname = #name; \
  |  | 5554|      2|    goto loop; \
  |  | 5555|  1.71k|    op_##name
  ------------------
                  OP(ADD, 1): FastBinary(R_ADD, PLUSOP, R_AddSym);
  ------------------
  |  | 5108|  1.71k|#define FastBinary(op,opval,opsym) do {					\
  |  | 5109|  1.71k|	{								\
  |  | 5110|  1.71k|	    R_bcstack_t *sx = R_BCNodeStackTop - 2;			\
  |  | 5111|  1.71k|	    R_bcstack_t *sy = R_BCNodeStackTop - 1;			\
  |  | 5112|  1.71k|	    if (sx->tag == REALSXP && sy->tag == REALSXP)		\
  |  |  ------------------
  |  |  |  |  124|  3.43k|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |               	    if (sx->tag == REALSXP && sy->tag == REALSXP)		\
  |  |  ------------------
  |  |  |  |  124|     69|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (5112:10): [True: 69, False: 1.64k]
  |  |  |  Branch (5112:32): [True: 69, False: 0]
  |  |  ------------------
  |  | 5113|  1.71k|		DO_FAST_BINOP(op, sx->u.dval, sy->u.dval);		\
  |  |  ------------------
  |  |  |  | 5071|     69|#define DO_FAST_BINOP(fun,a,b) do {		\
  |  |  |  | 5072|     69|	SKIP_OP();				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|     69|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 5073|     69|	SETSTACK_REAL(-2, fun(a, b));		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4821|     69|#define SETSTACK_REAL(i, v) SETSTACK_REAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4779|     69|#define SETSTACK_REAL_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4780|     69|    double __v__ = (v); \
  |  |  |  |  |  |  |  | 4781|     69|    (s)->tag = REALSXP; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  124|     69|#define REALSXP	    14	  /* real variables */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4782|     69|    (s)->u.dval = __v__; \
  |  |  |  |  |  |  |  | 4783|     69|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4783:10): [Folded, False: 69]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5074|     69|	R_BCNodeStackTop--;			\
  |  |  |  | 5075|     69|	R_Visible = TRUE;			\
  |  |  |  | 5076|     69|	NEXT();					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|     69|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 5077|     69|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5077:14): [Folded, False: 69]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5114|  1.71k|	}								\
  |  | 5115|  1.71k|	R_bcstack_t vvx, vvy;						\
  |  | 5116|  1.71k|	R_bcstack_t *vx = bcStackScalar(R_BCNodeStackTop - 2, &vvx);	\
  |  | 5117|  1.71k|	R_bcstack_t *vy = bcStackScalar(R_BCNodeStackTop - 1, &vvy);	\
  |  | 5118|  1.71k|	if (vx->tag == REALSXP) {					\
  |  |  ------------------
  |  |  |  |  124|  1.71k|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (5118:6): [True: 201, False: 1.51k]
  |  |  ------------------
  |  | 5119|    201|	    if (vy->tag == REALSXP)					\
  |  |  ------------------
  |  |  |  |  124|    201|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (5119:10): [True: 40, False: 161]
  |  |  ------------------
  |  | 5120|    201|		DO_FAST_BINOP(op, vx->u.dval, vy->u.dval);		\
  |  |  ------------------
  |  |  |  | 5071|     40|#define DO_FAST_BINOP(fun,a,b) do {		\
  |  |  |  | 5072|     40|	SKIP_OP();				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|     40|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 5073|     40|	SETSTACK_REAL(-2, fun(a, b));		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4821|     40|#define SETSTACK_REAL(i, v) SETSTACK_REAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4779|     40|#define SETSTACK_REAL_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4780|     40|    double __v__ = (v); \
  |  |  |  |  |  |  |  | 4781|     40|    (s)->tag = REALSXP; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  124|     40|#define REALSXP	    14	  /* real variables */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4782|     40|    (s)->u.dval = __v__; \
  |  |  |  |  |  |  |  | 4783|     40|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4783:10): [Folded, False: 40]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5074|     40|	R_BCNodeStackTop--;			\
  |  |  |  | 5075|     40|	R_Visible = TRUE;			\
  |  |  |  | 5076|     40|	NEXT();					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|     40|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 5077|     40|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5077:14): [Folded, False: 40]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5121|    201|	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER)	\
  |  |  ------------------
  |  |  |  |  123|    322|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER)	\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (5121:15): [True: 0, False: 161]
  |  |  |  Branch (5121:36): [True: 0, False: 0]
  |  |  ------------------
  |  | 5122|    161|		DO_FAST_BINOP(op, vx->u.dval, vy->u.ival);		\
  |  |  ------------------
  |  |  |  | 5071|      0|#define DO_FAST_BINOP(fun,a,b) do {		\
  |  |  |  | 5072|      0|	SKIP_OP();				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|      0|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 5073|      0|	SETSTACK_REAL(-2, fun(a, b));		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4821|      0|#define SETSTACK_REAL(i, v) SETSTACK_REAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4779|      0|#define SETSTACK_REAL_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4780|      0|    double __v__ = (v); \
  |  |  |  |  |  |  |  | 4781|      0|    (s)->tag = REALSXP; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4782|      0|    (s)->u.dval = __v__; \
  |  |  |  |  |  |  |  | 4783|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4783:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5074|      0|	R_BCNodeStackTop--;			\
  |  |  |  | 5075|      0|	R_Visible = TRUE;			\
  |  |  |  | 5076|      0|	NEXT();					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 5077|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5077:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5123|    201|	}								\
  |  | 5124|  1.71k|	else if (vx->tag == INTSXP && vx->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |  123|  3.03k|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	else if (vx->tag == INTSXP && vx->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |   56|      2|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (5124:11): [True: 2, False: 1.51k]
  |  |  |  Branch (5124:32): [True: 2, False: 0]
  |  |  ------------------
  |  | 5125|      2|	    int ix = vx->u.ival;					\
  |  | 5126|      2|	    if (vy->tag == REALSXP)					\
  |  |  ------------------
  |  |  |  |  124|      2|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (5126:10): [True: 0, False: 2]
  |  |  ------------------
  |  | 5127|      2|		DO_FAST_BINOP(op, ix, vy->u.dval);			\
  |  |  ------------------
  |  |  |  | 5071|      0|#define DO_FAST_BINOP(fun,a,b) do {		\
  |  |  |  | 5072|      0|	SKIP_OP();				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|      0|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 5073|      0|	SETSTACK_REAL(-2, fun(a, b));		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4821|      0|#define SETSTACK_REAL(i, v) SETSTACK_REAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4779|      0|#define SETSTACK_REAL_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4780|      0|    double __v__ = (v); \
  |  |  |  |  |  |  |  | 4781|      0|    (s)->tag = REALSXP; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4782|      0|    (s)->u.dval = __v__; \
  |  |  |  |  |  |  |  | 4783|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4783:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5074|      0|	R_BCNodeStackTop--;			\
  |  |  |  | 5075|      0|	R_Visible = TRUE;			\
  |  |  |  | 5076|      0|	NEXT();					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 5077|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5077:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5128|      2|	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |  123|      4|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (5128:15): [True: 0, False: 2]
  |  |  |  Branch (5128:36): [True: 0, False: 0]
  |  |  ------------------
  |  | 5129|      0|		int iy = vy->u.ival;					\
  |  | 5130|      0|		if (opval == DIVOP || opval == POWOP)			\
  |  |  ------------------
  |  |  |  Branch (5130:7): [Folded, False: 0]
  |  |  |  Branch (5130:25): [Folded, False: 0]
  |  |  ------------------
  |  | 5131|      0|		    DO_FAST_BINOP(op, (double) ix, (double) iy);	\
  |  |  ------------------
  |  |  |  | 5071|      0|#define DO_FAST_BINOP(fun,a,b) do {		\
  |  |  |  | 5072|      0|	SKIP_OP();				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|      0|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 5073|      0|	SETSTACK_REAL(-2, fun(a, b));		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4821|      0|#define SETSTACK_REAL(i, v) SETSTACK_REAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4779|      0|#define SETSTACK_REAL_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4780|      0|    double __v__ = (v); \
  |  |  |  |  |  |  |  | 4781|      0|    (s)->tag = REALSXP; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4782|      0|    (s)->u.dval = __v__; \
  |  |  |  |  |  |  |  | 4783|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4783:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5074|      0|	R_BCNodeStackTop--;			\
  |  |  |  | 5075|      0|	R_Visible = TRUE;			\
  |  |  |  | 5076|      0|	NEXT();					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 5077|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5077:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5132|      0|		else							\
  |  | 5133|      0|		    DO_FAST_BINOP_INT(op, ix, iy);			\
  |  |  ------------------
  |  |  |  | 5079|      0|#define DO_FAST_BINOP_INT(fun, a, b) do {		\
  |  |  |  | 5080|      0|	double dval = fun((double) (a), (double) (b));	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 8123|      0|    OP(ADD, 1): FastBinary(R_ADD, PLUSOP, R_AddSym);
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5139|      0|#define R_ADD(x, y) ((x) + (y))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5081|      0|	if (dval <= INT_MAX && dval >= INT_MIN + 1) {	\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5081:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (5081:25): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5082|      0|	    SKIP_OP();					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|      0|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 5083|      0|	    SETSTACK_INTEGER(-2, (int) dval);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4823|      0|#define SETSTACK_INTEGER(i, v) SETSTACK_INTEGER_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4785|      0|#define SETSTACK_INTEGER_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4786|      0|    int __v__ = (v); \
  |  |  |  |  |  |  |  | 4787|      0|    (s)->tag = INTSXP; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4788|      0|    (s)->u.ival = __v__; \
  |  |  |  |  |  |  |  | 4789|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4789:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5084|      0|	    R_BCNodeStackTop--;				\
  |  |  |  | 5085|      0|	    R_Visible = TRUE;				\
  |  |  |  | 5086|      0|	    NEXT();					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 5087|      0|	}						\
  |  |  |  | 5088|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5088:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5134|      0|	    }								\
  |  | 5135|      2|	}								\
  |  | 5136|  1.71k|	Arith2(opval, opsym);						\
  |  |  ------------------
  |  |  |  | 5038|  1.71k|#define Arith2(opval,opsym) NewBuiltin2(cmp_arith2,opval,opsym,rho)
  |  |  |  |  ------------------
  |  |  |  |  |  | 5019|  1.71k|#define NewBuiltin2(do_fun,opval,opsym,rho) do {	\
  |  |  |  |  |  | 5020|  1.71k|  SEXP call = GETCONST(constants, GETOP()); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5463|  1.71k|#define GETCONST(x, i) ((x).p)[i]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5021|  1.71k|  SEXP x = GETSTACK(-2); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4817|  1.71k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4751|  1.71k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 1.71k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5022|  1.71k|  SEXP y = GETSTACK(-1); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4817|  1.71k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4751|  1.71k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 1.17k, False: 538]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5023|  1.71k|  SETSTACK(-2, do_fun(call, opval, opsym, x, y,rho));	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|  1.71k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|  1.71k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|  1.71k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|  1.71k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 1.71k]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|  1.71k|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|  1.71k|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|  1.71k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|  1.71k|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 1.71k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5024|  1.71k|  R_BCNodeStackTop--; \
  |  |  |  |  |  | 5025|  1.71k|  R_Visible = TRUE; \
  |  |  |  |  |  | 5026|  1.71k|  NEXT(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5568|  1.71k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5027|  1.71k|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5027:9): [Folded, False: 1.71k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5137|  1.71k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (5137:14): [Folded, False: 1.71k]
  |  |  ------------------
  ------------------
 8124|  6.49k|    OP(SUB, 1): FastBinary(R_SUB, MINUSOP, R_SubSym);
  ------------------
  |  | 5551|  1.71k|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  1.71k|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  1.71k|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  1.71k|    goto loop; \
  |  | 5555|  6.49k|    op_##name
  ------------------
                  OP(SUB, 1): FastBinary(R_SUB, MINUSOP, R_SubSym);
  ------------------
  |  | 5108|  6.49k|#define FastBinary(op,opval,opsym) do {					\
  |  | 5109|  6.49k|	{								\
  |  | 5110|  6.49k|	    R_bcstack_t *sx = R_BCNodeStackTop - 2;			\
  |  | 5111|  6.49k|	    R_bcstack_t *sy = R_BCNodeStackTop - 1;			\
  |  | 5112|  6.49k|	    if (sx->tag == REALSXP && sy->tag == REALSXP)		\
  |  |  ------------------
  |  |  |  |  124|  12.9k|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |               	    if (sx->tag == REALSXP && sy->tag == REALSXP)		\
  |  |  ------------------
  |  |  |  |  124|  1.21k|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (5112:10): [True: 1.21k, False: 5.28k]
  |  |  |  Branch (5112:32): [True: 0, False: 1.21k]
  |  |  ------------------
  |  | 5113|  6.49k|		DO_FAST_BINOP(op, sx->u.dval, sy->u.dval);		\
  |  |  ------------------
  |  |  |  | 5071|      0|#define DO_FAST_BINOP(fun,a,b) do {		\
  |  |  |  | 5072|      0|	SKIP_OP();				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|      0|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 5073|      0|	SETSTACK_REAL(-2, fun(a, b));		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4821|      0|#define SETSTACK_REAL(i, v) SETSTACK_REAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4779|      0|#define SETSTACK_REAL_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4780|      0|    double __v__ = (v); \
  |  |  |  |  |  |  |  | 4781|      0|    (s)->tag = REALSXP; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4782|      0|    (s)->u.dval = __v__; \
  |  |  |  |  |  |  |  | 4783|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4783:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5074|      0|	R_BCNodeStackTop--;			\
  |  |  |  | 5075|      0|	R_Visible = TRUE;			\
  |  |  |  | 5076|      0|	NEXT();					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 5077|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5077:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5114|  6.49k|	}								\
  |  | 5115|  6.49k|	R_bcstack_t vvx, vvy;						\
  |  | 5116|  6.49k|	R_bcstack_t *vx = bcStackScalar(R_BCNodeStackTop - 2, &vvx);	\
  |  | 5117|  6.49k|	R_bcstack_t *vy = bcStackScalar(R_BCNodeStackTop - 1, &vvy);	\
  |  | 5118|  6.49k|	if (vx->tag == REALSXP) {					\
  |  |  ------------------
  |  |  |  |  124|  6.49k|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (5118:6): [True: 2.01k, False: 4.48k]
  |  |  ------------------
  |  | 5119|  2.01k|	    if (vy->tag == REALSXP)					\
  |  |  ------------------
  |  |  |  |  124|  2.01k|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (5119:10): [True: 1.76k, False: 253]
  |  |  ------------------
  |  | 5120|  2.01k|		DO_FAST_BINOP(op, vx->u.dval, vy->u.dval);		\
  |  |  ------------------
  |  |  |  | 5071|  1.76k|#define DO_FAST_BINOP(fun,a,b) do {		\
  |  |  |  | 5072|  1.76k|	SKIP_OP();				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|  1.76k|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 5073|  1.76k|	SETSTACK_REAL(-2, fun(a, b));		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4821|  1.76k|#define SETSTACK_REAL(i, v) SETSTACK_REAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4779|  1.76k|#define SETSTACK_REAL_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4780|  1.76k|    double __v__ = (v); \
  |  |  |  |  |  |  |  | 4781|  1.76k|    (s)->tag = REALSXP; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  124|  1.76k|#define REALSXP	    14	  /* real variables */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4782|  1.76k|    (s)->u.dval = __v__; \
  |  |  |  |  |  |  |  | 4783|  1.76k|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4783:10): [Folded, False: 1.76k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5074|  1.76k|	R_BCNodeStackTop--;			\
  |  |  |  | 5075|  1.76k|	R_Visible = TRUE;			\
  |  |  |  | 5076|  1.76k|	NEXT();					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|  1.76k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 5077|  1.76k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5077:14): [Folded, False: 1.76k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5121|  2.01k|	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER)	\
  |  |  ------------------
  |  |  |  |  123|    506|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER)	\
  |  |  ------------------
  |  |  |  |   56|      2|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (5121:15): [True: 2, False: 251]
  |  |  |  Branch (5121:36): [True: 2, False: 0]
  |  |  ------------------
  |  | 5122|    253|		DO_FAST_BINOP(op, vx->u.dval, vy->u.ival);		\
  |  |  ------------------
  |  |  |  | 5071|      2|#define DO_FAST_BINOP(fun,a,b) do {		\
  |  |  |  | 5072|      2|	SKIP_OP();				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|      2|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 5073|      2|	SETSTACK_REAL(-2, fun(a, b));		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4821|      2|#define SETSTACK_REAL(i, v) SETSTACK_REAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4779|      2|#define SETSTACK_REAL_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4780|      2|    double __v__ = (v); \
  |  |  |  |  |  |  |  | 4781|      2|    (s)->tag = REALSXP; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  124|      2|#define REALSXP	    14	  /* real variables */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4782|      2|    (s)->u.dval = __v__; \
  |  |  |  |  |  |  |  | 4783|      2|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4783:10): [Folded, False: 2]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5074|      2|	R_BCNodeStackTop--;			\
  |  |  |  | 5075|      2|	R_Visible = TRUE;			\
  |  |  |  | 5076|      2|	NEXT();					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      2|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 5077|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5077:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5123|  2.01k|	}								\
  |  | 5124|  6.49k|	else if (vx->tag == INTSXP && vx->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |  123|  8.96k|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	else if (vx->tag == INTSXP && vx->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |   56|  2.45k|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (5124:11): [True: 2.45k, False: 2.02k]
  |  |  |  Branch (5124:32): [True: 2.45k, False: 0]
  |  |  ------------------
  |  | 5125|  2.45k|	    int ix = vx->u.ival;					\
  |  | 5126|  2.45k|	    if (vy->tag == REALSXP)					\
  |  |  ------------------
  |  |  |  |  124|  2.45k|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (5126:10): [True: 26, False: 2.43k]
  |  |  ------------------
  |  | 5127|  2.45k|		DO_FAST_BINOP(op, ix, vy->u.dval);			\
  |  |  ------------------
  |  |  |  | 5071|     26|#define DO_FAST_BINOP(fun,a,b) do {		\
  |  |  |  | 5072|     26|	SKIP_OP();				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|     26|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 5073|     26|	SETSTACK_REAL(-2, fun(a, b));		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4821|     26|#define SETSTACK_REAL(i, v) SETSTACK_REAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4779|     26|#define SETSTACK_REAL_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4780|     26|    double __v__ = (v); \
  |  |  |  |  |  |  |  | 4781|     26|    (s)->tag = REALSXP; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  124|     26|#define REALSXP	    14	  /* real variables */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4782|     26|    (s)->u.dval = __v__; \
  |  |  |  |  |  |  |  | 4783|     26|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4783:10): [Folded, False: 26]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5074|     26|	R_BCNodeStackTop--;			\
  |  |  |  | 5075|     26|	R_Visible = TRUE;			\
  |  |  |  | 5076|     26|	NEXT();					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|     26|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 5077|     26|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5077:14): [Folded, False: 26]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5128|  2.45k|	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |  123|  4.86k|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |   56|    698|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (5128:15): [True: 698, False: 1.73k]
  |  |  |  Branch (5128:36): [True: 698, False: 0]
  |  |  ------------------
  |  | 5129|    698|		int iy = vy->u.ival;					\
  |  | 5130|    698|		if (opval == DIVOP || opval == POWOP)			\
  |  |  ------------------
  |  |  |  Branch (5130:7): [Folded, False: 0]
  |  |  |  Branch (5130:25): [Folded, False: 0]
  |  |  ------------------
  |  | 5131|    698|		    DO_FAST_BINOP(op, (double) ix, (double) iy);	\
  |  |  ------------------
  |  |  |  | 5071|      0|#define DO_FAST_BINOP(fun,a,b) do {		\
  |  |  |  | 5072|      0|	SKIP_OP();				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|      0|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 5073|      0|	SETSTACK_REAL(-2, fun(a, b));		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4821|      0|#define SETSTACK_REAL(i, v) SETSTACK_REAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4779|      0|#define SETSTACK_REAL_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4780|      0|    double __v__ = (v); \
  |  |  |  |  |  |  |  | 4781|      0|    (s)->tag = REALSXP; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4782|      0|    (s)->u.dval = __v__; \
  |  |  |  |  |  |  |  | 4783|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4783:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5074|      0|	R_BCNodeStackTop--;			\
  |  |  |  | 5075|      0|	R_Visible = TRUE;			\
  |  |  |  | 5076|      0|	NEXT();					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 5077|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5077:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5132|    698|		else							\
  |  | 5133|    698|		    DO_FAST_BINOP_INT(op, ix, iy);			\
  |  |  ------------------
  |  |  |  | 5079|    698|#define DO_FAST_BINOP_INT(fun, a, b) do {		\
  |  |  |  | 5080|    698|	double dval = fun((double) (a), (double) (b));	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 8124|    698|    OP(SUB, 1): FastBinary(R_SUB, MINUSOP, R_SubSym);
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5140|    698|#define R_SUB(x, y) ((x) - (y))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5081|    698|	if (dval <= INT_MAX && dval >= INT_MIN + 1) {	\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5081:6): [True: 698, False: 0]
  |  |  |  |  |  Branch (5081:25): [True: 698, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5082|    698|	    SKIP_OP();					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|    698|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 5083|    698|	    SETSTACK_INTEGER(-2, (int) dval);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4823|    698|#define SETSTACK_INTEGER(i, v) SETSTACK_INTEGER_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4785|    698|#define SETSTACK_INTEGER_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4786|    698|    int __v__ = (v); \
  |  |  |  |  |  |  |  | 4787|    698|    (s)->tag = INTSXP; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  123|    698|#define INTSXP	    13	  /* integer vectors */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4788|    698|    (s)->u.ival = __v__; \
  |  |  |  |  |  |  |  | 4789|    698|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4789:10): [Folded, False: 698]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5084|    698|	    R_BCNodeStackTop--;				\
  |  |  |  | 5085|    698|	    R_Visible = TRUE;				\
  |  |  |  | 5086|    698|	    NEXT();					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|    698|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 5087|    698|	}						\
  |  |  |  | 5088|    698|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5088:13): [Folded, False: 698]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5134|    698|	    }								\
  |  | 5135|  2.45k|	}								\
  |  | 5136|  6.49k|	Arith2(opval, opsym);						\
  |  |  ------------------
  |  |  |  | 5038|  6.49k|#define Arith2(opval,opsym) NewBuiltin2(cmp_arith2,opval,opsym,rho)
  |  |  |  |  ------------------
  |  |  |  |  |  | 5019|  6.49k|#define NewBuiltin2(do_fun,opval,opsym,rho) do {	\
  |  |  |  |  |  | 5020|  6.49k|  SEXP call = GETCONST(constants, GETOP()); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5463|  6.49k|#define GETCONST(x, i) ((x).p)[i]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5021|  6.49k|  SEXP x = GETSTACK(-2); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4817|  6.49k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4751|  6.49k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 6.49k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5022|  6.49k|  SEXP y = GETSTACK(-1); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4817|  6.49k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4751|  6.49k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 975, False: 5.52k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5023|  6.49k|  SETSTACK(-2, do_fun(call, opval, opsym, x, y,rho));	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|  6.49k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|  6.49k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|  6.49k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|  6.49k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 6.49k]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|  6.49k|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|  6.49k|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|  6.49k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|  6.49k|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 6.49k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5024|  6.49k|  R_BCNodeStackTop--; \
  |  |  |  |  |  | 5025|  6.49k|  R_Visible = TRUE; \
  |  |  |  |  |  | 5026|  6.49k|  NEXT(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5568|  6.49k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5027|  6.49k|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5027:9): [Folded, False: 6.49k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5137|  6.49k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (5137:14): [Folded, False: 6.49k]
  |  |  ------------------
  ------------------
 8125|  6.85k|    OP(MUL, 1): FastBinary(R_MUL, TIMESOP, R_MulSym);
  ------------------
  |  | 5551|  6.50k|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  6.50k|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  6.50k|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  6.50k|    goto loop; \
  |  | 5555|  6.85k|    op_##name
  ------------------
                  OP(MUL, 1): FastBinary(R_MUL, TIMESOP, R_MulSym);
  ------------------
  |  | 5108|  6.85k|#define FastBinary(op,opval,opsym) do {					\
  |  | 5109|  6.85k|	{								\
  |  | 5110|  6.85k|	    R_bcstack_t *sx = R_BCNodeStackTop - 2;			\
  |  | 5111|  6.85k|	    R_bcstack_t *sy = R_BCNodeStackTop - 1;			\
  |  | 5112|  6.85k|	    if (sx->tag == REALSXP && sy->tag == REALSXP)		\
  |  |  ------------------
  |  |  |  |  124|  13.7k|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |               	    if (sx->tag == REALSXP && sy->tag == REALSXP)		\
  |  |  ------------------
  |  |  |  |  124|  2.18k|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (5112:10): [True: 2.18k, False: 4.67k]
  |  |  |  Branch (5112:32): [True: 0, False: 2.18k]
  |  |  ------------------
  |  | 5113|  6.85k|		DO_FAST_BINOP(op, sx->u.dval, sy->u.dval);		\
  |  |  ------------------
  |  |  |  | 5071|      0|#define DO_FAST_BINOP(fun,a,b) do {		\
  |  |  |  | 5072|      0|	SKIP_OP();				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|      0|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 5073|      0|	SETSTACK_REAL(-2, fun(a, b));		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4821|      0|#define SETSTACK_REAL(i, v) SETSTACK_REAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4779|      0|#define SETSTACK_REAL_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4780|      0|    double __v__ = (v); \
  |  |  |  |  |  |  |  | 4781|      0|    (s)->tag = REALSXP; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4782|      0|    (s)->u.dval = __v__; \
  |  |  |  |  |  |  |  | 4783|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4783:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5074|      0|	R_BCNodeStackTop--;			\
  |  |  |  | 5075|      0|	R_Visible = TRUE;			\
  |  |  |  | 5076|      0|	NEXT();					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 5077|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5077:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5114|  6.85k|	}								\
  |  | 5115|  6.85k|	R_bcstack_t vvx, vvy;						\
  |  | 5116|  6.85k|	R_bcstack_t *vx = bcStackScalar(R_BCNodeStackTop - 2, &vvx);	\
  |  | 5117|  6.85k|	R_bcstack_t *vy = bcStackScalar(R_BCNodeStackTop - 1, &vvy);	\
  |  | 5118|  6.85k|	if (vx->tag == REALSXP) {					\
  |  |  ------------------
  |  |  |  |  124|  6.85k|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (5118:6): [True: 3.06k, False: 3.78k]
  |  |  ------------------
  |  | 5119|  3.06k|	    if (vy->tag == REALSXP)					\
  |  |  ------------------
  |  |  |  |  124|  3.06k|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (5119:10): [True: 297, False: 2.77k]
  |  |  ------------------
  |  | 5120|  3.06k|		DO_FAST_BINOP(op, vx->u.dval, vy->u.dval);		\
  |  |  ------------------
  |  |  |  | 5071|    297|#define DO_FAST_BINOP(fun,a,b) do {		\
  |  |  |  | 5072|    297|	SKIP_OP();				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|    297|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 5073|    297|	SETSTACK_REAL(-2, fun(a, b));		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4821|    297|#define SETSTACK_REAL(i, v) SETSTACK_REAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4779|    297|#define SETSTACK_REAL_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4780|    297|    double __v__ = (v); \
  |  |  |  |  |  |  |  | 4781|    297|    (s)->tag = REALSXP; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  124|    297|#define REALSXP	    14	  /* real variables */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4782|    297|    (s)->u.dval = __v__; \
  |  |  |  |  |  |  |  | 4783|    297|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4783:10): [Folded, False: 297]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5074|    297|	R_BCNodeStackTop--;			\
  |  |  |  | 5075|    297|	R_Visible = TRUE;			\
  |  |  |  | 5076|    297|	NEXT();					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|    297|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 5077|    297|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5077:14): [Folded, False: 297]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5121|  3.06k|	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER)	\
  |  |  ------------------
  |  |  |  |  123|  5.54k|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER)	\
  |  |  ------------------
  |  |  |  |   56|      4|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (5121:15): [True: 4, False: 2.76k]
  |  |  |  Branch (5121:36): [True: 4, False: 0]
  |  |  ------------------
  |  | 5122|  2.77k|		DO_FAST_BINOP(op, vx->u.dval, vy->u.ival);		\
  |  |  ------------------
  |  |  |  | 5071|      4|#define DO_FAST_BINOP(fun,a,b) do {		\
  |  |  |  | 5072|      4|	SKIP_OP();				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|      4|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 5073|      4|	SETSTACK_REAL(-2, fun(a, b));		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4821|      4|#define SETSTACK_REAL(i, v) SETSTACK_REAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4779|      4|#define SETSTACK_REAL_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4780|      4|    double __v__ = (v); \
  |  |  |  |  |  |  |  | 4781|      4|    (s)->tag = REALSXP; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  124|      4|#define REALSXP	    14	  /* real variables */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4782|      4|    (s)->u.dval = __v__; \
  |  |  |  |  |  |  |  | 4783|      4|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4783:10): [Folded, False: 4]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5074|      4|	R_BCNodeStackTop--;			\
  |  |  |  | 5075|      4|	R_Visible = TRUE;			\
  |  |  |  | 5076|      4|	NEXT();					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      4|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 5077|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5077:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5123|  3.06k|	}								\
  |  | 5124|  6.85k|	else if (vx->tag == INTSXP && vx->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |  123|  7.57k|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	else if (vx->tag == INTSXP && vx->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |   56|    380|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (5124:11): [True: 380, False: 3.40k]
  |  |  |  Branch (5124:32): [True: 380, False: 0]
  |  |  ------------------
  |  | 5125|    380|	    int ix = vx->u.ival;					\
  |  | 5126|    380|	    if (vy->tag == REALSXP)					\
  |  |  ------------------
  |  |  |  |  124|    380|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (5126:10): [True: 0, False: 380]
  |  |  ------------------
  |  | 5127|    380|		DO_FAST_BINOP(op, ix, vy->u.dval);			\
  |  |  ------------------
  |  |  |  | 5071|      0|#define DO_FAST_BINOP(fun,a,b) do {		\
  |  |  |  | 5072|      0|	SKIP_OP();				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|      0|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 5073|      0|	SETSTACK_REAL(-2, fun(a, b));		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4821|      0|#define SETSTACK_REAL(i, v) SETSTACK_REAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4779|      0|#define SETSTACK_REAL_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4780|      0|    double __v__ = (v); \
  |  |  |  |  |  |  |  | 4781|      0|    (s)->tag = REALSXP; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4782|      0|    (s)->u.dval = __v__; \
  |  |  |  |  |  |  |  | 4783|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4783:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5074|      0|	R_BCNodeStackTop--;			\
  |  |  |  | 5075|      0|	R_Visible = TRUE;			\
  |  |  |  | 5076|      0|	NEXT();					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 5077|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5077:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5128|    380|	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |  123|    760|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |   56|    380|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (5128:15): [True: 380, False: 0]
  |  |  |  Branch (5128:36): [True: 380, False: 0]
  |  |  ------------------
  |  | 5129|    380|		int iy = vy->u.ival;					\
  |  | 5130|    380|		if (opval == DIVOP || opval == POWOP)			\
  |  |  ------------------
  |  |  |  Branch (5130:7): [Folded, False: 0]
  |  |  |  Branch (5130:25): [Folded, False: 0]
  |  |  ------------------
  |  | 5131|    380|		    DO_FAST_BINOP(op, (double) ix, (double) iy);	\
  |  |  ------------------
  |  |  |  | 5071|      0|#define DO_FAST_BINOP(fun,a,b) do {		\
  |  |  |  | 5072|      0|	SKIP_OP();				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|      0|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 5073|      0|	SETSTACK_REAL(-2, fun(a, b));		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4821|      0|#define SETSTACK_REAL(i, v) SETSTACK_REAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4779|      0|#define SETSTACK_REAL_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4780|      0|    double __v__ = (v); \
  |  |  |  |  |  |  |  | 4781|      0|    (s)->tag = REALSXP; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4782|      0|    (s)->u.dval = __v__; \
  |  |  |  |  |  |  |  | 4783|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4783:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5074|      0|	R_BCNodeStackTop--;			\
  |  |  |  | 5075|      0|	R_Visible = TRUE;			\
  |  |  |  | 5076|      0|	NEXT();					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 5077|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5077:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5132|    380|		else							\
  |  | 5133|    380|		    DO_FAST_BINOP_INT(op, ix, iy);			\
  |  |  ------------------
  |  |  |  | 5079|    380|#define DO_FAST_BINOP_INT(fun, a, b) do {		\
  |  |  |  | 5080|    380|	double dval = fun((double) (a), (double) (b));	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 8125|    380|    OP(MUL, 1): FastBinary(R_MUL, TIMESOP, R_MulSym);
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5141|    380|#define R_MUL(x, y) ((x) * (y))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5081|    380|	if (dval <= INT_MAX && dval >= INT_MIN + 1) {	\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5081:6): [True: 380, False: 0]
  |  |  |  |  |  Branch (5081:25): [True: 380, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5082|    380|	    SKIP_OP();					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|    380|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 5083|    380|	    SETSTACK_INTEGER(-2, (int) dval);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4823|    380|#define SETSTACK_INTEGER(i, v) SETSTACK_INTEGER_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4785|    380|#define SETSTACK_INTEGER_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4786|    380|    int __v__ = (v); \
  |  |  |  |  |  |  |  | 4787|    380|    (s)->tag = INTSXP; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  123|    380|#define INTSXP	    13	  /* integer vectors */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4788|    380|    (s)->u.ival = __v__; \
  |  |  |  |  |  |  |  | 4789|    380|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4789:10): [Folded, False: 380]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5084|    380|	    R_BCNodeStackTop--;				\
  |  |  |  | 5085|    380|	    R_Visible = TRUE;				\
  |  |  |  | 5086|    380|	    NEXT();					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|    380|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 5087|    380|	}						\
  |  |  |  | 5088|    380|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5088:13): [Folded, False: 380]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5134|    380|	    }								\
  |  | 5135|    380|	}								\
  |  | 5136|  6.85k|	Arith2(opval, opsym);						\
  |  |  ------------------
  |  |  |  | 5038|  6.85k|#define Arith2(opval,opsym) NewBuiltin2(cmp_arith2,opval,opsym,rho)
  |  |  |  |  ------------------
  |  |  |  |  |  | 5019|  6.85k|#define NewBuiltin2(do_fun,opval,opsym,rho) do {	\
  |  |  |  |  |  | 5020|  6.85k|  SEXP call = GETCONST(constants, GETOP()); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5463|  6.85k|#define GETCONST(x, i) ((x).p)[i]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5021|  6.85k|  SEXP x = GETSTACK(-2); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4817|  6.85k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4751|  6.85k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 2.34k, False: 4.51k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5022|  6.85k|  SEXP y = GETSTACK(-1); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4817|  6.85k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4751|  6.85k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 1.20k, False: 5.64k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5023|  6.85k|  SETSTACK(-2, do_fun(call, opval, opsym, x, y,rho));	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|  6.85k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|  6.85k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|  6.85k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|  6.85k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 6.85k]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|  6.85k|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|  6.85k|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|  6.85k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|  6.85k|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 6.85k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5024|  6.85k|  R_BCNodeStackTop--; \
  |  |  |  |  |  | 5025|  6.85k|  R_Visible = TRUE; \
  |  |  |  |  |  | 5026|  6.85k|  NEXT(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5568|  6.85k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5027|  6.85k|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5027:9): [Folded, False: 6.85k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5137|  6.85k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (5137:14): [Folded, False: 6.85k]
  |  |  ------------------
  ------------------
 8126|  10.0k|    OP(DIV, 1): FastBinary(R_DIV, DIVOP, R_DivSym);
  ------------------
  |  | 5551|  6.85k|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  6.85k|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  6.85k|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  6.85k|    goto loop; \
  |  | 5555|  10.0k|    op_##name
  ------------------
                  OP(DIV, 1): FastBinary(R_DIV, DIVOP, R_DivSym);
  ------------------
  |  | 5108|  10.0k|#define FastBinary(op,opval,opsym) do {					\
  |  | 5109|  10.0k|	{								\
  |  | 5110|  10.0k|	    R_bcstack_t *sx = R_BCNodeStackTop - 2;			\
  |  | 5111|  10.0k|	    R_bcstack_t *sy = R_BCNodeStackTop - 1;			\
  |  | 5112|  10.0k|	    if (sx->tag == REALSXP && sy->tag == REALSXP)		\
  |  |  ------------------
  |  |  |  |  124|  20.1k|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |               	    if (sx->tag == REALSXP && sy->tag == REALSXP)		\
  |  |  ------------------
  |  |  |  |  124|  1.27k|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (5112:10): [True: 1.27k, False: 8.80k]
  |  |  |  Branch (5112:32): [True: 95, False: 1.18k]
  |  |  ------------------
  |  | 5113|  10.0k|		DO_FAST_BINOP(op, sx->u.dval, sy->u.dval);		\
  |  |  ------------------
  |  |  |  | 5071|     95|#define DO_FAST_BINOP(fun,a,b) do {		\
  |  |  |  | 5072|     95|	SKIP_OP();				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|     95|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 5073|     95|	SETSTACK_REAL(-2, fun(a, b));		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4821|     95|#define SETSTACK_REAL(i, v) SETSTACK_REAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4779|     95|#define SETSTACK_REAL_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4780|     95|    double __v__ = (v); \
  |  |  |  |  |  |  |  | 4781|     95|    (s)->tag = REALSXP; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  124|     95|#define REALSXP	    14	  /* real variables */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4782|     95|    (s)->u.dval = __v__; \
  |  |  |  |  |  |  |  | 4783|     95|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4783:10): [Folded, False: 95]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5074|     95|	R_BCNodeStackTop--;			\
  |  |  |  | 5075|     95|	R_Visible = TRUE;			\
  |  |  |  | 5076|     95|	NEXT();					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|     95|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 5077|     95|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5077:14): [Folded, False: 95]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5114|  10.0k|	}								\
  |  | 5115|  10.0k|	R_bcstack_t vvx, vvy;						\
  |  | 5116|  10.0k|	R_bcstack_t *vx = bcStackScalar(R_BCNodeStackTop - 2, &vvx);	\
  |  | 5117|  10.0k|	R_bcstack_t *vy = bcStackScalar(R_BCNodeStackTop - 1, &vvy);	\
  |  | 5118|  10.0k|	if (vx->tag == REALSXP) {					\
  |  |  ------------------
  |  |  |  |  124|  10.0k|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (5118:6): [True: 1.97k, False: 8.10k]
  |  |  ------------------
  |  | 5119|  1.97k|	    if (vy->tag == REALSXP)					\
  |  |  ------------------
  |  |  |  |  124|  1.97k|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (5119:10): [True: 279, False: 1.69k]
  |  |  ------------------
  |  | 5120|  1.97k|		DO_FAST_BINOP(op, vx->u.dval, vy->u.dval);		\
  |  |  ------------------
  |  |  |  | 5071|    279|#define DO_FAST_BINOP(fun,a,b) do {		\
  |  |  |  | 5072|    279|	SKIP_OP();				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|    279|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 5073|    279|	SETSTACK_REAL(-2, fun(a, b));		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4821|    279|#define SETSTACK_REAL(i, v) SETSTACK_REAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4779|    279|#define SETSTACK_REAL_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4780|    279|    double __v__ = (v); \
  |  |  |  |  |  |  |  | 4781|    279|    (s)->tag = REALSXP; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  124|    279|#define REALSXP	    14	  /* real variables */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4782|    279|    (s)->u.dval = __v__; \
  |  |  |  |  |  |  |  | 4783|    279|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4783:10): [Folded, False: 279]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5074|    279|	R_BCNodeStackTop--;			\
  |  |  |  | 5075|    279|	R_Visible = TRUE;			\
  |  |  |  | 5076|    279|	NEXT();					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|    279|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 5077|    279|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5077:14): [Folded, False: 279]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5121|  1.97k|	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER)	\
  |  |  ------------------
  |  |  |  |  123|  3.39k|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER)	\
  |  |  ------------------
  |  |  |  |   56|    165|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (5121:15): [True: 165, False: 1.53k]
  |  |  |  Branch (5121:36): [True: 165, False: 0]
  |  |  ------------------
  |  | 5122|  1.69k|		DO_FAST_BINOP(op, vx->u.dval, vy->u.ival);		\
  |  |  ------------------
  |  |  |  | 5071|    165|#define DO_FAST_BINOP(fun,a,b) do {		\
  |  |  |  | 5072|    165|	SKIP_OP();				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|    165|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 5073|    165|	SETSTACK_REAL(-2, fun(a, b));		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4821|    165|#define SETSTACK_REAL(i, v) SETSTACK_REAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4779|    165|#define SETSTACK_REAL_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4780|    165|    double __v__ = (v); \
  |  |  |  |  |  |  |  | 4781|    165|    (s)->tag = REALSXP; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  124|    165|#define REALSXP	    14	  /* real variables */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4782|    165|    (s)->u.dval = __v__; \
  |  |  |  |  |  |  |  | 4783|    165|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4783:10): [Folded, False: 165]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5074|    165|	R_BCNodeStackTop--;			\
  |  |  |  | 5075|    165|	R_Visible = TRUE;			\
  |  |  |  | 5076|    165|	NEXT();					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|    165|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 5077|    165|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5077:14): [Folded, False: 165]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5123|  1.97k|	}								\
  |  | 5124|  10.0k|	else if (vx->tag == INTSXP && vx->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |  123|  16.2k|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	else if (vx->tag == INTSXP && vx->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |   56|     66|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (5124:11): [True: 66, False: 8.03k]
  |  |  |  Branch (5124:32): [True: 66, False: 0]
  |  |  ------------------
  |  | 5125|     66|	    int ix = vx->u.ival;					\
  |  | 5126|     66|	    if (vy->tag == REALSXP)					\
  |  |  ------------------
  |  |  |  |  124|     66|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (5126:10): [True: 66, False: 0]
  |  |  ------------------
  |  | 5127|     66|		DO_FAST_BINOP(op, ix, vy->u.dval);			\
  |  |  ------------------
  |  |  |  | 5071|     66|#define DO_FAST_BINOP(fun,a,b) do {		\
  |  |  |  | 5072|     66|	SKIP_OP();				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|     66|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 5073|     66|	SETSTACK_REAL(-2, fun(a, b));		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4821|     66|#define SETSTACK_REAL(i, v) SETSTACK_REAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4779|     66|#define SETSTACK_REAL_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4780|     66|    double __v__ = (v); \
  |  |  |  |  |  |  |  | 4781|     66|    (s)->tag = REALSXP; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  124|     66|#define REALSXP	    14	  /* real variables */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4782|     66|    (s)->u.dval = __v__; \
  |  |  |  |  |  |  |  | 4783|     66|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4783:10): [Folded, False: 66]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5074|     66|	R_BCNodeStackTop--;			\
  |  |  |  | 5075|     66|	R_Visible = TRUE;			\
  |  |  |  | 5076|     66|	NEXT();					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|     66|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 5077|     66|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5077:14): [Folded, False: 66]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5128|     66|	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (5128:15): [True: 0, False: 0]
  |  |  |  Branch (5128:36): [True: 0, False: 0]
  |  |  ------------------
  |  | 5129|      0|		int iy = vy->u.ival;					\
  |  | 5130|      0|		if (opval == DIVOP || opval == POWOP)			\
  |  |  ------------------
  |  |  |  Branch (5130:7): [True: 0, Folded]
  |  |  |  Branch (5130:25): [Folded, False: 0]
  |  |  ------------------
  |  | 5131|      0|		    DO_FAST_BINOP(op, (double) ix, (double) iy);	\
  |  |  ------------------
  |  |  |  | 5071|      0|#define DO_FAST_BINOP(fun,a,b) do {		\
  |  |  |  | 5072|      0|	SKIP_OP();				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|      0|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 5073|      0|	SETSTACK_REAL(-2, fun(a, b));		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4821|      0|#define SETSTACK_REAL(i, v) SETSTACK_REAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4779|      0|#define SETSTACK_REAL_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4780|      0|    double __v__ = (v); \
  |  |  |  |  |  |  |  | 4781|      0|    (s)->tag = REALSXP; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4782|      0|    (s)->u.dval = __v__; \
  |  |  |  |  |  |  |  | 4783|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4783:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5074|      0|	R_BCNodeStackTop--;			\
  |  |  |  | 5075|      0|	R_Visible = TRUE;			\
  |  |  |  | 5076|      0|	NEXT();					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 5077|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5077:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5132|      0|		else							\
  |  | 5133|      0|		    DO_FAST_BINOP_INT(op, ix, iy);			\
  |  |  ------------------
  |  |  |  | 5079|      0|#define DO_FAST_BINOP_INT(fun, a, b) do {		\
  |  |  |  | 5080|      0|	double dval = fun((double) (a), (double) (b));	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 8126|      0|    OP(DIV, 1): FastBinary(R_DIV, DIVOP, R_DivSym);
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5142|      0|#define R_DIV(x, y) ((x) / (y))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5081|      0|	if (dval <= INT_MAX && dval >= INT_MIN + 1) {	\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5081:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (5081:25): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5082|      0|	    SKIP_OP();					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|      0|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 5083|      0|	    SETSTACK_INTEGER(-2, (int) dval);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4823|      0|#define SETSTACK_INTEGER(i, v) SETSTACK_INTEGER_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4785|      0|#define SETSTACK_INTEGER_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4786|      0|    int __v__ = (v); \
  |  |  |  |  |  |  |  | 4787|      0|    (s)->tag = INTSXP; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4788|      0|    (s)->u.ival = __v__; \
  |  |  |  |  |  |  |  | 4789|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4789:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5084|      0|	    R_BCNodeStackTop--;				\
  |  |  |  | 5085|      0|	    R_Visible = TRUE;				\
  |  |  |  | 5086|      0|	    NEXT();					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 5087|      0|	}						\
  |  |  |  | 5088|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5088:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5134|      0|	    }								\
  |  | 5135|     66|	}								\
  |  | 5136|  10.0k|	Arith2(opval, opsym);						\
  |  |  ------------------
  |  |  |  | 5038|  10.0k|#define Arith2(opval,opsym) NewBuiltin2(cmp_arith2,opval,opsym,rho)
  |  |  |  |  ------------------
  |  |  |  |  |  | 5019|  10.0k|#define NewBuiltin2(do_fun,opval,opsym,rho) do {	\
  |  |  |  |  |  | 5020|  10.0k|  SEXP call = GETCONST(constants, GETOP()); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5463|  10.0k|#define GETCONST(x, i) ((x).p)[i]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5021|  10.0k|  SEXP x = GETSTACK(-2); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4817|  10.0k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4751|  10.0k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 1.17k, False: 8.90k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5022|  10.0k|  SEXP y = GETSTACK(-1); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4817|  10.0k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4751|  10.0k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 3.38k, False: 6.69k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5023|  10.0k|  SETSTACK(-2, do_fun(call, opval, opsym, x, y,rho));	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|  10.0k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|  10.0k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|  10.0k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|  10.0k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 10.0k]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|  10.0k|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|  10.0k|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|  10.0k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|  10.0k|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 10.0k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5024|  10.0k|  R_BCNodeStackTop--; \
  |  |  |  |  |  | 5025|  10.0k|  R_Visible = TRUE; \
  |  |  |  |  |  | 5026|  10.0k|  NEXT(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5568|  10.0k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5027|  10.0k|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5027:9): [Folded, False: 10.0k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5137|  10.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (5137:14): [Folded, False: 10.0k]
  |  |  ------------------
  ------------------
 8127|  10.0k|    OP(EXPT, 1): FastBinary(R_POW, POWOP, R_ExptSym);
  ------------------
  |  | 5551|  10.0k|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  10.0k|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  10.0k|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  10.0k|    goto loop; \
  |  | 5555|  10.0k|    op_##name
  ------------------
                  OP(EXPT, 1): FastBinary(R_POW, POWOP, R_ExptSym);
  ------------------
  |  | 5108|  1.54k|#define FastBinary(op,opval,opsym) do {					\
  |  | 5109|  1.54k|	{								\
  |  | 5110|  1.54k|	    R_bcstack_t *sx = R_BCNodeStackTop - 2;			\
  |  | 5111|  1.54k|	    R_bcstack_t *sy = R_BCNodeStackTop - 1;			\
  |  | 5112|  1.54k|	    if (sx->tag == REALSXP && sy->tag == REALSXP)		\
  |  |  ------------------
  |  |  |  |  124|  3.08k|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |               	    if (sx->tag == REALSXP && sy->tag == REALSXP)		\
  |  |  ------------------
  |  |  |  |  124|     64|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (5112:10): [True: 64, False: 1.47k]
  |  |  |  Branch (5112:32): [True: 0, False: 64]
  |  |  ------------------
  |  | 5113|  1.54k|		DO_FAST_BINOP(op, sx->u.dval, sy->u.dval);		\
  |  |  ------------------
  |  |  |  | 5071|      0|#define DO_FAST_BINOP(fun,a,b) do {		\
  |  |  |  | 5072|      0|	SKIP_OP();				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|      0|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 5073|      0|	SETSTACK_REAL(-2, fun(a, b));		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4821|      0|#define SETSTACK_REAL(i, v) SETSTACK_REAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4779|      0|#define SETSTACK_REAL_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4780|      0|    double __v__ = (v); \
  |  |  |  |  |  |  |  | 4781|      0|    (s)->tag = REALSXP; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4782|      0|    (s)->u.dval = __v__; \
  |  |  |  |  |  |  |  | 4783|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4783:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5074|      0|	R_BCNodeStackTop--;			\
  |  |  |  | 5075|      0|	R_Visible = TRUE;			\
  |  |  |  | 5076|      0|	NEXT();					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 5077|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5077:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5114|  1.54k|	}								\
  |  | 5115|  1.54k|	R_bcstack_t vvx, vvy;						\
  |  | 5116|  1.54k|	R_bcstack_t *vx = bcStackScalar(R_BCNodeStackTop - 2, &vvx);	\
  |  | 5117|  1.54k|	R_bcstack_t *vy = bcStackScalar(R_BCNodeStackTop - 1, &vvy);	\
  |  | 5118|  1.54k|	if (vx->tag == REALSXP) {					\
  |  |  ------------------
  |  |  |  |  124|  1.54k|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (5118:6): [True: 64, False: 1.47k]
  |  |  ------------------
  |  | 5119|     64|	    if (vy->tag == REALSXP)					\
  |  |  ------------------
  |  |  |  |  124|     64|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (5119:10): [True: 0, False: 64]
  |  |  ------------------
  |  | 5120|     64|		DO_FAST_BINOP(op, vx->u.dval, vy->u.dval);		\
  |  |  ------------------
  |  |  |  | 5071|      0|#define DO_FAST_BINOP(fun,a,b) do {		\
  |  |  |  | 5072|      0|	SKIP_OP();				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|      0|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 5073|      0|	SETSTACK_REAL(-2, fun(a, b));		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4821|      0|#define SETSTACK_REAL(i, v) SETSTACK_REAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4779|      0|#define SETSTACK_REAL_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4780|      0|    double __v__ = (v); \
  |  |  |  |  |  |  |  | 4781|      0|    (s)->tag = REALSXP; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4782|      0|    (s)->u.dval = __v__; \
  |  |  |  |  |  |  |  | 4783|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4783:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5074|      0|	R_BCNodeStackTop--;			\
  |  |  |  | 5075|      0|	R_Visible = TRUE;			\
  |  |  |  | 5076|      0|	NEXT();					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 5077|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5077:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5121|     64|	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER)	\
  |  |  ------------------
  |  |  |  |  123|    128|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER)	\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (5121:15): [True: 0, False: 64]
  |  |  |  Branch (5121:36): [True: 0, False: 0]
  |  |  ------------------
  |  | 5122|     64|		DO_FAST_BINOP(op, vx->u.dval, vy->u.ival);		\
  |  |  ------------------
  |  |  |  | 5071|      0|#define DO_FAST_BINOP(fun,a,b) do {		\
  |  |  |  | 5072|      0|	SKIP_OP();				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|      0|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 5073|      0|	SETSTACK_REAL(-2, fun(a, b));		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4821|      0|#define SETSTACK_REAL(i, v) SETSTACK_REAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4779|      0|#define SETSTACK_REAL_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4780|      0|    double __v__ = (v); \
  |  |  |  |  |  |  |  | 4781|      0|    (s)->tag = REALSXP; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4782|      0|    (s)->u.dval = __v__; \
  |  |  |  |  |  |  |  | 4783|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4783:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5074|      0|	R_BCNodeStackTop--;			\
  |  |  |  | 5075|      0|	R_Visible = TRUE;			\
  |  |  |  | 5076|      0|	NEXT();					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 5077|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5077:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5123|     64|	}								\
  |  | 5124|  1.54k|	else if (vx->tag == INTSXP && vx->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |  123|  2.95k|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	else if (vx->tag == INTSXP && vx->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (5124:11): [True: 0, False: 1.47k]
  |  |  |  Branch (5124:32): [True: 0, False: 0]
  |  |  ------------------
  |  | 5125|      0|	    int ix = vx->u.ival;					\
  |  | 5126|      0|	    if (vy->tag == REALSXP)					\
  |  |  ------------------
  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (5126:10): [True: 0, False: 0]
  |  |  ------------------
  |  | 5127|      0|		DO_FAST_BINOP(op, ix, vy->u.dval);			\
  |  |  ------------------
  |  |  |  | 5071|      0|#define DO_FAST_BINOP(fun,a,b) do {		\
  |  |  |  | 5072|      0|	SKIP_OP();				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|      0|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 5073|      0|	SETSTACK_REAL(-2, fun(a, b));		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4821|      0|#define SETSTACK_REAL(i, v) SETSTACK_REAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4779|      0|#define SETSTACK_REAL_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4780|      0|    double __v__ = (v); \
  |  |  |  |  |  |  |  | 4781|      0|    (s)->tag = REALSXP; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4782|      0|    (s)->u.dval = __v__; \
  |  |  |  |  |  |  |  | 4783|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4783:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5074|      0|	R_BCNodeStackTop--;			\
  |  |  |  | 5075|      0|	R_Visible = TRUE;			\
  |  |  |  | 5076|      0|	NEXT();					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 5077|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5077:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5128|      0|	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (5128:15): [True: 0, False: 0]
  |  |  |  Branch (5128:36): [True: 0, False: 0]
  |  |  ------------------
  |  | 5129|      0|		int iy = vy->u.ival;					\
  |  | 5130|      0|		if (opval == DIVOP || opval == POWOP)			\
  |  |  ------------------
  |  |  |  Branch (5130:7): [Folded, False: 0]
  |  |  |  Branch (5130:25): [True: 0, Folded]
  |  |  ------------------
  |  | 5131|      0|		    DO_FAST_BINOP(op, (double) ix, (double) iy);	\
  |  |  ------------------
  |  |  |  | 5071|      0|#define DO_FAST_BINOP(fun,a,b) do {		\
  |  |  |  | 5072|      0|	SKIP_OP();				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|      0|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 5073|      0|	SETSTACK_REAL(-2, fun(a, b));		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4821|      0|#define SETSTACK_REAL(i, v) SETSTACK_REAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4779|      0|#define SETSTACK_REAL_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4780|      0|    double __v__ = (v); \
  |  |  |  |  |  |  |  | 4781|      0|    (s)->tag = REALSXP; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4782|      0|    (s)->u.dval = __v__; \
  |  |  |  |  |  |  |  | 4783|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4783:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5074|      0|	R_BCNodeStackTop--;			\
  |  |  |  | 5075|      0|	R_Visible = TRUE;			\
  |  |  |  | 5076|      0|	NEXT();					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 5077|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5077:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5132|      0|		else							\
  |  | 5133|      0|		    DO_FAST_BINOP_INT(op, ix, iy);			\
  |  |  ------------------
  |  |  |  | 5079|      0|#define DO_FAST_BINOP_INT(fun, a, b) do {		\
  |  |  |  | 5080|      0|	double dval = fun((double) (a), (double) (b));	\
  |  |  |  | 5081|      0|	if (dval <= INT_MAX && dval >= INT_MIN + 1) {	\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5081:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (5081:25): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5082|      0|	    SKIP_OP();					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|      0|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 5083|      0|	    SETSTACK_INTEGER(-2, (int) dval);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4823|      0|#define SETSTACK_INTEGER(i, v) SETSTACK_INTEGER_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4785|      0|#define SETSTACK_INTEGER_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4786|      0|    int __v__ = (v); \
  |  |  |  |  |  |  |  | 4787|      0|    (s)->tag = INTSXP; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4788|      0|    (s)->u.ival = __v__; \
  |  |  |  |  |  |  |  | 4789|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4789:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5084|      0|	    R_BCNodeStackTop--;				\
  |  |  |  | 5085|      0|	    R_Visible = TRUE;				\
  |  |  |  | 5086|      0|	    NEXT();					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 5087|      0|	}						\
  |  |  |  | 5088|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5088:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5134|      0|	    }								\
  |  | 5135|      0|	}								\
  |  | 5136|  1.54k|	Arith2(opval, opsym);						\
  |  |  ------------------
  |  |  |  | 5038|  1.54k|#define Arith2(opval,opsym) NewBuiltin2(cmp_arith2,opval,opsym,rho)
  |  |  |  |  ------------------
  |  |  |  |  |  | 5019|  1.54k|#define NewBuiltin2(do_fun,opval,opsym,rho) do {	\
  |  |  |  |  |  | 5020|  1.54k|  SEXP call = GETCONST(constants, GETOP()); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5463|  1.54k|#define GETCONST(x, i) ((x).p)[i]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5021|  1.54k|  SEXP x = GETSTACK(-2); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4817|  1.54k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4751|  1.54k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 64, False: 1.47k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5022|  1.54k|  SEXP y = GETSTACK(-1); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4817|  1.54k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4751|  1.54k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 1.01k, False: 524]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5023|  1.54k|  SETSTACK(-2, do_fun(call, opval, opsym, x, y,rho));	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|  1.54k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|  1.54k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|  1.54k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|  1.54k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 1.54k]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|  1.54k|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|  1.54k|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|  1.54k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|  1.54k|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 1.54k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5024|  1.54k|  R_BCNodeStackTop--; \
  |  |  |  |  |  | 5025|  1.54k|  R_Visible = TRUE; \
  |  |  |  |  |  | 5026|  1.54k|  NEXT(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5568|  1.54k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5027|  1.54k|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5027:9): [Folded, False: 1.54k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5137|  1.54k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (5137:14): [Folded, False: 1.54k]
  |  |  ------------------
  ------------------
 8128|  1.54k|    OP(SQRT, 1): FastMath1(sqrt, R_SqrtSym);
  ------------------
  |  | 5551|  1.54k|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  1.54k|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  1.54k|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  1.54k|    goto loop; \
  |  | 5555|  1.54k|    op_##name
  ------------------
                  OP(SQRT, 1): FastMath1(sqrt, R_SqrtSym);
  ------------------
  |  | 5042|      0|#define FastMath1(fun, sym) do {					\
  |  | 5043|      0|	R_bcstack_t vvx;						\
  |  | 5044|      0|	R_bcstack_t *vx = bcStackScalar(R_BCNodeStackTop - 1, &vvx);	\
  |  | 5045|      0|	if (vx->tag == REALSXP) {					\
  |  |  ------------------
  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (5045:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 5046|      0|	    double dval = fun(vx->u.dval);				\
  |  | 5047|      0|	    if (ISNAN(dval)) {						\
  |  |  ------------------
  |  |  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (76:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5048|      0|		SEXP call = GETCONST(constants, GETOP());		\
  |  |  ------------------
  |  |  |  | 5463|      0|#define GETCONST(x, i) ((x).p)[i]
  |  |  ------------------
  |  | 5049|      0|		if (ISNAN(vx->u.dval)) dval = vx->u.dval;		\
  |  |  ------------------
  |  |  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (76:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5050|      0|		else warningcall(call, R_MSG_NA);			\
  |  |  ------------------
  |  |  |  | 2018|      0|# define warningcall		Rf_warningcall
  |  |  ------------------
  |  |               		else warningcall(call, R_MSG_NA);			\
  |  |  ------------------
  |  |  |  | 5041|      0|#define R_MSG_NA	_("NaNs produced")
  |  |  |  |  ------------------
  |  |  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5051|      0|	    }								\
  |  | 5052|      0|	    else SKIP_OP();						\
  |  |  ------------------
  |  |  |  | 5570|      0|#define SKIP_OP() (pc++)
  |  |  ------------------
  |  | 5053|      0|	    SETSTACK_REAL(-1, dval);					\
  |  |  ------------------
  |  |  |  | 4821|      0|#define SETSTACK_REAL(i, v) SETSTACK_REAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4779|      0|#define SETSTACK_REAL_PTR(s, v) do { \
  |  |  |  |  |  | 4780|      0|    double __v__ = (v); \
  |  |  |  |  |  | 4781|      0|    (s)->tag = REALSXP; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4782|      0|    (s)->u.dval = __v__; \
  |  |  |  |  |  | 4783|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4783:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5054|      0|	    R_Visible = TRUE;						\
  |  | 5055|      0|	    NEXT();							\
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 5056|      0|	}								\
  |  | 5057|      0|	else if (vx->tag == INTSXP && vx->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	else if (vx->tag == INTSXP && vx->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (5057:11): [True: 0, False: 0]
  |  |  |  Branch (5057:32): [True: 0, False: 0]
  |  |  ------------------
  |  | 5058|      0|	    double dval = fun((double) vx->u.ival);			\
  |  | 5059|      0|	    if (ISNAN(dval)) {						\
  |  |  ------------------
  |  |  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (76:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5060|      0|		SEXP call = GETCONST(constants, GETOP());		\
  |  |  ------------------
  |  |  |  | 5463|      0|#define GETCONST(x, i) ((x).p)[i]
  |  |  ------------------
  |  | 5061|      0|		warningcall(call, R_MSG_NA);				\
  |  |  ------------------
  |  |  |  | 2018|      0|# define warningcall		Rf_warningcall
  |  |  ------------------
  |  |               		warningcall(call, R_MSG_NA);				\
  |  |  ------------------
  |  |  |  | 5041|      0|#define R_MSG_NA	_("NaNs produced")
  |  |  |  |  ------------------
  |  |  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5062|      0|	    }								\
  |  | 5063|      0|	    else SKIP_OP();						\
  |  |  ------------------
  |  |  |  | 5570|      0|#define SKIP_OP() (pc++)
  |  |  ------------------
  |  | 5064|      0|	    SETSTACK_REAL(-1, dval);					\
  |  |  ------------------
  |  |  |  | 4821|      0|#define SETSTACK_REAL(i, v) SETSTACK_REAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4779|      0|#define SETSTACK_REAL_PTR(s, v) do { \
  |  |  |  |  |  | 4780|      0|    double __v__ = (v); \
  |  |  |  |  |  | 4781|      0|    (s)->tag = REALSXP; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4782|      0|    (s)->u.dval = __v__; \
  |  |  |  |  |  | 4783|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4783:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5065|      0|	    R_Visible = TRUE;						\
  |  | 5066|      0|	    NEXT();							\
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 5067|      0|	}								\
  |  | 5068|      0|	Builtin1(do_math1,sym,rho);					\
  |  |  ------------------
  |  |  |  | 4997|      0|#define Builtin1(do_fun,which,rho) do {					\
  |  |  |  | 4998|      0|	SEXP call = GETCONST(constants, GETOP());			\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5463|      0|#define GETCONST(x, i) ((x).p)[i]
  |  |  |  |  ------------------
  |  |  |  | 4999|      0|	SETSTACK(-1, CONS_NR(GETSTACK(-1), R_NilValue));		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4774:19): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5000|      0|	SETSTACK(-1, do_fun(call, getPrimitive(which, BUILTINSXP),	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4774:19): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5001|      0|			    GETSTACK(-1), rho));			\
  |  |  |  | 5002|      0|	R_Visible = TRUE;						\
  |  |  |  | 5003|      0|	NEXT();								\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 5004|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5004:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5069|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (5069:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 8129|      2|    OP(EXP, 1): FastMath1(exp, R_ExpSym);
  ------------------
  |  | 5551|      2|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|      2|    opinfo[name##_OP].argc = (n); \
  |  | 5553|      2|    opinfo[name##_OP].instname = #name; \
  |  | 5554|      2|    goto loop; \
  |  | 5555|      2|    op_##name
  ------------------
                  OP(EXP, 1): FastMath1(exp, R_ExpSym);
  ------------------
  |  | 5042|      0|#define FastMath1(fun, sym) do {					\
  |  | 5043|      0|	R_bcstack_t vvx;						\
  |  | 5044|      0|	R_bcstack_t *vx = bcStackScalar(R_BCNodeStackTop - 1, &vvx);	\
  |  | 5045|      0|	if (vx->tag == REALSXP) {					\
  |  |  ------------------
  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (5045:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 5046|      0|	    double dval = fun(vx->u.dval);				\
  |  | 5047|      0|	    if (ISNAN(dval)) {						\
  |  |  ------------------
  |  |  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (76:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5048|      0|		SEXP call = GETCONST(constants, GETOP());		\
  |  |  ------------------
  |  |  |  | 5463|      0|#define GETCONST(x, i) ((x).p)[i]
  |  |  ------------------
  |  | 5049|      0|		if (ISNAN(vx->u.dval)) dval = vx->u.dval;		\
  |  |  ------------------
  |  |  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (76:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5050|      0|		else warningcall(call, R_MSG_NA);			\
  |  |  ------------------
  |  |  |  | 2018|      0|# define warningcall		Rf_warningcall
  |  |  ------------------
  |  |               		else warningcall(call, R_MSG_NA);			\
  |  |  ------------------
  |  |  |  | 5041|      0|#define R_MSG_NA	_("NaNs produced")
  |  |  |  |  ------------------
  |  |  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5051|      0|	    }								\
  |  | 5052|      0|	    else SKIP_OP();						\
  |  |  ------------------
  |  |  |  | 5570|      0|#define SKIP_OP() (pc++)
  |  |  ------------------
  |  | 5053|      0|	    SETSTACK_REAL(-1, dval);					\
  |  |  ------------------
  |  |  |  | 4821|      0|#define SETSTACK_REAL(i, v) SETSTACK_REAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4779|      0|#define SETSTACK_REAL_PTR(s, v) do { \
  |  |  |  |  |  | 4780|      0|    double __v__ = (v); \
  |  |  |  |  |  | 4781|      0|    (s)->tag = REALSXP; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4782|      0|    (s)->u.dval = __v__; \
  |  |  |  |  |  | 4783|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4783:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5054|      0|	    R_Visible = TRUE;						\
  |  | 5055|      0|	    NEXT();							\
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 5056|      0|	}								\
  |  | 5057|      0|	else if (vx->tag == INTSXP && vx->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	else if (vx->tag == INTSXP && vx->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (5057:11): [True: 0, False: 0]
  |  |  |  Branch (5057:32): [True: 0, False: 0]
  |  |  ------------------
  |  | 5058|      0|	    double dval = fun((double) vx->u.ival);			\
  |  | 5059|      0|	    if (ISNAN(dval)) {						\
  |  |  ------------------
  |  |  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (76:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5060|      0|		SEXP call = GETCONST(constants, GETOP());		\
  |  |  ------------------
  |  |  |  | 5463|      0|#define GETCONST(x, i) ((x).p)[i]
  |  |  ------------------
  |  | 5061|      0|		warningcall(call, R_MSG_NA);				\
  |  |  ------------------
  |  |  |  | 2018|      0|# define warningcall		Rf_warningcall
  |  |  ------------------
  |  |               		warningcall(call, R_MSG_NA);				\
  |  |  ------------------
  |  |  |  | 5041|      0|#define R_MSG_NA	_("NaNs produced")
  |  |  |  |  ------------------
  |  |  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5062|      0|	    }								\
  |  | 5063|      0|	    else SKIP_OP();						\
  |  |  ------------------
  |  |  |  | 5570|      0|#define SKIP_OP() (pc++)
  |  |  ------------------
  |  | 5064|      0|	    SETSTACK_REAL(-1, dval);					\
  |  |  ------------------
  |  |  |  | 4821|      0|#define SETSTACK_REAL(i, v) SETSTACK_REAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4779|      0|#define SETSTACK_REAL_PTR(s, v) do { \
  |  |  |  |  |  | 4780|      0|    double __v__ = (v); \
  |  |  |  |  |  | 4781|      0|    (s)->tag = REALSXP; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4782|      0|    (s)->u.dval = __v__; \
  |  |  |  |  |  | 4783|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4783:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5065|      0|	    R_Visible = TRUE;						\
  |  | 5066|      0|	    NEXT();							\
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 5067|      0|	}								\
  |  | 5068|      0|	Builtin1(do_math1,sym,rho);					\
  |  |  ------------------
  |  |  |  | 4997|      0|#define Builtin1(do_fun,which,rho) do {					\
  |  |  |  | 4998|      0|	SEXP call = GETCONST(constants, GETOP());			\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5463|      0|#define GETCONST(x, i) ((x).p)[i]
  |  |  |  |  ------------------
  |  |  |  | 4999|      0|	SETSTACK(-1, CONS_NR(GETSTACK(-1), R_NilValue));		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4774:19): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5000|      0|	SETSTACK(-1, do_fun(call, getPrimitive(which, BUILTINSXP),	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4774:19): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5001|      0|			    GETSTACK(-1), rho));			\
  |  |  |  | 5002|      0|	R_Visible = TRUE;						\
  |  |  |  | 5003|      0|	NEXT();								\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 5004|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5004:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5069|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (5069:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 8130|  2.12M|    OP(EQ, 1): FastRelop2(==, EQOP, R_EqSym);
  ------------------
  |  | 5551|      2|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|      2|    opinfo[name##_OP].argc = (n); \
  |  | 5553|      2|    opinfo[name##_OP].instname = #name; \
  |  | 5554|      2|    goto loop; \
  |  | 5555|  2.12M|    op_##name
  ------------------
                  OP(EQ, 1): FastRelop2(==, EQOP, R_EqSym);
  ------------------
  |  | 4901|  2.12M|#define FastRelop2(op,opval,opsym) do {					\
  |  | 4902|  2.12M|	R_bcstack_t vvx, vvy;						\
  |  | 4903|  2.12M|	R_bcstack_t *vx = bcStackScalar(R_BCNodeStackTop - 2, &vvx);	\
  |  | 4904|  2.12M|	R_bcstack_t *vy = bcStackScalar(R_BCNodeStackTop - 1, &vvy);	\
  |  | 4905|  2.12M|	if (vx->tag == REALSXP && ! ISNAN(vx->u.dval)) {		\
  |  |  ------------------
  |  |  |  |  124|  4.25M|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |               	if (vx->tag == REALSXP && ! ISNAN(vx->u.dval)) {		\
  |  |  ------------------
  |  |  |  |   76|  2.10k|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (4905:6): [True: 2.10k, False: 2.12M]
  |  |  |  Branch (4905:28): [True: 2.10k, False: 0]
  |  |  ------------------
  |  | 4906|  2.10k|	    if (vy->tag == REALSXP && ! ISNAN(vy->u.dval))		\
  |  |  ------------------
  |  |  |  |  124|  4.21k|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |               	    if (vy->tag == REALSXP && ! ISNAN(vy->u.dval))		\
  |  |  ------------------
  |  |  |  |   76|  2.09k|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (4906:10): [True: 2.09k, False: 16]
  |  |  |  Branch (4906:32): [True: 2.09k, False: 0]
  |  |  ------------------
  |  | 4907|  2.10k|		DO_FAST_RELOP2(op, vx->u.dval, vy->u.dval);		\
  |  |  ------------------
  |  |  |  | 4883|  2.09k|#define DO_FAST_RELOP2(op,a,b) do { \
  |  |  |  | 4884|  2.09k|    SKIP_OP(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|  2.09k|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 4885|  2.09k|    SETSTACK_LOGICAL(-2, ((a) op (b)) ? TRUE : FALSE);	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4825|  2.09k|#define SETSTACK_LOGICAL(i, v) SETSTACK_LOGICAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4791|  2.09k|#define SETSTACK_LOGICAL_PTR(s, v) do {		\
  |  |  |  |  |  |  |  | 4792|  4.18k|	int __v__ = (v);			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4792:15): [True: 1.93k, False: 161]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4793|  2.09k|	(s)->tag = LGLSXP;			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  121|  2.09k|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4794|  2.09k|	if (__v__ == NA_LOGICAL)		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|  2.09k|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4794:6): [True: 0, False: 2.09k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4795|  2.09k|	    (s)->u.ival = NA_LOGICAL;		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4796|  2.09k|	else					\
  |  |  |  |  |  |  |  | 4797|  2.09k|	    (s)->u.ival = __v__ ? TRUE : FALSE;	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4797:20): [True: 1.93k, False: 161]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4798|  2.09k|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4798:14): [Folded, False: 2.09k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4886|  2.09k|    R_BCNodeStackTop--; \
  |  |  |  | 4887|  2.09k|    R_Visible = TRUE; \
  |  |  |  | 4888|  2.09k|    NEXT(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|  2.09k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 4889|  2.09k|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4889:10): [Folded, False: 2.09k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4908|  2.10k|	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER)	\
  |  |  ------------------
  |  |  |  |  123|     32|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER)	\
  |  |  ------------------
  |  |  |  |   56|     16|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (4908:15): [True: 16, False: 0]
  |  |  |  Branch (4908:36): [True: 16, False: 0]
  |  |  ------------------
  |  | 4909|     16|		DO_FAST_RELOP2(op, vx->u.dval, vy->u.ival);		\
  |  |  ------------------
  |  |  |  | 4883|     16|#define DO_FAST_RELOP2(op,a,b) do { \
  |  |  |  | 4884|     16|    SKIP_OP(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|     16|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 4885|     16|    SETSTACK_LOGICAL(-2, ((a) op (b)) ? TRUE : FALSE);	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4825|     16|#define SETSTACK_LOGICAL(i, v) SETSTACK_LOGICAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4791|     16|#define SETSTACK_LOGICAL_PTR(s, v) do {		\
  |  |  |  |  |  |  |  | 4792|     32|	int __v__ = (v);			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4792:15): [True: 2, False: 14]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4793|     16|	(s)->tag = LGLSXP;			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  121|     16|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4794|     16|	if (__v__ == NA_LOGICAL)		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|     16|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4794:6): [True: 0, False: 16]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4795|     16|	    (s)->u.ival = NA_LOGICAL;		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4796|     16|	else					\
  |  |  |  |  |  |  |  | 4797|     16|	    (s)->u.ival = __v__ ? TRUE : FALSE;	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4797:20): [True: 2, False: 14]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4798|     16|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4798:14): [Folded, False: 16]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4886|     16|    R_BCNodeStackTop--; \
  |  |  |  | 4887|     16|    R_Visible = TRUE; \
  |  |  |  | 4888|     16|    NEXT(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|     16|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 4889|     16|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4889:10): [Folded, False: 16]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4910|  2.10k|	}								\
  |  | 4911|  2.12M|	else if (vx->tag == INTSXP && vx->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |  123|  4.25M|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	else if (vx->tag == INTSXP && vx->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |   56|  2.11M|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (4911:11): [True: 2.11M, False: 6.14k]
  |  |  |  Branch (4911:32): [True: 2.11M, False: 0]
  |  |  ------------------
  |  | 4912|  2.11M|	    if (vy->tag == REALSXP && ! ISNAN(vy->u.dval))		\
  |  |  ------------------
  |  |  |  |  124|  4.23M|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |               	    if (vy->tag == REALSXP && ! ISNAN(vy->u.dval))		\
  |  |  ------------------
  |  |  |  |   76|  2.07k|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (4912:10): [True: 2.07k, False: 2.11M]
  |  |  |  Branch (4912:32): [True: 2.07k, False: 0]
  |  |  ------------------
  |  | 4913|  2.11M|		DO_FAST_RELOP2(op, vx->u.ival, vy->u.dval);		\
  |  |  ------------------
  |  |  |  | 4883|  2.07k|#define DO_FAST_RELOP2(op,a,b) do { \
  |  |  |  | 4884|  2.07k|    SKIP_OP(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|  2.07k|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 4885|  2.07k|    SETSTACK_LOGICAL(-2, ((a) op (b)) ? TRUE : FALSE);	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4825|  2.07k|#define SETSTACK_LOGICAL(i, v) SETSTACK_LOGICAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4791|  2.07k|#define SETSTACK_LOGICAL_PTR(s, v) do {		\
  |  |  |  |  |  |  |  | 4792|  4.14k|	int __v__ = (v);			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4792:15): [True: 1.72k, False: 345]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4793|  2.07k|	(s)->tag = LGLSXP;			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  121|  2.07k|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4794|  2.07k|	if (__v__ == NA_LOGICAL)		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|  2.07k|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4794:6): [True: 0, False: 2.07k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4795|  2.07k|	    (s)->u.ival = NA_LOGICAL;		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4796|  2.07k|	else					\
  |  |  |  |  |  |  |  | 4797|  2.07k|	    (s)->u.ival = __v__ ? TRUE : FALSE;	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4797:20): [True: 1.72k, False: 345]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4798|  2.07k|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4798:14): [Folded, False: 2.07k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4886|  2.07k|    R_BCNodeStackTop--; \
  |  |  |  | 4887|  2.07k|    R_Visible = TRUE; \
  |  |  |  | 4888|  2.07k|    NEXT(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|  2.07k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 4889|  2.07k|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4889:10): [Folded, False: 2.07k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4914|  2.11M|	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |  123|  4.23M|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |   56|  2.11M|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (4914:15): [True: 2.11M, False: 0]
  |  |  |  Branch (4914:36): [True: 2.11M, False: 0]
  |  |  ------------------
  |  | 4915|  2.11M|		DO_FAST_RELOP2(op, vx->u.ival, vy->u.ival);		\
  |  |  ------------------
  |  |  |  | 4883|  2.11M|#define DO_FAST_RELOP2(op,a,b) do { \
  |  |  |  | 4884|  2.11M|    SKIP_OP(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|  2.11M|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 4885|  2.11M|    SETSTACK_LOGICAL(-2, ((a) op (b)) ? TRUE : FALSE);	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4825|  2.11M|#define SETSTACK_LOGICAL(i, v) SETSTACK_LOGICAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4791|  2.11M|#define SETSTACK_LOGICAL_PTR(s, v) do {		\
  |  |  |  |  |  |  |  | 4792|  4.23M|	int __v__ = (v);			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4792:15): [True: 1.05M, False: 1.05M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4793|  2.11M|	(s)->tag = LGLSXP;			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  121|  2.11M|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4794|  2.11M|	if (__v__ == NA_LOGICAL)		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|  2.11M|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4794:6): [True: 0, False: 2.11M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4795|  2.11M|	    (s)->u.ival = NA_LOGICAL;		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4796|  2.11M|	else					\
  |  |  |  |  |  |  |  | 4797|  2.11M|	    (s)->u.ival = __v__ ? TRUE : FALSE;	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4797:20): [True: 1.05M, False: 1.05M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4798|  2.11M|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4798:14): [Folded, False: 2.11M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4886|  2.11M|    R_BCNodeStackTop--; \
  |  |  |  | 4887|  2.11M|    R_Visible = TRUE; \
  |  |  |  | 4888|  2.11M|    NEXT(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|  2.11M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 4889|  2.11M|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4889:10): [Folded, False: 2.11M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4916|  2.11M|	    }								\
  |  | 4917|  2.11M|	}								\
  |  | 4918|  2.12M|	Relop2(opval, opsym);						\
  |  |  ------------------
  |  |  |  | 5039|  2.12M|#define Relop2(opval,opsym) NewBuiltin2(cmp_relop,opval,opsym,rho)
  |  |  |  |  ------------------
  |  |  |  |  |  | 5019|  2.12M|#define NewBuiltin2(do_fun,opval,opsym,rho) do {	\
  |  |  |  |  |  | 5020|  2.12M|  SEXP call = GETCONST(constants, GETOP()); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5463|  2.12M|#define GETCONST(x, i) ((x).p)[i]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5021|  2.12M|  SEXP x = GETSTACK(-2); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4817|  2.12M|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4751|  2.12M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 2.12M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5022|  2.12M|  SEXP y = GETSTACK(-1); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4817|  2.12M|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4751|  2.12M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 136, False: 2.12M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5023|  2.12M|  SETSTACK(-2, do_fun(call, opval, opsym, x, y,rho));	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|  2.12M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|  2.12M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|  2.12M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|  2.12M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 2.12M]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|  2.12M|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|  2.12M|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|  2.12M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|  2.12M|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 2.12M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5024|  2.12M|  R_BCNodeStackTop--; \
  |  |  |  |  |  | 5025|  2.12M|  R_Visible = TRUE; \
  |  |  |  |  |  | 5026|  2.12M|  NEXT(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5568|  2.12M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5027|  2.12M|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5027:9): [Folded, False: 2.12M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4919|  2.12M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4919:14): [Folded, False: 2.12M]
  |  |  ------------------
  ------------------
 8131|  2.12M|    OP(NE, 1): FastRelop2(!=, NEOP, R_NeSym);
  ------------------
  |  | 5551|  2.12M|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  2.12M|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  2.12M|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  2.12M|    goto loop; \
  |  | 5555|  2.12M|    op_##name
  ------------------
                  OP(NE, 1): FastRelop2(!=, NEOP, R_NeSym);
  ------------------
  |  | 4901|  16.8k|#define FastRelop2(op,opval,opsym) do {					\
  |  | 4902|  16.8k|	R_bcstack_t vvx, vvy;						\
  |  | 4903|  16.8k|	R_bcstack_t *vx = bcStackScalar(R_BCNodeStackTop - 2, &vvx);	\
  |  | 4904|  16.8k|	R_bcstack_t *vy = bcStackScalar(R_BCNodeStackTop - 1, &vvy);	\
  |  | 4905|  16.8k|	if (vx->tag == REALSXP && ! ISNAN(vx->u.dval)) {		\
  |  |  ------------------
  |  |  |  |  124|  33.6k|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |               	if (vx->tag == REALSXP && ! ISNAN(vx->u.dval)) {		\
  |  |  ------------------
  |  |  |  |   76|      2|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (4905:6): [True: 2, False: 16.8k]
  |  |  |  Branch (4905:28): [True: 2, False: 0]
  |  |  ------------------
  |  | 4906|      2|	    if (vy->tag == REALSXP && ! ISNAN(vy->u.dval))		\
  |  |  ------------------
  |  |  |  |  124|      4|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |               	    if (vy->tag == REALSXP && ! ISNAN(vy->u.dval))		\
  |  |  ------------------
  |  |  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (4906:10): [True: 0, False: 2]
  |  |  |  Branch (4906:32): [True: 0, False: 0]
  |  |  ------------------
  |  | 4907|      2|		DO_FAST_RELOP2(op, vx->u.dval, vy->u.dval);		\
  |  |  ------------------
  |  |  |  | 4883|      0|#define DO_FAST_RELOP2(op,a,b) do { \
  |  |  |  | 4884|      0|    SKIP_OP(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|      0|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 4885|      0|    SETSTACK_LOGICAL(-2, ((a) op (b)) ? TRUE : FALSE);	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4825|      0|#define SETSTACK_LOGICAL(i, v) SETSTACK_LOGICAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4791|      0|#define SETSTACK_LOGICAL_PTR(s, v) do {		\
  |  |  |  |  |  |  |  | 4792|      0|	int __v__ = (v);			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4792:15): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4793|      0|	(s)->tag = LGLSXP;			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4794|      0|	if (__v__ == NA_LOGICAL)		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4794:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4795|      0|	    (s)->u.ival = NA_LOGICAL;		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4796|      0|	else					\
  |  |  |  |  |  |  |  | 4797|      0|	    (s)->u.ival = __v__ ? TRUE : FALSE;	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4797:20): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4798|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4798:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4886|      0|    R_BCNodeStackTop--; \
  |  |  |  | 4887|      0|    R_Visible = TRUE; \
  |  |  |  | 4888|      0|    NEXT(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 4889|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4889:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4908|      2|	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER)	\
  |  |  ------------------
  |  |  |  |  123|      4|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER)	\
  |  |  ------------------
  |  |  |  |   56|      2|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (4908:15): [True: 2, False: 0]
  |  |  |  Branch (4908:36): [True: 2, False: 0]
  |  |  ------------------
  |  | 4909|      2|		DO_FAST_RELOP2(op, vx->u.dval, vy->u.ival);		\
  |  |  ------------------
  |  |  |  | 4883|      2|#define DO_FAST_RELOP2(op,a,b) do { \
  |  |  |  | 4884|      2|    SKIP_OP(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|      2|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 4885|      2|    SETSTACK_LOGICAL(-2, ((a) op (b)) ? TRUE : FALSE);	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4825|      2|#define SETSTACK_LOGICAL(i, v) SETSTACK_LOGICAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4791|      2|#define SETSTACK_LOGICAL_PTR(s, v) do {		\
  |  |  |  |  |  |  |  | 4792|      4|	int __v__ = (v);			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4792:15): [True: 0, False: 2]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4793|      2|	(s)->tag = LGLSXP;			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  121|      2|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4794|      2|	if (__v__ == NA_LOGICAL)		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|      2|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4794:6): [True: 0, False: 2]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4795|      2|	    (s)->u.ival = NA_LOGICAL;		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4796|      2|	else					\
  |  |  |  |  |  |  |  | 4797|      2|	    (s)->u.ival = __v__ ? TRUE : FALSE;	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4797:20): [True: 0, False: 2]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4798|      2|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4798:14): [Folded, False: 2]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4886|      2|    R_BCNodeStackTop--; \
  |  |  |  | 4887|      2|    R_Visible = TRUE; \
  |  |  |  | 4888|      2|    NEXT(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      2|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 4889|      2|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4889:10): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4910|      2|	}								\
  |  | 4911|  16.8k|	else if (vx->tag == INTSXP && vx->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |  123|  33.6k|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	else if (vx->tag == INTSXP && vx->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |   56|  11.8k|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (4911:11): [True: 11.8k, False: 4.99k]
  |  |  |  Branch (4911:32): [True: 11.8k, False: 0]
  |  |  ------------------
  |  | 4912|  11.8k|	    if (vy->tag == REALSXP && ! ISNAN(vy->u.dval))		\
  |  |  ------------------
  |  |  |  |  124|  23.6k|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |               	    if (vy->tag == REALSXP && ! ISNAN(vy->u.dval))		\
  |  |  ------------------
  |  |  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (4912:10): [True: 0, False: 11.8k]
  |  |  |  Branch (4912:32): [True: 0, False: 0]
  |  |  ------------------
  |  | 4913|  11.8k|		DO_FAST_RELOP2(op, vx->u.ival, vy->u.dval);		\
  |  |  ------------------
  |  |  |  | 4883|      0|#define DO_FAST_RELOP2(op,a,b) do { \
  |  |  |  | 4884|      0|    SKIP_OP(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|      0|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 4885|      0|    SETSTACK_LOGICAL(-2, ((a) op (b)) ? TRUE : FALSE);	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4825|      0|#define SETSTACK_LOGICAL(i, v) SETSTACK_LOGICAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4791|      0|#define SETSTACK_LOGICAL_PTR(s, v) do {		\
  |  |  |  |  |  |  |  | 4792|      0|	int __v__ = (v);			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4792:15): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4793|      0|	(s)->tag = LGLSXP;			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4794|      0|	if (__v__ == NA_LOGICAL)		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4794:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4795|      0|	    (s)->u.ival = NA_LOGICAL;		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4796|      0|	else					\
  |  |  |  |  |  |  |  | 4797|      0|	    (s)->u.ival = __v__ ? TRUE : FALSE;	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4797:20): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4798|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4798:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4886|      0|    R_BCNodeStackTop--; \
  |  |  |  | 4887|      0|    R_Visible = TRUE; \
  |  |  |  | 4888|      0|    NEXT(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 4889|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4889:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4914|  11.8k|	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |  123|  23.6k|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |   56|  11.8k|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (4914:15): [True: 11.8k, False: 0]
  |  |  |  Branch (4914:36): [True: 11.8k, False: 0]
  |  |  ------------------
  |  | 4915|  11.8k|		DO_FAST_RELOP2(op, vx->u.ival, vy->u.ival);		\
  |  |  ------------------
  |  |  |  | 4883|  11.8k|#define DO_FAST_RELOP2(op,a,b) do { \
  |  |  |  | 4884|  11.8k|    SKIP_OP(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|  11.8k|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 4885|  11.8k|    SETSTACK_LOGICAL(-2, ((a) op (b)) ? TRUE : FALSE);	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4825|  11.8k|#define SETSTACK_LOGICAL(i, v) SETSTACK_LOGICAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4791|  11.8k|#define SETSTACK_LOGICAL_PTR(s, v) do {		\
  |  |  |  |  |  |  |  | 4792|  23.6k|	int __v__ = (v);			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4792:15): [True: 1.62k, False: 10.2k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4793|  11.8k|	(s)->tag = LGLSXP;			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  121|  11.8k|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4794|  11.8k|	if (__v__ == NA_LOGICAL)		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|  11.8k|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4794:6): [True: 0, False: 11.8k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4795|  11.8k|	    (s)->u.ival = NA_LOGICAL;		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4796|  11.8k|	else					\
  |  |  |  |  |  |  |  | 4797|  11.8k|	    (s)->u.ival = __v__ ? TRUE : FALSE;	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4797:20): [True: 1.62k, False: 10.2k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4798|  11.8k|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4798:14): [Folded, False: 11.8k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4886|  11.8k|    R_BCNodeStackTop--; \
  |  |  |  | 4887|  11.8k|    R_Visible = TRUE; \
  |  |  |  | 4888|  11.8k|    NEXT(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|  11.8k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 4889|  11.8k|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4889:10): [Folded, False: 11.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4916|  11.8k|	    }								\
  |  | 4917|  11.8k|	}								\
  |  | 4918|  16.8k|	Relop2(opval, opsym);						\
  |  |  ------------------
  |  |  |  | 5039|  16.8k|#define Relop2(opval,opsym) NewBuiltin2(cmp_relop,opval,opsym,rho)
  |  |  |  |  ------------------
  |  |  |  |  |  | 5019|  16.8k|#define NewBuiltin2(do_fun,opval,opsym,rho) do {	\
  |  |  |  |  |  | 5020|  16.8k|  SEXP call = GETCONST(constants, GETOP()); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5463|  16.8k|#define GETCONST(x, i) ((x).p)[i]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5021|  16.8k|  SEXP x = GETSTACK(-2); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4817|  16.8k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4751|  16.8k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 16.8k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5022|  16.8k|  SEXP y = GETSTACK(-1); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4817|  16.8k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4751|  16.8k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 20, False: 16.8k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5023|  16.8k|  SETSTACK(-2, do_fun(call, opval, opsym, x, y,rho));	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|  16.8k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|  16.8k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|  16.8k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|  16.8k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 16.8k]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|  16.8k|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|  16.8k|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|  16.8k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|  16.8k|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 16.8k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5024|  16.8k|  R_BCNodeStackTop--; \
  |  |  |  |  |  | 5025|  16.8k|  R_Visible = TRUE; \
  |  |  |  |  |  | 5026|  16.8k|  NEXT(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5568|  16.8k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5027|  16.8k|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5027:9): [Folded, False: 16.8k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4919|  16.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4919:14): [Folded, False: 16.8k]
  |  |  ------------------
  ------------------
 8132|  16.8k|    OP(LT, 1): FastRelop2(<, LTOP, R_LtSym);
  ------------------
  |  | 5551|  16.8k|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  16.8k|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  16.8k|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  16.8k|    goto loop; \
  |  | 5555|  16.8k|    op_##name
  ------------------
                  OP(LT, 1): FastRelop2(<, LTOP, R_LtSym);
  ------------------
  |  | 4901|  4.05k|#define FastRelop2(op,opval,opsym) do {					\
  |  | 4902|  4.05k|	R_bcstack_t vvx, vvy;						\
  |  | 4903|  4.05k|	R_bcstack_t *vx = bcStackScalar(R_BCNodeStackTop - 2, &vvx);	\
  |  | 4904|  4.05k|	R_bcstack_t *vy = bcStackScalar(R_BCNodeStackTop - 1, &vvy);	\
  |  | 4905|  4.05k|	if (vx->tag == REALSXP && ! ISNAN(vx->u.dval)) {		\
  |  |  ------------------
  |  |  |  |  124|  8.10k|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |               	if (vx->tag == REALSXP && ! ISNAN(vx->u.dval)) {		\
  |  |  ------------------
  |  |  |  |   76|     28|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (4905:6): [True: 28, False: 4.02k]
  |  |  |  Branch (4905:28): [True: 28, False: 0]
  |  |  ------------------
  |  | 4906|     28|	    if (vy->tag == REALSXP && ! ISNAN(vy->u.dval))		\
  |  |  ------------------
  |  |  |  |  124|     56|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |               	    if (vy->tag == REALSXP && ! ISNAN(vy->u.dval))		\
  |  |  ------------------
  |  |  |  |   76|     26|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (4906:10): [True: 26, False: 2]
  |  |  |  Branch (4906:32): [True: 26, False: 0]
  |  |  ------------------
  |  | 4907|     28|		DO_FAST_RELOP2(op, vx->u.dval, vy->u.dval);		\
  |  |  ------------------
  |  |  |  | 4883|     26|#define DO_FAST_RELOP2(op,a,b) do { \
  |  |  |  | 4884|     26|    SKIP_OP(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|     26|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 4885|     26|    SETSTACK_LOGICAL(-2, ((a) op (b)) ? TRUE : FALSE);	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4825|     26|#define SETSTACK_LOGICAL(i, v) SETSTACK_LOGICAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4791|     26|#define SETSTACK_LOGICAL_PTR(s, v) do {		\
  |  |  |  |  |  |  |  | 4792|     52|	int __v__ = (v);			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4792:15): [True: 0, False: 26]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4793|     26|	(s)->tag = LGLSXP;			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  121|     26|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4794|     26|	if (__v__ == NA_LOGICAL)		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|     26|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4794:6): [True: 0, False: 26]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4795|     26|	    (s)->u.ival = NA_LOGICAL;		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4796|     26|	else					\
  |  |  |  |  |  |  |  | 4797|     26|	    (s)->u.ival = __v__ ? TRUE : FALSE;	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4797:20): [True: 0, False: 26]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4798|     26|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4798:14): [Folded, False: 26]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4886|     26|    R_BCNodeStackTop--; \
  |  |  |  | 4887|     26|    R_Visible = TRUE; \
  |  |  |  | 4888|     26|    NEXT(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|     26|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 4889|     26|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4889:10): [Folded, False: 26]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4908|     28|	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER)	\
  |  |  ------------------
  |  |  |  |  123|      4|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER)	\
  |  |  ------------------
  |  |  |  |   56|      2|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (4908:15): [True: 2, False: 0]
  |  |  |  Branch (4908:36): [True: 2, False: 0]
  |  |  ------------------
  |  | 4909|      2|		DO_FAST_RELOP2(op, vx->u.dval, vy->u.ival);		\
  |  |  ------------------
  |  |  |  | 4883|      2|#define DO_FAST_RELOP2(op,a,b) do { \
  |  |  |  | 4884|      2|    SKIP_OP(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|      2|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 4885|      2|    SETSTACK_LOGICAL(-2, ((a) op (b)) ? TRUE : FALSE);	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4825|      2|#define SETSTACK_LOGICAL(i, v) SETSTACK_LOGICAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4791|      2|#define SETSTACK_LOGICAL_PTR(s, v) do {		\
  |  |  |  |  |  |  |  | 4792|      4|	int __v__ = (v);			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4792:15): [True: 2, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4793|      2|	(s)->tag = LGLSXP;			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  121|      2|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4794|      2|	if (__v__ == NA_LOGICAL)		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|      2|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4794:6): [True: 0, False: 2]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4795|      2|	    (s)->u.ival = NA_LOGICAL;		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4796|      2|	else					\
  |  |  |  |  |  |  |  | 4797|      2|	    (s)->u.ival = __v__ ? TRUE : FALSE;	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4797:20): [True: 2, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4798|      2|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4798:14): [Folded, False: 2]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4886|      2|    R_BCNodeStackTop--; \
  |  |  |  | 4887|      2|    R_Visible = TRUE; \
  |  |  |  | 4888|      2|    NEXT(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      2|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 4889|      2|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4889:10): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4910|     28|	}								\
  |  | 4911|  4.05k|	else if (vx->tag == INTSXP && vx->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |  123|  8.04k|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	else if (vx->tag == INTSXP && vx->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |   56|  3.24k|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (4911:11): [True: 3.24k, False: 776]
  |  |  |  Branch (4911:32): [True: 3.24k, False: 0]
  |  |  ------------------
  |  | 4912|  3.24k|	    if (vy->tag == REALSXP && ! ISNAN(vy->u.dval))		\
  |  |  ------------------
  |  |  |  |  124|  6.49k|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |               	    if (vy->tag == REALSXP && ! ISNAN(vy->u.dval))		\
  |  |  ------------------
  |  |  |  |   76|      6|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (4912:10): [True: 6, False: 3.24k]
  |  |  |  Branch (4912:32): [True: 6, False: 0]
  |  |  ------------------
  |  | 4913|  3.24k|		DO_FAST_RELOP2(op, vx->u.ival, vy->u.dval);		\
  |  |  ------------------
  |  |  |  | 4883|      6|#define DO_FAST_RELOP2(op,a,b) do { \
  |  |  |  | 4884|      6|    SKIP_OP(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|      6|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 4885|      6|    SETSTACK_LOGICAL(-2, ((a) op (b)) ? TRUE : FALSE);	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4825|      6|#define SETSTACK_LOGICAL(i, v) SETSTACK_LOGICAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4791|      6|#define SETSTACK_LOGICAL_PTR(s, v) do {		\
  |  |  |  |  |  |  |  | 4792|     12|	int __v__ = (v);			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4792:15): [True: 0, False: 6]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4793|      6|	(s)->tag = LGLSXP;			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  121|      6|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4794|      6|	if (__v__ == NA_LOGICAL)		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|      6|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4794:6): [True: 0, False: 6]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4795|      6|	    (s)->u.ival = NA_LOGICAL;		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4796|      6|	else					\
  |  |  |  |  |  |  |  | 4797|      6|	    (s)->u.ival = __v__ ? TRUE : FALSE;	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4797:20): [True: 0, False: 6]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4798|      6|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4798:14): [Folded, False: 6]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4886|      6|    R_BCNodeStackTop--; \
  |  |  |  | 4887|      6|    R_Visible = TRUE; \
  |  |  |  | 4888|      6|    NEXT(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      6|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 4889|      6|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4889:10): [Folded, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4914|  3.24k|	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |  123|  6.48k|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |   56|  3.24k|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (4914:15): [True: 3.24k, False: 0]
  |  |  |  Branch (4914:36): [True: 3.24k, False: 0]
  |  |  ------------------
  |  | 4915|  3.24k|		DO_FAST_RELOP2(op, vx->u.ival, vy->u.ival);		\
  |  |  ------------------
  |  |  |  | 4883|  3.24k|#define DO_FAST_RELOP2(op,a,b) do { \
  |  |  |  | 4884|  3.24k|    SKIP_OP(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|  3.24k|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 4885|  3.24k|    SETSTACK_LOGICAL(-2, ((a) op (b)) ? TRUE : FALSE);	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4825|  3.24k|#define SETSTACK_LOGICAL(i, v) SETSTACK_LOGICAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4791|  3.24k|#define SETSTACK_LOGICAL_PTR(s, v) do {		\
  |  |  |  |  |  |  |  | 4792|  6.48k|	int __v__ = (v);			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4792:15): [True: 1.63k, False: 1.60k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4793|  3.24k|	(s)->tag = LGLSXP;			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  121|  3.24k|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4794|  3.24k|	if (__v__ == NA_LOGICAL)		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|  3.24k|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4794:6): [True: 0, False: 3.24k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4795|  3.24k|	    (s)->u.ival = NA_LOGICAL;		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4796|  3.24k|	else					\
  |  |  |  |  |  |  |  | 4797|  3.24k|	    (s)->u.ival = __v__ ? TRUE : FALSE;	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4797:20): [True: 1.63k, False: 1.60k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4798|  3.24k|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4798:14): [Folded, False: 3.24k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4886|  3.24k|    R_BCNodeStackTop--; \
  |  |  |  | 4887|  3.24k|    R_Visible = TRUE; \
  |  |  |  | 4888|  3.24k|    NEXT(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|  3.24k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 4889|  3.24k|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4889:10): [Folded, False: 3.24k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4916|  3.24k|	    }								\
  |  | 4917|  3.24k|	}								\
  |  | 4918|  4.05k|	Relop2(opval, opsym);						\
  |  |  ------------------
  |  |  |  | 5039|  4.05k|#define Relop2(opval,opsym) NewBuiltin2(cmp_relop,opval,opsym,rho)
  |  |  |  |  ------------------
  |  |  |  |  |  | 5019|  4.05k|#define NewBuiltin2(do_fun,opval,opsym,rho) do {	\
  |  |  |  |  |  | 5020|  4.05k|  SEXP call = GETCONST(constants, GETOP()); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5463|  4.05k|#define GETCONST(x, i) ((x).p)[i]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5021|  4.05k|  SEXP x = GETSTACK(-2); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4817|  4.05k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4751|  4.05k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 4.05k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5022|  4.05k|  SEXP y = GETSTACK(-1); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4817|  4.05k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4751|  4.05k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 750, False: 3.30k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5023|  4.05k|  SETSTACK(-2, do_fun(call, opval, opsym, x, y,rho));	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|  4.05k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|  4.05k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|  4.05k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|  4.05k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 4.05k]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|  4.05k|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|  4.05k|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|  4.05k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|  4.05k|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 4.05k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5024|  4.05k|  R_BCNodeStackTop--; \
  |  |  |  |  |  | 5025|  4.05k|  R_Visible = TRUE; \
  |  |  |  |  |  | 5026|  4.05k|  NEXT(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5568|  4.05k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5027|  4.05k|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5027:9): [Folded, False: 4.05k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4919|  4.05k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4919:14): [Folded, False: 4.05k]
  |  |  ------------------
  ------------------
 8133|  4.45k|    OP(LE, 1): FastRelop2(<=, LEOP, R_LeSym);
  ------------------
  |  | 5551|  4.05k|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  4.05k|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  4.05k|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  4.05k|    goto loop; \
  |  | 5555|  4.45k|    op_##name
  ------------------
                  OP(LE, 1): FastRelop2(<=, LEOP, R_LeSym);
  ------------------
  |  | 4901|  4.45k|#define FastRelop2(op,opval,opsym) do {					\
  |  | 4902|  4.45k|	R_bcstack_t vvx, vvy;						\
  |  | 4903|  4.45k|	R_bcstack_t *vx = bcStackScalar(R_BCNodeStackTop - 2, &vvx);	\
  |  | 4904|  4.45k|	R_bcstack_t *vy = bcStackScalar(R_BCNodeStackTop - 1, &vvy);	\
  |  | 4905|  4.45k|	if (vx->tag == REALSXP && ! ISNAN(vx->u.dval)) {		\
  |  |  ------------------
  |  |  |  |  124|  8.90k|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |               	if (vx->tag == REALSXP && ! ISNAN(vx->u.dval)) {		\
  |  |  ------------------
  |  |  |  |   76|    438|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (4905:6): [True: 438, False: 4.01k]
  |  |  |  Branch (4905:28): [True: 438, False: 0]
  |  |  ------------------
  |  | 4906|    438|	    if (vy->tag == REALSXP && ! ISNAN(vy->u.dval))		\
  |  |  ------------------
  |  |  |  |  124|    876|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |               	    if (vy->tag == REALSXP && ! ISNAN(vy->u.dval))		\
  |  |  ------------------
  |  |  |  |   76|    438|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (4906:10): [True: 438, False: 0]
  |  |  |  Branch (4906:32): [True: 438, False: 0]
  |  |  ------------------
  |  | 4907|    438|		DO_FAST_RELOP2(op, vx->u.dval, vy->u.dval);		\
  |  |  ------------------
  |  |  |  | 4883|    438|#define DO_FAST_RELOP2(op,a,b) do { \
  |  |  |  | 4884|    438|    SKIP_OP(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|    438|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 4885|    438|    SETSTACK_LOGICAL(-2, ((a) op (b)) ? TRUE : FALSE);	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4825|    438|#define SETSTACK_LOGICAL(i, v) SETSTACK_LOGICAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4791|    438|#define SETSTACK_LOGICAL_PTR(s, v) do {		\
  |  |  |  |  |  |  |  | 4792|    876|	int __v__ = (v);			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4792:15): [True: 0, False: 438]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4793|    438|	(s)->tag = LGLSXP;			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  121|    438|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4794|    438|	if (__v__ == NA_LOGICAL)		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|    438|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4794:6): [True: 0, False: 438]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4795|    438|	    (s)->u.ival = NA_LOGICAL;		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4796|    438|	else					\
  |  |  |  |  |  |  |  | 4797|    438|	    (s)->u.ival = __v__ ? TRUE : FALSE;	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4797:20): [True: 0, False: 438]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4798|    438|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4798:14): [Folded, False: 438]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4886|    438|    R_BCNodeStackTop--; \
  |  |  |  | 4887|    438|    R_Visible = TRUE; \
  |  |  |  | 4888|    438|    NEXT(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|    438|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 4889|    438|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4889:10): [Folded, False: 438]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4908|    438|	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER)	\
  |  |  ------------------
  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER)	\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (4908:15): [True: 0, False: 0]
  |  |  |  Branch (4908:36): [True: 0, False: 0]
  |  |  ------------------
  |  | 4909|      0|		DO_FAST_RELOP2(op, vx->u.dval, vy->u.ival);		\
  |  |  ------------------
  |  |  |  | 4883|      0|#define DO_FAST_RELOP2(op,a,b) do { \
  |  |  |  | 4884|      0|    SKIP_OP(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|      0|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 4885|      0|    SETSTACK_LOGICAL(-2, ((a) op (b)) ? TRUE : FALSE);	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4825|      0|#define SETSTACK_LOGICAL(i, v) SETSTACK_LOGICAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4791|      0|#define SETSTACK_LOGICAL_PTR(s, v) do {		\
  |  |  |  |  |  |  |  | 4792|      0|	int __v__ = (v);			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4792:15): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4793|      0|	(s)->tag = LGLSXP;			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4794|      0|	if (__v__ == NA_LOGICAL)		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4794:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4795|      0|	    (s)->u.ival = NA_LOGICAL;		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4796|      0|	else					\
  |  |  |  |  |  |  |  | 4797|      0|	    (s)->u.ival = __v__ ? TRUE : FALSE;	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4797:20): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4798|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4798:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4886|      0|    R_BCNodeStackTop--; \
  |  |  |  | 4887|      0|    R_Visible = TRUE; \
  |  |  |  | 4888|      0|    NEXT(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 4889|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4889:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4910|    438|	}								\
  |  | 4911|  4.45k|	else if (vx->tag == INTSXP && vx->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |  123|  8.03k|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	else if (vx->tag == INTSXP && vx->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |   56|  2.90k|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (4911:11): [True: 2.90k, False: 1.11k]
  |  |  |  Branch (4911:32): [True: 2.90k, False: 0]
  |  |  ------------------
  |  | 4912|  2.90k|	    if (vy->tag == REALSXP && ! ISNAN(vy->u.dval))		\
  |  |  ------------------
  |  |  |  |  124|  5.80k|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |               	    if (vy->tag == REALSXP && ! ISNAN(vy->u.dval))		\
  |  |  ------------------
  |  |  |  |   76|    968|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (4912:10): [True: 968, False: 1.93k]
  |  |  |  Branch (4912:32): [True: 968, False: 0]
  |  |  ------------------
  |  | 4913|  2.90k|		DO_FAST_RELOP2(op, vx->u.ival, vy->u.dval);		\
  |  |  ------------------
  |  |  |  | 4883|    968|#define DO_FAST_RELOP2(op,a,b) do { \
  |  |  |  | 4884|    968|    SKIP_OP(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|    968|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 4885|    968|    SETSTACK_LOGICAL(-2, ((a) op (b)) ? TRUE : FALSE);	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4825|    968|#define SETSTACK_LOGICAL(i, v) SETSTACK_LOGICAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4791|    968|#define SETSTACK_LOGICAL_PTR(s, v) do {		\
  |  |  |  |  |  |  |  | 4792|  1.93k|	int __v__ = (v);			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4792:15): [True: 0, False: 968]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4793|    968|	(s)->tag = LGLSXP;			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  121|    968|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4794|    968|	if (__v__ == NA_LOGICAL)		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|    968|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4794:6): [True: 0, False: 968]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4795|    968|	    (s)->u.ival = NA_LOGICAL;		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4796|    968|	else					\
  |  |  |  |  |  |  |  | 4797|    968|	    (s)->u.ival = __v__ ? TRUE : FALSE;	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4797:20): [True: 0, False: 968]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4798|    968|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4798:14): [Folded, False: 968]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4886|    968|    R_BCNodeStackTop--; \
  |  |  |  | 4887|    968|    R_Visible = TRUE; \
  |  |  |  | 4888|    968|    NEXT(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|    968|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 4889|    968|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4889:10): [Folded, False: 968]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4914|  2.90k|	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |  123|  3.86k|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |   56|  1.93k|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (4914:15): [True: 1.93k, False: 0]
  |  |  |  Branch (4914:36): [True: 1.93k, False: 0]
  |  |  ------------------
  |  | 4915|  1.93k|		DO_FAST_RELOP2(op, vx->u.ival, vy->u.ival);		\
  |  |  ------------------
  |  |  |  | 4883|  1.93k|#define DO_FAST_RELOP2(op,a,b) do { \
  |  |  |  | 4884|  1.93k|    SKIP_OP(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|  1.93k|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 4885|  1.93k|    SETSTACK_LOGICAL(-2, ((a) op (b)) ? TRUE : FALSE);	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4825|  1.93k|#define SETSTACK_LOGICAL(i, v) SETSTACK_LOGICAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4791|  1.93k|#define SETSTACK_LOGICAL_PTR(s, v) do {		\
  |  |  |  |  |  |  |  | 4792|  3.86k|	int __v__ = (v);			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4792:15): [True: 966, False: 966]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4793|  1.93k|	(s)->tag = LGLSXP;			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  121|  1.93k|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4794|  1.93k|	if (__v__ == NA_LOGICAL)		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|  1.93k|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4794:6): [True: 0, False: 1.93k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4795|  1.93k|	    (s)->u.ival = NA_LOGICAL;		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4796|  1.93k|	else					\
  |  |  |  |  |  |  |  | 4797|  1.93k|	    (s)->u.ival = __v__ ? TRUE : FALSE;	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4797:20): [True: 966, False: 966]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4798|  1.93k|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4798:14): [Folded, False: 1.93k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4886|  1.93k|    R_BCNodeStackTop--; \
  |  |  |  | 4887|  1.93k|    R_Visible = TRUE; \
  |  |  |  | 4888|  1.93k|    NEXT(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|  1.93k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 4889|  1.93k|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4889:10): [Folded, False: 1.93k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4916|  1.93k|	    }								\
  |  | 4917|  2.90k|	}								\
  |  | 4918|  4.45k|	Relop2(opval, opsym);						\
  |  |  ------------------
  |  |  |  | 5039|  4.45k|#define Relop2(opval,opsym) NewBuiltin2(cmp_relop,opval,opsym,rho)
  |  |  |  |  ------------------
  |  |  |  |  |  | 5019|  4.45k|#define NewBuiltin2(do_fun,opval,opsym,rho) do {	\
  |  |  |  |  |  | 5020|  4.45k|  SEXP call = GETCONST(constants, GETOP()); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5463|  4.45k|#define GETCONST(x, i) ((x).p)[i]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5021|  4.45k|  SEXP x = GETSTACK(-2); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4817|  4.45k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4751|  4.45k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 4.45k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5022|  4.45k|  SEXP y = GETSTACK(-1); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4817|  4.45k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4751|  4.45k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 169, False: 4.28k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5023|  4.45k|  SETSTACK(-2, do_fun(call, opval, opsym, x, y,rho));	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|  4.45k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|  4.45k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|  4.45k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|  4.45k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 4.45k]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|  4.45k|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|  4.45k|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|  4.45k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|  4.45k|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 4.45k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5024|  4.45k|  R_BCNodeStackTop--; \
  |  |  |  |  |  | 5025|  4.45k|  R_Visible = TRUE; \
  |  |  |  |  |  | 5026|  4.45k|  NEXT(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5568|  4.45k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5027|  4.45k|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5027:9): [Folded, False: 4.45k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4919|  4.45k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4919:14): [Folded, False: 4.45k]
  |  |  ------------------
  ------------------
 8134|  4.45k|    OP(GE, 1): FastRelop2(>=, GEOP, R_GeSym);
  ------------------
  |  | 5551|  4.45k|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  4.45k|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  4.45k|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  4.45k|    goto loop; \
  |  | 5555|  4.45k|    op_##name
  ------------------
                  OP(GE, 1): FastRelop2(>=, GEOP, R_GeSym);
  ------------------
  |  | 4901|    968|#define FastRelop2(op,opval,opsym) do {					\
  |  | 4902|    968|	R_bcstack_t vvx, vvy;						\
  |  | 4903|    968|	R_bcstack_t *vx = bcStackScalar(R_BCNodeStackTop - 2, &vvx);	\
  |  | 4904|    968|	R_bcstack_t *vy = bcStackScalar(R_BCNodeStackTop - 1, &vvy);	\
  |  | 4905|    968|	if (vx->tag == REALSXP && ! ISNAN(vx->u.dval)) {		\
  |  |  ------------------
  |  |  |  |  124|  1.93k|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |               	if (vx->tag == REALSXP && ! ISNAN(vx->u.dval)) {		\
  |  |  ------------------
  |  |  |  |   76|      2|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (4905:6): [True: 2, False: 966]
  |  |  |  Branch (4905:28): [True: 2, False: 0]
  |  |  ------------------
  |  | 4906|      2|	    if (vy->tag == REALSXP && ! ISNAN(vy->u.dval))		\
  |  |  ------------------
  |  |  |  |  124|      4|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |               	    if (vy->tag == REALSXP && ! ISNAN(vy->u.dval))		\
  |  |  ------------------
  |  |  |  |   76|      2|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (4906:10): [True: 2, False: 0]
  |  |  |  Branch (4906:32): [True: 2, False: 0]
  |  |  ------------------
  |  | 4907|      2|		DO_FAST_RELOP2(op, vx->u.dval, vy->u.dval);		\
  |  |  ------------------
  |  |  |  | 4883|      2|#define DO_FAST_RELOP2(op,a,b) do { \
  |  |  |  | 4884|      2|    SKIP_OP(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|      2|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 4885|      2|    SETSTACK_LOGICAL(-2, ((a) op (b)) ? TRUE : FALSE);	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4825|      2|#define SETSTACK_LOGICAL(i, v) SETSTACK_LOGICAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4791|      2|#define SETSTACK_LOGICAL_PTR(s, v) do {		\
  |  |  |  |  |  |  |  | 4792|      4|	int __v__ = (v);			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4792:15): [True: 2, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4793|      2|	(s)->tag = LGLSXP;			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  121|      2|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4794|      2|	if (__v__ == NA_LOGICAL)		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|      2|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4794:6): [True: 0, False: 2]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4795|      2|	    (s)->u.ival = NA_LOGICAL;		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4796|      2|	else					\
  |  |  |  |  |  |  |  | 4797|      2|	    (s)->u.ival = __v__ ? TRUE : FALSE;	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4797:20): [True: 2, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4798|      2|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4798:14): [Folded, False: 2]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4886|      2|    R_BCNodeStackTop--; \
  |  |  |  | 4887|      2|    R_Visible = TRUE; \
  |  |  |  | 4888|      2|    NEXT(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      2|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 4889|      2|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4889:10): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4908|      2|	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER)	\
  |  |  ------------------
  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER)	\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (4908:15): [True: 0, False: 0]
  |  |  |  Branch (4908:36): [True: 0, False: 0]
  |  |  ------------------
  |  | 4909|      0|		DO_FAST_RELOP2(op, vx->u.dval, vy->u.ival);		\
  |  |  ------------------
  |  |  |  | 4883|      0|#define DO_FAST_RELOP2(op,a,b) do { \
  |  |  |  | 4884|      0|    SKIP_OP(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|      0|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 4885|      0|    SETSTACK_LOGICAL(-2, ((a) op (b)) ? TRUE : FALSE);	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4825|      0|#define SETSTACK_LOGICAL(i, v) SETSTACK_LOGICAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4791|      0|#define SETSTACK_LOGICAL_PTR(s, v) do {		\
  |  |  |  |  |  |  |  | 4792|      0|	int __v__ = (v);			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4792:15): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4793|      0|	(s)->tag = LGLSXP;			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4794|      0|	if (__v__ == NA_LOGICAL)		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4794:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4795|      0|	    (s)->u.ival = NA_LOGICAL;		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4796|      0|	else					\
  |  |  |  |  |  |  |  | 4797|      0|	    (s)->u.ival = __v__ ? TRUE : FALSE;	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4797:20): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4798|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4798:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4886|      0|    R_BCNodeStackTop--; \
  |  |  |  | 4887|      0|    R_Visible = TRUE; \
  |  |  |  | 4888|      0|    NEXT(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 4889|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4889:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4910|      2|	}								\
  |  | 4911|    968|	else if (vx->tag == INTSXP && vx->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |  123|  1.93k|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	else if (vx->tag == INTSXP && vx->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |   56|    966|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (4911:11): [True: 966, False: 0]
  |  |  |  Branch (4911:32): [True: 966, False: 0]
  |  |  ------------------
  |  | 4912|    966|	    if (vy->tag == REALSXP && ! ISNAN(vy->u.dval))		\
  |  |  ------------------
  |  |  |  |  124|  1.93k|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |               	    if (vy->tag == REALSXP && ! ISNAN(vy->u.dval))		\
  |  |  ------------------
  |  |  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (4912:10): [True: 0, False: 966]
  |  |  |  Branch (4912:32): [True: 0, False: 0]
  |  |  ------------------
  |  | 4913|    966|		DO_FAST_RELOP2(op, vx->u.ival, vy->u.dval);		\
  |  |  ------------------
  |  |  |  | 4883|      0|#define DO_FAST_RELOP2(op,a,b) do { \
  |  |  |  | 4884|      0|    SKIP_OP(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|      0|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 4885|      0|    SETSTACK_LOGICAL(-2, ((a) op (b)) ? TRUE : FALSE);	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4825|      0|#define SETSTACK_LOGICAL(i, v) SETSTACK_LOGICAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4791|      0|#define SETSTACK_LOGICAL_PTR(s, v) do {		\
  |  |  |  |  |  |  |  | 4792|      0|	int __v__ = (v);			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4792:15): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4793|      0|	(s)->tag = LGLSXP;			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4794|      0|	if (__v__ == NA_LOGICAL)		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4794:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4795|      0|	    (s)->u.ival = NA_LOGICAL;		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4796|      0|	else					\
  |  |  |  |  |  |  |  | 4797|      0|	    (s)->u.ival = __v__ ? TRUE : FALSE;	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4797:20): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4798|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4798:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4886|      0|    R_BCNodeStackTop--; \
  |  |  |  | 4887|      0|    R_Visible = TRUE; \
  |  |  |  | 4888|      0|    NEXT(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 4889|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4889:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4914|    966|	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |  123|  1.93k|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |   56|    966|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (4914:15): [True: 966, False: 0]
  |  |  |  Branch (4914:36): [True: 966, False: 0]
  |  |  ------------------
  |  | 4915|    966|		DO_FAST_RELOP2(op, vx->u.ival, vy->u.ival);		\
  |  |  ------------------
  |  |  |  | 4883|    966|#define DO_FAST_RELOP2(op,a,b) do { \
  |  |  |  | 4884|    966|    SKIP_OP(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|    966|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 4885|    966|    SETSTACK_LOGICAL(-2, ((a) op (b)) ? TRUE : FALSE);	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4825|    966|#define SETSTACK_LOGICAL(i, v) SETSTACK_LOGICAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4791|    966|#define SETSTACK_LOGICAL_PTR(s, v) do {		\
  |  |  |  |  |  |  |  | 4792|  1.93k|	int __v__ = (v);			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4792:15): [True: 966, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4793|    966|	(s)->tag = LGLSXP;			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  121|    966|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4794|    966|	if (__v__ == NA_LOGICAL)		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|    966|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4794:6): [True: 0, False: 966]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4795|    966|	    (s)->u.ival = NA_LOGICAL;		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4796|    966|	else					\
  |  |  |  |  |  |  |  | 4797|    966|	    (s)->u.ival = __v__ ? TRUE : FALSE;	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4797:20): [True: 966, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4798|    966|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4798:14): [Folded, False: 966]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4886|    966|    R_BCNodeStackTop--; \
  |  |  |  | 4887|    966|    R_Visible = TRUE; \
  |  |  |  | 4888|    966|    NEXT(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|    966|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 4889|    966|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4889:10): [Folded, False: 966]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4916|    966|	    }								\
  |  | 4917|    966|	}								\
  |  | 4918|    968|	Relop2(opval, opsym);						\
  |  |  ------------------
  |  |  |  | 5039|    968|#define Relop2(opval,opsym) NewBuiltin2(cmp_relop,opval,opsym,rho)
  |  |  |  |  ------------------
  |  |  |  |  |  | 5019|    968|#define NewBuiltin2(do_fun,opval,opsym,rho) do {	\
  |  |  |  |  |  | 5020|    968|  SEXP call = GETCONST(constants, GETOP()); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5463|    968|#define GETCONST(x, i) ((x).p)[i]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5021|    968|  SEXP x = GETSTACK(-2); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4817|    968|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4751|    968|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 968]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5022|    968|  SEXP y = GETSTACK(-1); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4817|    968|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4751|    968|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 968]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5023|    968|  SETSTACK(-2, do_fun(call, opval, opsym, x, y,rho));	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|    968|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|    968|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|    968|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|    968|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 968]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|    968|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|    968|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|    968|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|    968|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 968]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5024|    968|  R_BCNodeStackTop--; \
  |  |  |  |  |  | 5025|    968|  R_Visible = TRUE; \
  |  |  |  |  |  | 5026|    968|  NEXT(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5568|    968|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5027|    968|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5027:9): [Folded, False: 968]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4919|    968|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4919:14): [Folded, False: 968]
  |  |  ------------------
  ------------------
 8135|  11.7k|    OP(GT, 1): FastRelop2(>, GTOP, R_GtSym);
  ------------------
  |  | 5551|    970|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|    970|    opinfo[name##_OP].argc = (n); \
  |  | 5553|    970|    opinfo[name##_OP].instname = #name; \
  |  | 5554|    970|    goto loop; \
  |  | 5555|  11.7k|    op_##name
  ------------------
                  OP(GT, 1): FastRelop2(>, GTOP, R_GtSym);
  ------------------
  |  | 4901|  11.7k|#define FastRelop2(op,opval,opsym) do {					\
  |  | 4902|  11.7k|	R_bcstack_t vvx, vvy;						\
  |  | 4903|  11.7k|	R_bcstack_t *vx = bcStackScalar(R_BCNodeStackTop - 2, &vvx);	\
  |  | 4904|  11.7k|	R_bcstack_t *vy = bcStackScalar(R_BCNodeStackTop - 1, &vvy);	\
  |  | 4905|  11.7k|	if (vx->tag == REALSXP && ! ISNAN(vx->u.dval)) {		\
  |  |  ------------------
  |  |  |  |  124|  23.4k|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |               	if (vx->tag == REALSXP && ! ISNAN(vx->u.dval)) {		\
  |  |  ------------------
  |  |  |  |   76|  1.41k|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (4905:6): [True: 1.41k, False: 10.3k]
  |  |  |  Branch (4905:28): [True: 1.39k, False: 19]
  |  |  ------------------
  |  | 4906|  1.39k|	    if (vy->tag == REALSXP && ! ISNAN(vy->u.dval))		\
  |  |  ------------------
  |  |  |  |  124|  2.79k|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |               	    if (vy->tag == REALSXP && ! ISNAN(vy->u.dval))		\
  |  |  ------------------
  |  |  |  |   76|     53|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (4906:10): [True: 53, False: 1.34k]
  |  |  |  Branch (4906:32): [True: 53, False: 0]
  |  |  ------------------
  |  | 4907|  1.39k|		DO_FAST_RELOP2(op, vx->u.dval, vy->u.dval);		\
  |  |  ------------------
  |  |  |  | 4883|     53|#define DO_FAST_RELOP2(op,a,b) do { \
  |  |  |  | 4884|     53|    SKIP_OP(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|     53|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 4885|     53|    SETSTACK_LOGICAL(-2, ((a) op (b)) ? TRUE : FALSE);	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4825|     53|#define SETSTACK_LOGICAL(i, v) SETSTACK_LOGICAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4791|     53|#define SETSTACK_LOGICAL_PTR(s, v) do {		\
  |  |  |  |  |  |  |  | 4792|    106|	int __v__ = (v);			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4792:15): [True: 49, False: 4]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4793|     53|	(s)->tag = LGLSXP;			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  121|     53|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4794|     53|	if (__v__ == NA_LOGICAL)		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|     53|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4794:6): [True: 0, False: 53]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4795|     53|	    (s)->u.ival = NA_LOGICAL;		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4796|     53|	else					\
  |  |  |  |  |  |  |  | 4797|     53|	    (s)->u.ival = __v__ ? TRUE : FALSE;	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4797:20): [True: 49, False: 4]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4798|     53|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4798:14): [Folded, False: 53]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4886|     53|    R_BCNodeStackTop--; \
  |  |  |  | 4887|     53|    R_Visible = TRUE; \
  |  |  |  | 4888|     53|    NEXT(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|     53|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 4889|     53|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4889:10): [Folded, False: 53]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4908|  1.39k|	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER)	\
  |  |  ------------------
  |  |  |  |  123|  2.68k|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER)	\
  |  |  ------------------
  |  |  |  |   56|      2|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (4908:15): [True: 2, False: 1.34k]
  |  |  |  Branch (4908:36): [True: 2, False: 0]
  |  |  ------------------
  |  | 4909|  1.34k|		DO_FAST_RELOP2(op, vx->u.dval, vy->u.ival);		\
  |  |  ------------------
  |  |  |  | 4883|      2|#define DO_FAST_RELOP2(op,a,b) do { \
  |  |  |  | 4884|      2|    SKIP_OP(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|      2|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 4885|      2|    SETSTACK_LOGICAL(-2, ((a) op (b)) ? TRUE : FALSE);	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4825|      2|#define SETSTACK_LOGICAL(i, v) SETSTACK_LOGICAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4791|      2|#define SETSTACK_LOGICAL_PTR(s, v) do {		\
  |  |  |  |  |  |  |  | 4792|      4|	int __v__ = (v);			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4792:15): [True: 0, False: 2]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4793|      2|	(s)->tag = LGLSXP;			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  121|      2|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4794|      2|	if (__v__ == NA_LOGICAL)		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|      2|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4794:6): [True: 0, False: 2]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4795|      2|	    (s)->u.ival = NA_LOGICAL;		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4796|      2|	else					\
  |  |  |  |  |  |  |  | 4797|      2|	    (s)->u.ival = __v__ ? TRUE : FALSE;	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4797:20): [True: 0, False: 2]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4798|      2|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4798:14): [Folded, False: 2]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4886|      2|    R_BCNodeStackTop--; \
  |  |  |  | 4887|      2|    R_Visible = TRUE; \
  |  |  |  | 4888|      2|    NEXT(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      2|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 4889|      2|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4889:10): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4910|  1.39k|	}								\
  |  | 4911|  11.7k|	else if (vx->tag == INTSXP && vx->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |  123|  20.6k|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	else if (vx->tag == INTSXP && vx->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |   56|  5.45k|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (4911:11): [True: 5.45k, False: 4.87k]
  |  |  |  Branch (4911:32): [True: 5.45k, False: 0]
  |  |  ------------------
  |  | 4912|  5.45k|	    if (vy->tag == REALSXP && ! ISNAN(vy->u.dval))		\
  |  |  ------------------
  |  |  |  |  124|  10.9k|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |               	    if (vy->tag == REALSXP && ! ISNAN(vy->u.dval))		\
  |  |  ------------------
  |  |  |  |   76|     22|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (4912:10): [True: 22, False: 5.43k]
  |  |  |  Branch (4912:32): [True: 22, False: 0]
  |  |  ------------------
  |  | 4913|  5.45k|		DO_FAST_RELOP2(op, vx->u.ival, vy->u.dval);		\
  |  |  ------------------
  |  |  |  | 4883|     22|#define DO_FAST_RELOP2(op,a,b) do { \
  |  |  |  | 4884|     22|    SKIP_OP(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|     22|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 4885|     22|    SETSTACK_LOGICAL(-2, ((a) op (b)) ? TRUE : FALSE);	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4825|     22|#define SETSTACK_LOGICAL(i, v) SETSTACK_LOGICAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4791|     22|#define SETSTACK_LOGICAL_PTR(s, v) do {		\
  |  |  |  |  |  |  |  | 4792|     44|	int __v__ = (v);			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4792:15): [True: 8, False: 14]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4793|     22|	(s)->tag = LGLSXP;			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  121|     22|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4794|     22|	if (__v__ == NA_LOGICAL)		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|     22|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4794:6): [True: 0, False: 22]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4795|     22|	    (s)->u.ival = NA_LOGICAL;		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4796|     22|	else					\
  |  |  |  |  |  |  |  | 4797|     22|	    (s)->u.ival = __v__ ? TRUE : FALSE;	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4797:20): [True: 8, False: 14]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4798|     22|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4798:14): [Folded, False: 22]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4886|     22|    R_BCNodeStackTop--; \
  |  |  |  | 4887|     22|    R_Visible = TRUE; \
  |  |  |  | 4888|     22|    NEXT(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|     22|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 4889|     22|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4889:10): [Folded, False: 22]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4914|  5.45k|	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |  123|  10.8k|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	    else if (vy->tag == INTSXP && vy->u.ival != NA_INTEGER) {	\
  |  |  ------------------
  |  |  |  |   56|  5.43k|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (4914:15): [True: 5.43k, False: 0]
  |  |  |  Branch (4914:36): [True: 5.43k, False: 0]
  |  |  ------------------
  |  | 4915|  5.43k|		DO_FAST_RELOP2(op, vx->u.ival, vy->u.ival);		\
  |  |  ------------------
  |  |  |  | 4883|  5.43k|#define DO_FAST_RELOP2(op,a,b) do { \
  |  |  |  | 4884|  5.43k|    SKIP_OP(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5570|  5.43k|#define SKIP_OP() (pc++)
  |  |  |  |  ------------------
  |  |  |  | 4885|  5.43k|    SETSTACK_LOGICAL(-2, ((a) op (b)) ? TRUE : FALSE);	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4825|  5.43k|#define SETSTACK_LOGICAL(i, v) SETSTACK_LOGICAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4791|  5.43k|#define SETSTACK_LOGICAL_PTR(s, v) do {		\
  |  |  |  |  |  |  |  | 4792|  10.8k|	int __v__ = (v);			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4792:15): [True: 2.21k, False: 3.21k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4793|  5.43k|	(s)->tag = LGLSXP;			\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  121|  5.43k|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4794|  5.43k|	if (__v__ == NA_LOGICAL)		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|  5.43k|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4794:6): [True: 0, False: 5.43k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4795|  5.43k|	    (s)->u.ival = NA_LOGICAL;		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4796|  5.43k|	else					\
  |  |  |  |  |  |  |  | 4797|  5.43k|	    (s)->u.ival = __v__ ? TRUE : FALSE;	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4797:20): [True: 2.21k, False: 3.21k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4798|  5.43k|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4798:14): [Folded, False: 5.43k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4886|  5.43k|    R_BCNodeStackTop--; \
  |  |  |  | 4887|  5.43k|    R_Visible = TRUE; \
  |  |  |  | 4888|  5.43k|    NEXT(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|  5.43k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 4889|  5.43k|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4889:10): [Folded, False: 5.43k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4916|  5.43k|	    }								\
  |  | 4917|  5.45k|	}								\
  |  | 4918|  11.7k|	Relop2(opval, opsym);						\
  |  |  ------------------
  |  |  |  | 5039|  11.7k|#define Relop2(opval,opsym) NewBuiltin2(cmp_relop,opval,opsym,rho)
  |  |  |  |  ------------------
  |  |  |  |  |  | 5019|  11.7k|#define NewBuiltin2(do_fun,opval,opsym,rho) do {	\
  |  |  |  |  |  | 5020|  11.7k|  SEXP call = GETCONST(constants, GETOP()); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5463|  11.7k|#define GETCONST(x, i) ((x).p)[i]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5021|  11.7k|  SEXP x = GETSTACK(-2); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4817|  11.7k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4751|  11.7k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 1.34k, False: 10.3k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5022|  11.7k|  SEXP y = GETSTACK(-1); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4817|  11.7k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4751|  11.7k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 4.86k, False: 6.86k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5023|  11.7k|  SETSTACK(-2, do_fun(call, opval, opsym, x, y,rho));	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|  11.7k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|  11.7k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|  11.7k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|  11.7k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 11.7k]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|  11.7k|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|  11.7k|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|  11.7k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|  11.7k|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 11.7k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5024|  11.7k|  R_BCNodeStackTop--; \
  |  |  |  |  |  | 5025|  11.7k|  R_Visible = TRUE; \
  |  |  |  |  |  | 5026|  11.7k|  NEXT(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5568|  11.7k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5027|  11.7k|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5027:9): [Folded, False: 11.7k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4919|  11.7k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4919:14): [Folded, False: 11.7k]
  |  |  ------------------
  ------------------
 8136|  11.7k|    OP(AND, 1): FastLogic2(&, ANDOP, R_AndSym);
  ------------------
  |  | 5551|  11.7k|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  11.7k|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  11.7k|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  11.7k|    goto loop; \
  |  | 5555|  11.7k|    op_##name
  ------------------
                  OP(AND, 1): FastLogic2(&, ANDOP, R_AndSym);
  ------------------
  |  | 4922|    593|#define FastLogic2(op, opval, opsym) do {		\
  |  | 4923|    593|	Builtin2(do_logic, opsym, rho);		\
  |  |  ------------------
  |  |  |  | 5006|    593|#define Builtin2(do_fun,which,rho) do {					\
  |  |  |  | 5007|    593|	SEXP stack1 = GETSTACK(-1);					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|    593|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|    593|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 593]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5008|    593|	SEXP stack2 = GETSTACK(-2);					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|    593|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|    593|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 593]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5009|    593|	SEXP call = GETCONST(constants, GETOP());			\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5463|    593|#define GETCONST(x, i) ((x).p)[i]
  |  |  |  |  ------------------
  |  |  |  | 5010|    593|	SEXP tmp = CONS_NR(stack1, R_NilValue);				\
  |  |  |  | 5011|    593|	SETSTACK(-2, CONS_NR(stack2, tmp));				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|    593|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|    593|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|    593|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|    593|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 593]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|    593|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|    593|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|    593|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|    593|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 593]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5012|    593|	R_BCNodeStackTop--;						\
  |  |  |  | 5013|    593|	SETSTACK(-1, do_fun(call, getPrimitive(which, BUILTINSXP),	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|    593|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|    593|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|    593|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|    593|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 593]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  1.18k|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4774:19): [True: 0, False: 593]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4775|    593|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|    593|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|    593|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 593]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5014|    593|			    GETSTACK(-1), rho));			\
  |  |  |  | 5015|    593|	R_Visible = TRUE;						\
  |  |  |  | 5016|    593|	NEXT();								\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|    593|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 5017|    593|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5017:13): [Folded, False: 593]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4924|    593|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4924:14): [Folded, False: 593]
  |  |  ------------------
  ------------------
 8137|  1.59k|    OP(OR, 1): FastLogic2(|, OROP, R_OrSym);
  ------------------
  |  | 5551|    595|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|    595|    opinfo[name##_OP].argc = (n); \
  |  | 5553|    595|    opinfo[name##_OP].instname = #name; \
  |  | 5554|    595|    goto loop; \
  |  | 5555|  1.59k|    op_##name
  ------------------
                  OP(OR, 1): FastLogic2(|, OROP, R_OrSym);
  ------------------
  |  | 4922|  1.59k|#define FastLogic2(op, opval, opsym) do {		\
  |  | 4923|  1.59k|	Builtin2(do_logic, opsym, rho);		\
  |  |  ------------------
  |  |  |  | 5006|  1.59k|#define Builtin2(do_fun,which,rho) do {					\
  |  |  |  | 5007|  1.59k|	SEXP stack1 = GETSTACK(-1);					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|  1.59k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|  1.59k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 1.59k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5008|  1.59k|	SEXP stack2 = GETSTACK(-2);					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|  1.59k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|  1.59k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 1.59k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5009|  1.59k|	SEXP call = GETCONST(constants, GETOP());			\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5463|  1.59k|#define GETCONST(x, i) ((x).p)[i]
  |  |  |  |  ------------------
  |  |  |  | 5010|  1.59k|	SEXP tmp = CONS_NR(stack1, R_NilValue);				\
  |  |  |  | 5011|  1.59k|	SETSTACK(-2, CONS_NR(stack2, tmp));				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  1.59k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  1.59k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  1.59k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  1.59k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 1.59k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  1.59k|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|  1.59k|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  1.59k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  1.59k|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 1.59k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5012|  1.59k|	R_BCNodeStackTop--;						\
  |  |  |  | 5013|  1.59k|	SETSTACK(-1, do_fun(call, getPrimitive(which, BUILTINSXP),	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  1.59k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  1.59k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  1.59k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  1.59k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 1.59k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  3.19k|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4774:19): [True: 0, False: 1.59k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4775|  1.59k|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  1.59k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  1.59k|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 1.59k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5014|  1.59k|			    GETSTACK(-1), rho));			\
  |  |  |  | 5015|  1.59k|	R_Visible = TRUE;						\
  |  |  |  | 5016|  1.59k|	NEXT();								\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|  1.59k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 5017|  1.59k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5017:13): [Folded, False: 1.59k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4924|  1.59k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4924:14): [Folded, False: 1.59k]
  |  |  ------------------
  ------------------
 8138|  2.18M|    OP(NOT, 1):
  ------------------
  |  | 5551|  1.59k|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  1.59k|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  1.59k|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  1.59k|    goto loop; \
  |  | 5555|  2.18M|    op_##name
  ------------------
 8139|  2.18M|      {
 8140|  2.18M|	  R_Visible = TRUE;
 8141|  2.18M|	  R_bcstack_t *s = R_BCNodeStackTop - 1;
 8142|  2.18M|	  if (s->tag == LGLSXP) {
  ------------------
  |  |  121|  2.18M|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (8142:8): [True: 22, False: 2.18M]
  ------------------
 8143|     22|	      int ival = s->u.ival;
 8144|     22|	      if (ival != NA_LOGICAL)
  ------------------
  |  |   55|     22|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (8144:12): [True: 22, False: 0]
  ------------------
 8145|     22|		  s->u.ival = ival ? FALSE : TRUE;
  ------------------
  |  Branch (8145:17): [True: 12, False: 10]
  ------------------
 8146|     22|	      SKIP_OP();
  ------------------
  |  | 5570|     22|#define SKIP_OP() (pc++)
  ------------------
 8147|     22|	      NEXT();
  ------------------
  |  | 5568|     22|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8148|     22|	  }
 8149|  2.18M|	  Builtin1(do_logic, R_NotSym, rho);
  ------------------
  |  | 4997|  2.18M|#define Builtin1(do_fun,which,rho) do {					\
  |  | 4998|  2.18M|	SEXP call = GETCONST(constants, GETOP());			\
  |  |  ------------------
  |  |  |  | 5463|  2.18M|#define GETCONST(x, i) ((x).p)[i]
  |  |  ------------------
  |  | 4999|  2.18M|	SETSTACK(-1, CONS_NR(GETSTACK(-1), R_NilValue));		\
  |  |  ------------------
  |  |  |  | 4819|  2.18M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|  2.18M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|  2.18M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|  2.18M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 2.18M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|  4.36M|    SEXP __v__ = (v); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4774:19): [True: 0, False: 2.18M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4775|  2.18M|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|  2.18M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|  2.18M|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 2.18M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5000|  2.18M|	SETSTACK(-1, do_fun(call, getPrimitive(which, BUILTINSXP),	\
  |  |  ------------------
  |  |  |  | 4819|  2.18M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|  2.18M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|  2.18M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|  2.18M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 2.18M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|  4.36M|    SEXP __v__ = (v); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4774:19): [True: 0, False: 2.18M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4775|  2.18M|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|  2.18M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|  2.18M|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 2.18M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5001|  2.18M|			    GETSTACK(-1), rho));			\
  |  | 5002|  2.18M|	R_Visible = TRUE;						\
  |  | 5003|  2.18M|	NEXT();								\
  |  |  ------------------
  |  |  |  | 5568|  2.18M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 5004|  2.18M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5004:13): [Folded, False: 2.18M]
  |  |  ------------------
  ------------------
 8150|  2.18M|      }
 8151|  2.18M|    OP(DOTSERR, 0): error(_("'...' used in an incorrect context"));
  ------------------
  |  | 5551|  2.18M|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  2.18M|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  2.18M|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  2.18M|    goto loop; \
  |  | 5555|  2.18M|    op_##name
  ------------------
                  OP(DOTSERR, 0): error(_("'...' used in an incorrect context"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  OP(DOTSERR, 0): error(_("'...' used in an incorrect context"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 8152|  5.25M|    OP(STARTASSIGN, 1):
  ------------------
  |  | 5551|      2|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|      2|    opinfo[name##_OP].argc = (n); \
  |  | 5553|      2|    opinfo[name##_OP].instname = #name; \
  |  | 5554|      2|    goto loop; \
  |  | 5555|  5.25M|    op_##name
  ------------------
 8153|  5.25M|      {
 8154|  5.25M|	INCLNK_stack_commit();
 8155|  5.25M|	if (IS_STACKVAL_BOXED(-1)) {
  ------------------
  |  | 4800|  5.25M|#define IS_STACKVAL_BOXED(idx)	(R_BCNodeStackTop[idx].tag == 0)
  |  |  ------------------
  |  |  |  Branch (4800:32): [True: 5.25M, False: 2.00k]
  |  |  ------------------
  ------------------
 8156|  5.25M|	    SEXP saverhs = GETSTACK(-1);
  ------------------
  |  | 4817|  5.25M|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  ------------------
  |  |  |  | 4751|  5.25M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4751:26): [True: 0, False: 5.25M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8157|  5.25M|	    FIXUP_RHS_NAMED(saverhs);
  ------------------
  |  | 3348|  5.25M|#define FIXUP_RHS_NAMED(r) do { \
  |  | 3349|  5.25M|	SEXP __rhs__ = (r); \
  |  | 3350|  5.25M|	if (NAMED(__rhs__)) \
  |  |  ------------------
  |  |  |  Branch (3350:6): [True: 1.05M, False: 4.19M]
  |  |  ------------------
  |  | 3351|  5.25M|	    ENSURE_NAMEDMAX(__rhs__); \
  |  | 3352|  5.25M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3352:14): [Folded, False: 5.25M]
  |  |  ------------------
  ------------------
 8158|  5.25M|	    int refrhs = MAYBE_REFERENCED(saverhs);
  ------------------
  |  |  251|  5.25M|#define MAYBE_REFERENCED(x) (! NO_REFERENCES(x))
  ------------------
 8159|  5.25M|	    SETSTACK_FLAGS(-1, refrhs);
  ------------------
  |  | 4720|  5.25M|#define SETSTACK_FLAGS(n, v) (R_BCNodeStackTop[n].flags = (v))
  ------------------
 8160|  5.25M|	    if (refrhs) INCREMENT_REFCNT(saverhs);
  ------------------
  |  Branch (8160:10): [True: 1.05M, False: 4.19M]
  ------------------
 8161|  5.25M|	}
 8162|  5.25M|	int sidx = GETOP();
  ------------------
  |  | 5569|  5.25M|#define GETOP() (*pc++).i
  ------------------
 8163|  5.25M|	SEXP symbol = GETCONST(constants, sidx);
  ------------------
  |  | 5463|  5.25M|#define GETCONST(x, i) ((x).p)[i]
  ------------------
 8164|  5.25M|	SEXP cell = GET_BINDING_CELL_CACHE(symbol, rho, vcache, sidx);
 8165|  5.25M|	SEXP value = BINDING_VALUE(cell);
 8166|  5.25M|	R_varloc_t loc;
 8167|  5.25M|	if (value == R_UnboundValue ||
  ------------------
  |  Branch (8167:6): [True: 1.25k, False: 5.25M]
  ------------------
 8168|  5.25M|	    value == R_MissingArg ||
  ------------------
  |  Branch (8168:6): [True: 0, False: 5.25M]
  ------------------
 8169|  5.25M|	    TYPEOF(value) == PROMSXP) {
  ------------------
  |  |  116|  5.25M|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (8169:6): [True: 3.15M, False: 2.10M]
  ------------------
 8170|  3.15M|	    value = EnsureLocal(symbol, rho, &loc);
 8171|  3.15M|	    if (loc.cell == NULL)
  ------------------
  |  Branch (8171:10): [True: 0, False: 3.15M]
  ------------------
 8172|      0|		loc.cell = R_NilValue;
 8173|  3.15M|	}
 8174|  2.10M|	else loc.cell = cell;
 8175|       |
 8176|  5.25M|	int maybe_in_assign = ASSIGNMENT_PENDING(loc.cell);
 8177|  5.25M|	SET_ASSIGNMENT_PENDING(loc.cell, TRUE);
 8178|  5.25M|	BCNPUSH(loc.cell);
  ------------------
  |  | 5362|  5.25M|#define BCNPUSH(v) do { \
  |  | 5363|  5.25M|  SEXP __value__ = (v); \
  |  | 5364|  5.25M|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  | 5365|  5.25M|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  ------------------
  |  |  |  Branch (5365:7): [True: 0, False: 5.25M]
  |  |  ------------------
  |  | 5366|  5.25M|  SETSTACK(0, __value__); \
  |  |  ------------------
  |  |  |  | 4819|  5.25M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|  5.25M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|  5.25M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|  5.25M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 5.25M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|  5.25M|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|  5.25M|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|  5.25M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|  5.25M|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 5.25M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5367|  5.25M|  R_BCNodeStackTop = __ntop__; \
  |  | 5368|  5.25M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5368:10): [Folded, False: 5.25M]
  |  |  ------------------
  ------------------
 8179|       |
 8180|  5.25M|	if (maybe_in_assign || MAYBE_SHARED(value))
  ------------------
  |  Branch (8180:6): [True: 0, False: 5.25M]
  |  Branch (8180:25): [True: 2.52k, False: 5.25M]
  ------------------
 8181|  2.52k|	    value = shallow_duplicate(value);
  ------------------
  |  | 1030|  2.52k|#define shallow_duplicate	Rf_shallow_duplicate
  ------------------
 8182|  5.25M|	BCNPUSH(value);
  ------------------
  |  | 5362|  5.25M|#define BCNPUSH(v) do { \
  |  | 5363|  5.25M|  SEXP __value__ = (v); \
  |  | 5364|  5.25M|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  | 5365|  5.25M|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  ------------------
  |  |  |  Branch (5365:7): [True: 0, False: 5.25M]
  |  |  ------------------
  |  | 5366|  5.25M|  SETSTACK(0, __value__); \
  |  |  ------------------
  |  |  |  | 4819|  5.25M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|  5.25M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|  5.25M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|  5.25M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 5.25M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|  5.25M|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|  5.25M|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|  5.25M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|  5.25M|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 5.25M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5367|  5.25M|  R_BCNodeStackTop = __ntop__; \
  |  | 5368|  5.25M|} while (0)
  |  |  ------------------
  |  |  |  Branch (5368:10): [Folded, False: 5.25M]
  |  |  ------------------
  ------------------
 8183|       |
 8184|  5.25M|	BCNDUP3RD();
  ------------------
  |  | 5424|  5.25M|#define BCNDUP3RD() do {					\
  |  | 5425|  5.25M|	R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1;		\
  |  | 5426|  5.25M|	if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow();	\
  |  |  ------------------
  |  |  |  Branch (5426:6): [True: 0, False: 5.25M]
  |  |  ------------------
  |  | 5427|  5.25M|	__ntop__[-1] = __ntop__[-4];				\
  |  | 5428|  5.25M|	R_BCNodeStackTop = __ntop__;				\
  |  | 5429|  5.25M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5429:13): [Folded, False: 5.25M]
  |  |  ------------------
  ------------------
 8185|       |	/* top four stack entries are now
 8186|       |	   RHS value, LHS cell, LHS value, RHS value */
 8187|  5.25M|	NEXT();
  ------------------
  |  | 5568|  5.25M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8188|  5.25M|      }
 8189|  5.25M|    OP(ENDASSIGN, 1):
  ------------------
  |  | 5551|  5.25M|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  5.25M|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  5.25M|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  5.25M|    goto loop; \
  |  | 5555|  5.25M|    op_##name
  ------------------
 8190|  5.25M|      {
 8191|  5.25M|	SEXP lhscell = GETSTACK(-2);
  ------------------
  |  | 4817|  5.25M|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  ------------------
  |  |  |  | 4751|  5.25M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4751:26): [True: 0, False: 5.25M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8192|  5.25M|	SET_ASSIGNMENT_PENDING(lhscell, FALSE);
 8193|       |
 8194|  5.25M|	int sidx = GETOP();
  ------------------
  |  | 5569|  5.25M|#define GETOP() (*pc++).i
  ------------------
 8195|  5.25M|	SEXP symbol = GETCONST(constants, sidx);
  ------------------
  |  | 5463|  5.25M|#define GETCONST(x, i) ((x).p)[i]
  ------------------
 8196|  5.25M|	SEXP cell = GET_BINDING_CELL_CACHE(symbol, rho, vcache, sidx);
 8197|  5.25M|	SEXP value = GETSTACK(-1); /* leave on stack for GC protection */
  ------------------
  |  | 4817|  5.25M|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  ------------------
  |  |  |  | 4751|  5.25M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4751:26): [True: 0, False: 5.25M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8198|  5.25M|	if (ALTREP(value)) {
  ------------------
  |  Branch (8198:6): [True: 8, False: 5.25M]
  ------------------
 8199|      8|	    SEXP v = try_assign_unwrap(value, symbol, rho, cell);
 8200|      8|	    if (v != value) {
  ------------------
  |  Branch (8200:10): [True: 8, False: 0]
  ------------------
 8201|      8|		SETSTACK(-1, v);
  ------------------
  |  | 4819|      8|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  ------------------
  |  |  |  | 4772|      8|#define SETSTACK_PTR(s, v) do { \
  |  |  |  | 4773|      8|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4767|      8|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 8]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4774|      8|    SEXP __v__ = (v); \
  |  |  |  | 4775|      8|    (s)->tag = 0; \
  |  |  |  | 4776|      8|    (s)->u.sxpval = __v__; \
  |  |  |  | 4777|      8|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4777:10): [Folded, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8202|      8|		value = v;
 8203|      8|	    }
 8204|      8|	}
 8205|  5.25M|	INCREMENT_NAMED(value);
  ------------------
  |  |  222|  5.25M|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  ------------------
  |  |  |  Branch (222:43): [Folded, False: 5.25M]
  |  |  ------------------
  ------------------
 8206|  5.25M|	if (! SET_BINDING_VALUE(cell, value))
  ------------------
  |  Branch (8206:6): [True: 0, False: 5.25M]
  ------------------
 8207|      0|	    defineVar(symbol, value, rho);
  ------------------
  |  |  905|      0|#define defineVar		Rf_defineVar
  ------------------
 8208|  5.25M|	R_BCNodeStackTop -= 2; /* now pop cell and LHS value off the stack */
 8209|       |	/* original right-hand side value is now on top of stack again */
 8210|       |#ifdef OLD_RHS_NAMED
 8211|       |	/* we do not duplicate the right-hand side value, so to be
 8212|       |	   conservative mark the value as NAMED = NAMEDMAX */
 8213|       |	ENSURE_NAMEDMAX(GETSTACK(-1));
 8214|       |#else
 8215|  5.25M|	if (IS_STACKVAL_BOXED(-1)) {
  ------------------
  |  | 4800|  5.25M|#define IS_STACKVAL_BOXED(idx)	(R_BCNodeStackTop[idx].tag == 0)
  |  |  ------------------
  |  |  |  Branch (4800:32): [True: 5.25M, False: 2.00k]
  |  |  ------------------
  ------------------
 8216|  5.25M|	    SEXP saverhs = GETSTACK(-1);
  ------------------
  |  | 4817|  5.25M|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  ------------------
  |  |  |  | 4751|  5.25M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4751:26): [True: 0, False: 5.25M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8217|  5.25M|	    INCREMENT_NAMED(saverhs);
  ------------------
  |  |  222|  5.25M|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  ------------------
  |  |  |  Branch (222:43): [Folded, False: 5.25M]
  |  |  ------------------
  ------------------
 8218|  5.25M|	    int refrhs = GETSTACK_FLAGS(-1);
  ------------------
  |  | 4719|  5.25M|#define GETSTACK_FLAGS(n) (R_BCNodeStackTop[n].flags)
  ------------------
 8219|  5.25M|	    if (refrhs) DECREMENT_REFCNT(saverhs);
  ------------------
  |  Branch (8219:10): [True: 1.05M, False: 4.19M]
  ------------------
 8220|  5.25M|	}
 8221|  5.25M|#endif
 8222|  5.25M|	NEXT();
  ------------------
  |  | 5568|  5.25M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8223|  5.25M|      }
 8224|  5.25M|    OP(STARTSUBSET, 2): DO_STARTDISPATCH("[");
  ------------------
  |  | 5551|  5.25M|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  5.25M|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  5.25M|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  5.25M|    goto loop; \
  |  | 5555|  5.25M|    op_##name
  ------------------
                  OP(STARTSUBSET, 2): DO_STARTDISPATCH("[");
  ------------------
  |  | 6056|  7.45k|#define DO_STARTDISPATCH(generic) do { \
  |  | 6057|  7.45k|  SEXP call = GETCONST(constants, GETOP()); \
  |  |  ------------------
  |  |  |  | 5463|  7.45k|#define GETCONST(x, i) ((x).p)[i]
  |  |  ------------------
  |  | 6058|  7.45k|  int label = GETOP(); \
  |  |  ------------------
  |  |  |  | 5569|  7.45k|#define GETOP() (*pc++).i
  |  |  ------------------
  |  | 6059|  7.45k|  SEXP value = GETSTACK(-1); \
  |  |  ------------------
  |  |  |  | 4817|  7.45k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4751|  7.45k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 7.45k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6060|  7.45k|  if (isObject(value) && tryDispatch(generic, call, value, rho, &value)) {\
  |  |  ------------------
  |  |  |  |  959|  7.45k|#define isObject		Rf_isObject
  |  |  ------------------
  |  |  |  Branch (6060:7): [True: 108, False: 7.34k]
  |  |  |  Branch (6060:26): [True: 108, False: 0]
  |  |  ------------------
  |  | 6061|    108|    SETSTACK(-1, value);						\
  |  |  ------------------
  |  |  |  | 4819|    108|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|    108|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|    108|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|    108|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 108]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|    108|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|    108|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|    108|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|    108|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 108]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6062|    108|    BC_CHECK_SIGINT(); \
  |  |  ------------------
  |  |  |  | 6194|    108|#define BC_CHECK_SIGINT() do {			\
  |  |  |  | 6195|    108|	if (++evalcount > BC_COUNT_DELTA) {	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   45|    108|#define BC_COUNT_DELTA 127
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (6195:6): [True: 0, False: 108]
  |  |  |  |  ------------------
  |  |  |  | 6196|      0|	    bc_check_sigint();			\
  |  |  |  | 6197|      0|	    evalcount = 0;			\
  |  |  |  | 6198|      0|	}					\
  |  |  |  | 6199|    108|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (6199:14): [Folded, False: 108]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6063|    108|    pc = codebase + label; \
  |  | 6064|    108|  } \
  |  | 6065|  7.45k|  else { \
  |  | 6066|  7.34k|    SEXP tag = TAG(CDR(call)); \
  |  | 6067|  7.34k|    BCNPUSH(call); \
  |  |  ------------------
  |  |  |  | 5362|  7.34k|#define BCNPUSH(v) do { \
  |  |  |  | 5363|  7.34k|  SEXP __value__ = (v); \
  |  |  |  | 5364|  7.34k|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5365|  7.34k|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5365:7): [True: 0, False: 7.34k]
  |  |  |  |  ------------------
  |  |  |  | 5366|  7.34k|  SETSTACK(0, __value__); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  7.34k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  7.34k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  7.34k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  7.34k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 7.34k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  7.34k|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|  7.34k|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  7.34k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  7.34k|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 7.34k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5367|  7.34k|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5368|  7.34k|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5368:10): [Folded, False: 7.34k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6068|  7.34k|    INIT_CALL_FRAME(R_NilValue); \
  |  |  ------------------
  |  |  |  | 5952|  7.34k|#define INIT_CALL_FRAME(fun) do { \
  |  |  |  | 5953|  7.34k|	BCNPUSH(fun);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5362|  7.34k|#define BCNPUSH(v) do { \
  |  |  |  |  |  | 5363|  7.34k|  SEXP __value__ = (v); \
  |  |  |  |  |  | 5364|  7.34k|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  |  |  | 5365|  7.34k|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5365:7): [True: 0, False: 7.34k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5366|  7.34k|  SETSTACK(0, __value__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|  7.34k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|  7.34k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|  7.34k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|  7.34k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 7.34k]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|  7.34k|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|  7.34k|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|  7.34k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|  7.34k|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 7.34k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5367|  7.34k|  R_BCNodeStackTop = __ntop__; \
  |  |  |  |  |  | 5368|  7.34k|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5368:10): [Folded, False: 7.34k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5954|  7.34k|	INIT_CALL_FRAME_ARGS();	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5944|  7.34k|#define INIT_CALL_FRAME_ARGS() do { \
  |  |  |  |  |  | 5945|  7.34k|	BCNSTACKCHECK(2);	  \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5434|  7.34k|#define BCNSTACKCHECK(n)  do {						\
  |  |  |  |  |  |  |  | 5435|  7.34k|	if (R_BCNodeStackTop + (n) > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (5435:6): [True: 0, False: 7.34k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5436|  7.34k|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (5436:14): [Folded, False: 7.34k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5946|  7.34k|	SETSTACK(0, R_NilValue);  \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|  7.34k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|  7.34k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|  7.34k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|  7.34k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 7.34k]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|  7.34k|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|  7.34k|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|  7.34k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|  7.34k|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 7.34k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5947|  7.34k|	SETSTACK(1, R_NilValue);  \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|  7.34k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|  7.34k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|  7.34k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|  7.34k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 7.34k]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|  7.34k|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|  7.34k|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|  7.34k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|  7.34k|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 7.34k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5948|  7.34k|	R_BCNodeStackTop += 2;	  \
  |  |  |  |  |  | 5949|  7.34k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5949:14): [Folded, False: 7.34k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5955|  7.34k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5955:14): [Folded, False: 7.34k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6069|  7.34k|    PUSHCALLARG(value); \
  |  |  ------------------
  |  |  |  | 5976|  7.34k|#define PUSHCALLARG(v) PUSHCALLARG_EX(v, FALSE)
  |  |  |  |  ------------------
  |  |  |  |  |  | 5967|  7.34k|#define PUSHCALLARG_EX(v, RC) do {					\
  |  |  |  |  |  | 5968|  7.34k|	SEXP __cell__ =							\
  |  |  |  |  |  | 5969|  7.34k|	    (RC) ? CONS(v, R_NilValue) : CONS_NR(v, R_NilValue);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  309|      0|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5969:6): [Folded, False: 7.34k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5970|  7.34k|	if (GETSTACK(-2) == R_NilValue) SETSTACK(-2, __cell__);		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4817|  7.34k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4751|  7.34k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 7.34k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (GETSTACK(-2) == R_NilValue) SETSTACK(-2, __cell__);		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|  7.34k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|  7.34k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|  7.34k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|  7.34k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 7.34k]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|  7.34k|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|  7.34k|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|  7.34k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|  7.34k|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 7.34k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5970:6): [True: 7.34k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5971|  7.34k|	else SETCDR(GETSTACK(-1), __cell__);				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4817|      0|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5972|  7.34k|	SETSTACK(-1, __cell__);						\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|  7.34k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|  7.34k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|  7.34k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|  7.34k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 7.34k]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|  7.34k|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|  7.34k|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|  7.34k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|  7.34k|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 7.34k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5973|  7.34k|	if (RC) INCREMENT_NAMED(CAR(__cell__));				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  222|      0|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (222:43): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5973:6): [Folded, False: 7.34k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5974|  7.34k|	else INCREMENT_LINKS(CAR(__cell__));				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  540|  7.34k|#define INCREMENT_LINKS(x) do {			\
  |  |  |  |  |  |  |  |  541|  7.34k|	SEXP il__x__ = (x);			\
  |  |  |  |  |  |  |  |  542|  7.34k|	INCREMENT_NAMED(il__x__);		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  222|  7.34k|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (222:43): [Folded, False: 7.34k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  543|  7.34k|	INCREMENT_REFCNT(il__x__);		\
  |  |  |  |  |  |  |  |  544|  7.34k|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (544:14): [Folded, False: 7.34k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5975|  7.34k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5975:14): [Folded, False: 7.34k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6070|  7.34k|    SETCALLARG_TAG(tag);   \
  |  |  ------------------
  |  |  |  | 5984|  7.34k|#define SETCALLARG_TAG(t) do {			\
  |  |  |  | 5985|  7.34k|	SEXP __tag__ = (t);			\
  |  |  |  | 5986|  7.34k|	if (__tag__ != R_NilValue) {		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5986:6): [True: 0, False: 7.34k]
  |  |  |  |  ------------------
  |  |  |  | 5987|      0|	    SEXP __cell__ = GETSTACK(-1);	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|      0|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5988|      0|	    if (__cell__ != R_NilValue)		   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5988:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5989|      0|		SET_TAG(__cell__, CreateTag(__tag__));	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  904|      0|#define CreateTag		Rf_CreateTag
  |  |  |  |  ------------------
  |  |  |  | 5990|      0|	}						\
  |  |  |  | 5991|  7.34k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5991:14): [Folded, False: 7.34k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6071|  7.34k|  } \
  |  | 6072|  7.45k|  NEXT(); \
  |  |  ------------------
  |  |  |  | 5568|  7.45k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 6073|  7.45k|} while (0)
  |  |  ------------------
  |  |  |  Branch (6073:10): [Folded, False: 7.45k]
  |  |  ------------------
  ------------------
 8225|  7.45k|    OP(DFLTSUBSET, 0): DO_DFLTDISPATCH(do_subset_dflt, R_SubsetSym);
  ------------------
  |  | 5551|  7.45k|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  7.45k|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  7.45k|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  7.45k|    goto loop; \
  |  | 5555|  7.45k|    op_##name
  ------------------
                  OP(DFLTSUBSET, 0): DO_DFLTDISPATCH(do_subset_dflt, R_SubsetSym);
  ------------------
  |  | 6075|  7.34k|#define DO_DFLTDISPATCH(fun, symbol) do { \
  |  | 6076|  7.34k|  SEXP call = GETSTACK_BELOW_CALL_FRAME(-1); \
  |  |  ------------------
  |  |  |  | 5940|  7.34k|#define GETSTACK_BELOW_CALL_FRAME(n) GETSTACK((n) - CALL_FRAME_SIZE())
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|  7.34k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|  7.34k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 7.34k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6077|  7.34k|  SEXP args = BUILTIN_CALL_FRAME_ARGS(); \
  |  | 6078|  7.34k|  SEXP value = fun(call, symbol, args, rho); \
  |  | 6079|  7.34k|  POP_CALL_FRAME_PLUS(2, value); \
  |  |  ------------------
  |  |  |  | 5960|  7.34k|#define POP_CALL_FRAME_PLUS(n, value) do {	\
  |  |  |  | 5961|  7.34k|	R_BCNodeStackTop -= (2 + (n));		\
  |  |  |  | 5962|  7.34k|	SETSTACK(-1, value);			\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  7.34k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  7.34k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  7.34k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  7.34k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 7.34k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  7.34k|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|  7.34k|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  7.34k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  7.34k|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 7.34k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5963|  7.34k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5963:14): [Folded, False: 7.34k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6080|  7.34k|  R_Visible = TRUE; \
  |  | 6081|  7.34k|  NEXT(); \
  |  |  ------------------
  |  |  |  | 5568|  7.34k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 6082|  7.34k|} while (0)
  |  |  ------------------
  |  |  |  Branch (6082:10): [Folded, False: 7.34k]
  |  |  ------------------
  ------------------
 8226|  7.34k|    OP(STARTSUBASSIGN, 2): DO_START_ASSIGN_DISPATCH("[<-");
  ------------------
  |  | 5551|  7.34k|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  7.34k|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  7.34k|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  7.34k|    goto loop; \
  |  | 5555|  7.34k|    op_##name
  ------------------
                  OP(STARTSUBASSIGN, 2): DO_START_ASSIGN_DISPATCH("[<-");
  ------------------
  |  | 6084|    107|#define DO_START_ASSIGN_DISPATCH(generic) do { \
  |  | 6085|    107|  SEXP call = GETCONST(constants, GETOP()); \
  |  |  ------------------
  |  |  |  | 5463|    107|#define GETCONST(x, i) ((x).p)[i]
  |  |  ------------------
  |  | 6086|    107|  int label = GETOP(); \
  |  |  ------------------
  |  |  |  | 5569|    107|#define GETOP() (*pc++).i
  |  |  ------------------
  |  | 6087|    107|  SEXP lhs = GETSTACK(-2); \
  |  |  ------------------
  |  |  |  | 4817|    107|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4751|    107|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 107]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6088|    107|  SEXP rhs = GETSTACK(-1); \
  |  |  ------------------
  |  |  |  | 4817|    107|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4751|    107|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 107]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6089|    107|  MARK_ASSIGNMENT_CALL(call); \
  |  | 6090|    107|  if (MAYBE_SHARED(lhs)) { \
  |  |  ------------------
  |  |  |  Branch (6090:7): [True: 0, False: 107]
  |  |  ------------------
  |  | 6091|      0|    lhs = shallow_duplicate(lhs); \
  |  |  ------------------
  |  |  |  | 1030|      0|#define shallow_duplicate	Rf_shallow_duplicate
  |  |  ------------------
  |  | 6092|      0|    SETSTACK(-2, lhs); \
  |  |  ------------------
  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6093|      0|    ENSURE_NAMED(lhs); \
  |  | 6094|      0|  } \
  |  | 6095|    107|  SEXP value = NULL; \
  |  | 6096|    107|  if (isObject(lhs) && \
  |  |  ------------------
  |  |  |  |  959|    107|#define isObject		Rf_isObject
  |  |  ------------------
  |  |  |  Branch (6096:7): [True: 2, False: 105]
  |  |  ------------------
  |  | 6097|    107|      tryAssignDispatch(generic, call, lhs, rhs, rho, &value)) { \
  |  |  ------------------
  |  |  |  Branch (6097:7): [True: 2, False: 0]
  |  |  ------------------
  |  | 6098|      2|    R_BCNodeStackTop--;	\
  |  | 6099|      2|    SETSTACK(-1, value); \
  |  |  ------------------
  |  |  |  | 4819|      2|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|      2|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|      2|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|      2|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 2]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|      2|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|      2|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|      2|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|      2|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6100|      2|    BC_CHECK_SIGINT(); \
  |  |  ------------------
  |  |  |  | 6194|      2|#define BC_CHECK_SIGINT() do {			\
  |  |  |  | 6195|      2|	if (++evalcount > BC_COUNT_DELTA) {	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   45|      2|#define BC_COUNT_DELTA 127
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (6195:6): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 6196|      0|	    bc_check_sigint();			\
  |  |  |  | 6197|      0|	    evalcount = 0;			\
  |  |  |  | 6198|      0|	}					\
  |  |  |  | 6199|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (6199:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6101|      2|    pc = codebase + label; \
  |  | 6102|      2|  } \
  |  | 6103|    107|  else { \
  |  | 6104|    105|    SEXP tag = TAG(CDR(call)); \
  |  | 6105|    105|    BCNPUSH(call); \
  |  |  ------------------
  |  |  |  | 5362|    105|#define BCNPUSH(v) do { \
  |  |  |  | 5363|    105|  SEXP __value__ = (v); \
  |  |  |  | 5364|    105|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5365|    105|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5365:7): [True: 0, False: 105]
  |  |  |  |  ------------------
  |  |  |  | 5366|    105|  SETSTACK(0, __value__); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|    105|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|    105|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|    105|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|    105|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 105]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|    105|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|    105|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|    105|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|    105|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 105]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5367|    105|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5368|    105|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5368:10): [Folded, False: 105]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6106|    105|    INIT_CALL_FRAME(R_NilValue); \
  |  |  ------------------
  |  |  |  | 5952|    105|#define INIT_CALL_FRAME(fun) do { \
  |  |  |  | 5953|    105|	BCNPUSH(fun);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5362|    105|#define BCNPUSH(v) do { \
  |  |  |  |  |  | 5363|    105|  SEXP __value__ = (v); \
  |  |  |  |  |  | 5364|    105|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  |  |  | 5365|    105|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5365:7): [True: 0, False: 105]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5366|    105|  SETSTACK(0, __value__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|    105|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|    105|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|    105|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|    105|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 105]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|    105|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|    105|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|    105|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|    105|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 105]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5367|    105|  R_BCNodeStackTop = __ntop__; \
  |  |  |  |  |  | 5368|    105|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5368:10): [Folded, False: 105]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5954|    105|	INIT_CALL_FRAME_ARGS();	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5944|    105|#define INIT_CALL_FRAME_ARGS() do { \
  |  |  |  |  |  | 5945|    105|	BCNSTACKCHECK(2);	  \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5434|    105|#define BCNSTACKCHECK(n)  do {						\
  |  |  |  |  |  |  |  | 5435|    105|	if (R_BCNodeStackTop + (n) > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (5435:6): [True: 0, False: 105]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5436|    105|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (5436:14): [Folded, False: 105]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5946|    105|	SETSTACK(0, R_NilValue);  \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|    105|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|    105|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|    105|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|    105|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 105]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|    105|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|    105|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|    105|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|    105|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 105]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5947|    105|	SETSTACK(1, R_NilValue);  \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|    105|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|    105|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|    105|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|    105|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 105]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|    105|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|    105|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|    105|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|    105|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 105]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5948|    105|	R_BCNodeStackTop += 2;	  \
  |  |  |  |  |  | 5949|    105|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5949:14): [Folded, False: 105]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5955|    105|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5955:14): [Folded, False: 105]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6107|    105|    PUSHCALLARG(lhs); \
  |  |  ------------------
  |  |  |  | 5976|    105|#define PUSHCALLARG(v) PUSHCALLARG_EX(v, FALSE)
  |  |  |  |  ------------------
  |  |  |  |  |  | 5967|    105|#define PUSHCALLARG_EX(v, RC) do {					\
  |  |  |  |  |  | 5968|    105|	SEXP __cell__ =							\
  |  |  |  |  |  | 5969|    105|	    (RC) ? CONS(v, R_NilValue) : CONS_NR(v, R_NilValue);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  309|      0|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5969:6): [Folded, False: 105]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5970|    105|	if (GETSTACK(-2) == R_NilValue) SETSTACK(-2, __cell__);		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4817|    105|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4751|    105|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 105]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (GETSTACK(-2) == R_NilValue) SETSTACK(-2, __cell__);		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|    105|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|    105|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|    105|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|    105|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 105]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|    105|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|    105|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|    105|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|    105|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 105]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5970:6): [True: 105, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5971|    105|	else SETCDR(GETSTACK(-1), __cell__);				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4817|      0|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5972|    105|	SETSTACK(-1, __cell__);						\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|    105|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|    105|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|    105|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|    105|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 105]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|    105|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|    105|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|    105|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|    105|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 105]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5973|    105|	if (RC) INCREMENT_NAMED(CAR(__cell__));				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  222|      0|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (222:43): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5973:6): [Folded, False: 105]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5974|    105|	else INCREMENT_LINKS(CAR(__cell__));				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  540|    105|#define INCREMENT_LINKS(x) do {			\
  |  |  |  |  |  |  |  |  541|    105|	SEXP il__x__ = (x);			\
  |  |  |  |  |  |  |  |  542|    105|	INCREMENT_NAMED(il__x__);		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  222|    105|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (222:43): [Folded, False: 105]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  543|    105|	INCREMENT_REFCNT(il__x__);		\
  |  |  |  |  |  |  |  |  544|    105|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (544:14): [Folded, False: 105]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5975|    105|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5975:14): [Folded, False: 105]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6108|    105|    SETCALLARG_TAG(tag);   \
  |  |  ------------------
  |  |  |  | 5984|    105|#define SETCALLARG_TAG(t) do {			\
  |  |  |  | 5985|    105|	SEXP __tag__ = (t);			\
  |  |  |  | 5986|    105|	if (__tag__ != R_NilValue) {		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5986:6): [True: 0, False: 105]
  |  |  |  |  ------------------
  |  |  |  | 5987|      0|	    SEXP __cell__ = GETSTACK(-1);	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|      0|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5988|      0|	    if (__cell__ != R_NilValue)		   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5988:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5989|      0|		SET_TAG(__cell__, CreateTag(__tag__));	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  904|      0|#define CreateTag		Rf_CreateTag
  |  |  |  |  ------------------
  |  |  |  | 5990|      0|	}						\
  |  |  |  | 5991|    105|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5991:14): [Folded, False: 105]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6109|    105|  } \
  |  | 6110|    107|  NEXT(); \
  |  |  ------------------
  |  |  |  | 5568|    107|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 6111|    107|} while (0)
  |  |  ------------------
  |  |  |  Branch (6111:10): [Folded, False: 107]
  |  |  ------------------
  ------------------
 8227|    109|    OP(DFLTSUBASSIGN, 0):
  ------------------
  |  | 5551|    109|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|    109|    opinfo[name##_OP].argc = (n); \
  |  | 5553|    109|    opinfo[name##_OP].instname = #name; \
  |  | 5554|    109|    goto loop; \
  |  | 5555|    109|    op_##name
  ------------------
 8228|    105|      DO_DFLT_ASSIGN_DISPATCH(do_subassign_dflt, R_SubassignSym);
  ------------------
  |  | 6113|    105|#define DO_DFLT_ASSIGN_DISPATCH(fun, symbol) do { \
  |  | 6114|    105|  SEXP rhs = GETSTACK_BELOW_CALL_FRAME(-2); \
  |  |  ------------------
  |  |  |  | 5940|    105|#define GETSTACK_BELOW_CALL_FRAME(n) GETSTACK((n) - CALL_FRAME_SIZE())
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|    105|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|    105|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 105]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6115|    105|  SEXP call = GETSTACK_BELOW_CALL_FRAME(-1); \
  |  |  ------------------
  |  |  |  | 5940|    105|#define GETSTACK_BELOW_CALL_FRAME(n) GETSTACK((n) - CALL_FRAME_SIZE())
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|    105|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|    105|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 105]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6116|    105|  SEXP args = BUILTIN_CALL_FRAME_ARGS(); \
  |  | 6117|    105|  MARK_ASSIGNMENT_CALL(call); \
  |  | 6118|    105|  PUSHCALLARG(rhs); \
  |  |  ------------------
  |  |  |  | 5976|    105|#define PUSHCALLARG(v) PUSHCALLARG_EX(v, FALSE)
  |  |  |  |  ------------------
  |  |  |  |  |  | 5967|    105|#define PUSHCALLARG_EX(v, RC) do {					\
  |  |  |  |  |  | 5968|    105|	SEXP __cell__ =							\
  |  |  |  |  |  | 5969|    105|	    (RC) ? CONS(v, R_NilValue) : CONS_NR(v, R_NilValue);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  309|      0|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5969:6): [Folded, False: 105]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5970|    105|	if (GETSTACK(-2) == R_NilValue) SETSTACK(-2, __cell__);		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4817|    105|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4751|    105|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 105]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (GETSTACK(-2) == R_NilValue) SETSTACK(-2, __cell__);		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5970:6): [True: 0, False: 105]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5971|    105|	else SETCDR(GETSTACK(-1), __cell__);				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4817|    105|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4751|    105|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 105]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5972|    105|	SETSTACK(-1, __cell__);						\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|    105|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|    105|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|    105|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|    105|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 105]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|    105|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|    105|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|    105|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|    105|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 105]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5973|    105|	if (RC) INCREMENT_NAMED(CAR(__cell__));				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  222|      0|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (222:43): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5973:6): [Folded, False: 105]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5974|    105|	else INCREMENT_LINKS(CAR(__cell__));				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  540|    105|#define INCREMENT_LINKS(x) do {			\
  |  |  |  |  |  |  |  |  541|    105|	SEXP il__x__ = (x);			\
  |  |  |  |  |  |  |  |  542|    105|	INCREMENT_NAMED(il__x__);		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  222|    105|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (222:43): [Folded, False: 105]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  543|    105|	INCREMENT_REFCNT(il__x__);		\
  |  |  |  |  |  |  |  |  544|    105|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (544:14): [Folded, False: 105]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5975|    105|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5975:14): [Folded, False: 105]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6119|    105|  SEXP value = fun(call, symbol, args, rho); \
  |  | 6120|    105|  POP_CALL_FRAME_PLUS(3, value); \
  |  |  ------------------
  |  |  |  | 5960|    105|#define POP_CALL_FRAME_PLUS(n, value) do {	\
  |  |  |  | 5961|    105|	R_BCNodeStackTop -= (2 + (n));		\
  |  |  |  | 5962|    105|	SETSTACK(-1, value);			\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|    105|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|    105|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|    105|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|    105|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 105]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|    105|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|    105|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|    105|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|    105|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 105]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5963|    105|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5963:14): [Folded, False: 105]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6121|    105|  NEXT(); \
  |  |  ------------------
  |  |  |  | 5568|    105|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 6122|    105|} while (0)
  |  |  ------------------
  |  |  |  Branch (6122:10): [Folded, False: 105]
  |  |  ------------------
  ------------------
 8229|    107|    OP(STARTC, 2): DO_STARTDISPATCH("c");             /* no longe used */
  ------------------
  |  | 5551|    107|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|    107|    opinfo[name##_OP].argc = (n); \
  |  | 5553|    107|    opinfo[name##_OP].instname = #name; \
  |  | 5554|    107|    goto loop; \
  |  | 5555|    107|    op_##name
  ------------------
                  OP(STARTC, 2): DO_STARTDISPATCH("c");             /* no longe used */
  ------------------
  |  | 6056|      0|#define DO_STARTDISPATCH(generic) do { \
  |  | 6057|      0|  SEXP call = GETCONST(constants, GETOP()); \
  |  |  ------------------
  |  |  |  | 5463|      0|#define GETCONST(x, i) ((x).p)[i]
  |  |  ------------------
  |  | 6058|      0|  int label = GETOP(); \
  |  |  ------------------
  |  |  |  | 5569|      0|#define GETOP() (*pc++).i
  |  |  ------------------
  |  | 6059|      0|  SEXP value = GETSTACK(-1); \
  |  |  ------------------
  |  |  |  | 4817|      0|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6060|      0|  if (isObject(value) && tryDispatch(generic, call, value, rho, &value)) {\
  |  |  ------------------
  |  |  |  |  959|      0|#define isObject		Rf_isObject
  |  |  ------------------
  |  |  |  Branch (6060:7): [True: 0, False: 0]
  |  |  |  Branch (6060:26): [True: 0, False: 0]
  |  |  ------------------
  |  | 6061|      0|    SETSTACK(-1, value);						\
  |  |  ------------------
  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6062|      0|    BC_CHECK_SIGINT(); \
  |  |  ------------------
  |  |  |  | 6194|      0|#define BC_CHECK_SIGINT() do {			\
  |  |  |  | 6195|      0|	if (++evalcount > BC_COUNT_DELTA) {	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   45|      0|#define BC_COUNT_DELTA 127
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (6195:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 6196|      0|	    bc_check_sigint();			\
  |  |  |  | 6197|      0|	    evalcount = 0;			\
  |  |  |  | 6198|      0|	}					\
  |  |  |  | 6199|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (6199:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6063|      0|    pc = codebase + label; \
  |  | 6064|      0|  } \
  |  | 6065|      0|  else { \
  |  | 6066|      0|    SEXP tag = TAG(CDR(call)); \
  |  | 6067|      0|    BCNPUSH(call); \
  |  |  ------------------
  |  |  |  | 5362|      0|#define BCNPUSH(v) do { \
  |  |  |  | 5363|      0|  SEXP __value__ = (v); \
  |  |  |  | 5364|      0|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5365|      0|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5365:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5366|      0|  SETSTACK(0, __value__); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5367|      0|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5368|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5368:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6068|      0|    INIT_CALL_FRAME(R_NilValue); \
  |  |  ------------------
  |  |  |  | 5952|      0|#define INIT_CALL_FRAME(fun) do { \
  |  |  |  | 5953|      0|	BCNPUSH(fun);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5362|      0|#define BCNPUSH(v) do { \
  |  |  |  |  |  | 5363|      0|  SEXP __value__ = (v); \
  |  |  |  |  |  | 5364|      0|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  |  |  | 5365|      0|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5365:7): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5366|      0|  SETSTACK(0, __value__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5367|      0|  R_BCNodeStackTop = __ntop__; \
  |  |  |  |  |  | 5368|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5368:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5954|      0|	INIT_CALL_FRAME_ARGS();	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5944|      0|#define INIT_CALL_FRAME_ARGS() do { \
  |  |  |  |  |  | 5945|      0|	BCNSTACKCHECK(2);	  \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5434|      0|#define BCNSTACKCHECK(n)  do {						\
  |  |  |  |  |  |  |  | 5435|      0|	if (R_BCNodeStackTop + (n) > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (5435:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5436|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (5436:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5946|      0|	SETSTACK(0, R_NilValue);  \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5947|      0|	SETSTACK(1, R_NilValue);  \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5948|      0|	R_BCNodeStackTop += 2;	  \
  |  |  |  |  |  | 5949|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5949:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5955|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5955:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6069|      0|    PUSHCALLARG(value); \
  |  |  ------------------
  |  |  |  | 5976|      0|#define PUSHCALLARG(v) PUSHCALLARG_EX(v, FALSE)
  |  |  |  |  ------------------
  |  |  |  |  |  | 5967|      0|#define PUSHCALLARG_EX(v, RC) do {					\
  |  |  |  |  |  | 5968|      0|	SEXP __cell__ =							\
  |  |  |  |  |  | 5969|      0|	    (RC) ? CONS(v, R_NilValue) : CONS_NR(v, R_NilValue);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  309|      0|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5969:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5970|      0|	if (GETSTACK(-2) == R_NilValue) SETSTACK(-2, __cell__);		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4817|      0|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (GETSTACK(-2) == R_NilValue) SETSTACK(-2, __cell__);		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5970:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5971|      0|	else SETCDR(GETSTACK(-1), __cell__);				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4817|      0|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5972|      0|	SETSTACK(-1, __cell__);						\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5973|      0|	if (RC) INCREMENT_NAMED(CAR(__cell__));				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  222|      0|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (222:43): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5973:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5974|      0|	else INCREMENT_LINKS(CAR(__cell__));				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  540|      0|#define INCREMENT_LINKS(x) do {			\
  |  |  |  |  |  |  |  |  541|      0|	SEXP il__x__ = (x);			\
  |  |  |  |  |  |  |  |  542|      0|	INCREMENT_NAMED(il__x__);		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  222|      0|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (222:43): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  543|      0|	INCREMENT_REFCNT(il__x__);		\
  |  |  |  |  |  |  |  |  544|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (544:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5975|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5975:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6070|      0|    SETCALLARG_TAG(tag);   \
  |  |  ------------------
  |  |  |  | 5984|      0|#define SETCALLARG_TAG(t) do {			\
  |  |  |  | 5985|      0|	SEXP __tag__ = (t);			\
  |  |  |  | 5986|      0|	if (__tag__ != R_NilValue) {		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5986:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5987|      0|	    SEXP __cell__ = GETSTACK(-1);	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|      0|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5988|      0|	    if (__cell__ != R_NilValue)		   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5988:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5989|      0|		SET_TAG(__cell__, CreateTag(__tag__));	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  904|      0|#define CreateTag		Rf_CreateTag
  |  |  |  |  ------------------
  |  |  |  | 5990|      0|	}						\
  |  |  |  | 5991|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5991:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6071|      0|  } \
  |  | 6072|      0|  NEXT(); \
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 6073|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (6073:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 8230|      2|    OP(DFLTC, 0): DO_DFLTDISPATCH(do_c_dflt, R_CSym); /* no longe used */
  ------------------
  |  | 5551|      2|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|      2|    opinfo[name##_OP].argc = (n); \
  |  | 5553|      2|    opinfo[name##_OP].instname = #name; \
  |  | 5554|      2|    goto loop; \
  |  | 5555|      2|    op_##name
  ------------------
                  OP(DFLTC, 0): DO_DFLTDISPATCH(do_c_dflt, R_CSym); /* no longe used */
  ------------------
  |  | 6075|      0|#define DO_DFLTDISPATCH(fun, symbol) do { \
  |  | 6076|      0|  SEXP call = GETSTACK_BELOW_CALL_FRAME(-1); \
  |  |  ------------------
  |  |  |  | 5940|      0|#define GETSTACK_BELOW_CALL_FRAME(n) GETSTACK((n) - CALL_FRAME_SIZE())
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|      0|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6077|      0|  SEXP args = BUILTIN_CALL_FRAME_ARGS(); \
  |  | 6078|      0|  SEXP value = fun(call, symbol, args, rho); \
  |  | 6079|      0|  POP_CALL_FRAME_PLUS(2, value); \
  |  |  ------------------
  |  |  |  | 5960|      0|#define POP_CALL_FRAME_PLUS(n, value) do {	\
  |  |  |  | 5961|      0|	R_BCNodeStackTop -= (2 + (n));		\
  |  |  |  | 5962|      0|	SETSTACK(-1, value);			\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5963|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5963:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6080|      0|  R_Visible = TRUE; \
  |  | 6081|      0|  NEXT(); \
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 6082|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (6082:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 8231|      2|    OP(STARTSUBSET2, 2): DO_STARTDISPATCH("[[");
  ------------------
  |  | 5551|      2|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|      2|    opinfo[name##_OP].argc = (n); \
  |  | 5553|      2|    opinfo[name##_OP].instname = #name; \
  |  | 5554|      2|    goto loop; \
  |  | 5555|      2|    op_##name
  ------------------
                  OP(STARTSUBSET2, 2): DO_STARTDISPATCH("[[");
  ------------------
  |  | 6056|      0|#define DO_STARTDISPATCH(generic) do { \
  |  | 6057|      0|  SEXP call = GETCONST(constants, GETOP()); \
  |  |  ------------------
  |  |  |  | 5463|      0|#define GETCONST(x, i) ((x).p)[i]
  |  |  ------------------
  |  | 6058|      0|  int label = GETOP(); \
  |  |  ------------------
  |  |  |  | 5569|      0|#define GETOP() (*pc++).i
  |  |  ------------------
  |  | 6059|      0|  SEXP value = GETSTACK(-1); \
  |  |  ------------------
  |  |  |  | 4817|      0|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6060|      0|  if (isObject(value) && tryDispatch(generic, call, value, rho, &value)) {\
  |  |  ------------------
  |  |  |  |  959|      0|#define isObject		Rf_isObject
  |  |  ------------------
  |  |  |  Branch (6060:7): [True: 0, False: 0]
  |  |  |  Branch (6060:26): [True: 0, False: 0]
  |  |  ------------------
  |  | 6061|      0|    SETSTACK(-1, value);						\
  |  |  ------------------
  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6062|      0|    BC_CHECK_SIGINT(); \
  |  |  ------------------
  |  |  |  | 6194|      0|#define BC_CHECK_SIGINT() do {			\
  |  |  |  | 6195|      0|	if (++evalcount > BC_COUNT_DELTA) {	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   45|      0|#define BC_COUNT_DELTA 127
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (6195:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 6196|      0|	    bc_check_sigint();			\
  |  |  |  | 6197|      0|	    evalcount = 0;			\
  |  |  |  | 6198|      0|	}					\
  |  |  |  | 6199|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (6199:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6063|      0|    pc = codebase + label; \
  |  | 6064|      0|  } \
  |  | 6065|      0|  else { \
  |  | 6066|      0|    SEXP tag = TAG(CDR(call)); \
  |  | 6067|      0|    BCNPUSH(call); \
  |  |  ------------------
  |  |  |  | 5362|      0|#define BCNPUSH(v) do { \
  |  |  |  | 5363|      0|  SEXP __value__ = (v); \
  |  |  |  | 5364|      0|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5365|      0|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5365:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5366|      0|  SETSTACK(0, __value__); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5367|      0|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5368|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5368:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6068|      0|    INIT_CALL_FRAME(R_NilValue); \
  |  |  ------------------
  |  |  |  | 5952|      0|#define INIT_CALL_FRAME(fun) do { \
  |  |  |  | 5953|      0|	BCNPUSH(fun);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5362|      0|#define BCNPUSH(v) do { \
  |  |  |  |  |  | 5363|      0|  SEXP __value__ = (v); \
  |  |  |  |  |  | 5364|      0|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  |  |  | 5365|      0|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5365:7): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5366|      0|  SETSTACK(0, __value__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5367|      0|  R_BCNodeStackTop = __ntop__; \
  |  |  |  |  |  | 5368|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5368:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5954|      0|	INIT_CALL_FRAME_ARGS();	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5944|      0|#define INIT_CALL_FRAME_ARGS() do { \
  |  |  |  |  |  | 5945|      0|	BCNSTACKCHECK(2);	  \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5434|      0|#define BCNSTACKCHECK(n)  do {						\
  |  |  |  |  |  |  |  | 5435|      0|	if (R_BCNodeStackTop + (n) > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (5435:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5436|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (5436:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5946|      0|	SETSTACK(0, R_NilValue);  \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5947|      0|	SETSTACK(1, R_NilValue);  \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5948|      0|	R_BCNodeStackTop += 2;	  \
  |  |  |  |  |  | 5949|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5949:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5955|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5955:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6069|      0|    PUSHCALLARG(value); \
  |  |  ------------------
  |  |  |  | 5976|      0|#define PUSHCALLARG(v) PUSHCALLARG_EX(v, FALSE)
  |  |  |  |  ------------------
  |  |  |  |  |  | 5967|      0|#define PUSHCALLARG_EX(v, RC) do {					\
  |  |  |  |  |  | 5968|      0|	SEXP __cell__ =							\
  |  |  |  |  |  | 5969|      0|	    (RC) ? CONS(v, R_NilValue) : CONS_NR(v, R_NilValue);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  309|      0|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5969:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5970|      0|	if (GETSTACK(-2) == R_NilValue) SETSTACK(-2, __cell__);		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4817|      0|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (GETSTACK(-2) == R_NilValue) SETSTACK(-2, __cell__);		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5970:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5971|      0|	else SETCDR(GETSTACK(-1), __cell__);				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4817|      0|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5972|      0|	SETSTACK(-1, __cell__);						\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5973|      0|	if (RC) INCREMENT_NAMED(CAR(__cell__));				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  222|      0|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (222:43): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5973:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5974|      0|	else INCREMENT_LINKS(CAR(__cell__));				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  540|      0|#define INCREMENT_LINKS(x) do {			\
  |  |  |  |  |  |  |  |  541|      0|	SEXP il__x__ = (x);			\
  |  |  |  |  |  |  |  |  542|      0|	INCREMENT_NAMED(il__x__);		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  222|      0|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (222:43): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  543|      0|	INCREMENT_REFCNT(il__x__);		\
  |  |  |  |  |  |  |  |  544|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (544:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5975|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5975:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6070|      0|    SETCALLARG_TAG(tag);   \
  |  |  ------------------
  |  |  |  | 5984|      0|#define SETCALLARG_TAG(t) do {			\
  |  |  |  | 5985|      0|	SEXP __tag__ = (t);			\
  |  |  |  | 5986|      0|	if (__tag__ != R_NilValue) {		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5986:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5987|      0|	    SEXP __cell__ = GETSTACK(-1);	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|      0|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5988|      0|	    if (__cell__ != R_NilValue)		   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5988:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5989|      0|		SET_TAG(__cell__, CreateTag(__tag__));	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  904|      0|#define CreateTag		Rf_CreateTag
  |  |  |  |  ------------------
  |  |  |  | 5990|      0|	}						\
  |  |  |  | 5991|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5991:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6071|      0|  } \
  |  | 6072|      0|  NEXT(); \
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 6073|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (6073:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 8232|      2|    OP(DFLTSUBSET2, 0): DO_DFLTDISPATCH(do_subset2_dflt, R_Subset2Sym);
  ------------------
  |  | 5551|      2|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|      2|    opinfo[name##_OP].argc = (n); \
  |  | 5553|      2|    opinfo[name##_OP].instname = #name; \
  |  | 5554|      2|    goto loop; \
  |  | 5555|      2|    op_##name
  ------------------
                  OP(DFLTSUBSET2, 0): DO_DFLTDISPATCH(do_subset2_dflt, R_Subset2Sym);
  ------------------
  |  | 6075|      0|#define DO_DFLTDISPATCH(fun, symbol) do { \
  |  | 6076|      0|  SEXP call = GETSTACK_BELOW_CALL_FRAME(-1); \
  |  |  ------------------
  |  |  |  | 5940|      0|#define GETSTACK_BELOW_CALL_FRAME(n) GETSTACK((n) - CALL_FRAME_SIZE())
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|      0|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6077|      0|  SEXP args = BUILTIN_CALL_FRAME_ARGS(); \
  |  | 6078|      0|  SEXP value = fun(call, symbol, args, rho); \
  |  | 6079|      0|  POP_CALL_FRAME_PLUS(2, value); \
  |  |  ------------------
  |  |  |  | 5960|      0|#define POP_CALL_FRAME_PLUS(n, value) do {	\
  |  |  |  | 5961|      0|	R_BCNodeStackTop -= (2 + (n));		\
  |  |  |  | 5962|      0|	SETSTACK(-1, value);			\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5963|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5963:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6080|      0|  R_Visible = TRUE; \
  |  | 6081|      0|  NEXT(); \
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 6082|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (6082:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 8233|      2|    OP(STARTSUBASSIGN2, 2): DO_START_ASSIGN_DISPATCH("[[<-");
  ------------------
  |  | 5551|      2|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|      2|    opinfo[name##_OP].argc = (n); \
  |  | 5553|      2|    opinfo[name##_OP].instname = #name; \
  |  | 5554|      2|    goto loop; \
  |  | 5555|      2|    op_##name
  ------------------
                  OP(STARTSUBASSIGN2, 2): DO_START_ASSIGN_DISPATCH("[[<-");
  ------------------
  |  | 6084|      0|#define DO_START_ASSIGN_DISPATCH(generic) do { \
  |  | 6085|      0|  SEXP call = GETCONST(constants, GETOP()); \
  |  |  ------------------
  |  |  |  | 5463|      0|#define GETCONST(x, i) ((x).p)[i]
  |  |  ------------------
  |  | 6086|      0|  int label = GETOP(); \
  |  |  ------------------
  |  |  |  | 5569|      0|#define GETOP() (*pc++).i
  |  |  ------------------
  |  | 6087|      0|  SEXP lhs = GETSTACK(-2); \
  |  |  ------------------
  |  |  |  | 4817|      0|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6088|      0|  SEXP rhs = GETSTACK(-1); \
  |  |  ------------------
  |  |  |  | 4817|      0|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6089|      0|  MARK_ASSIGNMENT_CALL(call); \
  |  | 6090|      0|  if (MAYBE_SHARED(lhs)) { \
  |  |  ------------------
  |  |  |  Branch (6090:7): [True: 0, False: 0]
  |  |  ------------------
  |  | 6091|      0|    lhs = shallow_duplicate(lhs); \
  |  |  ------------------
  |  |  |  | 1030|      0|#define shallow_duplicate	Rf_shallow_duplicate
  |  |  ------------------
  |  | 6092|      0|    SETSTACK(-2, lhs); \
  |  |  ------------------
  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6093|      0|    ENSURE_NAMED(lhs); \
  |  | 6094|      0|  } \
  |  | 6095|      0|  SEXP value = NULL; \
  |  | 6096|      0|  if (isObject(lhs) && \
  |  |  ------------------
  |  |  |  |  959|      0|#define isObject		Rf_isObject
  |  |  ------------------
  |  |  |  Branch (6096:7): [True: 0, False: 0]
  |  |  ------------------
  |  | 6097|      0|      tryAssignDispatch(generic, call, lhs, rhs, rho, &value)) { \
  |  |  ------------------
  |  |  |  Branch (6097:7): [True: 0, False: 0]
  |  |  ------------------
  |  | 6098|      0|    R_BCNodeStackTop--;	\
  |  | 6099|      0|    SETSTACK(-1, value); \
  |  |  ------------------
  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6100|      0|    BC_CHECK_SIGINT(); \
  |  |  ------------------
  |  |  |  | 6194|      0|#define BC_CHECK_SIGINT() do {			\
  |  |  |  | 6195|      0|	if (++evalcount > BC_COUNT_DELTA) {	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   45|      0|#define BC_COUNT_DELTA 127
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (6195:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 6196|      0|	    bc_check_sigint();			\
  |  |  |  | 6197|      0|	    evalcount = 0;			\
  |  |  |  | 6198|      0|	}					\
  |  |  |  | 6199|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (6199:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6101|      0|    pc = codebase + label; \
  |  | 6102|      0|  } \
  |  | 6103|      0|  else { \
  |  | 6104|      0|    SEXP tag = TAG(CDR(call)); \
  |  | 6105|      0|    BCNPUSH(call); \
  |  |  ------------------
  |  |  |  | 5362|      0|#define BCNPUSH(v) do { \
  |  |  |  | 5363|      0|  SEXP __value__ = (v); \
  |  |  |  | 5364|      0|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5365|      0|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5365:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5366|      0|  SETSTACK(0, __value__); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5367|      0|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5368|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5368:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6106|      0|    INIT_CALL_FRAME(R_NilValue); \
  |  |  ------------------
  |  |  |  | 5952|      0|#define INIT_CALL_FRAME(fun) do { \
  |  |  |  | 5953|      0|	BCNPUSH(fun);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5362|      0|#define BCNPUSH(v) do { \
  |  |  |  |  |  | 5363|      0|  SEXP __value__ = (v); \
  |  |  |  |  |  | 5364|      0|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  |  |  | 5365|      0|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5365:7): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5366|      0|  SETSTACK(0, __value__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5367|      0|  R_BCNodeStackTop = __ntop__; \
  |  |  |  |  |  | 5368|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5368:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5954|      0|	INIT_CALL_FRAME_ARGS();	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5944|      0|#define INIT_CALL_FRAME_ARGS() do { \
  |  |  |  |  |  | 5945|      0|	BCNSTACKCHECK(2);	  \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5434|      0|#define BCNSTACKCHECK(n)  do {						\
  |  |  |  |  |  |  |  | 5435|      0|	if (R_BCNodeStackTop + (n) > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (5435:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5436|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (5436:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5946|      0|	SETSTACK(0, R_NilValue);  \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5947|      0|	SETSTACK(1, R_NilValue);  \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5948|      0|	R_BCNodeStackTop += 2;	  \
  |  |  |  |  |  | 5949|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5949:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5955|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5955:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6107|      0|    PUSHCALLARG(lhs); \
  |  |  ------------------
  |  |  |  | 5976|      0|#define PUSHCALLARG(v) PUSHCALLARG_EX(v, FALSE)
  |  |  |  |  ------------------
  |  |  |  |  |  | 5967|      0|#define PUSHCALLARG_EX(v, RC) do {					\
  |  |  |  |  |  | 5968|      0|	SEXP __cell__ =							\
  |  |  |  |  |  | 5969|      0|	    (RC) ? CONS(v, R_NilValue) : CONS_NR(v, R_NilValue);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  309|      0|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5969:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5970|      0|	if (GETSTACK(-2) == R_NilValue) SETSTACK(-2, __cell__);		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4817|      0|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (GETSTACK(-2) == R_NilValue) SETSTACK(-2, __cell__);		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5970:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5971|      0|	else SETCDR(GETSTACK(-1), __cell__);				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4817|      0|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5972|      0|	SETSTACK(-1, __cell__);						\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5973|      0|	if (RC) INCREMENT_NAMED(CAR(__cell__));				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  222|      0|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (222:43): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5973:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5974|      0|	else INCREMENT_LINKS(CAR(__cell__));				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  540|      0|#define INCREMENT_LINKS(x) do {			\
  |  |  |  |  |  |  |  |  541|      0|	SEXP il__x__ = (x);			\
  |  |  |  |  |  |  |  |  542|      0|	INCREMENT_NAMED(il__x__);		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  222|      0|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (222:43): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  543|      0|	INCREMENT_REFCNT(il__x__);		\
  |  |  |  |  |  |  |  |  544|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (544:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5975|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5975:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6108|      0|    SETCALLARG_TAG(tag);   \
  |  |  ------------------
  |  |  |  | 5984|      0|#define SETCALLARG_TAG(t) do {			\
  |  |  |  | 5985|      0|	SEXP __tag__ = (t);			\
  |  |  |  | 5986|      0|	if (__tag__ != R_NilValue) {		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5986:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5987|      0|	    SEXP __cell__ = GETSTACK(-1);	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|      0|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5988|      0|	    if (__cell__ != R_NilValue)		   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5988:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5989|      0|		SET_TAG(__cell__, CreateTag(__tag__));	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  904|      0|#define CreateTag		Rf_CreateTag
  |  |  |  |  ------------------
  |  |  |  | 5990|      0|	}						\
  |  |  |  | 5991|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5991:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6109|      0|  } \
  |  | 6110|      0|  NEXT(); \
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 6111|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (6111:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 8234|      2|    OP(DFLTSUBASSIGN2, 0):
  ------------------
  |  | 5551|      2|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|      2|    opinfo[name##_OP].argc = (n); \
  |  | 5553|      2|    opinfo[name##_OP].instname = #name; \
  |  | 5554|      2|    goto loop; \
  |  | 5555|      2|    op_##name
  ------------------
 8235|      0|      DO_DFLT_ASSIGN_DISPATCH(do_subassign2_dflt, R_Subassign2Sym);
  ------------------
  |  | 6113|      0|#define DO_DFLT_ASSIGN_DISPATCH(fun, symbol) do { \
  |  | 6114|      0|  SEXP rhs = GETSTACK_BELOW_CALL_FRAME(-2); \
  |  |  ------------------
  |  |  |  | 5940|      0|#define GETSTACK_BELOW_CALL_FRAME(n) GETSTACK((n) - CALL_FRAME_SIZE())
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|      0|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6115|      0|  SEXP call = GETSTACK_BELOW_CALL_FRAME(-1); \
  |  |  ------------------
  |  |  |  | 5940|      0|#define GETSTACK_BELOW_CALL_FRAME(n) GETSTACK((n) - CALL_FRAME_SIZE())
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|      0|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6116|      0|  SEXP args = BUILTIN_CALL_FRAME_ARGS(); \
  |  | 6117|      0|  MARK_ASSIGNMENT_CALL(call); \
  |  | 6118|      0|  PUSHCALLARG(rhs); \
  |  |  ------------------
  |  |  |  | 5976|      0|#define PUSHCALLARG(v) PUSHCALLARG_EX(v, FALSE)
  |  |  |  |  ------------------
  |  |  |  |  |  | 5967|      0|#define PUSHCALLARG_EX(v, RC) do {					\
  |  |  |  |  |  | 5968|      0|	SEXP __cell__ =							\
  |  |  |  |  |  | 5969|      0|	    (RC) ? CONS(v, R_NilValue) : CONS_NR(v, R_NilValue);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  309|      0|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5969:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5970|      0|	if (GETSTACK(-2) == R_NilValue) SETSTACK(-2, __cell__);		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4817|      0|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (GETSTACK(-2) == R_NilValue) SETSTACK(-2, __cell__);		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5970:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5971|      0|	else SETCDR(GETSTACK(-1), __cell__);				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4817|      0|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5972|      0|	SETSTACK(-1, __cell__);						\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5973|      0|	if (RC) INCREMENT_NAMED(CAR(__cell__));				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  222|      0|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (222:43): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5973:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5974|      0|	else INCREMENT_LINKS(CAR(__cell__));				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  540|      0|#define INCREMENT_LINKS(x) do {			\
  |  |  |  |  |  |  |  |  541|      0|	SEXP il__x__ = (x);			\
  |  |  |  |  |  |  |  |  542|      0|	INCREMENT_NAMED(il__x__);		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  222|      0|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (222:43): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  543|      0|	INCREMENT_REFCNT(il__x__);		\
  |  |  |  |  |  |  |  |  544|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (544:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 5975|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (5975:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6119|      0|  SEXP value = fun(call, symbol, args, rho); \
  |  | 6120|      0|  POP_CALL_FRAME_PLUS(3, value); \
  |  |  ------------------
  |  |  |  | 5960|      0|#define POP_CALL_FRAME_PLUS(n, value) do {	\
  |  |  |  | 5961|      0|	R_BCNodeStackTop -= (2 + (n));		\
  |  |  |  | 5962|      0|	SETSTACK(-1, value);			\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5963|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5963:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6121|      0|  NEXT(); \
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 6122|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (6122:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 8236|  14.6k|    OP(DOLLAR, 2):
  ------------------
  |  | 5551|      2|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|      2|    opinfo[name##_OP].argc = (n); \
  |  | 5553|      2|    opinfo[name##_OP].instname = #name; \
  |  | 5554|      2|    goto loop; \
  |  | 5555|  14.6k|    op_##name
  ------------------
 8237|  14.6k|      {
 8238|  14.6k|	int dispatched = FALSE;
 8239|  14.6k|	SEXP call = GETCONST(constants, GETOP());
  ------------------
  |  | 5463|  14.6k|#define GETCONST(x, i) ((x).p)[i]
  ------------------
 8240|  14.6k|	SEXP symbol = GETCONST(constants, GETOP());
  ------------------
  |  | 5463|  14.6k|#define GETCONST(x, i) ((x).p)[i]
  ------------------
 8241|  14.6k|	SEXP x = GETSTACK(-1);
  ------------------
  |  | 4817|  14.6k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  ------------------
  |  |  |  | 4751|  14.6k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4751:26): [True: 0, False: 14.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8242|  14.6k|	SEXP value = NULL;
 8243|  14.6k|	if (isObject(x)) {
  ------------------
  |  |  959|  14.6k|#define isObject		Rf_isObject
  ------------------
  |  Branch (8243:6): [True: 5.34k, False: 9.26k]
  ------------------
 8244|  5.34k|	    SEXP ncall;
 8245|  5.34k|	    PROTECT(ncall = duplicate(call));
  ------------------
  |  |  357|  5.34k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 8246|       |	    /**** hack to avoid evaluating the symbol */
 8247|  5.34k|	    SETCAR(CDDR(ncall), ScalarString(PRINTNAME(symbol)));
  ------------------
  |  | 1025|  5.34k|#define ScalarString		Rf_ScalarString
  ------------------
 8248|  5.34k|	    dispatched = tryDispatch("$", ncall, x, rho, &value);
 8249|  5.34k|	    UNPROTECT(1);
  ------------------
  |  |  358|  5.34k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 8250|  5.34k|	}
 8251|  14.6k|	if (dispatched)
  ------------------
  |  Branch (8251:6): [True: 0, False: 14.6k]
  ------------------
 8252|  14.6k|	    SETSTACK(-1, value);
  ------------------
  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  ------------------
  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8253|  14.6k|	else
 8254|  14.6k|	    SETSTACK(-1, R_subset3_dflt(x, PRINTNAME(symbol), call));
  ------------------
  |  | 4819|  14.6k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  ------------------
  |  |  |  | 4772|  14.6k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  | 4773|  14.6k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4767|  14.6k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 14.6k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4774|  14.6k|    SEXP __v__ = (v); \
  |  |  |  | 4775|  14.6k|    (s)->tag = 0; \
  |  |  |  | 4776|  14.6k|    (s)->u.sxpval = __v__; \
  |  |  |  | 4777|  14.6k|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4777:10): [Folded, False: 14.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8255|  14.6k|	R_Visible = TRUE;
 8256|  14.6k|	NEXT();
  ------------------
  |  | 5568|  14.6k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8257|  14.6k|      }
 8258|  2.09M|    OP(DOLLARGETS, 2):
  ------------------
  |  | 5551|  14.6k|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  14.6k|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  14.6k|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  14.6k|    goto loop; \
  |  | 5555|  2.09M|    op_##name
  ------------------
 8259|  2.09M|      {
 8260|  2.09M|	int dispatched = FALSE;
 8261|  2.09M|	SEXP call = GETCONST(constants, GETOP());
  ------------------
  |  | 5463|  2.09M|#define GETCONST(x, i) ((x).p)[i]
  ------------------
 8262|  2.09M|	SEXP symbol = GETCONST(constants, GETOP());
  ------------------
  |  | 5463|  2.09M|#define GETCONST(x, i) ((x).p)[i]
  ------------------
 8263|  2.09M|	SEXP x = GETSTACK(-2);
  ------------------
  |  | 4817|  2.09M|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  ------------------
  |  |  |  | 4751|  2.09M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4751:26): [True: 0, False: 2.09M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8264|  2.09M|	SEXP rhs = GETSTACK(-1);
  ------------------
  |  | 4817|  2.09M|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  ------------------
  |  |  |  | 4751|  2.09M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4751:26): [True: 0, False: 2.09M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8265|  2.09M|	MARK_ASSIGNMENT_CALL(call);
 8266|  2.09M|	if (MAYBE_SHARED(x)) {
  ------------------
  |  Branch (8266:6): [True: 28, False: 2.09M]
  ------------------
 8267|     28|	    x = shallow_duplicate(x);
  ------------------
  |  | 1030|     28|#define shallow_duplicate	Rf_shallow_duplicate
  ------------------
 8268|     28|	    SETSTACK(-2, x);
  ------------------
  |  | 4819|     28|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  ------------------
  |  |  |  | 4772|     28|#define SETSTACK_PTR(s, v) do { \
  |  |  |  | 4773|     28|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4767|     28|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 28]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4774|     28|    SEXP __v__ = (v); \
  |  |  |  | 4775|     28|    (s)->tag = 0; \
  |  |  |  | 4776|     28|    (s)->u.sxpval = __v__; \
  |  |  |  | 4777|     28|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4777:10): [Folded, False: 28]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8269|     28|	    ENSURE_NAMED(x);
 8270|     28|	}
 8271|  2.09M|	SEXP value = NULL;
 8272|  2.09M|	if (isObject(x)) {
  ------------------
  |  |  959|  2.09M|#define isObject		Rf_isObject
  ------------------
  |  Branch (8272:6): [True: 2.09M, False: 1.24k]
  ------------------
 8273|  2.09M|	    SEXP ncall, prom;
 8274|  2.09M|	    PROTECT(ncall = duplicate(call));
  ------------------
  |  |  357|  2.09M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 8275|       |	    /**** hack to avoid evaluating the symbol */
 8276|  2.09M|	    SETCAR(CDDR(ncall), ScalarString(PRINTNAME(symbol)));
  ------------------
  |  | 1025|  2.09M|#define ScalarString		Rf_ScalarString
  ------------------
 8277|  2.09M|	    prom = mkRHSPROMISE(CADDDR(ncall), rhs);
 8278|  2.09M|	    SETCAR(CDDDR(ncall), prom);
 8279|  2.09M|	    dispatched = tryDispatch("$<-", ncall, x, rho, &value);
 8280|  2.09M|	    UNPROTECT(1);
  ------------------
  |  |  358|  2.09M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 8281|  2.09M|	}
 8282|  2.09M|	if (! dispatched)
  ------------------
  |  Branch (8282:6): [True: 2.09M, False: 0]
  ------------------
 8283|  2.09M|	  value = R_subassign3_dflt(call, x, symbol, rhs);
 8284|  2.09M|	R_BCNodeStackTop--;
 8285|  2.09M|	SETSTACK(-1, value);
  ------------------
  |  | 4819|  2.09M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  ------------------
  |  |  |  | 4772|  2.09M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  | 4773|  2.09M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4767|  2.09M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 2.09M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4774|  2.09M|    SEXP __v__ = (v); \
  |  |  |  | 4775|  2.09M|    (s)->tag = 0; \
  |  |  |  | 4776|  2.09M|    (s)->u.sxpval = __v__; \
  |  |  |  | 4777|  2.09M|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4777:10): [Folded, False: 2.09M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8286|  2.09M|	NEXT();
  ------------------
  |  | 5568|  2.09M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8287|  2.09M|      }
 8288|  2.13M|    OP(ISNULL, 0): DO_ISTEST(isNull);
  ------------------
  |  | 5551|  2.09M|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  2.09M|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  2.09M|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  2.09M|    goto loop; \
  |  | 5555|  2.13M|    op_##name
  ------------------
                  OP(ISNULL, 0): DO_ISTEST(isNull);
  ------------------
  |  | 6166|  2.13M|#define DO_ISTEST(fun) do { \
  |  | 6167|  2.13M|  SETSTACK(-1, fun(GETSTACK(-1)) ? R_TrueValue : R_FalseValue);	\
  |  |  ------------------
  |  |  |  | 4819|  2.13M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|  2.13M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|  2.13M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|  2.13M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 2.13M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|  8.52M|    SEXP __v__ = (v); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4774:19): [True: 2.23k, False: 2.12M]
  |  |  |  |  |  |  |  Branch (4774:19): [True: 12.2k, False: 2.11M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4775|  2.13M|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|  2.13M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|  2.13M|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 2.13M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6168|  2.13M|  R_Visible = TRUE; \
  |  | 6169|  2.13M|  NEXT(); \
  |  |  ------------------
  |  |  |  | 5568|  2.13M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 6170|  2.13M|} while(0)
  |  |  ------------------
  |  |  |  Branch (6170:9): [Folded, False: 2.13M]
  |  |  ------------------
  ------------------
 8289|  2.13M|    OP(ISLOGICAL, 0): DO_ISTYPE(LGLSXP);
  ------------------
  |  | 5551|  2.13M|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  2.13M|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  2.13M|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  2.13M|    goto loop; \
  |  | 5555|  2.13M|    op_##name
  ------------------
                  OP(ISLOGICAL, 0): DO_ISTYPE(LGLSXP);
  ------------------
  |  | 6171|  16.8k|#define DO_ISTYPE(type) do { \
  |  | 6172|  16.8k|  SETSTACK(-1, TYPEOF(GETSTACK(-1)) == type ? R_TrueValue : R_FalseValue); \
  |  |  ------------------
  |  |  |  | 4819|  16.8k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|  16.8k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|  16.8k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|  16.8k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 16.8k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|  67.5k|    SEXP __v__ = (v); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4774:19): [True: 0, False: 16.8k]
  |  |  |  |  |  |  |  Branch (4774:19): [True: 16.7k, False: 197]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4775|  16.8k|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|  16.8k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|  16.8k|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 16.8k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6173|  16.8k|  R_Visible = TRUE; \
  |  | 6174|  16.8k|  NEXT(); \
  |  |  ------------------
  |  |  |  | 5568|  16.8k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 6175|  16.8k|} while (0)
  |  |  ------------------
  |  |  |  Branch (6175:10): [Folded, False: 16.8k]
  |  |  ------------------
  ------------------
 8290|  16.9k|    OP(ISINTEGER, 0): {
  ------------------
  |  | 5551|  16.9k|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  16.9k|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  16.9k|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  16.9k|    goto loop; \
  |  | 5555|  16.9k|    op_##name
  ------------------
 8291|    326|	SEXP arg = GETSTACK(-1);
  ------------------
  |  | 4817|    326|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  ------------------
  |  |  |  | 4751|    326|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4751:26): [True: 0, False: 326]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8292|    326|	Rboolean test = (TYPEOF(arg) == INTSXP) && ! inherits(arg, "factor");
  ------------------
  |  |  123|    326|#define INTSXP	    13	  /* integer vectors */
  ------------------
              	Rboolean test = (TYPEOF(arg) == INTSXP) && ! inherits(arg, "factor");
  ------------------
  |  |  933|    163|#define inherits		Rf_inherits
  ------------------
  |  Branch (8292:18): [True: 163, False: 163]
  |  Branch (8292:45): [True: 163, False: 0]
  ------------------
 8293|    326|	SETSTACK(-1, test ? R_TrueValue : R_FalseValue);
  ------------------
  |  | 4819|    326|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  ------------------
  |  |  |  | 4772|    326|#define SETSTACK_PTR(s, v) do { \
  |  |  |  | 4773|    326|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4767|    326|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 326]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4774|    652|    SEXP __v__ = (v); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4774:19): [True: 163, False: 163]
  |  |  |  |  ------------------
  |  |  |  | 4775|    326|    (s)->tag = 0; \
  |  |  |  | 4776|    326|    (s)->u.sxpval = __v__; \
  |  |  |  | 4777|    326|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4777:10): [Folded, False: 326]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8294|    326|	R_Visible = TRUE;
 8295|    326|	NEXT();
  ------------------
  |  | 5568|    326|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8296|    326|      }
 8297|    328|    OP(ISDOUBLE, 0): DO_ISTYPE(REALSXP);
  ------------------
  |  | 5551|    328|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|    328|    opinfo[name##_OP].argc = (n); \
  |  | 5553|    328|    opinfo[name##_OP].instname = #name; \
  |  | 5554|    328|    goto loop; \
  |  | 5555|    328|    op_##name
  ------------------
                  OP(ISDOUBLE, 0): DO_ISTYPE(REALSXP);
  ------------------
  |  | 6171|      0|#define DO_ISTYPE(type) do { \
  |  | 6172|      0|  SETSTACK(-1, TYPEOF(GETSTACK(-1)) == type ? R_TrueValue : R_FalseValue); \
  |  |  ------------------
  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4774:19): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (4774:19): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6173|      0|  R_Visible = TRUE; \
  |  | 6174|      0|  NEXT(); \
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 6175|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (6175:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 8298|    911|    OP(ISCOMPLEX, 0): DO_ISTYPE(CPLXSXP);
  ------------------
  |  | 5551|      2|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|      2|    opinfo[name##_OP].argc = (n); \
  |  | 5553|      2|    opinfo[name##_OP].instname = #name; \
  |  | 5554|      2|    goto loop; \
  |  | 5555|    911|    op_##name
  ------------------
                  OP(ISCOMPLEX, 0): DO_ISTYPE(CPLXSXP);
  ------------------
  |  | 6171|    911|#define DO_ISTYPE(type) do { \
  |  | 6172|    911|  SETSTACK(-1, TYPEOF(GETSTACK(-1)) == type ? R_TrueValue : R_FalseValue); \
  |  |  ------------------
  |  |  |  | 4819|    911|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|    911|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|    911|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|    911|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 911]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|  3.64k|    SEXP __v__ = (v); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4774:19): [True: 0, False: 911]
  |  |  |  |  |  |  |  Branch (4774:19): [True: 0, False: 911]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4775|    911|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|    911|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|    911|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 911]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6173|    911|  R_Visible = TRUE; \
  |  | 6174|    911|  NEXT(); \
  |  |  ------------------
  |  |  |  | 5568|    911|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 6175|    911|} while (0)
  |  |  ------------------
  |  |  |  Branch (6175:10): [Folded, False: 911]
  |  |  ------------------
  ------------------
 8299|  10.6k|    OP(ISCHARACTER, 0): DO_ISTYPE(STRSXP);
  ------------------
  |  | 5551|    913|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|    913|    opinfo[name##_OP].argc = (n); \
  |  | 5553|    913|    opinfo[name##_OP].instname = #name; \
  |  | 5554|    913|    goto loop; \
  |  | 5555|  10.6k|    op_##name
  ------------------
                  OP(ISCHARACTER, 0): DO_ISTYPE(STRSXP);
  ------------------
  |  | 6171|  10.6k|#define DO_ISTYPE(type) do { \
  |  | 6172|  10.6k|  SETSTACK(-1, TYPEOF(GETSTACK(-1)) == type ? R_TrueValue : R_FalseValue); \
  |  |  ------------------
  |  |  |  | 4819|  10.6k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|  10.6k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|  10.6k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|  10.6k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 10.6k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|  42.4k|    SEXP __v__ = (v); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4774:19): [True: 0, False: 10.6k]
  |  |  |  |  |  |  |  Branch (4774:19): [True: 7.15k, False: 3.46k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4775|  10.6k|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|  10.6k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|  10.6k|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 10.6k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6173|  10.6k|  R_Visible = TRUE; \
  |  | 6174|  10.6k|  NEXT(); \
  |  |  ------------------
  |  |  |  | 5568|  10.6k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 6175|  10.6k|} while (0)
  |  |  ------------------
  |  |  |  Branch (6175:10): [Folded, False: 10.6k]
  |  |  ------------------
  ------------------
 8300|  10.6k|    OP(ISSYMBOL, 0): DO_ISTYPE(SYMSXP); /**** S4 thingy allowed now???*/
  ------------------
  |  | 5551|  10.6k|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  10.6k|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  10.6k|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  10.6k|    goto loop; \
  |  | 5555|  10.6k|    op_##name
  ------------------
                  OP(ISSYMBOL, 0): DO_ISTYPE(SYMSXP); /**** S4 thingy allowed now???*/
  ------------------
  |  | 6171|  10.4k|#define DO_ISTYPE(type) do { \
  |  | 6172|  10.4k|  SETSTACK(-1, TYPEOF(GETSTACK(-1)) == type ? R_TrueValue : R_FalseValue); \
  |  |  ------------------
  |  |  |  | 4819|  10.4k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|  10.4k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|  10.4k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|  10.4k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 10.4k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|  41.9k|    SEXP __v__ = (v); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4774:19): [True: 0, False: 10.4k]
  |  |  |  |  |  |  |  Branch (4774:19): [True: 4.09k, False: 6.39k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4775|  10.4k|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|  10.4k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|  10.4k|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 10.4k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6173|  10.4k|  R_Visible = TRUE; \
  |  | 6174|  10.4k|  NEXT(); \
  |  |  ------------------
  |  |  |  | 5568|  10.4k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 6175|  10.4k|} while (0)
  |  |  ------------------
  |  |  |  Branch (6175:10): [Folded, False: 10.4k]
  |  |  ------------------
  ------------------
 8301|  10.4k|    OP(ISOBJECT, 0): DO_ISTEST(OBJECT);
  ------------------
  |  | 5551|  10.4k|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  10.4k|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  10.4k|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  10.4k|    goto loop; \
  |  | 5555|  10.4k|    op_##name
  ------------------
                  OP(ISOBJECT, 0): DO_ISTEST(OBJECT);
  ------------------
  |  | 6166|  7.47k|#define DO_ISTEST(fun) do { \
  |  | 6167|  7.47k|  SETSTACK(-1, fun(GETSTACK(-1)) ? R_TrueValue : R_FalseValue);	\
  |  |  ------------------
  |  |  |  | 4819|  7.47k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|  7.47k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|  7.47k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|  7.47k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 7.47k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|  29.8k|    SEXP __v__ = (v); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4774:19): [True: 0, False: 7.47k]
  |  |  |  |  |  |  |  Branch (4774:19): [True: 0, False: 7.47k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4775|  7.47k|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|  7.47k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|  7.47k|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 7.47k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6168|  7.47k|  R_Visible = TRUE; \
  |  | 6169|  7.47k|  NEXT(); \
  |  |  ------------------
  |  |  |  | 5568|  7.47k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 6170|  7.47k|} while(0)
  |  |  ------------------
  |  |  |  Branch (6170:9): [Folded, False: 7.47k]
  |  |  ------------------
  ------------------
 8302|  7.47k|    OP(ISNUMERIC, 0): DO_ISTEST(isNumericOnly);
  ------------------
  |  | 5551|  7.47k|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  7.47k|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  7.47k|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  7.47k|    goto loop; \
  |  | 5555|  7.47k|    op_##name
  ------------------
                  OP(ISNUMERIC, 0): DO_ISTEST(isNumericOnly);
  ------------------
  |  | 6166|      0|#define DO_ISTEST(fun) do { \
  |  | 6167|      0|  SETSTACK(-1, fun(GETSTACK(-1)) ? R_TrueValue : R_FalseValue);	\
  |  |  ------------------
  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4774:19): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (4774:19): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (4774:19): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (4774:19): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6168|      0|  R_Visible = TRUE; \
  |  | 6169|      0|  NEXT(); \
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 6170|      0|} while(0)
  |  |  ------------------
  |  |  |  Branch (6170:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
 8303|  1.08M|    OP(VECSUBSET, 1): DO_VECSUBSET(rho, FALSE);
  ------------------
  |  | 5551|      2|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|      2|    opinfo[name##_OP].argc = (n); \
  |  | 5553|      2|    opinfo[name##_OP].instname = #name; \
  |  | 5554|      2|    goto loop; \
  |  | 5555|  1.08M|    op_##name
  ------------------
                  OP(VECSUBSET, 1): DO_VECSUBSET(rho, FALSE);
  ------------------
  |  | 6320|  1.08M|#define DO_VECSUBSET(rho, sub2) do {					\
  |  | 6321|  1.08M|	int callidx = GETOP();						\
  |  |  ------------------
  |  |  |  | 5569|  1.08M|#define GETOP() (*pc++).i
  |  |  ------------------
  |  | 6322|  1.08M|	R_bcstack_t *sx = R_BCNodeStackTop - 2;				\
  |  | 6323|  1.08M|	R_bcstack_t *si = R_BCNodeStackTop - 1;				\
  |  | 6324|  1.08M|	SEXP vec = GETSTACK_PTR(sx);					\
  |  |  ------------------
  |  |  |  | 4751|  1.08M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4751:26): [True: 0, False: 1.08M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6325|  1.08M|	if (si->tag == INTSXP && (sub2 || FAST_VECELT_OK(vec))) {	\
  |  |  ------------------
  |  |  |  |  123|  2.16M|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	if (si->tag == INTSXP && (sub2 || FAST_VECELT_OK(vec))) {	\
  |  |  ------------------
  |  |  |  | 6286|  1.06M|    (ATTRIB(vec) == R_NilValue ||		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (6286:6): [True: 1.06M, False: 5.46k]
  |  |  |  |  ------------------
  |  |  |  | 6287|  1.06M|     (TAG(ATTRIB(vec)) == R_DimSymbol &&	\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (6287:7): [True: 0, False: 5.46k]
  |  |  |  |  ------------------
  |  |  |  | 6288|  5.46k|      CDR(ATTRIB(vec)) == R_NilValue))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (6288:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6325:6): [True: 1.06M, False: 14.8k]
  |  |  |  Branch (6325:28): [Folded, False: 1.06M]
  |  |  ------------------
  |  | 6326|  1.06M|	    R_xlen_t i = si->u.ival;					\
  |  | 6327|  1.06M|	    switch (TYPEOF(vec)) {					\
  |  |  ------------------
  |  |  |  Branch (6327:14): [True: 9.31k, False: 1.05M]
  |  |  ------------------
  |  | 6328|  1.93k|		case REALSXP:						\
  |  |  ------------------
  |  |  |  |  124|  1.93k|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (6328:3): [True: 1.93k, False: 1.05M]
  |  |  ------------------
  |  | 6329|  1.93k|		    if (i <= 0 || XLENGTH(vec) < i) break;		\
  |  |  ------------------
  |  |  |  Branch (6329:11): [True: 0, False: 1.93k]
  |  |  |  Branch (6329:21): [True: 0, False: 1.93k]
  |  |  ------------------
  |  | 6330|  1.93k|		    SETSTACK_REAL_PTR(sx, REAL_ELT(vec, i - 1));	\
  |  |  ------------------
  |  |  |  | 4779|  1.93k|#define SETSTACK_REAL_PTR(s, v) do { \
  |  |  |  | 4780|  1.93k|    double __v__ = (v); \
  |  |  |  | 4781|  1.93k|    (s)->tag = REALSXP; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  124|  1.93k|#define REALSXP	    14	  /* real variables */
  |  |  |  |  ------------------
  |  |  |  | 4782|  1.93k|    (s)->u.dval = __v__; \
  |  |  |  | 4783|  1.93k|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4783:10): [Folded, False: 1.93k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6331|  1.93k|		    DFVE_NEXT();					\
  |  |  ------------------
  |  |  |  | 6314|  1.93k|#define	DFVE_NEXT() do {	\
  |  |  |  | 6315|  1.93k|	R_Visible = TRUE;	\
  |  |  |  | 6316|  1.93k|	R_BCNodeStackTop--;	\
  |  |  |  | 6317|  1.93k|	NEXT();			\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|  1.93k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 6318|  1.93k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (6318:14): [Folded, False: 1.93k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6332|  9.31k|		case INTSXP:						\
  |  |  ------------------
  |  |  |  |  123|  9.31k|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |  |  Branch (6332:3): [True: 7.38k, False: 1.05M]
  |  |  ------------------
  |  | 6333|  9.31k|		    if (i <= 0 || XLENGTH(vec) < i) break;		\
  |  |  ------------------
  |  |  |  Branch (6333:11): [True: 1.93k, False: 7.38k]
  |  |  |  Branch (6333:21): [True: 0, False: 7.38k]
  |  |  ------------------
  |  | 6334|  9.31k|		    SETSTACK_INTEGER_PTR(sx, INTEGER_ELT(vec, i - 1));	\
  |  |  ------------------
  |  |  |  | 4785|  9.31k|#define SETSTACK_INTEGER_PTR(s, v) do { \
  |  |  |  | 4786|  9.31k|    int __v__ = (v); \
  |  |  |  | 4787|  9.31k|    (s)->tag = INTSXP; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  123|  9.31k|#define INTSXP	    13	  /* integer vectors */
  |  |  |  |  ------------------
  |  |  |  | 4788|  9.31k|    (s)->u.ival = __v__; \
  |  |  |  | 4789|  9.31k|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4789:10): [Folded, False: 9.31k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6335|  9.31k|		    DFVE_NEXT();					\
  |  |  ------------------
  |  |  |  | 6314|  9.31k|#define	DFVE_NEXT() do {	\
  |  |  |  | 6315|  9.31k|	R_Visible = TRUE;	\
  |  |  |  | 6316|  9.31k|	R_BCNodeStackTop--;	\
  |  |  |  | 6317|  9.31k|	NEXT();			\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|  9.31k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 6318|  9.31k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (6318:14): [Folded, False: 9.31k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6336|  9.31k|		case LGLSXP:						\
  |  |  ------------------
  |  |  |  |  121|  9.31k|#define LGLSXP	    10	  /* logical vectors */
  |  |  ------------------
  |  |  |  Branch (6336:3): [True: 0, False: 1.06M]
  |  |  ------------------
  |  | 6337|  9.31k|		    if (i <= 0 || XLENGTH(vec) < i) break;		\
  |  |  ------------------
  |  |  |  Branch (6337:11): [True: 9.31k, False: 0]
  |  |  |  Branch (6337:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6338|  9.31k|		    SETSTACK_LOGICAL_PTR(sx, LOGICAL_ELT(vec, i - 1));	\
  |  |  ------------------
  |  |  |  | 4791|  9.31k|#define SETSTACK_LOGICAL_PTR(s, v) do {		\
  |  |  |  | 4792|  9.31k|	int __v__ = (v);			\
  |  |  |  | 4793|  9.31k|	(s)->tag = LGLSXP;			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  121|  9.31k|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  ------------------
  |  |  |  | 4794|  9.31k|	if (__v__ == NA_LOGICAL)		\
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  9.31k|#define NA_LOGICAL	R_NaInt
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4794:6): [True: 0, False: 9.31k]
  |  |  |  |  ------------------
  |  |  |  | 4795|  9.31k|	    (s)->u.ival = NA_LOGICAL;		\
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  |  |  ------------------
  |  |  |  | 4796|  9.31k|	else					\
  |  |  |  | 4797|  9.31k|	    (s)->u.ival = __v__ ? TRUE : FALSE;	\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4797:20): [True: 0, False: 9.31k]
  |  |  |  |  ------------------
  |  |  |  | 4798|  9.31k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4798:14): [Folded, False: 9.31k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6339|  9.31k|		    DFVE_NEXT();					\
  |  |  ------------------
  |  |  |  | 6314|  9.31k|#define	DFVE_NEXT() do {	\
  |  |  |  | 6315|  9.31k|	R_Visible = TRUE;	\
  |  |  |  | 6316|  9.31k|	R_BCNodeStackTop--;	\
  |  |  |  | 6317|  9.31k|	NEXT();			\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|  9.31k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 6318|  9.31k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (6318:14): [Folded, False: 9.31k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6340|  1.06M|	    }								\
  |  | 6341|  1.06M|	}								\
  |  | 6342|  1.08M|	VECSUBSET_PTR(vec, si, sx, rho, constants, callidx, sub2);	\
  |  | 6343|  1.07M|	DFVE_NEXT();							\
  |  |  ------------------
  |  |  |  | 6314|  1.07M|#define	DFVE_NEXT() do {	\
  |  |  |  | 6315|  1.07M|	R_Visible = TRUE;	\
  |  |  |  | 6316|  1.07M|	R_BCNodeStackTop--;	\
  |  |  |  | 6317|  1.07M|	NEXT();			\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|  1.07M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 6318|  1.07M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (6318:14): [Folded, False: 1.07M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6344|  1.07M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (6344:13): [Folded, False: 1.07M]
  |  |  ------------------
  ------------------
 8304|  1.07M|    OP(MATSUBSET, 1): DO_MATSUBSET(rho, FALSE); NEXT();
  ------------------
  |  | 5551|  1.07M|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  1.07M|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  1.07M|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  1.07M|    goto loop; \
  |  | 5555|  1.07M|    op_##name
  ------------------
                  OP(MATSUBSET, 1): DO_MATSUBSET(rho, FALSE); NEXT();
  ------------------
  |  | 6431|  2.29k|#define DO_MATSUBSET(rho, sub2) do {					\
  |  | 6432|  2.29k|	int callidx = GETOP();						\
  |  |  ------------------
  |  |  |  | 5569|  2.29k|#define GETOP() (*pc++).i
  |  |  ------------------
  |  | 6433|  2.29k|	R_bcstack_t *sx = R_BCNodeStackTop - 3;				\
  |  | 6434|  2.29k|	MATSUBSET_PTR(sx, R_BCNodeStackTop - 2, R_BCNodeStackTop - 1,	\
  |  | 6435|  2.29k|		      sx, rho, constants, callidx, sub2);		\
  |  | 6436|  2.29k|	R_BCNodeStackTop -= 2;						\
  |  | 6437|  2.29k|	R_Visible = TRUE;						\
  |  | 6438|  2.29k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6438:14): [Folded, False: 2.29k]
  |  |  ------------------
  ------------------
                  OP(MATSUBSET, 1): DO_MATSUBSET(rho, FALSE); NEXT();
  ------------------
  |  | 5568|  2.29k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8305|  2.29k|    OP(VECSUBASSIGN, 1): DO_VECSUBASSIGN(rho, FALSE);
  ------------------
  |  | 5551|  2.29k|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  2.29k|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  2.29k|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  2.29k|    goto loop; \
  |  | 5555|  2.29k|    op_##name
  ------------------
                  OP(VECSUBASSIGN, 1): DO_VECSUBASSIGN(rho, FALSE);
  ------------------
  |  | 6582|  2.11k|#define DO_VECSUBASSIGN(rho, sub2) do {					\
  |  | 6583|  2.11k|	int callidx = GETOP();						\
  |  |  ------------------
  |  |  |  | 5569|  2.11k|#define GETOP() (*pc++).i
  |  |  ------------------
  |  | 6584|  2.11k|	R_bcstack_t *sx = R_BCNodeStackTop - 3;				\
  |  | 6585|  2.11k|	R_bcstack_t *srhs = R_BCNodeStackTop - 2;			\
  |  | 6586|  2.11k|	R_bcstack_t *si = R_BCNodeStackTop - 1;				\
  |  | 6587|  2.11k|	SEXP vec = GETSTACK_PTR(sx);					\
  |  |  ------------------
  |  |  |  | 4751|  2.11k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4751:26): [True: 0, False: 2.11k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6588|  2.11k|	if (MAYBE_SHARED(vec)) {					\
  |  |  ------------------
  |  |  |  Branch (6588:6): [True: 0, False: 2.11k]
  |  |  ------------------
  |  | 6589|      0|	    vec = shallow_duplicate(vec);				\
  |  |  ------------------
  |  |  |  | 1030|      0|#define shallow_duplicate	Rf_shallow_duplicate
  |  |  ------------------
  |  | 6590|      0|	    SETSTACK_PTR(sx, vec);					\
  |  |  ------------------
  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6591|      0|	}								\
  |  | 6592|  2.11k|	if (srhs->tag && si->tag == INTSXP &&				\
  |  |  ------------------
  |  |  |  |  123|  2.54k|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |  |  Branch (6592:6): [True: 430, False: 1.68k]
  |  |  |  Branch (6592:19): [True: 2, False: 428]
  |  |  ------------------
  |  | 6593|  2.11k|	    srhs->tag == TYPEOF(vec)) {					\
  |  |  ------------------
  |  |  |  Branch (6593:6): [True: 2, False: 0]
  |  |  ------------------
  |  | 6594|      2|	    R_xlen_t i = si->u.ival;					\
  |  | 6595|      2|	    /* i >= 0 rules out NA_INTEGER */				\
  |  | 6596|      2|	    if (i > 0 && i <= XLENGTH(vec)) {				\
  |  |  ------------------
  |  |  |  Branch (6596:10): [True: 2, False: 0]
  |  |  |  Branch (6596:19): [True: 2, False: 0]
  |  |  ------------------
  |  | 6597|      2|		switch (TYPEOF(vec)) {					\
  |  |  ------------------
  |  |  |  Branch (6597:11): [True: 2, False: 0]
  |  |  ------------------
  |  | 6598|      0|		case REALSXP:						\
  |  |  ------------------
  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (6598:3): [True: 0, False: 2]
  |  |  ------------------
  |  | 6599|      0|		    REAL(vec)[i - 1] = srhs->u.dval;			\
  |  | 6600|      0|		    DFVA_NEXT(sx, vec);					\
  |  |  ------------------
  |  |  |  | 6575|      0|#define DFVA_NEXT(sx, vec) do {		\
  |  |  |  | 6576|      0|	SETSTACK_PTR(sx, vec);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 6577|      0|	SETTER_CLEAR_NAMED(vec);	\
  |  |  |  | 6578|      0|	R_BCNodeStackTop -= 2;		\
  |  |  |  | 6579|      0|	NEXT();				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 6580|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (6580:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6601|      0|		case INTSXP:						\
  |  |  ------------------
  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |  |  Branch (6601:3): [True: 0, False: 2]
  |  |  ------------------
  |  | 6602|      0|		    INTEGER(vec)[i - 1] = srhs->u.ival;			\
  |  | 6603|      0|		    DFVA_NEXT(sx, vec);					\
  |  |  ------------------
  |  |  |  | 6575|      0|#define DFVA_NEXT(sx, vec) do {		\
  |  |  |  | 6576|      0|	SETSTACK_PTR(sx, vec);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 6577|      0|	SETTER_CLEAR_NAMED(vec);	\
  |  |  |  | 6578|      0|	R_BCNodeStackTop -= 2;		\
  |  |  |  | 6579|      0|	NEXT();				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 6580|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (6580:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6604|      2|		case LGLSXP:						\
  |  |  ------------------
  |  |  |  |  121|      2|#define LGLSXP	    10	  /* logical vectors */
  |  |  ------------------
  |  |  |  Branch (6604:3): [True: 2, False: 0]
  |  |  ------------------
  |  | 6605|      2|		    LOGICAL(vec)[i - 1] = srhs->u.ival;			\
  |  | 6606|      2|		    DFVA_NEXT(sx, vec);					\
  |  |  ------------------
  |  |  |  | 6575|      2|#define DFVA_NEXT(sx, vec) do {		\
  |  |  |  | 6576|      2|	SETSTACK_PTR(sx, vec);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|      2|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|      2|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|      2|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 2]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|      2|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|      2|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|      2|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|      2|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 6577|      2|	SETTER_CLEAR_NAMED(vec);	\
  |  |  |  | 6578|      2|	R_BCNodeStackTop -= 2;		\
  |  |  |  | 6579|      2|	NEXT();				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      2|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 6580|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (6580:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6607|      2|		}							\
  |  | 6608|      2|	    }								\
  |  | 6609|      2|	}								\
  |  | 6610|  2.11k|	VECSUBASSIGN_PTR(vec, srhs, si, sx, rho, constants, callidx, sub2); \
  |  | 6611|  2.11k|	R_BCNodeStackTop -= 2;						\
  |  | 6612|  2.11k|	NEXT();								\
  |  |  ------------------
  |  |  |  | 5568|  2.11k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 6613|  2.11k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6613:14): [Folded, False: 2.11k]
  |  |  ------------------
  ------------------
 8306|  2.11k|    OP(MATSUBASSIGN, 1): DO_MATSUBASSIGN(rho, FALSE); NEXT();
  ------------------
  |  | 5551|  2.11k|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  2.11k|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  2.11k|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  2.11k|    goto loop; \
  |  | 5555|  2.11k|    op_##name
  ------------------
                  OP(MATSUBASSIGN, 1): DO_MATSUBASSIGN(rho, FALSE); NEXT();
  ------------------
  |  | 6662|      8|#define DO_MATSUBASSIGN(rho, sub2) do {					\
  |  | 6663|      8|	int callidx = GETOP();						\
  |  |  ------------------
  |  |  |  | 5569|      8|#define GETOP() (*pc++).i
  |  |  ------------------
  |  | 6664|      8|	R_bcstack_t *sx = R_BCNodeStackTop - 4;				\
  |  | 6665|      8|	MATSUBASSIGN_PTR(sx, R_BCNodeStackTop - 3,			\
  |  | 6666|      8|			 R_BCNodeStackTop - 2, R_BCNodeStackTop - 1,	\
  |  | 6667|      8|			 sx, rho, constants, callidx, sub2);		\
  |  | 6668|      8|	R_BCNodeStackTop -= 3;						\
  |  | 6669|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6669:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
                  OP(MATSUBASSIGN, 1): DO_MATSUBASSIGN(rho, FALSE); NEXT();
  ------------------
  |  | 5568|      8|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8307|  61.8k|    OP(AND1ST, 2): {
  ------------------
  |  | 5551|     10|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|     10|    opinfo[name##_OP].argc = (n); \
  |  | 5553|     10|    opinfo[name##_OP].instname = #name; \
  |  | 5554|     10|    goto loop; \
  |  | 5555|  61.8k|    op_##name
  ------------------
 8308|  61.8k|	int callidx = GETOP();
  ------------------
  |  | 5569|  61.8k|#define GETOP() (*pc++).i
  ------------------
 8309|  61.8k|	int label = GETOP();
  ------------------
  |  | 5569|  61.8k|#define GETOP() (*pc++).i
  ------------------
 8310|  61.8k|	FIXUP_SCALAR_LOGICAL(rho, callidx, "'x'", "&&", warn_lev);
  ------------------
  |  | 6719|  61.8k|#define FIXUP_SCALAR_LOGICAL(rho, callidx, arg, op, warn_level) do {	\
  |  | 6720|  61.8k|	if (R_BCNodeStackTop[-1].tag == LGLSXP) break;			\
  |  |  ------------------
  |  |  |  |  121|  61.8k|#define LGLSXP	    10	  /* logical vectors */
  |  |  ------------------
  |  |  |  Branch (6720:6): [True: 4.29k, False: 57.5k]
  |  |  ------------------
  |  | 6721|  61.8k|	SEXP val = GETSTACK(-1);					\
  |  |  ------------------
  |  |  |  | 4817|  57.5k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4751|  57.5k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 57.5k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6722|  57.5k|	if (IS_SIMPLE_SCALAR(val, LGLSXP))				\
  |  |  ------------------
  |  |  |  |  218|  57.5k|    (IS_SCALAR(x, type) && ATTRIB(x) == R_NilValue)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (218:6): [True: 55.9k, False: 1.58k]
  |  |  |  |  |  Branch (218:28): [True: 55.9k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6723|  57.5k|	    SETSTACK(-1, ScalarLogical(SCALAR_LVAL(val)));		\
  |  |  ------------------
  |  |  |  | 4819|  55.9k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|  55.9k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|  55.9k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|  55.9k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 55.9k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|  55.9k|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|  55.9k|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|  55.9k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|  55.9k|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 55.9k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6724|  57.5k|	else {								\
  |  | 6725|  1.58k|	    if (!isNumber(val))						\
  |  |  ------------------
  |  |  |  |  958|  1.58k|#define isNumber		Rf_isNumber
  |  |  ------------------
  |  |  |  Branch (6725:10): [True: 0, False: 1.58k]
  |  |  ------------------
  |  | 6726|  1.58k|		errorcall(GETCONST(constants, callidx),			\
  |  |  ------------------
  |  |  |  |  912|      0|#define errorcall		Rf_errorcall
  |  |  ------------------
  |  |               		errorcall(GETCONST(constants, callidx),			\
  |  |  ------------------
  |  |  |  | 5463|      0|#define GETCONST(x, i) ((x).p)[i]
  |  |  ------------------
  |  | 6727|      0|			  _("invalid %s type in 'x %s y'"), arg, op);	\
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 6728|  1.58k|	    SETSTACK(-1, ScalarLogical(asLogical2(			\
  |  |  ------------------
  |  |  |  | 4819|  1.58k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|  1.58k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|  1.58k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|  1.58k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 1.58k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|  1.58k|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|  1.58k|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|  1.58k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|  1.58k|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 1.58k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6729|  1.58k|					   val, /*checking*/ 1,		\
  |  | 6730|  1.58k|					   GETCONST(constants, callidx) \
  |  | 6731|  1.58k|					   )));				\
  |  | 6732|  1.58k|	}								\
  |  | 6733|  57.5k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (6733:13): [Folded, False: 57.5k]
  |  |  ------------------
  ------------------
 8311|  61.8k|	int val = GETSTACK_LOGICAL(-1);
  ------------------
  |  | 6878|  61.8k|#define GETSTACK_LOGICAL(n) GETSTACK_LOGICAL_PTR(R_BCNodeStackTop + (n))
  ------------------
 8312|  61.8k|	if (val == FALSE)
  ------------------
  |  Branch (8312:6): [True: 20.5k, False: 41.3k]
  ------------------
 8313|  20.5k|	    pc = codebase + label;
 8314|  61.8k|	R_Visible = TRUE;
 8315|  61.8k|	NEXT();
  ------------------
  |  | 5568|  61.8k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8316|  61.8k|    }
 8317|  61.8k|    OP(AND2ND, 1): {
  ------------------
  |  | 5551|  61.8k|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  61.8k|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  61.8k|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  61.8k|    goto loop; \
  |  | 5555|  61.8k|    op_##name
  ------------------
 8318|  41.3k|	int callidx = GETOP();
  ------------------
  |  | 5569|  41.3k|#define GETOP() (*pc++).i
  ------------------
 8319|  41.3k|	FIXUP_SCALAR_LOGICAL(rho, callidx, "'y'", "&&", warn_lev);
  ------------------
  |  | 6719|  41.3k|#define FIXUP_SCALAR_LOGICAL(rho, callidx, arg, op, warn_level) do {	\
  |  | 6720|  41.3k|	if (R_BCNodeStackTop[-1].tag == LGLSXP) break;			\
  |  |  ------------------
  |  |  |  |  121|  41.3k|#define LGLSXP	    10	  /* logical vectors */
  |  |  ------------------
  |  |  |  Branch (6720:6): [True: 4.02k, False: 37.3k]
  |  |  ------------------
  |  | 6721|  41.3k|	SEXP val = GETSTACK(-1);					\
  |  |  ------------------
  |  |  |  | 4817|  37.3k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4751|  37.3k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4751:26): [True: 8, False: 37.3k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6722|  37.3k|	if (IS_SIMPLE_SCALAR(val, LGLSXP))				\
  |  |  ------------------
  |  |  |  |  218|  37.3k|    (IS_SCALAR(x, type) && ATTRIB(x) == R_NilValue)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (218:6): [True: 36.7k, False: 597]
  |  |  |  |  |  Branch (218:28): [True: 36.7k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6723|  37.3k|	    SETSTACK(-1, ScalarLogical(SCALAR_LVAL(val)));		\
  |  |  ------------------
  |  |  |  | 4819|  36.7k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|  36.7k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|  36.7k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|  36.7k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 36.7k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|  36.7k|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|  36.7k|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|  36.7k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|  36.7k|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 36.7k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6724|  37.3k|	else {								\
  |  | 6725|    597|	    if (!isNumber(val))						\
  |  |  ------------------
  |  |  |  |  958|    597|#define isNumber		Rf_isNumber
  |  |  ------------------
  |  |  |  Branch (6725:10): [True: 0, False: 597]
  |  |  ------------------
  |  | 6726|    597|		errorcall(GETCONST(constants, callidx),			\
  |  |  ------------------
  |  |  |  |  912|      0|#define errorcall		Rf_errorcall
  |  |  ------------------
  |  |               		errorcall(GETCONST(constants, callidx),			\
  |  |  ------------------
  |  |  |  | 5463|      0|#define GETCONST(x, i) ((x).p)[i]
  |  |  ------------------
  |  | 6727|      0|			  _("invalid %s type in 'x %s y'"), arg, op);	\
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 6728|    597|	    SETSTACK(-1, ScalarLogical(asLogical2(			\
  |  |  ------------------
  |  |  |  | 4819|    597|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|    597|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|    597|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|    597|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 597]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|    597|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|    597|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|    597|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|    597|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 597]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6729|    597|					   val, /*checking*/ 1,		\
  |  | 6730|    597|					   GETCONST(constants, callidx) \
  |  | 6731|    597|					   )));				\
  |  | 6732|    597|	}								\
  |  | 6733|  37.3k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (6733:13): [Folded, False: 37.3k]
  |  |  ------------------
  ------------------
 8320|  41.3k|	int val = GETSTACK_LOGICAL(-1);
  ------------------
  |  | 6878|  41.3k|#define GETSTACK_LOGICAL(n) GETSTACK_LOGICAL_PTR(R_BCNodeStackTop + (n))
  ------------------
 8321|       |	/* The first argument is TRUE or NA. If the second argument is
 8322|       |	   not TRUE then its value is the result. If the second
 8323|       |	   argument is TRUE, then the first argument's value is the
 8324|       |	   result. */
 8325|  41.3k|	if (val == FALSE || val == NA_LOGICAL)
  ------------------
  |  |   55|  29.7k|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (8325:6): [True: 11.6k, False: 29.7k]
  |  Branch (8325:22): [True: 0, False: 29.7k]
  ------------------
 8326|  41.3k|	    SETSTACK_LOGICAL(-2, val);
  ------------------
  |  | 4825|  11.6k|#define SETSTACK_LOGICAL(i, v) SETSTACK_LOGICAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  ------------------
  |  |  |  | 4791|  11.6k|#define SETSTACK_LOGICAL_PTR(s, v) do {		\
  |  |  |  | 4792|  11.6k|	int __v__ = (v);			\
  |  |  |  | 4793|  11.6k|	(s)->tag = LGLSXP;			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  121|  11.6k|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  ------------------
  |  |  |  | 4794|  11.6k|	if (__v__ == NA_LOGICAL)		\
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  11.6k|#define NA_LOGICAL	R_NaInt
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4794:6): [True: 0, False: 11.6k]
  |  |  |  |  ------------------
  |  |  |  | 4795|  11.6k|	    (s)->u.ival = NA_LOGICAL;		\
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  |  |  ------------------
  |  |  |  | 4796|  11.6k|	else					\
  |  |  |  | 4797|  11.6k|	    (s)->u.ival = __v__ ? TRUE : FALSE;	\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4797:20): [True: 0, False: 11.6k]
  |  |  |  |  ------------------
  |  |  |  | 4798|  11.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4798:14): [Folded, False: 11.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8327|  41.3k|	R_BCNodeStackTop -= 1;
 8328|  41.3k|	R_Visible = TRUE;
 8329|  41.3k|	NEXT();
  ------------------
  |  | 5568|  41.3k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8330|  41.3k|    }
 8331|  41.3k|    OP(OR1ST, 2):  {
  ------------------
  |  | 5551|  41.3k|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  41.3k|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  41.3k|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  41.3k|    goto loop; \
  |  | 5555|  41.3k|    op_##name
  ------------------
 8332|  32.8k|	int callidx = GETOP();
  ------------------
  |  | 5569|  32.8k|#define GETOP() (*pc++).i
  ------------------
 8333|  32.8k|	int label = GETOP();
  ------------------
  |  | 5569|  32.8k|#define GETOP() (*pc++).i
  ------------------
 8334|  32.8k|	FIXUP_SCALAR_LOGICAL(rho, callidx, "'x'", "||", warn_lev);
  ------------------
  |  | 6719|  32.8k|#define FIXUP_SCALAR_LOGICAL(rho, callidx, arg, op, warn_level) do {	\
  |  | 6720|  32.8k|	if (R_BCNodeStackTop[-1].tag == LGLSXP) break;			\
  |  |  ------------------
  |  |  |  |  121|  32.8k|#define LGLSXP	    10	  /* logical vectors */
  |  |  ------------------
  |  |  |  Branch (6720:6): [True: 708, False: 32.1k]
  |  |  ------------------
  |  | 6721|  32.8k|	SEXP val = GETSTACK(-1);					\
  |  |  ------------------
  |  |  |  | 4817|  32.1k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4751|  32.1k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 32.1k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6722|  32.1k|	if (IS_SIMPLE_SCALAR(val, LGLSXP))				\
  |  |  ------------------
  |  |  |  |  218|  32.1k|    (IS_SCALAR(x, type) && ATTRIB(x) == R_NilValue)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (218:6): [True: 29.5k, False: 2.58k]
  |  |  |  |  |  Branch (218:28): [True: 29.5k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6723|  32.1k|	    SETSTACK(-1, ScalarLogical(SCALAR_LVAL(val)));		\
  |  |  ------------------
  |  |  |  | 4819|  29.5k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|  29.5k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|  29.5k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|  29.5k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 29.5k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|  29.5k|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|  29.5k|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|  29.5k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|  29.5k|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 29.5k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6724|  32.1k|	else {								\
  |  | 6725|  2.58k|	    if (!isNumber(val))						\
  |  |  ------------------
  |  |  |  |  958|  2.58k|#define isNumber		Rf_isNumber
  |  |  ------------------
  |  |  |  Branch (6725:10): [True: 0, False: 2.58k]
  |  |  ------------------
  |  | 6726|  2.58k|		errorcall(GETCONST(constants, callidx),			\
  |  |  ------------------
  |  |  |  |  912|      0|#define errorcall		Rf_errorcall
  |  |  ------------------
  |  |               		errorcall(GETCONST(constants, callidx),			\
  |  |  ------------------
  |  |  |  | 5463|      0|#define GETCONST(x, i) ((x).p)[i]
  |  |  ------------------
  |  | 6727|      0|			  _("invalid %s type in 'x %s y'"), arg, op);	\
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 6728|  2.58k|	    SETSTACK(-1, ScalarLogical(asLogical2(			\
  |  |  ------------------
  |  |  |  | 4819|  2.58k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|  2.58k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|  2.58k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|  2.58k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 2.58k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|  2.58k|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|  2.58k|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|  2.58k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|  2.58k|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 2.58k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6729|  2.58k|					   val, /*checking*/ 1,		\
  |  | 6730|  2.58k|					   GETCONST(constants, callidx) \
  |  | 6731|  2.58k|					   )));				\
  |  | 6732|  2.58k|	}								\
  |  | 6733|  32.1k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (6733:13): [Folded, False: 32.1k]
  |  |  ------------------
  ------------------
 8335|  32.8k|	int val = GETSTACK_LOGICAL(-1);
  ------------------
  |  | 6878|  32.8k|#define GETSTACK_LOGICAL(n) GETSTACK_LOGICAL_PTR(R_BCNodeStackTop + (n))
  ------------------
 8336|  32.8k|	if (val != NA_LOGICAL &&
  ------------------
  |  |   55|  65.7k|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (8336:6): [True: 32.3k, False: 464]
  ------------------
 8337|  32.3k|	    val != FALSE) /* is true */
  ------------------
  |  Branch (8337:6): [True: 13.0k, False: 19.3k]
  ------------------
 8338|  13.0k|	    pc = codebase + label;
 8339|  32.8k|	R_Visible = TRUE;
 8340|  32.8k|	NEXT();
  ------------------
  |  | 5568|  32.8k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8341|  32.8k|    }
 8342|  32.8k|    OP(OR2ND, 1):  {
  ------------------
  |  | 5551|  32.8k|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  32.8k|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  32.8k|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  32.8k|    goto loop; \
  |  | 5555|  32.8k|    op_##name
  ------------------
 8343|  19.8k|	int callidx = GETOP();
  ------------------
  |  | 5569|  19.8k|#define GETOP() (*pc++).i
  ------------------
 8344|  19.8k|	FIXUP_SCALAR_LOGICAL(rho, callidx, "'y'", "||", warn_lev);
  ------------------
  |  | 6719|  19.8k|#define FIXUP_SCALAR_LOGICAL(rho, callidx, arg, op, warn_level) do {	\
  |  | 6720|  19.8k|	if (R_BCNodeStackTop[-1].tag == LGLSXP) break;			\
  |  |  ------------------
  |  |  |  |  121|  19.8k|#define LGLSXP	    10	  /* logical vectors */
  |  |  ------------------
  |  |  |  Branch (6720:6): [True: 1.87k, False: 17.9k]
  |  |  ------------------
  |  | 6721|  19.8k|	SEXP val = GETSTACK(-1);					\
  |  |  ------------------
  |  |  |  | 4817|  17.9k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4751|  17.9k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 17.9k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6722|  17.9k|	if (IS_SIMPLE_SCALAR(val, LGLSXP))				\
  |  |  ------------------
  |  |  |  |  218|  17.9k|    (IS_SCALAR(x, type) && ATTRIB(x) == R_NilValue)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (218:6): [True: 16.1k, False: 1.82k]
  |  |  |  |  |  Branch (218:28): [True: 16.1k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6723|  17.9k|	    SETSTACK(-1, ScalarLogical(SCALAR_LVAL(val)));		\
  |  |  ------------------
  |  |  |  | 4819|  16.1k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|  16.1k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|  16.1k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|  16.1k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 16.1k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|  16.1k|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|  16.1k|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|  16.1k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|  16.1k|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 16.1k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6724|  17.9k|	else {								\
  |  | 6725|  1.82k|	    if (!isNumber(val))						\
  |  |  ------------------
  |  |  |  |  958|  1.82k|#define isNumber		Rf_isNumber
  |  |  ------------------
  |  |  |  Branch (6725:10): [True: 0, False: 1.82k]
  |  |  ------------------
  |  | 6726|  1.82k|		errorcall(GETCONST(constants, callidx),			\
  |  |  ------------------
  |  |  |  |  912|      0|#define errorcall		Rf_errorcall
  |  |  ------------------
  |  |               		errorcall(GETCONST(constants, callidx),			\
  |  |  ------------------
  |  |  |  | 5463|      0|#define GETCONST(x, i) ((x).p)[i]
  |  |  ------------------
  |  | 6727|      0|			  _("invalid %s type in 'x %s y'"), arg, op);	\
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 6728|  1.82k|	    SETSTACK(-1, ScalarLogical(asLogical2(			\
  |  |  ------------------
  |  |  |  | 4819|  1.82k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|  1.82k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|  1.82k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|  1.82k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 1.82k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|  1.82k|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|  1.82k|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|  1.82k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|  1.82k|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 1.82k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6729|  1.82k|					   val, /*checking*/ 1,		\
  |  | 6730|  1.82k|					   GETCONST(constants, callidx) \
  |  | 6731|  1.82k|					   )));				\
  |  | 6732|  1.82k|	}								\
  |  | 6733|  17.9k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (6733:13): [Folded, False: 17.9k]
  |  |  ------------------
  ------------------
 8345|  19.8k|	int val = GETSTACK_LOGICAL(-1);
  ------------------
  |  | 6878|  19.8k|#define GETSTACK_LOGICAL(n) GETSTACK_LOGICAL_PTR(R_BCNodeStackTop + (n))
  ------------------
 8346|       |	/* The first argument is FALSE or NA. If the second argument is
 8347|       |	   not FALSE then its value is the result. If the second
 8348|       |	   argument is FALSE, then the first argument's value is the
 8349|       |	   result. */
 8350|  19.8k|	if (val != FALSE)
  ------------------
  |  Branch (8350:6): [True: 2.57k, False: 17.2k]
  ------------------
 8351|  19.8k|	    SETSTACK_LOGICAL(-2, val);
  ------------------
  |  | 4825|  2.57k|#define SETSTACK_LOGICAL(i, v) SETSTACK_LOGICAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  ------------------
  |  |  |  | 4791|  2.57k|#define SETSTACK_LOGICAL_PTR(s, v) do {		\
  |  |  |  | 4792|  2.57k|	int __v__ = (v);			\
  |  |  |  | 4793|  2.57k|	(s)->tag = LGLSXP;			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  121|  2.57k|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  ------------------
  |  |  |  | 4794|  2.57k|	if (__v__ == NA_LOGICAL)		\
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  2.57k|#define NA_LOGICAL	R_NaInt
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4794:6): [True: 190, False: 2.38k]
  |  |  |  |  ------------------
  |  |  |  | 4795|  2.57k|	    (s)->u.ival = NA_LOGICAL;		\
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    190|#define NA_LOGICAL	R_NaInt
  |  |  |  |  ------------------
  |  |  |  | 4796|  2.57k|	else					\
  |  |  |  | 4797|  2.57k|	    (s)->u.ival = __v__ ? TRUE : FALSE;	\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4797:20): [True: 2.38k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 4798|  2.57k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4798:14): [Folded, False: 2.57k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8352|  19.8k|	R_BCNodeStackTop -= 1;
 8353|  19.8k|	R_Visible = TRUE;
 8354|  19.8k|	NEXT();
  ------------------
  |  | 5568|  19.8k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8355|  19.8k|    }
 8356|  5.26M|    OP(GETVAR_MISSOK, 1): DO_GETVAR(FALSE, TRUE);
  ------------------
  |  | 5551|  19.8k|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  19.8k|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  19.8k|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  19.8k|    goto loop; \
  |  | 5555|  5.26M|    op_##name
  ------------------
                  OP(GETVAR_MISSOK, 1): DO_GETVAR(FALSE, TRUE);
  ------------------
  |  | 5834|  5.26M|#define DO_GETVAR(dd,keepmiss) do { \
  |  | 5835|  5.26M|    int sidx = GETOP(); \
  |  |  ------------------
  |  |  |  | 5569|  5.26M|#define GETOP() (*pc++).i
  |  |  ------------------
  |  | 5836|  5.26M|    R_Visible = TRUE;	     \
  |  | 5837|  5.26M|    if (!dd && smallcache) {						\
  |  |  ------------------
  |  |  |  Branch (5837:9): [True: 5.26M, Folded]
  |  |  |  Branch (5837:16): [True: 5.25M, False: 3.93k]
  |  |  ------------------
  |  | 5838|  5.25M|	SEXP cell = GET_SMALLCACHE_BINDING_CELL(vcache, sidx);		\
  |  |  ------------------
  |  |  |  | 5684|  5.25M|#  define GET_SMALLCACHE_BINDING_CELL(vcache, sidx) VCACHE(sidx)
  |  |  |  |  ------------------
  |  |  |  |  |  | 5681|  5.25M|#  define VCACHE(i) GETSTACK_SXPVAL_PTR(vcache + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4753|  5.25M|#define GETSTACK_SXPVAL_PTR(s) ((s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5839|  5.25M|	if (cell == R_NilValue) {					\
  |  |  ------------------
  |  |  |  Branch (5839:6): [True: 1.05M, False: 4.20M]
  |  |  ------------------
  |  | 5840|  1.05M|	    /* make sure local variable cells are cached */		\
  |  | 5841|  1.05M|	    SEXP symbol = GETCONST(constants, sidx);			\
  |  |  ------------------
  |  |  |  | 5463|  1.05M|#define GETCONST(x, i) ((x).p)[i]
  |  |  ------------------
  |  | 5842|  1.05M|	    cell = GET_BINDING_CELL_CACHE(symbol, rho, vcache, sidx);	\
  |  | 5843|  1.05M|	}								\
  |  | 5844|  5.25M|	/* handle immediate binings */					\
  |  | 5845|  5.25M|	switch (BNDCELL_TAG(cell)) {					\
  |  |  ------------------
  |  |  |  Branch (5845:10): [True: 5.24M, False: 11.4k]
  |  |  ------------------
  |  | 5846|      0|	case REALSXP: BCNPUSH_REAL(BNDCELL_DVAL(cell)); NEXT();		\
  |  |  ------------------
  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |               	case REALSXP: BCNPUSH_REAL(BNDCELL_DVAL(cell)); NEXT();		\
  |  |  ------------------
  |  |  |  | 5375|      0|#define BCNPUSH_REAL(v) do { \
  |  |  |  | 5376|      0|  double __value__ = (v); \
  |  |  |  | 5377|      0|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5378|      0|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5378:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5379|      0|  __ntop__[-1].u.dval = __value__; \
  |  |  |  | 5380|      0|  __ntop__[-1].tag = REALSXP; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  |  |  ------------------
  |  |  |  | 5381|      0|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5382|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5382:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               	case REALSXP: BCNPUSH_REAL(BNDCELL_DVAL(cell)); NEXT();		\
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  |  |  Branch (5846:2): [True: 0, False: 5.25M]
  |  |  ------------------
  |  | 5847|  5.24M|	case INTSXP: BCNPUSH_INTEGER(BNDCELL_IVAL(cell)); NEXT();	\
  |  |  ------------------
  |  |  |  |  123|  5.24M|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	case INTSXP: BCNPUSH_INTEGER(BNDCELL_IVAL(cell)); NEXT();	\
  |  |  ------------------
  |  |  |  | 5384|  5.24M|#define BCNPUSH_INTEGER(v) do { \
  |  |  |  | 5385|  5.24M|  int __value__ = (v); \
  |  |  |  | 5386|  5.24M|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5387|  5.24M|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5387:7): [True: 0, False: 5.24M]
  |  |  |  |  ------------------
  |  |  |  | 5388|  5.24M|  __ntop__[-1].u.ival = __value__; \
  |  |  |  | 5389|  5.24M|  __ntop__[-1].tag = INTSXP; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  123|  5.24M|#define INTSXP	    13	  /* integer vectors */
  |  |  |  |  ------------------
  |  |  |  | 5390|  5.24M|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5391|  5.24M|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5391:10): [Folded, False: 5.24M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               	case INTSXP: BCNPUSH_INTEGER(BNDCELL_IVAL(cell)); NEXT();	\
  |  |  ------------------
  |  |  |  | 5568|  5.24M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  |  |  Branch (5847:2): [True: 5.24M, False: 11.4k]
  |  |  ------------------
  |  | 5848|  5.24M|	case LGLSXP: BCNPUSH_LOGICAL(BNDCELL_LVAL(cell)); NEXT();	\
  |  |  ------------------
  |  |  |  |  121|  5.24M|#define LGLSXP	    10	  /* logical vectors */
  |  |  ------------------
  |  |               	case LGLSXP: BCNPUSH_LOGICAL(BNDCELL_LVAL(cell)); NEXT();	\
  |  |  ------------------
  |  |  |  | 5393|  5.24M|#define BCNPUSH_LOGICAL(v) do { \
  |  |  |  | 5394|  5.24M|  int __value__ = (v); \
  |  |  |  | 5395|  5.24M|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5396|  5.24M|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5396:7): [True: 0, False: 5.24M]
  |  |  |  |  ------------------
  |  |  |  | 5397|  5.24M|  __ntop__[-1].u.ival = __value__; \
  |  |  |  | 5398|  5.24M|  __ntop__[-1].tag = LGLSXP; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  121|  5.24M|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  ------------------
  |  |  |  | 5399|  5.24M|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5400|  5.24M|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5400:10): [Folded, False: 5.24M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               	case LGLSXP: BCNPUSH_LOGICAL(BNDCELL_LVAL(cell)); NEXT();	\
  |  |  ------------------
  |  |  |  | 5568|  5.24M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  |  |  Branch (5848:2): [True: 0, False: 5.25M]
  |  |  ------------------
  |  | 5849|  5.25M|	}								\
  |  | 5850|  5.25M|	SEXP value = CAR(cell);						\
  |  | 5851|  11.4k|	int type = TYPEOF(value);					\
  |  | 5852|  11.4k|	/* extract value of forced promises */				\
  |  | 5853|  11.4k|	if (type == PROMSXP) {						\
  |  |  ------------------
  |  |  |  |  116|  11.4k|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  |  |  ------------------
  |  |  |  Branch (5853:6): [True: 3.07k, False: 8.40k]
  |  |  ------------------
  |  | 5854|  3.07k|	    if (PROMISE_IS_EVALUATED(value)) {				\
  |  |  ------------------
  |  |  |  Branch (5854:10): [True: 2.09k, False: 980]
  |  |  ------------------
  |  | 5855|  2.09k|		switch (PROMISE_TAG(value)) {				\
  |  |  ------------------
  |  |  |  Branch (5855:11): [True: 0, False: 2.09k]
  |  |  ------------------
  |  | 5856|      0|		case REALSXP: BCNPUSH_REAL(PROMISE_DVAL(value)); NEXT(); \
  |  |  ------------------
  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |               		case REALSXP: BCNPUSH_REAL(PROMISE_DVAL(value)); NEXT(); \
  |  |  ------------------
  |  |  |  | 5375|      0|#define BCNPUSH_REAL(v) do { \
  |  |  |  | 5376|      0|  double __value__ = (v); \
  |  |  |  | 5377|      0|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5378|      0|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5378:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5379|      0|  __ntop__[-1].u.dval = __value__; \
  |  |  |  | 5380|      0|  __ntop__[-1].tag = REALSXP; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  |  |  ------------------
  |  |  |  | 5381|      0|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5382|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5382:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               		case REALSXP: BCNPUSH_REAL(PROMISE_DVAL(value)); NEXT(); \
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  |  |  Branch (5856:3): [True: 0, False: 2.09k]
  |  |  ------------------
  |  | 5857|      0|		case INTSXP: BCNPUSH_INTEGER(PROMISE_IVAL(value)); NEXT(); \
  |  |  ------------------
  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               		case INTSXP: BCNPUSH_INTEGER(PROMISE_IVAL(value)); NEXT(); \
  |  |  ------------------
  |  |  |  | 5384|      0|#define BCNPUSH_INTEGER(v) do { \
  |  |  |  | 5385|      0|  int __value__ = (v); \
  |  |  |  | 5386|      0|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5387|      0|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5387:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5388|      0|  __ntop__[-1].u.ival = __value__; \
  |  |  |  | 5389|      0|  __ntop__[-1].tag = INTSXP; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  |  |  ------------------
  |  |  |  | 5390|      0|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5391|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5391:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               		case INTSXP: BCNPUSH_INTEGER(PROMISE_IVAL(value)); NEXT(); \
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  |  |  Branch (5857:3): [True: 0, False: 2.09k]
  |  |  ------------------
  |  | 5858|      0|		case LGLSXP: BCNPUSH_LOGICAL(PROMISE_LVAL(value)); NEXT(); \
  |  |  ------------------
  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  ------------------
  |  |               		case LGLSXP: BCNPUSH_LOGICAL(PROMISE_LVAL(value)); NEXT(); \
  |  |  ------------------
  |  |  |  | 5393|      0|#define BCNPUSH_LOGICAL(v) do { \
  |  |  |  | 5394|      0|  int __value__ = (v); \
  |  |  |  | 5395|      0|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5396|      0|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5396:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5397|      0|  __ntop__[-1].u.ival = __value__; \
  |  |  |  | 5398|      0|  __ntop__[-1].tag = LGLSXP; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  ------------------
  |  |  |  | 5399|      0|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5400|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5400:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               		case LGLSXP: BCNPUSH_LOGICAL(PROMISE_LVAL(value)); NEXT(); \
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  |  |  Branch (5858:3): [True: 0, False: 2.09k]
  |  |  ------------------
  |  | 5859|  2.09k|		}							\
  |  | 5860|  2.09k|		value = PRVALUE(value);					\
  |  | 5861|  2.09k|		type = TYPEOF(value);					\
  |  | 5862|  2.09k|	    }								\
  |  | 5863|  3.07k|	}								\
  |  | 5864|  11.4k|	/* try fast handling of some types; for these the */		\
  |  | 5865|  11.4k|	/* cell won't be R_NilValue or an active binding */		\
  |  | 5866|  11.4k|	switch(type) {							\
  |  | 5867|      0|	case REALSXP:							\
  |  |  ------------------
  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (5867:2): [True: 0, False: 11.4k]
  |  |  ------------------
  |  | 5868|  4.28k|	case INTSXP:							\
  |  |  ------------------
  |  |  |  |  123|  4.28k|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |  |  Branch (5868:2): [True: 4.28k, False: 7.19k]
  |  |  ------------------
  |  | 5869|  4.41k|	case LGLSXP:							\
  |  |  ------------------
  |  |  |  |  121|  4.41k|#define LGLSXP	    10	  /* logical vectors */
  |  |  ------------------
  |  |  |  Branch (5869:2): [True: 128, False: 11.3k]
  |  |  ------------------
  |  | 5870|  4.41k|	case CPLXSXP:							\
  |  |  ------------------
  |  |  |  |  125|  4.41k|#define CPLXSXP	    15	  /* complex variables */
  |  |  ------------------
  |  |  |  Branch (5870:2): [True: 0, False: 11.4k]
  |  |  ------------------
  |  | 5871|  10.5k|	case STRSXP:							\
  |  |  ------------------
  |  |  |  |  126|  10.5k|#define STRSXP	    16	  /* string vectors */
  |  |  ------------------
  |  |  |  Branch (5871:2): [True: 6.08k, False: 5.39k]
  |  |  ------------------
  |  | 5872|  10.5k|	case VECSXP:							\
  |  |  ------------------
  |  |  |  |  131|  10.5k|#define VECSXP	    19	  /* generic vectors */
  |  |  ------------------
  |  |  |  Branch (5872:2): [True: 0, False: 11.4k]
  |  |  ------------------
  |  | 5873|  10.5k|	case RAWSXP:							\
  |  |  ------------------
  |  |  |  |  136|  10.5k|#define RAWSXP      24    /* raw bytes */
  |  |  ------------------
  |  |  |  Branch (5873:2): [True: 0, False: 11.4k]
  |  |  ------------------
  |  | 5874|  10.5k|	    BCNPUSH(value);						\
  |  |  ------------------
  |  |  |  | 5362|  10.5k|#define BCNPUSH(v) do { \
  |  |  |  | 5363|  10.5k|  SEXP __value__ = (v); \
  |  |  |  | 5364|  10.5k|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5365|  10.5k|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5365:7): [True: 0, False: 10.5k]
  |  |  |  |  ------------------
  |  |  |  | 5366|  10.5k|  SETSTACK(0, __value__); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  10.5k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  10.5k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  10.5k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  10.5k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 10.5k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  10.5k|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|  10.5k|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  10.5k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  10.5k|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 10.5k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5367|  10.5k|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5368|  10.5k|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5368:10): [Folded, False: 10.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5875|  10.5k|	    NEXT();							\
  |  |  ------------------
  |  |  |  | 5568|  10.5k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 5876|  10.5k|	case SYMSXP:							\
  |  |  ------------------
  |  |  |  |  112|  10.5k|#define SYMSXP	     1	  /* symbols */
  |  |  ------------------
  |  |  |  Branch (5876:2): [True: 0, False: 11.4k]
  |  |  ------------------
  |  | 5877|  11.4k|	case PROMSXP:							\
  |  |  ------------------
  |  |  |  |  116|  11.4k|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  |  |  ------------------
  |  |  |  Branch (5877:2): [True: 980, False: 10.5k]
  |  |  ------------------
  |  | 5878|  11.4k|	    break;							\
  |  | 5879|  10.5k|	default:							\
  |  |  ------------------
  |  |  |  Branch (5879:2): [True: 0, False: 11.4k]
  |  |  ------------------
  |  | 5880|      0|	    if (cell != R_NilValue && ! IS_ACTIVE_BINDING(cell)) {	\
  |  |  ------------------
  |  |  |  Branch (5880:10): [True: 0, False: 0]
  |  |  |  Branch (5880:32): [True: 0, False: 0]
  |  |  ------------------
  |  | 5881|      0|		BCNPUSH(value);						\
  |  |  ------------------
  |  |  |  | 5362|      0|#define BCNPUSH(v) do { \
  |  |  |  | 5363|      0|  SEXP __value__ = (v); \
  |  |  |  | 5364|      0|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5365|      0|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5365:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5366|      0|  SETSTACK(0, __value__); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5367|      0|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5368|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5368:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5882|      0|		NEXT();							\
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 5883|      0|	    }								\
  |  | 5884|  11.4k|	}								\
  |  | 5885|  11.4k|    }									\
  |  | 5886|  5.26M|    SEXP symbol = GETCONST(constants, sidx);				\
  |  |  ------------------
  |  |  |  | 5463|  4.91k|#define GETCONST(x, i) ((x).p)[i]
  |  |  ------------------
  |  | 5887|  4.91k|    SEXP value = findVarEX(symbol, rho, dd, vcache, sidx);		\
  |  | 5888|  4.91k|    if (! keepmiss && TYPEOF(value) == PROMSXP &&			\
  |  |  ------------------
  |  |  |  |  116|  4.91k|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  |  |  ------------------
  |  |  |  Branch (5888:9): [Folded, False: 4.91k]
  |  |  |  Branch (5888:23): [True: 0, False: 0]
  |  |  ------------------
  |  | 5889|  4.91k|	! PRSEEN(value) && ! PROMISE_IS_EVALUATED(value) &&		\
  |  |  ------------------
  |  |  |  Branch (5889:2): [True: 0, False: 0]
  |  |  |  Branch (5889:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 5890|  4.91k|	TYPEOF(PRCODE(value)) == BCODESXP) {				\
  |  |  ------------------
  |  |  |  |  133|      0|#define BCODESXP    21    /* byte code */
  |  |  ------------------
  |  |  |  Branch (5890:2): [True: 0, False: 0]
  |  |  ------------------
  |  | 5891|      0|	START_BCFRAME_PROM(value);					\
  |  |  ------------------
  |  |  |  | 7411|      0|#define START_BCFRAME_PROM(prom) do {				\
  |  |  |  | 7412|      0|	struct bcEval_locals locals =				\
  |  |  |  | 7413|      0|	    setup_bcframe_prom(prom);				\
  |  |  |  | 7414|      0|	SAVE_BCEVAL_LOCALS(BCFRAME_LOCALS());			\
  |  |  |  |  ------------------
  |  |  |  |  |  | 7180|      0|#define SAVE_BCEVAL_LOCALS(loc) do {		\
  |  |  |  |  |  | 7181|      0|	(loc)->body = body;			\
  |  |  |  |  |  | 7182|      0|	(loc)->rho = rho;			\
  |  |  |  |  |  | 7183|      0|	(loc)->vcache = vcache;			\
  |  |  |  |  |  | 7184|      0|	(loc)->smallcache = smallcache;		\
  |  |  |  |  |  | 7185|      0|	(loc)->pc = pc;				\
  |  |  |  |  |  | 7186|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (7186:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 7415|      0|	RESTORE_BCEVAL_LOCALS(&locals);				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 7188|      0|#define RESTORE_BCEVAL_LOCALS(loc) do {		\
  |  |  |  |  |  | 7189|      0|	body = (loc)->body;			\
  |  |  |  |  |  | 7190|      0|	codebase = BCCODE(body);		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5572|      0|#define BCCODE(e) BCODE_PTR(BCODE_CODE(e))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  736|      0|#define BCODE_PTR(x) ((BCODE *) DATAPTR(x))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 7191|      0|	constants = BCCONSTS(body);		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5461|      0|    (R_bcconsts_t) {((SEXP const *) DATAPTR_RO(BCODE_CONSTS(e)))}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  737|      0|#define BCODE_CONSTS(x) CDR(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 7192|      0|	rho = (loc)->rho;			\
  |  |  |  |  |  | 7193|      0|	vcache = (loc)->vcache;			\
  |  |  |  |  |  | 7194|      0|	smallcache = (loc)->smallcache;		\
  |  |  |  |  |  | 7195|      0|	pc = (loc)->pc;				\
  |  |  |  |  |  | 7196|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (7196:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 7416|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (7416:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5892|      0|	NEXT();								\
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 5893|      0|	/* return cleanup is in DO_GETVAR_FORCE_PROMISE_RETURN */	\
  |  | 5894|      0|    }									\
  |  | 5895|  4.91k|    BCNPUSH(getvar(symbol, rho, dd, keepmiss, vcache, sidx));		\
  |  |  ------------------
  |  |  |  | 5362|  4.91k|#define BCNPUSH(v) do { \
  |  |  |  | 5363|  4.91k|  SEXP __value__ = (v); \
  |  |  |  | 5364|  4.91k|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5365|  4.91k|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5365:7): [True: 0, False: 4.91k]
  |  |  |  |  ------------------
  |  |  |  | 5366|  4.91k|  SETSTACK(0, __value__); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  4.91k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  4.91k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  4.91k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  4.91k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 4.91k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  4.91k|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|  4.91k|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  4.91k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  4.91k|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 4.91k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5367|  4.91k|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5368|  4.91k|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5368:10): [Folded, False: 4.91k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5896|  4.91k|    NEXT();								\
  |  |  ------------------
  |  |  |  | 5568|  4.91k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 5897|  4.91k|} while (0)
  |  |  ------------------
  |  |  |  Branch (5897:10): [Folded, False: 4.91k]
  |  |  ------------------
  ------------------
 8357|  4.92k|    OP(DDVAL_MISSOK, 1): DO_GETVAR(TRUE, TRUE);
  ------------------
  |  | 5551|  4.92k|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  4.92k|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  4.92k|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  4.92k|    goto loop; \
  |  | 5555|  4.92k|    op_##name
  ------------------
                  OP(DDVAL_MISSOK, 1): DO_GETVAR(TRUE, TRUE);
  ------------------
  |  | 5834|      0|#define DO_GETVAR(dd,keepmiss) do { \
  |  | 5835|      0|    int sidx = GETOP(); \
  |  |  ------------------
  |  |  |  | 5569|      0|#define GETOP() (*pc++).i
  |  |  ------------------
  |  | 5836|      0|    R_Visible = TRUE;	     \
  |  | 5837|      0|    if (!dd && smallcache) {						\
  |  |  ------------------
  |  |  |  Branch (5837:9): [Folded, False: 0]
  |  |  |  Branch (5837:16): [True: 0, False: 0]
  |  |  ------------------
  |  | 5838|      0|	SEXP cell = GET_SMALLCACHE_BINDING_CELL(vcache, sidx);		\
  |  |  ------------------
  |  |  |  | 5684|      0|#  define GET_SMALLCACHE_BINDING_CELL(vcache, sidx) VCACHE(sidx)
  |  |  |  |  ------------------
  |  |  |  |  |  | 5681|      0|#  define VCACHE(i) GETSTACK_SXPVAL_PTR(vcache + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4753|      0|#define GETSTACK_SXPVAL_PTR(s) ((s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5839|      0|	if (cell == R_NilValue) {					\
  |  |  ------------------
  |  |  |  Branch (5839:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 5840|      0|	    /* make sure local variable cells are cached */		\
  |  | 5841|      0|	    SEXP symbol = GETCONST(constants, sidx);			\
  |  |  ------------------
  |  |  |  | 5463|      0|#define GETCONST(x, i) ((x).p)[i]
  |  |  ------------------
  |  | 5842|      0|	    cell = GET_BINDING_CELL_CACHE(symbol, rho, vcache, sidx);	\
  |  | 5843|      0|	}								\
  |  | 5844|      0|	/* handle immediate binings */					\
  |  | 5845|      0|	switch (BNDCELL_TAG(cell)) {					\
  |  |  ------------------
  |  |  |  Branch (5845:10): [True: 0, False: 0]
  |  |  ------------------
  |  | 5846|      0|	case REALSXP: BCNPUSH_REAL(BNDCELL_DVAL(cell)); NEXT();		\
  |  |  ------------------
  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |               	case REALSXP: BCNPUSH_REAL(BNDCELL_DVAL(cell)); NEXT();		\
  |  |  ------------------
  |  |  |  | 5375|      0|#define BCNPUSH_REAL(v) do { \
  |  |  |  | 5376|      0|  double __value__ = (v); \
  |  |  |  | 5377|      0|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5378|      0|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5378:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5379|      0|  __ntop__[-1].u.dval = __value__; \
  |  |  |  | 5380|      0|  __ntop__[-1].tag = REALSXP; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  |  |  ------------------
  |  |  |  | 5381|      0|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5382|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5382:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               	case REALSXP: BCNPUSH_REAL(BNDCELL_DVAL(cell)); NEXT();		\
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  |  |  Branch (5846:2): [True: 0, False: 0]
  |  |  ------------------
  |  | 5847|      0|	case INTSXP: BCNPUSH_INTEGER(BNDCELL_IVAL(cell)); NEXT();	\
  |  |  ------------------
  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	case INTSXP: BCNPUSH_INTEGER(BNDCELL_IVAL(cell)); NEXT();	\
  |  |  ------------------
  |  |  |  | 5384|      0|#define BCNPUSH_INTEGER(v) do { \
  |  |  |  | 5385|      0|  int __value__ = (v); \
  |  |  |  | 5386|      0|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5387|      0|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5387:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5388|      0|  __ntop__[-1].u.ival = __value__; \
  |  |  |  | 5389|      0|  __ntop__[-1].tag = INTSXP; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  |  |  ------------------
  |  |  |  | 5390|      0|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5391|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5391:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               	case INTSXP: BCNPUSH_INTEGER(BNDCELL_IVAL(cell)); NEXT();	\
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  |  |  Branch (5847:2): [True: 0, False: 0]
  |  |  ------------------
  |  | 5848|      0|	case LGLSXP: BCNPUSH_LOGICAL(BNDCELL_LVAL(cell)); NEXT();	\
  |  |  ------------------
  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  ------------------
  |  |               	case LGLSXP: BCNPUSH_LOGICAL(BNDCELL_LVAL(cell)); NEXT();	\
  |  |  ------------------
  |  |  |  | 5393|      0|#define BCNPUSH_LOGICAL(v) do { \
  |  |  |  | 5394|      0|  int __value__ = (v); \
  |  |  |  | 5395|      0|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5396|      0|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5396:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5397|      0|  __ntop__[-1].u.ival = __value__; \
  |  |  |  | 5398|      0|  __ntop__[-1].tag = LGLSXP; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  ------------------
  |  |  |  | 5399|      0|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5400|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5400:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               	case LGLSXP: BCNPUSH_LOGICAL(BNDCELL_LVAL(cell)); NEXT();	\
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  |  |  Branch (5848:2): [True: 0, False: 0]
  |  |  ------------------
  |  | 5849|      0|	}								\
  |  | 5850|      0|	SEXP value = CAR(cell);						\
  |  | 5851|      0|	int type = TYPEOF(value);					\
  |  | 5852|      0|	/* extract value of forced promises */				\
  |  | 5853|      0|	if (type == PROMSXP) {						\
  |  |  ------------------
  |  |  |  |  116|      0|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  |  |  ------------------
  |  |  |  Branch (5853:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 5854|      0|	    if (PROMISE_IS_EVALUATED(value)) {				\
  |  |  ------------------
  |  |  |  Branch (5854:10): [True: 0, False: 0]
  |  |  ------------------
  |  | 5855|      0|		switch (PROMISE_TAG(value)) {				\
  |  |  ------------------
  |  |  |  Branch (5855:11): [True: 0, False: 0]
  |  |  ------------------
  |  | 5856|      0|		case REALSXP: BCNPUSH_REAL(PROMISE_DVAL(value)); NEXT(); \
  |  |  ------------------
  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |               		case REALSXP: BCNPUSH_REAL(PROMISE_DVAL(value)); NEXT(); \
  |  |  ------------------
  |  |  |  | 5375|      0|#define BCNPUSH_REAL(v) do { \
  |  |  |  | 5376|      0|  double __value__ = (v); \
  |  |  |  | 5377|      0|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5378|      0|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5378:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5379|      0|  __ntop__[-1].u.dval = __value__; \
  |  |  |  | 5380|      0|  __ntop__[-1].tag = REALSXP; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  |  |  ------------------
  |  |  |  | 5381|      0|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5382|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5382:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               		case REALSXP: BCNPUSH_REAL(PROMISE_DVAL(value)); NEXT(); \
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  |  |  Branch (5856:3): [True: 0, False: 0]
  |  |  ------------------
  |  | 5857|      0|		case INTSXP: BCNPUSH_INTEGER(PROMISE_IVAL(value)); NEXT(); \
  |  |  ------------------
  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               		case INTSXP: BCNPUSH_INTEGER(PROMISE_IVAL(value)); NEXT(); \
  |  |  ------------------
  |  |  |  | 5384|      0|#define BCNPUSH_INTEGER(v) do { \
  |  |  |  | 5385|      0|  int __value__ = (v); \
  |  |  |  | 5386|      0|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5387|      0|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5387:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5388|      0|  __ntop__[-1].u.ival = __value__; \
  |  |  |  | 5389|      0|  __ntop__[-1].tag = INTSXP; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  |  |  ------------------
  |  |  |  | 5390|      0|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5391|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5391:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               		case INTSXP: BCNPUSH_INTEGER(PROMISE_IVAL(value)); NEXT(); \
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  |  |  Branch (5857:3): [True: 0, False: 0]
  |  |  ------------------
  |  | 5858|      0|		case LGLSXP: BCNPUSH_LOGICAL(PROMISE_LVAL(value)); NEXT(); \
  |  |  ------------------
  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  ------------------
  |  |               		case LGLSXP: BCNPUSH_LOGICAL(PROMISE_LVAL(value)); NEXT(); \
  |  |  ------------------
  |  |  |  | 5393|      0|#define BCNPUSH_LOGICAL(v) do { \
  |  |  |  | 5394|      0|  int __value__ = (v); \
  |  |  |  | 5395|      0|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5396|      0|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5396:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5397|      0|  __ntop__[-1].u.ival = __value__; \
  |  |  |  | 5398|      0|  __ntop__[-1].tag = LGLSXP; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  ------------------
  |  |  |  | 5399|      0|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5400|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5400:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               		case LGLSXP: BCNPUSH_LOGICAL(PROMISE_LVAL(value)); NEXT(); \
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  |  |  Branch (5858:3): [True: 0, False: 0]
  |  |  ------------------
  |  | 5859|      0|		}							\
  |  | 5860|      0|		value = PRVALUE(value);					\
  |  | 5861|      0|		type = TYPEOF(value);					\
  |  | 5862|      0|	    }								\
  |  | 5863|      0|	}								\
  |  | 5864|      0|	/* try fast handling of some types; for these the */		\
  |  | 5865|      0|	/* cell won't be R_NilValue or an active binding */		\
  |  | 5866|      0|	switch(type) {							\
  |  | 5867|      0|	case REALSXP:							\
  |  |  ------------------
  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (5867:2): [True: 0, False: 0]
  |  |  ------------------
  |  | 5868|      0|	case INTSXP:							\
  |  |  ------------------
  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |  |  Branch (5868:2): [True: 0, False: 0]
  |  |  ------------------
  |  | 5869|      0|	case LGLSXP:							\
  |  |  ------------------
  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  ------------------
  |  |  |  Branch (5869:2): [True: 0, False: 0]
  |  |  ------------------
  |  | 5870|      0|	case CPLXSXP:							\
  |  |  ------------------
  |  |  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  |  |  ------------------
  |  |  |  Branch (5870:2): [True: 0, False: 0]
  |  |  ------------------
  |  | 5871|      0|	case STRSXP:							\
  |  |  ------------------
  |  |  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  |  |  ------------------
  |  |  |  Branch (5871:2): [True: 0, False: 0]
  |  |  ------------------
  |  | 5872|      0|	case VECSXP:							\
  |  |  ------------------
  |  |  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  |  |  ------------------
  |  |  |  Branch (5872:2): [True: 0, False: 0]
  |  |  ------------------
  |  | 5873|      0|	case RAWSXP:							\
  |  |  ------------------
  |  |  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  |  |  ------------------
  |  |  |  Branch (5873:2): [True: 0, False: 0]
  |  |  ------------------
  |  | 5874|      0|	    BCNPUSH(value);						\
  |  |  ------------------
  |  |  |  | 5362|      0|#define BCNPUSH(v) do { \
  |  |  |  | 5363|      0|  SEXP __value__ = (v); \
  |  |  |  | 5364|      0|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5365|      0|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5365:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5366|      0|  SETSTACK(0, __value__); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5367|      0|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5368|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5368:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5875|      0|	    NEXT();							\
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 5876|      0|	case SYMSXP:							\
  |  |  ------------------
  |  |  |  |  112|      0|#define SYMSXP	     1	  /* symbols */
  |  |  ------------------
  |  |  |  Branch (5876:2): [True: 0, False: 0]
  |  |  ------------------
  |  | 5877|      0|	case PROMSXP:							\
  |  |  ------------------
  |  |  |  |  116|      0|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  |  |  ------------------
  |  |  |  Branch (5877:2): [True: 0, False: 0]
  |  |  ------------------
  |  | 5878|      0|	    break;							\
  |  | 5879|      0|	default:							\
  |  |  ------------------
  |  |  |  Branch (5879:2): [True: 0, False: 0]
  |  |  ------------------
  |  | 5880|      0|	    if (cell != R_NilValue && ! IS_ACTIVE_BINDING(cell)) {	\
  |  |  ------------------
  |  |  |  Branch (5880:10): [True: 0, False: 0]
  |  |  |  Branch (5880:32): [True: 0, False: 0]
  |  |  ------------------
  |  | 5881|      0|		BCNPUSH(value);						\
  |  |  ------------------
  |  |  |  | 5362|      0|#define BCNPUSH(v) do { \
  |  |  |  | 5363|      0|  SEXP __value__ = (v); \
  |  |  |  | 5364|      0|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5365|      0|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5365:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5366|      0|  SETSTACK(0, __value__); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5367|      0|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5368|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5368:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5882|      0|		NEXT();							\
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 5883|      0|	    }								\
  |  | 5884|      0|	}								\
  |  | 5885|      0|    }									\
  |  | 5886|      0|    SEXP symbol = GETCONST(constants, sidx);				\
  |  |  ------------------
  |  |  |  | 5463|      0|#define GETCONST(x, i) ((x).p)[i]
  |  |  ------------------
  |  | 5887|      0|    SEXP value = findVarEX(symbol, rho, dd, vcache, sidx);		\
  |  | 5888|      0|    if (! keepmiss && TYPEOF(value) == PROMSXP &&			\
  |  |  ------------------
  |  |  |  |  116|      0|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  |  |  ------------------
  |  |  |  Branch (5888:9): [Folded, False: 0]
  |  |  |  Branch (5888:23): [True: 0, False: 0]
  |  |  ------------------
  |  | 5889|      0|	! PRSEEN(value) && ! PROMISE_IS_EVALUATED(value) &&		\
  |  |  ------------------
  |  |  |  Branch (5889:2): [True: 0, False: 0]
  |  |  |  Branch (5889:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 5890|      0|	TYPEOF(PRCODE(value)) == BCODESXP) {				\
  |  |  ------------------
  |  |  |  |  133|      0|#define BCODESXP    21    /* byte code */
  |  |  ------------------
  |  |  |  Branch (5890:2): [True: 0, False: 0]
  |  |  ------------------
  |  | 5891|      0|	START_BCFRAME_PROM(value);					\
  |  |  ------------------
  |  |  |  | 7411|      0|#define START_BCFRAME_PROM(prom) do {				\
  |  |  |  | 7412|      0|	struct bcEval_locals locals =				\
  |  |  |  | 7413|      0|	    setup_bcframe_prom(prom);				\
  |  |  |  | 7414|      0|	SAVE_BCEVAL_LOCALS(BCFRAME_LOCALS());			\
  |  |  |  |  ------------------
  |  |  |  |  |  | 7180|      0|#define SAVE_BCEVAL_LOCALS(loc) do {		\
  |  |  |  |  |  | 7181|      0|	(loc)->body = body;			\
  |  |  |  |  |  | 7182|      0|	(loc)->rho = rho;			\
  |  |  |  |  |  | 7183|      0|	(loc)->vcache = vcache;			\
  |  |  |  |  |  | 7184|      0|	(loc)->smallcache = smallcache;		\
  |  |  |  |  |  | 7185|      0|	(loc)->pc = pc;				\
  |  |  |  |  |  | 7186|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (7186:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 7415|      0|	RESTORE_BCEVAL_LOCALS(&locals);				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 7188|      0|#define RESTORE_BCEVAL_LOCALS(loc) do {		\
  |  |  |  |  |  | 7189|      0|	body = (loc)->body;			\
  |  |  |  |  |  | 7190|      0|	codebase = BCCODE(body);		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5572|      0|#define BCCODE(e) BCODE_PTR(BCODE_CODE(e))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  736|      0|#define BCODE_PTR(x) ((BCODE *) DATAPTR(x))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 7191|      0|	constants = BCCONSTS(body);		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 5461|      0|    (R_bcconsts_t) {((SEXP const *) DATAPTR_RO(BCODE_CONSTS(e)))}
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  737|      0|#define BCODE_CONSTS(x) CDR(x)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 7192|      0|	rho = (loc)->rho;			\
  |  |  |  |  |  | 7193|      0|	vcache = (loc)->vcache;			\
  |  |  |  |  |  | 7194|      0|	smallcache = (loc)->smallcache;		\
  |  |  |  |  |  | 7195|      0|	pc = (loc)->pc;				\
  |  |  |  |  |  | 7196|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (7196:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 7416|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (7416:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5892|      0|	NEXT();								\
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 5893|      0|	/* return cleanup is in DO_GETVAR_FORCE_PROMISE_RETURN */	\
  |  | 5894|      0|    }									\
  |  | 5895|      0|    BCNPUSH(getvar(symbol, rho, dd, keepmiss, vcache, sidx));		\
  |  |  ------------------
  |  |  |  | 5362|      0|#define BCNPUSH(v) do { \
  |  |  |  | 5363|      0|  SEXP __value__ = (v); \
  |  |  |  | 5364|      0|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5365|      0|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5365:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5366|      0|  SETSTACK(0, __value__); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5367|      0|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5368|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5368:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5896|      0|    NEXT();								\
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 5897|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (5897:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 8358|      2|    OP(VISIBLE, 0): R_Visible = TRUE; NEXT();
  ------------------
  |  | 5551|      2|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|      2|    opinfo[name##_OP].argc = (n); \
  |  | 5553|      2|    opinfo[name##_OP].instname = #name; \
  |  | 5554|      2|    goto loop; \
  |  | 5555|      2|    op_##name
  ------------------
                  OP(VISIBLE, 0): R_Visible = TRUE; NEXT();
  ------------------
  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8359|  1.52k|    OP(SETVAR2, 1):
  ------------------
  |  | 5551|      2|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|      2|    opinfo[name##_OP].argc = (n); \
  |  | 5553|      2|    opinfo[name##_OP].instname = #name; \
  |  | 5554|      2|    goto loop; \
  |  | 5555|  1.52k|    op_##name
  ------------------
 8360|  1.52k|      {
 8361|  1.52k|	SEXP symbol = GETCONST(constants, GETOP());
  ------------------
  |  | 5463|  1.52k|#define GETCONST(x, i) ((x).p)[i]
  ------------------
 8362|  1.52k|	SEXP value = GETSTACK(-1);
  ------------------
  |  | 4817|  1.52k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  ------------------
  |  |  |  | 4751|  1.52k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4751:26): [True: 0, False: 1.52k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8363|  1.52k|	INCREMENT_NAMED(value);
  ------------------
  |  |  222|  1.52k|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  ------------------
  |  |  |  Branch (222:43): [Folded, False: 1.52k]
  |  |  ------------------
  ------------------
 8364|  1.52k|	setVar(symbol, value, ENCLOS(rho));
  ------------------
  |  | 1029|  1.52k|#define setVar			Rf_setVar
  ------------------
 8365|  1.52k|	NEXT();
  ------------------
  |  | 5568|  1.52k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8366|  1.52k|      }
 8367|  1.53k|    OP(STARTASSIGN2, 1):
  ------------------
  |  | 5551|  1.53k|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  1.53k|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  1.53k|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  1.53k|    goto loop; \
  |  | 5555|  1.53k|    op_##name
  ------------------
 8368|      0|      {
 8369|      0|	INCLNK_stack_commit();
 8370|      0|	SEXP symbol = GETCONST(constants, GETOP());
  ------------------
  |  | 5463|      0|#define GETCONST(x, i) ((x).p)[i]
  ------------------
 8371|      0|	R_varloc_t loc = R_findVarLoc(symbol, rho);
 8372|       |
 8373|      0|	if (loc.cell == NULL)
  ------------------
  |  Branch (8373:6): [True: 0, False: 0]
  ------------------
 8374|      0|	    loc.cell = R_NilValue;
 8375|      0|	int maybe_in_assign = ASSIGNMENT_PENDING(loc.cell);
 8376|      0|	SET_ASSIGNMENT_PENDING(loc.cell, TRUE);
 8377|      0|	BCNPUSH(loc.cell);
  ------------------
  |  | 5362|      0|#define BCNPUSH(v) do { \
  |  | 5363|      0|  SEXP __value__ = (v); \
  |  | 5364|      0|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  | 5365|      0|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  ------------------
  |  |  |  Branch (5365:7): [True: 0, False: 0]
  |  |  ------------------
  |  | 5366|      0|  SETSTACK(0, __value__); \
  |  |  ------------------
  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5367|      0|  R_BCNodeStackTop = __ntop__; \
  |  | 5368|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (5368:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 8378|       |
 8379|      0|	SEXP value = getvar(symbol, ENCLOS(rho), FALSE, FALSE, NULL, 0);
 8380|      0|	if (maybe_in_assign || MAYBE_SHARED(value))
  ------------------
  |  Branch (8380:6): [True: 0, False: 0]
  |  Branch (8380:25): [True: 0, False: 0]
  ------------------
 8381|      0|	    value = shallow_duplicate(value);
  ------------------
  |  | 1030|      0|#define shallow_duplicate	Rf_shallow_duplicate
  ------------------
 8382|      0|	BCNPUSH(value);
  ------------------
  |  | 5362|      0|#define BCNPUSH(v) do { \
  |  | 5363|      0|  SEXP __value__ = (v); \
  |  | 5364|      0|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  | 5365|      0|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  ------------------
  |  |  |  Branch (5365:7): [True: 0, False: 0]
  |  |  ------------------
  |  | 5366|      0|  SETSTACK(0, __value__); \
  |  |  ------------------
  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5367|      0|  R_BCNodeStackTop = __ntop__; \
  |  | 5368|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (5368:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 8383|       |
 8384|      0|	BCNDUP3RD();
  ------------------
  |  | 5424|      0|#define BCNDUP3RD() do {					\
  |  | 5425|      0|	R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1;		\
  |  | 5426|      0|	if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow();	\
  |  |  ------------------
  |  |  |  Branch (5426:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 5427|      0|	__ntop__[-1] = __ntop__[-4];				\
  |  | 5428|      0|	R_BCNodeStackTop = __ntop__;				\
  |  | 5429|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5429:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 8385|       |	/* top four stack entries are now
 8386|       |	   RHS value, LHS cell, LHS value, RHS value */
 8387|      0|	if (IS_STACKVAL_BOXED(-1)) {
  ------------------
  |  | 4800|      0|#define IS_STACKVAL_BOXED(idx)	(R_BCNodeStackTop[idx].tag == 0)
  |  |  ------------------
  |  |  |  Branch (4800:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 8388|      0|	    FIXUP_RHS_NAMED(GETSTACK(-1));
  ------------------
  |  | 3348|      0|#define FIXUP_RHS_NAMED(r) do { \
  |  | 3349|      0|	SEXP __rhs__ = (r); \
  |  |  ------------------
  |  |  |  Branch (3349:18): [True: 0, False: 0]
  |  |  ------------------
  |  | 3350|      0|	if (NAMED(__rhs__)) \
  |  |  ------------------
  |  |  |  Branch (3350:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 3351|      0|	    ENSURE_NAMEDMAX(__rhs__); \
  |  | 3352|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3352:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 8389|      0|	    INCREMENT_REFCNT(GETSTACK(-1));
  ------------------
  |  | 4817|      0|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  ------------------
  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8390|      0|	}
 8391|      0|	NEXT();
  ------------------
  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8392|      0|      }
 8393|      2|    OP(ENDASSIGN2, 1):
  ------------------
  |  | 5551|      2|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|      2|    opinfo[name##_OP].argc = (n); \
  |  | 5553|      2|    opinfo[name##_OP].instname = #name; \
  |  | 5554|      2|    goto loop; \
  |  | 5555|      2|    op_##name
  ------------------
 8394|      0|      {
 8395|      0|	SEXP lhscell = GETSTACK(-2);
  ------------------
  |  | 4817|      0|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  ------------------
  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8396|      0|	SET_ASSIGNMENT_PENDING(lhscell, FALSE);
 8397|       |
 8398|      0|	SEXP symbol = GETCONST(constants, GETOP());
  ------------------
  |  | 5463|      0|#define GETCONST(x, i) ((x).p)[i]
  ------------------
 8399|      0|	SEXP value = GETSTACK(-1); /* leave on stack for GC protection */
  ------------------
  |  | 4817|      0|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  ------------------
  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8400|      0|	INCREMENT_NAMED(value);
  ------------------
  |  |  222|      0|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  ------------------
  |  |  |  Branch (222:43): [Folded, False: 0]
  |  |  ------------------
  ------------------
 8401|      0|	setVar(symbol, value, ENCLOS(rho));
  ------------------
  |  | 1029|      0|#define setVar			Rf_setVar
  ------------------
 8402|      0|	R_BCNodeStackTop -= 2; /* now pop cell and LHS value off the stack */
 8403|       |	/* original right-hand side value is now on top of stack again */
 8404|       |#ifdef OLD_RHS_NAMED
 8405|       |	/* we do not duplicate the right-hand side value, so to be
 8406|       |	   conservative mark the value as NAMED = NAMEDMAX */
 8407|       |	ENSURE_NAMEDMAX(GETSTACK(-1));
 8408|       |#else
 8409|      0|	INCREMENT_NAMED(GETSTACK(-1));
  ------------------
  |  |  222|      0|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  ------------------
  |  |  |  Branch (222:43): [Folded, False: 0]
  |  |  ------------------
  ------------------
 8410|      0|#endif
 8411|      0|	DECREMENT_REFCNT(GETSTACK(-1));
  ------------------
  |  | 4817|      0|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  ------------------
  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8412|      0|	NEXT();
  ------------------
  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8413|      0|      }
 8414|  2.10M|    OP(SETTER_CALL, 2):
  ------------------
  |  | 5551|      2|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|      2|    opinfo[name##_OP].argc = (n); \
  |  | 5553|      2|    opinfo[name##_OP].instname = #name; \
  |  | 5554|      2|    goto loop; \
  |  | 5555|  2.10M|    op_##name
  ------------------
 8415|  2.10M|      {
 8416|  2.10M|	SEXP lhs = GETSTACK_BELOW_CALL_FRAME(-2);
  ------------------
  |  | 5940|  2.10M|#define GETSTACK_BELOW_CALL_FRAME(n) GETSTACK((n) - CALL_FRAME_SIZE())
  |  |  ------------------
  |  |  |  | 4817|  2.10M|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4751|  2.10M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 2.10M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8417|  2.10M|	SEXP rhs = GETSTACK_BELOW_CALL_FRAME(-1);
  ------------------
  |  | 5940|  2.10M|#define GETSTACK_BELOW_CALL_FRAME(n) GETSTACK((n) - CALL_FRAME_SIZE())
  |  |  ------------------
  |  |  |  | 4817|  2.10M|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4751|  2.10M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 2.10M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8418|  2.10M|	SEXP fun = CALL_FRAME_FUN();
  ------------------
  |  | 5909|  2.10M|#define CALL_FRAME_FUN() GETSTACK(-3)
  |  |  ------------------
  |  |  |  | 4817|  2.10M|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4751|  2.10M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 2.10M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8419|  2.10M|	SEXP call = GETCONST(constants, GETOP());
  ------------------
  |  | 5463|  2.10M|#define GETCONST(x, i) ((x).p)[i]
  ------------------
 8420|  2.10M|	SEXP vexpr = GETCONST(constants, GETOP());
  ------------------
  |  | 5463|  2.10M|#define GETCONST(x, i) ((x).p)[i]
  ------------------
 8421|  2.10M|	SEXP args, prom, last;
 8422|  2.10M|	MARK_ASSIGNMENT_CALL(call);
 8423|  2.10M|	if (MAYBE_SHARED(lhs)) {
  ------------------
  |  Branch (8423:6): [True: 578, False: 2.10M]
  ------------------
 8424|    578|	  lhs = shallow_duplicate(lhs);
  ------------------
  |  | 1030|    578|#define shallow_duplicate	Rf_shallow_duplicate
  ------------------
 8425|    578|	  SETSTACK_BELOW_CALL_FRAME(-2, lhs);
  ------------------
  |  | 5941|    578|#define SETSTACK_BELOW_CALL_FRAME(n, v) SETSTACK((n) - CALL_FRAME_SIZE(), v)
  |  |  ------------------
  |  |  |  | 4819|    578|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|    578|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|    578|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|    578|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 578]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|    578|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|    578|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|    578|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|    578|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 578]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8426|    578|	  ENSURE_NAMED(lhs);
 8427|    578|	}
 8428|  2.10M|	SEXP value = NULL;
 8429|  2.10M|	switch (TYPEOF(fun)) {
 8430|  2.10M|	case BUILTINSXP:
  ------------------
  |  |  119|  2.10M|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (8430:2): [True: 2.10M, False: 1.58k]
  ------------------
 8431|       |	  /* push RHS value onto arguments with 'value' tag */
 8432|  2.10M|	  PUSHCALLARG(rhs);
  ------------------
  |  | 5976|  2.10M|#define PUSHCALLARG(v) PUSHCALLARG_EX(v, FALSE)
  |  |  ------------------
  |  |  |  | 5967|  2.10M|#define PUSHCALLARG_EX(v, RC) do {					\
  |  |  |  | 5968|  2.10M|	SEXP __cell__ =							\
  |  |  |  | 5969|  2.10M|	    (RC) ? CONS(v, R_NilValue) : CONS_NR(v, R_NilValue);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  309|      0|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5969:6): [Folded, False: 2.10M]
  |  |  |  |  ------------------
  |  |  |  | 5970|  2.10M|	if (GETSTACK(-2) == R_NilValue) SETSTACK(-2, __cell__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|  2.10M|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|  2.10M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 2.10M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               	if (GETSTACK(-2) == R_NilValue) SETSTACK(-2, __cell__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5970:6): [True: 0, False: 2.10M]
  |  |  |  |  ------------------
  |  |  |  | 5971|  2.10M|	else SETCDR(GETSTACK(-1), __cell__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|  2.10M|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|  2.10M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 2.10M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5972|  2.10M|	SETSTACK(-1, __cell__);						\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  2.10M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  2.10M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  2.10M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  2.10M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 2.10M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  2.10M|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|  2.10M|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  2.10M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  2.10M|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 2.10M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5973|  2.10M|	if (RC) INCREMENT_NAMED(CAR(__cell__));				\
  |  |  |  |  ------------------
  |  |  |  |  |  |  222|      0|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (222:43): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5973:6): [Folded, False: 2.10M]
  |  |  |  |  ------------------
  |  |  |  | 5974|  2.10M|	else INCREMENT_LINKS(CAR(__cell__));				\
  |  |  |  |  ------------------
  |  |  |  |  |  |  540|  2.10M|#define INCREMENT_LINKS(x) do {			\
  |  |  |  |  |  |  541|  2.10M|	SEXP il__x__ = (x);			\
  |  |  |  |  |  |  542|  2.10M|	INCREMENT_NAMED(il__x__);		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  222|  2.10M|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (222:43): [Folded, False: 2.10M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  543|  2.10M|	INCREMENT_REFCNT(il__x__);		\
  |  |  |  |  |  |  544|  2.10M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (544:14): [Folded, False: 2.10M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5975|  2.10M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5975:14): [Folded, False: 2.10M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8433|  2.10M|	  SETCALLARG_TAG_SYMBOL(R_valueSym);
  ------------------
  |  | 5994|  2.10M|#define SETCALLARG_TAG_SYMBOL(t) do {			\
  |  | 5995|  2.10M|	SEXP __cell__ = GETSTACK(-1);			\
  |  |  ------------------
  |  |  |  | 4817|  2.10M|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4751|  2.10M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 2.10M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5996|  2.10M|	if (__cell__ != R_NilValue)			\
  |  |  ------------------
  |  |  |  Branch (5996:6): [True: 2.10M, False: 0]
  |  |  ------------------
  |  | 5997|  2.10M|	    SET_TAG(__cell__, t);			\
  |  | 5998|  2.10M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (5998:14): [Folded, False: 2.10M]
  |  |  ------------------
  ------------------
 8434|       |	  /* replace first argument with LHS value */
 8435|  2.10M|	  args = BUILTIN_CALL_FRAME_ARGS();
 8436|  2.10M|	  SETCAR(args, lhs);
 8437|       |	  /* make the call */
 8438|  2.10M|	  checkForMissings(args, call);
 8439|  2.10M|	  value = PRIMFUN(fun) (call, fun, args, rho);
  ------------------
  |  | 1345|  2.10M|#define PRIMFUN(x)	(R_FunTab[PRIMOFFSET(x)].cfun)
  ------------------
 8440|  2.10M|	  break;
 8441|      0|	case SPECIALSXP:
  ------------------
  |  |  118|      0|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (8441:2): [True: 0, False: 2.10M]
  ------------------
 8442|       |	  /* duplicate arguments and protect */
 8443|      0|	  PROTECT(args = duplicate(CDR(call)));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 8444|       |	  /* insert evaluated promise for LHS as first argument */
 8445|       |	  /* promise won't be captured so don't track references */
 8446|      0|	  prom = R_mkEVPROMISE_NR(R_TmpvalSymbol, lhs);
 8447|      0|	  SETCAR(args, prom);
 8448|       |	  /* insert evaluated promise for RHS as last argument */
 8449|      0|	  last = args;
 8450|      0|	  while (CDR(last) != R_NilValue)
  ------------------
  |  Branch (8450:11): [True: 0, False: 0]
  ------------------
 8451|      0|	      last = CDR(last);
 8452|      0|	  prom = mkRHSPROMISE(vexpr, rhs);
 8453|      0|	  SETCAR(last, prom);
 8454|       |	  /* make the call */
 8455|      0|	  value = PRIMFUN(fun) (call, fun, args, rho);
  ------------------
  |  | 1345|      0|#define PRIMFUN(x)	(R_FunTab[PRIMOFFSET(x)].cfun)
  ------------------
 8456|      0|	  UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 8457|      0|	  break;
 8458|  1.58k|	case CLOSXP:
  ------------------
  |  |  114|  1.58k|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (8458:2): [True: 1.58k, False: 2.10M]
  ------------------
 8459|       |	  /* push evaluated promise for RHS onto arguments with 'value' tag */
 8460|       |	  /* This need to use a standard EVPROMISE so the reference
 8461|       |	     from the environment to the RHS value is counted. */
 8462|  1.58k|	  prom = R_mkEVPROMISE(vexpr, rhs);
 8463|  1.58k|	  PUSHCALLARG(prom);
  ------------------
  |  | 5976|  1.58k|#define PUSHCALLARG(v) PUSHCALLARG_EX(v, FALSE)
  |  |  ------------------
  |  |  |  | 5967|  1.58k|#define PUSHCALLARG_EX(v, RC) do {					\
  |  |  |  | 5968|  1.58k|	SEXP __cell__ =							\
  |  |  |  | 5969|  1.58k|	    (RC) ? CONS(v, R_NilValue) : CONS_NR(v, R_NilValue);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  309|      0|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5969:6): [Folded, False: 1.58k]
  |  |  |  |  ------------------
  |  |  |  | 5970|  1.58k|	if (GETSTACK(-2) == R_NilValue) SETSTACK(-2, __cell__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|  1.58k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|  1.58k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 1.58k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               	if (GETSTACK(-2) == R_NilValue) SETSTACK(-2, __cell__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5970:6): [True: 0, False: 1.58k]
  |  |  |  |  ------------------
  |  |  |  | 5971|  1.58k|	else SETCDR(GETSTACK(-1), __cell__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|  1.58k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|  1.58k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 1.58k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5972|  1.58k|	SETSTACK(-1, __cell__);						\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  1.58k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  1.58k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  1.58k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  1.58k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 1.58k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  1.58k|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|  1.58k|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  1.58k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  1.58k|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 1.58k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5973|  1.58k|	if (RC) INCREMENT_NAMED(CAR(__cell__));				\
  |  |  |  |  ------------------
  |  |  |  |  |  |  222|      0|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (222:43): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5973:6): [Folded, False: 1.58k]
  |  |  |  |  ------------------
  |  |  |  | 5974|  1.58k|	else INCREMENT_LINKS(CAR(__cell__));				\
  |  |  |  |  ------------------
  |  |  |  |  |  |  540|  1.58k|#define INCREMENT_LINKS(x) do {			\
  |  |  |  |  |  |  541|  1.58k|	SEXP il__x__ = (x);			\
  |  |  |  |  |  |  542|  1.58k|	INCREMENT_NAMED(il__x__);		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  222|  1.58k|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (222:43): [Folded, False: 1.58k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  543|  1.58k|	INCREMENT_REFCNT(il__x__);		\
  |  |  |  |  |  |  544|  1.58k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (544:14): [Folded, False: 1.58k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5975|  1.58k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5975:14): [Folded, False: 1.58k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8464|  1.58k|	  SETCALLARG_TAG_SYMBOL(R_valueSym);
  ------------------
  |  | 5994|  1.58k|#define SETCALLARG_TAG_SYMBOL(t) do {			\
  |  | 5995|  1.58k|	SEXP __cell__ = GETSTACK(-1);			\
  |  |  ------------------
  |  |  |  | 4817|  1.58k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4751|  1.58k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 1.58k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5996|  1.58k|	if (__cell__ != R_NilValue)			\
  |  |  ------------------
  |  |  |  Branch (5996:6): [True: 1.58k, False: 0]
  |  |  ------------------
  |  | 5997|  1.58k|	    SET_TAG(__cell__, t);			\
  |  | 5998|  1.58k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (5998:14): [Folded, False: 1.58k]
  |  |  ------------------
  ------------------
 8465|       |	  /* replace first argument with evaluated promise for LHS */
 8466|       |	  /* promise might be captured, so track references */
 8467|  1.58k|	  args = CLOSURE_CALL_FRAME_ARGS();
 8468|  1.58k|	  prom = R_mkEVPROMISE(R_TmpvalSymbol, lhs);
 8469|  1.58k|	  SETCAR(args, prom);
 8470|       |	  /* make the call */
 8471|  1.58k|	  value = applyClosure(call, fun, args, rho, R_NilValue, TRUE);
  ------------------
  |  |  879|  1.58k|#define applyClosure		Rf_applyClosure
  ------------------
 8472|  1.58k|	  break;
 8473|      0|	default: error(_("bad function"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	default: error(_("bad function"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (8473:2): [True: 0, False: 2.10M]
  ------------------
 8474|  2.10M|	}
 8475|  2.10M|	POP_CALL_FRAME_PLUS(2, value);
  ------------------
  |  | 5960|  2.10M|#define POP_CALL_FRAME_PLUS(n, value) do {	\
  |  | 5961|  2.10M|	R_BCNodeStackTop -= (2 + (n));		\
  |  | 5962|  2.10M|	SETSTACK(-1, value);			\
  |  |  ------------------
  |  |  |  | 4819|  2.10M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|  2.10M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|  2.10M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|  2.10M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 2.10M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|  2.10M|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|  2.10M|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|  2.10M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|  2.10M|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 2.10M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5963|  2.10M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (5963:14): [Folded, False: 2.10M]
  |  |  ------------------
  ------------------
 8476|  2.10M|	NEXT();
  ------------------
  |  | 5568|  2.10M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8477|  2.10M|      }
 8478|  2.10M|    OP(GETTER_CALL, 1):
  ------------------
  |  | 5551|  2.10M|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  2.10M|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  2.10M|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  2.10M|    goto loop; \
  |  | 5555|  2.10M|    op_##name
  ------------------
 8479|      0|      {
 8480|      0|	SEXP lhs = GETSTACK_BELOW_CALL_FRAME(-2);
  ------------------
  |  | 5940|      0|#define GETSTACK_BELOW_CALL_FRAME(n) GETSTACK((n) - CALL_FRAME_SIZE())
  |  |  ------------------
  |  |  |  | 4817|      0|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8481|      0|	SEXP fun = CALL_FRAME_FUN();
  ------------------
  |  | 5909|      0|#define CALL_FRAME_FUN() GETSTACK(-3)
  |  |  ------------------
  |  |  |  | 4817|      0|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8482|      0|	SEXP call = GETCONST(constants, GETOP());
  ------------------
  |  | 5463|      0|#define GETCONST(x, i) ((x).p)[i]
  ------------------
 8483|      0|	SEXP value = NULL;
 8484|      0|	SEXP args, prom;
 8485|      0|	switch (TYPEOF(fun)) {
 8486|      0|	case BUILTINSXP:
  ------------------
  |  |  119|      0|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (8486:2): [True: 0, False: 0]
  ------------------
 8487|       |	  /* replace first argument with LHS value */
 8488|      0|	  args = BUILTIN_CALL_FRAME_ARGS();
 8489|      0|	  SETCAR(args, lhs);
 8490|       |	  /* make the call */
 8491|      0|	  checkForMissings(args, call);
 8492|      0|	  value = PRIMFUN(fun) (call, fun, args, rho);
  ------------------
  |  | 1345|      0|#define PRIMFUN(x)	(R_FunTab[PRIMOFFSET(x)].cfun)
  ------------------
 8493|      0|	  break;
 8494|      0|	case SPECIALSXP:
  ------------------
  |  |  118|      0|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (8494:2): [True: 0, False: 0]
  ------------------
 8495|       |	  /* duplicate arguments and put into stack for GC protection */
 8496|      0|	  args = duplicate(CDR(call));
  ------------------
  |  |  909|      0|#define duplicate		Rf_duplicate
  ------------------
 8497|      0|	  SETSTACK(-2, args);
  ------------------
  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  ------------------
  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8498|       |	  /* insert evaluated promise for LHS as first argument */
 8499|       |	  /* promise won't be captured so don't track references */
 8500|      0|	  prom = R_mkEVPROMISE_NR(R_TmpvalSymbol, lhs);
 8501|      0|	  SETCAR(args, prom);
 8502|       |	  /* make the call */
 8503|      0|	  value = PRIMFUN(fun) (call, fun, args, rho);
  ------------------
  |  | 1345|      0|#define PRIMFUN(x)	(R_FunTab[PRIMOFFSET(x)].cfun)
  ------------------
 8504|      0|	  break;
 8505|      0|	case CLOSXP:
  ------------------
  |  |  114|      0|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (8505:2): [True: 0, False: 0]
  ------------------
 8506|       |	  /* replace first argument with evaluated promise for LHS */
 8507|       |	  /* promise might be captured, so track references */
 8508|      0|	  args = CLOSURE_CALL_FRAME_ARGS();
 8509|      0|	  prom = R_mkEVPROMISE(R_TmpvalSymbol, lhs);
 8510|      0|	  SETCAR(args, prom);
 8511|       |	  /* make the call */
 8512|      0|	  value = applyClosure(call, fun, args, rho, R_NilValue, TRUE);
  ------------------
  |  |  879|      0|#define applyClosure		Rf_applyClosure
  ------------------
 8513|      0|	  break;
 8514|      0|	default: error(_("bad function"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	default: error(_("bad function"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (8514:2): [True: 0, False: 0]
  ------------------
 8515|      0|	}
 8516|      0|	POP_CALL_FRAME(value);
  ------------------
  |  | 5958|      0|#define POP_CALL_FRAME(value) POP_CALL_FRAME_PLUS(0, value)
  |  |  ------------------
  |  |  |  | 5960|      0|#define POP_CALL_FRAME_PLUS(n, value) do {	\
  |  |  |  | 5961|      0|	R_BCNodeStackTop -= (2 + (n));		\
  |  |  |  | 5962|      0|	SETSTACK(-1, value);			\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5963|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5963:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8517|      0|	NEXT();
  ------------------
  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8518|      0|      }
 8519|  1.04M|    OP(SWAP, 0): {
  ------------------
  |  | 5551|      2|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|      2|    opinfo[name##_OP].argc = (n); \
  |  | 5553|      2|    opinfo[name##_OP].instname = #name; \
  |  | 5554|      2|    goto loop; \
  |  | 5555|  1.04M|    op_##name
  ------------------
 8520|       |	/* This instruction only occurs between accessor calls in
 8521|       |	   complex assignments. [It should probably be renamed to
 8522|       |	   reflect this.] It needs to make sure intermediate LHS
 8523|       |	   values in complex assignments are not shared by duplicating
 8524|       |	   the extracted value in tmp when necessary. Duplicating is
 8525|       |	   necessary if the value might be shared _or_ if the
 8526|       |	   container, which is in R_BCNodeStackTop[-3], has become
 8527|       |	   possibly shared by going through a closure in the preceding
 8528|       |	   accessor call.  This is taken to indicate that the
 8529|       |	   corresponding replacement function might be a closure and
 8530|       |	   will need to see an unmodified LHS value. This heuristic
 8531|       |	   fails if the accessor function called here is not a closure
 8532|       |	   but the replacement function is. */
 8533|       |
 8534|       |	/* For the typed stack it might be OK just to force boxing at
 8535|       |	   this point, but for now this code tries to avoid doing
 8536|       |	   that. The macros make the code a little more readable. */
 8537|  1.04M|#define STACKVAL_MAYBE_REFERENCED(idx)				\
 8538|  1.04M|	(IS_STACKVAL_BOXED(idx) &&				\
 8539|  1.04M|	 MAYBE_REFERENCED(GETSTACK_SXPVAL_PTR(R_BCNodeStackTop + (idx))))
 8540|  1.04M|#define STACKVAL_MAYBE_SHARED(idx)				\
 8541|  1.04M|	(IS_STACKVAL_BOXED(idx) &&				\
 8542|  1.04M|	 MAYBE_SHARED(GETSTACK_SXPVAL_PTR(R_BCNodeStackTop + (idx))))
 8543|       |
 8544|  1.04M|	if (STACKVAL_MAYBE_REFERENCED(-1) &&
  ------------------
  |  | 8538|  2.09M|	(IS_STACKVAL_BOXED(idx) &&				\
  |  |  ------------------
  |  |  |  | 4800|  2.09M|#define IS_STACKVAL_BOXED(idx)	(R_BCNodeStackTop[idx].tag == 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4800:32): [True: 1.04M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8539|  2.09M|	 MAYBE_REFERENCED(GETSTACK_SXPVAL_PTR(R_BCNodeStackTop + (idx))))
  |  |  ------------------
  |  |  |  |  251|  1.04M|#define MAYBE_REFERENCED(x) (! NO_REFERENCES(x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (251:29): [True: 1.04M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8545|  1.04M|	    (STACKVAL_MAYBE_SHARED(-1) ||
  ------------------
  |  | 8541|  2.09M|	(IS_STACKVAL_BOXED(idx) &&				\
  |  |  ------------------
  |  |  |  | 4800|  2.09M|#define IS_STACKVAL_BOXED(idx)	(R_BCNodeStackTop[idx].tag == 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4800:32): [True: 1.04M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8542|  2.09M|	 MAYBE_SHARED(GETSTACK_SXPVAL_PTR(R_BCNodeStackTop + (idx))))
  |  |  ------------------
  |  |  |  | 4753|  1.04M|#define GETSTACK_SXPVAL_PTR(s) ((s)->u.sxpval)
  |  |  ------------------
  |  |  |  Branch (8542:3): [True: 0, False: 1.04M]
  |  |  ------------------
  ------------------
 8546|  1.04M|	     STACKVAL_MAYBE_SHARED(-3)))
  ------------------
  |  | 8541|  1.04M|	(IS_STACKVAL_BOXED(idx) &&				\
  |  |  ------------------
  |  |  |  | 4800|  2.09M|#define IS_STACKVAL_BOXED(idx)	(R_BCNodeStackTop[idx].tag == 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4800:32): [True: 1.04M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8542|  1.04M|	 MAYBE_SHARED(GETSTACK_SXPVAL_PTR(R_BCNodeStackTop + (idx))))
  |  |  ------------------
  |  |  |  | 4753|  1.04M|#define GETSTACK_SXPVAL_PTR(s) ((s)->u.sxpval)
  |  |  ------------------
  |  |  |  Branch (8542:3): [True: 0, False: 1.04M]
  |  |  ------------------
  ------------------
 8547|  1.04M|	    SETSTACK(-1, shallow_duplicate(GETSTACK(-1)));
  ------------------
  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  ------------------
  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4774:19): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8548|       |
 8549|  1.04M|	R_bcstack_t tmp = R_BCNodeStackTop[-1];
 8550|  1.04M|	R_BCNodeStackTop[-1] = R_BCNodeStackTop[-2];
 8551|  1.04M|	R_BCNodeStackTop[-2] = tmp;
 8552|  1.04M|	NEXT();
  ------------------
  |  | 5568|  1.04M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8553|  1.04M|    }
 8554|  1.04M|    OP(DUP2ND, 0): BCNDUP2ND(); NEXT();
  ------------------
  |  | 5551|  1.04M|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  1.04M|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  1.04M|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  1.04M|    goto loop; \
  |  | 5555|  1.04M|    op_##name
  ------------------
                  OP(DUP2ND, 0): BCNDUP2ND(); NEXT();
  ------------------
  |  | 5417|  1.04M|#define BCNDUP2ND() do {					\
  |  | 5418|  1.04M|	R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1;		\
  |  | 5419|  1.04M|	if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow();	\
  |  |  ------------------
  |  |  |  Branch (5419:6): [True: 0, False: 1.04M]
  |  |  ------------------
  |  | 5420|  1.04M|	__ntop__[-1] = __ntop__[-3];				\
  |  | 5421|  1.04M|	R_BCNodeStackTop = __ntop__;				\
  |  | 5422|  1.04M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5422:13): [Folded, False: 1.04M]
  |  |  ------------------
  ------------------
                  OP(DUP2ND, 0): BCNDUP2ND(); NEXT();
  ------------------
  |  | 5568|  1.04M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8555|  1.04M|    OP(SWITCH, 4): {
  ------------------
  |  | 5551|  1.04M|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  1.04M|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  1.04M|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  1.04M|    goto loop; \
  |  | 5555|  1.04M|    op_##name
  ------------------
 8556|  5.20k|       SEXP call = GETCONST(constants, GETOP());
  ------------------
  |  | 5463|  5.20k|#define GETCONST(x, i) ((x).p)[i]
  ------------------
 8557|  5.20k|       SEXP names = GETCONST(constants, GETOP());
  ------------------
  |  | 5463|  5.20k|#define GETCONST(x, i) ((x).p)[i]
  ------------------
 8558|  5.20k|       SEXP coffsets = GETCONST(constants, GETOP());
  ------------------
  |  | 5463|  5.20k|#define GETCONST(x, i) ((x).p)[i]
  ------------------
 8559|  5.20k|       SEXP ioffsets = GETCONST(constants, GETOP());
  ------------------
  |  | 5463|  5.20k|#define GETCONST(x, i) ((x).p)[i]
  ------------------
 8560|       |       /* Leave the value on the node stack for the whole instruction: the
 8561|       |	  node stack below R_BCNodeStackTop is the only thing rooting it, and
 8562|       |	  warningcall() below allocates and can run R-level handlers. */
 8563|  5.20k|       SEXP value = GETSTACK(-1);
  ------------------
  |  | 4817|  5.20k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  ------------------
  |  |  |  | 4751|  5.20k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4751:26): [True: 0, False: 5.20k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8564|  5.20k|       if (!isVector(value) || length(value) != 1)
  ------------------
  |  |  974|  5.20k|#define isVector		Rf_isVector
  ------------------
                     if (!isVector(value) || length(value) != 1)
  ------------------
  |  |  987|  5.20k|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (8564:12): [True: 0, False: 5.20k]
  |  Branch (8564:32): [True: 0, False: 5.20k]
  ------------------
 8565|      0|	   errorcall(call, _("EXPR must be a length 1 vector"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	   errorcall(call, _("EXPR must be a length 1 vector"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 8566|  5.20k|       if (isFactor(value))
  ------------------
  |  |  946|  5.20k|#define isFactor		Rf_isFactor
  ------------------
  |  Branch (8566:12): [True: 0, False: 5.20k]
  ------------------
 8567|      0|	   warningcall(call,
  ------------------
  |  | 2018|      0|# define warningcall		Rf_warningcall
  ------------------
 8568|      0|		       _("EXPR is a \"factor\", treated as integer.\n"
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 8569|      0|			 " Consider using '%s' instead."),
 8570|      0|		       "switch(as.character( * ), ...)");
 8571|  5.20k|       if (TYPEOF(value) == STRSXP) {
  ------------------
  |  |  126|  5.20k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (8571:12): [True: 5.20k, False: 0]
  ------------------
 8572|  5.20k|	   int i, n, which;
 8573|  5.20k|	   if (names == R_NilValue) {
  ------------------
  |  Branch (8573:9): [True: 0, False: 5.20k]
  ------------------
 8574|      0|	       if (TYPEOF(ioffsets) != INTSXP)
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (8574:13): [True: 0, False: 0]
  ------------------
 8575|      0|		   errorcall(call, _("bad numeric 'switch' offsets"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              		   errorcall(call, _("bad numeric 'switch' offsets"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 8576|      0|	       if (LENGTH(ioffsets) == 1) {
  ------------------
  |  Branch (8576:13): [True: 0, False: 0]
  ------------------
 8577|      0|		   pc = codebase + INTEGER(ioffsets)[0]; /* returns NULL */
 8578|      0|		   warningcall(call, _("'switch' with no alternatives"));
  ------------------
  |  | 2018|      0|# define warningcall		Rf_warningcall
  ------------------
              		   warningcall(call, _("'switch' with no alternatives"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 8579|      0|	       }
 8580|      0|	       else
 8581|      0|		   errorcall(call, _("numeric EXPR required for 'switch' "
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              		   errorcall(call, _("numeric EXPR required for 'switch' "
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 8582|      0|				     "without named alternatives"));
 8583|  5.20k|	   } else {
 8584|  5.20k|	       if (TYPEOF(coffsets) != INTSXP)
  ------------------
  |  |  123|  5.20k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (8584:13): [True: 0, False: 5.20k]
  ------------------
 8585|      0|		   errorcall(call, _("bad character 'switch' offsets"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              		   errorcall(call, _("bad character 'switch' offsets"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 8586|  5.20k|	       if (TYPEOF(names) != STRSXP || LENGTH(names) != LENGTH(coffsets))
  ------------------
  |  |  126|  10.4k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (8586:13): [True: 0, False: 5.20k]
  |  Branch (8586:40): [True: 0, False: 5.20k]
  ------------------
 8587|      0|		   errorcall(call, "bad 'switch' names");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
 8588|  5.20k|	       n = LENGTH(names);
 8589|  5.20k|	       which = n - 1;
 8590|  17.2k|	       for (i = 0; i < n - 1; i++)
  ------------------
  |  Branch (8590:21): [True: 14.8k, False: 2.39k]
  ------------------
 8591|  14.8k|		   if (pmatch(STRING_ELT(value, 0),
  ------------------
  |  | 1011|  14.8k|#define pmatch			Rf_pmatch
  ------------------
  |  Branch (8591:10): [True: 2.81k, False: 12.0k]
  ------------------
 8592|  14.8k|			      STRING_ELT(names, i), 1 /* exact */)) {
 8593|  2.81k|		       which = i;
 8594|  2.81k|		       break;
 8595|  2.81k|		   }
 8596|  5.20k|	       pc = codebase + INTEGER(coffsets)[which];
 8597|  5.20k|	   }
 8598|  5.20k|       }
 8599|      0|       else {
 8600|      0|	   if (TYPEOF(ioffsets) != INTSXP)
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (8600:9): [True: 0, False: 0]
  ------------------
 8601|      0|	       errorcall(call, "bad numeric 'switch' offsets");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
 8602|      0|	   int which = asInteger(value);
  ------------------
  |  |  885|      0|#define asInteger		Rf_asInteger
  ------------------
 8603|      0|	   if (which != NA_INTEGER) which--;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (8603:9): [True: 0, False: 0]
  ------------------
 8604|      0|	   if (which < 0 || which >= LENGTH(ioffsets))
  ------------------
  |  Branch (8604:9): [True: 0, False: 0]
  |  Branch (8604:22): [True: 0, False: 0]
  ------------------
 8605|      0|	       which = LENGTH(ioffsets) - 1;
 8606|      0|	   if (LENGTH(ioffsets) == 1)
  ------------------
  |  Branch (8606:9): [True: 0, False: 0]
  ------------------
 8607|      0|	       warningcall(call, _("'switch' with no alternatives"));
  ------------------
  |  | 2018|      0|# define warningcall		Rf_warningcall
  ------------------
              	       warningcall(call, _("'switch' with no alternatives"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 8608|      0|	   pc = codebase + INTEGER(ioffsets)[which];
 8609|      0|       }
 8610|  5.20k|       BCNPOP_IGNORE_VALUE();
  ------------------
  |  | 5432|  5.20k|#define BCNPOP_IGNORE_VALUE() R_BCNodeStackTop--
  ------------------
 8611|  5.20k|       NEXT();
  ------------------
  |  | 5568|  5.20k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8612|  5.20k|    }
 8613|  1.04M|    OP(RETURNJMP, 0): {
  ------------------
  |  | 5551|  5.20k|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  5.20k|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  5.20k|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  5.20k|    goto loop; \
  |  | 5555|  1.04M|    op_##name
  ------------------
 8614|  1.04M|      SEXP value = BCNPOP();
  ------------------
  |  | 5431|  1.04M|#define BCNPOP() (R_BCNodeStackTop--, GETSTACK(0))
  |  |  ------------------
  |  |  |  | 4817|  1.04M|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4751|  1.04M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4751:26): [True: 12, False: 1.04M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8615|  1.04M|      findcontext(CTXT_BROWSER | CTXT_FUNCTION, rho, value);
  ------------------
  |  | 1906|  1.04M|# define findcontext		Rf_findcontext
  ------------------
 8616|  1.04M|    }
 8617|  1.08M|    OP(STARTSUBSET_N, 2): DO_STARTDISPATCH_N("[");
  ------------------
  |  | 5551|  1.04M|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  1.04M|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  1.04M|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  1.04M|    goto loop; \
  |  | 5555|  1.08M|    op_##name
  ------------------
                  OP(STARTSUBSET_N, 2): DO_STARTDISPATCH_N("[");
  ------------------
  |  | 6124|  1.08M|#define DO_STARTDISPATCH_N(generic) do { \
  |  | 6125|  1.08M|    int callidx = GETOP(); \
  |  |  ------------------
  |  |  |  | 5569|  1.08M|#define GETOP() (*pc++).i
  |  |  ------------------
  |  | 6126|  1.08M|    SEXP value = GETSTACK(-1); \
  |  |  ------------------
  |  |  |  | 4817|  1.08M|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4751|  1.08M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4751:26): [True: 26, False: 1.08M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6127|  1.08M|    if (isObject(value)) { \
  |  |  ------------------
  |  |  |  |  959|  1.08M|#define isObject		Rf_isObject
  |  |  ------------------
  |  |  |  Branch (6127:9): [True: 120, False: 1.08M]
  |  |  ------------------
  |  | 6128|    120|	SEXP call = GETCONST(constants, callidx); \
  |  |  ------------------
  |  |  |  | 5463|    120|#define GETCONST(x, i) ((x).p)[i]
  |  |  ------------------
  |  | 6129|    120|	if (tryDispatch(generic, call, value, rho, &value)) { \
  |  |  ------------------
  |  |  |  Branch (6129:6): [True: 120, False: 0]
  |  |  ------------------
  |  | 6130|    120|	    SETSTACK(-1, value); \
  |  |  ------------------
  |  |  |  | 4819|    120|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|    120|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|    120|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|    120|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 120]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|    120|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|    120|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|    120|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|    120|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 120]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6131|    120|	    BC_CHECK_SIGINT(); \
  |  |  ------------------
  |  |  |  | 6194|    120|#define BC_CHECK_SIGINT() do {			\
  |  |  |  | 6195|    120|	if (++evalcount > BC_COUNT_DELTA) {	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   45|    120|#define BC_COUNT_DELTA 127
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (6195:6): [True: 1, False: 119]
  |  |  |  |  ------------------
  |  |  |  | 6196|      1|	    bc_check_sigint();			\
  |  |  |  | 6197|      1|	    evalcount = 0;			\
  |  |  |  | 6198|      1|	}					\
  |  |  |  | 6199|    120|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (6199:14): [Folded, False: 120]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6132|    120|	    int label = GETOP(); \
  |  |  ------------------
  |  |  |  | 5569|    120|#define GETOP() (*pc++).i
  |  |  ------------------
  |  | 6133|    120|	    pc = codebase + label; \
  |  | 6134|    120|	    NEXT(); \
  |  |  ------------------
  |  |  |  | 5568|    120|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 6135|    120|	} \
  |  | 6136|    120|    } \
  |  | 6137|  1.08M|    SKIP_OP(); \
  |  |  ------------------
  |  |  |  | 5570|  1.08M|#define SKIP_OP() (pc++)
  |  |  ------------------
  |  | 6138|  1.08M|    NEXT(); \
  |  |  ------------------
  |  |  |  | 5568|  1.08M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 6139|  1.08M|} while (0)
  |  |  ------------------
  |  |  |  Branch (6139:10): [Folded, False: 1.08M]
  |  |  ------------------
  ------------------
 8618|  1.08M|    OP(STARTSUBASSIGN_N, 2): DO_START_ASSIGN_DISPATCH_N("[<-");
  ------------------
  |  | 5551|  1.08M|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  1.08M|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  1.08M|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  1.08M|    goto loop; \
  |  | 5555|  1.08M|    op_##name
  ------------------
                  OP(STARTSUBASSIGN_N, 2): DO_START_ASSIGN_DISPATCH_N("[<-");
  ------------------
  |  | 6141|  2.12k|#define DO_START_ASSIGN_DISPATCH_N(generic) do { \
  |  | 6142|  2.12k|    int callidx = GETOP(); \
  |  |  ------------------
  |  |  |  | 5569|  2.12k|#define GETOP() (*pc++).i
  |  |  ------------------
  |  | 6143|  2.12k|    int label = GETOP(); \
  |  |  ------------------
  |  |  |  | 5569|  2.12k|#define GETOP() (*pc++).i
  |  |  ------------------
  |  | 6144|  2.12k|    SEXP lhs = GETSTACK(-2); \
  |  |  ------------------
  |  |  |  | 4817|  2.12k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4751|  2.12k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 2.12k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6145|  2.12k|    if (isObject(lhs)) { \
  |  |  ------------------
  |  |  |  |  959|  2.12k|#define isObject		Rf_isObject
  |  |  ------------------
  |  |  |  Branch (6145:9): [True: 0, False: 2.12k]
  |  |  ------------------
  |  | 6146|      0|	SEXP call = GETCONST(constants, callidx); \
  |  |  ------------------
  |  |  |  | 5463|      0|#define GETCONST(x, i) ((x).p)[i]
  |  |  ------------------
  |  | 6147|      0|	MARK_ASSIGNMENT_CALL(call); \
  |  | 6148|      0|	SEXP rhs = GETSTACK(-1); \
  |  |  ------------------
  |  |  |  | 4817|      0|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6149|      0|	if (MAYBE_SHARED(lhs)) { \
  |  |  ------------------
  |  |  |  Branch (6149:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 6150|      0|	    lhs = shallow_duplicate(lhs); \
  |  |  ------------------
  |  |  |  | 1030|      0|#define shallow_duplicate	Rf_shallow_duplicate
  |  |  ------------------
  |  | 6151|      0|	    SETSTACK(-2, lhs); \
  |  |  ------------------
  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6152|      0|	    ENSURE_NAMED(lhs); \
  |  | 6153|      0|	} \
  |  | 6154|      0|	SEXP value = NULL; \
  |  | 6155|      0|	if (tryAssignDispatch(generic, call, lhs, rhs, rho, &value)) { \
  |  |  ------------------
  |  |  |  Branch (6155:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 6156|      0|	    R_BCNodeStackTop--; \
  |  | 6157|      0|	    SETSTACK(-1, value); \
  |  |  ------------------
  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6158|      0|	    BC_CHECK_SIGINT(); \
  |  |  ------------------
  |  |  |  | 6194|      0|#define BC_CHECK_SIGINT() do {			\
  |  |  |  | 6195|      0|	if (++evalcount > BC_COUNT_DELTA) {	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   45|      0|#define BC_COUNT_DELTA 127
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (6195:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 6196|      0|	    bc_check_sigint();			\
  |  |  |  | 6197|      0|	    evalcount = 0;			\
  |  |  |  | 6198|      0|	}					\
  |  |  |  | 6199|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (6199:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6159|      0|	    pc = codebase + label; \
  |  | 6160|      0|	    NEXT(); \
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 6161|      0|	} \
  |  | 6162|      0|    } \
  |  | 6163|  2.12k|    NEXT(); \
  |  |  ------------------
  |  |  |  | 5568|  2.12k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 6164|  2.12k|} while (0)
  |  |  ------------------
  |  |  |  Branch (6164:10): [Folded, False: 2.12k]
  |  |  ------------------
  ------------------
 8619|  3.16M|    OP(VECSUBSET2, 1): DO_VECSUBSET(rho, TRUE);
  ------------------
  |  | 5551|  2.12k|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  2.12k|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  2.12k|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  2.12k|    goto loop; \
  |  | 5555|  3.16M|    op_##name
  ------------------
                  OP(VECSUBSET2, 1): DO_VECSUBSET(rho, TRUE);
  ------------------
  |  | 6320|  3.16M|#define DO_VECSUBSET(rho, sub2) do {					\
  |  | 6321|  3.16M|	int callidx = GETOP();						\
  |  |  ------------------
  |  |  |  | 5569|  3.16M|#define GETOP() (*pc++).i
  |  |  ------------------
  |  | 6322|  3.16M|	R_bcstack_t *sx = R_BCNodeStackTop - 2;				\
  |  | 6323|  3.16M|	R_bcstack_t *si = R_BCNodeStackTop - 1;				\
  |  | 6324|  3.16M|	SEXP vec = GETSTACK_PTR(sx);					\
  |  |  ------------------
  |  |  |  | 4751|  3.16M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4751:26): [True: 0, False: 3.16M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6325|  3.16M|	if (si->tag == INTSXP && (sub2 || FAST_VECELT_OK(vec))) {	\
  |  |  ------------------
  |  |  |  |  123|  6.32M|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	if (si->tag == INTSXP && (sub2 || FAST_VECELT_OK(vec))) {	\
  |  |  ------------------
  |  |  |  | 6286|      0|    (ATTRIB(vec) == R_NilValue ||		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (6286:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 6287|      0|     (TAG(ATTRIB(vec)) == R_DimSymbol &&	\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (6287:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 6288|      0|      CDR(ATTRIB(vec)) == R_NilValue))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (6288:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6325:6): [True: 3.15M, False: 8.92k]
  |  |  |  Branch (6325:28): [True: 3.15M, Folded]
  |  |  ------------------
  |  | 6326|  3.15M|	    R_xlen_t i = si->u.ival;					\
  |  | 6327|  3.15M|	    switch (TYPEOF(vec)) {					\
  |  |  ------------------
  |  |  |  Branch (6327:14): [True: 0, False: 3.15M]
  |  |  ------------------
  |  | 6328|      0|		case REALSXP:						\
  |  |  ------------------
  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (6328:3): [True: 0, False: 3.15M]
  |  |  ------------------
  |  | 6329|      0|		    if (i <= 0 || XLENGTH(vec) < i) break;		\
  |  |  ------------------
  |  |  |  Branch (6329:11): [True: 0, False: 0]
  |  |  |  Branch (6329:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6330|      0|		    SETSTACK_REAL_PTR(sx, REAL_ELT(vec, i - 1));	\
  |  |  ------------------
  |  |  |  | 4779|      0|#define SETSTACK_REAL_PTR(s, v) do { \
  |  |  |  | 4780|      0|    double __v__ = (v); \
  |  |  |  | 4781|      0|    (s)->tag = REALSXP; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  |  |  ------------------
  |  |  |  | 4782|      0|    (s)->u.dval = __v__; \
  |  |  |  | 4783|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4783:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6331|      0|		    DFVE_NEXT();					\
  |  |  ------------------
  |  |  |  | 6314|      0|#define	DFVE_NEXT() do {	\
  |  |  |  | 6315|      0|	R_Visible = TRUE;	\
  |  |  |  | 6316|      0|	R_BCNodeStackTop--;	\
  |  |  |  | 6317|      0|	NEXT();			\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 6318|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (6318:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6332|      0|		case INTSXP:						\
  |  |  ------------------
  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |  |  Branch (6332:3): [True: 0, False: 3.15M]
  |  |  ------------------
  |  | 6333|      0|		    if (i <= 0 || XLENGTH(vec) < i) break;		\
  |  |  ------------------
  |  |  |  Branch (6333:11): [True: 0, False: 0]
  |  |  |  Branch (6333:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6334|      0|		    SETSTACK_INTEGER_PTR(sx, INTEGER_ELT(vec, i - 1));	\
  |  |  ------------------
  |  |  |  | 4785|      0|#define SETSTACK_INTEGER_PTR(s, v) do { \
  |  |  |  | 4786|      0|    int __v__ = (v); \
  |  |  |  | 4787|      0|    (s)->tag = INTSXP; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  |  |  ------------------
  |  |  |  | 4788|      0|    (s)->u.ival = __v__; \
  |  |  |  | 4789|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4789:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6335|      0|		    DFVE_NEXT();					\
  |  |  ------------------
  |  |  |  | 6314|      0|#define	DFVE_NEXT() do {	\
  |  |  |  | 6315|      0|	R_Visible = TRUE;	\
  |  |  |  | 6316|      0|	R_BCNodeStackTop--;	\
  |  |  |  | 6317|      0|	NEXT();			\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 6318|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (6318:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6336|      0|		case LGLSXP:						\
  |  |  ------------------
  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  ------------------
  |  |  |  Branch (6336:3): [True: 0, False: 3.15M]
  |  |  ------------------
  |  | 6337|      0|		    if (i <= 0 || XLENGTH(vec) < i) break;		\
  |  |  ------------------
  |  |  |  Branch (6337:11): [True: 0, False: 0]
  |  |  |  Branch (6337:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6338|      0|		    SETSTACK_LOGICAL_PTR(sx, LOGICAL_ELT(vec, i - 1));	\
  |  |  ------------------
  |  |  |  | 4791|      0|#define SETSTACK_LOGICAL_PTR(s, v) do {		\
  |  |  |  | 4792|      0|	int __v__ = (v);			\
  |  |  |  | 4793|      0|	(s)->tag = LGLSXP;			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  ------------------
  |  |  |  | 4794|      0|	if (__v__ == NA_LOGICAL)		\
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4794:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 4795|      0|	    (s)->u.ival = NA_LOGICAL;		\
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  |  |  ------------------
  |  |  |  | 4796|      0|	else					\
  |  |  |  | 4797|      0|	    (s)->u.ival = __v__ ? TRUE : FALSE;	\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4797:20): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 4798|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4798:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6339|      0|		    DFVE_NEXT();					\
  |  |  ------------------
  |  |  |  | 6314|      0|#define	DFVE_NEXT() do {	\
  |  |  |  | 6315|      0|	R_Visible = TRUE;	\
  |  |  |  | 6316|      0|	R_BCNodeStackTop--;	\
  |  |  |  | 6317|      0|	NEXT();			\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 6318|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (6318:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6340|  3.15M|	    }								\
  |  | 6341|  3.15M|	}								\
  |  | 6342|  3.16M|	VECSUBSET_PTR(vec, si, sx, rho, constants, callidx, sub2);	\
  |  | 6343|  3.16M|	DFVE_NEXT();							\
  |  |  ------------------
  |  |  |  | 6314|  3.16M|#define	DFVE_NEXT() do {	\
  |  |  |  | 6315|  3.16M|	R_Visible = TRUE;	\
  |  |  |  | 6316|  3.16M|	R_BCNodeStackTop--;	\
  |  |  |  | 6317|  3.16M|	NEXT();			\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|  3.16M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 6318|  3.16M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (6318:14): [Folded, False: 3.16M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6344|  3.16M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (6344:13): [Folded, False: 3.16M]
  |  |  ------------------
  ------------------
 8620|  3.16M|    OP(MATSUBSET2, 1): DO_MATSUBSET(rho, TRUE); NEXT();
  ------------------
  |  | 5551|  3.16M|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  3.16M|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  3.16M|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  3.16M|    goto loop; \
  |  | 5555|  3.16M|    op_##name
  ------------------
                  OP(MATSUBSET2, 1): DO_MATSUBSET(rho, TRUE); NEXT();
  ------------------
  |  | 6431|      0|#define DO_MATSUBSET(rho, sub2) do {					\
  |  | 6432|      0|	int callidx = GETOP();						\
  |  |  ------------------
  |  |  |  | 5569|      0|#define GETOP() (*pc++).i
  |  |  ------------------
  |  | 6433|      0|	R_bcstack_t *sx = R_BCNodeStackTop - 3;				\
  |  | 6434|      0|	MATSUBSET_PTR(sx, R_BCNodeStackTop - 2, R_BCNodeStackTop - 1,	\
  |  | 6435|      0|		      sx, rho, constants, callidx, sub2);		\
  |  | 6436|      0|	R_BCNodeStackTop -= 2;						\
  |  | 6437|      0|	R_Visible = TRUE;						\
  |  | 6438|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6438:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
                  OP(MATSUBSET2, 1): DO_MATSUBSET(rho, TRUE); NEXT();
  ------------------
  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8621|  2.10M|    OP(VECSUBASSIGN2, 1): DO_VECSUBASSIGN(rho, TRUE);
  ------------------
  |  | 5551|      2|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|      2|    opinfo[name##_OP].argc = (n); \
  |  | 5553|      2|    opinfo[name##_OP].instname = #name; \
  |  | 5554|      2|    goto loop; \
  |  | 5555|  2.10M|    op_##name
  ------------------
                  OP(VECSUBASSIGN2, 1): DO_VECSUBASSIGN(rho, TRUE);
  ------------------
  |  | 6582|  2.10M|#define DO_VECSUBASSIGN(rho, sub2) do {					\
  |  | 6583|  2.10M|	int callidx = GETOP();						\
  |  |  ------------------
  |  |  |  | 5569|  2.10M|#define GETOP() (*pc++).i
  |  |  ------------------
  |  | 6584|  2.10M|	R_bcstack_t *sx = R_BCNodeStackTop - 3;				\
  |  | 6585|  2.10M|	R_bcstack_t *srhs = R_BCNodeStackTop - 2;			\
  |  | 6586|  2.10M|	R_bcstack_t *si = R_BCNodeStackTop - 1;				\
  |  | 6587|  2.10M|	SEXP vec = GETSTACK_PTR(sx);					\
  |  |  ------------------
  |  |  |  | 4751|  2.10M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4751:26): [True: 0, False: 2.10M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6588|  2.10M|	if (MAYBE_SHARED(vec)) {					\
  |  |  ------------------
  |  |  |  Branch (6588:6): [True: 1.38k, False: 2.10M]
  |  |  ------------------
  |  | 6589|  1.38k|	    vec = shallow_duplicate(vec);				\
  |  |  ------------------
  |  |  |  | 1030|  1.38k|#define shallow_duplicate	Rf_shallow_duplicate
  |  |  ------------------
  |  | 6590|  1.38k|	    SETSTACK_PTR(sx, vec);					\
  |  |  ------------------
  |  |  |  | 4772|  1.38k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  | 4773|  1.38k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4767|  1.38k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 1.38k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4774|  1.38k|    SEXP __v__ = (v); \
  |  |  |  | 4775|  1.38k|    (s)->tag = 0; \
  |  |  |  | 4776|  1.38k|    (s)->u.sxpval = __v__; \
  |  |  |  | 4777|  1.38k|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4777:10): [Folded, False: 1.38k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6591|  1.38k|	}								\
  |  | 6592|  2.10M|	if (srhs->tag && si->tag == INTSXP &&				\
  |  |  ------------------
  |  |  |  |  123|  2.10M|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |  |  Branch (6592:6): [True: 1.57k, False: 2.10M]
  |  |  |  Branch (6592:19): [True: 0, False: 1.57k]
  |  |  ------------------
  |  | 6593|  2.10M|	    srhs->tag == TYPEOF(vec)) {					\
  |  |  ------------------
  |  |  |  Branch (6593:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 6594|      0|	    R_xlen_t i = si->u.ival;					\
  |  | 6595|      0|	    /* i >= 0 rules out NA_INTEGER */				\
  |  | 6596|      0|	    if (i > 0 && i <= XLENGTH(vec)) {				\
  |  |  ------------------
  |  |  |  Branch (6596:10): [True: 0, False: 0]
  |  |  |  Branch (6596:19): [True: 0, False: 0]
  |  |  ------------------
  |  | 6597|      0|		switch (TYPEOF(vec)) {					\
  |  |  ------------------
  |  |  |  Branch (6597:11): [True: 0, False: 0]
  |  |  ------------------
  |  | 6598|      0|		case REALSXP:						\
  |  |  ------------------
  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (6598:3): [True: 0, False: 0]
  |  |  ------------------
  |  | 6599|      0|		    REAL(vec)[i - 1] = srhs->u.dval;			\
  |  | 6600|      0|		    DFVA_NEXT(sx, vec);					\
  |  |  ------------------
  |  |  |  | 6575|      0|#define DFVA_NEXT(sx, vec) do {		\
  |  |  |  | 6576|      0|	SETSTACK_PTR(sx, vec);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 6577|      0|	SETTER_CLEAR_NAMED(vec);	\
  |  |  |  | 6578|      0|	R_BCNodeStackTop -= 2;		\
  |  |  |  | 6579|      0|	NEXT();				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 6580|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (6580:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6601|      0|		case INTSXP:						\
  |  |  ------------------
  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |  |  Branch (6601:3): [True: 0, False: 0]
  |  |  ------------------
  |  | 6602|      0|		    INTEGER(vec)[i - 1] = srhs->u.ival;			\
  |  | 6603|      0|		    DFVA_NEXT(sx, vec);					\
  |  |  ------------------
  |  |  |  | 6575|      0|#define DFVA_NEXT(sx, vec) do {		\
  |  |  |  | 6576|      0|	SETSTACK_PTR(sx, vec);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 6577|      0|	SETTER_CLEAR_NAMED(vec);	\
  |  |  |  | 6578|      0|	R_BCNodeStackTop -= 2;		\
  |  |  |  | 6579|      0|	NEXT();				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 6580|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (6580:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6604|      0|		case LGLSXP:						\
  |  |  ------------------
  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  ------------------
  |  |  |  Branch (6604:3): [True: 0, False: 0]
  |  |  ------------------
  |  | 6605|      0|		    LOGICAL(vec)[i - 1] = srhs->u.ival;			\
  |  | 6606|      0|		    DFVA_NEXT(sx, vec);					\
  |  |  ------------------
  |  |  |  | 6575|      0|#define DFVA_NEXT(sx, vec) do {		\
  |  |  |  | 6576|      0|	SETSTACK_PTR(sx, vec);		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 6577|      0|	SETTER_CLEAR_NAMED(vec);	\
  |  |  |  | 6578|      0|	R_BCNodeStackTop -= 2;		\
  |  |  |  | 6579|      0|	NEXT();				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 6580|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (6580:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6607|      0|		}							\
  |  | 6608|      0|	    }								\
  |  | 6609|      0|	}								\
  |  | 6610|  2.10M|	VECSUBASSIGN_PTR(vec, srhs, si, sx, rho, constants, callidx, sub2); \
  |  | 6611|  2.10M|	R_BCNodeStackTop -= 2;						\
  |  | 6612|  2.10M|	NEXT();								\
  |  |  ------------------
  |  |  |  | 5568|  2.10M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 6613|  2.10M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6613:14): [Folded, False: 2.10M]
  |  |  ------------------
  ------------------
 8622|  2.10M|    OP(MATSUBASSIGN2, 1): DO_MATSUBASSIGN(rho, TRUE); NEXT();
  ------------------
  |  | 5551|  2.10M|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  2.10M|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  2.10M|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  2.10M|    goto loop; \
  |  | 5555|  2.10M|    op_##name
  ------------------
                  OP(MATSUBASSIGN2, 1): DO_MATSUBASSIGN(rho, TRUE); NEXT();
  ------------------
  |  | 6662|      0|#define DO_MATSUBASSIGN(rho, sub2) do {					\
  |  | 6663|      0|	int callidx = GETOP();						\
  |  |  ------------------
  |  |  |  | 5569|      0|#define GETOP() (*pc++).i
  |  |  ------------------
  |  | 6664|      0|	R_bcstack_t *sx = R_BCNodeStackTop - 4;				\
  |  | 6665|      0|	MATSUBASSIGN_PTR(sx, R_BCNodeStackTop - 3,			\
  |  | 6666|      0|			 R_BCNodeStackTop - 2, R_BCNodeStackTop - 1,	\
  |  | 6667|      0|			 sx, rho, constants, callidx, sub2);		\
  |  | 6668|      0|	R_BCNodeStackTop -= 3;						\
  |  | 6669|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6669:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
                  OP(MATSUBASSIGN2, 1): DO_MATSUBASSIGN(rho, TRUE); NEXT();
  ------------------
  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8623|  3.16M|    OP(STARTSUBSET2_N, 2): DO_STARTDISPATCH_N("[[");
  ------------------
  |  | 5551|      2|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|      2|    opinfo[name##_OP].argc = (n); \
  |  | 5553|      2|    opinfo[name##_OP].instname = #name; \
  |  | 5554|      2|    goto loop; \
  |  | 5555|  3.16M|    op_##name
  ------------------
                  OP(STARTSUBSET2_N, 2): DO_STARTDISPATCH_N("[[");
  ------------------
  |  | 6124|  3.16M|#define DO_STARTDISPATCH_N(generic) do { \
  |  | 6125|  3.16M|    int callidx = GETOP(); \
  |  |  ------------------
  |  |  |  | 5569|  3.16M|#define GETOP() (*pc++).i
  |  |  ------------------
  |  | 6126|  3.16M|    SEXP value = GETSTACK(-1); \
  |  |  ------------------
  |  |  |  | 4817|  3.16M|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4751|  3.16M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 3.16M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6127|  3.16M|    if (isObject(value)) { \
  |  |  ------------------
  |  |  |  |  959|  3.16M|#define isObject		Rf_isObject
  |  |  ------------------
  |  |  |  Branch (6127:9): [True: 3.01k, False: 3.16M]
  |  |  ------------------
  |  | 6128|  3.01k|	SEXP call = GETCONST(constants, callidx); \
  |  |  ------------------
  |  |  |  | 5463|  3.01k|#define GETCONST(x, i) ((x).p)[i]
  |  |  ------------------
  |  | 6129|  3.01k|	if (tryDispatch(generic, call, value, rho, &value)) { \
  |  |  ------------------
  |  |  |  Branch (6129:6): [True: 1.62k, False: 1.39k]
  |  |  ------------------
  |  | 6130|  1.62k|	    SETSTACK(-1, value); \
  |  |  ------------------
  |  |  |  | 4819|  1.62k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|  1.62k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|  1.62k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|  1.62k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 1.62k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|  1.62k|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|  1.62k|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|  1.62k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|  1.62k|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 1.62k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6131|  1.62k|	    BC_CHECK_SIGINT(); \
  |  |  ------------------
  |  |  |  | 6194|  1.62k|#define BC_CHECK_SIGINT() do {			\
  |  |  |  | 6195|  1.62k|	if (++evalcount > BC_COUNT_DELTA) {	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   45|  1.62k|#define BC_COUNT_DELTA 127
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (6195:6): [True: 0, False: 1.62k]
  |  |  |  |  ------------------
  |  |  |  | 6196|      0|	    bc_check_sigint();			\
  |  |  |  | 6197|      0|	    evalcount = 0;			\
  |  |  |  | 6198|      0|	}					\
  |  |  |  | 6199|  1.62k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (6199:14): [Folded, False: 1.62k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6132|  1.62k|	    int label = GETOP(); \
  |  |  ------------------
  |  |  |  | 5569|  1.62k|#define GETOP() (*pc++).i
  |  |  ------------------
  |  | 6133|  1.62k|	    pc = codebase + label; \
  |  | 6134|  1.62k|	    NEXT(); \
  |  |  ------------------
  |  |  |  | 5568|  1.62k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 6135|  1.62k|	} \
  |  | 6136|  3.01k|    } \
  |  | 6137|  3.16M|    SKIP_OP(); \
  |  |  ------------------
  |  |  |  | 5570|  3.16M|#define SKIP_OP() (pc++)
  |  |  ------------------
  |  | 6138|  3.16M|    NEXT(); \
  |  |  ------------------
  |  |  |  | 5568|  3.16M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 6139|  3.16M|} while (0)
  |  |  ------------------
  |  |  |  Branch (6139:10): [Folded, False: 3.16M]
  |  |  ------------------
  ------------------
 8624|  3.16M|    OP(STARTSUBASSIGN2_N, 2): DO_START_ASSIGN_DISPATCH_N("[[<-");
  ------------------
  |  | 5551|  3.16M|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  3.16M|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  3.16M|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  3.16M|    goto loop; \
  |  | 5555|  3.16M|    op_##name
  ------------------
                  OP(STARTSUBASSIGN2_N, 2): DO_START_ASSIGN_DISPATCH_N("[[<-");
  ------------------
  |  | 6141|  2.10M|#define DO_START_ASSIGN_DISPATCH_N(generic) do { \
  |  | 6142|  2.10M|    int callidx = GETOP(); \
  |  |  ------------------
  |  |  |  | 5569|  2.10M|#define GETOP() (*pc++).i
  |  |  ------------------
  |  | 6143|  2.10M|    int label = GETOP(); \
  |  |  ------------------
  |  |  |  | 5569|  2.10M|#define GETOP() (*pc++).i
  |  |  ------------------
  |  | 6144|  2.10M|    SEXP lhs = GETSTACK(-2); \
  |  |  ------------------
  |  |  |  | 4817|  2.10M|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4751|  2.10M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 2.10M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6145|  2.10M|    if (isObject(lhs)) { \
  |  |  ------------------
  |  |  |  |  959|  2.10M|#define isObject		Rf_isObject
  |  |  ------------------
  |  |  |  Branch (6145:9): [True: 0, False: 2.10M]
  |  |  ------------------
  |  | 6146|      0|	SEXP call = GETCONST(constants, callidx); \
  |  |  ------------------
  |  |  |  | 5463|      0|#define GETCONST(x, i) ((x).p)[i]
  |  |  ------------------
  |  | 6147|      0|	MARK_ASSIGNMENT_CALL(call); \
  |  | 6148|      0|	SEXP rhs = GETSTACK(-1); \
  |  |  ------------------
  |  |  |  | 4817|      0|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6149|      0|	if (MAYBE_SHARED(lhs)) { \
  |  |  ------------------
  |  |  |  Branch (6149:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 6150|      0|	    lhs = shallow_duplicate(lhs); \
  |  |  ------------------
  |  |  |  | 1030|      0|#define shallow_duplicate	Rf_shallow_duplicate
  |  |  ------------------
  |  | 6151|      0|	    SETSTACK(-2, lhs); \
  |  |  ------------------
  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6152|      0|	    ENSURE_NAMED(lhs); \
  |  | 6153|      0|	} \
  |  | 6154|      0|	SEXP value = NULL; \
  |  | 6155|      0|	if (tryAssignDispatch(generic, call, lhs, rhs, rho, &value)) { \
  |  |  ------------------
  |  |  |  Branch (6155:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 6156|      0|	    R_BCNodeStackTop--; \
  |  | 6157|      0|	    SETSTACK(-1, value); \
  |  |  ------------------
  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6158|      0|	    BC_CHECK_SIGINT(); \
  |  |  ------------------
  |  |  |  | 6194|      0|#define BC_CHECK_SIGINT() do {			\
  |  |  |  | 6195|      0|	if (++evalcount > BC_COUNT_DELTA) {	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   45|      0|#define BC_COUNT_DELTA 127
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (6195:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 6196|      0|	    bc_check_sigint();			\
  |  |  |  | 6197|      0|	    evalcount = 0;			\
  |  |  |  | 6198|      0|	}					\
  |  |  |  | 6199|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (6199:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6159|      0|	    pc = codebase + label; \
  |  | 6160|      0|	    NEXT(); \
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 6161|      0|	} \
  |  | 6162|      0|    } \
  |  | 6163|  2.10M|    NEXT(); \
  |  |  ------------------
  |  |  |  | 5568|  2.10M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 6164|  2.10M|} while (0)
  |  |  ------------------
  |  |  |  Branch (6164:10): [Folded, False: 2.10M]
  |  |  ------------------
  ------------------
 8625|  2.10M|    OP(SUBSET_N, 2): DO_SUBSET_N(rho, FALSE); NEXT();
  ------------------
  |  | 5551|  2.10M|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  2.10M|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  2.10M|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  2.10M|    goto loop; \
  |  | 5555|  2.10M|    op_##name
  ------------------
                  OP(SUBSET_N, 2): DO_SUBSET_N(rho, FALSE); NEXT();
  ------------------
  |  | 6485|      0|#define DO_SUBSET_N(rho, sub2) do {					\
  |  | 6486|      0|	int callidx = GETOP();						\
  |  |  ------------------
  |  |  |  | 5569|      0|#define GETOP() (*pc++).i
  |  |  ------------------
  |  | 6487|      0|	int rank = GETOP();						\
  |  |  ------------------
  |  |  |  | 5569|      0|#define GETOP() (*pc++).i
  |  |  ------------------
  |  | 6488|      0|	R_bcstack_t *sx = R_BCNodeStackTop - rank - 1;			\
  |  | 6489|      0|	SUBSET_N_PTR(sx, rank, R_BCNodeStackTop - rank, sx, rho,	\
  |  | 6490|      0|		     constants, callidx, sub2);				\
  |  | 6491|      0|	R_BCNodeStackTop -= rank;					\
  |  | 6492|      0|	R_Visible = TRUE;						\
  |  | 6493|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6493:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
                  OP(SUBSET_N, 2): DO_SUBSET_N(rho, FALSE); NEXT();
  ------------------
  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8626|      2|    OP(SUBSET2_N, 2): DO_SUBSET_N(rho, TRUE); NEXT();
  ------------------
  |  | 5551|      2|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|      2|    opinfo[name##_OP].argc = (n); \
  |  | 5553|      2|    opinfo[name##_OP].instname = #name; \
  |  | 5554|      2|    goto loop; \
  |  | 5555|      2|    op_##name
  ------------------
                  OP(SUBSET2_N, 2): DO_SUBSET_N(rho, TRUE); NEXT();
  ------------------
  |  | 6485|      0|#define DO_SUBSET_N(rho, sub2) do {					\
  |  | 6486|      0|	int callidx = GETOP();						\
  |  |  ------------------
  |  |  |  | 5569|      0|#define GETOP() (*pc++).i
  |  |  ------------------
  |  | 6487|      0|	int rank = GETOP();						\
  |  |  ------------------
  |  |  |  | 5569|      0|#define GETOP() (*pc++).i
  |  |  ------------------
  |  | 6488|      0|	R_bcstack_t *sx = R_BCNodeStackTop - rank - 1;			\
  |  | 6489|      0|	SUBSET_N_PTR(sx, rank, R_BCNodeStackTop - rank, sx, rho,	\
  |  | 6490|      0|		     constants, callidx, sub2);				\
  |  | 6491|      0|	R_BCNodeStackTop -= rank;					\
  |  | 6492|      0|	R_Visible = TRUE;						\
  |  | 6493|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6493:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
                  OP(SUBSET2_N, 2): DO_SUBSET_N(rho, TRUE); NEXT();
  ------------------
  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8627|      2|    OP(SUBASSIGN_N, 2): DO_SUBASSIGN_N(rho, FALSE); NEXT();
  ------------------
  |  | 5551|      2|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|      2|    opinfo[name##_OP].argc = (n); \
  |  | 5553|      2|    opinfo[name##_OP].instname = #name; \
  |  | 5554|      2|    goto loop; \
  |  | 5555|      2|    op_##name
  ------------------
                  OP(SUBASSIGN_N, 2): DO_SUBASSIGN_N(rho, FALSE); NEXT();
  ------------------
  |  | 6708|      0|#define DO_SUBASSIGN_N(rho, sub2) do {					\
  |  | 6709|      0|	int callidx = GETOP();						\
  |  |  ------------------
  |  |  |  | 5569|      0|#define GETOP() (*pc++).i
  |  |  ------------------
  |  | 6710|      0|	int rank = GETOP();						\
  |  |  ------------------
  |  |  |  | 5569|      0|#define GETOP() (*pc++).i
  |  |  ------------------
  |  | 6711|      0|	R_bcstack_t *sx = R_BCNodeStackTop - rank - 2;			\
  |  | 6712|      0|	SUBASSIGN_N_PTR(sx, rank, R_BCNodeStackTop - rank - 1,		\
  |  | 6713|      0|			R_BCNodeStackTop - rank, sx, rho,		\
  |  | 6714|      0|			constants, callidx, sub2);			\
  |  | 6715|      0|	R_BCNodeStackTop -= rank + 1;					\
  |  | 6716|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6716:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
                  OP(SUBASSIGN_N, 2): DO_SUBASSIGN_N(rho, FALSE); NEXT();
  ------------------
  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8628|      2|    OP(SUBASSIGN2_N, 2): DO_SUBASSIGN_N(rho, TRUE); NEXT();
  ------------------
  |  | 5551|      2|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|      2|    opinfo[name##_OP].argc = (n); \
  |  | 5553|      2|    opinfo[name##_OP].instname = #name; \
  |  | 5554|      2|    goto loop; \
  |  | 5555|      2|    op_##name
  ------------------
                  OP(SUBASSIGN2_N, 2): DO_SUBASSIGN_N(rho, TRUE); NEXT();
  ------------------
  |  | 6708|      0|#define DO_SUBASSIGN_N(rho, sub2) do {					\
  |  | 6709|      0|	int callidx = GETOP();						\
  |  |  ------------------
  |  |  |  | 5569|      0|#define GETOP() (*pc++).i
  |  |  ------------------
  |  | 6710|      0|	int rank = GETOP();						\
  |  |  ------------------
  |  |  |  | 5569|      0|#define GETOP() (*pc++).i
  |  |  ------------------
  |  | 6711|      0|	R_bcstack_t *sx = R_BCNodeStackTop - rank - 2;			\
  |  | 6712|      0|	SUBASSIGN_N_PTR(sx, rank, R_BCNodeStackTop - rank - 1,		\
  |  | 6713|      0|			R_BCNodeStackTop - rank, sx, rho,		\
  |  | 6714|      0|			constants, callidx, sub2);			\
  |  | 6715|      0|	R_BCNodeStackTop -= rank + 1;					\
  |  | 6716|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6716:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
                  OP(SUBASSIGN2_N, 2): DO_SUBASSIGN_N(rho, TRUE); NEXT();
  ------------------
  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8629|      2|    OP(LOG, 1): DO_LOG(); NEXT();
  ------------------
  |  | 5551|      2|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|      2|    opinfo[name##_OP].argc = (n); \
  |  | 5553|      2|    opinfo[name##_OP].instname = #name; \
  |  | 5554|      2|    goto loop; \
  |  | 5555|      2|    op_##name
  ------------------
                  OP(LOG, 1): DO_LOG(); NEXT();
  ------------------
  |  | 5146|      0|#define DO_LOG() do {							\
  |  | 5147|      0|	R_bcstack_t vvx;						\
  |  | 5148|      0|	R_bcstack_t *vx = bcStackScalarReal(R_BCNodeStackTop - 1, &vvx); \
  |  | 5149|      0|	if (vx->tag == REALSXP) {					\
  |  |  ------------------
  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (5149:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 5150|      0|	    double dval = R_log(vx->u.dval);				\
  |  | 5151|      0|	    if (ISNAN(dval)) {						\
  |  |  ------------------
  |  |  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (76:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5152|      0|		SEXP call = GETCONST(constants, GETOP());		\
  |  |  ------------------
  |  |  |  | 5463|      0|#define GETCONST(x, i) ((x).p)[i]
  |  |  ------------------
  |  | 5153|      0|		if (ISNAN(vx->u.dval)) dval = vx->u.dval;		\
  |  |  ------------------
  |  |  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (76:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5154|      0|		else warningcall(call, R_MSG_NA);			\
  |  |  ------------------
  |  |  |  | 2018|      0|# define warningcall		Rf_warningcall
  |  |  ------------------
  |  |               		else warningcall(call, R_MSG_NA);			\
  |  |  ------------------
  |  |  |  | 5041|      0|#define R_MSG_NA	_("NaNs produced")
  |  |  |  |  ------------------
  |  |  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5155|      0|	    }								\
  |  | 5156|      0|	    else SKIP_OP();						\
  |  |  ------------------
  |  |  |  | 5570|      0|#define SKIP_OP() (pc++)
  |  |  ------------------
  |  | 5157|      0|	    SETSTACK_REAL(-1, dval);					\
  |  |  ------------------
  |  |  |  | 4821|      0|#define SETSTACK_REAL(i, v) SETSTACK_REAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4779|      0|#define SETSTACK_REAL_PTR(s, v) do { \
  |  |  |  |  |  | 4780|      0|    double __v__ = (v); \
  |  |  |  |  |  | 4781|      0|    (s)->tag = REALSXP; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4782|      0|    (s)->u.dval = __v__; \
  |  |  |  |  |  | 4783|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4783:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5158|      0|	    R_Visible = TRUE;						\
  |  | 5159|      0|	    NEXT();							\
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 5160|      0|	}								\
  |  | 5161|      0|	SEXP call = GETCONST(constants, GETOP());			\
  |  |  ------------------
  |  |  |  | 5463|      0|#define GETCONST(x, i) ((x).p)[i]
  |  |  ------------------
  |  | 5162|      0|	SEXP args = CONS_NR(GETSTACK(-1), R_NilValue);			\
  |  |  ------------------
  |  |  |  | 4817|      0|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5163|      0|	SETSTACK(-1, args); /* to protect */				\
  |  |  ------------------
  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5164|      0|	SEXP op = getPrimitive(R_LogSym, SPECIALSXP);			\
  |  |  ------------------
  |  |  |  |  118|      0|#define SPECIALSXP   7	  /* special forms */
  |  |  ------------------
  |  | 5165|      0|	SETSTACK(-1, do_log_builtin(call, op, args, rho));		\
  |  |  ------------------
  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5166|      0|	R_Visible = TRUE;						\
  |  | 5167|      0|	NEXT();								\
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 5168|      0| } while (0)
  |  |  ------------------
  |  |  |  Branch (5168:11): [Folded, False: 0]
  |  |  ------------------
  ------------------
                  OP(LOG, 1): DO_LOG(); NEXT();
  ------------------
  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8630|      2|    OP(LOGBASE, 1): DO_LOGBASE(); NEXT();
  ------------------
  |  | 5551|      2|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|      2|    opinfo[name##_OP].argc = (n); \
  |  | 5553|      2|    opinfo[name##_OP].instname = #name; \
  |  | 5554|      2|    goto loop; \
  |  | 5555|      2|    op_##name
  ------------------
                  OP(LOGBASE, 1): DO_LOGBASE(); NEXT();
  ------------------
  |  | 5170|      0|#define DO_LOGBASE() do {						\
  |  | 5171|      0|	R_bcstack_t vvx, vvy;						\
  |  | 5172|      0|	R_bcstack_t *vx = bcStackScalarReal(R_BCNodeStackTop - 2, &vvx); \
  |  | 5173|      0|	R_bcstack_t *vy = bcStackScalarReal(R_BCNodeStackTop - 1, &vvy); \
  |  | 5174|      0|	if (vx->tag == REALSXP && vy->tag == REALSXP) {			\
  |  |  ------------------
  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |               	if (vx->tag == REALSXP && vy->tag == REALSXP) {			\
  |  |  ------------------
  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (5174:6): [True: 0, False: 0]
  |  |  |  Branch (5174:28): [True: 0, False: 0]
  |  |  ------------------
  |  | 5175|      0|	    double dval = logbase(vx->u.dval, vy->u.dval);		\
  |  | 5176|      0|	    if (ISNAN(dval)) {						\
  |  |  ------------------
  |  |  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (76:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5177|      0|		SEXP call = GETCONST(constants, GETOP());		\
  |  |  ------------------
  |  |  |  | 5463|      0|#define GETCONST(x, i) ((x).p)[i]
  |  |  ------------------
  |  | 5178|      0|		if (ISNAN(vx->u.dval)) dval = vx->u.dval;		\
  |  |  ------------------
  |  |  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (76:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5179|      0|		else if (ISNAN(vy->u.dval)) dval = vy->u.dval;		\
  |  |  ------------------
  |  |  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (76:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5180|      0|		else warningcall(call, R_MSG_NA);			\
  |  |  ------------------
  |  |  |  | 2018|      0|# define warningcall		Rf_warningcall
  |  |  ------------------
  |  |               		else warningcall(call, R_MSG_NA);			\
  |  |  ------------------
  |  |  |  | 5041|      0|#define R_MSG_NA	_("NaNs produced")
  |  |  |  |  ------------------
  |  |  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5181|      0|	    }								\
  |  | 5182|      0|	    else SKIP_OP();						\
  |  |  ------------------
  |  |  |  | 5570|      0|#define SKIP_OP() (pc++)
  |  |  ------------------
  |  | 5183|      0|	    R_BCNodeStackTop--;						\
  |  | 5184|      0|	    SETSTACK_REAL(-1, dval);					\
  |  |  ------------------
  |  |  |  | 4821|      0|#define SETSTACK_REAL(i, v) SETSTACK_REAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4779|      0|#define SETSTACK_REAL_PTR(s, v) do { \
  |  |  |  |  |  | 4780|      0|    double __v__ = (v); \
  |  |  |  |  |  | 4781|      0|    (s)->tag = REALSXP; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4782|      0|    (s)->u.dval = __v__; \
  |  |  |  |  |  | 4783|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4783:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5185|      0|	    R_Visible = TRUE;						\
  |  | 5186|      0|	    NEXT();							\
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 5187|      0|	}								\
  |  | 5188|      0|	SEXP call = GETCONST(constants, GETOP());			\
  |  |  ------------------
  |  |  |  | 5463|      0|#define GETCONST(x, i) ((x).p)[i]
  |  |  ------------------
  |  | 5189|      0|	SEXP tmp = GETSTACK(-2);					\
  |  |  ------------------
  |  |  |  | 4817|      0|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5190|      0|	SEXP args = CONS_NR(tmp, CONS_NR(GETSTACK(-1), R_NilValue));	\
  |  |  ------------------
  |  |  |  | 4817|      0|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5191|      0|	R_BCNodeStackTop--;						\
  |  | 5192|      0|	SETSTACK(-1, args); /* to protect */				\
  |  |  ------------------
  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5193|      0|	SEXP op = getPrimitive(R_LogSym, SPECIALSXP);			\
  |  |  ------------------
  |  |  |  |  118|      0|#define SPECIALSXP   7	  /* special forms */
  |  |  ------------------
  |  | 5194|      0|	SETSTACK(-1, do_log_builtin(call, op, args, rho));		\
  |  |  ------------------
  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5195|      0|	R_Visible = TRUE;						\
  |  | 5196|      0|	NEXT();								\
  |  |  ------------------
  |  |  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 5197|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (5197:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
                  OP(LOGBASE, 1): DO_LOGBASE(); NEXT();
  ------------------
  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8631|    187|    OP(MATH1, 2): DO_MATH1(); NEXT();
  ------------------
  |  | 5551|      2|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|      2|    opinfo[name##_OP].argc = (n); \
  |  | 5553|      2|    opinfo[name##_OP].instname = #name; \
  |  | 5554|      2|    goto loop; \
  |  | 5555|    187|    op_##name
  ------------------
                  OP(MATH1, 2): DO_MATH1(); NEXT();
  ------------------
  |  | 5242|    187|#define DO_MATH1() do {							\
  |  | 5243|    187|	SEXP call = GETCONST(constants, GETOP());			\
  |  |  ------------------
  |  |  |  | 5463|    187|#define GETCONST(x, i) ((x).p)[i]
  |  |  ------------------
  |  | 5244|    187|	double (*fun)(double) = getMath1Fun(GETOP(), call);		\
  |  |  ------------------
  |  |  |  | 5569|    187|#define GETOP() (*pc++).i
  |  |  ------------------
  |  | 5245|    187|	R_bcstack_t vvx;						\
  |  | 5246|    187|	R_bcstack_t *vx = bcStackScalarReal(R_BCNodeStackTop - 1, &vvx); \
  |  | 5247|    187|	if (vx->tag == REALSXP) {					\
  |  |  ------------------
  |  |  |  |  124|    187|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (5247:6): [True: 26, False: 161]
  |  |  ------------------
  |  | 5248|     26|	    double dval = fun(vx->u.dval);				\
  |  | 5249|     26|            if (ISNAN(dval)) {						\
  |  |  ------------------
  |  |  |  |   76|     26|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (76:24): [True: 0, False: 26]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5250|      0|		if (ISNAN(vx->u.dval)) dval = vx->u.dval;		\
  |  |  ------------------
  |  |  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (76:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5251|      0|		else warningcall(call, R_MSG_NA);			\
  |  |  ------------------
  |  |  |  | 2018|      0|# define warningcall		Rf_warningcall
  |  |  ------------------
  |  |               		else warningcall(call, R_MSG_NA);			\
  |  |  ------------------
  |  |  |  | 5041|      0|#define R_MSG_NA	_("NaNs produced")
  |  |  |  |  ------------------
  |  |  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5252|      0|	    }								\
  |  | 5253|     26|	    SETSTACK_REAL(-1, dval);					\
  |  |  ------------------
  |  |  |  | 4821|     26|#define SETSTACK_REAL(i, v) SETSTACK_REAL_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4779|     26|#define SETSTACK_REAL_PTR(s, v) do { \
  |  |  |  |  |  | 4780|     26|    double __v__ = (v); \
  |  |  |  |  |  | 4781|     26|    (s)->tag = REALSXP; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  124|     26|#define REALSXP	    14	  /* real variables */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4782|     26|    (s)->u.dval = __v__; \
  |  |  |  |  |  | 4783|     26|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4783:10): [Folded, False: 26]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5254|     26|	    R_Visible = TRUE;						\
  |  | 5255|     26|	    NEXT();							\
  |  |  ------------------
  |  |  |  | 5568|     26|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 5256|     26|	}								\
  |  | 5257|    187|	SEXP args = CONS_NR(GETSTACK(-1), R_NilValue);			\
  |  |  ------------------
  |  |  |  | 4817|    187|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4751|    187|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 187]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5258|    187|	SEXP sym = CAR(call);						\
  |  | 5259|    187|	SETSTACK(-1, args); /* to protect */				\
  |  |  ------------------
  |  |  |  | 4819|    187|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|    187|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|    187|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|    187|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 187]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|    187|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|    187|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|    187|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|    187|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 187]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5260|    187|	SEXP op = getPrimitive(sym, BUILTINSXP);			\
  |  |  ------------------
  |  |  |  |  119|    187|#define BUILTINSXP   8	  /* builtin non-special forms */
  |  |  ------------------
  |  | 5261|    187|	SETSTACK(-1, do_math1(call, op, args, rho));			\
  |  |  ------------------
  |  |  |  | 4819|    187|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|    187|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|    187|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|    187|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 187]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|    187|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|    187|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|    187|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|    187|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 187]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5262|    187|	R_Visible = TRUE;						\
  |  | 5263|    187|	NEXT();								\
  |  |  ------------------
  |  |  |  | 5568|    187|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 5264|    187|    } while (0)
  |  |  ------------------
  |  |  |  Branch (5264:14): [Folded, False: 187]
  |  |  ------------------
  ------------------
                  OP(MATH1, 2): DO_MATH1(); NEXT();
  ------------------
  |  | 5568|    187|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8632|  14.0k|    OP(DOTCALL, 2): DO_DOTCALL(); NEXT();
  ------------------
  |  | 5551|    189|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|    189|    opinfo[name##_OP].argc = (n); \
  |  | 5553|    189|    opinfo[name##_OP].instname = #name; \
  |  | 5554|    189|    goto loop; \
  |  | 5555|  14.0k|    op_##name
  ------------------
                  OP(DOTCALL, 2): DO_DOTCALL(); NEXT();
  ------------------
  |  | 5268|  14.0k|#define DO_DOTCALL() do {						\
  |  | 5269|  14.0k|	SEXP call = GETCONST(constants, GETOP());			\
  |  |  ------------------
  |  |  |  | 5463|  14.0k|#define GETCONST(x, i) ((x).p)[i]
  |  |  ------------------
  |  | 5270|  14.0k|	int nargs = GETOP();						\
  |  |  ------------------
  |  |  |  | 5569|  14.0k|#define GETOP() (*pc++).i
  |  |  ------------------
  |  | 5271|  14.0k|	DL_FUNC ofun = R_dotCallFn(GETSTACK(- nargs - 1), call, nargs);	\
  |  |  ------------------
  |  |  |  | 4817|  14.0k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4751|  14.0k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 14.0k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5272|  14.0k|	if (ofun && nargs <= DOTCALL_MAX) {				\
  |  |  ------------------
  |  |  |  |  161|  14.0k|#define DOTCALL_MAX 16
  |  |  ------------------
  |  |  |  Branch (5272:6): [True: 14.0k, False: 0]
  |  |  |  Branch (5272:14): [True: 14.0k, False: 0]
  |  |  ------------------
  |  | 5273|  14.0k|	    SEXP cargs[DOTCALL_MAX];					\
  |  | 5274|  57.8k|	    for (int i = 0; i < nargs; i++)				\
  |  |  ------------------
  |  |  |  Branch (5274:22): [True: 43.8k, False: 14.0k]
  |  |  ------------------
  |  | 5275|  43.8k|		cargs[i] = GETSTACK(i - nargs);				\
  |  |  ------------------
  |  |  |  | 4817|  43.8k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4751|  43.8k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4751:26): [True: 319, False: 43.4k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5276|  14.0k|	    void *vmax = vmaxget();					\
  |  | 5277|  14.0k|	    SEXP val = R_doDotCall(ofun, nargs, cargs, call);		\
  |  | 5278|  14.0k|	    vmaxset(vmax);						\
  |  | 5279|  14.0k|	    R_BCNodeStackTop -= nargs;					\
  |  | 5280|  14.0k|	    SETSTACK(-1, val);						\
  |  |  ------------------
  |  |  |  | 4819|  14.0k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|  14.0k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|  14.0k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|  14.0k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 14.0k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|  14.0k|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|  14.0k|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|  14.0k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|  14.0k|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 14.0k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5281|  14.0k|	    R_Visible = TRUE;						\
  |  | 5282|  14.0k|	    NEXT();							\
  |  |  ------------------
  |  |  |  | 5568|  14.0k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 5283|  14.0k|	}								\
  |  | 5284|  14.0k|	SEXP args = R_NilValue;						\
  |  | 5285|  14.0k|	BCNPUSH(args); /* allocate space for protecting args */		\
  |  |  ------------------
  |  |  |  | 5362|  14.0k|#define BCNPUSH(v) do { \
  |  |  |  | 5363|  14.0k|  SEXP __value__ = (v); \
  |  |  |  | 5364|  14.0k|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5365|  14.0k|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5365:7): [True: 0, False: 14.0k]
  |  |  |  |  ------------------
  |  |  |  | 5366|  14.0k|  SETSTACK(0, __value__); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  14.0k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  14.0k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  14.0k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  14.0k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 14.0k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  14.0k|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|  14.0k|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  14.0k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  14.0k|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 14.0k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5367|  14.0k|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5368|  14.0k|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5368:10): [Folded, False: 14.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5286|  14.0k|	while (nargs-- >= 0) {						\
  |  |  ------------------
  |  |  |  Branch (5286:9): [True: 0, False: 14.0k]
  |  |  ------------------
  |  | 5287|      0|	    args = CONS_NR(GETSTACK(-2), args);				\
  |  |  ------------------
  |  |  |  | 4817|      0|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5288|      0|	    SETSTACK(-2, args); /* to protect */			\
  |  |  ------------------
  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5289|      0|	    BCNPOP_IGNORE_VALUE();					\
  |  |  ------------------
  |  |  |  | 5432|      0|#define BCNPOP_IGNORE_VALUE() R_BCNodeStackTop--
  |  |  ------------------
  |  | 5290|      0|	}								\
  |  | 5291|  14.0k|	SEXP sym = CAR(call);						\
  |  | 5292|  14.0k|	SEXP op = getPrimitive(sym, BUILTINSXP);			\
  |  |  ------------------
  |  |  |  |  119|  14.0k|#define BUILTINSXP   8	  /* builtin non-special forms */
  |  |  ------------------
  |  | 5293|  14.0k|	SETSTACK(-1, do_dotcall(call, op, args, rho));			\
  |  |  ------------------
  |  |  |  | 4819|  14.0k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4772|  14.0k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  | 4773|  14.0k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4767|  14.0k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 14.0k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4774|  14.0k|    SEXP __v__ = (v); \
  |  |  |  |  |  | 4775|  14.0k|    (s)->tag = 0; \
  |  |  |  |  |  | 4776|  14.0k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  | 4777|  14.0k|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 14.0k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5294|  14.0k|	R_Visible = TRUE;						\
  |  | 5295|  14.0k|	NEXT();								\
  |  |  ------------------
  |  |  |  | 5568|  14.0k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 5296|  14.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (5296:14): [Folded, False: 14.0k]
  |  |  ------------------
  ------------------
                  OP(DOTCALL, 2): DO_DOTCALL(); NEXT();
  ------------------
  |  | 5568|  14.0k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8633|  14.0k|    OP(COLON, 1): DO_COLON(); NEXT();
  ------------------
  |  | 5551|  14.0k|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  14.0k|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  14.0k|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  14.0k|    goto loop; \
  |  | 5555|  14.0k|    op_##name
  ------------------
                  OP(COLON, 1): DO_COLON(); NEXT();
  ------------------
  |  | 5298|  2.58k|#define DO_COLON() do {							\
  |  | 5299|  2.58k|	R_bcstack_t vvx, vvy;						\
  |  | 5300|  2.58k|	R_bcstack_t *vx = bcStackScalarReal(R_BCNodeStackTop - 2, &vvx); \
  |  | 5301|  2.58k|	R_bcstack_t *vy = bcStackScalarReal(R_BCNodeStackTop - 1, &vvy); \
  |  | 5302|  2.58k|	if (vx->tag == REALSXP && vy->tag == REALSXP) {			\
  |  |  ------------------
  |  |  |  |  124|  5.16k|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |               	if (vx->tag == REALSXP && vy->tag == REALSXP) {			\
  |  |  ------------------
  |  |  |  |  124|  2.58k|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (5302:6): [True: 2.58k, False: 0]
  |  |  |  Branch (5302:28): [True: 2.58k, False: 0]
  |  |  ------------------
  |  | 5303|  2.58k|	    double rn1 = vx->u.dval;					\
  |  | 5304|  2.58k|	    double rn2 = vy->u.dval;					\
  |  | 5305|  2.58k|	    if (R_FINITE(rn1) && R_FINITE(rn2) &&			\
  |  |  ------------------
  |  |  |  |   82|  2.58k|# define R_FINITE(x)    isfinite(x)
  |  |  ------------------
  |  |               	    if (R_FINITE(rn1) && R_FINITE(rn2) &&			\
  |  |  ------------------
  |  |  |  |   82|  2.58k|# define R_FINITE(x)    isfinite(x)
  |  |  ------------------
  |  | 5306|  2.58k|		INT_MIN <= rn1 && INT_MAX >= rn1 &&			\
  |  |  ------------------
  |  |  |  Branch (5306:3): [True: 2.58k, False: 0]
  |  |  |  Branch (5306:21): [True: 2.58k, False: 0]
  |  |  ------------------
  |  | 5307|  2.58k|		INT_MIN <= rn2 && INT_MAX >= rn2 &&			\
  |  |  ------------------
  |  |  |  Branch (5307:3): [True: 2.58k, False: 0]
  |  |  |  Branch (5307:21): [True: 2.58k, False: 0]
  |  |  ------------------
  |  | 5308|  2.58k|		rn1 == (int) rn1 && rn2 == (int) rn2) {			\
  |  |  ------------------
  |  |  |  Branch (5308:3): [True: 2.58k, False: 0]
  |  |  |  Branch (5308:23): [True: 2.58k, False: 0]
  |  |  ------------------
  |  | 5309|  2.58k|		SKIP_OP(); /* skip 'call' index */			\
  |  |  ------------------
  |  |  |  | 5570|  2.58k|#define SKIP_OP() (pc++)
  |  |  ------------------
  |  | 5310|  2.58k|		R_BCNodeStackTop--;					\
  |  | 5311|  2.58k|		SETSTACK_INTSEQ(-1, rn1, rn2);				\
  |  |  ------------------
  |  |  |  | 4803|  2.58k|#define SETSTACK_INTSEQ(idx, rn1, rn2) do {	\
  |  |  |  | 4804|  2.58k|	SEXP info = allocVector(INTSXP, 2);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  875|  2.58k|#define allocVector		Rf_allocVector
  |  |  |  |  ------------------
  |  |  |  |               	SEXP info = allocVector(INTSXP, 2);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  123|  2.58k|#define INTSXP	    13	  /* integer vectors */
  |  |  |  |  ------------------
  |  |  |  | 4805|  2.58k|	INTEGER(info)[0] = (int) rn1;		\
  |  |  |  | 4806|  2.58k|	INTEGER(info)[1] = (int) rn2;		\
  |  |  |  | 4807|  2.58k|	R_BCNodeStackTop[idx].u.sxpval = info;	\
  |  |  |  | 4808|  2.58k|	R_BCNodeStackTop[idx].tag = INTSEQSXP;	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4714|  2.58k|# define INTSEQSXP 9999
  |  |  |  |  ------------------
  |  |  |  | 4809|  2.58k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4809:14): [Folded, False: 2.58k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5312|  2.58k|		R_Visible = TRUE;					\
  |  | 5313|  2.58k|		NEXT();							\
  |  |  ------------------
  |  |  |  | 5568|  2.58k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 5314|  2.58k|	    }								\
  |  | 5315|  2.58k|	}								\
  |  | 5316|  2.58k|	Builtin2(do_colon, R_ColonSymbol, rho);				\
  |  |  ------------------
  |  |  |  | 5006|  2.58k|#define Builtin2(do_fun,which,rho) do {					\
  |  |  |  | 5007|  2.58k|	SEXP stack1 = GETSTACK(-1);					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|  2.58k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|  2.58k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 2.58k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5008|  2.58k|	SEXP stack2 = GETSTACK(-2);					\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4817|  2.58k|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4751|  2.58k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 2.58k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5009|  2.58k|	SEXP call = GETCONST(constants, GETOP());			\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5463|  2.58k|#define GETCONST(x, i) ((x).p)[i]
  |  |  |  |  ------------------
  |  |  |  | 5010|  2.58k|	SEXP tmp = CONS_NR(stack1, R_NilValue);				\
  |  |  |  | 5011|  2.58k|	SETSTACK(-2, CONS_NR(stack2, tmp));				\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  2.58k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  2.58k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  2.58k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  2.58k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 2.58k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  2.58k|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|  2.58k|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  2.58k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  2.58k|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 2.58k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5012|  2.58k|	R_BCNodeStackTop--;						\
  |  |  |  | 5013|  2.58k|	SETSTACK(-1, do_fun(call, getPrimitive(which, BUILTINSXP),	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  2.58k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  2.58k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  2.58k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  2.58k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 2.58k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  5.16k|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4774:19): [True: 0, False: 2.58k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4775|  2.58k|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  2.58k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  2.58k|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 2.58k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5014|  2.58k|			    GETSTACK(-1), rho));			\
  |  |  |  | 5015|  2.58k|	R_Visible = TRUE;						\
  |  |  |  | 5016|  2.58k|	NEXT();								\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|  2.58k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 5017|  2.58k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5017:13): [Folded, False: 2.58k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5317|  2.58k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (5317:14): [Folded, False: 2.58k]
  |  |  ------------------
  ------------------
                  OP(COLON, 1): DO_COLON(); NEXT();
  ------------------
  |  | 5568|  2.58k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
  |  Branch (8633:19): [True: 2.58k, False: 0]
  |  Branch (8633:19): [True: 2.58k, False: 0]
  ------------------
 8634|  1.04M|    OP(SEQALONG, 1): DO_SEQ_ALONG(); NEXT();
  ------------------
  |  | 5551|  2.58k|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  2.58k|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  2.58k|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  2.58k|    goto loop; \
  |  | 5555|  1.04M|    op_##name
  ------------------
                  OP(SEQALONG, 1): DO_SEQ_ALONG(); NEXT();
  ------------------
  |  | 5319|  1.04M|#define DO_SEQ_ALONG() do {					\
  |  | 5320|  1.04M|	SEXP x = GETSTACK(-1);					\
  |  |  ------------------
  |  |  |  | 4817|  1.04M|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4751|  1.04M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 1.04M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5321|  1.04M|	if (! OBJECT(x)) {					\
  |  |  ------------------
  |  |  |  Branch (5321:6): [True: 1.04M, False: 178]
  |  |  ------------------
  |  | 5322|  1.04M|	    R_xlen_t len = xlength(x);				\
  |  |  ------------------
  |  |  |  | 1049|  1.04M|#define xlength(x)		Rf_xlength(x)
  |  |  ------------------
  |  | 5323|  1.04M|	    if (len >= 1 && len <= INT_MAX) {			\
  |  |  ------------------
  |  |  |  Branch (5323:10): [True: 1.04M, False: 4]
  |  |  |  Branch (5323:22): [True: 1.04M, False: 0]
  |  |  ------------------
  |  | 5324|  1.04M|		SKIP_OP(); /* skip 'call' index */		\
  |  |  ------------------
  |  |  |  | 5570|  1.04M|#define SKIP_OP() (pc++)
  |  |  ------------------
  |  | 5325|  1.04M|		SETSTACK_INTSEQ(-1, 1, len);			\
  |  |  ------------------
  |  |  |  | 4803|  1.04M|#define SETSTACK_INTSEQ(idx, rn1, rn2) do {	\
  |  |  |  | 4804|  1.04M|	SEXP info = allocVector(INTSXP, 2);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  875|  1.04M|#define allocVector		Rf_allocVector
  |  |  |  |  ------------------
  |  |  |  |               	SEXP info = allocVector(INTSXP, 2);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  123|  1.04M|#define INTSXP	    13	  /* integer vectors */
  |  |  |  |  ------------------
  |  |  |  | 4805|  1.04M|	INTEGER(info)[0] = (int) rn1;		\
  |  |  |  | 4806|  1.04M|	INTEGER(info)[1] = (int) rn2;		\
  |  |  |  | 4807|  1.04M|	R_BCNodeStackTop[idx].u.sxpval = info;	\
  |  |  |  | 4808|  1.04M|	R_BCNodeStackTop[idx].tag = INTSEQSXP;	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4714|  1.04M|# define INTSEQSXP 9999
  |  |  |  |  ------------------
  |  |  |  | 4809|  1.04M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4809:14): [Folded, False: 1.04M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5326|  1.04M|		R_Visible = TRUE;				\
  |  | 5327|  1.04M|		NEXT();						\
  |  |  ------------------
  |  |  |  | 5568|  1.04M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 5328|  1.04M|	    }							\
  |  | 5329|  1.04M|	}							\
  |  | 5330|  1.04M|	Builtin1(do_seq_along, install("seq_along"), rho);	\
  |  |  ------------------
  |  |  |  | 4997|  1.04M|#define Builtin1(do_fun,which,rho) do {					\
  |  |  |  | 4998|  1.04M|	SEXP call = GETCONST(constants, GETOP());			\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5463|  1.04M|#define GETCONST(x, i) ((x).p)[i]
  |  |  |  |  ------------------
  |  |  |  | 4999|  1.04M|	SETSTACK(-1, CONS_NR(GETSTACK(-1), R_NilValue));		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  1.04M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  1.04M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  1.04M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  1.04M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 1.04M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  2.09M|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4774:19): [True: 0, False: 1.04M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4775|  1.04M|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  1.04M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  1.04M|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 1.04M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5000|  1.04M|	SETSTACK(-1, do_fun(call, getPrimitive(which, BUILTINSXP),	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  1.04M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  1.04M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  1.04M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  1.04M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 1.04M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  2.09M|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4774:19): [True: 0, False: 1.04M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4775|  1.04M|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  1.04M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  1.04M|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 1.04M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5001|  1.04M|			    GETSTACK(-1), rho));			\
  |  |  |  | 5002|  1.04M|	R_Visible = TRUE;						\
  |  |  |  | 5003|  1.04M|	NEXT();								\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|  1.04M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 5004|  1.04M|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5004:13): [Folded, False: 1.04M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5331|  1.04M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (5331:14): [Folded, False: 1.04M]
  |  |  ------------------
  ------------------
                  OP(SEQALONG, 1): DO_SEQ_ALONG(); NEXT();
  ------------------
  |  | 5568|  1.04M|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8635|  1.04M|    OP(SEQLEN, 1): DO_SEQ_LEN(); NEXT();
  ------------------
  |  | 5551|  1.04M|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  1.04M|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  1.04M|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  1.04M|    goto loop; \
  |  | 5555|  1.04M|    op_##name
  ------------------
                  OP(SEQLEN, 1): DO_SEQ_LEN(); NEXT();
  ------------------
  |  | 5333|  4.58k|#define DO_SEQ_LEN() do {						\
  |  | 5334|  4.58k|	R_bcstack_t vvx;						\
  |  | 5335|  4.58k|	R_bcstack_t *vx = bcStackScalarReal(R_BCNodeStackTop - 1, &vvx); \
  |  | 5336|  4.58k|	if (vx->tag == REALSXP) {					\
  |  |  ------------------
  |  |  |  |  124|  4.58k|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (5336:6): [True: 4.58k, False: 0]
  |  |  ------------------
  |  | 5337|  4.58k|	    double rlen = vx->u.dval;					\
  |  | 5338|  4.58k|	    if (1 <= rlen && INT_MAX >= rlen &&				\
  |  |  ------------------
  |  |  |  Branch (5338:10): [True: 4.58k, False: 0]
  |  |  |  Branch (5338:23): [True: 4.58k, False: 0]
  |  |  ------------------
  |  | 5339|  4.58k|		rlen == (int) rlen) {					\
  |  |  ------------------
  |  |  |  Branch (5339:3): [True: 4.58k, False: 0]
  |  |  ------------------
  |  | 5340|  4.58k|		SKIP_OP(); /* skip 'call' index */			\
  |  |  ------------------
  |  |  |  | 5570|  4.58k|#define SKIP_OP() (pc++)
  |  |  ------------------
  |  | 5341|  4.58k|		SETSTACK_INTSEQ(-1, 1, rlen);				\
  |  |  ------------------
  |  |  |  | 4803|  4.58k|#define SETSTACK_INTSEQ(idx, rn1, rn2) do {	\
  |  |  |  | 4804|  4.58k|	SEXP info = allocVector(INTSXP, 2);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  875|  4.58k|#define allocVector		Rf_allocVector
  |  |  |  |  ------------------
  |  |  |  |               	SEXP info = allocVector(INTSXP, 2);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  123|  4.58k|#define INTSXP	    13	  /* integer vectors */
  |  |  |  |  ------------------
  |  |  |  | 4805|  4.58k|	INTEGER(info)[0] = (int) rn1;		\
  |  |  |  | 4806|  4.58k|	INTEGER(info)[1] = (int) rn2;		\
  |  |  |  | 4807|  4.58k|	R_BCNodeStackTop[idx].u.sxpval = info;	\
  |  |  |  | 4808|  4.58k|	R_BCNodeStackTop[idx].tag = INTSEQSXP;	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4714|  4.58k|# define INTSEQSXP 9999
  |  |  |  |  ------------------
  |  |  |  | 4809|  4.58k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4809:14): [Folded, False: 4.58k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5342|  4.58k|		R_Visible = TRUE;					\
  |  | 5343|  4.58k|		NEXT();							\
  |  |  ------------------
  |  |  |  | 5568|  4.58k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  ------------------
  |  | 5344|  4.58k|	    }								\
  |  | 5345|  4.58k|	}								\
  |  | 5346|  4.58k|	Builtin1(do_seq_len, install("seq_len"), rho);			\
  |  |  ------------------
  |  |  |  | 4997|  4.58k|#define Builtin1(do_fun,which,rho) do {					\
  |  |  |  | 4998|  4.58k|	SEXP call = GETCONST(constants, GETOP());			\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5463|  4.58k|#define GETCONST(x, i) ((x).p)[i]
  |  |  |  |  ------------------
  |  |  |  | 4999|  4.58k|	SETSTACK(-1, CONS_NR(GETSTACK(-1), R_NilValue));		\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  4.58k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  4.58k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  4.58k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  4.58k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 4.58k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  9.17k|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4774:19): [True: 0, False: 4.58k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4775|  4.58k|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  4.58k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  4.58k|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 4.58k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5000|  4.58k|	SETSTACK(-1, do_fun(call, getPrimitive(which, BUILTINSXP),	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  4.58k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  4.58k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  4.58k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  4.58k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 4.58k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  9.17k|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4774:19): [True: 0, False: 4.58k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4775|  4.58k|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  4.58k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  4.58k|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 4.58k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5001|  4.58k|			    GETSTACK(-1), rho));			\
  |  |  |  | 5002|  4.58k|	R_Visible = TRUE;						\
  |  |  |  | 5003|  4.58k|	NEXT();								\
  |  |  |  |  ------------------
  |  |  |  |  |  | 5568|  4.58k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  |  |  |  |  ------------------
  |  |  |  | 5004|  4.58k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5004:13): [Folded, False: 4.58k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5347|  4.58k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (5347:14): [Folded, False: 4.58k]
  |  |  ------------------
  ------------------
                  OP(SEQLEN, 1): DO_SEQ_LEN(); NEXT();
  ------------------
  |  | 5568|  4.58k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8636|  12.5k|    OP(BASEGUARD, 2): DO_BASEGUARD(); NEXT();
  ------------------
  |  | 5551|  4.58k|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  4.58k|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  4.58k|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  4.58k|    goto loop; \
  |  | 5555|  12.5k|    op_##name
  ------------------
                  OP(BASEGUARD, 2): DO_BASEGUARD(); NEXT();
  ------------------
  |  | 6841|  12.5k|#define DO_BASEGUARD() do {				\
  |  | 6842|  12.5k|	SEXP expr = GETCONST(constants, GETOP());	\
  |  |  ------------------
  |  |  |  | 5463|  12.5k|#define GETCONST(x, i) ((x).p)[i]
  |  |  ------------------
  |  | 6843|  12.5k|	int label = GETOP();				\
  |  |  ------------------
  |  |  |  | 5569|  12.5k|#define GETOP() (*pc++).i
  |  |  ------------------
  |  | 6844|  12.5k|	SEXP sym = CAR(expr);				\
  |  | 6845|  12.5k|	if (findFun(sym, rho) != SymbolValue(sym)) {	\
  |  |  ------------------
  |  |  |  |  915|  12.5k|#define findFun			Rf_findFun
  |  |  ------------------
  |  |  |  Branch (6845:6): [True: 0, False: 12.5k]
  |  |  ------------------
  |  | 6846|      0|	    BCNPUSH(eval(expr, rho));			\
  |  |  ------------------
  |  |  |  | 5362|      0|#define BCNPUSH(v) do { \
  |  |  |  | 5363|      0|  SEXP __value__ = (v); \
  |  |  |  | 5364|      0|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  |  |  | 5365|      0|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5365:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 5366|      0|  SETSTACK(0, __value__); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|      0|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5367|      0|  R_BCNodeStackTop = __ntop__; \
  |  |  |  | 5368|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5368:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6847|      0|	    pc = codebase + label;			\
  |  | 6848|      0|	}						\
  |  | 6849|  12.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6849:14): [Folded, False: 12.5k]
  |  |  ------------------
  ------------------
                  OP(BASEGUARD, 2): DO_BASEGUARD(); NEXT();
  ------------------
  |  | 5568|  12.5k|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8637|  12.5k|    OP(INCLNK, 0):
  ------------------
  |  | 5551|  12.5k|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|  12.5k|    opinfo[name##_OP].argc = (n); \
  |  | 5553|  12.5k|    opinfo[name##_OP].instname = #name; \
  |  | 5554|  12.5k|    goto loop; \
  |  | 5555|  12.5k|    op_##name
  ------------------
 8638|      0|      INCLNK_stack_commit(); /* needed for pre version 12 byte code */
 8639|      0|      INCLNK_STACK_PTR(R_BCNodeStackTop - 1);
  ------------------
  |  | 4891|      0|#define INCLNK_STACK_PTR(s) do {		\
  |  | 4892|      0|	if ((s)->tag == 0)			\
  |  |  ------------------
  |  |  |  Branch (4892:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 4893|      0|	    INCREMENT_LINKS((s)->u.sxpval);	\
  |  |  ------------------
  |  |  |  |  540|      0|#define INCREMENT_LINKS(x) do {			\
  |  |  |  |  541|      0|	SEXP il__x__ = (x);			\
  |  |  |  |  542|      0|	INCREMENT_NAMED(il__x__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  222|      0|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (222:43): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  543|      0|	INCREMENT_REFCNT(il__x__);		\
  |  |  |  |  544|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (544:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4894|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4894:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 8640|      0|      NEXT();
  ------------------
  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8641|      2|    OP(DECLNK, 0):
  ------------------
  |  | 5551|      2|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|      2|    opinfo[name##_OP].argc = (n); \
  |  | 5553|      2|    opinfo[name##_OP].instname = #name; \
  |  | 5554|      2|    goto loop; \
  |  | 5555|      2|    op_##name
  ------------------
 8642|      0|      DECLNK_STACK_PTR(R_BCNodeStackTop - 2);
  ------------------
  |  | 4896|      0|#define DECLNK_STACK_PTR(s) do {		\
  |  | 4897|      0|	if ((s)->tag == 0)			\
  |  |  ------------------
  |  |  |  Branch (4897:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 4898|      0|	    DECREMENT_LINKS((s)->u.sxpval);	\
  |  |  ------------------
  |  |  |  |  545|      0|#define DECREMENT_LINKS(x) do {			\
  |  |  |  |  546|      0|	SEXP dl__x__ = (x);			\
  |  |  |  |  547|      0|	DECREMENT_NAMED(dl__x__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  223|      0|# define DECREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (223:43): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  548|      0|	DECREMENT_REFCNT(dl__x__);		\
  |  |  |  |  549|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (549:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4899|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4899:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 8643|      0|      NEXT();
  ------------------
  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8644|      2|    OP(DECLNK_N, 1):
  ------------------
  |  | 5551|      2|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|      2|    opinfo[name##_OP].argc = (n); \
  |  | 5553|      2|    opinfo[name##_OP].instname = #name; \
  |  | 5554|      2|    goto loop; \
  |  | 5555|      2|    op_##name
  ------------------
 8645|      0|      for (int n = GETOP(), i = 0; i < n; i++)
  ------------------
  |  | 5569|      0|#define GETOP() (*pc++).i
  ------------------
  |  Branch (8645:36): [True: 0, False: 0]
  ------------------
 8646|      0|	  DECLNK_STACK_PTR(R_BCNodeStackTop - 2 - i);
  ------------------
  |  | 4896|      0|#define DECLNK_STACK_PTR(s) do {		\
  |  | 4897|      0|	if ((s)->tag == 0)			\
  |  |  ------------------
  |  |  |  Branch (4897:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 4898|      0|	    DECREMENT_LINKS((s)->u.sxpval);	\
  |  |  ------------------
  |  |  |  |  545|      0|#define DECREMENT_LINKS(x) do {			\
  |  |  |  |  546|      0|	SEXP dl__x__ = (x);			\
  |  |  |  |  547|      0|	DECREMENT_NAMED(dl__x__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  223|      0|# define DECREMENT_NAMED(x) do { } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (223:43): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  548|      0|	DECREMENT_REFCNT(dl__x__);		\
  |  |  |  |  549|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (549:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4899|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4899:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 8647|      0|      NEXT();
  ------------------
  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8648|      2|    OP(INCLNKSTK, 0):
  ------------------
  |  | 5551|      2|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|      2|    opinfo[name##_OP].argc = (n); \
  |  | 5553|      2|    opinfo[name##_OP].instname = #name; \
  |  | 5554|      2|    goto loop; \
  |  | 5555|      2|    op_##name
  ------------------
 8649|      0|      {
 8650|      0|	  int offset = (int)(R_BCProtTop - R_BCNodeStackBase);
 8651|      0|	  INCLNK_stack(R_BCNodeStackTop);
 8652|      0|	  BCNPUSH_INTEGER(offset);
  ------------------
  |  | 5384|      0|#define BCNPUSH_INTEGER(v) do { \
  |  | 5385|      0|  int __value__ = (v); \
  |  | 5386|      0|  R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1; \
  |  | 5387|      0|  if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  ------------------
  |  |  |  Branch (5387:7): [True: 0, False: 0]
  |  |  ------------------
  |  | 5388|      0|  __ntop__[-1].u.ival = __value__; \
  |  | 5389|      0|  __ntop__[-1].tag = INTSXP; \
  |  |  ------------------
  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  | 5390|      0|  R_BCNodeStackTop = __ntop__; \
  |  | 5391|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (5391:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 8653|      0|	  NEXT();
  ------------------
  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8654|      0|      }
 8655|      2|    OP(DECLNKSTK, 0):
  ------------------
  |  | 5551|      2|  case name##_OP: opinfo[name##_OP].addr = (__extension__ &&op_##name); \
  |  |  ------------------
  |  |  |  Branch (5551:3): [True: 2, False: 258]
  |  |  ------------------
  |  | 5552|      2|    opinfo[name##_OP].argc = (n); \
  |  | 5553|      2|    opinfo[name##_OP].instname = #name; \
  |  | 5554|      2|    goto loop; \
  |  | 5555|      2|    op_##name
  ------------------
 8656|      0|      {
 8657|      0|	  int offset = GETSTACK_IVAL_PTR(R_BCNodeStackTop - 2);
  ------------------
  |  | 4755|      0|#define GETSTACK_IVAL_PTR(s) ((s)->u.ival)
  ------------------
 8658|      0|	  R_bcstack_t *ptop = R_BCNodeStackBase + offset;
 8659|      0|	  DECLNK_stack(ptop);
 8660|      0|	  R_BCNodeStackTop[-2] = R_BCNodeStackTop[-1];
 8661|      0|	  R_BCNodeStackTop--;
 8662|      0|	  NEXT();
  ------------------
  |  | 5568|      0|#define NEXT() (__extension__ ({currentpc = pc; goto *(*pc++).v;}))
  ------------------
 8663|      0|      }
 8664|    262|    LASTOP;
  ------------------
  |  | 5558|    260|#define LASTOP } return R_NilValue
  ------------------
 8665|    262|  }
 8666|    262|}
eval.c:bc_check_sigint:
 6185|  1.05M|{
 6186|  1.05M|    R_CheckUserInterrupt();
 6187|  1.05M|#ifndef IMMEDIATE_FINALIZERS
 6188|       |    /* finalizers are run here since this should only be called at
 6189|       |       points where running arbitrary code should be safe */
 6190|  1.05M|    R_RunPendingFinalizers();
 6191|  1.05M|#endif
 6192|  1.05M|}
eval.c:GETSTACK_PTR_TAG:
 4723|  1.12M|{
 4724|       |    /* no error checking since only called with tag != 0 */
 4725|  1.12M|    SEXP value;
 4726|  1.12M|    switch (s->tag) {
 4727|  22.9k|    case REALSXP:
  ------------------
  |  |  124|  22.9k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (4727:5): [True: 22.9k, False: 1.10M]
  ------------------
 4728|  22.9k|	value = ScalarReal(s->u.dval);
  ------------------
  |  | 1024|  22.9k|#define ScalarReal		Rf_ScalarReal
  ------------------
 4729|  22.9k|	break;
 4730|  1.07M|    case INTSXP:
  ------------------
  |  |  123|  1.07M|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (4730:5): [True: 1.07M, False: 47.0k]
  ------------------
 4731|  1.07M|	value = ScalarInteger(s->u.ival);
  ------------------
  |  | 1022|  1.07M|#define ScalarInteger		Rf_ScalarInteger
  ------------------
 4732|  1.07M|	break;
 4733|  21.0k|    case LGLSXP:
  ------------------
  |  |  121|  21.0k|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (4733:5): [True: 21.0k, False: 1.10M]
  ------------------
 4734|  21.0k|	value = ScalarLogical(s->u.ival);
  ------------------
  |  | 1023|  21.0k|#define ScalarLogical		Rf_ScalarLogical
  ------------------
 4735|  21.0k|	break;
 4736|      0|#ifdef COMPACT_INTSEQ
 4737|  2.98k|    case INTSEQSXP:
  ------------------
  |  | 4714|  2.98k|# define INTSEQSXP 9999
  ------------------
  |  Branch (4737:5): [True: 2.98k, False: 1.12M]
  ------------------
 4738|  2.98k|	{
 4739|  2.98k|	    int *seqinfo = INTEGER(s->u.sxpval);
 4740|  2.98k|	    value = seq_int(seqinfo[0], seqinfo[1]);
 4741|  2.98k|	}
 4742|  2.98k|	break;
 4743|      0|#endif
 4744|      0|    default: /* not reached */
  ------------------
  |  Branch (4744:5): [True: 0, False: 1.12M]
  ------------------
 4745|      0|	value = NULL;
 4746|  1.12M|    }
 4747|  1.12M|    s->tag = 0;
 4748|  1.12M|    s->u.sxpval = value;
 4749|  1.12M|    return value;
 4750|  1.12M|}
eval.c:seq_int:
 4694|  2.98k|{
 4695|  2.98k|#define USE_ALTREP_COMPACT_INTRANGE
 4696|  2.98k|#ifdef USE_ALTREP_COMPACT_INTRANGE
 4697|  2.98k|    return R_compact_intrange(n1, n2);
 4698|       |#else
 4699|       |    int n = n1 <= n2 ? n2 - n1 + 1 : n1 - n2 + 1;
 4700|       |    SEXP ans = allocVector(INTSXP, n);
 4701|       |    int *data = INTEGER(ans);
 4702|       |    if (n1 <= n2)
 4703|       |	for (int i = 0; i < n; i++)
 4704|       |	    data[i] = n1 + i;
 4705|       |    else
 4706|       |	for (int i = 0; i < n; i++)
 4707|       |	    data[i] = n1 - i;
 4708|       |    return ans;
 4709|       |#endif
 4710|  2.98k|}
eval.c:finish_force_promise:
 7419|  8.55M|{
 7420|  8.55M|    POP_PENDING_PROMISE(BCFRAME_PRSTACK());
  ------------------
  |  | 7255|  8.55M|#define BCFRAME_PRSTACK() (&(R_BCFrame->u.promvars.prstack))
  ------------------
 7421|  8.55M|    SEXP prom = BCFRAME_PROMISE();
  ------------------
  |  | 7253|  8.55M|#define BCFRAME_PROMISE() (R_BCFrame->u.promvars.promise)
  ------------------
 7422|  8.55M|    R_bcstack_t ubval = POP_BCFRAME(FALSE);
 7423|  8.55M|    BCNPUSH_STACKVAL(ubval); /* push early to protect */
  ------------------
  |  | 5402|  8.55M|#define BCNPUSH_STACKVAL(v) do {				\
  |  | 5403|  8.55M|	R_bcstack_t __value__ = (v);				\
  |  | 5404|  8.55M|	R_bcstack_t *__ntop__ = R_BCNodeStackTop + 1;		\
  |  | 5405|  8.55M|	if (__ntop__ > R_BCNodeStackEnd) nodeStackOverflow();	\
  |  |  ------------------
  |  |  |  Branch (5405:6): [True: 0, False: 8.55M]
  |  |  ------------------
  |  | 5406|  8.55M|	__ntop__[-1] = __value__;				\
  |  | 5407|  8.55M|	R_BCNodeStackTop = __ntop__;				\
  |  | 5408|  8.55M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (5408:14): [Folded, False: 8.55M]
  |  |  ------------------
  ------------------
 7424|  8.55M|    SET_PROMISE_VALUE_FROM_STACKVAL(prom, ubval);
  ------------------
  |  | 5803|  8.55M|# define SET_PROMISE_VALUE_FROM_STACKVAL(prom, ubval)  do {		\
  |  | 5804|  8.55M|	SEXP value;							\
  |  | 5805|  8.55M|	SET_PROMISE_TAG(prom, ubval.tag);				\
  |  | 5806|  8.55M|	switch ((ubval).tag) {						\
  |  | 5807|    630|	case REALSXP: SET_PROMISE_DVAL(prom, (ubval).u.dval); break;	\
  |  |  ------------------
  |  |  |  |  124|    630|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |               	case REALSXP: SET_PROMISE_DVAL(prom, (ubval).u.dval); break;	\
  |  |  ------------------
  |  |  |  | 5760|    630|# define SET_PROMISE_DVAL SET_BNDCELL_DVAL
  |  |  ------------------
  |  |  |  Branch (5807:2): [True: 630, False: 8.55M]
  |  |  ------------------
  |  | 5808|    638|	case INTSXP: SET_PROMISE_IVAL(prom, (ubval).u.ival); break;	\
  |  |  ------------------
  |  |  |  |  123|    638|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |               	case INTSXP: SET_PROMISE_IVAL(prom, (ubval).u.ival); break;	\
  |  |  ------------------
  |  |  |  | 5761|    638|# define SET_PROMISE_IVAL SET_BNDCELL_IVAL
  |  |  ------------------
  |  |  |  Branch (5808:2): [True: 638, False: 8.55M]
  |  |  ------------------
  |  | 5809|    144|	case LGLSXP: SET_PROMISE_LVAL(prom, (ubval).u.ival); break;	\
  |  |  ------------------
  |  |  |  |  121|    144|#define LGLSXP	    10	  /* logical vectors */
  |  |  ------------------
  |  |               	case LGLSXP: SET_PROMISE_LVAL(prom, (ubval).u.ival); break;	\
  |  |  ------------------
  |  |  |  | 5762|    144|# define SET_PROMISE_LVAL SET_BNDCELL_LVAL
  |  |  ------------------
  |  |  |  Branch (5809:2): [True: 144, False: 8.55M]
  |  |  ------------------
  |  | 5810|  8.55M|	default:							\
  |  |  ------------------
  |  |  |  Branch (5810:2): [True: 8.55M, False: 1.41k]
  |  |  ------------------
  |  | 5811|  8.55M|	    value = STACKVAL_TO_SEXP(ubval);				\
  |  | 5812|  8.55M|	    SET_PRVALUE(prom, value);					\
  |  | 5813|  8.55M|	    ENSURE_NAMEDMAX(value);					\
  |  | 5814|  8.55M|	}								\
  |  | 5815|  8.55M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5815:13): [Folded, False: 8.55M]
  |  |  ------------------
  ------------------
 7425|  8.55M|    SET_PRSEEN(prom, 0);
 7426|  8.55M|    SET_PRENV(prom, R_NilValue);
 7427|  8.55M|    UNPROTECT(1); /* prom */
  ------------------
  |  |  358|  8.55M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 7428|  8.55M|}
eval.c:POP_BCFRAME:
 7271|  17.0M|{
 7272|  17.0M|    R_bcstack_t val = has_cntxt ?
  ------------------
  |  Branch (7272:23): [True: 8.53M, False: 8.55M]
  ------------------
 7273|  8.53M|	BCFRAME_CNTXT()->returnValue :
  ------------------
  |  | 7246|  8.53M|#define BCFRAME_CNTXT() (R_BCFrame->pcntxt)
  ------------------
 7274|  17.0M|	R_BCNodeStackTop[-1];
 7275|  17.0M|    restore_bcEval_globals(BCFRAME_GLOBALS());
  ------------------
  |  | 7245|  17.0M|#define BCFRAME_GLOBALS() (&(R_BCFrame->globals))
  ------------------
 7276|  17.0M|    return val;
 7277|  17.0M|}
eval.c:finish_inline_closure_call:
 7356|  8.53M|{
 7357|  8.53M|    endcontext(BCFRAME_CNTXT());
  ------------------
  |  | 1900|  8.53M|# define endcontext		Rf_endcontext
  ------------------
                  endcontext(BCFRAME_CNTXT());
  ------------------
  |  | 7246|  8.53M|#define BCFRAME_CNTXT() (R_BCFrame->pcntxt)
  ------------------
 7358|  8.53M|    SEXP newrho = BCFRAME_NEWRHO();
  ------------------
  |  | 7247|  8.53M|#define BCFRAME_NEWRHO() (R_BCFrame->u.callvars.newrho)
  ------------------
 7359|  8.53M|    SEXP args = BCFRAME_ARGS();
  ------------------
  |  | 7249|  8.53M|#define BCFRAME_ARGS() (R_BCFrame->u.callvars.args)
  ------------------
 7360|  8.53M|    SEXP call = BCFRAME_CALL();
  ------------------
  |  | 7251|  8.53M|#define BCFRAME_CALL() (R_BCFrame->u.callvars.call)
  ------------------
 7361|  8.53M|    R_bcstack_t unboxed_val = POP_BCFRAME(TRUE);
 7362|       |
 7363|  8.53M|    if (unboxed_val.tag) {
  ------------------
  |  Branch (7363:9): [True: 8.09k, False: 8.52M]
  ------------------
 7364|  8.09k|#ifdef ADJUST_ENVIR_REFCNTS
 7365|  8.09k|	R_CleanupEnvir(newrho, R_NilValue);
 7366|  8.09k|	unpromiseArgs(args);
 7367|  8.09k|#endif
 7368|  8.09k|	UNPROTECT(1); /* newrho */
  ------------------
  |  |  358|  8.09k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 7369|  8.09k|	POP_CALL_FRAME(R_NilValue);/**** maybe unboxed version?*/
  ------------------
  |  | 5958|  8.09k|#define POP_CALL_FRAME(value) POP_CALL_FRAME_PLUS(0, value)
  |  |  ------------------
  |  |  |  | 5960|  8.09k|#define POP_CALL_FRAME_PLUS(n, value) do {	\
  |  |  |  | 5961|  8.09k|	R_BCNodeStackTop -= (2 + (n));		\
  |  |  |  | 5962|  8.09k|	SETSTACK(-1, value);			\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  8.09k|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  8.09k|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  8.09k|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  8.09k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 8.09k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  8.09k|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|  8.09k|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  8.09k|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  8.09k|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 8.09k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5963|  8.09k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5963:14): [Folded, False: 8.09k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7370|  8.09k|	R_BCNodeStackTop[-1] = unboxed_val;
 7371|  8.09k|    }
 7372|  8.52M|    else {
 7373|  8.52M|	SEXP value = unboxed_val.u.sxpval;
 7374|  8.52M|#ifdef ADJUST_ENVIR_REFCNTS
 7375|  8.52M|	Rboolean is_getter_call =
 7376|  8.52M|	    (CADR(call) == R_TmpvalSymbol &&
  ------------------
  |  Branch (7376:7): [True: 0, False: 8.52M]
  ------------------
 7377|      0|	     ! R_isReplaceSymbol(CAR(call)));
  ------------------
  |  Branch (7377:7): [True: 0, False: 0]
  ------------------
 7378|  8.52M|	R_CleanupEnvir(newrho, value);
 7379|  8.52M|	if (is_getter_call && MAYBE_REFERENCED(value))
  ------------------
  |  |  251|      0|#define MAYBE_REFERENCED(x) (! NO_REFERENCES(x))
  |  |  ------------------
  |  |  |  Branch (251:29): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (7379:6): [True: 0, False: 8.52M]
  ------------------
 7380|      0|	    value = shallow_duplicate(value);
  ------------------
  |  | 1030|      0|#define shallow_duplicate	Rf_shallow_duplicate
  ------------------
 7381|  8.52M|	unpromiseArgs(args);
 7382|  8.52M|#endif
 7383|  8.52M|#ifdef SUPPORT_TAILCALL
 7384|       |	/**** this could try to stay in the same bcEval, but don't
 7385|       |	      bother for now */
 7386|  8.52M|	value = handle_exec_continuation(value);
 7387|  8.52M|#endif
 7388|  8.52M|	UNPROTECT(1); /* newrho */
  ------------------
  |  |  358|  8.52M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 7389|  8.52M|	POP_CALL_FRAME(value);
  ------------------
  |  | 5958|  8.52M|#define POP_CALL_FRAME(value) POP_CALL_FRAME_PLUS(0, value)
  |  |  ------------------
  |  |  |  | 5960|  8.52M|#define POP_CALL_FRAME_PLUS(n, value) do {	\
  |  |  |  | 5961|  8.52M|	R_BCNodeStackTop -= (2 + (n));		\
  |  |  |  | 5962|  8.52M|	SETSTACK(-1, value);			\
  |  |  |  |  ------------------
  |  |  |  |  |  | 4819|  8.52M|#define SETSTACK(i, v) SETSTACK_PTR(R_BCNodeStackTop + (i), v)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4772|  8.52M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  |  |  |  |  | 4773|  8.52M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  | 4767|  8.52M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 8.52M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4774|  8.52M|    SEXP __v__ = (v); \
  |  |  |  |  |  |  |  | 4775|  8.52M|    (s)->tag = 0; \
  |  |  |  |  |  |  |  | 4776|  8.52M|    (s)->u.sxpval = __v__; \
  |  |  |  |  |  |  |  | 4777|  8.52M|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (4777:10): [Folded, False: 8.52M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 5963|  8.52M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5963:14): [Folded, False: 8.52M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7390|  8.52M|    }
 7391|  8.53M|}
eval.c:GETSTACK_LOGICAL_NO_NA_PTR:
 6861|  9.67M|{
 6862|  9.67M|    if (s->tag == LGLSXP && s->u.ival != NA_LOGICAL)
  ------------------
  |  |  121|  19.3M|#define LGLSXP	    10	  /* logical vectors */
  ------------------
                  if (s->tag == LGLSXP && s->u.ival != NA_LOGICAL)
  ------------------
  |  |   55|  2.13M|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (6862:9): [True: 2.13M, False: 7.53M]
  |  Branch (6862:29): [True: 2.13M, False: 190]
  ------------------
 6863|  2.13M|	return (Rboolean) s->u.ival;
 6864|       |
 6865|  7.53M|    SEXP value = GETSTACK_PTR(s);
  ------------------
  |  | 4751|  7.53M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  ------------------
  |  |  |  Branch (4751:26): [True: 198, False: 7.53M]
  |  |  ------------------
  ------------------
 6866|  7.53M|    if (IS_SCALAR(value, LGLSXP)) {
  ------------------
  |  |  121|  7.53M|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (6866:9): [True: 5.42M, False: 2.10M]
  ------------------
 6867|  5.42M|	int lval = SCALAR_LVAL(value);
 6868|  5.42M|	if (lval != NA_LOGICAL)
  ------------------
  |  |   55|  5.42M|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (6868:6): [True: 5.42M, False: 190]
  ------------------
 6869|  5.42M|	    return (Rboolean) lval;
 6870|  5.42M|    }
 6871|  2.10M|    SEXP call = GETCONST(constants, callidx);
  ------------------
  |  | 5463|  2.10M|#define GETCONST(x, i) ((x).p)[i]
  ------------------
 6872|  2.10M|    PROTECT(value);
  ------------------
  |  |  357|  2.10M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 6873|  2.10M|    Rboolean ans = asLogicalNoNA(value, call);
 6874|  2.10M|    UNPROTECT(1);
  ------------------
  |  |  358|  2.10M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 6875|  2.10M|    return ans;
 6876|  7.53M|}
eval.c:BCNALLOC:
 5479|  28.7M|{
 5480|  28.7M|    int nelems = NELEMS_FOR_SIZE(size);
  ------------------
  |  | 5475|  28.7M|    ((int) (((size) + sizeof(R_bcstack_t) - 1) / sizeof(R_bcstack_t)))
  ------------------
 5481|  28.7M|    BCNSTACKCHECK(nelems + 1);
  ------------------
  |  | 5434|  28.7M|#define BCNSTACKCHECK(n)  do {						\
  |  | 5435|  28.7M|	if (R_BCNodeStackTop + (n) > R_BCNodeStackEnd) nodeStackOverflow(); \
  |  |  ------------------
  |  |  |  Branch (5435:6): [True: 0, False: 28.7M]
  |  |  ------------------
  |  | 5436|  28.7M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (5436:14): [Folded, False: 28.7M]
  |  |  ------------------
  ------------------
 5482|  28.7M|    R_BCNodeStackTop->tag = RAWMEM_TAG;
  ------------------
  |  | 1401|  28.7M|# define RAWMEM_TAG 254
  ------------------
 5483|  28.7M|    R_BCNodeStackTop->u.ival = nelems;
 5484|  28.7M|    R_BCNodeStackTop++;
 5485|  28.7M|    void *ans = R_BCNodeStackTop;
 5486|  28.7M|    R_BCNodeStackTop += nelems;
 5487|  28.7M|    return ans;
 5488|  28.7M|}
eval.c:BCNPOP_ALLOC:
 5491|     24|{
 5492|     24|    size_t nelems = NELEMS_FOR_SIZE(size);
  ------------------
  |  | 5475|     24|    ((int) (((size) + sizeof(R_bcstack_t) - 1) / sizeof(R_bcstack_t)))
  ------------------
 5493|     24|    R_BCNodeStackTop -= nelems + 1; /* '+ 1' is for the RAWMEM_TAG */
 5494|     24|}
eval.c:BCNPOP_AND_END_CNTXT:
 5505|     12|static R_INLINE void BCNPOP_AND_END_CNTXT(void) {
 5506|     12|    RCNTXT* cntxt = BCNALLOC_BASE(sizeof(RCNTXT));
 5507|     12|    endcontext(cntxt);
  ------------------
  |  | 1900|     12|# define endcontext		Rf_endcontext
  ------------------
 5508|     12|    BCNPOP_ALLOC(sizeof(RCNTXT));
 5509|     12|}
eval.c:BCNALLOC_BASE:
 5497|     12|{
 5498|     12|    size_t nelems = (size + sizeof(R_bcstack_t) - 1) / sizeof(R_bcstack_t);
 5499|     12|    return R_BCNodeStackTop - nelems;
 5500|     12|}
eval.c:getForLoopSeq:
 5350|  1.05M|{
 5351|  1.05M|#ifdef COMPACT_INTSEQ
 5352|  1.05M|    R_bcstack_t *s = R_BCNodeStackTop + offset;
 5353|  1.05M|    if (s->tag == INTSEQSXP) {
  ------------------
  |  | 4714|  1.05M|# define INTSEQSXP 9999
  ------------------
  |  Branch (5353:9): [True: 1.05M, False: 160]
  ------------------
 5354|  1.05M|	*iscompact = TRUE;
 5355|  1.05M|	return s->u.sxpval;
 5356|  1.05M|    }
 5357|    160|#endif
 5358|    160|    *iscompact = FALSE;
 5359|    160|    return GETSTACK(offset);
  ------------------
  |  | 4817|    160|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  ------------------
  |  |  |  | 4751|    160|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4751:26): [True: 0, False: 160]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5360|  1.05M|}
eval.c:NEW_BNDCELL_IVAL:
 5608|  1.05M|{
 5609|  1.05M|    INIT_BNDCELL(cell, INTSXP);
  ------------------
  |  |  123|  1.05M|#define INTSXP	    13	  /* integer vectors */
  ------------------
 5610|  1.05M|    SET_BNDCELL_IVAL(cell, ival);
 5611|  1.05M|}
eval.c:NEW_BNDCELL_LVAL:
 5614|      4|{
 5615|      4|    INIT_BNDCELL(cell, LGLSXP);
  ------------------
  |  |  121|      4|#define LGLSXP	    10	  /* logical vectors */
  ------------------
 5616|      4|    SET_BNDCELL_LVAL(cell, lval);
 5617|      4|}
eval.c:GET_BINDING_CELL_CACHE:
 5708|  75.6M|{
 5709|  75.6M|    SEXP cell = GET_CACHED_BINDING_CELL(vcache, idx);
  ------------------
  |  | 5683|  75.6M|    (vcache ? VCACHE(CACHEIDX(sidx)) : R_NilValue)
  |  |  ------------------
  |  |  |  | 5681|  75.6M|#  define VCACHE(i) GETSTACK_SXPVAL_PTR(vcache + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4753|  75.6M|#define GETSTACK_SXPVAL_PTR(s) ((s)->u.sxpval)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5683:6): [True: 75.6M, False: 0]
  |  |  ------------------
  ------------------
 5710|       |    /* The value returned by GET_CACHED_BINDING_CELL is either a
 5711|       |       binding cell or R_NilValue.  TAG(R_NilValue) is R_NilValue, and
 5712|       |       that will not equal symbol. So a separate test for cell !=
 5713|       |       R_NilValue is not needed. */
 5714|  75.6M|    if (TAG(cell) == symbol && ! BNDCELL_UNBOUND(cell))
  ------------------
  |  | 5599|  32.9M|#define BNDCELL_UNBOUND(v) (BNDCELL_TAG(v) == 0 && CAR0(v) == R_UnboundValue)
  |  |  ------------------
  |  |  |  Branch (5599:29): [True: 32.9M, False: 12]
  |  |  |  Branch (5599:52): [True: 0, False: 32.9M]
  |  |  ------------------
  ------------------
  |  Branch (5714:9): [True: 32.9M, False: 42.6M]
  ------------------
 5715|  32.9M|	return cell;
 5716|  42.6M|    else {
 5717|  42.6M|	SEXP ncell = GET_BINDING_CELL(symbol, rho);
 5718|  42.6M|	if (ncell != R_NilValue)
  ------------------
  |  Branch (5718:6): [True: 42.5M, False: 138k]
  ------------------
 5719|  42.5M|	    SET_CACHED_BINDING(vcache, idx, ncell);
  ------------------
  |  | 5687|  42.5M|    do { if (vcache) VCACHE(CACHEIDX(sidx)) = (cell); } while (0)
  |  |  ------------------
  |  |  |  | 5681|  42.5M|#  define VCACHE(i) GETSTACK_SXPVAL_PTR(vcache + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4753|  42.5M|#define GETSTACK_SXPVAL_PTR(s) ((s)->u.sxpval)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5687:14): [True: 42.5M, False: 0]
  |  |  |  Branch (5687:64): [Folded, False: 42.5M]
  |  |  ------------------
  ------------------
 5720|   138k|	else if (cell != R_NilValue && BNDCELL_UNBOUND(cell))
  ------------------
  |  | 5599|      2|#define BNDCELL_UNBOUND(v) (BNDCELL_TAG(v) == 0 && CAR0(v) == R_UnboundValue)
  |  |  ------------------
  |  |  |  Branch (5599:29): [True: 2, False: 0]
  |  |  |  Branch (5599:52): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (5720:11): [True: 2, False: 138k]
  ------------------
 5721|      0|	    SET_CACHED_BINDING(vcache, idx, R_NilValue);
  ------------------
  |  | 5687|      0|    do { if (vcache) VCACHE(CACHEIDX(sidx)) = (cell); } while (0)
  |  |  ------------------
  |  |  |  | 5681|      0|#  define VCACHE(i) GETSTACK_SXPVAL_PTR(vcache + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4753|      0|#define GETSTACK_SXPVAL_PTR(s) ((s)->u.sxpval)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5687:14): [True: 0, False: 0]
  |  |  |  Branch (5687:64): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5722|  42.6M|	return ncell;
 5723|  42.6M|    }
 5724|  75.6M|}
eval.c:findVarEX:
 5744|  24.6M|{
 5745|  24.6M|    if (dd)
  ------------------
  |  Branch (5745:9): [True: 1.70k, False: 24.6M]
  ------------------
 5746|  1.70k|	return ddfindVar(symbol, rho);
  ------------------
  |  | 1885|  1.70k|# define ddfindVar		Rf_ddfindVar
  ------------------
 5747|  24.6M|    else if (vcache != NULL) {
  ------------------
  |  Branch (5747:14): [True: 24.6M, False: 0]
  ------------------
 5748|  24.6M|	SEXP cell = GET_BINDING_CELL_CACHE(symbol, rho, vcache, sidx);
 5749|  24.6M|	SEXP value = BINDING_VALUE(cell);
 5750|  24.6M|	if (value == R_UnboundValue)
  ------------------
  |  Branch (5750:6): [True: 89.0k, False: 24.5M]
  ------------------
 5751|  89.0k|	    return FIND_VAR_NO_CACHE(symbol, rho, cell);
 5752|  24.5M|	else
 5753|  24.5M|	    return value;
 5754|  24.6M|    }
 5755|      0|    else
 5756|      0|	return R_findVar(symbol, rho);
 5757|  24.6M|}
eval.c:FIND_VAR_NO_CACHE:
 5732|  89.0k|{
 5733|  89.0k|    R_varloc_t loc =  R_findVarLoc(symbol, rho);
 5734|  89.0k|    if (loc.cell && IS_ACTIVE_BINDING(loc.cell)) {
  ------------------
  |  Branch (5734:9): [True: 89.0k, False: 0]
  |  Branch (5734:21): [True: 4, False: 89.0k]
  ------------------
 5735|      4|	SEXP value = R_GetVarLocValue(loc);
 5736|      4|	return value;
 5737|      4|    }
 5738|  89.0k|    else return R_GetVarLocValue(loc);
 5739|  89.0k|}
eval.c:setup_bcframe_prom:
 7400|  9.61M|{
 7401|  9.61M|    PROTECT(prom);
  ------------------
  |  |  357|  9.61M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 7402|  9.61M|    SET_PRSEEN(prom, 1);
 7403|  9.61M|    R_BCFrame = PUSH_BCFRAME(FALSE);
 7404|  9.61M|    INCREMENT_EVAL_DEPTH();
  ------------------
  |  | 1067|  9.61M|#define INCREMENT_EVAL_DEPTH() do {		\
  |  | 1068|  9.61M|	R_EvalDepth++;				\
  |  | 1069|  9.61M|	if (R_EvalDepth > R_Expressions)	\
  |  |  ------------------
  |  |  |  Branch (1069:6): [True: 0, False: 9.61M]
  |  |  ------------------
  |  | 1070|  9.61M|	    handle_eval_depth_overflow();	\
  |  | 1071|  9.61M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1071:14): [Folded, False: 9.61M]
  |  |  ------------------
  ------------------
 7405|  9.61M|    SET_BCFRAME_PROMISE(prom);
  ------------------
  |  | 7254|  9.61M|#define SET_BCFRAME_PROMISE(val) (R_BCFrame->u.promvars.promise = (val))
  ------------------
 7406|  9.61M|    PUSH_PENDING_PROMISE(prom, BCFRAME_PRSTACK());
  ------------------
  |  | 7255|  9.61M|#define BCFRAME_PRSTACK() (&(R_BCFrame->u.promvars.prstack))
  ------------------
 7407|  9.61M|    R_Visible = TRUE;
 7408|  9.61M|    return bcode_setup_locals(PRCODE(prom), PRENV(prom));
 7409|  9.61M|}
eval.c:PUSH_BCFRAME:
 7259|  19.1M|{
 7260|  19.1M|    R_bcstack_t *oldtop = R_BCNodeStackTop;
 7261|  19.1M|    RCNTXT *pcntxt = need_cntxt ? BCNALLOC_CNTXT() : NULL;
  ------------------
  |  | 5503|  9.58M|#define BCNALLOC_CNTXT() (RCNTXT *) BCNALLOC(sizeof(RCNTXT))
  ------------------
  |  Branch (7261:22): [True: 9.58M, False: 9.61M]
  ------------------
 7262|  19.1M|    R_bcFrame_type *rec = (R_bcFrame_type *) BCNALLOC(sizeof(R_bcFrame_type));
 7263|  19.1M|    save_bcEval_globals(&(rec->globals));
 7264|       |    /* modify saved stack top to the value before pushing the frame */
 7265|  19.1M|    rec->globals.oldntop = oldtop; // must come after save_bcEval_globals!!
 7266|  19.1M|    rec->pcntxt = pcntxt;
 7267|  19.1M|    return rec;
 7268|  19.1M|}
eval.c:getvar:
 5771|  7.51M|{
 5772|  7.51M|    SEXP value = findVarEX(symbol, rho, dd, vcache, sidx);
 5773|       |
 5774|  7.51M|    if (value == R_UnboundValue)
  ------------------
  |  Branch (5774:9): [True: 0, False: 7.51M]
  ------------------
 5775|      0|	UNBOUND_VARIABLE_ERROR(symbol, rho);
 5776|  7.51M|    else if (value == R_MissingArg) {
  ------------------
  |  Branch (5776:14): [True: 0, False: 7.51M]
  ------------------
 5777|      0|	if (!keepmiss) R_MissingArgError(symbol, getLexicalCall(rho), "getvarError");
  ------------------
  |  Branch (5777:6): [True: 0, False: 0]
  ------------------
 5778|      0|	return R_MissingArg;
 5779|      0|    }
 5780|  7.51M|    else if (TYPEOF(value) == PROMSXP) {
  ------------------
  |  |  116|  7.51M|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (5780:14): [True: 7.47M, False: 48.0k]
  ------------------
 5781|  7.47M|	if (PROMISE_IS_EVALUATED(value))
  ------------------
  |  Branch (5781:6): [True: 17.4k, False: 7.45M]
  ------------------
 5782|  17.4k|	    return PRVALUE(value);
 5783|  7.45M|	else {
 5784|       |	    /**** R_isMissing is inefficient */
 5785|  7.45M|	    if (keepmiss) {
  ------------------
  |  Branch (5785:10): [True: 980, False: 7.45M]
  ------------------
 5786|    980|		PROTECT(value);
  ------------------
  |  |  357|    980|#define PROTECT(s)	Rf_protect(s)
  ------------------
 5787|    980|		Rboolean miss = R_isMissing(symbol, rho);
 5788|    980|		UNPROTECT(1);
  ------------------
  |  |  358|    980|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 5789|    980|		if (miss)
  ------------------
  |  Branch (5789:7): [True: 0, False: 980]
  ------------------
 5790|      0|		    return R_MissingArg;
 5791|    980|	    }
 5792|  7.45M|	    forcePromise(value);
 5793|  7.45M|	    return PRVALUE(value);
 5794|  7.45M|	}
 5795|  7.47M|    }
 5796|  48.0k|    else {
 5797|  48.0k|	ENSURE_NAMED(value); /* needed for .Last.value - LT */
 5798|  48.0k|	return value;
 5799|  48.0k|    }
 5800|  7.51M|}
eval.c:getPrimitive:
 4927|  22.4M|{
 4928|  22.4M|    SEXP value = SYMVALUE(symbol);
 4929|  22.4M|    if (TYPEOF(value) == PROMSXP) {
  ------------------
  |  |  116|  22.4M|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (4929:9): [True: 0, False: 22.4M]
  ------------------
 4930|      0|	ENSURE_PROMISE_IS_EVALUATED(value);
  ------------------
  |  |  946|      0|#define ENSURE_PROMISE_IS_EVALUATED(x) do {	\
  |  |  947|      0|	SEXP __x__ = (x);			\
  |  |  948|      0|	if (! PROMISE_IS_EVALUATED(__x__))	\
  |  |  ------------------
  |  |  |  Branch (948:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  949|      0|	    forcePromise(__x__);		\
  |  |  950|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (950:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4931|      0|	value = PRVALUE(value);
 4932|      0|    }
 4933|  22.4M|    if (TYPEOF(value) != type) {
  ------------------
  |  Branch (4933:9): [True: 0, False: 22.4M]
  ------------------
 4934|       |	/* probably means a package redefined the base function so
 4935|       |	   try to get the real thing from the internal table of
 4936|       |	   primitives */
 4937|      0|	value = R_Primitive(CHAR(PRINTNAME(symbol)));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 4938|      0|	if (TYPEOF(value) != type)
  ------------------
  |  Branch (4938:6): [True: 0, False: 0]
  ------------------
 4939|       |	    /* if that doesn't work we signal an error */
 4940|      0|	    error(_("\"%s\" is not a %s function"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("\"%s\" is not a %s function"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4941|      0|		  CHAR(PRINTNAME(symbol)),
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 4942|      0|		  type == BUILTINSXP ? "BUILTIN" : "SPECIAL");
  ------------------
  |  |  119|      0|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (4942:5): [True: 0, False: 0]
  ------------------
 4943|      0|    }
 4944|  22.4M|    return value;
 4945|  22.4M|}
eval.c:BUILTIN_CALL_FRAME_ARGS:
 5915|  33.9M|{
 5916|  33.9M|    SEXP args = CALL_FRAME_ARGS();
  ------------------
  |  | 5910|  33.9M|#define CALL_FRAME_ARGS() GETSTACK(-2)
  |  |  ------------------
  |  |  |  | 4817|  33.9M|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4751|  33.9M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 33.9M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5917|  89.0M|    for (SEXP a = args; a  != R_NilValue; a = CDR(a))
  ------------------
  |  Branch (5917:25): [True: 55.1M, False: 33.9M]
  ------------------
 5918|  55.1M|	DECREMENT_LINKS(CAR(a));
  ------------------
  |  |  545|  55.1M|#define DECREMENT_LINKS(x) do {			\
  |  |  546|  55.1M|	SEXP dl__x__ = (x);			\
  |  |  547|  55.1M|	DECREMENT_NAMED(dl__x__);		\
  |  |  ------------------
  |  |  |  |  223|  55.1M|# define DECREMENT_NAMED(x) do { } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (223:43): [Folded, False: 55.1M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  548|  55.1M|	DECREMENT_REFCNT(dl__x__);		\
  |  |  549|  55.1M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (549:14): [Folded, False: 55.1M]
  |  |  ------------------
  ------------------
 5919|  33.9M|    return args;
 5920|  33.9M|}
eval.c:checkForMissings:
 6766|  6.30M|{
 6767|  6.30M|    Rboolean found = FALSE;
 6768|  14.7M|    for (SEXP a = args; a != R_NilValue; a = CDR(a))
  ------------------
  |  Branch (6768:25): [True: 8.40M, False: 6.30M]
  ------------------
 6769|  8.40M|	if (CAR(a) == R_MissingArg) {
  ------------------
  |  Branch (6769:6): [True: 0, False: 8.40M]
  ------------------
 6770|      0|	    found = TRUE;
 6771|      0|	    break;
 6772|      0|	}
 6773|  6.30M|    if (found)
  ------------------
  |  Branch (6773:9): [True: 0, False: 6.30M]
  ------------------
 6774|      0|	signalMissingArgError(args, call);
 6775|  6.30M|}
eval.c:markSpecialArgs:
 7103|  53.4k|{
 7104|  53.4k|    SEXP arg;
 7105|   111k|    for(arg = args; arg != R_NilValue; arg = CDR(arg))
  ------------------
  |  Branch (7105:21): [True: 58.4k, False: 53.4k]
  ------------------
 7106|  58.4k|	MARK_NOT_MUTABLE(CAR(arg));
 7107|  53.4k|    return args;
 7108|  53.4k|}
eval.c:CLOSURE_CALL_FRAME_ARGS:
 5923|  9.58M|{
 5924|  9.58M|    SEXP args = CALL_FRAME_ARGS();
  ------------------
  |  | 5910|  9.58M|#define CALL_FRAME_ARGS() GETSTACK(-2)
  |  |  ------------------
  |  |  |  | 4817|  9.58M|#define GETSTACK(i) GETSTACK_PTR(R_BCNodeStackTop + (i))
  |  |  |  |  ------------------
  |  |  |  |  |  | 4751|  9.58M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4751:26): [True: 0, False: 9.58M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5925|       |    /* it would be better not to build this arglist with CONS_NR in
 5926|       |       the first place */
 5927|  9.58M|#ifndef NO_CALL_FRAME_ARGS_NR
 5928|  24.5M|    for (SEXP a = args; a  != R_NilValue; a = CDR(a)) {
  ------------------
  |  Branch (5928:25): [True: 14.9M, False: 9.58M]
  ------------------
 5929|  14.9M|	DECREMENT_LINKS(CAR(a));
  ------------------
  |  |  545|  14.9M|#define DECREMENT_LINKS(x) do {			\
  |  |  546|  14.9M|	SEXP dl__x__ = (x);			\
  |  |  547|  14.9M|	DECREMENT_NAMED(dl__x__);		\
  |  |  ------------------
  |  |  |  |  223|  14.9M|# define DECREMENT_NAMED(x) do { } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (223:43): [Folded, False: 14.9M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  548|  14.9M|	DECREMENT_REFCNT(dl__x__);		\
  |  |  549|  14.9M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (549:14): [Folded, False: 14.9M]
  |  |  ------------------
  ------------------
 5930|  14.9M|	if (! TRACKREFS(a)) {
  ------------------
  |  Branch (5930:6): [True: 14.9M, False: 0]
  ------------------
 5931|  14.9M|	    ENABLE_REFCNT(a);
 5932|  14.9M|	    INCREMENT_REFCNT(CAR(a));
 5933|  14.9M|	    INCREMENT_REFCNT(CDR(a));
 5934|  14.9M|	}
 5935|  14.9M|    }
 5936|  9.58M|#endif
 5937|  9.58M|    return args;
 5938|  9.58M|}
eval.c:setup_bcframe_call:
 7334|  9.58M|{
 7335|  9.58M|    SEXP newrho = make_applyClosure_env(call, fun, args, rho, R_NilValue);
 7336|  9.58M|    PROTECT(newrho);
  ------------------
  |  |  357|  9.58M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 7337|  9.58M|    R_BCFrame = PUSH_BCFRAME(TRUE);
 7338|  9.58M|    begincontext(BCFRAME_CNTXT(), CTXT_RETURN, call, newrho, rho, args, fun);
  ------------------
  |  | 1869|  9.58M|# define begincontext		Rf_begincontext
  ------------------
                  begincontext(BCFRAME_CNTXT(), CTXT_RETURN, call, newrho, rho, args, fun);
  ------------------
  |  | 7246|  9.58M|#define BCFRAME_CNTXT() (R_BCFrame->pcntxt)
  ------------------
 7339|  9.58M|    INCREMENT_EVAL_DEPTH();
  ------------------
  |  | 1067|  9.58M|#define INCREMENT_EVAL_DEPTH() do {		\
  |  | 1068|  9.58M|	R_EvalDepth++;				\
  |  | 1069|  9.58M|	if (R_EvalDepth > R_Expressions)	\
  |  |  ------------------
  |  |  |  Branch (1069:6): [True: 0, False: 9.58M]
  |  |  ------------------
  |  | 1070|  9.58M|	    handle_eval_depth_overflow();	\
  |  | 1071|  9.58M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1071:14): [Folded, False: 9.58M]
  |  |  ------------------
  ------------------
 7340|  9.58M|    SET_BCFRAME_NEWRHO(newrho);
  ------------------
  |  | 7248|  9.58M|#define SET_BCFRAME_NEWRHO(val) (R_BCFrame->u.callvars.newrho = (val))
  ------------------
 7341|  9.58M|    SET_BCFRAME_CALL(call);
  ------------------
  |  | 7252|  9.58M|#define SET_BCFRAME_CALL(val) (R_BCFrame->u.callvars.call = (val))
  ------------------
 7342|  9.58M|    SET_BCFRAME_ARGS(args);
  ------------------
  |  | 7250|  9.58M|#define SET_BCFRAME_ARGS(val) (R_BCFrame->u.callvars.args = (val))
  ------------------
 7343|  9.58M|    R_Visible = TRUE;
 7344|  9.58M|    return bcode_setup_locals(BODY(fun), newrho);
 7345|  9.58M|}
eval.c:bcStackScalar:
 4838|  6.49M|{
 4839|  6.49M|    switch (s->tag) {
  ------------------
  |  Branch (4839:13): [True: 2.16M, False: 4.32M]
  ------------------
 4840|  25.0k|    case REALSXP:
  ------------------
  |  |  124|  25.0k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (4840:5): [True: 25.0k, False: 6.46M]
  ------------------
 4841|  2.16M|    case INTSXP:
  ------------------
  |  |  123|  2.16M|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (4841:5): [True: 2.14M, False: 4.35M]
  ------------------
 4842|  2.16M|    case LGLSXP: return s;
  ------------------
  |  |  121|  2.16M|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (4842:5): [True: 0, False: 6.49M]
  ------------------
 4843|  6.49M|    }
 4844|       |
 4845|  4.32M|    SEXP x = GETSTACK_SXPVAL_PTR(s);
  ------------------
  |  | 4753|  4.32M|#define GETSTACK_SXPVAL_PTR(s) ((s)->u.sxpval)
  ------------------
 4846|  4.32M|    if (IS_SIMPLE_SCALAR(x, REALSXP)) {
  ------------------
  |  |  218|  4.32M|    (IS_SCALAR(x, type) && ATTRIB(x) == R_NilValue)
  |  |  ------------------
  |  |  |  Branch (218:6): [True: 17.0k, False: 4.30M]
  |  |  |  Branch (218:28): [True: 10.7k, False: 6.24k]
  |  |  ------------------
  ------------------
 4847|  10.7k|	v->tag = REALSXP;
  ------------------
  |  |  124|  10.7k|#define REALSXP	    14	  /* real variables */
  ------------------
 4848|  10.7k|	v->u.dval = SCALAR_DVAL(x);
 4849|  10.7k|	return v;
 4850|  10.7k|    }
 4851|  4.31M|    else if (IS_SIMPLE_SCALAR(x, INTSXP)) {
  ------------------
  |  |  218|  4.31M|    (IS_SCALAR(x, type) && ATTRIB(x) == R_NilValue)
  |  |  ------------------
  |  |  |  Branch (218:6): [True: 2.15M, False: 2.15M]
  |  |  |  Branch (218:28): [True: 2.15M, False: 56]
  |  |  ------------------
  ------------------
 4852|  2.15M|	v->tag = INTSXP;
  ------------------
  |  |  123|  2.15M|#define INTSXP	    13	  /* integer vectors */
  ------------------
 4853|  2.15M|	v->u.ival = SCALAR_IVAL(x);
 4854|  2.15M|	return v;
 4855|  2.15M|    }
 4856|  2.15M|    else if (IS_SIMPLE_SCALAR(x, LGLSXP)) {
  ------------------
  |  |  218|  2.15M|    (IS_SCALAR(x, type) && ATTRIB(x) == R_NilValue)
  |  |  ------------------
  |  |  |  Branch (218:6): [True: 1.74k, False: 2.15M]
  |  |  |  Branch (218:28): [True: 1.74k, False: 0]
  |  |  ------------------
  ------------------
 4857|  1.74k|	v->tag = LGLSXP;
  ------------------
  |  |  121|  1.74k|#define LGLSXP	    10	  /* logical vectors */
  ------------------
 4858|  1.74k|	v->u.ival = SCALAR_LVAL(x);
 4859|  1.74k|	return v;
 4860|  1.74k|    }
 4861|  2.15M|    else {
 4862|  2.15M|	v->tag = 0;
 4863|       |	v->u.sxpval = NULL;
 4864|  2.15M|	return v;
 4865|  2.15M|    }
 4866|  4.32M|}
eval.c:cmp_arith1:
 4965|     14|{
 4966|     14|    SEXP op = getPrimitive(opsym, BUILTINSXP);
  ------------------
  |  |  119|     14|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
 4967|     14|    if (isObject(x)) {
  ------------------
  |  |  959|     14|#define isObject		Rf_isObject
  ------------------
  |  Branch (4967:9): [True: 0, False: 14]
  ------------------
 4968|      0|	SEXP args, ans;
 4969|      0|	args = CONS_NR(x, R_NilValue);
 4970|      0|	PROTECT(args);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4971|      0|	if (DispatchGroup("Ops", call, op, args, rho, &ans)) {
  ------------------
  |  | 1891|      0|# define DispatchGroup		Rf_DispatchGroup
  ------------------
  |  Branch (4971:6): [True: 0, False: 0]
  ------------------
 4972|      0|	    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4973|      0|	    return ans;
 4974|      0|	}
 4975|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4976|      0|    }
 4977|     14|    return R_unary(call, op, x);
 4978|     14|}
eval.c:cmp_arith2:
 4982|  22.8k|{
 4983|  22.8k|    SEXP op = getPrimitive(opsym, BUILTINSXP);
  ------------------
  |  |  119|  22.8k|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
 4984|  22.8k|    if (isObject(x) || isObject(y)) {
  ------------------
  |  |  959|  22.8k|#define isObject		Rf_isObject
  ------------------
                  if (isObject(x) || isObject(y)) {
  ------------------
  |  |  959|  22.8k|#define isObject		Rf_isObject
  ------------------
  |  Branch (4984:9): [True: 0, False: 22.8k]
  |  Branch (4984:24): [True: 0, False: 22.8k]
  ------------------
 4985|      0|	SEXP args, ans;
 4986|      0|	args = CONS_NR(x, CONS_NR(y, R_NilValue));
 4987|      0|	PROTECT(args);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4988|      0|	if (DispatchGroup("Ops", call, op, args, rho, &ans)) {
  ------------------
  |  | 1891|      0|# define DispatchGroup		Rf_DispatchGroup
  ------------------
  |  Branch (4988:6): [True: 0, False: 0]
  ------------------
 4989|      0|	    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4990|      0|	    return ans;
 4991|      0|	}
 4992|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4993|      0|    }
 4994|  22.8k|    return R_binary(call, op, x, y);
 4995|  22.8k|}
eval.c:cmp_relop:
 4949|  19.2k|{
 4950|  19.2k|    SEXP op = getPrimitive(opsym, BUILTINSXP);
  ------------------
  |  |  119|  19.2k|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
 4951|  19.2k|    if (isObject(x) || isObject(y)) {
  ------------------
  |  |  959|  19.2k|#define isObject		Rf_isObject
  ------------------
                  if (isObject(x) || isObject(y)) {
  ------------------
  |  |  959|  19.2k|#define isObject		Rf_isObject
  ------------------
  |  Branch (4951:9): [True: 38, False: 19.2k]
  |  Branch (4951:24): [True: 0, False: 19.2k]
  ------------------
 4952|     38|	SEXP args, ans;
 4953|     38|	args = CONS_NR(x, CONS_NR(y, R_NilValue));
 4954|     38|	PROTECT(args);
  ------------------
  |  |  357|     38|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4955|     38|	if (DispatchGroup("Ops", call, op, args, rho, &ans)) {
  ------------------
  |  | 1891|     38|# define DispatchGroup		Rf_DispatchGroup
  ------------------
  |  Branch (4955:6): [True: 38, False: 0]
  ------------------
 4956|     38|	    UNPROTECT(1);
  ------------------
  |  |  358|     38|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4957|     38|	    return ans;
 4958|     38|	}
 4959|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4960|      0|    }
 4961|  19.2k|    return do_relop_dflt(call, op, x, y);
 4962|  19.2k|}
eval.c:tryDispatch:
 6001|  2.10M|{
 6002|  2.10M|  RCNTXT cntxt;
 6003|  2.10M|  SEXP pargs, rho1;
 6004|  2.10M|  int dispatched = FALSE;
 6005|  2.10M|  SEXP op = SYMVALUE(install(generic)); /**** avoid this */
  ------------------
  |  |  934|  2.10M|#define install			Rf_install
  ------------------
 6006|       |
 6007|  2.10M|  PROTECT(pargs = promiseArgs(CDR(call), rho));
  ------------------
  |  |  357|  2.10M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 6008|  2.10M|  IF_PROMSXP_SET_PRVALUE(CAR(pargs), x);
 6009|       |
 6010|       |  /**** Minimal hack to try to handle the S4 case.  If we do the check
 6011|       |	and do not dispatch then some arguments beyond the first might
 6012|       |	have been evaluated; these will then be evaluated again by the
 6013|       |	compiled argument code. */
 6014|  2.10M|  if (IS_S4_OBJECT(x) && R_has_methods(op)) {
  ------------------
  |  Branch (6014:7): [True: 0, False: 2.10M]
  |  Branch (6014:26): [True: 0, False: 0]
  ------------------
 6015|      0|    SEXP val = R_possible_dispatch(call, op, pargs, rho, TRUE);
 6016|      0|    if (val) {
  ------------------
  |  Branch (6016:9): [True: 0, False: 0]
  ------------------
 6017|      0|      *pv = val;
 6018|      0|      UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 6019|      0|      return TRUE;
 6020|      0|    }
 6021|      0|  }
 6022|       |
 6023|       |  /* See comment at first usemethod() call in this file. LT */
 6024|  2.10M|  PROTECT(rho1 = NewEnvironment(R_NilValue, R_NilValue, rho));
  ------------------
  |  |  357|  2.10M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 6025|  2.10M|  begincontext(&cntxt, CTXT_RETURN, call, rho1, rho, pargs, op);
  ------------------
  |  | 1869|  2.10M|# define begincontext		Rf_begincontext
  ------------------
 6026|  2.10M|  if (usemethod(generic, x, call, pargs, rho1, rho, R_BaseEnv, pv))
  ------------------
  |  | 2010|  2.10M|# define usemethod		Rf_usemethod
  ------------------
  |  Branch (6026:7): [True: 1.85k, False: 2.10M]
  ------------------
 6027|  1.85k|    dispatched = TRUE;
 6028|  2.10M|  endcontext(&cntxt);
  ------------------
  |  | 1900|  2.10M|# define endcontext		Rf_endcontext
  ------------------
 6029|  2.10M|  UNPROTECT(2);
  ------------------
  |  |  358|  2.10M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 6030|  2.10M|#ifdef ADJUST_ENVIR_REFCNTS
 6031|  2.10M|  R_CleanupEnvir(rho1, dispatched ? *pv : R_NilValue);
  ------------------
  |  Branch (6031:24): [True: 1.85k, False: 2.10M]
  ------------------
 6032|  2.10M|  unpromiseArgs(pargs);
 6033|       |#else
 6034|       |  if (! dispatched) DECREMENT_REFCNT(x);
 6035|       |#endif
 6036|  2.10M|  return dispatched;
 6037|  2.10M|}
eval.c:tryAssignDispatch:
 6041|      2|{
 6042|      2|    int result;
 6043|      2|    SEXP ncall, last, prom;
 6044|       |
 6045|      2|    PROTECT(ncall = duplicate(call));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
 6046|      2|    last = ncall;
 6047|     10|    while (CDR(last) != R_NilValue)
  ------------------
  |  Branch (6047:12): [True: 8, False: 2]
  ------------------
 6048|      8|	last = CDR(last);
 6049|      2|    prom = mkRHSPROMISE(CAR(last), rhs);
 6050|      2|    SETCAR(last, prom);
 6051|      2|    result = tryDispatch(generic, ncall, lhs, rho, pv);
 6052|      2|    UNPROTECT(1);
  ------------------
  |  |  358|      2|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 6053|      2|    return result;
 6054|      2|}
eval.c:VECSUBSET_PTR:
 6294|  4.23M|{
 6295|  4.23M|    R_xlen_t i = bcStackIndex(si) - 1;
 6296|  4.23M|    if ((subset2 || FAST_VECELT_OK(vec)))
  ------------------
  |  | 6286|  1.07M|    (ATTRIB(vec) == R_NilValue ||		\
  |  |  ------------------
  |  |  |  Branch (6286:6): [True: 1.06M, False: 8.94k]
  |  |  ------------------
  |  | 6287|  1.07M|     (TAG(ATTRIB(vec)) == R_DimSymbol &&	\
  |  |  ------------------
  |  |  |  Branch (6287:7): [True: 1.01k, False: 7.92k]
  |  |  ------------------
  |  | 6288|  8.94k|      CDR(ATTRIB(vec)) == R_NilValue))
  |  |  ------------------
  |  |  |  Branch (6288:7): [True: 738, False: 279]
  |  |  ------------------
  ------------------
  |  Branch (6296:10): [True: 3.16M, False: 1.07M]
  ------------------
 6297|  4.22M|	DO_FAST_VECELT(sv, vec, i, subset2);
  ------------------
  |  | 6251|  4.22M|#define DO_FAST_VECELT(sv, vec,  i, subset2) do {		\
  |  | 6252|  4.22M|	switch (TYPEOF(vec)) {					\
  |  |  ------------------
  |  |  |  Branch (6252:10): [True: 3.17M, False: 1.05M]
  |  |  ------------------
  |  | 6253|  9.34k|	case REALSXP:						\
  |  |  ------------------
  |  |  |  |  124|  9.34k|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (6253:2): [True: 9.34k, False: 4.21M]
  |  |  ------------------
  |  | 6254|  9.34k|	    if (i < 0 || XLENGTH(vec) <= i) break;		\
  |  |  ------------------
  |  |  |  Branch (6254:10): [True: 7.67k, False: 1.66k]
  |  |  |  Branch (6254:19): [True: 0, False: 1.66k]
  |  |  ------------------
  |  | 6255|  9.34k|	    SETSTACK_REAL_PTR(sv, REAL_ELT(vec, i));		\
  |  |  ------------------
  |  |  |  | 4779|  1.66k|#define SETSTACK_REAL_PTR(s, v) do { \
  |  |  |  | 4780|  1.66k|    double __v__ = (v); \
  |  |  |  | 4781|  1.66k|    (s)->tag = REALSXP; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  124|  1.66k|#define REALSXP	    14	  /* real variables */
  |  |  |  |  ------------------
  |  |  |  | 4782|  1.66k|    (s)->u.dval = __v__; \
  |  |  |  | 4783|  1.66k|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4783:10): [Folded, False: 1.66k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6256|  1.66k|	    return;						\
  |  | 6257|  9.34k|	case INTSXP:						\
  |  |  ------------------
  |  |  |  |  123|  1.71k|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |  |  Branch (6257:2): [True: 1.71k, False: 4.22M]
  |  |  ------------------
  |  | 6258|  1.71k|	    if (i < 0 || XLENGTH(vec) <= i) break;		\
  |  |  ------------------
  |  |  |  Branch (6258:10): [True: 1.71k, False: 4]
  |  |  |  Branch (6258:19): [True: 0, False: 4]
  |  |  ------------------
  |  | 6259|  1.71k|	    SETSTACK_INTEGER_PTR(sv, INTEGER_ELT(vec, i));	\
  |  |  ------------------
  |  |  |  | 4785|      4|#define SETSTACK_INTEGER_PTR(s, v) do { \
  |  |  |  | 4786|      4|    int __v__ = (v); \
  |  |  |  | 4787|      4|    (s)->tag = INTSXP; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  123|      4|#define INTSXP	    13	  /* integer vectors */
  |  |  |  |  ------------------
  |  |  |  | 4788|      4|    (s)->u.ival = __v__; \
  |  |  |  | 4789|      4|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4789:10): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6260|      4|	    return;						\
  |  | 6261|  1.71k|	case LGLSXP:						\
  |  |  ------------------
  |  |  |  |  121|      8|#define LGLSXP	    10	  /* logical vectors */
  |  |  ------------------
  |  |  |  Branch (6261:2): [True: 8, False: 4.22M]
  |  |  ------------------
  |  | 6262|      8|	    if (i < 0 || XLENGTH(vec) <= i) break;		\
  |  |  ------------------
  |  |  |  Branch (6262:10): [True: 8, False: 0]
  |  |  |  Branch (6262:19): [True: 0, False: 0]
  |  |  ------------------
  |  | 6263|      8|	    SETSTACK_LOGICAL_PTR(sv, LOGICAL_ELT(vec, i));	\
  |  |  ------------------
  |  |  |  | 4791|      0|#define SETSTACK_LOGICAL_PTR(s, v) do {		\
  |  |  |  | 4792|      0|	int __v__ = (v);			\
  |  |  |  | 4793|      0|	(s)->tag = LGLSXP;			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  ------------------
  |  |  |  | 4794|      0|	if (__v__ == NA_LOGICAL)		\
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4794:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 4795|      0|	    (s)->u.ival = NA_LOGICAL;		\
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  |  |  ------------------
  |  |  |  | 4796|      0|	else					\
  |  |  |  | 4797|      0|	    (s)->u.ival = __v__ ? TRUE : FALSE;	\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4797:20): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 4798|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4798:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6264|      0|	    return;						\
  |  | 6265|      8|	case CPLXSXP:						\
  |  |  ------------------
  |  |  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  |  |  ------------------
  |  |  |  Branch (6265:2): [True: 0, False: 4.22M]
  |  |  ------------------
  |  | 6266|      0|	    if (i < 0 || XLENGTH(vec) <= i) break;		\
  |  |  ------------------
  |  |  |  Branch (6266:10): [True: 0, False: 0]
  |  |  |  Branch (6266:19): [True: 0, False: 0]
  |  |  ------------------
  |  | 6267|      0|	    SETSTACK_PTR(sv, ScalarComplex(COMPLEX_ELT(vec, i)));	\
  |  |  ------------------
  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6268|      0|	    return;						\
  |  | 6269|      0|	case RAWSXP:						\
  |  |  ------------------
  |  |  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  |  |  ------------------
  |  |  |  Branch (6269:2): [True: 0, False: 4.22M]
  |  |  ------------------
  |  | 6270|      0|	    if (i < 0 || XLENGTH(vec) <= i) break;		\
  |  |  ------------------
  |  |  |  Branch (6270:10): [True: 0, False: 0]
  |  |  |  Branch (6270:19): [True: 0, False: 0]
  |  |  ------------------
  |  | 6271|      0|	    SETSTACK_PTR(sv, ScalarRaw(RAW(vec)[i]));		\
  |  |  ------------------
  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6272|      0|	    return;						\
  |  | 6273|  3.15M|	case VECSXP:						\
  |  |  ------------------
  |  |  |  |  131|  3.15M|#define VECSXP	    19	  /* generic vectors */
  |  |  ------------------
  |  |  |  Branch (6273:2): [True: 3.15M, False: 1.06M]
  |  |  ------------------
  |  | 6274|  3.15M|	    if (i < 0 || XLENGTH(vec) <= i) break;		\
  |  |  ------------------
  |  |  |  Branch (6274:10): [True: 3.27k, False: 3.15M]
  |  |  |  Branch (6274:19): [True: 0, False: 3.15M]
  |  |  ------------------
  |  | 6275|  3.15M|	    SEXP elt = VECTOR_ELT(vec, i);			\
  |  | 6276|  3.15M|	    RAISE_NAMED(elt, NAMED(vec));			\
  |  |  ------------------
  |  |  |  |  911|  3.15M|#define elt			Rf_elt
  |  |  ------------------
  |  | 6277|  3.15M|	    if (subset2)					\
  |  |  ------------------
  |  |  |  Branch (6277:10): [True: 3.15M, False: 0]
  |  |  ------------------
  |  | 6278|  3.15M|		SETSTACK_PTR(sv, elt);				\
  |  |  ------------------
  |  |  |  | 4772|  3.15M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  | 4773|  3.15M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4767|  3.15M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 3.15M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4774|  3.15M|    SEXP __v__ = (v); \
  |  |  |  | 4775|  3.15M|    (s)->tag = 0; \
  |  |  |  | 4776|  3.15M|    (s)->u.sxpval = __v__; \
  |  |  |  | 4777|  3.15M|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4777:10): [Folded, False: 3.15M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6279|  3.15M|	    else						\
  |  | 6280|  3.15M|		SETSTACK_PTR(sv, mkVector1(elt));		\
  |  |  ------------------
  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6281|  3.15M|	    return;						\
  |  | 6282|  4.22M|	}							\
  |  | 6283|  4.22M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6283:14): [Folded, False: 1.07M]
  |  |  ------------------
  ------------------
 6298|       |
 6299|       |    /* fall through to the standard default handler */
 6300|  1.07M|    SEXP idx, args, value;
 6301|  1.07M|    idx = GETSTACK_PTR(si);
  ------------------
  |  | 4751|  1.07M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  ------------------
  |  |  |  Branch (4751:26): [True: 1.06M, False: 16.7k]
  |  |  ------------------
  ------------------
 6302|  1.07M|    args = CONS_NR(idx, R_NilValue);
 6303|  1.07M|    args = CONS_NR(vec, args);
 6304|  1.07M|    PROTECT(args);
  ------------------
  |  |  357|  1.07M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 6305|  1.07M|    SEXP call = callidx < 0 ? R_NilValue : GETCONST(consts, callidx);
  ------------------
  |  | 5463|  1.07M|#define GETCONST(x, i) ((x).p)[i]
  ------------------
  |  Branch (6305:17): [True: 0, False: 1.07M]
  ------------------
 6306|  1.07M|    if (subset2)
  ------------------
  |  Branch (6306:9): [True: 8.47k, False: 1.07M]
  ------------------
 6307|  8.47k|	value = do_subset2_dflt(call, R_Subset2Sym, args, rho);
 6308|  1.07M|    else
 6309|  1.07M|	value = do_subset_dflt(call, R_SubsetSym, args, rho);
 6310|  1.07M|    UNPROTECT(1);
  ------------------
  |  |  358|  1.07M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 6311|  1.07M|    SETSTACK_PTR(sv, value);
  ------------------
  |  | 4772|  1.07M|#define SETSTACK_PTR(s, v) do { \
  |  | 4773|  1.07M|    CHECK_SET_BELOW_PROT(s); \
  |  |  ------------------
  |  |  |  | 4767|  1.07M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4767:9): [True: 0, False: 1.07M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4774|  1.07M|    SEXP __v__ = (v); \
  |  | 4775|  1.07M|    (s)->tag = 0; \
  |  | 4776|  1.07M|    (s)->u.sxpval = __v__; \
  |  | 4777|  1.07M|} while (0)
  |  |  ------------------
  |  |  |  Branch (4777:10): [Folded, False: 1.07M]
  |  |  ------------------
  ------------------
 6312|  1.07M|}
eval.c:bcStackIndex:
 6211|  6.34M|{
 6212|  6.34M|    switch(s->tag) {
 6213|  6.31M|    case INTSXP:
  ------------------
  |  |  123|  6.31M|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (6213:5): [True: 6.31M, False: 29.2k]
  ------------------
 6214|  6.31M|	if (s->u.ival != NA_INTEGER)
  ------------------
  |  |   56|  6.31M|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (6214:6): [True: 6.31M, False: 0]
  ------------------
 6215|  6.31M|	    return s->u.ival;
 6216|      0|	else return -1;
 6217|    959|    case REALSXP:
  ------------------
  |  |  124|    959|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (6217:5): [True: 959, False: 6.33M]
  ------------------
 6218|    959|	{
 6219|    959|	    double val = s->u.dval;
 6220|    959|	    if (! ISNAN(val) && val <= R_XLEN_T_MAX && val > 0)
  ------------------
  |  |   76|  1.91k|#  define ISNAN(x)     (isnan(x)!=0)
  ------------------
              	    if (! ISNAN(val) && val <= R_XLEN_T_MAX && val > 0)
  ------------------
  |  |   76|  1.91k|# define R_XLEN_T_MAX 4503599627370496
  ------------------
  |  Branch (6220:10): [True: 959, False: 0]
  |  Branch (6220:26): [True: 959, False: 0]
  |  Branch (6220:49): [True: 959, False: 0]
  ------------------
 6221|    959|		return (R_xlen_t) s->u.dval;
 6222|      0|	    else return -1;
 6223|    959|	}
 6224|  1.36k|    case LGLSXP: return -1;
  ------------------
  |  |  121|  1.36k|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (6224:5): [True: 1.36k, False: 6.33M]
  ------------------
 6225|  26.9k|    default: break;
  ------------------
  |  Branch (6225:5): [True: 26.9k, False: 6.31M]
  ------------------
 6226|  6.34M|    }
 6227|       |
 6228|  26.9k|    SEXP idx = GETSTACK_SXPVAL_PTR(s);
  ------------------
  |  | 4753|  26.9k|#define GETSTACK_SXPVAL_PTR(s) ((s)->u.sxpval)
  ------------------
 6229|  26.9k|    if (IS_SCALAR(idx, INTSXP)) {
  ------------------
  |  |  123|  26.9k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (6229:9): [True: 5.80k, False: 21.0k]
  ------------------
 6230|  5.80k|	int ival = SCALAR_IVAL(idx);
 6231|  5.80k|	if (ival != NA_INTEGER)
  ------------------
  |  |   56|  5.80k|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (6231:6): [True: 5.80k, False: 0]
  ------------------
 6232|  5.80k|	    return ival;
 6233|      0|	else return -1;
 6234|  5.80k|    }
 6235|  21.0k|    else if (IS_SCALAR(idx, REALSXP)) {
  ------------------
  |  |  124|  21.0k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (6235:14): [True: 0, False: 21.0k]
  ------------------
 6236|      0|	double val = SCALAR_DVAL(idx);
 6237|      0|	if (! ISNAN(val) && val <= R_XLEN_T_MAX && val > 0)
  ------------------
  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  ------------------
              	if (! ISNAN(val) && val <= R_XLEN_T_MAX && val > 0)
  ------------------
  |  |   76|      0|# define R_XLEN_T_MAX 4503599627370496
  ------------------
  |  Branch (6237:6): [True: 0, False: 0]
  |  Branch (6237:22): [True: 0, False: 0]
  |  Branch (6237:45): [True: 0, False: 0]
  ------------------
 6238|      0|	    return (R_xlen_t) val;
 6239|      0|	else return -1;
 6240|      0|    }
 6241|  21.0k|    else return -1;
 6242|  26.9k|}
eval.c:MATSUBSET_PTR:
 6397|  2.29k|{
 6398|  2.29k|    SEXP idx, jdx, args, value;
 6399|  2.29k|    SEXP mat = GETSTACK_PTR(sx);
  ------------------
  |  | 4751|  2.29k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  ------------------
  |  |  |  Branch (4751:26): [True: 0, False: 2.29k]
  |  |  ------------------
  ------------------
 6400|       |
 6401|  2.29k|    if (subset2 || FAST_VECELT_OK(mat)) {
  ------------------
  |  | 6286|  2.29k|    (ATTRIB(vec) == R_NilValue ||		\
  |  |  ------------------
  |  |  |  Branch (6286:6): [True: 0, False: 2.29k]
  |  |  ------------------
  |  | 6287|  2.29k|     (TAG(ATTRIB(vec)) == R_DimSymbol &&	\
  |  |  ------------------
  |  |  |  Branch (6287:7): [True: 2.29k, False: 0]
  |  |  ------------------
  |  | 6288|  2.29k|      CDR(ATTRIB(vec)) == R_NilValue))
  |  |  ------------------
  |  |  |  Branch (6288:7): [True: 0, False: 2.29k]
  |  |  ------------------
  ------------------
  |  Branch (6401:9): [True: 0, False: 2.29k]
  ------------------
 6402|      0|	SEXP dim = getMatrixDim(mat);
 6403|      0|	if (dim != R_NilValue) {
  ------------------
  |  Branch (6403:6): [True: 0, False: 0]
  ------------------
 6404|      0|	    R_xlen_t i = bcStackIndex(si);
 6405|      0|	    R_xlen_t j = bcStackIndex(sj);
 6406|      0|	    R_xlen_t nrow = INTEGER(dim)[0];
 6407|      0|	    R_xlen_t ncol = INTEGER(dim)[1];
 6408|      0|	    if (i > 0 && j > 0 && i <= nrow && j <= ncol) {
  ------------------
  |  Branch (6408:10): [True: 0, False: 0]
  |  Branch (6408:19): [True: 0, False: 0]
  |  Branch (6408:28): [True: 0, False: 0]
  |  Branch (6408:41): [True: 0, False: 0]
  ------------------
 6409|      0|		R_xlen_t k = i - 1 + nrow * (j - 1);
 6410|      0|		DO_FAST_VECELT(sv, mat, k, subset2);
  ------------------
  |  | 6251|      0|#define DO_FAST_VECELT(sv, vec,  i, subset2) do {		\
  |  | 6252|      0|	switch (TYPEOF(vec)) {					\
  |  |  ------------------
  |  |  |  Branch (6252:10): [True: 0, False: 0]
  |  |  ------------------
  |  | 6253|      0|	case REALSXP:						\
  |  |  ------------------
  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (6253:2): [True: 0, False: 0]
  |  |  ------------------
  |  | 6254|      0|	    if (i < 0 || XLENGTH(vec) <= i) break;		\
  |  |  ------------------
  |  |  |  Branch (6254:10): [True: 0, False: 0]
  |  |  |  Branch (6254:19): [True: 0, False: 0]
  |  |  ------------------
  |  | 6255|      0|	    SETSTACK_REAL_PTR(sv, REAL_ELT(vec, i));		\
  |  |  ------------------
  |  |  |  | 4779|      0|#define SETSTACK_REAL_PTR(s, v) do { \
  |  |  |  | 4780|      0|    double __v__ = (v); \
  |  |  |  | 4781|      0|    (s)->tag = REALSXP; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  |  |  ------------------
  |  |  |  | 4782|      0|    (s)->u.dval = __v__; \
  |  |  |  | 4783|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4783:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6256|      0|	    return;						\
  |  | 6257|      0|	case INTSXP:						\
  |  |  ------------------
  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |  |  Branch (6257:2): [True: 0, False: 0]
  |  |  ------------------
  |  | 6258|      0|	    if (i < 0 || XLENGTH(vec) <= i) break;		\
  |  |  ------------------
  |  |  |  Branch (6258:10): [True: 0, False: 0]
  |  |  |  Branch (6258:19): [True: 0, False: 0]
  |  |  ------------------
  |  | 6259|      0|	    SETSTACK_INTEGER_PTR(sv, INTEGER_ELT(vec, i));	\
  |  |  ------------------
  |  |  |  | 4785|      0|#define SETSTACK_INTEGER_PTR(s, v) do { \
  |  |  |  | 4786|      0|    int __v__ = (v); \
  |  |  |  | 4787|      0|    (s)->tag = INTSXP; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  |  |  ------------------
  |  |  |  | 4788|      0|    (s)->u.ival = __v__; \
  |  |  |  | 4789|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4789:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6260|      0|	    return;						\
  |  | 6261|      0|	case LGLSXP:						\
  |  |  ------------------
  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  ------------------
  |  |  |  Branch (6261:2): [True: 0, False: 0]
  |  |  ------------------
  |  | 6262|      0|	    if (i < 0 || XLENGTH(vec) <= i) break;		\
  |  |  ------------------
  |  |  |  Branch (6262:10): [True: 0, False: 0]
  |  |  |  Branch (6262:19): [True: 0, False: 0]
  |  |  ------------------
  |  | 6263|      0|	    SETSTACK_LOGICAL_PTR(sv, LOGICAL_ELT(vec, i));	\
  |  |  ------------------
  |  |  |  | 4791|      0|#define SETSTACK_LOGICAL_PTR(s, v) do {		\
  |  |  |  | 4792|      0|	int __v__ = (v);			\
  |  |  |  | 4793|      0|	(s)->tag = LGLSXP;			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  ------------------
  |  |  |  | 4794|      0|	if (__v__ == NA_LOGICAL)		\
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4794:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 4795|      0|	    (s)->u.ival = NA_LOGICAL;		\
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  |  |  ------------------
  |  |  |  | 4796|      0|	else					\
  |  |  |  | 4797|      0|	    (s)->u.ival = __v__ ? TRUE : FALSE;	\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4797:20): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 4798|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4798:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6264|      0|	    return;						\
  |  | 6265|      0|	case CPLXSXP:						\
  |  |  ------------------
  |  |  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  |  |  ------------------
  |  |  |  Branch (6265:2): [True: 0, False: 0]
  |  |  ------------------
  |  | 6266|      0|	    if (i < 0 || XLENGTH(vec) <= i) break;		\
  |  |  ------------------
  |  |  |  Branch (6266:10): [True: 0, False: 0]
  |  |  |  Branch (6266:19): [True: 0, False: 0]
  |  |  ------------------
  |  | 6267|      0|	    SETSTACK_PTR(sv, ScalarComplex(COMPLEX_ELT(vec, i)));	\
  |  |  ------------------
  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6268|      0|	    return;						\
  |  | 6269|      0|	case RAWSXP:						\
  |  |  ------------------
  |  |  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  |  |  ------------------
  |  |  |  Branch (6269:2): [True: 0, False: 0]
  |  |  ------------------
  |  | 6270|      0|	    if (i < 0 || XLENGTH(vec) <= i) break;		\
  |  |  ------------------
  |  |  |  Branch (6270:10): [True: 0, False: 0]
  |  |  |  Branch (6270:19): [True: 0, False: 0]
  |  |  ------------------
  |  | 6271|      0|	    SETSTACK_PTR(sv, ScalarRaw(RAW(vec)[i]));		\
  |  |  ------------------
  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6272|      0|	    return;						\
  |  | 6273|      0|	case VECSXP:						\
  |  |  ------------------
  |  |  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  |  |  ------------------
  |  |  |  Branch (6273:2): [True: 0, False: 0]
  |  |  ------------------
  |  | 6274|      0|	    if (i < 0 || XLENGTH(vec) <= i) break;		\
  |  |  ------------------
  |  |  |  Branch (6274:10): [True: 0, False: 0]
  |  |  |  Branch (6274:19): [True: 0, False: 0]
  |  |  ------------------
  |  | 6275|      0|	    SEXP elt = VECTOR_ELT(vec, i);			\
  |  | 6276|      0|	    RAISE_NAMED(elt, NAMED(vec));			\
  |  |  ------------------
  |  |  |  |  911|      0|#define elt			Rf_elt
  |  |  ------------------
  |  | 6277|      0|	    if (subset2)					\
  |  |  ------------------
  |  |  |  Branch (6277:10): [True: 0, False: 0]
  |  |  ------------------
  |  | 6278|      0|		SETSTACK_PTR(sv, elt);				\
  |  |  ------------------
  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6279|      0|	    else						\
  |  | 6280|      0|		SETSTACK_PTR(sv, mkVector1(elt));		\
  |  |  ------------------
  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6281|      0|	    return;						\
  |  | 6282|      0|	}							\
  |  | 6283|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6283:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6411|      0|	    }
 6412|      0|	}
 6413|      0|    }
 6414|       |
 6415|       |    /* fall through to the standard default handler */
 6416|  2.29k|    idx = GETSTACK_PTR(si);
  ------------------
  |  | 4751|  2.29k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  ------------------
  |  |  |  Branch (4751:26): [True: 2.29k, False: 0]
  |  |  ------------------
  ------------------
 6417|  2.29k|    jdx = GETSTACK_PTR(sj);
  ------------------
  |  | 4751|  2.29k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  ------------------
  |  |  |  Branch (4751:26): [True: 2.29k, False: 0]
  |  |  ------------------
  ------------------
 6418|  2.29k|    args = CONS_NR(jdx, R_NilValue);
 6419|  2.29k|    args = CONS_NR(idx, args);
 6420|  2.29k|    args = CONS_NR(mat, args);
 6421|  2.29k|    PROTECT(args);
  ------------------
  |  |  357|  2.29k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 6422|  2.29k|    SEXP call = callidx < 0 ? R_NilValue : GETCONST(consts, callidx);
  ------------------
  |  | 5463|  2.29k|#define GETCONST(x, i) ((x).p)[i]
  ------------------
  |  Branch (6422:17): [True: 0, False: 2.29k]
  ------------------
 6423|  2.29k|    if (subset2)
  ------------------
  |  Branch (6423:9): [True: 0, False: 2.29k]
  ------------------
 6424|      0|	value = do_subset2_dflt(call, R_Subset2Sym, args, rho);
 6425|  2.29k|    else
 6426|  2.29k|	value = do_subset_dflt(call, R_SubsetSym, args, rho);
 6427|  2.29k|    UNPROTECT(1);
  ------------------
  |  |  358|  2.29k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 6428|  2.29k|    SETSTACK_PTR(sv, value);
  ------------------
  |  | 4772|  2.29k|#define SETSTACK_PTR(s, v) do { \
  |  | 4773|  2.29k|    CHECK_SET_BELOW_PROT(s); \
  |  |  ------------------
  |  |  |  | 4767|  2.29k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4767:9): [True: 0, False: 2.29k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4774|  2.29k|    SEXP __v__ = (v); \
  |  | 4775|  2.29k|    (s)->tag = 0; \
  |  | 4776|  2.29k|    (s)->u.sxpval = __v__; \
  |  | 4777|  2.29k|} while (0)
  |  |  ------------------
  |  |  |  Branch (4777:10): [Folded, False: 2.29k]
  |  |  ------------------
  ------------------
 6429|  2.29k|}
eval.c:getMatrixDim:
 6347|      8|{
 6348|      8|    SEXP attr = ATTRIB(mat);
 6349|       |    /* look for the common case of 'dim' as the only attribute first */
 6350|      8|    SEXP dim = TAG(attr) == R_DimSymbol ? CAR(attr) :
  ------------------
  |  Branch (6350:16): [True: 8, False: 0]
  ------------------
 6351|      8|	getAttrib(mat, R_DimSymbol);
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
 6352|      8|    if (TYPEOF(dim) == INTSXP && LENGTH(dim) == 2)
  ------------------
  |  |  123|     16|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (6352:9): [True: 8, False: 0]
  |  Branch (6352:34): [True: 8, False: 0]
  ------------------
 6353|      8|	return dim;
 6354|      0|    else return R_NilValue;
 6355|      8|}
eval.c:VECSUBASSIGN_PTR:
 6550|  2.10M|{
 6551|  2.10M|    SEXP idx, args, value;
 6552|       |
 6553|  2.10M|    R_xlen_t i = bcStackIndex(si) - 1;
 6554|  2.10M|    if (i >= 0)
  ------------------
  |  Branch (6554:9): [True: 2.10M, False: 3.43k]
  ------------------
 6555|  2.10M|	DO_FAST_SETVECELT(sv, srhs, vec,  i, subset2);
  ------------------
  |  | 6526|  2.10M|#define DO_FAST_SETVECELT(sv, srhs, vec,  i, subset2) do {		\
  |  | 6527|  2.10M|	if (setElementFromScalar(vec, i, srhs)) {			\
  |  |  ------------------
  |  |  |  Branch (6527:6): [True: 117, False: 2.10M]
  |  |  ------------------
  |  | 6528|    117|	    SETSTACK_PTR(sv, vec);					\
  |  |  ------------------
  |  |  |  | 4772|    117|#define SETSTACK_PTR(s, v) do { \
  |  |  |  | 4773|    117|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4767|    117|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 117]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4774|    117|    SEXP __v__ = (v); \
  |  |  |  | 4775|    117|    (s)->tag = 0; \
  |  |  |  | 4776|    117|    (s)->u.sxpval = __v__; \
  |  |  |  | 4777|    117|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4777:10): [Folded, False: 117]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6529|    117|	    SETTER_CLEAR_NAMED(vec);					\
  |  | 6530|    117|	    return;							\
  |  | 6531|    117|	}								\
  |  | 6532|  2.10M|	else if (subassign2 && TYPEOF(vec) == VECSXP &&			\
  |  |  ------------------
  |  |  |  |  131|  4.20M|#define VECSXP	    19	  /* generic vectors */
  |  |  ------------------
  |  |  |  Branch (6532:11): [True: 2.10M, False: 9]
  |  |  |  Branch (6532:25): [True: 2.10M, False: 233]
  |  |  ------------------
  |  | 6533|  2.10M|		 i < XLENGTH(vec)) {					\
  |  |  ------------------
  |  |  |  Branch (6533:4): [True: 2.10M, False: 0]
  |  |  ------------------
  |  | 6534|  2.10M|	    SEXP rhs = GETSTACK_PTR(srhs);				\
  |  |  ------------------
  |  |  |  | 4751|  2.10M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4751:26): [True: 1.56k, False: 2.09M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6535|  2.10M|	    if (rhs != R_NilValue) {					\
  |  |  ------------------
  |  |  |  Branch (6535:10): [True: 2.10M, False: 0]
  |  |  ------------------
  |  | 6536|  2.10M|		if (MAYBE_REFERENCED(rhs) && VECTOR_ELT(vec, i) != rhs)	\
  |  |  ------------------
  |  |  |  |  251|  4.20M|#define MAYBE_REFERENCED(x) (! NO_REFERENCES(x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (251:29): [True: 1.04M, False: 1.05M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6536:32): [True: 2, False: 1.04M]
  |  |  ------------------
  |  | 6537|  2.10M|		    rhs = R_FixupRHS(vec, rhs);				\
  |  | 6538|  2.10M|		SET_VECTOR_ELT(vec, i, rhs);				\
  |  | 6539|  2.10M|		SETTER_CLEAR_NAMED(vec);				\
  |  | 6540|  2.10M|		SETSTACK_PTR(sv, vec);					\
  |  |  ------------------
  |  |  |  | 4772|  2.10M|#define SETSTACK_PTR(s, v) do { \
  |  |  |  | 4773|  2.10M|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4767|  2.10M|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 2.10M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4774|  2.10M|    SEXP __v__ = (v); \
  |  |  |  | 4775|  2.10M|    (s)->tag = 0; \
  |  |  |  | 4776|  2.10M|    (s)->u.sxpval = __v__; \
  |  |  |  | 4777|  2.10M|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4777:10): [Folded, False: 2.10M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6541|  2.10M|		return;							\
  |  | 6542|  2.10M|	    }								\
  |  | 6543|  2.10M|	}								\
  |  | 6544|  2.10M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6544:14): [Folded, False: 242]
  |  |  ------------------
  ------------------
 6556|       |
 6557|       |    /* fall through to the standard default handler */
 6558|  3.68k|    value = GETSTACK_PTR(srhs);
  ------------------
  |  | 4751|  3.68k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  ------------------
  |  |  |  Branch (4751:26): [True: 341, False: 3.33k]
  |  |  ------------------
  ------------------
 6559|  3.68k|    idx = GETSTACK_PTR(si);
  ------------------
  |  | 4751|  3.68k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  ------------------
  |  |  |  Branch (4751:26): [True: 235, False: 3.44k]
  |  |  ------------------
  ------------------
 6560|  3.68k|    args = CONS_NR(value, R_NilValue);
 6561|  3.68k|    SET_TAG(args, R_valueSym);
 6562|  3.68k|    args = CONS_NR(idx, args);
 6563|  3.68k|    args = CONS_NR(vec, args);
 6564|  3.68k|    PROTECT(args);
  ------------------
  |  |  357|  3.68k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 6565|  3.68k|    SEXP call = callidx < 0 ? R_NilValue : GETCONST(consts, callidx);
  ------------------
  |  | 5463|  3.68k|#define GETCONST(x, i) ((x).p)[i]
  ------------------
  |  Branch (6565:17): [True: 0, False: 3.68k]
  ------------------
 6566|  3.68k|    MARK_ASSIGNMENT_CALL(call);
 6567|  3.68k|    if (subassign2)
  ------------------
  |  Branch (6567:9): [True: 1.68k, False: 1.99k]
  ------------------
 6568|  1.68k|	vec = do_subassign2_dflt(call, R_Subassign2Sym, args, rho);
 6569|  1.99k|    else
 6570|  1.99k|	vec = do_subassign_dflt(call, R_SubassignSym, args, rho);
 6571|  3.68k|    UNPROTECT(1);
  ------------------
  |  |  358|  3.68k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 6572|  3.68k|    SETSTACK_PTR(sv, vec);
  ------------------
  |  | 4772|  3.68k|#define SETSTACK_PTR(s, v) do { \
  |  | 4773|  3.68k|    CHECK_SET_BELOW_PROT(s); \
  |  |  ------------------
  |  |  |  | 4767|  3.68k|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4767:9): [True: 0, False: 3.68k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4774|  3.68k|    SEXP __v__ = (v); \
  |  | 4775|  3.68k|    (s)->tag = 0; \
  |  | 4776|  3.68k|    (s)->u.sxpval = __v__; \
  |  | 4777|  3.68k|} while (0)
  |  |  ------------------
  |  |  |  Branch (4777:10): [Folded, False: 3.68k]
  |  |  ------------------
  ------------------
 6573|  3.68k|}
eval.c:setElementFromScalar:
 6497|  2.10M|{
 6498|  2.10M|    if (i < 0) return FALSE;
  ------------------
  |  Branch (6498:9): [True: 0, False: 2.10M]
  ------------------
 6499|       |
 6500|  2.10M|    R_bcstack_t vv;
 6501|  2.10M|    R_bcstack_t *v = bcStackScalar(srhs, &vv);
 6502|       |
 6503|  2.10M|    if (TYPEOF(vec) == REALSXP) {
  ------------------
  |  |  124|  2.10M|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (6503:9): [True: 117, False: 2.10M]
  ------------------
 6504|    117|	if (XLENGTH(vec) <= i) return FALSE;
  ------------------
  |  Branch (6504:6): [True: 0, False: 117]
  ------------------
 6505|    117|	switch(v->tag) {
  ------------------
  |  Branch (6505:9): [True: 117, False: 0]
  ------------------
 6506|    109|	case REALSXP: REAL(vec)[i] = v->u.dval; return TRUE;
  ------------------
  |  |  124|    109|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (6506:2): [True: 109, False: 8]
  ------------------
 6507|      8|	case INTSXP: REAL(vec)[i] = INTEGER_TO_REAL(v->u.ival); return TRUE;
  ------------------
  |  |  123|      8|#define INTSXP	    13	  /* integer vectors */
  ------------------
              	case INTSXP: REAL(vec)[i] = INTEGER_TO_REAL(v->u.ival); return TRUE;
  ------------------
  |  | 4870|      8|#define INTEGER_TO_REAL(x) ((x) == NA_INTEGER ? NA_REAL : (x))
  |  |  ------------------
  |  |  |  |   56|      8|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |               #define INTEGER_TO_REAL(x) ((x) == NA_INTEGER ? NA_REAL : (x))
  |  |  ------------------
  |  |  |  |   58|      0|#define NA_REAL		R_NaReal
  |  |  ------------------
  |  |  |  Branch (4870:29): [True: 0, False: 8]
  |  |  ------------------
  ------------------
  |  Branch (6507:2): [True: 8, False: 109]
  ------------------
 6508|      0|	case LGLSXP: REAL(vec)[i] = LOGICAL_TO_REAL(v->u.ival); return TRUE;
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
              	case LGLSXP: REAL(vec)[i] = LOGICAL_TO_REAL(v->u.ival); return TRUE;
  ------------------
  |  | 4871|      0|#define LOGICAL_TO_REAL(x) ((x) == NA_LOGICAL ? NA_REAL : (x))
  |  |  ------------------
  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  ------------------
  |  |               #define LOGICAL_TO_REAL(x) ((x) == NA_LOGICAL ? NA_REAL : (x))
  |  |  ------------------
  |  |  |  |   58|      0|#define NA_REAL		R_NaReal
  |  |  ------------------
  |  |  |  Branch (4871:29): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (6508:2): [True: 0, False: 117]
  ------------------
 6509|    117|	}
 6510|    117|    }
 6511|  2.10M|    else if (v->tag == TYPEOF(vec)) {
  ------------------
  |  Branch (6511:14): [True: 0, False: 2.10M]
  ------------------
 6512|      0|	switch(v->tag) {
  ------------------
  |  Branch (6512:9): [True: 0, False: 0]
  ------------------
 6513|      0|	case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (6513:2): [True: 0, False: 0]
  ------------------
 6514|      0|	    if (XLENGTH(vec) <= i) return FALSE;
  ------------------
  |  Branch (6514:10): [True: 0, False: 0]
  ------------------
 6515|      0|	    INTEGER(vec)[i] = v->u.ival;
 6516|      0|	    return TRUE;
 6517|      0|	case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (6517:2): [True: 0, False: 0]
  ------------------
 6518|      0|	    if (XLENGTH(vec) <= i) return FALSE;
  ------------------
  |  Branch (6518:10): [True: 0, False: 0]
  ------------------
 6519|      0|	    LOGICAL(vec)[i] = INTEGER_TO_LOGICAL(v->u.ival);
  ------------------
  |  | 4869|      0|    ((x) == NA_INTEGER ? NA_LOGICAL : (x) ? TRUE : FALSE)
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |                   ((x) == NA_INTEGER ? NA_LOGICAL : (x) ? TRUE : FALSE)
  |  |  ------------------
  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  ------------------
  |  |  |  Branch (4869:6): [True: 0, False: 0]
  |  |  |  Branch (4869:39): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 6520|      0|	    return TRUE;
 6521|      0|	}
 6522|      0|    }
 6523|  2.10M|    return FALSE;
 6524|  2.10M|}
eval.c:MATSUBASSIGN_PTR:
 6620|      8|{
 6621|      8|    SEXP dim, idx, jdx, args, value;
 6622|      8|    SEXP mat = GETSTACK_PTR(sx);
  ------------------
  |  | 4751|      8|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  ------------------
  |  |  |  Branch (4751:26): [True: 0, False: 8]
  |  |  ------------------
  ------------------
 6623|       |
 6624|      8|    if (MAYBE_SHARED(mat)) {
  ------------------
  |  Branch (6624:9): [True: 0, False: 8]
  ------------------
 6625|      0|	mat = shallow_duplicate(mat);
  ------------------
  |  | 1030|      0|#define shallow_duplicate	Rf_shallow_duplicate
  ------------------
 6626|      0|	SETSTACK_PTR(sx, mat);
  ------------------
  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  ------------------
  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4774|      0|    SEXP __v__ = (v); \
  |  | 4775|      0|    (s)->tag = 0; \
  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  | 4777|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6627|      0|    }
 6628|       |
 6629|      8|    dim = getMatrixDim(mat);
 6630|       |
 6631|      8|    if (dim != R_NilValue) {
  ------------------
  |  Branch (6631:9): [True: 8, False: 0]
  ------------------
 6632|      8|	R_xlen_t i = bcStackIndex(si);
 6633|      8|	R_xlen_t j = bcStackIndex(sj);
 6634|      8|	R_xlen_t nrow = INTEGER(dim)[0];
 6635|      8|	R_xlen_t ncol = INTEGER(dim)[1];
 6636|      8|	if (i > 0 && j > 0 && i <= nrow && j <= ncol) {
  ------------------
  |  Branch (6636:6): [True: 0, False: 8]
  |  Branch (6636:15): [True: 0, False: 0]
  |  Branch (6636:24): [True: 0, False: 0]
  |  Branch (6636:37): [True: 0, False: 0]
  ------------------
 6637|      0|	    R_xlen_t k = i - 1 + nrow * (j - 1);
 6638|      0|	    DO_FAST_SETVECELT(sv, srhs, mat,  k, subset2);
  ------------------
  |  | 6526|      0|#define DO_FAST_SETVECELT(sv, srhs, vec,  i, subset2) do {		\
  |  | 6527|      0|	if (setElementFromScalar(vec, i, srhs)) {			\
  |  |  ------------------
  |  |  |  Branch (6527:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 6528|      0|	    SETSTACK_PTR(sv, vec);					\
  |  |  ------------------
  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6529|      0|	    SETTER_CLEAR_NAMED(vec);					\
  |  | 6530|      0|	    return;							\
  |  | 6531|      0|	}								\
  |  | 6532|      0|	else if (subassign2 && TYPEOF(vec) == VECSXP &&			\
  |  |  ------------------
  |  |  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  |  |  ------------------
  |  |  |  Branch (6532:11): [True: 0, False: 0]
  |  |  |  Branch (6532:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 6533|      0|		 i < XLENGTH(vec)) {					\
  |  |  ------------------
  |  |  |  Branch (6533:4): [True: 0, False: 0]
  |  |  ------------------
  |  | 6534|      0|	    SEXP rhs = GETSTACK_PTR(srhs);				\
  |  |  ------------------
  |  |  |  | 4751|      0|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4751:26): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6535|      0|	    if (rhs != R_NilValue) {					\
  |  |  ------------------
  |  |  |  Branch (6535:10): [True: 0, False: 0]
  |  |  ------------------
  |  | 6536|      0|		if (MAYBE_REFERENCED(rhs) && VECTOR_ELT(vec, i) != rhs)	\
  |  |  ------------------
  |  |  |  |  251|      0|#define MAYBE_REFERENCED(x) (! NO_REFERENCES(x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (251:29): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6536:32): [True: 0, False: 0]
  |  |  ------------------
  |  | 6537|      0|		    rhs = R_FixupRHS(vec, rhs);				\
  |  | 6538|      0|		SET_VECTOR_ELT(vec, i, rhs);				\
  |  | 6539|      0|		SETTER_CLEAR_NAMED(vec);				\
  |  | 6540|      0|		SETSTACK_PTR(sv, vec);					\
  |  |  ------------------
  |  |  |  | 4772|      0|#define SETSTACK_PTR(s, v) do { \
  |  |  |  | 4773|      0|    CHECK_SET_BELOW_PROT(s); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 4767|      0|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4767:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 4774|      0|    SEXP __v__ = (v); \
  |  |  |  | 4775|      0|    (s)->tag = 0; \
  |  |  |  | 4776|      0|    (s)->u.sxpval = __v__; \
  |  |  |  | 4777|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4777:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6541|      0|		return;							\
  |  | 6542|      0|	    }								\
  |  | 6543|      0|	}								\
  |  | 6544|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6544:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6639|      0|	}
 6640|      8|    }
 6641|       |
 6642|       |    /* fall through to the standard default handler */
 6643|      8|    value = GETSTACK_PTR(srhs);
  ------------------
  |  | 4751|      8|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  ------------------
  |  |  |  Branch (4751:26): [True: 0, False: 8]
  |  |  ------------------
  ------------------
 6644|      8|    idx = GETSTACK_PTR(si);
  ------------------
  |  | 4751|      8|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  ------------------
  |  |  |  Branch (4751:26): [True: 0, False: 8]
  |  |  ------------------
  ------------------
 6645|      8|    jdx = GETSTACK_PTR(sj);
  ------------------
  |  | 4751|      8|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  ------------------
  |  |  |  Branch (4751:26): [True: 8, False: 0]
  |  |  ------------------
  ------------------
 6646|      8|    args = CONS_NR(value, R_NilValue);
 6647|      8|    SET_TAG(args, R_valueSym);
 6648|      8|    args = CONS_NR(jdx, args);
 6649|      8|    args = CONS_NR(idx, args);
 6650|      8|    args = CONS_NR(mat, args);
 6651|      8|    PROTECT(args);
  ------------------
  |  |  357|      8|#define PROTECT(s)	Rf_protect(s)
  ------------------
 6652|      8|    SEXP call = callidx < 0 ? R_NilValue : GETCONST(consts, callidx);
  ------------------
  |  | 5463|      8|#define GETCONST(x, i) ((x).p)[i]
  ------------------
  |  Branch (6652:17): [True: 0, False: 8]
  ------------------
 6653|      8|    MARK_ASSIGNMENT_CALL(call);
 6654|      8|    if (subassign2)
  ------------------
  |  Branch (6654:9): [True: 0, False: 8]
  ------------------
 6655|      0|	mat = do_subassign2_dflt(call, R_Subassign2Sym, args, rho);
 6656|      8|    else
 6657|      8|	mat = do_subassign_dflt(call, R_SubassignSym, args, rho);
 6658|      8|    UNPROTECT(1);
  ------------------
  |  |  358|      8|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 6659|      8|    SETSTACK_PTR(sv, mat);
  ------------------
  |  | 4772|      8|#define SETSTACK_PTR(s, v) do { \
  |  | 4773|      8|    CHECK_SET_BELOW_PROT(s); \
  |  |  ------------------
  |  |  |  | 4767|      8|    if ((s) < R_BCProtTop) error("changing stack value below R_BCProt pointer")
  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4767:9): [True: 0, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4774|      8|    SEXP __v__ = (v); \
  |  | 4775|      8|    (s)->tag = 0; \
  |  | 4776|      8|    (s)->u.sxpval = __v__; \
  |  | 4777|      8|} while (0)
  |  |  ------------------
  |  |  |  Branch (4777:10): [Folded, False: 8]
  |  |  ------------------
  ------------------
 6660|      8|}
eval.c:GETSTACK_LOGICAL_PTR:
 6880|   155k|{
 6881|   155k|    if (s->tag == LGLSXP) return s->u.ival;
  ------------------
  |  |  121|   155k|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (6881:9): [True: 10.8k, False: 145k]
  ------------------
 6882|   145k|    SEXP value = GETSTACK_PTR(s);
  ------------------
  |  | 4751|   145k|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  ------------------
  |  |  |  Branch (4751:26): [True: 0, False: 145k]
  |  |  ------------------
  ------------------
 6883|   145k|    return SCALAR_LVAL(value);
 6884|   155k|}
eval.c:bcStackScalarReal:
 4874|  9.93k|{
 4875|  9.93k|    v = bcStackScalar(s, v);
 4876|  9.93k|    if (v->tag == INTSXP) {
  ------------------
  |  |  123|  9.93k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (4876:9): [True: 9.69k, False: 241]
  ------------------
 4877|  9.69k|	v->tag = REALSXP;
  ------------------
  |  |  124|  9.69k|#define REALSXP	    14	  /* real variables */
  ------------------
 4878|  9.69k|	v->u.dval = INTEGER_TO_REAL(v->u.ival);
  ------------------
  |  | 4870|  9.69k|#define INTEGER_TO_REAL(x) ((x) == NA_INTEGER ? NA_REAL : (x))
  |  |  ------------------
  |  |  |  |   56|  9.69k|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |               #define INTEGER_TO_REAL(x) ((x) == NA_INTEGER ? NA_REAL : (x))
  |  |  ------------------
  |  |  |  |   58|      0|#define NA_REAL		R_NaReal
  |  |  ------------------
  |  |  |  Branch (4870:29): [True: 0, False: 9.69k]
  |  |  ------------------
  ------------------
 4879|  9.69k|    }
 4880|  9.93k|    return v;
 4881|  9.93k|}
eval.c:getMath1Fun:
 5234|    187|static R_INLINE double (*getMath1Fun(int i, SEXP call))(double) {
 5235|    187|    if (math1funs[i].sym == NULL)
  ------------------
  |  Branch (5235:9): [True: 3, False: 184]
  ------------------
 5236|      3|	math1funs[i].sym = install(math1funs[i].name);
  ------------------
  |  |  934|      3|#define install			Rf_install
  ------------------
 5237|    187|    if (CAR(call) != math1funs[i].sym)
  ------------------
  |  Branch (5237:9): [True: 0, False: 187]
  ------------------
 5238|      0|	error("math1 compiler/interpreter mismatch");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 5239|    187|    return math1funs[i].fun;
 5240|    187|}
eval.c:SymbolValue:
 6826|  12.5k|{
 6827|  12.5k|    if (IS_ACTIVE_BINDING(sym))
  ------------------
  |  Branch (6827:9): [True: 0, False: 12.5k]
  ------------------
 6828|      0|	return eval(sym, R_BaseEnv);
  ------------------
  |  |  913|      0|#define eval			Rf_eval
  ------------------
 6829|  12.5k|    else {
 6830|  12.5k|	SEXP value = SYMVALUE(sym);
 6831|  12.5k|	if (TYPEOF(value) == PROMSXP) {
  ------------------
  |  |  116|  12.5k|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (6831:6): [True: 325, False: 12.2k]
  ------------------
 6832|    325|	    if (PROMISE_IS_EVALUATED(value))
  ------------------
  |  Branch (6832:10): [True: 325, False: 0]
  ------------------
 6833|    325|		value = PRVALUE(value);
 6834|      0|	    else
 6835|      0|		value = eval(sym, R_BaseEnv);
  ------------------
  |  |  913|      0|#define eval			Rf_eval
  ------------------
 6836|    325|	}
 6837|  12.5k|	return value;
 6838|  12.5k|    }
 6839|  12.5k|}
eval.c:restore_bcEval_globals:
 7154|  22.4M|{
 7155|  22.4M|    R_BCNodeStackTop = R_BCProtTop;
 7156|  22.4M|    DECREMENT_BCSTACK_LINKS(g->old_bcprot_top);
  ------------------
  |  | 1062|  22.4M|#define DECREMENT_BCSTACK_LINKS(oldptop) do {		\
  |  | 1063|  22.4M|	if (R_BCProtTop > (oldptop))			\
  |  |  ------------------
  |  |  |  Branch (1063:6): [True: 22.4M, False: 0]
  |  |  ------------------
  |  | 1064|  22.4M|	    DECLNK_stack(oldptop);			\
  |  | 1065|  22.4M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1065:14): [Folded, False: 22.4M]
  |  |  ------------------
  ------------------
 7157|  22.4M|    R_EvalDepth = g->oldevdepth;
 7158|  22.4M|    R_BCProtCommitted = g->old_bcprot_committed;
 7159|  22.4M|    R_BCNodeStackTop = g->oldntop;
 7160|  22.4M|    R_BCIntActive = g->oldbcintactive;
 7161|  22.4M|    R_BCbody = g->oldbcbody;
 7162|  22.4M|    R_BCpc = g->oldbcpc;
 7163|  22.4M|    R_BCFrame = g->oldbcframe;
 7164|  22.4M|    R_Srcref = g->oldsrcref;
 7165|       |#ifdef BC_PROFILING
 7166|       |    current_opcode = g->old_current_opcode;
 7167|       |#endif
 7168|  22.4M|}
eval.c:bcEval_init:
 8669|      2|static void bcEval_init(void) {
 8670|       |    bcEval_loop(NULL);
 8671|      2|}
eval.c:STACKVAL_TO_SEXP:
 4827|  9.64M|static R_INLINE SEXP STACKVAL_TO_SEXP(R_bcstack_t x) {
 4828|  9.64M|    return GETSTACK_PTR(&x);
  ------------------
  |  | 4751|  9.64M|#define GETSTACK_PTR(s) ((s)->tag ? GETSTACK_PTR_TAG(s) : (s)->u.sxpval)
  |  |  ------------------
  |  |  |  Branch (4751:26): [True: 45, False: 9.64M]
  |  |  ------------------
  ------------------
 4829|  9.64M|}

Rf_formatString:
   73|    406|{
   74|    406|    int xmax = 0;
   75|    406|    int l;
   76|       |
   77|    812|    for (R_xlen_t i = 0; i < n; i++) {
  ------------------
  |  Branch (77:26): [True: 406, False: 406]
  ------------------
   78|    406|	if (x[i] == NA_STRING) {
  ------------------
  |  |  433|    406|#define NA_STRING	R_NaString
  ------------------
  |  Branch (78:6): [True: 0, False: 406]
  ------------------
   79|      0|	    l = quote ? R_print.na_width : R_print.na_width_noquote;
  ------------------
  |  Branch (79:10): [True: 0, False: 0]
  ------------------
   80|    406|	} else l = Rstrlen(x[i], quote) + (quote ? 2 : 0);
  ------------------
  |  Branch (80:37): [True: 406, False: 0]
  ------------------
   81|    406|	if (l > xmax) xmax = l;
  ------------------
  |  Branch (81:6): [True: 406, False: 0]
  ------------------
   82|    406|    }
   83|    406|    *fieldwidth = xmax;
   84|    406|}
Rf_formatLogical:
  107|  1.06k|{
  108|  1.06k|    *fieldwidth = 1;
  109|  1.93k|    for(R_xlen_t i = 0 ; i < n; i++) {
  ------------------
  |  Branch (109:26): [True: 1.06k, False: 870]
  ------------------
  110|  1.06k|	if (x[i] == NA_LOGICAL) {
  ------------------
  |  |   55|  1.06k|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (110:6): [True: 0, False: 1.06k]
  ------------------
  111|      0|	    if(*fieldwidth < R_print.na_width)
  ------------------
  |  Branch (111:9): [True: 0, False: 0]
  ------------------
  112|      0|		*fieldwidth = R_print.na_width;
  113|  1.06k|	} else if (x[i] != 0 && *fieldwidth < 4) { // 'TRUE'
  ------------------
  |  Branch (113:13): [True: 870, False: 196]
  |  Branch (113:26): [True: 870, False: 0]
  ------------------
  114|    870|	    *fieldwidth = 4;
  115|    870|	} else if (x[i] == 0 && *fieldwidth < 5 ) {// 'FALSE'
  ------------------
  |  Branch (115:13): [True: 196, False: 0]
  |  Branch (115:26): [True: 196, False: 0]
  ------------------
  116|    196|	    *fieldwidth = 5;
  117|    196|	    break;
  118|       |	    // FIXME: Need to ensure that  na_width > 5  is not allowed (*and* document in ?print.default)
  119|       |	    /* this is the widest it can be,  so stop */
  120|    196|	}
  121|  1.06k|    }
  122|  1.06k|}
Rf_formatInteger:
  159|  3.43k|{
  160|  3.43k|    int xmin = INT_MAX, xmax = INT_MIN, naflag = 0;
  161|  3.43k|    int l;
  162|       |
  163|  6.87k|    for (R_xlen_t i = 0; i < n; i++) {
  ------------------
  |  Branch (163:26): [True: 3.43k, False: 3.43k]
  ------------------
  164|  3.43k|	if (x[i] == NA_INTEGER)
  ------------------
  |  |   56|  3.43k|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (164:6): [True: 0, False: 3.43k]
  ------------------
  165|      0|	    naflag = 1;
  166|  3.43k|	else {
  167|  3.43k|	    if (x[i] < xmin) xmin = x[i];
  ------------------
  |  Branch (167:10): [True: 3.43k, False: 0]
  ------------------
  168|  3.43k|	    if (x[i] > xmax) xmax = x[i];
  ------------------
  |  Branch (168:10): [True: 3.43k, False: 0]
  ------------------
  169|  3.43k|	}
  170|  3.43k|    }
  171|  3.43k|    FORMATINT_RETLOGIC;
  ------------------
  |  |  143|  3.43k|#define FORMATINT_RETLOGIC do {					\
  |  |  144|  3.43k|	if (naflag) *fieldwidth = R_print.na_width;		\
  |  |  ------------------
  |  |  |  Branch (144:6): [True: 0, False: 3.43k]
  |  |  ------------------
  |  |  145|  3.43k|	else *fieldwidth = 1;					\
  |  |  146|  3.43k|								\
  |  |  147|  3.43k|	if (xmin < 0) {						\
  |  |  ------------------
  |  |  |  Branch (147:6): [True: 0, False: 3.43k]
  |  |  ------------------
  |  |  148|      0|	    l = IndexWidth(-xmin) + 1;	/* +1 for sign */	\
  |  |  ------------------
  |  |  |  |   48|      0|#define IndexWidth    Rf_IndexWidth
  |  |  ------------------
  |  |  149|      0|	    if (l > *fieldwidth) *fieldwidth = l;		\
  |  |  ------------------
  |  |  |  Branch (149:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  150|      0|	}							\
  |  |  151|  3.43k|	if (xmax > 0) {						\
  |  |  ------------------
  |  |  |  Branch (151:6): [True: 3.43k, False: 2]
  |  |  ------------------
  |  |  152|  3.43k|	    l = IndexWidth(xmax);				\
  |  |  ------------------
  |  |  |  |   48|  3.43k|#define IndexWidth    Rf_IndexWidth
  |  |  ------------------
  |  |  153|  3.43k|	    if (l > *fieldwidth) *fieldwidth = l;		\
  |  |  ------------------
  |  |  |  Branch (153:10): [True: 2.72k, False: 708]
  |  |  ------------------
  |  |  154|  3.43k|	}							\
  |  |  155|  3.43k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (155:13): [Folded, False: 3.43k]
  |  |  ------------------
  ------------------
  172|  3.43k|}
Rf_formatReal:
  436|  31.8k|{
  437|  31.8k|    bool
  438|  31.8k|	naflag = false, nanflag = false,
  439|  31.8k|	posinf = false, neginf = false;
  440|  31.8k|    int neg = 0;
  441|  31.8k|    int mnl = INT_MAX,
  442|  31.8k|	mxl, rgt, mxsl, mxns;
  443|  31.8k|    mxl = rgt = mxsl = mxns = INT_MIN;
  444|       |
  445|  63.6k|    for (R_xlen_t i = 0; i < n; i++) {
  ------------------
  |  Branch (445:26): [True: 31.8k, False: 31.8k]
  ------------------
  446|  31.8k|	if (!R_FINITE(x[i])) {
  ------------------
  |  |   82|  31.8k|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (446:6): [True: 19.6k, False: 12.1k]
  ------------------
  447|  19.6k|	    if(ISNA(x[i])) naflag = true;
  ------------------
  |  |   64|  19.6k|#define ISNA(x)	       R_IsNA(x)
  |  |  ------------------
  |  |  |  Branch (64:24): [True: 18.8k, False: 760]
  |  |  ------------------
  ------------------
  448|    760|	    else if(ISNAN(x[i])) nanflag = true;
  ------------------
  |  |   76|    760|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 69, False: 691]
  |  |  ------------------
  ------------------
  449|    691|	    else if(x[i] > 0) posinf = true;
  ------------------
  |  Branch (449:14): [True: 330, False: 361]
  ------------------
  450|    361|	    else neginf = true;
  451|  19.6k|	} else {
  452|  12.1k|	    int neg_i, kpower, nsig;
  453|  12.1k|	    bool roundingwidens;
  454|  12.1k|	    scientific(&x[i], &neg_i, &kpower, &nsig, &roundingwidens);
  455|       |
  456|  12.1k|	    int left = kpower + 1;
  457|  12.1k|	    if (roundingwidens) left--;
  ------------------
  |  Branch (457:10): [True: 0, False: 12.1k]
  ------------------
  458|       |
  459|  12.1k|	    int sleft = neg_i + ((left <= 0) ? 1 : left); /* >= 1 */
  ------------------
  |  Branch (459:27): [True: 748, False: 11.4k]
  ------------------
  460|  12.1k|	    int right = nsig - left; /* #{digits} right of '.' ( > 0 often)*/
  461|  12.1k|	    if (neg_i) neg = 1;	 /* if any < 0, need extra space for sign */
  ------------------
  |  Branch (461:10): [True: 703, False: 11.4k]
  ------------------
  462|       |
  463|       |	    /* Infinite precision "F" Format : */
  464|  12.1k|	    if (right > rgt)  rgt = right;	/* max digits to right of . */
  ------------------
  |  Branch (464:10): [True: 12.1k, False: 0]
  ------------------
  465|  12.1k|	    if (left  > mxl)  mxl = left;	/* max digits to  left of . */
  ------------------
  |  Branch (465:10): [True: 12.1k, False: 0]
  ------------------
  466|  12.1k|	    if (left  < mnl)  mnl = left;	/* min digits to  left of . */
  ------------------
  |  Branch (466:10): [True: 12.1k, False: 0]
  ------------------
  467|  12.1k|	    if (sleft > mxsl) mxsl = sleft;	/* max left including sign(s)*/
  ------------------
  |  Branch (467:10): [True: 12.1k, False: 0]
  ------------------
  468|  12.1k|	    if (nsig  > mxns) mxns = nsig;	/* max sig digits */
  ------------------
  |  Branch (468:10): [True: 12.1k, False: 0]
  ------------------
  469|  12.1k|	}
  470|  31.8k|    }
  471|       |     /* F Format: use "F" format WHENEVER we use not more space than  'E' + scipen
  472|       |     *		and still satisfy 'R_print.digits' {but as if nsmall==0 !}
  473|       |     *
  474|       |     * E Format has the form   [S]X[.XXX]E+XX[X]
  475|       |     *
  476|       |     * This is indicated by setting *e to non-zero (usually 1)
  477|       |     * If the additional exponent digit is required *e is set to 2
  478|       |     */
  479|       |
  480|       |    /*-- These	'mxsl' & 'rgt'	are used in F Format
  481|       |     *	 AND in the	____ if(.) "F" else "E" ___   below: */
  482|  31.8k|    if (R_print.digits == 0) rgt = 0;
  ------------------
  |  Branch (482:9): [True: 0, False: 31.8k]
  ------------------
  483|  31.8k|    if (mxl < 0) mxsl = 1 + neg;  /* we use %#w.dg, so have leading zero */
  ------------------
  |  Branch (483:9): [True: 19.9k, False: 11.8k]
  ------------------
  484|       |
  485|       |    /* use nsmall only *after* comparing "F" vs "E": */
  486|  31.8k|    if (rgt < 0) rgt = 0;// rgt != 0  <==> needs decimal point (OutDec) "."
  ------------------
  |  Branch (486:9): [True: 22.2k, False: 9.55k]
  ------------------
  487|  31.8k|    int wF = mxsl + rgt + (rgt != 0);	/* width for F format */
  488|       |
  489|       |    /*-- 'see' how "E" Exponential format would be like : */
  490|  31.8k|    *e = (mxl > 100 || mnl <= -99) ? 2 /* 3 digit exponent */ : 1;
  ------------------
  |  Branch (490:11): [True: 401, False: 31.4k]
  |  Branch (490:24): [True: 223, False: 31.1k]
  ------------------
  491|  31.8k|    if (mxns != INT_MIN) {
  ------------------
  |  Branch (491:9): [True: 12.1k, False: 19.6k]
  ------------------
  492|  12.1k|	*d = mxns - 1;
  493|  12.1k|	*w = neg + (*d > 0) + *d + 4 + *e; /* width for E format */
  494|  12.1k|	if (wF <= *w + R_print.scipen) { /* Fixpoint if it needs less space */
  ------------------
  |  Branch (494:6): [True: 9.79k, False: 2.39k]
  ------------------
  495|  9.79k|	    *e = 0;
  496|  9.79k|	    if (nsmall > rgt) {
  ------------------
  |  Branch (496:10): [True: 0, False: 9.79k]
  ------------------
  497|      0|		rgt = nsmall;
  498|      0|		wF = mxsl + rgt + (rgt != 0);
  499|      0|	    }
  500|  9.79k|	    *d = rgt;
  501|  9.79k|	    *w = wF;
  502|  9.79k|	} /* else : "E" Exponential format -- all done above */
  503|  12.1k|    }
  504|  19.6k|    else { /* when all x[i] are non-finite */
  505|  19.6k|	*w = 0;/* to be increased */
  506|  19.6k|	*d = 0;
  507|  19.6k|	*e = 0;
  508|  19.6k|    }
  509|  31.8k|    if (naflag && *w < R_print.na_width)
  ------------------
  |  Branch (509:9): [True: 18.8k, False: 12.9k]
  |  Branch (509:19): [True: 18.8k, False: 0]
  ------------------
  510|  18.8k|	*w = R_print.na_width;
  511|  31.8k|    if (nanflag && *w < 3) *w = 3;
  ------------------
  |  Branch (511:9): [True: 69, False: 31.7k]
  |  Branch (511:20): [True: 69, False: 0]
  ------------------
  512|  31.8k|    if (posinf  && *w < 3) *w = 3;
  ------------------
  |  Branch (512:9): [True: 330, False: 31.4k]
  |  Branch (512:20): [True: 330, False: 0]
  ------------------
  513|  31.8k|    if (neginf  && *w < 4) *w = 4;
  ------------------
  |  Branch (513:9): [True: 361, False: 31.4k]
  |  Branch (513:20): [True: 361, False: 0]
  ------------------
  514|  31.8k|}
format.c:scientific:
  315|  12.1k|{
  316|       |    /* for a number x , determine
  317|       |     *	neg    = 1_{x < 0}  {0/1}
  318|       |     *	kpower = Exponent of 10;
  319|       |     *	nsig   = min(R_print.digits, #{significant digits of alpha})
  320|       |     *  roundingwidens = true iff rounding causes x to increase in width
  321|       |     *
  322|       |     * where  |x| = alpha * 10^kpower	and	 1 <= alpha < 10
  323|       |     */
  324|  12.1k|    register double alpha;
  325|  12.1k|    register double r;
  326|  12.1k|    register int kp;
  327|  12.1k|    int j;
  328|       |
  329|  12.1k|    if (*x == 0.0) {
  ------------------
  |  Branch (329:9): [True: 798, False: 11.3k]
  ------------------
  330|    798|	*kpower = 0;
  331|    798|	*nsig = 1;
  332|    798|	*neg = 0;
  333|    798|	*roundingwidens = false;
  334|  11.3k|    } else {
  335|  11.3k|	if(*x < 0.0) {
  ------------------
  |  Branch (335:5): [True: 703, False: 10.6k]
  ------------------
  336|    703|	    *neg = 1; r = -*x;
  337|  10.6k|	} else {
  338|  10.6k|	    *neg = 0; r = *x;
  339|  10.6k|	}
  340|  11.3k|        if (R_print.digits >= DBL_DIG + 1) {
  ------------------
  |  Branch (340:13): [True: 0, False: 11.3k]
  ------------------
  341|      0|            format_via_sprintf(r, R_print.digits, kpower, nsig);
  342|      0|	    *roundingwidens = false;
  343|      0|            return;
  344|      0|        }
  345|  11.3k|        kp = (int) floor(log10(r)) - R_print.digits + 1;/* r = |x|; 10^(kp + digits - 1) <= r */
  346|  11.3k|#if defined(HAVE_LONG_DOUBLE) && (SIZEOF_LONG_DOUBLE > SIZEOF_DOUBLE)
  347|  11.3k|        long double r_prec = r;
  348|       |        /* use exact scaling factor in long double precision, if possible */
  349|  11.3k|        if (abs(kp) <= KP_MAX) {
  ------------------
  |  |  302|  11.3k|#define KP_MAX 27
  ------------------
  |  Branch (349:13): [True: 10.7k, False: 657]
  ------------------
  350|  10.7k|            if (kp > 0) r_prec /= tbl[kp]; else if (kp < 0) r_prec *= tbl[ -kp];
  ------------------
  |  Branch (350:17): [True: 1.59k, False: 9.14k]
  |  Branch (350:53): [True: 9.10k, False: 38]
  ------------------
  351|  10.7k|        }
  352|    657|#  ifdef HAVE_POWL
  353|       |	// powl is C99 but only added to FreeBSD in 2017.
  354|    657|	else
  355|    657|            r_prec /= powl(10.0, (long double) kp);
  356|       |#  else
  357|       |        else if (kp <= R_dec_min_exponent)
  358|       |            r_prec = (r_prec * 1e+303)/Rexp10((double)(kp+303));
  359|       |        else
  360|       |            r_prec /= Rexp10((double) kp);
  361|       |#  endif
  362|  11.3k|        if (r_prec < tbl[R_print.digits - 1]) {
  ------------------
  |  Branch (362:13): [True: 87, False: 11.3k]
  ------------------
  363|     87|            r_prec *= 10.0;
  364|     87|            kp--;
  365|     87|        }
  366|       |        /* round alpha to integer, 10^(digits-1) <= alpha <= 10^digits
  367|       |	   accuracy limited by double rounding problem,
  368|       |	   alpha already rounded to 64 bits */
  369|  11.3k|        alpha = (double) R_nearbyintl(r_prec);
  ------------------
  |  |  261|  11.3k|# define R_nearbyintl nearbyintl
  ------------------
  370|       |#else /* not using long doubles */
  371|       |	double r_prec = r;
  372|       |        /* use exact scaling factor in double precision, if possible */
  373|       |        if (abs(kp) <= KP_MAX) {
  374|       |            if (kp >= 0) r_prec /= tbl[kp]; else r_prec *= tbl[ -kp];
  375|       |        }
  376|       |        /* For IEC60559 1e-308 is not representable except by gradual underflow.
  377|       |           Shifting by 303 allows for any potential denormalized numbers x,
  378|       |           and makes the reasonable assumption that R_dec_min_exponent+303
  379|       |           is in range. Representation of 1e+303 has low error.
  380|       |         */
  381|       |        else if (kp <= R_dec_min_exponent)
  382|       |            r_prec = (r_prec * 1e+303)/Rexp10((double)(kp+303));
  383|       |        else
  384|       |            r_prec /= Rexp10((double)kp);
  385|       |        if (r_prec < tbl[R_print.digits - 1]) {
  386|       |            r_prec *= 10.0;
  387|       |            kp--;
  388|       |        }
  389|       |        /* round alpha to integer, 10^(digits-1) <= alpha <= 10^digits */
  390|       |        /* accuracy limited by double rounding problem,
  391|       |	   alpha already rounded to 53 bits */
  392|       |        alpha = nearbyint(r_prec);
  393|       |#endif
  394|  11.3k|        *nsig = R_print.digits;
  395|   140k|        for (j = 1; j <= R_print.digits; j++) {
  ------------------
  |  Branch (395:21): [True: 140k, False: 87]
  ------------------
  396|   140k|            alpha /= 10.0;
  397|   140k|            if (alpha == floor(alpha)) {
  ------------------
  |  Branch (397:17): [True: 129k, False: 11.3k]
  ------------------
  398|   129k|                (*nsig)--;
  399|   129k|            } else {
  400|  11.3k|                break;
  401|  11.3k|            }
  402|   140k|        }
  403|  11.3k|        if (*nsig == 0 && R_print.digits > 0) {
  ------------------
  |  Branch (403:13): [True: 87, False: 11.3k]
  |  Branch (403:27): [True: 87, False: 0]
  ------------------
  404|     87|            *nsig = 1;
  405|     87|            kp += 1;
  406|     87|        }
  407|  11.3k|        *kpower = kp + R_print.digits - 1;
  408|       |
  409|       |	/* Scientific format may do more rounding than fixed format, e.g.
  410|       |	   9996 with 3 digits is 1e+04 in scientific, but 9996 in fixed.
  411|       |	   This happens when the true value r is less than 10^(kpower+1)
  412|       |	   and would not round up to it in fixed format.
  413|       |	   Here rgt is the decimal place that will be cut off by rounding */
  414|       |
  415|  11.3k|	int rgt = R_print.digits - *kpower;
  416|       |	/* bound rgt by 0 and KP_MAX */
  417|  11.3k|	rgt = rgt < 0 ? 0 : rgt > KP_MAX ? KP_MAX : rgt;
  ------------------
  |  |  302|  9.38k|#define KP_MAX 27
  ------------------
              	rgt = rgt < 0 ? 0 : rgt > KP_MAX ? KP_MAX : rgt;
  ------------------
  |  |  302|    241|#define KP_MAX 27
  ------------------
  |  Branch (417:8): [True: 2.00k, False: 9.38k]
  |  Branch (417:22): [True: 241, False: 9.14k]
  ------------------
  418|  11.3k|	double fuzz = 0.5/(double)tbl[rgt];
  419|       |	// kpower can be bigger than the table.
  420|  11.3k|	*roundingwidens = *kpower > 0 && *kpower <= KP_MAX && r < tbl[*kpower] - fuzz;
  ------------------
  |  |  302|  19.2k|#define KP_MAX 27
  ------------------
  |  Branch (420:20): [True: 7.82k, False: 3.56k]
  |  Branch (420:35): [True: 5.83k, False: 1.99k]
  |  Branch (420:56): [True: 0, False: 5.83k]
  ------------------
  421|  11.3k|    }
  422|  12.1k|}

R_fgetc:
   36|  25.2k|{
   37|       |#ifdef Win32
   38|       |    int c;
   39|       |    static int nexteof=0;
   40|       |    if (nexteof) {
   41|       |       nexteof = 0;
   42|       |       return R_EOF;
   43|       |    }
   44|       |    c = fgetc(fp);
   45|       |    if (c==EOF) {
   46|       |       nexteof = 1;
   47|       |       return '\n';
   48|       |    }
   49|       |#else
   50|  25.2k|    int c = fgetc(fp);
   51|  25.2k|#endif
   52|       |    /* get rid of  CR in CRLF line termination */
   53|  25.2k|    if (c == '\r') {
  ------------------
  |  Branch (53:9): [True: 0, False: 25.2k]
  ------------------
   54|      0|	c = fgetc(fp);
   55|       |	/* retain CR's with no following linefeed */
   56|      0|	if (c != '\n') {
  ------------------
  |  Branch (56:6): [True: 0, False: 0]
  ------------------
   57|      0|	    ungetc(c,fp);
   58|      0|	    return('\r');
   59|      0|	}
   60|      0|    }
   61|       |#ifdef Win32
   62|       |    return c;
   63|       |#else
   64|  25.2k|    return feof(fp) ? R_EOF : c;
  ------------------
  |  | 1531|      4|#define R_EOF	-1
  ------------------
  |  Branch (64:12): [True: 4, False: 25.2k]
  ------------------
   65|  25.2k|#endif
   66|  25.2k|}

Rf_yyparse:
 2036|    576|{
 2037|    576|    yy_state_fast_t yystate = 0;
 2038|       |    /* Number of tokens to shift before error messages enabled.  */
 2039|    576|    int yyerrstatus = 0;
 2040|       |
 2041|       |    /* Refer to the stacks through separate pointers, to allow yyoverflow
 2042|       |       to reallocate them elsewhere.  */
 2043|       |
 2044|       |    /* Their size.  */
 2045|    576|    YYPTRDIFF_T yystacksize = YYINITDEPTH;
  ------------------
  |  |  838|    576|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
                  YYPTRDIFF_T yystacksize = YYINITDEPTH;
  ------------------
  |  | 1706|    576|# define YYINITDEPTH 200
  ------------------
 2046|       |
 2047|       |    /* The state stack: array, bottom, top.  */
 2048|    576|    yy_state_t yyssa[YYINITDEPTH];
 2049|    576|    yy_state_t *yyss = yyssa;
 2050|    576|    yy_state_t *yyssp = yyss;
 2051|       |
 2052|       |    /* The semantic value stack: array, bottom, top.  */
 2053|    576|    YYSTYPE yyvsa[YYINITDEPTH];
  ------------------
  |  |  484|    576|#define YYSTYPE		SEXP
  ------------------
 2054|    576|    YYSTYPE *yyvs = yyvsa;
  ------------------
  |  |  484|    576|#define YYSTYPE		SEXP
  ------------------
 2055|    576|    YYSTYPE *yyvsp = yyvs;
  ------------------
  |  |  484|    576|#define YYSTYPE		SEXP
  ------------------
 2056|       |
 2057|       |    /* The location stack: array, bottom, top.  */
 2058|    576|    YYLTYPE yylsa[YYINITDEPTH];
  ------------------
  |  |  192|    576|# define YYLTYPE yyltype
  ------------------
 2059|    576|    YYLTYPE *yyls = yylsa;
  ------------------
  |  |  192|    576|# define YYLTYPE yyltype
  ------------------
 2060|    576|    YYLTYPE *yylsp = yyls;
  ------------------
  |  |  192|    576|# define YYLTYPE yyltype
  ------------------
 2061|       |
 2062|    576|  int yyn;
 2063|       |  /* The return value of yyparse.  */
 2064|    576|  int yyresult;
 2065|       |  /* Lookahead symbol kind.  */
 2066|    576|  yysymbol_kind_t yytoken = YYSYMBOL_YYEMPTY;
 2067|       |  /* The variables used to return semantic value and location from the
 2068|       |     action routines.  */
 2069|    576|  YYSTYPE yyval;
  ------------------
  |  |  484|    576|#define YYSTYPE		SEXP
  ------------------
 2070|    576|  YYLTYPE yyloc;
  ------------------
  |  |  192|    576|# define YYLTYPE yyltype
  ------------------
 2071|       |
 2072|       |  /* The locations where the error started and ended.  */
 2073|    576|  YYLTYPE yyerror_range[3];
  ------------------
  |  |  192|    576|# define YYLTYPE yyltype
  ------------------
 2074|       |
 2075|       |  /* Buffer for error messages, and its allocated size.  */
 2076|    576|  char yymsgbuf[128];
 2077|    576|  char *yymsg = yymsgbuf;
 2078|    576|  YYPTRDIFF_T yymsg_alloc = sizeof yymsgbuf;
  ------------------
  |  |  838|    576|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 2079|       |
 2080|    576|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N), yylsp -= (N))
 2081|       |
 2082|       |  /* The number of symbols on the RHS of the reduced rule.
 2083|       |     Keep to zero when no symbol should be popped.  */
 2084|    576|  int yylen = 0;
 2085|       |
 2086|    576|  YYDPRINTF ((stderr, "Starting parse\n"));
  ------------------
  |  | 1697|    576|# define YYDPRINTF(Args) ((void) 0)
  ------------------
 2087|       |
 2088|    576|  yychar = YYEMPTY; /* Cause a token to be read.  */
  ------------------
  |  | 2023|    576|# define yychar			Rf_yychar
  ------------------
                yychar = YYEMPTY; /* Cause a token to be read.  */
  ------------------
  |  |  582|    576|#define YYEMPTY -2
  ------------------
 2089|       |
 2090|    576|  yylsp[0] = yylloc;
 2091|    576|  goto yysetstate;
 2092|       |
 2093|       |
 2094|       |/*------------------------------------------------------------.
 2095|       || yynewstate -- push a new state, which is found in yystate.  |
 2096|       |`------------------------------------------------------------*/
 2097|  18.8k|yynewstate:
 2098|       |  /* In all cases, when you get here, the value and location stacks
 2099|       |     have just been pushed.  So pushing a state here evens the stacks.  */
 2100|  18.8k|  yyssp++;
 2101|       |
 2102|       |
 2103|       |/*--------------------------------------------------------------------.
 2104|       || yysetstate -- set current state (the top of the stack) to yystate.  |
 2105|       |`--------------------------------------------------------------------*/
 2106|  19.3k|yysetstate:
 2107|  19.3k|  YYDPRINTF ((stderr, "Entering state %d\n", yystate));
  ------------------
  |  | 1697|  19.3k|# define YYDPRINTF(Args) ((void) 0)
  ------------------
 2108|  19.3k|  YY_ASSERT (0 <= yystate && yystate < YYNSTATES);
  ------------------
  |  |  954|  19.3k|#define YY_ASSERT(E) ((void) (0 && (E)))
  |  |  ------------------
  |  |  |  Branch (954:31): [Folded, False: 19.3k]
  |  |  |  Branch (954:37): [True: 0, False: 0]
  |  |  |  Branch (954:37): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2109|  19.3k|  YY_IGNORE_USELESS_CAST_BEGIN
 2110|  19.3k|  *yyssp = YY_CAST (yy_state_t, yystate);
  ------------------
  |  |  493|  19.3k|#   define YY_CAST(Type, Val) ((Type) (Val))
  ------------------
 2111|  19.3k|  YY_IGNORE_USELESS_CAST_END
 2112|  19.3k|  YY_STACK_PRINT (yyss, yyssp);
 2113|       |
 2114|  19.3k|  if (yyss + yystacksize - 1 <= yyssp)
  ------------------
  |  Branch (2114:7): [True: 0, False: 19.3k]
  ------------------
 2115|       |#if !defined yyoverflow && !defined YYSTACK_RELOCATE
 2116|       |    YYNOMEM;
 2117|       |#else
 2118|      0|    {
 2119|       |      /* Get the current used size of the three stacks, in elements.  */
 2120|      0|      YYPTRDIFF_T yysize = yyssp - yyss + 1;
  ------------------
  |  |  838|      0|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 2121|       |
 2122|       |# if defined yyoverflow
 2123|       |      {
 2124|       |        /* Give user a chance to reallocate the stack.  Use copies of
 2125|       |           these so that the &'s don't force the real ones into
 2126|       |           memory.  */
 2127|       |        yy_state_t *yyss1 = yyss;
 2128|       |        YYSTYPE *yyvs1 = yyvs;
 2129|       |        YYLTYPE *yyls1 = yyls;
 2130|       |
 2131|       |        /* Each stack pointer address is followed by the size of the
 2132|       |           data in use in that stack, in bytes.  This used to be a
 2133|       |           conditional around just the two extra args, but that might
 2134|       |           be undefined if yyoverflow is a macro.  */
 2135|       |        yyoverflow (YY_("memory exhausted"),
 2136|       |                    &yyss1, yysize * YYSIZEOF (*yyssp),
 2137|       |                    &yyvs1, yysize * YYSIZEOF (*yyvsp),
 2138|       |                    &yyls1, yysize * YYSIZEOF (*yylsp),
 2139|       |                    &yystacksize);
 2140|       |        yyss = yyss1;
 2141|       |        yyvs = yyvs1;
 2142|       |        yyls = yyls1;
 2143|       |      }
 2144|       |# else /* defined YYSTACK_RELOCATE */
 2145|       |      /* Extend the stack our own way.  */
 2146|      0|      if (YYMAXDEPTH <= yystacksize)
  ------------------
  |  | 1717|      0|# define YYMAXDEPTH 10000
  ------------------
  |  Branch (2146:11): [True: 0, False: 0]
  ------------------
 2147|      0|        YYNOMEM;
  ------------------
  |  | 1463|      0|#define YYNOMEM         goto yyexhaustedlab
  ------------------
 2148|      0|      yystacksize *= 2;
 2149|      0|      if (YYMAXDEPTH < yystacksize)
  ------------------
  |  | 1717|      0|# define YYMAXDEPTH 10000
  ------------------
  |  Branch (2149:11): [True: 0, False: 0]
  ------------------
 2150|      0|        yystacksize = YYMAXDEPTH;
  ------------------
  |  | 1717|      0|# define YYMAXDEPTH 10000
  ------------------
 2151|       |
 2152|      0|      {
 2153|      0|        yy_state_t *yyss1 = yyss;
 2154|      0|        union yyalloc *yyptr =
 2155|      0|          YY_CAST (union yyalloc *,
  ------------------
  |  |  493|      0|#   define YY_CAST(Type, Val) ((Type) (Val))
  ------------------
 2156|      0|                   YYSTACK_ALLOC (YY_CAST (YYSIZE_T, YYSTACK_BYTES (yystacksize))));
 2157|      0|        if (! yyptr)
  ------------------
  |  Branch (2157:13): [True: 0, False: 0]
  ------------------
 2158|      0|          YYNOMEM;
  ------------------
  |  | 1463|      0|#define YYNOMEM         goto yyexhaustedlab
  ------------------
 2159|      0|        YYSTACK_RELOCATE (yyss_alloc, yyss);
  ------------------
  |  | 1054|      0|    do                                                                  \
  |  | 1055|      0|      {                                                                 \
  |  | 1056|      0|        YYPTRDIFF_T yynewbytes;                                         \
  |  |  ------------------
  |  |  |  |  838|      0|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  |  |  ------------------
  |  | 1057|      0|        YYCOPY (&yyptr->Stack_alloc, Stack, yysize);                    \
  |  |  ------------------
  |  |  |  | 1072|      0|      __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  493|      0|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1058|      0|        Stack = &yyptr->Stack_alloc;                                    \
  |  | 1059|      0|        yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  |  871|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  493|      0|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  | 1037|      0|# define YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  871|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  493|      0|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1060|      0|        yyptr += yynewbytes / YYSIZEOF (*yyptr);                        \
  |  |  ------------------
  |  |  |  |  871|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  493|      0|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1061|      0|      }                                                                 \
  |  | 1062|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (1062:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2160|      0|        YYSTACK_RELOCATE (yyvs_alloc, yyvs);
  ------------------
  |  | 1054|      0|    do                                                                  \
  |  | 1055|      0|      {                                                                 \
  |  | 1056|      0|        YYPTRDIFF_T yynewbytes;                                         \
  |  |  ------------------
  |  |  |  |  838|      0|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  |  |  ------------------
  |  | 1057|      0|        YYCOPY (&yyptr->Stack_alloc, Stack, yysize);                    \
  |  |  ------------------
  |  |  |  | 1072|      0|      __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  493|      0|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1058|      0|        Stack = &yyptr->Stack_alloc;                                    \
  |  | 1059|      0|        yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  |  871|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  493|      0|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  | 1037|      0|# define YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  871|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  493|      0|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1060|      0|        yyptr += yynewbytes / YYSIZEOF (*yyptr);                        \
  |  |  ------------------
  |  |  |  |  871|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  493|      0|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1061|      0|      }                                                                 \
  |  | 1062|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (1062:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2161|      0|        YYSTACK_RELOCATE (yyls_alloc, yyls);
  ------------------
  |  | 1054|      0|    do                                                                  \
  |  | 1055|      0|      {                                                                 \
  |  | 1056|      0|        YYPTRDIFF_T yynewbytes;                                         \
  |  |  ------------------
  |  |  |  |  838|      0|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  |  |  ------------------
  |  | 1057|      0|        YYCOPY (&yyptr->Stack_alloc, Stack, yysize);                    \
  |  |  ------------------
  |  |  |  | 1072|      0|      __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  493|      0|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1058|      0|        Stack = &yyptr->Stack_alloc;                                    \
  |  | 1059|      0|        yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  |  871|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  493|      0|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  | 1037|      0|# define YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  871|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  493|      0|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1060|      0|        yyptr += yynewbytes / YYSIZEOF (*yyptr);                        \
  |  |  ------------------
  |  |  |  |  871|      0|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  493|      0|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1061|      0|      }                                                                 \
  |  | 1062|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (1062:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2162|      0|#  undef YYSTACK_RELOCATE
 2163|      0|        if (yyss1 != yyssa)
  ------------------
  |  Branch (2163:13): [True: 0, False: 0]
  ------------------
 2164|      0|          YYSTACK_FREE (yyss1);
  ------------------
  |  |  996|      0|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  |  369|      0|#define YYFREE   yystack_free
  |  |  ------------------
  ------------------
 2165|      0|      }
 2166|      0|# endif
 2167|       |
 2168|      0|      yyssp = yyss + yysize - 1;
 2169|      0|      yyvsp = yyvs + yysize - 1;
 2170|      0|      yylsp = yyls + yysize - 1;
 2171|       |
 2172|      0|      YY_IGNORE_USELESS_CAST_BEGIN
 2173|      0|      YYDPRINTF ((stderr, "Stack size increased to %ld\n",
  ------------------
  |  | 1697|      0|# define YYDPRINTF(Args) ((void) 0)
  ------------------
 2174|      0|                  YY_CAST (long, yystacksize)));
 2175|      0|      YY_IGNORE_USELESS_CAST_END
 2176|       |
 2177|      0|      if (yyss + yystacksize - 1 <= yyssp)
  ------------------
  |  Branch (2177:11): [True: 0, False: 0]
  ------------------
 2178|      0|        YYABORT;
  ------------------
  |  | 1461|      0|#define YYABORT         goto yyabortlab
  ------------------
 2179|      0|    }
 2180|  19.3k|#endif /* !defined yyoverflow && !defined YYSTACK_RELOCATE */
 2181|       |
 2182|       |
 2183|  19.3k|  if (yystate == YYFINAL)
  ------------------
  |  | 1087|  19.3k|#define YYFINAL  48
  ------------------
  |  Branch (2183:7): [True: 0, False: 19.3k]
  ------------------
 2184|      0|    YYACCEPT;
  ------------------
  |  | 1460|      0|#define YYACCEPT        goto yyacceptlab
  ------------------
 2185|       |
 2186|  19.3k|  goto yybackup;
 2187|       |
 2188|       |
 2189|       |/*-----------.
 2190|       || yybackup.  |
 2191|       |`-----------*/
 2192|  19.3k|yybackup:
 2193|       |  /* Do appropriate processing given the current state.  Read a
 2194|       |     lookahead token if we need one and don't already have one.  */
 2195|       |
 2196|       |  /* First try to decide what to do without reference to lookahead token.  */
 2197|  19.3k|  yyn = yypact[yystate];
 2198|  19.3k|  if (yypact_value_is_default (yyn))
  ------------------
  |  | 1203|  19.3k|  ((Yyn) == YYPACT_NINF)
  |  |  ------------------
  |  |  |  | 1200|  19.3k|#define YYPACT_NINF (-130)
  |  |  ------------------
  |  |  |  Branch (1203:3): [True: 3.72k, False: 15.6k]
  |  |  ------------------
  ------------------
 2199|  3.72k|    goto yydefault;
 2200|       |
 2201|       |  /* Not known => get a lookahead token if don't already have one.  */
 2202|       |
 2203|       |  /* YYCHAR is either empty, or end-of-input, or a valid lookahead.  */
 2204|  15.6k|  if (yychar == YYEMPTY)
  ------------------
  |  | 2023|  15.6k|# define yychar			Rf_yychar
  ------------------
                if (yychar == YYEMPTY)
  ------------------
  |  |  582|  15.6k|#define YYEMPTY -2
  ------------------
  |  Branch (2204:7): [True: 7.84k, False: 7.81k]
  ------------------
 2205|  7.84k|    {
 2206|  7.84k|      YYDPRINTF ((stderr, "Reading a token\n"));
  ------------------
  |  | 1697|  7.84k|# define YYDPRINTF(Args) ((void) 0)
  ------------------
 2207|  7.84k|      yychar = yylex ();
  ------------------
  |  | 2023|  7.84k|# define yychar			Rf_yychar
  ------------------
 2208|  7.84k|    }
 2209|       |
 2210|  15.6k|  if (yychar <= YYEOF)
  ------------------
  |  | 2023|  15.6k|# define yychar			Rf_yychar
  ------------------
                if (yychar <= YYEOF)
  ------------------
  |  |  583|  15.6k|#define YYEOF 0
  ------------------
  |  Branch (2210:7): [True: 0, False: 15.6k]
  ------------------
 2211|      0|    {
 2212|      0|      yychar = YYEOF;
  ------------------
  |  | 2023|      0|# define yychar			Rf_yychar
  ------------------
                    yychar = YYEOF;
  ------------------
  |  |  583|      0|#define YYEOF 0
  ------------------
 2213|      0|      yytoken = YYSYMBOL_YYEOF;
 2214|      0|      YYDPRINTF ((stderr, "Now at end of input.\n"));
  ------------------
  |  | 1697|      0|# define YYDPRINTF(Args) ((void) 0)
  ------------------
 2215|      0|    }
 2216|  15.6k|  else if (yychar == YYerror)
  ------------------
  |  | 2023|  15.6k|# define yychar			Rf_yychar
  ------------------
                else if (yychar == YYerror)
  ------------------
  |  |  584|  15.6k|#define YYerror 256
  ------------------
  |  Branch (2216:12): [True: 0, False: 15.6k]
  ------------------
 2217|      0|    {
 2218|       |      /* The scanner already issued an error message, process directly
 2219|       |         to error recovery.  But do not keep the error token as
 2220|       |         lookahead, it is too special and may lead us to an endless
 2221|       |         loop in error recovery. */
 2222|      0|      yychar = YYUNDEF;
  ------------------
  |  | 2023|      0|# define yychar			Rf_yychar
  ------------------
                    yychar = YYUNDEF;
  ------------------
  |  |  585|      0|#define YYUNDEF 257
  ------------------
 2223|      0|      yytoken = YYSYMBOL_YYerror;
 2224|      0|      yyerror_range[1] = yylloc;
 2225|      0|      goto yyerrlab1;
 2226|      0|    }
 2227|  15.6k|  else
 2228|  15.6k|    {
 2229|  15.6k|      yytoken = YYTRANSLATE (yychar);
  ------------------
  |  | 1107|  15.6k|  (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
  |  |  ------------------
  |  |  |  | 1101|  15.6k|#define YYMAXUTOK   308
  |  |  ------------------
  |  |  |  Branch (1107:4): [True: 15.6k, False: 0]
  |  |  |  Branch (1107:18): [True: 15.6k, False: 0]
  |  |  ------------------
  |  | 1108|  15.6k|   ? YY_CAST (yysymbol_kind_t, yytranslate[YYX])        \
  |  |  ------------------
  |  |  |  |  493|  15.6k|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  ------------------
  |  | 1109|  15.6k|   : YYSYMBOL_YYUNDEF)
  ------------------
 2230|  15.6k|      YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
 2231|  15.6k|    }
 2232|       |
 2233|       |  /* If the proper action on seeing token YYTOKEN is to reduce or to
 2234|       |     detect an error, take that action.  */
 2235|  15.6k|  yyn += yytoken;
 2236|  15.6k|  if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)
  ------------------
  |  | 1089|  15.6k|#define YYLAST   572
  ------------------
  |  Branch (2236:7): [True: 0, False: 15.6k]
  |  Branch (2236:18): [True: 24, False: 15.6k]
  |  Branch (2236:34): [True: 7.79k, False: 7.84k]
  ------------------
 2237|  7.81k|    goto yydefault;
 2238|  7.84k|  yyn = yytable[yyn];
 2239|  7.84k|  if (yyn <= 0)
  ------------------
  |  Branch (2239:7): [True: 0, False: 7.84k]
  ------------------
 2240|      0|    {
 2241|      0|      if (yytable_value_is_error (yyn))
  ------------------
  |  | 1208|      0|  ((Yyn) == YYTABLE_NINF)
  |  |  ------------------
  |  |  |  | 1205|      0|#define YYTABLE_NINF (-1)
  |  |  ------------------
  |  |  |  Branch (1208:3): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2242|      0|        goto yyerrlab;
 2243|      0|      yyn = -yyn;
 2244|      0|      goto yyreduce;
 2245|      0|    }
 2246|       |
 2247|       |  /* Count tokens shifted since error; after three, turn off error
 2248|       |     status.  */
 2249|  7.84k|  if (yyerrstatus)
  ------------------
  |  Branch (2249:7): [True: 0, False: 7.84k]
  ------------------
 2250|      0|    yyerrstatus--;
 2251|       |
 2252|       |  /* Shift the lookahead token.  */
 2253|  7.84k|  YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
 2254|  7.84k|  yystate = yyn;
 2255|  7.84k|  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
 2256|  7.84k|  *++yyvsp = yylval;
  ------------------
  |  | 2024|  7.84k|# define yylval			Rf_yylval
  ------------------
 2257|  7.84k|  YY_IGNORE_MAYBE_UNINITIALIZED_END
 2258|  7.84k|  *++yylsp = yylloc;
 2259|       |
 2260|       |  /* Discard the shifted token.  */
 2261|  7.84k|  yychar = YYEMPTY;
  ------------------
  |  | 2023|  7.84k|# define yychar			Rf_yychar
  ------------------
                yychar = YYEMPTY;
  ------------------
  |  |  582|  7.84k|#define YYEMPTY -2
  ------------------
 2262|  7.84k|  goto yynewstate;
 2263|       |
 2264|       |
 2265|       |/*-----------------------------------------------------------.
 2266|       || yydefault -- do the default action for the current state.  |
 2267|       |`-----------------------------------------------------------*/
 2268|  11.5k|yydefault:
 2269|  11.5k|  yyn = yydefact[yystate];
 2270|  11.5k|  if (yyn == 0)
  ------------------
  |  Branch (2270:7): [True: 0, False: 11.5k]
  ------------------
 2271|      0|    goto yyerrlab;
 2272|  11.5k|  goto yyreduce;
 2273|       |
 2274|       |
 2275|       |/*-----------------------------.
 2276|       || yyreduce -- do a reduction.  |
 2277|       |`-----------------------------*/
 2278|  11.5k|yyreduce:
 2279|       |  /* yyn is the number of a rule to reduce with.  */
 2280|  11.5k|  yylen = yyr2[yyn];
 2281|       |
 2282|       |  /* If YYLEN is nonzero, implement the default value of the action:
 2283|       |     '$$ = $1'.
 2284|       |
 2285|       |     Otherwise, the following line sets YYVAL to garbage.
 2286|       |     This behavior is undocumented and Bison
 2287|       |     users should not rely upon it.  Assigning to YYVAL
 2288|       |     unconditionally makes the parser a bit smaller, and it avoids a
 2289|       |     GCC warning that YYVAL may be used uninitialized.  */
 2290|  11.5k|  yyval = yyvsp[1-yylen];
 2291|       |
 2292|       |  /* Default location. */
 2293|  11.5k|  YYLLOC_DEFAULT (yyloc, (yylsp - yylen), yylen);
  ------------------
  |  |  194|  11.5k|    do	{ 								\
  |  |  195|  11.5k|	if (N){								\
  |  |  ------------------
  |  |  |  Branch (195:6): [True: 10.7k, False: 772]
  |  |  ------------------
  |  |  196|  10.7k|	    (Current).first_line   = YYRHSLOC (Rhs, 1).first_line;	\
  |  |  ------------------
  |  |  |  | 1513|  10.7k|#define YYRHSLOC(Rhs, K) ((Rhs)[K])
  |  |  ------------------
  |  |  197|  10.7k|	    (Current).first_column = YYRHSLOC (Rhs, 1).first_column;	\
  |  |  ------------------
  |  |  |  | 1513|  10.7k|#define YYRHSLOC(Rhs, K) ((Rhs)[K])
  |  |  ------------------
  |  |  198|  10.7k|	    (Current).first_byte   = YYRHSLOC (Rhs, 1).first_byte;	\
  |  |  ------------------
  |  |  |  | 1513|  10.7k|#define YYRHSLOC(Rhs, K) ((Rhs)[K])
  |  |  ------------------
  |  |  199|  10.7k|	    (Current).last_line    = YYRHSLOC (Rhs, N).last_line;	\
  |  |  ------------------
  |  |  |  | 1513|  10.7k|#define YYRHSLOC(Rhs, K) ((Rhs)[K])
  |  |  ------------------
  |  |  200|  10.7k|	    (Current).last_column  = YYRHSLOC (Rhs, N).last_column;	\
  |  |  ------------------
  |  |  |  | 1513|  10.7k|#define YYRHSLOC(Rhs, K) ((Rhs)[K])
  |  |  ------------------
  |  |  201|  10.7k|	    (Current).last_byte    = YYRHSLOC (Rhs, N).last_byte;	\
  |  |  ------------------
  |  |  |  | 1513|  10.7k|#define YYRHSLOC(Rhs, K) ((Rhs)[K])
  |  |  ------------------
  |  |  202|  10.7k|	    (Current).first_parsed = YYRHSLOC (Rhs, 1).first_parsed;    \
  |  |  ------------------
  |  |  |  | 1513|  10.7k|#define YYRHSLOC(Rhs, K) ((Rhs)[K])
  |  |  ------------------
  |  |  203|  10.7k|	    (Current).last_parsed  = YYRHSLOC (Rhs, N).last_parsed;	\
  |  |  ------------------
  |  |  |  | 1513|  10.7k|#define YYRHSLOC(Rhs, K) ((Rhs)[K])
  |  |  ------------------
  |  |  204|  10.7k|	    incrementId( ) ; 						\
  |  |  205|  10.7k|	    (Current).id = identifier ; 				\
  |  |  206|  10.7k|	    _current_token = yyr1[yyn] ; 				\
  |  |  207|  10.7k|	    if (ParseState.keepSrcRefs && ParseState.keepParseData) {	\
  |  |  ------------------
  |  |  |  Branch (207:10): [True: 0, False: 10.7k]
  |  |  |  Branch (207:36): [True: 0, False: 0]
  |  |  ------------------
  |  |  208|      0|	        yyltype childs[N];					\
  |  |  209|      0|	        int ii = 0; 						\
  |  |  210|      0|	        for(ii=0; ii<N; ii++){					\
  |  |  ------------------
  |  |  |  Branch (210:20): [True: 0, False: 0]
  |  |  ------------------
  |  |  211|      0|		      childs[ii] = YYRHSLOC (Rhs, (ii+1) ) ; 		\
  |  |  ------------------
  |  |  |  | 1513|      0|#define YYRHSLOC(Rhs, K) ((Rhs)[K])
  |  |  ------------------
  |  |  212|      0|	        } 							\
  |  |  213|      0|	        recordParents( identifier, childs, N) ; 		\
  |  |  214|      0|	    }								\
  |  |  215|  10.7k|	} else	{							\
  |  |  216|    772|	  (Current).first_line   = (Current).last_line   =		\
  |  |  217|    772|	    YYRHSLOC (Rhs, 0).last_line;				\
  |  |  ------------------
  |  |  |  | 1513|    772|#define YYRHSLOC(Rhs, K) ((Rhs)[K])
  |  |  ------------------
  |  |  218|    772|	  (Current).first_parsed   = (Current).last_parsed   =		\
  |  |  219|    772|	    YYRHSLOC (Rhs, 0).last_parsed;				\
  |  |  ------------------
  |  |  |  | 1513|    772|#define YYRHSLOC(Rhs, K) ((Rhs)[K])
  |  |  ------------------
  |  |  220|    772|	  (Current).first_column = YYRHSLOC (Rhs, 0).last_column;	\
  |  |  ------------------
  |  |  |  | 1513|    772|#define YYRHSLOC(Rhs, K) ((Rhs)[K])
  |  |  ------------------
  |  |  221|    772|	  (Current).last_column = (Current).first_column - 1;		\
  |  |  222|    772|	  (Current).first_byte = YYRHSLOC (Rhs, 0).last_byte;		\
  |  |  ------------------
  |  |  |  | 1513|    772|#define YYRHSLOC(Rhs, K) ((Rhs)[K])
  |  |  ------------------
  |  |  223|    772|	  (Current).last_byte = (Current).first_byte - 1;		\
  |  |  224|    772|	  (Current).id = NA_INTEGER;                                    \
  |  |  ------------------
  |  |  |  |   56|    772|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  225|    772|	} 								\
  |  |  226|  11.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (226:14): [Folded, False: 11.5k]
  |  |  ------------------
  ------------------
 2294|  11.5k|  yyerror_range[1] = yyloc;
 2295|  11.5k|  YY_REDUCE_PRINT (yyn);
 2296|  11.5k|  switch (yyn)
 2297|  11.5k|    {
 2298|     50|  case 2: /* prog: END_OF_INPUT  */
  ------------------
  |  Branch (2298:3): [True: 50, False: 11.4k]
  ------------------
 2299|     50|                                                { Status = 0; YYACCEPT; }
  ------------------
  |  | 1460|     50|#define YYACCEPT        goto yyacceptlab
  ------------------
 2300|      0|    break;
 2301|       |
 2302|    376|  case 3: /* prog: '\n'  */
  ------------------
  |  Branch (2302:3): [True: 376, False: 11.1k]
  ------------------
 2303|    376|                                                { Status = 2; yyresult = xxvalue(NULL,2,NULL); YYACCEPT; }
  ------------------
  |  | 1460|    376|#define YYACCEPT        goto yyacceptlab
  ------------------
 2304|      0|    break;
 2305|       |
 2306|    150|  case 4: /* prog: expr_or_assign_or_help '\n'  */
  ------------------
  |  Branch (2306:3): [True: 150, False: 11.3k]
  ------------------
 2307|    150|                                                { Status = 3; yyresult = xxvalue(yyvsp[-1],3,&(yylsp[-1])); YYACCEPT; }
  ------------------
  |  | 1460|    150|#define YYACCEPT        goto yyacceptlab
  ------------------
 2308|      0|    break;
 2309|       |
 2310|      0|  case 5: /* prog: expr_or_assign_or_help ';'  */
  ------------------
  |  Branch (2310:3): [True: 0, False: 11.5k]
  ------------------
 2311|      0|                                                { Status = 4; yyresult = xxvalue(yyvsp[-1],4,&(yylsp[-1])); YYACCEPT; }
  ------------------
  |  | 1460|      0|#define YYACCEPT        goto yyacceptlab
  ------------------
 2312|      0|    break;
 2313|       |
 2314|      0|  case 6: /* prog: error  */
  ------------------
  |  Branch (2314:3): [True: 0, False: 11.5k]
  ------------------
 2315|      0|                                                { Status = 1; YYABORT; }
  ------------------
  |  | 1461|      0|#define YYABORT         goto yyabortlab
  ------------------
 2316|      0|    break;
 2317|       |
 2318|    750|  case 7: /* expr_or_assign_or_help: expr  */
  ------------------
  |  Branch (2318:3): [True: 750, False: 10.7k]
  ------------------
 2319|    750|                                                { yyval = yyvsp[0]; }
 2320|    750|    break;
 2321|       |
 2322|      0|  case 8: /* expr_or_assign_or_help: expr_or_assign_or_help EQ_ASSIGN expr_or_assign_or_help  */
  ------------------
  |  Branch (2322:3): [True: 0, False: 11.5k]
  ------------------
 2323|      0|                                                                                { yyval = xxbinary(yyvsp[-1],yyvsp[-2],yyvsp[0]); setId((yyloc)); }
 2324|      0|    break;
 2325|       |
 2326|      0|  case 9: /* expr_or_assign_or_help: expr_or_assign_or_help '?' expr_or_assign_or_help  */
  ------------------
  |  Branch (2326:3): [True: 0, False: 11.5k]
  ------------------
 2327|      0|                                                                                { yyval = xxbinary(yyvsp[-1],yyvsp[-2],yyvsp[0]); setId((yyloc)); }
 2328|      0|    break;
 2329|       |
 2330|  1.56k|  case 10: /* expr_or_help: expr  */
  ------------------
  |  Branch (2330:3): [True: 1.56k, False: 9.97k]
  ------------------
 2331|  1.56k|                                                    { yyval = yyvsp[0]; }
 2332|  1.56k|    break;
 2333|       |
 2334|      0|  case 11: /* expr_or_help: expr_or_help '?' expr_or_help  */
  ------------------
  |  Branch (2334:3): [True: 0, False: 11.5k]
  ------------------
 2335|      0|                                                    { yyval = xxbinary(yyvsp[-1],yyvsp[-2],yyvsp[0]); setId((yyloc)); }
 2336|      0|    break;
 2337|       |
 2338|    306|  case 12: /* expr: NUM_CONST  */
  ------------------
  |  Branch (2338:3): [True: 306, False: 11.2k]
  ------------------
 2339|    306|                                                { yyval = yyvsp[0];	setId((yyloc)); }
 2340|    306|    break;
 2341|       |
 2342|    282|  case 13: /* expr: STR_CONST  */
  ------------------
  |  Branch (2342:3): [True: 282, False: 11.2k]
  ------------------
 2343|    282|                                                { yyval = yyvsp[0];	setId((yyloc)); }
 2344|    282|    break;
 2345|       |
 2346|     22|  case 14: /* expr: NULL_CONST  */
  ------------------
  |  Branch (2346:3): [True: 22, False: 11.5k]
  ------------------
 2347|     22|                                                { yyval = yyvsp[0];	setId((yyloc)); }
 2348|     22|    break;
 2349|       |
 2350|      0|  case 15: /* expr: PLACEHOLDER  */
  ------------------
  |  Branch (2350:3): [True: 0, False: 11.5k]
  ------------------
 2351|      0|                                                { yyval = yyvsp[0];	setId((yyloc)); }
 2352|      0|    break;
 2353|       |
 2354|  1.83k|  case 16: /* expr: SYMBOL  */
  ------------------
  |  Branch (2354:3): [True: 1.83k, False: 9.70k]
  ------------------
 2355|  1.83k|                                                { yyval = yyvsp[0];	setId((yyloc)); }
 2356|  1.83k|    break;
 2357|       |
 2358|    104|  case 17: /* expr: '{' exprlist '}'  */
  ------------------
  |  Branch (2358:3): [True: 104, False: 11.4k]
  ------------------
 2359|    104|                                                { yyval = xxexprlist(yyvsp[-2],&(yylsp[-2]),yyvsp[-1]); setId((yyloc)); }
 2360|    104|    break;
 2361|       |
 2362|      6|  case 18: /* expr: '(' expr_or_assign_or_help ')'  */
  ------------------
  |  Branch (2362:3): [True: 6, False: 11.5k]
  ------------------
 2363|      6|                                                { yyval = xxparen(yyvsp[-2],yyvsp[-1]);	setId((yyloc)); }
 2364|      6|    break;
 2365|       |
 2366|      2|  case 19: /* expr: '-' expr  */
  ------------------
  |  Branch (2366:3): [True: 2, False: 11.5k]
  ------------------
 2367|      2|                                                { yyval = xxunary(yyvsp[-1],yyvsp[0]);	setId((yyloc)); }
 2368|      2|    break;
 2369|       |
 2370|      0|  case 20: /* expr: '+' expr  */
  ------------------
  |  Branch (2370:3): [True: 0, False: 11.5k]
  ------------------
 2371|      0|                                                { yyval = xxunary(yyvsp[-1],yyvsp[0]);	setId((yyloc)); }
 2372|      0|    break;
 2373|       |
 2374|     24|  case 21: /* expr: '!' expr  */
  ------------------
  |  Branch (2374:3): [True: 24, False: 11.5k]
  ------------------
 2375|     24|                                                { yyval = xxunary(yyvsp[-1],yyvsp[0]);	setId((yyloc)); }
 2376|     24|    break;
 2377|       |
 2378|      0|  case 22: /* expr: '~' expr  */
  ------------------
  |  Branch (2378:3): [True: 0, False: 11.5k]
  ------------------
 2379|      0|                                                { yyval = xxunary(yyvsp[-1],yyvsp[0]);	setId((yyloc)); }
 2380|      0|    break;
 2381|       |
 2382|      0|  case 23: /* expr: '?' expr_or_assign_or_help  */
  ------------------
  |  Branch (2382:3): [True: 0, False: 11.5k]
  ------------------
 2383|      0|                                                { yyval = xxunary(yyvsp[-1],yyvsp[0]);	setId((yyloc)); }
 2384|      0|    break;
 2385|       |
 2386|      2|  case 24: /* expr: expr ':' expr  */
  ------------------
  |  Branch (2386:3): [True: 2, False: 11.5k]
  ------------------
 2387|      2|                                                { yyval = xxbinary(yyvsp[-1],yyvsp[-2],yyvsp[0]);	setId((yyloc)); }
 2388|      2|    break;
 2389|       |
 2390|      0|  case 25: /* expr: expr '+' expr  */
  ------------------
  |  Branch (2390:3): [True: 0, False: 11.5k]
  ------------------
 2391|      0|                                                { yyval = xxbinary(yyvsp[-1],yyvsp[-2],yyvsp[0]);	setId((yyloc)); }
 2392|      0|    break;
 2393|       |
 2394|      0|  case 26: /* expr: expr '-' expr  */
  ------------------
  |  Branch (2394:3): [True: 0, False: 11.5k]
  ------------------
 2395|      0|                                                { yyval = xxbinary(yyvsp[-1],yyvsp[-2],yyvsp[0]);	setId((yyloc)); }
 2396|      0|    break;
 2397|       |
 2398|     10|  case 27: /* expr: expr '*' expr  */
  ------------------
  |  Branch (2398:3): [True: 10, False: 11.5k]
  ------------------
 2399|     10|                                                { yyval = xxbinary(yyvsp[-1],yyvsp[-2],yyvsp[0]);	setId((yyloc)); }
 2400|     10|    break;
 2401|       |
 2402|     14|  case 28: /* expr: expr '/' expr  */
  ------------------
  |  Branch (2402:3): [True: 14, False: 11.5k]
  ------------------
 2403|     14|                                                { yyval = xxbinary(yyvsp[-1],yyvsp[-2],yyvsp[0]);	setId((yyloc)); }
 2404|     14|    break;
 2405|       |
 2406|      0|  case 29: /* expr: expr '^' expr  */
  ------------------
  |  Branch (2406:3): [True: 0, False: 11.5k]
  ------------------
 2407|      0|                                                { yyval = xxbinary(yyvsp[-1],yyvsp[-2],yyvsp[0]);	setId((yyloc)); }
 2408|      0|    break;
 2409|       |
 2410|     50|  case 30: /* expr: expr SPECIAL expr  */
  ------------------
  |  Branch (2410:3): [True: 50, False: 11.4k]
  ------------------
 2411|     50|                                                { yyval = xxbinary(yyvsp[-1],yyvsp[-2],yyvsp[0]);	setId((yyloc)); }
 2412|     50|    break;
 2413|       |
 2414|      0|  case 31: /* expr: expr '~' expr  */
  ------------------
  |  Branch (2414:3): [True: 0, False: 11.5k]
  ------------------
 2415|      0|                                                { yyval = xxbinary(yyvsp[-1],yyvsp[-2],yyvsp[0]);	setId((yyloc)); }
 2416|      0|    break;
 2417|       |
 2418|      0|  case 32: /* expr: expr LT expr  */
  ------------------
  |  Branch (2418:3): [True: 0, False: 11.5k]
  ------------------
 2419|      0|                                                { yyval = xxbinary(yyvsp[-1],yyvsp[-2],yyvsp[0]);	setId((yyloc)); }
 2420|      0|    break;
 2421|       |
 2422|      2|  case 33: /* expr: expr LE expr  */
  ------------------
  |  Branch (2422:3): [True: 2, False: 11.5k]
  ------------------
 2423|      2|                                                { yyval = xxbinary(yyvsp[-1],yyvsp[-2],yyvsp[0]);	setId((yyloc)); }
 2424|      2|    break;
 2425|       |
 2426|      8|  case 34: /* expr: expr EQ expr  */
  ------------------
  |  Branch (2426:3): [True: 8, False: 11.5k]
  ------------------
 2427|      8|                                                { yyval = xxbinary(yyvsp[-1],yyvsp[-2],yyvsp[0]);	setId((yyloc)); }
 2428|      8|    break;
 2429|       |
 2430|     12|  case 35: /* expr: expr NE expr  */
  ------------------
  |  Branch (2430:3): [True: 12, False: 11.5k]
  ------------------
 2431|     12|                                                { yyval = xxbinary(yyvsp[-1],yyvsp[-2],yyvsp[0]);	setId((yyloc)); }
 2432|     12|    break;
 2433|       |
 2434|      0|  case 36: /* expr: expr GE expr  */
  ------------------
  |  Branch (2434:3): [True: 0, False: 11.5k]
  ------------------
 2435|      0|                                                { yyval = xxbinary(yyvsp[-1],yyvsp[-2],yyvsp[0]);	setId((yyloc)); }
 2436|      0|    break;
 2437|       |
 2438|      4|  case 37: /* expr: expr GT expr  */
  ------------------
  |  Branch (2438:3): [True: 4, False: 11.5k]
  ------------------
 2439|      4|                                                { yyval = xxbinary(yyvsp[-1],yyvsp[-2],yyvsp[0]);	setId((yyloc)); }
 2440|      4|    break;
 2441|       |
 2442|      0|  case 38: /* expr: expr AND expr  */
  ------------------
  |  Branch (2442:3): [True: 0, False: 11.5k]
  ------------------
 2443|      0|                                                { yyval = xxbinary(yyvsp[-1],yyvsp[-2],yyvsp[0]);	setId((yyloc)); }
 2444|      0|    break;
 2445|       |
 2446|      0|  case 39: /* expr: expr OR expr  */
  ------------------
  |  Branch (2446:3): [True: 0, False: 11.5k]
  ------------------
 2447|      0|                                                { yyval = xxbinary(yyvsp[-1],yyvsp[-2],yyvsp[0]);	setId((yyloc)); }
 2448|      0|    break;
 2449|       |
 2450|      2|  case 40: /* expr: expr AND2 expr  */
  ------------------
  |  Branch (2450:3): [True: 2, False: 11.5k]
  ------------------
 2451|      2|                                                { yyval = xxbinary(yyvsp[-1],yyvsp[-2],yyvsp[0]);	setId((yyloc)); }
 2452|      2|    break;
 2453|       |
 2454|      2|  case 41: /* expr: expr OR2 expr  */
  ------------------
  |  Branch (2454:3): [True: 2, False: 11.5k]
  ------------------
 2455|      2|                                                { yyval = xxbinary(yyvsp[-1],yyvsp[-2],yyvsp[0]);	setId((yyloc)); }
 2456|      2|    break;
 2457|       |
 2458|      0|  case 42: /* expr: expr PIPE expr  */
  ------------------
  |  Branch (2458:3): [True: 0, False: 11.5k]
  ------------------
 2459|      0|                                                { yyval = xxpipe(yyvsp[-2],yyvsp[0],&(yylsp[0]));       setId((yyloc)); }
 2460|      0|    break;
 2461|       |
 2462|      0|  case 43: /* expr: expr PIPEBIND expr  */
  ------------------
  |  Branch (2462:3): [True: 0, False: 11.5k]
  ------------------
 2463|      0|                                                { yyval = xxpipebind(yyvsp[-1],yyvsp[-2],yyvsp[0],&(yylsp[-1]));	setId((yyloc)); }
 2464|      0|    break;
 2465|       |
 2466|    304|  case 44: /* expr: expr LEFT_ASSIGN expr  */
  ------------------
  |  Branch (2466:3): [True: 304, False: 11.2k]
  ------------------
 2467|    304|                                                { yyval = xxbinary(yyvsp[-1],yyvsp[-2],yyvsp[0]);	setId((yyloc)); }
 2468|    304|    break;
 2469|       |
 2470|      0|  case 45: /* expr: expr RIGHT_ASSIGN expr  */
  ------------------
  |  Branch (2470:3): [True: 0, False: 11.5k]
  ------------------
 2471|      0|                                                { yyval = xxbinary(yyvsp[-1],yyvsp[0],yyvsp[-2]);	setId((yyloc)); }
 2472|      0|    break;
 2473|       |
 2474|     88|  case 46: /* expr: FUNCTION '(' formlist ')' cr expr_or_assign_or_help  */
  ------------------
  |  Branch (2474:3): [True: 88, False: 11.4k]
  ------------------
 2475|     88|                                                { yyval = xxdefun(yyvsp[-5],yyvsp[-3],yyvsp[0],&(yyloc)); 	setId((yyloc)); }
 2476|     88|    break;
 2477|       |
 2478|      0|  case 47: /* expr: '\\' '(' formlist ')' cr expr_or_assign_or_help  */
  ------------------
  |  Branch (2478:3): [True: 0, False: 11.5k]
  ------------------
 2479|      0|                                                                                                                                { yyval = xxdefun(R_FunctionSymbol,yyvsp[-3],yyvsp[0],&(yyloc)); 	setId((yyloc)); }
 2480|      0|    break;
 2481|       |
 2482|    870|  case 48: /* expr: expr '(' sublist ')'  */
  ------------------
  |  Branch (2482:3): [True: 870, False: 10.6k]
  ------------------
 2483|    870|                                                { yyval = xxfuncall(yyvsp[-3],yyvsp[-1]);  setId((yyloc)); modif_token( &(yylsp[-3]), SYMBOL_FUNCTION_CALL ) ; }
  ------------------
  |  |  624|    870|#define SYMBOL_FUNCTION_CALL 296
  ------------------
 2484|    870|    break;
 2485|       |
 2486|     54|  case 49: /* expr: IF ifcond expr_or_assign_or_help  */
  ------------------
  |  Branch (2486:3): [True: 54, False: 11.4k]
  ------------------
 2487|     54|                                                        { yyval = xxif(yyvsp[-2],yyvsp[-1],yyvsp[0]);	setId((yyloc)); }
 2488|     54|    break;
 2489|       |
 2490|     16|  case 50: /* expr: IF ifcond expr_or_assign_or_help ELSE expr_or_assign_or_help  */
  ------------------
  |  Branch (2490:3): [True: 16, False: 11.5k]
  ------------------
 2491|     16|                                                                                { yyval = xxifelse(yyvsp[-4],yyvsp[-3],yyvsp[-2],yyvsp[0]);	setId((yyloc)); }
 2492|     16|    break;
 2493|       |
 2494|      8|  case 51: /* expr: FOR forcond expr_or_assign_or_help  */
  ------------------
  |  Branch (2494:3): [True: 8, False: 11.5k]
  ------------------
 2495|      8|                                                                { yyval = xxfor(yyvsp[-2],yyvsp[-1],yyvsp[0]);	setId((yyloc)); }
 2496|      8|    break;
 2497|       |
 2498|      2|  case 52: /* expr: WHILE cond expr_or_assign_or_help  */
  ------------------
  |  Branch (2498:3): [True: 2, False: 11.5k]
  ------------------
 2499|      2|                                                    { yyval = xxwhile(yyvsp[-2],yyvsp[-1],yyvsp[0]);	setId((yyloc)); }
 2500|      2|    break;
 2501|       |
 2502|      0|  case 53: /* expr: REPEAT expr_or_assign_or_help  */
  ------------------
  |  Branch (2502:3): [True: 0, False: 11.5k]
  ------------------
 2503|      0|                                                    { yyval = xxrepeat(yyvsp[-1],yyvsp[0]);	setId((yyloc)); }
 2504|      0|    break;
 2505|       |
 2506|     44|  case 54: /* expr: expr LBB sublist ']' ']'  */
  ------------------
  |  Branch (2506:3): [True: 44, False: 11.4k]
  ------------------
 2507|     44|                                                { yyval = xxsubscript(yyvsp[-4],yyvsp[-3],yyvsp[-2]);	setId((yyloc)); }
 2508|     44|    break;
 2509|       |
 2510|     32|  case 55: /* expr: expr '[' sublist ']'  */
  ------------------
  |  Branch (2510:3): [True: 32, False: 11.5k]
  ------------------
 2511|     32|                                                { yyval = xxsubscript(yyvsp[-3],yyvsp[-2],yyvsp[-1]);	setId((yyloc)); }
 2512|     32|    break;
 2513|       |
 2514|      0|  case 56: /* expr: SYMBOL NS_GET SYMBOL  */
  ------------------
  |  Branch (2514:3): [True: 0, False: 11.5k]
  ------------------
 2515|      0|                                                { yyval = xxbinary(yyvsp[-1],yyvsp[-2],yyvsp[0]);      setId((yyloc)); modif_token( &(yylsp[-2]), SYMBOL_PACKAGE ) ; }
  ------------------
  |  |  625|      0|#define SYMBOL_PACKAGE 297
  ------------------
 2516|      0|    break;
 2517|       |
 2518|      0|  case 57: /* expr: SYMBOL NS_GET STR_CONST  */
  ------------------
  |  Branch (2518:3): [True: 0, False: 11.5k]
  ------------------
 2519|      0|                                                { yyval = xxbinary(yyvsp[-1],yyvsp[-2],yyvsp[0]);      setId((yyloc)); modif_token( &(yylsp[-2]), SYMBOL_PACKAGE ) ; }
  ------------------
  |  |  625|      0|#define SYMBOL_PACKAGE 297
  ------------------
 2520|      0|    break;
 2521|       |
 2522|      0|  case 58: /* expr: STR_CONST NS_GET SYMBOL  */
  ------------------
  |  Branch (2522:3): [True: 0, False: 11.5k]
  ------------------
 2523|      0|                                                { yyval = xxbinary(yyvsp[-1],yyvsp[-2],yyvsp[0]);	setId((yyloc)); }
 2524|      0|    break;
 2525|       |
 2526|      0|  case 59: /* expr: STR_CONST NS_GET STR_CONST  */
  ------------------
  |  Branch (2526:3): [True: 0, False: 11.5k]
  ------------------
 2527|      0|                                                { yyval = xxbinary(yyvsp[-1],yyvsp[-2],yyvsp[0]);	setId((yyloc)); }
 2528|      0|    break;
 2529|       |
 2530|      0|  case 60: /* expr: SYMBOL NS_GET_INT SYMBOL  */
  ------------------
  |  Branch (2530:3): [True: 0, False: 11.5k]
  ------------------
 2531|      0|                                                { yyval = xxbinary(yyvsp[-1],yyvsp[-2],yyvsp[0]);      setId((yyloc)); modif_token( &(yylsp[-2]), SYMBOL_PACKAGE ) ;}
  ------------------
  |  |  625|      0|#define SYMBOL_PACKAGE 297
  ------------------
 2532|      0|    break;
 2533|       |
 2534|      0|  case 61: /* expr: SYMBOL NS_GET_INT STR_CONST  */
  ------------------
  |  Branch (2534:3): [True: 0, False: 11.5k]
  ------------------
 2535|      0|                                                { yyval = xxbinary(yyvsp[-1],yyvsp[-2],yyvsp[0]);      setId((yyloc)); modif_token( &(yylsp[-2]), SYMBOL_PACKAGE ) ;}
  ------------------
  |  |  625|      0|#define SYMBOL_PACKAGE 297
  ------------------
 2536|      0|    break;
 2537|       |
 2538|      0|  case 62: /* expr: STR_CONST NS_GET_INT SYMBOL  */
  ------------------
  |  Branch (2538:3): [True: 0, False: 11.5k]
  ------------------
 2539|      0|                                                { yyval = xxbinary(yyvsp[-1],yyvsp[-2],yyvsp[0]);	setId((yyloc)); }
 2540|      0|    break;
 2541|       |
 2542|      0|  case 63: /* expr: STR_CONST NS_GET_INT STR_CONST  */
  ------------------
  |  Branch (2542:3): [True: 0, False: 11.5k]
  ------------------
 2543|      0|                                                { yyval = xxbinary(yyvsp[-1],yyvsp[-2],yyvsp[0]);	setId((yyloc)); }
 2544|      0|    break;
 2545|       |
 2546|     56|  case 64: /* expr: expr '$' SYMBOL  */
  ------------------
  |  Branch (2546:3): [True: 56, False: 11.4k]
  ------------------
 2547|     56|                                                { yyval = xxbinary(yyvsp[-1],yyvsp[-2],yyvsp[0]);	setId((yyloc)); }
 2548|     56|    break;
 2549|       |
 2550|      0|  case 65: /* expr: expr '$' STR_CONST  */
  ------------------
  |  Branch (2550:3): [True: 0, False: 11.5k]
  ------------------
 2551|      0|                                                { yyval = xxbinary(yyvsp[-1],yyvsp[-2],yyvsp[0]);	setId((yyloc)); }
 2552|      0|    break;
 2553|       |
 2554|      0|  case 66: /* expr: expr '@' SYMBOL  */
  ------------------
  |  Branch (2554:3): [True: 0, False: 11.5k]
  ------------------
 2555|      0|                                                { yyval = xxbinary(yyvsp[-1],yyvsp[-2],yyvsp[0]);      setId((yyloc)); modif_token( &(yylsp[0]), SLOT ) ; }
  ------------------
  |  |  626|      0|#define SLOT 298
  ------------------
 2556|      0|    break;
 2557|       |
 2558|      0|  case 67: /* expr: expr '@' STR_CONST  */
  ------------------
  |  Branch (2558:3): [True: 0, False: 11.5k]
  ------------------
 2559|      0|                                                { yyval = xxbinary(yyvsp[-1],yyvsp[-2],yyvsp[0]);	setId((yyloc)); }
 2560|      0|    break;
 2561|       |
 2562|      0|  case 68: /* expr: NEXT  */
  ------------------
  |  Branch (2562:3): [True: 0, False: 11.5k]
  ------------------
 2563|      0|                                                { yyval = xxnxtbrk(yyvsp[0]);	setId((yyloc)); }
 2564|      0|    break;
 2565|       |
 2566|      0|  case 69: /* expr: BREAK  */
  ------------------
  |  Branch (2566:3): [True: 0, False: 11.5k]
  ------------------
 2567|      0|                                                { yyval = xxnxtbrk(yyvsp[0]);	setId((yyloc)); }
 2568|      0|    break;
 2569|       |
 2570|      2|  case 70: /* cond: '(' expr_or_help ')'  */
  ------------------
  |  Branch (2570:3): [True: 2, False: 11.5k]
  ------------------
 2571|      2|                                                        { yyval = xxcond(yyvsp[-1]);   }
 2572|      2|    break;
 2573|       |
 2574|     70|  case 71: /* ifcond: '(' expr_or_help ')'  */
  ------------------
  |  Branch (2574:3): [True: 70, False: 11.4k]
  ------------------
 2575|     70|                                                        { yyval = xxifcond(yyvsp[-1]); }
 2576|     70|    break;
 2577|       |
 2578|      8|  case 72: /* forcond: '(' SYMBOL IN expr_or_help ')'  */
  ------------------
  |  Branch (2578:3): [True: 8, False: 11.5k]
  ------------------
 2579|      8|                                                        { yyval = xxforcond(yyvsp[-3],yyvsp[-1]);	setId((yyloc)); }
 2580|      8|    break;
 2581|       |
 2582|      0|  case 73: /* exprlist: %empty  */
  ------------------
  |  Branch (2582:3): [True: 0, False: 11.5k]
  ------------------
 2583|      0|                                                { yyval = xxexprlist0();	setId((yyloc)); }
 2584|      0|    break;
 2585|       |
 2586|    104|  case 74: /* exprlist: expr_or_assign_or_help  */
  ------------------
  |  Branch (2586:3): [True: 104, False: 11.4k]
  ------------------
 2587|    104|                                                        { yyval = xxexprlist1(yyvsp[0], &(yylsp[0])); }
 2588|    104|    break;
 2589|       |
 2590|     74|  case 75: /* exprlist: exprlist ';' expr_or_assign_or_help  */
  ------------------
  |  Branch (2590:3): [True: 74, False: 11.4k]
  ------------------
 2591|     74|                                                        { yyval = xxexprlist2(yyvsp[-2], yyvsp[0], &(yylsp[0])); }
 2592|     74|    break;
 2593|       |
 2594|     12|  case 76: /* exprlist: exprlist ';'  */
  ------------------
  |  Branch (2594:3): [True: 12, False: 11.5k]
  ------------------
 2595|     12|                                                { yyval = yyvsp[-1];		setId((yyloc)); }
 2596|     12|    break;
 2597|       |
 2598|    232|  case 77: /* exprlist: exprlist '\n' expr_or_assign_or_help  */
  ------------------
  |  Branch (2598:3): [True: 232, False: 11.3k]
  ------------------
 2599|    232|                                                        { yyval = xxexprlist2(yyvsp[-2], yyvsp[0], &(yylsp[0])); }
 2600|    232|    break;
 2601|       |
 2602|     98|  case 78: /* exprlist: exprlist '\n'  */
  ------------------
  |  Branch (2602:3): [True: 98, False: 11.4k]
  ------------------
 2603|     98|                                                { yyval = yyvsp[-1];}
 2604|     98|    break;
 2605|       |
 2606|    946|  case 79: /* sublist: sub  */
  ------------------
  |  Branch (2606:3): [True: 946, False: 10.5k]
  ------------------
 2607|    946|                                                { yyval = xxsublist1(yyvsp[0]);	  }
 2608|    946|    break;
 2609|       |
 2610|    600|  case 80: /* sublist: sublist cr ',' sub  */
  ------------------
  |  Branch (2610:3): [True: 600, False: 10.9k]
  ------------------
 2611|    600|                                                { yyval = xxsublist2(yyvsp[-3],yyvsp[0]); }
 2612|    600|    break;
 2613|       |
 2614|     74|  case 81: /* sub: %empty  */
  ------------------
  |  Branch (2614:3): [True: 74, False: 11.4k]
  ------------------
 2615|     74|                                                { yyval = xxsub0();	 }
 2616|     74|    break;
 2617|       |
 2618|  1.25k|  case 82: /* sub: expr_or_help  */
  ------------------
  |  Branch (2618:3): [True: 1.25k, False: 10.2k]
  ------------------
 2619|  1.25k|                                                { yyval = xxsub1(yyvsp[0], &(yylsp[0]));  }
 2620|  1.25k|    break;
 2621|       |
 2622|      0|  case 83: /* sub: SYMBOL EQ_ASSIGN  */
  ------------------
  |  Branch (2622:3): [True: 0, False: 11.5k]
  ------------------
 2623|      0|                                                { yyval = xxsymsub0(yyvsp[-1], &(yylsp[-1])); 	modif_token( &(yylsp[0]), EQ_SUB ) ; modif_token( &(yylsp[-1]), SYMBOL_SUB ) ; }
  ------------------
  |  |  622|      0|#define EQ_SUB 294
  ------------------
                                                              { yyval = xxsymsub0(yyvsp[-1], &(yylsp[-1])); 	modif_token( &(yylsp[0]), EQ_SUB ) ; modif_token( &(yylsp[-1]), SYMBOL_SUB ) ; }
  ------------------
  |  |  623|      0|#define SYMBOL_SUB 295
  ------------------
 2624|      0|    break;
 2625|       |
 2626|    210|  case 84: /* sub: SYMBOL EQ_ASSIGN expr_or_help  */
  ------------------
  |  Branch (2626:3): [True: 210, False: 11.3k]
  ------------------
 2627|    210|                                                { yyval = xxsymsub1(yyvsp[-2],yyvsp[0], &(yylsp[-2])); 	modif_token( &(yylsp[-1]), EQ_SUB ) ; modif_token( &(yylsp[-2]), SYMBOL_SUB ) ; }
  ------------------
  |  |  622|    210|#define EQ_SUB 294
  ------------------
                                                              { yyval = xxsymsub1(yyvsp[-2],yyvsp[0], &(yylsp[-2])); 	modif_token( &(yylsp[-1]), EQ_SUB ) ; modif_token( &(yylsp[-2]), SYMBOL_SUB ) ; }
  ------------------
  |  |  623|    210|#define SYMBOL_SUB 295
  ------------------
 2628|    210|    break;
 2629|       |
 2630|      0|  case 85: /* sub: STR_CONST EQ_ASSIGN  */
  ------------------
  |  Branch (2630:3): [True: 0, False: 11.5k]
  ------------------
 2631|      0|                                                { yyval = xxsymsub0(yyvsp[-1], &(yylsp[-1])); 	modif_token( &(yylsp[0]), EQ_SUB ) ; }
  ------------------
  |  |  622|      0|#define EQ_SUB 294
  ------------------
 2632|      0|    break;
 2633|       |
 2634|      4|  case 86: /* sub: STR_CONST EQ_ASSIGN expr_or_help  */
  ------------------
  |  Branch (2634:3): [True: 4, False: 11.5k]
  ------------------
 2635|      4|                                                    { yyval = xxsymsub1(yyvsp[-2],yyvsp[0], &(yylsp[-2])); 	modif_token( &(yylsp[-1]), EQ_SUB ) ; }
  ------------------
  |  |  622|      4|#define EQ_SUB 294
  ------------------
 2636|      4|    break;
 2637|       |
 2638|      0|  case 87: /* sub: NULL_CONST EQ_ASSIGN  */
  ------------------
  |  Branch (2638:3): [True: 0, False: 11.5k]
  ------------------
 2639|      0|                                                { yyval = xxnullsub0(&(yylsp[-1])); 	modif_token( &(yylsp[0]), EQ_SUB ) ; }
  ------------------
  |  |  622|      0|#define EQ_SUB 294
  ------------------
 2640|      0|    break;
 2641|       |
 2642|      0|  case 88: /* sub: NULL_CONST EQ_ASSIGN expr_or_help  */
  ------------------
  |  Branch (2642:3): [True: 0, False: 11.5k]
  ------------------
 2643|      0|                                                    { yyval = xxnullsub1(yyvsp[0], &(yylsp[-2])); 	modif_token( &(yylsp[-1]), EQ_SUB ) ; }
  ------------------
  |  |  622|      0|#define EQ_SUB 294
  ------------------
 2644|      0|    break;
 2645|       |
 2646|     10|  case 89: /* formlist: %empty  */
  ------------------
  |  Branch (2646:3): [True: 10, False: 11.5k]
  ------------------
 2647|     10|                                                { yyval = xxnullformal(); }
 2648|     10|    break;
 2649|       |
 2650|     78|  case 90: /* formlist: SYMBOL  */
  ------------------
  |  Branch (2650:3): [True: 78, False: 11.4k]
  ------------------
 2651|     78|                                                { yyval = xxfirstformal0(yyvsp[0]); 	modif_token( &(yylsp[0]), SYMBOL_FORMALS ) ; }
  ------------------
  |  |  620|     78|#define SYMBOL_FORMALS 292
  ------------------
 2652|     78|    break;
 2653|       |
 2654|      0|  case 91: /* formlist: SYMBOL EQ_ASSIGN expr_or_help  */
  ------------------
  |  Branch (2654:3): [True: 0, False: 11.5k]
  ------------------
 2655|      0|                                                { yyval = xxfirstformal1(yyvsp[-2],yyvsp[0]); 	modif_token( &(yylsp[-2]), SYMBOL_FORMALS ) ; modif_token( &(yylsp[-1]), EQ_FORMALS ) ; }
  ------------------
  |  |  620|      0|#define SYMBOL_FORMALS 292
  ------------------
                                                              { yyval = xxfirstformal1(yyvsp[-2],yyvsp[0]); 	modif_token( &(yylsp[-2]), SYMBOL_FORMALS ) ; modif_token( &(yylsp[-1]), EQ_FORMALS ) ; }
  ------------------
  |  |  621|      0|#define EQ_FORMALS 293
  ------------------
 2656|      0|    break;
 2657|       |
 2658|     18|  case 92: /* formlist: formlist ',' SYMBOL  */
  ------------------
  |  Branch (2658:3): [True: 18, False: 11.5k]
  ------------------
 2659|     18|                                                { yyval = xxaddformal0(yyvsp[-2],yyvsp[0], &(yylsp[0]));   modif_token( &(yylsp[0]), SYMBOL_FORMALS ) ; }
  ------------------
  |  |  620|     18|#define SYMBOL_FORMALS 292
  ------------------
 2660|     18|    break;
 2661|       |
 2662|      8|  case 93: /* formlist: formlist ',' SYMBOL EQ_ASSIGN expr_or_help  */
  ------------------
  |  Branch (2662:3): [True: 8, False: 11.5k]
  ------------------
 2663|      8|                                                { yyval = xxaddformal1(yyvsp[-4],yyvsp[-2],yyvsp[0],&(yylsp[-2])); modif_token( &(yylsp[-2]), SYMBOL_FORMALS ) ; modif_token( &(yylsp[-1]), EQ_FORMALS ) ;}
  ------------------
  |  |  620|      8|#define SYMBOL_FORMALS 292
  ------------------
                                                              { yyval = xxaddformal1(yyvsp[-4],yyvsp[-2],yyvsp[0],&(yylsp[-2])); modif_token( &(yylsp[-2]), SYMBOL_FORMALS ) ; modif_token( &(yylsp[-1]), EQ_FORMALS ) ;}
  ------------------
  |  |  621|      8|#define EQ_FORMALS 293
  ------------------
 2664|      8|    break;
 2665|       |
 2666|    688|  case 94: /* cr: %empty  */
  ------------------
  |  Branch (2666:3): [True: 688, False: 10.8k]
  ------------------
 2667|    688|                                                { EatLines = 1; }
 2668|    688|    break;
 2669|       |
 2670|       |
 2671|       |
 2672|      0|      default: break;
  ------------------
  |  Branch (2672:7): [True: 0, False: 11.5k]
  ------------------
 2673|  11.5k|    }
 2674|       |  /* User semantic actions sometimes alter yychar, and that requires
 2675|       |     that yytoken be updated with the new translation.  We take the
 2676|       |     approach of translating immediately before every use of yytoken.
 2677|       |     One alternative is translating here after every semantic action,
 2678|       |     but that translation would be missed if the semantic action invokes
 2679|       |     YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or
 2680|       |     if it invokes YYBACKUP.  In the case of YYABORT or YYACCEPT, an
 2681|       |     incorrect destructor might then be invoked immediately.  In the
 2682|       |     case of YYERROR or YYBACKUP, subsequent parser actions might lead
 2683|       |     to an incorrect destructor call or verbose syntax error message
 2684|       |     before the lookahead is translated.  */
 2685|  10.9k|  YY_SYMBOL_PRINT ("-> $$ =", YY_CAST (yysymbol_kind_t, yyr1[yyn]), &yyval, &yyloc);
 2686|       |
 2687|  10.9k|  YYPOPSTACK (yylen);
  ------------------
  |  | 2080|  10.9k|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N), yylsp -= (N))
  ------------------
 2688|  10.9k|  yylen = 0;
 2689|       |
 2690|  10.9k|  *++yyvsp = yyval;
 2691|  10.9k|  *++yylsp = yyloc;
 2692|       |
 2693|       |  /* Now 'shift' the result of the reduction.  Determine what state
 2694|       |     that goes to, based on the state we popped back to and the rule
 2695|       |     number reduced by.  */
 2696|  10.9k|  {
 2697|  10.9k|    const int yylhs = yyr1[yyn] - YYNTOKENS;
  ------------------
  |  | 1092|  10.9k|#define YYNTOKENS  75
  ------------------
 2698|  10.9k|    const int yyi = yypgoto[yylhs] + *yyssp;
 2699|  10.9k|    yystate = (0 <= yyi && yyi <= YYLAST && yycheck[yyi] == *yyssp
  ------------------
  |  | 1089|  21.0k|#define YYLAST   572
  ------------------
  |  Branch (2699:16): [True: 10.1k, False: 858]
  |  Branch (2699:28): [True: 10.1k, False: 0]
  |  Branch (2699:45): [True: 5.92k, False: 4.18k]
  ------------------
 2700|  10.9k|               ? yytable[yyi]
 2701|  10.9k|               : yydefgoto[yylhs]);
 2702|  10.9k|  }
 2703|       |
 2704|  10.9k|  goto yynewstate;
 2705|       |
 2706|       |
 2707|       |/*--------------------------------------.
 2708|       || yyerrlab -- here on detecting error.  |
 2709|       |`--------------------------------------*/
 2710|      0|yyerrlab:
 2711|       |  /* Make sure we have latest lookahead translation.  See comments at
 2712|       |     user semantic actions for why this is necessary.  */
 2713|      0|  yytoken = yychar == YYEMPTY ? YYSYMBOL_YYEMPTY : YYTRANSLATE (yychar);
  ------------------
  |  | 2023|      0|# define yychar			Rf_yychar
  ------------------
                yytoken = yychar == YYEMPTY ? YYSYMBOL_YYEMPTY : YYTRANSLATE (yychar);
  ------------------
  |  |  582|      0|#define YYEMPTY -2
  ------------------
                yytoken = yychar == YYEMPTY ? YYSYMBOL_YYEMPTY : YYTRANSLATE (yychar);
  ------------------
  |  | 1107|      0|  (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
  |  |  ------------------
  |  |  |  | 1101|      0|#define YYMAXUTOK   308
  |  |  ------------------
  |  |  |  Branch (1107:4): [True: 0, False: 0]
  |  |  |  Branch (1107:18): [True: 0, False: 0]
  |  |  ------------------
  |  | 1108|      0|   ? YY_CAST (yysymbol_kind_t, yytranslate[YYX])        \
  |  |  ------------------
  |  |  |  |  493|      0|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  ------------------
  |  | 1109|      0|   : YYSYMBOL_YYUNDEF)
  ------------------
  |  Branch (2713:13): [True: 0, False: 0]
  ------------------
 2714|       |  /* If not already recovering from an error, report this error.  */
 2715|      0|  if (!yyerrstatus)
  ------------------
  |  Branch (2715:7): [True: 0, False: 0]
  ------------------
 2716|      0|    {
 2717|      0|      ++yynerrs;
  ------------------
  |  | 2025|      0|# define yynerrs		Rf_yynerrs
  ------------------
 2718|      0|      {
 2719|      0|        yypcontext_t yyctx
 2720|      0|          = {yyssp, yytoken, &yylloc};
 2721|      0|        char const *yymsgp = YY_("syntax error");
  ------------------
  |  |  888|      0|#  define YY_(Msgid) Msgid
  ------------------
 2722|      0|        int yysyntax_error_status;
 2723|      0|        yysyntax_error_status = yysyntax_error (&yymsg_alloc, &yymsg, &yyctx);
 2724|      0|        if (yysyntax_error_status == 0)
  ------------------
  |  Branch (2724:13): [True: 0, False: 0]
  ------------------
 2725|      0|          yymsgp = yymsg;
 2726|      0|        else if (yysyntax_error_status == -1)
  ------------------
  |  Branch (2726:18): [True: 0, False: 0]
  ------------------
 2727|      0|          {
 2728|      0|            if (yymsg != yymsgbuf)
  ------------------
  |  Branch (2728:17): [True: 0, False: 0]
  ------------------
 2729|      0|              YYSTACK_FREE (yymsg);
  ------------------
  |  |  996|      0|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  |  369|      0|#define YYFREE   yystack_free
  |  |  ------------------
  ------------------
 2730|      0|            yymsg = YY_CAST (char *,
  ------------------
  |  |  493|      0|#   define YY_CAST(Type, Val) ((Type) (Val))
  ------------------
 2731|      0|                             YYSTACK_ALLOC (YY_CAST (YYSIZE_T, yymsg_alloc)));
 2732|      0|            if (yymsg)
  ------------------
  |  Branch (2732:17): [True: 0, False: 0]
  ------------------
 2733|      0|              {
 2734|      0|                yysyntax_error_status
 2735|      0|                  = yysyntax_error (&yymsg_alloc, &yymsg, &yyctx);
 2736|      0|                yymsgp = yymsg;
 2737|      0|              }
 2738|      0|            else
 2739|      0|              {
 2740|      0|                yymsg = yymsgbuf;
 2741|      0|                yymsg_alloc = sizeof yymsgbuf;
 2742|      0|                yysyntax_error_status = YYENOMEM;
 2743|      0|              }
 2744|      0|          }
 2745|      0|        yyerror (yymsgp);
 2746|      0|        if (yysyntax_error_status == YYENOMEM)
  ------------------
  |  Branch (2746:13): [True: 0, False: 0]
  ------------------
 2747|      0|          YYNOMEM;
  ------------------
  |  | 1463|      0|#define YYNOMEM         goto yyexhaustedlab
  ------------------
 2748|      0|      }
 2749|      0|    }
 2750|       |
 2751|      0|  yyerror_range[1] = yylloc;
 2752|      0|  if (yyerrstatus == 3)
  ------------------
  |  Branch (2752:7): [True: 0, False: 0]
  ------------------
 2753|      0|    {
 2754|       |      /* If just tried and failed to reuse lookahead token after an
 2755|       |         error, discard it.  */
 2756|       |
 2757|      0|      if (yychar <= YYEOF)
  ------------------
  |  | 2023|      0|# define yychar			Rf_yychar
  ------------------
                    if (yychar <= YYEOF)
  ------------------
  |  |  583|      0|#define YYEOF 0
  ------------------
  |  Branch (2757:11): [True: 0, False: 0]
  ------------------
 2758|      0|        {
 2759|       |          /* Return failure if at end of input.  */
 2760|      0|          if (yychar == YYEOF)
  ------------------
  |  | 2023|      0|# define yychar			Rf_yychar
  ------------------
                        if (yychar == YYEOF)
  ------------------
  |  |  583|      0|#define YYEOF 0
  ------------------
  |  Branch (2760:15): [True: 0, False: 0]
  ------------------
 2761|      0|            YYABORT;
  ------------------
  |  | 1461|      0|#define YYABORT         goto yyabortlab
  ------------------
 2762|      0|        }
 2763|      0|      else
 2764|      0|        {
 2765|      0|          yydestruct ("Error: discarding",
 2766|      0|                      yytoken, &yylval, &yylloc);
  ------------------
  |  | 2024|      0|# define yylval			Rf_yylval
  ------------------
 2767|      0|          yychar = YYEMPTY;
  ------------------
  |  | 2023|      0|# define yychar			Rf_yychar
  ------------------
                        yychar = YYEMPTY;
  ------------------
  |  |  582|      0|#define YYEMPTY -2
  ------------------
 2768|      0|        }
 2769|      0|    }
 2770|       |
 2771|       |  /* Else will try to reuse lookahead token after shifting the error
 2772|       |     token.  */
 2773|      0|  goto yyerrlab1;
 2774|       |
 2775|       |
 2776|       |/*---------------------------------------------------.
 2777|       || yyerrorlab -- error raised explicitly by YYERROR.  |
 2778|       |`---------------------------------------------------*/
 2779|      0|yyerrorlab:
 2780|       |  /* Pacify compilers when the user code never invokes YYERROR and the
 2781|       |     label yyerrorlab therefore never appears in user code.  */
 2782|      0|  if (0)
  ------------------
  |  Branch (2782:7): [Folded, False: 0]
  ------------------
 2783|      0|    YYERROR;
  ------------------
  |  | 1462|      0|#define YYERROR         goto yyerrorlab
  ------------------
 2784|      0|  ++yynerrs;
  ------------------
  |  | 2025|      0|# define yynerrs		Rf_yynerrs
  ------------------
 2785|       |
 2786|       |  /* Do not reclaim the symbols of the rule whose action triggered
 2787|       |     this YYERROR.  */
 2788|      0|  YYPOPSTACK (yylen);
  ------------------
  |  | 2080|      0|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N), yylsp -= (N))
  ------------------
 2789|      0|  yylen = 0;
 2790|      0|  YY_STACK_PRINT (yyss, yyssp);
 2791|      0|  yystate = *yyssp;
 2792|      0|  goto yyerrlab1;
 2793|       |
 2794|       |
 2795|       |/*-------------------------------------------------------------.
 2796|       || yyerrlab1 -- common code for both syntax error and YYERROR.  |
 2797|       |`-------------------------------------------------------------*/
 2798|      0|yyerrlab1:
 2799|      0|  yyerrstatus = 3;      /* Each real token shifted decrements this.  */
 2800|       |
 2801|       |  /* Pop stack until we find a state that shifts the error token.  */
 2802|      0|  for (;;)
 2803|      0|    {
 2804|      0|      yyn = yypact[yystate];
 2805|      0|      if (!yypact_value_is_default (yyn))
  ------------------
  |  | 1203|      0|  ((Yyn) == YYPACT_NINF)
  |  |  ------------------
  |  |  |  | 1200|      0|#define YYPACT_NINF (-130)
  |  |  ------------------
  ------------------
  |  Branch (2805:11): [True: 0, False: 0]
  ------------------
 2806|      0|        {
 2807|      0|          yyn += YYSYMBOL_YYerror;
 2808|      0|          if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror)
  ------------------
  |  | 1089|      0|#define YYLAST   572
  ------------------
  |  Branch (2808:15): [True: 0, False: 0]
  |  Branch (2808:27): [True: 0, False: 0]
  |  Branch (2808:44): [True: 0, False: 0]
  ------------------
 2809|      0|            {
 2810|      0|              yyn = yytable[yyn];
 2811|      0|              if (0 < yyn)
  ------------------
  |  Branch (2811:19): [True: 0, False: 0]
  ------------------
 2812|      0|                break;
 2813|      0|            }
 2814|      0|        }
 2815|       |
 2816|       |      /* Pop the current state because it cannot handle the error token.  */
 2817|      0|      if (yyssp == yyss)
  ------------------
  |  Branch (2817:11): [True: 0, False: 0]
  ------------------
 2818|      0|        YYABORT;
  ------------------
  |  | 1461|      0|#define YYABORT         goto yyabortlab
  ------------------
 2819|       |
 2820|      0|      yyerror_range[1] = *yylsp;
 2821|      0|      yydestruct ("Error: popping",
 2822|      0|                  YY_ACCESSING_SYMBOL (yystate), yyvsp, yylsp);
  ------------------
  |  | 1166|      0|#define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State])
  |  |  ------------------
  |  |  |  |  493|      0|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  ------------------
  ------------------
 2823|      0|      YYPOPSTACK (1);
  ------------------
  |  | 2080|      0|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N), yylsp -= (N))
  ------------------
 2824|      0|      yystate = *yyssp;
 2825|      0|      YY_STACK_PRINT (yyss, yyssp);
 2826|      0|    }
 2827|       |
 2828|      0|  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
 2829|      0|  *++yyvsp = yylval;
  ------------------
  |  | 2024|      0|# define yylval			Rf_yylval
  ------------------
 2830|      0|  YY_IGNORE_MAYBE_UNINITIALIZED_END
 2831|       |
 2832|      0|  yyerror_range[2] = yylloc;
 2833|      0|  ++yylsp;
 2834|      0|  YYLLOC_DEFAULT (*yylsp, yyerror_range, 2);
  ------------------
  |  |  194|      0|    do	{ 								\
  |  |  195|      0|	if (N){								\
  |  |  ------------------
  |  |  |  Branch (195:6): [True: 0, Folded]
  |  |  ------------------
  |  |  196|      0|	    (Current).first_line   = YYRHSLOC (Rhs, 1).first_line;	\
  |  |  ------------------
  |  |  |  | 1513|      0|#define YYRHSLOC(Rhs, K) ((Rhs)[K])
  |  |  ------------------
  |  |  197|      0|	    (Current).first_column = YYRHSLOC (Rhs, 1).first_column;	\
  |  |  ------------------
  |  |  |  | 1513|      0|#define YYRHSLOC(Rhs, K) ((Rhs)[K])
  |  |  ------------------
  |  |  198|      0|	    (Current).first_byte   = YYRHSLOC (Rhs, 1).first_byte;	\
  |  |  ------------------
  |  |  |  | 1513|      0|#define YYRHSLOC(Rhs, K) ((Rhs)[K])
  |  |  ------------------
  |  |  199|      0|	    (Current).last_line    = YYRHSLOC (Rhs, N).last_line;	\
  |  |  ------------------
  |  |  |  | 1513|      0|#define YYRHSLOC(Rhs, K) ((Rhs)[K])
  |  |  ------------------
  |  |  200|      0|	    (Current).last_column  = YYRHSLOC (Rhs, N).last_column;	\
  |  |  ------------------
  |  |  |  | 1513|      0|#define YYRHSLOC(Rhs, K) ((Rhs)[K])
  |  |  ------------------
  |  |  201|      0|	    (Current).last_byte    = YYRHSLOC (Rhs, N).last_byte;	\
  |  |  ------------------
  |  |  |  | 1513|      0|#define YYRHSLOC(Rhs, K) ((Rhs)[K])
  |  |  ------------------
  |  |  202|      0|	    (Current).first_parsed = YYRHSLOC (Rhs, 1).first_parsed;    \
  |  |  ------------------
  |  |  |  | 1513|      0|#define YYRHSLOC(Rhs, K) ((Rhs)[K])
  |  |  ------------------
  |  |  203|      0|	    (Current).last_parsed  = YYRHSLOC (Rhs, N).last_parsed;	\
  |  |  ------------------
  |  |  |  | 1513|      0|#define YYRHSLOC(Rhs, K) ((Rhs)[K])
  |  |  ------------------
  |  |  204|      0|	    incrementId( ) ; 						\
  |  |  205|      0|	    (Current).id = identifier ; 				\
  |  |  206|      0|	    _current_token = yyr1[yyn] ; 				\
  |  |  207|      0|	    if (ParseState.keepSrcRefs && ParseState.keepParseData) {	\
  |  |  ------------------
  |  |  |  Branch (207:10): [True: 0, False: 0]
  |  |  |  Branch (207:36): [True: 0, False: 0]
  |  |  ------------------
  |  |  208|      0|	        yyltype childs[N];					\
  |  |  209|      0|	        int ii = 0; 						\
  |  |  210|      0|	        for(ii=0; ii<N; ii++){					\
  |  |  ------------------
  |  |  |  Branch (210:20): [True: 0, False: 0]
  |  |  ------------------
  |  |  211|      0|		      childs[ii] = YYRHSLOC (Rhs, (ii+1) ) ; 		\
  |  |  ------------------
  |  |  |  | 1513|      0|#define YYRHSLOC(Rhs, K) ((Rhs)[K])
  |  |  ------------------
  |  |  212|      0|	        } 							\
  |  |  213|      0|	        recordParents( identifier, childs, N) ; 		\
  |  |  214|      0|	    }								\
  |  |  215|      0|	} else	{							\
  |  |  216|      0|	  (Current).first_line   = (Current).last_line   =		\
  |  |  217|      0|	    YYRHSLOC (Rhs, 0).last_line;				\
  |  |  ------------------
  |  |  |  | 1513|      0|#define YYRHSLOC(Rhs, K) ((Rhs)[K])
  |  |  ------------------
  |  |  218|      0|	  (Current).first_parsed   = (Current).last_parsed   =		\
  |  |  219|      0|	    YYRHSLOC (Rhs, 0).last_parsed;				\
  |  |  ------------------
  |  |  |  | 1513|      0|#define YYRHSLOC(Rhs, K) ((Rhs)[K])
  |  |  ------------------
  |  |  220|      0|	  (Current).first_column = YYRHSLOC (Rhs, 0).last_column;	\
  |  |  ------------------
  |  |  |  | 1513|      0|#define YYRHSLOC(Rhs, K) ((Rhs)[K])
  |  |  ------------------
  |  |  221|      0|	  (Current).last_column = (Current).first_column - 1;		\
  |  |  222|      0|	  (Current).first_byte = YYRHSLOC (Rhs, 0).last_byte;		\
  |  |  ------------------
  |  |  |  | 1513|      0|#define YYRHSLOC(Rhs, K) ((Rhs)[K])
  |  |  ------------------
  |  |  223|      0|	  (Current).last_byte = (Current).first_byte - 1;		\
  |  |  224|      0|	  (Current).id = NA_INTEGER;                                    \
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  225|      0|	} 								\
  |  |  226|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (226:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2835|       |
 2836|       |  /* Shift the error token.  */
 2837|      0|  YY_SYMBOL_PRINT ("Shifting", YY_ACCESSING_SYMBOL (yyn), yyvsp, yylsp);
 2838|       |
 2839|      0|  yystate = yyn;
 2840|      0|  goto yynewstate;
 2841|       |
 2842|       |
 2843|       |/*-------------------------------------.
 2844|       || yyacceptlab -- YYACCEPT comes here.  |
 2845|       |`-------------------------------------*/
 2846|    576|yyacceptlab:
 2847|    576|  yyresult = 0;
 2848|    576|  goto yyreturnlab;
 2849|       |
 2850|       |
 2851|       |/*-----------------------------------.
 2852|       || yyabortlab -- YYABORT comes here.  |
 2853|       |`-----------------------------------*/
 2854|      0|yyabortlab:
 2855|      0|  yyresult = 1;
 2856|      0|  goto yyreturnlab;
 2857|       |
 2858|       |
 2859|       |/*-----------------------------------------------------------.
 2860|       || yyexhaustedlab -- YYNOMEM (memory exhaustion) comes here.  |
 2861|       |`-----------------------------------------------------------*/
 2862|      0|yyexhaustedlab:
 2863|      0|  yyerror (YY_("memory exhausted"));
  ------------------
  |  |  888|      0|#  define YY_(Msgid) Msgid
  ------------------
 2864|      0|  yyresult = 2;
 2865|      0|  goto yyreturnlab;
 2866|       |
 2867|       |
 2868|       |/*----------------------------------------------------------.
 2869|       || yyreturnlab -- parsing is finished, clean up and return.  |
 2870|       |`----------------------------------------------------------*/
 2871|    576|yyreturnlab:
 2872|    576|  if (yychar != YYEMPTY)
  ------------------
  |  | 2023|    576|# define yychar			Rf_yychar
  ------------------
                if (yychar != YYEMPTY)
  ------------------
  |  |  582|    576|#define YYEMPTY -2
  ------------------
  |  Branch (2872:7): [True: 0, False: 576]
  ------------------
 2873|      0|    {
 2874|       |      /* Make sure we have latest lookahead translation.  See comments at
 2875|       |         user semantic actions for why this is necessary.  */
 2876|      0|      yytoken = YYTRANSLATE (yychar);
  ------------------
  |  | 1107|      0|  (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
  |  |  ------------------
  |  |  |  | 1101|      0|#define YYMAXUTOK   308
  |  |  ------------------
  |  |  |  Branch (1107:4): [True: 0, False: 0]
  |  |  |  Branch (1107:18): [True: 0, False: 0]
  |  |  ------------------
  |  | 1108|      0|   ? YY_CAST (yysymbol_kind_t, yytranslate[YYX])        \
  |  |  ------------------
  |  |  |  |  493|      0|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  ------------------
  |  | 1109|      0|   : YYSYMBOL_YYUNDEF)
  ------------------
 2877|      0|      yydestruct ("Cleanup: discarding lookahead",
 2878|      0|                  yytoken, &yylval, &yylloc);
  ------------------
  |  | 2024|      0|# define yylval			Rf_yylval
  ------------------
 2879|      0|    }
 2880|       |  /* Do not reclaim the symbols of the rule whose action triggered
 2881|       |     this YYABORT or YYACCEPT.  */
 2882|    576|  YYPOPSTACK (yylen);
  ------------------
  |  | 2080|    576|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N), yylsp -= (N))
  ------------------
 2883|    576|  YY_STACK_PRINT (yyss, yyssp);
 2884|    576|  while (yyssp != yyss)
  ------------------
  |  Branch (2884:10): [True: 0, False: 576]
  ------------------
 2885|      0|    {
 2886|      0|      yydestruct ("Cleanup: popping",
 2887|      0|                  YY_ACCESSING_SYMBOL (+*yyssp), yyvsp, yylsp);
  ------------------
  |  | 1166|      0|#define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State])
  |  |  ------------------
  |  |  |  |  493|      0|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  ------------------
  ------------------
 2888|      0|      YYPOPSTACK (1);
  ------------------
  |  | 2080|      0|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N), yylsp -= (N))
  ------------------
 2889|      0|    }
 2890|    576|#ifndef yyoverflow
 2891|    576|  if (yyss != yyssa)
  ------------------
  |  Branch (2891:7): [True: 0, False: 576]
  ------------------
 2892|      0|    YYSTACK_FREE (yyss);
  ------------------
  |  |  996|      0|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  |  369|      0|#define YYFREE   yystack_free
  |  |  ------------------
  ------------------
 2893|    576|#endif
 2894|    576|  if (yymsg != yymsgbuf)
  ------------------
  |  Branch (2894:7): [True: 0, False: 576]
  ------------------
 2895|      0|    YYSTACK_FREE (yymsg);
  ------------------
  |  |  996|      0|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  |  369|      0|#define YYFREE   yystack_free
  |  |  ------------------
  ------------------
 2896|    576|  return yyresult;
 2897|      0|}
InitParser:
 3904|      2|{
 3905|      2|    ParseState.sexps = allocVector(VECSXP, 7); /* initialized to R_NilValue */
  ------------------
  |  |  875|      2|#define allocVector		Rf_allocVector
  ------------------
                  ParseState.sexps = allocVector(VECSXP, 7); /* initialized to R_NilValue */
  ------------------
  |  |  131|      2|#define VECSXP	    19	  /* generic vectors */
  ------------------
 3906|      2|    ParseState.data = R_NilValue;
 3907|      2|    INIT_SVS();
  ------------------
  |  |  349|      2|#define INIT_SVS()     PS_SET_SVS(R_NewPreciousMSet(200))
  |  |  ------------------
  |  |  |  |  300|      2|#define PS_SET_SVS(x)       SET_VECTOR_ELT(ParseState.sexps, 6, (x))
  |  |  ------------------
  ------------------
 3908|      2|    R_PreserveObject(ParseState.sexps); /* never released in an R session */
 3909|      2|    R_NullSymbol = install("NULL");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 3910|      2|    R_PlaceholderToken = ScalarString(mkChar("_"));
  ------------------
  |  | 1025|      2|#define ScalarString		Rf_ScalarString
  ------------------
                  R_PlaceholderToken = ScalarString(mkChar("_"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
 3911|      2|    MARK_NOT_MUTABLE(R_PlaceholderToken);
 3912|      2|    R_PreserveObject(R_PlaceholderToken);
 3913|      2|    R_PipeBindSymbol = install("=>");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 3914|      2|}
R_InitSrcRefState:
 3924|     50|{
 3925|     50|    if (busy) {
  ------------------
  |  Branch (3925:9): [True: 0, False: 50]
  ------------------
 3926|      0|    	SrcRefState *prev = malloc(sizeof(SrcRefState));
 3927|      0|	if (prev == NULL)
  ------------------
  |  Branch (3927:6): [True: 0, False: 0]
  ------------------
 3928|      0|	    error(_("allocation of source reference state failed"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("allocation of source reference state failed"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3929|      0|    	PutSrcRefState(prev);
 3930|      0|	ParseState.yystack = NULL;
 3931|      0|	ParseState.prevState = prev;
 3932|      0|	ParseState.sexps = allocVector(VECSXP, 7);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              	ParseState.sexps = allocVector(VECSXP, 7);
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
 3933|      0|	ParseState.data = R_NilValue;
 3934|      0|	INIT_SVS();
  ------------------
  |  |  349|      0|#define INIT_SVS()     PS_SET_SVS(R_NewPreciousMSet(200))
  |  |  ------------------
  |  |  |  |  300|      0|#define PS_SET_SVS(x)       SET_VECTOR_ELT(ParseState.sexps, 6, (x))
  |  |  ------------------
  ------------------
 3935|      0|	R_PreserveObject(ParseState.sexps);
 3936|       |	/* ParseState.sexps released in R_FinalizeSrcRefState */
 3937|      0|    } else
 3938|       |	/* re-use data, text, ids arrays */
 3939|     50|        ParseState.prevState = NULL;
 3940|       |    /* set up context _after_ PutSrcRefState */
 3941|     50|    begincontext(cptr, CTXT_CCODE, R_NilValue, R_BaseEnv, R_BaseEnv,
  ------------------
  |  | 1869|     50|# define begincontext		Rf_begincontext
  ------------------
 3942|     50|                 R_NilValue, R_NilValue);
 3943|     50|    cptr->cend = &FinalizeSrcRefStateOnError;
 3944|     50|    cptr->cenddata = NULL;
 3945|     50|    ParseState.keepSrcRefs = false;
 3946|     50|    ParseState.keepParseData = true;
 3947|     50|    ParseState.didAttach = false;
 3948|     50|    PS_SET_SRCFILE(R_NilValue);
  ------------------
  |  |  288|     50|#define PS_SET_SRCFILE(x)   SET_VECTOR_ELT(ParseState.sexps, 1, (x))
  ------------------
 3949|     50|    PS_SET_ORIGINAL(R_NilValue);
  ------------------
  |  |  289|     50|#define PS_SET_ORIGINAL(x)  SET_VECTOR_ELT(ParseState.sexps, 2, (x))
  ------------------
 3950|     50|    ParseState.data_count = 0;
 3951|     50|    ParseState.xxlineno = 1;
 3952|     50|    ParseState.xxcolno = 0;
 3953|     50|    ParseState.xxbyteno = 0;
 3954|     50|    ParseState.xxparseno = 1;
 3955|     50|    busy = true;
 3956|     50|}
R_FinalizeSrcRefState:
 3960|     50|{
 3961|     50|    PS_SET_SRCFILE(R_NilValue);
  ------------------
  |  |  288|     50|#define PS_SET_SRCFILE(x)   SET_VECTOR_ELT(ParseState.sexps, 1, (x))
  ------------------
 3962|     50|    PS_SET_ORIGINAL(R_NilValue);
  ------------------
  |  |  289|     50|#define PS_SET_ORIGINAL(x)  SET_VECTOR_ELT(ParseState.sexps, 2, (x))
  ------------------
 3963|     50|    CLEAR_SVS();
  ------------------
  |  |  352|     50|#define CLEAR_SVS()    R_ReleaseMSet(PS_SVS, 500)
  |  |  ------------------
  |  |  |  |  308|     50|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3964|       |
 3965|       |    /* a stack yyparse() was still using when an error unwound past it */
 3966|     50|    if (ParseState.yystack) {
  ------------------
  |  Branch (3966:9): [True: 0, False: 50]
  ------------------
 3967|      0|	free(ParseState.yystack);
 3968|      0|	ParseState.yystack = NULL;
 3969|      0|    }
 3970|       |
 3971|       |    /* Free the data, text and ids if we are restoring a previous state,
 3972|       |       or if they have grown too large */
 3973|     50|    if (PS_DATA != R_NilValue) {
  ------------------
  |  |  305|     50|#define PS_DATA             ParseState.data
  ------------------
  |  Branch (3973:9): [True: 0, False: 50]
  ------------------
 3974|      0|    	if (ParseState.prevState || DATA_COUNT > MAX_DATA_COUNT) {
  ------------------
  |  |  155|      0|#define DATA_COUNT  (length( PS_DATA ) / DATA_ROWS)
  |  |  ------------------
  |  |  |  |  987|      0|#define length(x)		Rf_length(x)
  |  |  ------------------
  |  |               #define DATA_COUNT  (length( PS_DATA ) / DATA_ROWS)
  |  |  ------------------
  |  |  |  |  162|      0|#define DATA_ROWS 8
  |  |  ------------------
  ------------------
                  	if (ParseState.prevState || DATA_COUNT > MAX_DATA_COUNT) {
  ------------------
  |  |  153|      0|#define MAX_DATA_COUNT   65536		/* release it at the end if it is this size or larger*/
  ------------------
  |  Branch (3974:10): [True: 0, False: 0]
  |  Branch (3974:34): [True: 0, False: 0]
  ------------------
 3975|      0|	    PS_SET_DATA(R_NilValue);
  ------------------
  |  |  292|      0|#define PS_SET_DATA(x)      do {                \
  |  |  293|      0|    SEXP __x__ = (x);                           \
  |  |  294|      0|    SET_VECTOR_ELT(ParseState.sexps, 3, __x__); \
  |  |  295|      0|    ParseState.data = __x__;                    \
  |  |  296|      0|} while(0);
  |  |  ------------------
  |  |  |  Branch (296:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3976|      0|	    PS_SET_TEXT(R_NilValue);
  ------------------
  |  |  298|      0|#define PS_SET_TEXT(x)      SET_VECTOR_ELT(ParseState.sexps, 4, (x))
  ------------------
 3977|      0|	} else /* Remove all the strings from the text vector so they don't take up memory, and clean up data */
 3978|      0|	    for (int i=0; i < ParseState.data_count; i++) {
  ------------------
  |  Branch (3978:20): [True: 0, False: 0]
  ------------------
 3979|      0|		SET_STRING_ELT(PS_TEXT, i, R_BlankString);
  ------------------
  |  |  306|      0|#define PS_TEXT             VECTOR_ELT(ParseState.sexps, 4)
  ------------------
 3980|      0|		_PARENT(i) = 0;
  ------------------
  |  |  171|      0|#define _PARENT(i)         INTEGER( PS_DATA )[ DATA_ROWS*(i) + 7 ]
  |  |  ------------------
  |  |  |  |  305|      0|#define PS_DATA             ParseState.data
  |  |  ------------------
  |  |               #define _PARENT(i)         INTEGER( PS_DATA )[ DATA_ROWS*(i) + 7 ]
  |  |  ------------------
  |  |  |  |  162|      0|#define DATA_ROWS 8
  |  |  ------------------
  ------------------
 3981|      0|	    }
 3982|      0|    } 
 3983|     50|    if (PS_IDS != R_NilValue) {
  ------------------
  |  |  307|     50|#define PS_IDS              VECTOR_ELT(ParseState.sexps, 5)
  ------------------
  |  Branch (3983:9): [True: 0, False: 50]
  ------------------
 3984|      0|	if (ParseState.prevState || ID_COUNT > MAX_DATA_COUNT) {
  ------------------
  |  |  156|      0|#define ID_COUNT    ((length( PS_IDS ) / 2) - 1)
  |  |  ------------------
  |  |  |  |  987|      0|#define length(x)		Rf_length(x)
  |  |  ------------------
  ------------------
              	if (ParseState.prevState || ID_COUNT > MAX_DATA_COUNT) {
  ------------------
  |  |  153|      0|#define MAX_DATA_COUNT   65536		/* release it at the end if it is this size or larger*/
  ------------------
  |  Branch (3984:6): [True: 0, False: 0]
  |  Branch (3984:30): [True: 0, False: 0]
  ------------------
 3985|      0|	    PS_SET_IDS(R_NilValue);
  ------------------
  |  |  299|      0|#define PS_SET_IDS(x)       SET_VECTOR_ELT(ParseState.sexps, 5, (x))
  ------------------
 3986|      0|        } else {
 3987|       |	    /* Remove the parent records.  'identifier' is the id of the
 3988|       |	       last node, not a count, so include it: when a lexer error
 3989|       |	       unwinds mid-expression that node is a recorded one, and a
 3990|       |	       stale ID_ID would make finalizeData() treat an unrecorded
 3991|       |	       node of the next parse as present in its parse data, in
 3992|       |	       which case the comment-parent walk can loop forever. */
 3993|      0|            if (identifier > ID_COUNT) identifier = ID_COUNT;
  ------------------
  |  |  156|      0|#define ID_COUNT    ((length( PS_IDS ) / 2) - 1)
  |  |  ------------------
  |  |  |  |  987|      0|#define length(x)		Rf_length(x)
  |  |  ------------------
  ------------------
                          if (identifier > ID_COUNT) identifier = ID_COUNT;
  ------------------
  |  |  156|      0|#define ID_COUNT    ((length( PS_IDS ) / 2) - 1)
  |  |  ------------------
  |  |  |  |  987|      0|#define length(x)		Rf_length(x)
  |  |  ------------------
  ------------------
  |  Branch (3993:17): [True: 0, False: 0]
  ------------------
 3994|      0|            for (int i=0; i <= identifier; i++) {
  ------------------
  |  Branch (3994:27): [True: 0, False: 0]
  ------------------
 3995|      0|		ID_ID(i) = 0;
  ------------------
  |  |  173|      0|#define ID_ID( i )      INTEGER(PS_IDS)[ 2*(i) ]
  |  |  ------------------
  |  |  |  |  307|      0|#define PS_IDS              VECTOR_ELT(ParseState.sexps, 5)
  |  |  ------------------
  ------------------
 3996|      0|	        ID_PARENT(i) = 0;
  ------------------
  |  |  174|      0|#define ID_PARENT( i )  INTEGER(PS_IDS)[ 2*(i) + 1 ]
  |  |  ------------------
  |  |  |  |  307|      0|#define PS_IDS              VECTOR_ELT(ParseState.sexps, 5)
  |  |  ------------------
  ------------------
 3997|      0|	    }
 3998|      0|	}
 3999|      0|    }
 4000|     50|    ParseState.data_count = NA_INTEGER;
  ------------------
  |  |   56|     50|#define NA_INTEGER	R_NaInt
  ------------------
 4001|     50|    if (ParseState.prevState) {
  ------------------
  |  Branch (4001:9): [True: 0, False: 50]
  ------------------
 4002|      0|	R_ReleaseObject(ParseState.sexps);
 4003|      0|        SrcRefState *prev = ParseState.prevState;
 4004|      0|    	UseSrcRefState(prev);
 4005|      0|    	free(prev);
 4006|      0|    } else
 4007|     50|        busy = false;
 4008|     50|}
R_Parse1File:
 4149|    268|{
 4150|    268|    ParseInit();
 4151|    268|    ParseContextInit();
 4152|    268|    GenerateCode = gencode;
 4153|    268|    fp_parse = fp;
 4154|    268|    ptr_getc = file_getc;
 4155|    268|    R_Parse1(status);
 4156|    268|    CLEAR_SVS();
  ------------------
  |  |  352|    268|#define CLEAR_SVS()    R_ReleaseMSet(PS_SVS, 500)
  |  |  ------------------
  |  |  |  |  308|    268|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 4157|    268|    return R_CurrentExpr;
 4158|    268|}
R_ParseConn:
 4322|     12|{
 4323|     12|    GenerateCode = 1;
 4324|     12|    con_parse = con;
 4325|     12|    ptr_getc = con_getc;
 4326|     12|    return R_Parse(n, status, srcfile);
 4327|     12|}
R_ParseVector:
 4331|     34|{
 4332|     34|    SEXP rval;
 4333|     34|    TextBuffer textb;
 4334|     34|    R_TextBufferInit(&textb, text);
 4335|     34|    txtb = &textb;
 4336|     34|    GenerateCode = 1;
 4337|     34|    ptr_getc = text_getc;
 4338|     34|    rval = R_Parse(n, status, srcfile);
 4339|     34|    R_TextBufferFree(&textb);
 4340|     34|    return rval;
 4341|     34|}
Rf_mkTrue:
 4652|  3.52k|{
 4653|  3.52k|    SEXP s = allocVector(LGLSXP, 1);
  ------------------
  |  |  875|  3.52k|#define allocVector		Rf_allocVector
  ------------------
                  SEXP s = allocVector(LGLSXP, 1);
  ------------------
  |  |  121|  3.52k|#define LGLSXP	    10	  /* logical vectors */
  ------------------
 4654|  3.52k|    LOGICAL(s)[0] = 1;
 4655|  3.52k|    return s;
 4656|  3.52k|}
Rf_mkFalse:
 4659|  8.55k|{
 4660|  8.55k|    SEXP s = allocVector(LGLSXP, 1);
  ------------------
  |  |  875|  8.55k|#define allocVector		Rf_allocVector
  ------------------
                  SEXP s = allocVector(LGLSXP, 1);
  ------------------
  |  |  121|  8.55k|#define LGLSXP	    10	  /* logical vectors */
  ------------------
 4661|  8.55k|    LOGICAL(s)[0] = 0;
 4662|  8.55k|    return s;
 4663|  8.55k|}
Rf_isValidName:
 5716|  15.6k|{
 5717|  15.6k|    const char *p = name;
 5718|  15.6k|    int i;
 5719|       |
 5720|  15.6k|    if(mbcslocale) {
  ------------------
  |  Branch (5720:8): [True: 0, False: 15.6k]
  ------------------
 5721|       |	/* the only way to establish which chars are alpha etc is to
 5722|       |	   use the wchar variants */
 5723|      0|	size_t n = strlen(name), used;
 5724|      0|	wchar_t wc;
 5725|       |	/* This is not necessarily correct for stateful MBCS */
 5726|      0|	mbstate_t mb_st;
 5727|      0|	mbs_init(&mb_st);
  ------------------
  |  | 2459|      0|#define mbs_init(x) memset(x, 0, sizeof(mbstate_t))
  ------------------
 5728|       |	/* mbrtowc, not Mbrtowc: an undecodable string is not a valid name,
 5729|       |	   and must not signal an error, as this is reached while deparsing
 5730|       |	   calls for error messages */
 5731|      0|	used = mbrtowc(&wc, p, n, &mb_st);
 5732|      0|	if((int) used <= 0) return 0;
  ------------------
  |  Branch (5732:5): [True: 0, False: 0]
  ------------------
 5733|      0|	p += used; n -= used;
 5734|      0|	if (wc != L'.' && !iswalpha(wc) ) return 0;
  ------------------
  |  Branch (5734:6): [True: 0, False: 0]
  |  Branch (5734:20): [True: 0, False: 0]
  ------------------
 5735|      0|	if (wc == L'.') {
  ------------------
  |  Branch (5735:6): [True: 0, False: 0]
  ------------------
 5736|       |	    /* We don't care about other than ASCII digits */
 5737|      0|	    if(isdigit(0xff & (int)*p)) return 0;
  ------------------
  |  Branch (5737:9): [True: 0, False: 0]
  ------------------
 5738|       |	    /* Mbrtowc(&wc, p, n, NULL); if(iswdigit(wc)) return 0; */
 5739|      0|	}
 5740|      0|	while(n > 0) {
  ------------------
  |  Branch (5740:8): [True: 0, False: 0]
  ------------------
 5741|      0|	    used = mbrtowc(&wc, p, n, &mb_st);
 5742|      0|	    if((int) used <= 0) break;
  ------------------
  |  Branch (5742:9): [True: 0, False: 0]
  ------------------
 5743|      0|	    if (!(iswalnum(wc) || wc == L'.' || wc == L'_')) break;
  ------------------
  |  Branch (5743:12): [True: 0, False: 0]
  |  Branch (5743:28): [True: 0, False: 0]
  |  Branch (5743:42): [True: 0, False: 0]
  ------------------
 5744|      0|	    p += used; n -= used;
 5745|      0|	}
 5746|      0|	if (*p != '\0') return 0;
  ------------------
  |  Branch (5746:6): [True: 0, False: 0]
  ------------------
 5747|  15.6k|    } else {
 5748|  15.6k|	int c = 0xff & *p++;
 5749|  15.6k|	if (c != '.' && !isalpha(c) ) return 0;
  ------------------
  |  Branch (5749:6): [True: 15.6k, False: 12]
  |  Branch (5749:18): [True: 0, False: 15.6k]
  ------------------
 5750|  15.6k|	if (c == '.' && isdigit(0xff & (int)*p)) return 0;
  ------------------
  |  Branch (5750:6): [True: 12, False: 15.6k]
  |  Branch (5750:18): [True: 0, False: 12]
  ------------------
 5751|  62.8k|	while ( c = 0xff & *p++, (isalnum(c) || c == '.' || c == '_') ) ;
  ------------------
  |  Branch (5751:10): [True: 47.2k, False: 15.6k]
  |  Branch (5751:28): [True: 46.5k, False: 16.3k]
  |  Branch (5751:42): [True: 668, False: 15.6k]
  |  Branch (5751:54): [True: 42, False: 15.6k]
  ------------------
 5752|  15.6k|	if (c != '\0') return 0;
  ------------------
  |  Branch (5752:6): [True: 0, False: 15.6k]
  ------------------
 5753|  15.6k|    }
 5754|       |
 5755|  15.6k|    if (strcmp(name, "...") == 0) return 1;
  ------------------
  |  Branch (5755:9): [True: 0, False: 15.6k]
  ------------------
 5756|       |
 5757|   328k|    for (i = 0; keywords[i].name != NULL; i++)
  ------------------
  |  Branch (5757:17): [True: 312k, False: 15.6k]
  ------------------
 5758|   312k|	if (strcmp(keywords[i].name, name) == 0) return 0;
  ------------------
  |  Branch (5758:6): [True: 0, False: 312k]
  ------------------
 5759|       |
 5760|  15.6k|    return 1;
 5761|  15.6k|}
gram.c:setId:
  186|  4.17k|static void setId(yyltype loc){
  187|  4.17k|    record_( 
  188|  4.17k|	    (loc).first_parsed, (loc).first_column, (loc).last_parsed, (loc).last_column, 
  189|  4.17k|	    _current_token, (loc).id, 0 ) ;
  190|  4.17k|}
gram.c:record_:
 6406|  11.5k|	int token, int id, char* text_in ){
 6407|       |	
 6408|  11.5k|	if (!ParseState.keepSrcRefs || !ParseState.keepParseData
  ------------------
  |  Branch (6408:6): [True: 11.5k, False: 0]
  |  Branch (6408:33): [True: 0, False: 0]
  ------------------
 6409|  11.5k|	    || id == NA_INTEGER) return;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (6409:9): [True: 0, False: 0]
  ------------------
 6410|       |	
 6411|       |	// don't care about zero sized things
 6412|      0|	if( !yytext[0] ) return ;
  ------------------
  |  Branch (6412:6): [True: 0, False: 0]
  ------------------
 6413|       |	
 6414|      0|	if (ParseState.data_count == DATA_COUNT)
  ------------------
  |  |  155|      0|#define DATA_COUNT  (length( PS_DATA ) / DATA_ROWS)
  |  |  ------------------
  |  |  |  |  987|      0|#define length(x)		Rf_length(x)
  |  |  ------------------
  |  |               #define DATA_COUNT  (length( PS_DATA ) / DATA_ROWS)
  |  |  ------------------
  |  |  |  |  162|      0|#define DATA_ROWS 8
  |  |  ------------------
  ------------------
  |  Branch (6414:6): [True: 0, False: 0]
  ------------------
 6415|      0|	    growData();
 6416|       |	
 6417|      0|	_FIRST_COLUMN( ParseState.data_count ) = first_column; 
  ------------------
  |  |  165|      0|#define _FIRST_COLUMN( i ) INTEGER( PS_DATA )[ DATA_ROWS*(i) + 1 ]
  |  |  ------------------
  |  |  |  |  305|      0|#define PS_DATA             ParseState.data
  |  |  ------------------
  |  |               #define _FIRST_COLUMN( i ) INTEGER( PS_DATA )[ DATA_ROWS*(i) + 1 ]
  |  |  ------------------
  |  |  |  |  162|      0|#define DATA_ROWS 8
  |  |  ------------------
  ------------------
 6418|      0|	_FIRST_PARSED( ParseState.data_count ) = first_parsed;
  ------------------
  |  |  164|      0|#define _FIRST_PARSED( i ) INTEGER( PS_DATA )[ DATA_ROWS*(i)     ]
  |  |  ------------------
  |  |  |  |  305|      0|#define PS_DATA             ParseState.data
  |  |  ------------------
  |  |               #define _FIRST_PARSED( i ) INTEGER( PS_DATA )[ DATA_ROWS*(i)     ]
  |  |  ------------------
  |  |  |  |  162|      0|#define DATA_ROWS 8
  |  |  ------------------
  ------------------
 6419|      0|	_LAST_COLUMN( ParseState.data_count )  = last_column;  
  ------------------
  |  |  167|      0|#define _LAST_COLUMN( i )  INTEGER( PS_DATA )[ DATA_ROWS*(i) + 3 ]
  |  |  ------------------
  |  |  |  |  305|      0|#define PS_DATA             ParseState.data
  |  |  ------------------
  |  |               #define _LAST_COLUMN( i )  INTEGER( PS_DATA )[ DATA_ROWS*(i) + 3 ]
  |  |  ------------------
  |  |  |  |  162|      0|#define DATA_ROWS 8
  |  |  ------------------
  ------------------
 6420|      0|	_LAST_PARSED( ParseState.data_count )  = last_parsed; 
  ------------------
  |  |  166|      0|#define _LAST_PARSED( i )  INTEGER( PS_DATA )[ DATA_ROWS*(i) + 2 ]
  |  |  ------------------
  |  |  |  |  305|      0|#define PS_DATA             ParseState.data
  |  |  ------------------
  |  |               #define _LAST_PARSED( i )  INTEGER( PS_DATA )[ DATA_ROWS*(i) + 2 ]
  |  |  ------------------
  |  |  |  |  162|      0|#define DATA_ROWS 8
  |  |  ------------------
  ------------------
 6421|      0|	_TOKEN( ParseState.data_count )        = token;        
  ------------------
  |  |  169|      0|#define _TOKEN( i )        INTEGER( PS_DATA )[ DATA_ROWS*(i) + 5 ]
  |  |  ------------------
  |  |  |  |  305|      0|#define PS_DATA             ParseState.data
  |  |  ------------------
  |  |               #define _TOKEN( i )        INTEGER( PS_DATA )[ DATA_ROWS*(i) + 5 ]
  |  |  ------------------
  |  |  |  |  162|      0|#define DATA_ROWS 8
  |  |  ------------------
  ------------------
 6422|      0|	_ID( ParseState.data_count )           = id ;          
  ------------------
  |  |  170|      0|#define _ID( i )           INTEGER( PS_DATA )[ DATA_ROWS*(i) + 6 ]
  |  |  ------------------
  |  |  |  |  305|      0|#define PS_DATA             ParseState.data
  |  |  ------------------
  |  |               #define _ID( i )           INTEGER( PS_DATA )[ DATA_ROWS*(i) + 6 ]
  |  |  ------------------
  |  |  |  |  162|      0|#define DATA_ROWS 8
  |  |  ------------------
  ------------------
 6423|      0|	_PARENT(ParseState.data_count)         = 0 ; 
  ------------------
  |  |  171|      0|#define _PARENT(i)         INTEGER( PS_DATA )[ DATA_ROWS*(i) + 7 ]
  |  |  ------------------
  |  |  |  |  305|      0|#define PS_DATA             ParseState.data
  |  |  ------------------
  |  |               #define _PARENT(i)         INTEGER( PS_DATA )[ DATA_ROWS*(i) + 7 ]
  |  |  ------------------
  |  |  |  |  162|      0|#define DATA_ROWS 8
  |  |  ------------------
  ------------------
 6424|      0|	if ( text_in )
  ------------------
  |  Branch (6424:7): [True: 0, False: 0]
  ------------------
 6425|      0|	    SET_STRING_ELT(PS_TEXT, ParseState.data_count, mkChar2(text_in));
  ------------------
  |  |  306|      0|#define PS_TEXT             VECTOR_ELT(ParseState.sexps, 4)
  ------------------
 6426|      0|	else
 6427|      0|	    SET_STRING_ELT(PS_TEXT, ParseState.data_count, mkChar(""));
  ------------------
  |  |  306|      0|#define PS_TEXT             VECTOR_ELT(ParseState.sexps, 4)
  ------------------
              	    SET_STRING_ELT(PS_TEXT, ParseState.data_count, mkChar(""));
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
 6428|       |	
 6429|      0|	if( id > ID_COUNT )
  ------------------
  |  |  156|      0|#define ID_COUNT    ((length( PS_IDS ) / 2) - 1)
  |  |  ------------------
  |  |  |  |  987|      0|#define length(x)		Rf_length(x)
  |  |  ------------------
  ------------------
  |  Branch (6429:6): [True: 0, False: 0]
  ------------------
 6430|      0|	    growID(id) ;
 6431|       |
 6432|      0|	ID_ID( id ) = ParseState.data_count ; 
  ------------------
  |  |  173|      0|#define ID_ID( i )      INTEGER(PS_IDS)[ 2*(i) ]
  |  |  ------------------
  |  |  |  |  307|      0|#define PS_IDS              VECTOR_ELT(ParseState.sexps, 5)
  |  |  ------------------
  ------------------
 6433|       |	
 6434|      0|	ParseState.data_count++ ;
 6435|      0|}
gram.c:incrementId:
 3085|  19.2k|static void incrementId(void){
 3086|  19.2k|	identifier++; 
 3087|  19.2k|}
gram.c:xxvalue:
 3139|    526|{
 3140|    526|    if (k > 2) {
  ------------------
  |  Branch (3140:9): [True: 150, False: 376]
  ------------------
 3141|    150|	if (ParseState.keepSrcRefs) {
  ------------------
  |  Branch (3141:6): [True: 0, False: 150]
  ------------------
 3142|      0|	    SEXP s = PROTECT(makeSrcref(lloc, PS_SRCFILE));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3143|      0|	    AppendToSrcRefs(s);
 3144|      0|	    UNPROTECT(1); /* s */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 3145|      0|	}
 3146|    150|	RELEASE_SV(v);
  ------------------
  |  |  351|    150|#define RELEASE_SV(x)  R_ReleaseFromMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|    150|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3147|    150|    }
 3148|    526|    R_CurrentExpr = v;
 3149|    526|    return k;
 3150|    526|}
gram.c:xxnullformal:
 3153|     10|{
 3154|     10|    SEXP ans;
 3155|     10|    PRESERVE_SV(ans = R_NilValue);
  ------------------
  |  |  350|     10|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|     10|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3156|     10|    return ans;
 3157|     10|}
gram.c:xxfirstformal0:
 3160|     78|{
 3161|     78|    SEXP ans;
 3162|     78|    if (GenerateCode)
  ------------------
  |  Branch (3162:9): [True: 78, False: 0]
  ------------------
 3163|     78|	PRESERVE_SV(ans = FirstArg(R_MissingArg, sym));
  ------------------
  |  |  350|     78|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|     78|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3164|      0|    else
 3165|      0|	PRESERVE_SV(ans = R_NilValue);
  ------------------
  |  |  350|      0|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      0|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3166|     78|    RELEASE_SV(sym);
  ------------------
  |  |  351|     78|#define RELEASE_SV(x)  R_ReleaseFromMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|     78|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3167|     78|    return ans;
 3168|     78|}
gram.c:FirstArg:
 3782|  1.02k|{
 3783|  1.02k|    SEXP tmp;
 3784|  1.02k|    PROTECT(tmp = NewList());
  ------------------
  |  |  357|  1.02k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3785|  1.02k|    GrowList(tmp, s);
 3786|  1.02k|    SET_TAG(CAR(tmp), tag);
 3787|  1.02k|    UNPROTECT(1); /* tmp */
  ------------------
  |  |  358|  1.02k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 3788|  1.02k|    return tmp;
 3789|  1.02k|}
gram.c:xxaddformal0:
 3183|     18|{
 3184|     18|    SEXP ans;
 3185|     18|    if (GenerateCode) {
  ------------------
  |  Branch (3185:9): [True: 18, False: 0]
  ------------------
 3186|     18|	CheckFormalArgs(formlist, sym, lloc);
 3187|     18|	NextArg(formlist, R_MissingArg, sym);
 3188|     18|	ans = formlist;
 3189|     18|    } else {
 3190|      0|	RELEASE_SV(formlist);
  ------------------
  |  |  351|      0|#define RELEASE_SV(x)  R_ReleaseFromMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      0|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3191|      0|	PRESERVE_SV(ans = R_NilValue);
  ------------------
  |  |  350|      0|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      0|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3192|      0|    }
 3193|     18|    RELEASE_SV(sym);
  ------------------
  |  |  351|     18|#define RELEASE_SV(x)  R_ReleaseFromMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|     18|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3194|     18|    return ans;
 3195|     18|}
gram.c:CheckFormalArgs:
 4791|     26|{
 4792|     88|    while (formlist != R_NilValue) {
  ------------------
  |  Branch (4792:12): [True: 62, False: 26]
  ------------------
 4793|     62|	if (TAG(formlist) == _new) {
  ------------------
  |  Branch (4793:6): [True: 0, False: 62]
  ------------------
 4794|      0|	    raiseParseError("repeatedFormal", R_NilValue, 
 4795|      0|	                    STRING_VALUE, EncodeChar(PRINTNAME(_new)), lloc,
  ------------------
  |  |  312|      0|#define STRING_VALUE 1
  ------------------
              	                    STRING_VALUE, EncodeChar(PRINTNAME(_new)), lloc,
  ------------------
  |  | 1895|      0|# define EncodeChar             Rf_EncodeChar
  ------------------
 4796|       |	    _("repeated formal argument '%s' (%s:%d:%d)"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4797|      0|	}
 4798|     62|	formlist = CDR(formlist);
 4799|     62|    }
 4800|     26|}
gram.c:NextArg:
 3793|    626|{
 3794|    626|    GrowList(l, s);
 3795|    626|    SET_TAG(CAR(l), tag);
 3796|    626|}
gram.c:xxaddformal1:
 3198|      8|{
 3199|      8|    SEXP ans;
 3200|      8|    if (GenerateCode) {
  ------------------
  |  Branch (3200:9): [True: 8, False: 0]
  ------------------
 3201|      8|	CheckFormalArgs(formlist, sym, lloc);
 3202|      8|	NextArg(formlist, expr, sym);
 3203|      8|	ans = formlist;
 3204|      8|    } else {
 3205|      0|	RELEASE_SV(formlist);
  ------------------
  |  |  351|      0|#define RELEASE_SV(x)  R_ReleaseFromMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      0|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3206|      0|	PRESERVE_SV(ans = R_NilValue);
  ------------------
  |  |  350|      0|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      0|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3207|      0|    }
 3208|      8|    RELEASE_SV(expr);
  ------------------
  |  |  351|      8|#define RELEASE_SV(x)  R_ReleaseFromMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      8|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3209|      8|    RELEASE_SV(sym);
  ------------------
  |  |  351|      8|#define RELEASE_SV(x)  R_ReleaseFromMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      8|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3210|      8|    return ans;
 3211|      8|}
gram.c:xxexprlist1:
 3229|    104|{
 3230|    104|    SEXP ans;
 3231|    104|    if (GenerateCode) {
  ------------------
  |  Branch (3231:9): [True: 104, False: 0]
  ------------------
 3232|    104|	PRESERVE_SV(ans = NewList());
  ------------------
  |  |  350|    104|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|    104|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3233|    104|	if (ParseState.keepSrcRefs) {
  ------------------
  |  Branch (3233:6): [True: 0, False: 104]
  ------------------
 3234|      0|	    setAttrib(ans, R_SrcrefSymbol, PS_SRCREFS);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
              	    setAttrib(ans, R_SrcrefSymbol, PS_SRCREFS);
  ------------------
  |  |  302|      0|#define PS_SRCREFS          VECTOR_ELT(ParseState.sexps, 0)
  ------------------
 3235|      0|	    SEXP s = PROTECT(makeSrcref(lloc, PS_SRCFILE));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3236|      0|	    SetSingleSrcRef(s);
 3237|      0|	    UNPROTECT(1); /* s */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 3238|      0|	}
 3239|    104|	GrowList(ans, expr);
 3240|    104|    }
 3241|      0|    else
 3242|      0|	PRESERVE_SV(ans = R_NilValue);
  ------------------
  |  |  350|      0|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      0|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3243|    104|    RELEASE_SV(expr);
  ------------------
  |  |  351|    104|#define RELEASE_SV(x)  R_ReleaseFromMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|    104|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3244|    104|    return ans;
 3245|    104|}
gram.c:xxexprlist2:
 3248|    306|{
 3249|    306|    SEXP ans;
 3250|    306|    if (GenerateCode) {
  ------------------
  |  Branch (3250:9): [True: 306, False: 0]
  ------------------
 3251|    306|	if (ParseState.keepSrcRefs) {
  ------------------
  |  Branch (3251:6): [True: 0, False: 306]
  ------------------
 3252|      0|	    SEXP s = PROTECT(makeSrcref(lloc, PS_SRCFILE));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3253|      0|	    AppendToSrcRefs(s);
 3254|      0|	    UNPROTECT(1); /* s */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 3255|      0|	}
 3256|    306|	GrowList(exprlist, expr);
 3257|    306|	ans = exprlist;
 3258|    306|    } else {
 3259|      0|	RELEASE_SV(exprlist);
  ------------------
  |  |  351|      0|#define RELEASE_SV(x)  R_ReleaseFromMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      0|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3260|      0|	PRESERVE_SV(ans = R_NilValue);
  ------------------
  |  |  350|      0|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      0|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3261|      0|    }
 3262|    306|    RELEASE_SV(expr);
  ------------------
  |  |  351|    306|#define RELEASE_SV(x)  R_ReleaseFromMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|    306|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3263|    306|    return ans;
 3264|    306|}
gram.c:xxsub0:
 3267|     74|{
 3268|     74|    SEXP ans;
 3269|     74|    if (GenerateCode)
  ------------------
  |  Branch (3269:9): [True: 74, False: 0]
  ------------------
 3270|     74|	PRESERVE_SV(ans = lang2(R_MissingArg,R_NilValue));
  ------------------
  |  |  350|     74|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|     74|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3271|      0|    else
 3272|      0|	PRESERVE_SV(ans = R_NilValue);
  ------------------
  |  |  350|      0|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      0|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3273|     74|    return ans;
 3274|     74|}
gram.c:xxsub1:
 3277|  1.25k|{
 3278|  1.25k|    SEXP ans;
 3279|  1.25k|    if (GenerateCode)
  ------------------
  |  Branch (3279:9): [True: 1.25k, False: 0]
  ------------------
 3280|  1.25k|	PRESERVE_SV(ans = TagArg(expr, R_NilValue, lloc));
  ------------------
  |  |  350|  1.25k|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|  1.25k|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3281|      0|    else
 3282|      0|	PRESERVE_SV(ans = R_NilValue);
  ------------------
  |  |  350|      0|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      0|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3283|  1.25k|    RELEASE_SV(expr);
  ------------------
  |  |  351|  1.25k|#define RELEASE_SV(x)  R_ReleaseFromMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|  1.25k|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3284|  1.25k|    return ans;
 3285|  1.25k|}
gram.c:TagArg:
 3739|  1.47k|{
 3740|  1.47k|    switch (TYPEOF(tag)) {
 3741|      4|    case STRSXP:
  ------------------
  |  |  126|      4|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (3741:5): [True: 4, False: 1.46k]
  ------------------
 3742|      4|	tag = installTrChar(STRING_ELT(tag, 0));
  ------------------
  |  |  937|      4|#define installTrChar		Rf_installTrChar
  ------------------
 3743|  1.26k|    case NILSXP:
  ------------------
  |  |  111|  1.26k|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (3743:5): [True: 1.25k, False: 214]
  ------------------
 3744|  1.47k|    case SYMSXP:
  ------------------
  |  |  112|  1.47k|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (3744:5): [True: 210, False: 1.26k]
  ------------------
 3745|  1.47k|	return lang2(arg, tag);
  ------------------
  |  |  979|  1.47k|#define lang2			Rf_lang2
  ------------------
 3746|      0|    default:
  ------------------
  |  Branch (3746:5): [True: 0, False: 1.47k]
  ------------------
 3747|      0|	raiseParseError("badTagType", R_NilValue, 
 3748|      0|	                NO_VALUE, NULL, lloc, 
  ------------------
  |  |  311|      0|#define NO_VALUE 0
  ------------------
 3749|       |	                _("incorrect tag type (%s:%d:%d)"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3750|      0|	                return R_NilValue/* -Wall */;
 3751|  1.47k|    }
 3752|  1.47k|}
gram.c:xxsymsub1:
 3299|    214|{
 3300|    214|    SEXP ans;
 3301|    214|    if (GenerateCode)
  ------------------
  |  Branch (3301:9): [True: 214, False: 0]
  ------------------
 3302|    214|	PRESERVE_SV(ans = TagArg(expr, sym, lloc));
  ------------------
  |  |  350|    214|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|    214|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3303|      0|    else
 3304|      0|	PRESERVE_SV(ans = R_NilValue);
  ------------------
  |  |  350|      0|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      0|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3305|    214|    RELEASE_SV(expr);
  ------------------
  |  |  351|    214|#define RELEASE_SV(x)  R_ReleaseFromMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|    214|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3306|    214|    RELEASE_SV(sym);
  ------------------
  |  |  351|    214|#define RELEASE_SV(x)  R_ReleaseFromMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|    214|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3307|    214|    return ans;
 3308|    214|}
gram.c:xxsublist1:
 3335|    946|{
 3336|    946|    SEXP ans;
 3337|    946|    if (GenerateCode)
  ------------------
  |  Branch (3337:9): [True: 946, False: 0]
  ------------------
 3338|    946|	PRESERVE_SV(ans = FirstArg(CAR(sub),CADR(sub)));
  ------------------
  |  |  350|    946|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|    946|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3339|      0|    else
 3340|      0|	PRESERVE_SV(ans = R_NilValue);
  ------------------
  |  |  350|      0|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      0|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3341|    946|    RELEASE_SV(sub);
  ------------------
  |  |  351|    946|#define RELEASE_SV(x)  R_ReleaseFromMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|    946|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3342|    946|    return ans;
 3343|    946|}
gram.c:xxsublist2:
 3346|    600|{
 3347|    600|    SEXP ans;
 3348|    600|    if (GenerateCode) {
  ------------------
  |  Branch (3348:9): [True: 600, False: 0]
  ------------------
 3349|    600|	NextArg(sublist, CAR(sub), CADR(sub));
 3350|    600|	ans = sublist;
 3351|    600|    } else {
 3352|      0|	RELEASE_SV(sublist);
  ------------------
  |  |  351|      0|#define RELEASE_SV(x)  R_ReleaseFromMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      0|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3353|      0|	PRESERVE_SV(ans = R_NilValue);
  ------------------
  |  |  350|      0|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      0|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3354|      0|    }
 3355|    600|    RELEASE_SV(sub);
  ------------------
  |  |  351|    600|#define RELEASE_SV(x)  R_ReleaseFromMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|    600|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3356|    600|    return ans;
 3357|    600|}
gram.c:xxcond:
 3360|      2|{
 3361|      2|    EatLines = 1;
 3362|      2|    return expr;
 3363|      2|}
gram.c:xxifcond:
 3366|     70|{
 3367|     70|    EatLines = 1;
 3368|     70|    return expr;
 3369|     70|}
gram.c:xxif:
 3372|     54|{
 3373|     54|    SEXP ans;
 3374|     54|    if (GenerateCode)
  ------------------
  |  Branch (3374:9): [True: 54, False: 0]
  ------------------
 3375|     54|	PRESERVE_SV(ans = lang3(ifsym, cond, expr));
  ------------------
  |  |  350|     54|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|     54|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3376|      0|    else
 3377|      0|	PRESERVE_SV(ans = R_NilValue);
  ------------------
  |  |  350|      0|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      0|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3378|     54|    RELEASE_SV(expr);
  ------------------
  |  |  351|     54|#define RELEASE_SV(x)  R_ReleaseFromMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|     54|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3379|     54|    RELEASE_SV(cond);
  ------------------
  |  |  351|     54|#define RELEASE_SV(x)  R_ReleaseFromMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|     54|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3380|     54|    return ans;
 3381|     54|}
gram.c:xxifelse:
 3384|     16|{
 3385|     16|    SEXP ans;
 3386|     16|    if (GenerateCode)
  ------------------
  |  Branch (3386:9): [True: 16, False: 0]
  ------------------
 3387|     16|	PRESERVE_SV(ans = lang4(ifsym, cond, ifexpr, elseexpr));
  ------------------
  |  |  350|     16|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|     16|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3388|      0|    else
 3389|      0|	PRESERVE_SV(ans = R_NilValue);
  ------------------
  |  |  350|      0|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      0|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3390|     16|    RELEASE_SV(elseexpr);
  ------------------
  |  |  351|     16|#define RELEASE_SV(x)  R_ReleaseFromMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|     16|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3391|     16|    RELEASE_SV(ifexpr);
  ------------------
  |  |  351|     16|#define RELEASE_SV(x)  R_ReleaseFromMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|     16|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3392|     16|    RELEASE_SV(cond);
  ------------------
  |  |  351|     16|#define RELEASE_SV(x)  R_ReleaseFromMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|     16|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3393|     16|    return ans;
 3394|     16|}
gram.c:xxforcond:
 3397|      8|{
 3398|      8|    SEXP ans;
 3399|      8|    EatLines = 1;
 3400|      8|    if (GenerateCode)
  ------------------
  |  Branch (3400:9): [True: 8, False: 0]
  ------------------
 3401|      8|	PRESERVE_SV(ans = LCONS(sym, expr));
  ------------------
  |  |  350|      8|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      8|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3402|      0|    else
 3403|      0|	PRESERVE_SV(ans = R_NilValue);
  ------------------
  |  |  350|      0|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      0|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3404|      8|    RELEASE_SV(expr);
  ------------------
  |  |  351|      8|#define RELEASE_SV(x)  R_ReleaseFromMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      8|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3405|      8|    RELEASE_SV(sym);
  ------------------
  |  |  351|      8|#define RELEASE_SV(x)  R_ReleaseFromMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      8|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3406|      8|    return ans;
 3407|      8|}
gram.c:xxfor:
 3410|      8|{
 3411|      8|    SEXP ans;
 3412|      8|    if (GenerateCode)
  ------------------
  |  Branch (3412:9): [True: 8, False: 0]
  ------------------
 3413|      8|	PRESERVE_SV(ans = lang4(forsym, CAR(forcond), CDR(forcond), body));
  ------------------
  |  |  350|      8|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      8|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3414|      0|    else
 3415|      0|	PRESERVE_SV(ans = R_NilValue);
  ------------------
  |  |  350|      0|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      0|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3416|      8|    RELEASE_SV(body);
  ------------------
  |  |  351|      8|#define RELEASE_SV(x)  R_ReleaseFromMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      8|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3417|      8|    RELEASE_SV(forcond);
  ------------------
  |  |  351|      8|#define RELEASE_SV(x)  R_ReleaseFromMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      8|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3418|      8|    return ans;
 3419|      8|}
gram.c:xxwhile:
 3422|      2|{
 3423|      2|    SEXP ans;
 3424|      2|    if (GenerateCode)
  ------------------
  |  Branch (3424:9): [True: 2, False: 0]
  ------------------
 3425|      2|	PRESERVE_SV(ans = lang3(whilesym, cond, body));
  ------------------
  |  |  350|      2|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      2|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3426|      0|    else
 3427|      0|	PRESERVE_SV(ans = R_NilValue);
  ------------------
  |  |  350|      0|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      0|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3428|      2|    RELEASE_SV(body);
  ------------------
  |  |  351|      2|#define RELEASE_SV(x)  R_ReleaseFromMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      2|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3429|      2|    RELEASE_SV(cond);
  ------------------
  |  |  351|      2|#define RELEASE_SV(x)  R_ReleaseFromMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      2|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3430|      2|    return ans;
 3431|      2|}
gram.c:xxfuncall:
 3454|    870|{
 3455|    870|    SEXP ans, sav_expr = expr;
 3456|    870|    if (GenerateCode) {
  ------------------
  |  Branch (3456:9): [True: 870, False: 0]
  ------------------
 3457|    870|	if (isString(expr) && expr != R_PlaceholderToken)
  ------------------
  |  |  966|    870|#define isString		Rf_isString
  ------------------
  |  Branch (3457:6): [True: 0, False: 870]
  |  Branch (3457:24): [True: 0, False: 0]
  ------------------
 3458|      0|	    expr = installTrChar(STRING_ELT(expr, 0));
  ------------------
  |  |  937|      0|#define installTrChar		Rf_installTrChar
  ------------------
 3459|    870|	PROTECT(expr);
  ------------------
  |  |  357|    870|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3460|    870|	if (length(CDR(args)) == 1 && CADR(args) == R_MissingArg && TAG(CDR(args)) == R_NilValue )
  ------------------
  |  |  987|    870|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (3460:6): [True: 560, False: 310]
  |  Branch (3460:32): [True: 70, False: 490]
  |  Branch (3460:62): [True: 70, False: 0]
  ------------------
 3461|     70|	    ans = lang1(expr);
  ------------------
  |  |  978|     70|#define lang1			Rf_lang1
  ------------------
 3462|    800|	else
 3463|    800|	    ans = LCONS(expr, CDR(args));
  ------------------
  |  |  310|    800|#define LCONS(a, b)	Rf_lcons((a), (b))		/* language lists */
  ------------------
 3464|    870|	UNPROTECT(1); /* expr */
  ------------------
  |  |  358|    870|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 3465|    870|	PRESERVE_SV(ans);
  ------------------
  |  |  350|    870|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|    870|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3466|    870|    } else
 3467|      0|	PRESERVE_SV(ans = R_NilValue);
  ------------------
  |  |  350|      0|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      0|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3468|       |
 3469|    870|    RELEASE_SV(args);
  ------------------
  |  |  351|    870|#define RELEASE_SV(x)  R_ReleaseFromMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|    870|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3470|    870|    RELEASE_SV(sav_expr);
  ------------------
  |  |  351|    870|#define RELEASE_SV(x)  R_ReleaseFromMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|    870|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3471|    870|    return ans;
 3472|    870|}
gram.c:xxdefun:
 3499|     88|{
 3500|     88|    SEXP ans, srcref;
 3501|       |
 3502|     88|    if (GenerateCode) {
  ------------------
  |  Branch (3502:9): [True: 88, False: 0]
  ------------------
 3503|     88|    	if (ParseState.keepSrcRefs) {
  ------------------
  |  Branch (3503:10): [True: 0, False: 88]
  ------------------
 3504|      0|	    srcref = makeSrcref(lloc, PS_SRCFILE);
  ------------------
  |  |  303|      0|#define PS_SRCFILE          VECTOR_ELT(ParseState.sexps, 1)
  ------------------
 3505|      0|    	    ParseState.didAttach = true;
 3506|      0|    	} else
 3507|     88|    	    srcref = R_NilValue;
 3508|     88|	PRESERVE_SV(ans = lang4(fname, CDR(formals), body, PROTECT(srcref)));
  ------------------
  |  |  350|     88|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|     88|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3509|     88|	UNPROTECT(1);
  ------------------
  |  |  358|     88|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 3510|     88|    } else
 3511|      0|	PRESERVE_SV(ans = R_NilValue);
  ------------------
  |  |  350|      0|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      0|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3512|     88|    RELEASE_SV(body);
  ------------------
  |  |  351|     88|#define RELEASE_SV(x)  R_ReleaseFromMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|     88|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3513|     88|    RELEASE_SV(formals);
  ------------------
  |  |  351|     88|#define RELEASE_SV(x)  R_ReleaseFromMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|     88|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3514|     88|    return ans;
 3515|     88|}
gram.c:xxunary:
 3518|     26|{
 3519|     26|    SEXP ans;
 3520|     26|    if (GenerateCode)
  ------------------
  |  Branch (3520:9): [True: 26, False: 0]
  ------------------
 3521|     26|	PRESERVE_SV(ans = lang2(op, arg));
  ------------------
  |  |  350|     26|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|     26|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3522|      0|    else
 3523|      0|	PRESERVE_SV(ans = R_NilValue);
  ------------------
  |  |  350|      0|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      0|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3524|     26|    RELEASE_SV(arg);
  ------------------
  |  |  351|     26|#define RELEASE_SV(x)  R_ReleaseFromMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|     26|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3525|     26|    return ans;
 3526|     26|}
gram.c:xxbinary:
 3529|    466|{
 3530|    466|    SEXP ans;
 3531|    466|    if (GenerateCode)
  ------------------
  |  Branch (3531:9): [True: 466, False: 0]
  ------------------
 3532|    466|	PRESERVE_SV(ans = lang3(n1, n2, n3));
  ------------------
  |  |  350|    466|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|    466|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3533|      0|    else
 3534|      0|	PRESERVE_SV(ans = R_NilValue);
  ------------------
  |  |  350|      0|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      0|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3535|    466|    RELEASE_SV(n2);
  ------------------
  |  |  351|    466|#define RELEASE_SV(x)  R_ReleaseFromMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|    466|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3536|    466|    RELEASE_SV(n3);
  ------------------
  |  |  351|    466|#define RELEASE_SV(x)  R_ReleaseFromMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|    466|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3537|    466|    return ans;
 3538|    466|}
gram.c:checkForPlaceholder:
 6773|    150|{
 6774|    150|    if (! HavePlaceholder)
  ------------------
  |  Branch (6774:9): [True: 150, False: 0]
  ------------------
 6775|    150|    	return false;
 6776|      0|    else if (arg == placeholder)
  ------------------
  |  Branch (6776:14): [True: 0, False: 0]
  ------------------
 6777|      0|	return true;
 6778|      0|    else if (TYPEOF(arg) == LANGSXP)
  ------------------
  |  |  117|      0|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (6778:14): [True: 0, False: 0]
  ------------------
 6779|      0|	for (SEXP cur = arg; cur != R_NilValue; cur = CDR(cur))
  ------------------
  |  Branch (6779:23): [True: 0, False: 0]
  ------------------
 6780|      0|	    if (checkForPlaceholder(placeholder, CAR(cur)))
  ------------------
  |  Branch (6780:10): [True: 0, False: 0]
  ------------------
 6781|      0|		return true;
 6782|      0|    return false;
 6783|    150|}
gram.c:xxparen:
 3677|      6|{
 3678|      6|    SEXP ans;
 3679|      6|    if (GenerateCode)
  ------------------
  |  Branch (3679:9): [True: 6, False: 0]
  ------------------
 3680|      6|	PRESERVE_SV(ans = lang2(n1, n2));
  ------------------
  |  |  350|      6|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      6|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3681|      0|    else
 3682|      0|	PRESERVE_SV(ans = R_NilValue);
  ------------------
  |  |  350|      0|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      0|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3683|      6|    RELEASE_SV(n2);
  ------------------
  |  |  351|      6|#define RELEASE_SV(x)  R_ReleaseFromMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      6|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3684|      6|    return ans;
 3685|      6|}
gram.c:xxsubscript:
 3693|     76|{
 3694|     76|    SEXP ans;
 3695|     76|    if (GenerateCode)
  ------------------
  |  Branch (3695:9): [True: 76, False: 0]
  ------------------
 3696|     76|	PRESERVE_SV(ans = LCONS(a2, CONS(a1, CDR(a3))));
  ------------------
  |  |  350|     76|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|     76|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3697|      0|    else
 3698|      0|	PRESERVE_SV(ans = R_NilValue);
  ------------------
  |  |  350|      0|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      0|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3699|     76|    RELEASE_SV(a3);
  ------------------
  |  |  351|     76|#define RELEASE_SV(x)  R_ReleaseFromMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|     76|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3700|     76|    RELEASE_SV(a1);
  ------------------
  |  |  351|     76|#define RELEASE_SV(x)  R_ReleaseFromMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|     76|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3701|     76|    return ans;
 3702|     76|}
gram.c:xxexprlist:
 3705|    104|{
 3706|    104|    SEXP ans;
 3707|    104|    SEXP prevSrcrefs;
 3708|       |
 3709|    104|    EatLines = 0;
 3710|    104|    if (GenerateCode) {
  ------------------
  |  Branch (3710:9): [True: 104, False: 0]
  ------------------
 3711|    104|	SET_TYPEOF(a2, LANGSXP);
  ------------------
  |  |  117|    104|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
 3712|    104|	SETCAR(a2, a1);
 3713|    104|	if (ParseState.keepSrcRefs) {
  ------------------
  |  Branch (3713:6): [True: 0, False: 104]
  ------------------
 3714|      0|	    PROTECT(prevSrcrefs = getAttrib(a2, R_SrcrefSymbol));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3715|      0|	    SEXP s = PROTECT(makeSrcref(lloc, PS_SRCFILE));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3716|      0|	    PrependToSrcRefs(s);
 3717|      0|	    attachSrcrefs(a2);
 3718|      0|	    UNPROTECT(2); /* prevSrcrefs, s */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 3719|       |#ifndef SWITCH_TO_REFCNT
 3720|       |	    /* SrcRefs got NAMED by being an attribute, preventively
 3721|       |	       getAttrib(), but it has not in fact been referenced. Set NAMED
 3722|       |	       to 0 to avoid overhead in further setAttrib calls due to cycle
 3723|       |	       detection. */
 3724|       |	    SET_NAMED(prevSrcrefs, 0);
 3725|       |#endif
 3726|      0|	    PS_SET_SRCREFS(prevSrcrefs);
  ------------------
  |  |  287|      0|#define PS_SET_SRCREFS(x)   SET_VECTOR_ELT(ParseState.sexps, 0, (x))
  ------------------
 3727|      0|	}
 3728|    104|	PRESERVE_SV(ans = a2);
  ------------------
  |  |  350|    104|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|    104|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3729|    104|    }
 3730|      0|    else
 3731|      0|	PRESERVE_SV(ans = R_NilValue);
  ------------------
  |  |  350|      0|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      0|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3732|    104|    RELEASE_SV(a2);
  ------------------
  |  |  351|    104|#define RELEASE_SV(x)  R_ReleaseFromMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|    104|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 3733|    104|    return ans;
 3734|    104|}
gram.c:ParseInit:
 4042|    576|{
 4043|    576|    contextp = contextstack;
 4044|    576|    *contextp = ' ';
 4045|    576|    SavedToken = 0;
 4046|    576|    SavedLval = R_NilValue;
 4047|    576|    EatLines = 0;
 4048|    576|    EndOfFile = 0;
 4049|    576|    xxcharcount = 0;
 4050|    576|    npush = 0;
 4051|    576|    HavePipeBind = FALSE;
 4052|    576|}
gram.c:ParseContextInit:
 4061|    314|{
 4062|    314|    R_ParseContextLast = 0;
 4063|    314|    R_ParseContext[0] = '\0';
 4064|       |    
 4065|       |    /* starts the identifier counter*/
 4066|    314|    initId();
 4067|    314|    initData();
 4068|    314|}
gram.c:initId:
 3089|    314|static void initId(void){
 3090|    314|	identifier = 0 ;
 3091|    314|}
gram.c:initData:
 4055|    314|{
 4056|    314|    ParseState.data_count = 0 ;
 4057|    314|}
gram.c:file_getc:
 4142|  25.2k|{
 4143|  25.2k|    return R_fgetc(fp_parse);
 4144|  25.2k|}
gram.c:R_Parse1:
 4089|    576|{
 4090|    576|    Status = 1; /* safety */
 4091|    576|    switch(yyparse()) {
  ------------------
  |  | 2026|    576|# define yyparse		Rf_yyparse
  ------------------
  |  Branch (4091:12): [True: 576, False: 0]
  ------------------
 4092|    576|    case 0:
  ------------------
  |  Branch (4092:5): [True: 576, False: 0]
  ------------------
 4093|    576|	switch(Status) {
  ------------------
  |  Branch (4093:9): [True: 576, False: 0]
  ------------------
 4094|     50|	case 0:                     /* End of file */
  ------------------
  |  Branch (4094:2): [True: 50, False: 526]
  ------------------
 4095|     50|	    *status = PARSE_EOF;
 4096|     50|	    if (EndOfFile == 2) *status = PARSE_INCOMPLETE;
  ------------------
  |  Branch (4096:10): [True: 0, False: 50]
  ------------------
 4097|     50|	    break;
 4098|      0|	case 1:                     /* Error (currently unreachable) */
  ------------------
  |  Branch (4098:2): [True: 0, False: 576]
  ------------------
 4099|      0|	    *status = PARSE_ERROR;
 4100|      0|	    if (EndOfFile) *status = PARSE_INCOMPLETE;
  ------------------
  |  Branch (4100:10): [True: 0, False: 0]
  ------------------
 4101|      0|	    break;
 4102|    376|	case 2:                     /* Empty Line */
  ------------------
  |  Branch (4102:2): [True: 376, False: 200]
  ------------------
 4103|    376|	    *status = PARSE_NULL;
 4104|    376|	    break;
 4105|    150|	case 3:                     /* Valid expr '\n' terminated */
  ------------------
  |  Branch (4105:2): [True: 150, False: 426]
  ------------------
 4106|    150|	case 4:                     /* Valid expr ';' terminated */
  ------------------
  |  Branch (4106:2): [True: 0, False: 576]
  ------------------
 4107|    150|	    if (checkForPlaceholder(R_PlaceholderToken, R_CurrentExpr)) {
  ------------------
  |  Branch (4107:10): [True: 0, False: 150]
  ------------------
 4108|      0|	        YYLTYPE lloc;
  ------------------
  |  |  192|      0|# define YYLTYPE yyltype
  ------------------
 4109|      0|	        lloc.first_line = ParseState.xxlineno;
 4110|      0|		lloc.first_column = ParseState.xxcolno;
 4111|      0|	        if (Status == 3) lloc.first_line--;
  ------------------
  |  Branch (4111:14): [True: 0, False: 0]
  ------------------
 4112|      0|		raiseParseError("invalidPlaceholder", R_CurrentExpr,
 4113|      0|		                NO_VALUE, NULL, &lloc,
  ------------------
  |  |  311|      0|#define NO_VALUE 0
  ------------------
 4114|      0|			  _("invalid use of pipe placeholder (%s:%d:%d)"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4115|      0|            }
 4116|    150|	    if (checkForPipeBind(R_CurrentExpr)) {
  ------------------
  |  Branch (4116:10): [True: 0, False: 150]
  ------------------
 4117|      0|	        YYLTYPE lloc;
  ------------------
  |  |  192|      0|# define YYLTYPE yyltype
  ------------------
 4118|      0|	        lloc.first_line = ParseState.xxlineno;
 4119|      0|		lloc.first_column = ParseState.xxcolno;
 4120|      0|	        if (Status == 3) lloc.first_line--;
  ------------------
  |  Branch (4120:14): [True: 0, False: 0]
  ------------------
 4121|      0|		raiseParseError("invalidPipeBind", R_CurrentExpr, 
 4122|      0|		                NO_VALUE, NULL, &lloc,
  ------------------
  |  |  311|      0|#define NO_VALUE 0
  ------------------
 4123|      0|			  _("invalid use of pipe bind symbol (%s:%d:%d)"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4124|      0|	    }
 4125|    150|	    *status = PARSE_OK;
 4126|    150|	    break;
 4127|    576|	}
 4128|    576|	break;
 4129|    576|    case 1:                     /* Syntax error / incomplete */
  ------------------
  |  Branch (4129:5): [True: 0, False: 576]
  ------------------
 4130|      0|	*status = PARSE_ERROR;
 4131|      0|	if (EndOfFile) *status = PARSE_INCOMPLETE;
  ------------------
  |  Branch (4131:6): [True: 0, False: 0]
  ------------------
 4132|      0|	break;
 4133|      0|    case 2:
  ------------------
  |  Branch (4133:5): [True: 0, False: 576]
  ------------------
 4134|      0|	error(_("out of memory while parsing"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("out of memory while parsing"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4135|    576|    }
 4136|    576|    return R_CurrentExpr;
 4137|    576|}
gram.c:checkForPipeBind:
 4071|    150|{
 4072|    150|    if (! HavePipeBind)
  ------------------
  |  Branch (4072:9): [True: 150, False: 0]
  ------------------
 4073|    150|    	return false;
 4074|      0|    else if (arg == R_PipeBindSymbol)
  ------------------
  |  Branch (4074:14): [True: 0, False: 0]
  ------------------
 4075|      0|	return true;
 4076|      0|    else if (TYPEOF(arg) == LANGSXP)
  ------------------
  |  |  117|      0|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (4076:14): [True: 0, False: 0]
  ------------------
 4077|      0|	for (SEXP cur = arg; cur != R_NilValue; cur = CDR(cur))
  ------------------
  |  Branch (4077:23): [True: 0, False: 0]
  ------------------
 4078|      0|	    if (checkForPipeBind(CAR(cur)))
  ------------------
  |  Branch (4078:10): [True: 0, False: 0]
  ------------------
 4079|      0|		return true;
 4080|      0|    return false;
 4081|    150|}
gram.c:R_Parse:
 4228|     46|{
 4229|     46|    int i;
 4230|     46|    SEXP t, rval;
 4231|     46|    RCNTXT cntxt;
 4232|       |
 4233|     46|    R_InitSrcRefState(&cntxt);
 4234|     46|    ParseContextInit();
 4235|       |
 4236|     46|    PS_SET_SRCFILE(srcfile);
  ------------------
  |  |  288|     46|#define PS_SET_SRCFILE(x)   SET_VECTOR_ELT(ParseState.sexps, 1, (x))
  ------------------
 4237|     46|    PS_SET_ORIGINAL(srcfile);
  ------------------
  |  |  289|     46|#define PS_SET_ORIGINAL(x)  SET_VECTOR_ELT(ParseState.sexps, 2, (x))
  ------------------
 4238|       |    
 4239|     46|    if (isEnvironment(srcfile)) {
  ------------------
  |  |  944|     46|#define isEnvironment		Rf_isEnvironment
  ------------------
  |  Branch (4239:9): [True: 0, False: 46]
  ------------------
 4240|      0|    	ParseState.keepSrcRefs = true;
 4241|      0|	ParseState.keepParseData =
 4242|      0|	    asRbool(GetOption1(install("keep.parse.data")), R_NilValue);
  ------------------
  |  | 1866|      0|# define asRbool		Rf_asRbool
  ------------------
              	    asRbool(GetOption1(install("keep.parse.data")), R_NilValue);
  ------------------
  |  |  928|      0|#define GetOption1		Rf_GetOption1
  ------------------
              	    asRbool(GetOption1(install("keep.parse.data")), R_NilValue);
  ------------------
  |  |  934|      0|#define install			Rf_install
  ------------------
 4243|      0|	PS_SET_SRCREFS(R_NilValue);
  ------------------
  |  |  287|      0|#define PS_SET_SRCREFS(x)   SET_VECTOR_ELT(ParseState.sexps, 0, (x))
  ------------------
 4244|      0|    }
 4245|       |    
 4246|     46|    PROTECT(t = NewList());
  ------------------
  |  |  357|     46|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4247|    308|    for(i = 0; ; ) {
 4248|    308|	if(n >= 0 && i >= n) break;
  ------------------
  |  Branch (4248:5): [True: 0, False: 308]
  |  Branch (4248:15): [True: 0, False: 0]
  ------------------
 4249|    308|	ParseInit();
 4250|    308|	rval = R_Parse1(status);
 4251|    308|	switch(*status) {
  ------------------
  |  Branch (4251:9): [True: 308, False: 0]
  ------------------
 4252|    216|	case PARSE_NULL:
  ------------------
  |  Branch (4252:2): [True: 216, False: 92]
  ------------------
 4253|    216|	    break;
 4254|     46|	case PARSE_OK:
  ------------------
  |  Branch (4254:2): [True: 46, False: 262]
  ------------------
 4255|     46|	    PROTECT(rval);
  ------------------
  |  |  357|     46|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4256|     46|	    GrowList(t, rval);
 4257|     46|	    UNPROTECT(1); /* rval */
  ------------------
  |  |  358|     46|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4258|     46|	    i++;
 4259|     46|	    break;
 4260|      0|	case PARSE_INCOMPLETE:
  ------------------
  |  Branch (4260:2): [True: 0, False: 308]
  ------------------
 4261|      0|	case PARSE_ERROR:
  ------------------
  |  Branch (4261:2): [True: 0, False: 308]
  ------------------
 4262|      0|	    UNPROTECT(1); /* t */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4263|      0|	    if (ParseState.keepSrcRefs && ParseState.keepParseData)
  ------------------
  |  Branch (4263:10): [True: 0, False: 0]
  |  Branch (4263:36): [True: 0, False: 0]
  ------------------
 4264|      0|	        finalizeData();
 4265|      0|	    endcontext(&cntxt);
  ------------------
  |  | 1900|      0|# define endcontext		Rf_endcontext
  ------------------
 4266|      0|	    R_FinalizeSrcRefState();	    
 4267|      0|	    return R_NilValue;
 4268|      0|	    break;
 4269|     46|	case PARSE_EOF:
  ------------------
  |  Branch (4269:2): [True: 46, False: 262]
  ------------------
 4270|     46|	    goto finish;
 4271|      0|	    break;
 4272|    308|	}
 4273|    308|    }
 4274|       |
 4275|     46|finish:
 4276|       |
 4277|     46|    t = CDR(t);
 4278|     46|    PROTECT(rval = allocVector(EXPRSXP, length(t)));
  ------------------
  |  |  357|     46|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4279|     92|    for (n = 0 ; n < LENGTH(rval) ; n++, t = CDR(t))
  ------------------
  |  Branch (4279:18): [True: 46, False: 46]
  ------------------
 4280|     46|	SET_VECTOR_ELT(rval, n, CAR(t));
 4281|     46|    if (ParseState.keepSrcRefs) {
  ------------------
  |  Branch (4281:9): [True: 0, False: 46]
  ------------------
 4282|      0|	if (ParseState.keepParseData)
  ------------------
  |  Branch (4282:6): [True: 0, False: 0]
  ------------------
 4283|      0|	    finalizeData();
 4284|      0|	attachSrcrefs(rval);
 4285|      0|    }
 4286|     46|    UNPROTECT(2); /* t, rval */
  ------------------
  |  |  358|     46|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4287|     46|    PROTECT(rval);
  ------------------
  |  |  357|     46|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4288|     46|    endcontext(&cntxt);
  ------------------
  |  | 1900|     46|# define endcontext		Rf_endcontext
  ------------------
 4289|     46|    R_FinalizeSrcRefState();
 4290|     46|    UNPROTECT(1); /* rval */
  ------------------
  |  |  358|     46|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4291|     46|    *status = PARSE_OK;
 4292|     46|    return rval;
 4293|     46|}
gram.c:con_getc:
 4310|  12.7k|{
 4311|  12.7k|    int c;
 4312|  12.7k|    static int last=-1000;
 4313|       |
 4314|  12.7k|    c = Rconn_fgetc(con_parse);
 4315|  12.7k|    if (c == EOF && last != '\n') c = '\n';
  ------------------
  |  Branch (4315:9): [True: 12, False: 12.6k]
  |  Branch (4315:21): [True: 0, False: 12]
  ------------------
 4316|  12.7k|    return (last = c);
 4317|  12.7k|}
gram.c:text_getc:
 4223|  7.00k|{
 4224|  7.00k|    return R_TextBufferGetc(txtb);
 4225|  7.00k|}
gram.c:NewList:
 3765|  1.17k|{
 3766|  1.17k|    SEXP s = CONS(R_NilValue, R_NilValue);
  ------------------
  |  |  309|  1.17k|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
 3767|  1.17k|    SETCAR(s, s);
 3768|  1.17k|    return s;
 3769|  1.17k|}
gram.c:GrowList:
 3773|  2.10k|{
 3774|  2.10k|    SEXP tmp;
 3775|  2.10k|    tmp = CONS(s, R_NilValue);
  ------------------
  |  |  309|  2.10k|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
 3776|  2.10k|    SETCDR(CAR(l), tmp);
 3777|  2.10k|    SETCAR(l, tmp);
 3778|  2.10k|}
gram.c:yylex:
 6170|  7.84k|{
 6171|  7.84k|    int tok;
 6172|       |
 6173|  8.04k| again:
 6174|       |
 6175|  8.04k|    tok = token_();
 6176|       |
 6177|       |    /* Newlines must be handled in a context */
 6178|       |    /* sensitive way.  The following block of */
 6179|       |    /* deals directly with newlines in the */
 6180|       |    /* body of "if" statements. */
 6181|       |
 6182|  8.04k|    if (tok == '\n') {
  ------------------
  |  Branch (6182:9): [True: 1.08k, False: 6.96k]
  ------------------
 6183|       |
 6184|  1.08k|	if (EatLines || *contextp == '[' || *contextp == '(')
  ------------------
  |  Branch (6184:6): [True: 204, False: 876]
  |  Branch (6184:18): [True: 0, False: 876]
  |  Branch (6184:38): [True: 0, False: 876]
  ------------------
 6185|    204|	    goto again;
 6186|       |
 6187|       |	/* The essence of this is that in the body of */
 6188|       |	/* an "if", any newline must be checked to */
 6189|       |	/* see if it is followed by an "else". */
 6190|       |	/* such newlines are discarded. */
 6191|       |
 6192|    876|	if (*contextp == 'i') {
  ------------------
  |  Branch (6192:6): [True: 40, False: 836]
  ------------------
 6193|       |
 6194|       |	    /* Find the next non-newline token */
 6195|       |
 6196|     86|	    while(tok == '\n')
  ------------------
  |  Branch (6196:12): [True: 46, False: 40]
  ------------------
 6197|     46|		tok = token_();
 6198|       |
 6199|       |	    /* If we encounter "}", ")" or "]" then */
 6200|       |	    /* we know that all immediately preceding */
 6201|       |	    /* "if" bodies have been terminated. */
 6202|       |	    /* The corresponding "i" values are */
 6203|       |	    /* popped off the context stack. */
 6204|       |
 6205|     40|	    if (tok == RBRACE || tok == ')' || tok == ']' ) {
  ------------------
  |  |  238|     80|#define RBRACE	'}'
  ------------------
  |  Branch (6205:10): [True: 12, False: 28]
  |  Branch (6205:27): [True: 0, False: 28]
  |  Branch (6205:41): [True: 0, False: 28]
  ------------------
 6206|     26|		while (*contextp == 'i')
  ------------------
  |  Branch (6206:10): [True: 14, False: 12]
  ------------------
 6207|     14|		    ifpop();
 6208|     12|		*contextp-- = 0;
 6209|     12|		setlastloc();
 6210|     12|		return tok;
 6211|     12|	    }
 6212|       |
 6213|       |	    /* When a "," is encountered, it terminates */
 6214|       |	    /* just the immediately preceding "if" body */
 6215|       |	    /* so we pop just a single "i" of the */
 6216|       |	    /* context stack. */
 6217|       |
 6218|     28|	    if (tok == ',') {
  ------------------
  |  Branch (6218:10): [True: 0, False: 28]
  ------------------
 6219|      0|		ifpop();
 6220|      0|		setlastloc();
 6221|      0|		return tok;
 6222|      0|	    }
 6223|       |
 6224|       |	    /* Tricky! If we find an "else" we must */
 6225|       |	    /* ignore the preceding newline.  Any other */
 6226|       |	    /* token means that we must return the newline */
 6227|       |	    /* to terminate the "if" and "push back" that */
 6228|       |	    /* token so that we will obtain it on the next */
 6229|       |	    /* call to token.  In either case sensitivity */
 6230|       |	    /* is lost, so we pop the "i" from the context */
 6231|       |	    /* stack. */
 6232|       |
 6233|     28|	    if(tok == ELSE) {
  ------------------
  |  |  601|     28|#define ELSE 273
  ------------------
  |  Branch (6233:9): [True: 8, False: 20]
  ------------------
 6234|      8|		EatLines = 1;
 6235|      8|		ifpop();
 6236|      8|		setlastloc();
 6237|      8|		return ELSE;
  ------------------
  |  |  601|      8|#define ELSE 273
  ------------------
 6238|      8|	    }
 6239|     20|	    else {
 6240|     20|		ifpop();
 6241|     20|		SavedToken = tok;
 6242|     20|		xxlinesave = yylloc.first_line;
 6243|     20|		xxcolsave  = yylloc.first_column;
 6244|     20|		xxbytesave = yylloc.first_byte;
 6245|     20|		xxparsesave = yylloc.first_parsed;
 6246|     20|		SavedLval = yylval;
  ------------------
  |  | 2024|     20|# define yylval			Rf_yylval
  ------------------
 6247|     20|		setlastloc();
 6248|     20|		if (ParseState.keepSrcRefs && ParseState.keepParseData &&
  ------------------
  |  Branch (6248:7): [True: 0, False: 20]
  |  Branch (6248:33): [True: 0, False: 0]
  ------------------
 6249|      0|		    yytext[0])
  ------------------
  |  Branch (6249:7): [True: 0, False: 0]
  ------------------
 6250|       |
 6251|       |		    /* unrecord the pushed back token if not null */
 6252|      0|		    ParseState.data_count--;
 6253|     20|		return '\n';
 6254|     20|	    }
 6255|     28|	}
 6256|    836|	else {
 6257|    836|	    setlastloc();
 6258|    836|	    return '\n';
 6259|    836|	}
 6260|    876|    }
 6261|       |
 6262|       |    /* Additional context sensitivities */
 6263|       |
 6264|  6.96k|    switch(tok) {
  ------------------
  |  Branch (6264:12): [True: 6.91k, False: 50]
  ------------------
 6265|       |
 6266|       |	/* Any newlines immediately following the */
 6267|       |	/* the following tokens are discarded. The */
 6268|       |	/* expressions are clearly incomplete. */
 6269|       |
 6270|      0|    case '+':
  ------------------
  |  Branch (6270:5): [True: 0, False: 6.96k]
  ------------------
 6271|      2|    case '-':
  ------------------
  |  Branch (6271:5): [True: 2, False: 6.96k]
  ------------------
 6272|     12|    case '*':
  ------------------
  |  Branch (6272:5): [True: 10, False: 6.95k]
  ------------------
 6273|     26|    case '/':
  ------------------
  |  Branch (6273:5): [True: 14, False: 6.95k]
  ------------------
 6274|     26|    case '^':
  ------------------
  |  Branch (6274:5): [True: 0, False: 6.96k]
  ------------------
 6275|     26|    case LT:
  ------------------
  |  |  608|     26|#define LT 280
  ------------------
  |  Branch (6275:5): [True: 0, False: 6.96k]
  ------------------
 6276|     28|    case LE:
  ------------------
  |  |  609|     28|#define LE 281
  ------------------
  |  Branch (6276:5): [True: 2, False: 6.96k]
  ------------------
 6277|     28|    case GE:
  ------------------
  |  |  607|     28|#define GE 279
  ------------------
  |  Branch (6277:5): [True: 0, False: 6.96k]
  ------------------
 6278|     32|    case GT:
  ------------------
  |  |  606|     32|#define GT 278
  ------------------
  |  Branch (6278:5): [True: 4, False: 6.96k]
  ------------------
 6279|     40|    case EQ:
  ------------------
  |  |  610|     40|#define EQ 282
  ------------------
  |  Branch (6279:5): [True: 8, False: 6.95k]
  ------------------
 6280|     52|    case NE:
  ------------------
  |  |  611|     52|#define NE 283
  ------------------
  |  Branch (6280:5): [True: 12, False: 6.95k]
  ------------------
 6281|     52|    case OR:
  ------------------
  |  |  613|     52|#define OR 285
  ------------------
  |  Branch (6281:5): [True: 0, False: 6.96k]
  ------------------
 6282|     52|    case AND:
  ------------------
  |  |  612|     52|#define AND 284
  ------------------
  |  Branch (6282:5): [True: 0, False: 6.96k]
  ------------------
 6283|     54|    case OR2:
  ------------------
  |  |  615|     54|#define OR2 287
  ------------------
  |  Branch (6283:5): [True: 2, False: 6.96k]
  ------------------
 6284|     56|    case AND2:
  ------------------
  |  |  614|     56|#define AND2 286
  ------------------
  |  Branch (6284:5): [True: 2, False: 6.96k]
  ------------------
 6285|     56|    case PIPE:
  ------------------
  |  |  627|     56|#define PIPE 299
  ------------------
  |  Branch (6285:5): [True: 0, False: 6.96k]
  ------------------
 6286|     56|    case PIPEBIND:
  ------------------
  |  |  629|     56|#define PIPEBIND 301
  ------------------
  |  Branch (6286:5): [True: 0, False: 6.96k]
  ------------------
 6287|    106|    case SPECIAL:
  ------------------
  |  |  634|    106|#define SPECIAL 306
  ------------------
  |  Branch (6287:5): [True: 50, False: 6.91k]
  ------------------
 6288|    194|    case FUNCTION:
  ------------------
  |  |  592|    194|#define FUNCTION 264
  ------------------
  |  Branch (6288:5): [True: 88, False: 6.87k]
  ------------------
 6289|    196|    case WHILE:
  ------------------
  |  |  602|    196|#define WHILE 274
  ------------------
  |  Branch (6289:5): [True: 2, False: 6.96k]
  ------------------
 6290|    196|    case REPEAT:
  ------------------
  |  |  605|    196|#define REPEAT 277
  ------------------
  |  Branch (6290:5): [True: 0, False: 6.96k]
  ------------------
 6291|    204|    case FOR:
  ------------------
  |  |  598|    204|#define FOR 270
  ------------------
  |  Branch (6291:5): [True: 8, False: 6.95k]
  ------------------
 6292|    212|    case IN:
  ------------------
  |  |  599|    212|#define IN 271
  ------------------
  |  Branch (6292:5): [True: 8, False: 6.95k]
  ------------------
 6293|    212|    case '?':
  ------------------
  |  Branch (6293:5): [True: 0, False: 6.96k]
  ------------------
 6294|    236|    case '!':
  ------------------
  |  Branch (6294:5): [True: 24, False: 6.94k]
  ------------------
 6295|    236|    case '=':
  ------------------
  |  Branch (6295:5): [True: 0, False: 6.96k]
  ------------------
 6296|    238|    case ':':
  ------------------
  |  Branch (6296:5): [True: 2, False: 6.96k]
  ------------------
 6297|    238|    case '~':
  ------------------
  |  Branch (6297:5): [True: 0, False: 6.96k]
  ------------------
 6298|    294|    case '$':
  ------------------
  |  Branch (6298:5): [True: 56, False: 6.90k]
  ------------------
 6299|    294|    case '@':
  ------------------
  |  Branch (6299:5): [True: 0, False: 6.96k]
  ------------------
 6300|    598|    case LEFT_ASSIGN:
  ------------------
  |  |  594|    598|#define LEFT_ASSIGN 266
  ------------------
  |  Branch (6300:5): [True: 304, False: 6.66k]
  ------------------
 6301|    598|    case RIGHT_ASSIGN:
  ------------------
  |  |  596|    598|#define RIGHT_ASSIGN 268
  ------------------
  |  Branch (6301:5): [True: 0, False: 6.96k]
  ------------------
 6302|    820|    case EQ_ASSIGN:
  ------------------
  |  |  595|    820|#define EQ_ASSIGN 267
  ------------------
  |  Branch (6302:5): [True: 222, False: 6.74k]
  ------------------
 6303|    820|	EatLines = 1;
 6304|    820|	break;
 6305|       |
 6306|       |	/* Push any "if" statements found and */
 6307|       |	/* discard any immediately following newlines. */
 6308|       |
 6309|     70|    case IF:
  ------------------
  |  |  600|     70|#define IF 272
  ------------------
  |  Branch (6309:5): [True: 70, False: 6.89k]
  ------------------
 6310|     70|	IfPush();
 6311|     70|	EatLines = 1;
 6312|     70|	break;
 6313|       |
 6314|       |	/* Terminate any immediately preceding "if" */
 6315|       |	/* statements and discard any immediately */
 6316|       |	/* following newlines. */
 6317|       |
 6318|      8|    case ELSE:
  ------------------
  |  |  601|      8|#define ELSE 273
  ------------------
  |  Branch (6318:5): [True: 8, False: 6.95k]
  ------------------
 6319|      8|	ifpop();
 6320|      8|	EatLines = 1;
 6321|      8|	break;
 6322|       |
 6323|       |	/* These tokens terminate any immediately */
 6324|       |	/* preceding "if" statements. */
 6325|       |
 6326|     86|    case ';':
  ------------------
  |  Branch (6326:5): [True: 86, False: 6.87k]
  ------------------
 6327|    712|    case ',':
  ------------------
  |  Branch (6327:5): [True: 626, False: 6.33k]
  ------------------
 6328|    712|	ifpop();
 6329|    712|	break;
 6330|       |
 6331|       |	/* Any newlines following these tokens can */
 6332|       |	/* indicate the end of an expression. */
 6333|       |
 6334|  2.21k|    case SYMBOL:
  ------------------
  |  |  591|  2.21k|#define SYMBOL 263
  ------------------
  |  Branch (6334:5): [True: 2.21k, False: 4.75k]
  ------------------
 6335|  2.21k|    case PLACEHOLDER:
  ------------------
  |  |  628|  2.21k|#define PLACEHOLDER 300
  ------------------
  |  Branch (6335:5): [True: 0, False: 6.96k]
  ------------------
 6336|  2.49k|    case STR_CONST:
  ------------------
  |  |  588|  2.49k|#define STR_CONST 260
  ------------------
  |  Branch (6336:5): [True: 286, False: 6.67k]
  ------------------
 6337|  2.80k|    case NUM_CONST:
  ------------------
  |  |  589|  2.80k|#define NUM_CONST 261
  ------------------
  |  Branch (6337:5): [True: 306, False: 6.65k]
  ------------------
 6338|  2.82k|    case NULL_CONST:
  ------------------
  |  |  590|  2.82k|#define NULL_CONST 262
  ------------------
  |  Branch (6338:5): [True: 22, False: 6.94k]
  ------------------
 6339|  2.82k|    case NEXT:
  ------------------
  |  |  603|  2.82k|#define NEXT 275
  ------------------
  |  Branch (6339:5): [True: 0, False: 6.96k]
  ------------------
 6340|  2.82k|    case BREAK:
  ------------------
  |  |  604|  2.82k|#define BREAK 276
  ------------------
  |  Branch (6340:5): [True: 0, False: 6.96k]
  ------------------
 6341|  2.82k|	EatLines = 0;
 6342|  2.82k|	break;
 6343|       |
 6344|       |	/* Handle brackets, braces and parentheses */
 6345|       |
 6346|     44|    case LBB:
  ------------------
  |  |  597|     44|#define LBB 269
  ------------------
  |  Branch (6346:5): [True: 44, False: 6.92k]
  ------------------
 6347|     44|	if(contextp - contextstack >= CONTEXTSTACK_SIZE - 2)
  ------------------
  |  | 3893|     44|#define CONTEXTSTACK_SIZE 50
  ------------------
  |  Branch (6347:5): [True: 0, False: 44]
  ------------------
 6348|      0|	    raiseLexError("contextstackOverflow", NO_VALUE, NULL,
  ------------------
  |  |  311|      0|#define NO_VALUE 0
  ------------------
 6349|      0|	        _("contextstack overflow (%s:%d:%d)"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 6350|     44|	*++contextp = '[';
 6351|     44|	*++contextp = '[';
 6352|     44|	break;
 6353|       |
 6354|     32|    case '[':
  ------------------
  |  Branch (6354:5): [True: 32, False: 6.93k]
  ------------------
 6355|     32|	if(contextp - contextstack >= CONTEXTSTACK_SIZE - 1)
  ------------------
  |  | 3893|     32|#define CONTEXTSTACK_SIZE 50
  ------------------
  |  Branch (6355:5): [True: 0, False: 32]
  ------------------
 6356|      0|	    raiseLexError("contextstackOverflow", NO_VALUE, NULL,
  ------------------
  |  |  311|      0|#define NO_VALUE 0
  ------------------
 6357|      0|	        _("contextstack overflow (%s:%d:%d)"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 6358|     32|	*++contextp = (char) tok;
 6359|     32|	break;
 6360|       |
 6361|    104|    case LBRACE:
  ------------------
  |  |  237|    104|#define LBRACE	'{'
  ------------------
  |  Branch (6361:5): [True: 104, False: 6.86k]
  ------------------
 6362|    104|	if(contextp - contextstack >= CONTEXTSTACK_SIZE - 1)
  ------------------
  |  | 3893|    104|#define CONTEXTSTACK_SIZE 50
  ------------------
  |  Branch (6362:5): [True: 0, False: 104]
  ------------------
 6363|      0|	    raiseLexError("contextstackOverflow", NO_VALUE, NULL,
  ------------------
  |  |  311|      0|#define NO_VALUE 0
  ------------------
 6364|      0|	        _("contextstack overflow (%s:%d:%d)"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 6365|    104|	*++contextp = (char) tok;
 6366|    104|	EatLines = 1;
 6367|    104|	break;
 6368|       |
 6369|  1.04k|    case '(':
  ------------------
  |  Branch (6369:5): [True: 1.04k, False: 5.92k]
  ------------------
 6370|  1.04k|	if(contextp - contextstack >= CONTEXTSTACK_SIZE - 1)
  ------------------
  |  | 3893|  1.04k|#define CONTEXTSTACK_SIZE 50
  ------------------
  |  Branch (6370:5): [True: 0, False: 1.04k]
  ------------------
 6371|      0|	    raiseLexError("contextstackOverflow", NO_VALUE, NULL,
  ------------------
  |  |  311|      0|#define NO_VALUE 0
  ------------------
 6372|      0|	        _("contextstack overflow (%s:%d:%d)"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 6373|  1.04k|	*++contextp = (char) tok;
 6374|  1.04k|	break;
 6375|       |
 6376|    120|    case ']':
  ------------------
  |  Branch (6376:5): [True: 120, False: 6.84k]
  ------------------
 6377|    120|	while (*contextp == 'i')
  ------------------
  |  Branch (6377:9): [True: 0, False: 120]
  ------------------
 6378|      0|	    ifpop();
 6379|    120|	*contextp-- = 0;
 6380|    120|	EatLines = 0;
 6381|    120|	break;
 6382|       |
 6383|     92|    case RBRACE:
  ------------------
  |  |  238|     92|#define RBRACE	'}'
  ------------------
  |  Branch (6383:5): [True: 92, False: 6.87k]
  ------------------
 6384|     92|	while (*contextp == 'i')
  ------------------
  |  Branch (6384:9): [True: 0, False: 92]
  ------------------
 6385|      0|	    ifpop();
 6386|     92|	*contextp-- = 0;
 6387|     92|	break;
 6388|       |
 6389|  1.04k|    case ')':
  ------------------
  |  Branch (6389:5): [True: 1.04k, False: 5.92k]
  ------------------
 6390|  1.04k|	while (*contextp == 'i')
  ------------------
  |  Branch (6390:9): [True: 0, False: 1.04k]
  ------------------
 6391|      0|	    ifpop();
 6392|  1.04k|	*contextp-- = 0;
 6393|  1.04k|	EatLines = 0;
 6394|  1.04k|	break;
 6395|       |
 6396|  6.96k|    }
 6397|  6.96k|    setlastloc();
 6398|  6.96k|    return tok;
 6399|  6.96k|}
gram.c:token_:
 6144|  8.09k|static int token_(void){
 6145|       |    // capture the position before retrieving the token
 6146|  8.09k|    setfirstloc( ) ;
 6147|       |
 6148|       |    // get the token
 6149|  8.09k|    int res = token( ) ;
 6150|       |
 6151|       |    // capture the position after
 6152|  8.09k|    int _last_col  = ParseState.xxcolno ;
 6153|  8.09k|    int _last_parsed = ParseState.xxparseno ;
 6154|       |
 6155|  8.09k|    _current_token = res ;
 6156|  8.09k|    incrementId( ) ;
 6157|  8.09k|    yylloc.id = identifier ;
 6158|       |
 6159|       |    // record the position
 6160|  8.09k|    if( res != '\n' && res != END_OF_INPUT)
  ------------------
  |  |  586|  7.00k|#define END_OF_INPUT 258
  ------------------
  |  Branch (6160:9): [True: 7.00k, False: 1.08k]
  |  Branch (6160:24): [True: 6.95k, False: 50]
  ------------------
 6161|  6.95k|	record_( yylloc.first_parsed, yylloc.first_column, 
 6162|  6.95k|	         _last_parsed, _last_col,
 6163|  6.95k|		res, identifier, yytext );
 6164|       |
 6165|  8.09k|    return res; 
 6166|  8.09k|}
gram.c:setfirstloc:
 6120|  8.09k|{
 6121|  8.09k|    yylloc.first_line   = ParseState.xxlineno;
 6122|  8.09k|    yylloc.first_column = ParseState.xxcolno;
 6123|  8.09k|    yylloc.first_byte   = ParseState.xxbyteno;
 6124|  8.09k|    yylloc.first_parsed = ParseState.xxparseno;
 6125|  8.09k|}
gram.c:token:
 5874|  8.09k|{
 5875|  8.09k|    int c, clen, i;
 5876|  8.09k|    wchar_t wc;
 5877|       |
 5878|  8.09k|    if (SavedToken) {
  ------------------
  |  Branch (5878:9): [True: 20, False: 8.07k]
  ------------------
 5879|     20|	c = SavedToken;
 5880|     20|	yylval = SavedLval;
  ------------------
  |  | 2024|     20|# define yylval			Rf_yylval
  ------------------
 5881|     20|	SavedLval = R_NilValue;
 5882|     20|	SavedToken = 0;
 5883|     20|	yylloc.first_line = xxlinesave;
 5884|     20|	yylloc.first_column = xxcolsave;
 5885|     20|	yylloc.first_byte = xxbytesave;
 5886|     20|	yylloc.first_parsed = xxparsesave;
 5887|     20|	return c;
 5888|     20|    }
 5889|  8.07k|    xxcharsave = xxcharcount; /* want to be able to go back one token */
 5890|       |
 5891|  8.07k|    c = SkipSpace();
 5892|  8.07k|    if (c == '#') c = SkipComment();
  ------------------
  |  Branch (5892:9): [True: 380, False: 7.69k]
  ------------------
 5893|       |
 5894|  8.07k|    yylloc.first_line = ParseState.xxlineno;
 5895|  8.07k|    yylloc.first_column = ParseState.xxcolno;
 5896|  8.07k|    yylloc.first_byte = ParseState.xxbyteno;
 5897|  8.07k|    yylloc.first_parsed = ParseState.xxparseno;
 5898|       |
 5899|  8.07k|    if (c == R_EOF) return END_OF_INPUT;
  ------------------
  |  | 1531|  8.07k|#define R_EOF	-1
  ------------------
                  if (c == R_EOF) return END_OF_INPUT;
  ------------------
  |  |  586|     50|#define END_OF_INPUT 258
  ------------------
  |  Branch (5899:9): [True: 50, False: 8.02k]
  ------------------
 5900|       |
 5901|       |    /* Either digits or symbols can start with a "." */
 5902|       |    /* so we need to decide which it is and jump to  */
 5903|       |    /* the correct spot. */
 5904|       |
 5905|  8.02k|    if (c == '.' && typeofnext() >= 2) goto symbol;
  ------------------
  |  Branch (5905:9): [True: 138, False: 7.88k]
  |  Branch (5905:21): [True: 138, False: 0]
  ------------------
 5906|       |
 5907|       |    /* literal numbers */
 5908|       |
 5909|  7.88k|    if (c == '.') return NumericValue(c);
  ------------------
  |  Branch (5909:9): [True: 0, False: 7.88k]
  ------------------
 5910|       |    /* We don't care about other than ASCII digits */
 5911|  7.88k|    if (isdigit(c)) return NumericValue(c);
  ------------------
  |  Branch (5911:9): [True: 200, False: 7.68k]
  ------------------
 5912|       |
 5913|       |    /* raw string literal */
 5914|       |
 5915|  7.68k|    if (c == 'r' || c == 'R') {
  ------------------
  |  Branch (5915:9): [True: 78, False: 7.60k]
  |  Branch (5915:21): [True: 26, False: 7.57k]
  ------------------
 5916|    104|	if (nextchar('"'))
  ------------------
  |  Branch (5916:6): [True: 0, False: 104]
  ------------------
 5917|      0|	    return RawStringValue(c, '"');
 5918|    104|	else if (nextchar('\''))
  ------------------
  |  Branch (5918:11): [True: 0, False: 104]
  ------------------
 5919|      0|	    return RawStringValue(c, '\'');
 5920|    104|    }
 5921|       |
 5922|       |    /* literal strings */
 5923|       |
 5924|  7.68k|    if (c == '\"' || c == '\'')
  ------------------
  |  Branch (5924:9): [True: 280, False: 7.40k]
  |  Branch (5924:22): [True: 6, False: 7.39k]
  ------------------
 5925|    286|	return StringValue(c, false);
 5926|       |
 5927|       |    /* special functions */
 5928|       |
 5929|  7.39k|    if (c == '%')
  ------------------
  |  Branch (5929:9): [True: 50, False: 7.34k]
  ------------------
 5930|     50|	return SpecialValue(c);
 5931|       |
 5932|       |    /* functions, constants and variables */
 5933|       |
 5934|  7.34k|    if (c == '`')
  ------------------
  |  Branch (5934:9): [True: 4, False: 7.34k]
  ------------------
 5935|      4|	return StringValue(c, true);
 5936|  7.48k| symbol:
 5937|       |
 5938|  7.48k|    if (c == '.') return SymbolValue(c);
  ------------------
  |  Branch (5938:9): [True: 138, False: 7.34k]
  ------------------
 5939|  7.34k|    if (c == '_') return Placeholder(c);
  ------------------
  |  Branch (5939:9): [True: 0, False: 7.34k]
  ------------------
 5940|  7.34k|    if(mbcslocale) {
  ------------------
  |  Branch (5940:8): [True: 0, False: 7.34k]
  ------------------
 5941|       |	// FIXME potentially need R_wchar_t with UTF-8 Windows.
 5942|      0|	if (mbcs_get_next(c, &wc) == -1)
  ------------------
  |  Branch (5942:6): [True: 0, False: 0]
  ------------------
 5943|      0|	    return END_OF_INPUT; /* EOF whilst reading MBCS char */
  ------------------
  |  |  586|      0|#define END_OF_INPUT 258
  ------------------
 5944|      0|	if (iswalpha(wc)) return SymbolValue(c);
  ------------------
  |  Branch (5944:6): [True: 0, False: 0]
  ------------------
 5945|      0|    } else
 5946|  7.34k|	if (isalpha(c)) return SymbolValue(c);
  ------------------
  |  Branch (5946:6): [True: 2.38k, False: 4.95k]
  ------------------
 5947|       |
 5948|       |    /* compound tokens */
 5949|       |
 5950|  4.95k|    switch (c) {
 5951|    306|    case '<':
  ------------------
  |  Branch (5951:5): [True: 306, False: 4.64k]
  ------------------
 5952|    306|	if (nextchar('=')) {
  ------------------
  |  Branch (5952:6): [True: 2, False: 304]
  ------------------
 5953|      2|	    yylval = install_and_save("<=");
  ------------------
  |  | 2024|      2|# define yylval			Rf_yylval
  ------------------
 5954|      2|	    return LE;
  ------------------
  |  |  609|      2|#define LE 281
  ------------------
 5955|      2|	}
 5956|    304|	if (nextchar('-')) {
  ------------------
  |  Branch (5956:6): [True: 302, False: 2]
  ------------------
 5957|    302|	    yylval = install_and_save("<-");
  ------------------
  |  | 2024|    302|# define yylval			Rf_yylval
  ------------------
 5958|    302|	    return LEFT_ASSIGN;
  ------------------
  |  |  594|    302|#define LEFT_ASSIGN 266
  ------------------
 5959|    302|	}
 5960|      2|	if (nextchar('<')) {
  ------------------
  |  Branch (5960:6): [True: 2, False: 0]
  ------------------
 5961|      2|	    if (nextchar('-')) {
  ------------------
  |  Branch (5961:10): [True: 2, False: 0]
  ------------------
 5962|      2|		yylval = install_and_save("<<-");
  ------------------
  |  | 2024|      2|# define yylval			Rf_yylval
  ------------------
 5963|      2|		return LEFT_ASSIGN;
  ------------------
  |  |  594|      2|#define LEFT_ASSIGN 266
  ------------------
 5964|      2|	    }
 5965|      0|	    else
 5966|      0|		return ERROR;
  ------------------
  |  |  587|      0|#define ERROR 259
  ------------------
 5967|      2|	}
 5968|      0|	yylval = install_and_save("<");
  ------------------
  |  | 2024|      0|# define yylval			Rf_yylval
  ------------------
 5969|      0|	return LT;
  ------------------
  |  |  608|      0|#define LT 280
  ------------------
 5970|      2|    case '-':
  ------------------
  |  Branch (5970:5): [True: 2, False: 4.95k]
  ------------------
 5971|      2|	if (nextchar('>')) {
  ------------------
  |  Branch (5971:6): [True: 0, False: 2]
  ------------------
 5972|      0|	    if (nextchar('>')) {
  ------------------
  |  Branch (5972:10): [True: 0, False: 0]
  ------------------
 5973|      0|		yylval = install_and_save2("<<-", "->>");
  ------------------
  |  | 2024|      0|# define yylval			Rf_yylval
  ------------------
 5974|      0|		return RIGHT_ASSIGN;
  ------------------
  |  |  596|      0|#define RIGHT_ASSIGN 268
  ------------------
 5975|      0|	    }
 5976|      0|	    else {
 5977|      0|		yylval = install_and_save2("<-", "->");
  ------------------
  |  | 2024|      0|# define yylval			Rf_yylval
  ------------------
 5978|      0|		return RIGHT_ASSIGN;
  ------------------
  |  |  596|      0|#define RIGHT_ASSIGN 268
  ------------------
 5979|      0|	    }
 5980|      0|	}
 5981|      2|	yylval = install_and_save("-");
  ------------------
  |  | 2024|      2|# define yylval			Rf_yylval
  ------------------
 5982|      2|	return '-';
 5983|      4|    case '>':
  ------------------
  |  Branch (5983:5): [True: 4, False: 4.95k]
  ------------------
 5984|      4|	if (nextchar('=')) {
  ------------------
  |  Branch (5984:6): [True: 0, False: 4]
  ------------------
 5985|      0|	    yylval = install_and_save(">=");
  ------------------
  |  | 2024|      0|# define yylval			Rf_yylval
  ------------------
 5986|      0|	    return GE;
  ------------------
  |  |  607|      0|#define GE 279
  ------------------
 5987|      0|	}
 5988|      4|	yylval = install_and_save(">");
  ------------------
  |  | 2024|      4|# define yylval			Rf_yylval
  ------------------
 5989|      4|	return GT;
  ------------------
  |  |  606|      4|#define GT 278
  ------------------
 5990|     36|    case '!':
  ------------------
  |  Branch (5990:5): [True: 36, False: 4.91k]
  ------------------
 5991|     36|	if (nextchar('=')) {
  ------------------
  |  Branch (5991:6): [True: 12, False: 24]
  ------------------
 5992|     12|	    yylval = install_and_save("!=");
  ------------------
  |  | 2024|     12|# define yylval			Rf_yylval
  ------------------
 5993|     12|	    return NE;
  ------------------
  |  |  611|     12|#define NE 283
  ------------------
 5994|     12|	}
 5995|     24|	yylval = install_and_save("!");
  ------------------
  |  | 2024|     24|# define yylval			Rf_yylval
  ------------------
 5996|     24|	return '!';
 5997|    230|    case '=':
  ------------------
  |  Branch (5997:5): [True: 230, False: 4.72k]
  ------------------
 5998|    230|	if (nextchar('=')) {
  ------------------
  |  Branch (5998:6): [True: 8, False: 222]
  ------------------
 5999|      8|	    yylval = install_and_save("==");
  ------------------
  |  | 2024|      8|# define yylval			Rf_yylval
  ------------------
 6000|      8|	    return EQ;
  ------------------
  |  |  610|      8|#define EQ 282
  ------------------
 6001|      8|	}
 6002|    222|	else if (nextchar('>')) {
  ------------------
  |  Branch (6002:11): [True: 0, False: 222]
  ------------------
 6003|      0|	    yylval = install_and_save("=>");
  ------------------
  |  | 2024|      0|# define yylval			Rf_yylval
  ------------------
 6004|      0|	    HavePipeBind = true;
 6005|      0|	    return PIPEBIND;
  ------------------
  |  |  629|      0|#define PIPEBIND 301
  ------------------
 6006|      0|	}		 
 6007|    222|	yylval = install_and_save("=");
  ------------------
  |  | 2024|    222|# define yylval			Rf_yylval
  ------------------
 6008|    222|	return EQ_ASSIGN;
  ------------------
  |  |  595|    222|#define EQ_ASSIGN 267
  ------------------
 6009|      2|    case ':':
  ------------------
  |  Branch (6009:5): [True: 2, False: 4.95k]
  ------------------
 6010|      2|	if (nextchar(':')) {
  ------------------
  |  Branch (6010:6): [True: 0, False: 2]
  ------------------
 6011|      0|	    if (nextchar(':')) {
  ------------------
  |  Branch (6011:10): [True: 0, False: 0]
  ------------------
 6012|      0|		yylval = install_and_save(":::");
  ------------------
  |  | 2024|      0|# define yylval			Rf_yylval
  ------------------
 6013|      0|		return NS_GET_INT;
  ------------------
  |  |  617|      0|#define NS_GET_INT 289
  ------------------
 6014|      0|	    }
 6015|      0|	    else {
 6016|      0|		yylval = install_and_save("::");
  ------------------
  |  | 2024|      0|# define yylval			Rf_yylval
  ------------------
 6017|      0|		return NS_GET;
  ------------------
  |  |  616|      0|#define NS_GET 288
  ------------------
 6018|      0|	    }
 6019|      0|	}
 6020|      2|	if (nextchar('=')) {
  ------------------
  |  Branch (6020:6): [True: 0, False: 2]
  ------------------
 6021|      0|	    yylval = install_and_save(":=");
  ------------------
  |  | 2024|      0|# define yylval			Rf_yylval
  ------------------
 6022|      0|	    return LEFT_ASSIGN;
  ------------------
  |  |  594|      0|#define LEFT_ASSIGN 266
  ------------------
 6023|      0|	}
 6024|      2|	yylval = install_and_save(":");
  ------------------
  |  | 2024|      2|# define yylval			Rf_yylval
  ------------------
 6025|      2|	return ':';
 6026|      2|    case '&':
  ------------------
  |  Branch (6026:5): [True: 2, False: 4.95k]
  ------------------
 6027|      2|	if (nextchar('&')) {
  ------------------
  |  Branch (6027:6): [True: 2, False: 0]
  ------------------
 6028|      2|	    yylval = install_and_save("&&");
  ------------------
  |  | 2024|      2|# define yylval			Rf_yylval
  ------------------
 6029|      2|	    return AND2;
  ------------------
  |  |  614|      2|#define AND2 286
  ------------------
 6030|      2|	}
 6031|      0|	yylval = install_and_save("&");
  ------------------
  |  | 2024|      0|# define yylval			Rf_yylval
  ------------------
 6032|      0|	return AND;
  ------------------
  |  |  612|      0|#define AND 284
  ------------------
 6033|      2|    case '|':
  ------------------
  |  Branch (6033:5): [True: 2, False: 4.95k]
  ------------------
 6034|      2|	if (nextchar('|')) {
  ------------------
  |  Branch (6034:6): [True: 2, False: 0]
  ------------------
 6035|      2|	    yylval = install_and_save("||");
  ------------------
  |  | 2024|      2|# define yylval			Rf_yylval
  ------------------
 6036|      2|	    return OR2;
  ------------------
  |  |  615|      2|#define OR2 287
  ------------------
 6037|      2|	}
 6038|      0|	else if (nextchar('>')) {
  ------------------
  |  Branch (6038:11): [True: 0, False: 0]
  ------------------
 6039|      0|	    yylval = install_and_save("|>");
  ------------------
  |  | 2024|      0|# define yylval			Rf_yylval
  ------------------
 6040|      0|	    return PIPE;
  ------------------
  |  |  627|      0|#define PIPE 299
  ------------------
 6041|      0|	}
 6042|      0|	yylval = install_and_save("|");
  ------------------
  |  | 2024|      0|# define yylval			Rf_yylval
  ------------------
 6043|      0|	return OR;
  ------------------
  |  |  613|      0|#define OR 285
  ------------------
 6044|    104|    case LBRACE:
  ------------------
  |  |  237|    104|#define LBRACE	'{'
  ------------------
  |  Branch (6044:5): [True: 104, False: 4.85k]
  ------------------
 6045|    104|	yylval = install_and_save("{");
  ------------------
  |  | 2024|    104|# define yylval			Rf_yylval
  ------------------
 6046|    104|	return c;
 6047|    104|    case RBRACE:
  ------------------
  |  |  238|    104|#define RBRACE	'}'
  ------------------
  |  Branch (6047:5): [True: 104, False: 4.85k]
  ------------------
 6048|    104|        strcpy(yytext, "}");
 6049|    104|	return c;
 6050|  1.04k|    case '(':
  ------------------
  |  Branch (6050:5): [True: 1.04k, False: 3.91k]
  ------------------
 6051|  1.04k|	yylval = install_and_save("(");
  ------------------
  |  | 2024|  1.04k|# define yylval			Rf_yylval
  ------------------
 6052|  1.04k|	return c;
 6053|  1.04k|    case ')':
  ------------------
  |  Branch (6053:5): [True: 1.04k, False: 3.91k]
  ------------------
 6054|  1.04k|        strcpy(yytext, ")");
 6055|  1.04k|	return c;
 6056|     76|    case '[':
  ------------------
  |  Branch (6056:5): [True: 76, False: 4.87k]
  ------------------
 6057|     76|	if (nextchar('[')) {
  ------------------
  |  Branch (6057:6): [True: 44, False: 32]
  ------------------
 6058|     44|	    yylval = install_and_save("[[");
  ------------------
  |  | 2024|     44|# define yylval			Rf_yylval
  ------------------
 6059|     44|	    return LBB;
  ------------------
  |  |  597|     44|#define LBB 269
  ------------------
 6060|     44|	}
 6061|     32|	yylval = install_and_save("[");
  ------------------
  |  | 2024|     32|# define yylval			Rf_yylval
  ------------------
 6062|     32|	return c;
 6063|    120|    case ']':
  ------------------
  |  Branch (6063:5): [True: 120, False: 4.83k]
  ------------------
 6064|    120|        strcpy(yytext, "]");
 6065|    120|	return c;
 6066|      0|    case '?':
  ------------------
  |  Branch (6066:5): [True: 0, False: 4.95k]
  ------------------
 6067|      0|	yylval = install_and_save("?");
  ------------------
  |  | 2024|      0|# define yylval			Rf_yylval
  ------------------
 6068|      0|	return c;
 6069|     10|    case '*':
  ------------------
  |  Branch (6069:5): [True: 10, False: 4.94k]
  ------------------
 6070|       |	/* Replace ** by ^.  This has been here since 1998, but is
 6071|       |	   undocumented (at least in the obvious places).  It is in
 6072|       |	   the index of the Blue Book with a reference to p. 431, the
 6073|       |	   help for 'Deprecated'.  S-PLUS 6.2 still allowed this, so
 6074|       |	   presumably it was for compatibility with S. */
 6075|     10|	if (nextchar('*')) {
  ------------------
  |  Branch (6075:6): [True: 0, False: 10]
  ------------------
 6076|      0|	    yylval = install_and_save2("^", "**");
  ------------------
  |  | 2024|      0|# define yylval			Rf_yylval
  ------------------
 6077|      0|	    return '^';
 6078|      0|	} else
 6079|     10|	    yylval = install_and_save("*");
  ------------------
  |  | 2024|     10|# define yylval			Rf_yylval
  ------------------
 6080|     10|	return c;
 6081|      0|    case '+':
  ------------------
  |  Branch (6081:5): [True: 0, False: 4.95k]
  ------------------
 6082|     14|    case '/':
  ------------------
  |  Branch (6082:5): [True: 14, False: 4.94k]
  ------------------
 6083|     14|    case '^':
  ------------------
  |  Branch (6083:5): [True: 0, False: 4.95k]
  ------------------
 6084|     14|    case '~':
  ------------------
  |  Branch (6084:5): [True: 0, False: 4.95k]
  ------------------
 6085|     70|    case '$':
  ------------------
  |  Branch (6085:5): [True: 56, False: 4.89k]
  ------------------
 6086|     70|    case '@':
  ------------------
  |  Branch (6086:5): [True: 0, False: 4.95k]
  ------------------
 6087|     70|    case '\\':
  ------------------
  |  Branch (6087:5): [True: 0, False: 4.95k]
  ------------------
 6088|     70|	yytext[0] = (char) c;
 6089|     70|	yytext[1] = '\0';
 6090|     70|	yylval = install(yytext);
  ------------------
  |  | 2024|     70|# define yylval			Rf_yylval
  ------------------
              	yylval = install(yytext);
  ------------------
  |  |  934|     70|#define install			Rf_install
  ------------------
 6091|     70|	return c;
 6092|  1.08k|    case '\n':
  ------------------
  |  Branch (6092:5): [True: 1.08k, False: 3.86k]
  ------------------
 6093|  1.71k|    case ',':
  ------------------
  |  Branch (6093:5): [True: 626, False: 4.32k]
  ------------------
 6094|  1.79k|    case ';':
  ------------------
  |  Branch (6094:5): [True: 86, False: 4.86k]
  ------------------
 6095|  1.79k|	yytext[0] = (char) c;
 6096|  1.79k|	yytext[1] = '\0';
 6097|  1.79k|	return c;
 6098|      0|    default:
  ------------------
  |  Branch (6098:5): [True: 0, False: 4.95k]
  ------------------
 6099|      0|	clen = 1;
 6100|      0|	if (mbcslocale) {
  ------------------
  |  Branch (6100:6): [True: 0, False: 0]
  ------------------
 6101|       |	    // FIXME potentially need R_wchar_t with UTF-8 Windows.
 6102|      0|	    clen = mbcs_get_next(c, &wc);
 6103|      0|	    if (clen == -1)
  ------------------
  |  Branch (6103:10): [True: 0, False: 0]
  ------------------
 6104|      0|		return END_OF_INPUT; /* EOF whilst reading MBCS char */
  ------------------
  |  |  586|      0|#define END_OF_INPUT 258
  ------------------
 6105|      0|	}
 6106|      0|	DECLARE_YYTEXT_BUFP(yyp);
  ------------------
  |  | 2908|      0|#define DECLARE_YYTEXT_BUFP(bp) char *bp = yytext ;
  ------------------
 6107|      0|	YYTEXT_PUSH(c, yyp);
  ------------------
  |  | 2909|      0|#define YYTEXT_PUSH(c, bp) do { \
  |  | 2910|      0|    if ((bp) - yytext >= sizeof(yytext) - 1){ \
  |  |  ------------------
  |  |  |  Branch (2910:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 2911|      0|		raiseLexError("bufferOverflow", NO_VALUE, NULL, \
  |  |  ------------------
  |  |  |  |  311|      0|#define NO_VALUE 0
  |  |  ------------------
  |  | 2912|      0|		    _("input buffer overflow (%s:%d:%d)")); \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 2913|      0|	} \
  |  | 2914|      0|    *(bp)++ = ((char)c);			\
  |  | 2915|      0|} while(0) ;
  |  |  ------------------
  |  |  |  Branch (2915:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6108|      0|	for(i = 1; i < clen ; i++)
  ------------------
  |  Branch (6108:13): [True: 0, False: 0]
  ------------------
 6109|      0|	    YYTEXT_PUSH(xxgetc(), yyp);
  ------------------
  |  | 2909|      0|#define YYTEXT_PUSH(c, bp) do { \
  |  | 2910|      0|    if ((bp) - yytext >= sizeof(yytext) - 1){ \
  |  |  ------------------
  |  |  |  Branch (2910:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 2911|      0|		raiseLexError("bufferOverflow", NO_VALUE, NULL, \
  |  |  ------------------
  |  |  |  |  311|      0|#define NO_VALUE 0
  |  |  ------------------
  |  | 2912|      0|		    _("input buffer overflow (%s:%d:%d)")); \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 2913|      0|	} \
  |  | 2914|      0|    *(bp)++ = ((char)c);			\
  |  | 2915|      0|} while(0) ;
  |  |  ------------------
  |  |  |  Branch (2915:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6110|      0|	YYTEXT_PUSH('\0', yyp);
  ------------------
  |  | 2909|      0|#define YYTEXT_PUSH(c, bp) do { \
  |  | 2910|      0|    if ((bp) - yytext >= sizeof(yytext) - 1){ \
  |  |  ------------------
  |  |  |  Branch (2910:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 2911|      0|		raiseLexError("bufferOverflow", NO_VALUE, NULL, \
  |  |  ------------------
  |  |  |  |  311|      0|#define NO_VALUE 0
  |  |  ------------------
  |  | 2912|      0|		    _("input buffer overflow (%s:%d:%d)")); \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 2913|      0|	} \
  |  | 2914|      0|    *(bp)++ = ((char)c);			\
  |  | 2915|      0|} while(0) ;
  |  |  ------------------
  |  |  |  Branch (2915:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6111|      0|	return (clen == 1) ? c : ERROR;
  ------------------
  |  |  587|      0|#define ERROR 259
  ------------------
  |  Branch (6111:9): [True: 0, False: 0]
  ------------------
 6112|  4.95k|    }
 6113|  4.95k|}
gram.c:SkipSpace:
 4811|  8.07k|{
 4812|  8.07k|    int c;
 4813|       |
 4814|       |#if defined(USE_RI18N_FNS) // includes Win32
 4815|       |    static wctype_t blankwct = 0;
 4816|       |    if (!blankwct)
 4817|       |	blankwct = Ri18n_wctype("blank");
 4818|       |#endif
 4819|       |
 4820|       |#ifdef Win32
 4821|       |    if(!mbcslocale) { /* 0xa0 is NBSP in all 8-bit Windows locales */
 4822|       |	while ((c = xxgetc()) == ' ' || c == '\t' || c == '\f' ||
 4823|       |	       (unsigned int) c == 0xa0) {};
 4824|       |	return c;
 4825|       |    } else {
 4826|       |	int i, clen;
 4827|       |	wchar_t wc;
 4828|       |	while (1) {
 4829|       |	    c = xxgetc();
 4830|       |	    if (c == ' ' || c == '\t' || c == '\f') continue;
 4831|       |	    if (c == '\n' || c == R_EOF) break;
 4832|       |	    if ((unsigned int) c < 0x80) break;
 4833|       |	    clen = mbcs_get_next(c, &wc);  /* always 2 */
 4834|       |	    if (clen == -1) { /* EOF whilst reading MBCS char */
 4835|       |		xxungetc(c);
 4836|       |		c = R_EOF;
 4837|       |		break;
 4838|       |	    }
 4839|       |	    if(! Ri18n_iswctype(wc, blankwct) ) break;
 4840|       |	    for(i = 1; i < clen; i++) c = xxgetc();
 4841|       |	}
 4842|       |	return c;
 4843|       |    }
 4844|       |#endif
 4845|  8.07k|#if defined(__STDC_ISO_10646__)
 4846|  8.07k|    if(mbcslocale) { /* wctype functions need Unicode wchar_t */
  ------------------
  |  Branch (4846:8): [True: 0, False: 8.07k]
  ------------------
 4847|      0|	int i, clen;
 4848|      0|	wchar_t wc;
 4849|      0|	while (1) {
  ------------------
  |  Branch (4849:9): [True: 0, Folded]
  ------------------
 4850|      0|	    c = xxgetc();
 4851|      0|	    if (c == ' ' || c == '\t' || c == '\f') continue;
  ------------------
  |  Branch (4851:10): [True: 0, False: 0]
  |  Branch (4851:22): [True: 0, False: 0]
  |  Branch (4851:35): [True: 0, False: 0]
  ------------------
 4852|      0|	    if (c == '\n' || c == R_EOF) break;
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
  |  Branch (4852:10): [True: 0, False: 0]
  |  Branch (4852:23): [True: 0, False: 0]
  ------------------
 4853|      0|	    if ((unsigned int) c < 0x80) break;
  ------------------
  |  Branch (4853:10): [True: 0, False: 0]
  ------------------
 4854|      0|	    clen = mbcs_get_next(c, &wc);
 4855|      0|	    if (clen == -1) { /* EOF whilst reading MBCS char */
  ------------------
  |  Branch (4855:10): [True: 0, False: 0]
  ------------------
 4856|      0|		xxungetc(c);
 4857|      0|		c = R_EOF;
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
 4858|      0|		break;
 4859|      0|	    }
 4860|       |#if defined(USE_RI18N_FNS)
 4861|       |	    if(! Ri18n_iswctype(wc, blankwct) ) break;
 4862|       |#else
 4863|      0|	    if(! iswblank(wc) ) break;
  ------------------
  |  Branch (4863:9): [True: 0, False: 0]
  ------------------
 4864|      0|#endif
 4865|      0|	    for(i = 1; i < clen; i++) c = xxgetc();
  ------------------
  |  Branch (4865:17): [True: 0, False: 0]
  ------------------
 4866|      0|	}
 4867|      0|    } else
 4868|  8.07k|#endif
 4869|       |	// does not support non-ASCII spaces, unlike Windows
 4870|  13.3k|	while ((c = xxgetc()) == ' ' || c == '\t' || c == '\f') {};
  ------------------
  |  Branch (4870:9): [True: 5.30k, False: 8.07k]
  |  Branch (4870:34): [True: 4, False: 8.07k]
  |  Branch (4870:47): [True: 0, False: 8.07k]
  ------------------
 4871|  8.07k|    return c;
 4872|  8.07k|}
gram.c:xxungetc:
 2967|  3.83k|{
 2968|       |    /* this assumes that c was the result of xxgetc; if not, some edits will be needed */
 2969|  3.83k|    ParseState.xxlineno = prevlines[prevpos];
 2970|  3.83k|    ParseState.xxbyteno = prevbytes[prevpos];
 2971|  3.83k|    ParseState.xxcolno  = prevcols[prevpos];
 2972|  3.83k|    ParseState.xxparseno = prevparse[prevpos];
 2973|       |    
 2974|  3.83k|    prevpos = (prevpos + PUSHBACK_BUFSIZE - 1) % PUSHBACK_BUFSIZE;
  ------------------
  |  | 2917|  3.83k|#define PUSHBACK_BUFSIZE 16
  ------------------
                  prevpos = (prevpos + PUSHBACK_BUFSIZE - 1) % PUSHBACK_BUFSIZE;
  ------------------
  |  | 2917|  3.83k|#define PUSHBACK_BUFSIZE 16
  ------------------
 2975|       |
 2976|  3.83k|    R_ParseContextLine = ParseState.xxlineno;
 2977|       |
 2978|  3.83k|    xxcharcount--;
 2979|  3.83k|    R_ParseContext[R_ParseContextLast] = '\0';
 2980|       |    /* precaution as to how % is implemented for < 0 numbers */
 2981|  3.83k|    R_ParseContextLast = (R_ParseContextLast + PARSE_CONTEXT_SIZE -1) % PARSE_CONTEXT_SIZE;
  ------------------
  |  |  112|  3.83k|#define PARSE_CONTEXT_SIZE 256	    /* Recent parse context kept in a circular buffer */
  ------------------
                  R_ParseContextLast = (R_ParseContextLast + PARSE_CONTEXT_SIZE -1) % PARSE_CONTEXT_SIZE;
  ------------------
  |  |  112|  3.83k|#define PARSE_CONTEXT_SIZE 256	    /* Recent parse context kept in a circular buffer */
  ------------------
 2982|  3.83k|    if(npush >= PUSHBACK_BUFSIZE) return EOF;
  ------------------
  |  | 2917|  3.83k|#define PUSHBACK_BUFSIZE 16
  ------------------
  |  Branch (2982:8): [True: 0, False: 3.83k]
  ------------------
 2983|  3.83k|    pushback[npush++] = c;
 2984|  3.83k|    return c;
 2985|  3.83k|}
gram.c:SkipComment:
 4881|    380|{
 4882|    380|    int c='#', i;
 4883|       |    
 4884|       |    /* locations before the # character was read */
 4885|    380|    int _first_column = ParseState.xxcolno ;
 4886|    380|    int _first_parsed = ParseState.xxparseno ;
 4887|    380|    int type = COMMENT ;
  ------------------
  |  |  618|    380|#define COMMENT 290
  ------------------
 4888|       |
 4889|    380|    bool maybeLine = (ParseState.xxcolno == 1);
 4890|    380|    bool doSave;
 4891|       |
 4892|    380|    DECLARE_YYTEXT_BUFP(yyp);
  ------------------
  |  | 2908|    380|#define DECLARE_YYTEXT_BUFP(bp) char *bp = yytext ;
  ------------------
 4893|       |    
 4894|    380|    if (maybeLine) {
  ------------------
  |  Branch (4894:9): [True: 304, False: 76]
  ------------------
 4895|    304|    	char lineDirective[] = "#line";
 4896|    304|    	YYTEXT_PUSH(c, yyp);
  ------------------
  |  | 2909|    304|#define YYTEXT_PUSH(c, bp) do { \
  |  | 2910|    304|    if ((bp) - yytext >= sizeof(yytext) - 1){ \
  |  |  ------------------
  |  |  |  Branch (2910:9): [True: 0, False: 304]
  |  |  ------------------
  |  | 2911|      0|		raiseLexError("bufferOverflow", NO_VALUE, NULL, \
  |  |  ------------------
  |  |  |  |  311|      0|#define NO_VALUE 0
  |  |  ------------------
  |  | 2912|      0|		    _("input buffer overflow (%s:%d:%d)")); \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 2913|      0|	} \
  |  | 2914|    304|    *(bp)++ = ((char)c);			\
  |  | 2915|    304|} while(0) ;
  |  |  ------------------
  |  |  |  Branch (2915:9): [Folded, False: 304]
  |  |  ------------------
  ------------------
 4897|    304|    	for (i=1; i<5; i++) {
  ------------------
  |  Branch (4897:16): [True: 304, False: 0]
  ------------------
 4898|    304|    	    c = xxgetc();
 4899|    304|  	    if (c != (int)(lineDirective[i])) {
  ------------------
  |  Branch (4899:12): [True: 304, False: 0]
  ------------------
 4900|    304|  	    	maybeLine = false;
 4901|    304|  	    	break;
 4902|    304|  	    }
 4903|      0|            YYTEXT_PUSH(c, yyp);
  ------------------
  |  | 2909|      0|#define YYTEXT_PUSH(c, bp) do { \
  |  | 2910|      0|    if ((bp) - yytext >= sizeof(yytext) - 1){ \
  |  |  ------------------
  |  |  |  Branch (2910:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 2911|      0|		raiseLexError("bufferOverflow", NO_VALUE, NULL, \
  |  |  ------------------
  |  |  |  |  311|      0|#define NO_VALUE 0
  |  |  ------------------
  |  | 2912|      0|		    _("input buffer overflow (%s:%d:%d)")); \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 2913|      0|	} \
  |  | 2914|      0|    *(bp)++ = ((char)c);			\
  |  | 2915|      0|} while(0) ;
  |  |  ------------------
  |  |  |  Branch (2915:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4904|      0|  	}
 4905|    304|  	if (maybeLine)     
  ------------------
  |  Branch (4905:8): [True: 0, False: 304]
  ------------------
 4906|      0|	    c = processLineDirective(&type);
 4907|    304|    }
 4908|       |    // we want to track down the character
 4909|       |    // __before__ the new line character
 4910|    380|    int _last_column  = ParseState.xxcolno ;
 4911|    380|    int _last_parsed  = ParseState.xxparseno ;
 4912|       |    
 4913|    380|    if (c == '\n') {
  ------------------
  |  Branch (4913:9): [True: 56, False: 324]
  ------------------
 4914|     56|        _last_column = prevcols[prevpos];
 4915|     56|        _last_parsed = prevparse[prevpos];
 4916|     56|    }
 4917|       |    
 4918|    380|    doSave = !maybeLine;
 4919|       |    
 4920|  16.1k|    while (c != '\n' && c != R_EOF) {
  ------------------
  |  | 1531|  15.7k|#define R_EOF	-1
  ------------------
  |  Branch (4920:12): [True: 15.7k, False: 380]
  |  Branch (4920:25): [True: 15.7k, False: 0]
  ------------------
 4921|       |        // Comments can be any length; we only record the ones that fit in yytext.
 4922|  15.7k|        if (doSave) {
  ------------------
  |  Branch (4922:13): [True: 15.7k, False: 0]
  ------------------
 4923|  15.7k|            YYTEXT_PUSH(c, yyp);
  ------------------
  |  | 2909|  15.7k|#define YYTEXT_PUSH(c, bp) do { \
  |  | 2910|  15.7k|    if ((bp) - yytext >= sizeof(yytext) - 1){ \
  |  |  ------------------
  |  |  |  Branch (2910:9): [True: 0, False: 15.7k]
  |  |  ------------------
  |  | 2911|      0|		raiseLexError("bufferOverflow", NO_VALUE, NULL, \
  |  |  ------------------
  |  |  |  |  311|      0|#define NO_VALUE 0
  |  |  ------------------
  |  | 2912|      0|		    _("input buffer overflow (%s:%d:%d)")); \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 2913|      0|	} \
  |  | 2914|  15.7k|    *(bp)++ = ((char)c);			\
  |  | 2915|  15.7k|} while(0) ;
  |  |  ------------------
  |  |  |  Branch (2915:9): [Folded, False: 15.7k]
  |  |  ------------------
  ------------------
 4924|  15.7k|            doSave = (yyp - yytext) < sizeof(yytext) - 2;
 4925|  15.7k|        }
 4926|  15.7k| 	_last_column = ParseState.xxcolno ;
 4927|  15.7k|	_last_parsed = ParseState.xxparseno ;
 4928|  15.7k|	c = xxgetc();
 4929|  15.7k|    }
 4930|    380|    if (c == R_EOF) EndOfFile = 2;
  ------------------
  |  | 1531|    380|#define R_EOF	-1
  ------------------
  |  Branch (4930:9): [True: 0, False: 380]
  ------------------
 4931|    380|    incrementId( ) ;
 4932|    380|    YYTEXT_PUSH('\0', yyp);
  ------------------
  |  | 2909|    380|#define YYTEXT_PUSH(c, bp) do { \
  |  | 2910|    380|    if ((bp) - yytext >= sizeof(yytext) - 1){ \
  |  |  ------------------
  |  |  |  Branch (2910:9): [True: 0, False: 380]
  |  |  ------------------
  |  | 2911|      0|		raiseLexError("bufferOverflow", NO_VALUE, NULL, \
  |  |  ------------------
  |  |  |  |  311|      0|#define NO_VALUE 0
  |  |  ------------------
  |  | 2912|      0|		    _("input buffer overflow (%s:%d:%d)")); \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 2913|      0|	} \
  |  | 2914|    380|    *(bp)++ = ((char)c);			\
  |  | 2915|    380|} while(0) ;
  |  |  ------------------
  |  |  |  Branch (2915:9): [Folded, False: 380]
  |  |  ------------------
  ------------------
 4933|    380|    record_( _first_parsed, _first_column, _last_parsed, _last_column,
 4934|    380|	     type, identifier, doSave ? yytext : 0 ) ;
  ------------------
  |  Branch (4934:25): [True: 380, False: 0]
  ------------------
 4935|    380|    return c;
 4936|    380|}
gram.c:typeofnext:
 4498|    138|{
 4499|    138|    int k, c;
 4500|       |
 4501|    138|    c = xxgetc();
 4502|    138|    if (isdigit(c)) k = 1; else k = 2;
  ------------------
  |  Branch (4502:9): [True: 0, False: 138]
  ------------------
 4503|    138|    xxungetc(c);
 4504|    138|    return k;
 4505|    138|}
gram.c:NumericValue:
 4939|    200|{
 4940|    200|    int seendot = (c == '.');
 4941|    200|    int seenexp = 0;
 4942|    200|    int last = c;
 4943|    200|    int nd = 0;
 4944|    200|    int asNumeric = 0;
 4945|    200|    int count = 1; /* The number of characters seen */
 4946|       |
 4947|    200|    DECLARE_YYTEXT_BUFP(yyp);
  ------------------
  |  | 2908|    200|#define DECLARE_YYTEXT_BUFP(bp) char *bp = yytext ;
  ------------------
 4948|    200|    YYTEXT_PUSH(c, yyp);
  ------------------
  |  | 2909|    200|#define YYTEXT_PUSH(c, bp) do { \
  |  | 2910|    200|    if ((bp) - yytext >= sizeof(yytext) - 1){ \
  |  |  ------------------
  |  |  |  Branch (2910:9): [True: 0, False: 200]
  |  |  ------------------
  |  | 2911|      0|		raiseLexError("bufferOverflow", NO_VALUE, NULL, \
  |  |  ------------------
  |  |  |  |  311|      0|#define NO_VALUE 0
  |  |  ------------------
  |  | 2912|      0|		    _("input buffer overflow (%s:%d:%d)")); \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 2913|      0|	} \
  |  | 2914|    200|    *(bp)++ = ((char)c);			\
  |  | 2915|    200|} while(0) ;
  |  |  ------------------
  |  |  |  Branch (2915:9): [Folded, False: 200]
  |  |  ------------------
  ------------------
 4949|       |    /* We don't care about other than ASCII digits */
 4950|    334|    while (isdigit(c = xxgetc()) || c == '.' || c == 'e' || c == 'E'
  ------------------
  |  Branch (4950:12): [True: 120, False: 214]
  |  Branch (4950:37): [True: 10, False: 204]
  |  Branch (4950:49): [True: 4, False: 200]
  |  Branch (4950:61): [True: 0, False: 200]
  ------------------
 4951|    200|	   || c == 'x' || c == 'X' || c == 'L')
  ------------------
  |  Branch (4951:8): [True: 0, False: 200]
  |  Branch (4951:20): [True: 0, False: 200]
  |  Branch (4951:32): [True: 66, False: 134]
  ------------------
 4952|    200|    {
 4953|    200|	count++;
 4954|    200|	if (c == 'L') /* must be at the end.  Won't allow 1Le3 (at present). */
  ------------------
  |  Branch (4954:6): [True: 66, False: 134]
  ------------------
 4955|     66|	{   YYTEXT_PUSH(c, yyp);
  ------------------
  |  | 2909|     66|#define YYTEXT_PUSH(c, bp) do { \
  |  | 2910|     66|    if ((bp) - yytext >= sizeof(yytext) - 1){ \
  |  |  ------------------
  |  |  |  Branch (2910:9): [True: 0, False: 66]
  |  |  ------------------
  |  | 2911|      0|		raiseLexError("bufferOverflow", NO_VALUE, NULL, \
  |  |  ------------------
  |  |  |  |  311|      0|#define NO_VALUE 0
  |  |  ------------------
  |  | 2912|      0|		    _("input buffer overflow (%s:%d:%d)")); \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 2913|      0|	} \
  |  | 2914|     66|    *(bp)++ = ((char)c);			\
  |  | 2915|     66|} while(0) ;
  |  |  ------------------
  |  |  |  Branch (2915:9): [Folded, False: 66]
  |  |  ------------------
  ------------------
 4956|     66|	    break;
 4957|     66|	}
 4958|       |	
 4959|    134|	if (c == 'x' || c == 'X') {
  ------------------
  |  Branch (4959:6): [True: 0, False: 134]
  |  Branch (4959:18): [True: 0, False: 134]
  ------------------
 4960|      0|	    if (count > 2 || last != '0') break;  /* 0x must be first */
  ------------------
  |  Branch (4960:10): [True: 0, False: 0]
  |  Branch (4960:23): [True: 0, False: 0]
  ------------------
 4961|      0|	    YYTEXT_PUSH(c, yyp);
  ------------------
  |  | 2909|      0|#define YYTEXT_PUSH(c, bp) do { \
  |  | 2910|      0|    if ((bp) - yytext >= sizeof(yytext) - 1){ \
  |  |  ------------------
  |  |  |  Branch (2910:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 2911|      0|		raiseLexError("bufferOverflow", NO_VALUE, NULL, \
  |  |  ------------------
  |  |  |  |  311|      0|#define NO_VALUE 0
  |  |  ------------------
  |  | 2912|      0|		    _("input buffer overflow (%s:%d:%d)")); \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 2913|      0|	} \
  |  | 2914|      0|    *(bp)++ = ((char)c);			\
  |  | 2915|      0|} while(0) ;
  |  |  ------------------
  |  |  |  Branch (2915:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4962|      0|	    while(isdigit(c = xxgetc()) || ('a' <= c && c <= 'f') ||
  ------------------
  |  Branch (4962:12): [True: 0, False: 0]
  |  Branch (4962:38): [True: 0, False: 0]
  |  Branch (4962:50): [True: 0, False: 0]
  ------------------
 4963|      0|		  ('A' <= c && c <= 'F') || c == '.') {
  ------------------
  |  Branch (4963:6): [True: 0, False: 0]
  |  Branch (4963:18): [True: 0, False: 0]
  |  Branch (4963:31): [True: 0, False: 0]
  ------------------
 4964|      0|		if (c == '.') {
  ------------------
  |  Branch (4964:7): [True: 0, False: 0]
  ------------------
 4965|      0|		    if (seendot) return ERROR;
  ------------------
  |  |  587|      0|#define ERROR 259
  ------------------
  |  Branch (4965:11): [True: 0, False: 0]
  ------------------
 4966|      0|		    seendot = 1;
 4967|      0|		}
 4968|      0|		YYTEXT_PUSH(c, yyp);
  ------------------
  |  | 2909|      0|#define YYTEXT_PUSH(c, bp) do { \
  |  | 2910|      0|    if ((bp) - yytext >= sizeof(yytext) - 1){ \
  |  |  ------------------
  |  |  |  Branch (2910:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 2911|      0|		raiseLexError("bufferOverflow", NO_VALUE, NULL, \
  |  |  ------------------
  |  |  |  |  311|      0|#define NO_VALUE 0
  |  |  ------------------
  |  | 2912|      0|		    _("input buffer overflow (%s:%d:%d)")); \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 2913|      0|	} \
  |  | 2914|      0|    *(bp)++ = ((char)c);			\
  |  | 2915|      0|} while(0) ;
  |  |  ------------------
  |  |  |  Branch (2915:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4969|      0|		nd++;
 4970|      0|	    }
 4971|      0|	    if (nd == 0) return ERROR;
  ------------------
  |  |  587|      0|#define ERROR 259
  ------------------
  |  Branch (4971:10): [True: 0, False: 0]
  ------------------
 4972|      0|	    if (c == 'p' || c == 'P') {
  ------------------
  |  Branch (4972:10): [True: 0, False: 0]
  |  Branch (4972:22): [True: 0, False: 0]
  ------------------
 4973|      0|	        seenexp = 1;
 4974|      0|		YYTEXT_PUSH(c, yyp);
  ------------------
  |  | 2909|      0|#define YYTEXT_PUSH(c, bp) do { \
  |  | 2910|      0|    if ((bp) - yytext >= sizeof(yytext) - 1){ \
  |  |  ------------------
  |  |  |  Branch (2910:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 2911|      0|		raiseLexError("bufferOverflow", NO_VALUE, NULL, \
  |  |  ------------------
  |  |  |  |  311|      0|#define NO_VALUE 0
  |  |  ------------------
  |  | 2912|      0|		    _("input buffer overflow (%s:%d:%d)")); \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 2913|      0|	} \
  |  | 2914|      0|    *(bp)++ = ((char)c);			\
  |  | 2915|      0|} while(0) ;
  |  |  ------------------
  |  |  |  Branch (2915:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4975|      0|		c = xxgetc();
 4976|      0|		if (!isdigit(c) && c != '+' && c != '-') return ERROR;
  ------------------
  |  |  587|      0|#define ERROR 259
  ------------------
  |  Branch (4976:7): [True: 0, False: 0]
  |  Branch (4976:22): [True: 0, False: 0]
  |  Branch (4976:34): [True: 0, False: 0]
  ------------------
 4977|      0|		if (c == '+' || c == '-') {
  ------------------
  |  Branch (4977:7): [True: 0, False: 0]
  |  Branch (4977:19): [True: 0, False: 0]
  ------------------
 4978|      0|		    YYTEXT_PUSH(c, yyp);
  ------------------
  |  | 2909|      0|#define YYTEXT_PUSH(c, bp) do { \
  |  | 2910|      0|    if ((bp) - yytext >= sizeof(yytext) - 1){ \
  |  |  ------------------
  |  |  |  Branch (2910:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 2911|      0|		raiseLexError("bufferOverflow", NO_VALUE, NULL, \
  |  |  ------------------
  |  |  |  |  311|      0|#define NO_VALUE 0
  |  |  ------------------
  |  | 2912|      0|		    _("input buffer overflow (%s:%d:%d)")); \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 2913|      0|	} \
  |  | 2914|      0|    *(bp)++ = ((char)c);			\
  |  | 2915|      0|} while(0) ;
  |  |  ------------------
  |  |  |  Branch (2915:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4979|      0|		    c = xxgetc();
 4980|      0|		}
 4981|      0|		for(nd = 0; isdigit(c); c = xxgetc(), nd++)
  ------------------
  |  Branch (4981:15): [True: 0, False: 0]
  ------------------
 4982|      0|		    YYTEXT_PUSH(c, yyp);
  ------------------
  |  | 2909|      0|#define YYTEXT_PUSH(c, bp) do { \
  |  | 2910|      0|    if ((bp) - yytext >= sizeof(yytext) - 1){ \
  |  |  ------------------
  |  |  |  Branch (2910:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 2911|      0|		raiseLexError("bufferOverflow", NO_VALUE, NULL, \
  |  |  ------------------
  |  |  |  |  311|      0|#define NO_VALUE 0
  |  |  ------------------
  |  | 2912|      0|		    _("input buffer overflow (%s:%d:%d)")); \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 2913|      0|	} \
  |  | 2914|      0|    *(bp)++ = ((char)c);			\
  |  | 2915|      0|} while(0) ;
  |  |  ------------------
  |  |  |  Branch (2915:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4983|      0|		if (nd == 0) return ERROR;
  ------------------
  |  |  587|      0|#define ERROR 259
  ------------------
  |  Branch (4983:7): [True: 0, False: 0]
  ------------------
 4984|      0|	    }
 4985|       |// ?NumericComstants says exponent is optional (as does C99)
 4986|       |//            if (seendot && !seenexp) return ERROR;
 4987|      0|	    if (c == 'L') /* for getParseData */
  ------------------
  |  Branch (4987:10): [True: 0, False: 0]
  ------------------
 4988|      0|	    {
 4989|       |		// seenexp will be checked later
 4990|      0|		YYTEXT_PUSH(c, yyp);
  ------------------
  |  | 2909|      0|#define YYTEXT_PUSH(c, bp) do { \
  |  | 2910|      0|    if ((bp) - yytext >= sizeof(yytext) - 1){ \
  |  |  ------------------
  |  |  |  Branch (2910:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 2911|      0|		raiseLexError("bufferOverflow", NO_VALUE, NULL, \
  |  |  ------------------
  |  |  |  |  311|      0|#define NO_VALUE 0
  |  |  ------------------
  |  | 2912|      0|		    _("input buffer overflow (%s:%d:%d)")); \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 2913|      0|	} \
  |  | 2914|      0|    *(bp)++ = ((char)c);			\
  |  | 2915|      0|} while(0) ;
  |  |  ------------------
  |  |  |  Branch (2915:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4991|      0|		break;
 4992|      0|	    }
 4993|      0|	    break;
 4994|      0|	}
 4995|    134|	if (c == 'E' || c == 'e') {
  ------------------
  |  Branch (4995:6): [True: 0, False: 134]
  |  Branch (4995:18): [True: 4, False: 130]
  ------------------
 4996|      4|	    if (seenexp)
  ------------------
  |  Branch (4996:10): [True: 0, False: 4]
  ------------------
 4997|      0|		break;
 4998|      4|	    seenexp = 1;
 4999|      4|	    seendot = seendot == 1 ? seendot : 2;
  ------------------
  |  Branch (4999:16): [True: 0, False: 4]
  ------------------
 5000|      4|	    YYTEXT_PUSH(c, yyp);
  ------------------
  |  | 2909|      4|#define YYTEXT_PUSH(c, bp) do { \
  |  | 2910|      4|    if ((bp) - yytext >= sizeof(yytext) - 1){ \
  |  |  ------------------
  |  |  |  Branch (2910:9): [True: 0, False: 4]
  |  |  ------------------
  |  | 2911|      0|		raiseLexError("bufferOverflow", NO_VALUE, NULL, \
  |  |  ------------------
  |  |  |  |  311|      0|#define NO_VALUE 0
  |  |  ------------------
  |  | 2912|      0|		    _("input buffer overflow (%s:%d:%d)")); \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 2913|      0|	} \
  |  | 2914|      4|    *(bp)++ = ((char)c);			\
  |  | 2915|      4|} while(0) ;
  |  |  ------------------
  |  |  |  Branch (2915:9): [Folded, False: 4]
  |  |  ------------------
  ------------------
 5001|      4|	    c = xxgetc();
 5002|      4|	    if (!isdigit(c) && c != '+' && c != '-') return ERROR;
  ------------------
  |  |  587|      0|#define ERROR 259
  ------------------
  |  Branch (5002:10): [True: 0, False: 4]
  |  Branch (5002:25): [True: 0, False: 0]
  |  Branch (5002:37): [True: 0, False: 0]
  ------------------
 5003|      4|	    if (c == '+' || c == '-') {
  ------------------
  |  Branch (5003:10): [True: 0, False: 4]
  |  Branch (5003:22): [True: 0, False: 4]
  ------------------
 5004|      0|		YYTEXT_PUSH(c, yyp);
  ------------------
  |  | 2909|      0|#define YYTEXT_PUSH(c, bp) do { \
  |  | 2910|      0|    if ((bp) - yytext >= sizeof(yytext) - 1){ \
  |  |  ------------------
  |  |  |  Branch (2910:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 2911|      0|		raiseLexError("bufferOverflow", NO_VALUE, NULL, \
  |  |  ------------------
  |  |  |  |  311|      0|#define NO_VALUE 0
  |  |  ------------------
  |  | 2912|      0|		    _("input buffer overflow (%s:%d:%d)")); \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 2913|      0|	} \
  |  | 2914|      0|    *(bp)++ = ((char)c);			\
  |  | 2915|      0|} while(0) ;
  |  |  ------------------
  |  |  |  Branch (2915:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5005|      0|		c = xxgetc();
 5006|      0|		if (!isdigit(c)) return ERROR;
  ------------------
  |  |  587|      0|#define ERROR 259
  ------------------
  |  Branch (5006:7): [True: 0, False: 0]
  ------------------
 5007|      0|	    }
 5008|      4|	}
 5009|    134|	if (c == '.') {
  ------------------
  |  Branch (5009:6): [True: 10, False: 124]
  ------------------
 5010|     10|	    if (seendot)
  ------------------
  |  Branch (5010:10): [True: 0, False: 10]
  ------------------
 5011|      0|		break;
 5012|     10|	    seendot = 1;
 5013|     10|	}
 5014|    134|	YYTEXT_PUSH(c, yyp);
  ------------------
  |  | 2909|    134|#define YYTEXT_PUSH(c, bp) do { \
  |  | 2910|    134|    if ((bp) - yytext >= sizeof(yytext) - 1){ \
  |  |  ------------------
  |  |  |  Branch (2910:9): [True: 0, False: 134]
  |  |  ------------------
  |  | 2911|      0|		raiseLexError("bufferOverflow", NO_VALUE, NULL, \
  |  |  ------------------
  |  |  |  |  311|      0|#define NO_VALUE 0
  |  |  ------------------
  |  | 2912|      0|		    _("input buffer overflow (%s:%d:%d)")); \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 2913|      0|	} \
  |  | 2914|    134|    *(bp)++ = ((char)c);			\
  |  | 2915|    134|} while(0) ;
  |  |  ------------------
  |  |  |  Branch (2915:9): [Folded, False: 134]
  |  |  ------------------
  ------------------
 5015|    134|	last = c;
 5016|    134|    }
 5017|       |    
 5018|    200|    if(c == 'i')
  ------------------
  |  Branch (5018:8): [True: 0, False: 200]
  ------------------
 5019|      0|	YYTEXT_PUSH(c, yyp); /* for getParseData */
  ------------------
  |  | 2909|      0|#define YYTEXT_PUSH(c, bp) do { \
  |  | 2910|      0|    if ((bp) - yytext >= sizeof(yytext) - 1){ \
  |  |  ------------------
  |  |  |  Branch (2910:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 2911|      0|		raiseLexError("bufferOverflow", NO_VALUE, NULL, \
  |  |  ------------------
  |  |  |  |  311|      0|#define NO_VALUE 0
  |  |  ------------------
  |  | 2912|      0|		    _("input buffer overflow (%s:%d:%d)")); \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 2913|      0|	} \
  |  | 2914|      0|    *(bp)++ = ((char)c);			\
  |  | 2915|      0|} while(0) ;
  |  |  ------------------
  |  |  |  Branch (2915:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5020|       |	
 5021|    200|    YYTEXT_PUSH('\0', yyp);    
  ------------------
  |  | 2909|    200|#define YYTEXT_PUSH(c, bp) do { \
  |  | 2910|    200|    if ((bp) - yytext >= sizeof(yytext) - 1){ \
  |  |  ------------------
  |  |  |  Branch (2910:9): [True: 0, False: 200]
  |  |  ------------------
  |  | 2911|      0|		raiseLexError("bufferOverflow", NO_VALUE, NULL, \
  |  |  ------------------
  |  |  |  |  311|      0|#define NO_VALUE 0
  |  |  ------------------
  |  | 2912|      0|		    _("input buffer overflow (%s:%d:%d)")); \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 2913|      0|	} \
  |  | 2914|    200|    *(bp)++ = ((char)c);			\
  |  | 2915|    200|} while(0) ;
  |  |  ------------------
  |  |  |  Branch (2915:9): [Folded, False: 200]
  |  |  ------------------
  ------------------
 5022|       |    /* Make certain that things are okay. */
 5023|    200|    if(c == 'L') {
  ------------------
  |  Branch (5023:8): [True: 66, False: 134]
  ------------------
 5024|     66|	double a = R_atof(yytext);
 5025|       |	/* We are asked to create an integer via the L, so we check that the
 5026|       |	   double and int values are the same. If not, this is a problem and we
 5027|       |	   will not lose information and so use the numeric value.
 5028|       |	   The range test comes first, as (int) a is undefined outside it.
 5029|       |	*/
 5030|     66|	if(a < INT_MIN || a > INT_MAX || a != (int) a) {
  ------------------
  |  Branch (5030:5): [True: 0, False: 66]
  |  Branch (5030:20): [True: 0, False: 66]
  |  Branch (5030:35): [True: 0, False: 66]
  ------------------
 5031|      0|	    if(GenerateCode) {
  ------------------
  |  Branch (5031:9): [True: 0, False: 0]
  ------------------
 5032|      0|		if(seendot == 1 && seenexp == 0)
  ------------------
  |  Branch (5032:6): [True: 0, False: 0]
  |  Branch (5032:22): [True: 0, False: 0]
  ------------------
 5033|      0|		    warning(_("integer literal %s contains decimal; using numeric value"), yytext);
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              		    warning(_("integer literal %s contains decimal; using numeric value"), yytext);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 5034|      0|		else {
 5035|       |		    /* hide the L for the warning message */
 5036|      0|		    warning(_("non-integer value %s qualified with L; using numeric value"), yytext);
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              		    warning(_("non-integer value %s qualified with L; using numeric value"), yytext);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 5037|      0|		}
 5038|      0|	    }
 5039|      0|	    asNumeric = 1;
 5040|      0|	    seenexp = 1;
 5041|      0|	}
 5042|     66|    }
 5043|       |
 5044|    200|    if(c == 'i') {
  ------------------
  |  Branch (5044:8): [True: 0, False: 200]
  ------------------
 5045|      0|	yylval = GenerateCode ? mkComplex(yytext) : R_NilValue;
  ------------------
  |  | 2024|      0|# define yylval			Rf_yylval
  ------------------
  |  Branch (5045:11): [True: 0, False: 0]
  ------------------
 5046|    200|    } else if(c == 'L' && asNumeric == 0) {
  ------------------
  |  Branch (5046:15): [True: 66, False: 134]
  |  Branch (5046:27): [True: 66, False: 0]
  ------------------
 5047|     66|	if(GenerateCode && seendot == 1 && seenexp == 0)
  ------------------
  |  Branch (5047:5): [True: 66, False: 0]
  |  Branch (5047:21): [True: 0, False: 66]
  |  Branch (5047:37): [True: 0, False: 0]
  ------------------
 5048|      0|	    warning(_("integer literal %s contains unnecessary decimal point"), yytext);
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	    warning(_("integer literal %s contains unnecessary decimal point"), yytext);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 5049|     66|	yylval = GenerateCode ? mkInt(yytext) : R_NilValue;
  ------------------
  |  | 2024|     66|# define yylval			Rf_yylval
  ------------------
  |  Branch (5049:11): [True: 66, False: 0]
  ------------------
 5050|       |#if 0  /* do this to make 123 integer not double */
 5051|       |    } else if(!(seendot || seenexp)) {
 5052|       |	if(c != 'L') xxungetc(c);
 5053|       |	if (GenerateCode) {
 5054|       |	    double a = R_atof(yytext);
 5055|       |	    int b = (int) a;
 5056|       |	    yylval = (a != (double) b) ? mkFloat(yytext) : mkInt(yytext);
 5057|       |	} else yylval = R_NilValue;
 5058|       |#endif
 5059|    134|    } else {
 5060|    134|	if(c != 'L')
  ------------------
  |  Branch (5060:5): [True: 134, False: 0]
  ------------------
 5061|    134|	    xxungetc(c);
 5062|    134|	yylval = GenerateCode ? mkFloat(yytext) : R_NilValue;
  ------------------
  |  | 2024|    134|# define yylval			Rf_yylval
  ------------------
  |  Branch (5062:11): [True: 134, False: 0]
  ------------------
 5063|    134|    }
 5064|       |
 5065|    200|    PRESERVE_SV(yylval);
  ------------------
  |  |  350|    200|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|    200|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 5066|    200|    return NUM_CONST;
  ------------------
  |  |  589|    200|#define NUM_CONST 261
  ------------------
 5067|    200|}
gram.c:mkInt:
 4627|     66|{
 4628|     66|    double f = R_atof(s);  /* or R_strtol? */
 4629|     66|    return ScalarInteger((int) f);
  ------------------
  |  | 1022|     66|#define ScalarInteger		Rf_ScalarInteger
  ------------------
 4630|     66|}
gram.c:mkFloat:
 4622|    134|{
 4623|    134|    return ScalarReal(R_atof(s));
  ------------------
  |  | 1024|    134|#define ScalarReal		Rf_ScalarReal
  ------------------
 4624|    134|}
gram.c:nextchar:
 4508|  1.41k|{
 4509|  1.41k|    int c = xxgetc();
 4510|  1.41k|    if (c == expect)
  ------------------
  |  Branch (4510:9): [True: 376, False: 1.03k]
  ------------------
 4511|    376|	return 1;
 4512|  1.03k|    else
 4513|  1.03k|	xxungetc(c);
 4514|  1.03k|    return 0;
 4515|  1.41k|}
gram.c:mkString2:
 3485|    286|{
 3486|    286|    SEXP t;
 3487|    286|    cetype_t enc = CE_NATIVE;
 3488|       |
 3489|    286|    if(known_to_be_latin1) enc = CE_LATIN1;
  ------------------
  |  Branch (3489:8): [True: 0, False: 286]
  ------------------
 3490|    286|    else if(!escaped && known_to_be_utf8) enc = CE_UTF8;
  ------------------
  |  Branch (3490:13): [True: 286, False: 0]
  |  Branch (3490:25): [True: 0, False: 286]
  ------------------
 3491|       |
 3492|    286|    PROTECT(t = allocVector(STRSXP, 1));
  ------------------
  |  |  357|    286|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3493|    286|    SET_STRING_ELT(t, 0, mkCharLenCE(s, (int) len, enc));
  ------------------
  |  | 1001|    286|#define mkCharLenCE		Rf_mkCharLenCE
  ------------------
 3494|    286|    UNPROTECT(1); /* t */
  ------------------
  |  |  358|    286|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 3495|    286|    return t;
 3496|    286|}
gram.c:StringValue:
 5234|    290|{
 5235|    290|    int quote = c;
 5236|    290|    char currtext[1010], *ct = currtext;
 5237|    290|    char st0[MAXELTSIZE];
 5238|    290|    unsigned int nstext = MAXELTSIZE;
  ------------------
  |  |   85|    290|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  ------------------
 5239|    290|    char *stext = st0, *bp = st0;
 5240|    290|    PROTECT_INDEX sti;
 5241|    290|    int wcnt = 0;
 5242|    290|    ucs_t wcs[10001];
 5243|    290|    bool oct_or_hex = false, use_wcs = false, currtext_truncated = false;
 5244|       |
 5245|    290|    PROTECT_WITH_INDEX(R_NilValue, &sti);
  ------------------
  |  |  366|    290|#define PROTECT_WITH_INDEX(x,i) R_ProtectWithIndex(x,i)
  ------------------
 5246|    290|    CTEXT_PUSH(c);
  ------------------
  |  | 5212|    290|#define CTEXT_PUSH(c) do {                                             \
  |  | 5213|    290|	if (ct - currtext >= 1000) {                                   \
  |  |  ------------------
  |  |  |  Branch (5213:6): [True: 0, False: 290]
  |  |  ------------------
  |  | 5214|      0|	    int skip = skipBytesByChar(currtext, 100 + 4);             \
  |  | 5215|      0|	    memmove(currtext, "... ", 4);                              \
  |  | 5216|      0|	    memmove(currtext + 4, currtext + skip, 1000 - skip + 1);   \
  |  | 5217|      0|	    ct -= skip - 4;                                            \
  |  | 5218|      0|	    currtext_truncated = true;                                 \
  |  | 5219|      0|	}                                                              \
  |  | 5220|    290|	*ct++ = ((char) c);                                            \
  |  | 5221|    290|} while(0)
  |  |  ------------------
  |  |  |  Branch (5221:9): [Folded, False: 290]
  |  |  ------------------
  ------------------
 5247|  2.82k|    while ((c = xxgetc()) != R_EOF && c != quote) {
  ------------------
  |  | 1531|  5.65k|#define R_EOF	-1
  ------------------
  |  Branch (5247:12): [True: 2.82k, False: 0]
  |  Branch (5247:39): [True: 2.53k, False: 290]
  ------------------
 5248|  2.53k|	CTEXT_PUSH(c);
  ------------------
  |  | 5212|  2.53k|#define CTEXT_PUSH(c) do {                                             \
  |  | 5213|  2.53k|	if (ct - currtext >= 1000) {                                   \
  |  |  ------------------
  |  |  |  Branch (5213:6): [True: 0, False: 2.53k]
  |  |  ------------------
  |  | 5214|      0|	    int skip = skipBytesByChar(currtext, 100 + 4);             \
  |  | 5215|      0|	    memmove(currtext, "... ", 4);                              \
  |  | 5216|      0|	    memmove(currtext + 4, currtext + skip, 1000 - skip + 1);   \
  |  | 5217|      0|	    ct -= skip - 4;                                            \
  |  | 5218|      0|	    currtext_truncated = true;                                 \
  |  | 5219|      0|	}                                                              \
  |  | 5220|  2.53k|	*ct++ = ((char) c);                                            \
  |  | 5221|  2.53k|} while(0)
  |  |  ------------------
  |  |  |  Branch (5221:9): [Folded, False: 2.53k]
  |  |  ------------------
  ------------------
 5249|  2.53k|	if (c == '\n') {
  ------------------
  |  Branch (5249:6): [True: 0, False: 2.53k]
  ------------------
 5250|      0|	    xxungetc(c); CTEXT_POP();
  ------------------
  |  | 5222|      0|#define CTEXT_POP() ct--
  ------------------
 5251|       |	    /* Fix suggested by Mark Bravington to allow multiline strings
 5252|       |	     * by pretending we've seen a backslash. Was:
 5253|       |	     * return ERROR;
 5254|       |	     */
 5255|      0|	    c = '\\';
 5256|      0|	}
 5257|  2.53k|	if (c == '\\') {
  ------------------
  |  Branch (5257:6): [True: 32, False: 2.50k]
  ------------------
 5258|     32|	    c = xxgetc();
 5259|     32|	    if (c == R_EOF) break;
  ------------------
  |  | 1531|     32|#define R_EOF	-1
  ------------------
  |  Branch (5259:10): [True: 0, False: 32]
  ------------------
 5260|     32|	    CTEXT_PUSH(c);
  ------------------
  |  | 5212|     32|#define CTEXT_PUSH(c) do {                                             \
  |  | 5213|     32|	if (ct - currtext >= 1000) {                                   \
  |  |  ------------------
  |  |  |  Branch (5213:6): [True: 0, False: 32]
  |  |  ------------------
  |  | 5214|      0|	    int skip = skipBytesByChar(currtext, 100 + 4);             \
  |  | 5215|      0|	    memmove(currtext, "... ", 4);                              \
  |  | 5216|      0|	    memmove(currtext + 4, currtext + skip, 1000 - skip + 1);   \
  |  | 5217|      0|	    ct -= skip - 4;                                            \
  |  | 5218|      0|	    currtext_truncated = true;                                 \
  |  | 5219|      0|	}                                                              \
  |  | 5220|     32|	*ct++ = ((char) c);                                            \
  |  | 5221|     32|} while(0)
  |  |  ------------------
  |  |  |  Branch (5221:9): [Folded, False: 32]
  |  |  ------------------
  ------------------
 5261|     32|	    if ('0' <= c && c <= '7') {
  ------------------
  |  Branch (5261:10): [True: 32, False: 0]
  |  Branch (5261:22): [True: 0, False: 32]
  ------------------
 5262|      0|		int octal = c - '0';
 5263|      0|		c = xxgetc();
 5264|      0|		if (c == R_EOF) break;
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
  |  Branch (5264:7): [True: 0, False: 0]
  ------------------
 5265|      0|		if ('0' <= c && c <= '7') {
  ------------------
  |  Branch (5265:7): [True: 0, False: 0]
  |  Branch (5265:19): [True: 0, False: 0]
  ------------------
 5266|      0|		    CTEXT_PUSH(c);
  ------------------
  |  | 5212|      0|#define CTEXT_PUSH(c) do {                                             \
  |  | 5213|      0|	if (ct - currtext >= 1000) {                                   \
  |  |  ------------------
  |  |  |  Branch (5213:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 5214|      0|	    int skip = skipBytesByChar(currtext, 100 + 4);             \
  |  | 5215|      0|	    memmove(currtext, "... ", 4);                              \
  |  | 5216|      0|	    memmove(currtext + 4, currtext + skip, 1000 - skip + 1);   \
  |  | 5217|      0|	    ct -= skip - 4;                                            \
  |  | 5218|      0|	    currtext_truncated = true;                                 \
  |  | 5219|      0|	}                                                              \
  |  | 5220|      0|	*ct++ = ((char) c);                                            \
  |  | 5221|      0|} while(0)
  |  |  ------------------
  |  |  |  Branch (5221:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5267|      0|		    octal = 8 * octal + c - '0';
 5268|      0|		    c = xxgetc();
 5269|      0|		    if (c == R_EOF) break;
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
  |  Branch (5269:11): [True: 0, False: 0]
  ------------------
 5270|      0|		    if ('0' <= c && c <= '7') {
  ------------------
  |  Branch (5270:11): [True: 0, False: 0]
  |  Branch (5270:23): [True: 0, False: 0]
  ------------------
 5271|      0|			CTEXT_PUSH(c);
  ------------------
  |  | 5212|      0|#define CTEXT_PUSH(c) do {                                             \
  |  | 5213|      0|	if (ct - currtext >= 1000) {                                   \
  |  |  ------------------
  |  |  |  Branch (5213:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 5214|      0|	    int skip = skipBytesByChar(currtext, 100 + 4);             \
  |  | 5215|      0|	    memmove(currtext, "... ", 4);                              \
  |  | 5216|      0|	    memmove(currtext + 4, currtext + skip, 1000 - skip + 1);   \
  |  | 5217|      0|	    ct -= skip - 4;                                            \
  |  | 5218|      0|	    currtext_truncated = true;                                 \
  |  | 5219|      0|	}                                                              \
  |  | 5220|      0|	*ct++ = ((char) c);                                            \
  |  | 5221|      0|} while(0)
  |  |  ------------------
  |  |  |  Branch (5221:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5272|      0|			octal = 8 * octal + c - '0';
 5273|      0|		    } else {
 5274|      0|			xxungetc(c);
 5275|      0|		    }
 5276|      0|		} else {
 5277|      0|		    xxungetc(c);
 5278|      0|		}
 5279|      0|		if (!octal)
  ------------------
  |  Branch (5279:7): [True: 0, False: 0]
  ------------------
 5280|      0|		    raiseLexError("nulNotAllowed", NO_VALUE, NULL,
  ------------------
  |  |  311|      0|#define NO_VALUE 0
  ------------------
 5281|      0|                        _("nul character not allowed (%s:%d:%d)"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 5282|      0|		if(octal > 0xff)
  ------------------
  |  Branch (5282:6): [True: 0, False: 0]
  ------------------
 5283|      0|		    raiseLexError("invalidOctal", INT_VALUE, &octal,
  ------------------
  |  |  313|      0|#define INT_VALUE 2
  ------------------
 5284|      0|                        _("\\%o exceeds maximum allowed octal value \\377 (%s:%d:%d)"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 5285|      0|		c = octal;
 5286|      0|		oct_or_hex = true;
 5287|      0|	    }
 5288|     32|	    else if(c == 'x') {
  ------------------
  |  Branch (5288:14): [True: 0, False: 32]
  ------------------
 5289|      0|		int val = 0; int i, ext;
 5290|      0|		for(i = 0; i < 2; i++) {
  ------------------
  |  Branch (5290:14): [True: 0, False: 0]
  ------------------
 5291|      0|		    c = xxgetc();
 5292|      0|		    if (c == R_EOF) break;
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
  |  Branch (5292:11): [True: 0, False: 0]
  ------------------
 5293|      0|		    CTEXT_PUSH(c);
  ------------------
  |  | 5212|      0|#define CTEXT_PUSH(c) do {                                             \
  |  | 5213|      0|	if (ct - currtext >= 1000) {                                   \
  |  |  ------------------
  |  |  |  Branch (5213:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 5214|      0|	    int skip = skipBytesByChar(currtext, 100 + 4);             \
  |  | 5215|      0|	    memmove(currtext, "... ", 4);                              \
  |  | 5216|      0|	    memmove(currtext + 4, currtext + skip, 1000 - skip + 1);   \
  |  | 5217|      0|	    ct -= skip - 4;                                            \
  |  | 5218|      0|	    currtext_truncated = true;                                 \
  |  | 5219|      0|	}                                                              \
  |  | 5220|      0|	*ct++ = ((char) c);                                            \
  |  | 5221|      0|} while(0)
  |  |  ------------------
  |  |  |  Branch (5221:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5294|      0|		    if(c >= '0' && c <= '9') ext = c - '0';
  ------------------
  |  Branch (5294:10): [True: 0, False: 0]
  |  Branch (5294:22): [True: 0, False: 0]
  ------------------
 5295|      0|		    else if (c >= 'A' && c <= 'F') ext = c - 'A' + 10;
  ------------------
  |  Branch (5295:16): [True: 0, False: 0]
  |  Branch (5295:28): [True: 0, False: 0]
  ------------------
 5296|      0|		    else if (c >= 'a' && c <= 'f') ext = c - 'a' + 10;
  ------------------
  |  Branch (5296:16): [True: 0, False: 0]
  |  Branch (5296:28): [True: 0, False: 0]
  ------------------
 5297|      0|		    else {
 5298|      0|			xxungetc(c);
 5299|      0|			CTEXT_POP();
  ------------------
  |  | 5222|      0|#define CTEXT_POP() ct--
  ------------------
 5300|      0|			if (i == 0) { /* was just \x */
  ------------------
  |  Branch (5300:8): [True: 0, False: 0]
  ------------------
 5301|      0|			    *ct = '\0';
 5302|      0|			    raiseLexError("badHex", NO_VALUE, NULL,
  ------------------
  |  |  311|      0|#define NO_VALUE 0
  ------------------
 5303|      0|			        _("'\\x' used without hex digits in character string (%s:%d:%d)"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 5304|      0|			}
 5305|      0|			break;
 5306|      0|		    }
 5307|      0|		    val = 16*val + ext;
 5308|      0|		}
 5309|      0|		if (c == R_EOF) break;
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
  |  Branch (5309:7): [True: 0, False: 0]
  ------------------
 5310|      0|		if (!val)
  ------------------
  |  Branch (5310:7): [True: 0, False: 0]
  ------------------
 5311|      0|		    raiseLexError("nulNotAllowed", NO_VALUE, NULL,
  ------------------
  |  |  311|      0|#define NO_VALUE 0
  ------------------
 5312|      0|                        _("nul character not allowed (%s:%d:%d)"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 5313|      0|		c = val;
 5314|      0|		oct_or_hex = true;
 5315|      0|	    }
 5316|     32|	    else if(c == 'u') {
  ------------------
  |  Branch (5316:14): [True: 0, False: 32]
  ------------------
 5317|      0|		unsigned int val = 0; int i, ext; 
 5318|      0|		bool delim = false;
 5319|       |
 5320|      0|		if(forSymbol) 
  ------------------
  |  Branch (5320:6): [True: 0, False: 0]
  ------------------
 5321|      0|		    raiseLexError("unicodeInBackticks", NO_VALUE, NULL, 
  ------------------
  |  |  311|      0|#define NO_VALUE 0
  ------------------
 5322|      0|		        _("\\uxxxx sequences not supported inside backticks (%s:%d:%d)"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 5323|      0|		c = xxgetc();
 5324|      0|		if (c == R_EOF) break;
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
  |  Branch (5324:7): [True: 0, False: 0]
  ------------------
 5325|      0|		if (c == '{') {
  ------------------
  |  Branch (5325:7): [True: 0, False: 0]
  ------------------
 5326|      0|		    delim = true;
 5327|      0|		    CTEXT_PUSH(c);
  ------------------
  |  | 5212|      0|#define CTEXT_PUSH(c) do {                                             \
  |  | 5213|      0|	if (ct - currtext >= 1000) {                                   \
  |  |  ------------------
  |  |  |  Branch (5213:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 5214|      0|	    int skip = skipBytesByChar(currtext, 100 + 4);             \
  |  | 5215|      0|	    memmove(currtext, "... ", 4);                              \
  |  | 5216|      0|	    memmove(currtext + 4, currtext + skip, 1000 - skip + 1);   \
  |  | 5217|      0|	    ct -= skip - 4;                                            \
  |  | 5218|      0|	    currtext_truncated = true;                                 \
  |  | 5219|      0|	}                                                              \
  |  | 5220|      0|	*ct++ = ((char) c);                                            \
  |  | 5221|      0|} while(0)
  |  |  ------------------
  |  |  |  Branch (5221:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5328|      0|		} else xxungetc(c);
 5329|      0|		for(i = 0; i < 4; i++) {
  ------------------
  |  Branch (5329:14): [True: 0, False: 0]
  ------------------
 5330|      0|		    c = xxgetc();
 5331|      0|		    if (c == R_EOF) break;
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
  |  Branch (5331:11): [True: 0, False: 0]
  ------------------
 5332|      0|		    CTEXT_PUSH(c);
  ------------------
  |  | 5212|      0|#define CTEXT_PUSH(c) do {                                             \
  |  | 5213|      0|	if (ct - currtext >= 1000) {                                   \
  |  |  ------------------
  |  |  |  Branch (5213:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 5214|      0|	    int skip = skipBytesByChar(currtext, 100 + 4);             \
  |  | 5215|      0|	    memmove(currtext, "... ", 4);                              \
  |  | 5216|      0|	    memmove(currtext + 4, currtext + skip, 1000 - skip + 1);   \
  |  | 5217|      0|	    ct -= skip - 4;                                            \
  |  | 5218|      0|	    currtext_truncated = true;                                 \
  |  | 5219|      0|	}                                                              \
  |  | 5220|      0|	*ct++ = ((char) c);                                            \
  |  | 5221|      0|} while(0)
  |  |  ------------------
  |  |  |  Branch (5221:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5333|      0|		    if(c >= '0' && c <= '9') ext = c - '0';
  ------------------
  |  Branch (5333:10): [True: 0, False: 0]
  |  Branch (5333:22): [True: 0, False: 0]
  ------------------
 5334|      0|		    else if (c >= 'A' && c <= 'F') ext = c - 'A' + 10;
  ------------------
  |  Branch (5334:16): [True: 0, False: 0]
  |  Branch (5334:28): [True: 0, False: 0]
  ------------------
 5335|      0|		    else if (c >= 'a' && c <= 'f') ext = c - 'a' + 10;
  ------------------
  |  Branch (5335:16): [True: 0, False: 0]
  |  Branch (5335:28): [True: 0, False: 0]
  ------------------
 5336|      0|		    else {
 5337|      0|			xxungetc(c);
 5338|      0|			CTEXT_POP();
  ------------------
  |  | 5222|      0|#define CTEXT_POP() ct--
  ------------------
 5339|      0|			if (i == 0) { /* was just \u */
  ------------------
  |  Branch (5339:8): [True: 0, False: 0]
  ------------------
 5340|      0|			    *ct = '\0';
 5341|      0|			    raiseLexError("badUnicodeHex", NO_VALUE, NULL,
  ------------------
  |  |  311|      0|#define NO_VALUE 0
  ------------------
 5342|      0|			        _("'\\u' used without hex digits in character string (%s:%d:%d)"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 5343|      0|			}
 5344|      0|			break;
 5345|      0|		    }
 5346|      0|		    val = 16*val + ext;
 5347|      0|		}
 5348|      0|		if (c == R_EOF) break;
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
  |  Branch (5348:7): [True: 0, False: 0]
  ------------------
 5349|      0|		if(delim) {
  ------------------
  |  Branch (5349:6): [True: 0, False: 0]
  ------------------
 5350|      0|		    c = xxgetc();
 5351|      0|		    if (c == R_EOF) break;
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
  |  Branch (5351:11): [True: 0, False: 0]
  ------------------
 5352|      0|		    if (c != '}')
  ------------------
  |  Branch (5352:11): [True: 0, False: 0]
  ------------------
 5353|      0|			raiseLexError("invalidUnicode", NO_VALUE, NULL, 
  ------------------
  |  |  311|      0|#define NO_VALUE 0
  ------------------
 5354|      0|			    _("invalid \\u{xxxx} sequence (line %d)"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 5355|      0|		    else CTEXT_PUSH(c);
  ------------------
  |  | 5212|      0|#define CTEXT_PUSH(c) do {                                             \
  |  | 5213|      0|	if (ct - currtext >= 1000) {                                   \
  |  |  ------------------
  |  |  |  Branch (5213:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 5214|      0|	    int skip = skipBytesByChar(currtext, 100 + 4);             \
  |  | 5215|      0|	    memmove(currtext, "... ", 4);                              \
  |  | 5216|      0|	    memmove(currtext + 4, currtext + skip, 1000 - skip + 1);   \
  |  | 5217|      0|	    ct -= skip - 4;                                            \
  |  | 5218|      0|	    currtext_truncated = true;                                 \
  |  | 5219|      0|	}                                                              \
  |  | 5220|      0|	*ct++ = ((char) c);                                            \
  |  | 5221|      0|} while(0)
  |  |  ------------------
  |  |  |  Branch (5221:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5356|      0|		}
 5357|      0|		if (!val)
  ------------------
  |  Branch (5357:7): [True: 0, False: 0]
  ------------------
 5358|      0|		    raiseLexError("nulNotAllowed", NO_VALUE, NULL,
  ------------------
  |  |  311|      0|#define NO_VALUE 0
  ------------------
 5359|      0|                        _("nul character not allowed (%s:%d:%d)"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 5360|      0|		WTEXT_PUSH(val); /* this assumes wchar_t is Unicode */
  ------------------
  |  | 5155|      0|#define WTEXT_PUSH(c) do { if(wcnt < 10000) wcs[wcnt++] = c; } while(0)
  |  |  ------------------
  |  |  |  Branch (5155:31): [True: 0, False: 0]
  |  |  |  Branch (5155:70): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5361|      0|		use_wcs = true;
 5362|      0|		continue;
 5363|      0|	    }
 5364|     32|	    else if(c == 'U') {
  ------------------
  |  Branch (5364:14): [True: 0, False: 32]
  ------------------
 5365|      0|		unsigned int val = 0; int i, ext;
 5366|      0|		bool delim = false;
 5367|      0|		if(forSymbol) 
  ------------------
  |  Branch (5367:6): [True: 0, False: 0]
  ------------------
 5368|      0|		    raiseLexError("unicodeInBackticks", NO_VALUE, NULL, 
  ------------------
  |  |  311|      0|#define NO_VALUE 0
  ------------------
 5369|      0|		        _("\\Uxxxxxxxx sequences not supported inside backticks (%s:%d:%d)"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 5370|      0|		c = xxgetc();
 5371|      0|		if (c == R_EOF) break;
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
  |  Branch (5371:7): [True: 0, False: 0]
  ------------------
 5372|      0| 		if (c == '{') {
  ------------------
  |  Branch (5372:8): [True: 0, False: 0]
  ------------------
 5373|      0|		    delim = true;
 5374|      0|		    CTEXT_PUSH(c);
  ------------------
  |  | 5212|      0|#define CTEXT_PUSH(c) do {                                             \
  |  | 5213|      0|	if (ct - currtext >= 1000) {                                   \
  |  |  ------------------
  |  |  |  Branch (5213:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 5214|      0|	    int skip = skipBytesByChar(currtext, 100 + 4);             \
  |  | 5215|      0|	    memmove(currtext, "... ", 4);                              \
  |  | 5216|      0|	    memmove(currtext + 4, currtext + skip, 1000 - skip + 1);   \
  |  | 5217|      0|	    ct -= skip - 4;                                            \
  |  | 5218|      0|	    currtext_truncated = true;                                 \
  |  | 5219|      0|	}                                                              \
  |  | 5220|      0|	*ct++ = ((char) c);                                            \
  |  | 5221|      0|} while(0)
  |  |  ------------------
  |  |  |  Branch (5221:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5375|      0|		} else xxungetc(c);
 5376|      0|		for(i = 0; i < 8; i++) {
  ------------------
  |  Branch (5376:14): [True: 0, False: 0]
  ------------------
 5377|      0|		    c = xxgetc();
 5378|      0|		    if (c == R_EOF) break;
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
  |  Branch (5378:11): [True: 0, False: 0]
  ------------------
 5379|      0|		    CTEXT_PUSH(c);
  ------------------
  |  | 5212|      0|#define CTEXT_PUSH(c) do {                                             \
  |  | 5213|      0|	if (ct - currtext >= 1000) {                                   \
  |  |  ------------------
  |  |  |  Branch (5213:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 5214|      0|	    int skip = skipBytesByChar(currtext, 100 + 4);             \
  |  | 5215|      0|	    memmove(currtext, "... ", 4);                              \
  |  | 5216|      0|	    memmove(currtext + 4, currtext + skip, 1000 - skip + 1);   \
  |  | 5217|      0|	    ct -= skip - 4;                                            \
  |  | 5218|      0|	    currtext_truncated = true;                                 \
  |  | 5219|      0|	}                                                              \
  |  | 5220|      0|	*ct++ = ((char) c);                                            \
  |  | 5221|      0|} while(0)
  |  |  ------------------
  |  |  |  Branch (5221:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5380|      0|		    if(c >= '0' && c <= '9') ext = c - '0';
  ------------------
  |  Branch (5380:10): [True: 0, False: 0]
  |  Branch (5380:22): [True: 0, False: 0]
  ------------------
 5381|      0|		    else if (c >= 'A' && c <= 'F') ext = c - 'A' + 10;
  ------------------
  |  Branch (5381:16): [True: 0, False: 0]
  |  Branch (5381:28): [True: 0, False: 0]
  ------------------
 5382|      0|		    else if (c >= 'a' && c <= 'f') ext = c - 'a' + 10;
  ------------------
  |  Branch (5382:16): [True: 0, False: 0]
  |  Branch (5382:28): [True: 0, False: 0]
  ------------------
 5383|      0|		    else {
 5384|      0|			xxungetc(c);
 5385|      0|			CTEXT_POP();
  ------------------
  |  | 5222|      0|#define CTEXT_POP() ct--
  ------------------
 5386|      0|			if (i == 0) { /* was just \U */
  ------------------
  |  Branch (5386:8): [True: 0, False: 0]
  ------------------
 5387|      0|			    *ct = '\0';
 5388|      0|			    raiseLexError("badUnicodeHex", NO_VALUE, NULL,
  ------------------
  |  |  311|      0|#define NO_VALUE 0
  ------------------
 5389|      0|			        _("'\\U' used without hex digits in character string (%s:%d:%d)"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 5390|      0|			}
 5391|      0|			break;
 5392|      0|		    }
 5393|      0|		    val = 16*val + ext;
 5394|      0|		}
 5395|      0|		if (c == R_EOF) break;
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
  |  Branch (5395:7): [True: 0, False: 0]
  ------------------
 5396|      0|		if(delim) {
  ------------------
  |  Branch (5396:6): [True: 0, False: 0]
  ------------------
 5397|      0|		    c = xxgetc();
 5398|      0|		    if (c == R_EOF) break;
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
  |  Branch (5398:11): [True: 0, False: 0]
  ------------------
 5399|      0|		    if (c != '}')
  ------------------
  |  Branch (5399:11): [True: 0, False: 0]
  ------------------
 5400|      0|			raiseLexError("invalidUnicode", NO_VALUE, NULL,
  ------------------
  |  |  311|      0|#define NO_VALUE 0
  ------------------
 5401|      0|			    _("invalid \\U{xxxxxxxx} sequence (%s:%d:%d)"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 5402|      0|		    else CTEXT_PUSH(c);
  ------------------
  |  | 5212|      0|#define CTEXT_PUSH(c) do {                                             \
  |  | 5213|      0|	if (ct - currtext >= 1000) {                                   \
  |  |  ------------------
  |  |  |  Branch (5213:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 5214|      0|	    int skip = skipBytesByChar(currtext, 100 + 4);             \
  |  | 5215|      0|	    memmove(currtext, "... ", 4);                              \
  |  | 5216|      0|	    memmove(currtext + 4, currtext + skip, 1000 - skip + 1);   \
  |  | 5217|      0|	    ct -= skip - 4;                                            \
  |  | 5218|      0|	    currtext_truncated = true;                                 \
  |  | 5219|      0|	}                                                              \
  |  | 5220|      0|	*ct++ = ((char) c);                                            \
  |  | 5221|      0|} while(0)
  |  |  ------------------
  |  |  |  Branch (5221:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5403|      0|		}
 5404|      0|		if (!val)
  ------------------
  |  Branch (5404:7): [True: 0, False: 0]
  ------------------
 5405|      0|		    raiseLexError("nulNotAllowed", NO_VALUE, NULL,
  ------------------
  |  |  311|      0|#define NO_VALUE 0
  ------------------
 5406|      0|                        _("nul character not allowed (%s:%d:%d)"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 5407|      0|		if (val > 0x10FFFF) {
  ------------------
  |  Branch (5407:7): [True: 0, False: 0]
  ------------------
 5408|      0|		    if(delim)
  ------------------
  |  Branch (5408:10): [True: 0, False: 0]
  ------------------
 5409|      0|			raiseLexError("invalidUnicode", INT_VALUE, &val,
  ------------------
  |  |  313|      0|#define INT_VALUE 2
  ------------------
 5410|      0|			    _("invalid \\U{xxxxxxxx} value %6x (%s:%d:%d)"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 5411|      0|		    else
 5412|      0|			raiseLexError("invalidUnicode", INT_VALUE, &val,
  ------------------
  |  |  313|      0|#define INT_VALUE 2
  ------------------
 5413|      0|			    _("invalid \\Uxxxxxxxx value %6x (%s:%d:%d)"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 5414|      0|		}
 5415|       |#ifdef Win32
 5416|       |		if (0x010000 <= val && val <= 0x10FFFF) {   /* Need surrogate pair in Windows */
 5417|       |		    val = val - 0x010000;
 5418|       |		    WTEXT_PUSH( 0xD800 | (val >> 10) );
 5419|       |		    val = 0xDC00 | (val & 0x03FF);
 5420|       |		}
 5421|       |#endif
 5422|      0|		WTEXT_PUSH(val);
  ------------------
  |  | 5155|      0|#define WTEXT_PUSH(c) do { if(wcnt < 10000) wcs[wcnt++] = c; } while(0)
  |  |  ------------------
  |  |  |  Branch (5155:31): [True: 0, False: 0]
  |  |  |  Branch (5155:70): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5423|      0|		use_wcs = true;
 5424|      0|		continue;
 5425|      0|	    }
 5426|     32|	    else {
 5427|     32|		switch (c) {
 5428|      0|		case 'a':
  ------------------
  |  Branch (5428:3): [True: 0, False: 32]
  ------------------
 5429|      0|		    c = '\a';
 5430|      0|		    break;
 5431|      0|		case 'b':
  ------------------
  |  Branch (5431:3): [True: 0, False: 32]
  ------------------
 5432|      0|		    c = '\b';
 5433|      0|		    break;
 5434|      0|		case 'f':
  ------------------
  |  Branch (5434:3): [True: 0, False: 32]
  ------------------
 5435|      0|		    c = '\f';
 5436|      0|		    break;
 5437|     30|		case 'n':
  ------------------
  |  Branch (5437:3): [True: 30, False: 2]
  ------------------
 5438|     30|		    c = '\n';
 5439|     30|		    break;
 5440|      0|		case 'r':
  ------------------
  |  Branch (5440:3): [True: 0, False: 32]
  ------------------
 5441|      0|		    c = '\r';
 5442|      0|		    break;
 5443|      0|		case 't':
  ------------------
  |  Branch (5443:3): [True: 0, False: 32]
  ------------------
 5444|      0|		    c = '\t';
 5445|      0|		    break;
 5446|      0|		case 'v':
  ------------------
  |  Branch (5446:3): [True: 0, False: 32]
  ------------------
 5447|      0|		    c = '\v';
 5448|      0|		    break;
 5449|      2|		case '\\':
  ------------------
  |  Branch (5449:3): [True: 2, False: 30]
  ------------------
 5450|      2|		case '"':
  ------------------
  |  Branch (5450:3): [True: 0, False: 32]
  ------------------
 5451|      2|		case '\'':
  ------------------
  |  Branch (5451:3): [True: 0, False: 32]
  ------------------
 5452|      2|		case '`':
  ------------------
  |  Branch (5452:3): [True: 0, False: 32]
  ------------------
 5453|      2|		case ' ':
  ------------------
  |  Branch (5453:3): [True: 0, False: 32]
  ------------------
 5454|      2|		case '\n':
  ------------------
  |  Branch (5454:3): [True: 0, False: 32]
  ------------------
 5455|      2|		    break;
 5456|      0|		default: {
  ------------------
  |  Branch (5456:3): [True: 0, False: 32]
  ------------------
 5457|      0|		    char ch[2];
 5458|      0|		    ch[0] = (char) c;
 5459|      0|		    ch[1] = '\0';
 5460|      0|		    raiseLexError("unrecognizedEscape", STRING_VALUE, ch,
  ------------------
  |  |  312|      0|#define STRING_VALUE 1
  ------------------
 5461|      0|		        _("'\\%s' is an unrecognized escape in character string (%s:%d:%d)"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 5462|      0|		  }
 5463|     32|		}
 5464|     32|	    }
 5465|  2.50k|	} else if(mbcslocale) {
  ------------------
  |  Branch (5465:12): [True: 0, False: 2.50k]
  ------------------
 5466|      0|	    ucs_t wc;
 5467|      0|	    int clen = mbcs_get_next2(c, &wc);
  ------------------
  |  | 5102|      0|# define mbcs_get_next2 mbcs_get_next
  ------------------
 5468|      0|	    if (clen == -1) { /* EOF whilst reading MBCS char */
  ------------------
  |  Branch (5468:10): [True: 0, False: 0]
  ------------------
 5469|      0|		xxungetc(c);
 5470|      0|		c = R_EOF;
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
 5471|      0|		break;
 5472|      0|	    }
 5473|      0|	    BIDI_CHECK(wc);
  ------------------
  |  | 5225|      0|#define BIDI_CHECK(wc) do {                                           \
  |  | 5226|      0|	if((wc) >= 0x202A && (wc) <= 0x2069 &&                        \
  |  |  ------------------
  |  |  |  Branch (5226:5): [True: 0, False: 0]
  |  |  |  Branch (5226:23): [True: 0, False: 0]
  |  |  ------------------
  |  | 5227|      0|	  !((wc) > 0x202E && (wc) < 0x2066))                          \
  |  |  ------------------
  |  |  |  Branch (5227:6): [True: 0, False: 0]
  |  |  |  Branch (5227:23): [True: 0, False: 0]
  |  |  ------------------
  |  | 5228|      0|	    raiseLexError("bidiNotAllowed", UCS_VALUE, &wc,           \
  |  |  ------------------
  |  |  |  |  316|      0|#define UCS_VALUE 5
  |  |  ------------------
  |  | 5229|      0|	        _("bidi formatting not allowed, use escapes instead (\\u%04x) (%s:%d:%d)")); \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 5230|      0|} while(0)
  |  |  ------------------
  |  |  |  Branch (5230:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5474|      0|	    WTEXT_PUSH(wc);
  ------------------
  |  | 5155|      0|#define WTEXT_PUSH(c) do { if(wcnt < 10000) wcs[wcnt++] = c; } while(0)
  |  |  ------------------
  |  |  |  Branch (5155:31): [True: 0, False: 0]
  |  |  |  Branch (5155:70): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5475|      0|	    ParseState.xxbyteno += clen-1;
 5476|       |	    
 5477|      0|	    for(int i = 0; i < clen - 1; i++){
  ------------------
  |  Branch (5477:21): [True: 0, False: 0]
  ------------------
 5478|      0|		STEXT_PUSH(c);
  ------------------
  |  | 5075|      0|#define STEXT_PUSH(c) do {                  \
  |  | 5076|      0|	size_t nc = bp - stext;             \
  |  | 5077|      0|	if (nc >= nstext - 1) {             \
  |  |  ------------------
  |  |  |  Branch (5077:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 5078|      0|	    char *old = stext;              \
  |  | 5079|      0|	    SEXP st1;		            \
  |  | 5080|      0|	    nstext *= 2;                    \
  |  | 5081|      0|	    PROTECT(st1 = allocVector(RAWSXP, nstext)); \
  |  |  ------------------
  |  |  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  | 5082|      0|	    stext = (char *)RAW(st1);       \
  |  | 5083|      0|	    memmove(stext, old, nc);        \
  |  | 5084|      0|	    REPROTECT(st1, sti);	    \
  |  |  ------------------
  |  |  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  |  |  ------------------
  |  | 5085|      0|	    UNPROTECT(1); /* st1 */         \
  |  |  ------------------
  |  |  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  |  |  ------------------
  |  | 5086|      0|	    bp = stext+nc; }		    \
  |  | 5087|      0|	*bp++ = ((char) c);		    \
  |  | 5088|      0|} while(0)
  |  |  ------------------
  |  |  |  Branch (5088:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5479|      0|		c = xxgetc();
 5480|      0|		if (c == R_EOF) break;
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
  |  Branch (5480:7): [True: 0, False: 0]
  ------------------
 5481|      0|		CTEXT_PUSH(c);
  ------------------
  |  | 5212|      0|#define CTEXT_PUSH(c) do {                                             \
  |  | 5213|      0|	if (ct - currtext >= 1000) {                                   \
  |  |  ------------------
  |  |  |  Branch (5213:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 5214|      0|	    int skip = skipBytesByChar(currtext, 100 + 4);             \
  |  | 5215|      0|	    memmove(currtext, "... ", 4);                              \
  |  | 5216|      0|	    memmove(currtext + 4, currtext + skip, 1000 - skip + 1);   \
  |  | 5217|      0|	    ct -= skip - 4;                                            \
  |  | 5218|      0|	    currtext_truncated = true;                                 \
  |  | 5219|      0|	}                                                              \
  |  | 5220|      0|	*ct++ = ((char) c);                                            \
  |  | 5221|      0|} while(0)
  |  |  ------------------
  |  |  |  Branch (5221:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5482|      0|		if (c == '\n') {
  ------------------
  |  Branch (5482:7): [True: 0, False: 0]
  ------------------
 5483|      0|		    xxungetc(c); CTEXT_POP();
  ------------------
  |  | 5222|      0|#define CTEXT_POP() ct--
  ------------------
 5484|      0|		    c = '\\';
 5485|      0|		}
 5486|      0|	    }
 5487|      0|	    if (c == R_EOF) break;
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
  |  Branch (5487:10): [True: 0, False: 0]
  ------------------
 5488|      0|	    STEXT_PUSH(c);
  ------------------
  |  | 5075|      0|#define STEXT_PUSH(c) do {                  \
  |  | 5076|      0|	size_t nc = bp - stext;             \
  |  | 5077|      0|	if (nc >= nstext - 1) {             \
  |  |  ------------------
  |  |  |  Branch (5077:6): [True: 0, False: 0]
  |  |  ------------------
  |  | 5078|      0|	    char *old = stext;              \
  |  | 5079|      0|	    SEXP st1;		            \
  |  | 5080|      0|	    nstext *= 2;                    \
  |  | 5081|      0|	    PROTECT(st1 = allocVector(RAWSXP, nstext)); \
  |  |  ------------------
  |  |  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  | 5082|      0|	    stext = (char *)RAW(st1);       \
  |  | 5083|      0|	    memmove(stext, old, nc);        \
  |  | 5084|      0|	    REPROTECT(st1, sti);	    \
  |  |  ------------------
  |  |  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  |  |  ------------------
  |  | 5085|      0|	    UNPROTECT(1); /* st1 */         \
  |  |  ------------------
  |  |  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  |  |  ------------------
  |  | 5086|      0|	    bp = stext+nc; }		    \
  |  | 5087|      0|	*bp++ = ((char) c);		    \
  |  | 5088|      0|} while(0)
  |  |  ------------------
  |  |  |  Branch (5088:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5489|      0|	    continue;
 5490|      0|	}
 5491|  2.53k|	STEXT_PUSH(c);
  ------------------
  |  | 5075|  2.53k|#define STEXT_PUSH(c) do {                  \
  |  | 5076|  2.53k|	size_t nc = bp - stext;             \
  |  | 5077|  2.53k|	if (nc >= nstext - 1) {             \
  |  |  ------------------
  |  |  |  Branch (5077:6): [True: 0, False: 2.53k]
  |  |  ------------------
  |  | 5078|      0|	    char *old = stext;              \
  |  | 5079|      0|	    SEXP st1;		            \
  |  | 5080|      0|	    nstext *= 2;                    \
  |  | 5081|      0|	    PROTECT(st1 = allocVector(RAWSXP, nstext)); \
  |  |  ------------------
  |  |  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  | 5082|      0|	    stext = (char *)RAW(st1);       \
  |  | 5083|      0|	    memmove(stext, old, nc);        \
  |  | 5084|      0|	    REPROTECT(st1, sti);	    \
  |  |  ------------------
  |  |  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  |  |  ------------------
  |  | 5085|      0|	    UNPROTECT(1); /* st1 */         \
  |  |  ------------------
  |  |  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  |  |  ------------------
  |  | 5086|      0|	    bp = stext+nc; }		    \
  |  | 5087|  2.53k|	*bp++ = ((char) c);		    \
  |  | 5088|  2.53k|} while(0)
  |  |  ------------------
  |  |  |  Branch (5088:9): [Folded, False: 2.53k]
  |  |  ------------------
  ------------------
 5492|  2.53k|	if ((unsigned int) c < 0x80) WTEXT_PUSH(c);
  ------------------
  |  | 5155|  2.53k|#define WTEXT_PUSH(c) do { if(wcnt < 10000) wcs[wcnt++] = c; } while(0)
  |  |  ------------------
  |  |  |  Branch (5155:31): [True: 2.53k, False: 0]
  |  |  |  Branch (5155:70): [Folded, False: 2.53k]
  |  |  ------------------
  ------------------
  |  Branch (5492:6): [True: 2.53k, False: 0]
  ------------------
 5493|      0|	else { 
 5494|       |	    /* have an 8-bit char in the current encoding */
 5495|       |	    /* FIXME: `wc` values will be wrong when native encoding differs
 5496|       |	       from that indicated by `known_to_be*` */
 5497|      0|	    int res = 0;
 5498|       |#ifdef WC_NOT_UNICODE
 5499|       |	    ucs_t wc;
 5500|       |	    char s[2] = " ";
 5501|       |	    s[0] = (char) c;
 5502|       |	    res = (int) mbtoucs(&wc, s, 2);
 5503|       |#else
 5504|      0|	    wchar_t wc;
 5505|      0|	    char s[2] = " ";
 5506|      0|	    s[0] = (char) c;
 5507|       |	    /* This is not necessarily correct for stateful SBCS */
 5508|      0|	    mbstate_t mb_st;
 5509|      0|	    mbs_init(&mb_st);
  ------------------
  |  | 2459|      0|#define mbs_init(x) memset(x, 0, sizeof(mbstate_t))
  ------------------
 5510|      0|	    res = (int) mbrtowc(&wc, s, 2, &mb_st);
 5511|      0|#endif
 5512|      0|	    if(res < 0) wc = 0xFFFD; /* placeholder for invalid encoding */
  ------------------
  |  Branch (5512:9): [True: 0, False: 0]
  ------------------
 5513|      0|	    WTEXT_PUSH(wc);
  ------------------
  |  | 5155|      0|#define WTEXT_PUSH(c) do { if(wcnt < 10000) wcs[wcnt++] = c; } while(0)
  |  |  ------------------
  |  |  |  Branch (5155:31): [True: 0, False: 0]
  |  |  |  Branch (5155:70): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5514|      0|	}
 5515|  2.53k|    }
 5516|    290|    STEXT_PUSH('\0');
  ------------------
  |  | 5075|    290|#define STEXT_PUSH(c) do {                  \
  |  | 5076|    290|	size_t nc = bp - stext;             \
  |  | 5077|    290|	if (nc >= nstext - 1) {             \
  |  |  ------------------
  |  |  |  Branch (5077:6): [True: 0, False: 290]
  |  |  ------------------
  |  | 5078|      0|	    char *old = stext;              \
  |  | 5079|      0|	    SEXP st1;		            \
  |  | 5080|      0|	    nstext *= 2;                    \
  |  | 5081|      0|	    PROTECT(st1 = allocVector(RAWSXP, nstext)); \
  |  |  ------------------
  |  |  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  | 5082|      0|	    stext = (char *)RAW(st1);       \
  |  | 5083|      0|	    memmove(stext, old, nc);        \
  |  | 5084|      0|	    REPROTECT(st1, sti);	    \
  |  |  ------------------
  |  |  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  |  |  ------------------
  |  | 5085|      0|	    UNPROTECT(1); /* st1 */         \
  |  |  ------------------
  |  |  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  |  |  ------------------
  |  | 5086|      0|	    bp = stext+nc; }		    \
  |  | 5087|    290|	*bp++ = ((char) c);		    \
  |  | 5088|    290|} while(0)
  |  |  ------------------
  |  |  |  Branch (5088:9): [Folded, False: 290]
  |  |  ------------------
  ------------------
 5517|    290|    WTEXT_PUSH(0);
  ------------------
  |  | 5155|    290|#define WTEXT_PUSH(c) do { if(wcnt < 10000) wcs[wcnt++] = c; } while(0)
  |  |  ------------------
  |  |  |  Branch (5155:31): [True: 290, False: 0]
  |  |  |  Branch (5155:70): [Folded, False: 290]
  |  |  ------------------
  ------------------
 5518|    290|    yytext[0] = '\0';
 5519|    290|    if (c == R_EOF) {
  ------------------
  |  | 1531|    290|#define R_EOF	-1
  ------------------
  |  Branch (5519:9): [True: 0, False: 290]
  ------------------
 5520|      0|	PRESERVE_SV(yylval = R_NilValue);
  ------------------
  |  |  350|      0|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      0|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 5521|      0|	UNPROTECT(1); /* release stext */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 5522|      0|    	return INCOMPLETE_STRING;
  ------------------
  |  |  593|      0|#define INCOMPLETE_STRING 265
  ------------------
 5523|    290|    } else {
 5524|    290|    	CTEXT_PUSH(c);
  ------------------
  |  | 5212|    290|#define CTEXT_PUSH(c) do {                                             \
  |  | 5213|    290|	if (ct - currtext >= 1000) {                                   \
  |  |  ------------------
  |  |  |  Branch (5213:6): [True: 0, False: 290]
  |  |  ------------------
  |  | 5214|      0|	    int skip = skipBytesByChar(currtext, 100 + 4);             \
  |  | 5215|      0|	    memmove(currtext, "... ", 4);                              \
  |  | 5216|      0|	    memmove(currtext + 4, currtext + skip, 1000 - skip + 1);   \
  |  | 5217|      0|	    ct -= skip - 4;                                            \
  |  | 5218|      0|	    currtext_truncated = true;                                 \
  |  | 5219|      0|	}                                                              \
  |  | 5220|    290|	*ct++ = ((char) c);                                            \
  |  | 5221|    290|} while(0)
  |  |  ------------------
  |  |  |  Branch (5221:9): [Folded, False: 290]
  |  |  ------------------
  ------------------
 5525|    290|    	CTEXT_PUSH('\0');
  ------------------
  |  | 5212|    290|#define CTEXT_PUSH(c) do {                                             \
  |  | 5213|    290|	if (ct - currtext >= 1000) {                                   \
  |  |  ------------------
  |  |  |  Branch (5213:6): [True: 0, False: 290]
  |  |  ------------------
  |  | 5214|      0|	    int skip = skipBytesByChar(currtext, 100 + 4);             \
  |  | 5215|      0|	    memmove(currtext, "... ", 4);                              \
  |  | 5216|      0|	    memmove(currtext + 4, currtext + skip, 1000 - skip + 1);   \
  |  | 5217|      0|	    ct -= skip - 4;                                            \
  |  | 5218|      0|	    currtext_truncated = true;                                 \
  |  | 5219|      0|	}                                                              \
  |  | 5220|    290|	*ct++ = ((char) c);                                            \
  |  | 5221|    290|} while(0)
  |  |  ------------------
  |  |  |  Branch (5221:9): [Folded, False: 290]
  |  |  ------------------
  ------------------
 5526|    290|    }
 5527|    290|    if (!currtext_truncated)
  ------------------
  |  Branch (5527:9): [True: 290, False: 0]
  ------------------
 5528|    290|    	strcpy(yytext, currtext);
 5529|      0|    else if (forSymbol || !use_wcs) {
  ------------------
  |  Branch (5529:14): [True: 0, False: 0]
  |  Branch (5529:27): [True: 0, False: 0]
  ------------------
 5530|      0|        size_t total = strlen(stext);
 5531|      0|        snprintf(yytext, MAXELTSIZE, "[%u chars quoted with '%c']", (unsigned int)total, quote);
  ------------------
  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  ------------------
 5532|      0|    } else 
 5533|      0|        snprintf(yytext, MAXELTSIZE, "[%d wide chars quoted with '%c']", wcnt, quote);
  ------------------
  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  ------------------
 5534|    290|    if(forSymbol) {
  ------------------
  |  Branch (5534:8): [True: 4, False: 286]
  ------------------
 5535|      4|	PRESERVE_SV(yylval = install(stext));
  ------------------
  |  |  350|      4|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      4|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 5536|      4|	UNPROTECT(1); /* release stext */
  ------------------
  |  |  358|      4|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 5537|      4|	return SYMBOL;
  ------------------
  |  |  591|      4|#define SYMBOL 263
  ------------------
 5538|    286|    } else {
 5539|    286|	if(use_wcs) {
  ------------------
  |  Branch (5539:5): [True: 0, False: 286]
  ------------------
 5540|      0|	    if(oct_or_hex)
  ------------------
  |  Branch (5540:9): [True: 0, False: 0]
  ------------------
 5541|      0|		raiseLexError("mixedEscapes", NO_VALUE, NULL,
  ------------------
  |  |  311|      0|#define NO_VALUE 0
  ------------------
 5542|      0|		    _("mixing Unicode and octal/hex escapes in a string is not allowed (%s:%d:%d)"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 5543|      0|	    if(wcnt < 10000)
  ------------------
  |  Branch (5543:9): [True: 0, False: 0]
  ------------------
 5544|      0|		PRESERVE_SV(yylval = mkStringUTF8(wcs, wcnt)); /* include terminator */
  ------------------
  |  |  350|      0|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      0|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 5545|      0|	    else
 5546|      0|		raiseLexError("UnicodeTooLong", NO_VALUE, NULL,
  ------------------
  |  |  311|      0|#define NO_VALUE 0
  ------------------
 5547|      0|		    _("string containing Unicode escapes not in this locale\n"
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 5548|      0|		      "is too long (max 10000 chars) (%s:%d:%d)"));
 5549|      0|	} else
 5550|    286|	    PRESERVE_SV(yylval = mkString2(stext,  bp - stext - 1, oct_or_hex));
  ------------------
  |  |  350|    286|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|    286|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 5551|    286|	UNPROTECT(1); /* release stext */
  ------------------
  |  |  358|    286|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 5552|    286|	return STR_CONST;
  ------------------
  |  |  588|    286|#define STR_CONST 260
  ------------------
 5553|    286|    }
 5554|    290|}
gram.c:SpecialValue:
 5696|     50|{
 5697|     50|    DECLARE_YYTEXT_BUFP(yyp);
  ------------------
  |  | 2908|     50|#define DECLARE_YYTEXT_BUFP(bp) char *bp = yytext ;
  ------------------
 5698|     50|    YYTEXT_PUSH(c, yyp);
  ------------------
  |  | 2909|     50|#define YYTEXT_PUSH(c, bp) do { \
  |  | 2910|     50|    if ((bp) - yytext >= sizeof(yytext) - 1){ \
  |  |  ------------------
  |  |  |  Branch (2910:9): [True: 0, False: 50]
  |  |  ------------------
  |  | 2911|      0|		raiseLexError("bufferOverflow", NO_VALUE, NULL, \
  |  |  ------------------
  |  |  |  |  311|      0|#define NO_VALUE 0
  |  |  ------------------
  |  | 2912|      0|		    _("input buffer overflow (%s:%d:%d)")); \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 2913|      0|	} \
  |  | 2914|     50|    *(bp)++ = ((char)c);			\
  |  | 2915|     50|} while(0) ;
  |  |  ------------------
  |  |  |  Branch (2915:9): [Folded, False: 50]
  |  |  ------------------
  ------------------
 5699|     56|    while ((c = xxgetc()) != R_EOF && c != '%') {
  ------------------
  |  | 1531|    112|#define R_EOF	-1
  ------------------
  |  Branch (5699:12): [True: 56, False: 0]
  |  Branch (5699:39): [True: 6, False: 50]
  ------------------
 5700|      6|	if (c == '\n') {
  ------------------
  |  Branch (5700:6): [True: 0, False: 6]
  ------------------
 5701|      0|	    xxungetc(c);
 5702|      0|	    return ERROR;
  ------------------
  |  |  587|      0|#define ERROR 259
  ------------------
 5703|      0|	}
 5704|      6|	YYTEXT_PUSH(c, yyp);
  ------------------
  |  | 2909|      6|#define YYTEXT_PUSH(c, bp) do { \
  |  | 2910|      6|    if ((bp) - yytext >= sizeof(yytext) - 1){ \
  |  |  ------------------
  |  |  |  Branch (2910:9): [True: 0, False: 6]
  |  |  ------------------
  |  | 2911|      0|		raiseLexError("bufferOverflow", NO_VALUE, NULL, \
  |  |  ------------------
  |  |  |  |  311|      0|#define NO_VALUE 0
  |  |  ------------------
  |  | 2912|      0|		    _("input buffer overflow (%s:%d:%d)")); \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 2913|      0|	} \
  |  | 2914|      6|    *(bp)++ = ((char)c);			\
  |  | 2915|      6|} while(0) ;
  |  |  ------------------
  |  |  |  Branch (2915:9): [Folded, False: 6]
  |  |  ------------------
  ------------------
 5705|      6|    }
 5706|     50|    if (c == '%')
  ------------------
  |  Branch (5706:9): [True: 50, False: 0]
  ------------------
 5707|     50|	YYTEXT_PUSH(c, yyp);
  ------------------
  |  | 2909|     50|#define YYTEXT_PUSH(c, bp) do { \
  |  | 2910|     50|    if ((bp) - yytext >= sizeof(yytext) - 1){ \
  |  |  ------------------
  |  |  |  Branch (2910:9): [True: 0, False: 50]
  |  |  ------------------
  |  | 2911|      0|		raiseLexError("bufferOverflow", NO_VALUE, NULL, \
  |  |  ------------------
  |  |  |  |  311|      0|#define NO_VALUE 0
  |  |  ------------------
  |  | 2912|      0|		    _("input buffer overflow (%s:%d:%d)")); \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 2913|      0|	} \
  |  | 2914|     50|    *(bp)++ = ((char)c);			\
  |  | 2915|     50|} while(0) ;
  |  |  ------------------
  |  |  |  Branch (2915:9): [Folded, False: 50]
  |  |  ------------------
  ------------------
 5708|     50|    YYTEXT_PUSH('\0', yyp);
  ------------------
  |  | 2909|     50|#define YYTEXT_PUSH(c, bp) do { \
  |  | 2910|     50|    if ((bp) - yytext >= sizeof(yytext) - 1){ \
  |  |  ------------------
  |  |  |  Branch (2910:9): [True: 0, False: 50]
  |  |  ------------------
  |  | 2911|      0|		raiseLexError("bufferOverflow", NO_VALUE, NULL, \
  |  |  ------------------
  |  |  |  |  311|      0|#define NO_VALUE 0
  |  |  ------------------
  |  | 2912|      0|		    _("input buffer overflow (%s:%d:%d)")); \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 2913|      0|	} \
  |  | 2914|     50|    *(bp)++ = ((char)c);			\
  |  | 2915|     50|} while(0) ;
  |  |  ------------------
  |  |  |  Branch (2915:9): [Folded, False: 50]
  |  |  ------------------
  ------------------
 5709|     50|    yylval = install(yytext);
  ------------------
  |  | 2024|     50|# define yylval			Rf_yylval
  ------------------
                  yylval = install(yytext);
  ------------------
  |  |  934|     50|#define install			Rf_install
  ------------------
 5710|     50|    return SPECIAL;
  ------------------
  |  |  634|     50|#define SPECIAL 306
  ------------------
 5711|     50|}
gram.c:SymbolValue:
 5764|  2.52k|{
 5765|  2.52k|    int kw;
 5766|  2.52k|    DECLARE_YYTEXT_BUFP(yyp);
  ------------------
  |  | 2908|  2.52k|#define DECLARE_YYTEXT_BUFP(bp) char *bp = yytext ;
  ------------------
 5767|  2.52k|    if(mbcslocale) {
  ------------------
  |  Branch (5767:8): [True: 0, False: 2.52k]
  ------------------
 5768|       |	// FIXME potentially need R_wchar_t with UTF-8 Windows.
 5769|      0|	wchar_t wc; int i, clen;
 5770|      0|	clen = mbcs_get_next(c, &wc);
 5771|      0|	while(clen != -1) {
  ------------------
  |  Branch (5771:8): [True: 0, False: 0]
  ------------------
 5772|       |	    /* at this point we have seen one char, so push its bytes
 5773|       |	       and get one more */
 5774|      0|	    for(i = 0; i < clen; i++) {
  ------------------
  |  Branch (5774:17): [True: 0, False: 0]
  ------------------
 5775|      0|		YYTEXT_PUSH(c, yyp);
  ------------------
  |  | 2909|      0|#define YYTEXT_PUSH(c, bp) do { \
  |  | 2910|      0|    if ((bp) - yytext >= sizeof(yytext) - 1){ \
  |  |  ------------------
  |  |  |  Branch (2910:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 2911|      0|		raiseLexError("bufferOverflow", NO_VALUE, NULL, \
  |  |  ------------------
  |  |  |  |  311|      0|#define NO_VALUE 0
  |  |  ------------------
  |  | 2912|      0|		    _("input buffer overflow (%s:%d:%d)")); \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 2913|      0|	} \
  |  | 2914|      0|    *(bp)++ = ((char)c);			\
  |  | 2915|      0|} while(0) ;
  |  |  ------------------
  |  |  |  Branch (2915:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5776|      0|		c = xxgetc();
 5777|      0|	    }
 5778|      0|	    if(c == R_EOF) break;
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
  |  Branch (5778:9): [True: 0, False: 0]
  ------------------
 5779|      0|	    if(c == '.' || c == '_') {
  ------------------
  |  Branch (5779:9): [True: 0, False: 0]
  |  Branch (5779:21): [True: 0, False: 0]
  ------------------
 5780|      0|		clen = 1;
 5781|      0|		continue;
 5782|      0|	    }
 5783|      0|	    clen = mbcs_get_next(c, &wc);
 5784|      0|	    if (clen == -1) break; /* EOF whilst reading MBCS char */
  ------------------
  |  Branch (5784:10): [True: 0, False: 0]
  ------------------
 5785|      0|	    if(!iswalnum(wc)) break;
  ------------------
  |  Branch (5785:9): [True: 0, False: 0]
  ------------------
 5786|      0|	}
 5787|      0|    } else
 5788|  14.5k|	do {
 5789|  14.5k|	    YYTEXT_PUSH(c, yyp);
  ------------------
  |  | 2909|  14.5k|#define YYTEXT_PUSH(c, bp) do { \
  |  | 2910|  14.5k|    if ((bp) - yytext >= sizeof(yytext) - 1){ \
  |  |  ------------------
  |  |  |  Branch (2910:9): [True: 0, False: 14.5k]
  |  |  ------------------
  |  | 2911|      0|		raiseLexError("bufferOverflow", NO_VALUE, NULL, \
  |  |  ------------------
  |  |  |  |  311|      0|#define NO_VALUE 0
  |  |  ------------------
  |  | 2912|      0|		    _("input buffer overflow (%s:%d:%d)")); \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 2913|      0|	} \
  |  | 2914|  14.5k|    *(bp)++ = ((char)c);			\
  |  | 2915|  14.5k|} while(0) ;
  |  |  ------------------
  |  |  |  Branch (2915:9): [Folded, False: 14.5k]
  |  |  ------------------
  ------------------
 5790|  14.5k|	} while ((c = xxgetc()) != R_EOF &&
  ------------------
  |  | 1531|  29.1k|#define R_EOF	-1
  ------------------
  |  Branch (5790:11): [True: 14.5k, False: 0]
  ------------------
 5791|  14.5k|		 (isalnum(c) || c == '.' || c == '_'));
  ------------------
  |  Branch (5791:5): [True: 11.6k, False: 2.88k]
  |  Branch (5791:19): [True: 298, False: 2.58k]
  |  Branch (5791:31): [True: 56, False: 2.52k]
  ------------------
 5792|  2.52k|    xxungetc(c);
 5793|  2.52k|    YYTEXT_PUSH('\0', yyp);
  ------------------
  |  | 2909|  2.52k|#define YYTEXT_PUSH(c, bp) do { \
  |  | 2910|  2.52k|    if ((bp) - yytext >= sizeof(yytext) - 1){ \
  |  |  ------------------
  |  |  |  Branch (2910:9): [True: 0, False: 2.52k]
  |  |  ------------------
  |  | 2911|      0|		raiseLexError("bufferOverflow", NO_VALUE, NULL, \
  |  |  ------------------
  |  |  |  |  311|      0|#define NO_VALUE 0
  |  |  ------------------
  |  | 2912|      0|		    _("input buffer overflow (%s:%d:%d)")); \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 2913|      0|	} \
  |  | 2914|  2.52k|    *(bp)++ = ((char)c);			\
  |  | 2915|  2.52k|} while(0) ;
  |  |  ------------------
  |  |  |  Branch (2915:9): [Folded, False: 2.52k]
  |  |  ------------------
  ------------------
 5794|  2.52k|    if ((kw = KeywordLookup(yytext))) 
  ------------------
  |  Branch (5794:9): [True: 328, False: 2.19k]
  ------------------
 5795|    328|	return kw;
 5796|       |    
 5797|  2.19k|    PRESERVE_SV(yylval = install(yytext));
  ------------------
  |  |  350|  2.19k|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|  2.19k|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 5798|  2.19k|    return SYMBOL;
  ------------------
  |  |  591|  2.19k|#define SYMBOL 263
  ------------------
 5799|  2.52k|}
gram.c:KeywordLookup:
 4551|  2.52k|{
 4552|  2.52k|    int i;
 4553|  49.2k|    for (i = 0; keywords[i].name; i++) {
  ------------------
  |  Branch (4553:17): [True: 47.0k, False: 2.19k]
  ------------------
 4554|  47.0k|	if (strcmp(keywords[i].name, s) == 0) {
  ------------------
  |  Branch (4554:6): [True: 328, False: 46.7k]
  ------------------
 4555|    328|	    switch (keywords[i].token) {
  ------------------
  |  Branch (4555:14): [True: 328, False: 0]
  ------------------
 4556|     22|	    case NULL_CONST:
  ------------------
  |  |  590|     22|#define NULL_CONST 262
  ------------------
  |  Branch (4556:6): [True: 22, False: 306]
  ------------------
 4557|     22|		PRESERVE_SV(yylval = R_NilValue);
  ------------------
  |  |  350|     22|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|     22|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 4558|     22|		break;
 4559|    106|	    case NUM_CONST:
  ------------------
  |  |  589|    106|#define NUM_CONST 261
  ------------------
  |  Branch (4559:6): [True: 106, False: 222]
  ------------------
 4560|    106|		if(GenerateCode) {
  ------------------
  |  Branch (4560:6): [True: 106, False: 0]
  ------------------
 4561|    106|		    switch(i) {
  ------------------
  |  Branch (4561:14): [True: 106, False: 0]
  ------------------
 4562|     14|		    case 1:
  ------------------
  |  Branch (4562:7): [True: 14, False: 92]
  ------------------
 4563|     14|			PRESERVE_SV(yylval = mkNA());
  ------------------
  |  |  350|     14|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|     14|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 4564|     14|			break;
 4565|     62|		    case 2:
  ------------------
  |  Branch (4565:7): [True: 62, False: 44]
  ------------------
 4566|     62|			PRESERVE_SV(yylval = mkTrue());
  ------------------
  |  |  350|     62|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|     62|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 4567|     62|			break;
 4568|     28|		    case 3:
  ------------------
  |  Branch (4568:7): [True: 28, False: 78]
  ------------------
 4569|     28|			PRESERVE_SV(yylval = mkFalse());
  ------------------
  |  |  350|     28|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|     28|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 4570|     28|			break;
 4571|      0|		    case 4:
  ------------------
  |  Branch (4571:7): [True: 0, False: 106]
  ------------------
 4572|      0|			PRESERVE_SV(yylval = allocVector(REALSXP, 1));
  ------------------
  |  |  350|      0|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      0|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 4573|      0|			REAL(yylval)[0] = R_PosInf;
  ------------------
  |  | 2024|      0|# define yylval			Rf_yylval
  ------------------
 4574|      0|			break;
 4575|      0|		    case 5:
  ------------------
  |  Branch (4575:7): [True: 0, False: 106]
  ------------------
 4576|      0|			PRESERVE_SV(yylval = allocVector(REALSXP, 1));
  ------------------
  |  |  350|      0|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      0|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 4577|      0|			REAL(yylval)[0] = R_NaN;
  ------------------
  |  | 2024|      0|# define yylval			Rf_yylval
  ------------------
 4578|      0|			break;
 4579|      0|		    case 6:
  ------------------
  |  Branch (4579:7): [True: 0, False: 106]
  ------------------
 4580|      0|			PRESERVE_SV(yylval = allocVector(INTSXP, 1));
  ------------------
  |  |  350|      0|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      0|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 4581|      0|			INTEGER(yylval)[0] = NA_INTEGER;
  ------------------
  |  | 2024|      0|# define yylval			Rf_yylval
  ------------------
              			INTEGER(yylval)[0] = NA_INTEGER;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
 4582|      0|			break;
 4583|      0|		    case 7:
  ------------------
  |  Branch (4583:7): [True: 0, False: 106]
  ------------------
 4584|      0|			PRESERVE_SV(yylval = allocVector(REALSXP, 1));
  ------------------
  |  |  350|      0|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      0|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 4585|      0|			REAL(yylval)[0] = NA_REAL;
  ------------------
  |  | 2024|      0|# define yylval			Rf_yylval
  ------------------
              			REAL(yylval)[0] = NA_REAL;
  ------------------
  |  |   58|      0|#define NA_REAL		R_NaReal
  ------------------
 4586|      0|			break;
 4587|      2|		    case 8:
  ------------------
  |  Branch (4587:7): [True: 2, False: 104]
  ------------------
 4588|      2|			PRESERVE_SV(yylval = allocVector(STRSXP, 1));
  ------------------
  |  |  350|      2|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      2|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 4589|      2|			SET_STRING_ELT(yylval, 0, NA_STRING);
  ------------------
  |  | 2024|      2|# define yylval			Rf_yylval
  ------------------
              			SET_STRING_ELT(yylval, 0, NA_STRING);
  ------------------
  |  |  433|      2|#define NA_STRING	R_NaString
  ------------------
 4590|      2|			break;
 4591|      0|		    case 9:
  ------------------
  |  Branch (4591:7): [True: 0, False: 106]
  ------------------
 4592|      0|			PRESERVE_SV(yylval = allocVector(CPLXSXP, 1));
  ------------------
  |  |  350|      0|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      0|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 4593|      0|			COMPLEX(yylval)[0].r = COMPLEX(yylval)[0].i = NA_REAL;
  ------------------
  |  | 2024|      0|# define yylval			Rf_yylval
  ------------------
              			COMPLEX(yylval)[0].r = COMPLEX(yylval)[0].i = NA_REAL;
  ------------------
  |  | 2024|      0|# define yylval			Rf_yylval
  ------------------
              			COMPLEX(yylval)[0].r = COMPLEX(yylval)[0].i = NA_REAL;
  ------------------
  |  |   58|      0|#define NA_REAL		R_NaReal
  ------------------
 4594|      0|			break;
 4595|    106|		    }
 4596|    106|		} else
 4597|      0|		    PRESERVE_SV(yylval = R_NilValue);
  ------------------
  |  |  350|      0|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      0|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 4598|    106|		break;
 4599|    106|	    case FUNCTION:
  ------------------
  |  |  592|     88|#define FUNCTION 264
  ------------------
  |  Branch (4599:6): [True: 88, False: 240]
  ------------------
 4600|     90|	    case WHILE:
  ------------------
  |  |  602|     90|#define WHILE 274
  ------------------
  |  Branch (4600:6): [True: 2, False: 326]
  ------------------
 4601|     90|	    case REPEAT:
  ------------------
  |  |  605|     90|#define REPEAT 277
  ------------------
  |  Branch (4601:6): [True: 0, False: 328]
  ------------------
 4602|     98|	    case FOR:
  ------------------
  |  |  598|     98|#define FOR 270
  ------------------
  |  Branch (4602:6): [True: 8, False: 320]
  ------------------
 4603|    168|	    case IF:
  ------------------
  |  |  600|    168|#define IF 272
  ------------------
  |  Branch (4603:6): [True: 70, False: 258]
  ------------------
 4604|    168|	    case NEXT:
  ------------------
  |  |  603|    168|#define NEXT 275
  ------------------
  |  Branch (4604:6): [True: 0, False: 328]
  ------------------
 4605|    168|	    case BREAK:
  ------------------
  |  |  604|    168|#define BREAK 276
  ------------------
  |  Branch (4605:6): [True: 0, False: 328]
  ------------------
 4606|    168|		yylval = install(s);
  ------------------
  |  | 2024|    168|# define yylval			Rf_yylval
  ------------------
              		yylval = install(s);
  ------------------
  |  |  934|    168|#define install			Rf_install
  ------------------
 4607|    168|		break;
 4608|      8|	    case IN:
  ------------------
  |  |  599|      8|#define IN 271
  ------------------
  |  Branch (4608:6): [True: 8, False: 320]
  ------------------
 4609|     24|	    case ELSE:
  ------------------
  |  |  601|     24|#define ELSE 273
  ------------------
  |  Branch (4609:6): [True: 16, False: 312]
  ------------------
 4610|     24|		break;
 4611|      8|	    case SYMBOL:
  ------------------
  |  |  591|      8|#define SYMBOL 263
  ------------------
  |  Branch (4611:6): [True: 8, False: 320]
  ------------------
 4612|      8|		PRESERVE_SV(yylval = install(s));
  ------------------
  |  |  350|      8|#define PRESERVE_SV(x) R_PreserveInMSet((x), PS_SVS)
  |  |  ------------------
  |  |  |  |  308|      8|#define PS_SVS              VECTOR_ELT(ParseState.sexps, 6)
  |  |  ------------------
  ------------------
 4613|      8|		break;
 4614|    328|	    }
 4615|    328|	    return keywords[i].token;
 4616|    328|	}
 4617|  47.0k|    }
 4618|  2.19k|    return 0;
 4619|  2.52k|}
gram.c:mkNA:
 4644|     14|{
 4645|     14|    SEXP t = allocVector(LGLSXP, 1);
  ------------------
  |  |  875|     14|#define allocVector		Rf_allocVector
  ------------------
                  SEXP t = allocVector(LGLSXP, 1);
  ------------------
  |  |  121|     14|#define LGLSXP	    10	  /* logical vectors */
  ------------------
 4646|     14|    LOGICAL(t)[0] = NA_LOGICAL;
  ------------------
  |  |   55|     14|#define NA_LOGICAL	R_NaInt
  ------------------
 4647|     14|    return t;
 4648|     14|}
gram.c:install_and_save:
 5857|  1.81k|{
 5858|  1.81k|    strcpy(yytext, text);
 5859|  1.81k|    return install(text);
  ------------------
  |  |  934|  1.81k|#define install			Rf_install
  ------------------
 5860|  1.81k|}
gram.c:xxgetc:
 2928|  48.8k|{
 2929|  48.8k|    int c;
 2930|       |
 2931|  48.8k|    if(npush) c = pushback[--npush]; else  c = ptr_getc();
  ------------------
  |  Branch (2931:8): [True: 3.83k, False: 45.0k]
  ------------------
 2932|       |
 2933|  48.8k|    prevpos = (prevpos + 1) % PUSHBACK_BUFSIZE;
  ------------------
  |  | 2917|  48.8k|#define PUSHBACK_BUFSIZE 16
  ------------------
 2934|  48.8k|    prevbytes[prevpos] = ParseState.xxbyteno;
 2935|  48.8k|    prevlines[prevpos] = ParseState.xxlineno;  
 2936|  48.8k|    prevparse[prevpos] = ParseState.xxparseno;
 2937|  48.8k|    prevcols[prevpos] = ParseState.xxcolno;
 2938|       |    	
 2939|  48.8k|    if (c == EOF) {
  ------------------
  |  Branch (2939:9): [True: 50, False: 48.7k]
  ------------------
 2940|     50|	EndOfFile = 1;
 2941|     50|	return R_EOF;
  ------------------
  |  | 1531|     50|#define R_EOF	-1
  ------------------
 2942|     50|    }
 2943|  48.7k|    R_ParseContextLast = (R_ParseContextLast + 1) % PARSE_CONTEXT_SIZE;
  ------------------
  |  |  112|  48.7k|#define PARSE_CONTEXT_SIZE 256	    /* Recent parse context kept in a circular buffer */
  ------------------
 2944|  48.7k|    R_ParseContext[R_ParseContextLast] = (char) c;
 2945|       |
 2946|  48.7k|    if (c == '\n') {
  ------------------
  |  Branch (2946:9): [True: 1.14k, False: 47.6k]
  ------------------
 2947|  1.14k|	ParseState.xxlineno += 1;
 2948|  1.14k|	ParseState.xxcolno = 0;
 2949|  1.14k|    	ParseState.xxbyteno = 0;
 2950|  1.14k|    	ParseState.xxparseno += 1;
 2951|  47.6k|    } else {
 2952|       |        /* We only advance the column for the 1st byte in UTF-8, so handle later bytes specially */
 2953|  47.6k|	if (!known_to_be_utf8 || (unsigned char)c < 0x80 || 0xC0 <= (unsigned char)c)
  ------------------
  |  Branch (2953:6): [True: 47.6k, False: 0]
  |  Branch (2953:27): [True: 0, False: 0]
  |  Branch (2953:54): [True: 0, False: 0]
  ------------------
 2954|  47.6k|            ParseState.xxcolno++;
 2955|  47.6k|    	ParseState.xxbyteno++;
 2956|  47.6k|    }
 2957|       |
 2958|  48.7k|    if (c == '\t') ParseState.xxcolno = ((ParseState.xxcolno + 7) & ~7);
  ------------------
  |  Branch (2958:9): [True: 4, False: 48.7k]
  ------------------
 2959|       |    
 2960|  48.7k|    R_ParseContextLine = ParseState.xxlineno;    
 2961|       |
 2962|  48.7k|    xxcharcount++;
 2963|  48.7k|    return c;
 2964|  48.8k|}
gram.c:ifpop:
 4490|    762|{
 4491|    762|    if (*contextp=='i')
  ------------------
  |  Branch (4491:9): [True: 60, False: 702]
  ------------------
 4492|     60|	*contextp-- = 0;
 4493|    762|}
gram.c:setlastloc:
 6128|  7.84k|{
 6129|  7.84k|    yylloc.last_line = ParseState.xxlineno;
 6130|  7.84k|    yylloc.last_column = ParseState.xxcolno;
 6131|  7.84k|    yylloc.last_byte = ParseState.xxbyteno;
 6132|  7.84k|    yylloc.last_parsed = ParseState.xxparseno;
 6133|  7.84k|}
gram.c:IfPush:
 4476|     70|{
 4477|     70|    if (*contextp==LBRACE ||
  ------------------
  |  |  237|    140|#define LBRACE	'{'
  ------------------
  |  Branch (4477:9): [True: 56, False: 14]
  ------------------
 4478|     14|	*contextp=='['    ||
  ------------------
  |  Branch (4478:2): [True: 0, False: 14]
  ------------------
 4479|     14|	*contextp=='('    ||
  ------------------
  |  Branch (4479:2): [True: 0, False: 14]
  ------------------
 4480|     60|	*contextp == 'i') {
  ------------------
  |  Branch (4480:2): [True: 4, False: 10]
  ------------------
 4481|     60|	if(contextp - contextstack >= CONTEXTSTACK_SIZE - 1)
  ------------------
  |  | 3893|     60|#define CONTEXTSTACK_SIZE 50
  ------------------
  |  Branch (4481:5): [True: 0, False: 60]
  ------------------
 4482|      0|	    raiseLexError("contextstackOverflow", NO_VALUE, NULL,
  ------------------
  |  |  311|      0|#define NO_VALUE 0
  ------------------
 4483|      0|	        _("contextstack overflow (%s:%d:%d)"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4484|     60|	*++contextp = 'i';
 4485|     60|    }
 4486|       |
 4487|     70|}
gram.c:modif_token:
 6476|  1.40k|static void modif_token( yyltype* loc, int tok ){
 6477|       |	
 6478|  1.40k|	int id = loc->id ;
 6479|       |	
 6480|  1.40k|	if (!ParseState.keepSrcRefs || !ParseState.keepParseData
  ------------------
  |  Branch (6480:6): [True: 1.40k, False: 0]
  |  Branch (6480:33): [True: 0, False: 0]
  ------------------
 6481|  1.40k|	    || id < 0 || id > ID_COUNT) return;
  ------------------
  |  |  156|      0|#define ID_COUNT    ((length( PS_IDS ) / 2) - 1)
  |  |  ------------------
  |  |  |  |  987|      0|#define length(x)		Rf_length(x)
  |  |  ------------------
  ------------------
  |  Branch (6481:9): [True: 0, False: 0]
  |  Branch (6481:19): [True: 0, False: 0]
  ------------------
 6482|       |	    
 6483|      0|	if( tok == SYMBOL_FUNCTION_CALL ){
  ------------------
  |  |  624|      0|#define SYMBOL_FUNCTION_CALL 296
  ------------------
  |  Branch (6483:6): [True: 0, False: 0]
  ------------------
 6484|       |		// looking for first child of id
 6485|      0|		int j = ID_ID( id ) ;
  ------------------
  |  |  173|      0|#define ID_ID( i )      INTEGER(PS_IDS)[ 2*(i) ]
  |  |  ------------------
  |  |  |  |  307|      0|#define PS_IDS              VECTOR_ELT(ParseState.sexps, 5)
  |  |  ------------------
  ------------------
 6486|      0|		int parent = id ;
 6487|       |		
 6488|      0|		if (j < 0 || j > ID_COUNT)
  ------------------
  |  |  156|      0|#define ID_COUNT    ((length( PS_IDS ) / 2) - 1)
  |  |  ------------------
  |  |  |  |  987|      0|#define length(x)		Rf_length(x)
  |  |  ------------------
  ------------------
  |  Branch (6488:7): [True: 0, False: 0]
  |  Branch (6488:16): [True: 0, False: 0]
  ------------------
 6489|      0|	            return;
 6490|       |	            
 6491|      0|		while( ID_PARENT( _ID(j) ) != parent ){
  ------------------
  |  |  174|      0|#define ID_PARENT( i )  INTEGER(PS_IDS)[ 2*(i) + 1 ]
  |  |  ------------------
  |  |  |  |  307|      0|#define PS_IDS              VECTOR_ELT(ParseState.sexps, 5)
  |  |  ------------------
  ------------------
  |  Branch (6491:10): [True: 0, False: 0]
  ------------------
 6492|      0|		    j-- ; 
 6493|      0|		    if (j < 0)
  ------------------
  |  Branch (6493:11): [True: 0, False: 0]
  ------------------
 6494|      0|	        	return;
 6495|      0|		}
 6496|       |			
 6497|      0|		if( _TOKEN(j) == SYMBOL ){
  ------------------
  |  |  169|      0|#define _TOKEN( i )        INTEGER( PS_DATA )[ DATA_ROWS*(i) + 5 ]
  |  |  ------------------
  |  |  |  |  305|      0|#define PS_DATA             ParseState.data
  |  |  ------------------
  |  |               #define _TOKEN( i )        INTEGER( PS_DATA )[ DATA_ROWS*(i) + 5 ]
  |  |  ------------------
  |  |  |  |  162|      0|#define DATA_ROWS 8
  |  |  ------------------
  ------------------
              		if( _TOKEN(j) == SYMBOL ){
  ------------------
  |  |  591|      0|#define SYMBOL 263
  ------------------
  |  Branch (6497:7): [True: 0, False: 0]
  ------------------
 6498|      0|		    _TOKEN(j) = SYMBOL_FUNCTION_CALL ;
  ------------------
  |  |  169|      0|#define _TOKEN( i )        INTEGER( PS_DATA )[ DATA_ROWS*(i) + 5 ]
  |  |  ------------------
  |  |  |  |  305|      0|#define PS_DATA             ParseState.data
  |  |  ------------------
  |  |               #define _TOKEN( i )        INTEGER( PS_DATA )[ DATA_ROWS*(i) + 5 ]
  |  |  ------------------
  |  |  |  |  162|      0|#define DATA_ROWS 8
  |  |  ------------------
  ------------------
              		    _TOKEN(j) = SYMBOL_FUNCTION_CALL ;
  ------------------
  |  |  624|      0|#define SYMBOL_FUNCTION_CALL 296
  ------------------
 6499|      0|		}
 6500|       |		
 6501|      0|	} else{
 6502|      0|		_TOKEN( ID_ID(id) ) = tok ;
  ------------------
  |  |  169|      0|#define _TOKEN( i )        INTEGER( PS_DATA )[ DATA_ROWS*(i) + 5 ]
  |  |  ------------------
  |  |  |  |  305|      0|#define PS_DATA             ParseState.data
  |  |  ------------------
  |  |               #define _TOKEN( i )        INTEGER( PS_DATA )[ DATA_ROWS*(i) + 5 ]
  |  |  ------------------
  |  |  |  |  162|      0|#define DATA_ROWS 8
  |  |  ------------------
  ------------------
 6503|      0|	}
 6504|       |	
 6505|      0|}

do_strsplit:
  656|  3.79k|{
  657|  3.79k|    SEXP args0 = args, ans, tok, x;
  658|  3.79k|    R_xlen_t i, itok, len, tlen;
  659|  3.79k|    size_t j, ntok;
  660|  3.79k|    bool fixed_opt, perl_opt, useBytes;
  661|  3.79k|    char *pt = NULL; wchar_t *wpt = NULL;
  662|  3.79k|    const char *buf, *split = "", *bufp;
  663|  3.79k|    const unsigned char *tables = NULL;
  664|  3.79k|    bool use_UTF8 = false;
  665|  3.79k|    const void *vmax, *vmax2;
  666|  3.79k|    int nwarn = 0;
  667|  3.79k|    bool haveBytesInput;
  668|       |
  669|  3.79k|    checkArity(op, args);
  ------------------
  |  | 1793|  3.79k|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  670|  3.79k|    x = CAR(args); args = CDR(args);
  671|  3.79k|    tok = CAR(args); args = CDR(args);
  672|  3.79k|    fixed_opt = asBool2(CAR(args), call); args = CDR(args);
  ------------------
  |  | 1865|  3.79k|# define asBool2	       	Rf_asBool2
  ------------------
  673|  3.79k|    perl_opt = asBool2(CAR(args), call); args = CDR(args);
  ------------------
  |  | 1865|  3.79k|# define asBool2	       	Rf_asBool2
  ------------------
  674|  3.79k|    useBytes = asBool2(CAR(args), call);
  ------------------
  |  | 1865|  3.79k|# define asBool2	       	Rf_asBool2
  ------------------
  675|  3.79k|    if (fixed_opt && perl_opt) {
  ------------------
  |  Branch (675:9): [True: 3.74k, False: 46]
  |  Branch (675:22): [True: 0, False: 3.74k]
  ------------------
  676|      0|	warning(_("argument '%s' will be ignored"), "perl = TRUE");
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	warning(_("argument '%s' will be ignored"), "perl = TRUE");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  677|      0|	perl_opt = 0;
  678|      0|    }
  679|       |
  680|  3.79k|    if (!isString(x) || !isString(tok)) error(_("non-character argument"));
  ------------------
  |  |  966|  3.79k|#define isString		Rf_isString
  ------------------
                  if (!isString(x) || !isString(tok)) error(_("non-character argument"));
  ------------------
  |  |  966|  3.79k|#define isString		Rf_isString
  ------------------
                  if (!isString(x) || !isString(tok)) error(_("non-character argument"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  if (!isString(x) || !isString(tok)) error(_("non-character argument"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (680:9): [True: 0, False: 3.79k]
  |  Branch (680:25): [True: 0, False: 3.79k]
  ------------------
  681|       |
  682|       |
  683|  3.79k|    len = XLENGTH(x);
  684|  3.79k|    tlen = XLENGTH(tok);
  685|       |
  686|       |    /* treat split = NULL as split = "" */
  687|  3.79k|    if (!tlen) { tlen = 1; SETCADR(args0, tok = mkString("")); }
  ------------------
  |  | 1003|      0|#define mkString		Rf_mkString
  ------------------
  |  Branch (687:9): [True: 0, False: 3.79k]
  ------------------
  688|  3.79k|    PROTECT(tok);
  ------------------
  |  |  357|  3.79k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  689|       |
  690|  3.79k|    haveBytesInput = have_bytes(tok, tlen) || have_bytes(x, len);
  ------------------
  |  Branch (690:22): [True: 0, False: 3.79k]
  |  Branch (690:47): [True: 0, False: 3.79k]
  ------------------
  691|  3.79k|    if (!useBytes)
  ------------------
  |  Branch (691:9): [True: 3.79k, False: 0]
  ------------------
  692|  3.79k|	useBytes = only_ascii(tok, tlen) && only_ascii(x, len);
  ------------------
  |  Branch (692:13): [True: 3.79k, False: 0]
  |  Branch (692:38): [True: 3.08k, False: 715]
  ------------------
  693|  3.79k|    if (!useBytes) 
  ------------------
  |  Branch (693:9): [True: 715, False: 3.08k]
  ------------------
  694|    715|	useBytes = haveBytesInput;
  695|  3.79k|    if (!useBytes) {
  ------------------
  |  Branch (695:9): [True: 715, False: 3.08k]
  ------------------
  696|       |	// use_UTF8 means use wchar_t* for the TRE engine
  697|    715|	if (!fixed_opt && mbcslocale) use_UTF8 = true;
  ------------------
  |  Branch (697:6): [True: 0, False: 715]
  |  Branch (697:20): [True: 0, False: 0]
  ------------------
  698|    715|	if (!use_UTF8)
  ------------------
  |  Branch (698:6): [True: 715, False: 0]
  ------------------
  699|    715|	    use_UTF8 = have_utf8(tok, tlen) || have_utf8(x, len);
  ------------------
  |  Branch (699:17): [True: 0, False: 715]
  |  Branch (699:41): [True: 0, False: 715]
  ------------------
  700|    715|	if (!use_UTF8 && !latin1locale)
  ------------------
  |  Branch (700:6): [True: 715, False: 0]
  |  Branch (700:19): [True: 715, False: 0]
  ------------------
  701|    715|	    use_UTF8 = have_latin1(tok, tlen) || have_latin1(x, len);
  ------------------
  |  Branch (701:17): [True: 0, False: 715]
  |  Branch (701:43): [True: 0, False: 715]
  ------------------
  702|    715|    }
  703|       |
  704|       |    /* group by token for efficiency with PCRE/TRE versions */
  705|  3.79k|    PROTECT(ans = allocVector(VECSXP, len));
  ------------------
  |  |  357|  3.79k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  706|  3.79k|    vmax = vmaxget();
  707|  7.59k|    for (itok = 0; itok < tlen; itok++) {
  ------------------
  |  Branch (707:20): [True: 3.79k, False: 3.79k]
  ------------------
  708|  3.79k|	SEXP this = STRING_ELT(tok, itok);
  709|       |
  710|  3.79k|	if (this == NA_STRING) { /* NA token doesn't split */
  ------------------
  |  |  433|  3.79k|#define NA_STRING	R_NaString
  ------------------
  |  Branch (710:6): [True: 0, False: 3.79k]
  ------------------
  711|      0|	    for (i = itok; i < len; i += tlen)
  ------------------
  |  Branch (711:21): [True: 0, False: 0]
  ------------------
  712|      0|		SET_VECTOR_ELT(ans, i,
  713|      0|		               ScalarString(markBytesOld(STRING_ELT(x, i),
  ------------------
  |  | 1025|      0|#define ScalarString		Rf_ScalarString
  ------------------
  714|      0|		                                         useBytes,
  715|      0|		                                         haveBytesInput)));
  716|      0|	    continue;
  717|  3.79k|	} else if (!CHAR(this)[0]) { /* empty */
  ------------------
  |  |  203|  3.79k|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (717:13): [True: 0, False: 3.79k]
  ------------------
  718|      0|	    vmax2 = vmaxget();
  719|      0|	    for (i = itok; i < len; i += tlen) {
  ------------------
  |  Branch (719:21): [True: 0, False: 0]
  ------------------
  720|      0|		SEXP t;
  721|      0|		if (STRING_ELT(x, i) == NA_STRING) {
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  |  Branch (721:7): [True: 0, False: 0]
  ------------------
  722|      0|		    SET_VECTOR_ELT(ans, i, ScalarString(NA_STRING));
  ------------------
  |  | 1025|      0|#define ScalarString		Rf_ScalarString
  ------------------
              		    SET_VECTOR_ELT(ans, i, ScalarString(NA_STRING));
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  723|      0|		    continue;
  724|      0|		}
  725|      0|		if (useBytes)
  ------------------
  |  Branch (725:7): [True: 0, False: 0]
  ------------------
  726|      0|		    buf = CHAR(STRING_ELT(x, i));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  727|      0|		else if (use_UTF8) {
  ------------------
  |  Branch (727:12): [True: 0, False: 0]
  ------------------
  728|      0|		    buf = trCharUTF82(STRING_ELT(x, i));
  ------------------
  |  | 2006|      0|# define trCharUTF82      	Rf_trCharUTF82
  ------------------
  729|      0|		    if (!buf || !utf8Valid(buf)) {
  ------------------
  |  | 2016|      0|# define utf8Valid		Rf_utf8Valid
  ------------------
  |  Branch (729:11): [True: 0, False: 0]
  |  Branch (729:19): [True: 0, False: 0]
  ------------------
  730|      0|			if(nwarn++ < NWARN)
  ------------------
  |  |   62|      0|#define NWARN 5
  ------------------
  |  Branch (730:7): [True: 0, False: 0]
  ------------------
  731|      0|			    warning(_("input string %lld is invalid UTF-8"),
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              			    warning(_("input string %lld is invalid UTF-8"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  732|      0|			            (long long)i+1);
  733|      0|			SET_VECTOR_ELT(ans, i, ScalarString(NA_STRING));
  ------------------
  |  | 1025|      0|#define ScalarString		Rf_ScalarString
  ------------------
              			SET_VECTOR_ELT(ans, i, ScalarString(NA_STRING));
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  734|      0|			continue;
  735|      0|		    }
  736|      0|		} else {
  737|      0|		    buf = translateCharFP2(STRING_ELT(x, i));
  ------------------
  |  | 2004|      0|# define translateCharFP2	Rf_translateCharFP2
  ------------------
  738|      0|		    if (!buf || (mbcslocale && !mbcsValid(buf))) {
  ------------------
  |  | 1957|      0|# define mbcsValid		Rf_mbcsValid
  ------------------
  |  Branch (738:11): [True: 0, False: 0]
  |  Branch (738:20): [True: 0, False: 0]
  |  Branch (738:34): [True: 0, False: 0]
  ------------------
  739|      0|			if(nwarn++ < NWARN)
  ------------------
  |  |   62|      0|#define NWARN 5
  ------------------
  |  Branch (739:7): [True: 0, False: 0]
  ------------------
  740|      0|			    warning(_("input string %lld is invalid in this locale"),
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              			    warning(_("input string %lld is invalid in this locale"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  741|      0|			            (long long)i+1);
  742|      0|			SET_VECTOR_ELT(ans, i, ScalarString(NA_STRING));
  ------------------
  |  | 1025|      0|#define ScalarString		Rf_ScalarString
  ------------------
              			SET_VECTOR_ELT(ans, i, ScalarString(NA_STRING));
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  743|      0|			continue;
  744|      0|		    }
  745|      0|		}
  746|      0|		if (!useBytes && (use_UTF8 || mbcslocale) &&
  ------------------
  |  Branch (746:7): [True: 0, False: 0]
  |  Branch (746:21): [True: 0, False: 0]
  |  Branch (746:33): [True: 0, False: 0]
  ------------------
  747|      0|		    !IS_ASCII(STRING_ELT(x, i))) {
  ------------------
  |  Branch (747:7): [True: 0, False: 0]
  ------------------
  748|       |
  749|       |		    /* split into individual characters (not bytes) */
  750|      0|		    char bf[20 /* > R_MB_CUR_MAX */];
  751|      0|		    const char *p = buf;
  752|      0|		    size_t used;
  753|      0|		    mbstate_t mb_st;
  754|      0|		    ssize_t nt;  /* need to check error on size_t */
  755|       |
  756|      0|		    if (use_UTF8) {
  ------------------
  |  Branch (756:11): [True: 0, False: 0]
  ------------------
  757|      0|			for (ntok = 0; *p; p += used, ntok++)
  ------------------
  |  Branch (757:19): [True: 0, False: 0]
  ------------------
  758|      0|			    used = utf8clen(*p);
  ------------------
  |  | 2013|      0|# define utf8clen		Rf_utf8clen
  ------------------
  759|      0|			p = buf;
  760|      0|			PROTECT(t = allocVector(STRSXP, ntok));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  761|      0|			for (j = 0; j < ntok; j++, p += used) {
  ------------------
  |  Branch (761:16): [True: 0, False: 0]
  ------------------
  762|      0|			    used = utf8clen(*p);
  ------------------
  |  | 2013|      0|# define utf8clen		Rf_utf8clen
  ------------------
  763|      0|			    memcpy(bf, p, used); bf[used] = '\0';
  764|      0|			    SET_STRING_ELT(t, j, mkCharCE(bf, CE_UTF8));
  ------------------
  |  |  999|      0|#define mkCharCE		Rf_mkCharCE
  ------------------
  765|      0|			}
  766|      0|		    } else if ((nt = mbstowcs(NULL, buf, 0)) < 0) {
  ------------------
  |  Branch (766:18): [True: 0, False: 0]
  ------------------
  767|      0|			PROTECT(t = ScalarString(NA_STRING));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  768|      0|		    } else {
  769|      0|			ntok = nt;
  770|      0|			mbs_init(&mb_st);
  ------------------
  |  | 2459|      0|#define mbs_init(x) memset(x, 0, sizeof(mbstate_t))
  ------------------
  771|      0|			PROTECT(t = allocVector(STRSXP, ntok));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  772|      0|			for (j = 0; j < ntok; j++, p += used) {
  ------------------
  |  Branch (772:16): [True: 0, False: 0]
  ------------------
  773|       |			    /* This is valid as we have already checked */
  774|      0|			    used = mbrtowc(NULL, p, R_MB_CUR_MAX, &mb_st);
  775|      0|			    memcpy(bf, p, used); bf[used] = '\0';
  776|      0|			    SET_STRING_ELT(t, j, markKnown(bf, STRING_ELT(x, i)));
  ------------------
  |  | 1947|      0|# define markKnown		Rf_markKnown
  ------------------
  777|      0|			}
  778|      0|		    }
  779|      0|		} else {
  780|       |		    /* useBytes or ASCII or
  781|       |		       single-byte locale and not marked as UTF-8 */
  782|      0|		    char bf[2];
  783|      0|		    ntok = strlen(buf);
  784|      0|		    PROTECT(t = allocVector(STRSXP, ntok));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  785|      0|		    bf[1] = '\0';
  786|      0|		    if(useBytes) {
  ------------------
  |  Branch (786:10): [True: 0, False: 0]
  ------------------
  787|      0|			for (j = 0; j < ntok; j++) {
  ------------------
  |  Branch (787:16): [True: 0, False: 0]
  ------------------
  788|      0|			    bf[0] = buf[j];
  789|      0|			    SET_STRING_ELT(t, j, mkBytesNew(bf, haveBytesInput));
  790|      0|			}
  791|      0|		    } else {
  792|      0|			for (j = 0; j < ntok; j++) {
  ------------------
  |  Branch (792:16): [True: 0, False: 0]
  ------------------
  793|      0|			    bf[0] = buf[j];
  794|      0|			    SET_STRING_ELT(t, j, markKnown(bf, STRING_ELT(x, i)));
  ------------------
  |  | 1947|      0|# define markKnown		Rf_markKnown
  ------------------
  795|      0|			}
  796|      0|		    }
  797|      0|		}
  798|      0|		SET_VECTOR_ELT(ans, i, t);
  799|      0|		UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  800|      0|		vmaxset(vmax2);
  801|      0|	    }
  802|  3.79k|	} else if (fixed_opt) {
  ------------------
  |  Branch (802:13): [True: 3.74k, False: 46]
  ------------------
  803|  3.74k|	    const char *laststart, *ebuf;
  804|  3.74k|	    if (useBytes)
  ------------------
  |  Branch (804:10): [True: 3.03k, False: 715]
  ------------------
  805|  3.03k|		split = CHAR(STRING_ELT(tok, itok));
  ------------------
  |  |  203|  3.03k|#define CHAR(x) R_CHAR(x)
  ------------------
  806|    715|	    else if (use_UTF8) { // includes Latin-1 support
  ------------------
  |  Branch (806:15): [True: 0, False: 715]
  ------------------
  807|      0|		split = trCharUTF82(STRING_ELT(tok, itok));
  ------------------
  |  | 2006|      0|# define trCharUTF82      	Rf_trCharUTF82
  ------------------
  808|      0|		if (!split || !utf8Valid(split))
  ------------------
  |  | 2016|      0|# define utf8Valid		Rf_utf8Valid
  ------------------
  |  Branch (808:7): [True: 0, False: 0]
  |  Branch (808:17): [True: 0, False: 0]
  ------------------
  809|      0|		    error(_("'split' string %lld is invalid UTF-8"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("'split' string %lld is invalid UTF-8"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  810|      0|		          (long long)itok+1);
  811|    715|	    } else {
  812|    715|		split = translateCharFP2(STRING_ELT(tok, itok));
  ------------------
  |  | 2004|    715|# define translateCharFP2	Rf_translateCharFP2
  ------------------
  813|    715|		if (!split || (mbcslocale && !mbcsValid(split)))
  ------------------
  |  | 1957|      0|# define mbcsValid		Rf_mbcsValid
  ------------------
  |  Branch (813:7): [True: 0, False: 715]
  |  Branch (813:18): [True: 0, False: 715]
  |  Branch (813:32): [True: 0, False: 0]
  ------------------
  814|      0|		    error(_("'split' string %lld is invalid in this locale"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("'split' string %lld is invalid in this locale"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  815|      0|			  (long long)itok+1);
  816|    715|	    }
  817|  3.74k|	    int slen = (int) strlen(split);
  818|       |
  819|  3.74k|	    vmax2 = vmaxget();
  820|  7.49k|	    for (i = itok; i < len; i += tlen) {
  ------------------
  |  Branch (820:21): [True: 3.74k, False: 3.74k]
  ------------------
  821|  3.74k|		SEXP t;
  822|  3.74k|		if (STRING_ELT(x, i) == NA_STRING) {
  ------------------
  |  |  433|  3.74k|#define NA_STRING	R_NaString
  ------------------
  |  Branch (822:7): [True: 0, False: 3.74k]
  ------------------
  823|      0|		    SET_VECTOR_ELT(ans, i, ScalarString(NA_STRING));
  ------------------
  |  | 1025|      0|#define ScalarString		Rf_ScalarString
  ------------------
              		    SET_VECTOR_ELT(ans, i, ScalarString(NA_STRING));
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  824|      0|		    continue;
  825|      0|		}
  826|       |
  827|  3.74k|		if (useBytes)
  ------------------
  |  Branch (827:7): [True: 3.03k, False: 715]
  ------------------
  828|  3.03k|		    buf = CHAR(STRING_ELT(x, i));
  ------------------
  |  |  203|  3.03k|#define CHAR(x) R_CHAR(x)
  ------------------
  829|    715|		else if (use_UTF8) {
  ------------------
  |  Branch (829:12): [True: 0, False: 715]
  ------------------
  830|      0|		    buf = trCharUTF82(STRING_ELT(x, i));
  ------------------
  |  | 2006|      0|# define trCharUTF82      	Rf_trCharUTF82
  ------------------
  831|      0|		    if (!buf || !utf8Valid(buf)) {
  ------------------
  |  | 2016|      0|# define utf8Valid		Rf_utf8Valid
  ------------------
  |  Branch (831:11): [True: 0, False: 0]
  |  Branch (831:19): [True: 0, False: 0]
  ------------------
  832|      0|			if(nwarn++ < NWARN)
  ------------------
  |  |   62|      0|#define NWARN 5
  ------------------
  |  Branch (832:7): [True: 0, False: 0]
  ------------------
  833|      0|			    warning(_("input string %lld is invalid UTF-8"),
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              			    warning(_("input string %lld is invalid UTF-8"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  834|      0|			            (long long)i+1);
  835|      0|			SET_VECTOR_ELT(ans, i, ScalarString(NA_STRING));
  ------------------
  |  | 1025|      0|#define ScalarString		Rf_ScalarString
  ------------------
              			SET_VECTOR_ELT(ans, i, ScalarString(NA_STRING));
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  836|      0|			continue;
  837|      0|		    }
  838|    715|		} else {
  839|    715|		    buf = translateCharFP2(STRING_ELT(x, i));
  ------------------
  |  | 2004|    715|# define translateCharFP2	Rf_translateCharFP2
  ------------------
  840|    715|		    if (!buf || (mbcslocale && !mbcsValid(buf))) {
  ------------------
  |  | 1957|      0|# define mbcsValid		Rf_mbcsValid
  ------------------
  |  Branch (840:11): [True: 0, False: 715]
  |  Branch (840:20): [True: 0, False: 715]
  |  Branch (840:34): [True: 0, False: 0]
  ------------------
  841|      0|			if(nwarn++ < NWARN)
  ------------------
  |  |   62|      0|#define NWARN 5
  ------------------
  |  Branch (841:7): [True: 0, False: 0]
  ------------------
  842|      0|			    warning(_("input string %lld is invalid in this locale"),
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              			    warning(_("input string %lld is invalid in this locale"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  843|      0|			            (long long)i+1);
  844|      0|			SET_VECTOR_ELT(ans, i, ScalarString(NA_STRING));
  ------------------
  |  | 1025|      0|#define ScalarString		Rf_ScalarString
  ------------------
              			SET_VECTOR_ELT(ans, i, ScalarString(NA_STRING));
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  845|      0|			continue;
  846|      0|		    }
  847|    715|		}
  848|       |		/* find out how many splits there will be */
  849|  3.74k|		size_t ntok = 0;
  850|       |		/* This is UTF-8 safe since it compares whole strings */
  851|  3.74k|		laststart = buf;
  852|  3.74k|		ebuf = buf + strlen(buf);
  853|  3.04M|		for (bufp = buf; bufp < ebuf; bufp++) {
  ------------------
  |  Branch (853:20): [True: 3.04M, False: 3.74k]
  ------------------
  854|  3.04M|		    if ((slen == 1 && *bufp != *split) ||
  ------------------
  |  Branch (854:12): [True: 3.04M, False: 0]
  |  Branch (854:25): [True: 2.31M, False: 733k]
  ------------------
  855|  2.31M|			(slen > 1 && strncmp(bufp, split, slen))) continue;
  ------------------
  |  Branch (855:5): [True: 0, False: 733k]
  |  Branch (855:17): [True: 0, False: 0]
  ------------------
  856|   733k|		    ntok++;
  857|   733k|		    bufp += MAX(slen - 1, 0);
  ------------------
  |  |  140|   733k|# define MAX(a, b) ((a) > (b) ? (a) : (b))
  |  |  ------------------
  |  |  |  Branch (140:21): [True: 0, False: 733k]
  |  |  ------------------
  ------------------
  858|   733k|		    laststart = bufp+1;
  859|   733k|		}
  860|  3.74k|		bufp = laststart;
  861|  3.74k|		SET_VECTOR_ELT(ans, i,
  862|  3.74k|			       t = allocVector(STRSXP, ntok + (*bufp ? 1 : 0)));
  ------------------
  |  |  875|  3.74k|#define allocVector		Rf_allocVector
  ------------------
              			       t = allocVector(STRSXP, ntok + (*bufp ? 1 : 0)));
  ------------------
  |  |  126|  3.74k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (862:43): [True: 3.40k, False: 347]
  ------------------
  863|       |		/* and fill with the splits */
  864|  3.74k|		laststart = bufp = buf;
  865|  3.74k|		pt = R_Realloc(pt, strlen(buf)+1, char);
  ------------------
  |  |   56|  3.74k|#define R_Realloc(p,n,t) (t *) R_chk_realloc( (void *)(p), (R_SIZE_T)((n) * sizeof(t)) )
  ------------------
  866|   736k|		for (size_t j = 0; j < ntok; j++) {
  ------------------
  |  Branch (866:22): [True: 733k, False: 3.74k]
  ------------------
  867|       |		    /* This is UTF-8 safe since it compares whole
  868|       |		       strings, but <MBCS-FIXME> it would be more
  869|       |		       efficient to skip along by chars.
  870|       |		    */
  871|  2.36M|		    for (; bufp < ebuf; bufp++) {
  ------------------
  |  Branch (871:14): [True: 2.36M, False: 0]
  ------------------
  872|  2.36M|			if ((slen == 1 && *bufp != *split) ||
  ------------------
  |  Branch (872:9): [True: 2.36M, False: 0]
  |  Branch (872:22): [True: 1.63M, False: 733k]
  ------------------
  873|  1.63M|			    (slen > 1 && strncmp(bufp, split, slen))) continue;
  ------------------
  |  Branch (873:9): [True: 0, False: 733k]
  |  Branch (873:21): [True: 0, False: 0]
  ------------------
  874|   733k|			if (slen) {
  ------------------
  |  Branch (874:8): [True: 733k, False: 0]
  ------------------
  875|   733k|			    if (bufp > laststart)
  ------------------
  |  Branch (875:12): [True: 446k, False: 286k]
  ------------------
  876|   446k|				memcpy(pt, laststart, bufp - laststart);
  877|   733k|			    pt[bufp - laststart] = '\0';
  878|   733k|			} else {
  879|      0|			    pt[0] = *bufp; pt[1] ='\0';
  880|      0|			}
  881|   733k|			bufp += MAX(slen-1, 0);
  ------------------
  |  |  140|   733k|# define MAX(a, b) ((a) > (b) ? (a) : (b))
  |  |  ------------------
  |  |  |  Branch (140:21): [True: 0, False: 733k]
  |  |  ------------------
  ------------------
  882|   733k|			laststart = bufp+1;
  883|   733k|			if (useBytes)
  ------------------
  |  Branch (883:8): [True: 427k, False: 305k]
  ------------------
  884|   427k|			    SET_STRING_ELT(t, j, mkBytesNew(pt, haveBytesInput));
  885|   305k|			else if (use_UTF8)
  ------------------
  |  Branch (885:13): [True: 0, False: 305k]
  ------------------
  886|      0|			    SET_STRING_ELT(t, j, mkCharCE(pt, CE_UTF8));
  ------------------
  |  |  999|      0|#define mkCharCE		Rf_mkCharCE
  ------------------
  887|   305k|			else
  888|   305k|			    SET_STRING_ELT(t, j, markKnown(pt, STRING_ELT(x, i)));
  ------------------
  |  | 1947|   305k|# define markKnown		Rf_markKnown
  ------------------
  889|   733k|			break;
  890|  2.36M|		    }
  891|   733k|		    bufp = laststart;
  892|   733k|		}
  893|  3.74k|		if (*bufp) {
  ------------------
  |  Branch (893:7): [True: 3.40k, False: 347]
  ------------------
  894|  3.40k|		    if (useBytes)
  ------------------
  |  Branch (894:11): [True: 2.72k, False: 678]
  ------------------
  895|  2.72k|			SET_STRING_ELT(t, ntok, mkBytesNew(bufp, haveBytesInput));
  896|    678|		    else if (use_UTF8)
  ------------------
  |  Branch (896:16): [True: 0, False: 678]
  ------------------
  897|      0|			SET_STRING_ELT(t, ntok, mkCharCE(bufp, CE_UTF8));
  ------------------
  |  |  999|      0|#define mkCharCE		Rf_mkCharCE
  ------------------
  898|    678|		    else
  899|    678|			SET_STRING_ELT(t, ntok, markKnown(bufp, STRING_ELT(x, i)));
  ------------------
  |  | 1947|    678|# define markKnown		Rf_markKnown
  ------------------
  900|  3.40k|		}
  901|  3.74k|		vmaxset(vmax2);
  902|  3.74k|	    }
  903|  3.74k|	} else if (perl_opt) {
  ------------------
  |  Branch (903:13): [True: 0, False: 46]
  ------------------
  904|      0|	    if (useBytes)
  ------------------
  |  Branch (904:10): [True: 0, False: 0]
  ------------------
  905|      0|		split = CHAR(STRING_ELT(tok, itok));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  906|      0|	    else if (use_UTF8) {
  ------------------
  |  Branch (906:15): [True: 0, False: 0]
  ------------------
  907|      0|		split = trCharUTF82(STRING_ELT(tok, itok));
  ------------------
  |  | 2006|      0|# define trCharUTF82      	Rf_trCharUTF82
  ------------------
  908|      0|		if (!split || !utf8Valid(split))
  ------------------
  |  | 2016|      0|# define utf8Valid		Rf_utf8Valid
  ------------------
  |  Branch (908:7): [True: 0, False: 0]
  |  Branch (908:17): [True: 0, False: 0]
  ------------------
  909|      0|		    error(_("'split' string %lld is invalid UTF-8"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("'split' string %lld is invalid UTF-8"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  910|      0|		          (long long)itok+1);
  911|      0|	    } else {
  912|      0|		split = translateCharFP2(STRING_ELT(tok, itok));
  ------------------
  |  | 2004|      0|# define translateCharFP2	Rf_translateCharFP2
  ------------------
  913|      0|		if (!split || (mbcslocale && !mbcsValid(split)))
  ------------------
  |  | 1957|      0|# define mbcsValid		Rf_mbcsValid
  ------------------
  |  Branch (913:7): [True: 0, False: 0]
  |  Branch (913:18): [True: 0, False: 0]
  |  Branch (913:32): [True: 0, False: 0]
  ------------------
  914|      0|		    error(_("'split' string %lld is invalid in this locale"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("'split' string %lld is invalid in this locale"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  915|      0|		          (long long)itok+1);
  916|      0|	    }
  917|      0|#ifdef HAVE_PCRE2
  918|      0|	    pcre2_code *re = NULL;
  919|      0|	    pcre2_match_context *mcontext = NULL;
  920|      0|	    PCRE2_SIZE *ovector = NULL;
  921|      0|	    uint32_t ovecsize = 10;
  922|      0|	    R_pcre2_prepare(split, x, use_UTF8, false, &tables, &re, &mcontext);
  923|      0|	    pcre2_match_data *mdata = pcre2_match_data_create(ovecsize, NULL);
  924|      0|	    uint32_t eflag = 0;
  925|      0|	    if (use_UTF8) eflag |= PCRE2_NO_UTF_CHECK;
  ------------------
  |  Branch (925:10): [True: 0, False: 0]
  ------------------
  926|       |#else
  927|       |	    pcre *re_pcre = NULL;
  928|       |	    pcre_extra *re_pe = NULL;
  929|       |	    int ovecsize = 30;
  930|       |	    int ovector[ovecsize];
  931|       |
  932|       |	    R_pcre_prepare(split, x, use_UTF8, false, true, &tables, &re_pcre,
  933|       |	                 &re_pe);
  934|       |#endif
  935|      0|	    regex_cleanup_info ci;
  936|      0|	    RCNTXT cntxt;
  937|      0|#ifdef HAVE_PCRE2
  938|      0|	    regex_cleanup_begin(&ci, &cntxt, call, false, true, NULL, tables,
  939|      0|				re, mdata, mcontext);
  940|       |#else
  941|       |	    regex_cleanup_begin(&ci, &cntxt, call, false, true, NULL, tables,
  942|       |				re_pcre, re_pe, NULL);
  943|       |#endif
  944|      0|	    vmax2 = vmaxget();
  945|      0|	    for (i = itok; i < len; i += tlen) {
  ------------------
  |  Branch (945:21): [True: 0, False: 0]
  ------------------
  946|      0|		SEXP t;
  947|      0|		if (STRING_ELT(x, i) == NA_STRING) {
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  |  Branch (947:7): [True: 0, False: 0]
  ------------------
  948|      0|		    SET_VECTOR_ELT(ans, i, ScalarString(NA_STRING));
  ------------------
  |  | 1025|      0|#define ScalarString		Rf_ScalarString
  ------------------
              		    SET_VECTOR_ELT(ans, i, ScalarString(NA_STRING));
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  949|      0|		    continue;
  950|      0|		}
  951|       |
  952|      0|		if (useBytes)
  ------------------
  |  Branch (952:7): [True: 0, False: 0]
  ------------------
  953|      0|		    buf = CHAR(STRING_ELT(x, i));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  954|      0|		else if (use_UTF8) {
  ------------------
  |  Branch (954:12): [True: 0, False: 0]
  ------------------
  955|      0|		    buf = trCharUTF82(STRING_ELT(x, i));
  ------------------
  |  | 2006|      0|# define trCharUTF82      	Rf_trCharUTF82
  ------------------
  956|      0|		    if (!buf || !utf8Valid(buf)) {
  ------------------
  |  | 2016|      0|# define utf8Valid		Rf_utf8Valid
  ------------------
  |  Branch (956:11): [True: 0, False: 0]
  |  Branch (956:19): [True: 0, False: 0]
  ------------------
  957|      0|			if(nwarn++ < NWARN)
  ------------------
  |  |   62|      0|#define NWARN 5
  ------------------
  |  Branch (957:7): [True: 0, False: 0]
  ------------------
  958|      0|			    warning(_("input string %lld is invalid UTF-8"),
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              			    warning(_("input string %lld is invalid UTF-8"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  959|      0|			            (long long)i+1);
  960|      0|			SET_VECTOR_ELT(ans, i, ScalarString(NA_STRING));
  ------------------
  |  | 1025|      0|#define ScalarString		Rf_ScalarString
  ------------------
              			SET_VECTOR_ELT(ans, i, ScalarString(NA_STRING));
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  961|      0|			continue;
  962|      0|		    }
  963|      0|		} else {
  964|      0|		    buf = translateCharFP2(STRING_ELT(x, i));
  ------------------
  |  | 2004|      0|# define translateCharFP2	Rf_translateCharFP2
  ------------------
  965|      0|		    if (!buf || (mbcslocale && !mbcsValid(buf))) {
  ------------------
  |  | 1957|      0|# define mbcsValid		Rf_mbcsValid
  ------------------
  |  Branch (965:11): [True: 0, False: 0]
  |  Branch (965:20): [True: 0, False: 0]
  |  Branch (965:34): [True: 0, False: 0]
  ------------------
  966|      0|			if(nwarn++ < NWARN)
  ------------------
  |  |   62|      0|#define NWARN 5
  ------------------
  |  Branch (966:7): [True: 0, False: 0]
  ------------------
  967|      0|			    warning(_("input string %lld is invalid in this locale"),
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              			    warning(_("input string %lld is invalid in this locale"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  968|      0|			            (long long)i+1);
  969|      0|			SET_VECTOR_ELT(ans, i, ScalarString(NA_STRING));
  ------------------
  |  | 1025|      0|#define ScalarString		Rf_ScalarString
  ------------------
              			SET_VECTOR_ELT(ans, i, ScalarString(NA_STRING));
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  970|      0|			continue;
  971|      0|		    }
  972|      0|		}
  973|       |		/* Storing strlen() now, where passes below use the remaining length,
  974|       |		   not needing to call strlen() again */
  975|      0|		size_t buflen = strlen(buf);
  976|       |		/* find out how many splits there will be */
  977|      0|		ntok = 0;
  978|      0|		bufp = buf;
  979|      0|		if (*bufp) {
  ------------------
  |  Branch (979:7): [True: 0, False: 0]
  ------------------
  980|      0|		    int rc;
  981|      0|#ifdef HAVE_PCRE2
  982|      0|		    while((rc = pcre2_match(re, (PCRE2_SPTR) bufp,
  ------------------
  |  Branch (982:13): [True: 0, False: 0]
  ------------------
  983|      0|		                            buflen - (size_t)(bufp - buf),
  984|      0|					    0, eflag, mdata, mcontext)) >= 0) {
  985|      0|			ovector = pcre2_get_ovector_pointer(mdata);
  986|       |#else
  987|       |		    while((rc = pcre_exec(re_pcre, re_pe, bufp,
  988|       |					  (int) (buflen - (size_t)(bufp - buf)),
  989|       |					  0, 0, ovector, ovecsize)) >= 0) {
  990|       |#endif
  991|      0|			if (ovector[0] > ovector[1]) {
  ------------------
  |  Branch (991:8): [True: 0, False: 0]
  ------------------
  992|      0|			    R_Free(pt);
  ------------------
  |  |   57|      0|#define R_Free(p)      (R_chk_free( (void *)(p) ), (p) = NULL)
  ------------------
  993|      0|			    R_Free(wpt);
  ------------------
  |  |   57|      0|#define R_Free(p)      (R_chk_free( (void *)(p) ), (p) = NULL)
  ------------------
  994|      0|			    pcre_start_after_end_error();
  995|      0|			}
  996|       |			/* Empty matches get the next char, so move by one. */
  997|      0|			if (ovector[1] > 0)
  ------------------
  |  Branch (997:8): [True: 0, False: 0]
  ------------------
  998|      0|			    bufp += ovector[1];
  999|      0|			else if (*bufp)
  ------------------
  |  Branch (999:13): [True: 0, False: 0]
  ------------------
 1000|       |			    /* Only use_UTF8 input has been validated as UTF-8;
 1001|       |			       utf8clen() on an arbitrary byte claims up to 6 and
 1002|       |			       would run past the terminator. */
 1003|      0|			    bufp += use_UTF8 ? utf8clen(*bufp) : 1;
  ------------------
  |  | 2013|      0|# define utf8clen		Rf_utf8clen
  ------------------
  |  Branch (1003:16): [True: 0, False: 0]
  ------------------
 1004|      0|			ntok++;
 1005|      0|			if (*bufp == '\0')
  ------------------
  |  Branch (1005:8): [True: 0, False: 0]
  ------------------
 1006|      0|			    break;
 1007|      0|		    }
 1008|      0|		    R_pcre_exec_error(rc, i);
 1009|      0|		}
 1010|      0|		SET_VECTOR_ELT(ans, i,
 1011|      0|			       t = allocVector(STRSXP, ntok + (*bufp ? 1 : 0)));
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              			       t = allocVector(STRSXP, ntok + (*bufp ? 1 : 0)));
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1011:43): [True: 0, False: 0]
  ------------------
 1012|       |		/* and fill with the splits */
 1013|      0|		bufp = buf;
 1014|      0|		pt = R_Realloc(pt, buflen+1, char);
  ------------------
  |  |   56|      0|#define R_Realloc(p,n,t) (t *) R_chk_realloc( (void *)(p), (R_SIZE_T)((n) * sizeof(t)) )
  ------------------
 1015|      0|		for (j = 0; j < ntok; j++) {
  ------------------
  |  Branch (1015:15): [True: 0, False: 0]
  ------------------
 1016|      0|#ifdef HAVE_PCRE2
 1017|      0|		    int rc = pcre2_match(re, (PCRE2_SPTR) bufp,
 1018|      0|				       buflen - (size_t)(bufp - buf),
 1019|      0|		                       0, eflag, mdata, mcontext);
 1020|       |#else
 1021|       |		    int rc = pcre_exec(re_pcre, re_pe, bufp,
 1022|       |				       (int) (buflen - (size_t)(bufp - buf)), 0, 0,
 1023|       |				       ovector, ovecsize);
 1024|       |#endif
 1025|      0|		    R_pcre_exec_error(rc, i);
 1026|      0|		    if (ovector[1] > 0) {
  ------------------
  |  Branch (1026:11): [True: 0, False: 0]
  ------------------
 1027|       |			/* Match was non-empty. */
 1028|      0|			if (ovector[0] > 0)
  ------------------
  |  Branch (1028:8): [True: 0, False: 0]
  ------------------
 1029|      0|			    strncpy(pt, bufp, ovector[0]);
 1030|      0|			pt[ovector[0]] = '\0';
 1031|      0|			bufp += ovector[1];
 1032|      0|		    } else {
 1033|       |			/* Match was empty. */
 1034|      0|			int clen = use_UTF8 ? utf8clen(*bufp) : 1;
  ------------------
  |  | 2013|      0|# define utf8clen		Rf_utf8clen
  ------------------
  |  Branch (1034:15): [True: 0, False: 0]
  ------------------
 1035|      0|			strncpy(pt, bufp, clen);
 1036|      0|			pt[clen] = '\0';
 1037|      0|			bufp += clen;
 1038|      0|		    }
 1039|      0|		    if (useBytes)
  ------------------
  |  Branch (1039:11): [True: 0, False: 0]
  ------------------
 1040|      0|			SET_STRING_ELT(t, j, mkBytesNew(pt, haveBytesInput));
 1041|      0|		    else if (use_UTF8)
  ------------------
  |  Branch (1041:16): [True: 0, False: 0]
  ------------------
 1042|      0|			SET_STRING_ELT(t, j, mkCharCE(pt, CE_UTF8));
  ------------------
  |  |  999|      0|#define mkCharCE		Rf_mkCharCE
  ------------------
 1043|      0|		    else
 1044|      0|			SET_STRING_ELT(t, j, markKnown(pt, STRING_ELT(x, i)));
  ------------------
  |  | 1947|      0|# define markKnown		Rf_markKnown
  ------------------
 1045|      0|		}
 1046|      0|		if (*bufp) {
  ------------------
  |  Branch (1046:7): [True: 0, False: 0]
  ------------------
 1047|      0|		    if (useBytes)
  ------------------
  |  Branch (1047:11): [True: 0, False: 0]
  ------------------
 1048|      0|			SET_STRING_ELT(t, ntok, mkBytesNew(bufp, haveBytesInput));
 1049|      0|		    else if (use_UTF8)
  ------------------
  |  Branch (1049:16): [True: 0, False: 0]
  ------------------
 1050|      0|			SET_STRING_ELT(t, ntok, mkCharCE(bufp, CE_UTF8));
  ------------------
  |  |  999|      0|#define mkCharCE		Rf_mkCharCE
  ------------------
 1051|      0|		    else
 1052|      0|			SET_STRING_ELT(t, ntok, markKnown(bufp, STRING_ELT(x, i)));
  ------------------
  |  | 1947|      0|# define markKnown		Rf_markKnown
  ------------------
 1053|      0|		}
 1054|      0|		vmaxset(vmax2);
 1055|      0|	    }
 1056|       |	    /* The character tables serve all tokens and are freed after the
 1057|       |	       loop; the context releases them only on an unwind. */
 1058|      0|	    ci.tables = NULL;
 1059|      0|	    regex_cleanup_end(&ci, &cntxt);
 1060|     46|	} else if (!useBytes && use_UTF8) { /* ERE in wchar_t */
  ------------------
  |  Branch (1060:13): [True: 0, False: 46]
  |  Branch (1060:26): [True: 0, False: 0]
  ------------------
 1061|      0|	    regex_t reg;
 1062|      0|	    regmatch_t regmatch[1];
 1063|      0|	    int rc;
 1064|      0|	    int cflags = REG_EXTENDED;
  ------------------
  |  |   98|      0|#define REG_EXTENDED	1
  ------------------
 1065|      0|	    const wchar_t *wbuf, *wbufp, *wsplit;
 1066|       |
 1067|       |	    /* Careful: need to distinguish empty (rm_eo == 0) from
 1068|       |	       non-empty (rm_eo > 0) matches.  In the former case, the
 1069|       |	       token extracted is the next character.  Otherwise, it is
 1070|       |	       everything before the start of the match, which may be
 1071|       |	       the empty string (not a ``token'' in the strict sense).
 1072|       |	    */
 1073|       |
 1074|      0|	    wsplit = wtransChar2(STRING_ELT(tok, itok));
  ------------------
  |  | 2022|      0|# define wtransChar2		Rf_wtransChar2
  ------------------
 1075|      0|	    if (!wsplit)
  ------------------
  |  Branch (1075:10): [True: 0, False: 0]
  ------------------
 1076|      0|		error(_("'split' string %lld is invalid"), (long long)itok+1);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("'split' string %lld is invalid"), (long long)itok+1);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1077|      0|	    if ((rc = tre_regwcomp(&reg, wsplit, cflags)))
  ------------------
  |  Branch (1077:10): [True: 0, False: 0]
  ------------------
 1078|      0|		reg_report(rc, &reg, translateChar(STRING_ELT(tok, itok)));
  ------------------
  |  | 1037|      0|#define translateChar		Rf_translateChar
  ------------------
 1079|      0|	    regex_cleanup_info ci;
 1080|      0|	    RCNTXT cntxt;
 1081|      0|	    regex_cleanup_begin(&ci, &cntxt, call, false, false, &reg, NULL,
 1082|      0|				NULL, NULL, NULL);
 1083|      0|	    bool ascii_split = IS_ASCII(STRING_ELT(tok, itok));
 1084|       |
 1085|      0|	    vmax2 = vmaxget();
 1086|      0|	    for (i = itok; i < len; i += tlen) {
  ------------------
  |  Branch (1086:21): [True: 0, False: 0]
  ------------------
 1087|      0|		SEXP t;
 1088|      0|		if (STRING_ELT(x, i) == NA_STRING) {
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  |  Branch (1088:7): [True: 0, False: 0]
  ------------------
 1089|      0|		    SET_VECTOR_ELT(ans, i, ScalarString(NA_STRING));
  ------------------
  |  | 1025|      0|#define ScalarString		Rf_ScalarString
  ------------------
              		    SET_VECTOR_ELT(ans, i, ScalarString(NA_STRING));
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
 1090|      0|		    continue;
 1091|      0|		}
 1092|      0|		wbuf = wtransChar2(STRING_ELT(x, i));
  ------------------
  |  | 2022|      0|# define wtransChar2		Rf_wtransChar2
  ------------------
 1093|      0|		bool ascii_xi = IS_ASCII(STRING_ELT(x, i));
 1094|      0|		if (!wbuf) {
  ------------------
  |  Branch (1094:7): [True: 0, False: 0]
  ------------------
 1095|      0|		    if(nwarn++ < NWARN)
  ------------------
  |  |   62|      0|#define NWARN 5
  ------------------
  |  Branch (1095:10): [True: 0, False: 0]
  ------------------
 1096|      0|			warning(_("input string %lld is invalid"),
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              			warning(_("input string %lld is invalid"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1097|      0|			        (long long)i+1);
 1098|      0|		    SET_VECTOR_ELT(ans, i, ScalarString(NA_STRING));
  ------------------
  |  | 1025|      0|#define ScalarString		Rf_ScalarString
  ------------------
              		    SET_VECTOR_ELT(ans, i, ScalarString(NA_STRING));
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
 1099|      0|		    continue;
 1100|      0|		}
 1101|       |
 1102|       |		/* find out how many splits there will be */
 1103|      0|		ntok = 0;
 1104|      0|		wbufp = wbuf;
 1105|      0|		if (*wbufp) {
  ------------------
  |  Branch (1105:7): [True: 0, False: 0]
  ------------------
 1106|      0|		    while(tre_regwexec(&reg, wbufp, 1, regmatch, 0) == 0) {
  ------------------
  |  Branch (1106:13): [True: 0, False: 0]
  ------------------
 1107|       |			/* Empty matches get the next char, so move by one. */
 1108|      0|			wbufp += MAX(regmatch[0].rm_eo, 1);
  ------------------
  |  |  140|      0|# define MAX(a, b) ((a) > (b) ? (a) : (b))
  |  |  ------------------
  |  |  |  Branch (140:21): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1109|      0|			ntok++;
 1110|      0|			if (!*wbufp) break;
  ------------------
  |  Branch (1110:8): [True: 0, False: 0]
  ------------------
 1111|      0|		    }
 1112|      0|		}
 1113|      0|		SET_VECTOR_ELT(ans, i,
 1114|      0|			       t = allocVector(STRSXP, ntok + (*wbufp ? 1 : 0)));
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              			       t = allocVector(STRSXP, ntok + (*wbufp ? 1 : 0)));
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1114:43): [True: 0, False: 0]
  ------------------
 1115|       |		/* and fill with the splits */
 1116|      0|		wbufp = wbuf;
 1117|      0|		wpt = R_Realloc(wpt, wcslen(wbuf)+1, wchar_t);
  ------------------
  |  |   56|      0|#define R_Realloc(p,n,t) (t *) R_chk_realloc( (void *)(p), (R_SIZE_T)((n) * sizeof(t)) )
  ------------------
 1118|      0|		for (j = 0; j < ntok; j++) {
  ------------------
  |  Branch (1118:15): [True: 0, False: 0]
  ------------------
 1119|      0|		    tre_regwexec(&reg, wbufp, 1, regmatch, 0);
 1120|      0|		    if (regmatch[0].rm_eo > 0) {
  ------------------
  |  Branch (1120:11): [True: 0, False: 0]
  ------------------
 1121|       |			/* Match was non-empty. */
 1122|      0|			if (regmatch[0].rm_so > 0)
  ------------------
  |  Branch (1122:8): [True: 0, False: 0]
  ------------------
 1123|      0|			    wcsncpy(wpt, wbufp, regmatch[0].rm_so);
 1124|      0|			wpt[regmatch[0].rm_so] = 0;
 1125|      0|			wbufp += regmatch[0].rm_eo;
 1126|      0|		    } else {
 1127|       |			/* Match was empty. */
 1128|      0|			wpt[0] = *wbufp;
 1129|      0|			wpt[1] = 0;
 1130|      0|			wbufp++;
 1131|      0|		    }
 1132|      0|		    SET_STRING_ELT(t, j,
 1133|      0|				   mkCharWLenASCII(wpt, regmatch[0].rm_so,
 1134|      0|				                   ascii_split && ascii_xi));
  ------------------
  |  Branch (1134:24): [True: 0, False: 0]
  |  Branch (1134:39): [True: 0, False: 0]
  ------------------
 1135|      0|		}
 1136|      0|		if (*wbufp)
  ------------------
  |  Branch (1136:7): [True: 0, False: 0]
  ------------------
 1137|      0|		    SET_STRING_ELT(t, ntok,
 1138|      0|				   mkCharWLenASCII(wbufp, (int) wcslen(wbufp),
 1139|      0|				                   ascii_split && ascii_xi));
  ------------------
  |  Branch (1139:24): [True: 0, False: 0]
  |  Branch (1139:39): [True: 0, False: 0]
  ------------------
 1140|      0|		vmaxset(vmax2);
 1141|      0|	    }
 1142|      0|	    regex_cleanup_end(&ci, &cntxt);
 1143|     46|	} else { /* ERE in normal chars -- single byte */
 1144|       |	         /* previously used also with MBCS */
 1145|     46|	    regex_t reg;
 1146|     46|	    regmatch_t regmatch[1];
 1147|     46|	    int rc;
 1148|     46|	    int cflags = REG_EXTENDED;
  ------------------
  |  |   98|     46|#define REG_EXTENDED	1
  ------------------
 1149|       |
 1150|       |	    /* Careful: need to distinguish empty (rm_eo == 0) from
 1151|       |	       non-empty (rm_eo > 0) matches.  In the former case, the
 1152|       |	       token extracted is the next character.  Otherwise, it is
 1153|       |	       everything before the start of the match, which may be
 1154|       |	       the empty string (not a ``token'' in the strict sense).
 1155|       |	    */
 1156|       |	    /* never use_UTF8 */
 1157|     46|	    if (useBytes)
  ------------------
  |  Branch (1157:10): [True: 46, False: 0]
  ------------------
 1158|     46|		split = CHAR(STRING_ELT(tok, itok));
  ------------------
  |  |  203|     46|#define CHAR(x) R_CHAR(x)
  ------------------
 1159|      0|	    else {
 1160|      0|		split = translateCharFP2(STRING_ELT(tok, itok));
  ------------------
  |  | 2004|      0|# define translateCharFP2	Rf_translateCharFP2
  ------------------
 1161|      0|		if (!split || (mbcslocale && !mbcsValid(split)))
  ------------------
  |  | 1957|      0|# define mbcsValid		Rf_mbcsValid
  ------------------
  |  Branch (1161:7): [True: 0, False: 0]
  |  Branch (1161:18): [True: 0, False: 0]
  |  Branch (1161:32): [True: 0, False: 0]
  ------------------
 1162|      0|		    error(_("'split' string %lld is invalid in this locale"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("'split' string %lld is invalid in this locale"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1163|      0|		          (long long)itok+1);
 1164|      0|	    }
 1165|     46|	    if (useBytes)
  ------------------
  |  Branch (1165:10): [True: 46, False: 0]
  ------------------
 1166|     46|		rc = tre_regcompb(&reg, split, cflags);
 1167|      0|	    else
 1168|      0|		rc = tre_regcomp(&reg, split, cflags);
 1169|       |
 1170|     46|	    if(rc) reg_report(rc, &reg, split);
  ------------------
  |  Branch (1170:9): [True: 0, False: 46]
  ------------------
 1171|       |
 1172|     46|	    regex_cleanup_info ci;
 1173|     46|	    RCNTXT cntxt;
 1174|     46|	    regex_cleanup_begin(&ci, &cntxt, call, false, false, &reg, NULL,
 1175|     46|				NULL, NULL, NULL);
 1176|       |
 1177|     46|	    vmax2 = vmaxget();
 1178|     92|	    for (i = itok; i < len; i += tlen) {
  ------------------
  |  Branch (1178:21): [True: 46, False: 46]
  ------------------
 1179|     46|		SEXP t;
 1180|     46|		if (STRING_ELT(x, i) == NA_STRING) {
  ------------------
  |  |  433|     46|#define NA_STRING	R_NaString
  ------------------
  |  Branch (1180:7): [True: 0, False: 46]
  ------------------
 1181|      0|		    SET_VECTOR_ELT(ans, i, ScalarString(NA_STRING));
  ------------------
  |  | 1025|      0|#define ScalarString		Rf_ScalarString
  ------------------
              		    SET_VECTOR_ELT(ans, i, ScalarString(NA_STRING));
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
 1182|      0|		    continue;
 1183|      0|		}
 1184|       |		/* never use_UTF8 */
 1185|     46|		if (useBytes)
  ------------------
  |  Branch (1185:7): [True: 46, False: 0]
  ------------------
 1186|     46|		    buf = CHAR(STRING_ELT(x, i));
  ------------------
  |  |  203|     46|#define CHAR(x) R_CHAR(x)
  ------------------
 1187|      0|		else {
 1188|      0|		    buf = translateCharFP2(STRING_ELT(x, i));
  ------------------
  |  | 2004|      0|# define translateCharFP2	Rf_translateCharFP2
  ------------------
 1189|      0|		    if (!buf || (mbcslocale && !mbcsValid(buf))) {
  ------------------
  |  | 1957|      0|# define mbcsValid		Rf_mbcsValid
  ------------------
  |  Branch (1189:11): [True: 0, False: 0]
  |  Branch (1189:20): [True: 0, False: 0]
  |  Branch (1189:34): [True: 0, False: 0]
  ------------------
 1190|      0|			if(nwarn++ < NWARN)
  ------------------
  |  |   62|      0|#define NWARN 5
  ------------------
  |  Branch (1190:7): [True: 0, False: 0]
  ------------------
 1191|      0|			    warning(_("input string %lld is invalid in this locale"),
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              			    warning(_("input string %lld is invalid in this locale"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1192|      0|			            (long long)i+1);
 1193|      0|			SET_VECTOR_ELT(ans, i, ScalarString(NA_STRING));
  ------------------
  |  | 1025|      0|#define ScalarString		Rf_ScalarString
  ------------------
              			SET_VECTOR_ELT(ans, i, ScalarString(NA_STRING));
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
 1194|      0|			continue;
 1195|      0|		    }
 1196|      0|		}
 1197|       |
 1198|       |		/* find out how many splits there will be */
 1199|     46|		ntok = 0;
 1200|     46|		bufp = buf;
 1201|     46|		if (*bufp) {
  ------------------
  |  Branch (1201:7): [True: 44, False: 2]
  ------------------
 1202|     44|		    if (useBytes) {
  ------------------
  |  Branch (1202:11): [True: 44, False: 0]
  ------------------
 1203|    122|			while(!(rc = tre_regexecb(&reg, bufp, 1, regmatch, 0))) {
  ------------------
  |  Branch (1203:10): [True: 78, False: 44]
  ------------------
 1204|       |			/* Empty matches get the next char, so move by one. */
 1205|     78|			bufp += MAX(regmatch[0].rm_eo, 1);
  ------------------
  |  |  140|     78|# define MAX(a, b) ((a) > (b) ? (a) : (b))
  |  |  ------------------
  |  |  |  Branch (140:21): [True: 78, False: 0]
  |  |  ------------------
  ------------------
 1206|     78|			ntok++;
 1207|     78|			if (*bufp == '\0') break;
  ------------------
  |  Branch (1207:8): [True: 0, False: 78]
  ------------------
 1208|     78|		    }
 1209|     44|		    } else {
 1210|      0|			while(!(rc = tre_regexec(&reg, bufp, 1, regmatch, 0))) {
  ------------------
  |  Branch (1210:10): [True: 0, False: 0]
  ------------------
 1211|       |			    /* Empty matches get the next char, so move by one. */
 1212|       |                            /* Not necessarily correct with MBCS, but only used
 1213|       |			       with single bytes */
 1214|      0|			    bufp += MAX(regmatch[0].rm_eo, 1);
  ------------------
  |  |  140|      0|# define MAX(a, b) ((a) > (b) ? (a) : (b))
  |  |  ------------------
  |  |  |  Branch (140:21): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1215|      0|			    ntok++;
 1216|      0|			    if (*bufp == '\0') break;
  ------------------
  |  Branch (1216:12): [True: 0, False: 0]
  ------------------
 1217|      0|			}
 1218|      0|		    }
 1219|       |		    // AFAICS the only possible error report is REG_ESPACE
 1220|     44|		    if (rc == REG_ESPACE)
  ------------------
  |  Branch (1220:11): [True: 0, False: 44]
  ------------------
 1221|      0|			warning("Out-of-memory error in regexp matching for element %d",
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
 1222|      0|				(int) i + 1);
 1223|     44|		}
 1224|     46|		SET_VECTOR_ELT(ans, i,
 1225|     46|			       t = allocVector(STRSXP, ntok + (*bufp ? 1 : 0)));
  ------------------
  |  |  875|     46|#define allocVector		Rf_allocVector
  ------------------
              			       t = allocVector(STRSXP, ntok + (*bufp ? 1 : 0)));
  ------------------
  |  |  126|     46|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1225:43): [True: 44, False: 2]
  ------------------
 1226|       |		/* and fill with the splits */
 1227|     46|		bufp = buf;
 1228|     46|		pt = R_Realloc(pt, strlen(buf)+1, char);
  ------------------
  |  |   56|     46|#define R_Realloc(p,n,t) (t *) R_chk_realloc( (void *)(p), (R_SIZE_T)((n) * sizeof(t)) )
  ------------------
 1229|    124|		for (j = 0; j < ntok; j++) {
  ------------------
  |  Branch (1229:15): [True: 78, False: 46]
  ------------------
 1230|     78|		    int rc;
 1231|     78|		    if(useBytes) rc = tre_regexecb(&reg, bufp, 1, regmatch, 0);
  ------------------
  |  Branch (1231:10): [True: 78, False: 0]
  ------------------
 1232|      0|		    else rc = tre_regexec(&reg, bufp, 1, regmatch, 0);
 1233|       |
 1234|       |		    // AFAICS the only possible error report is REG_ESPACE
 1235|     78|		    if (rc == REG_ESPACE)
  ------------------
  |  Branch (1235:11): [True: 0, False: 78]
  ------------------
 1236|      0|			warning("Out-of-memory error in regexp matching for element %d",
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
 1237|      0|				(int) i + 1);
 1238|     78|		    if (regmatch[0].rm_eo > 0) {
  ------------------
  |  Branch (1238:11): [True: 78, False: 0]
  ------------------
 1239|       |			/* Match was non-empty. */
 1240|     78|			if (regmatch[0].rm_so > 0)
  ------------------
  |  Branch (1240:8): [True: 78, False: 0]
  ------------------
 1241|     78|			    strncpy(pt, bufp, regmatch[0].rm_so);
 1242|     78|			pt[regmatch[0].rm_so] = '\0';
 1243|     78|			bufp += regmatch[0].rm_eo;
 1244|     78|		    } else {
 1245|       |			/* Match was empty. */
 1246|      0|			pt[0] = *bufp;
 1247|      0|			pt[1] = '\0';
 1248|       |			/* Not necessarily correct with MBCS, but only used
 1249|       |			   with single bytes */
 1250|      0|			bufp++;
 1251|      0|		    }
 1252|     78|		    if (useBytes)
  ------------------
  |  Branch (1252:11): [True: 78, False: 0]
  ------------------
 1253|     78|			SET_STRING_ELT(t, j, mkBytesNew(pt, haveBytesInput));
 1254|      0|		    else
 1255|      0|			SET_STRING_ELT(t, j, markKnown(pt, STRING_ELT(x, i)));
  ------------------
  |  | 1947|      0|# define markKnown		Rf_markKnown
  ------------------
 1256|     78|		}
 1257|     46|		if (*bufp) {
  ------------------
  |  Branch (1257:7): [True: 44, False: 2]
  ------------------
 1258|     44|		    if (useBytes)
  ------------------
  |  Branch (1258:11): [True: 44, False: 0]
  ------------------
 1259|     44|			SET_STRING_ELT(t, ntok, mkBytesNew(bufp, haveBytesInput));
 1260|      0|		    else
 1261|      0|			SET_STRING_ELT(t, ntok, markKnown(bufp, STRING_ELT(x, i)));
  ------------------
  |  | 1947|      0|# define markKnown		Rf_markKnown
  ------------------
 1262|     44|		}
 1263|     46|		vmaxset(vmax2);
 1264|     46|	    }
 1265|     46|	    regex_cleanup_end(&ci, &cntxt);
 1266|     46|	}
 1267|  3.79k|	vmaxset(vmax);
 1268|  3.79k|    }
 1269|       |
 1270|  3.79k|    if (getAttrib(x, R_NamesSymbol) != R_NilValue)
  ------------------
  |  |  924|  3.79k|#define getAttrib		Rf_getAttrib
  ------------------
  |  Branch (1270:9): [True: 0, False: 3.79k]
  ------------------
 1271|      0|	namesgets(ans, getAttrib(x, R_NamesSymbol));
  ------------------
  |  | 1004|      0|#define namesgets		Rf_namesgets
  ------------------
              	namesgets(ans, getAttrib(x, R_NamesSymbol));
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
 1272|  3.79k|    UNPROTECT(1);
  ------------------
  |  |  358|  3.79k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1273|  3.79k|    R_Free(pt); R_Free(wpt);
  ------------------
  |  |   57|  3.79k|#define R_Free(p)      (R_chk_free( (void *)(p) ), (p) = NULL)
  ------------------
                  R_Free(pt); R_Free(wpt);
  ------------------
  |  |   57|  3.79k|#define R_Free(p)      (R_chk_free( (void *)(p) ), (p) = NULL)
  ------------------
 1274|  3.79k|#ifdef HAVE_PCRE2
 1275|  3.79k|    if (tables) free((void *)tables);
  ------------------
  |  Branch (1275:9): [True: 0, False: 3.79k]
  ------------------
 1276|       |    /* new PCRE2 will have pcre2_maketables_free() */
 1277|       |#else
 1278|       |    if (tables) pcre_free((void *)tables);
 1279|       |#endif
 1280|  3.79k|    UNPROTECT(1); /* tok */
  ------------------
  |  |  358|  3.79k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1281|  3.79k|    return ans;
 1282|  3.79k|}
do_grep:
 1387|     63|{
 1388|     63|    SEXP pat, text, ind, ans;
 1389|     63|    regex_t reg;
 1390|     63|    R_xlen_t i, j, n;
 1391|     63|    int nmatches = 0, rc;
 1392|     63|    bool igcase_opt, value_opt, perl_opt, fixed_opt, useBytes, invert;
 1393|     63|    const char *spat = NULL;
 1394|     63|    const wchar_t *wpat = NULL;
 1395|     63|    const unsigned char *tables = NULL /* -Wall */;
 1396|     63|#ifdef HAVE_PCRE2
 1397|     63|    pcre2_code *re = NULL;
 1398|     63|    pcre2_match_context *mcontext = NULL;
 1399|     63|    uint32_t ovecsize = 1;
 1400|     63|    pcre2_match_data *mdata = NULL;
 1401|       |#else
 1402|       |    pcre *re_pcre = NULL /* -Wall */;
 1403|       |    pcre_extra *re_pe = NULL;
 1404|       |    int ovecsize = 3;
 1405|       |    int ov[ovecsize];
 1406|       |#endif
 1407|     63|    bool use_UTF8 = false, use_WC = false;
 1408|     63|    const void *vmax;
 1409|     63|    int nwarn = 0;
 1410|       |
 1411|     63|    checkArity(op, args);
  ------------------
  |  | 1793|     63|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1412|     63|    pat = CAR(args); args = CDR(args);
 1413|     63|    text = CAR(args); args = CDR(args);
 1414|     63|    igcase_opt = asBool2(CAR(args), call); args = CDR(args);
  ------------------
  |  | 1865|     63|# define asBool2	       	Rf_asBool2
  ------------------
 1415|     63|    value_opt = asBool2(CAR(args), call); args = CDR(args);
  ------------------
  |  | 1865|     63|# define asBool2	       	Rf_asBool2
  ------------------
 1416|     63|    perl_opt = asBool2(CAR(args), call); args = CDR(args);
  ------------------
  |  | 1865|     63|# define asBool2	       	Rf_asBool2
  ------------------
 1417|     63|    fixed_opt = asBool2(CAR(args), call); args = CDR(args);
  ------------------
  |  | 1865|     63|# define asBool2	       	Rf_asBool2
  ------------------
 1418|     63|    useBytes = asBool2(CAR(args), call); args = CDR(args);
  ------------------
  |  | 1865|     63|# define asBool2	       	Rf_asBool2
  ------------------
 1419|     63|    invert = asBool2(CAR(args), call);
  ------------------
  |  | 1865|     63|# define asBool2	       	Rf_asBool2
  ------------------
 1420|     63|    if (fixed_opt && igcase_opt)
  ------------------
  |  Branch (1420:9): [True: 6, False: 57]
  |  Branch (1420:22): [True: 0, False: 6]
  ------------------
 1421|      0|	warning(_("argument '%s' will be ignored"), "ignore.case = TRUE");
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	warning(_("argument '%s' will be ignored"), "ignore.case = TRUE");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1422|     63|    if (fixed_opt && perl_opt) {
  ------------------
  |  Branch (1422:9): [True: 6, False: 57]
  |  Branch (1422:22): [True: 0, False: 6]
  ------------------
 1423|      0|	warning(_("argument '%s' will be ignored"), "perl = TRUE");
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	warning(_("argument '%s' will be ignored"), "perl = TRUE");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1424|      0|	perl_opt = 0;
 1425|      0|    }
 1426|       |
 1427|     63|    if (!isString(pat) || LENGTH(pat) < 1)
  ------------------
  |  |  966|     63|#define isString		Rf_isString
  ------------------
  |  Branch (1427:9): [True: 0, False: 63]
  |  Branch (1427:27): [True: 0, False: 63]
  ------------------
 1428|      0|	error(_("invalid '%s' argument"), "pattern");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "pattern");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1429|     63|    if (LENGTH(pat) > 1)
  ------------------
  |  Branch (1429:9): [True: 0, False: 63]
  ------------------
 1430|      0|	warning(_("argument '%s' has length > 1 and only the first element will be used"), "pattern");
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	warning(_("argument '%s' has length > 1 and only the first element will be used"), "pattern");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1431|       |
 1432|     63|    if (!isString(text))
  ------------------
  |  |  966|     63|#define isString		Rf_isString
  ------------------
  |  Branch (1432:9): [True: 0, False: 63]
  ------------------
 1433|      0|	error(_("invalid '%s' argument"), "text");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "text");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1434|       |
 1435|     63|    n = XLENGTH(text);
 1436|     63|    if (STRING_ELT(pat, 0) == NA_STRING) {
  ------------------
  |  |  433|     63|#define NA_STRING	R_NaString
  ------------------
  |  Branch (1436:9): [True: 0, False: 63]
  ------------------
 1437|      0|	if (value_opt) {
  ------------------
  |  Branch (1437:6): [True: 0, False: 0]
  ------------------
 1438|      0|	    SEXP nmold = PROTECT(getAttrib(text, R_NamesSymbol));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1439|      0|	    PROTECT(ans = allocVector(STRSXP, n));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1440|      0|	    for (i = 0; i < n; i++)  SET_STRING_ELT(ans, i, NA_STRING);
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  |  Branch (1440:18): [True: 0, False: 0]
  ------------------
 1441|      0|	    if (!isNull(nmold))
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
  |  Branch (1441:10): [True: 0, False: 0]
  ------------------
 1442|      0|		setAttrib(ans, R_NamesSymbol, duplicate(nmold));
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
              		setAttrib(ans, R_NamesSymbol, duplicate(nmold));
  ------------------
  |  |  909|      0|#define duplicate		Rf_duplicate
  ------------------
 1443|      0|	    UNPROTECT(2); /* ans, nmold */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1444|      0|	} else if (PRIMVAL(op)) { // grepl case
  ------------------
  |  | 1347|      0|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  |  |  ------------------
  |  |  |  Branch (1347:20): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1445|      0|	    ans = allocVector(LGLSXP, n);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              	    ans = allocVector(LGLSXP, n);
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
 1446|      0|	    for (i = 0; i < n; i++)  LOGICAL(ans)[i] = NA_LOGICAL;
  ------------------
  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (1446:18): [True: 0, False: 0]
  ------------------
 1447|      0|	} else {
 1448|      0|	    ans = allocVector(INTSXP, n);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              	    ans = allocVector(INTSXP, n);
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
 1449|      0|	    for (i = 0; i < n; i++)  INTEGER(ans)[i] = NA_INTEGER;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (1449:18): [True: 0, False: 0]
  ------------------
 1450|      0|	}
 1451|      0|	return ans;
 1452|      0|    }
 1453|       |
 1454|     63|    if (!useBytes) 
  ------------------
  |  Branch (1454:9): [True: 63, False: 0]
  ------------------
 1455|     63|	useBytes = only_ascii(pat, 1) && only_ascii(text, n);
  ------------------
  |  Branch (1455:13): [True: 63, False: 0]
  |  Branch (1455:35): [True: 63, False: 0]
  ------------------
 1456|     63|    if (!useBytes) 
  ------------------
  |  Branch (1456:9): [True: 0, False: 63]
  ------------------
 1457|      0|	useBytes = have_bytes(pat, 1) || have_bytes(text, n);
  ------------------
  |  Branch (1457:13): [True: 0, False: 0]
  |  Branch (1457:35): [True: 0, False: 0]
  ------------------
 1458|     63|    if (!useBytes) {
  ------------------
  |  Branch (1458:9): [True: 0, False: 63]
  ------------------
 1459|       |	/* As from R 2.10.0 we use UTF-8 mode in PCRE in all MBCS locales */
 1460|       |	/* if we have non-ASCII text in a DBCS locale, we need to use wchar in TRE */
 1461|      0|	if (!fixed_opt && mbcslocale) use_UTF8 = true;
  ------------------
  |  Branch (1461:6): [True: 0, False: 0]
  |  Branch (1461:20): [True: 0, False: 0]
  ------------------
 1462|      0|	if (!use_UTF8)
  ------------------
  |  Branch (1462:6): [True: 0, False: 0]
  ------------------
 1463|      0|	    use_UTF8 = have_utf8(pat, 1) || have_utf8(text, n);
  ------------------
  |  Branch (1463:17): [True: 0, False: 0]
  |  Branch (1463:38): [True: 0, False: 0]
  ------------------
 1464|      0|	if (!use_UTF8 && !latin1locale)
  ------------------
  |  Branch (1464:6): [True: 0, False: 0]
  |  Branch (1464:19): [True: 0, False: 0]
  ------------------
 1465|      0|	    use_UTF8 = have_latin1(pat, 1) || have_latin1(text, n);
  ------------------
  |  Branch (1465:17): [True: 0, False: 0]
  |  Branch (1465:40): [True: 0, False: 0]
  ------------------
 1466|      0|    }
 1467|       |
 1468|     63|    if (!fixed_opt && !perl_opt) {
  ------------------
  |  Branch (1468:9): [True: 57, False: 6]
  |  Branch (1468:23): [True: 57, False: 0]
  ------------------
 1469|     57|	use_WC = use_UTF8; use_UTF8 = false;
 1470|     57|    }
 1471|     63|    if (useBytes)
  ------------------
  |  Branch (1471:9): [True: 63, False: 0]
  ------------------
 1472|     63|	spat = CHAR(STRING_ELT(pat, 0));
  ------------------
  |  |  203|     63|#define CHAR(x) R_CHAR(x)
  ------------------
 1473|      0|    else if (use_WC) {
  ------------------
  |  Branch (1473:14): [True: 0, False: 0]
  ------------------
 1474|      0|	wpat = wtransChar2(STRING_ELT(pat, 0));
  ------------------
  |  | 2022|      0|# define wtransChar2		Rf_wtransChar2
  ------------------
 1475|      0|	if (!wpat) error(_("regular expression is invalid"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	if (!wpat) error(_("regular expression is invalid"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (1475:6): [True: 0, False: 0]
  ------------------
 1476|      0|    } else if (use_UTF8) {
  ------------------
  |  Branch (1476:16): [True: 0, False: 0]
  ------------------
 1477|      0|	spat = trCharUTF82(STRING_ELT(pat, 0));
  ------------------
  |  | 2006|      0|# define trCharUTF82      	Rf_trCharUTF82
  ------------------
 1478|      0|	if (!spat || !utf8Valid(spat)) error(_("regular expression is invalid UTF-8"));
  ------------------
  |  | 2016|      0|# define utf8Valid		Rf_utf8Valid
  ------------------
              	if (!spat || !utf8Valid(spat)) error(_("regular expression is invalid UTF-8"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	if (!spat || !utf8Valid(spat)) error(_("regular expression is invalid UTF-8"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (1478:6): [True: 0, False: 0]
  |  Branch (1478:15): [True: 0, False: 0]
  ------------------
 1479|      0|    } else {
 1480|      0|	spat = translateCharFP2(STRING_ELT(pat, 0));
  ------------------
  |  | 2004|      0|# define translateCharFP2	Rf_translateCharFP2
  ------------------
 1481|      0|	if (!spat || (mbcslocale && !mbcsValid(spat)))
  ------------------
  |  | 1957|      0|# define mbcsValid		Rf_mbcsValid
  ------------------
  |  Branch (1481:6): [True: 0, False: 0]
  |  Branch (1481:16): [True: 0, False: 0]
  |  Branch (1481:30): [True: 0, False: 0]
  ------------------
 1482|      0|	    error(_("regular expression is invalid in this locale"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("regular expression is invalid in this locale"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1483|      0|    }
 1484|       |
 1485|     63|    if (fixed_opt) ;
  ------------------
  |  Branch (1485:9): [True: 6, False: 57]
  ------------------
 1486|     57|    else if (perl_opt) {
  ------------------
  |  Branch (1486:14): [True: 0, False: 57]
  ------------------
 1487|      0|#ifdef HAVE_PCRE2
 1488|      0|	R_pcre2_prepare(spat, text, use_UTF8, igcase_opt, &tables, &re,
 1489|      0|	                &mcontext);
 1490|      0|	mdata = pcre2_match_data_create(ovecsize, NULL);
 1491|       |#else
 1492|       |	R_pcre_prepare(spat, text, use_UTF8, igcase_opt, false, &tables,
 1493|       |                     &re_pcre, &re_pe);
 1494|       |#endif
 1495|     57|    } else {
 1496|     57|	int cflags = REG_NOSUB | REG_EXTENDED;
  ------------------
  |  |  101|     57|#define REG_NOSUB	(REG_NEWLINE << 1)
  |  |  ------------------
  |  |  |  |  100|     57|#define REG_NEWLINE	(REG_ICASE << 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |   99|     57|#define REG_ICASE	(REG_EXTENDED << 1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   98|     57|#define REG_EXTENDED	1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              	int cflags = REG_NOSUB | REG_EXTENDED;
  ------------------
  |  |   98|     57|#define REG_EXTENDED	1
  ------------------
 1497|     57|	if (igcase_opt) cflags |= REG_ICASE;
  ------------------
  |  |   99|      0|#define REG_ICASE	(REG_EXTENDED << 1)
  |  |  ------------------
  |  |  |  |   98|      0|#define REG_EXTENDED	1
  |  |  ------------------
  ------------------
  |  Branch (1497:6): [True: 0, False: 57]
  ------------------
 1498|     57|	if (!use_WC)
  ------------------
  |  Branch (1498:6): [True: 57, False: 0]
  ------------------
 1499|     57|	    rc = tre_regcompb(&reg, spat, cflags);
 1500|      0|	else
 1501|      0|	    rc = tre_regwcomp(&reg, wpat, cflags);
 1502|     57|	if (rc) reg_report(rc, &reg, spat);
  ------------------
  |  Branch (1502:6): [True: 0, False: 57]
  ------------------
 1503|     57|    }
 1504|       |
 1505|     63|    regex_cleanup_info ci;
 1506|     63|    RCNTXT cntxt;
 1507|     63|#ifdef HAVE_PCRE2
 1508|     63|    regex_cleanup_begin(&ci, &cntxt, call, fixed_opt, perl_opt, &reg, tables,
 1509|     63|			re, mdata, mcontext);
 1510|       |#else
 1511|       |    regex_cleanup_begin(&ci, &cntxt, call, fixed_opt, perl_opt, &reg, tables,
 1512|       |			re_pcre, re_pe, NULL);
 1513|       |#endif
 1514|       |
 1515|     63|    PROTECT(ind = allocVector(LGLSXP, n));
  ------------------
  |  |  357|     63|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1516|     63|    vmax = vmaxget();
 1517|  4.64k|    for (i = 0 ; i < n ; i++) {
  ------------------
  |  Branch (1517:18): [True: 4.58k, False: 63]
  ------------------
 1518|       |//	if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
 1519|  4.58k|	LOGICAL(ind)[i] = 0;
 1520|  4.58k|	if (STRING_ELT(text, i) != NA_STRING) {
  ------------------
  |  |  433|  4.58k|#define NA_STRING	R_NaString
  ------------------
  |  Branch (1520:6): [True: 4.58k, False: 0]
  ------------------
 1521|  4.58k|	    const char *s = NULL;
 1522|  4.58k|	    const wchar_t *ws = NULL;
 1523|  4.58k|	    if (useBytes)
  ------------------
  |  Branch (1523:10): [True: 4.58k, False: 0]
  ------------------
 1524|  4.58k|		s = CHAR(STRING_ELT(text, i));
  ------------------
  |  |  203|  4.58k|#define CHAR(x) R_CHAR(x)
  ------------------
 1525|      0|	    else if (use_WC) {
  ------------------
  |  Branch (1525:15): [True: 0, False: 0]
  ------------------
 1526|      0|		ws = wtransChar2(STRING_ELT(text, i));
  ------------------
  |  | 2022|      0|# define wtransChar2		Rf_wtransChar2
  ------------------
 1527|      0|		if (!ws) {
  ------------------
  |  Branch (1527:7): [True: 0, False: 0]
  ------------------
 1528|      0|		    if(nwarn++ < NWARN)
  ------------------
  |  |   62|      0|#define NWARN 5
  ------------------
  |  Branch (1528:10): [True: 0, False: 0]
  ------------------
 1529|      0|			warning(_("input string %lld is invalid"),
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              			warning(_("input string %lld is invalid"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1530|      0|			        (long long)i+1);
 1531|      0|		    continue;
 1532|      0|		}
 1533|      0|	    } else if (use_UTF8) {
  ------------------
  |  Branch (1533:17): [True: 0, False: 0]
  ------------------
 1534|      0|		s = trCharUTF82(STRING_ELT(text, i));
  ------------------
  |  | 2006|      0|# define trCharUTF82      	Rf_trCharUTF82
  ------------------
 1535|      0|		if (!s || !utf8Valid(s)) {
  ------------------
  |  | 2016|      0|# define utf8Valid		Rf_utf8Valid
  ------------------
  |  Branch (1535:7): [True: 0, False: 0]
  |  Branch (1535:13): [True: 0, False: 0]
  ------------------
 1536|      0|		    if(nwarn++ < NWARN)
  ------------------
  |  |   62|      0|#define NWARN 5
  ------------------
  |  Branch (1536:10): [True: 0, False: 0]
  ------------------
 1537|      0|			warning(_("input string %lld is invalid UTF-8"),
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              			warning(_("input string %lld is invalid UTF-8"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1538|      0|			        (long long)i+1);
 1539|      0|		    continue;
 1540|      0|		}
 1541|      0|	    } else {
 1542|      0|		s = translateCharFP2(STRING_ELT(text, i));
  ------------------
  |  | 2004|      0|# define translateCharFP2	Rf_translateCharFP2
  ------------------
 1543|      0|		if (!s || (mbcslocale && !mbcsValid(s))) {
  ------------------
  |  | 1957|      0|# define mbcsValid		Rf_mbcsValid
  ------------------
  |  Branch (1543:7): [True: 0, False: 0]
  |  Branch (1543:14): [True: 0, False: 0]
  |  Branch (1543:28): [True: 0, False: 0]
  ------------------
 1544|      0|		    if(nwarn++ < NWARN)
  ------------------
  |  |   62|      0|#define NWARN 5
  ------------------
  |  Branch (1544:10): [True: 0, False: 0]
  ------------------
 1545|      0|			warning(_("input string %lld is invalid in this locale"),
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              			warning(_("input string %lld is invalid in this locale"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1546|      0|			        (long long)i+1);
 1547|      0|		    continue;
 1548|      0|		}
 1549|      0|	    }
 1550|       |
 1551|  4.58k|	    if (fixed_opt)
  ------------------
  |  Branch (1551:10): [True: 6, False: 4.57k]
  ------------------
 1552|      6|		LOGICAL(ind)[i] = fgrep_one(spat, s, useBytes, use_UTF8, NULL) >= 0;
 1553|  4.57k|	    else if (perl_opt) {
  ------------------
  |  Branch (1553:15): [True: 0, False: 4.57k]
  ------------------
 1554|      0|#ifdef HAVE_PCRE2
 1555|      0|		uint32_t eflag = 0;
 1556|      0|		if (use_UTF8) eflag |= PCRE2_NO_UTF_CHECK;
  ------------------
  |  Branch (1556:7): [True: 0, False: 0]
  ------------------
 1557|       |
 1558|      0|		int rc = pcre2_match(re, (PCRE2_SPTR) s, PCRE2_ZERO_TERMINATED,
 1559|      0|		                     0, eflag, mdata, mcontext);
 1560|       |#else
 1561|       |		int rc =
 1562|       |		    pcre_exec(re_pcre, re_pe, s, (int) strlen(s), 0, 0, ov, 0);
 1563|       |#endif
 1564|      0|		if(rc >= 0) LOGICAL(ind)[i] = 1;
  ------------------
  |  Branch (1564:6): [True: 0, False: 0]
  ------------------
 1565|      0|		else {
 1566|      0|		    LOGICAL(ind)[i] = 0;
 1567|      0|		    R_pcre_exec_error(rc, i);
 1568|      0|		}
 1569|  4.57k|	    } else {
 1570|  4.57k|		if (!use_WC)
  ------------------
  |  Branch (1570:7): [True: 4.57k, False: 0]
  ------------------
 1571|  4.57k|		    rc = tre_regexecb(&reg, s, 0, NULL, 0);
 1572|      0|		else
 1573|      0|		    rc = tre_regwexec(&reg, ws, 0, NULL, 0);
 1574|  4.57k|		if (rc == 0) LOGICAL(ind)[i] = 1;
  ------------------
  |  Branch (1574:7): [True: 348, False: 4.22k]
  ------------------
 1575|       |		// AFAICS the only possible error report is REG_ESPACE
 1576|  4.57k|		if (rc == REG_ESPACE)
  ------------------
  |  Branch (1576:7): [True: 0, False: 4.57k]
  ------------------
 1577|      0|		    warning("Out-of-memory error in regexp matching for element %d",
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
 1578|      0|			    (int) i + 1);
 1579|  4.57k|	    }
 1580|  4.58k|	}
 1581|  4.58k|	vmaxset(vmax);
 1582|  4.58k|	if (invert ^ LOGICAL(ind)[i]) nmatches++;
  ------------------
  |  Branch (1582:6): [True: 348, False: 4.23k]
  ------------------
 1583|  4.58k|    }
 1584|       |
 1585|     63|    regex_cleanup_end(&ci, &cntxt);
 1586|       |
 1587|     63|    if (PRIMVAL(op)) {/* grepl case */
  ------------------
  |  | 1347|     63|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  |  |  ------------------
  |  |  |  Branch (1347:20): [True: 46, False: 17]
  |  |  ------------------
  ------------------
 1588|     46|	UNPROTECT(1); /* ind */
  ------------------
  |  |  358|     46|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1589|     46|	return ind;
 1590|     46|    }
 1591|       |
 1592|     17|    if (value_opt) {
  ------------------
  |  Branch (1592:9): [True: 8, False: 9]
  ------------------
 1593|      8|	SEXP nmold = PROTECT(getAttrib(text, R_NamesSymbol)), nm;
  ------------------
  |  |  357|      8|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1594|      8|	PROTECT(ans = allocVector(STRSXP, nmatches));
  ------------------
  |  |  357|      8|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1595|  4.53k|	for (i = 0, j = 0; i < n ; i++)
  ------------------
  |  Branch (1595:21): [True: 4.52k, False: 8]
  ------------------
 1596|  4.52k|	    if (invert ^ LOGICAL(ind)[i])
  ------------------
  |  Branch (1596:10): [True: 308, False: 4.21k]
  ------------------
 1597|    308|		SET_STRING_ELT(ans, j++, STRING_ELT(text, i));
 1598|       |	/* copy across names and subset */
 1599|      8|	if (!isNull(nmold)) {
  ------------------
  |  |  956|      8|#define isNull			Rf_isNull
  ------------------
  |  Branch (1599:6): [True: 0, False: 8]
  ------------------
 1600|      0|	    nm = allocVector(STRSXP, nmatches);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              	    nm = allocVector(STRSXP, nmatches);
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
 1601|      0|	    for (i = 0, j = 0; i < n ; i++)
  ------------------
  |  Branch (1601:25): [True: 0, False: 0]
  ------------------
 1602|      0|		if (invert ^ LOGICAL(ind)[i])
  ------------------
  |  Branch (1602:7): [True: 0, False: 0]
  ------------------
 1603|      0|		    SET_STRING_ELT(nm, j++, STRING_ELT(nmold, i));
 1604|      0|	    setAttrib(ans, R_NamesSymbol, nm);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
 1605|      0|	}
 1606|      8|	UNPROTECT(2); /* ans, nmold */
  ------------------
  |  |  358|      8|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1607|      9|    } else {
 1608|      9|#ifdef LONG_VECTOR_SUPPORT
 1609|      9|	if (n > INT_MAX) {
  ------------------
  |  Branch (1609:6): [True: 0, False: 9]
  ------------------
 1610|      0|	    ans = allocVector(REALSXP, nmatches);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              	    ans = allocVector(REALSXP, nmatches);
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
 1611|      0|	    j = 0;
 1612|      0|	    for (i = 0 ; i < n ; i++)
  ------------------
  |  Branch (1612:19): [True: 0, False: 0]
  ------------------
 1613|      0|		if (invert ^ LOGICAL(ind)[i]) REAL(ans)[j++] = (double)(i + 1);
  ------------------
  |  Branch (1613:7): [True: 0, False: 0]
  ------------------
 1614|      0|	} else
 1615|      9|#endif
 1616|      9|	{
 1617|      9|	    ans = allocVector(INTSXP, nmatches);
  ------------------
  |  |  875|      9|#define allocVector		Rf_allocVector
  ------------------
              	    ans = allocVector(INTSXP, nmatches);
  ------------------
  |  |  123|      9|#define INTSXP	    13	  /* integer vectors */
  ------------------
 1618|      9|	    j = 0;
 1619|     18|	    for (i = 0 ; i < n ; i++)
  ------------------
  |  Branch (1619:19): [True: 9, False: 9]
  ------------------
 1620|      9|		if (invert ^ LOGICAL(ind)[i])
  ------------------
  |  Branch (1620:7): [True: 0, False: 9]
  ------------------
 1621|      0|		    INTEGER(ans)[j++] = (int) (i + 1);
 1622|      9|	}
 1623|      9|    }
 1624|     17|    UNPROTECT(1); /* ind */
  ------------------
  |  |  358|     17|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1625|     17|    return ans;
 1626|     63|}
do_gsub:
 2223|  1.33k|{
 2224|  1.33k|    SEXP pat, rep, text, ans;
 2225|  1.33k|    regex_t reg;
 2226|  1.33k|    regmatch_t regmatch[10];
 2227|  1.33k|    R_xlen_t i, n;
 2228|  1.33k|    int j, ns, nns, nmatch, offset, rc;
 2229|  1.33k|    bool global, igcase_opt, perl_opt, fixed_opt, useBytes;
 2230|  1.33k|    int eflags, last_end;
 2231|  1.33k|    char *u, *cbuf;
 2232|  1.33k|    const char *spat = NULL, *srep = NULL, *s = NULL;
 2233|  1.33k|    size_t patlen = 0, replen = 0;
 2234|  1.33k|    bool use_UTF8 = false, use_WC = false;
 2235|  1.33k|    bool ascii_patrep = false;
 2236|  1.33k|    const wchar_t *wpat = NULL, *wrep = NULL, *ws = NULL;
 2237|  1.33k|    const unsigned char *tables = NULL;
 2238|  1.33k|#ifdef HAVE_PCRE2
 2239|  1.33k|    uint32_t ovecsize = 10;
 2240|  1.33k|    pcre2_code *re = NULL;
 2241|  1.33k|    pcre2_match_context *mcontext = NULL;
 2242|  1.33k|    pcre2_match_data *mdata = NULL;
 2243|       |#else
 2244|       |    int ovecsize = 30;
 2245|       |    pcre *re_pcre = NULL;
 2246|       |    pcre_extra *re_pe  = NULL;
 2247|       |#endif
 2248|  1.33k|    const void *vmax = vmaxget();
 2249|  1.33k|    bool haveBytesInput;
 2250|       |
 2251|  1.33k|    checkArity(op, args);
  ------------------
  |  | 1793|  1.33k|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 2252|       |
 2253|  1.33k|    global = (bool) PRIMVAL(op);
  ------------------
  |  | 1347|  1.33k|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
 2254|       |
 2255|  1.33k|    pat = CAR(args); args = CDR(args);
 2256|  1.33k|    rep = CAR(args); args = CDR(args);
 2257|  1.33k|    text = CAR(args); args = CDR(args);
 2258|  1.33k|    igcase_opt = asBool2(CAR(args), call); args = CDR(args);
  ------------------
  |  | 1865|  1.33k|# define asBool2	       	Rf_asBool2
  ------------------
 2259|  1.33k|    perl_opt = asBool2(CAR(args), call); args = CDR(args);
  ------------------
  |  | 1865|  1.33k|# define asBool2	       	Rf_asBool2
  ------------------
 2260|  1.33k|    fixed_opt = asBool2(CAR(args), call); args = CDR(args);
  ------------------
  |  | 1865|  1.33k|# define asBool2	       	Rf_asBool2
  ------------------
 2261|  1.33k|    useBytes = asBool2(CAR(args), call); args = CDR(args);
  ------------------
  |  | 1865|  1.33k|# define asBool2	       	Rf_asBool2
  ------------------
 2262|  1.33k|    if (fixed_opt && igcase_opt)
  ------------------
  |  Branch (2262:9): [True: 8, False: 1.33k]
  |  Branch (2262:22): [True: 0, False: 8]
  ------------------
 2263|      0|	warning(_("argument '%s' will be ignored"), "ignore.case = TRUE");
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	warning(_("argument '%s' will be ignored"), "ignore.case = TRUE");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2264|  1.33k|    if (fixed_opt && perl_opt) {
  ------------------
  |  Branch (2264:9): [True: 8, False: 1.33k]
  |  Branch (2264:22): [True: 0, False: 8]
  ------------------
 2265|      0|	warning(_("argument '%s' will be ignored"), "perl = TRUE");
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	warning(_("argument '%s' will be ignored"), "perl = TRUE");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2266|      0|	perl_opt = 0;
 2267|      0|    }
 2268|       |
 2269|  1.33k|    if (!isString(pat) || LENGTH(pat) < 1)
  ------------------
  |  |  966|  1.33k|#define isString		Rf_isString
  ------------------
  |  Branch (2269:9): [True: 0, False: 1.33k]
  |  Branch (2269:27): [True: 0, False: 1.33k]
  ------------------
 2270|      0|	error(_("invalid '%s' argument"), "pattern");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "pattern");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2271|  1.33k|    if (LENGTH(pat) > 1)
  ------------------
  |  Branch (2271:9): [True: 0, False: 1.33k]
  ------------------
 2272|      0|	warning(_("argument '%s' has length > 1 and only the first element will be used"), "pattern");
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	warning(_("argument '%s' has length > 1 and only the first element will be used"), "pattern");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2273|  1.33k|    if (!isString(rep) || LENGTH(rep) < 1)
  ------------------
  |  |  966|  1.33k|#define isString		Rf_isString
  ------------------
  |  Branch (2273:9): [True: 0, False: 1.33k]
  |  Branch (2273:27): [True: 0, False: 1.33k]
  ------------------
 2274|      0|	error(_("invalid '%s' argument"), "replacement");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "replacement");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2275|  1.33k|    if (LENGTH(rep) > 1)
  ------------------
  |  Branch (2275:9): [True: 0, False: 1.33k]
  ------------------
 2276|      0|	warning(_("argument '%s' has length > 1 and only the first element will be used"), "replacement");
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	warning(_("argument '%s' has length > 1 and only the first element will be used"), "replacement");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2277|       |
 2278|  1.33k|    if (!isString(text))
  ------------------
  |  |  966|  1.33k|#define isString		Rf_isString
  ------------------
  |  Branch (2278:9): [True: 0, False: 1.33k]
  ------------------
 2279|      0|	error(_("invalid '%s' argument"), "text");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "text");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2280|       |
 2281|  1.33k|    n = XLENGTH(text);
 2282|       |    /* This contradicts the code below that has NA matching NA */
 2283|  1.33k|    if (STRING_ELT(pat, 0) == NA_STRING) {
  ------------------
  |  |  433|  1.33k|#define NA_STRING	R_NaString
  ------------------
  |  Branch (2283:9): [True: 0, False: 1.33k]
  ------------------
 2284|      0|	PROTECT(ans = allocVector(STRSXP, n));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2285|      0|	for (i = 0; i < n; i++)  SET_STRING_ELT(ans, i, NA_STRING);
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  |  Branch (2285:14): [True: 0, False: 0]
  ------------------
 2286|       |
 2287|      0|	goto exit_gsub;
 2288|      0|    }
 2289|  1.33k|    haveBytesInput = have_bytes(pat, 1) || have_bytes(rep, 1) ||
  ------------------
  |  Branch (2289:22): [True: 0, False: 1.33k]
  |  Branch (2289:44): [True: 0, False: 1.33k]
  ------------------
 2290|  1.33k|                     have_bytes(text, n);
  ------------------
  |  Branch (2290:22): [True: 0, False: 1.33k]
  ------------------
 2291|       |
 2292|  1.33k|    if (!useBytes) 
  ------------------
  |  Branch (2292:9): [True: 1.33k, False: 0]
  ------------------
 2293|  1.33k|	useBytes = only_ascii(pat, 1) && only_ascii(rep, 1) && 
  ------------------
  |  Branch (2293:13): [True: 1.33k, False: 0]
  |  Branch (2293:35): [True: 1.33k, False: 0]
  ------------------
 2294|  1.33k|	           only_ascii(text, n);
  ------------------
  |  Branch (2294:13): [True: 1.04k, False: 294]
  ------------------
 2295|  1.33k|    if (!useBytes) 
  ------------------
  |  Branch (2295:9): [True: 294, False: 1.04k]
  ------------------
 2296|    294|	useBytes = haveBytesInput;
 2297|  1.33k|    if (!useBytes) {
  ------------------
  |  Branch (2297:9): [True: 294, False: 1.04k]
  ------------------
 2298|       |	/* if we have non-ASCII text in a DBCS locale, we need to use wchar in TRE */
 2299|    294|	if (!fixed_opt && mbcslocale) use_UTF8 = true;
  ------------------
  |  Branch (2299:6): [True: 294, False: 0]
  |  Branch (2299:20): [True: 0, False: 294]
  ------------------
 2300|    294|	if (!use_UTF8)
  ------------------
  |  Branch (2300:6): [True: 294, False: 0]
  ------------------
 2301|    294|	    use_UTF8 = have_utf8(pat, 1) || have_utf8(rep, 1) ||
  ------------------
  |  Branch (2301:17): [True: 0, False: 294]
  |  Branch (2301:38): [True: 0, False: 294]
  ------------------
 2302|    294|	               have_utf8(text, n);
  ------------------
  |  Branch (2302:17): [True: 0, False: 294]
  ------------------
 2303|    294|	if (!use_UTF8 && !latin1locale)
  ------------------
  |  Branch (2303:6): [True: 294, False: 0]
  |  Branch (2303:19): [True: 294, False: 0]
  ------------------
 2304|    294|	    use_UTF8 = have_latin1(pat, 1) || have_latin1(rep, 1) ||
  ------------------
  |  Branch (2304:17): [True: 0, False: 294]
  |  Branch (2304:40): [True: 0, False: 294]
  ------------------
 2305|    294|	               have_latin1(text, n);
  ------------------
  |  Branch (2305:17): [True: 0, False: 294]
  ------------------
 2306|    294|    }
 2307|       |
 2308|  1.33k|    if (!fixed_opt && !perl_opt) {
  ------------------
  |  Branch (2308:9): [True: 1.33k, False: 8]
  |  Branch (2308:23): [True: 1.33k, False: 0]
  ------------------
 2309|  1.33k|	use_WC = use_UTF8; use_UTF8 = false;
 2310|  1.33k|    }
 2311|       |
 2312|  1.33k|    if (useBytes) {
  ------------------
  |  Branch (2312:9): [True: 1.04k, False: 294]
  ------------------
 2313|  1.04k|	spat = CHAR(STRING_ELT(pat, 0));
  ------------------
  |  |  203|  1.04k|#define CHAR(x) R_CHAR(x)
  ------------------
 2314|  1.04k|	srep = CHAR(STRING_ELT(rep, 0));
  ------------------
  |  |  203|  1.04k|#define CHAR(x) R_CHAR(x)
  ------------------
 2315|  1.04k|    } else if (use_WC) {
  ------------------
  |  Branch (2315:16): [True: 0, False: 294]
  ------------------
 2316|      0|	wpat = wtransChar2(STRING_ELT(pat, 0));
  ------------------
  |  | 2022|      0|# define wtransChar2		Rf_wtransChar2
  ------------------
 2317|      0|	if (!wpat) error(_("'pattern' is invalid"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	if (!wpat) error(_("'pattern' is invalid"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (2317:6): [True: 0, False: 0]
  ------------------
 2318|      0|	wrep = wtransChar2(STRING_ELT(rep, 0));
  ------------------
  |  | 2022|      0|# define wtransChar2		Rf_wtransChar2
  ------------------
 2319|      0|	if (!wrep) error(_("'replacement' is invalid"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	if (!wrep) error(_("'replacement' is invalid"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (2319:6): [True: 0, False: 0]
  ------------------
 2320|      0|	ascii_patrep = (IS_ASCII(STRING_ELT(pat, 0)) &&
  ------------------
  |  Branch (2320:18): [True: 0, False: 0]
  ------------------
 2321|      0|	                IS_ASCII(STRING_ELT(rep, 0)));
  ------------------
  |  Branch (2321:18): [True: 0, False: 0]
  ------------------
 2322|    294|    } else if (use_UTF8) {
  ------------------
  |  Branch (2322:16): [True: 0, False: 294]
  ------------------
 2323|      0|	spat = trCharUTF82(STRING_ELT(pat, 0));
  ------------------
  |  | 2006|      0|# define trCharUTF82      	Rf_trCharUTF82
  ------------------
 2324|      0|	if (!spat || !utf8Valid(spat)) error(_("'pattern' is invalid UTF-8"));
  ------------------
  |  | 2016|      0|# define utf8Valid		Rf_utf8Valid
  ------------------
              	if (!spat || !utf8Valid(spat)) error(_("'pattern' is invalid UTF-8"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	if (!spat || !utf8Valid(spat)) error(_("'pattern' is invalid UTF-8"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (2324:6): [True: 0, False: 0]
  |  Branch (2324:15): [True: 0, False: 0]
  ------------------
 2325|      0|	srep = trCharUTF82(STRING_ELT(rep, 0));
  ------------------
  |  | 2006|      0|# define trCharUTF82      	Rf_trCharUTF82
  ------------------
 2326|      0|	if (!srep || !utf8Valid(srep)) error(_("'replacement' is invalid UTF-8"));
  ------------------
  |  | 2016|      0|# define utf8Valid		Rf_utf8Valid
  ------------------
              	if (!srep || !utf8Valid(srep)) error(_("'replacement' is invalid UTF-8"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	if (!srep || !utf8Valid(srep)) error(_("'replacement' is invalid UTF-8"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (2326:6): [True: 0, False: 0]
  |  Branch (2326:15): [True: 0, False: 0]
  ------------------
 2327|    294|    } else {
 2328|    294|	spat = translateCharFP2(STRING_ELT(pat, 0));
  ------------------
  |  | 2004|    294|# define translateCharFP2	Rf_translateCharFP2
  ------------------
 2329|    294|	if (!spat || (mbcslocale && !mbcsValid(spat)))
  ------------------
  |  | 1957|      0|# define mbcsValid		Rf_mbcsValid
  ------------------
  |  Branch (2329:6): [True: 0, False: 294]
  |  Branch (2329:16): [True: 0, False: 294]
  |  Branch (2329:30): [True: 0, False: 0]
  ------------------
 2330|      0|	    error(_("'pattern' is invalid in this locale"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("'pattern' is invalid in this locale"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2331|    294|	srep = translateCharFP2(STRING_ELT(rep, 0));
  ------------------
  |  | 2004|    294|# define translateCharFP2	Rf_translateCharFP2
  ------------------
 2332|    294|	if (!srep || (mbcslocale && !mbcsValid(srep)))
  ------------------
  |  | 1957|      0|# define mbcsValid		Rf_mbcsValid
  ------------------
  |  Branch (2332:6): [True: 0, False: 294]
  |  Branch (2332:16): [True: 0, False: 294]
  |  Branch (2332:30): [True: 0, False: 0]
  ------------------
 2333|      0|	    error(_("'replacement' is invalid in this locale"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("'replacement' is invalid in this locale"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2334|    294|    }
 2335|       |
 2336|  1.33k|    if (fixed_opt) {
  ------------------
  |  Branch (2336:9): [True: 8, False: 1.33k]
  ------------------
 2337|      8|	patlen = strlen(spat);
 2338|      8|	if (!patlen) error(_("zero-length pattern"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	if (!patlen) error(_("zero-length pattern"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (2338:6): [True: 0, False: 8]
  ------------------
 2339|      8|	replen = strlen(srep);
 2340|  1.33k|    } else if (perl_opt) {
  ------------------
  |  Branch (2340:16): [True: 0, False: 1.33k]
  ------------------
 2341|      0|#ifdef HAVE_PCRE2
 2342|      0|	R_pcre2_prepare(spat, text, use_UTF8, igcase_opt, &tables, &re,
 2343|      0|	                &mcontext);
 2344|      0|	mdata = pcre2_match_data_create(ovecsize, NULL);
 2345|       |#else
 2346|       |	R_pcre_prepare(spat, text, use_UTF8, igcase_opt, false, &tables,
 2347|       |	             &re_pcre, &re_pe);
 2348|       |#endif
 2349|      0|	replen = strlen(srep);
 2350|  1.33k|    } else {
 2351|  1.33k|	int cflags = REG_EXTENDED;
  ------------------
  |  |   98|  1.33k|#define REG_EXTENDED	1
  ------------------
 2352|  1.33k|	if (igcase_opt) cflags |= REG_ICASE;
  ------------------
  |  |   99|      0|#define REG_ICASE	(REG_EXTENDED << 1)
  |  |  ------------------
  |  |  |  |   98|      0|#define REG_EXTENDED	1
  |  |  ------------------
  ------------------
  |  Branch (2352:6): [True: 0, False: 1.33k]
  ------------------
 2353|  1.33k|	if (!use_WC) {
  ------------------
  |  Branch (2353:6): [True: 1.33k, False: 0]
  ------------------
 2354|  1.33k|	    rc =  tre_regcompb(&reg, spat, cflags);
 2355|  1.33k|	    if (rc) reg_report(rc, &reg, spat);
  ------------------
  |  Branch (2355:10): [True: 0, False: 1.33k]
  ------------------
 2356|  1.33k|	    replen = strlen(srep);
 2357|  1.33k|	} else {
 2358|      0|	    rc  = tre_regwcomp(&reg, wpat, cflags);
 2359|      0|	    if (rc) reg_report(rc, &reg, translateChar(STRING_ELT(pat, 0)));
  ------------------
  |  | 1037|      0|#define translateChar		Rf_translateChar
  ------------------
  |  Branch (2359:10): [True: 0, False: 0]
  ------------------
 2360|      0|	    replen = wcslen(wrep);
 2361|      0|	}
 2362|  1.33k|    }
 2363|       |
 2364|  1.33k|    regex_cleanup_info ci;
 2365|  1.33k|    RCNTXT cntxt;
 2366|  1.33k|#ifdef HAVE_PCRE2
 2367|  1.33k|    regex_cleanup_begin(&ci, &cntxt, call, fixed_opt, perl_opt, &reg, tables,
 2368|  1.33k|			re, mdata, mcontext);
 2369|       |#else
 2370|       |    regex_cleanup_begin(&ci, &cntxt, call, fixed_opt, perl_opt, &reg, tables,
 2371|       |			re_pcre, re_pe, NULL);
 2372|       |#endif
 2373|       |
 2374|  1.33k|    PROTECT(ans = allocVector(STRSXP, n));
  ------------------
  |  |  357|  1.33k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2375|  1.33k|    vmax = vmaxget();
 2376|  42.1k|    for (i = 0 ; i < n ; i++) {
  ------------------
  |  Branch (2376:18): [True: 40.8k, False: 1.33k]
  ------------------
 2377|       |//	if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
 2378|       |	/* NA pattern was handled above */
 2379|  40.8k|	if (STRING_ELT(text, i) == NA_STRING) {
  ------------------
  |  |  433|  40.8k|#define NA_STRING	R_NaString
  ------------------
  |  Branch (2379:6): [True: 0, False: 40.8k]
  ------------------
 2380|      0|	    SET_STRING_ELT(ans, i, NA_STRING);
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
 2381|      0|	    continue;
 2382|      0|	}
 2383|       |
 2384|  40.8k|	if (useBytes)
  ------------------
  |  Branch (2384:6): [True: 40.5k, False: 294]
  ------------------
 2385|  40.5k|	    s = CHAR(STRING_ELT(text, i));
  ------------------
  |  |  203|  40.5k|#define CHAR(x) R_CHAR(x)
  ------------------
 2386|    294|	else if (use_WC) {
  ------------------
  |  Branch (2386:11): [True: 0, False: 294]
  ------------------
 2387|      0|	    ws = wtransChar2(STRING_ELT(text, i));
  ------------------
  |  | 2022|      0|# define wtransChar2		Rf_wtransChar2
  ------------------
 2388|      0|	    if (!ws)
  ------------------
  |  Branch (2388:10): [True: 0, False: 0]
  ------------------
 2389|      0|		error(_("input string %lld is invalid"), (long long)i+1);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("input string %lld is invalid"), (long long)i+1);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2390|    294|	} else if (use_UTF8) {
  ------------------
  |  Branch (2390:13): [True: 0, False: 294]
  ------------------
 2391|      0|	    s = trCharUTF82(STRING_ELT(text, i));
  ------------------
  |  | 2006|      0|# define trCharUTF82      	Rf_trCharUTF82
  ------------------
 2392|      0|	    if (!s || !utf8Valid(s))
  ------------------
  |  | 2016|      0|# define utf8Valid		Rf_utf8Valid
  ------------------
  |  Branch (2392:10): [True: 0, False: 0]
  |  Branch (2392:16): [True: 0, False: 0]
  ------------------
 2393|      0|		error(_("input string %lld is invalid UTF-8"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("input string %lld is invalid UTF-8"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2394|      0|		     (long long)i+1);
 2395|    294|	} else {
 2396|    294|	    s = translateCharFP2(STRING_ELT(text, i));
  ------------------
  |  | 2004|    294|# define translateCharFP2	Rf_translateCharFP2
  ------------------
 2397|    294|	    if (!s || (mbcslocale && !mbcsValid(s)))
  ------------------
  |  | 1957|      0|# define mbcsValid		Rf_mbcsValid
  ------------------
  |  Branch (2397:10): [True: 0, False: 294]
  |  Branch (2397:17): [True: 0, False: 294]
  |  Branch (2397:31): [True: 0, False: 0]
  ------------------
 2398|      0|		error(_("input string %lld is invalid in this locale"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("input string %lld is invalid in this locale"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2399|      0|		      (long long)i+1);
 2400|    294|	}
 2401|       |
 2402|  40.8k|	if (fixed_opt) {
  ------------------
  |  Branch (2402:6): [True: 32, False: 40.7k]
  ------------------
 2403|     32|	    int st, nr, slen = (int) strlen(s);
 2404|     32|	    ns = slen;
 2405|     32|	    st = fgrep_one_bytes(spat, patlen, s, ns, useBytes, use_UTF8);
 2406|     32|	    if (st < 0)
  ------------------
  |  Branch (2406:10): [True: 20, False: 12]
  ------------------
 2407|     20|		SET_STRING_ELT(ans, i, markBytesOld(STRING_ELT(text, i),
 2408|     20|		                                    useBytes, haveBytesInput));
 2409|     12|	    else if (STRING_ELT(rep, 0) == NA_STRING)
  ------------------
  |  |  433|     12|#define NA_STRING	R_NaString
  ------------------
  |  Branch (2409:15): [True: 0, False: 12]
  ------------------
 2410|      0|		SET_STRING_ELT(ans, i, NA_STRING);
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
 2411|     12|	    else {
 2412|     12|		if (global) { /* need to find max number of matches */
  ------------------
  |  Branch (2412:7): [True: 0, False: 12]
  ------------------
 2413|      0|		    const char *ss= s;
 2414|      0|		    int sst = st;
 2415|      0|		    nr = 0;
 2416|      0|		    do {
 2417|      0|			nr++;
 2418|      0|			ss += sst+patlen;
 2419|      0|			slen -= (int)(sst+patlen);
 2420|      0|		    } while((sst = fgrep_one_bytes(spat, patlen, ss, slen,
  ------------------
  |  Branch (2420:15): [True: 0, False: 0]
  ------------------
 2421|      0|		                                   useBytes, use_UTF8)) >= 0);
 2422|     12|		} else nr = 1;
 2423|     12|		cbuf = u = R_Calloc(ns + nr*(replen - patlen) + 1, char);
  ------------------
  |  |   55|     12|#define R_Calloc(n, t)   (t *) R_chk_calloc( (R_SIZE_T) (n), sizeof(t) )
  ------------------
 2424|     12|		*u = '\0';
 2425|     12|		slen = ns;
 2426|     12|		do {
 2427|     12|		    strncpy(u, s, st);
 2428|     12|		    u += st;
 2429|     12|		    s += st+patlen;
 2430|     12|		    slen -= (int)(st+patlen);
 2431|     12|		    strncpy(u, srep, replen);
 2432|     12|		    u += replen;
 2433|     12|		} while(global && (st = fgrep_one_bytes(spat, patlen, s, slen,
  ------------------
  |  Branch (2433:11): [True: 0, False: 12]
  |  Branch (2433:21): [True: 0, False: 0]
  ------------------
 2434|      0|		                                        useBytes, use_UTF8)) >= 0);
 2435|     12|		strcpy(u, s);
 2436|     12|		if (useBytes)
  ------------------
  |  Branch (2436:7): [True: 12, False: 0]
  ------------------
 2437|     12|		    SET_STRING_ELT(ans, i, mkBytesNew(cbuf, haveBytesInput));
 2438|      0|		else if (use_UTF8)
  ------------------
  |  Branch (2438:12): [True: 0, False: 0]
  ------------------
 2439|      0|		    SET_STRING_ELT(ans, i, mkCharCE(cbuf, CE_UTF8));
  ------------------
  |  |  999|      0|#define mkCharCE		Rf_mkCharCE
  ------------------
 2440|      0|		else
 2441|      0|		    SET_STRING_ELT(ans, i, markKnown(cbuf, STRING_ELT(text, i)));
  ------------------
  |  | 1947|      0|# define markKnown		Rf_markKnown
  ------------------
 2442|     12|		R_Free(cbuf);
  ------------------
  |  |   57|     12|#define R_Free(p)      (R_chk_free( (void *)(p) ), (p) = NULL)
  ------------------
 2443|     12|	    }
 2444|  40.7k|	} else if (perl_opt) {
  ------------------
  |  Branch (2444:13): [True: 0, False: 40.7k]
  ------------------
 2445|      0|	   int ncap, maxrep;
 2446|      0|#ifdef HAVE_PCRE2
 2447|      0|	   uint32_t eflag;
 2448|      0|	   PCRE2_SIZE *ovector = NULL;
 2449|       |#else
 2450|       |	   int eflag;
 2451|       |	   int ovector[ovecsize];
 2452|       |	   /* zero for unknown patterns; this is done to make sure that back
 2453|       |              references to unset groups return an empty string, but it is
 2454|       |	      not needed anymore as ncap is being checked due to PCRE2 */
 2455|       |	   memset(ovector, 0, ovecsize*sizeof(int));
 2456|       |#endif
 2457|      0|	   ns = (int) strlen(s);
 2458|      0|	   sub_buffer_size_init(replen, ns, count_subs(srep), global,
 2459|      0|	                        &nns, &maxrep);
 2460|      0|	   u = cbuf = R_Calloc(nns, char);
  ------------------
  |  |   55|      0|#define R_Calloc(n, t)   (t *) R_chk_calloc( (R_SIZE_T) (n), sizeof(t) )
  ------------------
 2461|      0|	   offset = 0; nmatch = 0; eflag = 0; last_end = -1;
 2462|       |	   /* ncap is one more than the number of capturing patterns */
 2463|      0|#ifdef HAVE_PCRE2
 2464|      0|	   if (use_UTF8) eflag |= PCRE2_NO_UTF_CHECK;
  ------------------
  |  Branch (2464:9): [True: 0, False: 0]
  ------------------
 2465|       |	   /* PCRE2 has also pcre2_substitute */
 2466|      0|	   while ((rc = pcre2_match(re, (PCRE2_SPTR) s, (PCRE2_SIZE) ns,
  ------------------
  |  Branch (2466:12): [True: 0, False: 0]
  ------------------
 2467|      0|				    (PCRE2_SIZE) offset, eflag, mdata,
 2468|      0|				    mcontext)) >= 0 ) {
 2469|       |
 2470|      0|	       ovector = pcre2_get_ovector_pointer(mdata);
 2471|       |#else
 2472|       |	   while ((rc = pcre_exec(re_pcre, re_pe, s, ns, offset, eflag,
 2473|       |				  ovector, 30)) >= 0) {
 2474|       |#endif
 2475|       |	       /* printf("%s, %d, %d %d\n", s, offset,
 2476|       |		  ovector[0], ovector[1]); */
 2477|      0|	       if (ovector[0] > ovector[1]) {
  ------------------
  |  Branch (2477:13): [True: 0, False: 0]
  ------------------
 2478|      0|		   R_Free(cbuf);
  ------------------
  |  |   57|      0|#define R_Free(p)      (R_chk_free( (void *)(p) ), (p) = NULL)
  ------------------
 2479|      0|		   pcre_start_after_end_error();
 2480|      0|	       }
 2481|      0|	       nmatch++;
 2482|      0|	       for (j = offset; j < ovector[0]; j++) *u++ = s[j];
  ------------------
  |  Branch (2482:26): [True: 0, False: 0]
  ------------------
 2483|      0|	       ncap = rc > 0 ? rc : 10;
  ------------------
  |  Branch (2483:16): [True: 0, False: 0]
  ------------------
 2484|      0|	       if (last_end == -1 /* for PCRE2 */ || ovector[1] > last_end) {
  ------------------
  |  Branch (2484:13): [True: 0, False: 0]
  |  Branch (2484:47): [True: 0, False: 0]
  ------------------
 2485|      0|		   u = R_pcre_string_adj(u, s, srep, ovector, use_UTF8, ncap);
 2486|      0|		   last_end = (int) ovector[1];
 2487|      0|	       }
 2488|      0|	       offset = (int) ovector[1];
 2489|      0|	       if (s[offset] == '\0' || !global) break;
  ------------------
  |  Branch (2489:13): [True: 0, False: 0]
  |  Branch (2489:34): [True: 0, False: 0]
  ------------------
 2490|      0|	       if (ovector[1] == ovector[0]) {
  ------------------
  |  Branch (2490:13): [True: 0, False: 0]
  ------------------
 2491|       |		   /* advance by a char */
 2492|      0|		   if (use_UTF8) {
  ------------------
  |  Branch (2492:10): [True: 0, False: 0]
  ------------------
 2493|      0|		       int used, pos = 0;
 2494|      0|		       while( (used = utf8clen(s[pos])) ) {
  ------------------
  |  | 2013|      0|# define utf8clen		Rf_utf8clen
  ------------------
  |  Branch (2494:17): [True: 0, False: 0]
  ------------------
 2495|      0|			   pos += used;
 2496|      0|			   if (pos > offset) {
  ------------------
  |  Branch (2496:11): [True: 0, False: 0]
  ------------------
 2497|      0|			       for (j = offset; j < pos; j++) *u++ = s[j];
  ------------------
  |  Branch (2497:28): [True: 0, False: 0]
  ------------------
 2498|      0|			       offset = pos;
 2499|      0|			       break;
 2500|      0|			   }
 2501|      0|		       }
 2502|      0|		   } else
 2503|      0|		       *u++ = s[offset++];
 2504|      0|	       }
 2505|      0|	       double needed = (double)(u-cbuf) + (double)(ns-offset)
 2506|      0|	                       + (double)maxrep + 100.;
 2507|      0|	       sub_buffer_expand(needed, &nns, &cbuf, &u);
 2508|      0|#ifdef HAVE_PCRE2
 2509|      0|	       eflag = PCRE2_NOTBOL;  /* probably not needed */
 2510|      0|	       if (use_UTF8) eflag |= PCRE2_NO_UTF_CHECK;
  ------------------
  |  Branch (2510:13): [True: 0, False: 0]
  ------------------
 2511|       |#else
 2512|       |	       eflag = PCRE_NOTBOL;  /* probably not needed */
 2513|       |#endif
 2514|      0|	   }
 2515|      0|	   R_pcre_exec_error(rc, i);
 2516|      0|	   if (nmatch == 0)
  ------------------
  |  Branch (2516:9): [True: 0, False: 0]
  ------------------
 2517|      0|	       SET_STRING_ELT(ans, i, markBytesOld(STRING_ELT(text, i),
 2518|      0|		                                   useBytes, haveBytesInput));
 2519|      0|	   else if (STRING_ELT(rep, 0) == NA_STRING)
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  |  Branch (2519:14): [True: 0, False: 0]
  ------------------
 2520|      0|	       SET_STRING_ELT(ans, i, NA_STRING);
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
 2521|      0|	   else {
 2522|       |	       /* copy the tail */
 2523|      0|	       double needed = (double)(u-cbuf) + (double)(ns-offset) + 1.0;
 2524|      0|	       sub_buffer_expand(needed, &nns, &cbuf, &u);
 2525|      0|	       for (j = offset ; s[j] ; j++) *u++ = s[j];
  ------------------
  |  Branch (2525:27): [True: 0, False: 0]
  ------------------
 2526|      0|	       *u = '\0';
 2527|      0|	       if (useBytes)
  ------------------
  |  Branch (2527:13): [True: 0, False: 0]
  ------------------
 2528|      0|		   SET_STRING_ELT(ans, i, mkBytesNew(cbuf, haveBytesInput));
 2529|      0|	       else if (use_UTF8)
  ------------------
  |  Branch (2529:18): [True: 0, False: 0]
  ------------------
 2530|      0|		   SET_STRING_ELT(ans, i, mkCharCE(cbuf, CE_UTF8));
  ------------------
  |  |  999|      0|#define mkCharCE		Rf_mkCharCE
  ------------------
 2531|      0|	       else
 2532|      0|		   SET_STRING_ELT(ans, i, markKnown(cbuf, STRING_ELT(text, i)));
  ------------------
  |  | 1947|      0|# define markKnown		Rf_markKnown
  ------------------
 2533|      0|	   }
 2534|      0|	   R_Free(cbuf);
  ------------------
  |  |   57|      0|#define R_Free(p)      (R_chk_free( (void *)(p) ), (p) = NULL)
  ------------------
 2535|  40.7k|       } else if (!use_WC) {
  ------------------
  |  Branch (2535:19): [True: 40.7k, False: 0]
  ------------------
 2536|  40.7k|	    int maxrep;
 2537|       |	    /* extended regexp in bytes */
 2538|       |
 2539|  40.7k|	    ns = (int) strlen(s);
 2540|  40.7k|	    sub_buffer_size_init(replen, ns, count_subs(srep), global,
 2541|  40.7k|	                         &nns, &maxrep);
 2542|  40.7k|	    u = cbuf = R_Calloc(nns, char);
  ------------------
  |  |   55|  40.7k|#define R_Calloc(n, t)   (t *) R_chk_calloc( (R_SIZE_T) (n), sizeof(t) )
  ------------------
 2543|  40.7k|	    offset = 0; nmatch = 0; eflags = 0; last_end = -1;
 2544|   149k|	    while ((rc = tre_regexecb(&reg, s+offset, 10, regmatch, eflags))
  ------------------
  |  Branch (2544:13): [True: 108k, False: 40.6k]
  ------------------
 2545|   149k|		   == 0) {
 2546|       |		/* printf("%s, %d %d\n", &s[offset],
 2547|       |		   regmatch[0].rm_so, regmatch[0].rm_eo); */
 2548|   108k|		nmatch++;
 2549|   536k|		for (j = 0; j < regmatch[0].rm_so ; j++)
  ------------------
  |  Branch (2549:15): [True: 428k, False: 108k]
  ------------------
 2550|   428k|		    *u++ = s[offset+j];
 2551|   108k|		if (offset+regmatch[0].rm_eo > last_end) {
  ------------------
  |  Branch (2551:7): [True: 108k, False: 0]
  ------------------
 2552|   108k|		    u = string_adj(u, s+offset, srep, regmatch);
 2553|   108k|		    last_end = offset+regmatch[0].rm_eo;
 2554|   108k|		}
 2555|   108k|		offset += regmatch[0].rm_eo;
 2556|   108k|		if (s[offset] == '\0' || !global) break;
  ------------------
  |  Branch (2556:7): [True: 139, False: 108k]
  |  Branch (2556:28): [True: 2, False: 108k]
  ------------------
 2557|   108k|		if (regmatch[0].rm_eo == regmatch[0].rm_so)
  ------------------
  |  Branch (2557:7): [True: 0, False: 108k]
  ------------------
 2558|      0|		    *u++ = s[offset++];
 2559|   108k|		double needed = (double)(u-cbuf) + (double)(ns-offset)
 2560|   108k|		                + (double)maxrep + 100.;
 2561|   108k|		sub_buffer_expand(needed, &nns, &cbuf, &u);
 2562|   108k|		eflags = REG_NOTBOL;
  ------------------
  |  |  112|   108k|#define REG_NOTBOL 1
  ------------------
 2563|   108k|	    }
 2564|       |	    // AFAICS the only possible error report is REG_ESPACE
 2565|  40.7k|	    if (rc == REG_ESPACE)
  ------------------
  |  Branch (2565:10): [True: 0, False: 40.7k]
  ------------------
 2566|      0|		warning("Out-of-memory error in regexp matching for element %d",
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
 2567|      0|			(int) i + 1);
 2568|       |
 2569|  40.7k|	    if (nmatch == 0)
  ------------------
  |  Branch (2569:10): [True: 25.3k, False: 15.4k]
  ------------------
 2570|  25.3k|		SET_STRING_ELT(ans, i, markBytesOld(STRING_ELT(text, i),
 2571|  25.3k|		                                    useBytes, haveBytesInput));
 2572|  15.4k|	    else if (STRING_ELT(rep, 0) == NA_STRING)
  ------------------
  |  |  433|  15.4k|#define NA_STRING	R_NaString
  ------------------
  |  Branch (2572:15): [True: 0, False: 15.4k]
  ------------------
 2573|      0|		SET_STRING_ELT(ans, i, NA_STRING);
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
 2574|  15.4k|	    else {
 2575|       |		/* copy the tail */
 2576|  15.4k|		double needed = (double)(u-cbuf) + (double)(ns-offset) + 1.0;
 2577|  15.4k|		sub_buffer_expand(needed, &nns, &cbuf, &u);
 2578|   123k|		for (j = offset ; s[j] ; j++) *u++ = s[j];
  ------------------
  |  Branch (2578:21): [True: 107k, False: 15.4k]
  ------------------
 2579|  15.4k|		*u = '\0';
 2580|  15.4k|		if (useBytes)
  ------------------
  |  Branch (2580:7): [True: 15.2k, False: 271]
  ------------------
 2581|  15.2k|		    SET_STRING_ELT(ans, i, mkBytesNew(cbuf, haveBytesInput));
 2582|    271|		else
 2583|    271|		    SET_STRING_ELT(ans, i, markKnown(cbuf, STRING_ELT(text, i)));
  ------------------
  |  | 1947|    271|# define markKnown		Rf_markKnown
  ------------------
 2584|  15.4k|	    }
 2585|  40.7k|	    R_Free(cbuf);
  ------------------
  |  |   57|  40.7k|#define R_Free(p)      (R_chk_free( (void *)(p) ), (p) = NULL)
  ------------------
 2586|  40.7k|	} else  {
 2587|       |	    /* extended regexp in wchar_t */
 2588|      0|	    wchar_t *u, *cbuf;
 2589|      0|	    int maxrep;
 2590|      0|	    bool ascii_texti = IS_ASCII(STRING_ELT(text, i));
 2591|       |
 2592|      0|	    ns = (int) wcslen(ws);
 2593|      0|	    sub_buffer_size_init(replen, ns, wcount_subs(wrep), global,
 2594|      0|	                         &nns, &maxrep);
 2595|      0|	    u = cbuf = R_Calloc(nns, wchar_t);
  ------------------
  |  |   55|      0|#define R_Calloc(n, t)   (t *) R_chk_calloc( (R_SIZE_T) (n), sizeof(t) )
  ------------------
 2596|      0|	    offset = 0; nmatch = 0; eflags = 0; last_end = -1;
 2597|      0|	    while (tre_regwexec(&reg, ws+offset, 10, regmatch, eflags) == 0) {
  ------------------
  |  Branch (2597:13): [True: 0, False: 0]
  ------------------
 2598|      0|		nmatch++;
 2599|      0|		for (j = 0; j < regmatch[0].rm_so ; j++)
  ------------------
  |  Branch (2599:15): [True: 0, False: 0]
  ------------------
 2600|      0|		    *u++ = ws[offset+j];
 2601|      0|		if (offset+regmatch[0].rm_eo > last_end) {
  ------------------
  |  Branch (2601:7): [True: 0, False: 0]
  ------------------
 2602|      0|		    u = wstring_adj(u, ws+offset, wrep, regmatch);
 2603|      0|		    last_end = offset+regmatch[0].rm_eo;
 2604|      0|		}
 2605|      0|		offset += regmatch[0].rm_eo;
 2606|      0|		if (ws[offset] == L'\0' || !global) break;
  ------------------
  |  Branch (2606:7): [True: 0, False: 0]
  |  Branch (2606:30): [True: 0, False: 0]
  ------------------
 2607|      0|		if (regmatch[0].rm_eo == regmatch[0].rm_so)
  ------------------
  |  Branch (2607:7): [True: 0, False: 0]
  ------------------
 2608|      0|		    *u++ = ws[offset++];
 2609|      0|		double needed = (double)(u-cbuf) + (double)(ns-offset)
 2610|      0|		                + (double)maxrep + 100.;
 2611|      0|		wsub_buffer_expand(needed, &nns, &cbuf, &u);
 2612|      0|		eflags = REG_NOTBOL;
  ------------------
  |  |  112|      0|#define REG_NOTBOL 1
  ------------------
 2613|      0|	    }
 2614|      0|	    if (nmatch == 0)
  ------------------
  |  Branch (2614:10): [True: 0, False: 0]
  ------------------
 2615|      0|		SET_STRING_ELT(ans, i, markBytesOld(STRING_ELT(text, i),
 2616|      0|		                                    useBytes, haveBytesInput));
 2617|      0|	    else if (STRING_ELT(rep, 0) == NA_STRING)
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  |  Branch (2617:15): [True: 0, False: 0]
  ------------------
 2618|      0|		SET_STRING_ELT(ans, i, NA_STRING);
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
 2619|      0|	    else {
 2620|       |		/* copy the tail */
 2621|      0|		double needed = (double)(u-cbuf) + (double)(ns-offset) + 1.;
 2622|      0|		wsub_buffer_expand(needed, &nns, &cbuf, &u);
 2623|      0|		for (j = offset ; ws[j] ; j++) *u++ = ws[j];
  ------------------
  |  Branch (2623:21): [True: 0, False: 0]
  ------------------
 2624|      0|		*u = L'\0';
 2625|      0|		SET_STRING_ELT(ans, i,
 2626|      0|		               mkCharWLenASCII(cbuf, (int)(u-cbuf),
 2627|      0|		                               ascii_patrep && ascii_texti));
  ------------------
  |  Branch (2627:34): [True: 0, False: 0]
  |  Branch (2627:50): [True: 0, False: 0]
  ------------------
 2628|      0|	    }
 2629|      0|	    R_Free(cbuf);
  ------------------
  |  |   57|      0|#define R_Free(p)      (R_chk_free( (void *)(p) ), (p) = NULL)
  ------------------
 2630|      0|	}
 2631|  40.8k|	vmaxset(vmax);
 2632|  40.8k|    }
 2633|       |
 2634|  1.33k|    regex_cleanup_end(&ci, &cntxt);
 2635|       |
 2636|  1.33k|  exit_gsub: 
 2637|  1.33k|    SHALLOW_DUPLICATE_ATTRIB(ans, text);
 2638|       |    /* This also copied the class, if any */
 2639|  1.33k|    UNPROTECT(1);
  ------------------
  |  |  358|  1.33k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2640|  1.33k|    return ans;
 2641|  1.33k|}
grep.c:have_bytes:
  326|  11.6k|{
  327|  11.6k|    R_xlen_t i;
  328|       |
  329|  62.6k|    for(i = 0; i < len; i++) 
  ------------------
  |  Branch (329:16): [True: 51.0k, False: 11.6k]
  ------------------
  330|  51.0k|	if (IS_BYTES(STRING_ELT(x, i))) return true;
  ------------------
  |  Branch (330:6): [True: 0, False: 51.0k]
  ------------------
  331|  11.6k|    return false;
  332|  11.6k|}
grep.c:only_ascii:
  316|  11.7k|{
  317|  11.7k|    R_xlen_t i;
  318|       |
  319|  66.4k|    for(i = 0; i < len; i++) 
  ------------------
  |  Branch (319:16): [True: 55.7k, False: 10.7k]
  ------------------
  320|  55.7k|	if (!IS_ASCII(STRING_ELT(x, i)) && STRING_ELT(x, i) != NA_STRING)  
  ------------------
  |  |  433|  1.00k|#define NA_STRING	R_NaString
  ------------------
  |  Branch (320:6): [True: 1.00k, False: 54.7k]
  |  Branch (320:37): [True: 1.00k, False: 0]
  ------------------
  321|  1.00k|	    return false;
  322|  10.7k|    return true;
  323|  11.7k|}
grep.c:have_utf8:
  335|  2.31k|{
  336|  2.31k|    R_xlen_t i;
  337|       |
  338|  4.62k|    for(i = 0; i < len; i++) 
  ------------------
  |  Branch (338:16): [True: 2.31k, False: 2.31k]
  ------------------
  339|  2.31k|	if (IS_UTF8(STRING_ELT(x, i))) return true;
  ------------------
  |  Branch (339:6): [True: 0, False: 2.31k]
  ------------------
  340|  2.31k|    return false;
  341|  2.31k|}
grep.c:have_latin1:
  344|  2.31k|{
  345|  2.31k|    R_xlen_t i;
  346|       |
  347|  4.62k|    for(i = 0; i < len; i++) 
  ------------------
  |  Branch (347:16): [True: 2.31k, False: 2.31k]
  ------------------
  348|  2.31k|	if (IS_LATIN1(STRING_ELT(x, i))) return true;
  ------------------
  |  Branch (348:6): [True: 0, False: 2.31k]
  ------------------
  349|  2.31k|    return false;
  350|  2.31k|}
grep.c:markBytesOld:
  202|  25.3k|{
  203|       |    /* If 1, mark results of gsub, sub, strsplit as "bytes" when using bytes
  204|       |       and replacement, split did not happen. If 0, keep their original
  205|       |       encoding flag (pre-82589 behavior, see markBytesResultIfNew).
  206|       |
  207|       |       The intention of the marking (82589) was to avoid encoding flag
  208|       |       instability caused by 82587, e.g.
  209|       |       in gsub(weird_thing, "", useBytes=TRUE). The option is experimental
  210|       |       and intended to be removed.
  211|       |
  212|       |       Currently the default is the old behavior.
  213|       |    */
  214|  25.3k|    static int markBytesResultIfOld = -1; /* -1 to allow setting */
  215|       |
  216|  25.3k|    if (markBytesResultIfOld == -1) {
  ------------------
  |  Branch (216:9): [True: 2, False: 25.3k]
  ------------------
  217|      2|	char *p = getenv("_R_REGEX_MARK_OLD_RESULT_AS_BYTES_");
  218|      2|	markBytesResultIfOld = (p && StringTrue(p)) ? 1 : 0;
  ------------------
  |  |   52|      0|#define StringTrue    Rf_StringTrue
  ------------------
  |  Branch (218:26): [True: 0, False: 2]
  |  Branch (218:31): [True: 0, False: 0]
  ------------------
  219|      2|    }
  220|  25.3k|    if (!markBytesResultIfOld || !haveBytesInput ||
  ------------------
  |  Branch (220:9): [True: 25.3k, False: 0]
  |  Branch (220:34): [True: 0, False: 0]
  ------------------
  221|      0|        !useBytes || IS_ASCII(x) || IS_BYTES(x) || x == NA_STRING)
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  |  Branch (221:9): [True: 0, False: 0]
  |  Branch (221:22): [True: 0, False: 0]
  |  Branch (221:37): [True: 0, False: 0]
  |  Branch (221:52): [True: 0, False: 0]
  ------------------
  222|       |
  223|  25.3k|	return x;
  224|      0|    else
  225|      0|	return mkCharLenCE(CHAR(x), LENGTH(x), CE_BYTES);
  ------------------
  |  | 1001|      0|#define mkCharLenCE		Rf_mkCharLenCE
  ------------------
              	return mkCharLenCE(CHAR(x), LENGTH(x), CE_BYTES);
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  226|  25.3k|}
grep.c:mkBytesNew:
  229|   445k|{
  230|       |    /* If 1, mark results of gsub, sub, strsplit as "bytes" when using bytes
  231|       |       and replacement or split happened. If 0 and no input was marked as
  232|       |       "bytes", mark results as native/unknown, possibly creating an invalid
  233|       |       string (pre-82587 behavior). This option is experimental and intended
  234|       |       to be removed.
  235|       |
  236|       |       Currently the default is the old behavior when no input is marked as
  237|       |       "bytes". However, the new behavior applies when the input includes
  238|       |       a string marked as "bytes".
  239|       |    */
  240|   445k|    static int markBytesResultIfNew = -1; 
  241|       |
  242|   445k|    if (markBytesResultIfNew == -1) {
  ------------------
  |  Branch (242:9): [True: 2, False: 445k]
  ------------------
  243|      2|	char *p = getenv("_R_REGEX_MARK_NEW_RESULT_AS_BYTES_");
  244|      2|	markBytesResultIfNew = (p && StringTrue(p)) ? 1 : 0;
  ------------------
  |  |   52|      0|#define StringTrue    Rf_StringTrue
  ------------------
  |  Branch (244:26): [True: 0, False: 2]
  |  Branch (244:31): [True: 0, False: 0]
  ------------------
  245|      2|    }
  246|   445k|    if (haveBytesInput || markBytesResultIfNew)
  ------------------
  |  Branch (246:9): [True: 0, False: 445k]
  |  Branch (246:27): [True: 0, False: 445k]
  ------------------
  247|      0|	return mkCharCE(name, CE_BYTES);
  ------------------
  |  |  999|      0|#define mkCharCE		Rf_mkCharCE
  ------------------
  248|   445k|    else
  249|   445k|	return mkCharCE(name, CE_NATIVE);
  ------------------
  |  |  999|   445k|#define mkCharCE		Rf_mkCharCE
  ------------------
  250|   445k|}
grep.c:regex_cleanup_begin:
  616|  1.44k|{
  617|  1.44k|    ci->fixed_opt = fixed_opt;
  618|  1.44k|    ci->perl_opt = perl_opt;
  619|  1.44k|    ci->reg = reg;
  620|  1.44k|    ci->tables = tables;
  621|  1.44k|#ifdef HAVE_PCRE2
  622|  1.44k|    ci->re = re;
  623|  1.44k|    ci->mdata = mdata;
  624|  1.44k|    ci->mcontext = mcontext;
  625|       |#else
  626|       |    ci->re_pcre = re_pcre;
  627|       |    ci->re_pe = re_pe;
  628|       |    ci->ovector = ovector;
  629|       |#endif
  630|  1.44k|    begincontext(cntxt, CTXT_CCODE, call, R_BaseEnv, R_BaseEnv,
  ------------------
  |  | 1869|  1.44k|# define begincontext		Rf_begincontext
  ------------------
  631|  1.44k|		 R_NilValue, R_NilValue);
  632|  1.44k|    cntxt->cend = &regex_cleanup;
  633|  1.44k|    cntxt->cenddata = ci;
  634|  1.44k|}
grep.c:regex_cleanup:
  579|  1.44k|{
  580|  1.44k|    regex_cleanup_info *ci = (regex_cleanup_info *) data;
  581|       |
  582|  1.44k|    if (ci->fixed_opt)
  ------------------
  |  Branch (582:9): [True: 14, False: 1.43k]
  ------------------
  583|     14|	return;
  584|  1.43k|    if (ci->perl_opt) {
  ------------------
  |  Branch (584:9): [True: 0, False: 1.43k]
  ------------------
  585|      0|#ifdef HAVE_PCRE2
  586|      0|	pcre2_match_data_free(ci->mdata);
  587|      0|	pcre2_code_free(ci->re);
  588|      0|	pcre2_match_context_free(ci->mcontext);
  589|      0|	if (ci->tables)
  ------------------
  |  Branch (589:6): [True: 0, False: 0]
  ------------------
  590|       |	    /* new PCRE2 will have pcre2_maketables_free() */
  591|      0|	    free((void *) ci->tables);
  592|       |#else
  593|       |	if (ci->re_pe)
  594|       |	    pcre_free_study(ci->re_pe);
  595|       |	pcre_free(ci->re_pcre);
  596|       |	pcre_free((void *) ci->tables);
  597|       |	free(ci->ovector);
  598|       |#endif
  599|  1.43k|    } else {
  600|  1.43k|	tre_regfree(ci->reg);
  601|  1.43k|    }
  602|  1.43k|}
grep.c:regex_cleanup_end:
  638|  1.44k|{
  639|  1.44k|    endcontext(cntxt);
  ------------------
  |  | 1900|  1.44k|# define endcontext		Rf_endcontext
  ------------------
  640|  1.44k|    regex_cleanup(ci);
  641|  1.44k|}
grep.c:fgrep_one:
 1290|      6|{
 1291|      6|    int plen = (int) strlen(pat), len = (int) strlen(target);
 1292|      6|    int i = -1;
 1293|      6|    const char *p;
 1294|       |
 1295|      6|    if (plen == 0) {
  ------------------
  |  Branch (1295:9): [True: 0, False: 6]
  ------------------
 1296|      0|	if (next != NULL) *next = 1;
  ------------------
  |  Branch (1296:6): [True: 0, False: 0]
  ------------------
 1297|      0|	return 0;
 1298|      0|    }
 1299|      6|    if (plen == 1 && (useBytes || !(mbcslocale || use_UTF8))) {
  ------------------
  |  Branch (1299:9): [True: 6, False: 0]
  |  Branch (1299:23): [True: 6, False: 0]
  |  Branch (1299:37): [True: 0, False: 0]
  |  Branch (1299:51): [True: 0, False: 0]
  ------------------
 1300|       |	/* a single byte is a common case */
 1301|     54|	for (i = 0, p = target; *p; p++, i++)
  ------------------
  |  Branch (1301:26): [True: 48, False: 6]
  ------------------
 1302|     48|	    if (*p == pat[0]) {
  ------------------
  |  Branch (1302:10): [True: 0, False: 48]
  ------------------
 1303|      0|		if (next != NULL) *next = i + 1;
  ------------------
  |  Branch (1303:7): [True: 0, False: 0]
  ------------------
 1304|      0|		return i;
 1305|      0|	    }
 1306|      6|	return -1;
 1307|      6|    }
 1308|      0|    if (!useBytes && use_UTF8) {
  ------------------
  |  Branch (1308:9): [True: 0, False: 0]
  |  Branch (1308:22): [True: 0, False: 0]
  ------------------
 1309|       |	// target is const char*, so C23 says so is the value
 1310|      0|	const char *pos = strstr(target, pat);
 1311|      0|	if (pos) {
  ------------------
  |  Branch (1311:6): [True: 0, False: 0]
  ------------------
 1312|      0|	    int ib = (int) (pos-target);
 1313|      0|	    int jb;
 1314|       |
 1315|      0|	    if (next != NULL) *next = ib + plen;
  ------------------
  |  Branch (1315:10): [True: 0, False: 0]
  ------------------
 1316|      0|	    for (jb = 0, i = 0; jb < ib; jb++)
  ------------------
  |  Branch (1316:26): [True: 0, False: 0]
  ------------------
 1317|       |		/* count leading UTF-8 bytes */
 1318|      0|		if ((target[jb] & 0xc0) != 0x80) i++;
  ------------------
  |  Branch (1318:7): [True: 0, False: 0]
  ------------------
 1319|      0|	    return i;
 1320|      0|	}
 1321|      0|    } else if (!useBytes && mbcslocale) { /* skip along by chars */
  ------------------
  |  Branch (1321:16): [True: 0, False: 0]
  |  Branch (1321:29): [True: 0, False: 0]
  ------------------
 1322|      0|	mbstate_t mb_st;
 1323|      0|	int ib, used;
 1324|      0|	mbs_init(&mb_st);
  ------------------
  |  | 2459|      0|#define mbs_init(x) memset(x, 0, sizeof(mbstate_t))
  ------------------
 1325|      0|	for (ib = 0, i = 0; ib <= len-plen; i++) {
  ------------------
  |  Branch (1325:22): [True: 0, False: 0]
  ------------------
 1326|      0|	    if (strncmp(pat, target+ib, plen) == 0) {
  ------------------
  |  Branch (1326:10): [True: 0, False: 0]
  ------------------
 1327|      0|		if (next != NULL) *next = ib + plen;
  ------------------
  |  Branch (1327:7): [True: 0, False: 0]
  ------------------
 1328|      0|		return i;
 1329|      0|	    }
 1330|      0|	    used = (int) Mbrtowc(NULL,  target+ib, R_MB_CUR_MAX, &mb_st);
  ------------------
  |  | 1954|      0|# define Mbrtowc		Rf_mbrtowc
  ------------------
 1331|      0|	    if (used <= 0) break;
  ------------------
  |  Branch (1331:10): [True: 0, False: 0]
  ------------------
 1332|      0|	    ib += used;
 1333|      0|	}
 1334|      0|    } else {
 1335|       |	// target is const char*, so C23 says so is the value
 1336|      0|	const char *pos = strstr(target, pat);
 1337|      0|	if (pos) {
  ------------------
  |  Branch (1337:6): [True: 0, False: 0]
  ------------------
 1338|      0|	    i = (int) (pos-target);
 1339|      0|	    if (next != NULL) *next = i + plen;
  ------------------
  |  Branch (1339:10): [True: 0, False: 0]
  ------------------
 1340|      0|	    return i;
 1341|      0|	}
 1342|      0|    }
 1343|      0|    return -1;
 1344|      0|}
grep.c:fgrep_one_bytes:
 1353|     32|{
 1354|     32|    int i = -1;
 1355|     32|    const char *p;
 1356|       |
 1357|     32|    if (patlen == 0) return 0;
  ------------------
  |  Branch (1357:9): [True: 0, False: 32]
  ------------------
 1358|       |
 1359|       |    /* UTF-8 allows for byte-based search of valid pattern string inside
 1360|       |       valid target string, because lead and continuation bytes are taken
 1361|       |       from distinct ranges. */
 1362|     32|    if (patlen == 1 && (useBytes || use_UTF8 || !mbcslocale)) {
  ------------------
  |  Branch (1362:9): [True: 0, False: 32]
  |  Branch (1362:25): [True: 0, False: 0]
  |  Branch (1362:37): [True: 0, False: 0]
  |  Branch (1362:49): [True: 0, False: 0]
  ------------------
 1363|       |	/* a single byte is a common case */
 1364|      0|	for (i = 0, p = target; *p; p++, i++)
  ------------------
  |  Branch (1364:26): [True: 0, False: 0]
  ------------------
 1365|      0|	    if (*p == pat[0]) return i;
  ------------------
  |  Branch (1365:10): [True: 0, False: 0]
  ------------------
 1366|      0|	return -1;
 1367|      0|    }
 1368|     32|    if (!use_UTF8 && !useBytes && mbcslocale) { /* skip along by chars */
  ------------------
  |  Branch (1368:9): [True: 32, False: 0]
  |  Branch (1368:22): [True: 0, False: 32]
  |  Branch (1368:35): [True: 0, False: 0]
  ------------------
 1369|      0|	mbstate_t mb_st;
 1370|      0|	int ib, used;
 1371|      0|	mbs_init(&mb_st);
  ------------------
  |  | 2459|      0|#define mbs_init(x) memset(x, 0, sizeof(mbstate_t))
  ------------------
 1372|      0|	for (ib = 0, i = 0; ib <= len-patlen; i++) {
  ------------------
  |  Branch (1372:22): [True: 0, False: 0]
  ------------------
 1373|      0|	    if (strncmp(pat, target+ib, patlen) == 0) return ib;
  ------------------
  |  Branch (1373:10): [True: 0, False: 0]
  ------------------
 1374|      0|	    used = (int) Mbrtowc(NULL, target+ib, R_MB_CUR_MAX, &mb_st);
  ------------------
  |  | 1954|      0|# define Mbrtowc		Rf_mbrtowc
  ------------------
 1375|      0|	    if (used <= 0) break;
  ------------------
  |  Branch (1375:10): [True: 0, False: 0]
  ------------------
 1376|      0|	    ib += used;
 1377|      0|	}
 1378|     32|    } else {
 1379|       |	// target is const char*, so C23 says so is the value
 1380|     32|	const char *pos = strstr(target, pat);
 1381|     32|	if (pos) return (int) (pos-target);
  ------------------
  |  Branch (1381:6): [True: 12, False: 20]
  ------------------
 1382|     32|    }
 1383|     20|    return -1;
 1384|     32|}
grep.c:sub_buffer_size_init:
 2164|  40.7k|{
 2165|       |   /* worst possible scenario is to put a copy of the
 2166|       |      replacement after every character, unless there are
 2167|       |      backrefs */
 2168|  40.7k|    *maxrep = sub_buffer_check_overflow((double)replen + (ns-2.) * nsubs);
 2169|  40.7k|    if (global) {
  ------------------
  |  Branch (2169:9): [True: 40.7k, False: 22]
  ------------------
 2170|  40.7k|	double dnns = (double)ns * (*maxrep + 1.) + 1000.;
 2171|  40.7k|	if (dnns > 10000) dnns = 2.*ns + (double)replen + 1000.;
  ------------------
  |  Branch (2171:6): [True: 27, False: 40.7k]
  ------------------
 2172|  40.7k|	if (dnns < (double)ns + *maxrep + 1000.)
  ------------------
  |  Branch (2172:6): [True: 7, False: 40.7k]
  ------------------
 2173|      7|	    dnns = (double)ns + *maxrep + 1000.;
 2174|  40.7k|	*nns = sub_buffer_check_overflow(dnns);
 2175|  40.7k|    } else
 2176|     22|	*nns = sub_buffer_check_overflow((double)ns +
 2177|     22|	                                 (double)*maxrep + 1000.);
 2178|  40.7k|}
grep.c:sub_buffer_check_overflow:
 2153|   205k|{
 2154|       |    /* 2147483647 is a length limit for R strings and 32-bit ints can be
 2155|       |       precisely represented in IEEE double (but not 64-bit ints) */
 2156|   205k|    if (!(d < INT_MAX) || !(d < 2147483647))
  ------------------
  |  Branch (2156:9): [True: 0, False: 205k]
  |  Branch (2156:27): [True: 0, False: 205k]
  ------------------
 2157|      0|	error(_("result string is too long"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("result string is too long"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2158|   205k|    return (int)d;
 2159|   205k|}
grep.c:count_subs:
 2021|  40.7k|{
 2022|  40.7k|    int i = 0;
 2023|  40.7k|    const char *p = repl;
 2024|  41.5k|    while (*p) {
  ------------------
  |  Branch (2024:12): [True: 726, False: 40.7k]
  ------------------
 2025|    726|	if (*p == '\\') {
  ------------------
  |  Branch (2025:6): [True: 126, False: 600]
  ------------------
 2026|    126|	    if ('1' <= p[1] && p[1] <= '9') {i++; p += 2;}
  ------------------
  |  Branch (2026:10): [True: 126, False: 0]
  |  Branch (2026:25): [True: 98, False: 28]
  ------------------
 2027|     28|	    else if (p[1] == 0) p++; else p += 2;
  ------------------
  |  Branch (2027:15): [True: 0, False: 28]
  ------------------
 2028|    126|	}
 2029|    600|	else p++;
 2030|    726|    }
 2031|  40.7k|    return i;
 2032|  40.7k|}
grep.c:sub_buffer_expand:
 2198|   123k|{
 2199|   123k|    if (sub_buffer_size_expand(needed, nns)) {
  ------------------
  |  Branch (2199:9): [True: 0, False: 123k]
  ------------------
 2200|      0|       char *tmp;
 2201|      0|       tmp = R_Realloc(*cbuf, *nns, char);
  ------------------
  |  |   56|      0|#define R_Realloc(p,n,t) (t *) R_chk_realloc( (void *)(p), (R_SIZE_T)((n) * sizeof(t)) )
  ------------------
 2202|      0|       *u = tmp + (*u - *cbuf);
 2203|      0|       *cbuf = tmp;
 2204|      0|   }
 2205|   123k|}
grep.c:sub_buffer_size_expand:
 2182|   123k|{
 2183|   123k|    int ineeded = sub_buffer_check_overflow(needed);
 2184|   123k|    if (*nns < ineeded) {
  ------------------
  |  Branch (2184:9): [True: 0, False: 123k]
  ------------------
 2185|       |	/* This could fail at smaller value on a 32-bit platform:
 2186|       |	   it is merely an integer overflow check */
 2187|      0|	if (*nns < INT_MAX/2)
  ------------------
  |  Branch (2187:6): [True: 0, False: 0]
  ------------------
 2188|      0|	    (*nns) *= 2;
 2189|      0|	if (*nns < ineeded)
  ------------------
  |  Branch (2189:6): [True: 0, False: 0]
  ------------------
 2190|      0|	    (*nns) = ineeded;
 2191|      0|	return true; 
 2192|      0|    } else
 2193|   123k|	return false;
 2194|   123k|}
grep.c:string_adj:
 2000|   108k|{
 2001|   108k|    int i, k;
 2002|   108k|    const char *p = repl; char *t = target;
 2003|       |
 2004|   108k|    while (*p) {
  ------------------
  |  Branch (2004:12): [True: 126, False: 108k]
  ------------------
 2005|    126|	if (*p == '\\') {
  ------------------
  |  Branch (2005:6): [True: 18, False: 108]
  ------------------
 2006|     18|	    if ('1' <= p[1] && p[1] <= '9') {
  ------------------
  |  Branch (2006:10): [True: 18, False: 0]
  |  Branch (2006:25): [True: 18, False: 0]
  ------------------
 2007|     18|		k = p[1] - '0';
 2008|    138|		for (i = regmatch[k].rm_so ; i < regmatch[k].rm_eo ; i++)
  ------------------
  |  Branch (2008:32): [True: 120, False: 18]
  ------------------
 2009|    120|		    *t++ = orig[i];
 2010|     18|		p += 2;
 2011|     18|	    }
 2012|      0|	    else if (p[1] == 0) p++; else {p++; *t++ = *p++;}
  ------------------
  |  Branch (2012:15): [True: 0, False: 0]
  ------------------
 2013|     18|	}
 2014|    108|	else *t++ = *p++;
 2015|    126|    }
 2016|   108k|    return t;
 2017|   108k|}

R_gzopen:
  185|     72|{
  186|     72|    int err;
  187|     72|    int level = Z_DEFAULT_COMPRESSION; /* compression level */
  188|     72|    int strategy = Z_DEFAULT_STRATEGY; /* compression strategy */
  189|     72|    char *p = (char *) mode;
  190|     72|    gz_stream *s;
  191|     72|    char fmode[80]; /* copy of mode, without the compression level */
  192|     72|    char *m = fmode;
  193|       |
  194|     72|    if (!path || !mode) return Z_NULL;
  ------------------
  |  Branch (194:9): [True: 0, False: 72]
  |  Branch (194:18): [True: 0, False: 72]
  ------------------
  195|       |
  196|     72|    s = (gz_stream *) malloc(sizeof(gz_stream));
  197|     72|    if (!s) return Z_NULL;
  ------------------
  |  Branch (197:9): [True: 0, False: 72]
  ------------------
  198|       |
  199|     72|    s->stream.zalloc = (alloc_func) 0;
  200|     72|    s->stream.zfree = (free_func) 0;
  201|     72|    s->stream.opaque = (voidpf) 0;
  202|     72|    s->stream.next_in = s->buffer;
  203|     72|    s->stream.next_out = s->buffer;
  204|     72|    s->stream.avail_in = s->stream.avail_out = 0;
  205|     72|    s->file = NULL;
  206|     72|    s->z_err = Z_OK;
  207|     72|    s->z_eof = 0;
  208|     72|    s->in = 0;
  209|     72|    s->out = 0;
  210|     72|    s->crc = crc32(0L, Z_NULL, 0);
  211|     72|    s->transparent = 0;
  212|     72|    s->mode = '\0';
  213|    216|    do {
  214|    216|        if (*p == 'r') s->mode = 'r';
  ------------------
  |  Branch (214:13): [True: 72, False: 144]
  ------------------
  215|    216|        if (*p == 'w' || *p == 'a') s->mode = 'w';
  ------------------
  |  Branch (215:13): [True: 0, False: 216]
  |  Branch (215:26): [True: 0, False: 216]
  ------------------
  216|    216|        if (*p >= '0' && *p <= '9') level = *p - '0';
  ------------------
  |  Branch (216:13): [True: 144, False: 72]
  |  Branch (216:26): [True: 0, False: 144]
  ------------------
  217|    216|        else if (*p == 'f') strategy = Z_FILTERED;
  ------------------
  |  Branch (217:18): [True: 0, False: 216]
  ------------------
  218|    216|        else if (*p == 'h') strategy = Z_HUFFMAN_ONLY;
  ------------------
  |  Branch (218:18): [True: 0, False: 216]
  ------------------
  219|    216|        else if (*p == 'R') strategy = Z_RLE;
  ------------------
  |  Branch (219:18): [True: 0, False: 216]
  ------------------
  220|    216|        else *m++ = *p; /* copy the mode */
  221|    216|    } while (*p++ && m != fmode + sizeof(fmode));
  ------------------
  |  Branch (221:14): [True: 144, False: 72]
  |  Branch (221:22): [True: 144, False: 0]
  ------------------
  222|     72|    if (s->mode == '\0') return destroy(s), (gzFile) Z_NULL;
  ------------------
  |  Branch (222:9): [True: 0, False: 72]
  ------------------
  223|       |
  224|     72|    if (s->mode == 'w') {
  ------------------
  |  Branch (224:9): [True: 0, False: 72]
  ------------------
  225|      0|        err = deflateInit2(&(s->stream), level,
  226|      0|                           Z_DEFLATED, -MAX_WBITS, MAX_MEM_LEVEL, strategy);
  227|       |        /* windowBits is passed < 0 to suppress zlib header */
  228|      0|        if (err != Z_OK) return destroy(s), (gzFile) Z_NULL;
  ------------------
  |  Branch (228:13): [True: 0, False: 0]
  ------------------
  229|     72|    } else {
  230|     72|        err = inflateInit2(&(s->stream), -MAX_WBITS);
  231|       |        /* windowBits is passed < 0 to tell that there is no zlib header.
  232|       |         * Note that in this case inflate *requires* an extra "dummy" byte
  233|       |         * after the compressed stream in order to complete decompression and
  234|       |         * return Z_STREAM_END. Here the gzip CRC32 ensures that 4 bytes are
  235|       |         * present after the compressed stream.
  236|       |         */
  237|     72|        if (err != Z_OK) return destroy(s), (gzFile) Z_NULL;
  ------------------
  |  Branch (237:13): [True: 0, False: 72]
  ------------------
  238|     72|    }
  239|     72|    s->stream.avail_out = Z_BUFSIZE;
  ------------------
  |  |   56|     72|#define Z_BUFSIZE 16384
  ------------------
  240|       |
  241|     72|    errno = 0;
  242|     72|    s->file = fopen(path, fmode);
  243|     72|    if (s->file == NULL) return destroy(s), (gzFile) Z_NULL;
  ------------------
  |  Branch (243:9): [True: 0, False: 72]
  ------------------
  244|       |
  245|     72|    if (s->mode == 'w') {
  ------------------
  |  Branch (245:9): [True: 0, False: 72]
  ------------------
  246|       |        /* Write a very simple .gz header */
  247|      0|        fprintf(s->file, "%c%c%c%c%c%c%c%c%c%c", gz_magic[0], gz_magic[1],
  248|      0|		Z_DEFLATED, 0 /*flags*/, 0,0,0,0 /*time*/, 0 /*xflags*/, 
  249|      0|		OS_CODE);
  ------------------
  |  |   43|      0|# define OS_CODE  0x03 
  ------------------
  250|      0|        s->start = 10L;
  251|     72|    } else {
  252|     72|        check_header(s); /* skip the .gz header */
  253|     72|        s->start = f_tell(s->file) - s->stream.avail_in;
  ------------------
  |  |  750|     72|# define f_tell ftello
  ------------------
  254|     72|    }
  255|     72|    return (gzFile) s;
  256|     72|}
R_gzclose:
  538|     72|{
  539|     72|    gz_stream *s = (gz_stream*) file;
  540|     72|    if (s == NULL) return Z_STREAM_ERROR;
  ------------------
  |  Branch (540:9): [True: 0, False: 72]
  ------------------
  541|     72|    if (s->mode == 'w') {
  ------------------
  |  Branch (541:9): [True: 0, False: 72]
  ------------------
  542|      0|        if (gz_flush (file, Z_FINISH) != Z_OK) 
  ------------------
  |  Branch (542:13): [True: 0, False: 0]
  ------------------
  543|      0|	    return destroy((gz_stream*) file);
  544|      0|        z_putLong (s->file, s->crc);
  545|      0|        z_putLong (s->file, (uLong) (s->in & 0xffffffff));
  546|      0|    }
  547|     72|    return destroy((gz_stream*) file);
  548|     72|}
connections.c:destroy:
   91|     72|{
   92|     72|    int err = Z_OK;
   93|       |
   94|     72|    if (!s) return Z_STREAM_ERROR;
  ------------------
  |  Branch (94:9): [True: 0, False: 72]
  ------------------
   95|       |
   96|     72|    if (s->stream.state != NULL) {
  ------------------
  |  Branch (96:9): [True: 72, False: 0]
  ------------------
   97|     72|        if (s->mode == 'w') err = deflateEnd(&(s->stream));
  ------------------
  |  Branch (97:13): [True: 0, False: 72]
  ------------------
   98|     72|        else if (s->mode == 'r') err = inflateEnd(&(s->stream));
  ------------------
  |  Branch (98:18): [True: 72, False: 0]
  ------------------
   99|     72|    }
  100|     72|    if (s->file != NULL && fclose(s->file)) {
  ------------------
  |  Branch (100:9): [True: 72, False: 0]
  |  Branch (100:28): [True: 0, False: 72]
  ------------------
  101|      0|#ifdef ESPIPE
  102|      0|        if (errno != ESPIPE) /* fclose is broken for pipes in HP/UX */
  ------------------
  |  Branch (102:13): [True: 0, False: 0]
  ------------------
  103|      0|#endif
  104|      0|            err = Z_ERRNO;
  105|      0|    }
  106|     72|    if (s->z_err < 0) err = s->z_err;
  ------------------
  |  Branch (106:9): [True: 0, False: 72]
  ------------------
  107|       |
  108|     72|    if(s) free(s);
  ------------------
  |  Branch (108:8): [True: 72, False: 0]
  ------------------
  109|     72|    return err;
  110|     72|}
connections.c:check_header:
  123|    144|{
  124|    144|    int method; /* method byte */
  125|    144|    int flags;  /* flags byte */
  126|    144|    uInt len;
  127|    144|    int c;
  128|       |
  129|       |    /* Assure two bytes in the buffer so we can peek ahead -- handle case
  130|       |       where first byte of header is at the end of the buffer after the last
  131|       |       gzip segment */
  132|    144|    len = s->stream.avail_in;
  133|    144|    if (len < 2) {
  ------------------
  |  Branch (133:9): [True: 144, False: 0]
  ------------------
  134|    144|        if (len) s->buffer[0] = s->stream.next_in[0];
  ------------------
  |  Branch (134:13): [True: 0, False: 144]
  ------------------
  135|    144|        errno = 0;
  136|    144|        len = (uInt) fread(s->buffer + len, 1, Z_BUFSIZE >> len, s->file);
  ------------------
  |  |   56|    144|#define Z_BUFSIZE 16384
  ------------------
  137|    144|        if (len == 0 && ferror(s->file)) s->z_err = Z_ERRNO;
  ------------------
  |  Branch (137:13): [True: 72, False: 72]
  |  Branch (137:25): [True: 0, False: 72]
  ------------------
  138|    144|        s->stream.avail_in += len;
  139|    144|        s->stream.next_in = s->buffer;
  140|    144|        if (s->stream.avail_in < 2) {
  ------------------
  |  Branch (140:13): [True: 72, False: 72]
  ------------------
  141|     72|            s->transparent = s->stream.avail_in;
  142|     72|            return;
  143|     72|        }
  144|    144|    }
  145|       |
  146|       |    /* Peek ahead to check the gzip magic header */
  147|     72|    if (s->stream.next_in[0] != gz_magic[0] ||
  ------------------
  |  Branch (147:9): [True: 0, False: 72]
  ------------------
  148|     72|        s->stream.next_in[1] != gz_magic[1]) {
  ------------------
  |  Branch (148:9): [True: 0, False: 72]
  ------------------
  149|      0|        s->transparent = 1;
  150|      0|        return;
  151|      0|    }
  152|     72|    s->stream.avail_in -= 2;
  153|     72|    s->stream.next_in += 2;
  154|       |
  155|       |    /* Check the rest of the gzip header */
  156|     72|    method = get_byte(s);
  157|     72|    flags = get_byte(s);
  158|     72|    if (method != Z_DEFLATED || (flags & RESERVED) != 0) {
  ------------------
  |  |  120|     72|#define RESERVED     0xE0 /* bits 5..7: reserved */
  ------------------
  |  Branch (158:9): [True: 0, False: 72]
  |  Branch (158:33): [True: 0, False: 72]
  ------------------
  159|      0|        s->z_err = Z_DATA_ERROR;
  160|      0|        return;
  161|      0|    }
  162|       |
  163|       |    /* Discard time, xflags and OS code: */
  164|    504|    for (len = 0; len < 6; len++) (void)get_byte(s);
  ------------------
  |  Branch (164:19): [True: 432, False: 72]
  ------------------
  165|       |
  166|     72|    if ((flags & EXTRA_FIELD) != 0) { /* skip the extra field */
  ------------------
  |  |  117|     72|#define EXTRA_FIELD  0x04 /* bit 2 set: extra field present */
  ------------------
  |  Branch (166:9): [True: 0, False: 72]
  ------------------
  167|      0|        len  =  (uInt )get_byte(s);
  168|      0|        len += ((uInt) get_byte(s)) << 8;
  169|       |        /* len is garbage if EOF but the loop below will quit anyway */
  170|      0|        while (len-- != 0 && get_byte(s) != EOF) ;
  ------------------
  |  Branch (170:16): [True: 0, False: 0]
  |  Branch (170:30): [True: 0, False: 0]
  ------------------
  171|      0|    }
  172|     72|    if ((flags & ORIG_NAME) != 0) { /* skip the original file name */
  ------------------
  |  |  118|     72|#define ORIG_NAME    0x08 /* bit 3 set: original file name present */
  ------------------
  |  Branch (172:9): [True: 0, False: 72]
  ------------------
  173|      0|        while ((c = get_byte(s)) != 0 && c != EOF) ;
  ------------------
  |  Branch (173:16): [True: 0, False: 0]
  |  Branch (173:42): [True: 0, False: 0]
  ------------------
  174|      0|    }
  175|     72|    if ((flags & COMMENT) != 0) {   /* skip the .gz file comment */
  ------------------
  |  |  119|     72|#define COMMENT      0x10 /* bit 4 set: file comment present */
  ------------------
  |  Branch (175:9): [True: 0, False: 72]
  ------------------
  176|      0|        while ((c = get_byte(s)) != 0 && c != EOF) ;
  ------------------
  |  Branch (176:16): [True: 0, False: 0]
  |  Branch (176:42): [True: 0, False: 0]
  ------------------
  177|      0|    }
  178|     72|    if ((flags & HEAD_CRC) != 0) {  /* skip the header crc */
  ------------------
  |  |  116|     72|#define HEAD_CRC     0x02 /* bit 1 set: header CRC present */
  ------------------
  |  Branch (178:9): [True: 0, False: 72]
  ------------------
  179|      0|        for (len = 0; len < 2; len++) (void) get_byte(s);
  ------------------
  |  Branch (179:23): [True: 0, False: 0]
  ------------------
  180|      0|    }
  181|     72|    s->z_err = s->z_eof ? Z_DATA_ERROR : Z_OK;
  ------------------
  |  Branch (181:16): [True: 0, False: 72]
  ------------------
  182|     72|}
connections.c:get_byte:
   74|  1.15k|{
   75|  1.15k|    if (s->z_eof) return EOF;
  ------------------
  |  Branch (75:9): [True: 0, False: 1.15k]
  ------------------
   76|  1.15k|    if (s->stream.avail_in == 0) {
  ------------------
  |  Branch (76:9): [True: 0, False: 1.15k]
  ------------------
   77|      0|        errno = 0;
   78|      0|        s->stream.avail_in = (uInt) fread(s->buffer, 1, Z_BUFSIZE, s->file);
  ------------------
  |  |   56|      0|#define Z_BUFSIZE 16384
  ------------------
   79|      0|        if (s->stream.avail_in == 0) {
  ------------------
  |  Branch (79:13): [True: 0, False: 0]
  ------------------
   80|      0|            s->z_eof = 1;
   81|      0|            if (ferror(s->file)) s->z_err = Z_ERRNO;
  ------------------
  |  Branch (81:17): [True: 0, False: 0]
  ------------------
   82|      0|            return EOF;
   83|      0|        }
   84|      0|        s->stream.next_in = s->buffer;
   85|      0|    }
   86|  1.15k|    s->stream.avail_in--;
   87|  1.15k|    return *(s->stream.next_in)++;
   88|  1.15k|}
connections.c:R_gzread:
  281|  88.0k|{
  282|  88.0k|    gz_stream *s = (gz_stream*) file;
  283|  88.0k|    Bytef *start = (Bytef*) buf; /* starting point for crc computation */
  284|  88.0k|    Byte  *next_out; /* == stream.next_out but not forced far (for MSDOS) */
  285|       |
  286|  88.0k|    if (s == NULL || s->mode != 'r') return Z_STREAM_ERROR;
  ------------------
  |  Branch (286:9): [True: 0, False: 88.0k]
  |  Branch (286:22): [True: 0, False: 88.0k]
  ------------------
  287|       |
  288|  88.0k|    if (s->z_err == Z_DATA_ERROR) {
  ------------------
  |  Branch (288:9): [True: 0, False: 88.0k]
  ------------------
  289|      0|	warning("invalid or incomplete compressed data");
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
  290|      0|	return -1;
  291|  88.0k|    } else if(s->z_err == Z_ERRNO) {
  ------------------
  |  Branch (291:15): [True: 0, False: 88.0k]
  ------------------
  292|      0|	warning("error reading the file");
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
  293|      0|	return -1;
  294|      0|    }
  295|  88.0k|    if (s->z_err == Z_STREAM_END) return 0;  /* EOF */
  ------------------
  |  Branch (295:9): [True: 0, False: 88.0k]
  ------------------
  296|       |
  297|  88.0k|    next_out = (Byte*) buf;
  298|  88.0k|    s->stream.next_out = (Bytef*) buf;
  299|  88.0k|    s->stream.avail_out = len;
  300|       |
  301|   176k|    while (s->stream.avail_out != 0) {
  ------------------
  |  Branch (301:12): [True: 88.0k, False: 87.9k]
  ------------------
  302|       |
  303|  88.0k|        if (s->transparent) {
  ------------------
  |  Branch (303:13): [True: 0, False: 88.0k]
  ------------------
  304|       |            /* Copy first the lookahead bytes: */
  305|      0|            uInt n = s->stream.avail_in;
  306|      0|            if (n > s->stream.avail_out) n = s->stream.avail_out;
  ------------------
  |  Branch (306:17): [True: 0, False: 0]
  ------------------
  307|      0|            if (n > 0) {
  ------------------
  |  Branch (307:17): [True: 0, False: 0]
  ------------------
  308|      0|                memcpy(s->stream.next_out, s->stream.next_in, n);
  309|      0|                next_out += n;
  310|      0|                s->stream.next_out = next_out;
  311|      0|                s->stream.next_in   += n;
  312|      0|                s->stream.avail_out -= n;
  313|      0|                s->stream.avail_in  -= n;
  314|      0|            }
  315|      0|            if (s->stream.avail_out > 0) {
  ------------------
  |  Branch (315:17): [True: 0, False: 0]
  ------------------
  316|      0|                s->stream.avail_out -=
  317|      0|                    (uInt) fread(next_out, 1, s->stream.avail_out, s->file);
  318|      0|            }
  319|      0|            len -= s->stream.avail_out;
  320|      0|            s->in  += len;
  321|      0|            s->out += len;
  322|      0|            if (len == 0) s->z_eof = 1;
  ------------------
  |  Branch (322:17): [True: 0, False: 0]
  ------------------
  323|      0|            return (int)len;
  324|      0|        }
  325|  88.0k|        if (s->stream.avail_in == 0 && !s->z_eof) {
  ------------------
  |  Branch (325:13): [True: 0, False: 88.0k]
  |  Branch (325:40): [True: 0, False: 0]
  ------------------
  326|      0|            errno = 0;
  327|      0|            s->stream.avail_in = (uInt) fread(s->buffer, 1, Z_BUFSIZE, s->file);
  ------------------
  |  |   56|      0|#define Z_BUFSIZE 16384
  ------------------
  328|      0|            if (s->stream.avail_in == 0) {
  ------------------
  |  Branch (328:17): [True: 0, False: 0]
  ------------------
  329|      0|                s->z_eof = 1;
  330|      0|                if (ferror(s->file)) {
  ------------------
  |  Branch (330:21): [True: 0, False: 0]
  ------------------
  331|      0|                    s->z_err = Z_ERRNO;
  332|      0|                    break;
  333|      0|                }
  334|      0|            }
  335|      0|            s->stream.next_in = s->buffer;
  336|      0|        }
  337|  88.0k|        s->in += s->stream.avail_in;
  338|  88.0k|        s->out += s->stream.avail_out;
  339|  88.0k|        s->z_err = inflate(&(s->stream), Z_NO_FLUSH);
  340|  88.0k|        s->in -= s->stream.avail_in;
  341|  88.0k|        s->out -= s->stream.avail_out;
  342|       |
  343|  88.0k|        if (s->z_err == Z_STREAM_END) {
  ------------------
  |  Branch (343:13): [True: 72, False: 87.9k]
  ------------------
  344|       |            /* Check CRC and original size */
  345|     72|            s->crc = crc32(s->crc, start, (uInt) (s->stream.next_out - start));
  346|     72|            start = s->stream.next_out;
  347|       |
  348|     72|            if (getLong(s) != s->crc) {
  ------------------
  |  Branch (348:17): [True: 0, False: 72]
  ------------------
  349|      0|		warning("invalid or incomplete compressed data");
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
  350|      0|                s->z_err = Z_DATA_ERROR;
  351|     72|            } else {
  352|     72|                (void)getLong(s);
  353|       |                /* The uncompressed length returned by above getlong() may be
  354|       |                 * different from s->out in case of concatenated .gz files.
  355|       |                 * Check for such files:
  356|       |                 */
  357|     72|                check_header(s);
  358|     72|                if (s->z_err == Z_OK) {
  ------------------
  |  Branch (358:21): [True: 0, False: 72]
  ------------------
  359|      0|                    inflateReset(&(s->stream));
  360|      0|                    s->crc = crc32(0L, Z_NULL, 0);
  361|      0|                }
  362|     72|            }
  363|     72|        }
  364|  88.0k|        if (s->z_err != Z_OK || s->z_eof) break;
  ------------------
  |  Branch (364:13): [True: 72, False: 87.9k]
  |  Branch (364:33): [True: 0, False: 87.9k]
  ------------------
  365|  88.0k|    }
  366|  88.0k|    s->crc = crc32(s->crc, start, (uInt) (s->stream.next_out - start));
  367|       |
  368|  88.0k|    if (len == s->stream.avail_out &&
  ------------------
  |  Branch (368:9): [True: 24, False: 88.0k]
  ------------------
  369|     24|        (s->z_err == Z_DATA_ERROR || s->z_err == Z_ERRNO)) {
  ------------------
  |  Branch (369:10): [True: 0, False: 24]
  |  Branch (369:38): [True: 0, False: 24]
  ------------------
  370|      0|	if(s->z_err == Z_DATA_ERROR)
  ------------------
  |  Branch (370:5): [True: 0, False: 0]
  ------------------
  371|      0|	    warning("invalid or incomplete compressed data");
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
  372|      0|	else if(s->z_err == Z_ERRNO)
  ------------------
  |  Branch (372:10): [True: 0, False: 0]
  ------------------
  373|      0|	    warning("error reading the file");
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
  374|      0|	return -1;
  375|      0|    }
  376|  88.0k|    return (int)(len - s->stream.avail_out);
  377|  88.0k|}
connections.c:getLong:
  268|    144|{
  269|    144|    uLong x = (uLong) get_byte(s);
  270|    144|    int c;
  271|       |
  272|    144|    x += ((uLong) get_byte(s)) << 8;
  273|    144|    x += ((uLong) get_byte(s)) << 16;
  274|    144|    c = get_byte(s);
  275|    144|    if (c == EOF) s->z_err = Z_DATA_ERROR;
  ------------------
  |  Branch (275:9): [True: 0, False: 144]
  ------------------
  276|    144|    x += ((uLong) c) << 24;
  277|    144|    return x;
  278|    144|}

do_identical:
   51|  3.50k|{
   52|  3.50k|    int nargs = length(args);
  ------------------
  |  |  987|  3.50k|#define length(x)		Rf_length(x)
  ------------------
   53|       |    /* avoid problems with earlier (and future) versions captured in S4
   54|       |       methods: but this should be fixed where it is caused, in
   55|       |       'methods'!
   56|       |
   57|       |       checkArity(op, args); */
   58|  3.50k|    if (nargs < 5)
  ------------------
  |  Branch (58:9): [True: 0, False: 3.50k]
  ------------------
   59|      0|	error("%d arguments passed to .Internal(%s) which requires %d",
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
   60|      0|	      length(args), PRIMNAME(op), PRIMARITY(op));
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
              	      length(args), PRIMNAME(op), PRIMARITY(op));
  ------------------
  |  | 1346|      0|#define PRIMNAME(x)	(R_FunTab[PRIMOFFSET(x)].name)
  ------------------
              	      length(args), PRIMNAME(op), PRIMARITY(op));
  ------------------
  |  | 1348|      0|#define PRIMARITY(x)	(R_FunTab[PRIMOFFSET(x)].arity)
  ------------------
   61|       |
   62|  3.50k|    SEXP x = CAR(args); args = CDR(args);
   63|  3.50k|    SEXP y = CAR(args); args = CDR(args);
   64|       |
   65|  3.50k|    int num_as_bits = ! asFlag(CAR(args), "num.eq"); args = CDR(args);
   66|  3.50k|    int NA_as_bits = ! asFlag(CAR(args), "single.NA"); args = CDR(args);
   67|  3.50k|    int attr_by_order = ! asFlag(CAR(args), "attrib.as.set"); args = CDR(args);
   68|       |
   69|  3.50k|    int use_bytecode = FALSE;
   70|  3.50k|    if (nargs >= 6)
  ------------------
  |  Branch (70:9): [True: 3.50k, False: 0]
  ------------------
   71|  3.50k|	use_bytecode = ! asFlag(CAR(args), "ignore.bytecode");
   72|       |
   73|  3.50k|    int use_cloenv = TRUE;
   74|  3.50k|    if (nargs >= 7)
  ------------------
  |  Branch (74:9): [True: 3.50k, False: 0]
  ------------------
   75|  3.50k|	use_cloenv = ! asFlag(CADR(args), "ignore.environment");
   76|       |
   77|  3.50k|    int use_srcref = FALSE;
   78|  3.50k|    if (nargs >= 8)
  ------------------
  |  Branch (78:9): [True: 3.50k, False: 0]
  ------------------
   79|  3.50k|	use_srcref = ! asFlag(CADDR(args), "ignore.srcref");
   80|       |
   81|  3.50k|    int extptr_as_ref = FALSE;
   82|  3.50k|    if (nargs >= 9)
  ------------------
  |  Branch (82:9): [True: 3.50k, False: 0]
  ------------------
   83|  3.50k|	extptr_as_ref = asFlag(CADDDR(args), "extptr.as.ref");
   84|       |
   85|  3.50k|    int flags = 0;
   86|  3.50k|    if (num_as_bits) flags |= IDENT_NUM_AS_BITS;
  ------------------
  |  |  840|      0|#define IDENT_NUM_AS_BITS      1
  ------------------
  |  Branch (86:9): [True: 0, False: 3.50k]
  ------------------
   87|  3.50k|    if (NA_as_bits) flags |= IDENT_NA_AS_BITS;
  ------------------
  |  |  841|      0|#define IDENT_NA_AS_BITS       2
  ------------------
  |  Branch (87:9): [True: 0, False: 3.50k]
  ------------------
   88|  3.50k|    if (attr_by_order) flags |= IDENT_ATTR_BY_ORDER;
  ------------------
  |  |  842|      0|#define IDENT_ATTR_BY_ORDER    4
  ------------------
  |  Branch (88:9): [True: 0, False: 3.50k]
  ------------------
   89|  3.50k|    if (use_bytecode) flags |= IDENT_USE_BYTECODE;
  ------------------
  |  |  843|      0|#define IDENT_USE_BYTECODE     8
  ------------------
  |  Branch (89:9): [True: 0, False: 3.50k]
  ------------------
   90|  3.50k|    if (use_cloenv) flags |= IDENT_USE_CLOENV;
  ------------------
  |  |  844|  3.50k|#define IDENT_USE_CLOENV      16
  ------------------
  |  Branch (90:9): [True: 3.50k, False: 0]
  ------------------
   91|  3.50k|    if (use_srcref) flags |= IDENT_USE_SRCREF;
  ------------------
  |  |  845|      0|#define IDENT_USE_SRCREF      32
  ------------------
  |  Branch (91:9): [True: 0, False: 3.50k]
  ------------------
   92|  3.50k|    if (extptr_as_ref) flags |= IDENT_EXTPTR_AS_REF;
  ------------------
  |  |  846|      0|#define IDENT_EXTPTR_AS_REF   64
  ------------------
  |  Branch (92:9): [True: 0, False: 3.50k]
  ------------------
   93|       |
   94|  3.50k|    return ScalarLogical(R_compute_identical(x, y, flags));
  ------------------
  |  | 1023|  3.50k|#define ScalarLogical		Rf_ScalarLogical
  ------------------
   95|  3.50k|}
R_compute_identical:
  109|  34.0k|{
  110|  34.0k|    if(x == y) /* same pointer */
  ------------------
  |  Branch (110:8): [True: 2.28k, False: 31.8k]
  ------------------
  111|  2.28k|	return TRUE;
  112|  31.8k|    if(TYPEOF(x) != TYPEOF(y) ||
  ------------------
  |  Branch (112:8): [True: 15.9k, False: 15.8k]
  ------------------
  113|  15.8k|       OBJECT(x) != OBJECT(y) ||
  ------------------
  |  Branch (113:8): [True: 28, False: 15.8k]
  ------------------
  114|  15.8k|       IS_S4_OBJECT(x) != IS_S4_OBJECT(y))
  ------------------
  |  Branch (114:8): [True: 0, False: 15.8k]
  ------------------
  115|  15.9k|	return FALSE;
  116|       |
  117|       |    /* Skip attribute checks for CHARSXP
  118|       |       -- such attributes are used for the cache.  */
  119|  15.8k|    if(TYPEOF(x) == CHARSXP) {
  ------------------
  |  |  120|  15.8k|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  ------------------
  |  Branch (119:8): [True: 0, False: 15.8k]
  ------------------
  120|       |	/* This matches NAs */
  121|      0|	return Seql(x, y) == 1;
  ------------------
  |  | 1988|      0|# define Seql			Rf_Seql
  ------------------
  122|      0|    }
  123|  15.8k|    SEXP ax, ay;
  124|  15.8k|    if (IGNORE_SRCREF && TYPEOF(x) == CLOSXP) {
  ------------------
  |  |  102|  31.6k|#define IGNORE_SRCREF   (!(flags & IDENT_USE_SRCREF))
  |  |  ------------------
  |  |  |  |  845|  15.8k|#define IDENT_USE_SRCREF      32
  |  |  ------------------
  |  |  |  Branch (102:25): [True: 15.8k, False: 0]
  |  |  ------------------
  ------------------
                  if (IGNORE_SRCREF && TYPEOF(x) == CLOSXP) {
  ------------------
  |  |  114|  15.8k|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (124:26): [True: 0, False: 15.8k]
  ------------------
  125|       |	/* Remove "srcref" attribute - and below, treat body(x), body(y) */
  126|      0|	SEXP x_ = PROTECT(duplicate(x)), y_ = PROTECT(duplicate(y));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
              	SEXP x_ = PROTECT(duplicate(x)), y_ = PROTECT(duplicate(y));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  127|      0|	setAttrib(x_, R_SrcrefSymbol, R_NilValue);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  128|      0|	setAttrib(y_, R_SrcrefSymbol, R_NilValue);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  129|      0|	ax = ATTRIB(x_); ay = ATTRIB(y_);
  130|      0|	UNPROTECT(2);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  131|      0|    }
  132|  15.8k|    else {
  133|  15.8k|	ax = ATTRIB(x); ay = ATTRIB(y);
  134|  15.8k|    }
  135|       |
  136|  15.8k|    if(ax != R_NilValue || ay != R_NilValue) {
  ------------------
  |  Branch (136:8): [True: 56, False: 15.7k]
  |  Branch (136:28): [True: 0, False: 15.7k]
  ------------------
  137|     56|	if(ax == R_NilValue || ay == R_NilValue)
  ------------------
  |  Branch (137:5): [True: 0, False: 56]
  |  Branch (137:25): [True: 14, False: 42]
  ------------------
  138|     14|	    return FALSE;
  139|       |	/* Attributes are tagged pairlists with unique non-empty non-NA tags.
  140|       |	   This code still includes a check and if they are not pairlists,
  141|       |	   they are not compared, with a warning (could be turned into an error
  142|       |	   or removed). */
  143|     42|	if(TYPEOF(ax) != LISTSXP || TYPEOF(ay) != LISTSXP) {
  ------------------
  |  |  113|     84|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
              	if(TYPEOF(ax) != LISTSXP || TYPEOF(ay) != LISTSXP) {
  ------------------
  |  |  113|     42|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (143:5): [True: 0, False: 42]
  |  Branch (143:30): [True: 0, False: 42]
  ------------------
  144|      0|	    warning(_("ignoring non-pairlist attributes"));
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	    warning(_("ignoring non-pairlist attributes"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  145|     42|	} else if (!ATTR_AS_SET) {
  ------------------
  |  |   99|     42|#define ATTR_AS_SET     (!(flags & IDENT_ATTR_BY_ORDER))
  |  |  ------------------
  |  |  |  |  842|     42|#define IDENT_ATTR_BY_ORDER    4
  |  |  ------------------
  ------------------
  |  Branch (145:13): [True: 0, False: 42]
  ------------------
  146|       |	    /* ax, ay might be fresh allocations from duplicating into
  147|       |	       x_, y_) above, so need to be protected from possible
  148|       |	       allocations in getAttrib and recursive calls to
  149|       |	       R_compute_identical in the loop. */
  150|      0|	    PROTECT(ax);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  151|      0|	    PROTECT(ay);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  152|      0|	    while (ax != R_NilValue) {
  ------------------
  |  Branch (152:13): [True: 0, False: 0]
  ------------------
  153|      0|		if (ay == R_NilValue) {
  ------------------
  |  Branch (153:7): [True: 0, False: 0]
  ------------------
  154|      0|		    UNPROTECT(2); /* ax, ay */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  155|      0|		    return FALSE;
  156|      0|		}
  157|       |		/* Need to check for R_RowNamesSymbol and treat specially */
  158|      0|		if (TAG(ax) == R_RowNamesSymbol) {
  ------------------
  |  Branch (158:7): [True: 0, False: 0]
  ------------------
  159|      0|		    SEXP atrx = PROTECT(getAttrib(x, R_RowNamesSymbol));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  160|      0|		    SEXP atry = PROTECT(getAttrib(y, R_RowNamesSymbol));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  161|      0|		    if (!R_compute_identical(atrx, atry, flags)) {
  ------------------
  |  Branch (161:11): [True: 0, False: 0]
  ------------------
  162|      0|			UNPROTECT(4); /* atrx, atry, ax, ay */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  163|      0|			return FALSE;
  164|      0|		    } 
  165|      0|		    UNPROTECT(2); /* atrx, atry */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  166|      0|		} else if (!R_compute_identical(CAR(ax), CAR(ay), flags)) {	  
  ------------------
  |  Branch (166:14): [True: 0, False: 0]
  ------------------
  167|      0|		    UNPROTECT(2); /* ax, ay */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  168|      0|		    return FALSE;
  169|      0|		}
  170|      0|		if (!R_compute_identical(PRINTNAME(TAG(ax)),
  ------------------
  |  Branch (170:7): [True: 0, False: 0]
  ------------------
  171|      0|					 PRINTNAME(TAG(ay)), flags)) {
  172|      0|		    UNPROTECT(2); /* ax, ay */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  173|      0|		    return FALSE;
  174|      0|		}
  175|      0|		ax = CDR(ax);
  176|      0|		ay = CDR(ay);
  177|      0|	    }
  178|      0|	    UNPROTECT(2); /* ax, ay */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  179|      0|	    if (ay != R_NilValue)
  ------------------
  |  Branch (179:10): [True: 0, False: 0]
  ------------------
  180|      0|		return FALSE;
  181|     42|	} else /* ATTR_AS_SET */ {
  182|       |	    /* This code is not very efficient, but then neither is using
  183|       |	       pairlists for attributes.  If long attribute lists become more
  184|       |	       common (and they are used for S4 slots) we should store them in
  185|       |	       a hash table. */
  186|     42|	    SEXP elx, ely;
  187|     42|	    if(length(ax) != length(ay)) return FALSE;
  ------------------
  |  |  987|     42|#define length(x)		Rf_length(x)
  ------------------
              	    if(length(ax) != length(ay)) return FALSE;
  ------------------
  |  |  987|     42|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (187:9): [True: 12, False: 30]
  ------------------
  188|       |	    /* They are the same length and should have
  189|       |	       unique non-empty non-NA tags */
  190|       |	    /* ax, ay might be fresh allocations from duplicating into
  191|       |	       x_, y_) above, so need to be protected from possible
  192|       |	       allocations in getAttrib and recursive calls to
  193|       |	       R_compute_identical in the loop. */
  194|     30|	    PROTECT(ax);
  ------------------
  |  |  357|     30|#define PROTECT(s)	Rf_protect(s)
  ------------------
  195|     30|	    PROTECT(ay);
  ------------------
  |  |  357|     30|#define PROTECT(s)	Rf_protect(s)
  ------------------
  196|     60|	    for(elx = ax; elx != R_NilValue; elx = CDR(elx)) {
  ------------------
  |  Branch (196:20): [True: 30, False: 30]
  ------------------
  197|     30|		const char *tx = CHAR(PRINTNAME(TAG(elx)));
  ------------------
  |  |  203|     30|#define CHAR(x) R_CHAR(x)
  ------------------
  198|     30|		for(ely = ay; ely != R_NilValue; ely = CDR(ely))
  ------------------
  |  Branch (198:17): [True: 30, False: 0]
  ------------------
  199|     30|		    if(streql(tx, CHAR(PRINTNAME(TAG(ely))))) {
  ------------------
  |  | 1498|     30|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 30, False: 0]
  |  |  ------------------
  ------------------
  200|       |			/* We need to treat row.names specially here */
  201|     30|			if(streql(tx, "row.names")) {
  ------------------
  |  | 1498|     30|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 30]
  |  |  ------------------
  ------------------
  202|      0|			    SEXP
  203|      0|				atrx = PROTECT(getAttrib(x, R_RowNamesSymbol)),
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  204|      0|				atry = PROTECT(getAttrib(y, R_RowNamesSymbol));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  205|      0|			    if(!R_compute_identical(atrx, atry, flags)) {
  ------------------
  |  Branch (205:11): [True: 0, False: 0]
  ------------------
  206|      0|				UNPROTECT(4); /* atrx, atry, ax, ay */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  207|      0|				return FALSE;
  208|      0|			    } else
  209|      0|				UNPROTECT(2); /* atrx, atry */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  210|      0|			} else
  211|     30|			    if(!R_compute_identical(CAR(elx), CAR(ely),
  ------------------
  |  Branch (211:11): [True: 0, False: 30]
  ------------------
  212|     30|						    flags)) {
  213|      0|				UNPROTECT(2); /* ax, ay */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  214|      0|				return FALSE;
  215|      0|			    }
  216|     30|			break;
  217|     30|		    }
  218|     30|		if(ely == R_NilValue) {
  ------------------
  |  Branch (218:6): [True: 0, False: 30]
  ------------------
  219|      0|		    UNPROTECT(2); /* ax, ay */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  220|      0|		    return FALSE;
  221|      0|		}
  222|     30|	    }
  223|     30|	    UNPROTECT(2); /* ax, ay */
  ------------------
  |  |  358|     30|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  224|     30|	}
  225|     42|    }
  226|       |
  227|  15.8k|    switch (TYPEOF(x)) {
  228|      0|    case NILSXP:
  ------------------
  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (228:5): [True: 0, False: 15.8k]
  ------------------
  229|      0|	return TRUE;
  230|      0|    case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (230:5): [True: 0, False: 15.8k]
  ------------------
  231|      0|	if (XLENGTH(x) != XLENGTH(y)) return FALSE;
  ------------------
  |  Branch (231:6): [True: 0, False: 0]
  ------------------
  232|       |	/* Use memcmp (which is ISO C90) to speed up the comparison */
  233|      0|	return memcmp((const void *)LOGICAL_RO(x), (const void *)LOGICAL_RO(y),
  ------------------
  |  Branch (233:9): [True: 0, False: 0]
  ------------------
  234|      0|		      xlength(x) * sizeof(int)) == 0 ? TRUE : FALSE;
  ------------------
  |  | 1049|      0|#define xlength(x)		Rf_xlength(x)
  ------------------
  235|    369|    case INTSXP:
  ------------------
  |  |  123|    369|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (235:5): [True: 369, False: 15.4k]
  ------------------
  236|    369|	if (XLENGTH(x) != XLENGTH(y)) return FALSE;
  ------------------
  |  Branch (236:6): [True: 237, False: 132]
  ------------------
  237|       |	/* Use memcmp (which is ISO C90) to speed up the comparison */
  238|    132|	return memcmp((const void *)INTEGER_RO(x), (const void *)INTEGER_RO(y),
  ------------------
  |  Branch (238:9): [True: 117, False: 15]
  ------------------
  239|    132|		      xlength(x) * sizeof(int)) == 0 ? TRUE : FALSE;
  ------------------
  |  | 1049|    132|#define xlength(x)		Rf_xlength(x)
  ------------------
  240|     40|    case REALSXP:
  ------------------
  |  |  124|     40|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (240:5): [True: 40, False: 15.7k]
  ------------------
  241|     40|    {
  242|     40|	R_xlen_t n = XLENGTH(x);
  243|     40|	if(n != XLENGTH(y)) return FALSE;
  ------------------
  |  Branch (243:5): [True: 0, False: 40]
  ------------------
  244|     40|	else {
  245|     40|	    const double *xp = REAL_RO(x), *yp = REAL_RO(y);
  246|     40|	    int ne_strict = NUM_EQ | (SINGLE_NA << 1);
  ------------------
  |  |   97|     40|#define NUM_EQ		(!(flags & IDENT_NUM_AS_BITS))
  |  |  ------------------
  |  |  |  |  840|     40|#define IDENT_NUM_AS_BITS      1
  |  |  ------------------
  ------------------
              	    int ne_strict = NUM_EQ | (SINGLE_NA << 1);
  ------------------
  |  |   98|     40|#define SINGLE_NA       (!(flags & IDENT_NA_AS_BITS))
  |  |  ------------------
  |  |  |  |  841|     40|#define IDENT_NA_AS_BITS       2
  |  |  ------------------
  ------------------
  247|     70|	    for(R_xlen_t i = 0; i < n; i++)
  ------------------
  |  Branch (247:26): [True: 40, False: 30]
  ------------------
  248|     40|		if(neWithNaN(xp[i], yp[i], ne_strict)) return FALSE;
  ------------------
  |  Branch (248:6): [True: 10, False: 30]
  ------------------
  249|     40|	}
  250|     30|	return TRUE;
  251|     40|    }
  252|      0|    case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (252:5): [True: 0, False: 15.8k]
  ------------------
  253|      0|    {
  254|      0|	R_xlen_t n = XLENGTH(x);
  255|      0|	if(n != XLENGTH(y)) return FALSE;
  ------------------
  |  Branch (255:5): [True: 0, False: 0]
  ------------------
  256|      0|	else {
  257|      0|	    const Rcomplex *xp = COMPLEX_RO(x), *yp = COMPLEX_RO(y);
  258|      0|	    int ne_strict = NUM_EQ | (SINGLE_NA << 1);
  ------------------
  |  |   97|      0|#define NUM_EQ		(!(flags & IDENT_NUM_AS_BITS))
  |  |  ------------------
  |  |  |  |  840|      0|#define IDENT_NUM_AS_BITS      1
  |  |  ------------------
  ------------------
              	    int ne_strict = NUM_EQ | (SINGLE_NA << 1);
  ------------------
  |  |   98|      0|#define SINGLE_NA       (!(flags & IDENT_NA_AS_BITS))
  |  |  ------------------
  |  |  |  |  841|      0|#define IDENT_NA_AS_BITS       2
  |  |  ------------------
  ------------------
  259|      0|	    for(R_xlen_t i = 0; i < n; i++)
  ------------------
  |  Branch (259:26): [True: 0, False: 0]
  ------------------
  260|      0|		if(neWithNaN(xp[i].r, yp[i].r, ne_strict) ||
  ------------------
  |  Branch (260:6): [True: 0, False: 0]
  ------------------
  261|      0|		   neWithNaN(xp[i].i, yp[i].i, ne_strict))
  ------------------
  |  Branch (261:6): [True: 0, False: 0]
  ------------------
  262|      0|		    return FALSE;
  263|      0|	}
  264|      0|	return TRUE;
  265|      0|    }
  266|  1.91k|    case STRSXP:
  ------------------
  |  |  126|  1.91k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (266:5): [True: 1.91k, False: 13.9k]
  ------------------
  267|  1.91k|    {
  268|  1.91k|	R_xlen_t i, n = XLENGTH(x);
  269|  1.91k|	if(n != XLENGTH(y)) return FALSE;
  ------------------
  |  Branch (269:5): [True: 1.36k, False: 546]
  ------------------
  270|  1.57k|	for(i = 0; i < n; i++) {
  ------------------
  |  Branch (270:13): [True: 1.04k, False: 533]
  ------------------
  271|       |	    /* This special-casing for NAs is not needed */
  272|  1.04k|	    bool na1 = (STRING_ELT(x, i) == NA_STRING),
  ------------------
  |  |  433|  1.04k|#define NA_STRING	R_NaString
  ------------------
  273|  1.04k|		na2 = (STRING_ELT(y, i) == NA_STRING);
  ------------------
  |  |  433|  1.04k|#define NA_STRING	R_NaString
  ------------------
  274|  1.04k|	    if(na1 ^ na2) return FALSE;
  ------------------
  |  Branch (274:9): [True: 4, False: 1.03k]
  ------------------
  275|  1.03k|	    if(na1 && na2) continue;
  ------------------
  |  Branch (275:9): [True: 0, False: 1.03k]
  |  Branch (275:16): [True: 0, False: 0]
  ------------------
  276|  1.03k|	    if (! Seql(STRING_ELT(x, i), STRING_ELT(y, i))) return FALSE;
  ------------------
  |  | 1988|  1.03k|# define Seql			Rf_Seql
  ------------------
  |  Branch (276:10): [True: 9, False: 1.03k]
  ------------------
  277|  1.03k|	}
  278|    533|	return TRUE;
  279|    546|    }
  280|      0|    case CHARSXP: /* Probably unreachable, but better safe than sorry... */
  ------------------
  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  ------------------
  |  Branch (280:5): [True: 0, False: 15.8k]
  ------------------
  281|      0|    {
  282|       |	/* This matches NAs */
  283|      0|	return Seql(x, y) == 1;
  ------------------
  |  | 1988|      0|# define Seql			Rf_Seql
  ------------------
  284|    546|    }
  285|     83|    case VECSXP:
  ------------------
  |  |  131|     83|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (285:5): [True: 83, False: 15.7k]
  ------------------
  286|     83|    case EXPRSXP:
  ------------------
  |  |  132|     83|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (286:5): [True: 0, False: 15.8k]
  ------------------
  287|     83|    {
  288|     83|	R_xlen_t i, n = XLENGTH(x);
  289|     83|	if(n != XLENGTH(y)) return FALSE;
  ------------------
  |  Branch (289:5): [True: 0, False: 83]
  ------------------
  290|    197|	for(i = 0; i < n; i++)
  ------------------
  |  Branch (290:13): [True: 167, False: 30]
  ------------------
  291|    167|	    if(!R_compute_identical(VECTOR_ELT(x, i),VECTOR_ELT(y, i), flags))
  ------------------
  |  Branch (291:9): [True: 53, False: 114]
  ------------------
  292|     53|		return FALSE;
  293|     30|	return TRUE;
  294|     83|    }
  295|  5.86k|    case LANGSXP:
  ------------------
  |  |  117|  5.86k|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (295:5): [True: 5.86k, False: 9.95k]
  ------------------
  296|  5.86k|    case LISTSXP:
  ------------------
  |  |  113|  5.86k|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (296:5): [True: 0, False: 15.8k]
  ------------------
  297|  5.86k|    case DOTSXP:
  ------------------
  |  |  127|  5.86k|#define DOTSXP	    17	  /* dot-dot-dot object */
  ------------------
  |  Branch (297:5): [True: 0, False: 15.8k]
  ------------------
  298|  5.86k|    {
  299|  6.09k|	while (x != R_NilValue) {
  ------------------
  |  Branch (299:9): [True: 6.07k, False: 20]
  ------------------
  300|  6.07k|	    if(y == R_NilValue)
  ------------------
  |  Branch (300:9): [True: 0, False: 6.07k]
  ------------------
  301|      0|		return FALSE;
  302|  6.07k|	    if(!R_compute_identical(CAR(x), CAR(y), flags))
  ------------------
  |  Branch (302:9): [True: 5.84k, False: 232]
  ------------------
  303|  5.84k|		return FALSE;
  304|    232|	    if(!R_compute_identical(PRINTNAME(TAG(x)), PRINTNAME(TAG(y)), flags))
  ------------------
  |  Branch (304:9): [True: 0, False: 232]
  ------------------
  305|      0|		return FALSE;
  306|    232|	    x = CDR(x);
  307|    232|	    y = CDR(y);
  308|    232|	}
  309|     20|	return(y == R_NilValue);
  310|  5.86k|    }
  311|      0|    case CLOSXP:
  ------------------
  |  |  114|      0|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (311:5): [True: 0, False: 15.8k]
  ------------------
  312|      0|    {
  313|      0|	if(!R_compute_identical(FORMALS(x), FORMALS(y), flags)) return FALSE;
  ------------------
  |  Branch (313:5): [True: 0, False: 0]
  ------------------
  314|      0|	if(IGNORE_BYTECODE) {
  ------------------
  |  |  100|      0|#define IGNORE_BYTECODE (!(flags & IDENT_USE_BYTECODE))
  |  |  ------------------
  |  |  |  |  843|      0|#define IDENT_USE_BYTECODE     8
  |  |  ------------------
  |  |  |  Branch (100:25): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  315|      0|	    if(IGNORE_SRCREF) {
  ------------------
  |  |  102|      0|#define IGNORE_SRCREF   (!(flags & IDENT_USE_SRCREF))
  |  |  ------------------
  |  |  |  |  845|      0|#define IDENT_USE_SRCREF      32
  |  |  ------------------
  |  |  |  Branch (102:25): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  316|      0|		SEXP x_ = PROTECT(R_body_no_src(x)),
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  317|      0|		     y_ = PROTECT(R_body_no_src(y));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  318|      0|		Rboolean id_body = R_compute_identical(x_, y_, flags);
  319|      0|		UNPROTECT(2);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  320|      0|		if(!id_body) return FALSE;
  ------------------
  |  Branch (320:6): [True: 0, False: 0]
  ------------------
  321|      0|	    } else if(!R_compute_identical(BODY_EXPR(x), BODY_EXPR(y), flags))
  ------------------
  |  | 1220|      0|#define BODY_EXPR(e) R_ClosureExpr(e)
  ------------------
              	    } else if(!R_compute_identical(BODY_EXPR(x), BODY_EXPR(y), flags))
  ------------------
  |  | 1220|      0|#define BODY_EXPR(e) R_ClosureExpr(e)
  ------------------
  |  Branch (321:16): [True: 0, False: 0]
  ------------------
  322|      0|		return FALSE;
  323|      0|	} else { // !IGNORE_BYTECODE: use byte code for comparison of function bodies :
  324|      0|	    if(!R_compute_identical(BODY(x), BODY(y), flags)) return FALSE;
  ------------------
  |  Branch (324:9): [True: 0, False: 0]
  ------------------
  325|      0|	}
  326|       |	// now, formals and body are equal, check the environment(.)s:
  327|      0|	return (IGNORE_ENV || CLOENV(x) == CLOENV(y) ? TRUE : FALSE);
  ------------------
  |  |  101|      0|#define IGNORE_ENV      (!(flags & IDENT_USE_CLOENV))
  |  |  ------------------
  |  |  |  |  844|      0|#define IDENT_USE_CLOENV      16
  |  |  ------------------
  |  |  |  Branch (101:25): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (327:24): [True: 0, False: 0]
  ------------------
  328|      0|    }
  329|      0|    case SPECIALSXP:
  ------------------
  |  |  118|      0|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (329:5): [True: 0, False: 15.8k]
  ------------------
  330|      0|    case BUILTINSXP:
  ------------------
  |  |  119|      0|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (330:5): [True: 0, False: 15.8k]
  ------------------
  331|      0|	return(PRIMOFFSET(x) == PRIMOFFSET(y) ? TRUE : FALSE);
  ------------------
  |  Branch (331:9): [True: 0, False: 0]
  ------------------
  332|    266|    case ENVSXP:
  ------------------
  |  |  115|    266|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (332:5): [True: 266, False: 15.5k]
  ------------------
  333|  7.21k|    case SYMSXP:
  ------------------
  |  |  112|  7.21k|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (333:5): [True: 6.95k, False: 8.86k]
  ------------------
  334|  7.21k|    case WEAKREFSXP: /**** is this the best approach? */
  ------------------
  |  |  135|  7.21k|#define WEAKREFSXP  23    /* weak reference */
  ------------------
  |  Branch (334:5): [True: 0, False: 15.8k]
  ------------------
  335|  7.21k|	return(x == y ? TRUE : FALSE);
  ------------------
  |  Branch (335:9): [True: 0, False: 7.21k]
  ------------------
  336|    328|    case BCODESXP:
  ------------------
  |  |  133|    328|#define BCODESXP    21    /* byte code */
  ------------------
  |  Branch (336:5): [True: 328, False: 15.4k]
  ------------------
  337|    328|	return R_compute_identical(BCODE_CODE(x), BCODE_CODE(y), flags) &&
  ------------------
  |  |  735|    328|#define BCODE_CODE(x)	CAR(x)
  ------------------
              	return R_compute_identical(BCODE_CODE(x), BCODE_CODE(y), flags) &&
  ------------------
  |  |  735|    328|#define BCODE_CODE(x)	CAR(x)
  ------------------
  |  Branch (337:9): [True: 83, False: 245]
  ------------------
  338|     83|	       R_compute_identical(BCODE_EXPR(x), BCODE_EXPR(y), flags) &&
  ------------------
  |  |  738|     83|#define BCODE_EXPR(x)	TAG(x)
  ------------------
              	       R_compute_identical(BCODE_EXPR(x), BCODE_EXPR(y), flags) &&
  ------------------
  |  |  738|     83|#define BCODE_EXPR(x)	TAG(x)
  ------------------
  |  Branch (338:9): [True: 83, False: 0]
  ------------------
  339|     83|	       R_compute_identical(BCODE_CONSTS(x), BCODE_CONSTS(y), flags);
  ------------------
  |  |  737|     83|#define BCODE_CONSTS(x) CDR(x)
  ------------------
              	       R_compute_identical(BCODE_CONSTS(x), BCODE_CONSTS(y), flags);
  ------------------
  |  |  737|     83|#define BCODE_CONSTS(x) CDR(x)
  ------------------
  |  Branch (339:9): [True: 30, False: 53]
  ------------------
  340|      0|    case EXTPTRSXP:
  ------------------
  |  |  134|      0|#define EXTPTRSXP   22    /* external pointer */
  ------------------
  |  Branch (340:5): [True: 0, False: 15.8k]
  ------------------
  341|      0|	if (EXTPTR_AS_REF)
  ------------------
  |  |  103|      0|#define EXTPTR_AS_REF   (flags & IDENT_EXTPTR_AS_REF)
  |  |  ------------------
  |  |  |  |  846|      0|#define IDENT_EXTPTR_AS_REF   64
  |  |  ------------------
  |  |  |  Branch (103:25): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  342|      0|	    return x == y ? TRUE : FALSE;
  ------------------
  |  Branch (342:13): [True: 0, False: 0]
  ------------------
  343|      0|	else
  344|      0|	    return (EXTPTR_PTR(x) == EXTPTR_PTR(y) ? TRUE : FALSE);
  ------------------
  |  Branch (344:14): [True: 0, False: 0]
  ------------------
  345|      0|    case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (345:5): [True: 0, False: 15.8k]
  ------------------
  346|      0|	if (XLENGTH(x) != XLENGTH(y)) return FALSE;
  ------------------
  |  Branch (346:6): [True: 0, False: 0]
  ------------------
  347|       |	/* Use memcmp (which is ISO C90) to speed up the comparison */
  348|      0|	return memcmp((const void *)RAW_RO(x), (const void *)RAW_RO(y),
  ------------------
  |  Branch (348:9): [True: 0, False: 0]
  ------------------
  349|      0|		      XLENGTH(x) * sizeof(Rbyte)) == 0 ? TRUE : FALSE;
  350|      0|    case PROMSXP:
  ------------------
  |  |  116|      0|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (350:5): [True: 0, False: 15.8k]
  ------------------
  351|      0|    {
  352|       |	// args are evaluated -- but can be seen from DOTSXP dissection
  353|       |	/* test for equality of the substituted expression -- or should
  354|       |	   we require both expression and environment to be identical? */
  355|      0|	SEXP sy = PROTECT(substitute(PREXPR(y), PRENV(y)));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  356|      0|	SEXP sx = PROTECT(substitute(PREXPR(x), PRENV(x)));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  357|      0|	Rboolean ans = R_compute_identical(sx, sy, flags);
  358|      0|	UNPROTECT(2); /* sx, sy */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  359|      0|	return ans;
  360|      0|    }
  361|      0|    case OBJSXP:
  ------------------
  |  |  137|      0|#define OBJSXP      25    /* object, non-vector  */
  ------------------
  |  Branch (361:5): [True: 0, False: 15.8k]
  ------------------
  362|       |	/* attributes already tested, so all slots identical */
  363|      0|	return TRUE;
  364|      0|    default:
  ------------------
  |  Branch (364:5): [True: 0, False: 15.8k]
  ------------------
  365|       |	/* these are all supposed to be types that represent constant
  366|       |	   entities, so no further testing required ?? */
  367|      0|	printf("Unknown Type in identical(): %s (%x)\n", R_typeToChar(x), TYPEOF(x));
  368|      0|	return TRUE;
  369|  15.8k|    }
  370|  15.8k|}
identical.c:asFlag:
   42|  24.5k|{
   43|  24.5k|    int val = asLogical(x);
  ------------------
  |  |  886|  24.5k|#define asLogical		Rf_asLogical
  ------------------
   44|  24.5k|    if (val == NA_LOGICAL)
  ------------------
  |  |   55|  24.5k|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (44:9): [True: 0, False: 24.5k]
  ------------------
   45|      0|	error(_("invalid '%s' value"), name);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' value"), name);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
   46|  24.5k|    return val;
   47|  24.5k|}
identical.c:neWithNaN:
  391|     40|{
  392|     40|    switch (str) {
  ------------------
  |  Branch (392:13): [True: 40, False: 0]
  ------------------
  393|     40|    case single_NA__num_eq:
  ------------------
  |  Branch (393:5): [True: 40, False: 0]
  ------------------
  394|     40|    case single_NA__num_bit:
  ------------------
  |  Branch (394:5): [True: 0, False: 40]
  ------------------
  395|     40|	if(R_IsNA(x))
  ------------------
  |  Branch (395:5): [True: 0, False: 40]
  ------------------
  396|      0|	    return(R_IsNA(y) ? FALSE : TRUE);
  ------------------
  |  Branch (396:13): [True: 0, False: 0]
  ------------------
  397|     40|	if(R_IsNA(y))
  ------------------
  |  Branch (397:5): [True: 0, False: 40]
  ------------------
  398|      0|	    return(R_IsNA(x) ? FALSE : TRUE);
  ------------------
  |  Branch (398:13): [True: 0, False: 0]
  ------------------
  399|     40|	if(ISNAN(x))
  ------------------
  |  |   76|     40|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 40]
  |  |  ------------------
  ------------------
  400|      0|	    return(ISNAN(y) ? FALSE : TRUE);
  ------------------
  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  401|       |
  402|     40|    case bit_NA__num_eq:
  ------------------
  |  Branch (402:5): [True: 0, False: 40]
  ------------------
  403|     40|    case bit_NA__num_bit:
  ------------------
  |  Branch (403:5): [True: 0, False: 40]
  ------------------
  404|     40|	; /* do nothing */
  405|     40|    }
  406|       |
  407|     40|    switch (str) {
  408|     40|    case single_NA__num_eq:
  ------------------
  |  Branch (408:5): [True: 40, False: 0]
  ------------------
  409|     40|	return(x != y);
  410|      0|    case bit_NA__num_eq:
  ------------------
  |  Branch (410:5): [True: 0, False: 40]
  ------------------
  411|      0|	if(!ISNAN(x) && !ISNAN(y))
  ------------------
  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  ------------------
              	if(!ISNAN(x) && !ISNAN(y))
  ------------------
  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  ------------------
  |  Branch (411:5): [True: 0, False: 0]
  |  Branch (411:18): [True: 0, False: 0]
  ------------------
  412|      0|	    return(x != y);
  413|      0|	else /* bitwise check for NA/NaN's */
  414|      0|	    return memcmp((const void *) &x,
  ------------------
  |  Branch (414:13): [True: 0, False: 0]
  ------------------
  415|      0|			  (const void *) &y, sizeof(double)) ? TRUE : FALSE;
  416|      0|    case bit_NA__num_bit:
  ------------------
  |  Branch (416:5): [True: 0, False: 40]
  ------------------
  417|      0|    case single_NA__num_bit:
  ------------------
  |  Branch (417:5): [True: 0, False: 40]
  ------------------
  418|      0|	return memcmp((const void *) &x,
  ------------------
  |  Branch (418:9): [True: 0, False: 0]
  ------------------
  419|      0|		      (const void *) &y, sizeof(double)) ? TRUE : FALSE;
  420|      0|    default: /* Wall */
  ------------------
  |  Branch (420:5): [True: 0, False: 40]
  ------------------
  421|      0|	return FALSE;
  422|     40|    }
  423|     40|}

R_IoBufferWriteReset:
   75|      2|{
   76|      2|    if (iob == NULL || iob->start_buf == NULL)
  ------------------
  |  Branch (76:9): [True: 0, False: 2]
  |  Branch (76:24): [True: 0, False: 2]
  ------------------
   77|      0|	return 0;
   78|      2|    iob->write_buf = iob->start_buf;
   79|      2|    iob->write_ptr = iob->write_buf->buf;
   80|      2|    iob->write_offset = 0;
   81|      2|    iob->read_buf = iob->start_buf;
   82|      2|    iob->read_ptr = iob->read_buf->buf;
   83|      2|    iob->read_offset = 0;
   84|      2|    return 1;
   85|      2|}
R_IoBufferInit:
  103|      2|{
  104|      2|    if (iob == NULL) return 0;
  ------------------
  |  Branch (104:9): [True: 0, False: 2]
  ------------------
  105|      2|    iob->start_buf = (BufferListItem*)malloc(sizeof(BufferListItem));
  106|      2|    if (iob->start_buf == NULL) return 0;
  ------------------
  |  Branch (106:9): [True: 0, False: 2]
  ------------------
  107|      2|    iob->start_buf->next = NULL;
  108|      2|    return R_IoBufferWriteReset(iob);
  109|      2|}
R_TextBufferInit:
  200|     34|{
  201|     34|    int i, k, l, n;
  202|     34|    if (isString(text)) {
  ------------------
  |  |  966|     34|#define isString		Rf_isString
  ------------------
  |  Branch (202:9): [True: 34, False: 0]
  ------------------
  203|       |	// translateChar might allocate
  204|     34|	void *vmax = vmaxget();
  205|     34|	n = length(text);
  ------------------
  |  |  987|     34|#define length(x)		Rf_length(x)
  ------------------
  206|     34|	l = 0;
  207|     68|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (207:14): [True: 34, False: 34]
  ------------------
  208|     34|	    if (STRING_ELT(text, i) != R_NilValue) {
  ------------------
  |  Branch (208:10): [True: 34, False: 0]
  ------------------
  209|     34|		k = (int) strlen(translateCharWithOverride(STRING_ELT(text, i)));
  210|     34|		if (k > l)
  ------------------
  |  Branch (210:7): [True: 34, False: 0]
  ------------------
  211|     34|		    l = k;
  212|     34|	    }
  213|     34|	}
  214|     34|	vmaxset(vmax);
  215|     34|	txtb->vmax = vmax;
  216|     34|	txtb->buf = (unsigned char *)R_alloc(l+2, sizeof(char)); /* '\n' and '\0' */
  217|     34|	txtb->bufp = txtb->buf;
  218|     34|	txtb->text = text;
  219|     34|	txtb->ntext = n;
  220|     34|	txtb->offset = 0;
  221|     34|	transferChars(txtb->buf,
  222|     34|		      translateCharWithOverride(STRING_ELT(txtb->text, txtb->offset)));
  223|     34|	txtb->offset++;
  224|     34|	return 1;
  225|     34|    }
  226|      0|    else {
  227|      0|	txtb->vmax = vmaxget();
  228|      0|	txtb->buf = NULL;
  229|       |	txtb->bufp = NULL;
  230|      0|	txtb->text = R_NilValue;
  231|      0|	txtb->ntext = 0;
  232|      0|	txtb->offset = 1;
  233|      0|	return 0;
  234|      0|    }
  235|     34|}
R_TextBufferFree:
  240|     34|{
  241|     34|    vmaxset(txtb->vmax);
  242|     34|    return 0;/* not used */
  243|     34|}
R_TextBufferGetc:
  248|  7.00k|{
  249|  7.00k|    if (txtb->buf == NULL)
  ------------------
  |  Branch (249:9): [True: 0, False: 7.00k]
  ------------------
  250|      0|	return EOF;
  251|  7.00k|    if (*(txtb->bufp) == '\0') {
  ------------------
  |  Branch (251:9): [True: 34, False: 6.96k]
  ------------------
  252|     34|	if (txtb->offset == txtb->ntext) {
  ------------------
  |  Branch (252:6): [True: 34, False: 0]
  ------------------
  253|     34|	    txtb->buf = NULL;
  254|     34|	    return EOF;
  255|     34|	} else {
  256|      0|	    const void *vmax = vmaxget();
  257|      0|	    transferChars(txtb->buf,
  258|      0|			  translateCharWithOverride(STRING_ELT(txtb->text,
  259|      0|			                                       txtb->offset)));
  260|      0|	    txtb->bufp = txtb->buf;
  261|      0|	    txtb->offset++;
  262|      0|	    vmaxset(vmax);
  263|      0|	}
  264|     34|    }
  265|  6.96k|    return *txtb->bufp++;
  266|  7.00k|}
iosupport.c:translateCharWithOverride:
  189|     68|{
  190|     68|    if (!IS_LATIN1(x) && !mbcslocale && known_to_be_utf8)
  ------------------
  |  Branch (190:9): [True: 68, False: 0]
  |  Branch (190:26): [True: 68, False: 0]
  |  Branch (190:41): [True: 0, False: 68]
  ------------------
  191|       |	/* A hack to allow UTF-8 string literals, comments when
  192|       |	   parsing on Windows. Note that the parser cannot handle
  193|       |	   invalid characters when running in UTF-8 locale. */
  194|      0|	return CHAR(x);
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  195|     68|    else
  196|     68|	return translateChar(x);
  ------------------
  |  | 1037|     68|#define translateChar		Rf_translateChar
  ------------------
  197|     68|}
iosupport.c:transferChars:
  181|     34|{
  182|  6.96k|    while (*q) *p++ = *q++;
  ------------------
  |  Branch (182:12): [True: 6.93k, False: 34]
  ------------------
  183|     34|    *p++ = '\n';
  184|     34|    *p++ = '\0';
  185|     34|}

do_lapack:
   47|    161|{
   48|    161|    checkArity(op, args);
  ------------------
  |  | 1793|    161|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
   49|    161|    if(!initialized) La_Init();
  ------------------
  |  Branch (49:8): [True: 2, False: 159]
  ------------------
   50|    161|    if(initialized > 0)
  ------------------
  |  Branch (50:8): [True: 161, False: 0]
  ------------------
   51|    161|	return (*ptr->do_lapack)(call, op, args, env);
   52|      0|    else {
   53|      0|	error(_("LAPACK routines cannot be loaded"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("LAPACK routines cannot be loaded"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
   54|      0|	return R_NilValue;
   55|      0|    }
   56|    161|}
R_setLapackRoutines:
   61|      2|{
   62|      2|    R_LapackRoutines *tmp;
   63|      2|    tmp = ptr;
   64|      2|    ptr = routines;
   65|      2|    return(tmp);
   66|      2|}
lapack.c:La_Init:
   34|      2|{
   35|      2|    int res = R_moduleCdynload("lapack", 1, 1); // -> ../modules/lapack/Lapack.c
   36|      2|    initialized = -1;
   37|      2|    if(!res) return;
  ------------------
  |  Branch (37:8): [True: 0, False: 2]
  ------------------
   38|      2|    if(!ptr->do_lapack)
  ------------------
  |  Branch (38:8): [True: 0, False: 2]
  ------------------
   39|      0|	error(_("LAPACK routines cannot be accessed in module"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("LAPACK routines cannot be accessed in module"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
   40|      2|    initialized = 1;
   41|      2|    return;
   42|      2|}

do_logic:
   42|  2.18M|{
   43|  2.18M|    SEXP arg1 = CAR(args); //, arg2 = CADR(args)
   44|  2.18M|    Rboolean attr1 = ATTRIB(arg1) != R_NilValue;
   45|  2.18M|    if (attr1 || ATTRIB(CADR(args)) != R_NilValue) {
  ------------------
  |  Branch (45:9): [True: 506, False: 2.18M]
  |  Branch (45:18): [True: 0, False: 2.18M]
  ------------------
   46|    506|	SEXP ans;
   47|    506|	if (DispatchGroup("Ops", call, op, args, env, &ans))
  ------------------
  |  | 1891|    506|# define DispatchGroup		Rf_DispatchGroup
  ------------------
  |  Branch (47:6): [True: 0, False: 506]
  ------------------
   48|      0|	    return ans;
   49|    506|    }
   50|       |    /* The above did dispatch to valid S3/S4 methods, including those with
   51|       |     * "wrong" number of arguments.
   52|       |     * Now require binary calls to `&` and `|`  or unary calls to `!` : */
   53|  2.18M|    checkArity(op, args);
  ------------------
  |  | 1793|  2.18M|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
   54|       |
   55|  2.18M|    if (CDR(args) == R_NilValue) { // one argument  <==>  !(arg1)
  ------------------
  |  Branch (55:9): [True: 2.18M, False: 2.18k]
  ------------------
   56|  2.18M|	if (!attr1 && IS_SCALAR(arg1, LGLSXP)) {
  ------------------
  |  |  121|  2.18M|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (56:6): [True: 2.18M, False: 504]
  |  Branch (56:16): [True: 2.18M, False: 979]
  ------------------
   57|       |	    /* directly handle '!' operator for simple logical scalars. */
   58|  2.18M|	    int v = SCALAR_LVAL(arg1);
   59|  2.18M|	    return ScalarLogical(v == NA_LOGICAL ? v : ! v);
  ------------------
  |  | 1023|  2.18M|#define ScalarLogical		Rf_ScalarLogical
  ------------------
              	    return ScalarLogical(v == NA_LOGICAL ? v : ! v);
  ------------------
  |  |   55|  2.18M|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (59:27): [True: 2, False: 2.18M]
  ------------------
   60|  2.18M|	}
   61|  1.48k|	return lunary(call, op, arg1);
   62|  2.18M|    }
   63|       |    // else : two arguments
   64|  2.18k|    return lbinary(call, op, args);
   65|  2.18M|}
do_logic2:
  270|  1.01k|{
  271|       |/*  &&	and  ||	 */
  272|  1.01k|    SEXP s1, s2;
  273|  1.01k|    int x1, x2;
  274|  1.01k|    int ans = FALSE;
  275|       |
  276|  1.01k|    if (length(args) != 2)
  ------------------
  |  |  987|  1.01k|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (276:9): [True: 0, False: 1.01k]
  ------------------
  277|      0|	error(_("'%s' operator requires 2 arguments"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'%s' operator requires 2 arguments"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  278|      0|	      PRIMVAL(op) == 1 ? "&&" : "||");
  ------------------
  |  | 1347|      0|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (278:8): [True: 0, False: 0]
  ------------------
  279|       |
  280|  1.01k|    s1 = CAR(args);
  281|  1.01k|    s2 = CADR(args);
  282|  1.01k|    PROTECT(s1 = eval(s1, env));
  ------------------
  |  |  357|  1.01k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  283|  1.01k|    if (!isNumber(s1))
  ------------------
  |  |  958|  1.01k|#define isNumber		Rf_isNumber
  ------------------
  |  Branch (283:9): [True: 0, False: 1.01k]
  ------------------
  284|      0|	errorcall(call, _("invalid 'x' type in 'x %s y'"),
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("invalid 'x' type in 'x %s y'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  285|      0|		  PRIMVAL(op) == 1 ? "&&" : "||");
  ------------------
  |  | 1347|      0|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (285:5): [True: 0, False: 0]
  ------------------
  286|       |
  287|  1.01k|    x1 = asLogical2(s1, /*checking*/ 1, call);
  ------------------
  |  |  887|  1.01k|#define asLogical2		Rf_asLogical2
  ------------------
  288|  1.01k|    UNPROTECT(1); /* s1 */
  ------------------
  |  |  358|  1.01k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  289|       |
  290|  1.01k|#define get_2nd							\
  291|  1.01k|	PROTECT(s2 = eval(s2, env));				\
  292|  1.01k|	if (!isNumber(s2))					\
  293|  1.01k|	    errorcall(call, _("invalid 'y' type in 'x %s y'"),	\
  294|  1.01k|		      PRIMVAL(op) == 1 ? "&&" : "||");		\
  295|  1.01k|	x2 = asLogical2(s2, 1, call);			\
  296|  1.01k|	UNPROTECT(1); /* s2 */
  297|       |
  298|  1.01k|    switch (PRIMVAL(op)) {
  ------------------
  |  | 1347|  1.01k|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  |  |  ------------------
  |  |  |  Branch (1347:20): [True: 1.01k, False: 0]
  |  |  ------------------
  ------------------
  299|     16|    case 1: /* && */
  ------------------
  |  Branch (299:5): [True: 16, False: 997]
  ------------------
  300|     16|	if (x1 == FALSE)
  ------------------
  |  Branch (300:6): [True: 16, False: 0]
  ------------------
  301|     16|	    ans = FALSE;
  302|      0|	else {
  303|      0|	    get_2nd;
  ------------------
  |  |  291|      0|	PROTECT(s2 = eval(s2, env));				\
  |  |  ------------------
  |  |  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  |  292|      0|	if (!isNumber(s2))					\
  |  |  ------------------
  |  |  |  |  958|      0|#define isNumber		Rf_isNumber
  |  |  ------------------
  |  |  |  Branch (292:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  293|      0|	    errorcall(call, _("invalid 'y' type in 'x %s y'"),	\
  |  |  ------------------
  |  |  |  |  912|      0|#define errorcall		Rf_errorcall
  |  |  ------------------
  |  |               	    errorcall(call, _("invalid 'y' type in 'x %s y'"),	\
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  |  294|      0|		      PRIMVAL(op) == 1 ? "&&" : "||");		\
  |  |  ------------------
  |  |  |  | 1347|      0|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  |  |  ------------------
  |  |  |  Branch (294:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  295|      0|	x2 = asLogical2(s2, 1, call);			\
  |  |  ------------------
  |  |  |  |  887|      0|#define asLogical2		Rf_asLogical2
  |  |  ------------------
  |  |  296|      0|	UNPROTECT(1); /* s2 */
  |  |  ------------------
  |  |  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  |  |  ------------------
  ------------------
  304|      0|	    if (x1 == NA_LOGICAL)
  ------------------
  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (304:10): [True: 0, False: 0]
  ------------------
  305|      0|		ans = (x2 == NA_LOGICAL || x2) ? NA_LOGICAL : x2;
  ------------------
  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  ------------------
              		ans = (x2 == NA_LOGICAL || x2) ? NA_LOGICAL : x2;
  ------------------
  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (305:10): [True: 0, False: 0]
  |  Branch (305:30): [True: 0, False: 0]
  ------------------
  306|      0|	    else /* x1 == TRUE */
  307|      0|		ans = x2;
  308|      0|	}
  309|     16|	break;
  310|    997|    case 2: /* || */
  ------------------
  |  Branch (310:5): [True: 997, False: 16]
  ------------------
  311|    997|	if (x1 == TRUE)
  ------------------
  |  Branch (311:6): [True: 0, False: 997]
  ------------------
  312|      0|	    ans = TRUE;
  313|    997|	else {
  314|    997|	    get_2nd;
  ------------------
  |  |  291|    997|	PROTECT(s2 = eval(s2, env));				\
  |  |  ------------------
  |  |  |  |  357|    997|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  |  292|    997|	if (!isNumber(s2))					\
  |  |  ------------------
  |  |  |  |  958|    997|#define isNumber		Rf_isNumber
  |  |  ------------------
  |  |  |  Branch (292:6): [True: 0, False: 997]
  |  |  ------------------
  |  |  293|    997|	    errorcall(call, _("invalid 'y' type in 'x %s y'"),	\
  |  |  ------------------
  |  |  |  |  912|      0|#define errorcall		Rf_errorcall
  |  |  ------------------
  |  |               	    errorcall(call, _("invalid 'y' type in 'x %s y'"),	\
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  |  294|      0|		      PRIMVAL(op) == 1 ? "&&" : "||");		\
  |  |  ------------------
  |  |  |  | 1347|      0|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  |  |  ------------------
  |  |  |  Branch (294:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  295|    997|	x2 = asLogical2(s2, 1, call);			\
  |  |  ------------------
  |  |  |  |  887|    997|#define asLogical2		Rf_asLogical2
  |  |  ------------------
  |  |  296|    997|	UNPROTECT(1); /* s2 */
  |  |  ------------------
  |  |  |  |  358|    997|#define UNPROTECT(n)	Rf_unprotect(n)
  |  |  ------------------
  ------------------
  315|    997|	    if (x1 == NA_LOGICAL)
  ------------------
  |  |   55|    997|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (315:10): [True: 0, False: 997]
  ------------------
  316|      0|		ans = (x2 == NA_LOGICAL || !x2) ? NA_LOGICAL : x2;
  ------------------
  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  ------------------
              		ans = (x2 == NA_LOGICAL || !x2) ? NA_LOGICAL : x2;
  ------------------
  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (316:10): [True: 0, False: 0]
  |  Branch (316:30): [True: 0, False: 0]
  ------------------
  317|    997|	    else /* x1 == FALSE */
  318|    997|		ans = x2;
  319|    997|	}
  320|  1.01k|    }
  321|  1.01k|    return ScalarLogical(ans);
  ------------------
  |  | 1023|  1.01k|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  322|  1.01k|}
do_logic3:
  444|  2.12M|{
  445|  2.12M|    SEXP ans, s, t, call2;
  446|  2.12M|    int narm, has_na = 0;
  447|       |    /* initialize for behavior on empty vector
  448|       |       all(logical(0)) -> TRUE
  449|       |       any(logical(0)) -> FALSE
  450|       |     */
  451|  2.12M|    int val = PRIMVAL(op) == _OP_ALL ? TRUE : FALSE;
  ------------------
  |  | 1347|  2.12M|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
                  int val = PRIMVAL(op) == _OP_ALL ? TRUE : FALSE;
  ------------------
  |  |  414|  2.12M|#define _OP_ALL 1
  ------------------
  |  Branch (451:15): [True: 14.2k, False: 2.10M]
  ------------------
  452|       |
  453|  2.12M|    PROTECT(args = fixup_NaRm(args));
  ------------------
  |  |  357|  2.12M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  454|  2.12M|    PROTECT(call2 = shallow_duplicate(call));
  ------------------
  |  |  357|  2.12M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  455|  2.12M|    R_args_enable_refcnt(args);
  456|  2.12M|    SETCDR(call2, args);
  457|       |
  458|  2.12M|    if (DispatchGroup("Summary", call2, op, args, env, &ans)) {
  ------------------
  |  | 1891|  2.12M|# define DispatchGroup		Rf_DispatchGroup
  ------------------
  |  Branch (458:9): [True: 0, False: 2.12M]
  ------------------
  459|      0|	UNPROTECT(2);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  460|      0|	SETCDR(call2, R_NilValue); /* clear refcnt on args */
  461|      0|	R_try_clear_args_refcnt(args);
  462|      0|	return(ans);
  463|      0|    }
  464|  2.12M|    SETCDR(call2, R_NilValue); /* clear refcnt on args */
  465|  2.12M|    R_try_clear_args_refcnt(args);
  466|       |
  467|  2.12M|    ans = matchArgExact(R_NaRmSymbol, &args);
  ------------------
  |  | 1950|  2.12M|# define matchArgExact		Rf_matchArgExact
  ------------------
  468|  2.12M|    narm = asLogical2(ans, /*warn_level*/ 1, call);
  ------------------
  |  |  887|  2.12M|#define asLogical2		Rf_asLogical2
  ------------------
  469|       |
  470|  4.23M|    for (s = args; s != R_NilValue; s = CDR(s)) {
  ------------------
  |  Branch (470:20): [True: 2.12M, False: 2.11M]
  ------------------
  471|  2.12M|	t = CAR(s);
  472|       |	/* Avoid memory waste from coercing empty inputs, and also
  473|       |	   avoid warnings with empty lists coming from sapply */
  474|  2.12M|	if(xlength(t) == 0) continue;
  ------------------
  |  | 1049|  2.12M|#define xlength(x)		Rf_xlength(x)
  ------------------
  |  Branch (474:5): [True: 1.79k, False: 2.11M]
  ------------------
  475|       |	/* coerceVector protects its argument so this actually works
  476|       |	   just fine */
  477|  2.11M|	if (TYPEOF(t) != LGLSXP) {
  ------------------
  |  |  121|  2.11M|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (477:6): [True: 12, False: 2.11M]
  ------------------
  478|       |	    /* Coercion of integers seems reasonably safe, but for
  479|       |	       other types it is more often than not an error.
  480|       |	       One exception is perhaps the result of lapply, but
  481|       |	       then sapply was often what was intended. */
  482|     12|	    if(TYPEOF(t) != INTSXP)
  ------------------
  |  |  123|     12|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (482:9): [True: 0, False: 12]
  ------------------
  483|      0|		warningcall(call,
  ------------------
  |  | 2018|      0|# define warningcall		Rf_warningcall
  ------------------
  484|      0|			    _("coercing argument of type '%s' to logical"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  485|      0|			    R_typeToChar(t));
  486|     12|	    t = coerceVector(t, LGLSXP);
  ------------------
  |  |  895|     12|#define coerceVector		Rf_coerceVector
  ------------------
              	    t = coerceVector(t, LGLSXP);
  ------------------
  |  |  121|     12|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  487|     12|	}
  488|  2.11M|	val = checkValues(PRIMVAL(op), narm, t, XLENGTH(t));
  ------------------
  |  | 1347|  2.11M|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  489|  2.11M|	if (val != NA_LOGICAL) {
  ------------------
  |  |   55|  2.11M|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (489:6): [True: 2.11M, False: 654]
  ------------------
  490|  2.11M|	    if ((PRIMVAL(op) == _OP_ANY && val)
  ------------------
  |  | 1347|  2.11M|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
              	    if ((PRIMVAL(op) == _OP_ANY && val)
  ------------------
  |  |  415|  4.23M|#define _OP_ANY 2
  ------------------
  |  Branch (490:11): [True: 2.10M, False: 12.5k]
  |  Branch (490:37): [True: 635, False: 2.10M]
  ------------------
  491|  2.11M|		|| (PRIMVAL(op) == _OP_ALL && !val)) {
  ------------------
  |  | 1347|  2.11M|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
              		|| (PRIMVAL(op) == _OP_ALL && !val)) {
  ------------------
  |  |  414|  4.23M|#define _OP_ALL 1
  ------------------
  |  Branch (491:7): [True: 12.5k, False: 2.10M]
  |  Branch (491:33): [True: 1.36k, False: 11.1k]
  ------------------
  492|  2.00k|		has_na = 0;
  493|  2.00k|		break;
  494|  2.00k|	    }
  495|  2.11M|	} else has_na = 1;
  496|  2.11M|    }
  497|  2.12M|    UNPROTECT(2);
  ------------------
  |  |  358|  2.12M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  498|  2.12M|    return has_na ? ScalarLogical(NA_LOGICAL) : ScalarLogical(val);
  ------------------
  |  | 1023|    654|#define ScalarLogical		Rf_ScalarLogical
  ------------------
                  return has_na ? ScalarLogical(NA_LOGICAL) : ScalarLogical(val);
  ------------------
  |  |   55|    654|#define NA_LOGICAL	R_NaInt
  ------------------
                  return has_na ? ScalarLogical(NA_LOGICAL) : ScalarLogical(val);
  ------------------
  |  | 1023|  2.12M|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  |  Branch (498:12): [True: 654, False: 2.12M]
  ------------------
  499|  2.12M|}
logic.c:lbinary:
   69|  2.18k|{
   70|       |/* logical binary : "&" or "|" */
   71|  2.18k|    SEXP
   72|  2.18k|	x = CAR(args),
   73|  2.18k|	y = CADR(args);
   74|       |
   75|  2.18k|    if (isRaw(x) && isRaw(y)) {
  ------------------
  |  |   67|  4.37k|#define isRaw(x) (TYPEOF(x) == RAWSXP)
  |  |  ------------------
  |  |  |  |  136|  2.18k|#define RAWSXP      24    /* raw bytes */
  |  |  ------------------
  |  |  |  Branch (67:18): [True: 0, False: 2.18k]
  |  |  ------------------
  ------------------
                  if (isRaw(x) && isRaw(y)) {
  ------------------
  |  |   67|      0|#define isRaw(x) (TYPEOF(x) == RAWSXP)
  |  |  ------------------
  |  |  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  |  |  ------------------
  |  |  |  Branch (67:18): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   76|      0|    }
   77|  2.18k|    else if ( !(isNull(x) || isNumber(x)) ||
  ------------------
  |  |  956|  2.18k|#define isNull			Rf_isNull
  ------------------
                  else if ( !(isNull(x) || isNumber(x)) ||
  ------------------
  |  |  958|  2.18k|#define isNumber		Rf_isNumber
  ------------------
  |  Branch (77:17): [True: 0, False: 2.18k]
  |  Branch (77:30): [True: 2.18k, False: 0]
  ------------------
   78|  2.18k|	      !(isNull(y) || isNumber(y)) )
  ------------------
  |  |  956|  2.18k|#define isNull			Rf_isNull
  ------------------
              	      !(isNull(y) || isNumber(y)) )
  ------------------
  |  |  958|  2.18k|#define isNumber		Rf_isNumber
  ------------------
  |  Branch (78:10): [True: 0, False: 2.18k]
  |  Branch (78:23): [True: 2.18k, False: 0]
  ------------------
   79|      0|	errorcall(call,
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
   80|      0|		  _("operations are possible only for numeric, logical or complex types"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
   81|       |
   82|  2.18k|    R_xlen_t
   83|  2.18k|	nx = xlength(x),
  ------------------
  |  | 1049|  2.18k|#define xlength(x)		Rf_xlength(x)
  ------------------
   84|  2.18k|	ny = xlength(y);
  ------------------
  |  | 1049|  2.18k|#define xlength(x)		Rf_xlength(x)
  ------------------
   85|  2.18k|    Rboolean
   86|  2.18k|	xarray = isArray(x),
  ------------------
  |  |  940|  2.18k|#define isArray			Rf_isArray
  ------------------
   87|  2.18k|	yarray = isArray(y),
  ------------------
  |  |  940|  2.18k|#define isArray			Rf_isArray
  ------------------
   88|  2.18k|	xts = isTs(x),
  ------------------
  |  |  967|  2.18k|#define isTs			Rf_isTs
  ------------------
   89|  2.18k|	yts = isTs(y);
  ------------------
  |  |  967|  2.18k|#define isTs			Rf_isTs
  ------------------
   90|  2.18k|    SEXP dims, xnames, ynames;
   91|  2.18k|    if (xarray || yarray) {
  ------------------
  |  Branch (91:9): [True: 0, False: 2.18k]
  |  Branch (91:19): [True: 0, False: 2.18k]
  ------------------
   92|      0|	if (xarray && yarray) {
  ------------------
  |  Branch (92:6): [True: 0, False: 0]
  |  Branch (92:16): [True: 0, False: 0]
  ------------------
   93|      0|	    if (!conformable(x, y))
  ------------------
  |  |  896|      0|#define conformable		Rf_conformable
  ------------------
  |  Branch (93:10): [True: 0, False: 0]
  ------------------
   94|      0|		errorcall(call, _("non-conformable arrays"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              		errorcall(call, _("non-conformable arrays"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
   95|      0|	    PROTECT(dims = getAttrib(x, R_DimSymbol));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
   96|      0|	}
   97|      0|	else if (xarray && (ny != 0 || nx == 0)) {
  ------------------
  |  Branch (97:11): [True: 0, False: 0]
  |  Branch (97:22): [True: 0, False: 0]
  |  Branch (97:33): [True: 0, False: 0]
  ------------------
   98|      0|	    PROTECT(dims = getAttrib(x, R_DimSymbol));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
   99|      0|	}
  100|      0|	else if (yarray && (nx != 0 || ny == 0)) {
  ------------------
  |  Branch (100:11): [True: 0, False: 0]
  |  Branch (100:22): [True: 0, False: 0]
  |  Branch (100:33): [True: 0, False: 0]
  ------------------
  101|      0|	    PROTECT(dims = getAttrib(y, R_DimSymbol));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  102|      0|	} else
  103|      0|	    PROTECT(dims = R_NilValue);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  104|       |
  105|      0|	PROTECT(xnames = getAttrib(x, R_DimNamesSymbol));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  106|      0|	PROTECT(ynames = getAttrib(y, R_DimNamesSymbol));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  107|      0|    }
  108|  2.18k|    else {
  109|  2.18k|	PROTECT(dims = R_NilValue);
  ------------------
  |  |  357|  2.18k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  110|  2.18k|	PROTECT(xnames = getAttrib(x, R_NamesSymbol));
  ------------------
  |  |  357|  2.18k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  111|  2.18k|	PROTECT(ynames = getAttrib(y, R_NamesSymbol));
  ------------------
  |  |  357|  2.18k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  112|  2.18k|    }
  113|       |
  114|  2.18k|    SEXP klass = NULL, tsp = NULL; // -Wall
  115|  2.18k|    if (xts || yts) {
  ------------------
  |  Branch (115:9): [True: 0, False: 2.18k]
  |  Branch (115:16): [True: 0, False: 2.18k]
  ------------------
  116|      0|	if (xts && yts) {
  ------------------
  |  Branch (116:6): [True: 0, False: 0]
  |  Branch (116:13): [True: 0, False: 0]
  ------------------
  117|       |	    /* could check ts conformance here */
  118|      0|	    PROTECT(tsp = getAttrib(x, R_TspSymbol));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  119|      0|	    PROTECT(klass = getAttrib(x, R_ClassSymbol));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  120|      0|	}
  121|      0|	else if (xts) {
  ------------------
  |  Branch (121:11): [True: 0, False: 0]
  ------------------
  122|      0|	    if (nx < ny)
  ------------------
  |  Branch (122:10): [True: 0, False: 0]
  ------------------
  123|      0|		ErrorMessage(call, ERROR_TSVEC_MISMATCH);
  ------------------
  |  | 1902|      0|# define ErrorMessage		Rf_ErrorMessage
  ------------------
  124|      0|	    PROTECT(tsp = getAttrib(x, R_TspSymbol));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  125|      0|	    PROTECT(klass = getAttrib(x, R_ClassSymbol));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  126|      0|	}
  127|      0|	else /*(yts)*/ {
  128|      0|	    if (ny < nx)
  ------------------
  |  Branch (128:10): [True: 0, False: 0]
  ------------------
  129|      0|		ErrorMessage(call, ERROR_TSVEC_MISMATCH);
  ------------------
  |  | 1902|      0|# define ErrorMessage		Rf_ErrorMessage
  ------------------
  130|      0|	    PROTECT(tsp = getAttrib(y, R_TspSymbol));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  131|      0|	    PROTECT(klass = getAttrib(y, R_ClassSymbol));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  132|      0|	}
  133|      0|    }
  134|  2.18k|    if (nx > 0 && ny > 0) {
  ------------------
  |  Branch (134:9): [True: 2.18k, False: 0]
  |  Branch (134:19): [True: 2.18k, False: 0]
  ------------------
  135|  2.18k|	if(((nx > ny) ? nx % ny : ny % nx) != 0) // mismatch
  ------------------
  |  Branch (135:5): [True: 0, False: 2.18k]
  |  Branch (135:6): [True: 0, False: 2.18k]
  ------------------
  136|      0|	    warningcall(call,
  ------------------
  |  | 2018|      0|# define warningcall		Rf_warningcall
  ------------------
  137|      0|			_("longer object length is not a multiple of shorter object length"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  138|       |
  139|  2.18k|	if (isRaw(x) && isRaw(y)) {
  ------------------
  |  |   67|  4.37k|#define isRaw(x) (TYPEOF(x) == RAWSXP)
  |  |  ------------------
  |  |  |  |  136|  2.18k|#define RAWSXP      24    /* raw bytes */
  |  |  ------------------
  |  |  |  Branch (67:18): [True: 0, False: 2.18k]
  |  |  ------------------
  ------------------
              	if (isRaw(x) && isRaw(y)) {
  ------------------
  |  |   67|      0|#define isRaw(x) (TYPEOF(x) == RAWSXP)
  |  |  ------------------
  |  |  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  |  |  ------------------
  |  |  |  Branch (67:18): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  140|      0|	    x = binaryLogic2(PRIMVAL(op), x, y);
  ------------------
  |  | 1347|      0|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  141|      0|	}
  142|  2.18k|	else {
  143|  2.18k|	    if(isNull(x))
  ------------------
  |  |  956|  2.18k|#define isNull			Rf_isNull
  ------------------
  |  Branch (143:9): [True: 0, False: 2.18k]
  ------------------
  144|      0|		x = SETCAR(args, allocVector(LGLSXP, 0));
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              		x = SETCAR(args, allocVector(LGLSXP, 0));
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  145|  2.18k|	    else // isNumeric(x)
  146|  2.18k|		x = SETCAR(args, coerceVector(x, LGLSXP));
  ------------------
  |  |  895|  2.18k|#define coerceVector		Rf_coerceVector
  ------------------
              		x = SETCAR(args, coerceVector(x, LGLSXP));
  ------------------
  |  |  121|  2.18k|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  147|  2.18k|	    if(isNull(y))
  ------------------
  |  |  956|  2.18k|#define isNull			Rf_isNull
  ------------------
  |  Branch (147:9): [True: 0, False: 2.18k]
  ------------------
  148|      0|		y = SETCAR(args, allocVector(LGLSXP, 0));
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              		y = SETCAR(args, allocVector(LGLSXP, 0));
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  149|  2.18k|	    else // isNumeric(y)
  150|  2.18k|		y = SETCADR(args, coerceVector(y, LGLSXP));
  ------------------
  |  |  895|  2.18k|#define coerceVector		Rf_coerceVector
  ------------------
              		y = SETCADR(args, coerceVector(y, LGLSXP));
  ------------------
  |  |  121|  2.18k|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  151|  2.18k|	    x = binaryLogic(PRIMVAL(op), x, y);
  ------------------
  |  | 1347|  2.18k|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  152|  2.18k|	}
  153|  2.18k|    } else { // nx == 0 || ny == 0
  154|      0|	x = allocVector((isRaw(x) && isRaw(y)) ? RAWSXP : LGLSXP, 0);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              	x = allocVector((isRaw(x) && isRaw(y)) ? RAWSXP : LGLSXP, 0);
  ------------------
  |  |   67|      0|#define isRaw(x) (TYPEOF(x) == RAWSXP)
  |  |  ------------------
  |  |  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  |  |  ------------------
  |  |  |  Branch (67:18): [True: 0, False: 0]
  |  |  ------------------
  ------------------
              	x = allocVector((isRaw(x) && isRaw(y)) ? RAWSXP : LGLSXP, 0);
  ------------------
  |  |   67|      0|#define isRaw(x) (TYPEOF(x) == RAWSXP)
  |  |  ------------------
  |  |  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  |  |  ------------------
  |  |  |  Branch (67:18): [True: 0, False: 0]
  |  |  ------------------
  ------------------
              	x = allocVector((isRaw(x) && isRaw(y)) ? RAWSXP : LGLSXP, 0);
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
              	x = allocVector((isRaw(x) && isRaw(y)) ? RAWSXP : LGLSXP, 0);
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  155|      0|    }
  156|       |
  157|  2.18k|    PROTECT(x);
  ------------------
  |  |  357|  2.18k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  158|  2.18k|    if (dims != R_NilValue) {
  ------------------
  |  Branch (158:9): [True: 0, False: 2.18k]
  ------------------
  159|      0|	setAttrib(x, R_DimSymbol, dims);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  160|      0|	if(xnames != R_NilValue)
  ------------------
  |  Branch (160:5): [True: 0, False: 0]
  ------------------
  161|      0|	    setAttrib(x, R_DimNamesSymbol, xnames);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  162|      0|	else if(ynames != R_NilValue)
  ------------------
  |  Branch (162:10): [True: 0, False: 0]
  ------------------
  163|      0|	    setAttrib(x, R_DimNamesSymbol, ynames);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  164|      0|    }
  165|  2.18k|    else {
  166|  2.18k|	if(xnames != R_NilValue && XLENGTH(x) == XLENGTH(xnames))
  ------------------
  |  Branch (166:5): [True: 2, False: 2.18k]
  |  Branch (166:29): [True: 2, False: 0]
  ------------------
  167|      2|	    setAttrib(x, R_NamesSymbol, xnames);
  ------------------
  |  | 1027|      2|#define setAttrib		Rf_setAttrib
  ------------------
  168|  2.18k|	else if(ynames != R_NilValue && XLENGTH(x) == XLENGTH(ynames))
  ------------------
  |  Branch (168:10): [True: 0, False: 2.18k]
  |  Branch (168:34): [True: 0, False: 0]
  ------------------
  169|      0|	    setAttrib(x, R_NamesSymbol, ynames);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  170|  2.18k|    }
  171|       |
  172|  2.18k|    if (xts || yts) {
  ------------------
  |  Branch (172:9): [True: 0, False: 2.18k]
  |  Branch (172:16): [True: 0, False: 2.18k]
  ------------------
  173|      0|	setAttrib(x, R_TspSymbol, tsp);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  174|      0|	setAttrib(x, R_ClassSymbol, klass);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  175|      0|	UNPROTECT(2);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  176|      0|    }
  177|  2.18k|    UNPROTECT(4);
  ------------------
  |  |  358|  2.18k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  178|  2.18k|    return x;
  179|  2.18k|}
logic.c:binaryLogic:
  325|  2.18k|{
  326|  2.18k|    R_xlen_t i, n, n1, n2, i1, i2;
  327|  2.18k|    int x1, x2;
  328|  2.18k|    SEXP ans;
  329|       |
  330|  2.18k|    n1 = XLENGTH(s1);
  331|  2.18k|    n2 = XLENGTH(s2);
  332|  2.18k|    n = (n1 > n2) ? n1 : n2;
  ------------------
  |  Branch (332:9): [True: 0, False: 2.18k]
  ------------------
  333|  2.18k|    if (n1 == 0 || n2 == 0) {
  ------------------
  |  Branch (333:9): [True: 0, False: 2.18k]
  |  Branch (333:20): [True: 0, False: 2.18k]
  ------------------
  334|      0|	ans = allocVector(LGLSXP, 0);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              	ans = allocVector(LGLSXP, 0);
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  335|      0|	return ans;
  336|      0|    }
  337|  2.18k|    ans = allocVector(LGLSXP, n);
  ------------------
  |  |  875|  2.18k|#define allocVector		Rf_allocVector
  ------------------
                  ans = allocVector(LGLSXP, n);
  ------------------
  |  |  121|  2.18k|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  338|       |
  339|  2.18k|    int *px1 = LOGICAL(s1);
  340|  2.18k|    int *px2 = LOGICAL(s2);
  341|  2.18k|    int *pa = LOGICAL(ans);
  342|       |
  343|  2.18k|    switch (code) {
  ------------------
  |  Branch (343:13): [True: 2.18k, False: 0]
  ------------------
  344|    593|    case 1:		/* & : AND */
  ------------------
  |  Branch (344:5): [True: 593, False: 1.59k]
  ------------------
  345|    593|	MOD_ITERATE2(n, n1, n2, i, i1, i2, {
  ------------------
  |  |   87|    593|#define MOD_ITERATE2(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |   88|    593|	i = i1 = i2 = 0;					\
  |  |   89|    593|	MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body);	\
  |  |  ------------------
  |  |  |  |   78|    593|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |   79|  2.37k|	for (; i < n;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (79:9): [True: 1.78k, False: 593]
  |  |  |  |  ------------------
  |  |  |  |   80|  1.78k|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (80:12): [True: 593, False: 1.19k]
  |  |  |  |  ------------------
  |  |  |  |   81|  1.78k|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (81:9): [True: 593, False: 1.19k]
  |  |  |  |  ------------------
  |  |  |  |   82|  1.78k|		 ++i) {							\
  |  |  |  |   83|  7.13k|	    loop_body							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (83:6): [True: 2, False: 1.78k]
  |  |  |  |  |  Branch (83:6): [True: 1.78k, False: 0]
  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   84|  1.78k|		}							\
  |  |  |  |   85|    593|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (85:14): [Folded, False: 593]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|    593|    } while (0)
  |  |  ------------------
  |  |  |  Branch (90:14): [Folded, False: 593]
  |  |  ------------------
  ------------------
  346|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  347|    593|	    x1 = px1[i1];
  348|    593|	    x2 = px2[i2];
  349|    593|	    if (x1 == 0 || x2 == 0)
  350|    593|		pa[i] = 0;
  351|    593|	    else if (x1 == NA_LOGICAL || x2 == NA_LOGICAL)
  352|    593|		pa[i] = NA_LOGICAL;
  353|    593|	    else
  354|    593|		pa[i] = 1;
  355|    593|	});
  356|    593|	break;
  357|  1.59k|    case 2:		/* | : OR */
  ------------------
  |  Branch (357:5): [True: 1.59k, False: 593]
  ------------------
  358|  1.59k|	MOD_ITERATE2(n, n1, n2, i, i1, i2, {
  ------------------
  |  |   87|  1.59k|#define MOD_ITERATE2(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |   88|  1.59k|	i = i1 = i2 = 0;					\
  |  |   89|  1.59k|	MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body);	\
  |  |  ------------------
  |  |  |  |   78|  1.59k|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |   79|  99.0k|	for (; i < n;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (79:9): [True: 97.4k, False: 1.59k]
  |  |  |  |  ------------------
  |  |  |  |   80|  97.4k|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (80:12): [True: 1.59k, False: 95.8k]
  |  |  |  |  ------------------
  |  |  |  |   81|  97.4k|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (81:9): [True: 1.59k, False: 95.8k]
  |  |  |  |  ------------------
  |  |  |  |   82|  97.4k|		 ++i) {							\
  |  |  |  |   83|  1.16M|	    loop_body							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (83:6): [True: 97.4k, False: 0]
  |  |  |  |  |  Branch (83:6): [True: 40, False: 97.4k]
  |  |  |  |  |  Branch (83:6): [True: 97.4k, False: 0]
  |  |  |  |  |  Branch (83:6): [True: 1.76k, False: 95.6k]
  |  |  |  |  |  Branch (83:6): [True: 95.6k, False: 0]
  |  |  |  |  |  Branch (83:6): [True: 95.6k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   84|  97.4k|		}							\
  |  |  |  |   85|  1.59k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (85:14): [Folded, False: 1.59k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|  1.59k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (90:14): [Folded, False: 1.59k]
  |  |  ------------------
  ------------------
  359|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  360|  1.59k|	    x1 = px1[i1];
  361|  1.59k|	    x2 = px2[i2];
  362|  1.59k|	    if ((x1 != NA_LOGICAL && x1) || (x2 != NA_LOGICAL && x2))
  363|  1.59k|		pa[i] = 1;
  364|  1.59k|	    else if (x1 == 0 && x2 == 0)
  365|  1.59k|		pa[i] = 0;
  366|  1.59k|	    else
  367|  1.59k|		pa[i] = NA_LOGICAL;
  368|  1.59k|	});
  369|  1.59k|	break;
  370|      0|    case 3:
  ------------------
  |  Branch (370:5): [True: 0, False: 2.18k]
  ------------------
  371|      0|	error(_("Unary operator `!' called with two arguments"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("Unary operator `!' called with two arguments"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  372|      0|	break;
  373|  2.18k|    }
  374|  2.18k|    return ans;
  375|  2.18k|}
logic.c:lunary:
  182|  1.48k|{
  183|  1.48k|    SEXP x, dim, dimnames, names;
  184|  1.48k|    R_xlen_t i, len;
  185|       |
  186|  1.48k|    len = XLENGTH(arg);
  187|  1.48k|    if (!isLogical(arg) && !isNumber(arg) && !isRaw(arg)) {
  ------------------
  |  |  952|  1.48k|#define isLogical		Rf_isLogical
  ------------------
                  if (!isLogical(arg) && !isNumber(arg) && !isRaw(arg)) {
  ------------------
  |  |  958|    281|#define isNumber		Rf_isNumber
  ------------------
                  if (!isLogical(arg) && !isNumber(arg) && !isRaw(arg)) {
  ------------------
  |  |   67|      0|#define isRaw(x) (TYPEOF(x) == RAWSXP)
  |  |  ------------------
  |  |  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  |  |  ------------------
  ------------------
  |  Branch (187:9): [True: 281, False: 1.20k]
  |  Branch (187:28): [True: 0, False: 281]
  |  Branch (187:46): [True: 0, False: 0]
  ------------------
  188|       |	/* For back-compatibility */
  189|      0|	if (!len) return allocVector(LGLSXP, 0);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              	if (!len) return allocVector(LGLSXP, 0);
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (189:6): [True: 0, False: 0]
  ------------------
  190|      0|	errorcall(call, _("invalid argument type"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("invalid argument type"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  191|      0|    }
  192|  1.48k|    if (isLogical(arg) || isRaw(arg))
  ------------------
  |  |  952|  1.48k|#define isLogical		Rf_isLogical
  ------------------
                  if (isLogical(arg) || isRaw(arg))
  ------------------
  |  |   67|    281|#define isRaw(x) (TYPEOF(x) == RAWSXP)
  |  |  ------------------
  |  |  |  |  136|    281|#define RAWSXP      24    /* raw bytes */
  |  |  ------------------
  |  |  |  Branch (67:18): [True: 0, False: 281]
  |  |  ------------------
  ------------------
  |  Branch (192:9): [True: 1.20k, False: 281]
  ------------------
  193|       |	// copy all attributes in this case
  194|  1.20k|	x = PROTECT(shallow_duplicate(arg));
  ------------------
  |  |  357|  1.20k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  195|    281|    else {
  196|    281|	x = PROTECT(allocVector(isRaw(arg) ? RAWSXP : LGLSXP, len));
  ------------------
  |  |  357|    562|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  |  |  Branch (357:31): [True: 0, False: 281]
  |  |  ------------------
  ------------------
  197|    281|	PROTECT(names = getAttrib(arg, R_NamesSymbol));
  ------------------
  |  |  357|    281|#define PROTECT(s)	Rf_protect(s)
  ------------------
  198|    281|	PROTECT(dim = getAttrib(arg, R_DimSymbol));
  ------------------
  |  |  357|    281|#define PROTECT(s)	Rf_protect(s)
  ------------------
  199|    281|	PROTECT(dimnames = getAttrib(arg, R_DimNamesSymbol));
  ------------------
  |  |  357|    281|#define PROTECT(s)	Rf_protect(s)
  ------------------
  200|    281|	if(names != R_NilValue) setAttrib(x, R_NamesSymbol, names);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  |  Branch (200:5): [True: 0, False: 281]
  ------------------
  201|    281|	if(dim != R_NilValue) setAttrib(x, R_DimSymbol, dim);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  |  Branch (201:5): [True: 0, False: 281]
  ------------------
  202|    281|	if(dimnames != R_NilValue) setAttrib(x, R_DimNamesSymbol, dimnames);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  |  Branch (202:5): [True: 0, False: 281]
  ------------------
  203|    281|	UNPROTECT(3);
  ------------------
  |  |  358|    281|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  204|    281|    }
  205|  1.48k|    switch(TYPEOF(arg)) {
  206|  1.20k|    case LGLSXP:
  ------------------
  |  |  121|  1.20k|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (206:5): [True: 1.20k, False: 281]
  ------------------
  207|  1.20k|	{
  208|  1.20k|	    int *px = LOGICAL(x);
  209|  1.20k|	    const int *parg = LOGICAL_RO(arg);
  210|  12.4k|	    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (210:18): [True: 11.2k, False: 1.20k]
  ------------------
  211|       |//	        if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  212|  11.2k|		int v = parg[i];
  213|  11.2k|		px[i] = (v == NA_LOGICAL) ? NA_LOGICAL : v == 0;
  ------------------
  |  |   55|  11.2k|#define NA_LOGICAL	R_NaInt
  ------------------
              		px[i] = (v == NA_LOGICAL) ? NA_LOGICAL : v == 0;
  ------------------
  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (213:11): [True: 0, False: 11.2k]
  ------------------
  214|  11.2k|	    }
  215|  1.20k|	}
  216|  1.20k|	break;
  217|    281|    case INTSXP:
  ------------------
  |  |  123|    281|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (217:5): [True: 281, False: 1.20k]
  ------------------
  218|    281|	{
  219|    281|	    int *px = LOGICAL(x);
  220|    281|	    const int *parg = INTEGER_RO(arg);
  221|    562|	    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (221:18): [True: 281, False: 281]
  ------------------
  222|       |//	        if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  223|    281|		int v = parg[i];
  224|    281|		px[i] = (v == NA_INTEGER) ? NA_LOGICAL : v == 0;
  ------------------
  |  |   56|    281|#define NA_INTEGER	R_NaInt
  ------------------
              		px[i] = (v == NA_INTEGER) ? NA_LOGICAL : v == 0;
  ------------------
  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (224:11): [True: 0, False: 281]
  ------------------
  225|    281|	    }
  226|    281|	}
  227|    281|	break;
  228|      0|    case REALSXP:
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (228:5): [True: 0, False: 1.48k]
  ------------------
  229|      0|	{
  230|      0|	    int *px = LOGICAL(x);
  231|      0|	    const double *parg = REAL_RO(arg);
  232|      0|	    for (i = 0; i < len; i++){
  ------------------
  |  Branch (232:18): [True: 0, False: 0]
  ------------------
  233|       |//	        if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  234|      0|		double v = parg[i];
  235|      0|		px[i] = ISNAN(v) ? NA_LOGICAL : v == 0;
  ------------------
  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
              		px[i] = ISNAN(v) ? NA_LOGICAL : v == 0;
  ------------------
  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  ------------------
  236|      0|	    }
  237|      0|	}
  238|      0|	break;
  239|      0|    case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (239:5): [True: 0, False: 1.48k]
  ------------------
  240|      0|	{
  241|      0|	    int *px = LOGICAL(x);
  242|      0|	    const Rcomplex *parg = COMPLEX_RO(arg);
  243|      0|	    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (243:18): [True: 0, False: 0]
  ------------------
  244|       |//	        if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  245|      0|		Rcomplex v = parg[i];
  246|      0|		px[i] = (ISNAN(v.r) || ISNAN(v.i))
  ------------------
  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
              		px[i] = (ISNAN(v.r) || ISNAN(v.i))
  ------------------
  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  247|      0|		    ? NA_LOGICAL : (v.r == 0. && v.i == 0.);
  ------------------
  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (247:23): [True: 0, False: 0]
  |  Branch (247:36): [True: 0, False: 0]
  ------------------
  248|      0|	    }
  249|      0|	}
  250|      0|	break;
  251|      0|    case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (251:5): [True: 0, False: 1.48k]
  ------------------
  252|      0|	{
  253|      0|	    Rbyte *px = RAW(x);
  254|      0|	    const Rbyte *parg = RAW_RO(arg);
  255|      0|	    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (255:18): [True: 0, False: 0]
  ------------------
  256|       |//	        if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  257|      0|		px[i] = 0xFF ^ parg[i];
  258|      0|	    }
  259|      0|	}
  260|      0|	break;
  261|      0|    default:
  ------------------
  |  Branch (261:5): [True: 0, False: 1.48k]
  ------------------
  262|      0|	UNIMPLEMENTED_TYPE("lunary", arg);
  263|  1.48k|    }
  264|  1.48k|    UNPROTECT(1);
  ------------------
  |  |  358|  1.48k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  265|  1.48k|    return x;
  266|  1.48k|}
logic.c:checkValues:
  418|  2.11M|{
  419|  2.11M|    R_xlen_t i;
  420|  2.11M|    int has_na = 0;
  421|  2.11M|    int *px = LOGICAL(x);
  422|  6.10M|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (422:17): [True: 3.98M, False: 2.11M]
  ------------------
  423|       |//	if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  424|  3.98M|	int xi = px[i];
  425|  3.98M|	if (!na_rm && xi == NA_LOGICAL) has_na = 1;
  ------------------
  |  |   55|  3.98M|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (425:6): [True: 3.98M, False: 0]
  |  Branch (425:16): [True: 164k, False: 3.82M]
  ------------------
  426|  3.82M|	else {
  427|  3.82M|	    if (xi == TRUE && op == _OP_ANY) return TRUE;
  ------------------
  |  |  415|  20.2k|#define _OP_ANY 2
  ------------------
  |  Branch (427:10): [True: 20.2k, False: 3.80M]
  |  Branch (427:24): [True: 635, False: 19.6k]
  ------------------
  428|  3.82M|	    if (xi == FALSE && op == _OP_ALL) return FALSE;
  ------------------
  |  |  414|  3.80M|#define _OP_ALL 1
  ------------------
  |  Branch (428:10): [True: 3.80M, False: 19.6k]
  |  Branch (428:25): [True: 1.36k, False: 3.79M]
  ------------------
  429|  3.82M|	}
  430|  3.98M|    }
  431|  2.11M|    switch (op) {
  432|  2.10M|    case _OP_ANY:
  ------------------
  |  |  415|  2.10M|#define _OP_ANY 2
  ------------------
  |  Branch (432:5): [True: 2.10M, False: 11.1k]
  ------------------
  433|  2.10M|	return has_na ? NA_LOGICAL : FALSE;
  ------------------
  |  |   55|    654|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (433:9): [True: 654, False: 2.10M]
  ------------------
  434|  11.1k|    case _OP_ALL:
  ------------------
  |  |  414|  11.1k|#define _OP_ALL 1
  ------------------
  |  Branch (434:5): [True: 11.1k, False: 2.10M]
  ------------------
  435|  11.1k|	return has_na ? NA_LOGICAL : TRUE;
  ------------------
  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (435:9): [True: 0, False: 11.1k]
  ------------------
  436|      0|    default:
  ------------------
  |  Branch (436:5): [True: 0, False: 2.11M]
  ------------------
  437|      0|	error("bad op value for do_logic3");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  438|  2.11M|    }
  439|      0|    return NA_LOGICAL; /* -Wall */
  ------------------
  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  ------------------
  440|  2.11M|}

machine.c:machar:
   98|      2|{
   99|      2|	volatile DTYPE a, b, beta, betain, betah, one,
  100|      2|		t, temp, tempa, temp1, two, y, z, zero;
  101|      2|	int i, iz, j, k, mx, nxres;
  102|       |
  103|      2|	one = 1;
  104|      2|	two = one+one;
  105|      2|	zero = one-one;
  106|       |
  107|       |		/* determine ibeta, beta ala malcolm. */
  108|      2|	a = one; // a = <large> = 9.0072e+15 for 'double' is used later
  109|    106|	do {
  110|    106|		a = a + a;
  111|    106|		temp = a + one;
  112|    106|		temp1 = temp - a;
  113|    106|	}
  114|    106|	while(temp1 - one == zero);
  ------------------
  |  Branch (114:8): [True: 104, False: 2]
  ------------------
  115|       |#ifdef _no_longer___did_overflow_ // on IBM PowerPPC ('Power 8')
  116|       |	int itemp;
  117|       |	b = one;
  118|       |	do {
  119|       |		b = b + b;
  120|       |		temp = a + b;
  121|       |		itemp = (int)(temp - a);
  122|       |	}
  123|       |	while (itemp == 0);
  124|       |	*ibeta = itemp;
  125|       |#else
  126|      2|	*ibeta = (int) FLT_RADIX;
  127|      2|#endif
  128|      2|	beta = *ibeta;
  129|       |
  130|       |		/* determine it, irnd */
  131|       |
  132|      2|	*it = 0;
  133|      2|	b = one;
  134|    106|	do {
  135|    106|		*it = *it + 1;
  136|    106|		b = b * beta;
  137|    106|		temp = b + one;
  138|    106|		temp1 = temp - b;
  139|    106|	}
  140|    106|	while(temp1 - one == zero);
  ------------------
  |  Branch (140:8): [True: 104, False: 2]
  ------------------
  141|      2|	*irnd = 0;
  142|      2|	betah = beta / two;
  143|      2|	temp = a + betah;
  144|      2|	if (temp - a != zero)
  ------------------
  |  Branch (144:6): [True: 0, False: 2]
  ------------------
  145|      0|		*irnd = 1;
  146|      2|	tempa = a + beta;
  147|      2|	temp = tempa + betah;
  148|      2|	if (*irnd == 0 && temp - tempa != zero)
  ------------------
  |  Branch (148:6): [True: 2, False: 0]
  |  Branch (148:20): [True: 2, False: 0]
  ------------------
  149|      2|		*irnd = 2;
  150|       |
  151|       |		/* determine negep, epsneg */
  152|       |
  153|      2|	*negep = *it + 3;
  154|      2|	betain = one / beta;
  155|      2|	a = one;
  156|    114|	for(i=1 ; i<=*negep ; i++)
  ------------------
  |  Branch (156:12): [True: 112, False: 2]
  ------------------
  157|    112|		a = a * betain;
  158|      2|	b = a;
  159|      8|	for(;;) {
  160|      8|		temp = one - a;
  161|      8|		if (temp - one != zero)
  ------------------
  |  Branch (161:7): [True: 2, False: 6]
  ------------------
  162|      2|			break;
  163|      6|		a = a * beta;
  164|      6|		*negep = *negep - 1;
  165|      6|	}
  166|      2|	*negep = -*negep;
  167|      2|	*epsneg = a;
  168|      2|	if (*ibeta != 2 && *irnd != 0) {
  ------------------
  |  Branch (168:6): [True: 0, False: 2]
  |  Branch (168:21): [True: 0, False: 0]
  ------------------
  169|      0|		a = (a * (one + a)) / two;
  170|      0|		temp = one - a;
  171|      0|		if (temp - one != zero)
  ------------------
  |  Branch (171:7): [True: 0, False: 0]
  ------------------
  172|      0|			*epsneg = a;
  173|      0|	}
  174|       |
  175|       |		/* determine machep, eps */
  176|       |
  177|      2|	*machep = -*it - 3;
  178|      2|	a = b;
  179|     10|	for(;;) {
  180|     10|		temp = one + a;
  181|     10|		if (temp - one != zero)
  ------------------
  |  Branch (181:7): [True: 2, False: 8]
  ------------------
  182|      2|			break;
  183|      8|		a = a * beta;
  184|      8|		*machep = *machep + 1;
  185|      8|	}
  186|      2|	*eps = a;
  187|      2|	temp = tempa + beta * (one + *eps);
  188|      2|	if (*ibeta != 2 && *irnd != 0) {
  ------------------
  |  Branch (188:6): [True: 0, False: 2]
  |  Branch (188:21): [True: 0, False: 0]
  ------------------
  189|      0|		a = (a * (one + a)) / two;
  190|      0|		temp = one + a;
  191|      0|		if (temp - one != zero)
  ------------------
  |  Branch (191:7): [True: 0, False: 0]
  ------------------
  192|      0|			*eps = a;
  193|      0|	}
  194|       |
  195|       |		/* determine ngrd */
  196|       |
  197|      2|	*ngrd = 0;
  198|      2|	temp = one + *eps;
  199|      2|	if (*irnd == 0 && temp * one - one != zero)
  ------------------
  |  Branch (199:6): [True: 0, False: 2]
  |  Branch (199:20): [True: 0, False: 0]
  ------------------
  200|      0|		*ngrd = 1;
  201|       |
  202|       |	/* determine iexp, minexp, xmin */
  203|       |
  204|       |	/* loop to determine largest i and k = 2**i such that */
  205|       |	/*        (1/beta) ** (2**(i)) */
  206|       |	/* does not underflow. */
  207|       |	/* exit from loop is signaled by an underflow. */
  208|       |
  209|      2|	i = 0;
  210|      2|	k = 1;
  211|      2|	z = betain;
  212|      2|	t = one + *eps;
  213|      2|	nxres = 0;
  214|     20|	for(;;) {
  215|     20|		y = z;
  216|     20|		z = y * y;
  217|       |
  218|       |		/* check for underflow here */
  219|       |
  220|     20|		a = z * one;
  221|     20|		temp = z * t;
  222|     20|		if (a+a == zero || ABS(z) >= y)
  ------------------
  |  |   36|     20|#define ABS fabs
  ------------------
  |  Branch (222:7): [True: 0, False: 20]
  |  Branch (222:22): [True: 0, False: 20]
  ------------------
  223|      0|			break;
  224|     20|		temp1 = temp * betain;
  225|     20|		if (temp1 * beta == z)
  ------------------
  |  Branch (225:7): [True: 2, False: 18]
  ------------------
  226|      2|			break;
  227|     18|		i = i+1;
  228|     18|		k = k+k;
  229|     18|	}
  230|      2|	if (*ibeta != 10) {
  ------------------
  |  Branch (230:6): [True: 2, False: 0]
  ------------------
  231|      2|		*iexp = i + 1;
  232|      2|		mx = k + k;
  233|      2|	}
  234|      0|	else {
  235|       |		/* this segment is for decimal machines only */
  236|       |
  237|      0|		*iexp = 2;
  238|      0|		iz = *ibeta;
  239|      0|		while (k >= iz) {
  ------------------
  |  Branch (239:10): [True: 0, False: 0]
  ------------------
  240|      0|			iz = iz * *ibeta;
  241|      0|			iexp = iexp + 1;
  242|      0|		}
  243|      0|		mx = iz + iz - 1;
  244|      0|	}
  245|  1.02k|	do {
  246|       |		/* loop to determine minexp, xmin */
  247|       |		/* exit from loop is signaled by an underflow */
  248|       |
  249|  1.02k|		*xmin = y;
  250|  1.02k|		y = y * betain;
  251|       |
  252|       |		/* check for underflow here */
  253|       |
  254|  1.02k|		a = y * one;
  255|  1.02k|		temp = y * t;
  256|  1.02k|		if (a+a == zero || ABS(y) >= *xmin)
  ------------------
  |  |   36|  1.02k|#define ABS fabs
  ------------------
  |  Branch (256:7): [True: 0, False: 1.02k]
  |  Branch (256:22): [True: 0, False: 1.02k]
  ------------------
  257|      0|			goto L10;
  258|  1.02k|		k = k + 1;
  259|  1.02k|		temp1 = temp * betain;
  260|  1.02k|	}
  261|  1.02k|	while(temp1 * beta != y);
  ------------------
  |  Branch (261:8): [True: 1.01k, False: 2]
  ------------------
  262|      2|	nxres = 3;
  263|      2|	*xmin = y;
  264|      2|L10:	*minexp = -k;
  265|       |
  266|       |	/* determine maxexp, xmax */
  267|       |
  268|      2|	if (mx <= k + k - 3 && *ibeta != 10) {
  ------------------
  |  Branch (268:6): [True: 2, False: 0]
  |  Branch (268:25): [True: 2, False: 0]
  ------------------
  269|      2|		mx = mx + mx;
  270|      2|		*iexp = *iexp + 1;
  271|      2|	}
  272|      2|	*maxexp = mx + *minexp;
  273|       |
  274|       |	/* adjust irnd to reflect partial underflow */
  275|       |
  276|      2|	*irnd = *irnd + nxres;
  277|       |
  278|       |	/* adjust for ieee-style machines */
  279|       |
  280|      2|	if (*irnd == 2 || *irnd == 5)
  ------------------
  |  Branch (280:6): [True: 0, False: 2]
  |  Branch (280:20): [True: 2, False: 0]
  ------------------
  281|      2|		*maxexp = *maxexp - 2;
  282|       |
  283|       |	/* adjust for non-ieee machines with partial underflow */
  284|       |
  285|      2|	if (*irnd == 3 || *irnd == 4)
  ------------------
  |  Branch (285:6): [True: 0, False: 2]
  |  Branch (285:20): [True: 0, False: 2]
  ------------------
  286|      0|		*maxexp = *maxexp - *it;
  287|       |
  288|       |	/* adjust for machines with implicit leading bit in binary */
  289|       |	/* significand, and machines with radix point at extreme */
  290|       |	/* right of significand. */
  291|       |
  292|      2|	i = *maxexp + *minexp;
  293|      2|	if (*ibeta == 2 && i == 0)
  ------------------
  |  Branch (293:6): [True: 2, False: 0]
  |  Branch (293:21): [True: 0, False: 2]
  ------------------
  294|      0|		*maxexp = *maxexp - 1;
  295|      2|	if (i > 20)
  ------------------
  |  Branch (295:6): [True: 0, False: 2]
  ------------------
  296|      0|		*maxexp = *maxexp - 1;
  297|      2|	if (a != y)
  ------------------
  |  Branch (297:6): [True: 0, False: 2]
  ------------------
  298|      0|		*maxexp = *maxexp - 2;
  299|      2|	*xmax = one - *epsneg;
  300|      2|	if (*xmax * one != *xmax)
  ------------------
  |  Branch (300:6): [True: 0, False: 2]
  ------------------
  301|      0|		*xmax = one - beta * *epsneg;
  302|      2|	*xmax = *xmax / (beta * beta * beta * *xmin);
  303|      2|	i = *maxexp + *minexp + 3;
  304|      2|	if (i>0)
  ------------------
  |  Branch (304:6): [True: 2, False: 0]
  ------------------
  305|     12|		for(j=1 ; j<=i ; j++) {
  ------------------
  |  Branch (305:13): [True: 10, False: 2]
  ------------------
  306|     10|			if (*ibeta == 2)
  ------------------
  |  Branch (306:8): [True: 10, False: 0]
  ------------------
  307|     10|				*xmax = *xmax + *xmax;
  308|     10|			if (*ibeta != 2)
  ------------------
  |  Branch (308:8): [True: 0, False: 10]
  ------------------
  309|      0|				*xmax = *xmax * beta;
  310|     10|		}
  311|      2|}
machine.c:machar_LD:
   98|      2|{
   99|      2|	volatile DTYPE a, b, beta, betain, betah, one,
  100|      2|		t, temp, tempa, temp1, two, y, z, zero;
  101|      2|	int i, iz, j, k, mx, nxres;
  102|       |
  103|      2|	one = 1;
  104|      2|	two = one+one;
  105|      2|	zero = one-one;
  106|       |
  107|       |		/* determine ibeta, beta ala malcolm. */
  108|      2|	a = one; // a = <large> = 9.0072e+15 for 'double' is used later
  109|    128|	do {
  110|    128|		a = a + a;
  111|    128|		temp = a + one;
  112|    128|		temp1 = temp - a;
  113|    128|	}
  114|    128|	while(temp1 - one == zero);
  ------------------
  |  Branch (114:8): [True: 126, False: 2]
  ------------------
  115|       |#ifdef _no_longer___did_overflow_ // on IBM PowerPPC ('Power 8')
  116|       |	int itemp;
  117|       |	b = one;
  118|       |	do {
  119|       |		b = b + b;
  120|       |		temp = a + b;
  121|       |		itemp = (int)(temp - a);
  122|       |	}
  123|       |	while (itemp == 0);
  124|       |	*ibeta = itemp;
  125|       |#else
  126|      2|	*ibeta = (int) FLT_RADIX;
  127|      2|#endif
  128|      2|	beta = *ibeta;
  129|       |
  130|       |		/* determine it, irnd */
  131|       |
  132|      2|	*it = 0;
  133|      2|	b = one;
  134|    128|	do {
  135|    128|		*it = *it + 1;
  136|    128|		b = b * beta;
  137|    128|		temp = b + one;
  138|    128|		temp1 = temp - b;
  139|    128|	}
  140|    128|	while(temp1 - one == zero);
  ------------------
  |  Branch (140:8): [True: 126, False: 2]
  ------------------
  141|      2|	*irnd = 0;
  142|      2|	betah = beta / two;
  143|      2|	temp = a + betah;
  144|      2|	if (temp - a != zero)
  ------------------
  |  Branch (144:6): [True: 0, False: 2]
  ------------------
  145|      0|		*irnd = 1;
  146|      2|	tempa = a + beta;
  147|      2|	temp = tempa + betah;
  148|      2|	if (*irnd == 0 && temp - tempa != zero)
  ------------------
  |  Branch (148:6): [True: 2, False: 0]
  |  Branch (148:20): [True: 2, False: 0]
  ------------------
  149|      2|		*irnd = 2;
  150|       |
  151|       |		/* determine negep, epsneg */
  152|       |
  153|      2|	*negep = *it + 3;
  154|      2|	betain = one / beta;
  155|      2|	a = one;
  156|    136|	for(i=1 ; i<=*negep ; i++)
  ------------------
  |  Branch (156:12): [True: 134, False: 2]
  ------------------
  157|    134|		a = a * betain;
  158|      2|	b = a;
  159|      8|	for(;;) {
  160|      8|		temp = one - a;
  161|      8|		if (temp - one != zero)
  ------------------
  |  Branch (161:7): [True: 2, False: 6]
  ------------------
  162|      2|			break;
  163|      6|		a = a * beta;
  164|      6|		*negep = *negep - 1;
  165|      6|	}
  166|      2|	*negep = -*negep;
  167|      2|	*epsneg = a;
  168|      2|	if (*ibeta != 2 && *irnd != 0) {
  ------------------
  |  Branch (168:6): [True: 0, False: 2]
  |  Branch (168:21): [True: 0, False: 0]
  ------------------
  169|      0|		a = (a * (one + a)) / two;
  170|      0|		temp = one - a;
  171|      0|		if (temp - one != zero)
  ------------------
  |  Branch (171:7): [True: 0, False: 0]
  ------------------
  172|      0|			*epsneg = a;
  173|      0|	}
  174|       |
  175|       |		/* determine machep, eps */
  176|       |
  177|      2|	*machep = -*it - 3;
  178|      2|	a = b;
  179|     10|	for(;;) {
  180|     10|		temp = one + a;
  181|     10|		if (temp - one != zero)
  ------------------
  |  Branch (181:7): [True: 2, False: 8]
  ------------------
  182|      2|			break;
  183|      8|		a = a * beta;
  184|      8|		*machep = *machep + 1;
  185|      8|	}
  186|      2|	*eps = a;
  187|      2|	temp = tempa + beta * (one + *eps);
  188|      2|	if (*ibeta != 2 && *irnd != 0) {
  ------------------
  |  Branch (188:6): [True: 0, False: 2]
  |  Branch (188:21): [True: 0, False: 0]
  ------------------
  189|      0|		a = (a * (one + a)) / two;
  190|      0|		temp = one + a;
  191|      0|		if (temp - one != zero)
  ------------------
  |  Branch (191:7): [True: 0, False: 0]
  ------------------
  192|      0|			*eps = a;
  193|      0|	}
  194|       |
  195|       |		/* determine ngrd */
  196|       |
  197|      2|	*ngrd = 0;
  198|      2|	temp = one + *eps;
  199|      2|	if (*irnd == 0 && temp * one - one != zero)
  ------------------
  |  Branch (199:6): [True: 0, False: 2]
  |  Branch (199:20): [True: 0, False: 0]
  ------------------
  200|      0|		*ngrd = 1;
  201|       |
  202|       |	/* determine iexp, minexp, xmin */
  203|       |
  204|       |	/* loop to determine largest i and k = 2**i such that */
  205|       |	/*        (1/beta) ** (2**(i)) */
  206|       |	/* does not underflow. */
  207|       |	/* exit from loop is signaled by an underflow. */
  208|       |
  209|      2|	i = 0;
  210|      2|	k = 1;
  211|      2|	z = betain;
  212|      2|	t = one + *eps;
  213|      2|	nxres = 0;
  214|     28|	for(;;) {
  215|     28|		y = z;
  216|     28|		z = y * y;
  217|       |
  218|       |		/* check for underflow here */
  219|       |
  220|     28|		a = z * one;
  221|     28|		temp = z * t;
  222|     28|		if (a+a == zero || ABS(z) >= y)
  ------------------
  |  |   45|     28|# define ABS fabsl
  ------------------
  |  Branch (222:7): [True: 0, False: 28]
  |  Branch (222:22): [True: 0, False: 28]
  ------------------
  223|      0|			break;
  224|     28|		temp1 = temp * betain;
  225|     28|		if (temp1 * beta == z)
  ------------------
  |  Branch (225:7): [True: 2, False: 26]
  ------------------
  226|      2|			break;
  227|     26|		i = i+1;
  228|     26|		k = k+k;
  229|     26|	}
  230|      2|	if (*ibeta != 10) {
  ------------------
  |  Branch (230:6): [True: 2, False: 0]
  ------------------
  231|      2|		*iexp = i + 1;
  232|      2|		mx = k + k;
  233|      2|	}
  234|      0|	else {
  235|       |		/* this segment is for decimal machines only */
  236|       |
  237|      0|		*iexp = 2;
  238|      0|		iz = *ibeta;
  239|      0|		while (k >= iz) {
  ------------------
  |  Branch (239:10): [True: 0, False: 0]
  ------------------
  240|      0|			iz = iz * *ibeta;
  241|      0|			iexp = iexp + 1;
  242|      0|		}
  243|      0|		mx = iz + iz - 1;
  244|      0|	}
  245|  16.3k|	do {
  246|       |		/* loop to determine minexp, xmin */
  247|       |		/* exit from loop is signaled by an underflow */
  248|       |
  249|  16.3k|		*xmin = y;
  250|  16.3k|		y = y * betain;
  251|       |
  252|       |		/* check for underflow here */
  253|       |
  254|  16.3k|		a = y * one;
  255|  16.3k|		temp = y * t;
  256|  16.3k|		if (a+a == zero || ABS(y) >= *xmin)
  ------------------
  |  |   45|  16.3k|# define ABS fabsl
  ------------------
  |  Branch (256:7): [True: 0, False: 16.3k]
  |  Branch (256:22): [True: 0, False: 16.3k]
  ------------------
  257|      0|			goto L10;
  258|  16.3k|		k = k + 1;
  259|  16.3k|		temp1 = temp * betain;
  260|  16.3k|	}
  261|  16.3k|	while(temp1 * beta != y);
  ------------------
  |  Branch (261:8): [True: 16.3k, False: 2]
  ------------------
  262|      2|	nxres = 3;
  263|      2|	*xmin = y;
  264|      2|L10:	*minexp = -k;
  265|       |
  266|       |	/* determine maxexp, xmax */
  267|       |
  268|      2|	if (mx <= k + k - 3 && *ibeta != 10) {
  ------------------
  |  Branch (268:6): [True: 2, False: 0]
  |  Branch (268:25): [True: 2, False: 0]
  ------------------
  269|      2|		mx = mx + mx;
  270|      2|		*iexp = *iexp + 1;
  271|      2|	}
  272|      2|	*maxexp = mx + *minexp;
  273|       |
  274|       |	/* adjust irnd to reflect partial underflow */
  275|       |
  276|      2|	*irnd = *irnd + nxres;
  277|       |
  278|       |	/* adjust for ieee-style machines */
  279|       |
  280|      2|	if (*irnd == 2 || *irnd == 5)
  ------------------
  |  Branch (280:6): [True: 0, False: 2]
  |  Branch (280:20): [True: 2, False: 0]
  ------------------
  281|      2|		*maxexp = *maxexp - 2;
  282|       |
  283|       |	/* adjust for non-ieee machines with partial underflow */
  284|       |
  285|      2|	if (*irnd == 3 || *irnd == 4)
  ------------------
  |  Branch (285:6): [True: 0, False: 2]
  |  Branch (285:20): [True: 0, False: 2]
  ------------------
  286|      0|		*maxexp = *maxexp - *it;
  287|       |
  288|       |	/* adjust for machines with implicit leading bit in binary */
  289|       |	/* significand, and machines with radix point at extreme */
  290|       |	/* right of significand. */
  291|       |
  292|      2|	i = *maxexp + *minexp;
  293|      2|	if (*ibeta == 2 && i == 0)
  ------------------
  |  Branch (293:6): [True: 2, False: 0]
  |  Branch (293:21): [True: 0, False: 2]
  ------------------
  294|      0|		*maxexp = *maxexp - 1;
  295|      2|	if (i > 20)
  ------------------
  |  Branch (295:6): [True: 0, False: 2]
  ------------------
  296|      0|		*maxexp = *maxexp - 1;
  297|      2|	if (a != y)
  ------------------
  |  Branch (297:6): [True: 0, False: 2]
  ------------------
  298|      0|		*maxexp = *maxexp - 2;
  299|      2|	*xmax = one - *epsneg;
  300|      2|	if (*xmax * one != *xmax)
  ------------------
  |  Branch (300:6): [True: 0, False: 2]
  ------------------
  301|      0|		*xmax = one - beta * *epsneg;
  302|      2|	*xmax = *xmax / (beta * beta * beta * *xmin);
  303|      2|	i = *maxexp + *minexp + 3;
  304|      2|	if (i>0)
  ------------------
  |  Branch (304:6): [True: 2, False: 0]
  ------------------
  305|     12|		for(j=1 ; j<=i ; j++) {
  ------------------
  |  Branch (305:13): [True: 10, False: 2]
  ------------------
  306|     10|			if (*ibeta == 2)
  ------------------
  |  Branch (306:8): [True: 10, False: 0]
  ------------------
  307|     10|				*xmax = *xmax + *xmax;
  308|     10|			if (*ibeta != 2)
  ------------------
  |  Branch (308:8): [True: 0, False: 10]
  ------------------
  309|      0|				*xmax = *xmax * beta;
  310|     10|		}
  311|      2|}

Init_R_Machine:
   61|      2|{
   62|      2|    machar(&R_AccuracyInfo.ibeta,
   63|      2|	   &R_AccuracyInfo.it,
   64|      2|	   &R_AccuracyInfo.irnd,
   65|      2|	   &R_AccuracyInfo.ngrd,
   66|      2|	   &R_AccuracyInfo.machep,
   67|      2|	   &R_AccuracyInfo.negep,
   68|      2|	   &R_AccuracyInfo.iexp,
   69|      2|	   &R_AccuracyInfo.minexp,
   70|      2|	   &R_AccuracyInfo.maxexp,
   71|      2|	   &R_AccuracyInfo.eps,
   72|      2|	   &R_AccuracyInfo.epsneg,
   73|      2|	   &R_AccuracyInfo.xmin,
   74|      2|	   &R_AccuracyInfo.xmax);
   75|       |
   76|      2|    R_dec_min_exponent = (int) floor(log10(R_AccuracyInfo.xmin)); /* smallest decimal exponent */
   77|       |
   78|       |    /*
   79|       |#ifdef HAVE_LONG_DOUBLE
   80|       |# define MACH_SIZE 18+10
   81|       |#else
   82|       |# define MACH_SIZE 18
   83|       |#endif
   84|       |    */
   85|      2|    int MACH_SIZE = 19;
   86|      2|    if (sizeof(LDOUBLE) > sizeof(double)) MACH_SIZE += 10;
  ------------------
  |  Branch (86:9): [True: 2, Folded]
  ------------------
   87|       |    
   88|      2|    SEXP ans = PROTECT(allocVector(VECSXP, MACH_SIZE)),
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
   89|      2|	 nms = PROTECT(allocVector(STRSXP, MACH_SIZE));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
   90|       |
   91|      2|    SET_STRING_ELT(nms, 0, mkChar("double.eps"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
   92|      2|    SET_VECTOR_ELT(ans, 0, ScalarReal(R_AccuracyInfo.eps));
  ------------------
  |  | 1024|      2|#define ScalarReal		Rf_ScalarReal
  ------------------
   93|       |
   94|      2|    SET_STRING_ELT(nms, 1, mkChar("double.neg.eps"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
   95|      2|    SET_VECTOR_ELT(ans, 1, ScalarReal(R_AccuracyInfo.epsneg));
  ------------------
  |  | 1024|      2|#define ScalarReal		Rf_ScalarReal
  ------------------
   96|       |
   97|      2|    SET_STRING_ELT(nms, 2, mkChar("double.xmin"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
   98|      2|    SET_VECTOR_ELT(ans, 2, ScalarReal(R_AccuracyInfo.xmin));
  ------------------
  |  | 1024|      2|#define ScalarReal		Rf_ScalarReal
  ------------------
   99|       |
  100|      2|    SET_STRING_ELT(nms, 3, mkChar("double.xmax"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
  101|      2|    SET_VECTOR_ELT(ans, 3, ScalarReal(R_AccuracyInfo.xmax));
  ------------------
  |  | 1024|      2|#define ScalarReal		Rf_ScalarReal
  ------------------
  102|       |
  103|      2|    SET_STRING_ELT(nms, 4, mkChar("double.base"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
  104|      2|    SET_VECTOR_ELT(ans, 4, ScalarInteger(R_AccuracyInfo.ibeta));
  ------------------
  |  | 1022|      2|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  105|       |
  106|      2|    SET_STRING_ELT(nms, 5, mkChar("double.digits"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
  107|      2|    SET_VECTOR_ELT(ans, 5, ScalarInteger(R_AccuracyInfo.it));
  ------------------
  |  | 1022|      2|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  108|       |
  109|      2|    SET_STRING_ELT(nms, 6, mkChar("double.rounding"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
  110|      2|    SET_VECTOR_ELT(ans, 6, ScalarInteger(R_AccuracyInfo.irnd));
  ------------------
  |  | 1022|      2|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  111|       |
  112|      2|    SET_STRING_ELT(nms, 7, mkChar("double.guard"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
  113|      2|    SET_VECTOR_ELT(ans, 7, ScalarInteger(R_AccuracyInfo.ngrd));
  ------------------
  |  | 1022|      2|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  114|       |
  115|      2|    SET_STRING_ELT(nms, 8, mkChar("double.ulp.digits"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
  116|      2|    SET_VECTOR_ELT(ans, 8, ScalarInteger(R_AccuracyInfo.machep));
  ------------------
  |  | 1022|      2|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  117|       |
  118|      2|    SET_STRING_ELT(nms, 9, mkChar("double.neg.ulp.digits"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
  119|      2|    SET_VECTOR_ELT(ans, 9, ScalarInteger(R_AccuracyInfo.negep));
  ------------------
  |  | 1022|      2|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  120|       |
  121|      2|    SET_STRING_ELT(nms, 10, mkChar("double.exponent"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
  122|      2|    SET_VECTOR_ELT(ans, 10, ScalarInteger(R_AccuracyInfo.iexp));
  ------------------
  |  | 1022|      2|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  123|       |
  124|      2|    SET_STRING_ELT(nms, 11, mkChar("double.min.exp"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
  125|      2|    SET_VECTOR_ELT(ans, 11, ScalarInteger(R_AccuracyInfo.minexp));
  ------------------
  |  | 1022|      2|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  126|       |
  127|      2|    SET_STRING_ELT(nms, 12, mkChar("double.max.exp"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
  128|      2|    SET_VECTOR_ELT(ans, 12, ScalarInteger(R_AccuracyInfo.maxexp));
  ------------------
  |  | 1022|      2|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  129|       |
  130|      2|    SET_STRING_ELT(nms, 13, mkChar("integer.max"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
  131|      2|    SET_VECTOR_ELT(ans, 13, ScalarInteger(INT_MAX));
  ------------------
  |  | 1022|      2|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  132|       |
  133|      2|    SET_STRING_ELT(nms, 14, mkChar("sizeof.long"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
  134|      2|    SET_VECTOR_ELT(ans, 14, ScalarInteger(SIZEOF_LONG));
  ------------------
  |  | 1022|      2|#define ScalarInteger		Rf_ScalarInteger
  ------------------
                  SET_VECTOR_ELT(ans, 14, ScalarInteger(SIZEOF_LONG));
  ------------------
  |  | 1125|      2|#define SIZEOF_LONG 8
  ------------------
  135|       |
  136|      2|    SET_STRING_ELT(nms, 15, mkChar("sizeof.longlong"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
  137|      2|    SET_VECTOR_ELT(ans, 15, ScalarInteger(SIZEOF_LONG_LONG));
  ------------------
  |  | 1022|      2|#define ScalarInteger		Rf_ScalarInteger
  ------------------
                  SET_VECTOR_ELT(ans, 15, ScalarInteger(SIZEOF_LONG_LONG));
  ------------------
  |  | 1131|      2|#define SIZEOF_LONG_LONG 8
  ------------------
  138|       |
  139|      2|    SET_STRING_ELT(nms, 16, mkChar("sizeof.longdouble"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
  140|      2|#ifdef HAVE_LONG_DOUBLE
  141|      2|    SET_VECTOR_ELT(ans, 16, ScalarInteger(SIZEOF_LONG_DOUBLE));
  ------------------
  |  | 1022|      2|#define ScalarInteger		Rf_ScalarInteger
  ------------------
                  SET_VECTOR_ELT(ans, 16, ScalarInteger(SIZEOF_LONG_DOUBLE));
  ------------------
  |  | 1128|      2|#define SIZEOF_LONG_DOUBLE 16
  ------------------
  142|       |#else
  143|       |    SET_VECTOR_ELT(ans, 16, ScalarInteger(0));
  144|       |#endif
  145|       |
  146|      2|    SET_STRING_ELT(nms, 17, mkChar("sizeof.pointer"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
  147|      2|    SET_VECTOR_ELT(ans, 17, ScalarInteger(sizeof(SEXP)));
  ------------------
  |  | 1022|      2|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  148|       |
  149|      2|    SET_STRING_ELT(nms, 18, mkChar("sizeof.time_t"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
  150|       |#ifdef  USE_INTERNAL_MKTIME
  151|       |    SET_VECTOR_ELT(ans, 18, ScalarInteger(sizeof(R_time_t)));
  152|       |#else
  153|      2|    SET_VECTOR_ELT(ans, 18, ScalarInteger(sizeof(time_t)));
  ------------------
  |  | 1022|      2|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  154|      2|#endif
  155|       |/* This used to be just
  156|       |#ifdef HAVE_LONG_DOUBLE
  157|       |   but platforms can have the type and it be identical to double
  158|       |   (as on ARM).  So do the same as capabilities("long.double")
  159|       |*/
  160|      2|#ifdef HAVE_LONG_DOUBLE
  161|      2|    if (sizeof(LDOUBLE) > sizeof(double)) {
  ------------------
  |  Branch (161:9): [True: 2, Folded]
  ------------------
  162|      2|	static struct {
  163|      2|	    int ibeta, it, irnd, ngrd, machep, negep, iexp, minexp, maxexp;
  164|      2|	    long double eps, epsneg, xmin, xmax;
  165|      2|	} R_LD_AccuracyInfo;
  166|       |	
  167|      2|	machar_LD(&R_LD_AccuracyInfo.ibeta,
  168|      2|		  &R_LD_AccuracyInfo.it,
  169|      2|		  &R_LD_AccuracyInfo.irnd,
  170|      2|		  &R_LD_AccuracyInfo.ngrd,
  171|      2|		  &R_LD_AccuracyInfo.machep,
  172|      2|		  &R_LD_AccuracyInfo.negep,
  173|      2|		  &R_LD_AccuracyInfo.iexp,
  174|      2|		  &R_LD_AccuracyInfo.minexp,
  175|      2|		  &R_LD_AccuracyInfo.maxexp,
  176|      2|		  &R_LD_AccuracyInfo.eps,
  177|      2|		  &R_LD_AccuracyInfo.epsneg,
  178|      2|		  &R_LD_AccuracyInfo.xmin,
  179|      2|		  &R_LD_AccuracyInfo.xmax);
  180|      2|#define PT1 19
  181|      2|	SET_STRING_ELT(nms, PT1+0, mkChar("longdouble.eps"));
  ------------------
  |  |  180|      2|#define PT1 19
  ------------------
              	SET_STRING_ELT(nms, PT1+0, mkChar("longdouble.eps"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
  182|      2|	SET_VECTOR_ELT(ans, PT1+0, ScalarReal((double) R_LD_AccuracyInfo.eps));
  ------------------
  |  |  180|      2|#define PT1 19
  ------------------
              	SET_VECTOR_ELT(ans, PT1+0, ScalarReal((double) R_LD_AccuracyInfo.eps));
  ------------------
  |  | 1024|      2|#define ScalarReal		Rf_ScalarReal
  ------------------
  183|       |
  184|      2|	SET_STRING_ELT(nms, PT1+1, mkChar("longdouble.neg.eps"));
  ------------------
  |  |  180|      2|#define PT1 19
  ------------------
              	SET_STRING_ELT(nms, PT1+1, mkChar("longdouble.neg.eps"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
  185|      2|	SET_VECTOR_ELT(ans, PT1+1, ScalarReal((double) R_LD_AccuracyInfo.epsneg));
  ------------------
  |  |  180|      2|#define PT1 19
  ------------------
              	SET_VECTOR_ELT(ans, PT1+1, ScalarReal((double) R_LD_AccuracyInfo.epsneg));
  ------------------
  |  | 1024|      2|#define ScalarReal		Rf_ScalarReal
  ------------------
  186|      2|	SET_STRING_ELT(nms, PT1+2, mkChar("longdouble.digits"));
  ------------------
  |  |  180|      2|#define PT1 19
  ------------------
              	SET_STRING_ELT(nms, PT1+2, mkChar("longdouble.digits"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
  187|      2|	SET_VECTOR_ELT(ans, PT1+2, ScalarInteger(R_LD_AccuracyInfo.it));
  ------------------
  |  |  180|      2|#define PT1 19
  ------------------
              	SET_VECTOR_ELT(ans, PT1+2, ScalarInteger(R_LD_AccuracyInfo.it));
  ------------------
  |  | 1022|      2|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  188|       |
  189|      2|	SET_STRING_ELT(nms, PT1+3, mkChar("longdouble.rounding"));
  ------------------
  |  |  180|      2|#define PT1 19
  ------------------
              	SET_STRING_ELT(nms, PT1+3, mkChar("longdouble.rounding"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
  190|      2|	SET_VECTOR_ELT(ans, PT1+3, ScalarInteger(R_LD_AccuracyInfo.irnd));
  ------------------
  |  |  180|      2|#define PT1 19
  ------------------
              	SET_VECTOR_ELT(ans, PT1+3, ScalarInteger(R_LD_AccuracyInfo.irnd));
  ------------------
  |  | 1022|      2|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  191|       |
  192|      2|	SET_STRING_ELT(nms, PT1+4, mkChar("longdouble.guard"));
  ------------------
  |  |  180|      2|#define PT1 19
  ------------------
              	SET_STRING_ELT(nms, PT1+4, mkChar("longdouble.guard"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
  193|      2|	SET_VECTOR_ELT(ans, PT1+4, ScalarInteger(R_LD_AccuracyInfo.ngrd));
  ------------------
  |  |  180|      2|#define PT1 19
  ------------------
              	SET_VECTOR_ELT(ans, PT1+4, ScalarInteger(R_LD_AccuracyInfo.ngrd));
  ------------------
  |  | 1022|      2|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  194|       |
  195|      2|	SET_STRING_ELT(nms, PT1+5, mkChar("longdouble.ulp.digits"));
  ------------------
  |  |  180|      2|#define PT1 19
  ------------------
              	SET_STRING_ELT(nms, PT1+5, mkChar("longdouble.ulp.digits"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
  196|      2|	SET_VECTOR_ELT(ans, PT1+5, ScalarInteger(R_LD_AccuracyInfo.machep));
  ------------------
  |  |  180|      2|#define PT1 19
  ------------------
              	SET_VECTOR_ELT(ans, PT1+5, ScalarInteger(R_LD_AccuracyInfo.machep));
  ------------------
  |  | 1022|      2|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  197|       |
  198|      2|	SET_STRING_ELT(nms, PT1+6, mkChar("longdouble.neg.ulp.digits"));
  ------------------
  |  |  180|      2|#define PT1 19
  ------------------
              	SET_STRING_ELT(nms, PT1+6, mkChar("longdouble.neg.ulp.digits"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
  199|      2|	SET_VECTOR_ELT(ans, PT1+6, ScalarInteger(R_LD_AccuracyInfo.negep));
  ------------------
  |  |  180|      2|#define PT1 19
  ------------------
              	SET_VECTOR_ELT(ans, PT1+6, ScalarInteger(R_LD_AccuracyInfo.negep));
  ------------------
  |  | 1022|      2|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  200|       |
  201|      2|	SET_STRING_ELT(nms, PT1+7, mkChar("longdouble.exponent"));
  ------------------
  |  |  180|      2|#define PT1 19
  ------------------
              	SET_STRING_ELT(nms, PT1+7, mkChar("longdouble.exponent"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
  202|      2|	SET_VECTOR_ELT(ans, PT1+7, ScalarInteger(R_LD_AccuracyInfo.iexp));
  ------------------
  |  |  180|      2|#define PT1 19
  ------------------
              	SET_VECTOR_ELT(ans, PT1+7, ScalarInteger(R_LD_AccuracyInfo.iexp));
  ------------------
  |  | 1022|      2|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  203|       |
  204|      2|	SET_STRING_ELT(nms, PT1+8, mkChar("longdouble.min.exp"));
  ------------------
  |  |  180|      2|#define PT1 19
  ------------------
              	SET_STRING_ELT(nms, PT1+8, mkChar("longdouble.min.exp"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
  205|      2|	SET_VECTOR_ELT(ans, PT1+8, ScalarInteger(R_LD_AccuracyInfo.minexp));
  ------------------
  |  |  180|      2|#define PT1 19
  ------------------
              	SET_VECTOR_ELT(ans, PT1+8, ScalarInteger(R_LD_AccuracyInfo.minexp));
  ------------------
  |  | 1022|      2|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  206|       |
  207|      2|	SET_STRING_ELT(nms, PT1+9, mkChar("longdouble.max.exp"));
  ------------------
  |  |  180|      2|#define PT1 19
  ------------------
              	SET_STRING_ELT(nms, PT1+9, mkChar("longdouble.max.exp"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
  208|      2|	SET_VECTOR_ELT(ans, PT1+9, ScalarInteger(R_LD_AccuracyInfo.maxexp));
  ------------------
  |  |  180|      2|#define PT1 19
  ------------------
              	SET_VECTOR_ELT(ans, PT1+9, ScalarInteger(R_LD_AccuracyInfo.maxexp));
  ------------------
  |  | 1022|      2|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  209|       |
  210|      2|    }
  211|      2|#endif
  212|       |
  213|      2|    setAttrib(ans, R_NamesSymbol, nms);
  ------------------
  |  | 1027|      2|#define setAttrib		Rf_setAttrib
  ------------------
  214|      2|    defineVar(install(".Machine"), ans, rho);
  ------------------
  |  |  905|      2|#define defineVar		Rf_defineVar
  ------------------
                  defineVar(install(".Machine"), ans, rho);
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  215|      2|    UNPROTECT(2);
  ------------------
  |  |  358|      2|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  216|      2|}

Rf_BindDomain:
  740|      2|{
  741|      2|#ifdef ENABLE_NLS
  742|      2|    char *localedir = NULL;
  743|      2|# if defined(LC_MESSAGES) && !defined(Win32)
  744|      2|    setlocale(LC_MESSAGES,"");
  745|      2|# endif
  746|      2|    textdomain(PACKAGE);
  ------------------
  |  | 1054|      2|#define PACKAGE "R"
  ------------------
  747|      2|    char *p = getenv("R_TRANSLATIONS");
  748|      2|    if (p) Rasprintf_malloc(&localedir, "%s", p);
  ------------------
  |  Branch (748:9): [True: 0, False: 2]
  ------------------
  749|      2|    else Rasprintf_malloc(&localedir, "%s/library/translations", R_Home);
  750|      2|    if (!localedir)
  ------------------
  |  Branch (750:9): [True: 0, False: 2]
  ------------------
  751|      0|	R_Suicide("allocation failure in BindDomain");
  752|      2|    bindtextdomain(PACKAGE, localedir); // PACKAGE = DOMAIN = "R"
  ------------------
  |  | 1054|      2|#define PACKAGE "R"
  ------------------
  753|      2|    bindtextdomain("R-base", localedir);
  754|       |# ifdef _WIN32
  755|       |    bindtextdomain("RGui", localedir);
  756|       |# endif
  757|      2|    free(localedir);
  758|      2|#endif
  759|      2|}
setup_Rmainloop:
  823|      2|{
  824|      2|    volatile int doneit;
  825|      2|    volatile SEXP baseNSenv;
  826|      2|    SEXP cmd;
  827|      2|    char deferred_warnings[12][250];
  828|      2|    volatile int ndeferred_warnings = 0;
  829|       |
  830|       |#ifdef Win32
  831|       |    {
  832|       |	char *p = getenv("_R_WIN_CHECK_INVALID_PARAMETERS_");
  833|       |	if (p && StringTrue(p))
  834|       |	    _set_invalid_parameter_handler(invalid_parameter_handler_abort);
  835|       |	else if (p && !strcmp(p, "watson"))
  836|       |	    _set_invalid_parameter_handler(invalid_parameter_handler_watson);
  837|       |    }
  838|       |#endif
  839|       |
  840|       |#ifdef DEBUG_STACK_DETECTION
  841|       |    /* testing stack base and size detection */
  842|       |    printf("stack limit %lu, start %lu dir %d \n",
  843|       |	(unsigned long) R_CStackLimit,
  844|       |        (unsigned long) R_CStackStart,
  845|       |	R_CStackDir);
  846|       |    uintptr_t firstb = R_CStackStart - R_CStackDir;
  847|       |    printf("first accessible byte %lx\n", (unsigned long) firstb);
  848|       |    if (R_CStackLimit != (uintptr_t)(-1)) {
  849|       |        uintptr_t lastb = R_CStackStart - R_CStackDir * R_CStackLimit;
  850|       |	printf("last accessible byte %lx\n", (unsigned long) lastb);
  851|       |    }
  852|       |    printf("accessing first byte...\n");
  853|       |    volatile char dummy = *(char *)firstb;
  854|       |    if (R_CStackLimit != (uintptr_t)(-1)) {
  855|       |	/* have to access all bytes in order to map stack, e.g. on Linux
  856|       |	   just reading does not seem to always do the job, so better
  857|       |	   first almost fill up the stack using recursive function calls
  858|       |	 */
  859|       |	printf("almost filling up stack...\n");
  860|       |	printf("filled stack up to %lx\n", almostFillStack());
  861|       |	/* the loop below writes outside the local variables and the frame,
  862|       |	   which is detected e.g. by ASAN as stack-buffer-overflow */
  863|       |	printf("accessing all bytes...\n");
  864|       |	for(uintptr_t o = 0; o < R_CStackLimit; o++)
  865|       |	    /* with exact bounds, o==-1 and o==R_CStackLimit will segfault */
  866|       |	    /* +dummy to silence -Wunused-but-set-variable */
  867|       |	    dummy = *((char *)firstb - R_CStackDir * o) + dummy;
  868|       |    }
  869|       |#endif
  870|       |
  871|       |    /* In case this is a silly limit: 2^32 -3 has been seen and
  872|       |     * casting to intptr_r relies on this being smaller than 2^31 on a
  873|       |     * 32-bit platform. */
  874|      2|    if(R_CStackLimit > 100000000U)
  ------------------
  |  Branch (874:8): [True: 2, False: 0]
  ------------------
  875|      2|	R_CStackLimit = (uintptr_t)-1;
  876|       |    /* make sure we have enough head room to handle errors */
  877|      2|    if(R_CStackLimit != -1)
  ------------------
  |  Branch (877:8): [True: 0, False: 2]
  ------------------
  878|      0|	R_CStackLimit = (uintptr_t)(0.95 * R_CStackLimit);
  879|       |
  880|      2|    InitConnections(); /* needed to get any output at all */
  ------------------
  |  | 1916|      2|# define InitConnections	Rf_InitConnections
  ------------------
  881|       |
  882|       |    /* Initialize the interpreter's internal structures. */
  883|       |
  884|      2|#ifdef HAVE_LOCALE_H
  885|       |#ifdef Win32
  886|       |    {
  887|       |	char allbuf[1000]; /* Windows' locales can be very long */
  888|       |	char *p, *lcall;
  889|       |
  890|       |	p = getenv("LC_ALL");
  891|       |	if(p) {
  892|       |	    strncpy(allbuf, p, sizeof(allbuf));
  893|       |	    allbuf[1000 - 1] = '\0';
  894|       |	    lcall = allbuf;
  895|       |	} else
  896|       |	    lcall = NULL;
  897|       |
  898|       |	/* We'd like to use warning, but need to defer.
  899|       |	   Also cannot translate. */
  900|       |
  901|       |	p = lcall ? lcall : getenv("LC_COLLATE");
  902|       |	if(!setlocale(LC_COLLATE, p ? p : ""))
  903|       |	    snprintf(deferred_warnings[ndeferred_warnings++], 250,
  904|       |		     "Setting LC_COLLATE=%.200s failed\n", p);
  905|       |
  906|       |	p = lcall ? lcall : getenv("LC_CTYPE");
  907|       |	if(!setlocale(LC_CTYPE, p ? p : ""))
  908|       |	    snprintf(deferred_warnings[ndeferred_warnings++], 250,
  909|       |		     "Setting LC_CTYPE=%.200s failed\n", p);
  910|       |
  911|       |	p = lcall ? lcall : getenv("LC_MONETARY");
  912|       |	if(!setlocale(LC_MONETARY, p ? p : ""))
  913|       |	    snprintf(deferred_warnings[ndeferred_warnings++], 250,
  914|       |		     "Setting LC_MONETARY=%.200s failed\n", p);
  915|       |
  916|       |	p = lcall ? lcall : getenv("LC_TIME");
  917|       |	if(!setlocale(LC_TIME, p ? p : ""))
  918|       |	    snprintf(deferred_warnings[ndeferred_warnings++], 250,
  919|       |		     "Setting LC_TIME=%.200s failed\n", p);
  920|       |
  921|       |	/* We set R_ARCH here: Unix does it in the shell front-end */
  922|       |	char Rarch[30];
  923|       |	strcpy(Rarch, "R_ARCH=");
  924|       |# ifdef R_ARCH
  925|       |	if (strlen(R_ARCH) > 0) {
  926|       |	    strcat(Rarch, "/");
  927|       |	    strcat(Rarch, R_ARCH);
  928|       |	}
  929|       |# endif
  930|       |	putenv(Rarch);
  931|       |    }
  932|       |#else /* not Win32 */
  933|       |
  934|      2|{  /* Avoid annoying warnings if LANG and LC_ALL are unset or empty.
  935|       |      This happens e.g. on Mac when primary language clash with region,
  936|       |      like English in Denmark or Germany.
  937|       |
  938|       |      If LANG or LC_ALL has been set to a non-existing locale, we assume
  939|       |      that the user wants to ne informed. */
  940|       |
  941|      2|    const char *s;
  942|      2|    int quiet;
  943|       |
  944|      2|    quiet = !( ((s = getenv("LANG")) && *s) || ((s = getenv("LC_ALL")) && *s) );
  ------------------
  |  Branch (944:17): [True: 0, False: 2]
  |  Branch (944:41): [True: 0, False: 0]
  |  Branch (944:49): [True: 0, False: 2]
  |  Branch (944:75): [True: 0, False: 0]
  ------------------
  945|       |
  946|      2|    if(!setlocale(LC_CTYPE, "") && !quiet)
  ------------------
  |  Branch (946:8): [True: 0, False: 2]
  |  Branch (946:36): [True: 0, False: 0]
  ------------------
  947|      0|	snprintf(deferred_warnings[ndeferred_warnings++], 250,
  948|       |
  949|      0|		 "Setting LC_CTYPE failed, using \"C\"\n");
  950|      2|    if(!setlocale(LC_COLLATE, "") && !quiet)
  ------------------
  |  Branch (950:8): [True: 0, False: 2]
  |  Branch (950:38): [True: 0, False: 0]
  ------------------
  951|      0|	snprintf(deferred_warnings[ndeferred_warnings++], 250,
  952|      0|		 "Setting LC_COLLATE failed, using \"C\"\n");
  953|      2|    if(!setlocale(LC_TIME, "") && !quiet)
  ------------------
  |  Branch (953:8): [True: 0, False: 2]
  |  Branch (953:35): [True: 0, False: 0]
  ------------------
  954|      0|	snprintf(deferred_warnings[ndeferred_warnings++], 250,
  955|      0|		 "Setting LC_TIME failed, using \"C\"\n");
  956|      2|# if defined(ENABLE_NLS) && defined(LC_MESSAGES)
  957|      2|    if(!setlocale(LC_MESSAGES, "") && !quiet)
  ------------------
  |  Branch (957:8): [True: 0, False: 2]
  |  Branch (957:39): [True: 0, False: 0]
  ------------------
  958|      0|	snprintf(deferred_warnings[ndeferred_warnings++], 250,
  959|      0|		 "Setting LC_MESSAGES failed, using \"C\"\n");
  960|      2|# endif
  961|       |    /* NB: we do not set LC_NUMERIC */
  962|      2|# ifdef LC_MONETARY
  963|      2|    if(!setlocale(LC_MONETARY, "") && !quiet)
  ------------------
  |  Branch (963:8): [True: 0, False: 2]
  |  Branch (963:39): [True: 0, False: 0]
  ------------------
  964|      0|	snprintf(deferred_warnings[ndeferred_warnings++], 250,
  965|      0|		 "Setting LC_MONETARY failed, using \"C\"\n");
  966|      2|# endif
  967|      2|# ifdef LC_PAPER
  968|      2|    if(!setlocale(LC_PAPER, "") && !quiet)
  ------------------
  |  Branch (968:8): [True: 0, False: 2]
  |  Branch (968:36): [True: 0, False: 0]
  ------------------
  969|      0|	snprintf(deferred_warnings[ndeferred_warnings++], 250,
  970|      0|		 "Setting LC_PAPER failed, using \"C\"\n");
  971|      2|# endif
  972|      2|# ifdef LC_MEASUREMENT
  973|      2|    if(!setlocale(LC_MEASUREMENT, "") && !quiet)
  ------------------
  |  Branch (973:8): [True: 0, False: 2]
  |  Branch (973:42): [True: 0, False: 0]
  ------------------
  974|      0|	snprintf(deferred_warnings[ndeferred_warnings++], 250,
  975|      0|		 "Setting LC_MEASUREMENT failed, using \"C\"\n");
  976|      2|# endif
  977|      2|}
  978|      2|#endif /* not Win32 */
  979|      2|#endif
  980|       |
  981|       |    /* make sure srand is called before R_tmpnam, PR#14381 */
  982|      2|    srand(TimeToSeed());
  ------------------
  |  | 2002|      2|# define TimeToSeed		Rf_TimeToSeed
  ------------------
  983|       |
  984|      2|    InitArithmetic();
  ------------------
  |  | 1915|      2|# define InitArithmetic		Rf_InitArithmetic
  ------------------
  985|      2|    InitTempDir(); /* must be before InitEd */
  ------------------
  |  | 1927|      2|# define InitTempDir		Rf_InitTempDir
  ------------------
  986|      2|    InitMemory();
  ------------------
  |  | 1922|      2|# define InitMemory		Rf_InitMemory
  ------------------
  987|      2|    InitStringHash(); /* must be before InitNames */
  ------------------
  |  | 1925|      2|# define InitStringHash		Rf_InitStringHash
  ------------------
  988|      2|    InitBaseEnv();
  ------------------
  |  | 1919|      2|# define InitBaseEnv		Rf_InitBaseEnv
  ------------------
  989|      2|    InitNames(); /* must be after InitBaseEnv to use R_EmptyEnv */
  ------------------
  |  | 1923|      2|# define InitNames		Rf_InitNames
  ------------------
  990|      2|    InitParser();  /* must be after InitMemory, InitNames */
  991|      2|    InitGlobalEnv();
  ------------------
  |  | 1920|      2|# define InitGlobalEnv		Rf_InitGlobalEnv
  ------------------
  992|      2|    InitDynload();
  993|      2|    InitOptions();
  ------------------
  |  | 1924|      2|# define InitOptions		Rf_InitOptions
  ------------------
  994|      2|    InitEd();
  ------------------
  |  | 1917|      2|# define InitEd			Rf_InitEd
  ------------------
  995|      2|    InitGraphics();
  ------------------
  |  | 1921|      2|# define InitGraphics		Rf_InitGraphics
  ------------------
  996|      2|    InitTypeTables(); /* must be before InitS3DefaultTypes */
  ------------------
  |  | 1928|      2|# define InitTypeTables		Rf_InitTypeTables
  ------------------
  997|      2|    InitS3DefaultTypes();
  ------------------
  |  | 1926|      2|# define InitS3DefaultTypes	Rf_InitS3DefaultTypes
  ------------------
  998|      2|    PrintDefaults();
  ------------------
  |  | 1975|      2|# define PrintDefaults		Rf_PrintDefaults
  ------------------
  999|      2|    R_InitConditions();
 1000|       |
 1001|      2|    R_Is_Running = 1;
 1002|      2|    R_check_locale();
 1003|       |#ifdef Win32
 1004|       |    if (localeCP && systemCP != localeCP)
 1005|       |        /* For now, don't warn for localeCP == 0, but it can cause problems
 1006|       |           as well. Keep in step with do_setlocale. */
 1007|       |	snprintf(deferred_warnings[ndeferred_warnings++], 250,
 1008|       |	          "Using locale code page other than %d%s may cause problems.",
 1009|       |	          systemCP, systemCP == 65001 ? " (\"UTF-8\")" : "");
 1010|       |#endif
 1011|       |    /* Initialize the global context for error handling. */
 1012|       |    /* This provides a target for any non-local gotos */
 1013|       |    /* which occur during error handling */
 1014|       |
 1015|      2|    R_Toplevel.nextcontext = NULL;
 1016|      2|    R_Toplevel.callflag = CTXT_TOPLEVEL;
 1017|      2|    R_Toplevel.cstacktop = 0;
 1018|      2|    R_Toplevel.gcenabled = R_GCEnabled;
 1019|      2|    R_Toplevel.promargs = R_NilValue;
 1020|      2|    R_Toplevel.callfun = R_NilValue;
 1021|      2|    R_Toplevel.call = R_NilValue;
 1022|      2|    R_Toplevel.cloenv = R_BaseEnv;
 1023|      2|    R_Toplevel.sysparent = R_BaseEnv;
 1024|      2|    R_Toplevel.conexit = R_NilValue;
 1025|      2|    R_Toplevel.vmax = NULL;
 1026|      2|    R_Toplevel.nodestack = R_BCNodeStackTop;
 1027|      2|    R_Toplevel.bcprottop = R_BCProtTop;
 1028|      2|    R_Toplevel.cend = NULL;
 1029|      2|    R_Toplevel.cenddata = NULL;
 1030|      2|    R_Toplevel.intsusp = FALSE;
 1031|      2|    R_Toplevel.handlerstack = R_HandlerStack;
 1032|      2|    R_Toplevel.restartstack = R_RestartStack;
 1033|      2|    R_Toplevel.srcref = R_NilValue;
 1034|      2|    R_Toplevel.prstack = NULL;
 1035|      2|    R_Toplevel.returnValue = SEXP_TO_STACKVAL(NULL);
  ------------------
  |  | 2603|      2|#define SEXP_TO_STACKVAL(x) ((R_bcstack_t) { .tag = 0, .u.sxpval = (x) })
  ------------------
 1036|      2|    R_Toplevel.evaldepth = 0;
 1037|      2|    R_Toplevel.browserfinish = 0;
 1038|      2|    R_GlobalContext = R_ToplevelContext = R_SessionContext = &R_Toplevel;
 1039|      2|    R_ExitContext = NULL;
 1040|       |
 1041|      2|    R_Warnings = R_NilValue;
 1042|       |
 1043|       |    /* This is the same as R_BaseEnv, but this marks the environment
 1044|       |       of functions as the namespace and not the package. */
 1045|      2|    baseNSenv = R_BaseNamespace;
 1046|       |
 1047|       |    /* Set up some global variables */
 1048|      2|    Init_R_Variables(baseNSenv);
 1049|       |
 1050|       |    /* On initial entry we open the base language package and begin by
 1051|       |       running the repl on it.
 1052|       |       If there is an error we pass on to the repl.
 1053|       |       Perhaps it makes more sense to quit gracefully?
 1054|       |    */
 1055|       |
 1056|       |#ifdef RMIN_ONLY
 1057|       |    /* This is intended to support a minimal build for experimentation. */
 1058|       |    if (R_SignalHandlers) init_signal_handlers();
 1059|       |#else
 1060|      2|    FILE *fp = R_OpenLibraryFile("base");
 1061|      2|    if (fp == NULL)
  ------------------
  |  Branch (1061:9): [True: 0, False: 2]
  ------------------
 1062|      0|	R_Suicide(_("unable to open the base package\n"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1063|       |
 1064|      2|    doneit = 0;
 1065|      2|    if (SETJMP(R_Toplevel.cjmpbuf))
  ------------------
  |  | 1162|      2|# define SETJMP(x) sigsetjmp(x,0)
  ------------------
  |  Branch (1065:9): [True: 0, False: 2]
  ------------------
 1066|      0|	check_session_exit();
 1067|      2|    R_GlobalContext = R_ToplevelContext = R_SessionContext = &R_Toplevel;
 1068|      2|    if (R_SignalHandlers) init_signal_handlers();
  ------------------
  |  Branch (1068:9): [True: 0, False: 2]
  ------------------
 1069|      2|    if (!doneit) {
  ------------------
  |  Branch (1069:9): [True: 2, False: 0]
  ------------------
 1070|      2|	doneit = 1;
 1071|      2|	R_ReplFile(fp, baseNSenv);
 1072|      2|    }
 1073|      2|    fclose(fp);
 1074|      2|#endif
 1075|       |
 1076|       |    /* This is where we source the system-wide, the site's and the
 1077|       |       user's profile (in that order).  If there is an error, we
 1078|       |       drop through to further processing.
 1079|       |    */
 1080|      2|    R_IoBufferInit(&R_ConsoleIob);
 1081|      2|    R_LoadProfile(R_OpenSysInitFile(), baseNSenv);
 1082|       |    /* These are the same bindings, so only lock them once */
 1083|      2|    R_LockEnvironment(R_BaseNamespace, TRUE);
 1084|      2|    R_LockEnvironment(R_BaseEnv, FALSE);
 1085|       |    /* At least temporarily unlock some bindings used in graphics */
 1086|      2|    R_unLockBinding(R_DeviceSymbol, R_BaseEnv);
 1087|      2|    R_unLockBinding(R_DevicesSymbol, R_BaseEnv);
 1088|       |
 1089|       |    /* require(methods) if it is in the default packages */
 1090|      2|    doneit = 0;
 1091|      2|    if (SETJMP(R_Toplevel.cjmpbuf))
  ------------------
  |  | 1162|      2|# define SETJMP(x) sigsetjmp(x,0)
  ------------------
  |  Branch (1091:9): [True: 0, False: 2]
  ------------------
 1092|      0|	check_session_exit();
 1093|      2|    R_GlobalContext = R_ToplevelContext = R_SessionContext = &R_Toplevel;
 1094|      2|    if (!doneit) {
  ------------------
  |  Branch (1094:9): [True: 2, False: 0]
  ------------------
 1095|      2|	doneit = 1;
 1096|      2|	PROTECT(cmd = install(".OptRequireMethods"));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1097|      2|	R_CurrentExpr = R_findVar(cmd, R_GlobalEnv);
 1098|      2|	if (R_CurrentExpr != R_UnboundValue &&
  ------------------
  |  Branch (1098:6): [True: 2, False: 0]
  ------------------
 1099|      2|	    TYPEOF(R_CurrentExpr) == CLOSXP) {
  ------------------
  |  |  114|      2|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (1099:6): [True: 2, False: 0]
  ------------------
 1100|      2|		PROTECT(R_CurrentExpr = lang1(cmd));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1101|      2|		R_CurrentExpr = eval(R_CurrentExpr, R_BaseEnv);
  ------------------
  |  |  913|      2|#define eval			Rf_eval
  ------------------
 1102|      2|		UNPROTECT(1);
  ------------------
  |  |  358|      2|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1103|      2|	}
 1104|      2|	UNPROTECT(1);
  ------------------
  |  |  358|      2|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1105|      2|    }
 1106|       |
 1107|      2|    if (strcmp(R_GUIType, "Tk") == 0) {
  ------------------
  |  Branch (1107:9): [True: 0, False: 2]
  ------------------
 1108|      0|	char *buf = NULL;
 1109|       |
 1110|      0|	Rasprintf_malloc(&buf, "%s/library/tcltk/exec/Tk-frontend.R", R_Home);
 1111|      0|	if (!buf)
  ------------------
  |  Branch (1111:6): [True: 0, False: 0]
  ------------------
 1112|      0|	    R_Suicide("allocation failure in setup_Rmainloop");
 1113|      0|	R_LoadProfile(R_fopen(buf, "r"), R_GlobalEnv);
 1114|      0|	free(buf);
 1115|      0|    }
 1116|       |
 1117|       |    /* Print a platform and version dependent greeting and a pointer to
 1118|       |     * the copyleft.
 1119|       |     */
 1120|      2|    if(!R_Quiet) PrintGreeting();
  ------------------
  |  | 1976|      0|# define PrintGreeting		Rf_PrintGreeting
  ------------------
  |  Branch (1120:8): [True: 0, False: 2]
  ------------------
 1121|       |
 1122|      2|    R_LoadProfile(R_OpenSiteFile(), R_GlobalEnv);
 1123|       |    /* The system profile creates an active binding in global environment
 1124|       |       to capture writes to .Library.site executed in the site profile. This
 1125|       |       effectively modifies .Library.site in the base environment to mimick
 1126|       |       previous behavior when the site profile was run in the base
 1127|       |       environment. */
 1128|      2|    R_removeVarFromFrame(install(".Library.site"), R_GlobalEnv);
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1129|      2|    R_LoadProfile(R_OpenInitFile(), R_GlobalEnv);
 1130|       |
 1131|       |    /* This is where we try to load a user's saved data.
 1132|       |       The right thing to do here is very platform dependent.
 1133|       |       E.g. under Unix we look in a special hidden file and on the Mac
 1134|       |       we look in any documents which might have been double clicked on
 1135|       |       or dropped on the application.
 1136|       |    */
 1137|      2|    doneit = 0;
 1138|      2|    if (SETJMP(R_Toplevel.cjmpbuf))
  ------------------
  |  | 1162|      2|# define SETJMP(x) sigsetjmp(x,0)
  ------------------
  |  Branch (1138:9): [True: 0, False: 2]
  ------------------
 1139|      0|	check_session_exit();
 1140|      2|    R_GlobalContext = R_ToplevelContext = R_SessionContext = &R_Toplevel;
 1141|      2|    if (!doneit) {
  ------------------
  |  Branch (1141:9): [True: 2, False: 0]
  ------------------
 1142|      2|	doneit = 1;
 1143|      2|	R_InitialData();
 1144|      2|    }
 1145|      0|    else {
 1146|      0|	if (SETJMP(R_Toplevel.cjmpbuf))
  ------------------
  |  | 1162|      0|# define SETJMP(x) sigsetjmp(x,0)
  ------------------
  |  Branch (1146:6): [True: 0, False: 0]
  ------------------
 1147|      0|	    check_session_exit();
 1148|      0|	else {
 1149|      0|    	    warning(_("unable to restore saved data in %s\n"), get_workspace_name());
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
                  	    warning(_("unable to restore saved data in %s\n"), get_workspace_name());
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1150|      0|	}
 1151|      0|    }
 1152|       |
 1153|       |    /* Initial Loading is done.
 1154|       |       At this point we try to invoke the .First Function.
 1155|       |       If there is an error we continue. */
 1156|       |
 1157|      2|    doneit = 0;
 1158|      2|    if (SETJMP(R_Toplevel.cjmpbuf))
  ------------------
  |  | 1162|      2|# define SETJMP(x) sigsetjmp(x,0)
  ------------------
  |  Branch (1158:9): [True: 0, False: 2]
  ------------------
 1159|      0|	check_session_exit();
 1160|      2|    R_GlobalContext = R_ToplevelContext = R_SessionContext = &R_Toplevel;
 1161|      2|    if (!doneit) {
  ------------------
  |  Branch (1161:9): [True: 2, False: 0]
  ------------------
 1162|      2|	doneit = 1;
 1163|      2|	PROTECT(cmd = install(".First"));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1164|      2|	R_CurrentExpr = R_findVar(cmd, R_GlobalEnv);
 1165|      2|	if (R_CurrentExpr != R_UnboundValue &&
  ------------------
  |  Branch (1165:6): [True: 0, False: 2]
  ------------------
 1166|      0|	    TYPEOF(R_CurrentExpr) == CLOSXP) {
  ------------------
  |  |  114|      0|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (1166:6): [True: 0, False: 0]
  ------------------
 1167|      0|		PROTECT(R_CurrentExpr = lang1(cmd));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1168|      0|		R_CurrentExpr = eval(R_CurrentExpr, R_GlobalEnv);
  ------------------
  |  |  913|      0|#define eval			Rf_eval
  ------------------
 1169|      0|		UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1170|      0|	}
 1171|      2|	UNPROTECT(1);
  ------------------
  |  |  358|      2|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1172|      2|    }
 1173|       |    /* Try to invoke the .First.sys function, which loads the default packages.
 1174|       |       If there is an error we continue. */
 1175|       |
 1176|      2|    doneit = 0;
 1177|      2|    if (SETJMP(R_Toplevel.cjmpbuf))
  ------------------
  |  | 1162|      2|# define SETJMP(x) sigsetjmp(x,0)
  ------------------
  |  Branch (1177:9): [True: 0, False: 2]
  ------------------
 1178|      0|	check_session_exit();
 1179|      2|    R_GlobalContext = R_ToplevelContext = R_SessionContext = &R_Toplevel;
 1180|      2|    if (!doneit) {
  ------------------
  |  Branch (1180:9): [True: 2, False: 0]
  ------------------
 1181|      2|	doneit = 1;
 1182|      2|	PROTECT(cmd = install(".First.sys"));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1183|      2|	R_CurrentExpr = R_findVar(cmd, baseNSenv);
 1184|      2|	if (R_CurrentExpr != R_UnboundValue &&
  ------------------
  |  Branch (1184:6): [True: 2, False: 0]
  ------------------
 1185|      2|	    TYPEOF(R_CurrentExpr) == CLOSXP) {
  ------------------
  |  |  114|      2|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (1185:6): [True: 2, False: 0]
  ------------------
 1186|      2|		PROTECT(R_CurrentExpr = lang1(cmd));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1187|      2|		R_CurrentExpr = eval(R_CurrentExpr, R_BaseEnv);
  ------------------
  |  |  913|      2|#define eval			Rf_eval
  ------------------
 1188|      2|		UNPROTECT(1);
  ------------------
  |  |  358|      2|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1189|      2|	}
 1190|      2|	UNPROTECT(1);
  ------------------
  |  |  358|      2|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1191|      2|    }
 1192|      2|    {
 1193|      2|	int i;
 1194|      2|	for(i = 0 ; i < ndeferred_warnings; i++)
  ------------------
  |  Branch (1194:14): [True: 0, False: 2]
  ------------------
 1195|      0|	    warning("%s", deferred_warnings[i]);
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
 1196|      2|    }
 1197|      2|    if (R_CollectWarnings) {
  ------------------
  |  Branch (1197:9): [True: 0, False: 2]
  ------------------
 1198|      0|	REprintf(_("During startup - "));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1199|      0|	PrintWarnings();
  ------------------
  |  | 1982|      0|# define PrintWarnings		Rf_PrintWarnings
  ------------------
 1200|      0|    }
 1201|      2|    if(R_Verbose)
  ------------------
  |  Branch (1201:8): [True: 0, False: 2]
  ------------------
 1202|      0|	REprintf(" ending setup_Rmainloop(): R_Interactive = %d {main.c}\n",
 1203|      0|		 R_Interactive);
 1204|       |
 1205|       |    /* trying to do this earlier seems to run into bootstrapping issues. */
 1206|      2|#ifndef RMIN_ONLY
 1207|      2|    doneit = 0;
 1208|      2|    if (SETJMP(R_Toplevel.cjmpbuf))
  ------------------
  |  | 1162|      2|# define SETJMP(x) sigsetjmp(x,0)
  ------------------
  |  Branch (1208:9): [True: 0, False: 2]
  ------------------
 1209|      0|	check_session_exit();
 1210|      2|    R_GlobalContext = R_ToplevelContext = R_SessionContext = &R_Toplevel;
 1211|      2|    if (!doneit) {
  ------------------
  |  Branch (1211:9): [True: 2, False: 0]
  ------------------
 1212|      2|	doneit = 1;
 1213|      2|	R_init_jit_enabled();
 1214|      2|    } else
 1215|      0|	R_Suicide(_("unable to initialize the JIT\n"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1216|      2|#endif
 1217|      2|    R_Is_Running = 2;
 1218|      2|}
main.c:R_ReplFile:
   80|      4|{
   81|      4|    ParseStatus status;
   82|      4|    int savestack;
   83|      4|    RCNTXT cntxt;
   84|       |
   85|      4|    R_InitSrcRefState(&cntxt);
   86|      4|    savestack = R_PPStackTop;
   87|    268|    for(;;) {
   88|    268|	R_PPStackTop = savestack;
   89|    268|	R_CurrentExpr = R_Parse1File(fp, 1, &status);
   90|    268|	switch (status) {
  ------------------
  |  Branch (90:10): [True: 268, False: 0]
  ------------------
   91|    160|	case PARSE_NULL:
  ------------------
  |  Branch (91:2): [True: 160, False: 108]
  ------------------
   92|    160|	    break;
   93|    104|	case PARSE_OK:
  ------------------
  |  Branch (93:2): [True: 104, False: 164]
  ------------------
   94|    104|	    R_Visible = FALSE;
   95|    104|	    R_EvalDepth = 0;
   96|    104|	    resetTimeLimits();
   97|    104|	    PROTECT(R_CurrentExpr);
  ------------------
  |  |  357|    104|#define PROTECT(s)	Rf_protect(s)
  ------------------
   98|    104|	    R_CurrentExpr = eval(R_CurrentExpr, rho);
  ------------------
  |  |  913|    104|#define eval			Rf_eval
  ------------------
   99|    104|	    SET_SYMVALUE(R_LastvalueSymbol, R_CurrentExpr);
  100|    104|	    UNPROTECT(1);
  ------------------
  |  |  358|    104|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  101|    104|	    if (R_Visible)
  ------------------
  |  Branch (101:10): [True: 0, False: 104]
  ------------------
  102|      0|		PrintValueEnv(R_CurrentExpr, rho);
  ------------------
  |  | 1977|      0|# define PrintValueEnv		Rf_PrintValueEnv
  ------------------
  103|    104|	    if( R_CollectWarnings )
  ------------------
  |  Branch (103:10): [True: 0, False: 104]
  ------------------
  104|      0|		PrintWarnings();
  ------------------
  |  | 1982|      0|# define PrintWarnings		Rf_PrintWarnings
  ------------------
  105|    104|	    break;
  106|      0|	case PARSE_ERROR:
  ------------------
  |  Branch (106:2): [True: 0, False: 268]
  ------------------
  107|      0|	    R_FinalizeSrcRefState();
  108|      0|	    parseError(R_NilValue, R_ParseError);
  109|      0|	    break;
  110|      4|	case PARSE_EOF:
  ------------------
  |  Branch (110:2): [True: 4, False: 264]
  ------------------
  111|      4|	    endcontext(&cntxt);
  ------------------
  |  | 1900|      4|# define endcontext		Rf_endcontext
  ------------------
  112|      4|	    R_FinalizeSrcRefState();
  113|      4|	    return;
  114|      0|	    break;
  115|      0|	case PARSE_INCOMPLETE:
  ------------------
  |  Branch (115:2): [True: 0, False: 268]
  ------------------
  116|       |	    /* can't happen: just here to quieten -Wall */
  117|      0|	    break;
  118|    268|	}
  119|    268|    }
  120|      4|}
main.c:R_LoadProfile:
  721|      6|{
  722|      6|    FILE * volatile fp = fparg; /* is this needed? */
  723|      6|    if (fp != NULL) {
  ------------------
  |  Branch (723:9): [True: 2, False: 4]
  ------------------
  724|      2|	if (SETJMP(R_Toplevel.cjmpbuf))
  ------------------
  |  | 1162|      2|# define SETJMP(x) sigsetjmp(x,0)
  ------------------
  |  Branch (724:6): [True: 0, False: 2]
  ------------------
  725|      0|	    check_session_exit();
  726|      2|	else {
  727|      2|	    R_GlobalContext = R_ToplevelContext = R_SessionContext = &R_Toplevel;
  728|      2|	    R_ReplFile(fp, env);
  729|      2|	}
  730|      2|	fclose(fp);
  731|      2|    }
  732|      6|}

Rf_NonNullStringMatch:
   51|  3.16M|{
   52|       |    /* "" or NA string matches nothing */
   53|  3.16M|    if (s == NA_STRING || t == NA_STRING) return FALSE;
  ------------------
  |  |  433|  6.33M|#define NA_STRING	R_NaString
  ------------------
                  if (s == NA_STRING || t == NA_STRING) return FALSE;
  ------------------
  |  |  433|  3.16M|#define NA_STRING	R_NaString
  ------------------
  |  Branch (53:9): [True: 0, False: 3.16M]
  |  Branch (53:27): [True: 0, False: 3.16M]
  ------------------
   54|  3.16M|    if (CHAR(s)[0] && CHAR(t)[0] && Seql(s, t))
  ------------------
  |  |  203|  3.16M|#define CHAR(x) R_CHAR(x)
  ------------------
                  if (CHAR(s)[0] && CHAR(t)[0] && Seql(s, t))
  ------------------
  |  |  203|  3.16M|#define CHAR(x) R_CHAR(x)
  ------------------
                  if (CHAR(s)[0] && CHAR(t)[0] && Seql(s, t))
  ------------------
  |  | 1988|  3.16M|# define Seql			Rf_Seql
  ------------------
  |  Branch (54:9): [True: 3.16M, False: 0]
  |  Branch (54:23): [True: 3.16M, False: 0]
  |  Branch (54:37): [True: 2.10M, False: 1.06M]
  ------------------
   55|  2.10M|	return TRUE;
   56|  1.06M|    else
   57|  1.06M|	return FALSE;
   58|  3.16M|}
Rf_psmatch:
   62|  5.29M|{
   63|  5.29M|    if (exact)
  ------------------
  |  Branch (63:9): [True: 2.14M, False: 3.15M]
  ------------------
   64|  2.14M|	return (Rboolean)!strcmp(f, t);
   65|       |    /* else */
   66|  3.15M|    while (*t) {
  ------------------
  |  Branch (66:12): [True: 3.15M, False: 0]
  ------------------
   67|  3.15M|	if (*t != *f)   return FALSE;
  ------------------
  |  Branch (67:6): [True: 3.15M, False: 1.15k]
  ------------------
   68|  1.15k|	t++;
   69|  1.15k|	f++;
   70|  1.15k|    }
   71|      0|    return TRUE;
   72|  3.15M|}
Rf_pmatch:
   94|  3.17M|{
   95|  3.17M|    SEXP f = charFromSexp(formal);
   96|  3.17M|    SEXP t = charFromSexp(tag);
   97|  3.17M|    cetype_t fenc = getCharCE(f);
  ------------------
  |  |  925|  3.17M|#define getCharCE		Rf_getCharCE
  ------------------
   98|  3.17M|    cetype_t tenc = getCharCE(t);
  ------------------
  |  |  925|  3.17M|#define getCharCE		Rf_getCharCE
  ------------------
   99|       |
  100|  3.17M|    if (fenc == tenc)
  ------------------
  |  Branch (100:9): [True: 3.17M, False: 0]
  ------------------
  101|  3.17M|	return psmatch(CHAR(f), CHAR(t), exact);
  ------------------
  |  | 1012|  3.17M|#define psmatch			Rf_psmatch
  ------------------
              	return psmatch(CHAR(f), CHAR(t), exact);
  ------------------
  |  |  203|  3.17M|#define CHAR(x) R_CHAR(x)
  ------------------
              	return psmatch(CHAR(f), CHAR(t), exact);
  ------------------
  |  |  203|  3.17M|#define CHAR(x) R_CHAR(x)
  ------------------
  102|      0|    else {
  103|      0|	const void *vmax = vmaxget();
  104|      0|	Rboolean res = psmatch(translateCharUTF8(f), translateCharUTF8(t),
  ------------------
  |  | 1012|      0|#define psmatch			Rf_psmatch
  ------------------
              	Rboolean res = psmatch(translateCharUTF8(f), translateCharUTF8(t),
  ------------------
  |  | 1039|      0|#define translateCharUTF8      	Rf_translateCharUTF8
  ------------------
              	Rboolean res = psmatch(translateCharUTF8(f), translateCharUTF8(t),
  ------------------
  |  | 1039|      0|#define translateCharUTF8      	Rf_translateCharUTF8
  ------------------
  105|      0|	                       exact);
  106|      0|	vmaxset(vmax);
  107|      0|	return res;
  108|      0|    }
  109|  3.17M|}
Rf_matchArgExact:
  167|  2.12M|{
  168|  2.12M|      return matchPar_int(CHAR(PRINTNAME(tag)), list, TRUE);
  ------------------
  |  |  203|  2.12M|#define CHAR(x) R_CHAR(x)
  ------------------
  169|  2.12M|}
Rf_matchArgs_NR:
  186|  10.6M|{
  187|  10.6M|    bool seendots;
  188|  10.6M|    int i, arg_i = 0;
  189|  10.6M|    SEXP f, a, b, dots, actuals;
  190|       |
  191|  10.6M|    actuals = R_NilValue;
  192|  33.2M|    for (f = formals ; f != R_NilValue ; f = CDR(f), arg_i++) {
  ------------------
  |  Branch (192:24): [True: 22.5M, False: 10.6M]
  ------------------
  193|       |	/* CONS_NR is used since argument lists created here are only
  194|       |	   used internally and so should not increment reference
  195|       |	   counts */
  196|  22.5M|	actuals = CONS_NR(R_MissingArg, actuals);
  197|  22.5M|	SET_MISSING(actuals, 1);
  198|  22.5M|    }
  199|       |    /* We use fargused instead of ARGUSED/SET_ARGUSED on elements of
  200|       |       formals to avoid modification of the formals SEXPs.  A gc can
  201|       |       cause matchArgs_NR to be called from finalizer code, resulting in
  202|       |       another matchArgs_NR call with the same formals.  In R-2.10.x, this
  203|       |       corrupted the ARGUSED data of the formals and resulted in an
  204|       |       incorrect "formal argument 'foo' matched by multiple actual
  205|       |       arguments" error.
  206|       |     */
  207|  10.6M|    int fargused[arg_i ? arg_i : 1]; // avoid undefined behaviour
  ------------------
  |  Branch (207:18): [True: 10.6M, False: 2.16k]
  ------------------
  208|  10.6M|    memset(fargused, 0, sizeof(fargused));
  209|       |
  210|  27.8M|    for(b = supplied; b != R_NilValue; b = CDR(b)) SET_ARGUSED(b, 0);
  ------------------
  |  |  176|  17.1M|#define SET_ARGUSED(x,v) SETLEVELS(x,v)
  ------------------
  |  Branch (210:23): [True: 17.1M, False: 10.6M]
  ------------------
  211|       |
  212|  10.6M|    PROTECT(actuals);
  ------------------
  |  |  357|  10.6M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  213|       |
  214|       |    /* First pass: exact matches by tag */
  215|       |    /* Grab matched arguments and check */
  216|       |    /* for multiple exact matches. */
  217|       |
  218|  10.6M|    f = formals;
  219|  10.6M|    a = actuals;
  220|  10.6M|    arg_i = 0;
  221|  33.2M|    while (f != R_NilValue) {
  ------------------
  |  Branch (221:12): [True: 22.5M, False: 10.6M]
  ------------------
  222|  22.5M|      SEXP ftag = TAG(f);
  223|  22.5M|      const char *ftag_name = CHAR(PRINTNAME(ftag));
  ------------------
  |  |  203|  22.5M|#define CHAR(x) R_CHAR(x)
  ------------------
  224|  22.5M|      if (ftag != R_DotsSymbol && ftag != R_NilValue) {
  ------------------
  |  Branch (224:11): [True: 18.2M, False: 4.23M]
  |  Branch (224:35): [True: 18.2M, False: 0]
  ------------------
  225|  47.6M|	    for (b = supplied, i = 1; b != R_NilValue; b = CDR(b), i++) {
  ------------------
  |  Branch (225:32): [True: 29.3M, False: 18.2M]
  ------------------
  226|  29.3M|	      SEXP btag = TAG(b);
  227|  29.3M|	      if (btag != R_NilValue) {
  ------------------
  |  Branch (227:12): [True: 8.56M, False: 20.7M]
  ------------------
  228|  8.56M|		  const char *btag_name = CHAR(PRINTNAME(btag));
  ------------------
  |  |  203|  8.56M|#define CHAR(x) R_CHAR(x)
  ------------------
  229|  8.56M|		  if (streql( ftag_name, btag_name )) {
  ------------------
  |  | 1498|  8.56M|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 1.08M, False: 7.47M]
  |  |  ------------------
  ------------------
  230|  1.08M|		      if (fargused[arg_i] == 2)
  ------------------
  |  Branch (230:13): [True: 0, False: 1.08M]
  ------------------
  231|      0|			  errorcall(call,
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
  232|      0|	                      _("formal argument \"%s\" matched by multiple actual arguments"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  233|      0|	                      CHAR(PRINTNAME(TAG(f))));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  234|  1.08M|		      if (ARGUSED(b) == 2)
  ------------------
  |  |  175|  1.08M|#define ARGUSED(x) LEVELS(x)
  ------------------
  |  Branch (234:13): [True: 0, False: 1.08M]
  ------------------
  235|      0|			  errorcall(call,
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
  236|      0|	                      _("argument %d matches multiple formal arguments"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  237|      0|                              i);
  238|  1.08M|		      SETCAR(a, CAR(b));
  239|  1.08M|		      if(CAR(b) != R_MissingArg) SET_MISSING(a, 0);
  ------------------
  |  Branch (239:12): [True: 1.08M, False: 0]
  ------------------
  240|  1.08M|		      SET_ARGUSED(b, 2);
  ------------------
  |  |  176|  1.08M|#define SET_ARGUSED(x,v) SETLEVELS(x,v)
  ------------------
  241|  1.08M|		      fargused[arg_i] = 2;
  242|  1.08M|		  }
  243|  8.56M|	      }
  244|  29.3M|	    }
  245|  18.2M|	}
  246|  22.5M|	f = CDR(f);
  247|  22.5M|	a = CDR(a);
  248|  22.5M|        arg_i++;
  249|  22.5M|    }
  250|       |
  251|       |    /* Second pass: partial matches based on tags */
  252|       |    /* An exact match is required after first ... */
  253|       |    /* The location of the first ... is saved in "dots" */
  254|       |
  255|  10.6M|    dots = R_NilValue;
  256|  10.6M|    seendots = FALSE;
  257|  10.6M|    f = formals;
  258|  10.6M|    a = actuals;
  259|  10.6M|    arg_i = 0;
  260|  33.2M|    while (f != R_NilValue) {
  ------------------
  |  Branch (260:12): [True: 22.5M, False: 10.6M]
  ------------------
  261|  22.5M|	if (fargused[arg_i] == 0) {
  ------------------
  |  Branch (261:6): [True: 21.4M, False: 1.08M]
  ------------------
  262|  21.4M|	    if (TAG(f) == R_DotsSymbol && !seendots) {
  ------------------
  |  Branch (262:10): [True: 4.23M, False: 17.1M]
  |  Branch (262:36): [True: 4.23M, False: 0]
  ------------------
  263|       |		/* Record where ... value goes */
  264|  4.23M|		dots = a;
  265|  4.23M|		seendots = TRUE;
  266|  17.1M|	    } else {
  267|  45.3M|		for (b = supplied, i = 1; b != R_NilValue; b = CDR(b), i++) {
  ------------------
  |  Branch (267:29): [True: 28.1M, False: 17.1M]
  ------------------
  268|  28.1M|		    if (ARGUSED(b) != 2 && TAG(b) != R_NilValue &&
  ------------------
  |  |  175|  28.1M|#define ARGUSED(x) LEVELS(x)
  ------------------
  |  Branch (268:11): [True: 23.8M, False: 4.30M]
  |  Branch (268:30): [True: 3.15M, False: 20.7M]
  ------------------
  269|  3.15M|			pmatch(TAG(f), TAG(b), seendots)) {
  ------------------
  |  | 1011|  3.15M|#define pmatch			Rf_pmatch
  ------------------
  |  Branch (269:4): [True: 0, False: 3.15M]
  ------------------
  270|      0|			if (ARGUSED(b))
  ------------------
  |  |  175|      0|#define ARGUSED(x) LEVELS(x)
  |  |  ------------------
  |  |  |  Branch (175:20): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  271|      0|			    errorcall(call,
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
  272|      0|				_("argument %d matches multiple formal arguments"), i);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  273|      0|			if (fargused[arg_i] == 1)
  ------------------
  |  Branch (273:8): [True: 0, False: 0]
  ------------------
  274|      0|			    errorcall(call,
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
  275|      0|				_("formal argument \"%s\" matched by multiple actual arguments"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  276|      0|				CHAR(PRINTNAME(TAG(f))));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  277|      0|			if (R_warn_partial_match_args) {
  ------------------
  |  Branch (277:8): [True: 0, False: 0]
  ------------------
  278|      0|			    SEXP cond =
  279|      0|				R_makePartialArgumentMatchWarningCondition(call,
  280|      0|									   TAG(b),
  281|      0|									   TAG(f));
  282|      0|			    PROTECT(cond);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  283|      0|			    R_signalWarningCondition(cond);
  284|      0|			    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  285|      0|			}
  286|      0|			SETCAR(a, CAR(b));
  287|      0|			if (CAR(b) != R_MissingArg) SET_MISSING(a, 0);
  ------------------
  |  Branch (287:8): [True: 0, False: 0]
  ------------------
  288|      0|			SET_ARGUSED(b, 1);
  ------------------
  |  |  176|      0|#define SET_ARGUSED(x,v) SETLEVELS(x,v)
  ------------------
  289|      0|			fargused[arg_i] = 1;
  290|      0|		    }
  291|  28.1M|		}
  292|  17.1M|	    }
  293|  21.4M|	}
  294|  22.5M|	f = CDR(f);
  295|  22.5M|	a = CDR(a);
  296|  22.5M|        arg_i++;
  297|  22.5M|    }
  298|       |
  299|       |    /* Third pass: matches based on order */
  300|       |    /* All args specified in tag=value form */
  301|       |    /* have now been matched.  If we find ... */
  302|       |    /* we gobble up all the remaining args. */
  303|       |    /* Otherwise we bind untagged values in */
  304|       |    /* order to any unmatched formals. */
  305|       |
  306|  10.6M|    f = formals;
  307|  10.6M|    a = actuals;
  308|  10.6M|    b = supplied;
  309|  10.6M|    seendots = FALSE;
  310|       |
  311|  27.7M|    while (f != R_NilValue && b != R_NilValue && !seendots) {
  ------------------
  |  Branch (311:12): [True: 19.3M, False: 8.49M]
  |  Branch (311:31): [True: 17.1M, False: 2.18M]
  |  Branch (311:50): [True: 17.1M, False: 18.0k]
  ------------------
  312|  17.1M|	if (TAG(f) == R_DotsSymbol) {
  ------------------
  |  Branch (312:6): [True: 4.21M, False: 12.8M]
  ------------------
  313|       |	    /* Skip ... matching until all tags done */
  314|  4.21M|	    seendots = TRUE;
  315|  4.21M|	    f = CDR(f);
  316|  4.21M|	    a = CDR(a);
  317|  12.8M|	} else if (CAR(a) != R_MissingArg) {
  ------------------
  |  Branch (317:13): [True: 20.7k, False: 12.8M]
  ------------------
  318|       |	    /* Already matched by tag */
  319|       |	    /* skip to next formal */
  320|  20.7k|	    f = CDR(f);
  321|  20.7k|	    a = CDR(a);
  322|  12.8M|	} else if (ARGUSED(b) || TAG(b) != R_NilValue) {
  ------------------
  |  |  175|  25.7M|#define ARGUSED(x) LEVELS(x)
  |  |  ------------------
  |  |  |  Branch (175:20): [True: 1.06M, False: 11.7M]
  |  |  ------------------
  ------------------
  |  Branch (322:27): [True: 12, False: 11.7M]
  ------------------
  323|       |	    /* This value used or tagged , skip to next value */
  324|       |	    /* The second test above is needed because we */
  325|       |	    /* shouldn't consider tagged values for positional */
  326|       |	    /* matches. */
  327|       |	    /* The formal being considered remains the same */
  328|  1.06M|	    b = CDR(b);
  329|  11.7M|	} else {
  330|       |	    /* We have a positional match */
  331|  11.7M|	    SETCAR(a, CAR(b));
  332|  11.7M|	    if(CAR(b) != R_MissingArg) SET_MISSING(a, 0);
  ------------------
  |  Branch (332:9): [True: 11.7M, False: 60]
  ------------------
  333|  11.7M|	    SET_ARGUSED(b, 1);
  ------------------
  |  |  176|  11.7M|#define SET_ARGUSED(x,v) SETLEVELS(x,v)
  ------------------
  334|  11.7M|	    b = CDR(b);
  335|  11.7M|	    f = CDR(f);
  336|  11.7M|	    a = CDR(a);
  337|  11.7M|	}
  338|  17.1M|    }
  339|       |
  340|  10.6M|    if (dots != R_NilValue) {
  ------------------
  |  Branch (340:9): [True: 4.23M, False: 6.45M]
  ------------------
  341|       |	/* Gobble up all unused actuals */
  342|  4.23M|	SET_MISSING(dots, 0);
  343|  4.23M|	i = 0;
  344|  11.6M|	for(a = supplied; a != R_NilValue ; a = CDR(a)) if(!ARGUSED(a)) i++;
  ------------------
  |  |  175|  7.42M|#define ARGUSED(x) LEVELS(x)
  ------------------
  |  Branch (344:20): [True: 7.42M, False: 4.23M]
  |  Branch (344:53): [True: 4.23M, False: 3.18M]
  ------------------
  345|       |
  346|  4.23M|	if (i) {
  ------------------
  |  Branch (346:6): [True: 4.21M, False: 18.5k]
  ------------------
  347|  4.21M|	    a = allocList(i);
  ------------------
  |  |  871|  4.21M|#define allocList		Rf_allocList
  ------------------
  348|  4.21M|	    SET_TYPEOF(a, DOTSXP);
  ------------------
  |  |  127|  4.21M|#define DOTSXP	    17	  /* dot-dot-dot object */
  ------------------
  349|  4.21M|	    f = a;
  350|  11.6M|	    for(b = supplied; b != R_NilValue; b = CDR(b))
  ------------------
  |  Branch (350:24): [True: 7.39M, False: 4.21M]
  ------------------
  351|  7.39M|		if(!ARGUSED(b)) {
  ------------------
  |  |  175|  7.39M|#define ARGUSED(x) LEVELS(x)
  ------------------
  |  Branch (351:6): [True: 4.23M, False: 3.15M]
  ------------------
  352|  4.23M|		    SETCAR(f, CAR(b));
  353|  4.23M|		    SET_TAG(f, TAG(b));
  354|  4.23M|		    f = CDR(f);
  355|  4.23M|		}
  356|  4.21M|	    SETCAR(dots, a);
  357|  4.21M|	}
  358|  6.45M|    } else {
  359|       |	/* Check that all arguments are used */
  360|  16.1M|	for (b = supplied; b != R_NilValue && ARGUSED(b); b = CDR(b));
  ------------------
  |  |  175|  9.69M|#define ARGUSED(x) LEVELS(x)
  |  |  ------------------
  |  |  |  Branch (175:20): [True: 9.69M, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (360:21): [True: 9.69M, False: 6.45M]
  ------------------
  361|       |
  362|  6.45M|	if (b != R_NilValue) {
  ------------------
  |  Branch (362:6): [True: 0, False: 6.45M]
  ------------------
  363|       |            /* show bad arguments in call without evaluating them */
  364|      0|	    SEXP carB = CAR(b);
  365|      0|	    if (TYPEOF(carB) == PROMSXP) carB = PREXPR(carB);
  ------------------
  |  |  116|      0|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
              	    if (TYPEOF(carB) == PROMSXP) carB = PREXPR(carB);
  ------------------
  |  |  720|      0|#define PREXPR(e) R_PromiseExpr(e)
  ------------------
  |  Branch (365:10): [True: 0, False: 0]
  ------------------
  366|      0|	    SEXP unused = PROTECT(CONS(carB, R_NilValue));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  367|      0|	    SET_TAG(unused, TAG(b));
  368|      0|	    SEXP last = unused;
  369|       |
  370|      0|            for(b = CDR(b) ; b != R_NilValue ; b = CDR(b))
  ------------------
  |  Branch (370:30): [True: 0, False: 0]
  ------------------
  371|      0|		if (!ARGUSED(b)) {
  ------------------
  |  |  175|      0|#define ARGUSED(x) LEVELS(x)
  ------------------
  |  Branch (371:7): [True: 0, False: 0]
  ------------------
  372|      0|		    SEXP carB = CAR(b);
  373|      0|		    if (TYPEOF(carB) == PROMSXP) carB = PREXPR(carB);
  ------------------
  |  |  116|      0|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
              		    if (TYPEOF(carB) == PROMSXP) carB = PREXPR(carB);
  ------------------
  |  |  720|      0|#define PREXPR(e) R_PromiseExpr(e)
  ------------------
  |  Branch (373:11): [True: 0, False: 0]
  ------------------
  374|      0|		    SETCDR(last, CONS(carB, R_NilValue));
  ------------------
  |  |  309|      0|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
  375|      0|		    last = CDR(last);
  376|      0|		    SET_TAG(last, TAG(b));
  377|      0|		}
  378|      0|	    unsigned long len_u_args = (unsigned long) length(unused);
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  379|      0|	    unused = PROTECT(deparse1line(unused, 0));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  380|      0|	    errorcall(call /* R_GlobalContext->call */,
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
  381|      0|		      ngettext("unused argument %s",
  382|      0|			       "unused arguments %s", len_u_args),
  383|      0|		      strchr(CHAR(asChar(unused)), '('));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  384|      0|	    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  385|      0|	}
  386|  6.45M|    }
  387|  10.6M|    UNPROTECT(1);
  ------------------
  |  |  358|  10.6M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  388|  10.6M|    return(actuals);
  389|  10.6M|}
Rf_matchArgs_RC:
  393|  10.6M|{
  394|  10.6M|    SEXP args = matchArgs_NR(formals, supplied, call);
  ------------------
  |  | 1951|  10.6M|# define matchArgs_NR		Rf_matchArgs_NR
  ------------------
  395|       |    /* it would be better not to build this arglist with CONS_NR in
  396|       |       the first place */
  397|  33.1M|    for (SEXP a = args; a  != R_NilValue; a = CDR(a)) {
  ------------------
  |  Branch (397:25): [True: 22.4M, False: 10.6M]
  ------------------
  398|  22.4M|	if (! TRACKREFS(a)) {
  ------------------
  |  Branch (398:6): [True: 22.4M, False: 0]
  ------------------
  399|  22.4M|	    ENABLE_REFCNT(a);
  400|  22.4M|	    INCREMENT_REFCNT(CAR(a));
  401|  22.4M|	    INCREMENT_REFCNT(CDR(a));
  402|  22.4M|	}
  403|  22.4M|    }
  404|  10.6M|    return args;
  405|  10.6M|}
Rf_patchArgsByActuals:
  444|    120|{
  445|    120|    int i, farg_i;
  446|    120|    SEXP f, a, b, prsupplied;
  447|       |
  448|    120|    int nfarg = length(formals);
  ------------------
  |  |  987|    120|#define length(x)		Rf_length(x)
  ------------------
  449|    120|    if (!nfarg) nfarg = 1; // avoid undefined behaviour
  ------------------
  |  Branch (449:9): [True: 0, False: 120]
  ------------------
  450|    120|    fstype_t farg[nfarg];
  451|    480|    for(i = 0; i < nfarg; i++) farg[i] = FS_UNMATCHED;
  ------------------
  |  Branch (451:16): [True: 360, False: 120]
  ------------------
  452|       |
  453|       |    /* Shallow-duplicate supplied arguments */
  454|       |
  455|    120|    PROTECT(prsupplied = allocList(length(supplied)));
  ------------------
  |  |  357|    120|#define PROTECT(s)	Rf_protect(s)
  ------------------
  456|    360|    for(b = supplied, a = prsupplied; b != R_NilValue; b = CDR(b), a = CDR(a)) {
  ------------------
  |  Branch (456:39): [True: 240, False: 120]
  ------------------
  457|    240|        SETCAR(a, CAR(b));
  458|    240|        SET_ARGUSED(a, 0);
  ------------------
  |  |  176|    240|#define SET_ARGUSED(x,v) SETLEVELS(x,v)
  ------------------
  459|    240|        SET_TAG(a, TAG(b));
  460|    240|    }
  461|       |
  462|       |    /* First pass: exact matches by tag */
  463|       |
  464|    120|    f = formals;
  465|    120|    farg_i = 0;
  466|    480|    while (f != R_NilValue) {
  ------------------
  |  Branch (466:12): [True: 360, False: 120]
  ------------------
  467|    360|	if (TAG(f) != R_DotsSymbol) {
  ------------------
  |  Branch (467:6): [True: 240, False: 120]
  ------------------
  468|    720|	    for (b = prsupplied; b != R_NilValue; b = CDR(b)) {
  ------------------
  |  Branch (468:27): [True: 480, False: 240]
  ------------------
  469|    480|		if (TAG(b) != R_NilValue && pmatch(TAG(f), TAG(b), 1)) {
  ------------------
  |  | 1011|      0|#define pmatch			Rf_pmatch
  ------------------
  |  Branch (469:7): [True: 0, False: 480]
  |  Branch (469:31): [True: 0, False: 0]
  ------------------
  470|      0|		    patchArgument(b, TAG(f), &farg[farg_i], cloenv);
  471|      0|		    SET_ARGUSED(b, 2);
  ------------------
  |  |  176|      0|#define SET_ARGUSED(x,v) SETLEVELS(x,v)
  ------------------
  472|      0|		    break; /* Previous invocation of matchArgs_NR */
  473|       |		           /* ensured unique matches */
  474|      0|		}
  475|    480|	    }
  476|    240|	}
  477|    360|	f = CDR(f);
  478|    360|	farg_i++;
  479|    360|    }
  480|       |
  481|       |    /* Second pass: partial matches based on tags */
  482|       |    /* An exact match is required after first ... */
  483|       |    /* The location of the first ... is saved in "dots" */
  484|       |
  485|    120|    Rboolean seendots = FALSE;
  486|    120|    f = formals;
  487|    120|    farg_i = 0;
  488|    480|    while (f != R_NilValue) {
  ------------------
  |  Branch (488:12): [True: 360, False: 120]
  ------------------
  489|    360|	if (farg[farg_i] == FS_UNMATCHED) {
  ------------------
  |  Branch (489:6): [True: 360, False: 0]
  ------------------
  490|    360|	    if (TAG(f) == R_DotsSymbol && !seendots) {
  ------------------
  |  Branch (490:10): [True: 120, False: 240]
  |  Branch (490:36): [True: 120, False: 0]
  ------------------
  491|    120|		seendots = TRUE;
  492|    240|	    } else {
  493|    720|		for (b = prsupplied; b != R_NilValue; b = CDR(b)) {
  ------------------
  |  Branch (493:24): [True: 480, False: 240]
  ------------------
  494|    480|		    if (!ARGUSED(b) && TAG(b) != R_NilValue &&
  ------------------
  |  |  175|    960|#define ARGUSED(x) LEVELS(x)
  ------------------
  |  Branch (494:11): [True: 480, False: 0]
  |  Branch (494:26): [True: 0, False: 480]
  ------------------
  495|      0|			pmatch(TAG(f), TAG(b), seendots)) {
  ------------------
  |  | 1011|      0|#define pmatch			Rf_pmatch
  ------------------
  |  Branch (495:4): [True: 0, False: 0]
  ------------------
  496|       |
  497|      0|			patchArgument(b, TAG(f), &farg[farg_i], cloenv);
  498|      0|			SET_ARGUSED(b, 1);
  ------------------
  |  |  176|      0|#define SET_ARGUSED(x,v) SETLEVELS(x,v)
  ------------------
  499|      0|			break; /* Previous invocation of matchArgs_NR */
  500|       |			       /* ensured unique matches */
  501|      0|		    }
  502|    480|		}
  503|    240|	    }
  504|    360|	}
  505|    360|	f = CDR(f);
  506|    360|	farg_i++;
  507|    360|    }
  508|       |
  509|       |    /* Third pass: matches based on order */
  510|       |    /* All args specified in tag=value form */
  511|       |    /* have now been matched.  If we find ... */
  512|       |    /* we gobble up all the remaining args. */
  513|       |    /* Otherwise we bind untagged values in */
  514|       |    /* order to any unmatched formals. */
  515|       |
  516|    120|    f = formals;
  517|    120|    b = prsupplied;
  518|    120|    farg_i = 0;
  519|    256|    while (f != R_NilValue && b != R_NilValue) {
  ------------------
  |  Branch (519:12): [True: 256, False: 0]
  |  Branch (519:31): [True: 240, False: 16]
  ------------------
  520|    240|	if (TAG(f) == R_DotsSymbol) {
  ------------------
  |  Branch (520:6): [True: 104, False: 136]
  ------------------
  521|       |	    /* Done, ... and following args cannot be patched */
  522|    104|	    break;
  523|    136|	} else if (farg[farg_i] == FS_MATCHED_PRESENT) {
  ------------------
  |  Branch (523:13): [True: 0, False: 136]
  ------------------
  524|       |	    /* Note that this check corresponds to CAR(b) == R_MissingArg */
  525|       |	    /* in matchArgs_NR */
  526|       |
  527|       |	    /* Already matched by tag */
  528|       |	    /* skip to next formal */
  529|      0|	    f = CDR(f);
  530|      0|	    farg_i++;
  531|    136|	} else if (ARGUSED(b) || TAG(b) != R_NilValue) {
  ------------------
  |  |  175|    272|#define ARGUSED(x) LEVELS(x)
  |  |  ------------------
  |  |  |  Branch (175:20): [True: 0, False: 136]
  |  |  ------------------
  ------------------
  |  Branch (531:27): [True: 0, False: 136]
  ------------------
  532|       |	    /* This value is used or tagged, skip to next value */
  533|       |	    /* The second test above is needed because we */
  534|       |	    /* shouldn't consider tagged values for positional */
  535|       |	    /* matches. */
  536|       |	    /* The formal being considered remains the same */
  537|      0|	    b = CDR(b);
  538|    136|	} else {
  539|       |	    /* We have a positional match */
  540|    136|	    if (farg[farg_i] == FS_MATCHED_LOCAL)
  ------------------
  |  Branch (540:10): [True: 0, False: 136]
  ------------------
  541|       |	        /* Another supplied argument, a missing with a tag, has */
  542|       |	        /* been patched to a promise reading this formal, because */
  543|       |	        /* there was a local variable of that name. Hence, we have */
  544|       |	        /* to turn this supplied argument into a missing. */
  545|       |	        /* Otherwise, we would supply a value twice, confusing */
  546|       |	        /* argument matching in subsequently called functions. */
  547|      0|	        SETCAR(b, R_MissingArg);
  548|    136|	    else
  549|    136|	        patchArgument(b, TAG(f), NULL, cloenv);
  550|       |
  551|    136|	    SET_ARGUSED(b, 1);
  ------------------
  |  |  176|    136|#define SET_ARGUSED(x,v) SETLEVELS(x,v)
  ------------------
  552|    136|	    b = CDR(b);
  553|    136|	    f = CDR(f);
  554|    136|	    farg_i++;
  555|    136|	}
  556|    240|    }
  557|       |
  558|       |    /* Previous invocation of matchArgs_NR ensured all args are used */
  559|    120|    UNPROTECT(1);
  ------------------
  |  |  358|    120|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  560|    120|    return(prsupplied);
  561|    120|}
match.c:charFromSexp:
   78|  6.34M|{
   79|  6.34M|    switch (TYPEOF(s)) {
   80|  6.31M|    case SYMSXP:
  ------------------
  |  |  112|  6.31M|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (80:5): [True: 6.31M, False: 29.6k]
  ------------------
   81|  6.31M|	return PRINTNAME(s);
   82|  29.6k|    case CHARSXP:
  ------------------
  |  |  120|  29.6k|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  ------------------
  |  Branch (82:5): [True: 29.6k, False: 6.31M]
  ------------------
   83|  29.6k|	return s;
   84|      0|    case STRSXP:
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (84:5): [True: 0, False: 6.34M]
  ------------------
   85|      0|	if (LENGTH(s) == 1)
  ------------------
  |  Branch (85:6): [True: 0, False: 0]
  ------------------
   86|      0|	    return STRING_ELT(s, 0);
   87|       |	/* fall back to error */
   88|      0|    default:
  ------------------
  |  Branch (88:5): [True: 0, False: 6.34M]
  ------------------
   89|      0|	error(_("invalid partial string match"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid partial string match"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
   90|  6.34M|    }
   91|  6.34M|}
match.c:matchPar_int:
  117|  2.12M|{
  118|  2.12M|    if (*list == R_NilValue)
  ------------------
  |  Branch (118:9): [True: 0, False: 2.12M]
  ------------------
  119|      0|	return R_MissingArg;
  120|  2.12M|    else if (TAG(*list) != R_NilValue &&
  ------------------
  |  Branch (120:14): [True: 0, False: 2.12M]
  ------------------
  121|      0|	     psmatch(tag, CHAR(PRINTNAME(TAG(*list))), exact)) {
  ------------------
  |  | 1012|      0|#define psmatch			Rf_psmatch
  ------------------
              	     psmatch(tag, CHAR(PRINTNAME(TAG(*list))), exact)) {
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (121:7): [True: 0, False: 0]
  ------------------
  122|      0|	SEXP s = *list;
  123|      0|	*list = CDR(*list);
  124|      0|	return CAR(s);
  125|      0|    }
  126|  2.12M|    else {
  127|  2.12M|	SEXP last = *list;
  128|  2.12M|	SEXP next = CDR(*list);
  129|  2.12M|	while (next != R_NilValue) {
  ------------------
  |  Branch (129:9): [True: 2.12M, False: 0]
  ------------------
  130|  2.12M|	    if (TAG(next) != R_NilValue &&
  ------------------
  |  Branch (130:10): [True: 2.12M, False: 504]
  ------------------
  131|  2.12M|		psmatch(tag, CHAR(PRINTNAME(TAG(next))), exact)) {
  ------------------
  |  | 1012|  2.12M|#define psmatch			Rf_psmatch
  ------------------
              		psmatch(tag, CHAR(PRINTNAME(TAG(next))), exact)) {
  ------------------
  |  |  203|  2.12M|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (131:3): [True: 2.12M, False: 0]
  ------------------
  132|  2.12M|		SETCDR(last, CDR(next));
  133|  2.12M|		return CAR(next);
  134|  2.12M|	    }
  135|    504|	    else {
  136|    504|		last = next;
  137|    504|		next = CDR(next);
  138|    504|	    }
  139|  2.12M|	}
  140|      0|	return R_MissingArg;
  141|  2.12M|    }
  142|  2.12M|}
match.c:patchArgument:
  427|    136|void patchArgument(SEXP suppliedSlot, SEXP name, fstype_t *farg, SEXP cloenv) {
  428|    136|    SEXP value = CAR(suppliedSlot);
  429|    136|    if (value == R_MissingArg) {
  ------------------
  |  Branch (429:9): [True: 0, False: 136]
  ------------------
  430|      0|        value = R_findVarInFrame(cloenv, name);
  431|      0|        if (value == R_MissingArg) {
  ------------------
  |  Branch (431:13): [True: 0, False: 0]
  ------------------
  432|      0|            if (farg) *farg = FS_MATCHED_MISSING;
  ------------------
  |  Branch (432:17): [True: 0, False: 0]
  ------------------
  433|      0|            return;
  434|      0|        }
  435|      0|        if (farg) *farg = FS_MATCHED_LOCAL;
  ------------------
  |  Branch (435:13): [True: 0, False: 0]
  ------------------
  436|      0|    } else
  437|    136|        if (farg) *farg = FS_MATCHED_PRESENT;
  ------------------
  |  Branch (437:13): [True: 0, False: 136]
  ------------------
  438|       |
  439|    136|    SETCAR(suppliedSlot, mkPROMISE(name, cloenv));
  ------------------
  |  | 1962|    136|# define mkPROMISE		Rf_mkPROMISE
  ------------------
  440|    136|}

R_SetMaxVSize:
  430|      2|{
  431|      2|    if (size == R_SIZE_T_MAX) {
  ------------------
  |  | 1044|      2|# define R_SIZE_T_MAX SIZE_MAX
  ------------------
  |  Branch (431:9): [True: 0, False: 2]
  ------------------
  432|      0|	R_MaxVSize = R_SIZE_T_MAX;
  ------------------
  |  | 1044|      0|# define R_SIZE_T_MAX SIZE_MAX
  ------------------
  433|      0|	return TRUE;
  434|      0|    }
  435|      2|    if (vsfac == 1) {
  ------------------
  |  Branch (435:9): [True: 2, False: 0]
  ------------------
  436|      2|	if (size >= R_VSize) {
  ------------------
  |  Branch (436:6): [True: 2, False: 0]
  ------------------
  437|      2|	    R_MaxVSize = size;
  438|      2|	    return TRUE;
  439|      2|	}
  440|      2|    } else 
  441|      0|	if (size / vsfac >= R_VSize) {
  ------------------
  |  Branch (441:6): [True: 0, False: 0]
  ------------------
  442|      0|	    R_MaxVSize = (size + 1) / vsfac;
  443|      0|	    return TRUE;
  444|      0|	}
  445|      0|    return FALSE;
  446|      2|}
R_SetMaxNSize:
  454|      2|{
  455|      2|    if (size >= R_NSize) {
  ------------------
  |  Branch (455:9): [True: 2, False: 0]
  ------------------
  456|      2|	R_MaxNSize = size;
  457|      2|	return TRUE;
  458|      2|    }
  459|      0|    return FALSE;
  460|      2|}
R_SetPPSize:
  463|      2|{
  464|      2|    R_PPStackSize = (int) size;
  465|      2|}
R_MakeWeakRef:
 1464|  1.56k|{
 1465|  1.56k|    switch (TYPEOF(fin)) {
  ------------------
  |  |  233|  1.56k|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
 1466|  1.56k|    case NILSXP:
  ------------------
  |  |  111|  1.56k|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (1466:5): [True: 1.56k, False: 0]
  ------------------
 1467|  1.56k|    case CLOSXP:
  ------------------
  |  |  114|  1.56k|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (1467:5): [True: 0, False: 1.56k]
  ------------------
 1468|  1.56k|    case BUILTINSXP:
  ------------------
  |  |  119|  1.56k|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (1468:5): [True: 0, False: 1.56k]
  ------------------
 1469|  1.56k|    case SPECIALSXP:
  ------------------
  |  |  118|  1.56k|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (1469:5): [True: 0, False: 1.56k]
  ------------------
 1470|  1.56k|	break;
 1471|      0|    default: error(_("finalizer must be a function or NULL"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  default: error(_("finalizer must be a function or NULL"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (1471:5): [True: 0, False: 1.56k]
  ------------------
 1472|  1.56k|    }
 1473|  1.56k|    return NewWeakRef(key, val, fin, onexit);
 1474|  1.56k|}
R_MakeWeakRefC:
 1477|    866|{
 1478|    866|    SEXP w;
 1479|    866|    PROTECT(key);
  ------------------
  |  |  357|    866|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1480|    866|    PROTECT(val);
  ------------------
  |  |  357|    866|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1481|    866|    w = NewWeakRef(key, val, MakeCFinalizer(fin), onexit);
 1482|    866|    UNPROTECT(2);
  ------------------
  |  |  358|    866|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1483|    866|    return w;
 1484|    866|}
R_WeakRefKey:
 1525|  61.3k|{
 1526|  61.3k|    if (TYPEOF(w) != WEAKREFSXP)
  ------------------
  |  |  233|  61.3k|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
                  if (TYPEOF(w) != WEAKREFSXP)
  ------------------
  |  |  135|  61.3k|#define WEAKREFSXP  23    /* weak reference */
  ------------------
  |  Branch (1526:9): [True: 0, False: 61.3k]
  ------------------
 1527|      0|	error(_("not a weak reference"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("not a weak reference"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1528|  61.3k|    return WEAKREF_KEY(w);
  ------------------
  |  | 1414|  61.3k|#define WEAKREF_KEY(w) VECTOR_ELT_0(w, 0)
  |  |  ------------------
  |  |  |  |   80|  61.3k|#define VECTOR_ELT_0(x,i)        ((SEXP *) STDVEC_DATAPTR(x))[i]
  |  |  |  |  ------------------
  |  |  |  |  |  |  420|  61.3k|#define STDVEC_DATAPTR(x) ((void *) (((SEXPREC_ALIGN *) (x)) + 1))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1529|  61.3k|}
R_RunWeakRefFinalizer:
 1543|     65|{
 1544|     65|    SEXP key, fun, e;
 1545|     65|    if (TYPEOF(w) != WEAKREFSXP)
  ------------------
  |  |  233|     65|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
                  if (TYPEOF(w) != WEAKREFSXP)
  ------------------
  |  |  135|     65|#define WEAKREFSXP  23    /* weak reference */
  ------------------
  |  Branch (1545:9): [True: 0, False: 65]
  ------------------
 1546|      0|	error(_("not a weak reference"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("not a weak reference"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1547|     65|    key = WEAKREF_KEY(w);
  ------------------
  |  | 1414|     65|#define WEAKREF_KEY(w) VECTOR_ELT_0(w, 0)
  |  |  ------------------
  |  |  |  |   80|     65|#define VECTOR_ELT_0(x,i)        ((SEXP *) STDVEC_DATAPTR(x))[i]
  |  |  |  |  ------------------
  |  |  |  |  |  |  420|     65|#define STDVEC_DATAPTR(x) ((void *) (((SEXPREC_ALIGN *) (x)) + 1))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1548|     65|    fun = WEAKREF_FINALIZER(w);
  ------------------
  |  | 1418|     65|#define WEAKREF_FINALIZER(w) VECTOR_ELT_0(w, 2)
  |  |  ------------------
  |  |  |  |   80|     65|#define VECTOR_ELT_0(x,i)        ((SEXP *) STDVEC_DATAPTR(x))[i]
  |  |  |  |  ------------------
  |  |  |  |  |  |  420|     65|#define STDVEC_DATAPTR(x) ((void *) (((SEXPREC_ALIGN *) (x)) + 1))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1549|     65|    SET_WEAKREF_KEY(w, R_NilValue);
  ------------------
  |  | 1415|     65|#define SET_WEAKREF_KEY(w, k) SET_VECTOR_ELT(w, 0, k)
  ------------------
 1550|     65|    SET_WEAKREF_VALUE(w, R_NilValue);
  ------------------
  |  | 1417|     65|#define SET_WEAKREF_VALUE(w, v) SET_VECTOR_ELT(w, 1, v)
  ------------------
 1551|     65|    SET_WEAKREF_FINALIZER(w, R_NilValue);
  ------------------
  |  | 1419|     65|#define SET_WEAKREF_FINALIZER(w, f) SET_VECTOR_ELT(w, 2, f)
  ------------------
 1552|     65|    if (! IS_READY_TO_FINALIZE(w))
  ------------------
  |  | 1405|     65|#define IS_READY_TO_FINALIZE(s) ((s)->sxpinfo.gp & READY_TO_FINALIZE_MASK)
  |  |  ------------------
  |  |  |  | 1401|     65|#define READY_TO_FINALIZE_MASK 1
  |  |  ------------------
  ------------------
  |  Branch (1552:9): [True: 0, False: 65]
  ------------------
 1553|      0|	SET_READY_TO_FINALIZE(w); /* insures removal from list on next gc */
  ------------------
  |  | 1403|      0|#define SET_READY_TO_FINALIZE(s) ((s)->sxpinfo.gp |= READY_TO_FINALIZE_MASK)
  |  |  ------------------
  |  |  |  | 1401|      0|#define READY_TO_FINALIZE_MASK 1
  |  |  ------------------
  ------------------
 1554|     65|    PROTECT(key);
  ------------------
  |  |  357|     65|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1555|     65|    PROTECT(fun);
  ------------------
  |  |  357|     65|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1556|     65|    Rboolean oldintrsusp = R_interrupts_suspended;
 1557|     65|    R_interrupts_suspended = TRUE;
 1558|     65|    if (isCFinalizer(fun)) {
  ------------------
  |  Branch (1558:9): [True: 63, False: 2]
  ------------------
 1559|       |	/* Must be a C finalizer. */
 1560|     63|	R_CFinalizer_t cfun = GetCFinalizer(fun);
 1561|     63|	cfun(key);
 1562|     63|    }
 1563|      2|    else if (fun != R_NilValue) {
  ------------------
  |  Branch (1563:14): [True: 0, False: 2]
  ------------------
 1564|       |	/* An R finalizer. */
 1565|      0|	PROTECT(e = LCONS(fun, LCONS(key, R_NilValue)));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1566|      0|	eval(e, R_GlobalEnv);
  ------------------
  |  |  913|      0|#define eval			Rf_eval
  ------------------
 1567|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1568|      0|    }
 1569|     65|    R_interrupts_suspended = oldintrsusp;
 1570|     65|    UNPROTECT(2);
  ------------------
  |  |  358|     65|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1571|     65|}
R_RunPendingFinalizers:
 1662|  3.38M|{
 1663|  3.38M|    if (R_finalizers_pending)
  ------------------
  |  Branch (1663:9): [True: 3, False: 3.38M]
  ------------------
 1664|      3|	RunFinalizers();
 1665|  3.38M|}
R_RegisterCFinalizerEx:
 1678|    866|{
 1679|    866|    R_MakeWeakRefC(s, R_NilValue, fun, onexit);
 1680|    866|}
R_RegisterCFinalizer:
 1683|    778|{
 1684|    778|    R_RegisterCFinalizerEx(s, fun, FALSE);
 1685|    778|}
Rf_InitMemory:
 2248|      2|{
 2249|      2|    int i;
 2250|      2|    int gen;
 2251|      2|    char *arg;
 2252|       |
 2253|      2|    init_gctorture();
 2254|      2|    init_gc_grow_settings();
 2255|       |
 2256|      2|    arg = getenv("_R_GC_FAIL_ON_ERROR_");
 2257|      2|    if (arg != NULL && StringTrue(arg))
  ------------------
  |  |   52|      2|#define StringTrue    Rf_StringTrue
  ------------------
  |  Branch (2257:9): [True: 2, False: 0]
  |  Branch (2257:24): [True: 0, False: 2]
  ------------------
 2258|      0|	gc_fail_on_error = TRUE;
 2259|      2|    else if (arg != NULL && StringFalse(arg))
  ------------------
  |  |   51|      2|#define StringFalse   Rf_StringFalse
  ------------------
  |  Branch (2259:14): [True: 2, False: 0]
  |  Branch (2259:29): [True: 0, False: 2]
  ------------------
 2260|      0|	gc_fail_on_error = FALSE;
 2261|       |
 2262|      2|    gc_reporting = R_Verbose;
 2263|       |    //R_StandardPPStackSize = R_PPStackSize;
 2264|      2|    R_RealPPStackSize = R_PPStackSize + PP_REDZONE_SIZE;
  ------------------
  |  | 2243|      2|#define PP_REDZONE_SIZE 1000L
  ------------------
 2265|      2|    if (!(R_PPStack = (SEXP *) malloc(R_RealPPStackSize * sizeof(SEXP))))
  ------------------
  |  Branch (2265:9): [True: 0, False: 2]
  ------------------
 2266|      0|	R_Suicide("couldn't allocate memory for pointer stack");
 2267|      2|    R_PPStackTop = 0;
 2268|       |#if VALGRIND_LEVEL > 1
 2269|       |    VALGRIND_MAKE_MEM_NOACCESS(R_PPStack+R_PPStackSize, PP_REDZONE_SIZE);
 2270|       |#endif
 2271|      2|    vsfac = sizeof(VECREC);
 2272|      2|    R_VSize = (R_VSize + 1)/vsfac;
 2273|      2|    if (R_MaxVSize < R_SIZE_T_MAX) R_MaxVSize = (R_MaxVSize + 1)/vsfac;
  ------------------
  |  | 1044|      2|# define R_SIZE_T_MAX SIZE_MAX
  ------------------
  |  Branch (2273:9): [True: 2, False: 0]
  ------------------
 2274|       |
 2275|      2|    UNMARK_NODE(&UnmarkedNodeTemplate);
  ------------------
  |  |  270|      2|#define UNMARK_NODE(s) (MARK(s)=0)
  |  |  ------------------
  |  |  |  |  232|      2|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  ------------------
  ------------------
 2276|       |
 2277|     18|    for (i = 0; i < NUM_NODE_CLASSES; i++) {
  ------------------
  |  |  531|     18|#define NUM_NODE_CLASSES 8
  ------------------
  |  Branch (2277:17): [True: 16, False: 2]
  ------------------
 2278|     48|      for (gen = 0; gen < NUM_OLD_GENERATIONS; gen++) {
  ------------------
  |  |  551|     48|#define NUM_OLD_GENERATIONS 2
  ------------------
  |  Branch (2278:21): [True: 32, False: 16]
  ------------------
 2279|     32|	R_GenHeap[i].Old[gen] = &R_GenHeap[i].OldPeg[gen];
 2280|     32|	SET_PREV_NODE(R_GenHeap[i].Old[gen], R_GenHeap[i].Old[gen]);
  ------------------
  |  |  642|     32|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  ------------------
  |  |  |  |  640|     32|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  ------------------
  ------------------
 2281|     32|	SET_NEXT_NODE(R_GenHeap[i].Old[gen], R_GenHeap[i].Old[gen]);
  ------------------
  |  |  641|     32|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  ------------------
  |  |  |  |  639|     32|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  ------------------
  ------------------
 2282|       |
 2283|     32|#ifndef EXPEL_OLD_TO_NEW
 2284|     32|	R_GenHeap[i].OldToNew[gen] = &R_GenHeap[i].OldToNewPeg[gen];
 2285|     32|	SET_PREV_NODE(R_GenHeap[i].OldToNew[gen], R_GenHeap[i].OldToNew[gen]);
  ------------------
  |  |  642|     32|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  ------------------
  |  |  |  |  640|     32|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  ------------------
  ------------------
 2286|     32|	SET_NEXT_NODE(R_GenHeap[i].OldToNew[gen], R_GenHeap[i].OldToNew[gen]);
  ------------------
  |  |  641|     32|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  ------------------
  |  |  |  |  639|     32|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  ------------------
  ------------------
 2287|     32|#endif
 2288|       |
 2289|     32|	R_GenHeap[i].OldCount[gen] = 0;
 2290|     32|      }
 2291|     16|      R_GenHeap[i].New = &R_GenHeap[i].NewPeg;
 2292|     16|      SET_PREV_NODE(R_GenHeap[i].New, R_GenHeap[i].New);
  ------------------
  |  |  642|     16|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  ------------------
  |  |  |  |  640|     16|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  ------------------
  ------------------
 2293|     16|      SET_NEXT_NODE(R_GenHeap[i].New, R_GenHeap[i].New);
  ------------------
  |  |  641|     16|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  ------------------
  |  |  |  |  639|     16|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  ------------------
  ------------------
 2294|     16|    }
 2295|       |
 2296|     18|    for (i = 0; i < NUM_NODE_CLASSES; i++)
  ------------------
  |  |  531|     18|#define NUM_NODE_CLASSES 8
  ------------------
  |  Branch (2296:17): [True: 16, False: 2]
  ------------------
 2297|     16|	R_GenHeap[i].Free = NEXT_NODE(R_GenHeap[i].New);
  ------------------
  |  |  639|     16|#define NEXT_NODE(s) (s)->gengc_next_node
  ------------------
 2298|       |
 2299|      2|    SET_NODE_CLASS(&UnmarkedNodeTemplate, 0);
  ------------------
  |  |  546|      2|#define SET_NODE_CLASS(s,v) (((s)->sxpinfo.gccls) = (v))
  ------------------
 2300|      2|    orig_R_NSize = R_NSize;
 2301|      2|    orig_R_VSize = R_VSize;
 2302|       |
 2303|       |    /* R_NilValue */
 2304|       |    /* THIS MUST BE THE FIRST CONS CELL ALLOCATED */
 2305|       |    /* OR ARMAGEDDON HAPPENS. */
 2306|       |    /* Field assignments for R_NilValue must not go through write barrier
 2307|       |       since the write barrier prevents assignments to R_NilValue's fields.
 2308|       |       because of checks for nil */
 2309|      2|    GET_FREE_NODE(R_NilValue);
  ------------------
  |  |  858|      2|#define GET_FREE_NODE(s) CLASS_GET_FREE_NODE(0,s)
  |  |  ------------------
  |  |  |  |  846|      2|#define CLASS_GET_FREE_NODE(c,s) do { \
  |  |  |  |  847|      2|  SEXP __n__ = R_GenHeap[c].Free; \
  |  |  |  |  848|      2|  if (__n__ == R_GenHeap[c].New) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (848:7): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  849|      2|    GetNewPage(c); \
  |  |  |  |  850|      2|    __n__ = R_GenHeap[c].Free; \
  |  |  |  |  851|      2|  } \
  |  |  |  |  852|      2|  R_GenHeap[c].Free = NEXT_NODE(__n__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|      2|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  |  |  853|      2|  R_NodesInUse++; \
  |  |  |  |  854|      2|  (s) = __n__; \
  |  |  |  |  855|      2|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (855:10): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2310|      2|    R_NilValue->sxpinfo = UnmarkedNodeTemplate.sxpinfo;
 2311|      2|    INIT_REFCNT(R_NilValue);
  ------------------
  |  |  982|      2|#define INIT_REFCNT(x) do {			\
  |  |  983|      2|	SEXP __x__ = (x);			\
  |  |  984|      2|	SET_REFCNT(__x__, 0);			\
  |  |  ------------------
  |  |  |  |  256|      2|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  |  248|      2|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  985|      2|	SET_TRACKREFS(__x__, TRUE);		\
  |  |  ------------------
  |  |  |  |  260|      2|#  define SET_TRACKREFS(x,v) ((x)->sxpinfo.spare = ! (v))
  |  |  ------------------
  |  |  986|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (986:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2312|      2|    SET_REFCNT(R_NilValue, REFCNTMAX);
  ------------------
  |  |  256|      2|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  ------------------
  |  |  |  |  248|      2|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  ------------------
  ------------------
 2313|      2|    SET_TYPEOF(R_NilValue, NILSXP);
  ------------------
  |  |  238|      2|#define SET_TYPEOF(x,v)	(((x)->sxpinfo.type)=(v))
  ------------------
 2314|      2|    CAR0(R_NilValue) = R_NilValue;
  ------------------
  |  |  441|      2|#define CAR0(e)		((e)->u.listsxp.carval)
  ------------------
 2315|      2|    CDR(R_NilValue) = R_NilValue;
  ------------------
  |  |  445|      2|#define CDR(e)		((e)->u.listsxp.cdrval)
  ------------------
 2316|      2|    TAG(R_NilValue) = R_NilValue;
  ------------------
  |  |  440|      2|#define TAG(e)		((e)->u.listsxp.tagval)
  ------------------
 2317|      2|    ATTRIB(R_NilValue) = R_NilValue;
  ------------------
  |  |  230|      2|#define ATTRIB(x)	((x)->attrib)
  ------------------
 2318|      2|    MARK_NOT_MUTABLE(R_NilValue);
  ------------------
  |  |  283|      2|# define MARK_NOT_MUTABLE(x) SET_REFCNT(x, REFCNTMAX)
  |  |  ------------------
  |  |  |  |  256|      2|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  |  248|      2|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2319|       |
 2320|      2|    R_BCNodeStackBase =
 2321|      2|	(R_bcstack_t *) malloc(R_BCNODESTACKSIZE * sizeof(R_bcstack_t));
  ------------------
  |  | 1712|      2|#define R_BCNODESTACKSIZE 300000
  ------------------
 2322|      2|    if (R_BCNodeStackBase == NULL)
  ------------------
  |  Branch (2322:9): [True: 0, False: 2]
  ------------------
 2323|      0|	R_Suicide("couldn't allocate node stack");
 2324|      2|    R_BCNodeStackTop = R_BCNodeStackBase;
 2325|      2|    R_BCNodeStackEnd = R_BCNodeStackBase + R_BCNODESTACKSIZE;
  ------------------
  |  | 1712|      2|#define R_BCNODESTACKSIZE 300000
  ------------------
 2326|      2|    R_BCProtTop = R_BCNodeStackTop;
 2327|       |
 2328|      2|    R_weak_refs = R_NilValue;
 2329|       |
 2330|      2|    R_HandlerStack = R_RestartStack = R_NilValue;
 2331|       |
 2332|       |    /*  Unbound values which are to be preserved through GCs */
 2333|      2|    R_PreciousList = R_NilValue;
 2334|       |
 2335|       |    /*  The current source line */
 2336|      2|    R_Srcref = R_NilValue;
 2337|       |
 2338|       |    /* R_TrueValue and R_FalseValue */
 2339|      2|    R_TrueValue = mkTrue();
  ------------------
  |  | 1965|      2|# define mkTrue			Rf_mkTrue
  ------------------
 2340|      2|    MARK_NOT_MUTABLE(R_TrueValue);
  ------------------
  |  |  283|      2|# define MARK_NOT_MUTABLE(x) SET_REFCNT(x, REFCNTMAX)
  |  |  ------------------
  |  |  |  |  256|      2|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  |  248|      2|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2341|      2|    R_FalseValue = mkFalse();
  ------------------
  |  | 1961|      2|# define mkFalse		Rf_mkFalse
  ------------------
 2342|      2|    MARK_NOT_MUTABLE(R_FalseValue);
  ------------------
  |  |  283|      2|# define MARK_NOT_MUTABLE(x) SET_REFCNT(x, REFCNTMAX)
  |  |  ------------------
  |  |  |  |  256|      2|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  |  248|      2|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2343|      2|    R_LogicalNAValue = allocVector(LGLSXP, 1);
  ------------------
  |  |  875|      2|#define allocVector		Rf_allocVector
  ------------------
                  R_LogicalNAValue = allocVector(LGLSXP, 1);
  ------------------
  |  |  121|      2|#define LGLSXP	    10	  /* logical vectors */
  ------------------
 2344|      2|    LOGICAL(R_LogicalNAValue)[0] = NA_LOGICAL;
  ------------------
  |  |  423|      2|#define LOGICAL(x)	((int *) DATAPTR(x))
  ------------------
                  LOGICAL(R_LogicalNAValue)[0] = NA_LOGICAL;
  ------------------
  |  |   55|      2|#define NA_LOGICAL	R_NaInt
  ------------------
 2345|      2|    MARK_NOT_MUTABLE(R_LogicalNAValue);
  ------------------
  |  |  283|      2|# define MARK_NOT_MUTABLE(x) SET_REFCNT(x, REFCNTMAX)
  |  |  ------------------
  |  |  |  |  256|      2|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  |  248|      2|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2346|      2|}
vmaxget:
 2353|  46.9M|{
 2354|  46.9M|    return (void *) R_VStack;
 2355|  46.9M|}
vmaxset:
 2358|  34.2M|{
 2359|  34.2M|    R_VStack = (SEXP) ovmax;
 2360|  34.2M|}
R_alloc:
 2363|  16.6k|{
 2364|  16.6k|    R_size_t size = nelem * eltsize;
 2365|       |    /* doubles are a precaution against integer overflow on 32-bit */
 2366|  16.6k|    double dsize = (double) nelem * eltsize;
 2367|  16.6k|    if (dsize > 0) {
  ------------------
  |  Branch (2367:9): [True: 16.6k, False: 0]
  ------------------
 2368|  16.6k|	SEXP s;
 2369|  16.6k|#ifdef LONG_VECTOR_SUPPORT
 2370|       |	/* 64-bit platform: previous version used REALSXPs */
 2371|  16.6k|	if(dsize > R_XLEN_T_MAX)  /* currently 4096 TB */
  ------------------
  |  |   76|  16.6k|# define R_XLEN_T_MAX 4503599627370496
  ------------------
  |  Branch (2371:5): [True: 0, False: 16.6k]
  ------------------
 2372|      0|	    error(_("cannot allocate memory block of size %0.f %s"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("cannot allocate memory block of size %0.f %s"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2373|      0|		  dsize/R_pow_di(1024.0, 4), "Tb");
 2374|  16.6k|	s = allocVector(RAWSXP, size + 1);
  ------------------
  |  |  875|  16.6k|#define allocVector		Rf_allocVector
  ------------------
              	s = allocVector(RAWSXP, size + 1);
  ------------------
  |  |  136|  16.6k|#define RAWSXP      24    /* raw bytes */
  ------------------
 2375|       |#else
 2376|       |	if(dsize > R_LEN_T_MAX) /* must be in the Gb range */
 2377|       |	    error(_("cannot allocate memory block of size %0.1f %s"),
 2378|       |		  dsize/R_pow_di(1024.0, 3), "Gb");
 2379|       |	s = allocVector(RAWSXP, size + 1);
 2380|       |#endif
 2381|  16.6k|	ATTRIB(s) = R_VStack;
  ------------------
  |  |  230|  16.6k|#define ATTRIB(x)	((x)->attrib)
  ------------------
 2382|  16.6k|	R_VStack = s;
 2383|  16.6k|	return (char *) STDVEC_DATAPTR(s);
  ------------------
  |  |  420|  16.6k|#define STDVEC_DATAPTR(x) ((void *) (((SEXPREC_ALIGN *) (x)) + 1))
  ------------------
 2384|  16.6k|    }
 2385|       |    /* One programmer has relied on this, but it is undocumented! */
 2386|      0|    else return NULL;
 2387|  16.6k|}
Rf_allocSExp:
 2484|  8.76M|{
 2485|  8.76M|    if (t == NILSXP)
  ------------------
  |  |  111|  8.76M|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (2485:9): [True: 0, False: 8.76M]
  ------------------
 2486|       |	/* R_NilValue should be the only NILSXP object */
 2487|      0|	return R_NilValue;
 2488|  8.76M|    SEXP s;
 2489|  8.76M|    if (FORCE_GC || NO_FREE_NODES()) {
  ------------------
  |  |  241|  17.5M|#define FORCE_GC (gc_pending || (gc_force_wait > 0 ? (--gc_force_wait > 0 ? 0 : (gc_force_wait = gc_force_gap, 1)) : 0))
  |  |  ------------------
  |  |  |  Branch (241:19): [True: 0, False: 8.76M]
  |  |  |  Branch (241:33): [True: 0, False: 8.76M]
  |  |  |  Branch (241:34): [True: 0, False: 8.76M]
  |  |  |  Branch (241:55): [True: 0, False: 0]
  |  |  ------------------
  ------------------
                  if (FORCE_GC || NO_FREE_NODES()) {
  ------------------
  |  |  857|  8.76M|#define NO_FREE_NODES() (R_NodesInUse >= R_NSize)
  |  |  ------------------
  |  |  |  Branch (857:25): [True: 18, False: 8.76M]
  |  |  ------------------
  ------------------
 2490|     18|	R_gc_internal(0);
 2491|     18|	if (NO_FREE_NODES())
  ------------------
  |  |  857|     18|#define NO_FREE_NODES() (R_NodesInUse >= R_NSize)
  |  |  ------------------
  |  |  |  Branch (857:25): [True: 0, False: 18]
  |  |  ------------------
  ------------------
 2492|      0|	    mem_err_cons();
 2493|     18|    }
 2494|  8.76M|    GET_FREE_NODE(s);
  ------------------
  |  |  858|  8.76M|#define GET_FREE_NODE(s) CLASS_GET_FREE_NODE(0,s)
  |  |  ------------------
  |  |  |  |  846|  8.76M|#define CLASS_GET_FREE_NODE(c,s) do { \
  |  |  |  |  847|  8.76M|  SEXP __n__ = R_GenHeap[c].Free; \
  |  |  |  |  848|  8.76M|  if (__n__ == R_GenHeap[c].New) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (848:7): [True: 18.5k, False: 8.74M]
  |  |  |  |  ------------------
  |  |  |  |  849|  18.5k|    GetNewPage(c); \
  |  |  |  |  850|  18.5k|    __n__ = R_GenHeap[c].Free; \
  |  |  |  |  851|  18.5k|  } \
  |  |  |  |  852|  8.76M|  R_GenHeap[c].Free = NEXT_NODE(__n__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|  8.76M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  |  |  853|  8.76M|  R_NodesInUse++; \
  |  |  |  |  854|  8.76M|  (s) = __n__; \
  |  |  |  |  855|  8.76M|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (855:10): [Folded, False: 8.76M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2495|  8.76M|    s->sxpinfo = UnmarkedNodeTemplate.sxpinfo;
 2496|  8.76M|    INIT_REFCNT(s);
  ------------------
  |  |  982|  8.76M|#define INIT_REFCNT(x) do {			\
  |  |  983|  8.76M|	SEXP __x__ = (x);			\
  |  |  984|  8.76M|	SET_REFCNT(__x__, 0);			\
  |  |  ------------------
  |  |  |  |  256|  8.76M|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  |  248|  8.76M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  985|  8.76M|	SET_TRACKREFS(__x__, TRUE);		\
  |  |  ------------------
  |  |  |  |  260|  8.76M|#  define SET_TRACKREFS(x,v) ((x)->sxpinfo.spare = ! (v))
  |  |  ------------------
  |  |  986|  8.76M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (986:14): [Folded, False: 8.76M]
  |  |  ------------------
  ------------------
 2497|  8.76M|    SET_TYPEOF(s, t);
  ------------------
  |  |  238|  8.76M|#define SET_TYPEOF(x,v)	(((x)->sxpinfo.type)=(v))
  ------------------
 2498|  8.76M|    CAR0(s) = R_NilValue;
  ------------------
  |  |  441|  8.76M|#define CAR0(e)		((e)->u.listsxp.carval)
  ------------------
 2499|  8.76M|    CDR(s) = R_NilValue;
  ------------------
  |  |  445|  8.76M|#define CDR(e)		((e)->u.listsxp.cdrval)
  ------------------
 2500|  8.76M|    TAG(s) = R_NilValue;
  ------------------
  |  |  440|  8.76M|#define TAG(e)		((e)->u.listsxp.tagval)
  ------------------
 2501|  8.76M|    ATTRIB(s) = R_NilValue;
  ------------------
  |  |  230|  8.76M|#define ATTRIB(x)	((x)->attrib)
  ------------------
 2502|  8.76M|    return s;
 2503|  8.76M|}
Rf_cons:
 2525|  84.7M|{
 2526|  84.7M|    SEXP s;
 2527|  84.7M|    if (FORCE_GC || NO_FREE_NODES()) {
  ------------------
  |  |  241|   169M|#define FORCE_GC (gc_pending || (gc_force_wait > 0 ? (--gc_force_wait > 0 ? 0 : (gc_force_wait = gc_force_gap, 1)) : 0))
  |  |  ------------------
  |  |  |  Branch (241:19): [True: 0, False: 84.7M]
  |  |  |  Branch (241:33): [True: 0, False: 84.7M]
  |  |  |  Branch (241:34): [True: 0, False: 84.7M]
  |  |  |  Branch (241:55): [True: 0, False: 0]
  |  |  ------------------
  ------------------
                  if (FORCE_GC || NO_FREE_NODES()) {
  ------------------
  |  |  857|  84.7M|#define NO_FREE_NODES() (R_NodesInUse >= R_NSize)
  |  |  ------------------
  |  |  |  Branch (857:25): [True: 191, False: 84.7M]
  |  |  ------------------
  ------------------
 2528|    191|	PROTECT(car);
  ------------------
  |  |  357|    191|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2529|    191|	PROTECT(cdr);
  ------------------
  |  |  357|    191|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2530|    191|	R_gc_internal(0);
 2531|    191|	UNPROTECT(2);
  ------------------
  |  |  358|    191|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2532|    191|	if (NO_FREE_NODES())
  ------------------
  |  |  857|    191|#define NO_FREE_NODES() (R_NodesInUse >= R_NSize)
  |  |  ------------------
  |  |  |  Branch (857:25): [True: 0, False: 191]
  |  |  ------------------
  ------------------
 2533|      0|	    mem_err_cons();
 2534|    191|    }
 2535|       |
 2536|  84.7M|    if (NEED_NEW_PAGE()) {
  ------------------
  |  |  874|  84.7M|#define NEED_NEW_PAGE() CLASS_NEED_NEW_PAGE(0)
  |  |  ------------------
  |  |  |  |  873|  84.7M|#define CLASS_NEED_NEW_PAGE(c) (R_GenHeap[c].Free == R_GenHeap[c].New)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (873:32): [True: 164k, False: 84.5M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2537|   164k|	PROTECT(car);
  ------------------
  |  |  357|   164k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2538|   164k|	PROTECT(cdr);
  ------------------
  |  |  357|   164k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2539|   164k|	GET_FREE_NODE(s);
  ------------------
  |  |  858|   164k|#define GET_FREE_NODE(s) CLASS_GET_FREE_NODE(0,s)
  |  |  ------------------
  |  |  |  |  846|   164k|#define CLASS_GET_FREE_NODE(c,s) do { \
  |  |  |  |  847|   164k|  SEXP __n__ = R_GenHeap[c].Free; \
  |  |  |  |  848|   164k|  if (__n__ == R_GenHeap[c].New) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (848:7): [True: 164k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  849|   164k|    GetNewPage(c); \
  |  |  |  |  850|   164k|    __n__ = R_GenHeap[c].Free; \
  |  |  |  |  851|   164k|  } \
  |  |  |  |  852|   164k|  R_GenHeap[c].Free = NEXT_NODE(__n__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|   164k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  |  |  853|   164k|  R_NodesInUse++; \
  |  |  |  |  854|   164k|  (s) = __n__; \
  |  |  |  |  855|   164k|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (855:10): [Folded, False: 164k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2540|   164k|	UNPROTECT(2);
  ------------------
  |  |  358|   164k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2541|   164k|    }
 2542|  84.5M|    else
 2543|  84.7M|	QUICK_GET_FREE_NODE(s);
  ------------------
  |  |  870|  84.5M|#define QUICK_GET_FREE_NODE(s) CLASS_QUICK_GET_FREE_NODE(0,s)
  |  |  ------------------
  |  |  |  |  861|  84.5M|#define CLASS_QUICK_GET_FREE_NODE(c,s) do {		\
  |  |  |  |  862|  84.5M|	SEXP __n__ = R_GenHeap[c].Free;			\
  |  |  |  |  863|  84.5M|	if (__n__ == R_GenHeap[c].New)			\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (863:6): [True: 0, False: 84.5M]
  |  |  |  |  ------------------
  |  |  |  |  864|  84.5M|	    error("need new page - should not happen");	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  ------------------
  |  |  |  |  865|  84.5M|	R_GenHeap[c].Free = NEXT_NODE(__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|  84.5M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  |  |  866|  84.5M|	R_NodesInUse++;					\
  |  |  |  |  867|  84.5M|	(s) = __n__;					\
  |  |  |  |  868|  84.5M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (868:14): [Folded, False: 84.5M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2544|       |
 2545|  84.7M|    s->sxpinfo = UnmarkedNodeTemplate.sxpinfo;
 2546|  84.7M|    INIT_REFCNT(s);
  ------------------
  |  |  982|  84.7M|#define INIT_REFCNT(x) do {			\
  |  |  983|  84.7M|	SEXP __x__ = (x);			\
  |  |  984|  84.7M|	SET_REFCNT(__x__, 0);			\
  |  |  ------------------
  |  |  |  |  256|  84.7M|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  |  248|  84.7M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  985|  84.7M|	SET_TRACKREFS(__x__, TRUE);		\
  |  |  ------------------
  |  |  |  |  260|  84.7M|#  define SET_TRACKREFS(x,v) ((x)->sxpinfo.spare = ! (v))
  |  |  ------------------
  |  |  986|  84.7M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (986:14): [Folded, False: 84.7M]
  |  |  ------------------
  ------------------
 2547|  84.7M|    SET_TYPEOF(s, LISTSXP);
  ------------------
  |  |  238|  84.7M|#define SET_TYPEOF(x,v)	(((x)->sxpinfo.type)=(v))
  ------------------
 2548|  84.7M|    CAR0(s) = CHK(car); if (car) INCREMENT_REFCNT(car);
  ------------------
  |  |  441|  84.7M|#define CAR0(e)		((e)->u.listsxp.carval)
  ------------------
                  CAR0(s) = CHK(car); if (car) INCREMENT_REFCNT(car);
  ------------------
  |  |  267|  84.7M|# define INCREMENT_REFCNT(x) do {			      \
  |  |  268|  84.7M|	SEXP irc__x__ = (x);				      \
  |  |  269|  84.7M|	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  ------------------
  |  |  |  |  248|  84.7M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  ------------------
  |  |               	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  ------------------
  |  |  |  |  195|  84.7M|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|  84.7M|#define NAMED_BITS 16
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (269:6): [True: 38.5M, False: 46.2M]
  |  |  ------------------
  |  |  270|  84.7M|	    SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1);	      \
  |  |  ------------------
  |  |  |  |  256|  38.5M|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  |  248|  38.5M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  271|  84.7M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (271:14): [Folded, False: 84.7M]
  |  |  ------------------
  ------------------
  |  Branch (2548:29): [True: 84.7M, False: 0]
  ------------------
 2549|  84.7M|    CDR(s) = CHK(cdr); if (cdr) INCREMENT_REFCNT(cdr);
  ------------------
  |  |  445|  84.7M|#define CDR(e)		((e)->u.listsxp.cdrval)
  ------------------
                  CDR(s) = CHK(cdr); if (cdr) INCREMENT_REFCNT(cdr);
  ------------------
  |  |  267|  84.7M|# define INCREMENT_REFCNT(x) do {			      \
  |  |  268|  84.7M|	SEXP irc__x__ = (x);				      \
  |  |  269|  84.7M|	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  ------------------
  |  |  |  |  248|  84.7M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  ------------------
  |  |               	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  ------------------
  |  |  |  |  195|  84.7M|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|  84.7M|#define NAMED_BITS 16
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (269:6): [True: 40.2M, False: 44.4M]
  |  |  ------------------
  |  |  270|  84.7M|	    SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1);	      \
  |  |  ------------------
  |  |  |  |  256|  40.2M|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  |  248|  40.2M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  271|  84.7M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (271:14): [Folded, False: 84.7M]
  |  |  ------------------
  ------------------
  |  Branch (2549:28): [True: 84.7M, False: 0]
  ------------------
 2550|  84.7M|    TAG(s) = R_NilValue;
  ------------------
  |  |  440|  84.7M|#define TAG(e)		((e)->u.listsxp.tagval)
  ------------------
 2551|  84.7M|    ATTRIB(s) = R_NilValue;
  ------------------
  |  |  230|  84.7M|#define ATTRIB(x)	((x)->attrib)
  ------------------
 2552|  84.7M|    return s;
 2553|  84.7M|}
CONS_NR:
 2556|  97.0M|{
 2557|  97.0M|    SEXP s;
 2558|  97.0M|    if (FORCE_GC || NO_FREE_NODES()) {
  ------------------
  |  |  241|   194M|#define FORCE_GC (gc_pending || (gc_force_wait > 0 ? (--gc_force_wait > 0 ? 0 : (gc_force_wait = gc_force_gap, 1)) : 0))
  |  |  ------------------
  |  |  |  Branch (241:19): [True: 0, False: 97.0M]
  |  |  |  Branch (241:33): [True: 0, False: 97.0M]
  |  |  |  Branch (241:34): [True: 0, False: 97.0M]
  |  |  |  Branch (241:55): [True: 0, False: 0]
  |  |  ------------------
  ------------------
                  if (FORCE_GC || NO_FREE_NODES()) {
  ------------------
  |  |  857|  97.0M|#define NO_FREE_NODES() (R_NodesInUse >= R_NSize)
  |  |  ------------------
  |  |  |  Branch (857:25): [True: 260, False: 97.0M]
  |  |  ------------------
  ------------------
 2559|    260|	PROTECT(car);
  ------------------
  |  |  357|    260|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2560|    260|	PROTECT(cdr);
  ------------------
  |  |  357|    260|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2561|    260|	R_gc_internal(0);
 2562|    260|	UNPROTECT(2);
  ------------------
  |  |  358|    260|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2563|    260|	if (NO_FREE_NODES())
  ------------------
  |  |  857|    260|#define NO_FREE_NODES() (R_NodesInUse >= R_NSize)
  |  |  ------------------
  |  |  |  Branch (857:25): [True: 0, False: 260]
  |  |  ------------------
  ------------------
 2564|      0|	    mem_err_cons();
 2565|    260|    }
 2566|       |
 2567|  97.0M|    if (NEED_NEW_PAGE()) {
  ------------------
  |  |  874|  97.0M|#define NEED_NEW_PAGE() CLASS_NEED_NEW_PAGE(0)
  |  |  ------------------
  |  |  |  |  873|  97.0M|#define CLASS_NEED_NEW_PAGE(c) (R_GenHeap[c].Free == R_GenHeap[c].New)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (873:32): [True: 188k, False: 96.8M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2568|   188k|	PROTECT(car);
  ------------------
  |  |  357|   188k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2569|   188k|	PROTECT(cdr);
  ------------------
  |  |  357|   188k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2570|   188k|	GET_FREE_NODE(s);
  ------------------
  |  |  858|   188k|#define GET_FREE_NODE(s) CLASS_GET_FREE_NODE(0,s)
  |  |  ------------------
  |  |  |  |  846|   188k|#define CLASS_GET_FREE_NODE(c,s) do { \
  |  |  |  |  847|   188k|  SEXP __n__ = R_GenHeap[c].Free; \
  |  |  |  |  848|   188k|  if (__n__ == R_GenHeap[c].New) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (848:7): [True: 188k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  849|   188k|    GetNewPage(c); \
  |  |  |  |  850|   188k|    __n__ = R_GenHeap[c].Free; \
  |  |  |  |  851|   188k|  } \
  |  |  |  |  852|   188k|  R_GenHeap[c].Free = NEXT_NODE(__n__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|   188k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  |  |  853|   188k|  R_NodesInUse++; \
  |  |  |  |  854|   188k|  (s) = __n__; \
  |  |  |  |  855|   188k|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (855:10): [Folded, False: 188k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2571|   188k|	UNPROTECT(2);
  ------------------
  |  |  358|   188k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2572|   188k|    }
 2573|  96.8M|    else
 2574|  97.0M|	QUICK_GET_FREE_NODE(s);
  ------------------
  |  |  870|  96.8M|#define QUICK_GET_FREE_NODE(s) CLASS_QUICK_GET_FREE_NODE(0,s)
  |  |  ------------------
  |  |  |  |  861|  96.8M|#define CLASS_QUICK_GET_FREE_NODE(c,s) do {		\
  |  |  |  |  862|  96.8M|	SEXP __n__ = R_GenHeap[c].Free;			\
  |  |  |  |  863|  96.8M|	if (__n__ == R_GenHeap[c].New)			\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (863:6): [True: 0, False: 96.8M]
  |  |  |  |  ------------------
  |  |  |  |  864|  96.8M|	    error("need new page - should not happen");	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  ------------------
  |  |  |  |  865|  96.8M|	R_GenHeap[c].Free = NEXT_NODE(__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|  96.8M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  |  |  866|  96.8M|	R_NodesInUse++;					\
  |  |  |  |  867|  96.8M|	(s) = __n__;					\
  |  |  |  |  868|  96.8M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (868:14): [Folded, False: 96.8M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2575|       |
 2576|  97.0M|    s->sxpinfo = UnmarkedNodeTemplate.sxpinfo;
 2577|  97.0M|    INIT_REFCNT(s);
  ------------------
  |  |  982|  97.0M|#define INIT_REFCNT(x) do {			\
  |  |  983|  97.0M|	SEXP __x__ = (x);			\
  |  |  984|  97.0M|	SET_REFCNT(__x__, 0);			\
  |  |  ------------------
  |  |  |  |  256|  97.0M|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  |  248|  97.0M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  985|  97.0M|	SET_TRACKREFS(__x__, TRUE);		\
  |  |  ------------------
  |  |  |  |  260|  97.0M|#  define SET_TRACKREFS(x,v) ((x)->sxpinfo.spare = ! (v))
  |  |  ------------------
  |  |  986|  97.0M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (986:14): [Folded, False: 97.0M]
  |  |  ------------------
  ------------------
 2578|  97.0M|    DISABLE_REFCNT(s);
  ------------------
  |  |  280|  97.0M|#define DISABLE_REFCNT(x) SET_TRACKREFS(x, FALSE)
  |  |  ------------------
  |  |  |  |  260|  97.0M|#  define SET_TRACKREFS(x,v) ((x)->sxpinfo.spare = ! (v))
  |  |  ------------------
  ------------------
 2579|  97.0M|    SET_TYPEOF(s, LISTSXP);
  ------------------
  |  |  238|  97.0M|#define SET_TYPEOF(x,v)	(((x)->sxpinfo.type)=(v))
  ------------------
 2580|  97.0M|    CAR0(s) = CHK(car);
  ------------------
  |  |  441|  97.0M|#define CAR0(e)		((e)->u.listsxp.carval)
  ------------------
 2581|  97.0M|    CDR(s) = CHK(cdr);
  ------------------
  |  |  445|  97.0M|#define CDR(e)		((e)->u.listsxp.cdrval)
  ------------------
 2582|  97.0M|    TAG(s) = R_NilValue;
  ------------------
  |  |  440|  97.0M|#define TAG(e)		((e)->u.listsxp.tagval)
  ------------------
 2583|  97.0M|    ATTRIB(s) = R_NilValue;
  ------------------
  |  |  230|  97.0M|#define ATTRIB(x)	((x)->attrib)
  ------------------
 2584|  97.0M|    return s;
 2585|  97.0M|}
Rf_NewEnvironment:
 2606|  12.7M|{
 2607|  12.7M|    SEXP v, n, newrho;
 2608|       |
 2609|  12.7M|    if (FORCE_GC || NO_FREE_NODES()) {
  ------------------
  |  |  241|  25.5M|#define FORCE_GC (gc_pending || (gc_force_wait > 0 ? (--gc_force_wait > 0 ? 0 : (gc_force_wait = gc_force_gap, 1)) : 0))
  |  |  ------------------
  |  |  |  Branch (241:19): [True: 0, False: 12.7M]
  |  |  |  Branch (241:33): [True: 0, False: 12.7M]
  |  |  |  Branch (241:34): [True: 0, False: 12.7M]
  |  |  |  Branch (241:55): [True: 0, False: 0]
  |  |  ------------------
  ------------------
                  if (FORCE_GC || NO_FREE_NODES()) {
  ------------------
  |  |  857|  12.7M|#define NO_FREE_NODES() (R_NodesInUse >= R_NSize)
  |  |  ------------------
  |  |  |  Branch (857:25): [True: 39, False: 12.7M]
  |  |  ------------------
  ------------------
 2610|     39|	PROTECT(namelist);
  ------------------
  |  |  357|     39|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2611|     39|	PROTECT(valuelist);
  ------------------
  |  |  357|     39|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2612|     39|	PROTECT(rho);
  ------------------
  |  |  357|     39|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2613|     39|	R_gc_internal(0);
 2614|     39|	UNPROTECT(3);
  ------------------
  |  |  358|     39|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2615|     39|	if (NO_FREE_NODES())
  ------------------
  |  |  857|     39|#define NO_FREE_NODES() (R_NodesInUse >= R_NSize)
  |  |  ------------------
  |  |  |  Branch (857:25): [True: 0, False: 39]
  |  |  ------------------
  ------------------
 2616|      0|	    mem_err_cons();
 2617|     39|    }
 2618|       |
 2619|  12.7M|    if (NEED_NEW_PAGE()) {
  ------------------
  |  |  874|  12.7M|#define NEED_NEW_PAGE() CLASS_NEED_NEW_PAGE(0)
  |  |  ------------------
  |  |  |  |  873|  12.7M|#define CLASS_NEED_NEW_PAGE(c) (R_GenHeap[c].Free == R_GenHeap[c].New)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (873:32): [True: 24.9k, False: 12.7M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2620|  24.9k|	PROTECT(namelist);
  ------------------
  |  |  357|  24.9k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2621|  24.9k|	PROTECT(valuelist);
  ------------------
  |  |  357|  24.9k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2622|  24.9k|	PROTECT(rho);
  ------------------
  |  |  357|  24.9k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2623|  24.9k|	GET_FREE_NODE(newrho);
  ------------------
  |  |  858|  24.9k|#define GET_FREE_NODE(s) CLASS_GET_FREE_NODE(0,s)
  |  |  ------------------
  |  |  |  |  846|  24.9k|#define CLASS_GET_FREE_NODE(c,s) do { \
  |  |  |  |  847|  24.9k|  SEXP __n__ = R_GenHeap[c].Free; \
  |  |  |  |  848|  24.9k|  if (__n__ == R_GenHeap[c].New) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (848:7): [True: 24.9k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  849|  24.9k|    GetNewPage(c); \
  |  |  |  |  850|  24.9k|    __n__ = R_GenHeap[c].Free; \
  |  |  |  |  851|  24.9k|  } \
  |  |  |  |  852|  24.9k|  R_GenHeap[c].Free = NEXT_NODE(__n__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|  24.9k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  |  |  853|  24.9k|  R_NodesInUse++; \
  |  |  |  |  854|  24.9k|  (s) = __n__; \
  |  |  |  |  855|  24.9k|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (855:10): [Folded, False: 24.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2624|  24.9k|	UNPROTECT(3);
  ------------------
  |  |  358|  24.9k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2625|  24.9k|    }
 2626|  12.7M|    else
 2627|  12.7M|	QUICK_GET_FREE_NODE(newrho);
  ------------------
  |  |  870|  12.7M|#define QUICK_GET_FREE_NODE(s) CLASS_QUICK_GET_FREE_NODE(0,s)
  |  |  ------------------
  |  |  |  |  861|  12.7M|#define CLASS_QUICK_GET_FREE_NODE(c,s) do {		\
  |  |  |  |  862|  12.7M|	SEXP __n__ = R_GenHeap[c].Free;			\
  |  |  |  |  863|  12.7M|	if (__n__ == R_GenHeap[c].New)			\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (863:6): [True: 0, False: 12.7M]
  |  |  |  |  ------------------
  |  |  |  |  864|  12.7M|	    error("need new page - should not happen");	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  ------------------
  |  |  |  |  865|  12.7M|	R_GenHeap[c].Free = NEXT_NODE(__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|  12.7M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  |  |  866|  12.7M|	R_NodesInUse++;					\
  |  |  |  |  867|  12.7M|	(s) = __n__;					\
  |  |  |  |  868|  12.7M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (868:14): [Folded, False: 12.7M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2628|       |
 2629|  12.7M|    newrho->sxpinfo = UnmarkedNodeTemplate.sxpinfo;
 2630|  12.7M|    INIT_REFCNT(newrho);
  ------------------
  |  |  982|  12.7M|#define INIT_REFCNT(x) do {			\
  |  |  983|  12.7M|	SEXP __x__ = (x);			\
  |  |  984|  12.7M|	SET_REFCNT(__x__, 0);			\
  |  |  ------------------
  |  |  |  |  256|  12.7M|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  |  248|  12.7M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  985|  12.7M|	SET_TRACKREFS(__x__, TRUE);		\
  |  |  ------------------
  |  |  |  |  260|  12.7M|#  define SET_TRACKREFS(x,v) ((x)->sxpinfo.spare = ! (v))
  |  |  ------------------
  |  |  986|  12.7M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (986:14): [Folded, False: 12.7M]
  |  |  ------------------
  ------------------
 2631|  12.7M|    SET_TYPEOF(newrho, ENVSXP);
  ------------------
  |  |  238|  12.7M|#define SET_TYPEOF(x,v)	(((x)->sxpinfo.type)=(v))
  ------------------
 2632|  12.7M|    FRAME(newrho) = valuelist; INCREMENT_REFCNT(valuelist);
  ------------------
  |  |  532|  12.7M|#define FRAME(x)	((x)->u.envsxp.frame)
  ------------------
                  FRAME(newrho) = valuelist; INCREMENT_REFCNT(valuelist);
  ------------------
  |  |  267|  12.7M|# define INCREMENT_REFCNT(x) do {			      \
  |  |  268|  12.7M|	SEXP irc__x__ = (x);				      \
  |  |  269|  12.7M|	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  ------------------
  |  |  |  |  248|  12.7M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  ------------------
  |  |               	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  ------------------
  |  |  |  |  195|  12.7M|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|  12.7M|#define NAMED_BITS 16
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (269:6): [True: 10.6M, False: 2.11M]
  |  |  ------------------
  |  |  270|  12.7M|	    SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1);	      \
  |  |  ------------------
  |  |  |  |  256|  10.6M|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  |  248|  10.6M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  271|  12.7M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (271:14): [Folded, False: 12.7M]
  |  |  ------------------
  ------------------
 2633|  12.7M|    ENCLOS(newrho) = CHK(rho); if (rho != NULL) INCREMENT_REFCNT(rho);
  ------------------
  |  |  533|  12.7M|#define ENCLOS(x)	((x)->u.envsxp.enclos)
  ------------------
                  ENCLOS(newrho) = CHK(rho); if (rho != NULL) INCREMENT_REFCNT(rho);
  ------------------
  |  |  267|  12.7M|# define INCREMENT_REFCNT(x) do {			      \
  |  |  268|  12.7M|	SEXP irc__x__ = (x);				      \
  |  |  269|  12.7M|	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  ------------------
  |  |  |  |  248|  12.7M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  ------------------
  |  |               	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  ------------------
  |  |  |  |  195|  12.7M|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|  12.7M|#define NAMED_BITS 16
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (269:6): [True: 6.35M, False: 6.43M]
  |  |  ------------------
  |  |  270|  12.7M|	    SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1);	      \
  |  |  ------------------
  |  |  |  |  256|  6.35M|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  |  248|  6.35M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  271|  12.7M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (271:14): [Folded, False: 12.7M]
  |  |  ------------------
  ------------------
  |  Branch (2633:36): [True: 12.7M, False: 0]
  ------------------
 2634|  12.7M|    HASHTAB(newrho) = R_NilValue;
  ------------------
  |  |  534|  12.7M|#define HASHTAB(x)	((x)->u.envsxp.hashtab)
  ------------------
 2635|  12.7M|    ATTRIB(newrho) = R_NilValue;
  ------------------
  |  |  230|  12.7M|#define ATTRIB(x)	((x)->attrib)
  ------------------
 2636|       |
 2637|  12.7M|    v = CHK(valuelist);
 2638|  12.7M|    n = CHK(namelist);
 2639|  35.2M|    while (v != R_NilValue && n != R_NilValue) {
  ------------------
  |  Branch (2639:12): [True: 22.4M, False: 12.7M]
  |  Branch (2639:31): [True: 22.4M, False: 0]
  ------------------
 2640|  22.4M|	SET_TAG(v, TAG(n));
  ------------------
  |  |  440|  22.4M|#define TAG(e)		((e)->u.listsxp.tagval)
  ------------------
 2641|  22.4M|	v = CDR(v);
  ------------------
  |  |  445|  22.4M|#define CDR(e)		((e)->u.listsxp.cdrval)
  ------------------
 2642|  22.4M|	n = CDR(n);
  ------------------
  |  |  445|  22.4M|#define CDR(e)		((e)->u.listsxp.cdrval)
  ------------------
 2643|  22.4M|    }
 2644|  12.7M|    return (newrho);
 2645|  12.7M|}
Rf_mkPROMISE:
 2650|  29.7M|{
 2651|  29.7M|    SEXP s;
 2652|  29.7M|    if (FORCE_GC || NO_FREE_NODES()) {
  ------------------
  |  |  241|  59.5M|#define FORCE_GC (gc_pending || (gc_force_wait > 0 ? (--gc_force_wait > 0 ? 0 : (gc_force_wait = gc_force_gap, 1)) : 0))
  |  |  ------------------
  |  |  |  Branch (241:19): [True: 0, False: 29.7M]
  |  |  |  Branch (241:33): [True: 0, False: 29.7M]
  |  |  |  Branch (241:34): [True: 0, False: 29.7M]
  |  |  |  Branch (241:55): [True: 0, False: 0]
  |  |  ------------------
  ------------------
                  if (FORCE_GC || NO_FREE_NODES()) {
  ------------------
  |  |  857|  29.7M|#define NO_FREE_NODES() (R_NodesInUse >= R_NSize)
  |  |  ------------------
  |  |  |  Branch (857:25): [True: 86, False: 29.7M]
  |  |  ------------------
  ------------------
 2653|     86|	PROTECT(expr);
  ------------------
  |  |  357|     86|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2654|     86|	PROTECT(rho);
  ------------------
  |  |  357|     86|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2655|     86|	R_gc_internal(0);
 2656|     86|	UNPROTECT(2);
  ------------------
  |  |  358|     86|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2657|     86|	if (NO_FREE_NODES())
  ------------------
  |  |  857|     86|#define NO_FREE_NODES() (R_NodesInUse >= R_NSize)
  |  |  ------------------
  |  |  |  Branch (857:25): [True: 0, False: 86]
  |  |  ------------------
  ------------------
 2658|      0|	    mem_err_cons();
 2659|     86|    }
 2660|       |
 2661|  29.7M|    if (NEED_NEW_PAGE()) {
  ------------------
  |  |  874|  29.7M|#define NEED_NEW_PAGE() CLASS_NEED_NEW_PAGE(0)
  |  |  ------------------
  |  |  |  |  873|  29.7M|#define CLASS_NEED_NEW_PAGE(c) (R_GenHeap[c].Free == R_GenHeap[c].New)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (873:32): [True: 57.9k, False: 29.7M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2662|  57.9k|	PROTECT(expr);
  ------------------
  |  |  357|  57.9k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2663|  57.9k|	PROTECT(rho);
  ------------------
  |  |  357|  57.9k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2664|  57.9k|	GET_FREE_NODE(s);
  ------------------
  |  |  858|  57.9k|#define GET_FREE_NODE(s) CLASS_GET_FREE_NODE(0,s)
  |  |  ------------------
  |  |  |  |  846|  57.9k|#define CLASS_GET_FREE_NODE(c,s) do { \
  |  |  |  |  847|  57.9k|  SEXP __n__ = R_GenHeap[c].Free; \
  |  |  |  |  848|  57.9k|  if (__n__ == R_GenHeap[c].New) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (848:7): [True: 57.9k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  849|  57.9k|    GetNewPage(c); \
  |  |  |  |  850|  57.9k|    __n__ = R_GenHeap[c].Free; \
  |  |  |  |  851|  57.9k|  } \
  |  |  |  |  852|  57.9k|  R_GenHeap[c].Free = NEXT_NODE(__n__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|  57.9k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  |  |  853|  57.9k|  R_NodesInUse++; \
  |  |  |  |  854|  57.9k|  (s) = __n__; \
  |  |  |  |  855|  57.9k|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (855:10): [Folded, False: 57.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2665|  57.9k|	UNPROTECT(2);
  ------------------
  |  |  358|  57.9k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2666|  57.9k|    }
 2667|  29.7M|    else
 2668|  29.7M|	QUICK_GET_FREE_NODE(s);
  ------------------
  |  |  870|  29.7M|#define QUICK_GET_FREE_NODE(s) CLASS_QUICK_GET_FREE_NODE(0,s)
  |  |  ------------------
  |  |  |  |  861|  29.7M|#define CLASS_QUICK_GET_FREE_NODE(c,s) do {		\
  |  |  |  |  862|  29.7M|	SEXP __n__ = R_GenHeap[c].Free;			\
  |  |  |  |  863|  29.7M|	if (__n__ == R_GenHeap[c].New)			\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (863:6): [True: 0, False: 29.7M]
  |  |  |  |  ------------------
  |  |  |  |  864|  29.7M|	    error("need new page - should not happen");	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  ------------------
  |  |  |  |  865|  29.7M|	R_GenHeap[c].Free = NEXT_NODE(__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|  29.7M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  |  |  866|  29.7M|	R_NodesInUse++;					\
  |  |  |  |  867|  29.7M|	(s) = __n__;					\
  |  |  |  |  868|  29.7M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (868:14): [Folded, False: 29.7M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2669|       |
 2670|       |    /* precaution to ensure code does not get modified via
 2671|       |       substitute() and the like */
 2672|  29.7M|    ENSURE_NAMEDMAX(expr);
  ------------------
  |  |  339|  29.7M|# define ENSURE_NAMEDMAX(v) do { } while (0)
  |  |  ------------------
  |  |  |  Branch (339:43): [Folded, False: 29.7M]
  |  |  ------------------
  ------------------
 2673|       |
 2674|  29.7M|    s->sxpinfo = UnmarkedNodeTemplate.sxpinfo;
 2675|  29.7M|    INIT_REFCNT(s);
  ------------------
  |  |  982|  29.7M|#define INIT_REFCNT(x) do {			\
  |  |  983|  29.7M|	SEXP __x__ = (x);			\
  |  |  984|  29.7M|	SET_REFCNT(__x__, 0);			\
  |  |  ------------------
  |  |  |  |  256|  29.7M|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  |  248|  29.7M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  985|  29.7M|	SET_TRACKREFS(__x__, TRUE);		\
  |  |  ------------------
  |  |  |  |  260|  29.7M|#  define SET_TRACKREFS(x,v) ((x)->sxpinfo.spare = ! (v))
  |  |  ------------------
  |  |  986|  29.7M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (986:14): [Folded, False: 29.7M]
  |  |  ------------------
  ------------------
 2676|  29.7M|    SET_TYPEOF(s, PROMSXP);
  ------------------
  |  |  238|  29.7M|#define SET_TYPEOF(x,v)	(((x)->sxpinfo.type)=(v))
  ------------------
 2677|  29.7M|    PRCODE(s) = CHK(expr); INCREMENT_REFCNT(expr);
  ------------------
  |  | 1264|  29.7M|#define PRCODE(x)	((x)->u.promsxp.expr)
  ------------------
                  PRCODE(s) = CHK(expr); INCREMENT_REFCNT(expr);
  ------------------
  |  |  267|  29.7M|# define INCREMENT_REFCNT(x) do {			      \
  |  |  268|  29.7M|	SEXP irc__x__ = (x);				      \
  |  |  269|  29.7M|	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  ------------------
  |  |  |  |  248|  29.7M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  ------------------
  |  |               	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  ------------------
  |  |  |  |  195|  29.7M|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|  29.7M|#define NAMED_BITS 16
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (269:6): [True: 14.6M, False: 15.1M]
  |  |  ------------------
  |  |  270|  29.7M|	    SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1);	      \
  |  |  ------------------
  |  |  |  |  256|  14.6M|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  |  248|  14.6M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  271|  29.7M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (271:14): [Folded, False: 29.7M]
  |  |  ------------------
  ------------------
 2678|  29.7M|    PRENV(s) = CHK(rho); INCREMENT_REFCNT(rho);
  ------------------
  |  | 1265|  29.7M|#define PRENV(x)	((x)->u.promsxp.env)
  ------------------
                  PRENV(s) = CHK(rho); INCREMENT_REFCNT(rho);
  ------------------
  |  |  267|  29.7M|# define INCREMENT_REFCNT(x) do {			      \
  |  |  268|  29.7M|	SEXP irc__x__ = (x);				      \
  |  |  269|  29.7M|	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  ------------------
  |  |  |  |  248|  29.7M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  ------------------
  |  |               	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  ------------------
  |  |  |  |  195|  29.7M|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|  29.7M|#define NAMED_BITS 16
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (269:6): [True: 27.6M, False: 2.10M]
  |  |  ------------------
  |  |  270|  29.7M|	    SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1);	      \
  |  |  ------------------
  |  |  |  |  256|  27.6M|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  |  248|  27.6M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  271|  29.7M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (271:14): [Folded, False: 29.7M]
  |  |  ------------------
  ------------------
 2679|  29.7M|    PRVALUE0(s) = R_UnboundValue;
  ------------------
  |  | 1269|  29.7M|# define PRVALUE0(x) ((x)->u.promsxp.value)
  ------------------
 2680|  29.7M|    PRSEEN(s) = 0;
  ------------------
  |  | 1266|  29.7M|#define PRSEEN(x)	((x)->sxpinfo.gp)
  ------------------
 2681|  29.7M|    ATTRIB(s) = R_NilValue;
  ------------------
  |  |  230|  29.7M|#define ATTRIB(x)	((x)->attrib)
  ------------------
 2682|  29.7M|    return s;
 2683|  29.7M|}
R_mkEVPROMISE:
 2687|  3.16k|{
 2688|  3.16k|    SEXP prom = mkPROMISE(expr, R_NilValue);
  ------------------
  |  | 1962|  3.16k|# define mkPROMISE		Rf_mkPROMISE
  ------------------
 2689|  3.16k|    SET_PRVALUE(prom, val);
 2690|  3.16k|    return prom;
 2691|  3.16k|}
R_mkEVPROMISE_NR:
 2694|  2.09M|{
 2695|  2.09M|    SEXP prom = mkPROMISE(expr, R_NilValue);
  ------------------
  |  | 1962|  2.09M|# define mkPROMISE		Rf_mkPROMISE
  ------------------
 2696|  2.09M|    DISABLE_REFCNT(prom);
  ------------------
  |  |  280|  2.09M|#define DISABLE_REFCNT(x) SET_TRACKREFS(x, FALSE)
  |  |  ------------------
  |  |  |  |  260|  2.09M|#  define SET_TRACKREFS(x,v) ((x)->sxpinfo.spare = ! (v))
  |  |  ------------------
  ------------------
 2697|  2.09M|    SET_PRVALUE(prom, val);
 2698|  2.09M|    return prom;
 2699|  2.09M|}
Rf_allocVector3:
 2733|  47.0M|{
 2734|  47.0M|    SEXP s;     /* For the generational collector it would be safer to
 2735|       |		   work in terms of a VECSXP here, but that would
 2736|       |		   require several casts below... */
 2737|  47.0M|    R_size_t size = 0, alloc_size, old_R_VSize;
 2738|  47.0M|    int node_class;
 2739|       |#if VALGRIND_LEVEL > 0
 2740|       |    R_size_t actual_size = 0;
 2741|       |#endif
 2742|       |
 2743|       |    /* Handle some scalars directly to improve speed. */
 2744|  47.0M|    if (length == 1) {
  ------------------
  |  Branch (2744:9): [True: 30.9M, False: 16.1M]
  ------------------
 2745|  30.9M|	switch(type) {
  ------------------
  |  Branch (2745:9): [True: 12.8M, False: 18.0M]
  ------------------
 2746|  43.6k|	case REALSXP:
  ------------------
  |  |  124|  43.6k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (2746:2): [True: 43.6k, False: 30.8M]
  ------------------
 2747|  9.61M|	case INTSXP:
  ------------------
  |  |  123|  9.61M|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (2747:2): [True: 9.57M, False: 21.3M]
  ------------------
 2748|  12.8M|	case LGLSXP:
  ------------------
  |  |  121|  12.8M|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (2748:2): [True: 3.26M, False: 27.6M]
  ------------------
 2749|  12.8M|	    node_class = 1;
 2750|  12.8M|	    alloc_size = NodeClassSize[1];
 2751|  12.8M|	    if (FORCE_GC || NO_FREE_NODES() || VHEAP_FREE() < alloc_size) {
  ------------------
  |  |  241|  25.7M|#define FORCE_GC (gc_pending || (gc_force_wait > 0 ? (--gc_force_wait > 0 ? 0 : (gc_force_wait = gc_force_gap, 1)) : 0))
  |  |  ------------------
  |  |  |  Branch (241:19): [True: 0, False: 12.8M]
  |  |  |  Branch (241:33): [True: 0, False: 12.8M]
  |  |  |  Branch (241:34): [True: 0, False: 12.8M]
  |  |  |  Branch (241:55): [True: 0, False: 0]
  |  |  ------------------
  ------------------
              	    if (FORCE_GC || NO_FREE_NODES() || VHEAP_FREE() < alloc_size) {
  ------------------
  |  |  857|  25.7M|#define NO_FREE_NODES() (R_NodesInUse >= R_NSize)
  |  |  ------------------
  |  |  |  Branch (857:25): [True: 33, False: 12.8M]
  |  |  ------------------
  ------------------
              	    if (FORCE_GC || NO_FREE_NODES() || VHEAP_FREE() < alloc_size) {
  ------------------
  |  |  596|  12.8M|#define VHEAP_FREE() (R_VSize - R_LargeVallocSize - R_SmallVallocSize)
  ------------------
  |  Branch (2751:41): [True: 0, False: 12.8M]
  ------------------
 2752|     33|		R_gc_internal(alloc_size);
 2753|     33|		if (NO_FREE_NODES())
  ------------------
  |  |  857|     33|#define NO_FREE_NODES() (R_NodesInUse >= R_NSize)
  |  |  ------------------
  |  |  |  Branch (857:25): [True: 0, False: 33]
  |  |  ------------------
  ------------------
 2754|      0|		    mem_err_cons();
 2755|     33|		if (VHEAP_FREE() < alloc_size)
  ------------------
  |  |  596|     33|#define VHEAP_FREE() (R_VSize - R_LargeVallocSize - R_SmallVallocSize)
  ------------------
  |  Branch (2755:7): [True: 0, False: 33]
  ------------------
 2756|      0|		    mem_err_heap(size);
 2757|     33|	    }
 2758|       |
 2759|  12.8M|	    CLASS_GET_FREE_NODE(node_class, s);
  ------------------
  |  |  846|  12.8M|#define CLASS_GET_FREE_NODE(c,s) do { \
  |  |  847|  12.8M|  SEXP __n__ = R_GenHeap[c].Free; \
  |  |  848|  12.8M|  if (__n__ == R_GenHeap[c].New) { \
  |  |  ------------------
  |  |  |  Branch (848:7): [True: 12.0k, False: 12.8M]
  |  |  ------------------
  |  |  849|  12.0k|    GetNewPage(c); \
  |  |  850|  12.0k|    __n__ = R_GenHeap[c].Free; \
  |  |  851|  12.0k|  } \
  |  |  852|  12.8M|  R_GenHeap[c].Free = NEXT_NODE(__n__); \
  |  |  ------------------
  |  |  |  |  639|  12.8M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  ------------------
  |  |  853|  12.8M|  R_NodesInUse++; \
  |  |  854|  12.8M|  (s) = __n__; \
  |  |  855|  12.8M|} while (0)
  |  |  ------------------
  |  |  |  Branch (855:10): [Folded, False: 12.8M]
  |  |  ------------------
  ------------------
 2760|       |#if VALGRIND_LEVEL > 1
 2761|       |	    switch(type) {
 2762|       |	    case REALSXP: actual_size = sizeof(double); break;
 2763|       |	    case INTSXP: actual_size = sizeof(int); break;
 2764|       |	    case LGLSXP: actual_size = sizeof(int); break;
 2765|       |	    }
 2766|       |	    VALGRIND_MAKE_MEM_UNDEFINED(STDVEC_DATAPTR(s), actual_size);
 2767|       |#endif
 2768|  12.8M|	    s->sxpinfo = UnmarkedNodeTemplate.sxpinfo;
 2769|  12.8M|	    SETSCALAR(s, 1);
  ------------------
  |  |  244|  12.8M|#define SETSCALAR(x, v) (((x)->sxpinfo.scalar) = (v))
  ------------------
 2770|  12.8M|	    SET_NODE_CLASS(s, node_class);
  ------------------
  |  |  546|  12.8M|#define SET_NODE_CLASS(s,v) (((s)->sxpinfo.gccls) = (v))
  ------------------
 2771|  12.8M|	    R_SmallVallocSize += alloc_size;
 2772|       |	    /* Note that we do not include the header size into VallocSize,
 2773|       |	       but it is counted into memory usage via R_NodesInUse. */
 2774|  12.8M|	    ATTRIB(s) = R_NilValue;
  ------------------
  |  |  230|  12.8M|#define ATTRIB(x)	((x)->attrib)
  ------------------
 2775|  12.8M|	    SET_TYPEOF(s, type);
  ------------------
  |  |  238|  12.8M|#define SET_TYPEOF(x,v)	(((x)->sxpinfo.type)=(v))
  ------------------
 2776|  12.8M|	    SET_STDVEC_LENGTH(s, (R_len_t) length); // is 1
  ------------------
  |  |  410|  12.8M|#define SET_STDVEC_LENGTH(x,v) do {		\
  |  |  411|  12.8M|	SEXP __x__ = (x);			\
  |  |  412|  12.8M|	R_xlen_t __v__ = (v);			\
  |  |  413|  12.8M|	STDVEC_LENGTH(__x__) = __v__;		\
  |  |  ------------------
  |  |  |  |  392|  12.8M|#define STDVEC_LENGTH(x) (((VECSEXP) (x))->vecsxp.length)
  |  |  ------------------
  |  |  414|  12.8M|	SETSCALAR(__x__, __v__ == 1 ? 1 : 0);	\
  |  |  ------------------
  |  |  |  |  244|  25.7M|#define SETSCALAR(x, v) (((x)->sxpinfo.scalar) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (244:51): [True: 12.8M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  415|  12.8M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (415:14): [Folded, False: 12.8M]
  |  |  ------------------
  ------------------
 2777|  12.8M|	    SET_STDVEC_TRUELENGTH(s, 0);
  ------------------
  |  |  394|  12.8M|#define SET_STDVEC_TRUELENGTH(x, v) (STDVEC_TRUELENGTH(x)=(v))
  |  |  ------------------
  |  |  |  |  393|  12.8M|#define STDVEC_TRUELENGTH(x) (((VECSEXP) (x))->vecsxp.truelength)
  |  |  ------------------
  ------------------
 2778|  12.8M|	    INIT_REFCNT(s);
  ------------------
  |  |  982|  12.8M|#define INIT_REFCNT(x) do {			\
  |  |  983|  12.8M|	SEXP __x__ = (x);			\
  |  |  984|  12.8M|	SET_REFCNT(__x__, 0);			\
  |  |  ------------------
  |  |  |  |  256|  12.8M|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  |  248|  12.8M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  985|  12.8M|	SET_TRACKREFS(__x__, TRUE);		\
  |  |  ------------------
  |  |  |  |  260|  12.8M|#  define SET_TRACKREFS(x,v) ((x)->sxpinfo.spare = ! (v))
  |  |  ------------------
  |  |  986|  12.8M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (986:14): [Folded, False: 12.8M]
  |  |  ------------------
  ------------------
 2779|  12.8M|	    return(s);
 2780|  30.9M|	}
 2781|  30.9M|    }
 2782|       |
 2783|  34.1M|    if (length > R_XLEN_T_MAX)
  ------------------
  |  |   76|  34.1M|# define R_XLEN_T_MAX 4503599627370496
  ------------------
  |  Branch (2783:9): [True: 0, False: 34.1M]
  ------------------
 2784|      0|	error(_("cannot allocate vector of length %lld"), (long long)length);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("cannot allocate vector of length %lld"), (long long)length);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2785|  34.1M|    else if (length < 0 )
  ------------------
  |  Branch (2785:14): [True: 0, False: 34.1M]
  ------------------
 2786|      0|	error(_("negative length vectors are not allowed"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("negative length vectors are not allowed"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2787|       |    /* number of vector cells to allocate */
 2788|  34.1M|    switch (type) {
 2789|     34|    case NILSXP:
  ------------------
  |  |  111|     34|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (2789:5): [True: 34, False: 34.1M]
  ------------------
 2790|     34|	return R_NilValue;
 2791|  1.07M|    case RAWSXP:
  ------------------
  |  |  136|  1.07M|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (2791:5): [True: 1.07M, False: 33.0M]
  ------------------
 2792|  1.07M|	size = BYTE2VEC(length);
  ------------------
  |  | 1300|  1.07M|#define BYTE2VEC(n)	(((n)>0)?(((n)-1)/sizeof(VECREC)+1):0)
  |  |  ------------------
  |  |  |  Branch (1300:22): [True: 1.07M, False: 2]
  |  |  ------------------
  ------------------
 2793|       |#if VALGRIND_LEVEL > 0
 2794|       |	actual_size = length;
 2795|       |#endif
 2796|  1.07M|	break;
 2797|      0|    case CHARSXP:
  ------------------
  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  ------------------
  |  Branch (2797:5): [True: 0, False: 34.1M]
  ------------------
 2798|      0|	error("use of allocVector(CHARSXP ...) is defunct\n");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 2799|  69.4k|    case intCHARSXP:
  ------------------
  |  | 2730|  69.4k|#define intCHARSXP 73
  ------------------
  |  Branch (2799:5): [True: 69.4k, False: 34.0M]
  ------------------
 2800|  69.4k|	type = CHARSXP;
  ------------------
  |  |  120|  69.4k|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  ------------------
 2801|  69.4k|	size = BYTE2VEC(length + 1);
  ------------------
  |  | 1300|  69.4k|#define BYTE2VEC(n)	(((n)>0)?(((n)-1)/sizeof(VECREC)+1):0)
  |  |  ------------------
  |  |  |  Branch (1300:22): [True: 69.4k, False: 0]
  |  |  ------------------
  ------------------
 2802|       |#if VALGRIND_LEVEL > 0
 2803|       |	actual_size = length + 1;
 2804|       |#endif
 2805|  69.4k|	break;
 2806|  22.8k|    case LGLSXP:
  ------------------
  |  |  121|  22.8k|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (2806:5): [True: 22.8k, False: 34.1M]
  ------------------
 2807|  1.19M|    case INTSXP:
  ------------------
  |  |  123|  1.19M|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (2807:5): [True: 1.16M, False: 32.9M]
  ------------------
 2808|  1.19M|	if (length <= 0)
  ------------------
  |  Branch (2808:6): [True: 6.39k, False: 1.18M]
  ------------------
 2809|  6.39k|	    size = 0;
 2810|  1.18M|	else {
 2811|  1.18M|	    if (length > R_SIZE_T_MAX / sizeof(int))
  ------------------
  |  | 1044|  1.18M|# define R_SIZE_T_MAX SIZE_MAX
  ------------------
  |  Branch (2811:10): [True: 0, False: 1.18M]
  ------------------
 2812|      0|		error(_("cannot allocate vector of length %lld"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("cannot allocate vector of length %lld"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2813|      0|		      (long long)length);
 2814|  1.18M|	    size = INT2VEC(length);
  ------------------
  |  | 1301|  1.18M|#define INT2VEC(n)	(((n)>0)?(((n)*sizeof(int)-1)/sizeof(VECREC)+1):0)
  |  |  ------------------
  |  |  |  Branch (1301:21): [True: 1.18M, False: 0]
  |  |  ------------------
  ------------------
 2815|       |#if VALGRIND_LEVEL > 0
 2816|       |	    actual_size = length*sizeof(int);
 2817|       |#endif
 2818|  1.18M|	}
 2819|  1.19M|	break;
 2820|  45.0k|    case REALSXP:
  ------------------
  |  |  124|  45.0k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (2820:5): [True: 45.0k, False: 34.1M]
  ------------------
 2821|  45.0k|	if (length <= 0)
  ------------------
  |  Branch (2821:6): [True: 2.46k, False: 42.5k]
  ------------------
 2822|  2.46k|	    size = 0;
 2823|  42.5k|	else {
 2824|  42.5k|	    if (length > R_SIZE_T_MAX / sizeof(double))
  ------------------
  |  | 1044|  42.5k|# define R_SIZE_T_MAX SIZE_MAX
  ------------------
  |  Branch (2824:10): [True: 0, False: 42.5k]
  ------------------
 2825|      0|		error(_("cannot allocate vector of length %lld"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("cannot allocate vector of length %lld"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2826|      0|		      (long long)length);
 2827|  42.5k|	    size = FLOAT2VEC(length);
  ------------------
  |  | 1302|  42.5k|#define FLOAT2VEC(n)	(((n)>0)?(((n)*sizeof(double)-1)/sizeof(VECREC)+1):0)
  |  |  ------------------
  |  |  |  Branch (1302:23): [True: 42.5k, False: 0]
  |  |  ------------------
  ------------------
 2828|       |#if VALGRIND_LEVEL > 0
 2829|       |	    actual_size = length * sizeof(double);
 2830|       |#endif
 2831|  42.5k|	}
 2832|  45.0k|	break;
 2833|      6|    case CPLXSXP:
  ------------------
  |  |  125|      6|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (2833:5): [True: 6, False: 34.1M]
  ------------------
 2834|      6|	if (length <= 0)
  ------------------
  |  Branch (2834:6): [True: 2, False: 4]
  ------------------
 2835|      2|	    size = 0;
 2836|      4|	else {
 2837|      4|	    if (length > R_SIZE_T_MAX / sizeof(Rcomplex))
  ------------------
  |  | 1044|      4|# define R_SIZE_T_MAX SIZE_MAX
  ------------------
  |  Branch (2837:10): [True: 0, False: 4]
  ------------------
 2838|      0|		error(_("cannot allocate vector of length %lld"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("cannot allocate vector of length %lld"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2839|      0|		      (long long)length);
 2840|      4|	    size = COMPLEX2VEC(length);
  ------------------
  |  | 1303|      4|#define COMPLEX2VEC(n)	(((n)>0)?(((n)*sizeof(Rcomplex)-1)/sizeof(VECREC)+1):0)
  |  |  ------------------
  |  |  |  Branch (1303:25): [True: 4, False: 0]
  |  |  ------------------
  ------------------
 2841|       |#if VALGRIND_LEVEL > 0
 2842|       |	    actual_size = length * sizeof(Rcomplex);
 2843|       |#endif
 2844|      4|	}
 2845|      6|	break;
 2846|  18.0M|    case STRSXP:
  ------------------
  |  |  126|  18.0M|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (2846:5): [True: 18.0M, False: 16.1M]
  ------------------
 2847|  18.0M|    case EXPRSXP:
  ------------------
  |  |  132|  18.0M|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (2847:5): [True: 60, False: 34.1M]
  ------------------
 2848|  31.7M|    case VECSXP:
  ------------------
  |  |  131|  31.7M|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (2848:5): [True: 13.7M, False: 20.4M]
  ------------------
 2849|  31.7M|	if (length <= 0)
  ------------------
  |  Branch (2849:6): [True: 11.7k, False: 31.7M]
  ------------------
 2850|  11.7k|	    size = 0;
 2851|  31.7M|	else {
 2852|  31.7M|	    if (length > R_SIZE_T_MAX / sizeof(SEXP))
  ------------------
  |  | 1044|  31.7M|# define R_SIZE_T_MAX SIZE_MAX
  ------------------
  |  Branch (2852:10): [True: 0, False: 31.7M]
  ------------------
 2853|      0|		error(_("cannot allocate vector of length %lld"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("cannot allocate vector of length %lld"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2854|      0|		      (long long)length);
 2855|  31.7M|	    size = PTR2VEC(length);
  ------------------
  |  | 1304|  31.7M|#define PTR2VEC(n)	(((n)>0)?(((n)*sizeof(SEXP)-1)/sizeof(VECREC)+1):0)
  |  |  ------------------
  |  |  |  Branch (1304:21): [True: 31.7M, False: 0]
  |  |  ------------------
  ------------------
 2856|       |#if VALGRIND_LEVEL > 0
 2857|       |	    actual_size = length * sizeof(SEXP);
 2858|       |#endif
 2859|  31.7M|	}
 2860|  31.7M|	break;
 2861|      0|    case LANGSXP:
  ------------------
  |  |  117|      0|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (2861:5): [True: 0, False: 34.1M]
  ------------------
 2862|      0|	if(length == 0) return R_NilValue;
  ------------------
  |  Branch (2862:5): [True: 0, False: 0]
  ------------------
 2863|      0|#ifdef LONG_VECTOR_SUPPORT
 2864|      0|	if (length > R_SHORT_LEN_MAX) error("invalid length for pairlist");
  ------------------
  |  |   77|      0|# define R_SHORT_LEN_MAX 2147483647
  ------------------
              	if (length > R_SHORT_LEN_MAX) error("invalid length for pairlist");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  |  Branch (2864:6): [True: 0, False: 0]
  ------------------
 2865|      0|#endif
 2866|      0|	s = allocList((int) length);
  ------------------
  |  |  871|      0|#define allocList		Rf_allocList
  ------------------
 2867|      0|	SET_TYPEOF(s, LANGSXP);
  ------------------
  |  |  238|      0|#define SET_TYPEOF(x,v)	(((x)->sxpinfo.type)=(v))
  ------------------
 2868|      0|	return s;
 2869|      0|    case LISTSXP:
  ------------------
  |  |  113|      0|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (2869:5): [True: 0, False: 34.1M]
  ------------------
 2870|      0|#ifdef LONG_VECTOR_SUPPORT
 2871|      0|	if (length > R_SHORT_LEN_MAX) error("invalid length for pairlist");
  ------------------
  |  |   77|      0|# define R_SHORT_LEN_MAX 2147483647
  ------------------
              	if (length > R_SHORT_LEN_MAX) error("invalid length for pairlist");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  |  Branch (2871:6): [True: 0, False: 0]
  ------------------
 2872|      0|#endif
 2873|      0|	return allocList((int) length);
  ------------------
  |  |  871|      0|#define allocList		Rf_allocList
  ------------------
 2874|      0|    default:
  ------------------
  |  Branch (2874:5): [True: 0, False: 34.1M]
  ------------------
 2875|      0|	error(_("invalid type/length (%s/%lld) in vector allocation"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid type/length (%s/%lld) in vector allocation"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2876|      0|	      type2char(type), (long long)length);
  ------------------
  |  | 1040|      0|#define type2char		Rf_type2char
  ------------------
 2877|  34.1M|    }
 2878|       |
 2879|  34.1M|    if (allocator) {
  ------------------
  |  Branch (2879:9): [True: 0, False: 34.1M]
  ------------------
 2880|      0|	node_class = CUSTOM_NODE_CLASS;
  ------------------
  |  |  539|      0|#define CUSTOM_NODE_CLASS (NUM_NODE_CLASSES - 2)
  |  |  ------------------
  |  |  |  |  531|      0|#define NUM_NODE_CLASSES 8
  |  |  ------------------
  ------------------
 2881|      0|	alloc_size = size;
 2882|  34.1M|    } else {
 2883|  34.1M|	if (size <= NodeClassSize[1]) {
  ------------------
  |  Branch (2883:6): [True: 19.1M, False: 14.9M]
  ------------------
 2884|  19.1M|	    node_class = 1;
 2885|  19.1M|	    alloc_size = NodeClassSize[1];
 2886|  19.1M|	}
 2887|  14.9M|	else {
 2888|  14.9M|	    node_class = LARGE_NODE_CLASS;
  ------------------
  |  |  538|  14.9M|#define LARGE_NODE_CLASS  (NUM_NODE_CLASSES - 1)
  |  |  ------------------
  |  |  |  |  531|  14.9M|#define NUM_NODE_CLASSES 8
  |  |  ------------------
  ------------------
 2889|  14.9M|	    alloc_size = size;
 2890|  29.0M|	    for (int i = 2; i < NUM_SMALL_NODE_CLASSES; i++) {
  ------------------
  |  |  540|  29.0M|#define NUM_SMALL_NODE_CLASSES (NUM_NODE_CLASSES - 2)
  |  |  ------------------
  |  |  |  |  531|  29.0M|#define NUM_NODE_CLASSES 8
  |  |  ------------------
  ------------------
  |  Branch (2890:22): [True: 28.9M, False: 51.0k]
  ------------------
 2891|  28.9M|		if (size <= NodeClassSize[i]) {
  ------------------
  |  Branch (2891:7): [True: 14.9M, False: 14.0M]
  ------------------
 2892|  14.9M|		    node_class = i;
 2893|  14.9M|		    alloc_size = NodeClassSize[i];
 2894|  14.9M|		    break;
 2895|  14.9M|		}
 2896|  28.9M|	    }
 2897|  14.9M|	}
 2898|  34.1M|    }
 2899|       |
 2900|       |    /* save current R_VSize to roll back adjustment if malloc fails */
 2901|  34.1M|    old_R_VSize = R_VSize;
 2902|       |
 2903|       |    /* we need to do the gc here so allocSExp doesn't! */
 2904|  34.1M|    if (FORCE_GC || NO_FREE_NODES() || VHEAP_FREE() < alloc_size) {
  ------------------
  |  |  241|  68.3M|#define FORCE_GC (gc_pending || (gc_force_wait > 0 ? (--gc_force_wait > 0 ? 0 : (gc_force_wait = gc_force_gap, 1)) : 0))
  |  |  ------------------
  |  |  |  Branch (241:19): [True: 0, False: 34.1M]
  |  |  |  Branch (241:33): [True: 0, False: 34.1M]
  |  |  |  Branch (241:34): [True: 0, False: 34.1M]
  |  |  |  Branch (241:55): [True: 0, False: 0]
  |  |  ------------------
  ------------------
                  if (FORCE_GC || NO_FREE_NODES() || VHEAP_FREE() < alloc_size) {
  ------------------
  |  |  857|  68.3M|#define NO_FREE_NODES() (R_NodesInUse >= R_NSize)
  |  |  ------------------
  |  |  |  Branch (857:25): [True: 98, False: 34.1M]
  |  |  ------------------
  ------------------
                  if (FORCE_GC || NO_FREE_NODES() || VHEAP_FREE() < alloc_size) {
  ------------------
  |  |  596|  34.1M|#define VHEAP_FREE() (R_VSize - R_LargeVallocSize - R_SmallVallocSize)
  ------------------
  |  Branch (2904:40): [True: 0, False: 34.1M]
  ------------------
 2905|     98|	R_gc_internal(alloc_size);
 2906|     98|	if (NO_FREE_NODES())
  ------------------
  |  |  857|     98|#define NO_FREE_NODES() (R_NodesInUse >= R_NSize)
  |  |  ------------------
  |  |  |  Branch (857:25): [True: 0, False: 98]
  |  |  ------------------
  ------------------
 2907|      0|	    mem_err_cons();
 2908|     98|	if (VHEAP_FREE() < alloc_size)
  ------------------
  |  |  596|     98|#define VHEAP_FREE() (R_VSize - R_LargeVallocSize - R_SmallVallocSize)
  ------------------
  |  Branch (2908:6): [True: 0, False: 98]
  ------------------
 2909|      0|	    mem_err_heap(size);
 2910|     98|    }
 2911|       |
 2912|  34.1M|    if (size > 0) {
  ------------------
  |  Branch (2912:9): [True: 34.1M, False: 20.6k]
  ------------------
 2913|  34.1M|	if (node_class < NUM_SMALL_NODE_CLASSES) {
  ------------------
  |  |  540|  34.1M|#define NUM_SMALL_NODE_CLASSES (NUM_NODE_CLASSES - 2)
  |  |  ------------------
  |  |  |  |  531|  34.1M|#define NUM_NODE_CLASSES 8
  |  |  ------------------
  ------------------
  |  Branch (2913:6): [True: 34.0M, False: 51.0k]
  ------------------
 2914|  34.0M|	    CLASS_GET_FREE_NODE(node_class, s);
  ------------------
  |  |  846|  34.0M|#define CLASS_GET_FREE_NODE(c,s) do { \
  |  |  847|  34.0M|  SEXP __n__ = R_GenHeap[c].Free; \
  |  |  848|  34.0M|  if (__n__ == R_GenHeap[c].New) { \
  |  |  ------------------
  |  |  |  Branch (848:7): [True: 62.7k, False: 34.0M]
  |  |  ------------------
  |  |  849|  62.7k|    GetNewPage(c); \
  |  |  850|  62.7k|    __n__ = R_GenHeap[c].Free; \
  |  |  851|  62.7k|  } \
  |  |  852|  34.0M|  R_GenHeap[c].Free = NEXT_NODE(__n__); \
  |  |  ------------------
  |  |  |  |  639|  34.0M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  ------------------
  |  |  853|  34.0M|  R_NodesInUse++; \
  |  |  854|  34.0M|  (s) = __n__; \
  |  |  855|  34.0M|} while (0)
  |  |  ------------------
  |  |  |  Branch (855:10): [Folded, False: 34.0M]
  |  |  ------------------
  ------------------
 2915|       |#if VALGRIND_LEVEL > 1
 2916|       |	    VALGRIND_MAKE_MEM_UNDEFINED(STDVEC_DATAPTR(s), actual_size);
 2917|       |#endif
 2918|  34.0M|	    s->sxpinfo = UnmarkedNodeTemplate.sxpinfo;
 2919|  34.0M|	    INIT_REFCNT(s);
  ------------------
  |  |  982|  34.0M|#define INIT_REFCNT(x) do {			\
  |  |  983|  34.0M|	SEXP __x__ = (x);			\
  |  |  984|  34.0M|	SET_REFCNT(__x__, 0);			\
  |  |  ------------------
  |  |  |  |  256|  34.0M|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  |  248|  34.0M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  985|  34.0M|	SET_TRACKREFS(__x__, TRUE);		\
  |  |  ------------------
  |  |  |  |  260|  34.0M|#  define SET_TRACKREFS(x,v) ((x)->sxpinfo.spare = ! (v))
  |  |  ------------------
  |  |  986|  34.0M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (986:14): [Folded, False: 34.0M]
  |  |  ------------------
  ------------------
 2920|  34.0M|	    SET_NODE_CLASS(s, node_class);
  ------------------
  |  |  546|  34.0M|#define SET_NODE_CLASS(s,v) (((s)->sxpinfo.gccls) = (v))
  ------------------
 2921|  34.0M|	    R_SmallVallocSize += alloc_size;
 2922|  34.0M|	    SET_STDVEC_LENGTH(s, (R_len_t) length);
  ------------------
  |  |  410|  34.0M|#define SET_STDVEC_LENGTH(x,v) do {		\
  |  |  411|  34.0M|	SEXP __x__ = (x);			\
  |  |  412|  34.0M|	R_xlen_t __v__ = (v);			\
  |  |  413|  34.0M|	STDVEC_LENGTH(__x__) = __v__;		\
  |  |  ------------------
  |  |  |  |  392|  34.0M|#define STDVEC_LENGTH(x) (((VECSEXP) (x))->vecsxp.length)
  |  |  ------------------
  |  |  414|  34.0M|	SETSCALAR(__x__, __v__ == 1 ? 1 : 0);	\
  |  |  ------------------
  |  |  |  |  244|  68.1M|#define SETSCALAR(x, v) (((x)->sxpinfo.scalar) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (244:51): [True: 18.0M, False: 16.0M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  415|  34.0M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (415:14): [Folded, False: 34.0M]
  |  |  ------------------
  ------------------
 2923|  34.0M|	}
 2924|  51.0k|	else {
 2925|  51.0k|	    Rboolean success = FALSE;
 2926|  51.0k|	    R_size_t hdrsize = sizeof(SEXPREC_ALIGN);
 2927|  51.0k|	    void *mem = NULL; /* initialize to suppress warning */
 2928|  51.0k|	    if (size < (R_SIZE_T_MAX / sizeof(VECREC)) - hdrsize) { /*** not sure this test is quite right -- why subtract the header? LT */
  ------------------
  |  | 1044|  51.0k|# define R_SIZE_T_MAX SIZE_MAX
  ------------------
  |  Branch (2928:10): [True: 51.0k, False: 0]
  ------------------
 2929|       |		/* I think subtracting the header is fine, "size" (*VSize)
 2930|       |		   variables do not count the header, but the header is
 2931|       |		   included into memory usage via NodesInUse, instead.
 2932|       |		   We want the whole object including the header to be
 2933|       |		   indexable by size_t. - TK */
 2934|  51.0k|		mem = allocator ?
  ------------------
  |  Branch (2934:9): [True: 0, False: 51.0k]
  ------------------
 2935|      0|		    custom_node_alloc(allocator, hdrsize + size * sizeof(VECREC)) :
 2936|  51.0k|		    malloc(hdrsize + size * sizeof(VECREC));
 2937|  51.0k|		if (mem == NULL) {
  ------------------
  |  Branch (2937:7): [True: 0, False: 51.0k]
  ------------------
 2938|       |		    /* If we are near the address space limit, we
 2939|       |		       might be short of address space.  So return
 2940|       |		       all unused objects to malloc and try again. */
 2941|      0|		    R_gc_no_finalizers(alloc_size);
 2942|      0|		    mem = allocator ?
  ------------------
  |  Branch (2942:13): [True: 0, False: 0]
  ------------------
 2943|      0|			custom_node_alloc(allocator, hdrsize + size * sizeof(VECREC)) :
 2944|      0|			malloc(hdrsize + size * sizeof(VECREC));
 2945|      0|		}
 2946|  51.0k|		if (mem != NULL) {
  ------------------
  |  Branch (2946:7): [True: 51.0k, False: 0]
  ------------------
 2947|  51.0k|		    s = mem;
 2948|  51.0k|		    SET_STDVEC_LENGTH(s, length);
  ------------------
  |  |  410|  51.0k|#define SET_STDVEC_LENGTH(x,v) do {		\
  |  |  411|  51.0k|	SEXP __x__ = (x);			\
  |  |  412|  51.0k|	R_xlen_t __v__ = (v);			\
  |  |  413|  51.0k|	STDVEC_LENGTH(__x__) = __v__;		\
  |  |  ------------------
  |  |  |  |  392|  51.0k|#define STDVEC_LENGTH(x) (((VECSEXP) (x))->vecsxp.length)
  |  |  ------------------
  |  |  414|  51.0k|	SETSCALAR(__x__, __v__ == 1 ? 1 : 0);	\
  |  |  ------------------
  |  |  |  |  244|   102k|#define SETSCALAR(x, v) (((x)->sxpinfo.scalar) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (244:51): [True: 0, False: 51.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  415|  51.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (415:14): [Folded, False: 51.0k]
  |  |  ------------------
  ------------------
 2949|  51.0k|		    success = TRUE;
 2950|  51.0k|		}
 2951|      0|		else s = NULL;
 2952|       |#ifdef R_MEMORY_PROFILING
 2953|       |		R_ReportAllocation(hdrsize + size * sizeof(VECREC));
 2954|       |#endif
 2955|  51.0k|	    } else s = NULL; /* suppress warning */
 2956|  51.0k|	    if (! success) {
  ------------------
  |  Branch (2956:10): [True: 0, False: 51.0k]
  ------------------
 2957|      0|		double dsize = (double)size * sizeof(VECREC)/1024.0;
 2958|       |		/* reset the vector heap limit */
 2959|      0|		R_VSize = old_R_VSize;
 2960|      0|		if(dsize > 1024.0*1024.0)
  ------------------
  |  Branch (2960:6): [True: 0, False: 0]
  ------------------
 2961|      0|		    errorcall(R_NilValue,
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
 2962|      0|			      _("cannot allocate vector of size %0.1f %s"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2963|      0|			      dsize/1024.0/1024.0, "Gb");
 2964|      0|		if(dsize > 1024.0)
  ------------------
  |  Branch (2964:6): [True: 0, False: 0]
  ------------------
 2965|      0|		    errorcall(R_NilValue,
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
 2966|      0|			      _("cannot allocate vector of size %0.1f %s"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2967|      0|			      dsize/1024.0, "Mb");
 2968|      0|		else
 2969|      0|		    errorcall(R_NilValue,
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
 2970|      0|			      _("cannot allocate vector of size %0.f %s"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2971|      0|			      dsize, "Kb");
 2972|      0|	    }
 2973|  51.0k|	    s->sxpinfo = UnmarkedNodeTemplate.sxpinfo;
 2974|  51.0k|	    INIT_REFCNT(s);
  ------------------
  |  |  982|  51.0k|#define INIT_REFCNT(x) do {			\
  |  |  983|  51.0k|	SEXP __x__ = (x);			\
  |  |  984|  51.0k|	SET_REFCNT(__x__, 0);			\
  |  |  ------------------
  |  |  |  |  256|  51.0k|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  |  248|  51.0k|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  985|  51.0k|	SET_TRACKREFS(__x__, TRUE);		\
  |  |  ------------------
  |  |  |  |  260|  51.0k|#  define SET_TRACKREFS(x,v) ((x)->sxpinfo.spare = ! (v))
  |  |  ------------------
  |  |  986|  51.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (986:14): [Folded, False: 51.0k]
  |  |  ------------------
  ------------------
 2975|  51.0k|	    SET_NODE_CLASS(s, node_class);
  ------------------
  |  |  546|  51.0k|#define SET_NODE_CLASS(s,v) (((s)->sxpinfo.gccls) = (v))
  ------------------
 2976|  51.0k|	    if (!allocator) R_LargeVallocSize += size;
  ------------------
  |  Branch (2976:10): [True: 51.0k, False: 0]
  ------------------
 2977|  51.0k|	    R_GenHeap[node_class].AllocCount++;
 2978|  51.0k|	    R_NodesInUse++;
 2979|  51.0k|	    SNAP_NODE(s, R_GenHeap[node_class].New);
  ------------------
  |  |  657|  51.0k|#define SNAP_NODE(s,t) do { \
  |  |  658|  51.0k|  SEXP sn__n__ = (s); \
  |  |  659|  51.0k|  SEXP next = (t); \
  |  |  660|  51.0k|  SEXP prev = PREV_NODE(next); \
  |  |  ------------------
  |  |  |  |  640|  51.0k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  ------------------
  |  |  661|  51.0k|  SET_NEXT_NODE(sn__n__, next); \
  |  |  ------------------
  |  |  |  |  641|  51.0k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|  51.0k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  662|  51.0k|  SET_PREV_NODE(next, sn__n__); \
  |  |  ------------------
  |  |  |  |  642|  51.0k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|  51.0k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  663|  51.0k|  SET_NEXT_NODE(prev, sn__n__); \
  |  |  ------------------
  |  |  |  |  641|  51.0k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|  51.0k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  664|  51.0k|  SET_PREV_NODE(sn__n__, prev); \
  |  |  ------------------
  |  |  |  |  642|  51.0k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|  51.0k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  665|  51.0k|} while (0)
  |  |  ------------------
  |  |  |  Branch (665:10): [Folded, False: 51.0k]
  |  |  ------------------
  ------------------
 2980|  51.0k|	}
 2981|  34.1M|	ATTRIB(s) = R_NilValue;
  ------------------
  |  |  230|  34.1M|#define ATTRIB(x)	((x)->attrib)
  ------------------
 2982|  34.1M|	SET_TYPEOF(s, type);
  ------------------
  |  |  238|  34.1M|#define SET_TYPEOF(x,v)	(((x)->sxpinfo.type)=(v))
  ------------------
 2983|  34.1M|    }
 2984|  20.6k|    else {
 2985|  20.6k|	GC_PROT(s = allocSExpNonCons(type));
  ------------------
  |  |  251|  20.6k|#define GC_PROT(X) do { \
  |  |  252|  20.6k|    int __wait__ = gc_force_wait; \
  |  |  253|  20.6k|    int __gap__ = gc_force_gap;			   \
  |  |  254|  20.6k|    Rboolean __release__ = gc_inhibit_release;	   \
  |  |  255|  20.6k|    X;						   \
  |  |  256|  20.6k|    gc_force_wait = __wait__;			   \
  |  |  257|  20.6k|    gc_force_gap = __gap__;			   \
  |  |  258|  20.6k|    gc_inhibit_release = __release__;		   \
  |  |  259|  20.6k|}  while(0)
  |  |  ------------------
  |  |  |  Branch (259:10): [Folded, False: 20.6k]
  |  |  ------------------
  ------------------
 2986|  20.6k|	SET_STDVEC_LENGTH(s, (R_len_t) length);
  ------------------
  |  |  410|  20.6k|#define SET_STDVEC_LENGTH(x,v) do {		\
  |  |  411|  20.6k|	SEXP __x__ = (x);			\
  |  |  412|  20.6k|	R_xlen_t __v__ = (v);			\
  |  |  413|  20.6k|	STDVEC_LENGTH(__x__) = __v__;		\
  |  |  ------------------
  |  |  |  |  392|  20.6k|#define STDVEC_LENGTH(x) (((VECSEXP) (x))->vecsxp.length)
  |  |  ------------------
  |  |  414|  20.6k|	SETSCALAR(__x__, __v__ == 1 ? 1 : 0);	\
  |  |  ------------------
  |  |  |  |  244|  41.2k|#define SETSCALAR(x, v) (((x)->sxpinfo.scalar) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (244:51): [True: 0, False: 20.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  415|  20.6k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (415:14): [Folded, False: 20.6k]
  |  |  ------------------
  ------------------
 2987|  20.6k|    }
 2988|  34.1M|    SETALTREP(s, 0);
  ------------------
  |  |  243|  34.1M|#define SETALTREP(x, v) (((x)->sxpinfo.alt) = (v))
  ------------------
 2989|  34.1M|    SET_STDVEC_TRUELENGTH(s, 0);
  ------------------
  |  |  394|  34.1M|#define SET_STDVEC_TRUELENGTH(x, v) (STDVEC_TRUELENGTH(x)=(v))
  |  |  ------------------
  |  |  |  |  393|  34.1M|#define STDVEC_TRUELENGTH(x) (((VECSEXP) (x))->vecsxp.truelength)
  |  |  ------------------
  ------------------
 2990|  34.1M|    INIT_REFCNT(s);
  ------------------
  |  |  982|  34.1M|#define INIT_REFCNT(x) do {			\
  |  |  983|  34.1M|	SEXP __x__ = (x);			\
  |  |  984|  34.1M|	SET_REFCNT(__x__, 0);			\
  |  |  ------------------
  |  |  |  |  256|  34.1M|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  |  248|  34.1M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  985|  34.1M|	SET_TRACKREFS(__x__, TRUE);		\
  |  |  ------------------
  |  |  |  |  260|  34.1M|#  define SET_TRACKREFS(x,v) ((x)->sxpinfo.spare = ! (v))
  |  |  ------------------
  |  |  986|  34.1M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (986:14): [Folded, False: 34.1M]
  |  |  ------------------
  ------------------
 2991|       |
 2992|       |    /* The following prevents disaster in the case */
 2993|       |    /* that an uninitialised string vector is marked */
 2994|       |    /* Direct assignment is OK since the node was just allocated and */
 2995|       |    /* so is at least as new as R_NilValue and R_BlankString */
 2996|  34.1M|    if (type == EXPRSXP || type == VECSXP) {
  ------------------
  |  |  132|  68.3M|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
                  if (type == EXPRSXP || type == VECSXP) {
  ------------------
  |  |  131|  34.1M|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (2996:9): [True: 60, False: 34.1M]
  |  Branch (2996:28): [True: 13.7M, False: 20.4M]
  ------------------
 2997|  13.7M|	SEXP *data = STRING_PTR(s);
  ------------------
  |  |  428|  13.7M|#define STRING_PTR(x)	((SEXP *) DATAPTR(x))
  ------------------
 2998|       |#if VALGRIND_LEVEL > 1
 2999|       |	VALGRIND_MAKE_MEM_DEFINED(STRING_PTR(s), actual_size);
 3000|       |#endif
 3001|  48.1M|	for (R_xlen_t i = 0; i < length; i++)
  ------------------
  |  Branch (3001:23): [True: 34.3M, False: 13.7M]
  ------------------
 3002|  34.3M|	    data[i] = R_NilValue;
 3003|  13.7M|    }
 3004|  20.4M|    else if(type == STRSXP) {
  ------------------
  |  |  126|  20.4M|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (3004:13): [True: 18.0M, False: 2.37M]
  ------------------
 3005|  18.0M|	SEXP *data = STRING_PTR(s);
  ------------------
  |  |  428|  18.0M|#define STRING_PTR(x)	((SEXP *) DATAPTR(x))
  ------------------
 3006|       |#if VALGRIND_LEVEL > 1
 3007|       |	VALGRIND_MAKE_MEM_DEFINED(STRING_PTR(s), actual_size);
 3008|       |#endif
 3009|  55.3M|	for (R_xlen_t i = 0; i < length; i++)
  ------------------
  |  Branch (3009:23): [True: 37.3M, False: 18.0M]
  ------------------
 3010|  37.3M|	    data[i] = R_BlankString;
 3011|  18.0M|    }
 3012|  2.37M|    else if (type == CHARSXP || type == intCHARSXP) {
  ------------------
  |  |  120|  4.75M|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  ------------------
                  else if (type == CHARSXP || type == intCHARSXP) {
  ------------------
  |  | 2730|  2.31M|#define intCHARSXP 73
  ------------------
  |  Branch (3012:14): [True: 69.4k, False: 2.31M]
  |  Branch (3012:33): [True: 0, False: 2.31M]
  ------------------
 3013|       |#if VALGRIND_LEVEL > 0
 3014|       |	VALGRIND_MAKE_MEM_UNDEFINED(CHAR(s), actual_size);
 3015|       |#endif
 3016|  69.4k|	CHAR_RW(s)[length] = 0;
  ------------------
  |  |  930|  69.4k|#define CHAR_RW(x)	((char *) CHAR(x))
  |  |  ------------------
  |  |  |  |  422|  69.4k|#define CHAR(x)		((const char *) STDVEC_DATAPTR(x))
  |  |  |  |  ------------------
  |  |  |  |  |  |  420|  69.4k|#define STDVEC_DATAPTR(x) ((void *) (((SEXPREC_ALIGN *) (x)) + 1))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3017|  69.4k|    }
 3018|       |#if VALGRIND_LEVEL > 0
 3019|       |    else if (type == REALSXP)
 3020|       |	VALGRIND_MAKE_MEM_UNDEFINED(REAL(s), actual_size);
 3021|       |    else if (type == INTSXP)
 3022|       |	VALGRIND_MAKE_MEM_UNDEFINED(INTEGER(s), actual_size);
 3023|       |    else if (type == LGLSXP)
 3024|       |	VALGRIND_MAKE_MEM_UNDEFINED(LOGICAL(s), actual_size);
 3025|       |    else if (type == CPLXSXP)
 3026|       |	VALGRIND_MAKE_MEM_UNDEFINED(COMPLEX(s), actual_size);
 3027|       |    else if (type == RAWSXP)
 3028|       |	VALGRIND_MAKE_MEM_UNDEFINED(RAW(s), actual_size);
 3029|       |#endif
 3030|  34.1M|    return s;
 3031|  34.1M|}
Rf_allocCharsxp:
 3035|  69.4k|{
 3036|  69.4k|    return allocVector(intCHARSXP, len);
  ------------------
  |  |  875|  69.4k|#define allocVector		Rf_allocVector
  ------------------
                  return allocVector(intCHARSXP, len);
  ------------------
  |  | 2730|  69.4k|#define intCHARSXP 73
  ------------------
 3037|  69.4k|}
Rf_allocList:
 3040|  4.22M|{
 3041|  4.22M|    int i;
 3042|  4.22M|    SEXP result;
 3043|  4.22M|    result = R_NilValue;
 3044|  8.46M|    for (i = 0; i < n; i++)
  ------------------
  |  Branch (3044:17): [True: 4.24M, False: 4.22M]
  ------------------
 3045|  4.24M|	result = CONS(R_NilValue, result);
  ------------------
  |  |  309|  4.24M|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
 3046|  4.22M|    return result;
 3047|  4.22M|}
Rf_allocLang:
 3050|  1.43k|{
 3051|  1.43k|    if (n > 0)
  ------------------
  |  Branch (3051:9): [True: 1.43k, False: 0]
  ------------------
 3052|  1.43k|	return LCONS(R_NilValue, allocList(n - 1));
  ------------------
  |  |  310|  1.43k|#define LCONS(a, b)	Rf_lcons((a), (b))		/* language lists */
  ------------------
 3053|      0|    else
 3054|      0|	return R_NilValue;
 3055|  1.43k|}
R_allocObject:
 3066|  1.88k|{
 3067|  1.88k|   SEXP s;
 3068|  1.88k|   GC_PROT(s = allocSExpNonCons(OBJSXP));
  ------------------
  |  |  251|  1.88k|#define GC_PROT(X) do { \
  |  |  252|  1.88k|    int __wait__ = gc_force_wait; \
  |  |  253|  1.88k|    int __gap__ = gc_force_gap;			   \
  |  |  254|  1.88k|    Rboolean __release__ = gc_inhibit_release;	   \
  |  |  255|  1.88k|    X;						   \
  |  |  256|  1.88k|    gc_force_wait = __wait__;			   \
  |  |  257|  1.88k|    gc_force_gap = __gap__;			   \
  |  |  258|  1.88k|    gc_inhibit_release = __release__;		   \
  |  |  259|  1.88k|}  while(0)
  |  |  ------------------
  |  |  |  Branch (259:10): [Folded, False: 1.88k]
  |  |  ------------------
  ------------------
 3069|  1.88k|   return s;
 3070|  1.88k|}
Rf_allocFormalsList2:
 3099|      4|{
 3100|      4|    return allocFormalsList(2, sym1, sym2);
 3101|      4|}
Rf_allocFormalsList3:
 3105|      6|{
 3106|      6|    return allocFormalsList(3, sym1, sym2, sym3);
 3107|      6|}
Rf_allocFormalsList5:
 3117|      2|{
 3118|      2|    return allocFormalsList(5, sym1, sym2, sym3, sym4, sym5);
 3119|      2|}
Rf_allocFormalsList6:
 3124|      2|{
 3125|      2|    return allocFormalsList(6, sym1, sym2, sym3, sym4, sym5, sym6);
 3126|      2|}
R_check_thread:
 3222|   686M|{
 3223|   686M|    if (! main_thread_inited) {
  ------------------
  |  Branch (3223:9): [True: 2, False: 686M]
  ------------------
 3224|      2|        static Rboolean atfork_registered = FALSE;
 3225|      2|        if (! atfork_registered) {
  ------------------
  |  Branch (3225:13): [True: 2, False: 0]
  ------------------
 3226|      2|            pthread_atfork(NULL, NULL, forget_main_thread);
 3227|      2|            atfork_registered = TRUE;
 3228|      2|        }
 3229|      2|        main_thread = pthread_self();
 3230|      2|        main_thread_inited = TRUE;
 3231|      2|    }
 3232|   686M|    if (! pthread_equal(main_thread, pthread_self())) {
  ------------------
  |  Branch (3232:9): [True: 0, False: 686M]
  ------------------
 3233|      0|        char buf[1024];
 3234|      0|	size_t bsize = sizeof buf;
 3235|      0|	memset(buf, 0, bsize);
 3236|      0|        snprintf(buf, bsize - 1, "Wrong thread calling '%s'", s);
 3237|      0|        R_Suicide(buf);
 3238|      0|    }
 3239|   686M|}
Rf_protect:
 3484|   405M|{
 3485|   405M|    R_CHECK_THREAD;
  ------------------
  |  |  566|   405M|# define R_CHECK_THREAD R_check_thread(__func__)
  ------------------
 3486|   405M|    if (R_PPStackTop >= R_PPStackSize)
  ------------------
  |  Branch (3486:9): [True: 0, False: 405M]
  ------------------
 3487|      0|	R_signal_protect_error();
 3488|   405M|    R_PPStack[R_PPStackTop++] = CHK(s);
 3489|   405M|    return s;
 3490|   405M|}
Rf_unprotect:
 3496|   266M|{
 3497|   266M|    R_CHECK_THREAD;
  ------------------
  |  |  566|   266M|# define R_CHECK_THREAD R_check_thread(__func__)
  ------------------
 3498|   266M|    if (R_PPStackTop >=  l)
  ------------------
  |  Branch (3498:9): [True: 266M, False: 0]
  ------------------
 3499|   266M|	R_PPStackTop -= l;
 3500|      0|    else R_signal_unprotect_error();
 3501|   266M|}
R_ProtectWithIndex:
 3546|  12.7M|{
 3547|  12.7M|    protect(s);
  ------------------
  |  | 1015|  12.7M|#define protect			Rf_protect
  ------------------
 3548|  12.7M|    *pi = R_PPStackTop - 1;
 3549|  12.7M|}
R_Reprotect:
 3562|  13.7M|{
 3563|  13.7M|    R_CHECK_THREAD;
  ------------------
  |  |  566|  13.7M|# define R_CHECK_THREAD R_check_thread(__func__)
  ------------------
 3564|  13.7M|    if (i >= R_PPStackTop || i < 0)
  ------------------
  |  Branch (3564:9): [True: 0, False: 13.7M]
  |  Branch (3564:30): [True: 0, False: 13.7M]
  ------------------
 3565|      0|	R_signal_reprotect_error(i);
 3566|  13.7M|    R_PPStack[i] = s;
 3567|  13.7M|}
R_chk_calloc:
 3600|  81.5k|{
 3601|  81.5k|    void *p;
 3602|       |#ifndef HAVE_WORKING_CALLOC
 3603|       |    if(nelem == 0)
 3604|       |	return(NULL);
 3605|       |#endif
 3606|  81.5k|    p = calloc(nelem, elsize);
 3607|  81.5k|    if(!p)
  ------------------
  |  Branch (3607:8): [True: 0, False: 81.5k]
  ------------------
 3608|      0|	error(_("'R_Calloc' could not allocate memory (%llu of %llu bytes)"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'R_Calloc' could not allocate memory (%llu of %llu bytes)"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3609|      0|	      (unsigned long long)nelem, (unsigned long long)elsize);
 3610|  81.5k|    return(p);
 3611|  81.5k|}
R_chk_realloc:
 3614|  3.79k|{
 3615|  3.79k|    void *p;
 3616|       |    /* Protect against broken realloc */
 3617|  3.79k|    if(ptr) p = realloc(ptr, size); else p = malloc(size);
  ------------------
  |  Branch (3617:8): [True: 0, False: 3.79k]
  ------------------
 3618|  3.79k|    if(!p)
  ------------------
  |  Branch (3618:8): [True: 0, False: 3.79k]
  ------------------
 3619|      0|	error(_("'R_Realloc' could not re-allocate memory (%llu bytes)"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'R_Realloc' could not re-allocate memory (%llu bytes)"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3620|      0|	      (unsigned long long)size);
 3621|  3.79k|    return(p);
 3622|  3.79k|}
R_chk_free:
 3625|  89.1k|{
 3626|       |    /* S-PLUS warns here, but there seems no reason to do so */
 3627|       |    /* if(!ptr) warning("attempt to free NULL pointer by Free"); */
 3628|  89.1k|    if(ptr) free(ptr); /* ANSI C says free has no effect on NULL, but
  ------------------
  |  Branch (3628:8): [True: 85.3k, False: 3.79k]
  ------------------
 3629|       |			  better to be safe here */
 3630|  89.1k|}
R_chk_memcpy:
 3633|    322|{
 3634|    322|    if (n >= PTRDIFF_MAX)
  ------------------
  |  Branch (3634:9): [True: 0, False: 322]
  ------------------
 3635|      0|	error(_("object is too large (%llu bytes)"), (unsigned long long)n);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("object is too large (%llu bytes)"), (unsigned long long)n);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3636|    322|    return n ? memcpy(dest, src, n) : dest;
  ------------------
  |  Branch (3636:12): [True: 322, False: 0]
  ------------------
 3637|    322|}
R_chk_memset:
 3640|     54|{
 3641|     54|    if (n >= PTRDIFF_MAX)
  ------------------
  |  Branch (3641:9): [True: 0, False: 54]
  ------------------
 3642|      0|	error(_("object is too large (%llu bytes)"), (unsigned long long)n);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("object is too large (%llu bytes)"), (unsigned long long)n);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3643|     54|    return n ? memset(s, c, n) : s;
  ------------------
  |  Branch (3643:12): [True: 6, False: 48]
  ------------------
 3644|     54|}
R_PreserveObject:
 3687|  1.14k|{
 3688|  1.14k|    R_CHECK_THREAD;
  ------------------
  |  |  566|  1.14k|# define R_CHECK_THREAD R_check_thread(__func__)
  ------------------
 3689|  1.14k|    if (! precious_inited) {
  ------------------
  |  Branch (3689:9): [True: 2, False: 1.14k]
  ------------------
 3690|      2|	precious_inited = TRUE;
 3691|      2|	if (getenv("R_HASH_PRECIOUS"))
  ------------------
  |  Branch (3691:6): [True: 0, False: 2]
  ------------------
 3692|      0|	    use_precious_hash = TRUE;
 3693|      2|    }
 3694|  1.14k|    if (use_precious_hash) {
  ------------------
  |  Branch (3694:9): [True: 0, False: 1.14k]
  ------------------
 3695|      0|	if (R_PreciousList == R_NilValue)
  ------------------
  |  Branch (3695:6): [True: 0, False: 0]
  ------------------
 3696|      0|	    R_PreciousList = allocVector(VECSXP, PHASH_SIZE);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              	    R_PreciousList = allocVector(VECSXP, PHASH_SIZE);
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
              	    R_PreciousList = allocVector(VECSXP, PHASH_SIZE);
  ------------------
  |  | 3680|      0|#define PHASH_SIZE 1069
  ------------------
 3697|      0|	int bin = PTRHASH(object) % PHASH_SIZE;
  ------------------
  |  | 3681|      0|#define PTRHASH(obj) (((R_size_t) (obj)) >> 3)
  ------------------
              	int bin = PTRHASH(object) % PHASH_SIZE;
  ------------------
  |  | 3680|      0|#define PHASH_SIZE 1069
  ------------------
 3698|      0|	SET_VECTOR_ELT(R_PreciousList, bin,
 3699|      0|		       CONS(object, VECTOR_ELT_0(R_PreciousList, bin)));
  ------------------
  |  |  309|      0|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
 3700|      0|    }
 3701|  1.14k|    else
 3702|  1.14k|	R_PreciousList = CONS(object, R_PreciousList);
  ------------------
  |  |  309|  1.14k|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
 3703|  1.14k|}
R_ReleaseObject:
 3706|    858|{
 3707|    858|    R_CHECK_THREAD;
  ------------------
  |  |  566|    858|# define R_CHECK_THREAD R_check_thread(__func__)
  ------------------
 3708|    858|    if (! precious_inited)
  ------------------
  |  Branch (3708:9): [True: 0, False: 858]
  ------------------
 3709|      0|	return; /* can't be anything to delete yet */
 3710|    858|    if (use_precious_hash) {
  ------------------
  |  Branch (3710:9): [True: 0, False: 858]
  ------------------
 3711|      0|	int bin = PTRHASH(object) % PHASH_SIZE;
  ------------------
  |  | 3681|      0|#define PTRHASH(obj) (((R_size_t) (obj)) >> 3)
  ------------------
              	int bin = PTRHASH(object) % PHASH_SIZE;
  ------------------
  |  | 3680|      0|#define PHASH_SIZE 1069
  ------------------
 3712|      0|	SET_VECTOR_ELT(R_PreciousList, bin,
 3713|      0|		       DeleteFromList(object,
 3714|      0|				      VECTOR_ELT_0(R_PreciousList, bin)));
  ------------------
  |  |   80|      0|#define VECTOR_ELT_0(x,i)        ((SEXP *) STDVEC_DATAPTR(x))[i]
  |  |  ------------------
  |  |  |  |  420|      0|#define STDVEC_DATAPTR(x) ((void *) (((SEXPREC_ALIGN *) (x)) + 1))
  |  |  ------------------
  ------------------
 3715|      0|    }
 3716|    858|    else
 3717|    858|	R_PreciousList =  DeleteFromList(object, R_PreciousList);
 3718|    858|}
R_NewPreciousMSet:
 3757|      2|{
 3758|      2|    SEXP npreserved, mset, isize;
 3759|       |
 3760|       |    /* npreserved is modified in place */
 3761|      2|    npreserved = allocVector(INTSXP, 1);
  ------------------
  |  |  875|      2|#define allocVector		Rf_allocVector
  ------------------
                  npreserved = allocVector(INTSXP, 1);
  ------------------
  |  |  123|      2|#define INTSXP	    13	  /* integer vectors */
  ------------------
 3762|      2|    SET_INTEGER_ELT(npreserved, 0, 0);
 3763|      2|    PROTECT(mset = CONS(R_NilValue, npreserved));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3764|       |    /* isize is not modified in place */
 3765|      2|    if (initialSize < 0)
  ------------------
  |  Branch (3765:9): [True: 0, False: 2]
  ------------------
 3766|      0|	error("'initialSize' must be non-negative");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 3767|      2|    isize = ScalarInteger(initialSize);
  ------------------
  |  | 1022|      2|#define ScalarInteger		Rf_ScalarInteger
  ------------------
 3768|      2|    SET_TAG(mset, isize);
 3769|      2|    UNPROTECT(1); /* mset */
  ------------------
  |  |  358|      2|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 3770|      2|    return mset;
 3771|      2|}
R_PreserveInMSet:
 3791|  7.23k|{
 3792|  7.23k|    if (x == R_NilValue || isSymbol(x))
  ------------------
  |  |  862|  7.20k|#define isSymbol(s)	(TYPEOF(s) == SYMSXP)
  |  |  ------------------
  |  |  |  |  233|  7.20k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |               #define isSymbol(s)	(TYPEOF(s) == SYMSXP)
  |  |  ------------------
  |  |  |  |  112|  7.20k|#define SYMSXP	     1	  /* symbols */
  |  |  ------------------
  |  |  |  Branch (862:21): [True: 2.21k, False: 4.99k]
  |  |  ------------------
  ------------------
  |  Branch (3792:9): [True: 32, False: 7.20k]
  ------------------
 3793|  2.24k|	return; /* no need to preserve */
 3794|  4.99k|    PROTECT(x);
  ------------------
  |  |  357|  4.99k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3795|  4.99k|    checkMSet(mset);
 3796|  4.99k|    SEXP store = CAR(mset);
 3797|  4.99k|    int *n = INTEGER(CDR(mset));
  ------------------
  |  |  424|  4.99k|#define INTEGER(x)	((int *) DATAPTR(x))
  ------------------
 3798|  4.99k|    if (store == R_NilValue) {
  ------------------
  |  Branch (3798:9): [True: 2, False: 4.98k]
  ------------------
 3799|      2|	R_xlen_t newsize = INTEGER_ELT(TAG(mset), 0);
  ------------------
  |  |  440|      2|#define TAG(e)		((e)->u.listsxp.tagval)
  ------------------
 3800|      2|	if (newsize == 0)
  ------------------
  |  Branch (3800:6): [True: 0, False: 2]
  ------------------
 3801|      0|	    newsize = 4; /* default minimum size */
 3802|      2|	store = allocVector(VECSXP, newsize);
  ------------------
  |  |  875|      2|#define allocVector		Rf_allocVector
  ------------------
              	store = allocVector(VECSXP, newsize);
  ------------------
  |  |  131|      2|#define VECSXP	    19	  /* generic vectors */
  ------------------
 3803|      2|	SETCAR(mset, store);
 3804|      2|    }
 3805|  4.99k|    R_xlen_t size = XLENGTH(store);
  ------------------
  |  |  407|  4.99k|#define XLENGTH(x) XLENGTH_EX(x)
  ------------------
 3806|  4.99k|    if (*n == size) {
  ------------------
  |  Branch (3806:9): [True: 0, False: 4.99k]
  ------------------
 3807|      0|	R_xlen_t newsize = 2 * size;
 3808|      0|	if (newsize >= INT_MAX || newsize < size)
  ------------------
  |  Branch (3808:6): [True: 0, False: 0]
  |  Branch (3808:28): [True: 0, False: 0]
  ------------------
 3809|      0|	    error("Multi-set overflow");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 3810|      0|	SEXP newstore = PROTECT(allocVector(VECSXP, newsize));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3811|      0|	for(R_xlen_t i = 0; i < size; i++)
  ------------------
  |  Branch (3811:22): [True: 0, False: 0]
  ------------------
 3812|      0|	    SET_VECTOR_ELT(newstore, i, VECTOR_ELT_0(store, i));
  ------------------
  |  |   80|      0|#define VECTOR_ELT_0(x,i)        ((SEXP *) STDVEC_DATAPTR(x))[i]
  |  |  ------------------
  |  |  |  |  420|      0|#define STDVEC_DATAPTR(x) ((void *) (((SEXPREC_ALIGN *) (x)) + 1))
  |  |  ------------------
  ------------------
 3813|      0|	SETCAR(mset, newstore);
 3814|      0|	UNPROTECT(1); /* newstore */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 3815|      0|	store = newstore;
 3816|      0|    }
 3817|  4.99k|    UNPROTECT(1); /* x */
  ------------------
  |  |  358|  4.99k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 3818|  4.99k|    SET_VECTOR_ELT(store, (*n)++, x);
 3819|  4.99k|}
R_ReleaseFromMSet:
 3825|  7.23k|{
 3826|  7.23k|    if (x == R_NilValue || isSymbol(x))
  ------------------
  |  |  862|  7.20k|#define isSymbol(s)	(TYPEOF(s) == SYMSXP)
  |  |  ------------------
  |  |  |  |  233|  7.20k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |               #define isSymbol(s)	(TYPEOF(s) == SYMSXP)
  |  |  ------------------
  |  |  |  |  112|  7.20k|#define SYMSXP	     1	  /* symbols */
  |  |  ------------------
  |  |  |  Branch (862:21): [True: 2.21k, False: 4.99k]
  |  |  ------------------
  ------------------
  |  Branch (3826:9): [True: 32, False: 7.20k]
  ------------------
 3827|  2.24k|	return; /* not preserved */
 3828|  4.99k|    checkMSet(mset);
 3829|  4.99k|    SEXP store = CAR(mset);
 3830|  4.99k|    if (store == R_NilValue)
  ------------------
  |  Branch (3830:9): [True: 0, False: 4.99k]
  ------------------
 3831|      0|	return; /* not preserved */
 3832|  4.99k|    int *n = INTEGER(CDR(mset));
  ------------------
  |  |  424|  4.99k|#define INTEGER(x)	((int *) DATAPTR(x))
  ------------------
 3833|  8.86k|    for(R_xlen_t i = (*n) - 1; i >= 0; i--) {
  ------------------
  |  Branch (3833:32): [True: 8.86k, False: 0]
  ------------------
 3834|  8.86k|	if (VECTOR_ELT_0(store, i) == x) {
  ------------------
  |  |   80|  8.86k|#define VECTOR_ELT_0(x,i)        ((SEXP *) STDVEC_DATAPTR(x))[i]
  |  |  ------------------
  |  |  |  |  420|  8.86k|#define STDVEC_DATAPTR(x) ((void *) (((SEXPREC_ALIGN *) (x)) + 1))
  |  |  ------------------
  ------------------
  |  Branch (3834:6): [True: 4.99k, False: 3.87k]
  ------------------
 3835|  8.86k|	    for(;i < (*n) - 1; i++)
  ------------------
  |  Branch (3835:11): [True: 3.87k, False: 4.99k]
  ------------------
 3836|  3.87k|		SET_VECTOR_ELT(store, i, VECTOR_ELT_0(store, i + 1));
  ------------------
  |  |   80|  3.87k|#define VECTOR_ELT_0(x,i)        ((SEXP *) STDVEC_DATAPTR(x))[i]
  |  |  ------------------
  |  |  |  |  420|  3.87k|#define STDVEC_DATAPTR(x) ((void *) (((SEXPREC_ALIGN *) (x)) + 1))
  |  |  ------------------
  ------------------
 3837|  4.99k|	    SET_VECTOR_ELT(store, i, R_NilValue);
 3838|  4.99k|	    (*n)--;
 3839|  4.99k|	    return;
 3840|  4.99k|	}
 3841|  8.86k|    }
 3842|       |    /* not preserved */
 3843|  4.99k|}
R_ReleaseMSet:
 3848|    318|{
 3849|    318|    checkMSet(mset);
 3850|    318|    SEXP store = CAR(mset);
 3851|    318|    if (store == R_NilValue)
  ------------------
  |  Branch (3851:9): [True: 42, False: 276]
  ------------------
 3852|     42|	return; /* already empty */
 3853|    276|    int *n = INTEGER(CDR(mset));
  ------------------
  |  |  424|    276|#define INTEGER(x)	((int *) DATAPTR(x))
  ------------------
 3854|    276|    if (XLENGTH(store) <= keepSize) {
  ------------------
  |  |  407|    276|#define XLENGTH(x) XLENGTH_EX(x)
  ------------------
  |  Branch (3854:9): [True: 276, False: 0]
  ------------------
 3855|       |	/* just free the entries */
 3856|    276|	for(R_xlen_t i = 0; i < *n; i++)
  ------------------
  |  Branch (3856:22): [True: 0, False: 276]
  ------------------
 3857|      0|	    SET_VECTOR_ELT(store, i, R_NilValue);
 3858|    276|    } else
 3859|      0|	SETCAR(mset, R_NilValue);
 3860|    276|    *n = 0;
 3861|    276|}
R_MakeExternalPtr:
 3865|  1.71k|{
 3866|  1.71k|    SEXP s = allocSExp(EXTPTRSXP);
  ------------------
  |  |  874|  1.71k|#define allocSExp		Rf_allocSExp
  ------------------
                  SEXP s = allocSExp(EXTPTRSXP);
  ------------------
  |  |  134|  1.71k|#define EXTPTRSXP   22    /* external pointer */
  ------------------
 3867|  1.71k|    EXTPTR_PTR(s) = p;
  ------------------
  |  |  444|  1.71k|#define EXTPTR_PTR(e)	((e)->u.listsxp.carval)
  ------------------
 3868|  1.71k|    EXTPTR_PROT(s) = CHK(prot); if (prot) INCREMENT_REFCNT(prot);
  ------------------
  |  |  442|  1.71k|#define EXTPTR_PROT(x)	CDR(x)
  |  |  ------------------
  |  |  |  |  445|  1.71k|#define CDR(e)		((e)->u.listsxp.cdrval)
  |  |  ------------------
  ------------------
                  EXTPTR_PROT(s) = CHK(prot); if (prot) INCREMENT_REFCNT(prot);
  ------------------
  |  |  267|  1.71k|# define INCREMENT_REFCNT(x) do {			      \
  |  |  268|  1.71k|	SEXP irc__x__ = (x);				      \
  |  |  269|  1.71k|	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  ------------------
  |  |  |  |  248|  1.71k|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  ------------------
  |  |               	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  ------------------
  |  |  |  |  195|  1.71k|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|  1.71k|#define NAMED_BITS 16
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (269:6): [True: 0, False: 1.71k]
  |  |  ------------------
  |  |  270|  1.71k|	    SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1);	      \
  |  |  ------------------
  |  |  |  |  256|      0|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  |  248|      0|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  271|  1.71k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (271:14): [Folded, False: 1.71k]
  |  |  ------------------
  ------------------
  |  Branch (3868:37): [True: 1.71k, False: 0]
  ------------------
 3869|  1.71k|    EXTPTR_TAG(s) = CHK(tag); if (tag) INCREMENT_REFCNT(tag);
  ------------------
  |  |  443|  1.71k|#define EXTPTR_TAG(x)	TAG(x)
  |  |  ------------------
  |  |  |  |  440|  1.71k|#define TAG(e)		((e)->u.listsxp.tagval)
  |  |  ------------------
  ------------------
                  EXTPTR_TAG(s) = CHK(tag); if (tag) INCREMENT_REFCNT(tag);
  ------------------
  |  |  267|  1.71k|# define INCREMENT_REFCNT(x) do {			      \
  |  |  268|  1.71k|	SEXP irc__x__ = (x);				      \
  |  |  269|  1.71k|	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  ------------------
  |  |  |  |  248|  1.71k|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  ------------------
  |  |               	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  ------------------
  |  |  |  |  195|  1.71k|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|  1.71k|#define NAMED_BITS 16
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (269:6): [True: 1.66k, False: 42]
  |  |  ------------------
  |  |  270|  1.71k|	    SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1);	      \
  |  |  ------------------
  |  |  |  |  256|  1.66k|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  |  248|  1.66k|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  271|  1.71k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (271:14): [Folded, False: 1.71k]
  |  |  ------------------
  ------------------
  |  Branch (3869:35): [True: 1.71k, False: 0]
  ------------------
 3870|  1.71k|    return s;
 3871|  1.71k|}
R_ExternalPtrAddr:
 3879|  14.2k|{
 3880|  14.2k|    CHKEXTPTRSXP(s);
  ------------------
  |  | 3874|  14.2k|    if (TYPEOF(x) != EXTPTRSXP)						\
  |  |  ------------------
  |  |  |  |  233|  14.2k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |                   if (TYPEOF(x) != EXTPTRSXP)						\
  |  |  ------------------
  |  |  |  |  134|  14.2k|#define EXTPTRSXP   22    /* external pointer */
  |  |  ------------------
  |  |  |  Branch (3874:9): [True: 0, False: 14.2k]
  |  |  ------------------
  |  | 3875|  14.2k|	error(_("%s: argument of type %s is not an external pointer"),	\
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	error(_("%s: argument of type %s is not an external pointer"),	\
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 3876|      0|	      __func__, sexptype2char(TYPEOF(x)))
  |  |  ------------------
  |  |  |  | 1989|      0|# define sexptype2char		Rf_sexptype2char
  |  |  ------------------
  |  |               	      __func__, sexptype2char(TYPEOF(x)))
  |  |  ------------------
  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  ------------------
 3881|  14.2k|    return EXTPTR_PTR(CHK(s));
  ------------------
  |  |  444|  14.2k|#define EXTPTR_PTR(e)	((e)->u.listsxp.carval)
  ------------------
 3882|  14.2k|}
R_ExternalPtrTag:
 3885|  28.2k|{
 3886|  28.2k|    CHKEXTPTRSXP(s);
  ------------------
  |  | 3874|  28.2k|    if (TYPEOF(x) != EXTPTRSXP)						\
  |  |  ------------------
  |  |  |  |  233|  28.2k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |                   if (TYPEOF(x) != EXTPTRSXP)						\
  |  |  ------------------
  |  |  |  |  134|  28.2k|#define EXTPTRSXP   22    /* external pointer */
  |  |  ------------------
  |  |  |  Branch (3874:9): [True: 0, False: 28.2k]
  |  |  ------------------
  |  | 3875|  28.2k|	error(_("%s: argument of type %s is not an external pointer"),	\
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	error(_("%s: argument of type %s is not an external pointer"),	\
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 3876|      0|	      __func__, sexptype2char(TYPEOF(x)))
  |  |  ------------------
  |  |  |  | 1989|      0|# define sexptype2char		Rf_sexptype2char
  |  |  ------------------
  |  |               	      __func__, sexptype2char(TYPEOF(x)))
  |  |  ------------------
  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  ------------------
 3887|  28.2k|    return CHK(EXTPTR_TAG(CHK(s)));
  ------------------
  |  |  443|  28.2k|#define EXTPTR_TAG(x)	TAG(x)
  |  |  ------------------
  |  |  |  |  440|  28.2k|#define TAG(e)		((e)->u.listsxp.tagval)
  |  |  ------------------
  ------------------
 3888|  28.2k|}
R_SetExternalPtrAddr:
 3903|    352|{
 3904|    352|    CHKEXTPTRSXP(s);
  ------------------
  |  | 3874|    352|    if (TYPEOF(x) != EXTPTRSXP)						\
  |  |  ------------------
  |  |  |  |  233|    352|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |                   if (TYPEOF(x) != EXTPTRSXP)						\
  |  |  ------------------
  |  |  |  |  134|    352|#define EXTPTRSXP   22    /* external pointer */
  |  |  ------------------
  |  |  |  Branch (3874:9): [True: 0, False: 352]
  |  |  ------------------
  |  | 3875|    352|	error(_("%s: argument of type %s is not an external pointer"),	\
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	error(_("%s: argument of type %s is not an external pointer"),	\
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 3876|      0|	      __func__, sexptype2char(TYPEOF(x)))
  |  |  ------------------
  |  |  |  | 1989|      0|# define sexptype2char		Rf_sexptype2char
  |  |  ------------------
  |  |               	      __func__, sexptype2char(TYPEOF(x)))
  |  |  ------------------
  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  ------------------
 3905|    352|    EXTPTR_PTR(s) = p;
  ------------------
  |  |  444|    352|#define EXTPTR_PTR(e)	((e)->u.listsxp.carval)
  ------------------
 3906|    352|}
R_SetExternalPtrTag:
 3909|    352|{
 3910|    352|    CHKEXTPTRSXP(s);
  ------------------
  |  | 3874|    352|    if (TYPEOF(x) != EXTPTRSXP)						\
  |  |  ------------------
  |  |  |  |  233|    352|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |                   if (TYPEOF(x) != EXTPTRSXP)						\
  |  |  ------------------
  |  |  |  |  134|    352|#define EXTPTRSXP   22    /* external pointer */
  |  |  ------------------
  |  |  |  Branch (3874:9): [True: 0, False: 352]
  |  |  ------------------
  |  | 3875|    352|	error(_("%s: argument of type %s is not an external pointer"),	\
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	error(_("%s: argument of type %s is not an external pointer"),	\
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 3876|      0|	      __func__, sexptype2char(TYPEOF(x)))
  |  |  ------------------
  |  |  |  | 1989|      0|# define sexptype2char		Rf_sexptype2char
  |  |  ------------------
  |  |               	      __func__, sexptype2char(TYPEOF(x)))
  |  |  ------------------
  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  ------------------
 3911|    352|    FIX_REFCNT(s, EXTPTR_TAG(s), tag);
  ------------------
  |  | 1335|    352|#define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
  |  |  ------------------
  |  |  |  | 1319|    352|#define FIX_REFCNT_EX(x, old, new, chkpnd) do {				\
  |  |  |  | 1320|    352|	SEXP __x__ = (x);						\
  |  |  |  | 1321|    352|	if (TRACKREFS(__x__)) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  |  249|    352|# define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|    352|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               # define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  114|    352|#define CLOSXP	     3	  /* closures */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (249:23): [True: 352, False: 0]
  |  |  |  |  |  |  |  Branch (249:24): [True: 0, False: 352]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1322|    352|	    SEXP __old__ = (old);					\
  |  |  |  | 1323|    352|	    SEXP __new__ = (new);					\
  |  |  |  | 1324|    352|	    if (__old__ != __new__) {					\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1324:10): [True: 0, False: 352]
  |  |  |  |  ------------------
  |  |  |  | 1325|      0|		if (__old__) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1325:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1326|      0|		    if ((chkpnd) && ASSIGNMENT_PENDING(__x__))		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  321|      0|#define ASSIGNMENT_PENDING(x) ((x)->sxpinfo.gp & ASSIGNMENT_PENDING_MASK)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (321:31): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1326:11): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1327|      0|			SET_ASSIGNMENT_PENDING(__x__, FALSE);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  322|      0|#define SET_ASSIGNMENT_PENDING(x, v) do {			\
  |  |  |  |  |  |  323|      0|	if (v) (((x)->sxpinfo.gp) |= ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (323:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  324|      0|	else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  325|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (325:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1328|      0|		    else						\
  |  |  |  | 1329|      0|			DECREMENT_REFCNT(__old__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  262|      0|# define DECREMENT_REFCNT(x) do {					\
  |  |  |  |  |  |  263|      0|	SEXP drc__x__ = (x);						\
  |  |  |  |  |  |  264|      0|	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|      0|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|      0|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|      0|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (264:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (264:30): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  265|      0|	    SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1);			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|      0|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|      0|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  266|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (266:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1330|      0|		}							\
  |  |  |  | 1331|      0|		if (__new__) INCREMENT_REFCNT(__new__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  267|      0|# define INCREMENT_REFCNT(x) do {			      \
  |  |  |  |  |  |  268|      0|	SEXP irc__x__ = (x);				      \
  |  |  |  |  |  |  269|      0|	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|      0|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|      0|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (269:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  270|      0|	    SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1);	      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|      0|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|      0|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  271|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (271:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1331:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1332|      0|	    }								\
  |  |  |  | 1333|    352|	}								\
  |  |  |  | 1334|    352|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1334:14): [Folded, False: 352]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3912|    352|    CHECK_OLD_TO_NEW(s, tag);
  ------------------
  |  | 1350|    352|#define CHECK_OLD_TO_NEW(x,y) do { \
  |  | 1351|    352|  if (NODE_IS_OLDER(CHK(x), CHK(y))) old_to_new(x,y);  } while (0)
  |  |  ------------------
  |  |  |  |  565|    352|    (NODE_IS_MARKED(x) && (y) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|    704|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|    352|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (268:27): [True: 0, False: 352]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (565:27): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  566|    352|   (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (566:5): [True: 0, False: 0]
  |  |  |  |  |  Branch (566:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1351:65): [Folded, False: 352]
  |  |  ------------------
  ------------------
 3913|    352|    EXTPTR_TAG(s) = tag;
  ------------------
  |  |  443|    352|#define EXTPTR_TAG(x)	TAG(x)
  |  |  ------------------
  |  |  |  |  440|    352|#define TAG(e)		((e)->u.listsxp.tagval)
  |  |  ------------------
  ------------------
 3914|    352|}
R_SetExternalPtrProtected:
 3917|    352|{
 3918|    352|    CHKEXTPTRSXP(s);
  ------------------
  |  | 3874|    352|    if (TYPEOF(x) != EXTPTRSXP)						\
  |  |  ------------------
  |  |  |  |  233|    352|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |                   if (TYPEOF(x) != EXTPTRSXP)						\
  |  |  ------------------
  |  |  |  |  134|    352|#define EXTPTRSXP   22    /* external pointer */
  |  |  ------------------
  |  |  |  Branch (3874:9): [True: 0, False: 352]
  |  |  ------------------
  |  | 3875|    352|	error(_("%s: argument of type %s is not an external pointer"),	\
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	error(_("%s: argument of type %s is not an external pointer"),	\
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 3876|      0|	      __func__, sexptype2char(TYPEOF(x)))
  |  |  ------------------
  |  |  |  | 1989|      0|# define sexptype2char		Rf_sexptype2char
  |  |  ------------------
  |  |               	      __func__, sexptype2char(TYPEOF(x)))
  |  |  ------------------
  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  ------------------
 3919|    352|    FIX_REFCNT(s, EXTPTR_PROT(s), p);
  ------------------
  |  | 1335|    352|#define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
  |  |  ------------------
  |  |  |  | 1319|    352|#define FIX_REFCNT_EX(x, old, new, chkpnd) do {				\
  |  |  |  | 1320|    352|	SEXP __x__ = (x);						\
  |  |  |  | 1321|    352|	if (TRACKREFS(__x__)) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  |  249|    352|# define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|    352|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               # define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  114|    352|#define CLOSXP	     3	  /* closures */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (249:23): [True: 352, False: 0]
  |  |  |  |  |  |  |  Branch (249:24): [True: 0, False: 352]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1322|    352|	    SEXP __old__ = (old);					\
  |  |  |  | 1323|    352|	    SEXP __new__ = (new);					\
  |  |  |  | 1324|    352|	    if (__old__ != __new__) {					\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1324:10): [True: 0, False: 352]
  |  |  |  |  ------------------
  |  |  |  | 1325|      0|		if (__old__) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1325:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1326|      0|		    if ((chkpnd) && ASSIGNMENT_PENDING(__x__))		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  321|      0|#define ASSIGNMENT_PENDING(x) ((x)->sxpinfo.gp & ASSIGNMENT_PENDING_MASK)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (321:31): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1326:11): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1327|      0|			SET_ASSIGNMENT_PENDING(__x__, FALSE);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  322|      0|#define SET_ASSIGNMENT_PENDING(x, v) do {			\
  |  |  |  |  |  |  323|      0|	if (v) (((x)->sxpinfo.gp) |= ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (323:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  324|      0|	else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  325|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (325:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1328|      0|		    else						\
  |  |  |  | 1329|      0|			DECREMENT_REFCNT(__old__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  262|      0|# define DECREMENT_REFCNT(x) do {					\
  |  |  |  |  |  |  263|      0|	SEXP drc__x__ = (x);						\
  |  |  |  |  |  |  264|      0|	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|      0|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|      0|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|      0|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (264:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (264:30): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  265|      0|	    SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1);			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|      0|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|      0|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  266|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (266:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1330|      0|		}							\
  |  |  |  | 1331|      0|		if (__new__) INCREMENT_REFCNT(__new__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  267|      0|# define INCREMENT_REFCNT(x) do {			      \
  |  |  |  |  |  |  268|      0|	SEXP irc__x__ = (x);				      \
  |  |  |  |  |  |  269|      0|	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|      0|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|      0|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|      0|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (269:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  270|      0|	    SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1);	      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|      0|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|      0|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  271|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (271:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1331:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1332|      0|	    }								\
  |  |  |  | 1333|    352|	}								\
  |  |  |  | 1334|    352|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1334:14): [Folded, False: 352]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3920|    352|    CHECK_OLD_TO_NEW(s, p);
  ------------------
  |  | 1350|    352|#define CHECK_OLD_TO_NEW(x,y) do { \
  |  | 1351|    352|  if (NODE_IS_OLDER(CHK(x), CHK(y))) old_to_new(x,y);  } while (0)
  |  |  ------------------
  |  |  |  |  565|    352|    (NODE_IS_MARKED(x) && (y) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|    704|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|    352|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (268:27): [True: 0, False: 352]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (565:27): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  566|    352|   (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (566:5): [True: 0, False: 0]
  |  |  |  |  |  Branch (566:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1351:65): [Folded, False: 352]
  |  |  ------------------
  ------------------
 3921|    352|    EXTPTR_PROT(s) = p;
  ------------------
  |  |  442|    352|#define EXTPTR_PROT(x)	CDR(x)
  |  |  ------------------
  |  |  |  |  445|    352|#define CDR(e)		((e)->u.listsxp.cdrval)
  |  |  ------------------
  ------------------
 3922|    352|}
R_MakeExternalPtrFn:
 3931|     12|{
 3932|     12|    fn_ptr tmp;
 3933|     12|    SEXP s = allocSExp(EXTPTRSXP);
  ------------------
  |  |  874|     12|#define allocSExp		Rf_allocSExp
  ------------------
                  SEXP s = allocSExp(EXTPTRSXP);
  ------------------
  |  |  134|     12|#define EXTPTRSXP   22    /* external pointer */
  ------------------
 3934|     12|    tmp.fn = p;
 3935|     12|    EXTPTR_PTR(s) = tmp.p;
  ------------------
  |  |  444|     12|#define EXTPTR_PTR(e)	((e)->u.listsxp.carval)
  ------------------
 3936|     12|    EXTPTR_PROT(s) = CHK(prot); if (prot) INCREMENT_REFCNT(prot);
  ------------------
  |  |  442|     12|#define EXTPTR_PROT(x)	CDR(x)
  |  |  ------------------
  |  |  |  |  445|     12|#define CDR(e)		((e)->u.listsxp.cdrval)
  |  |  ------------------
  ------------------
                  EXTPTR_PROT(s) = CHK(prot); if (prot) INCREMENT_REFCNT(prot);
  ------------------
  |  |  267|     12|# define INCREMENT_REFCNT(x) do {			      \
  |  |  268|     12|	SEXP irc__x__ = (x);				      \
  |  |  269|     12|	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  ------------------
  |  |  |  |  248|     12|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  ------------------
  |  |               	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  ------------------
  |  |  |  |  195|     12|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|     12|#define NAMED_BITS 16
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (269:6): [True: 0, False: 12]
  |  |  ------------------
  |  |  270|     12|	    SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1);	      \
  |  |  ------------------
  |  |  |  |  256|      0|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  |  248|      0|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  271|     12|    } while (0)
  |  |  ------------------
  |  |  |  Branch (271:14): [Folded, False: 12]
  |  |  ------------------
  ------------------
  |  Branch (3936:37): [True: 12, False: 0]
  ------------------
 3937|     12|    EXTPTR_TAG(s) = CHK(tag); if (tag) INCREMENT_REFCNT(tag);
  ------------------
  |  |  443|     12|#define EXTPTR_TAG(x)	TAG(x)
  |  |  ------------------
  |  |  |  |  440|     12|#define TAG(e)		((e)->u.listsxp.tagval)
  |  |  ------------------
  ------------------
                  EXTPTR_TAG(s) = CHK(tag); if (tag) INCREMENT_REFCNT(tag);
  ------------------
  |  |  267|     12|# define INCREMENT_REFCNT(x) do {			      \
  |  |  268|     12|	SEXP irc__x__ = (x);				      \
  |  |  269|     12|	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  ------------------
  |  |  |  |  248|     12|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  ------------------
  |  |               	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  ------------------
  |  |  |  |  195|     12|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|     12|#define NAMED_BITS 16
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (269:6): [True: 0, False: 12]
  |  |  ------------------
  |  |  270|     12|	    SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1);	      \
  |  |  ------------------
  |  |  |  |  256|      0|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  |  248|      0|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  271|     12|    } while (0)
  |  |  ------------------
  |  |  |  Branch (271:14): [Folded, False: 12]
  |  |  ------------------
  ------------------
  |  Branch (3937:35): [True: 12, False: 0]
  ------------------
 3938|     12|    return s;
 3939|     12|}
ATTRIB:
 3957|   185M|SEXP (ATTRIB)(SEXP x) { return CHK(ATTRIB(CHK(x))); }
  ------------------
  |  |  230|   185M|#define ATTRIB(x)	((x)->attrib)
  ------------------
OBJECT:
 3959|   222M|int (OBJECT)(SEXP x) { return OBJECT(CHK(x)); }
  ------------------
  |  |  231|   222M|#define OBJECT(x)	((x)->sxpinfo.obj)
  ------------------
TYPEOF:
 3960|  1.71G|int (TYPEOF)(SEXP x) { return TYPEOF(CHK(x)); }
  ------------------
  |  |  233|  1.71G|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
NAMED:
 3962|  20.0M|int (NAMED)(SEXP x) { return NAMED(CHK(x)); }
  ------------------
  |  |  337|  20.0M|# define NAMED(x) REFCNT(x)
  |  |  ------------------
  |  |  |  |  248|  20.0M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  ------------------
  ------------------
RTRACE:
 3963|  40.3M|attribute_hidden int (RTRACE)(SEXP x) { return RTRACE(CHK(x)); }
  ------------------
  |  |  235|  40.3M|#define RTRACE(x)	((x)->sxpinfo.trace)
  ------------------
LEVELS:
 3965|  66.6M|int (LEVELS)(SEXP x) { return LEVELS(CHK(x)); }
  ------------------
  |  |  236|  66.6M|#define LEVELS(x)	((x)->sxpinfo.gp)
  ------------------
REFCNT:
 3966|   116M|int (REFCNT)(SEXP x) { return REFCNT(CHK(x)); }
  ------------------
  |  |  248|   116M|# define REFCNT(x) ((x)->sxpinfo.named)
  ------------------
TRACKREFS:
 3967|  37.4M|attribute_hidden int (TRACKREFS)(SEXP x) { return TRACKREFS(CHK(x)); }
  ------------------
  |  |  249|  37.4M|# define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  ------------------
  |  |  |  |  233|  37.4M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |               # define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  ------------------
  |  |  |  |  114|  37.4M|#define CLOSXP	     3	  /* closures */
  |  |  ------------------
  |  |  |  Branch (249:24): [True: 0, False: 37.4M]
  |  |  ------------------
  ------------------
ALTREP:
 3968|   209M|int (ALTREP)(SEXP x) { return ALTREP(CHK(x)); }
  ------------------
  |  |  242|   209M|#define ALTREP(x)       ((x)->sxpinfo.alt)
  ------------------
MARK_NOT_MUTABLE:
 3969|  27.7M|void (MARK_NOT_MUTABLE)(SEXP x) { MARK_NOT_MUTABLE(CHK(x)); }
  ------------------
  |  |  283|  27.7M|# define MARK_NOT_MUTABLE(x) SET_REFCNT(x, REFCNTMAX)
  |  |  ------------------
  |  |  |  |  256|  27.7M|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  |  248|  27.7M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
MAYBE_SHARED:
 3970|  21.0M|int (MAYBE_SHARED)(SEXP x) { return MAYBE_SHARED(CHK(x)); }
  ------------------
  |  |  241|  21.0M|#  define MAYBE_SHARED(x) (REFCNT(x) > 1)
  |  |  ------------------
  |  |  |  |  248|  21.0M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  ------------------
  ------------------
NO_REFERENCES:
 3971|  27.4M|int (NO_REFERENCES)(SEXP x) { return NO_REFERENCES(CHK(x)); }
  ------------------
  |  |  242|  27.4M|#  define NO_REFERENCES(x) (REFCNT(x) == 0)
  |  |  ------------------
  |  |  |  |  248|  27.4M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  ------------------
  ------------------
IS_SCALAR:
 3975|  30.3M|{
 3976|  30.3M|    return TYPEOF(CHK(x)) == type && XLENGTH(x) == 1;
  ------------------
  |  |  233|  30.3M|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
                  return TYPEOF(CHK(x)) == type && XLENGTH(x) == 1;
  ------------------
  |  |  407|  17.4M|#define XLENGTH(x) XLENGTH_EX(x)
  ------------------
  |  Branch (3976:12): [True: 17.4M, False: 12.9M]
  |  Branch (3976:38): [True: 17.4M, False: 69.7k]
  ------------------
 3977|  30.3M|}
DECREMENT_REFCNT:
 3981|  93.2M|void (DECREMENT_REFCNT)(SEXP x) { DECREMENT_REFCNT(CHK(x)); }
  ------------------
  |  |  262|  93.2M|# define DECREMENT_REFCNT(x) do {					\
  |  |  263|  93.2M|	SEXP drc__x__ = (x);						\
  |  |  264|  93.2M|	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  ------------------
  |  |  |  |  248|  93.2M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  ------------------
  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  ------------------
  |  |  |  |  248|  93.2M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  ------------------
  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  ------------------
  |  |  |  |  195|  93.2M|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|  93.2M|#define NAMED_BITS 16
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (264:6): [True: 93.2M, False: 0]
  |  |  |  Branch (264:30): [True: 68.1M, False: 25.0M]
  |  |  ------------------
  |  |  265|  93.2M|	    SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1);			\
  |  |  ------------------
  |  |  |  |  256|  68.1M|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  |  248|  68.1M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  266|  93.2M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (266:14): [Folded, False: 93.2M]
  |  |  ------------------
  ------------------
INCREMENT_REFCNT:
 3983|   225M|void (INCREMENT_REFCNT)(SEXP x) { INCREMENT_REFCNT(CHK(x)); }
  ------------------
  |  |  267|   225M|# define INCREMENT_REFCNT(x) do {			      \
  |  |  268|   225M|	SEXP irc__x__ = (x);				      \
  |  |  269|   225M|	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  ------------------
  |  |  |  |  248|   225M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  ------------------
  |  |               	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  ------------------
  |  |  |  |  195|   225M|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|   225M|#define NAMED_BITS 16
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (269:6): [True: 155M, False: 70.0M]
  |  |  ------------------
  |  |  270|   225M|	    SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1);	      \
  |  |  ------------------
  |  |  |  |  256|   155M|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  |  248|   155M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  271|   225M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (271:14): [Folded, False: 225M]
  |  |  ------------------
  ------------------
DISABLE_REFCNT:
 3985|     52|void (DISABLE_REFCNT)(SEXP x)  { DISABLE_REFCNT(CHK(x)); }
  ------------------
  |  |  280|     52|#define DISABLE_REFCNT(x) SET_TRACKREFS(x, FALSE)
  |  |  ------------------
  |  |  |  |  260|     52|#  define SET_TRACKREFS(x,v) ((x)->sxpinfo.spare = ! (v))
  |  |  ------------------
  ------------------
ENABLE_REFCNT:
 3987|  37.4M|void (ENABLE_REFCNT)(SEXP x) { ENABLE_REFCNT(CHK(x)); }
  ------------------
  |  |  279|  37.4M|#define ENABLE_REFCNT(x) SET_TRACKREFS(x, TRUE)
  |  |  ------------------
  |  |  |  |  260|  37.4M|#  define SET_TRACKREFS(x,v) ((x)->sxpinfo.spare = ! (v))
  |  |  ------------------
  ------------------
ASSIGNMENT_PENDING:
 3989|  5.25M|int (ASSIGNMENT_PENDING)(SEXP x) { return ASSIGNMENT_PENDING(CHK(x)); }
  ------------------
  |  |  321|  5.25M|#define ASSIGNMENT_PENDING(x) ((x)->sxpinfo.gp & ASSIGNMENT_PENDING_MASK)
  |  |  ------------------
  |  |  |  |  320|  5.25M|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  ------------------
  ------------------
SET_ASSIGNMENT_PENDING:
 3991|  10.5M|{
 3992|  10.5M|    SET_ASSIGNMENT_PENDING(CHK(x), v);
  ------------------
  |  |  322|  10.5M|#define SET_ASSIGNMENT_PENDING(x, v) do {			\
  |  |  323|  10.5M|	if (v) (((x)->sxpinfo.gp) |= ASSIGNMENT_PENDING_MASK);	\
  |  |  ------------------
  |  |  |  |  320|  5.25M|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  ------------------
  |  |  |  Branch (323:6): [True: 5.25M, False: 5.25M]
  |  |  ------------------
  |  |  324|  10.5M|	else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK);	\
  |  |  ------------------
  |  |  |  |  320|  5.25M|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  ------------------
  |  |  325|  10.5M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (325:14): [Folded, False: 10.5M]
  |  |  ------------------
  ------------------
 3993|  10.5M|}
IS_ASSIGNMENT_CALL:
 3995|  2.10M|int (IS_ASSIGNMENT_CALL)(SEXP x) { return IS_ASSIGNMENT_CALL(CHK(x)); }
  ------------------
  |  |  332|  2.10M|#define IS_ASSIGNMENT_CALL(call) ASSIGNMENT_PENDING(call)
  |  |  ------------------
  |  |  |  |  321|  2.10M|#define ASSIGNMENT_PENDING(x) ((x)->sxpinfo.gp & ASSIGNMENT_PENDING_MASK)
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|  2.10M|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
MARK_ASSIGNMENT_CALL:
 3997|  4.20M|void (MARK_ASSIGNMENT_CALL)(SEXP x) { MARK_ASSIGNMENT_CALL(CHK(x)); }
  ------------------
  |  |  331|  4.20M|#define MARK_ASSIGNMENT_CALL(call) SET_ASSIGNMENT_PENDING(call, TRUE)
  |  |  ------------------
  |  |  |  |  322|  4.20M|#define SET_ASSIGNMENT_PENDING(x, v) do {			\
  |  |  |  |  323|  4.20M|	if (v) (((x)->sxpinfo.gp) |= ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|  4.20M|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (323:6): [True: 4.20M, Folded]
  |  |  |  |  ------------------
  |  |  |  |  324|  4.20M|	else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  ------------------
  |  |  |  |  325|  4.20M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (325:14): [Folded, False: 4.20M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
SET_ATTRIB:
 3999|  17.2M|void (SET_ATTRIB)(SEXP x, SEXP v) {
 4000|  17.2M|    if(TYPEOF(v) != LISTSXP && TYPEOF(v) != NILSXP)
  ------------------
  |  |  233|  17.2M|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
                  if(TYPEOF(v) != LISTSXP && TYPEOF(v) != NILSXP)
  ------------------
  |  |  113|  34.4M|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
                  if(TYPEOF(v) != LISTSXP && TYPEOF(v) != NILSXP)
  ------------------
  |  |  233|  2.37M|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
                  if(TYPEOF(v) != LISTSXP && TYPEOF(v) != NILSXP)
  ------------------
  |  |  111|  2.37M|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (4000:8): [True: 2.37M, False: 14.8M]
  |  Branch (4000:32): [True: 0, False: 2.37M]
  ------------------
 4001|      0|	error("value of 'SET_ATTRIB' must be a pairlist or NULL, not a '%s'",
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 4002|      0|	      R_typeToChar(v));
 4003|  17.2M|    FIX_REFCNT(x, ATTRIB(x), v);
  ------------------
  |  | 1335|  17.2M|#define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
  |  |  ------------------
  |  |  |  | 1319|  17.2M|#define FIX_REFCNT_EX(x, old, new, chkpnd) do {				\
  |  |  |  | 1320|  17.2M|	SEXP __x__ = (x);						\
  |  |  |  | 1321|  17.2M|	if (TRACKREFS(__x__)) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  |  249|  17.2M|# define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|  17.2M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               # define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  114|  17.2M|#define CLOSXP	     3	  /* closures */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (249:23): [True: 17.2M, False: 0]
  |  |  |  |  |  |  |  Branch (249:24): [True: 6.31k, False: 17.2M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1322|  17.2M|	    SEXP __old__ = (old);					\
  |  |  |  | 1323|  17.2M|	    SEXP __new__ = (new);					\
  |  |  |  | 1324|  17.2M|	    if (__old__ != __new__) {					\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1324:10): [True: 16.9M, False: 314k]
  |  |  |  |  ------------------
  |  |  |  | 1325|  16.9M|		if (__old__) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1325:7): [True: 16.9M, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1326|  16.9M|		    if ((chkpnd) && ASSIGNMENT_PENDING(__x__))		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  321|      0|#define ASSIGNMENT_PENDING(x) ((x)->sxpinfo.gp & ASSIGNMENT_PENDING_MASK)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (321:31): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1326:11): [Folded, False: 16.9M]
  |  |  |  |  ------------------
  |  |  |  | 1327|  16.9M|			SET_ASSIGNMENT_PENDING(__x__, FALSE);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  322|      0|#define SET_ASSIGNMENT_PENDING(x, v) do {			\
  |  |  |  |  |  |  323|      0|	if (v) (((x)->sxpinfo.gp) |= ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (323:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  324|      0|	else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  325|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (325:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1328|  16.9M|		    else						\
  |  |  |  | 1329|  16.9M|			DECREMENT_REFCNT(__old__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  262|  16.9M|# define DECREMENT_REFCNT(x) do {					\
  |  |  |  |  |  |  263|  16.9M|	SEXP drc__x__ = (x);						\
  |  |  |  |  |  |  264|  16.9M|	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  16.9M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  16.9M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|  16.9M|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|  16.9M|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (264:6): [True: 16.9M, False: 0]
  |  |  |  |  |  |  |  Branch (264:30): [True: 2.11M, False: 14.7M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  265|  16.9M|	    SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1);			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|  2.11M|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|  2.11M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  266|  16.9M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (266:14): [Folded, False: 16.9M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1330|  16.9M|		}							\
  |  |  |  | 1331|  16.9M|		if (__new__) INCREMENT_REFCNT(__new__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  267|  16.9M|# define INCREMENT_REFCNT(x) do {			      \
  |  |  |  |  |  |  268|  16.9M|	SEXP irc__x__ = (x);				      \
  |  |  |  |  |  |  269|  16.9M|	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  16.9M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|  16.9M|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|  16.9M|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (269:6): [True: 14.7M, False: 2.11M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  270|  16.9M|	    SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1);	      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|  14.7M|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|  14.7M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  271|  16.9M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (271:14): [Folded, False: 16.9M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1331:7): [True: 16.9M, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1332|  16.9M|	    }								\
  |  |  |  | 1333|  17.2M|	}								\
  |  |  |  | 1334|  17.2M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1334:14): [Folded, False: 17.2M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4004|  17.2M|    CHECK_OLD_TO_NEW(x, v);
  ------------------
  |  | 1350|  17.2M|#define CHECK_OLD_TO_NEW(x,y) do { \
  |  | 1351|  17.2M|  if (NODE_IS_OLDER(CHK(x), CHK(y))) old_to_new(x,y);  } while (0)
  |  |  ------------------
  |  |  |  |  565|  17.2M|    (NODE_IS_MARKED(x) && (y) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|  34.4M|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|  17.2M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (268:27): [True: 73, False: 17.2M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (565:27): [True: 73, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  566|  17.2M|   (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|    146|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|     73|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|      3|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|      3|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (566:5): [True: 70, False: 3]
  |  |  |  |  |  Branch (566:28): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1351:65): [Folded, False: 17.2M]
  |  |  ------------------
  ------------------
 4005|  17.2M|    ATTRIB(x) = v;
  ------------------
  |  |  230|  17.2M|#define ATTRIB(x)	((x)->attrib)
  ------------------
 4006|  17.2M|}
SET_OBJECT:
 4007|  23.6M|void (SET_OBJECT)(SEXP x, int v) { SET_OBJECT(CHK(x), v); }
  ------------------
  |  |  237|  23.6M|#define SET_OBJECT(x,v)	(((x)->sxpinfo.obj)=(v))
  ------------------
SETLEVELS:
 4018|  30.2M|int (SETLEVELS)(SEXP x, int v) { return SETLEVELS(CHK(x), v); }
  ------------------
  |  |  241|  30.2M|#define SETLEVELS(x,v)	(((x)->sxpinfo.gp)=((unsigned short)v))
  ------------------
SHALLOW_DUPLICATE_ATTRIB:
 4024|  3.07k|void SHALLOW_DUPLICATE_ATTRIB(SEXP to, SEXP from) {
 4025|  3.07k|    SET_ATTRIB(CHK(to), shallow_duplicate(CHK(ATTRIB(CHK(from)))));
  ------------------
  |  | 1030|  3.07k|#define shallow_duplicate	Rf_shallow_duplicate
  ------------------
                  SET_ATTRIB(CHK(to), shallow_duplicate(CHK(ATTRIB(CHK(from)))));
  ------------------
  |  |  230|  3.07k|#define ATTRIB(x)	((x)->attrib)
  ------------------
 4026|  3.07k|    SET_OBJECT(CHK(to), OBJECT(from));
  ------------------
  |  |  237|  3.07k|#define SET_OBJECT(x,v)	(((x)->sxpinfo.obj)=(v))
  ------------------
 4027|  3.07k|    IS_S4_OBJECT(from) ?  SET_S4_OBJECT(to) : UNSET_S4_OBJECT(to);
  ------------------
  |  |  368|  3.07k|#define IS_S4_OBJECT(x) ((x)->sxpinfo.gp & S4_OBJECT_MASK)
  |  |  ------------------
  |  |  |  |  367|  3.07k|#define S4_OBJECT_MASK ((unsigned short)(1<<4))
  |  |  ------------------
  |  |  |  Branch (368:25): [True: 0, False: 3.07k]
  |  |  ------------------
  ------------------
                  IS_S4_OBJECT(from) ?  SET_S4_OBJECT(to) : UNSET_S4_OBJECT(to);
  ------------------
  |  |  369|      0|#define SET_S4_OBJECT(x) (((x)->sxpinfo.gp) |= S4_OBJECT_MASK)
  |  |  ------------------
  |  |  |  |  367|      0|#define S4_OBJECT_MASK ((unsigned short)(1<<4))
  |  |  ------------------
  ------------------
                  IS_S4_OBJECT(from) ?  SET_S4_OBJECT(to) : UNSET_S4_OBJECT(to);
  ------------------
  |  |  370|  3.07k|#define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
  |  |  ------------------
  |  |  |  |  367|  3.07k|#define S4_OBJECT_MASK ((unsigned short)(1<<4))
  |  |  ------------------
  ------------------
 4028|  3.07k|}
SET_TYPEOF:
 4079|  15.8M|{
 4080|       |    /* Ideally this should not exist as a function outsie of base, but
 4081|       |       it was shown in WRE and is used in a good number of packages.
 4082|       |       So try to make it a little safer by only allowing some type
 4083|       |       changes.
 4084|       |    */
 4085|  15.8M|    if (TYPEOF(CHK(x)) != v) {
  ------------------
  |  |  233|  15.8M|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
  |  Branch (4085:9): [True: 15.8M, False: 54]
  ------------------
 4086|  15.8M|	check_SET_TYPEOF(x, v);
 4087|  15.8M|	SET_TYPEOF(CHK(x), v);
  ------------------
  |  |  238|  15.8M|#define SET_TYPEOF(x,v)	(((x)->sxpinfo.type)=(v))
  ------------------
 4088|  15.8M|    }
 4089|  15.8M|}
ALTREP_SET_TYPEOF:
 4092|  4.17k|void (ALTREP_SET_TYPEOF)(SEXP x, int v) { SET_TYPEOF(CHK(x), v); }
  ------------------
  |  |  238|  4.17k|#define SET_TYPEOF(x,v)	(((x)->sxpinfo.type)=(v))
  ------------------
ENSURE_NAMEDMAX:
 4094|  64.6M|void (ENSURE_NAMEDMAX)(SEXP x) { ENSURE_NAMEDMAX(CHK(x)); }
  ------------------
  |  |  339|  64.6M|# define ENSURE_NAMEDMAX(v) do { } while (0)
  |  |  ------------------
  |  |  |  Branch (339:43): [Folded, False: 64.6M]
  |  |  ------------------
  ------------------
ENSURE_NAMED:
 4095|  93.0k|attribute_hidden void (ENSURE_NAMED)(SEXP x) { ENSURE_NAMED(CHK(x)); }
  ------------------
  |  |  340|  93.0k|# define ENSURE_NAMED(v) do { } while (0)
  |  |  ------------------
  |  |  |  Branch (340:40): [Folded, False: 93.0k]
  |  |  ------------------
  ------------------
SETTER_CLEAR_NAMED:
 4097|  4.20M|void (SETTER_CLEAR_NAMED)(SEXP x) { SETTER_CLEAR_NAMED(CHK(x)); }
  ------------------
  |  |  351|  4.20M|# define SETTER_CLEAR_NAMED(x) do { } while (0)
  |  |  ------------------
  |  |  |  Branch (351:46): [Folded, False: 4.20M]
  |  |  ------------------
  ------------------
RAISE_NAMED:
 4099|  3.18M|void (RAISE_NAMED)(SEXP x, int n) { RAISE_NAMED(CHK(x), n); }
  ------------------
  |  |  352|  3.18M|# define RAISE_NAMED(x, n) do { } while (0)
  |  |  ------------------
  |  |  |  Branch (352:42): [Folded, False: 3.18M]
  |  |  ------------------
  ------------------
IS_S4_OBJECT:
 4103|  25.4M|int (IS_S4_OBJECT)(SEXP x){ return IS_S4_OBJECT(CHK(x)); }
  ------------------
  |  |  368|  25.4M|#define IS_S4_OBJECT(x) ((x)->sxpinfo.gp & S4_OBJECT_MASK)
  |  |  ------------------
  |  |  |  |  367|  25.4M|#define S4_OBJECT_MASK ((unsigned short)(1<<4))
  |  |  ------------------
  ------------------
UNSET_S4_OBJECT:
 4107|  19.0M|void (UNSET_S4_OBJECT)(SEXP x){ UNSET_S4_OBJECT(CHK(x)); }
  ------------------
  |  |  370|  19.0M|#define UNSET_S4_OBJECT(x) (((x)->sxpinfo.gp) &= ~S4_OBJECT_MASK)
  |  |  ------------------
  |  |  |  |  367|  19.0M|#define S4_OBJECT_MASK ((unsigned short)(1<<4))
  |  |  ------------------
  ------------------
NOJIT:
 4110|  4.77k|attribute_hidden int (NOJIT)(SEXP x) { return NOJIT(CHK(x)); }
  ------------------
  |  |  374|  4.77k|#define NOJIT(x) ((x)->sxpinfo.gp & NOJIT_MASK)
  |  |  ------------------
  |  |  |  |  373|  4.77k|#define NOJIT_MASK ((unsigned short)(1<<5))
  |  |  ------------------
  ------------------
MAYBEJIT:
 4111|  4.77k|attribute_hidden int (MAYBEJIT)(SEXP x) { return MAYBEJIT(CHK(x)); }
  ------------------
  |  |  377|  4.77k|#define MAYBEJIT(x) ((x)->sxpinfo.gp & MAYBEJIT_MASK)
  |  |  ------------------
  |  |  |  |  376|  4.77k|#define MAYBEJIT_MASK ((unsigned short)(1<<6))
  |  |  ------------------
  ------------------
SET_MAYBEJIT:
 4113|     46|attribute_hidden void (SET_MAYBEJIT)(SEXP x) { SET_MAYBEJIT(CHK(x)); }
  ------------------
  |  |  378|     46|#define SET_MAYBEJIT(x) (((x)->sxpinfo.gp) |= MAYBEJIT_MASK)
  |  |  ------------------
  |  |  |  |  376|     46|#define MAYBEJIT_MASK ((unsigned short)(1<<6))
  |  |  ------------------
  ------------------
UNSET_MAYBEJIT:
 4114|     15|attribute_hidden void (UNSET_MAYBEJIT)(SEXP x) { UNSET_MAYBEJIT(CHK(x)); }
  ------------------
  |  |  379|     15|#define UNSET_MAYBEJIT(x) (((x)->sxpinfo.gp) &= ~MAYBEJIT_MASK)
  |  |  ------------------
  |  |  |  |  376|     15|#define MAYBEJIT_MASK ((unsigned short)(1<<6))
  |  |  ------------------
  ------------------
IS_GROWABLE:
 4118|     20|int (IS_GROWABLE)(SEXP x) { return IS_GROWABLE(CHK(x)); }
  ------------------
  |  |  384|     20|#define IS_GROWABLE(x) (GROWABLE_BIT_SET(x) && XLENGTH(x) < XTRUELENGTH(x))
  |  |  ------------------
  |  |  |  |  382|     40|#define GROWABLE_BIT_SET(x) ((x)->sxpinfo.gp & GROWABLE_MASK)
  |  |  |  |  ------------------
  |  |  |  |  |  |  937|     20|#define GROWABLE_MASK ((unsigned short)(1<<5))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (382:29): [True: 0, False: 20]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define IS_GROWABLE(x) (GROWABLE_BIT_SET(x) && XLENGTH(x) < XTRUELENGTH(x))
  |  |  ------------------
  |  |  |  |  407|      0|#define XLENGTH(x) XLENGTH_EX(x)
  |  |  ------------------
  |  |  |  Branch (384:48): [True: 0, False: 0]
  |  |  ------------------
  ------------------
GROWABLE_BIT_SET:
 4120|  7.37M|int (GROWABLE_BIT_SET)(SEXP x) { return GROWABLE_BIT_SET(CHK(x)); }
  ------------------
  |  |  382|  7.37M|#define GROWABLE_BIT_SET(x) ((x)->sxpinfo.gp & GROWABLE_MASK)
  |  |  ------------------
  |  |  |  |  937|  7.37M|#define GROWABLE_MASK ((unsigned short)(1<<5))
  |  |  ------------------
  ------------------
LENGTH:
 4140|  38.4M|int (LENGTH)(SEXP x) { return x == R_NilValue ? 0 : LENGTH(CHK2(x)); }
  ------------------
  |  |  403|  38.4M|#define LENGTH(x) LENGTH_EX(x, __FILE__, __LINE__)
  ------------------
  |  Branch (4140:31): [True: 0, False: 38.4M]
  ------------------
XLENGTH:
 4141|   176M|R_xlen_t (XLENGTH)(SEXP x) { return XLENGTH(CHK2(x)); }
  ------------------
  |  |  407|   176M|#define XLENGTH(x) XLENGTH_EX(x)
  ------------------
TRUELENGTH:
 4143|  25.3k|R_xlen_t (TRUELENGTH)(SEXP x) { return TRUELENGTH(CHK2(x)); }
  ------------------
  |  |  404|  25.3k|#define TRUELENGTH(x) XTRUELENGTH(x)
  ------------------
SET_TRUELENGTH:
 4157|  7.53M|void (SET_TRUELENGTH)(SEXP x, R_xlen_t v) { SET_TRUELENGTH(CHK2(x), v); }
  ------------------
  |  |  395|  7.53M|#define SET_TRUELENGTH(x,v) do {				\
  |  |  396|  7.53M|	SEXP sl__x__ = (x);					\
  |  |  397|  7.53M|	R_xlen_t sl__v__ = (v);					\
  |  |  398|  7.53M|	if (ALTREP(x)) error("can't set ALTREP truelength");	\
  |  |  ------------------
  |  |  |  |  242|  7.53M|#define ALTREP(x)       ((x)->sxpinfo.alt)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (242:25): [True: 0, False: 7.53M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               	if (ALTREP(x)) error("can't set ALTREP truelength");	\
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |  399|  7.53M|	SET_STDVEC_TRUELENGTH(sl__x__, sl__v__);	\
  |  |  ------------------
  |  |  |  |  394|  7.53M|#define SET_STDVEC_TRUELENGTH(x, v) (STDVEC_TRUELENGTH(x)=(v))
  |  |  |  |  ------------------
  |  |  |  |  |  |  393|  7.53M|#define STDVEC_TRUELENGTH(x) (((VECSEXP) (x))->vecsxp.truelength)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  400|  7.53M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (400:14): [Folded, False: 7.53M]
  |  |  ------------------
  ------------------
IS_LONG_VEC:
 4158|  2.58k|int  (IS_LONG_VEC)(SEXP x) { return IS_LONG_VEC(CHK2(x)); }
  ------------------
  |  |  388|  2.58k|# define IS_LONG_VEC(x) (XLENGTH(x) > R_SHORT_LEN_MAX)
  |  |  ------------------
  |  |  |  |  407|  2.58k|#define XLENGTH(x) XLENGTH_EX(x)
  |  |  ------------------
  |  |               # define IS_LONG_VEC(x) (XLENGTH(x) > R_SHORT_LEN_MAX)
  |  |  ------------------
  |  |  |  |   77|  2.58k|# define R_SHORT_LEN_MAX 2147483647
  |  |  ------------------
  ------------------
STDVEC_LENGTH:
 4161|   105M|R_xlen_t (STDVEC_LENGTH)(SEXP x) { return STDVEC_LENGTH(CHK2(x)); }
  ------------------
  |  |  392|   105M|#define STDVEC_LENGTH(x) (((VECSEXP) (x))->vecsxp.length)
  ------------------
STDVEC_TRUELENGTH:
 4163|  7.59M|R_xlen_t (STDVEC_TRUELENGTH)(SEXP x) { return STDVEC_TRUELENGTH(CHK2(x)); }
  ------------------
  |  |  393|  7.59M|#define STDVEC_TRUELENGTH(x) (((VECSEXP) (x))->vecsxp.truelength)
  ------------------
SETALTREP:
 4164|  4.17k|attribute_hidden void (SETALTREP)(SEXP x, int v) { SETALTREP(x, v); }
  ------------------
  |  |  243|  4.17k|#define SETALTREP(x, v) (((x)->sxpinfo.alt) = (v))
  ------------------
R_CHAR:
 4170|   105M|const char *(R_CHAR)(SEXP x) {
 4171|   105M|    if(TYPEOF(x) != CHARSXP) // Han-Tak proposes to prepend  'x && '
  ------------------
  |  |  233|   105M|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
                  if(TYPEOF(x) != CHARSXP) // Han-Tak proposes to prepend  'x && '
  ------------------
  |  |  120|   105M|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  ------------------
  |  Branch (4171:8): [True: 0, False: 105M]
  ------------------
 4172|      0|	error("%s() can only be applied to a '%s', not a '%s'",
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 4173|      0|	      "R_CHAR", "CHARSXP", R_typeToChar(x));
 4174|   105M|    return (const char *) CHAR(CHK(x));
  ------------------
  |  |  422|   105M|#define CHAR(x)		((const char *) STDVEC_DATAPTR(x))
  |  |  ------------------
  |  |  |  |  420|   105M|#define STDVEC_DATAPTR(x) ((void *) (((SEXPREC_ALIGN *) (x)) + 1))
  |  |  ------------------
  ------------------
 4175|   105M|}
STRING_ELT:
 4177|  67.9M|SEXP (STRING_ELT)(SEXP x, R_xlen_t i) {
 4178|  67.9M|    if(TYPEOF(x) != STRSXP)
  ------------------
  |  |  233|  67.9M|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
                  if(TYPEOF(x) != STRSXP)
  ------------------
  |  |  126|  67.9M|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (4178:8): [True: 0, False: 67.9M]
  ------------------
 4179|      0|	error("%s() can only be applied to a '%s', not a '%s'",
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 4180|      0|	      "STRING_ELT", "character vector", R_typeToChar(x));
 4181|  67.9M|    if (i < 0 || i >= XLENGTH(x))
  ------------------
  |  |  407|  67.9M|#define XLENGTH(x) XLENGTH_EX(x)
  ------------------
  |  Branch (4181:9): [True: 0, False: 67.9M]
  |  Branch (4181:18): [True: 0, False: 67.9M]
  ------------------
 4182|      0|	error(_("attempt access index %lld/%lld in STRING_ELT"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("attempt access index %lld/%lld in STRING_ELT"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4183|      0|	      (long long)i, (long long)XLENGTH(x));
  ------------------
  |  |  407|      0|#define XLENGTH(x) XLENGTH_EX(x)
  ------------------
 4184|  67.9M|    if (ALTREP(x))
  ------------------
  |  |  242|  67.9M|#define ALTREP(x)       ((x)->sxpinfo.alt)
  |  |  ------------------
  |  |  |  Branch (242:25): [True: 198k, False: 67.7M]
  |  |  ------------------
  ------------------
 4185|   198k|	return CHK(ALTSTRING_ELT(CHK(x), i));
 4186|  67.7M|    else {
 4187|  67.7M|	SEXP *ps = STDVEC_DATAPTR(CHK(x));
  ------------------
  |  |  420|  67.7M|#define STDVEC_DATAPTR(x) ((void *) (((SEXPREC_ALIGN *) (x)) + 1))
  ------------------
 4188|  67.7M|	return CHK(ps[i]);
 4189|  67.7M|    }
 4190|  67.9M|}
VECTOR_ELT:
 4192|  57.0M|SEXP (VECTOR_ELT)(SEXP x, R_xlen_t i) {
 4193|       |    /* We need to allow vector-like types here */
 4194|  57.0M|    if(TYPEOF(x) != VECSXP &&
  ------------------
  |  |  233|  57.0M|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
                  if(TYPEOF(x) != VECSXP &&
  ------------------
  |  |  131|   114M|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (4194:8): [True: 58, False: 57.0M]
  ------------------
 4195|     58|       TYPEOF(x) != EXPRSXP &&
  ------------------
  |  |  233|     58|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
                     TYPEOF(x) != EXPRSXP &&
  ------------------
  |  |  132|  57.0M|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (4195:8): [True: 0, False: 58]
  ------------------
 4196|      0|       TYPEOF(x) != WEAKREFSXP)
  ------------------
  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
                     TYPEOF(x) != WEAKREFSXP)
  ------------------
  |  |  135|      0|#define WEAKREFSXP  23    /* weak reference */
  ------------------
  |  Branch (4196:8): [True: 0, False: 0]
  ------------------
 4197|      0|	error("%s() can only be applied to a '%s', not a '%s'",
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 4198|      0|	      "VECTOR_ELT", "list", R_typeToChar(x));
 4199|  57.0M|    if (i < 0 || i >= XLENGTH(x))
  ------------------
  |  |  407|  57.0M|#define XLENGTH(x) XLENGTH_EX(x)
  ------------------
  |  Branch (4199:9): [True: 0, False: 57.0M]
  |  Branch (4199:18): [True: 0, False: 57.0M]
  ------------------
 4200|      0|	error(_("attempt access index %lld/%lld in VECTOR_ELT"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("attempt access index %lld/%lld in VECTOR_ELT"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4201|      0|	      (long long)i, (long long)XLENGTH(x));
  ------------------
  |  |  407|      0|#define XLENGTH(x) XLENGTH_EX(x)
  ------------------
 4202|  57.0M|    if (ALTREP(x)) {
  ------------------
  |  |  242|  57.0M|#define ALTREP(x)       ((x)->sxpinfo.alt)
  |  |  ------------------
  |  |  |  Branch (242:25): [True: 0, False: 57.0M]
  |  |  ------------------
  ------------------
 4203|      0|	SEXP ans = CHK(ALTLIST_ELT(CHK(x), i));
 4204|       |	/* the element is marked as not mutable since complex
 4205|       |	   assignment can't see reference counts on any intermediate
 4206|       |	   containers in an ALTREP */
 4207|      0|	MARK_NOT_MUTABLE(ans);
  ------------------
  |  |  283|      0|# define MARK_NOT_MUTABLE(x) SET_REFCNT(x, REFCNTMAX)
  |  |  ------------------
  |  |  |  |  256|      0|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  |  248|      0|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4208|      0|        return ans;
 4209|      0|    }
 4210|  57.0M|    else
 4211|  57.0M|        return CHK(VECTOR_ELT_0(CHK(x), i));
  ------------------
  |  |   80|  57.0M|#define VECTOR_ELT_0(x,i)        ((SEXP *) STDVEC_DATAPTR(x))[i]
  |  |  ------------------
  |  |  |  |  420|  57.0M|#define STDVEC_DATAPTR(x) ((void *) (((SEXPREC_ALIGN *) (x)) + 1))
  |  |  ------------------
  ------------------
 4212|  57.0M|}
STDVEC_DATAPTR:
 4231|   170M|{
 4232|   170M|    if (ALTREP(x))
  ------------------
  |  |  242|   170M|#define ALTREP(x)       ((x)->sxpinfo.alt)
  |  |  ------------------
  |  |  |  Branch (242:25): [True: 0, False: 170M]
  |  |  ------------------
  ------------------
 4233|      0|	error("cannot get STDVEC_DATAPTR from ALTREP object");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 4234|   170M|    if (! isVector(x) && TYPEOF(x) != WEAKREFSXP)
  ------------------
  |  |  974|   170M|#define isVector		Rf_isVector
  ------------------
                  if (! isVector(x) && TYPEOF(x) != WEAKREFSXP)
  ------------------
  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
                  if (! isVector(x) && TYPEOF(x) != WEAKREFSXP)
  ------------------
  |  |  135|      0|#define WEAKREFSXP  23    /* weak reference */
  ------------------
  |  Branch (4234:9): [True: 0, False: 170M]
  |  Branch (4234:26): [True: 0, False: 0]
  ------------------
 4235|      0|	error("STDVEC_DATAPTR can only be applied to a vector, not a '%s'",
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 4236|      0|	      R_typeToChar(x));
 4237|   170M|    CHKZLN(x);
  ------------------
  |  | 4221|   170M|# define CHKZLN(x) do {						\
  |  | 4222|   170M|	if (STDVEC_LENGTH(CHK(x)) == 0 && TYPEOF(x) != CHARSXP) \
  |  |  ------------------
  |  |  |  |  392|   170M|#define STDVEC_LENGTH(x) (((VECSEXP) (x))->vecsxp.length)
  |  |  ------------------
  |  |               	if (STDVEC_LENGTH(CHK(x)) == 0 && TYPEOF(x) != CHARSXP) \
  |  |  ------------------
  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |               	if (STDVEC_LENGTH(CHK(x)) == 0 && TYPEOF(x) != CHARSXP) \
  |  |  ------------------
  |  |  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  ------------------
  |  |  |  Branch (4222:6): [True: 0, False: 170M]
  |  |  |  Branch (4222:36): [True: 0, False: 0]
  |  |  ------------------
  |  | 4223|   170M|	    return (void *) 1;					\
  |  | 4224|   170M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4224:14): [Folded, False: 170M]
  |  |  ------------------
  ------------------
 4238|   170M|    return STDVEC_DATAPTR(x);
  ------------------
  |  |  420|   170M|#define STDVEC_DATAPTR(x) ((void *) (((SEXPREC_ALIGN *) (x)) + 1))
  ------------------
 4239|   170M|}
DATAPTR_RW:
 4242|  11.7k|void *DATAPTR_RW(SEXP x) { return DATAPTR(x); }
LOGICAL:
 4244|  12.2M|int *(LOGICAL)(SEXP x) {
 4245|  12.2M|    if(TYPEOF(x) != LGLSXP)
  ------------------
  |  |  233|  12.2M|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
                  if(TYPEOF(x) != LGLSXP)
  ------------------
  |  |  121|  12.2M|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (4245:8): [True: 0, False: 12.2M]
  ------------------
 4246|      0|	error("%s() can only be applied to a '%s', not a '%s'",
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 4247|      0|	      "LOGICAL",  "logical", R_typeToChar(x));
 4248|  12.2M|    CHKZLN(x);
  ------------------
  |  | 4221|  12.2M|# define CHKZLN(x) do {						\
  |  | 4222|  12.2M|	if (STDVEC_LENGTH(CHK(x)) == 0 && TYPEOF(x) != CHARSXP) \
  |  |  ------------------
  |  |  |  |  392|  12.2M|#define STDVEC_LENGTH(x) (((VECSEXP) (x))->vecsxp.length)
  |  |  ------------------
  |  |               	if (STDVEC_LENGTH(CHK(x)) == 0 && TYPEOF(x) != CHARSXP) \
  |  |  ------------------
  |  |  |  |  233|     22|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |               	if (STDVEC_LENGTH(CHK(x)) == 0 && TYPEOF(x) != CHARSXP) \
  |  |  ------------------
  |  |  |  |  120|     22|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  ------------------
  |  |  |  Branch (4222:6): [True: 22, False: 12.2M]
  |  |  |  Branch (4222:36): [True: 22, False: 0]
  |  |  ------------------
  |  | 4223|  12.2M|	    return (void *) 1;					\
  |  | 4224|  12.2M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4224:14): [Folded, False: 12.2M]
  |  |  ------------------
  ------------------
 4249|  12.2M|    return LOGICAL(x);
  ------------------
  |  |  423|  12.2M|#define LOGICAL(x)	((int *) DATAPTR(x))
  ------------------
 4250|  12.2M|}
LOGICAL_RO:
 4252|  10.9k|const int *(LOGICAL_RO)(SEXP x) {
 4253|  10.9k|    if(TYPEOF(x) != LGLSXP)
  ------------------
  |  |  233|  10.9k|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
                  if(TYPEOF(x) != LGLSXP)
  ------------------
  |  |  121|  10.9k|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (4253:8): [True: 0, False: 10.9k]
  ------------------
 4254|      0|	error("%s() can only be applied to a '%s', not a '%s'",
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 4255|      0|	      "LOGICAL_RO",  "logical", R_typeToChar(x));
 4256|  10.9k|    CHKZLN(x);
  ------------------
  |  | 4221|  10.9k|# define CHKZLN(x) do {						\
  |  | 4222|  10.9k|	if (STDVEC_LENGTH(CHK(x)) == 0 && TYPEOF(x) != CHARSXP) \
  |  |  ------------------
  |  |  |  |  392|  10.9k|#define STDVEC_LENGTH(x) (((VECSEXP) (x))->vecsxp.length)
  |  |  ------------------
  |  |               	if (STDVEC_LENGTH(CHK(x)) == 0 && TYPEOF(x) != CHARSXP) \
  |  |  ------------------
  |  |  |  |  233|     22|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |               	if (STDVEC_LENGTH(CHK(x)) == 0 && TYPEOF(x) != CHARSXP) \
  |  |  ------------------
  |  |  |  |  120|     22|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  ------------------
  |  |  |  Branch (4222:6): [True: 22, False: 10.8k]
  |  |  |  Branch (4222:36): [True: 22, False: 0]
  |  |  ------------------
  |  | 4223|  10.9k|	    return (void *) 1;					\
  |  | 4224|  10.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4224:14): [Folded, False: 10.8k]
  |  |  ------------------
  ------------------
 4257|  10.8k|    return LOGICAL_RO(x);
  ------------------
  |  |  429|  10.8k|#define LOGICAL_RO(x)	((const int *) DATAPTR_RO(x))
  ------------------
 4258|  10.9k|}
INTEGER:
 4261|  24.5M|int *(INTEGER)(SEXP x) {
 4262|  24.5M|    if(TYPEOF(x) != INTSXP && TYPEOF(x) != LGLSXP)
  ------------------
  |  |  233|  24.5M|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
                  if(TYPEOF(x) != INTSXP && TYPEOF(x) != LGLSXP)
  ------------------
  |  |  123|  49.1M|#define INTSXP	    13	  /* integer vectors */
  ------------------
                  if(TYPEOF(x) != INTSXP && TYPEOF(x) != LGLSXP)
  ------------------
  |  |  233|  14.7k|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
                  if(TYPEOF(x) != INTSXP && TYPEOF(x) != LGLSXP)
  ------------------
  |  |  121|  14.7k|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (4262:8): [True: 14.7k, False: 24.5M]
  |  Branch (4262:31): [True: 0, False: 14.7k]
  ------------------
 4263|      0|	error("%s() can only be applied to a '%s', not a '%s'",
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 4264|      0|	      "INTEGER", "integer", R_typeToChar(x));
 4265|  24.5M|    CHKZLN(x);
  ------------------
  |  | 4221|  24.5M|# define CHKZLN(x) do {						\
  |  | 4222|  24.5M|	if (STDVEC_LENGTH(CHK(x)) == 0 && TYPEOF(x) != CHARSXP) \
  |  |  ------------------
  |  |  |  |  392|  24.5M|#define STDVEC_LENGTH(x) (((VECSEXP) (x))->vecsxp.length)
  |  |  ------------------
  |  |               	if (STDVEC_LENGTH(CHK(x)) == 0 && TYPEOF(x) != CHARSXP) \
  |  |  ------------------
  |  |  |  |  233|    349|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |               	if (STDVEC_LENGTH(CHK(x)) == 0 && TYPEOF(x) != CHARSXP) \
  |  |  ------------------
  |  |  |  |  120|    349|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  ------------------
  |  |  |  Branch (4222:6): [True: 349, False: 24.5M]
  |  |  |  Branch (4222:36): [True: 349, False: 0]
  |  |  ------------------
  |  | 4223|  24.5M|	    return (void *) 1;					\
  |  | 4224|  24.5M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4224:14): [Folded, False: 24.5M]
  |  |  ------------------
  ------------------
 4266|  24.5M|    return INTEGER(x);
  ------------------
  |  |  424|  24.5M|#define INTEGER(x)	((int *) DATAPTR(x))
  ------------------
 4267|  24.5M|}
INTEGER_RO:
 4269|  1.14M|const int *(INTEGER_RO)(SEXP x) {
 4270|  1.14M|    if(TYPEOF(x) != INTSXP && TYPEOF(x) != LGLSXP)
  ------------------
  |  |  233|  1.14M|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
                  if(TYPEOF(x) != INTSXP && TYPEOF(x) != LGLSXP)
  ------------------
  |  |  123|  2.29M|#define INTSXP	    13	  /* integer vectors */
  ------------------
                  if(TYPEOF(x) != INTSXP && TYPEOF(x) != LGLSXP)
  ------------------
  |  |  233|  1.73k|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
                  if(TYPEOF(x) != INTSXP && TYPEOF(x) != LGLSXP)
  ------------------
  |  |  121|  1.73k|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (4270:8): [True: 1.73k, False: 1.14M]
  |  Branch (4270:31): [True: 0, False: 1.73k]
  ------------------
 4271|      0|	error("%s() can only be applied to a '%s', not a '%s'",
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 4272|      0|	      "INTEGER_RO", "integer", R_typeToChar(x));
 4273|  1.14M|    CHKZLN(x);
  ------------------
  |  | 4221|  1.14M|# define CHKZLN(x) do {						\
  |  | 4222|  1.14M|	if (STDVEC_LENGTH(CHK(x)) == 0 && TYPEOF(x) != CHARSXP) \
  |  |  ------------------
  |  |  |  |  392|  1.14M|#define STDVEC_LENGTH(x) (((VECSEXP) (x))->vecsxp.length)
  |  |  ------------------
  |  |               	if (STDVEC_LENGTH(CHK(x)) == 0 && TYPEOF(x) != CHARSXP) \
  |  |  ------------------
  |  |  |  |  233|  5.53k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |               	if (STDVEC_LENGTH(CHK(x)) == 0 && TYPEOF(x) != CHARSXP) \
  |  |  ------------------
  |  |  |  |  120|  5.53k|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  ------------------
  |  |  |  Branch (4222:6): [True: 5.53k, False: 1.14M]
  |  |  |  Branch (4222:36): [True: 5.53k, False: 0]
  |  |  ------------------
  |  | 4223|  1.14M|	    return (void *) 1;					\
  |  | 4224|  1.14M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4224:14): [Folded, False: 1.14M]
  |  |  ------------------
  ------------------
 4274|  1.14M|    return INTEGER_RO(x);
  ------------------
  |  |  430|  1.14M|#define INTEGER_RO(x)	((const int *) DATAPTR_RO(x))
  ------------------
 4275|  1.14M|}
RAW:
 4277|  6.38k|Rbyte *(RAW)(SEXP x) {
 4278|  6.38k|    if(TYPEOF(x) != RAWSXP)
  ------------------
  |  |  233|  6.38k|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
                  if(TYPEOF(x) != RAWSXP)
  ------------------
  |  |  136|  6.38k|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (4278:8): [True: 0, False: 6.38k]
  ------------------
 4279|      0|	error("%s() can only be applied to a '%s', not a '%s'",
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 4280|      0|	      "RAW", "raw", R_typeToChar(x));
 4281|  6.38k|    CHKZLN(x);
  ------------------
  |  | 4221|  6.38k|# define CHKZLN(x) do {						\
  |  | 4222|  6.38k|	if (STDVEC_LENGTH(CHK(x)) == 0 && TYPEOF(x) != CHARSXP) \
  |  |  ------------------
  |  |  |  |  392|  6.38k|#define STDVEC_LENGTH(x) (((VECSEXP) (x))->vecsxp.length)
  |  |  ------------------
  |  |               	if (STDVEC_LENGTH(CHK(x)) == 0 && TYPEOF(x) != CHARSXP) \
  |  |  ------------------
  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |               	if (STDVEC_LENGTH(CHK(x)) == 0 && TYPEOF(x) != CHARSXP) \
  |  |  ------------------
  |  |  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  ------------------
  |  |  |  Branch (4222:6): [True: 0, False: 6.38k]
  |  |  |  Branch (4222:36): [True: 0, False: 0]
  |  |  ------------------
  |  | 4223|  6.38k|	    return (void *) 1;					\
  |  | 4224|  6.38k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4224:14): [Folded, False: 6.38k]
  |  |  ------------------
  ------------------
 4282|  6.38k|    return RAW(x);
  ------------------
  |  |  425|  6.38k|#define RAW(x)		((Rbyte *) DATAPTR(x))
  ------------------
 4283|  6.38k|}
REAL:
 4293|  3.14M|double *(REAL)(SEXP x) {
 4294|  3.14M|    if(TYPEOF(x) != REALSXP)
  ------------------
  |  |  233|  3.14M|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
                  if(TYPEOF(x) != REALSXP)
  ------------------
  |  |  124|  3.14M|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (4294:8): [True: 0, False: 3.14M]
  ------------------
 4295|      0|	error("%s() can only be applied to a '%s', not a '%s'",
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 4296|      0|	      "REAL", "numeric", R_typeToChar(x));
 4297|  3.14M|    CHKZLN(x);
  ------------------
  |  | 4221|  3.14M|# define CHKZLN(x) do {						\
  |  | 4222|  3.14M|	if (STDVEC_LENGTH(CHK(x)) == 0 && TYPEOF(x) != CHARSXP) \
  |  |  ------------------
  |  |  |  |  392|  3.14M|#define STDVEC_LENGTH(x) (((VECSEXP) (x))->vecsxp.length)
  |  |  ------------------
  |  |               	if (STDVEC_LENGTH(CHK(x)) == 0 && TYPEOF(x) != CHARSXP) \
  |  |  ------------------
  |  |  |  |  233|    759|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |               	if (STDVEC_LENGTH(CHK(x)) == 0 && TYPEOF(x) != CHARSXP) \
  |  |  ------------------
  |  |  |  |  120|    759|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  ------------------
  |  |  |  Branch (4222:6): [True: 759, False: 3.14M]
  |  |  |  Branch (4222:36): [True: 759, False: 0]
  |  |  ------------------
  |  | 4223|  3.14M|	    return (void *) 1;					\
  |  | 4224|  3.14M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4224:14): [Folded, False: 3.14M]
  |  |  ------------------
  ------------------
 4298|  3.14M|    return REAL(x);
  ------------------
  |  |  427|  3.14M|#define REAL(x)		((double *) DATAPTR(x))
  ------------------
 4299|  3.14M|}
REAL_RO:
 4301|  67.6k|const double *(REAL_RO)(SEXP x) {
 4302|  67.6k|    if(TYPEOF(x) != REALSXP)
  ------------------
  |  |  233|  67.6k|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
                  if(TYPEOF(x) != REALSXP)
  ------------------
  |  |  124|  67.6k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (4302:8): [True: 0, False: 67.6k]
  ------------------
 4303|      0|	error("%s() can only be applied to a '%s', not a '%s'",
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 4304|      0|	      "REAL_RO", "numeric", R_typeToChar(x));
 4305|  67.6k|    CHKZLN(x);
  ------------------
  |  | 4221|  67.6k|# define CHKZLN(x) do {						\
  |  | 4222|  67.6k|	if (STDVEC_LENGTH(CHK(x)) == 0 && TYPEOF(x) != CHARSXP) \
  |  |  ------------------
  |  |  |  |  392|  67.6k|#define STDVEC_LENGTH(x) (((VECSEXP) (x))->vecsxp.length)
  |  |  ------------------
  |  |               	if (STDVEC_LENGTH(CHK(x)) == 0 && TYPEOF(x) != CHARSXP) \
  |  |  ------------------
  |  |  |  |  233|    411|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |               	if (STDVEC_LENGTH(CHK(x)) == 0 && TYPEOF(x) != CHARSXP) \
  |  |  ------------------
  |  |  |  |  120|    411|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  ------------------
  |  |  |  Branch (4222:6): [True: 411, False: 67.2k]
  |  |  |  Branch (4222:36): [True: 411, False: 0]
  |  |  ------------------
  |  | 4223|  67.6k|	    return (void *) 1;					\
  |  | 4224|  67.6k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4224:14): [Folded, False: 67.2k]
  |  |  ------------------
  ------------------
 4306|  67.2k|    return REAL_RO(x);
  ------------------
  |  |  433|  67.2k|#define REAL_RO(x)	((const double *) DATAPTR_RO(x))
  ------------------
 4307|  67.6k|}
COMPLEX:
 4309|      6|Rcomplex *(COMPLEX)(SEXP x) {
 4310|      6|    if(TYPEOF(x) != CPLXSXP)
  ------------------
  |  |  233|      6|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
                  if(TYPEOF(x) != CPLXSXP)
  ------------------
  |  |  125|      6|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (4310:8): [True: 0, False: 6]
  ------------------
 4311|      0|	error("%s() can only be applied to a '%s', not a '%s'",
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 4312|      0|	      "COMPLEX", "complex", R_typeToChar(x));
 4313|      6|    CHKZLN(x);
  ------------------
  |  | 4221|      6|# define CHKZLN(x) do {						\
  |  | 4222|      6|	if (STDVEC_LENGTH(CHK(x)) == 0 && TYPEOF(x) != CHARSXP) \
  |  |  ------------------
  |  |  |  |  392|      6|#define STDVEC_LENGTH(x) (((VECSEXP) (x))->vecsxp.length)
  |  |  ------------------
  |  |               	if (STDVEC_LENGTH(CHK(x)) == 0 && TYPEOF(x) != CHARSXP) \
  |  |  ------------------
  |  |  |  |  233|      2|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |               	if (STDVEC_LENGTH(CHK(x)) == 0 && TYPEOF(x) != CHARSXP) \
  |  |  ------------------
  |  |  |  |  120|      2|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  ------------------
  |  |  |  Branch (4222:6): [True: 2, False: 4]
  |  |  |  Branch (4222:36): [True: 2, False: 0]
  |  |  ------------------
  |  | 4223|      6|	    return (void *) 1;					\
  |  | 4224|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4224:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 4314|      4|    return COMPLEX(x);
  ------------------
  |  |  426|      4|#define COMPLEX(x)	((Rcomplex *) DATAPTR(x))
  ------------------
 4315|      6|}
STRING_PTR:
 4325|      6|SEXP *(STRING_PTR)(SEXP x) {
 4326|      6|    if(TYPEOF(x) != STRSXP)
  ------------------
  |  |  233|      6|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
                  if(TYPEOF(x) != STRSXP)
  ------------------
  |  |  126|      6|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (4326:8): [True: 0, False: 6]
  ------------------
 4327|      0|	error("%s() can only be applied to a '%s', not a '%s'",
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 4328|      0|	      "STRING_PTR", "character", R_typeToChar(x));
 4329|      6|    CHKZLN(x);
  ------------------
  |  | 4221|      6|# define CHKZLN(x) do {						\
  |  | 4222|      6|	if (STDVEC_LENGTH(CHK(x)) == 0 && TYPEOF(x) != CHARSXP) \
  |  |  ------------------
  |  |  |  |  392|      6|#define STDVEC_LENGTH(x) (((VECSEXP) (x))->vecsxp.length)
  |  |  ------------------
  |  |               	if (STDVEC_LENGTH(CHK(x)) == 0 && TYPEOF(x) != CHARSXP) \
  |  |  ------------------
  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |               	if (STDVEC_LENGTH(CHK(x)) == 0 && TYPEOF(x) != CHARSXP) \
  |  |  ------------------
  |  |  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  ------------------
  |  |  |  Branch (4222:6): [True: 0, False: 6]
  |  |  |  Branch (4222:36): [True: 0, False: 0]
  |  |  ------------------
  |  | 4223|      6|	    return (void *) 1;					\
  |  | 4224|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4224:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 4330|      6|    return STRING_PTR(x);
  ------------------
  |  |  428|      6|#define STRING_PTR(x)	((SEXP *) DATAPTR(x))
  ------------------
 4331|      6|}
STRING_PTR_RO:
 4333|    406|const SEXP *(STRING_PTR_RO)(SEXP x) {
 4334|    406|    if(TYPEOF(x) != STRSXP)
  ------------------
  |  |  233|    406|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
                  if(TYPEOF(x) != STRSXP)
  ------------------
  |  |  126|    406|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (4334:8): [True: 0, False: 406]
  ------------------
 4335|      0|	error("%s() can only be applied to a '%s', not a '%s'",
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 4336|      0|	      __func__, "character", R_typeToChar(x));
 4337|    406|    CHKZLN(x);
  ------------------
  |  | 4221|    406|# define CHKZLN(x) do {						\
  |  | 4222|    406|	if (STDVEC_LENGTH(CHK(x)) == 0 && TYPEOF(x) != CHARSXP) \
  |  |  ------------------
  |  |  |  |  392|    406|#define STDVEC_LENGTH(x) (((VECSEXP) (x))->vecsxp.length)
  |  |  ------------------
  |  |               	if (STDVEC_LENGTH(CHK(x)) == 0 && TYPEOF(x) != CHARSXP) \
  |  |  ------------------
  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |               	if (STDVEC_LENGTH(CHK(x)) == 0 && TYPEOF(x) != CHARSXP) \
  |  |  ------------------
  |  |  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  ------------------
  |  |  |  Branch (4222:6): [True: 0, False: 406]
  |  |  |  Branch (4222:36): [True: 0, False: 0]
  |  |  ------------------
  |  | 4223|    406|	    return (void *) 1;					\
  |  | 4224|    406|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4224:14): [Folded, False: 406]
  |  |  ------------------
  ------------------
 4338|    406|    return STRING_PTR_RO(x);
  ------------------
  |  |  434|    406|#define STRING_PTR_RO(x)((const SEXP *) DATAPTR_RO(x))
  ------------------
 4339|    406|}
SET_STRING_ELT:
 4349|  37.1M|void (SET_STRING_ELT)(SEXP x, R_xlen_t i, SEXP v) {
 4350|  37.1M|    if(TYPEOF(CHK(x)) != STRSXP)
  ------------------
  |  |  233|  37.1M|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
                  if(TYPEOF(CHK(x)) != STRSXP)
  ------------------
  |  |  126|  37.1M|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (4350:8): [True: 0, False: 37.1M]
  ------------------
 4351|      0|	error("%s() can only be applied to a '%s', not a '%s'",
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 4352|      0|	      "SET_STRING_ELT", "character vector", R_typeToChar(x));
 4353|  37.1M|    if(TYPEOF(CHK(v)) != CHARSXP)
  ------------------
  |  |  233|  37.1M|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
                  if(TYPEOF(CHK(v)) != CHARSXP)
  ------------------
  |  |  120|  37.1M|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  ------------------
  |  Branch (4353:8): [True: 0, False: 37.1M]
  ------------------
 4354|      0|       error("Value of SET_STRING_ELT() must be a 'CHARSXP' not a '%s'",
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 4355|      0|	     R_typeToChar(v));
 4356|  37.1M|    if (i < 0 || i >= XLENGTH(x))
  ------------------
  |  |  407|  37.1M|#define XLENGTH(x) XLENGTH_EX(x)
  ------------------
  |  Branch (4356:9): [True: 0, False: 37.1M]
  |  Branch (4356:18): [True: 0, False: 37.1M]
  ------------------
 4357|      0|	error(_("attempt to set index %lld/%lld in SET_STRING_ELT"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("attempt to set index %lld/%lld in SET_STRING_ELT"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4358|      0|	      (long long)i, (long long)XLENGTH(x));
  ------------------
  |  |  407|      0|#define XLENGTH(x) XLENGTH_EX(x)
  ------------------
 4359|  37.1M|    CHECK_OLD_TO_NEW(x, v);
  ------------------
  |  | 1350|  37.1M|#define CHECK_OLD_TO_NEW(x,y) do { \
  |  | 1351|  37.1M|  if (NODE_IS_OLDER(CHK(x), CHK(y))) old_to_new(x,y);  } while (0)
  |  |  ------------------
  |  |  |  |  565|  37.1M|    (NODE_IS_MARKED(x) && (y) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|  74.2M|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|  37.1M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (268:27): [True: 3.93k, False: 37.1M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (565:27): [True: 3.93k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  566|  37.1M|   (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|  7.87k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|  3.93k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|     41|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|     41|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (566:5): [True: 3.89k, False: 41]
  |  |  |  |  |  Branch (566:28): [True: 0, False: 41]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1351:65): [Folded, False: 37.1M]
  |  |  ------------------
  ------------------
 4360|  37.1M|    if (ALTREP(x))
  ------------------
  |  |  242|  37.1M|#define ALTREP(x)       ((x)->sxpinfo.alt)
  |  |  ------------------
  |  |  |  Branch (242:25): [True: 1.30k, False: 37.1M]
  |  |  ------------------
  ------------------
 4361|  1.30k|	ALTSTRING_SET_ELT(x, i, v);
 4362|  37.1M|    else {
 4363|  37.1M|	SEXP *ps = STDVEC_DATAPTR(x);
  ------------------
  |  |  420|  37.1M|#define STDVEC_DATAPTR(x) ((void *) (((SEXPREC_ALIGN *) (x)) + 1))
  ------------------
 4364|  37.1M|	FIX_REFCNT(x, ps[i], v);
  ------------------
  |  | 1335|  37.1M|#define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
  |  |  ------------------
  |  |  |  | 1319|  37.1M|#define FIX_REFCNT_EX(x, old, new, chkpnd) do {				\
  |  |  |  | 1320|  37.1M|	SEXP __x__ = (x);						\
  |  |  |  | 1321|  37.1M|	if (TRACKREFS(__x__)) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  |  249|  37.1M|# define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|  37.1M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               # define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  114|  37.1M|#define CLOSXP	     3	  /* closures */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (249:23): [True: 37.1M, False: 0]
  |  |  |  |  |  |  |  Branch (249:24): [True: 0, False: 37.1M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1322|  37.1M|	    SEXP __old__ = (old);					\
  |  |  |  | 1323|  37.1M|	    SEXP __new__ = (new);					\
  |  |  |  | 1324|  37.1M|	    if (__old__ != __new__) {					\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1324:10): [True: 36.8M, False: 300k]
  |  |  |  |  ------------------
  |  |  |  | 1325|  36.8M|		if (__old__) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1325:7): [True: 36.6M, False: 198k]
  |  |  |  |  ------------------
  |  |  |  | 1326|  36.6M|		    if ((chkpnd) && ASSIGNMENT_PENDING(__x__))		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  321|      0|#define ASSIGNMENT_PENDING(x) ((x)->sxpinfo.gp & ASSIGNMENT_PENDING_MASK)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (321:31): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1326:11): [Folded, False: 36.6M]
  |  |  |  |  ------------------
  |  |  |  | 1327|  36.6M|			SET_ASSIGNMENT_PENDING(__x__, FALSE);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  322|      0|#define SET_ASSIGNMENT_PENDING(x, v) do {			\
  |  |  |  |  |  |  323|      0|	if (v) (((x)->sxpinfo.gp) |= ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (323:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  324|      0|	else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  325|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (325:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1328|  36.6M|		    else						\
  |  |  |  | 1329|  36.6M|			DECREMENT_REFCNT(__old__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  262|  36.6M|# define DECREMENT_REFCNT(x) do {					\
  |  |  |  |  |  |  263|  36.6M|	SEXP drc__x__ = (x);						\
  |  |  |  |  |  |  264|  36.6M|	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  36.6M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  5.80k|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|  5.80k|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|  5.80k|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (264:6): [True: 5.80k, False: 36.5M]
  |  |  |  |  |  |  |  Branch (264:30): [True: 5.80k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  265|  36.6M|	    SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1);			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|  5.80k|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|  5.80k|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  266|  36.6M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (266:14): [Folded, False: 36.6M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1330|  36.6M|		}							\
  |  |  |  | 1331|  36.8M|		if (__new__) INCREMENT_REFCNT(__new__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  267|  36.8M|# define INCREMENT_REFCNT(x) do {			      \
  |  |  |  |  |  |  268|  36.8M|	SEXP irc__x__ = (x);				      \
  |  |  |  |  |  |  269|  36.8M|	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  36.8M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|  36.8M|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|  36.8M|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (269:6): [True: 3.73M, False: 33.0M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  270|  36.8M|	    SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1);	      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|  3.73M|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|  3.73M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  271|  36.8M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (271:14): [Folded, False: 36.8M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1331:7): [True: 36.8M, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1332|  36.8M|	    }								\
  |  |  |  | 1333|  37.1M|	}								\
  |  |  |  | 1334|  37.1M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1334:14): [Folded, False: 37.1M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4365|  37.1M|	ps[i] = v;
 4366|  37.1M|    }
 4367|  37.1M|}
SET_VECTOR_ELT:
 4369|  37.2M|SEXP (SET_VECTOR_ELT)(SEXP x, R_xlen_t i, SEXP v) {
 4370|       |    /*  we need to allow vector-like types here */
 4371|  37.2M|    if(TYPEOF(x) != VECSXP &&
  ------------------
  |  |  233|  37.2M|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
                  if(TYPEOF(x) != VECSXP &&
  ------------------
  |  |  131|  74.5M|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (4371:8): [True: 10.0k, False: 37.2M]
  ------------------
 4372|  10.0k|       TYPEOF(x) != EXPRSXP &&
  ------------------
  |  |  233|  10.0k|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
                     TYPEOF(x) != EXPRSXP &&
  ------------------
  |  |  132|  37.3M|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (4372:8): [True: 9.96k, False: 58]
  ------------------
 4373|  9.96k|       TYPEOF(x) != WEAKREFSXP) {
  ------------------
  |  |  233|  9.96k|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
                     TYPEOF(x) != WEAKREFSXP) {
  ------------------
  |  |  135|  9.96k|#define WEAKREFSXP  23    /* weak reference */
  ------------------
  |  Branch (4373:8): [True: 0, False: 9.96k]
  ------------------
 4374|      0|	error("%s() can only be applied to a '%s', not a '%s'",
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 4375|      0|	      "SET_VECTOR_ELT", "list", R_typeToChar(x));
 4376|      0|    }
 4377|  37.2M|    if (i < 0 || i >= XLENGTH(x))
  ------------------
  |  |  407|  37.2M|#define XLENGTH(x) XLENGTH_EX(x)
  ------------------
  |  Branch (4377:9): [True: 0, False: 37.2M]
  |  Branch (4377:18): [True: 0, False: 37.2M]
  ------------------
 4378|      0|	error(_("attempt to set index %lld/%lld in SET_VECTOR_ELT"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("attempt to set index %lld/%lld in SET_VECTOR_ELT"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4379|      0|	      (long long)i, (long long)XLENGTH(x));
  ------------------
  |  |  407|      0|#define XLENGTH(x) XLENGTH_EX(x)
  ------------------
 4380|  37.2M|    if (ALTREP(x))
  ------------------
  |  |  242|  37.2M|#define ALTREP(x)       ((x)->sxpinfo.alt)
  |  |  ------------------
  |  |  |  Branch (242:25): [True: 0, False: 37.2M]
  |  |  ------------------
  ------------------
 4381|      0|        ALTLIST_SET_ELT(x, i, v);
 4382|  37.2M|    else {
 4383|  37.2M|        FIX_REFCNT(x, VECTOR_ELT_0(x, i), v);
  ------------------
  |  | 1335|  37.2M|#define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
  |  |  ------------------
  |  |  |  | 1319|  37.2M|#define FIX_REFCNT_EX(x, old, new, chkpnd) do {				\
  |  |  |  | 1320|  37.2M|	SEXP __x__ = (x);						\
  |  |  |  | 1321|  37.2M|	if (TRACKREFS(__x__)) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  |  249|  37.2M|# define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|  37.2M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               # define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  114|  37.2M|#define CLOSXP	     3	  /* closures */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (249:23): [True: 37.2M, False: 0]
  |  |  |  |  |  |  |  Branch (249:24): [True: 0, False: 37.2M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1322|  37.2M|	    SEXP __old__ = (old);					\
  |  |  |  | 1323|  37.2M|	    SEXP __new__ = (new);					\
  |  |  |  | 1324|  37.2M|	    if (__old__ != __new__) {					\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1324:10): [True: 29.9M, False: 7.38M]
  |  |  |  |  ------------------
  |  |  |  | 1325|  29.9M|		if (__old__) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1325:7): [True: 29.9M, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1326|  29.9M|		    if ((chkpnd) && ASSIGNMENT_PENDING(__x__))		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  321|      0|#define ASSIGNMENT_PENDING(x) ((x)->sxpinfo.gp & ASSIGNMENT_PENDING_MASK)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (321:31): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1326:11): [Folded, False: 29.9M]
  |  |  |  |  ------------------
  |  |  |  | 1327|  29.9M|			SET_ASSIGNMENT_PENDING(__x__, FALSE);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  322|      0|#define SET_ASSIGNMENT_PENDING(x, v) do {			\
  |  |  |  |  |  |  323|      0|	if (v) (((x)->sxpinfo.gp) |= ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (323:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  324|      0|	else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  325|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (325:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1328|  29.9M|		    else						\
  |  |  |  | 1329|  29.9M|			DECREMENT_REFCNT(__old__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  262|  29.9M|# define DECREMENT_REFCNT(x) do {					\
  |  |  |  |  |  |  263|  29.9M|	SEXP drc__x__ = (x);						\
  |  |  |  |  |  |  264|  29.9M|	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  29.9M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  29.9M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|  29.9M|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|  29.9M|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (264:6): [True: 29.9M, False: 1.12k]
  |  |  |  |  |  |  |  Branch (264:30): [True: 82.0k, False: 29.8M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  265|  29.9M|	    SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1);			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|  82.0k|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|  82.0k|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  266|  29.9M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (266:14): [Folded, False: 29.9M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1330|  29.9M|		}							\
  |  |  |  | 1331|  29.9M|		if (__new__) INCREMENT_REFCNT(__new__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  267|  29.9M|# define INCREMENT_REFCNT(x) do {			      \
  |  |  |  |  |  |  268|  29.9M|	SEXP irc__x__ = (x);				      \
  |  |  |  |  |  |  269|  29.9M|	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  29.9M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|  29.9M|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|  29.9M|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (269:6): [True: 14.4M, False: 15.4M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  270|  29.9M|	    SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1);	      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|  14.4M|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|  14.4M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  271|  29.9M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (271:14): [Folded, False: 29.9M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1331:7): [True: 29.9M, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1332|  29.9M|	    }								\
  |  |  |  | 1333|  37.2M|	}								\
  |  |  |  | 1334|  37.2M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1334:14): [Folded, False: 37.2M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4384|  37.2M|        CHECK_OLD_TO_NEW(x, v);
  ------------------
  |  | 1350|  37.2M|#define CHECK_OLD_TO_NEW(x,y) do { \
  |  | 1351|  37.2M|  if (NODE_IS_OLDER(CHK(x), CHK(y))) old_to_new(x,y);  } while (0)
  |  |  ------------------
  |  |  |  |  565|  37.2M|    (NODE_IS_MARKED(x) && (y) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|  74.5M|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|  37.2M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (268:27): [True: 65.7k, False: 37.2M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (565:27): [True: 65.7k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  566|  37.2M|   (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|   131k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|  65.7k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|  2.81k|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|  2.81k|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (566:5): [True: 62.9k, False: 2.81k]
  |  |  |  |  |  Branch (566:28): [True: 17, False: 2.79k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1351:65): [Folded, False: 37.2M]
  |  |  ------------------
  ------------------
 4385|  37.2M|        SET_VECTOR_ELT_0(x, i, v);
  ------------------
  |  |   81|  37.2M|#define SET_VECTOR_ELT_0(x,i, v) (((SEXP *) STDVEC_DATAPTR(x))[i] = (v))
  |  |  ------------------
  |  |  |  |  420|  37.2M|#define STDVEC_DATAPTR(x) ((void *) (((SEXPREC_ALIGN *) (x)) + 1))
  |  |  ------------------
  ------------------
 4386|  37.2M|    }
 4387|  37.2M|    return v;
 4388|  37.2M|}
BNDCELL_TAG:
 4417|   963M|int (BNDCELL_TAG)(SEXP cell) { return BNDCELL_TAG(cell); }
  ------------------
  |  |  463|   963M|#define BNDCELL_TAG(e)	((e)->sxpinfo.extra)
  ------------------
BNDCELL_DVAL:
 4421|    644|double (BNDCELL_DVAL)(SEXP cell) { return BNDCELL_DVAL(cell); }
  ------------------
  |  |  496|    644|#define BNDCELL_DVAL(v) ((R_bndval_t *) &CAR0(v))->dval
  |  |  ------------------
  |  |  |  |  441|    644|#define CAR0(e)		((e)->u.listsxp.carval)
  |  |  ------------------
  ------------------
BNDCELL_IVAL:
 4423|  5.25M|int (BNDCELL_IVAL)(SEXP cell) { return BNDCELL_IVAL(cell); }
  ------------------
  |  |  497|  5.25M|#define BNDCELL_IVAL(v) ((R_bndval_t *) &CAR0(v))->ival
  |  |  ------------------
  |  |  |  |  441|  5.25M|#define CAR0(e)		((e)->u.listsxp.carval)
  |  |  ------------------
  ------------------
BNDCELL_LVAL:
 4425|    110|int (BNDCELL_LVAL)(SEXP cell) { return BNDCELL_LVAL(cell); }
  ------------------
  |  |  498|    110|#define BNDCELL_LVAL(v) ((R_bndval_t *) &CAR0(v))->ival
  |  |  ------------------
  |  |  |  |  441|    110|#define CAR0(e)		((e)->u.listsxp.carval)
  |  |  ------------------
  ------------------
SET_BNDCELL_DVAL:
 4427|    630|void (SET_BNDCELL_DVAL)(SEXP cell, double v) { SET_BNDCELL_DVAL(cell, v); }
  ------------------
  |  |  500|    630|#define SET_BNDCELL_DVAL(cell, dval) (BNDCELL_DVAL(cell) = (dval))
  |  |  ------------------
  |  |  |  |  496|    630|#define BNDCELL_DVAL(v) ((R_bndval_t *) &CAR0(v))->dval
  |  |  |  |  ------------------
  |  |  |  |  |  |  441|    630|#define CAR0(e)		((e)->u.listsxp.carval)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
SET_BNDCELL_IVAL:
 4429|  1.06M|void (SET_BNDCELL_IVAL)(SEXP cell, int v) { SET_BNDCELL_IVAL(cell, v); }
  ------------------
  |  |  501|  1.06M|#define SET_BNDCELL_IVAL(cell, ival) (BNDCELL_IVAL(cell) = (ival))
  |  |  ------------------
  |  |  |  |  497|  1.06M|#define BNDCELL_IVAL(v) ((R_bndval_t *) &CAR0(v))->ival
  |  |  |  |  ------------------
  |  |  |  |  |  |  441|  1.06M|#define CAR0(e)		((e)->u.listsxp.carval)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
SET_BNDCELL_LVAL:
 4431|    150|void (SET_BNDCELL_LVAL)(SEXP cell, int v) { SET_BNDCELL_LVAL(cell, v); }
  ------------------
  |  |  502|    150|#define SET_BNDCELL_LVAL(cell, lval) (BNDCELL_LVAL(cell) = (lval))
  |  |  ------------------
  |  |  |  |  498|    150|#define BNDCELL_LVAL(v) ((R_bndval_t *) &CAR0(v))->ival
  |  |  |  |  ------------------
  |  |  |  |  |  |  441|    150|#define CAR0(e)		((e)->u.listsxp.carval)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
INIT_BNDCELL:
 4433|  1.05M|void (INIT_BNDCELL)(SEXP cell, int type) { INIT_BNDCELL(cell, type); }
  ------------------
  |  |  504|  1.05M|#define INIT_BNDCELL(cell, type) do {		\
  |  |  505|  1.05M|	if (BNDCELL_TAG(cell) == 0)		\
  |  |  ------------------
  |  |  |  |  463|  1.05M|#define BNDCELL_TAG(e)	((e)->sxpinfo.extra)
  |  |  ------------------
  |  |  |  Branch (505:6): [True: 1.05M, False: 0]
  |  |  ------------------
  |  |  506|  1.05M|	    SETCAR(cell, R_NilValue);		\
  |  |  507|  1.05M|	SET_BNDCELL_TAG(cell, type);		\
  |  |  ------------------
  |  |  |  |  464|  1.05M|#define SET_BNDCELL_TAG(e, v) ((e)->sxpinfo.extra = (v))
  |  |  ------------------
  |  |  508|  1.05M|	SET_MISSING(cell, 0);			\
  |  |  ------------------
  |  |  |  |  457|  1.05M|#define SET_MISSING(x,v) do { \
  |  |  |  |  458|  1.05M|  SEXP __x__ = (x); \
  |  |  |  |  459|  1.05M|  int __v__ = (v); \
  |  |  |  |  460|  1.05M|  int __other_flags__ = __x__->sxpinfo.gp & ~MISSING_MASK; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  455|  1.05M|#define MISSING_MASK	15 /* reserve 4 bits--only 2 uses now */
  |  |  |  |  ------------------
  |  |  |  |  461|  1.05M|  __x__->sxpinfo.gp = __other_flags__ | __v__; \
  |  |  |  |  462|  1.05M|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (462:10): [Folded, False: 1.05M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  509|  1.05M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (509:14): [Folded, False: 1.05M]
  |  |  ------------------
  ------------------
PROMISE_TAG:
 4435|  19.3M|int (PROMISE_TAG)(SEXP cell) { return PROMISE_TAG(cell); }
  ------------------
  |  | 1274|  19.3M|# define PROMISE_TAG(x)  BNDCELL_TAG(x)
  |  |  ------------------
  |  |  |  |  463|  19.3M|#define BNDCELL_TAG(e)	((e)->sxpinfo.extra)
  |  |  ------------------
  ------------------
SET_PROMISE_TAG:
 4437|  8.55M|void (SET_PROMISE_TAG)(SEXP cell, int val) { SET_PROMISE_TAG(cell, val); }
  ------------------
  |  | 1275|  8.55M|# define SET_PROMISE_TAG(x, v) SET_BNDCELL_TAG(x, v)
  |  |  ------------------
  |  |  |  |  464|  8.55M|#define SET_BNDCELL_TAG(e, v) ((e)->sxpinfo.extra = (v))
  |  |  ------------------
  ------------------
SET_BNDCELL:
 4448|  3.20M|{
 4449|  3.20M|    CLEAR_BNDCELL_TAG(cell);
  ------------------
  |  | 4439|  3.20M|#define CLEAR_BNDCELL_TAG(cell) do {		\
  |  | 4440|  3.20M|	if (BNDCELL_TAG(cell)) {		\
  |  |  ------------------
  |  |  |  |  463|  3.20M|#define BNDCELL_TAG(e)	((e)->sxpinfo.extra)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (463:24): [True: 1.66k, False: 3.19M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4441|  1.66k|	    CAR0(cell) = R_NilValue;		\
  |  |  ------------------
  |  |  |  |  441|  1.66k|#define CAR0(e)		((e)->u.listsxp.carval)
  |  |  ------------------
  |  | 4442|  1.66k|	    SET_BNDCELL_TAG(cell, 0);		\
  |  |  ------------------
  |  |  |  |  464|  1.66k|#define SET_BNDCELL_TAG(e, v) ((e)->sxpinfo.extra = (v))
  |  |  ------------------
  |  | 4443|  1.66k|	}					\
  |  | 4444|  3.20M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4444:14): [Folded, False: 3.20M]
  |  |  ------------------
  ------------------
 4450|  3.20M|    SETCAR(cell, val);
 4451|  3.20M|}
R_expand_binding_value:
 4454|  1.64k|{
 4455|       |#if BOXED_BINDING_CELLS
 4456|       |    SET_BNDCELL_TAG(b, 0);
 4457|       |#else
 4458|  1.64k|    int enabled = R_GCEnabled;
 4459|  1.64k|    R_GCEnabled = FALSE;
 4460|  1.64k|    int typetag = BNDCELL_TAG(b);
  ------------------
  |  |  463|  1.64k|#define BNDCELL_TAG(e)	((e)->sxpinfo.extra)
  ------------------
 4461|  1.64k|    if (typetag) {
  ------------------
  |  Branch (4461:9): [True: 1.64k, False: 0]
  ------------------
 4462|  1.64k|	union {
 4463|  1.64k|	    SEXP sxpval;
 4464|  1.64k|	    double dval;
 4465|  1.64k|	    int ival;
 4466|  1.64k|	} vv;
 4467|  1.64k|	SEXP val;
 4468|  1.64k|	vv.sxpval = CAR0(b);
  ------------------
  |  |  441|  1.64k|#define CAR0(e)		((e)->u.listsxp.carval)
  ------------------
 4469|  1.64k|	switch (typetag) {
  ------------------
  |  Branch (4469:10): [True: 1.64k, False: 0]
  ------------------
 4470|      0|	case REALSXP:
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (4470:2): [True: 0, False: 1.64k]
  ------------------
 4471|      0|	    PROTECT(b);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4472|      0|	    val = ScalarReal(vv.dval);
  ------------------
  |  | 1024|      0|#define ScalarReal		Rf_ScalarReal
  ------------------
 4473|      0|	    SET_BNDCELL(b, val);
 4474|      0|	    INCREMENT_NAMED(val);
  ------------------
  |  |  222|      0|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  ------------------
  |  |  |  Branch (222:43): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4475|      0|	    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4476|      0|	    break;
 4477|  1.64k|	case INTSXP:
  ------------------
  |  |  123|  1.64k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (4477:2): [True: 1.64k, False: 2]
  ------------------
 4478|  1.64k|	    PROTECT(b);
  ------------------
  |  |  357|  1.64k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4479|  1.64k|	    val = ScalarInteger(vv.ival);
  ------------------
  |  | 1022|  1.64k|#define ScalarInteger		Rf_ScalarInteger
  ------------------
 4480|  1.64k|	    SET_BNDCELL(b, val);
 4481|  1.64k|	    INCREMENT_NAMED(val);
  ------------------
  |  |  222|  1.64k|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  ------------------
  |  |  |  Branch (222:43): [Folded, False: 1.64k]
  |  |  ------------------
  ------------------
 4482|  1.64k|	    UNPROTECT(1);
  ------------------
  |  |  358|  1.64k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4483|  1.64k|	    break;
 4484|      2|	case LGLSXP:
  ------------------
  |  |  121|      2|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (4484:2): [True: 2, False: 1.64k]
  ------------------
 4485|      2|	    PROTECT(b);
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
 4486|      2|	    val = ScalarLogical(vv.ival);
  ------------------
  |  | 1023|      2|#define ScalarLogical		Rf_ScalarLogical
  ------------------
 4487|      2|	    SET_BNDCELL(b, val);
 4488|      2|	    INCREMENT_NAMED(val);
  ------------------
  |  |  222|      2|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  ------------------
  |  |  |  Branch (222:43): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4489|      2|	    UNPROTECT(1);
  ------------------
  |  |  358|      2|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 4490|      2|	    break;
 4491|  1.64k|	}
 4492|  1.64k|    }
 4493|  1.64k|    R_GCEnabled = enabled;
 4494|  1.64k|#endif
 4495|  1.64k|}
R_args_enable_refcnt:
 4507|  2.12M|{
 4508|  2.12M|#ifdef SWITCH_TO_REFCNT
 4509|       |    /* args is escaping into user C code and might get captured, so
 4510|       |       make sure it is reference counting. Should be able to get rid
 4511|       |       of this function if we reduce use of CONS_NR. */
 4512|  6.37M|    for (SEXP a = args; a != R_NilValue; a = CDR(a))
  ------------------
  |  |  445|  4.24M|#define CDR(e)		((e)->u.listsxp.cdrval)
  ------------------
  |  Branch (4512:25): [True: 4.24M, False: 2.12M]
  ------------------
 4513|  4.24M|	if (! TRACKREFS(a)) {
  ------------------
  |  |  249|  4.24M|# define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  ------------------
  |  |  |  |  233|  4.24M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |               # define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  ------------------
  |  |  |  |  114|  4.24M|#define CLOSXP	     3	  /* closures */
  |  |  ------------------
  |  |  |  Branch (249:24): [True: 0, False: 4.24M]
  |  |  ------------------
  ------------------
  |  Branch (4513:6): [True: 2.12M, False: 2.12M]
  ------------------
 4514|  2.12M|	    ENABLE_REFCNT(a);
  ------------------
  |  |  279|  2.12M|#define ENABLE_REFCNT(x) SET_TRACKREFS(x, TRUE)
  |  |  ------------------
  |  |  |  |  260|  2.12M|#  define SET_TRACKREFS(x,v) ((x)->sxpinfo.spare = ! (v))
  |  |  ------------------
  ------------------
 4515|  2.12M|	    INCREMENT_REFCNT(CAR(a));
  ------------------
  |  |  267|  2.12M|# define INCREMENT_REFCNT(x) do {			      \
  |  |  268|  2.12M|	SEXP irc__x__ = (x);				      \
  |  |  269|  2.12M|	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  ------------------
  |  |  |  |  248|  2.12M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  ------------------
  |  |               	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  ------------------
  |  |  |  |  195|  2.12M|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|  2.12M|#define NAMED_BITS 16
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (269:6): [True: 14.4k, False: 2.10M]
  |  |  ------------------
  |  |  270|  2.12M|	    SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1);	      \
  |  |  ------------------
  |  |  |  |  256|  14.4k|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  |  248|  14.4k|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  271|  2.12M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (271:14): [Folded, False: 2.12M]
  |  |  ------------------
  ------------------
 4516|  2.12M|	    INCREMENT_REFCNT(CDR(a));
  ------------------
  |  |  267|  2.12M|# define INCREMENT_REFCNT(x) do {			      \
  |  |  268|  2.12M|	SEXP irc__x__ = (x);				      \
  |  |  269|  2.12M|	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  ------------------
  |  |  |  |  248|  2.12M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  ------------------
  |  |               	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  ------------------
  |  |  |  |  195|  2.12M|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|  2.12M|#define NAMED_BITS 16
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (269:6): [True: 2.12M, False: 342]
  |  |  ------------------
  |  |  270|  2.12M|	    SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1);	      \
  |  |  ------------------
  |  |  |  |  256|  2.12M|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  |  248|  2.12M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  271|  2.12M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (271:14): [Folded, False: 2.12M]
  |  |  ------------------
  ------------------
 4517|  2.12M|#ifdef TESTING_WRITE_BARRIER
 4518|       |	    /* this should not see non-tracking arguments */
 4519|  2.12M|	    if (! TRACKREFS(CAR(a)))
  ------------------
  |  |  249|  2.12M|# define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  ------------------
  |  |  |  |  233|  2.12M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |               # define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  ------------------
  |  |  |  |  114|  2.12M|#define CLOSXP	     3	  /* closures */
  |  |  ------------------
  |  |  |  Branch (249:24): [True: 0, False: 2.12M]
  |  |  ------------------
  ------------------
  |  Branch (4519:10): [True: 0, False: 2.12M]
  ------------------
 4520|      0|		error("argument not tracking references");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 4521|  2.12M|#endif
 4522|  2.12M|	}
 4523|  2.12M|#endif
 4524|  2.12M|}
R_try_clear_args_refcnt:
 4527|  2.12M|{
 4528|  2.12M|#ifdef SWITCH_TO_REFCNT
 4529|       |    /* If args excapes properly its reference count will have been
 4530|       |       incremented. If it has no references, then it can be reverted
 4531|       |       to NR and the reference counts on its CAR and CDR can be
 4532|       |       decremented. */
 4533|  6.37M|    while (args != R_NilValue && NO_REFERENCES(args)) {
  ------------------
  |  |  242|  4.24M|#  define NO_REFERENCES(x) (REFCNT(x) == 0)
  |  |  ------------------
  |  |  |  |  248|  4.24M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  ------------------
  |  |  |  Branch (242:28): [True: 4.24M, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (4533:12): [True: 4.24M, False: 2.12M]
  ------------------
 4534|  4.24M|	SEXP next = CDR(args);
  ------------------
  |  |  445|  4.24M|#define CDR(e)		((e)->u.listsxp.cdrval)
  ------------------
 4535|  4.24M|	DISABLE_REFCNT(args);
  ------------------
  |  |  280|  4.24M|#define DISABLE_REFCNT(x) SET_TRACKREFS(x, FALSE)
  |  |  ------------------
  |  |  |  |  260|  4.24M|#  define SET_TRACKREFS(x,v) ((x)->sxpinfo.spare = ! (v))
  |  |  ------------------
  ------------------
 4536|  4.24M|	DECREMENT_REFCNT(CAR(args));
  ------------------
  |  |  262|  4.24M|# define DECREMENT_REFCNT(x) do {					\
  |  |  263|  4.24M|	SEXP drc__x__ = (x);						\
  |  |  264|  4.24M|	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  ------------------
  |  |  |  |  248|  4.24M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  ------------------
  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  ------------------
  |  |  |  |  248|  4.24M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  ------------------
  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  ------------------
  |  |  |  |  195|  4.24M|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|  4.24M|#define NAMED_BITS 16
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (264:6): [True: 4.24M, False: 0]
  |  |  |  Branch (264:30): [True: 14.4k, False: 4.23M]
  |  |  ------------------
  |  |  265|  4.24M|	    SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1);			\
  |  |  ------------------
  |  |  |  |  256|  14.4k|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  |  248|  14.4k|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  266|  4.24M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (266:14): [Folded, False: 4.24M]
  |  |  ------------------
  ------------------
 4537|  4.24M|	DECREMENT_REFCNT(CDR(args));
  ------------------
  |  |  262|  4.24M|# define DECREMENT_REFCNT(x) do {					\
  |  |  263|  4.24M|	SEXP drc__x__ = (x);						\
  |  |  264|  4.24M|	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  ------------------
  |  |  |  |  248|  4.24M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  ------------------
  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  ------------------
  |  |  |  |  248|  4.24M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  ------------------
  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  ------------------
  |  |  |  |  195|  4.24M|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|  4.24M|#define NAMED_BITS 16
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (264:6): [True: 4.24M, False: 0]
  |  |  |  Branch (264:30): [True: 2.12M, False: 2.12M]
  |  |  ------------------
  |  |  265|  4.24M|	    SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1);			\
  |  |  ------------------
  |  |  |  |  256|  2.12M|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  |  248|  2.12M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  266|  4.24M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (266:14): [Folded, False: 4.24M]
  |  |  ------------------
  ------------------
 4538|  4.24M|	args = next;
 4539|  4.24M|    }
 4540|  2.12M|#endif
 4541|  2.12M|}
TAG:
 4544|  1.00G|SEXP (TAG)(SEXP e) { return CHK(TAG(CHKCONS(e))); }
  ------------------
  |  |  440|  1.00G|#define TAG(e)		((e)->u.listsxp.tagval)
  ------------------
CAR0:
 4545|   814M|attribute_hidden SEXP (CAR0)(SEXP e) { return CHK(CAR0(CHKCONS(e))); }
  ------------------
  |  |  441|   814M|#define CAR0(e)		((e)->u.listsxp.carval)
  ------------------
CDR:
 4546|  1.38G|SEXP (CDR)(SEXP e) { return CHK(CDR(CHKCONS(e))); }
  ------------------
  |  |  445|  1.38G|#define CDR(e)		((e)->u.listsxp.cdrval)
  ------------------
CADR:
 4549|  28.7M|SEXP (CADR)(SEXP e) { return CHK(CADR(CHKCONS(e))); }
  ------------------
  |  |  448|  28.7M|#define CADR(e)		CAR(CDR(e))
  |  |  ------------------
  |  |  |  |  445|  28.7M|#define CDR(e)		((e)->u.listsxp.cdrval)
  |  |  ------------------
  ------------------
CDDR:
 4550|  2.12M|SEXP (CDDR)(SEXP e) { return CHK(CDDR(CHKCONS(e))); }
  ------------------
  |  |  449|  2.12M|#define CDDR(e)		CDR(CDR(e))
  |  |  ------------------
  |  |  |  |  445|  2.12M|#define CDR(e)		((e)->u.listsxp.cdrval)
  |  |  ------------------
  ------------------
CDDDR:
 4551|  2.09M|SEXP (CDDDR)(SEXP e) { return CHK(CDDDR(CHKCONS(e))); }
  ------------------
  |  |  450|  2.09M|#define CDDDR(e)	CDR(CDR(CDR(e)))
  |  |  ------------------
  |  |  |  |  445|  2.09M|#define CDR(e)		((e)->u.listsxp.cdrval)
  |  |  ------------------
  ------------------
CADDR:
 4552|  4.25M|SEXP (CADDR)(SEXP e) { return CHK(CADDR(CHKCONS(e))); }
  ------------------
  |  |  451|  4.25M|#define CADDR(e)	CAR(CDR(CDR(e)))
  |  |  ------------------
  |  |  |  |  445|  4.25M|#define CDR(e)		((e)->u.listsxp.cdrval)
  |  |  ------------------
  ------------------
CADDDR:
 4553|  4.22M|SEXP (CADDDR)(SEXP e) { return CHK(CADDDR(CHKCONS(e))); }
  ------------------
  |  |  452|  4.22M|#define CADDDR(e)	CAR(CDR(CDR(CDR(e))))
  |  |  ------------------
  |  |  |  |  445|  4.22M|#define CDR(e)		((e)->u.listsxp.cdrval)
  |  |  ------------------
  ------------------
CAD4R:
 4554|    424|SEXP (CAD4R)(SEXP e) { return CHK(CAD4R(CHKCONS(e))); }
  ------------------
  |  |  453|    424|#define CAD4R(e)	CAR(CDR(CDR(CDR(CDR(e)))))
  |  |  ------------------
  |  |  |  |  445|    424|#define CDR(e)		((e)->u.listsxp.cdrval)
  |  |  ------------------
  ------------------
CAD5R:
 4555|     16|SEXP (CAD5R)(SEXP e) { return CHK(CAD5R(CHKCONS(e))); }
  ------------------
  |  |  454|     16|#define CAD5R(e)	CAR(CDR(CDR(CDR(CDR(CDR(e))))))
  |  |  ------------------
  |  |  |  |  445|     16|#define CDR(e)		((e)->u.listsxp.cdrval)
  |  |  ------------------
  ------------------
MISSING:
 4556|  2.17M|attribute_hidden int (MISSING)(SEXP x) { return MISSING(CHKCONS(x)); }
  ------------------
  |  |  456|  2.17M|#define MISSING(x)	((x)->sxpinfo.gp & MISSING_MASK)/* for closure calls */
  |  |  ------------------
  |  |  |  |  455|  2.17M|#define MISSING_MASK	15 /* reserve 4 bits--only 2 uses now */
  |  |  ------------------
  ------------------
SET_TAG:
 4559|  95.6M|{
 4560|  95.6M|    if (CHKCONS(x) == NULL || x == R_NilValue)
  ------------------
  |  Branch (4560:9): [True: 0, False: 95.6M]
  |  Branch (4560:31): [True: 0, False: 95.6M]
  ------------------
 4561|      0|	error(_("bad value"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("bad value"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4562|  95.6M|    FIX_REFCNT(x, TAG(x), v);
  ------------------
  |  | 1335|  95.6M|#define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
  |  |  ------------------
  |  |  |  | 1319|  95.6M|#define FIX_REFCNT_EX(x, old, new, chkpnd) do {				\
  |  |  |  | 1320|  95.6M|	SEXP __x__ = (x);						\
  |  |  |  | 1321|  95.6M|	if (TRACKREFS(__x__)) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  |  249|  95.6M|# define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|  95.6M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               # define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  114|  95.6M|#define CLOSXP	     3	  /* closures */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (249:23): [True: 76.7M, False: 18.9M]
  |  |  |  |  |  |  |  Branch (249:24): [True: 6.31k, False: 95.6M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1322|  76.7M|	    SEXP __old__ = (old);					\
  |  |  |  | 1323|  76.7M|	    SEXP __new__ = (new);					\
  |  |  |  | 1324|  76.7M|	    if (__old__ != __new__) {					\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1324:10): [True: 76.4M, False: 289k]
  |  |  |  |  ------------------
  |  |  |  | 1325|  76.4M|		if (__old__) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1325:7): [True: 76.4M, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1326|  76.4M|		    if ((chkpnd) && ASSIGNMENT_PENDING(__x__))		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  321|      0|#define ASSIGNMENT_PENDING(x) ((x)->sxpinfo.gp & ASSIGNMENT_PENDING_MASK)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (321:31): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1326:11): [Folded, False: 76.4M]
  |  |  |  |  ------------------
  |  |  |  | 1327|  76.4M|			SET_ASSIGNMENT_PENDING(__x__, FALSE);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  322|      0|#define SET_ASSIGNMENT_PENDING(x, v) do {			\
  |  |  |  |  |  |  323|      0|	if (v) (((x)->sxpinfo.gp) |= ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (323:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  324|      0|	else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  325|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (325:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1328|  76.4M|		    else						\
  |  |  |  | 1329|  76.4M|			DECREMENT_REFCNT(__old__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  262|  76.4M|# define DECREMENT_REFCNT(x) do {					\
  |  |  |  |  |  |  263|  76.4M|	SEXP drc__x__ = (x);						\
  |  |  |  |  |  |  264|  76.4M|	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  76.4M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  76.4M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|  76.4M|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|  76.4M|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (264:6): [True: 76.4M, False: 0]
  |  |  |  |  |  |  |  Branch (264:30): [True: 8, False: 76.4M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  265|  76.4M|	    SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1);			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|      8|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|      8|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  266|  76.4M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (266:14): [Folded, False: 76.4M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1330|  76.4M|		}							\
  |  |  |  | 1331|  76.4M|		if (__new__) INCREMENT_REFCNT(__new__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  267|  76.4M|# define INCREMENT_REFCNT(x) do {			      \
  |  |  |  |  |  |  268|  76.4M|	SEXP irc__x__ = (x);				      \
  |  |  |  |  |  |  269|  76.4M|	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  76.4M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|  76.4M|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|  76.4M|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (269:6): [True: 2.43M, False: 74.0M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  270|  76.4M|	    SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1);	      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|  2.43M|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|  2.43M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  271|  76.4M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (271:14): [Folded, False: 76.4M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1331:7): [True: 76.4M, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1332|  76.4M|	    }								\
  |  |  |  | 1333|  76.7M|	}								\
  |  |  |  | 1334|  95.6M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1334:14): [Folded, False: 95.6M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4563|  95.6M|    CHECK_OLD_TO_NEW(x, v);
  ------------------
  |  | 1350|  95.6M|#define CHECK_OLD_TO_NEW(x,y) do { \
  |  | 1351|  95.6M|  if (NODE_IS_OLDER(CHK(x), CHK(y))) old_to_new(x,y);  } while (0)
  |  |  ------------------
  |  |  |  |  565|  95.6M|    (NODE_IS_MARKED(x) && (y) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|   191M|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|  95.6M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (268:27): [True: 162, False: 95.6M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (565:27): [True: 162, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  566|  95.6M|   (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|    324|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|    162|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|    162|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|    162|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (566:5): [True: 0, False: 162]
  |  |  |  |  |  Branch (566:28): [True: 0, False: 162]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1351:65): [Folded, False: 95.6M]
  |  |  ------------------
  ------------------
 4564|  95.6M|    TAG(x) = v;
  ------------------
  |  |  440|  95.6M|#define TAG(e)		((e)->u.listsxp.tagval)
  ------------------
 4565|  95.6M|}
SETCAR:
 4568|   100M|{
 4569|   100M|    if (CHKCONS(x) == NULL || x == R_NilValue)
  ------------------
  |  Branch (4569:9): [True: 0, False: 100M]
  |  Branch (4569:31): [True: 0, False: 100M]
  ------------------
 4570|      0|	error(_("bad value"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("bad value"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4571|   100M|    CLEAR_BNDCELL_TAG(x);
  ------------------
  |  | 4439|   100M|#define CLEAR_BNDCELL_TAG(cell) do {		\
  |  | 4440|   100M|	if (BNDCELL_TAG(cell)) {		\
  |  |  ------------------
  |  |  |  |  463|   100M|#define BNDCELL_TAG(e)	((e)->sxpinfo.extra)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (463:24): [True: 0, False: 100M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4441|      0|	    CAR0(cell) = R_NilValue;		\
  |  |  ------------------
  |  |  |  |  441|      0|#define CAR0(e)		((e)->u.listsxp.carval)
  |  |  ------------------
  |  | 4442|      0|	    SET_BNDCELL_TAG(cell, 0);		\
  |  |  ------------------
  |  |  |  |  464|      0|#define SET_BNDCELL_TAG(e, v) ((e)->sxpinfo.extra = (v))
  |  |  ------------------
  |  | 4443|      0|	}					\
  |  | 4444|   100M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4444:14): [Folded, False: 100M]
  |  |  ------------------
  ------------------
 4572|   100M|    if (y == CAR(x))
  ------------------
  |  Branch (4572:9): [True: 1.09M, False: 99.5M]
  ------------------
 4573|  1.09M|	return y;
 4574|  99.5M|    FIX_BINDING_REFCNT(x, CAR(x), y);
  ------------------
  |  | 1337|  99.5M|    FIX_REFCNT_EX(x, old, new, TRUE)
  |  |  ------------------
  |  |  |  | 1319|  99.5M|#define FIX_REFCNT_EX(x, old, new, chkpnd) do {				\
  |  |  |  | 1320|  99.5M|	SEXP __x__ = (x);						\
  |  |  |  | 1321|  99.5M|	if (TRACKREFS(__x__)) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  |  249|  99.5M|# define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|  99.5M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               # define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  114|  99.5M|#define CLOSXP	     3	  /* closures */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (249:23): [True: 80.3M, False: 19.2M]
  |  |  |  |  |  |  |  Branch (249:24): [True: 6.15k, False: 99.5M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1322|  80.3M|	    SEXP __old__ = (old);					\
  |  |  |  | 1323|  80.3M|	    SEXP __new__ = (new);					\
  |  |  |  | 1324|  80.3M|	    if (__old__ != __new__) {					\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1324:10): [True: 80.3M, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1325|  80.3M|		if (__old__) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1325:7): [True: 80.3M, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1326|  80.3M|		    if ((chkpnd) && ASSIGNMENT_PENDING(__x__))		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  321|  80.3M|#define ASSIGNMENT_PENDING(x) ((x)->sxpinfo.gp & ASSIGNMENT_PENDING_MASK)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|  80.3M|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (321:31): [True: 0, False: 80.3M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1326:11): [True: 80.3M, Folded]
  |  |  |  |  ------------------
  |  |  |  | 1327|  80.3M|			SET_ASSIGNMENT_PENDING(__x__, FALSE);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  322|      0|#define SET_ASSIGNMENT_PENDING(x, v) do {			\
  |  |  |  |  |  |  323|      0|	if (v) (((x)->sxpinfo.gp) |= ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (323:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  324|      0|	else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  325|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (325:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1328|  80.3M|		    else						\
  |  |  |  | 1329|  80.3M|			DECREMENT_REFCNT(__old__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  262|  80.3M|# define DECREMENT_REFCNT(x) do {					\
  |  |  |  |  |  |  263|  80.3M|	SEXP drc__x__ = (x);						\
  |  |  |  |  |  |  264|  80.3M|	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  80.3M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  80.3M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|  80.3M|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|  80.3M|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (264:6): [True: 80.3M, False: 0]
  |  |  |  |  |  |  |  Branch (264:30): [True: 46.0M, False: 34.2M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  265|  80.3M|	    SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1);			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|  46.0M|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|  46.0M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  266|  80.3M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (266:14): [Folded, False: 80.3M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1330|  80.3M|		}							\
  |  |  |  | 1331|  80.3M|		if (__new__) INCREMENT_REFCNT(__new__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  267|  80.3M|# define INCREMENT_REFCNT(x) do {			      \
  |  |  |  |  |  |  268|  80.3M|	SEXP irc__x__ = (x);				      \
  |  |  |  |  |  |  269|  80.3M|	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  80.3M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|  80.3M|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|  80.3M|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (269:6): [True: 18.8M, False: 61.4M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  270|  80.3M|	    SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1);	      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|  18.8M|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|  18.8M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  271|  80.3M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (271:14): [Folded, False: 80.3M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1331:7): [True: 80.3M, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1332|  80.3M|	    }								\
  |  |  |  | 1333|  80.3M|	}								\
  |  |  |  | 1334|  99.5M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1334:14): [Folded, False: 99.5M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4575|  99.5M|    CHECK_OLD_TO_NEW(x, y);
  ------------------
  |  | 1350|  99.5M|#define CHECK_OLD_TO_NEW(x,y) do { \
  |  | 1351|  99.5M|  if (NODE_IS_OLDER(CHK(x), CHK(y))) old_to_new(x,y);  } while (0)
  |  |  ------------------
  |  |  |  |  565|  99.5M|    (NODE_IS_MARKED(x) && (y) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|   199M|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|  99.5M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (268:27): [True: 11.2k, False: 99.5M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (565:27): [True: 11.2k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  566|  99.5M|   (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|  22.4k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|  11.2k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|  10.6k|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|  10.6k|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (566:5): [True: 520, False: 10.6k]
  |  |  |  |  |  Branch (566:28): [True: 0, False: 10.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1351:65): [Folded, False: 99.5M]
  |  |  ------------------
  ------------------
 4576|  99.5M|    CAR0(x) = y;
  ------------------
  |  |  441|  99.5M|#define CAR0(e)		((e)->u.listsxp.carval)
  ------------------
 4577|  99.5M|    return y;
 4578|   100M|}
SETCDR:
 4581|  49.3M|{
 4582|  49.3M|    if (CHKCONS(x) == NULL || x == R_NilValue)
  ------------------
  |  Branch (4582:9): [True: 0, False: 49.3M]
  |  Branch (4582:31): [True: 0, False: 49.3M]
  ------------------
 4583|      0|	error(_("bad value"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("bad value"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4584|  49.3M|    FIX_REFCNT(x, CDR(x), y);
  ------------------
  |  | 1335|  49.3M|#define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
  |  |  ------------------
  |  |  |  | 1319|  49.3M|#define FIX_REFCNT_EX(x, old, new, chkpnd) do {				\
  |  |  |  | 1320|  49.3M|	SEXP __x__ = (x);						\
  |  |  |  | 1321|  49.3M|	if (TRACKREFS(__x__)) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  |  249|  49.3M|# define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|  49.3M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               # define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  114|  49.3M|#define CLOSXP	     3	  /* closures */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (249:23): [True: 15.3M, False: 33.9M]
  |  |  |  |  |  |  |  Branch (249:24): [True: 6.31k, False: 49.3M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1322|  15.3M|	    SEXP __old__ = (old);					\
  |  |  |  | 1323|  15.3M|	    SEXP __new__ = (new);					\
  |  |  |  | 1324|  15.3M|	    if (__old__ != __new__) {					\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1324:10): [True: 15.1M, False: 192k]
  |  |  |  |  ------------------
  |  |  |  | 1325|  15.1M|		if (__old__) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1325:7): [True: 15.1M, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1326|  15.1M|		    if ((chkpnd) && ASSIGNMENT_PENDING(__x__))		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  321|      0|#define ASSIGNMENT_PENDING(x) ((x)->sxpinfo.gp & ASSIGNMENT_PENDING_MASK)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (321:31): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1326:11): [Folded, False: 15.1M]
  |  |  |  |  ------------------
  |  |  |  | 1327|  15.1M|			SET_ASSIGNMENT_PENDING(__x__, FALSE);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  322|      0|#define SET_ASSIGNMENT_PENDING(x, v) do {			\
  |  |  |  |  |  |  323|      0|	if (v) (((x)->sxpinfo.gp) |= ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (323:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  324|      0|	else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  325|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (325:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1328|  15.1M|		    else						\
  |  |  |  | 1329|  15.1M|			DECREMENT_REFCNT(__old__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  262|  15.1M|# define DECREMENT_REFCNT(x) do {					\
  |  |  |  |  |  |  263|  15.1M|	SEXP drc__x__ = (x);						\
  |  |  |  |  |  |  264|  15.1M|	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  15.1M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  15.1M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|  15.1M|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|  15.1M|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (264:6): [True: 15.1M, False: 0]
  |  |  |  |  |  |  |  Branch (264:30): [True: 4.29M, False: 10.8M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  265|  15.1M|	    SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1);			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|  4.29M|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|  4.29M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  266|  15.1M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (266:14): [Folded, False: 15.1M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1330|  15.1M|		}							\
  |  |  |  | 1331|  15.1M|		if (__new__) INCREMENT_REFCNT(__new__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  267|  15.1M|# define INCREMENT_REFCNT(x) do {			      \
  |  |  |  |  |  |  268|  15.1M|	SEXP irc__x__ = (x);				      \
  |  |  |  |  |  |  269|  15.1M|	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  15.1M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|  15.1M|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|  15.1M|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (269:6): [True: 12.9M, False: 2.15M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  270|  15.1M|	    SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1);	      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|  12.9M|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|  12.9M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  271|  15.1M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (271:14): [Folded, False: 15.1M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1331:7): [True: 15.1M, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1332|  15.1M|	    }								\
  |  |  |  | 1333|  15.3M|	}								\
  |  |  |  | 1334|  49.3M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1334:14): [Folded, False: 49.3M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4585|  49.3M|#ifdef TESTING_WRITE_BARRIER
 4586|       |    /* this should not add a non-tracking CDR to a tracking cell */
 4587|  49.3M|    if (TRACKREFS(x) && y && ! TRACKREFS(y))
  ------------------
  |  |  249|  98.6M|# define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  ------------------
  |  |  |  |  233|  49.3M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |               # define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  ------------------
  |  |  |  |  114|  49.3M|#define CLOSXP	     3	  /* closures */
  |  |  ------------------
  |  |  |  Branch (249:23): [True: 15.3M, False: 33.9M]
  |  |  |  Branch (249:24): [True: 6.31k, False: 49.3M]
  |  |  ------------------
  ------------------
                  if (TRACKREFS(x) && y && ! TRACKREFS(y))
  ------------------
  |  |  249|  15.3M|# define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  ------------------
  |  |  |  |  233|  15.3M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |               # define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  ------------------
  |  |  |  |  114|  15.3M|#define CLOSXP	     3	  /* closures */
  |  |  ------------------
  |  |  |  Branch (249:24): [True: 0, False: 15.3M]
  |  |  ------------------
  ------------------
  |  Branch (4587:25): [True: 15.3M, False: 0]
  |  Branch (4587:30): [True: 0, False: 15.3M]
  ------------------
 4588|      0|	error("inserting non-tracking CDR in tracking cell");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 4589|  49.3M|#endif
 4590|  49.3M|    CHECK_OLD_TO_NEW(x, y);
  ------------------
  |  | 1350|  49.3M|#define CHECK_OLD_TO_NEW(x,y) do { \
  |  | 1351|  49.3M|  if (NODE_IS_OLDER(CHK(x), CHK(y))) old_to_new(x,y);  } while (0)
  |  |  ------------------
  |  |  |  |  565|  49.3M|    (NODE_IS_MARKED(x) && (y) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|  98.6M|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|  49.3M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (268:27): [True: 5.26k, False: 49.3M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (565:27): [True: 5.26k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  566|  49.3M|   (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|  10.5k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|  5.26k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|  3.43k|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|  3.43k|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (566:5): [True: 1.83k, False: 3.43k]
  |  |  |  |  |  Branch (566:28): [True: 0, False: 3.43k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1351:65): [Folded, False: 49.3M]
  |  |  ------------------
  ------------------
 4591|  49.3M|    CDR(x) = y;
  ------------------
  |  |  445|  49.3M|#define CDR(e)		((e)->u.listsxp.cdrval)
  ------------------
 4592|  49.3M|    return y;
 4593|  49.3M|}
SETCADR:
 4596|  14.0k|{
 4597|  14.0k|    SEXP cell;
 4598|  14.0k|    if (CHKCONS(x) == NULL || x == R_NilValue ||
  ------------------
  |  Branch (4598:9): [True: 0, False: 14.0k]
  |  Branch (4598:31): [True: 0, False: 14.0k]
  ------------------
 4599|  14.0k|	CHKCONS(CDR(x)) == NULL || CDR(x) == R_NilValue)
  ------------------
  |  |  445|  14.0k|#define CDR(e)		((e)->u.listsxp.cdrval)
  ------------------
              	CHKCONS(CDR(x)) == NULL || CDR(x) == R_NilValue)
  ------------------
  |  |  445|  14.0k|#define CDR(e)		((e)->u.listsxp.cdrval)
  ------------------
  |  Branch (4599:2): [True: 0, False: 14.0k]
  |  Branch (4599:29): [True: 0, False: 14.0k]
  ------------------
 4600|      0|	error(_("bad value"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("bad value"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4601|  14.0k|    cell = CDR(x);
  ------------------
  |  |  445|  14.0k|#define CDR(e)		((e)->u.listsxp.cdrval)
  ------------------
 4602|  14.0k|    CLEAR_BNDCELL_TAG(cell);
  ------------------
  |  | 4439|  14.0k|#define CLEAR_BNDCELL_TAG(cell) do {		\
  |  | 4440|  14.0k|	if (BNDCELL_TAG(cell)) {		\
  |  |  ------------------
  |  |  |  |  463|  14.0k|#define BNDCELL_TAG(e)	((e)->sxpinfo.extra)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (463:24): [True: 0, False: 14.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4441|      0|	    CAR0(cell) = R_NilValue;		\
  |  |  ------------------
  |  |  |  |  441|      0|#define CAR0(e)		((e)->u.listsxp.carval)
  |  |  ------------------
  |  | 4442|      0|	    SET_BNDCELL_TAG(cell, 0);		\
  |  |  ------------------
  |  |  |  |  464|      0|#define SET_BNDCELL_TAG(e, v) ((e)->sxpinfo.extra = (v))
  |  |  ------------------
  |  | 4443|      0|	}					\
  |  | 4444|  14.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4444:14): [Folded, False: 14.0k]
  |  |  ------------------
  ------------------
 4603|  14.0k|    FIX_REFCNT(cell, CAR(cell), y);
  ------------------
  |  | 1335|  14.0k|#define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
  |  |  ------------------
  |  |  |  | 1319|  14.0k|#define FIX_REFCNT_EX(x, old, new, chkpnd) do {				\
  |  |  |  | 1320|  14.0k|	SEXP __x__ = (x);						\
  |  |  |  | 1321|  14.0k|	if (TRACKREFS(__x__)) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  |  249|  14.0k|# define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|  14.0k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               # define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  114|  14.0k|#define CLOSXP	     3	  /* closures */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (249:23): [True: 2.11k, False: 11.9k]
  |  |  |  |  |  |  |  Branch (249:24): [True: 0, False: 14.0k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1322|  2.11k|	    SEXP __old__ = (old);					\
  |  |  |  | 1323|  2.11k|	    SEXP __new__ = (new);					\
  |  |  |  | 1324|  2.11k|	    if (__old__ != __new__) {					\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1324:10): [True: 2.11k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1325|  2.11k|		if (__old__) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1325:7): [True: 2.11k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1326|  2.11k|		    if ((chkpnd) && ASSIGNMENT_PENDING(__x__))		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  321|      0|#define ASSIGNMENT_PENDING(x) ((x)->sxpinfo.gp & ASSIGNMENT_PENDING_MASK)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (321:31): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1326:11): [Folded, False: 2.11k]
  |  |  |  |  ------------------
  |  |  |  | 1327|  2.11k|			SET_ASSIGNMENT_PENDING(__x__, FALSE);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  322|      0|#define SET_ASSIGNMENT_PENDING(x, v) do {			\
  |  |  |  |  |  |  323|      0|	if (v) (((x)->sxpinfo.gp) |= ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (323:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  324|      0|	else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  325|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (325:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1328|  2.11k|		    else						\
  |  |  |  | 1329|  2.11k|			DECREMENT_REFCNT(__old__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  262|  2.11k|# define DECREMENT_REFCNT(x) do {					\
  |  |  |  |  |  |  263|  2.11k|	SEXP drc__x__ = (x);						\
  |  |  |  |  |  |  264|  2.11k|	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  2.11k|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  2.11k|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|  2.11k|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|  2.11k|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (264:6): [True: 2.11k, False: 0]
  |  |  |  |  |  |  |  Branch (264:30): [True: 1.14k, False: 970]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  265|  2.11k|	    SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1);			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|  1.14k|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|  1.14k|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  266|  2.11k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (266:14): [Folded, False: 2.11k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1330|  2.11k|		}							\
  |  |  |  | 1331|  2.11k|		if (__new__) INCREMENT_REFCNT(__new__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  267|  2.11k|# define INCREMENT_REFCNT(x) do {			      \
  |  |  |  |  |  |  268|  2.11k|	SEXP irc__x__ = (x);				      \
  |  |  |  |  |  |  269|  2.11k|	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  2.11k|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|  2.11k|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|  2.11k|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (269:6): [True: 2.11k, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  270|  2.11k|	    SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1);	      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|  2.11k|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|  2.11k|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  271|  2.11k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (271:14): [Folded, False: 2.11k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1331:7): [True: 2.11k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1332|  2.11k|	    }								\
  |  |  |  | 1333|  2.11k|	}								\
  |  |  |  | 1334|  14.0k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1334:14): [Folded, False: 14.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4604|  14.0k|    CHECK_OLD_TO_NEW(cell, y);
  ------------------
  |  | 1350|  14.0k|#define CHECK_OLD_TO_NEW(x,y) do { \
  |  | 1351|  14.0k|  if (NODE_IS_OLDER(CHK(x), CHK(y))) old_to_new(x,y);  } while (0)
  |  |  ------------------
  |  |  |  |  565|  14.0k|    (NODE_IS_MARKED(x) && (y) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|  28.1k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|  14.0k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (268:27): [True: 0, False: 14.0k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (565:27): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  566|  14.0k|   (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (566:5): [True: 0, False: 0]
  |  |  |  |  |  Branch (566:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1351:65): [Folded, False: 14.0k]
  |  |  ------------------
  ------------------
 4605|  14.0k|    CAR0(cell) = y;
  ------------------
  |  |  441|  14.0k|#define CAR0(e)		((e)->u.listsxp.carval)
  ------------------
 4606|  14.0k|    return y;
 4607|  14.0k|}
SET_MISSING:
 4667|  46.0M|void (SET_MISSING)(SEXP x, int v) { SET_MISSING(CHKCONS(x), v); }
  ------------------
  |  |  457|  46.0M|#define SET_MISSING(x,v) do { \
  |  |  458|  46.0M|  SEXP __x__ = (x); \
  |  |  459|  46.0M|  int __v__ = (v); \
  |  |  460|  46.0M|  int __other_flags__ = __x__->sxpinfo.gp & ~MISSING_MASK; \
  |  |  ------------------
  |  |  |  |  455|  46.0M|#define MISSING_MASK	15 /* reserve 4 bits--only 2 uses now */
  |  |  ------------------
  |  |  461|  46.0M|  __x__->sxpinfo.gp = __other_flags__ | __v__; \
  |  |  462|  46.0M|} while (0)
  |  |  ------------------
  |  |  |  Branch (462:10): [Folded, False: 46.0M]
  |  |  ------------------
  ------------------
FORMALS:
 4675|  10.6M|SEXP (FORMALS)(SEXP x) { CHKCLOSXP(x); return CHK(FORMALS(CHK(x))); }
  ------------------
  |  | 4672|  10.6M|    if (TYPEOF(x) != CLOSXP && TYPEOF(x) != LISTSXP) \
  |  |  ------------------
  |  |  |  |  233|  10.6M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |                   if (TYPEOF(x) != CLOSXP && TYPEOF(x) != LISTSXP) \
  |  |  ------------------
  |  |  |  |  114|  21.3M|#define CLOSXP	     3	  /* closures */
  |  |  ------------------
  |  |                   if (TYPEOF(x) != CLOSXP && TYPEOF(x) != LISTSXP) \
  |  |  ------------------
  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |                   if (TYPEOF(x) != CLOSXP && TYPEOF(x) != LISTSXP) \
  |  |  ------------------
  |  |  |  |  113|      0|#define LISTSXP	     2	  /* lists of dotted pairs */
  |  |  ------------------
  |  |  |  Branch (4672:9): [True: 0, False: 10.6M]
  |  |  |  Branch (4672:32): [True: 0, False: 0]
  |  |  ------------------
  |  | 4673|  10.6M|	error(_("%s: argument of type %s is not a closure"), \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	error(_("%s: argument of type %s is not a closure"), \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 4674|      0|	      __func__, sexptype2char(TYPEOF(x)))
  |  |  ------------------
  |  |  |  | 1989|      0|# define sexptype2char		Rf_sexptype2char
  |  |  ------------------
  |  |               	      __func__, sexptype2char(TYPEOF(x)))
  |  |  ------------------
  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  ------------------
              SEXP (FORMALS)(SEXP x) { CHKCLOSXP(x); return CHK(FORMALS(CHK(x))); }
  ------------------
  |  |  513|  10.6M|#define FORMALS(x)	((x)->u.closxp.formals)
  ------------------
BODY:
 4676|  30.9M|SEXP (BODY)(SEXP x) { CHKCLOSXP(x); return CHK(BODY(CHK(x))); }
  ------------------
  |  | 4672|  30.9M|    if (TYPEOF(x) != CLOSXP && TYPEOF(x) != LISTSXP) \
  |  |  ------------------
  |  |  |  |  233|  30.9M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |                   if (TYPEOF(x) != CLOSXP && TYPEOF(x) != LISTSXP) \
  |  |  ------------------
  |  |  |  |  114|  61.8M|#define CLOSXP	     3	  /* closures */
  |  |  ------------------
  |  |                   if (TYPEOF(x) != CLOSXP && TYPEOF(x) != LISTSXP) \
  |  |  ------------------
  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |                   if (TYPEOF(x) != CLOSXP && TYPEOF(x) != LISTSXP) \
  |  |  ------------------
  |  |  |  |  113|      0|#define LISTSXP	     2	  /* lists of dotted pairs */
  |  |  ------------------
  |  |  |  Branch (4672:9): [True: 0, False: 30.9M]
  |  |  |  Branch (4672:32): [True: 0, False: 0]
  |  |  ------------------
  |  | 4673|  30.9M|	error(_("%s: argument of type %s is not a closure"), \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	error(_("%s: argument of type %s is not a closure"), \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 4674|      0|	      __func__, sexptype2char(TYPEOF(x)))
  |  |  ------------------
  |  |  |  | 1989|      0|# define sexptype2char		Rf_sexptype2char
  |  |  ------------------
  |  |               	      __func__, sexptype2char(TYPEOF(x)))
  |  |  ------------------
  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  ------------------
              SEXP (BODY)(SEXP x) { CHKCLOSXP(x); return CHK(BODY(CHK(x))); }
  ------------------
  |  |  514|  30.9M|#define BODY(x)		((x)->u.closxp.body)
  ------------------
CLOENV:
 4677|  14.8M|SEXP (CLOENV)(SEXP x) { CHKCLOSXP(x); return CHK(CLOENV(CHK(x))); }
  ------------------
  |  | 4672|  14.8M|    if (TYPEOF(x) != CLOSXP && TYPEOF(x) != LISTSXP) \
  |  |  ------------------
  |  |  |  |  233|  14.8M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |                   if (TYPEOF(x) != CLOSXP && TYPEOF(x) != LISTSXP) \
  |  |  ------------------
  |  |  |  |  114|  29.7M|#define CLOSXP	     3	  /* closures */
  |  |  ------------------
  |  |                   if (TYPEOF(x) != CLOSXP && TYPEOF(x) != LISTSXP) \
  |  |  ------------------
  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |                   if (TYPEOF(x) != CLOSXP && TYPEOF(x) != LISTSXP) \
  |  |  ------------------
  |  |  |  |  113|      0|#define LISTSXP	     2	  /* lists of dotted pairs */
  |  |  ------------------
  |  |  |  Branch (4672:9): [True: 0, False: 14.8M]
  |  |  |  Branch (4672:32): [True: 0, False: 0]
  |  |  ------------------
  |  | 4673|  14.8M|	error(_("%s: argument of type %s is not a closure"), \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	error(_("%s: argument of type %s is not a closure"), \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 4674|      0|	      __func__, sexptype2char(TYPEOF(x)))
  |  |  ------------------
  |  |  |  | 1989|      0|# define sexptype2char		Rf_sexptype2char
  |  |  ------------------
  |  |               	      __func__, sexptype2char(TYPEOF(x)))
  |  |  ------------------
  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  ------------------
              SEXP (CLOENV)(SEXP x) { CHKCLOSXP(x); return CHK(CLOENV(CHK(x))); }
  ------------------
  |  |  515|  14.8M|#define CLOENV(x)	((x)->u.closxp.env)
  ------------------
RDEBUG:
 4678|  21.3M|int (RDEBUG)(SEXP x) { return RDEBUG(CHK(x)); }
  ------------------
  |  |  516|  21.3M|#define RDEBUG(x)	((x)->sxpinfo.debug)
  ------------------
RSTEP:
 4679|  10.6M|attribute_hidden int (RSTEP)(SEXP x) { return RSTEP(CHK(x)); }
  ------------------
  |  |  518|  10.6M|#define RSTEP(x)	((x)->sxpinfo.spare)
  ------------------
SET_FORMALS:
 4685|  8.42M|void (SET_FORMALS)(SEXP x, SEXP v) { FIX_REFCNT(x, FORMALS(x), v); CHECK_OLD_TO_NEW(x, v); FORMALS(x) = v; }
  ------------------
  |  | 1335|  8.42M|#define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
  |  |  ------------------
  |  |  |  | 1319|  8.42M|#define FIX_REFCNT_EX(x, old, new, chkpnd) do {				\
  |  |  |  | 1320|  8.42M|	SEXP __x__ = (x);						\
  |  |  |  | 1321|  8.42M|	if (TRACKREFS(__x__)) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  |  249|  8.42M|# define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|  8.42M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               # define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  114|  8.42M|#define CLOSXP	     3	  /* closures */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (249:23): [True: 8.42M, False: 0]
  |  |  |  |  |  |  |  Branch (249:24): [True: 8.42M, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1322|  8.42M|	    SEXP __old__ = (old);					\
  |  |  |  | 1323|  8.42M|	    SEXP __new__ = (new);					\
  |  |  |  | 1324|  8.42M|	    if (__old__ != __new__) {					\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1324:10): [True: 7.37M, False: 1.04M]
  |  |  |  |  ------------------
  |  |  |  | 1325|  7.37M|		if (__old__) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1325:7): [True: 7.37M, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1326|  7.37M|		    if ((chkpnd) && ASSIGNMENT_PENDING(__x__))		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  321|      0|#define ASSIGNMENT_PENDING(x) ((x)->sxpinfo.gp & ASSIGNMENT_PENDING_MASK)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (321:31): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1326:11): [Folded, False: 7.37M]
  |  |  |  |  ------------------
  |  |  |  | 1327|  7.37M|			SET_ASSIGNMENT_PENDING(__x__, FALSE);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  322|      0|#define SET_ASSIGNMENT_PENDING(x, v) do {			\
  |  |  |  |  |  |  323|      0|	if (v) (((x)->sxpinfo.gp) |= ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (323:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  324|      0|	else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  325|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (325:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1328|  7.37M|		    else						\
  |  |  |  | 1329|  7.37M|			DECREMENT_REFCNT(__old__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  262|  7.37M|# define DECREMENT_REFCNT(x) do {					\
  |  |  |  |  |  |  263|  7.37M|	SEXP drc__x__ = (x);						\
  |  |  |  |  |  |  264|  7.37M|	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  7.37M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  7.37M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|  7.37M|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|  7.37M|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (264:6): [True: 7.37M, False: 0]
  |  |  |  |  |  |  |  Branch (264:30): [True: 0, False: 7.37M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  265|  7.37M|	    SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1);			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|      0|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|      0|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  266|  7.37M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (266:14): [Folded, False: 7.37M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1330|  7.37M|		}							\
  |  |  |  | 1331|  7.37M|		if (__new__) INCREMENT_REFCNT(__new__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  267|  7.37M|# define INCREMENT_REFCNT(x) do {			      \
  |  |  |  |  |  |  268|  7.37M|	SEXP irc__x__ = (x);				      \
  |  |  |  |  |  |  269|  7.37M|	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  7.37M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|  7.37M|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|  7.37M|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (269:6): [True: 488k, False: 6.88M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  270|  7.37M|	    SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1);	      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|   488k|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|   488k|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  271|  7.37M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (271:14): [Folded, False: 7.37M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1331:7): [True: 7.37M, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1332|  7.37M|	    }								\
  |  |  |  | 1333|  8.42M|	}								\
  |  |  |  | 1334|  8.42M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1334:14): [Folded, False: 8.42M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              void (SET_FORMALS)(SEXP x, SEXP v) { FIX_REFCNT(x, FORMALS(x), v); CHECK_OLD_TO_NEW(x, v); FORMALS(x) = v; }
  ------------------
  |  | 1350|  8.42M|#define CHECK_OLD_TO_NEW(x,y) do { \
  |  | 1351|  8.42M|  if (NODE_IS_OLDER(CHK(x), CHK(y))) old_to_new(x,y);  } while (0)
  |  |  ------------------
  |  |  |  |  565|  8.42M|    (NODE_IS_MARKED(x) && (y) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|  16.8M|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|  8.42M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (268:27): [True: 0, False: 8.42M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (565:27): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  566|  8.42M|   (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (566:5): [True: 0, False: 0]
  |  |  |  |  |  Branch (566:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1351:65): [Folded, False: 8.42M]
  |  |  ------------------
  ------------------
              void (SET_FORMALS)(SEXP x, SEXP v) { FIX_REFCNT(x, FORMALS(x), v); CHECK_OLD_TO_NEW(x, v); FORMALS(x) = v; }
  ------------------
  |  |  513|  8.42M|#define FORMALS(x)	((x)->u.closxp.formals)
  ------------------
SET_BODY:
 4687|  8.42M|void (SET_BODY)(SEXP x, SEXP v) { FIX_REFCNT(x, BODY(x), v); CHECK_OLD_TO_NEW(x, v); BODY(x) = v; }
  ------------------
  |  | 1335|  8.42M|#define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
  |  |  ------------------
  |  |  |  | 1319|  8.42M|#define FIX_REFCNT_EX(x, old, new, chkpnd) do {				\
  |  |  |  | 1320|  8.42M|	SEXP __x__ = (x);						\
  |  |  |  | 1321|  8.42M|	if (TRACKREFS(__x__)) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  |  249|  8.42M|# define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|  8.42M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               # define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  114|  8.42M|#define CLOSXP	     3	  /* closures */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (249:23): [True: 8.42M, False: 0]
  |  |  |  |  |  |  |  Branch (249:24): [True: 8.42M, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1322|  8.42M|	    SEXP __old__ = (old);					\
  |  |  |  | 1323|  8.42M|	    SEXP __new__ = (new);					\
  |  |  |  | 1324|  8.42M|	    if (__old__ != __new__) {					\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1324:10): [True: 8.42M, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1325|  8.42M|		if (__old__) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1325:7): [True: 8.42M, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1326|  8.42M|		    if ((chkpnd) && ASSIGNMENT_PENDING(__x__))		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  321|      0|#define ASSIGNMENT_PENDING(x) ((x)->sxpinfo.gp & ASSIGNMENT_PENDING_MASK)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (321:31): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1326:11): [Folded, False: 8.42M]
  |  |  |  |  ------------------
  |  |  |  | 1327|  8.42M|			SET_ASSIGNMENT_PENDING(__x__, FALSE);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  322|      0|#define SET_ASSIGNMENT_PENDING(x, v) do {			\
  |  |  |  |  |  |  323|      0|	if (v) (((x)->sxpinfo.gp) |= ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (323:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  324|      0|	else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  325|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (325:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1328|  8.42M|		    else						\
  |  |  |  | 1329|  8.42M|			DECREMENT_REFCNT(__old__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  262|  8.42M|# define DECREMENT_REFCNT(x) do {					\
  |  |  |  |  |  |  263|  8.42M|	SEXP drc__x__ = (x);						\
  |  |  |  |  |  |  264|  8.42M|	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  8.42M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  8.42M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|  8.42M|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|  8.42M|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (264:6): [True: 8.42M, False: 0]
  |  |  |  |  |  |  |  Branch (264:30): [True: 17, False: 8.42M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  265|  8.42M|	    SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1);			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|     17|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|     17|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  266|  8.42M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (266:14): [Folded, False: 8.42M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1330|  8.42M|		}							\
  |  |  |  | 1331|  8.42M|		if (__new__) INCREMENT_REFCNT(__new__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  267|  8.42M|# define INCREMENT_REFCNT(x) do {			      \
  |  |  |  |  |  |  268|  8.42M|	SEXP irc__x__ = (x);				      \
  |  |  |  |  |  |  269|  8.42M|	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  8.42M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|  8.42M|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|  8.42M|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (269:6): [True: 553k, False: 7.86M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  270|  8.42M|	    SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1);	      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|   553k|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|   553k|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  271|  8.42M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (271:14): [Folded, False: 8.42M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1331:7): [True: 8.42M, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1332|  8.42M|	    }								\
  |  |  |  | 1333|  8.42M|	}								\
  |  |  |  | 1334|  8.42M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1334:14): [Folded, False: 8.42M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              void (SET_BODY)(SEXP x, SEXP v) { FIX_REFCNT(x, BODY(x), v); CHECK_OLD_TO_NEW(x, v); BODY(x) = v; }
  ------------------
  |  | 1350|  8.42M|#define CHECK_OLD_TO_NEW(x,y) do { \
  |  | 1351|  8.42M|  if (NODE_IS_OLDER(CHK(x), CHK(y))) old_to_new(x,y);  } while (0)
  |  |  ------------------
  |  |  |  |  565|  8.42M|    (NODE_IS_MARKED(x) && (y) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|  16.8M|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|  8.42M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (268:27): [True: 0, False: 8.42M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (565:27): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  566|  8.42M|   (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (566:5): [True: 0, False: 0]
  |  |  |  |  |  Branch (566:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1351:65): [Folded, False: 8.42M]
  |  |  ------------------
  ------------------
              void (SET_BODY)(SEXP x, SEXP v) { FIX_REFCNT(x, BODY(x), v); CHECK_OLD_TO_NEW(x, v); BODY(x) = v; }
  ------------------
  |  |  514|  8.42M|#define BODY(x)		((x)->u.closxp.body)
  ------------------
SET_CLOENV:
 4689|  8.42M|void (SET_CLOENV)(SEXP x, SEXP v) { FIX_REFCNT(x, CLOENV(x), v); CHECK_OLD_TO_NEW(x, v); CLOENV(x) = v; }
  ------------------
  |  | 1335|  8.42M|#define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
  |  |  ------------------
  |  |  |  | 1319|  8.42M|#define FIX_REFCNT_EX(x, old, new, chkpnd) do {				\
  |  |  |  | 1320|  8.42M|	SEXP __x__ = (x);						\
  |  |  |  | 1321|  8.42M|	if (TRACKREFS(__x__)) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  |  249|  8.42M|# define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|  8.42M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               # define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  114|  8.42M|#define CLOSXP	     3	  /* closures */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (249:23): [True: 8.42M, False: 0]
  |  |  |  |  |  |  |  Branch (249:24): [True: 8.42M, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1322|  8.42M|	    SEXP __old__ = (old);					\
  |  |  |  | 1323|  8.42M|	    SEXP __new__ = (new);					\
  |  |  |  | 1324|  8.42M|	    if (__old__ != __new__) {					\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1324:10): [True: 8.42M, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1325|  8.42M|		if (__old__) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1325:7): [True: 8.42M, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1326|  8.42M|		    if ((chkpnd) && ASSIGNMENT_PENDING(__x__))		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  321|      0|#define ASSIGNMENT_PENDING(x) ((x)->sxpinfo.gp & ASSIGNMENT_PENDING_MASK)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (321:31): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1326:11): [Folded, False: 8.42M]
  |  |  |  |  ------------------
  |  |  |  | 1327|  8.42M|			SET_ASSIGNMENT_PENDING(__x__, FALSE);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  322|      0|#define SET_ASSIGNMENT_PENDING(x, v) do {			\
  |  |  |  |  |  |  323|      0|	if (v) (((x)->sxpinfo.gp) |= ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (323:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  324|      0|	else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  325|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (325:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1328|  8.42M|		    else						\
  |  |  |  | 1329|  8.42M|			DECREMENT_REFCNT(__old__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  262|  8.42M|# define DECREMENT_REFCNT(x) do {					\
  |  |  |  |  |  |  263|  8.42M|	SEXP drc__x__ = (x);						\
  |  |  |  |  |  |  264|  8.42M|	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  8.42M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  8.42M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|  8.42M|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|  8.42M|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (264:6): [True: 8.42M, False: 0]
  |  |  |  |  |  |  |  Branch (264:30): [True: 0, False: 8.42M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  265|  8.42M|	    SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1);			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|      0|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|      0|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  266|  8.42M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (266:14): [Folded, False: 8.42M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1330|  8.42M|		}							\
  |  |  |  | 1331|  8.42M|		if (__new__) INCREMENT_REFCNT(__new__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  267|  8.42M|# define INCREMENT_REFCNT(x) do {			      \
  |  |  |  |  |  |  268|  8.42M|	SEXP irc__x__ = (x);				      \
  |  |  |  |  |  |  269|  8.42M|	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  8.42M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|  8.42M|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|  8.42M|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (269:6): [True: 8.41M, False: 4.12k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  270|  8.42M|	    SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1);	      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|  8.41M|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|  8.41M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  271|  8.42M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (271:14): [Folded, False: 8.42M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1331:7): [True: 8.42M, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1332|  8.42M|	    }								\
  |  |  |  | 1333|  8.42M|	}								\
  |  |  |  | 1334|  8.42M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1334:14): [Folded, False: 8.42M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              void (SET_CLOENV)(SEXP x, SEXP v) { FIX_REFCNT(x, CLOENV(x), v); CHECK_OLD_TO_NEW(x, v); CLOENV(x) = v; }
  ------------------
  |  | 1350|  8.42M|#define CHECK_OLD_TO_NEW(x,y) do { \
  |  | 1351|  8.42M|  if (NODE_IS_OLDER(CHK(x), CHK(y))) old_to_new(x,y);  } while (0)
  |  |  ------------------
  |  |  |  |  565|  8.42M|    (NODE_IS_MARKED(x) && (y) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|  16.8M|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|  8.42M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (268:27): [True: 0, False: 8.42M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (565:27): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  566|  8.42M|   (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (566:5): [True: 0, False: 0]
  |  |  |  |  |  Branch (566:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1351:65): [Folded, False: 8.42M]
  |  |  ------------------
  ------------------
              void (SET_CLOENV)(SEXP x, SEXP v) { FIX_REFCNT(x, CLOENV(x), v); CHECK_OLD_TO_NEW(x, v); CLOENV(x) = v; }
  ------------------
  |  |  515|  8.42M|#define CLOENV(x)	((x)->u.closxp.env)
  ------------------
SET_RDEBUG:
 4690|      8|void (SET_RDEBUG)(SEXP x, int v) { SET_RDEBUG(CHK(x), v); }
  ------------------
  |  |  517|      8|#define SET_RDEBUG(x,v)	(((x)->sxpinfo.debug)=(v))
  ------------------
PRIMOFFSET:
 4698|   145M|int (PRIMOFFSET)(SEXP x) { return PRIMOFFSET(CHK(x)); }
  ------------------
  |  | 1253|   145M|#define PRIMOFFSET(x)	((x)->u.primsxp.offset)
  ------------------
SET_PRIMOFFSET:
 4700|  1.54k|void (SET_PRIMOFFSET)(SEXP x, int v) { SET_PRIMOFFSET(CHK(x), v); }
  ------------------
  |  | 1254|  1.54k|#define SET_PRIMOFFSET(x,v)	(((x)->u.primsxp.offset)=(v))
  ------------------
PRINTNAME:
 4709|  87.5M|SEXP (PRINTNAME)(SEXP x) { CHKSYMSXP(x); return CHK(PRINTNAME(CHK(x))); }
  ------------------
  |  | 4706|  87.5M|    if (x != R_NilValue && TYPEOF(x) != SYMSXP) \
  |  |  ------------------
  |  |  |  |  233|  87.5M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |                   if (x != R_NilValue && TYPEOF(x) != SYMSXP) \
  |  |  ------------------
  |  |  |  |  112|   175M|#define SYMSXP	     1	  /* symbols */
  |  |  ------------------
  |  |  |  Branch (4706:9): [True: 87.5M, False: 464]
  |  |  |  Branch (4706:28): [True: 0, False: 87.5M]
  |  |  ------------------
  |  | 4707|  87.5M|	error(_("%s: argument of type %s is not a symbol or NULL"), \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	error(_("%s: argument of type %s is not a symbol or NULL"), \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 4708|      0|	      __func__, sexptype2char(TYPEOF(x)))
  |  |  ------------------
  |  |  |  | 1989|      0|# define sexptype2char		Rf_sexptype2char
  |  |  ------------------
  |  |               	      __func__, sexptype2char(TYPEOF(x)))
  |  |  ------------------
  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  ------------------
              SEXP (PRINTNAME)(SEXP x) { CHKSYMSXP(x); return CHK(PRINTNAME(CHK(x))); }
  ------------------
  |  |  522|  87.5M|#define PRINTNAME(x)	((x)->u.symsxp.pname)
  ------------------
SYMVALUE:
 4710|  58.6M|SEXP (SYMVALUE)(SEXP x) { CHKSYMSXP(x); return CHK(SYMVALUE(CHK(x))); }
  ------------------
  |  | 4706|  58.6M|    if (x != R_NilValue && TYPEOF(x) != SYMSXP) \
  |  |  ------------------
  |  |  |  |  233|  58.6M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |                   if (x != R_NilValue && TYPEOF(x) != SYMSXP) \
  |  |  ------------------
  |  |  |  |  112|   117M|#define SYMSXP	     1	  /* symbols */
  |  |  ------------------
  |  |  |  Branch (4706:9): [True: 58.6M, False: 0]
  |  |  |  Branch (4706:28): [True: 0, False: 58.6M]
  |  |  ------------------
  |  | 4707|  58.6M|	error(_("%s: argument of type %s is not a symbol or NULL"), \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	error(_("%s: argument of type %s is not a symbol or NULL"), \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 4708|      0|	      __func__, sexptype2char(TYPEOF(x)))
  |  |  ------------------
  |  |  |  | 1989|      0|# define sexptype2char		Rf_sexptype2char
  |  |  ------------------
  |  |               	      __func__, sexptype2char(TYPEOF(x)))
  |  |  ------------------
  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  ------------------
              SEXP (SYMVALUE)(SEXP x) { CHKSYMSXP(x); return CHK(SYMVALUE(CHK(x))); }
  ------------------
  |  |  523|  58.6M|#define SYMVALUE(x)	((x)->u.symsxp.value)
  ------------------
INTERNAL:
 4711|  7.49M|SEXP (INTERNAL)(SEXP x) { CHKSYMSXP(x); return CHK(INTERNAL(CHK(x))); }
  ------------------
  |  | 4706|  7.49M|    if (x != R_NilValue && TYPEOF(x) != SYMSXP) \
  |  |  ------------------
  |  |  |  |  233|  7.49M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |                   if (x != R_NilValue && TYPEOF(x) != SYMSXP) \
  |  |  ------------------
  |  |  |  |  112|  14.9M|#define SYMSXP	     1	  /* symbols */
  |  |  ------------------
  |  |  |  Branch (4706:9): [True: 7.49M, False: 0]
  |  |  |  Branch (4706:28): [True: 0, False: 7.49M]
  |  |  ------------------
  |  | 4707|  7.49M|	error(_("%s: argument of type %s is not a symbol or NULL"), \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	error(_("%s: argument of type %s is not a symbol or NULL"), \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 4708|      0|	      __func__, sexptype2char(TYPEOF(x)))
  |  |  ------------------
  |  |  |  | 1989|      0|# define sexptype2char		Rf_sexptype2char
  |  |  ------------------
  |  |               	      __func__, sexptype2char(TYPEOF(x)))
  |  |  ------------------
  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  ------------------
              SEXP (INTERNAL)(SEXP x) { CHKSYMSXP(x); return CHK(INTERNAL(CHK(x))); }
  ------------------
  |  |  524|  7.49M|#define INTERNAL(x)	((x)->u.symsxp.internal)
  ------------------
DDVAL:
 4712|  3.30M|int (DDVAL)(SEXP x) { CHKSYMSXP(x); return DDVAL(CHK(x)); }
  ------------------
  |  | 4706|  3.30M|    if (x != R_NilValue && TYPEOF(x) != SYMSXP) \
  |  |  ------------------
  |  |  |  |  233|  3.30M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |                   if (x != R_NilValue && TYPEOF(x) != SYMSXP) \
  |  |  ------------------
  |  |  |  |  112|  6.60M|#define SYMSXP	     1	  /* symbols */
  |  |  ------------------
  |  |  |  Branch (4706:9): [True: 3.30M, False: 0]
  |  |  |  Branch (4706:28): [True: 0, False: 3.30M]
  |  |  ------------------
  |  | 4707|  3.30M|	error(_("%s: argument of type %s is not a symbol or NULL"), \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	error(_("%s: argument of type %s is not a symbol or NULL"), \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 4708|      0|	      __func__, sexptype2char(TYPEOF(x)))
  |  |  ------------------
  |  |  |  | 1989|      0|# define sexptype2char		Rf_sexptype2char
  |  |  ------------------
  |  |               	      __func__, sexptype2char(TYPEOF(x)))
  |  |  ------------------
  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  ------------------
              int (DDVAL)(SEXP x) { CHKSYMSXP(x); return DDVAL(CHK(x)); }
  ------------------
  |  |  526|  3.30M|#define DDVAL(x)	((x)->sxpinfo.gp & DDVAL_MASK) /* for ..1, ..2 etc */
  |  |  ------------------
  |  |  |  |  525|  3.30M|#define DDVAL_MASK	1
  |  |  ------------------
  ------------------
SET_PRINTNAME:
 4715|  14.3k|void (SET_PRINTNAME)(SEXP x, SEXP v) { FIX_REFCNT(x, PRINTNAME(x), v); CHECK_OLD_TO_NEW(x, v); PRINTNAME(x) = v; }
  ------------------
  |  | 1335|  14.3k|#define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
  |  |  ------------------
  |  |  |  | 1319|  14.3k|#define FIX_REFCNT_EX(x, old, new, chkpnd) do {				\
  |  |  |  | 1320|  14.3k|	SEXP __x__ = (x);						\
  |  |  |  | 1321|  14.3k|	if (TRACKREFS(__x__)) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  |  249|  14.3k|# define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|  14.3k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               # define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  114|  14.3k|#define CLOSXP	     3	  /* closures */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (249:23): [True: 14.3k, False: 0]
  |  |  |  |  |  |  |  Branch (249:24): [True: 0, False: 14.3k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1322|  14.3k|	    SEXP __old__ = (old);					\
  |  |  |  | 1323|  14.3k|	    SEXP __new__ = (new);					\
  |  |  |  | 1324|  14.3k|	    if (__old__ != __new__) {					\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1324:10): [True: 14.3k, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 1325|  14.3k|		if (__old__) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1325:7): [True: 14.3k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1326|  14.3k|		    if ((chkpnd) && ASSIGNMENT_PENDING(__x__))		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  321|      0|#define ASSIGNMENT_PENDING(x) ((x)->sxpinfo.gp & ASSIGNMENT_PENDING_MASK)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (321:31): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1326:11): [Folded, False: 14.3k]
  |  |  |  |  ------------------
  |  |  |  | 1327|  14.3k|			SET_ASSIGNMENT_PENDING(__x__, FALSE);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  322|      0|#define SET_ASSIGNMENT_PENDING(x, v) do {			\
  |  |  |  |  |  |  323|      0|	if (v) (((x)->sxpinfo.gp) |= ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (323:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  324|      0|	else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  325|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (325:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1328|  14.3k|		    else						\
  |  |  |  | 1329|  14.3k|			DECREMENT_REFCNT(__old__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  262|  14.3k|# define DECREMENT_REFCNT(x) do {					\
  |  |  |  |  |  |  263|  14.3k|	SEXP drc__x__ = (x);						\
  |  |  |  |  |  |  264|  14.3k|	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  14.3k|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  14.3k|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|  14.3k|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|  14.3k|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (264:6): [True: 14.3k, False: 0]
  |  |  |  |  |  |  |  Branch (264:30): [True: 0, False: 14.3k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  265|  14.3k|	    SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1);			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|      0|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|      0|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  266|  14.3k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (266:14): [Folded, False: 14.3k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1330|  14.3k|		}							\
  |  |  |  | 1331|  14.3k|		if (__new__) INCREMENT_REFCNT(__new__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  267|  14.3k|# define INCREMENT_REFCNT(x) do {			      \
  |  |  |  |  |  |  268|  14.3k|	SEXP irc__x__ = (x);				      \
  |  |  |  |  |  |  269|  14.3k|	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  14.3k|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|  14.3k|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|  14.3k|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (269:6): [True: 14.3k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  270|  14.3k|	    SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1);	      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|  14.3k|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|  14.3k|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  271|  14.3k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (271:14): [Folded, False: 14.3k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1331:7): [True: 14.3k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1332|  14.3k|	    }								\
  |  |  |  | 1333|  14.3k|	}								\
  |  |  |  | 1334|  14.3k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1334:14): [Folded, False: 14.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              void (SET_PRINTNAME)(SEXP x, SEXP v) { FIX_REFCNT(x, PRINTNAME(x), v); CHECK_OLD_TO_NEW(x, v); PRINTNAME(x) = v; }
  ------------------
  |  | 1350|  14.3k|#define CHECK_OLD_TO_NEW(x,y) do { \
  |  | 1351|  14.3k|  if (NODE_IS_OLDER(CHK(x), CHK(y))) old_to_new(x,y);  } while (0)
  |  |  ------------------
  |  |  |  |  565|  14.3k|    (NODE_IS_MARKED(x) && (y) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|  28.7k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|  14.3k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (268:27): [True: 0, False: 14.3k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (565:27): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  566|  14.3k|   (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (566:5): [True: 0, False: 0]
  |  |  |  |  |  Branch (566:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1351:65): [Folded, False: 14.3k]
  |  |  ------------------
  ------------------
              void (SET_PRINTNAME)(SEXP x, SEXP v) { FIX_REFCNT(x, PRINTNAME(x), v); CHECK_OLD_TO_NEW(x, v); PRINTNAME(x) = v; }
  ------------------
  |  |  522|  14.3k|#define PRINTNAME(x)	((x)->u.symsxp.pname)
  ------------------
SET_SYMVALUE:
 4719|  20.3k|{
 4720|  20.3k|    if (SYMVALUE(x) == v)
  ------------------
  |  |  523|  20.3k|#define SYMVALUE(x)	((x)->u.symsxp.value)
  ------------------
  |  Branch (4720:9): [True: 14, False: 20.3k]
  ------------------
 4721|     14|	return;
 4722|  20.3k|    FIX_BINDING_REFCNT(x, SYMVALUE(x), v);
  ------------------
  |  | 1337|  20.3k|    FIX_REFCNT_EX(x, old, new, TRUE)
  |  |  ------------------
  |  |  |  | 1319|  20.3k|#define FIX_REFCNT_EX(x, old, new, chkpnd) do {				\
  |  |  |  | 1320|  20.3k|	SEXP __x__ = (x);						\
  |  |  |  | 1321|  20.3k|	if (TRACKREFS(__x__)) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  |  249|  20.3k|# define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|  20.3k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               # define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  114|  20.3k|#define CLOSXP	     3	  /* closures */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (249:23): [True: 20.2k, False: 90]
  |  |  |  |  |  |  |  Branch (249:24): [True: 0, False: 20.3k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1322|  20.2k|	    SEXP __old__ = (old);					\
  |  |  |  | 1323|  20.2k|	    SEXP __new__ = (new);					\
  |  |  |  | 1324|  20.2k|	    if (__old__ != __new__) {					\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1324:10): [True: 20.2k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1325|  20.2k|		if (__old__) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1325:7): [True: 20.2k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1326|  20.2k|		    if ((chkpnd) && ASSIGNMENT_PENDING(__x__))		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  321|  20.2k|#define ASSIGNMENT_PENDING(x) ((x)->sxpinfo.gp & ASSIGNMENT_PENDING_MASK)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|  20.2k|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (321:31): [True: 0, False: 20.2k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1326:11): [True: 20.2k, Folded]
  |  |  |  |  ------------------
  |  |  |  | 1327|  20.2k|			SET_ASSIGNMENT_PENDING(__x__, FALSE);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  322|      0|#define SET_ASSIGNMENT_PENDING(x, v) do {			\
  |  |  |  |  |  |  323|      0|	if (v) (((x)->sxpinfo.gp) |= ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (323:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  324|      0|	else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  325|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (325:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1328|  20.2k|		    else						\
  |  |  |  | 1329|  20.2k|			DECREMENT_REFCNT(__old__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  262|  20.2k|# define DECREMENT_REFCNT(x) do {					\
  |  |  |  |  |  |  263|  20.2k|	SEXP drc__x__ = (x);						\
  |  |  |  |  |  |  264|  20.2k|	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  20.2k|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  20.2k|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|  20.2k|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|  20.2k|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (264:6): [True: 20.2k, False: 0]
  |  |  |  |  |  |  |  Branch (264:30): [True: 5.91k, False: 14.3k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  265|  20.2k|	    SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1);			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|  5.91k|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|  5.91k|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  266|  20.2k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (266:14): [Folded, False: 20.2k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1330|  20.2k|		}							\
  |  |  |  | 1331|  20.2k|		if (__new__) INCREMENT_REFCNT(__new__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  267|  20.2k|# define INCREMENT_REFCNT(x) do {			      \
  |  |  |  |  |  |  268|  20.2k|	SEXP irc__x__ = (x);				      \
  |  |  |  |  |  |  269|  20.2k|	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  20.2k|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|  20.2k|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|  20.2k|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (269:6): [True: 9.69k, False: 10.6k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  270|  20.2k|	    SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1);	      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|  9.69k|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|  9.69k|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  271|  20.2k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (271:14): [Folded, False: 20.2k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1331:7): [True: 20.2k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1332|  20.2k|	    }								\
  |  |  |  | 1333|  20.2k|	}								\
  |  |  |  | 1334|  20.3k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1334:14): [Folded, False: 20.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4723|  20.3k|    CHECK_OLD_TO_NEW(x, v);
  ------------------
  |  | 1350|  20.3k|#define CHECK_OLD_TO_NEW(x,y) do { \
  |  | 1351|  20.3k|  if (NODE_IS_OLDER(CHK(x), CHK(y))) old_to_new(x,y);  } while (0)
  |  |  ------------------
  |  |  |  |  565|  20.3k|    (NODE_IS_MARKED(x) && (y) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|  40.7k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|  20.3k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (268:27): [True: 2.92k, False: 17.4k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (565:27): [True: 2.92k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  566|  20.3k|   (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|  5.84k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|  2.92k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (566:5): [True: 2.92k, False: 0]
  |  |  |  |  |  Branch (566:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1351:65): [Folded, False: 20.3k]
  |  |  ------------------
  ------------------
 4724|  20.3k|    SYMVALUE(x) = v;
  ------------------
  |  |  523|  20.3k|#define SYMVALUE(x)	((x)->u.symsxp.value)
  ------------------
 4725|  20.3k|}
SET_INTERNAL:
 4728|  1.12k|void (SET_INTERNAL)(SEXP x, SEXP v) {
 4729|  1.12k|    FIX_REFCNT(x, INTERNAL(x), v);
  ------------------
  |  | 1335|  1.12k|#define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
  |  |  ------------------
  |  |  |  | 1319|  1.12k|#define FIX_REFCNT_EX(x, old, new, chkpnd) do {				\
  |  |  |  | 1320|  1.12k|	SEXP __x__ = (x);						\
  |  |  |  | 1321|  1.12k|	if (TRACKREFS(__x__)) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  |  249|  1.12k|# define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|  1.12k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               # define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  114|  1.12k|#define CLOSXP	     3	  /* closures */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (249:23): [True: 1.12k, False: 0]
  |  |  |  |  |  |  |  Branch (249:24): [True: 0, False: 1.12k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1322|  1.12k|	    SEXP __old__ = (old);					\
  |  |  |  | 1323|  1.12k|	    SEXP __new__ = (new);					\
  |  |  |  | 1324|  1.12k|	    if (__old__ != __new__) {					\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1324:10): [True: 1.12k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1325|  1.12k|		if (__old__) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1325:7): [True: 1.12k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1326|  1.12k|		    if ((chkpnd) && ASSIGNMENT_PENDING(__x__))		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  321|      0|#define ASSIGNMENT_PENDING(x) ((x)->sxpinfo.gp & ASSIGNMENT_PENDING_MASK)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (321:31): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1326:11): [Folded, False: 1.12k]
  |  |  |  |  ------------------
  |  |  |  | 1327|  1.12k|			SET_ASSIGNMENT_PENDING(__x__, FALSE);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  322|      0|#define SET_ASSIGNMENT_PENDING(x, v) do {			\
  |  |  |  |  |  |  323|      0|	if (v) (((x)->sxpinfo.gp) |= ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (323:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  324|      0|	else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  325|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (325:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1328|  1.12k|		    else						\
  |  |  |  | 1329|  1.12k|			DECREMENT_REFCNT(__old__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  262|  1.12k|# define DECREMENT_REFCNT(x) do {					\
  |  |  |  |  |  |  263|  1.12k|	SEXP drc__x__ = (x);						\
  |  |  |  |  |  |  264|  1.12k|	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  1.12k|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  1.12k|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|  1.12k|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|  1.12k|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (264:6): [True: 1.12k, False: 0]
  |  |  |  |  |  |  |  Branch (264:30): [True: 4, False: 1.12k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  265|  1.12k|	    SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1);			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|      4|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|      4|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  266|  1.12k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (266:14): [Folded, False: 1.12k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1330|  1.12k|		}							\
  |  |  |  | 1331|  1.12k|		if (__new__) INCREMENT_REFCNT(__new__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  267|  1.12k|# define INCREMENT_REFCNT(x) do {			      \
  |  |  |  |  |  |  268|  1.12k|	SEXP irc__x__ = (x);				      \
  |  |  |  |  |  |  269|  1.12k|	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  1.12k|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|  1.12k|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|  1.12k|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (269:6): [True: 1.12k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  270|  1.12k|	    SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1);	      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|  1.12k|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|  1.12k|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  271|  1.12k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (271:14): [Folded, False: 1.12k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1331:7): [True: 1.12k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1332|  1.12k|	    }								\
  |  |  |  | 1333|  1.12k|	}								\
  |  |  |  | 1334|  1.12k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1334:14): [Folded, False: 1.12k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4730|  1.12k|    CHECK_OLD_TO_NEW(x, v);
  ------------------
  |  | 1350|  1.12k|#define CHECK_OLD_TO_NEW(x,y) do { \
  |  | 1351|  1.12k|  if (NODE_IS_OLDER(CHK(x), CHK(y))) old_to_new(x,y);  } while (0)
  |  |  ------------------
  |  |  |  |  565|  1.12k|    (NODE_IS_MARKED(x) && (y) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|  2.24k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|  1.12k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (268:27): [True: 0, False: 1.12k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (565:27): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  566|  1.12k|   (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (566:5): [True: 0, False: 0]
  |  |  |  |  |  Branch (566:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1351:65): [Folded, False: 1.12k]
  |  |  ------------------
  ------------------
 4731|  1.12k|    INTERNAL(x) = v;
  ------------------
  |  |  524|  1.12k|#define INTERNAL(x)	((x)->u.symsxp.internal)
  ------------------
 4732|  1.12k|}
SET_DDVAL:
 4733|  14.3k|attribute_hidden void (SET_DDVAL)(SEXP x, int v) { SET_DDVAL(CHK(x), v); }
  ------------------
  |  |  529|  14.3k|#define SET_DDVAL(x,v) ((v) ? SET_DDVAL_BIT(x) : UNSET_DDVAL_BIT(x)) /* for ..1, ..2 etc */
  |  |  ------------------
  |  |  |  |  527|    130|#define SET_DDVAL_BIT(x) (((x)->sxpinfo.gp) |= DDVAL_MASK)
  |  |  |  |  ------------------
  |  |  |  |  |  |  525|    130|#define DDVAL_MASK	1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SET_DDVAL(x,v) ((v) ? SET_DDVAL_BIT(x) : UNSET_DDVAL_BIT(x)) /* for ..1, ..2 etc */
  |  |  ------------------
  |  |  |  |  528|  14.2k|#define UNSET_DDVAL_BIT(x) (((x)->sxpinfo.gp) &= ~DDVAL_MASK)
  |  |  |  |  ------------------
  |  |  |  |  |  |  525|  14.2k|#define DDVAL_MASK	1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (529:25): [True: 130, False: 14.2k]
  |  |  ------------------
  ------------------
FRAME:
 4742|   211M|SEXP (FRAME)(SEXP x) { CHKENVSXP(x); return CHK(FRAME(CHK(x))); }
  ------------------
  |  | 4738|   211M|    if (TYPEOF(x) != ENVSXP && x != R_NilValue)				\
  |  |  ------------------
  |  |  |  |  233|   211M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |                   if (TYPEOF(x) != ENVSXP && x != R_NilValue)				\
  |  |  ------------------
  |  |  |  |  115|   422M|#define ENVSXP	     4	  /* environments */
  |  |  ------------------
  |  |  |  Branch (4738:9): [True: 52, False: 211M]
  |  |  |  Branch (4738:32): [True: 0, False: 52]
  |  |  ------------------
  |  | 4739|   211M|	error(_("%s: argument of type %s is not an environment or NULL"), \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	error(_("%s: argument of type %s is not an environment or NULL"), \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 4740|      0|	      __func__, sexptype2char(TYPEOF(x)))
  |  |  ------------------
  |  |  |  | 1989|      0|# define sexptype2char		Rf_sexptype2char
  |  |  ------------------
  |  |               	      __func__, sexptype2char(TYPEOF(x)))
  |  |  ------------------
  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  ------------------
              SEXP (FRAME)(SEXP x) { CHKENVSXP(x); return CHK(FRAME(CHK(x))); }
  ------------------
  |  |  532|   211M|#define FRAME(x)	((x)->u.envsxp.frame)
  ------------------
ENCLOS:
 4744|  49.9M|SEXP (ENCLOS)(SEXP x) { CHKENVSXP(x); return CHK(ENCLOS(CHK(x))); }
  ------------------
  |  | 4738|  49.9M|    if (TYPEOF(x) != ENVSXP && x != R_NilValue)				\
  |  |  ------------------
  |  |  |  |  233|  49.9M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |                   if (TYPEOF(x) != ENVSXP && x != R_NilValue)				\
  |  |  ------------------
  |  |  |  |  115|  99.9M|#define ENVSXP	     4	  /* environments */
  |  |  ------------------
  |  |  |  Branch (4738:9): [True: 0, False: 49.9M]
  |  |  |  Branch (4738:32): [True: 0, False: 0]
  |  |  ------------------
  |  | 4739|  49.9M|	error(_("%s: argument of type %s is not an environment or NULL"), \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	error(_("%s: argument of type %s is not an environment or NULL"), \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 4740|      0|	      __func__, sexptype2char(TYPEOF(x)))
  |  |  ------------------
  |  |  |  | 1989|      0|# define sexptype2char		Rf_sexptype2char
  |  |  ------------------
  |  |               	      __func__, sexptype2char(TYPEOF(x)))
  |  |  ------------------
  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  ------------------
              SEXP (ENCLOS)(SEXP x) { CHKENVSXP(x); return CHK(ENCLOS(CHK(x))); }
  ------------------
  |  |  533|  49.9M|#define ENCLOS(x)	((x)->u.envsxp.enclos)
  ------------------
HASHTAB:
 4746|   178M|SEXP (HASHTAB)(SEXP x) { CHKENVSXP(x); return CHK(HASHTAB(CHK(x))); }
  ------------------
  |  | 4738|   178M|    if (TYPEOF(x) != ENVSXP && x != R_NilValue)				\
  |  |  ------------------
  |  |  |  |  233|   178M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |                   if (TYPEOF(x) != ENVSXP && x != R_NilValue)				\
  |  |  ------------------
  |  |  |  |  115|   356M|#define ENVSXP	     4	  /* environments */
  |  |  ------------------
  |  |  |  Branch (4738:9): [True: 52, False: 178M]
  |  |  |  Branch (4738:32): [True: 0, False: 52]
  |  |  ------------------
  |  | 4739|   178M|	error(_("%s: argument of type %s is not an environment or NULL"), \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	error(_("%s: argument of type %s is not an environment or NULL"), \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 4740|      0|	      __func__, sexptype2char(TYPEOF(x)))
  |  |  ------------------
  |  |  |  | 1989|      0|# define sexptype2char		Rf_sexptype2char
  |  |  ------------------
  |  |               	      __func__, sexptype2char(TYPEOF(x)))
  |  |  ------------------
  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  ------------------
              SEXP (HASHTAB)(SEXP x) { CHKENVSXP(x); return CHK(HASHTAB(CHK(x))); }
  ------------------
  |  |  534|   178M|#define HASHTAB(x)	((x)->u.envsxp.hashtab)
  ------------------
ENVFLAGS:
 4748|  51.7M|int (ENVFLAGS)(SEXP x) { CHKENVSXP(x); return ENVFLAGS(CHK(x)); }
  ------------------
  |  | 4738|  51.7M|    if (TYPEOF(x) != ENVSXP && x != R_NilValue)				\
  |  |  ------------------
  |  |  |  |  233|  51.7M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |                   if (TYPEOF(x) != ENVSXP && x != R_NilValue)				\
  |  |  ------------------
  |  |  |  |  115|   103M|#define ENVSXP	     4	  /* environments */
  |  |  ------------------
  |  |  |  Branch (4738:9): [True: 0, False: 51.7M]
  |  |  |  Branch (4738:32): [True: 0, False: 0]
  |  |  ------------------
  |  | 4739|  51.7M|	error(_("%s: argument of type %s is not an environment or NULL"), \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	error(_("%s: argument of type %s is not an environment or NULL"), \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 4740|      0|	      __func__, sexptype2char(TYPEOF(x)))
  |  |  ------------------
  |  |  |  | 1989|      0|# define sexptype2char		Rf_sexptype2char
  |  |  ------------------
  |  |               	      __func__, sexptype2char(TYPEOF(x)))
  |  |  ------------------
  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  ------------------
              int (ENVFLAGS)(SEXP x) { CHKENVSXP(x); return ENVFLAGS(CHK(x)); }
  ------------------
  |  |  535|  51.7M|#define ENVFLAGS(x)	((x)->sxpinfo.gp)	/* for environments */
  ------------------
SET_FRAME:
 4752|  25.3M|void (SET_FRAME)(SEXP x, SEXP v) { FIX_REFCNT(x, FRAME(x), v); CHECK_OLD_TO_NEW(x, v); FRAME(x) = v; }
  ------------------
  |  | 1335|  25.3M|#define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
  |  |  ------------------
  |  |  |  | 1319|  25.3M|#define FIX_REFCNT_EX(x, old, new, chkpnd) do {				\
  |  |  |  | 1320|  25.3M|	SEXP __x__ = (x);						\
  |  |  |  | 1321|  25.3M|	if (TRACKREFS(__x__)) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  |  249|  25.3M|# define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|  25.3M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               # define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  114|  25.3M|#define CLOSXP	     3	  /* closures */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (249:23): [True: 25.3M, False: 0]
  |  |  |  |  |  |  |  Branch (249:24): [True: 0, False: 25.3M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1322|  25.3M|	    SEXP __old__ = (old);					\
  |  |  |  | 1323|  25.3M|	    SEXP __new__ = (new);					\
  |  |  |  | 1324|  25.3M|	    if (__old__ != __new__) {					\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1324:10): [True: 25.3M, False: 2.94k]
  |  |  |  |  ------------------
  |  |  |  | 1325|  25.3M|		if (__old__) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1325:7): [True: 25.3M, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1326|  25.3M|		    if ((chkpnd) && ASSIGNMENT_PENDING(__x__))		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  321|      0|#define ASSIGNMENT_PENDING(x) ((x)->sxpinfo.gp & ASSIGNMENT_PENDING_MASK)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (321:31): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1326:11): [Folded, False: 25.3M]
  |  |  |  |  ------------------
  |  |  |  | 1327|  25.3M|			SET_ASSIGNMENT_PENDING(__x__, FALSE);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  322|      0|#define SET_ASSIGNMENT_PENDING(x, v) do {			\
  |  |  |  |  |  |  323|      0|	if (v) (((x)->sxpinfo.gp) |= ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (323:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  324|      0|	else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  325|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (325:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1328|  25.3M|		    else						\
  |  |  |  | 1329|  25.3M|			DECREMENT_REFCNT(__old__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  262|  25.3M|# define DECREMENT_REFCNT(x) do {					\
  |  |  |  |  |  |  263|  25.3M|	SEXP drc__x__ = (x);						\
  |  |  |  |  |  |  264|  25.3M|	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  25.3M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  25.3M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|  25.3M|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|  25.3M|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (264:6): [True: 25.3M, False: 0]
  |  |  |  |  |  |  |  Branch (264:30): [True: 25.3M, False: 35]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  265|  25.3M|	    SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1);			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|  25.3M|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|  25.3M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  266|  25.3M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (266:14): [Folded, False: 25.3M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1330|  25.3M|		}							\
  |  |  |  | 1331|  25.3M|		if (__new__) INCREMENT_REFCNT(__new__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  267|  25.3M|# define INCREMENT_REFCNT(x) do {			      \
  |  |  |  |  |  |  268|  25.3M|	SEXP irc__x__ = (x);				      \
  |  |  |  |  |  |  269|  25.3M|	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  25.3M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|  25.3M|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|  25.3M|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (269:6): [True: 25.3M, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  270|  25.3M|	    SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1);	      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|  25.3M|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|  25.3M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  271|  25.3M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (271:14): [Folded, False: 25.3M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1331:7): [True: 25.3M, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1332|  25.3M|	    }								\
  |  |  |  | 1333|  25.3M|	}								\
  |  |  |  | 1334|  25.3M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1334:14): [Folded, False: 25.3M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              void (SET_FRAME)(SEXP x, SEXP v) { FIX_REFCNT(x, FRAME(x), v); CHECK_OLD_TO_NEW(x, v); FRAME(x) = v; }
  ------------------
  |  | 1350|  25.3M|#define CHECK_OLD_TO_NEW(x,y) do { \
  |  | 1351|  25.3M|  if (NODE_IS_OLDER(CHK(x), CHK(y))) old_to_new(x,y);  } while (0)
  |  |  ------------------
  |  |  |  |  565|  25.3M|    (NODE_IS_MARKED(x) && (y) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|  50.6M|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|  25.3M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (268:27): [True: 1.91k, False: 25.3M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (565:27): [True: 1.91k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  566|  25.3M|   (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|  3.83k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|  1.91k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|      8|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|      8|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (566:5): [True: 1.90k, False: 8]
  |  |  |  |  |  Branch (566:28): [True: 0, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1351:65): [Folded, False: 25.3M]
  |  |  ------------------
  ------------------
              void (SET_FRAME)(SEXP x, SEXP v) { FIX_REFCNT(x, FRAME(x), v); CHECK_OLD_TO_NEW(x, v); FRAME(x) = v; }
  ------------------
  |  |  532|  25.3M|#define FRAME(x)	((x)->u.envsxp.frame)
  ------------------
SET_ENCLOS:
 4756|  7.51M|{
 4757|  7.51M|    if (v == R_NilValue)
  ------------------
  |  Branch (4757:9): [True: 0, False: 7.51M]
  ------------------
 4758|       |	/* mainly to handle unserializing old files */
 4759|      0|	v = R_EmptyEnv;
 4760|  7.51M|    if (TYPEOF(v) != ENVSXP)
  ------------------
  |  |  233|  7.51M|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
                  if (TYPEOF(v) != ENVSXP)
  ------------------
  |  |  115|  7.51M|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (4760:9): [True: 0, False: 7.51M]
  ------------------
 4761|      0|	error(_("'parent' is not an environment"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'parent' is not an environment"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4762|  15.0M|    for (SEXP e = v; e != R_NilValue; e = ENCLOS(e))
  ------------------
  |  |  533|  7.51M|#define ENCLOS(x)	((x)->u.envsxp.enclos)
  ------------------
  |  Branch (4762:22): [True: 7.51M, False: 7.51M]
  ------------------
 4763|  7.51M|	if (e == x)
  ------------------
  |  Branch (4763:6): [True: 0, False: 7.51M]
  ------------------
 4764|      0|	    error(_("cycles in parent chains are not allowed"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("cycles in parent chains are not allowed"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4765|  7.51M|    FIX_REFCNT(x, ENCLOS(x), v);
  ------------------
  |  | 1335|  7.51M|#define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
  |  |  ------------------
  |  |  |  | 1319|  7.51M|#define FIX_REFCNT_EX(x, old, new, chkpnd) do {				\
  |  |  |  | 1320|  7.51M|	SEXP __x__ = (x);						\
  |  |  |  | 1321|  7.51M|	if (TRACKREFS(__x__)) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  |  249|  7.51M|# define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|  7.51M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               # define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  114|  7.51M|#define CLOSXP	     3	  /* closures */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (249:23): [True: 7.51M, False: 0]
  |  |  |  |  |  |  |  Branch (249:24): [True: 0, False: 7.51M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1322|  7.51M|	    SEXP __old__ = (old);					\
  |  |  |  | 1323|  7.51M|	    SEXP __new__ = (new);					\
  |  |  |  | 1324|  7.51M|	    if (__old__ != __new__) {					\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1324:10): [True: 7.51M, False: 16]
  |  |  |  |  ------------------
  |  |  |  | 1325|  7.51M|		if (__old__) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1325:7): [True: 7.51M, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1326|  7.51M|		    if ((chkpnd) && ASSIGNMENT_PENDING(__x__))		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  321|      0|#define ASSIGNMENT_PENDING(x) ((x)->sxpinfo.gp & ASSIGNMENT_PENDING_MASK)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (321:31): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1326:11): [Folded, False: 7.51M]
  |  |  |  |  ------------------
  |  |  |  | 1327|  7.51M|			SET_ASSIGNMENT_PENDING(__x__, FALSE);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  322|      0|#define SET_ASSIGNMENT_PENDING(x, v) do {			\
  |  |  |  |  |  |  323|      0|	if (v) (((x)->sxpinfo.gp) |= ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (323:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  324|      0|	else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  325|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (325:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1328|  7.51M|		    else						\
  |  |  |  | 1329|  7.51M|			DECREMENT_REFCNT(__old__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  262|  7.51M|# define DECREMENT_REFCNT(x) do {					\
  |  |  |  |  |  |  263|  7.51M|	SEXP drc__x__ = (x);						\
  |  |  |  |  |  |  264|  7.51M|	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  7.51M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  7.51M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|  7.51M|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|  7.51M|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (264:6): [True: 7.51M, False: 0]
  |  |  |  |  |  |  |  Branch (264:30): [True: 3.19M, False: 4.32M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  265|  7.51M|	    SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1);			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|  3.19M|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|  3.19M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  266|  7.51M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (266:14): [Folded, False: 7.51M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1330|  7.51M|		}							\
  |  |  |  | 1331|  7.51M|		if (__new__) INCREMENT_REFCNT(__new__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  267|  7.51M|# define INCREMENT_REFCNT(x) do {			      \
  |  |  |  |  |  |  268|  7.51M|	SEXP irc__x__ = (x);				      \
  |  |  |  |  |  |  269|  7.51M|	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  7.51M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|  7.51M|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|  7.51M|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (269:6): [True: 84.5k, False: 7.43M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  270|  7.51M|	    SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1);	      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|  84.5k|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|  84.5k|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  271|  7.51M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (271:14): [Folded, False: 7.51M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1331:7): [True: 7.51M, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1332|  7.51M|	    }								\
  |  |  |  | 1333|  7.51M|	}								\
  |  |  |  | 1334|  7.51M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1334:14): [Folded, False: 7.51M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4766|  7.51M|    CHECK_OLD_TO_NEW(x, v);
  ------------------
  |  | 1350|  7.51M|#define CHECK_OLD_TO_NEW(x,y) do { \
  |  | 1351|  7.51M|  if (NODE_IS_OLDER(CHK(x), CHK(y))) old_to_new(x,y);  } while (0)
  |  |  ------------------
  |  |  |  |  565|  7.51M|    (NODE_IS_MARKED(x) && (y) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|  15.0M|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|  7.51M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (268:27): [True: 1.06k, False: 7.51M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (565:27): [True: 1.06k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  566|  7.51M|   (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|  2.13k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|  1.06k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|  1.05k|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|  1.05k|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (566:5): [True: 8, False: 1.05k]
  |  |  |  |  |  Branch (566:28): [True: 0, False: 1.05k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1351:65): [Folded, False: 7.51M]
  |  |  ------------------
  ------------------
 4767|  7.51M|    ENCLOS(x) = v;
  ------------------
  |  |  533|  7.51M|#define ENCLOS(x)	((x)->u.envsxp.enclos)
  ------------------
 4768|  7.51M|}
SET_HASHTAB:
 4770|  1.35k|void (SET_HASHTAB)(SEXP x, SEXP v) { FIX_REFCNT(x, HASHTAB(x), v); CHECK_OLD_TO_NEW(x, v); HASHTAB(x) = v; }
  ------------------
  |  | 1335|  1.35k|#define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
  |  |  ------------------
  |  |  |  | 1319|  1.35k|#define FIX_REFCNT_EX(x, old, new, chkpnd) do {				\
  |  |  |  | 1320|  1.35k|	SEXP __x__ = (x);						\
  |  |  |  | 1321|  1.35k|	if (TRACKREFS(__x__)) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  |  249|  1.35k|# define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|  1.35k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               # define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  114|  1.35k|#define CLOSXP	     3	  /* closures */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (249:23): [True: 1.35k, False: 0]
  |  |  |  |  |  |  |  Branch (249:24): [True: 0, False: 1.35k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1322|  1.35k|	    SEXP __old__ = (old);					\
  |  |  |  | 1323|  1.35k|	    SEXP __new__ = (new);					\
  |  |  |  | 1324|  1.35k|	    if (__old__ != __new__) {					\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1324:10): [True: 1.35k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1325|  1.35k|		if (__old__) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1325:7): [True: 1.35k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1326|  1.35k|		    if ((chkpnd) && ASSIGNMENT_PENDING(__x__))		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  321|      0|#define ASSIGNMENT_PENDING(x) ((x)->sxpinfo.gp & ASSIGNMENT_PENDING_MASK)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (321:31): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1326:11): [Folded, False: 1.35k]
  |  |  |  |  ------------------
  |  |  |  | 1327|  1.35k|			SET_ASSIGNMENT_PENDING(__x__, FALSE);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  322|      0|#define SET_ASSIGNMENT_PENDING(x, v) do {			\
  |  |  |  |  |  |  323|      0|	if (v) (((x)->sxpinfo.gp) |= ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (323:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  324|      0|	else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  325|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (325:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1328|  1.35k|		    else						\
  |  |  |  | 1329|  1.35k|			DECREMENT_REFCNT(__old__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  262|  1.35k|# define DECREMENT_REFCNT(x) do {					\
  |  |  |  |  |  |  263|  1.35k|	SEXP drc__x__ = (x);						\
  |  |  |  |  |  |  264|  1.35k|	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  1.35k|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  1.35k|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|  1.35k|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|  1.35k|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (264:6): [True: 1.35k, False: 0]
  |  |  |  |  |  |  |  Branch (264:30): [True: 590, False: 762]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  265|  1.35k|	    SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1);			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|    590|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|    590|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  266|  1.35k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (266:14): [Folded, False: 1.35k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1330|  1.35k|		}							\
  |  |  |  | 1331|  1.35k|		if (__new__) INCREMENT_REFCNT(__new__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  267|  1.35k|# define INCREMENT_REFCNT(x) do {			      \
  |  |  |  |  |  |  268|  1.35k|	SEXP irc__x__ = (x);				      \
  |  |  |  |  |  |  269|  1.35k|	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  1.35k|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|  1.35k|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|  1.35k|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (269:6): [True: 1.35k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  270|  1.35k|	    SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1);	      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|  1.35k|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|  1.35k|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  271|  1.35k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (271:14): [Folded, False: 1.35k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1331:7): [True: 1.35k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1332|  1.35k|	    }								\
  |  |  |  | 1333|  1.35k|	}								\
  |  |  |  | 1334|  1.35k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1334:14): [Folded, False: 1.35k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              void (SET_HASHTAB)(SEXP x, SEXP v) { FIX_REFCNT(x, HASHTAB(x), v); CHECK_OLD_TO_NEW(x, v); HASHTAB(x) = v; }
  ------------------
  |  | 1350|  1.35k|#define CHECK_OLD_TO_NEW(x,y) do { \
  |  | 1351|  1.35k|  if (NODE_IS_OLDER(CHK(x), CHK(y))) old_to_new(x,y);  } while (0)
  |  |  ------------------
  |  |  |  |  565|  1.35k|    (NODE_IS_MARKED(x) && (y) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|  2.70k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|  1.35k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (268:27): [True: 30, False: 1.32k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (565:27): [True: 30, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  566|  1.35k|   (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|     60|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|     30|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (566:5): [True: 30, False: 0]
  |  |  |  |  |  Branch (566:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1351:65): [Folded, False: 1.35k]
  |  |  ------------------
  ------------------
              void (SET_HASHTAB)(SEXP x, SEXP v) { FIX_REFCNT(x, HASHTAB(x), v); CHECK_OLD_TO_NEW(x, v); HASHTAB(x) = v; }
  ------------------
  |  |  534|  1.35k|#define HASHTAB(x)	((x)->u.envsxp.hashtab)
  ------------------
SET_ENVFLAGS:
 4772|     64|void (SET_ENVFLAGS)(SEXP x, int v) { SET_ENVFLAGS(x, v); }
  ------------------
  |  |  536|     64|#define SET_ENVFLAGS(x,v)	(((x)->sxpinfo.gp)=(v))
  ------------------
PRCODE:
 4775|  38.4M|SEXP (PRCODE)(SEXP x) { return CHK(PRCODE(CHK(x))); }
  ------------------
  |  | 1264|  38.4M|#define PRCODE(x)	((x)->u.promsxp.expr)
  ------------------
PRENV:
 4776|  25.5M|SEXP (PRENV)(SEXP x) { return CHK(PRENV(CHK(x))); }
  ------------------
  |  | 1265|  25.5M|#define PRENV(x)	((x)->u.promsxp.env)
  ------------------
PRVALUE:
 4777|  31.0M|SEXP (PRVALUE)(SEXP x) { return CHK(PRVALUE(CHK(x))); }
  ------------------
  |  | 1271|  31.0M|    (PROMISE_TAG(x) ? R_expand_promise_value(x) : PRVALUE0(x))
  |  |  ------------------
  |  |  |  | 1274|  31.0M|# define PROMISE_TAG(x)  BNDCELL_TAG(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  463|  31.0M|#define BNDCELL_TAG(e)	((e)->sxpinfo.extra)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (463:24): [True: 0, False: 31.0M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PROMISE_TAG(x) ? R_expand_promise_value(x) : PRVALUE0(x))
  |  |  ------------------
  |  |  |  | 1269|  31.0M|# define PRVALUE0(x) ((x)->u.promsxp.value)
  |  |  ------------------
  ------------------
PRSEEN:
 4778|  28.7M|attribute_hidden int (PRSEEN)(SEXP x) { return PRSEEN(CHK(x)); }
  ------------------
  |  | 1266|  28.7M|#define PRSEEN(x)	((x)->sxpinfo.gp)
  ------------------
PROMISE_IS_EVALUATED:
 4781|  76.8M|{
 4782|  76.8M|    x = CHK(x);
 4783|  76.8M|    return PROMISE_IS_EVALUATED(x);
  ------------------
  |  | 1273|  76.8M|    (PROMISE_TAG(x) || PRVALUE0(x) != R_UnboundValue)
  |  |  ------------------
  |  |  |  | 1274|  76.8M|# define PROMISE_TAG(x)  BNDCELL_TAG(x)
  |  |  |  |  ------------------
  |  |  |  |  |  |  463|   153M|#define BNDCELL_TAG(e)	((e)->sxpinfo.extra)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (463:24): [True: 750, False: 76.8M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PROMISE_TAG(x) || PRVALUE0(x) != R_UnboundValue)
  |  |  ------------------
  |  |  |  | 1269|  76.8M|# define PRVALUE0(x) ((x)->u.promsxp.value)
  |  |  ------------------
  |  |  |  Branch (1273:24): [True: 19.2M, False: 57.5M]
  |  |  ------------------
  ------------------
 4784|  76.8M|}
SET_PRENV:
 4786|  33.1M|void (SET_PRENV)(SEXP x, SEXP v){ FIX_REFCNT(x, PRENV(x), v); CHECK_OLD_TO_NEW(x, v); PRENV(x) = v; }
  ------------------
  |  | 1335|  33.1M|#define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
  |  |  ------------------
  |  |  |  | 1319|  33.1M|#define FIX_REFCNT_EX(x, old, new, chkpnd) do {				\
  |  |  |  | 1320|  33.1M|	SEXP __x__ = (x);						\
  |  |  |  | 1321|  33.1M|	if (TRACKREFS(__x__)) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  |  249|  33.1M|# define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|  33.1M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               # define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  114|  33.1M|#define CLOSXP	     3	  /* closures */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (249:23): [True: 33.1M, False: 0]
  |  |  |  |  |  |  |  Branch (249:24): [True: 0, False: 33.1M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1322|  33.1M|	    SEXP __old__ = (old);					\
  |  |  |  | 1323|  33.1M|	    SEXP __new__ = (new);					\
  |  |  |  | 1324|  33.1M|	    if (__old__ != __new__) {					\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1324:10): [True: 26.6M, False: 6.57M]
  |  |  |  |  ------------------
  |  |  |  | 1325|  26.6M|		if (__old__) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1325:7): [True: 26.6M, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1326|  26.6M|		    if ((chkpnd) && ASSIGNMENT_PENDING(__x__))		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  321|      0|#define ASSIGNMENT_PENDING(x) ((x)->sxpinfo.gp & ASSIGNMENT_PENDING_MASK)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (321:31): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1326:11): [Folded, False: 26.6M]
  |  |  |  |  ------------------
  |  |  |  | 1327|  26.6M|			SET_ASSIGNMENT_PENDING(__x__, FALSE);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  322|      0|#define SET_ASSIGNMENT_PENDING(x, v) do {			\
  |  |  |  |  |  |  323|      0|	if (v) (((x)->sxpinfo.gp) |= ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (323:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  324|      0|	else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  325|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (325:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1328|  26.6M|		    else						\
  |  |  |  | 1329|  26.6M|			DECREMENT_REFCNT(__old__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  262|  26.6M|# define DECREMENT_REFCNT(x) do {					\
  |  |  |  |  |  |  263|  26.6M|	SEXP drc__x__ = (x);						\
  |  |  |  |  |  |  264|  26.6M|	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  26.6M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  26.6M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|  26.6M|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|  26.6M|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (264:6): [True: 26.6M, False: 0]
  |  |  |  |  |  |  |  Branch (264:30): [True: 26.6M, False: 6.84k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  265|  26.6M|	    SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1);			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|  26.6M|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|  26.6M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  266|  26.6M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (266:14): [Folded, False: 26.6M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1330|  26.6M|		}							\
  |  |  |  | 1331|  26.6M|		if (__new__) INCREMENT_REFCNT(__new__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  267|  26.6M|# define INCREMENT_REFCNT(x) do {			      \
  |  |  |  |  |  |  268|  26.6M|	SEXP irc__x__ = (x);				      \
  |  |  |  |  |  |  269|  26.6M|	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  26.6M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|  26.6M|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|  26.6M|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (269:6): [True: 118, False: 26.6M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  270|  26.6M|	    SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1);	      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|    118|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|    118|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  271|  26.6M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (271:14): [Folded, False: 26.6M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1331:7): [True: 26.6M, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1332|  26.6M|	    }								\
  |  |  |  | 1333|  33.1M|	}								\
  |  |  |  | 1334|  33.1M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1334:14): [Folded, False: 33.1M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              void (SET_PRENV)(SEXP x, SEXP v){ FIX_REFCNT(x, PRENV(x), v); CHECK_OLD_TO_NEW(x, v); PRENV(x) = v; }
  ------------------
  |  | 1350|  33.1M|#define CHECK_OLD_TO_NEW(x,y) do { \
  |  | 1351|  33.1M|  if (NODE_IS_OLDER(CHK(x), CHK(y))) old_to_new(x,y);  } while (0)
  |  |  ------------------
  |  |  |  |  565|  33.1M|    (NODE_IS_MARKED(x) && (y) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|  66.3M|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|  33.1M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (268:27): [True: 6.56k, False: 33.1M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (565:27): [True: 6.56k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  566|  33.1M|   (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|  13.1k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|  6.56k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|  6.56k|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|  6.56k|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (566:5): [True: 0, False: 6.56k]
  |  |  |  |  |  Branch (566:28): [True: 0, False: 6.56k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1351:65): [Folded, False: 33.1M]
  |  |  ------------------
  ------------------
              void (SET_PRENV)(SEXP x, SEXP v){ FIX_REFCNT(x, PRENV(x), v); CHECK_OLD_TO_NEW(x, v); PRENV(x) = v; }
  ------------------
  |  | 1265|  33.1M|#define PRENV(x)	((x)->u.promsxp.env)
  ------------------
SET_PRCODE:
 4787|  12.9M|void (SET_PRCODE)(SEXP x, SEXP v) { FIX_REFCNT(x, PRCODE(x), v); CHECK_OLD_TO_NEW(x, v); PRCODE(x) = v; }
  ------------------
  |  | 1335|  12.9M|#define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
  |  |  ------------------
  |  |  |  | 1319|  12.9M|#define FIX_REFCNT_EX(x, old, new, chkpnd) do {				\
  |  |  |  | 1320|  12.9M|	SEXP __x__ = (x);						\
  |  |  |  | 1321|  12.9M|	if (TRACKREFS(__x__)) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  |  249|  12.9M|# define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|  12.9M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               # define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  114|  12.9M|#define CLOSXP	     3	  /* closures */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (249:23): [True: 12.9M, False: 0]
  |  |  |  |  |  |  |  Branch (249:24): [True: 0, False: 12.9M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1322|  12.9M|	    SEXP __old__ = (old);					\
  |  |  |  | 1323|  12.9M|	    SEXP __new__ = (new);					\
  |  |  |  | 1324|  12.9M|	    if (__old__ != __new__) {					\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1324:10): [True: 11.8M, False: 1.05M]
  |  |  |  |  ------------------
  |  |  |  | 1325|  11.8M|		if (__old__) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1325:7): [True: 11.8M, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1326|  11.8M|		    if ((chkpnd) && ASSIGNMENT_PENDING(__x__))		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  321|      0|#define ASSIGNMENT_PENDING(x) ((x)->sxpinfo.gp & ASSIGNMENT_PENDING_MASK)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (321:31): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1326:11): [Folded, False: 11.8M]
  |  |  |  |  ------------------
  |  |  |  | 1327|  11.8M|			SET_ASSIGNMENT_PENDING(__x__, FALSE);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  322|      0|#define SET_ASSIGNMENT_PENDING(x, v) do {			\
  |  |  |  |  |  |  323|      0|	if (v) (((x)->sxpinfo.gp) |= ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (323:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  324|      0|	else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  325|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (325:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1328|  11.8M|		    else						\
  |  |  |  | 1329|  11.8M|			DECREMENT_REFCNT(__old__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  262|  11.8M|# define DECREMENT_REFCNT(x) do {					\
  |  |  |  |  |  |  263|  11.8M|	SEXP drc__x__ = (x);						\
  |  |  |  |  |  |  264|  11.8M|	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  11.8M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  11.8M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|  11.8M|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|  11.8M|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (264:6): [True: 11.8M, False: 0]
  |  |  |  |  |  |  |  Branch (264:30): [True: 9.82M, False: 2.03M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  265|  11.8M|	    SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1);			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|  9.82M|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|  9.82M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  266|  11.8M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (266:14): [Folded, False: 11.8M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1330|  11.8M|		}							\
  |  |  |  | 1331|  11.8M|		if (__new__) INCREMENT_REFCNT(__new__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  267|  11.8M|# define INCREMENT_REFCNT(x) do {			      \
  |  |  |  |  |  |  268|  11.8M|	SEXP irc__x__ = (x);				      \
  |  |  |  |  |  |  269|  11.8M|	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  11.8M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|  11.8M|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|  11.8M|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (269:6): [True: 0, False: 11.8M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  270|  11.8M|	    SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1);	      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|      0|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|      0|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  271|  11.8M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (271:14): [Folded, False: 11.8M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1331:7): [True: 11.8M, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1332|  11.8M|	    }								\
  |  |  |  | 1333|  12.9M|	}								\
  |  |  |  | 1334|  12.9M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1334:14): [Folded, False: 12.9M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              void (SET_PRCODE)(SEXP x, SEXP v) { FIX_REFCNT(x, PRCODE(x), v); CHECK_OLD_TO_NEW(x, v); PRCODE(x) = v; }
  ------------------
  |  | 1350|  12.9M|#define CHECK_OLD_TO_NEW(x,y) do { \
  |  | 1351|  12.9M|  if (NODE_IS_OLDER(CHK(x), CHK(y))) old_to_new(x,y);  } while (0)
  |  |  ------------------
  |  |  |  |  565|  12.9M|    (NODE_IS_MARKED(x) && (y) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|  25.8M|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|  12.9M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (268:27): [True: 2.11k, False: 12.9M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (565:27): [True: 2.11k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  566|  12.9M|   (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|  4.22k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|  2.11k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|  2.11k|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|  2.11k|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (566:5): [True: 0, False: 2.11k]
  |  |  |  |  |  Branch (566:28): [True: 0, False: 2.11k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1351:65): [Folded, False: 12.9M]
  |  |  ------------------
  ------------------
              void (SET_PRCODE)(SEXP x, SEXP v) { FIX_REFCNT(x, PRCODE(x), v); CHECK_OLD_TO_NEW(x, v); PRCODE(x) = v; }
  ------------------
  |  | 1264|  12.9M|#define PRCODE(x)	((x)->u.promsxp.expr)
  ------------------
SET_PRSEEN:
 4788|  42.6M|attribute_hidden void (SET_PRSEEN)(SEXP x, int v) { SET_PRSEEN(CHK(x), v); }
  ------------------
  |  | 1267|  42.6M|#define SET_PRSEEN(x,v)	(((x)->sxpinfo.gp)=(v))
  ------------------
SET_PRVALUE:
 4791|  37.4M|{
 4792|  37.4M|    if (TYPEOF(x) != PROMSXP)
  ------------------
  |  |  233|  37.4M|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
                  if (TYPEOF(x) != PROMSXP)
  ------------------
  |  |  116|  37.4M|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (4792:9): [True: 0, False: 37.4M]
  ------------------
 4793|      0|	error("expecting a 'PROMSXP', not a '%s'", R_typeToChar(x));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 4794|  37.4M|#ifdef IMMEDIATE_PROMISE_VALUES
 4795|  37.4M|    if (PROMISE_TAG(x)) {
  ------------------
  |  | 1274|  37.4M|# define PROMISE_TAG(x)  BNDCELL_TAG(x)
  |  |  ------------------
  |  |  |  |  463|  37.4M|#define BNDCELL_TAG(e)	((e)->sxpinfo.extra)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (463:24): [True: 45, False: 37.4M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4796|     45|	SET_PROMISE_TAG(x, 0);
  ------------------
  |  | 1275|     45|# define SET_PROMISE_TAG(x, v) SET_BNDCELL_TAG(x, v)
  |  |  ------------------
  |  |  |  |  464|     45|#define SET_BNDCELL_TAG(e, v) ((e)->sxpinfo.extra = (v))
  |  |  ------------------
  ------------------
 4797|     45|	PRVALUE0(x) = R_UnboundValue;
  ------------------
  |  | 1269|     45|# define PRVALUE0(x) ((x)->u.promsxp.value)
  ------------------
 4798|     45|    }
 4799|  37.4M|#endif
 4800|  37.4M|    FIX_REFCNT(x, PRVALUE0(x), v);
  ------------------
  |  | 1335|  37.4M|#define FIX_REFCNT(x, old, new) FIX_REFCNT_EX(x, old, new, FALSE)
  |  |  ------------------
  |  |  |  | 1319|  37.4M|#define FIX_REFCNT_EX(x, old, new, chkpnd) do {				\
  |  |  |  | 1320|  37.4M|	SEXP __x__ = (x);						\
  |  |  |  | 1321|  37.4M|	if (TRACKREFS(__x__)) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  |  249|  37.4M|# define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|  37.4M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               # define TRACKREFS(x) (TYPEOF(x) == CLOSXP ? TRUE : ! (x)->sxpinfo.spare)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  114|  37.4M|#define CLOSXP	     3	  /* closures */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (249:23): [True: 35.3M, False: 2.09M]
  |  |  |  |  |  |  |  Branch (249:24): [True: 0, False: 37.4M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1322|  35.3M|	    SEXP __old__ = (old);					\
  |  |  |  | 1323|  35.3M|	    SEXP __new__ = (new);					\
  |  |  |  | 1324|  35.3M|	    if (__old__ != __new__) {					\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1324:10): [True: 31.0M, False: 4.23M]
  |  |  |  |  ------------------
  |  |  |  | 1325|  31.0M|		if (__old__) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1325:7): [True: 31.0M, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1326|  31.0M|		    if ((chkpnd) && ASSIGNMENT_PENDING(__x__))		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  321|      0|#define ASSIGNMENT_PENDING(x) ((x)->sxpinfo.gp & ASSIGNMENT_PENDING_MASK)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (321:31): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1326:11): [Folded, False: 31.0M]
  |  |  |  |  ------------------
  |  |  |  | 1327|  31.0M|			SET_ASSIGNMENT_PENDING(__x__, FALSE);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  322|      0|#define SET_ASSIGNMENT_PENDING(x, v) do {			\
  |  |  |  |  |  |  323|      0|	if (v) (((x)->sxpinfo.gp) |= ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (323:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  324|      0|	else (((x)->sxpinfo.gp) &= ~ASSIGNMENT_PENDING_MASK);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  320|      0|#define ASSIGNMENT_PENDING_MASK (1 << 11)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  325|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (325:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1328|  31.0M|		    else						\
  |  |  |  | 1329|  31.0M|			DECREMENT_REFCNT(__old__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  262|  31.0M|# define DECREMENT_REFCNT(x) do {					\
  |  |  |  |  |  |  263|  31.0M|	SEXP drc__x__ = (x);						\
  |  |  |  |  |  |  264|  31.0M|	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  31.0M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  31.0M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(drc__x__) > 0 && REFCNT(drc__x__) < REFCNTMAX)	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|  31.0M|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|  31.0M|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (264:6): [True: 31.0M, False: 0]
  |  |  |  |  |  |  |  Branch (264:30): [True: 5.59M, False: 25.4M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  265|  31.0M|	    SET_REFCNT(drc__x__, REFCNT(drc__x__) - 1);			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|  5.59M|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|  5.59M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  266|  31.0M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (266:14): [Folded, False: 31.0M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1330|  31.0M|		}							\
  |  |  |  | 1331|  31.0M|		if (__new__) INCREMENT_REFCNT(__new__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  267|  31.0M|# define INCREMENT_REFCNT(x) do {			      \
  |  |  |  |  |  |  268|  31.0M|	SEXP irc__x__ = (x);				      \
  |  |  |  |  |  |  269|  31.0M|	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  31.0M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	if (REFCNT(irc__x__) < REFCNTMAX)		      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  195|  31.0M|# define REFCNTMAX ((1 << NAMED_BITS) - 1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  126|  31.0M|#define NAMED_BITS 16
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (269:6): [True: 13.1M, False: 17.9M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  270|  31.0M|	    SET_REFCNT(irc__x__, REFCNT(irc__x__) + 1);	      \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  256|  13.1M|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  248|  13.1M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  271|  31.0M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (271:14): [Folded, False: 31.0M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1331:7): [True: 31.0M, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1332|  31.0M|	    }								\
  |  |  |  | 1333|  35.3M|	}								\
  |  |  |  | 1334|  37.4M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1334:14): [Folded, False: 37.4M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4801|  37.4M|    CHECK_OLD_TO_NEW(x, v);
  ------------------
  |  | 1350|  37.4M|#define CHECK_OLD_TO_NEW(x,y) do { \
  |  | 1351|  37.4M|  if (NODE_IS_OLDER(CHK(x), CHK(y))) old_to_new(x,y);  } while (0)
  |  |  ------------------
  |  |  |  |  565|  37.4M|    (NODE_IS_MARKED(x) && (y) && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|  74.8M|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|  37.4M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (268:27): [True: 6.58k, False: 37.3M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (565:27): [True: 6.58k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  566|  37.4M|   (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|  13.1k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|  6.58k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|  5.91k|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |                  (! NODE_IS_MARKED(y) || NODE_GENERATION(x) > NODE_GENERATION(y)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|  5.91k|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (566:5): [True: 667, False: 5.91k]
  |  |  |  |  |  Branch (566:28): [True: 315, False: 5.60k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1351:65): [Folded, False: 37.4M]
  |  |  ------------------
  ------------------
 4802|  37.4M|    PRVALUE0(x) = v;
  ------------------
  |  | 1269|  37.4M|# define PRVALUE0(x) ((x)->u.promsxp.value)
  ------------------
 4803|  37.4M|}
IF_PROMSXP_SET_PRVALUE:
 4807|  2.10M|{
 4808|       |    /* promiseArgs produces a list containing promises or R_MissingArg.
 4809|       |       Using IF_PROMSXP_SET_PRVALUE avoids corrupting R_MissingArg. */
 4810|  2.10M|    if (TYPEOF(x) == PROMSXP)
  ------------------
  |  |  233|  2.10M|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
                  if (TYPEOF(x) == PROMSXP)
  ------------------
  |  |  116|  2.10M|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (4810:9): [True: 2.10M, False: 0]
  ------------------
 4811|  2.10M|        SET_PRVALUE(x, v);
 4812|  2.10M|}
HASHASH:
 4817|  14.0M|int (HASHASH)(SEXP x) { return HASHASH(CHK(x)); }
  ------------------
  |  | 1284|  14.0M|#define HASHASH(x)      ((x)->sxpinfo.gp & HASHASH_MASK)
  |  |  ------------------
  |  |  |  |  940|  14.0M|#define HASHASH_MASK 1
  |  |  ------------------
  ------------------
HASHVALUE:
 4819|  14.0M|int (HASHVALUE)(SEXP x) { return HASHVALUE(CHK(x)); }
  ------------------
  |  | 1285|  14.0M|#define HASHVALUE(x)    ((int) TRUELENGTH(x))
  |  |  ------------------
  |  |  |  |  404|  14.0M|#define TRUELENGTH(x) XTRUELENGTH(x)
  |  |  ------------------
  ------------------
SET_HASHASH:
 4822|  14.3k|void (SET_HASHASH)(SEXP x, int v) { SET_HASHASH(CHK(x), v); }
  ------------------
  |  | 1286|  14.3k|#define SET_HASHASH(x,v) ((v) ? (((x)->sxpinfo.gp) |= HASHASH_MASK) : \
  |  |  ------------------
  |  |  |  |  940|  14.3k|#define HASHASH_MASK 1
  |  |  ------------------
  |  |  |  Branch (1286:27): [True: 14.3k, False: 0]
  |  |  ------------------
  |  | 1287|  14.3k|			  (((x)->sxpinfo.gp) &= (~HASHASH_MASK)))
  |  |  ------------------
  |  |  |  |  940|      0|#define HASHASH_MASK 1
  |  |  ------------------
  ------------------
SET_HASHVALUE:
 4824|  14.3k|void (SET_HASHVALUE)(SEXP x, int v) { SET_HASHVALUE(CHK(x), v); }
  ------------------
  |  | 1288|  14.3k|#define SET_HASHVALUE(x,v) SET_TRUELENGTH(x, ((int) (v)))
  |  |  ------------------
  |  |  |  |  395|  14.3k|#define SET_TRUELENGTH(x,v) do {				\
  |  |  |  |  396|  14.3k|	SEXP sl__x__ = (x);					\
  |  |  |  |  397|  14.3k|	R_xlen_t sl__v__ = (v);					\
  |  |  |  |  398|  14.3k|	if (ALTREP(x)) error("can't set ALTREP truelength");	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  242|  14.3k|#define ALTREP(x)       ((x)->sxpinfo.alt)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (242:25): [True: 0, False: 14.3k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               	if (ALTREP(x)) error("can't set ALTREP truelength");	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  ------------------
  |  |  |  |  399|  14.3k|	SET_STDVEC_TRUELENGTH(sl__x__, sl__v__);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  394|  14.3k|#define SET_STDVEC_TRUELENGTH(x, v) (STDVEC_TRUELENGTH(x)=(v))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  393|  14.3k|#define STDVEC_TRUELENGTH(x) (((VECSEXP) (x))->vecsxp.truelength)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  400|  14.3k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (400:14): [Folded, False: 14.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
SET_CXTAIL:
 4828|  69.4k|SEXP (SET_CXTAIL)(SEXP x, SEXP v) {
 4829|       |#ifdef USE_TYPE_CHECKING
 4830|       |    if(TYPEOF(v) != CHARSXP && TYPEOF(v) != NILSXP)
 4831|       |	error("value of 'SET_CXTAIL' must be a char or NULL, not a '%s'",
 4832|       |	      R_typeToChar(v));
 4833|       |#endif
 4834|       |    /*CHECK_OLD_TO_NEW(x, v); *//* not needed since not properly traced */
 4835|  69.4k|    ATTRIB(x) = v;
  ------------------
  |  |  230|  69.4k|#define ATTRIB(x)	((x)->attrib)
  ------------------
 4836|  69.4k|    return x;
 4837|  69.4k|}
Rf_isNull:
 4840|  40.1M|Rboolean Rf_isNull(SEXP s) { return isNull(CHK(s)); }
  ------------------
  |  |  860|  40.1M|#define isNull(s)	(TYPEOF(s) == NILSXP)
  |  |  ------------------
  |  |  |  |  233|  40.1M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |               #define isNull(s)	(TYPEOF(s) == NILSXP)
  |  |  ------------------
  |  |  |  |  111|  40.1M|#define NILSXP	     0	  /* nil = NULL */
  |  |  ------------------
  ------------------
Rf_isSymbol:
 4841|  66.7M|Rboolean Rf_isSymbol(SEXP s) { return isSymbol(CHK(s)); }
  ------------------
  |  |  862|  66.7M|#define isSymbol(s)	(TYPEOF(s) == SYMSXP)
  |  |  ------------------
  |  |  |  |  233|  66.7M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |               #define isSymbol(s)	(TYPEOF(s) == SYMSXP)
  |  |  ------------------
  |  |  |  |  112|  66.7M|#define SYMSXP	     1	  /* symbols */
  |  |  ------------------
  ------------------
Rf_isLogical:
 4842|  35.9k|Rboolean Rf_isLogical(SEXP s) { return isLogical(CHK(s)); }
  ------------------
  |  |  864|  35.9k|#define isLogical(s)	(TYPEOF(s) == LGLSXP)
  |  |  ------------------
  |  |  |  |  233|  35.9k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |               #define isLogical(s)	(TYPEOF(s) == LGLSXP)
  |  |  ------------------
  |  |  |  |  121|  35.9k|#define LGLSXP	    10	  /* logical vectors */
  |  |  ------------------
  ------------------
Rf_isReal:
 4843|    219|Rboolean Rf_isReal(SEXP s) { return isReal(CHK(s)); }
  ------------------
  |  |  866|    219|#define isReal(s)	(TYPEOF(s) == REALSXP)
  |  |  ------------------
  |  |  |  |  233|    219|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |               #define isReal(s)	(TYPEOF(s) == REALSXP)
  |  |  ------------------
  |  |  |  |  124|    219|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  ------------------
Rf_isComplex:
 4844|  14.1k|Rboolean Rf_isComplex(SEXP s) { return isComplex(CHK(s)); }
  ------------------
  |  |  868|  14.1k|#define isComplex(s)	(TYPEOF(s) == CPLXSXP)
  |  |  ------------------
  |  |  |  |  233|  14.1k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |               #define isComplex(s)	(TYPEOF(s) == CPLXSXP)
  |  |  ------------------
  |  |  |  |  125|  14.1k|#define CPLXSXP	    15	  /* complex variables */
  |  |  ------------------
  ------------------
Rf_isExpression:
 4845|  2.09M|Rboolean Rf_isExpression(SEXP s) { return isExpression(CHK(s)); }
  ------------------
  |  |  870|  2.09M|#define isExpression(s) (TYPEOF(s) == EXPRSXP)
  |  |  ------------------
  |  |  |  |  233|  2.09M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |               #define isExpression(s) (TYPEOF(s) == EXPRSXP)
  |  |  ------------------
  |  |  |  |  132|  2.09M|#define EXPRSXP	    20	  /* expressions vectors */
  |  |  ------------------
  ------------------
Rf_isEnvironment:
 4846|  40.5M|Rboolean Rf_isEnvironment(SEXP s) { return isEnvironment(CHK(s)); }
  ------------------
  |  |  872|  40.5M|#define isEnvironment(s) (TYPEOF(s) == ENVSXP)
  |  |  ------------------
  |  |  |  |  233|  40.5M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |               #define isEnvironment(s) (TYPEOF(s) == ENVSXP)
  |  |  ------------------
  |  |  |  |  115|  40.5M|#define ENVSXP	     4	  /* environments */
  |  |  ------------------
  ------------------
Rf_isString:
 4847|  12.8M|Rboolean Rf_isString(SEXP s) { return isString(CHK(s)); }
  ------------------
  |  |  874|  12.8M|#define isString(s)	(TYPEOF(s) == STRSXP)
  |  |  ------------------
  |  |  |  |  233|  12.8M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |               #define isString(s)	(TYPEOF(s) == STRSXP)
  |  |  ------------------
  |  |  |  |  126|  12.8M|#define STRSXP	    16	  /* string vectors */
  |  |  ------------------
  ------------------
Rf_isObject:
 4848|  30.8M|Rboolean Rf_isObject(SEXP s) { return isObject(CHK(s)); }
  ------------------
  |  |  876|  30.8M|#define isObject(s)	(OBJECT(s) != 0)
  |  |  ------------------
  |  |  |  |  231|  30.8M|#define OBJECT(x)	((x)->sxpinfo.obj)
  |  |  ------------------
  ------------------
IS_ACTIVE_BINDING:
 4852|   129M|(IS_ACTIVE_BINDING)(SEXP b) {return (Rboolean) IS_ACTIVE_BINDING(CHK(b));}
  ------------------
  |  | 1311|   129M|#define IS_ACTIVE_BINDING(b) ((b)->sxpinfo.gp & ACTIVE_BINDING_MASK)
  |  |  ------------------
  |  |  |  | 1308|   129M|#define ACTIVE_BINDING_MASK (1<<15)
  |  |  ------------------
  ------------------
BINDING_IS_LOCKED:
 4854|  32.7M|(BINDING_IS_LOCKED)(SEXP b) {return (Rboolean) BINDING_IS_LOCKED(CHK(b));}
  ------------------
  |  | 1312|  32.7M|#define BINDING_IS_LOCKED(b) ((b)->sxpinfo.gp & BINDING_LOCK_MASK)
  |  |  ------------------
  |  |  |  | 1309|  32.7M|#define BINDING_LOCK_MASK (1<<14)
  |  |  ------------------
  ------------------
SET_ACTIVE_BINDING_BIT:
 4856|      4|(SET_ACTIVE_BINDING_BIT)(SEXP b) {SET_ACTIVE_BINDING_BIT(CHK(b));}
  ------------------
  |  | 1313|      4|#define SET_ACTIVE_BINDING_BIT(b) ((b)->sxpinfo.gp |= ACTIVE_BINDING_MASK)
  |  |  ------------------
  |  |  |  | 1308|      4|#define ACTIVE_BINDING_MASK (1<<15)
  |  |  ------------------
  ------------------
LOCK_BINDING:
 4857|  17.1k|attribute_hidden void (LOCK_BINDING)(SEXP b) {LOCK_BINDING(CHK(b));}
  ------------------
  |  | 1314|  17.1k|#define LOCK_BINDING(b) do {						\
  |  | 1315|  17.1k|	SEXP lb__b__ = b;						\
  |  | 1316|  17.1k|	if (! IS_ACTIVE_BINDING(lb__b__)) {				\
  |  |  ------------------
  |  |  |  | 1311|  17.1k|#define IS_ACTIVE_BINDING(b) ((b)->sxpinfo.gp & ACTIVE_BINDING_MASK)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1308|  17.1k|#define ACTIVE_BINDING_MASK (1<<15)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1316:6): [True: 17.1k, False: 4]
  |  |  ------------------
  |  | 1317|  17.1k|	    if (TYPEOF(lb__b__) == SYMSXP)				\
  |  |  ------------------
  |  |  |  |  233|  17.1k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |               	    if (TYPEOF(lb__b__) == SYMSXP)				\
  |  |  ------------------
  |  |  |  |  112|  17.1k|#define SYMSXP	     1	  /* symbols */
  |  |  ------------------
  |  |  |  Branch (1317:10): [True: 2.83k, False: 14.2k]
  |  |  ------------------
  |  | 1318|  17.1k|		MARK_NOT_MUTABLE(SYMVALUE(lb__b__));			\
  |  |  ------------------
  |  |  |  |  283|  2.83k|# define MARK_NOT_MUTABLE(x) SET_REFCNT(x, REFCNTMAX)
  |  |  |  |  ------------------
  |  |  |  |  |  |  256|  2.83k|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  2.83k|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1319|  17.1k|	    else							\
  |  | 1320|  17.1k|		MARK_NOT_MUTABLE(CAR(lb__b__));				\
  |  |  ------------------
  |  |  |  |  283|  14.2k|# define MARK_NOT_MUTABLE(x) SET_REFCNT(x, REFCNTMAX)
  |  |  |  |  ------------------
  |  |  |  |  |  |  256|  14.2k|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  248|  14.2k|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1321|  17.1k|	}								\
  |  | 1322|  17.1k|	((lb__b__))->sxpinfo.gp |= BINDING_LOCK_MASK;			\
  |  |  ------------------
  |  |  |  | 1309|  17.1k|#define BINDING_LOCK_MASK (1<<14)
  |  |  ------------------
  |  | 1323|  17.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1323:14): [Folded, False: 17.1k]
  |  |  ------------------
  ------------------
UNLOCK_BINDING:
 4858|      6|attribute_hidden void (UNLOCK_BINDING)(SEXP b) {UNLOCK_BINDING(CHK(b));}
  ------------------
  |  | 1324|      6|#define UNLOCK_BINDING(b) ((b)->sxpinfo.gp &= (~BINDING_LOCK_MASK))
  |  |  ------------------
  |  |  |  | 1309|      6|#define BINDING_LOCK_MASK (1<<14)
  |  |  ------------------
  ------------------
SET_BASE_SYM_CACHED:
 4861|     59|void (SET_BASE_SYM_CACHED)(SEXP b) { SET_BASE_SYM_CACHED(CHK(b)); }
  ------------------
  |  | 1327|     59|#define SET_BASE_SYM_CACHED(b) ((b)->sxpinfo.gp |= BASE_SYM_CACHED_MASK)
  |  |  ------------------
  |  |  |  | 1326|     59|#define BASE_SYM_CACHED_MASK (1<<13)
  |  |  ------------------
  ------------------
UNSET_BASE_SYM_CACHED:
 4863|     24|void (UNSET_BASE_SYM_CACHED)(SEXP b) { UNSET_BASE_SYM_CACHED(CHK(b)); }
  ------------------
  |  | 1328|     24|#define UNSET_BASE_SYM_CACHED(b) ((b)->sxpinfo.gp &= (~BASE_SYM_CACHED_MASK))
  |  |  ------------------
  |  |  |  | 1326|     24|#define BASE_SYM_CACHED_MASK (1<<13)
  |  |  ------------------
  ------------------
BASE_SYM_CACHED:
 4865|  39.8k|Rboolean (BASE_SYM_CACHED)(SEXP b) { return (Rboolean) BASE_SYM_CACHED(CHK(b)); }
  ------------------
  |  | 1329|  39.8k|#define BASE_SYM_CACHED(b) ((b)->sxpinfo.gp & BASE_SYM_CACHED_MASK)
  |  |  ------------------
  |  |  |  | 1326|  39.8k|#define BASE_SYM_CACHED_MASK (1<<13)
  |  |  ------------------
  ------------------
SET_SPECIAL_SYMBOL:
 4868|     92|void (SET_SPECIAL_SYMBOL)(SEXP b) { SET_SPECIAL_SYMBOL(CHK(b)); }
  ------------------
  |  | 1332|     92|#define SET_SPECIAL_SYMBOL(b) ((b)->sxpinfo.gp |= SPECIAL_SYMBOL_MASK)
  |  |  ------------------
  |  |  |  | 1331|     92|#define SPECIAL_SYMBOL_MASK (1<<12)
  |  |  ------------------
  ------------------
IS_SPECIAL_SYMBOL:
 4872|  68.0M|Rboolean (IS_SPECIAL_SYMBOL)(SEXP b) { return (Rboolean) IS_SPECIAL_SYMBOL(CHK(b)); }
  ------------------
  |  | 1334|  68.0M|#define IS_SPECIAL_SYMBOL(b) ((b)->sxpinfo.gp & SPECIAL_SYMBOL_MASK)
  |  |  ------------------
  |  |  |  | 1331|  68.0M|#define SPECIAL_SYMBOL_MASK (1<<12)
  |  |  ------------------
  ------------------
SET_NO_SPECIAL_SYMBOLS:
 4874|  10.6M|void (SET_NO_SPECIAL_SYMBOLS)(SEXP b) { SET_NO_SPECIAL_SYMBOLS(CHK(b)); }
  ------------------
  |  | 1335|  10.6M|#define SET_NO_SPECIAL_SYMBOLS(b) ((b)->sxpinfo.gp |= SPECIAL_SYMBOL_MASK)
  |  |  ------------------
  |  |  |  | 1331|  10.6M|#define SPECIAL_SYMBOL_MASK (1<<12)
  |  |  ------------------
  ------------------
UNSET_NO_SPECIAL_SYMBOLS:
 4876|    102|void (UNSET_NO_SPECIAL_SYMBOLS)(SEXP b) { UNSET_NO_SPECIAL_SYMBOLS(CHK(b)); }
  ------------------
  |  | 1336|    102|#define UNSET_NO_SPECIAL_SYMBOLS(b) ((b)->sxpinfo.gp &= (~SPECIAL_SYMBOL_MASK))
  |  |  ------------------
  |  |  |  | 1331|    102|#define SPECIAL_SYMBOL_MASK (1<<12)
  |  |  ------------------
  ------------------
NO_SPECIAL_SYMBOLS:
 4878|  4.24M|Rboolean (NO_SPECIAL_SYMBOLS)(SEXP b) { return (Rboolean) NO_SPECIAL_SYMBOLS(CHK(b)); }
  ------------------
  |  | 1337|  4.24M|#define NO_SPECIAL_SYMBOLS(b) ((b)->sxpinfo.gp & SPECIAL_SYMBOL_MASK)
  |  |  ------------------
  |  |  |  | 1331|  4.24M|#define SPECIAL_SYMBOL_MASK (1<<12)
  |  |  ------------------
  ------------------
IS_BYTES:
 4887|  9.41M|attribute_hidden int (IS_BYTES)(SEXP x) { return IS_BYTES(CHK(x)); }
  ------------------
  |  |  944|  9.41M|# define IS_BYTES(x) ((x)->sxpinfo.gp & BYTES_MASK)
  |  |  ------------------
  |  |  |  |  933|  9.41M|#define BYTES_MASK (1<<1)
  |  |  ------------------
  ------------------
IS_LATIN1:
 4888|  6.41M|attribute_hidden int (IS_LATIN1)(SEXP x) { return IS_LATIN1(CHK(x)); }
  ------------------
  |  |  946|  6.41M|# define IS_LATIN1(x) ((x)->sxpinfo.gp & LATIN1_MASK)
  |  |  ------------------
  |  |  |  |  934|  6.41M|#define LATIN1_MASK (1<<2)
  |  |  ------------------
  ------------------
IS_ASCII:
 4890|  7.96M|int  (IS_ASCII)(SEXP x) { return IS_ASCII(CHK(x)); }
  ------------------
  |  |  948|  7.96M|# define IS_ASCII(x) ((x)->sxpinfo.gp & ASCII_MASK)
  |  |  ------------------
  |  |  |  |  939|  7.96M|#define ASCII_MASK (1<<6)
  |  |  ------------------
  ------------------
IS_UTF8:
 4891|  6.42M|int  (IS_UTF8)(SEXP x) { return IS_UTF8(CHK(x)); }
  ------------------
  |  |  950|  6.42M|# define IS_UTF8(x) ((x)->sxpinfo.gp & UTF8_MASK)
  |  |  ------------------
  |  |  |  |  935|  6.42M|#define UTF8_MASK (1<<3)
  |  |  ------------------
  ------------------
SET_ASCII:
 4895|  67.9k|attribute_hidden void (SET_ASCII)(SEXP x) { SET_ASCII(CHK(x)); }
  ------------------
  |  |  949|  67.9k|# define SET_ASCII(x) (((x)->sxpinfo.gp) |= ASCII_MASK)
  |  |  ------------------
  |  |  |  |  939|  67.9k|#define ASCII_MASK (1<<6)
  |  |  ------------------
  ------------------
ENC_KNOWN:
 4896|  3.57M|/*attribute_hidden*/ int  (ENC_KNOWN)(SEXP x) { return ENC_KNOWN(CHK(x)); }
  ------------------
  |  |  952|  3.57M|# define ENC_KNOWN(x) ((x)->sxpinfo.gp & (LATIN1_MASK | UTF8_MASK))
  |  |  ------------------
  |  |  |  |  934|  3.57M|#define LATIN1_MASK (1<<2)
  |  |  ------------------
  |  |               # define ENC_KNOWN(x) ((x)->sxpinfo.gp & (LATIN1_MASK | UTF8_MASK))
  |  |  ------------------
  |  |  |  |  935|  3.57M|#define UTF8_MASK (1<<3)
  |  |  ------------------
  ------------------
SET_CACHED:
 4897|  69.4k|attribute_hidden void (SET_CACHED)(SEXP x) { SET_CACHED(CHK(x)); }
  ------------------
  |  |  953|  69.4k|# define SET_CACHED(x) (((x)->sxpinfo.gp) |= CACHED_MASK)
  |  |  ------------------
  |  |  |  |  938|  69.4k|#define CACHED_MASK (1<<5)
  |  |  ------------------
  ------------------
IS_CACHED:
 4898|   508k|/*attribute_hidden*/ int  (IS_CACHED)(SEXP x) { return IS_CACHED(CHK(x)); }
  ------------------
  |  |  954|   508k|# define IS_CACHED(x) (((x)->sxpinfo.gp) & CACHED_MASK)
  |  |  ------------------
  |  |  |  |  938|   508k|#define CACHED_MASK (1<<5)
  |  |  ------------------
  ------------------
R_AllocStringBuffer:
 5011|   107k|{
 5012|   107k|    size_t blen1, bsize = buf->defaultSize;
 5013|       |
 5014|       |    /* for backwards compatibility, this used to free the buffer */
 5015|   107k|    if(blen == (size_t)-1)
  ------------------
  |  Branch (5015:8): [True: 0, False: 107k]
  ------------------
 5016|      0|	error("R_AllocStringBuffer( (size_t)-1 ) is no longer allowed");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 5017|       |
 5018|   107k|    if(blen * sizeof(char) < buf->bufsize) return buf->data;
  ------------------
  |  Branch (5018:8): [True: 104k, False: 3.15k]
  ------------------
 5019|  3.15k|    blen1 = blen = (blen + 1) * sizeof(char);
 5020|  3.15k|    blen = (blen / bsize) * bsize;
 5021|  3.15k|    if(blen < blen1) blen += bsize;
  ------------------
  |  Branch (5021:8): [True: 3.15k, False: 0]
  ------------------
 5022|       |
 5023|       |    /* Result may be accessed as `wchar_t *` and other types; malloc /
 5024|       |      realloc guarantee correct memory alignment for all object types */
 5025|  3.15k|    if(buf->data == NULL) {
  ------------------
  |  Branch (5025:8): [True: 3.15k, False: 0]
  ------------------
 5026|  3.15k|	buf->data = (char *) malloc(blen);
 5027|  3.15k|	if(buf->data)
  ------------------
  |  Branch (5027:5): [True: 3.15k, False: 0]
  ------------------
 5028|  3.15k|	    buf->data[0] = '\0';
 5029|  3.15k|    } else
 5030|      0|	buf->data = (char *) realloc(buf->data, blen);
 5031|  3.15k|    buf->bufsize = blen;
 5032|  3.15k|    if(!buf->data) {
  ------------------
  |  Branch (5032:8): [True: 0, False: 3.15k]
  ------------------
 5033|      0|	buf->bufsize = 0;
 5034|       |	/* don't translate internal error message */
 5035|      0|	error("could not allocate memory (%u %s) in C function 'R_AllocStringBuffer'",
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 5036|      0|	      (unsigned int) blen/1024/1024, "Mb");
 5037|      0|    }
 5038|  3.15k|    return buf->data;
 5039|   107k|}
R_FreeStringBuffer:
 5042|  3.14k|{
 5043|  3.14k|    if (buf->data != NULL) {
  ------------------
  |  Branch (5043:9): [True: 3.14k, False: 0]
  ------------------
 5044|  3.14k|	free(buf->data);
 5045|  3.14k|	buf->bufsize = 0;
 5046|       |	buf->data = NULL;
 5047|  3.14k|    }
 5048|  3.14k|}
R_FreeStringBufferL:
 5051|  2.10M|{
 5052|  2.10M|    if (buf->bufsize > buf->defaultSize) {
  ------------------
  |  Branch (5052:9): [True: 0, False: 2.10M]
  ------------------
 5053|      0|	free(buf->data);
 5054|      0|	buf->bufsize = 0;
 5055|       |	buf->data = NULL;
 5056|      0|    }
 5057|  2.10M|}
Rf_Seql:
 5064|  13.6M|{
 5065|       |    /* The only case where pointer comparisons do not suffice is where
 5066|       |      we have two strings in different encodings (which must be
 5067|       |      non-ASCII strings). Note that one of the strings could be marked
 5068|       |      as unknown. */
 5069|  13.6M|    if (a == b) return 1;
  ------------------
  |  Branch (5069:9): [True: 2.11M, False: 11.5M]
  ------------------
 5070|       |    /* Leave this to compiler to optimize */
 5071|  11.5M|    if (IS_CACHED(a) && IS_CACHED(b) && ENC_KNOWN(a) == ENC_KNOWN(b))
  ------------------
  |  |  954|  23.1M|# define IS_CACHED(x) (((x)->sxpinfo.gp) & CACHED_MASK)
  |  |  ------------------
  |  |  |  |  938|  11.5M|#define CACHED_MASK (1<<5)
  |  |  ------------------
  |  |  |  Branch (954:23): [True: 11.5M, False: 0]
  |  |  ------------------
  ------------------
                  if (IS_CACHED(a) && IS_CACHED(b) && ENC_KNOWN(a) == ENC_KNOWN(b))
  ------------------
  |  |  954|  23.1M|# define IS_CACHED(x) (((x)->sxpinfo.gp) & CACHED_MASK)
  |  |  ------------------
  |  |  |  |  938|  11.5M|#define CACHED_MASK (1<<5)
  |  |  ------------------
  |  |  |  Branch (954:23): [True: 11.5M, False: 0]
  |  |  ------------------
  ------------------
                  if (IS_CACHED(a) && IS_CACHED(b) && ENC_KNOWN(a) == ENC_KNOWN(b))
  ------------------
  |  |  952|  11.5M|# define ENC_KNOWN(x) ((x)->sxpinfo.gp & (LATIN1_MASK | UTF8_MASK))
  |  |  ------------------
  |  |  |  |  934|  11.5M|#define LATIN1_MASK (1<<2)
  |  |  ------------------
  |  |               # define ENC_KNOWN(x) ((x)->sxpinfo.gp & (LATIN1_MASK | UTF8_MASK))
  |  |  ------------------
  |  |  |  |  935|  11.5M|#define UTF8_MASK (1<<3)
  |  |  ------------------
  ------------------
                  if (IS_CACHED(a) && IS_CACHED(b) && ENC_KNOWN(a) == ENC_KNOWN(b))
  ------------------
  |  |  952|  11.5M|# define ENC_KNOWN(x) ((x)->sxpinfo.gp & (LATIN1_MASK | UTF8_MASK))
  |  |  ------------------
  |  |  |  |  934|  11.5M|#define LATIN1_MASK (1<<2)
  |  |  ------------------
  |  |               # define ENC_KNOWN(x) ((x)->sxpinfo.gp & (LATIN1_MASK | UTF8_MASK))
  |  |  ------------------
  |  |  |  |  935|  11.5M|#define UTF8_MASK (1<<3)
  |  |  ------------------
  ------------------
  |  Branch (5071:41): [True: 11.5M, False: 0]
  ------------------
 5072|  11.5M|	return 0;
 5073|      0|    else if (IS_BYTES(a) || IS_BYTES(b)) {
  ------------------
  |  |  944|      0|# define IS_BYTES(x) ((x)->sxpinfo.gp & BYTES_MASK)
  |  |  ------------------
  |  |  |  |  933|      0|#define BYTES_MASK (1<<1)
  |  |  ------------------
  |  |  |  Branch (944:22): [True: 0, False: 0]
  |  |  ------------------
  ------------------
                  else if (IS_BYTES(a) || IS_BYTES(b)) {
  ------------------
  |  |  944|      0|# define IS_BYTES(x) ((x)->sxpinfo.gp & BYTES_MASK)
  |  |  ------------------
  |  |  |  |  933|      0|#define BYTES_MASK (1<<1)
  |  |  ------------------
  |  |  |  Branch (944:22): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5074|      0|	if (IS_BYTES(a) && IS_BYTES(b))
  ------------------
  |  |  944|      0|# define IS_BYTES(x) ((x)->sxpinfo.gp & BYTES_MASK)
  |  |  ------------------
  |  |  |  |  933|      0|#define BYTES_MASK (1<<1)
  |  |  ------------------
  |  |  |  Branch (944:22): [True: 0, False: 0]
  |  |  ------------------
  ------------------
              	if (IS_BYTES(a) && IS_BYTES(b))
  ------------------
  |  |  944|      0|# define IS_BYTES(x) ((x)->sxpinfo.gp & BYTES_MASK)
  |  |  ------------------
  |  |  |  |  933|      0|#define BYTES_MASK (1<<1)
  |  |  ------------------
  |  |  |  Branch (944:22): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5075|       |	    /* only get here if at least one is not cached */
 5076|      0|	    return !strcmp(CHAR(a), CHAR(b));
  ------------------
  |  |  422|      0|#define CHAR(x)		((const char *) STDVEC_DATAPTR(x))
  |  |  ------------------
  |  |  |  |  420|      0|#define STDVEC_DATAPTR(x) ((void *) (((SEXPREC_ALIGN *) (x)) + 1))
  |  |  ------------------
  ------------------
              	    return !strcmp(CHAR(a), CHAR(b));
  ------------------
  |  |  422|      0|#define CHAR(x)		((const char *) STDVEC_DATAPTR(x))
  |  |  ------------------
  |  |  |  |  420|      0|#define STDVEC_DATAPTR(x) ((void *) (((SEXPREC_ALIGN *) (x)) + 1))
  |  |  ------------------
  ------------------
 5077|      0|	else
 5078|      0|	    return 0;
 5079|      0|    }
 5080|      0|    else {
 5081|      0|	SEXP vmax = R_VStack;
 5082|      0|	int result = !strcmp(translateCharUTF8(a), translateCharUTF8(b));
  ------------------
  |  | 1039|      0|#define translateCharUTF8      	Rf_translateCharUTF8
  ------------------
              	int result = !strcmp(translateCharUTF8(a), translateCharUTF8(b));
  ------------------
  |  | 1039|      0|#define translateCharUTF8      	Rf_translateCharUTF8
  ------------------
 5083|      0|	R_VStack = vmax; /* discard any memory used by translateCharUTF8 */
 5084|      0|	return result;
 5085|      0|    }
 5086|  11.5M|}
memory.c:NewWeakRef:
 1426|  2.43k|{
 1427|  2.43k|    SEXP w;
 1428|       |
 1429|  2.43k|    switch (TYPEOF(key)) {
  ------------------
  |  |  233|  2.43k|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
 1430|      0|    case NILSXP:
  ------------------
  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (1430:5): [True: 0, False: 2.43k]
  ------------------
 1431|      0|    case ENVSXP:
  ------------------
  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (1431:5): [True: 0, False: 2.43k]
  ------------------
 1432|  2.43k|    case EXTPTRSXP:
  ------------------
  |  |  134|  2.43k|#define EXTPTRSXP   22    /* external pointer */
  ------------------
  |  Branch (1432:5): [True: 2.43k, False: 0]
  ------------------
 1433|  2.43k|    case BCODESXP:
  ------------------
  |  |  133|  2.43k|#define BCODESXP    21    /* byte code */
  ------------------
  |  Branch (1433:5): [True: 0, False: 2.43k]
  ------------------
 1434|  2.43k|	break;
 1435|      0|    default: error(_("can only weakly reference/finalize reference objects"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  default: error(_("can only weakly reference/finalize reference objects"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (1435:5): [True: 0, False: 2.43k]
  ------------------
 1436|  2.43k|    }
 1437|       |
 1438|  2.43k|    PROTECT(key);
  ------------------
  |  |  357|  2.43k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1439|       |    /* fin before val: R_MakeWeakRefC() passes a fresh finalizer object,
 1440|       |       and duplicate(val) below can collect it */
 1441|  2.43k|    PROTECT(fin);
  ------------------
  |  |  357|  2.43k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1442|  2.43k|    PROTECT(val = MAYBE_REFERENCED(val) ? duplicate(val) : val);
  ------------------
  |  |  357|  4.86k|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  |  |  Branch (357:31): [True: 2.43k, False: 0]
  |  |  ------------------
  ------------------
 1443|  2.43k|    w = allocVector(VECSXP, WEAKREF_SIZE);
  ------------------
  |  |  875|  2.43k|#define allocVector		Rf_allocVector
  ------------------
                  w = allocVector(VECSXP, WEAKREF_SIZE);
  ------------------
  |  |  131|  2.43k|#define VECSXP	    19	  /* generic vectors */
  ------------------
                  w = allocVector(VECSXP, WEAKREF_SIZE);
  ------------------
  |  | 1413|  2.43k|#define WEAKREF_SIZE 4
  ------------------
 1444|  2.43k|    SET_TYPEOF(w, WEAKREFSXP);
  ------------------
  |  |  238|  2.43k|#define SET_TYPEOF(x,v)	(((x)->sxpinfo.type)=(v))
  ------------------
 1445|  2.43k|    if (key != R_NilValue) {
  ------------------
  |  Branch (1445:9): [True: 2.43k, False: 0]
  ------------------
 1446|       |	/* If the key is R_NilValue we don't register the weak reference.
 1447|       |	   This is used in loading saved images. */
 1448|  2.43k|	SET_WEAKREF_KEY(w, key);
  ------------------
  |  | 1415|  2.43k|#define SET_WEAKREF_KEY(w, k) SET_VECTOR_ELT(w, 0, k)
  ------------------
 1449|  2.43k|	SET_WEAKREF_VALUE(w, val);
  ------------------
  |  | 1417|  2.43k|#define SET_WEAKREF_VALUE(w, v) SET_VECTOR_ELT(w, 1, v)
  ------------------
 1450|  2.43k|	SET_WEAKREF_FINALIZER(w, fin);
  ------------------
  |  | 1419|  2.43k|#define SET_WEAKREF_FINALIZER(w, f) SET_VECTOR_ELT(w, 2, f)
  ------------------
 1451|  2.43k|	SET_WEAKREF_NEXT(w, R_weak_refs);
  ------------------
  |  | 1421|  2.43k|#define SET_WEAKREF_NEXT(w, n) SET_VECTOR_ELT(w, 3, n)
  ------------------
 1452|  2.43k|	CLEAR_READY_TO_FINALIZE(w);
  ------------------
  |  | 1404|  2.43k|#define CLEAR_READY_TO_FINALIZE(s) ((s)->sxpinfo.gp &= ~READY_TO_FINALIZE_MASK)
  |  |  ------------------
  |  |  |  | 1401|  2.43k|#define READY_TO_FINALIZE_MASK 1
  |  |  ------------------
  ------------------
 1453|  2.43k|	if (onexit)
  ------------------
  |  Branch (1453:6): [True: 0, False: 2.43k]
  ------------------
 1454|      0|	    SET_FINALIZE_ON_EXIT(w);
  ------------------
  |  | 1409|      0|#define SET_FINALIZE_ON_EXIT(s) ((s)->sxpinfo.gp |= FINALIZE_ON_EXIT_MASK)
  |  |  ------------------
  |  |  |  | 1407|      0|#define FINALIZE_ON_EXIT_MASK 2
  |  |  ------------------
  ------------------
 1455|  2.43k|	else
 1456|  2.43k|	    CLEAR_FINALIZE_ON_EXIT(w);
  ------------------
  |  | 1410|  2.43k|#define CLEAR_FINALIZE_ON_EXIT(s) ((s)->sxpinfo.gp &= ~FINALIZE_ON_EXIT_MASK)
  |  |  ------------------
  |  |  |  | 1407|  2.43k|#define FINALIZE_ON_EXIT_MASK 2
  |  |  ------------------
  ------------------
 1457|  2.43k|	R_weak_refs = w;
 1458|  2.43k|    }
 1459|  2.43k|    UNPROTECT(3);
  ------------------
  |  |  358|  2.43k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1460|  2.43k|    return w;
 1461|  2.43k|}
memory.c:MakeCFinalizer:
 1511|    866|{
 1512|    866|    SEXP s = allocVector(RAWSXP, sizeof(R_CFinalizer_t));
  ------------------
  |  |  875|    866|#define allocVector		Rf_allocVector
  ------------------
                  SEXP s = allocVector(RAWSXP, sizeof(R_CFinalizer_t));
  ------------------
  |  |  136|    866|#define RAWSXP      24    /* raw bytes */
  ------------------
 1513|    866|    *((R_CFinalizer_t *) RAW(s)) = cfun;
  ------------------
  |  |  425|    866|#define RAW(x)		((Rbyte *) DATAPTR(x))
  ------------------
 1514|    866|    return s;
 1515|       |    /*return R_MakeExternalPtr((void *) cfun, R_NilValue, R_NilValue);*/
 1516|    866|}
memory.c:isCFinalizer:
 1505|     65|{
 1506|     65|    return TYPEOF(fun) == RAWSXP;
  ------------------
  |  |  233|     65|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
                  return TYPEOF(fun) == RAWSXP;
  ------------------
  |  |  136|     65|#define RAWSXP      24    /* raw bytes */
  ------------------
 1507|       |    /*return TYPEOF(fun) == EXTPTRSXP;*/
 1508|     65|}
memory.c:GetCFinalizer:
 1519|     63|{
 1520|     63|    return *((R_CFinalizer_t *) RAW(fun));
  ------------------
  |  |  425|     63|#define RAW(x)		((Rbyte *) DATAPTR(x))
  ------------------
 1521|       |    /*return (R_CFinalizer_t) R_ExternalPtrAddr(fun);*/
 1522|     63|}
memory.c:RunFinalizers:
 1574|      3|{
 1575|      3|    R_CHECK_THREAD;
  ------------------
  |  |  566|      3|# define R_CHECK_THREAD R_check_thread(__func__)
  ------------------
 1576|       |    /* Prevent this function from running again when already in
 1577|       |       progress. Jumps can only occur inside the top level context
 1578|       |       where they will be caught, so the flag is guaranteed to be
 1579|       |       reset at the end. */
 1580|      3|    static Rboolean running = FALSE;
 1581|      3|    if (running) return FALSE;
  ------------------
  |  Branch (1581:9): [True: 0, False: 3]
  ------------------
 1582|      3|    running = TRUE;
 1583|       |
 1584|      3|    volatile SEXP s, last;
 1585|      3|    volatile Rboolean finalizer_run = FALSE;
 1586|       |
 1587|  1.45k|    for (s = R_weak_refs, last = R_NilValue; s != R_NilValue;) {
  ------------------
  |  Branch (1587:46): [True: 1.45k, False: 3]
  ------------------
 1588|  1.45k|	SEXP next = WEAKREF_NEXT(s);
  ------------------
  |  | 1420|  1.45k|#define WEAKREF_NEXT(w) VECTOR_ELT_0(w, 3)
  |  |  ------------------
  |  |  |  |   80|  1.45k|#define VECTOR_ELT_0(x,i)        ((SEXP *) STDVEC_DATAPTR(x))[i]
  |  |  |  |  ------------------
  |  |  |  |  |  |  420|  1.45k|#define STDVEC_DATAPTR(x) ((void *) (((SEXPREC_ALIGN *) (x)) + 1))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1589|  1.45k|	if (IS_READY_TO_FINALIZE(s)) {
  ------------------
  |  | 1405|  1.45k|#define IS_READY_TO_FINALIZE(s) ((s)->sxpinfo.gp & READY_TO_FINALIZE_MASK)
  |  |  ------------------
  |  |  |  | 1401|  1.45k|#define READY_TO_FINALIZE_MASK 1
  |  |  ------------------
  |  |  |  Branch (1405:33): [True: 65, False: 1.39k]
  |  |  ------------------
  ------------------
 1590|       |	    /**** use R_ToplevelExec here? */
 1591|     65|	    RCNTXT thiscontext;
 1592|     65|	    RCNTXT * volatile saveToplevelContext;
 1593|     65|	    volatile int savestack;
 1594|     65|	    volatile SEXP topExp, oldHStack, oldRStack, oldRVal;
 1595|     65|	    volatile Rboolean oldvis;
 1596|     65|	    PROTECT(oldHStack = R_HandlerStack);
  ------------------
  |  |  357|     65|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1597|     65|	    PROTECT(oldRStack = R_RestartStack);
  ------------------
  |  |  357|     65|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1598|     65|	    PROTECT(oldRVal = R_ReturnedValue);
  ------------------
  |  |  357|     65|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1599|     65|	    oldvis = R_Visible;
 1600|     65|	    R_HandlerStack = R_NilValue;
 1601|     65|	    R_RestartStack = R_NilValue;
 1602|       |
 1603|     65|	    finalizer_run = TRUE;
 1604|       |
 1605|       |	    /* A top level context is established for the finalizer to
 1606|       |	       insure that any errors that might occur do not spill
 1607|       |	       into the call that triggered the collection. */
 1608|     65|	    begincontext(&thiscontext, CTXT_TOPLEVEL, R_NilValue, R_GlobalEnv,
  ------------------
  |  | 1869|     65|# define begincontext		Rf_begincontext
  ------------------
 1609|     65|			 R_BaseEnv, R_NilValue, R_NilValue);
 1610|     65|	    saveToplevelContext = R_ToplevelContext;
 1611|     65|	    PROTECT(topExp = R_CurrentExpr);
  ------------------
  |  |  357|     65|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1612|     65|	    savestack = R_PPStackTop;
 1613|       |	    /* The value of 'next' is protected to make it safe
 1614|       |	       for this routine to be called recursively from a
 1615|       |	       gc triggered by a finalizer. */
 1616|     65|	    PROTECT(next);
  ------------------
  |  |  357|     65|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1617|     65|	    if (! SETJMP(thiscontext.cjmpbuf)) {
  ------------------
  |  | 1162|     65|# define SETJMP(x) sigsetjmp(x,0)
  ------------------
  |  Branch (1617:10): [True: 65, False: 0]
  ------------------
 1618|     65|		R_GlobalContext = R_ToplevelContext = &thiscontext;
 1619|       |
 1620|       |		/* The entry in the weak reference list is removed
 1621|       |		   before running the finalizer.  This insures that a
 1622|       |		   finalizer is run only once, even if running it
 1623|       |		   raises an error. */
 1624|     65|		if (last == R_NilValue)
  ------------------
  |  Branch (1624:7): [True: 29, False: 36]
  ------------------
 1625|     29|		    R_weak_refs = next;
 1626|     36|		else
 1627|     36|		    SET_WEAKREF_NEXT(last, next);
  ------------------
  |  | 1421|     36|#define SET_WEAKREF_NEXT(w, n) SET_VECTOR_ELT(w, 3, n)
  ------------------
 1628|     65|		R_RunWeakRefFinalizer(s);
 1629|     65|	    }
 1630|     65|	    endcontext(&thiscontext);
  ------------------
  |  | 1900|     65|# define endcontext		Rf_endcontext
  ------------------
 1631|     65|	    UNPROTECT(1); /* next */
  ------------------
  |  |  358|     65|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1632|     65|	    R_ToplevelContext = saveToplevelContext;
 1633|     65|	    R_PPStackTop = savestack;
 1634|     65|	    R_CurrentExpr = topExp;
 1635|     65|	    R_HandlerStack = oldHStack;
 1636|     65|	    R_RestartStack = oldRStack;
 1637|     65|	    R_ReturnedValue = oldRVal;
 1638|     65|	    R_Visible = oldvis;
 1639|     65|	    UNPROTECT(4);/* topExp, oldRVal, oldRStack, oldHStack */
  ------------------
  |  |  358|     65|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1640|     65|	}
 1641|  1.39k|	else last = s;
 1642|  1.45k|	s = next;
 1643|  1.45k|    }
 1644|      3|    running = FALSE;
 1645|      3|    R_finalizers_pending = FALSE;
 1646|      3|    return finalizer_run;
 1647|      3|}
memory.c:init_gctorture:
 2113|      2|{
 2114|      2|    char *arg = getenv("R_GCTORTURE");
 2115|      2|    if (arg != NULL) {
  ------------------
  |  Branch (2115:9): [True: 0, False: 2]
  ------------------
 2116|      0|	int gap = atoi(arg);
 2117|      0|	if (gap > 0) {
  ------------------
  |  Branch (2117:6): [True: 0, False: 0]
  ------------------
 2118|      0|	    gc_force_wait = gc_force_gap = gap;
 2119|      0|	    arg = getenv("R_GCTORTURE_WAIT");
 2120|      0|	    if (arg != NULL) {
  ------------------
  |  Branch (2120:10): [True: 0, False: 0]
  ------------------
 2121|      0|		int wait = atoi(arg);
 2122|      0|		if (wait > 0)
  ------------------
  |  Branch (2122:7): [True: 0, False: 0]
  ------------------
 2123|      0|		    gc_force_wait = wait;
 2124|      0|	    }
 2125|      0|#ifdef PROTECTCHECK
 2126|      0|	    arg = getenv("R_GCTORTURE_INHIBIT_RELEASE");
 2127|      0|	    if (arg != NULL) {
  ------------------
  |  Branch (2127:10): [True: 0, False: 0]
  ------------------
 2128|      0|		int inhibit = atoi(arg);
 2129|      0|		if (inhibit > 0) gc_inhibit_release = TRUE;
  ------------------
  |  Branch (2129:7): [True: 0, False: 0]
  ------------------
 2130|      0|		else gc_inhibit_release = FALSE;
 2131|      0|	    }
 2132|      0|#endif
 2133|      0|	}
 2134|      0|    }
 2135|      2|}
memory.c:init_gc_grow_settings:
  357|      2|{
  358|      2|    char *arg;
  359|       |
  360|      2|    arg = getenv("R_GC_MEM_GROW");
  361|      2|    if (arg != NULL) {
  ------------------
  |  Branch (361:9): [True: 0, False: 2]
  ------------------
  362|      0|	int which = (int) atof(arg);
  363|      0|	switch (which) {
  ------------------
  |  Branch (363:10): [True: 0, False: 0]
  ------------------
  364|      0|	case 0: /* very conservative -- the SMALL_MEMORY settings */
  ------------------
  |  Branch (364:2): [True: 0, False: 0]
  ------------------
  365|      0|	    R_NGrowIncrFrac = 0.0;
  366|      0|	    R_VGrowIncrFrac = 0.0;
  367|      0|	    break;
  368|      0|	case 1: /* default */
  ------------------
  |  Branch (368:2): [True: 0, False: 0]
  ------------------
  369|      0|	    break;
  370|      0|	case 2: /* somewhat aggressive */
  ------------------
  |  Branch (370:2): [True: 0, False: 0]
  ------------------
  371|      0|	    R_NGrowIncrFrac = 0.3;
  372|      0|	    R_VGrowIncrFrac = 0.3;
  373|      0|	    break;
  374|      0|	case 3: /* more aggressive */
  ------------------
  |  Branch (374:2): [True: 0, False: 0]
  ------------------
  375|      0|	    R_NGrowIncrFrac = 0.4;
  376|      0|	    R_VGrowIncrFrac = 0.4;
  377|      0|	    R_NGrowFrac = 0.5;
  378|      0|	    R_VGrowFrac = 0.5;
  379|      0|	    break;
  380|      0|	}
  381|      0|    }
  382|      2|    arg = getenv("R_GC_GROWFRAC");
  383|      2|    if (arg != NULL) {
  ------------------
  |  Branch (383:9): [True: 0, False: 2]
  ------------------
  384|      0|	double frac = atof(arg);
  385|      0|	if (0.35 <= frac && frac <= 0.75) {
  ------------------
  |  Branch (385:6): [True: 0, False: 0]
  |  Branch (385:22): [True: 0, False: 0]
  ------------------
  386|      0|	    R_NGrowFrac = frac;
  387|      0|	    R_VGrowFrac = frac;
  388|      0|	}
  389|      0|    }
  390|      2|    arg = getenv("R_GC_GROWINCRFRAC");
  391|      2|    if (arg != NULL) {
  ------------------
  |  Branch (391:9): [True: 0, False: 2]
  ------------------
  392|      0|	double frac = atof(arg);
  393|      0|	if (0.05 <= frac && frac <= 0.80) {
  ------------------
  |  Branch (393:6): [True: 0, False: 0]
  |  Branch (393:22): [True: 0, False: 0]
  ------------------
  394|      0|	    R_NGrowIncrFrac = frac;
  395|      0|	    R_VGrowIncrFrac = frac;
  396|      0|	}
  397|      0|    }
  398|      2|    arg = getenv("R_GC_NGROWINCRFRAC");
  399|      2|    if (arg != NULL) {
  ------------------
  |  Branch (399:9): [True: 0, False: 2]
  ------------------
  400|      0|	double frac = atof(arg);
  401|      0|	if (0.05 <= frac && frac <= 0.80)
  ------------------
  |  Branch (401:6): [True: 0, False: 0]
  |  Branch (401:22): [True: 0, False: 0]
  ------------------
  402|      0|	    R_NGrowIncrFrac = frac;
  403|      0|    }
  404|      2|    arg = getenv("R_GC_VGROWINCRFRAC");
  405|      2|    if (arg != NULL) {
  ------------------
  |  Branch (405:9): [True: 0, False: 2]
  ------------------
  406|      0|	double frac = atof(arg);
  407|      0|	if (0.05 <= frac && frac <= 0.80)
  ------------------
  |  Branch (407:6): [True: 0, False: 0]
  |  Branch (407:22): [True: 0, False: 0]
  ------------------
  408|      0|	    R_VGrowIncrFrac = frac;
  409|      0|    }
  410|      2|}
memory.c:GetNewPage:
  994|   529k|{
  995|   529k|    SEXP s, base;
  996|   529k|    char *data;
  997|   529k|    PAGE_HEADER *page;
  998|   529k|    int node_size, page_count, i;  // FIXME: longer type?
  999|       |
 1000|   529k|    node_size = NODE_SIZE(node_class);
  ------------------
  |  |  592|   529k|  ((c) == 0 ? sizeof(SEXPREC) : \
  |  |  ------------------
  |  |  |  Branch (592:4): [True: 454k, False: 74.8k]
  |  |  ------------------
  |  |  593|   529k|   sizeof(SEXPREC_ALIGN) + NodeClassSize[c] * sizeof(VECREC))
  ------------------
 1001|   529k|    page_count = (R_PAGE_SIZE - sizeof(PAGE_HEADER)) / node_size;
  ------------------
  |  |  588|   529k|  (((BASE_PAGE_SIZE - sizeof(PAGE_HEADER)) / sizeof(SEXPREC)) \
  |  |  ------------------
  |  |  |  |  583|   529k|# define BASE_PAGE_SIZE 8000
  |  |  ------------------
  |  |  589|   529k|   * sizeof(SEXPREC) \
  |  |  590|   529k|   + sizeof(PAGE_HEADER))
  ------------------
 1002|       |
 1003|   529k|    page = malloc(R_PAGE_SIZE);
  ------------------
  |  |  588|   529k|  (((BASE_PAGE_SIZE - sizeof(PAGE_HEADER)) / sizeof(SEXPREC)) \
  |  |  ------------------
  |  |  |  |  583|   529k|# define BASE_PAGE_SIZE 8000
  |  |  ------------------
  |  |  589|   529k|   * sizeof(SEXPREC) \
  |  |  590|   529k|   + sizeof(PAGE_HEADER))
  ------------------
 1004|   529k|    if (page == NULL) {
  ------------------
  |  Branch (1004:9): [True: 0, False: 529k]
  ------------------
 1005|      0|	R_gc_no_finalizers(0);
 1006|      0|	page = malloc(R_PAGE_SIZE);
  ------------------
  |  |  588|      0|  (((BASE_PAGE_SIZE - sizeof(PAGE_HEADER)) / sizeof(SEXPREC)) \
  |  |  ------------------
  |  |  |  |  583|      0|# define BASE_PAGE_SIZE 8000
  |  |  ------------------
  |  |  589|      0|   * sizeof(SEXPREC) \
  |  |  590|      0|   + sizeof(PAGE_HEADER))
  ------------------
 1007|      0|	if (page == NULL)
  ------------------
  |  Branch (1007:6): [True: 0, False: 0]
  ------------------
 1008|      0|	    mem_err_malloc((R_size_t) R_PAGE_SIZE);
  ------------------
  |  |  588|      0|  (((BASE_PAGE_SIZE - sizeof(PAGE_HEADER)) / sizeof(SEXPREC)) \
  |  |  ------------------
  |  |  |  |  583|      0|# define BASE_PAGE_SIZE 8000
  |  |  ------------------
  |  |  589|      0|   * sizeof(SEXPREC) \
  |  |  590|      0|   + sizeof(PAGE_HEADER))
  ------------------
 1009|      0|    }
 1010|       |#ifdef R_MEMORY_PROFILING
 1011|       |    R_ReportNewPage();
 1012|       |#endif
 1013|   529k|    page->next = R_GenHeap[node_class].pages;
 1014|   529k|    R_GenHeap[node_class].pages = page;
 1015|   529k|    R_GenHeap[node_class].PageCount++;
 1016|       |
 1017|   529k|    data = PAGE_DATA(page);
  ------------------
  |  |  595|   529k|#define PAGE_DATA(p) ((void *) (p + 1))
  ------------------
 1018|   529k|    base = R_GenHeap[node_class].New;
 1019|  73.2M|    for (i = 0; i < page_count; i++, data += node_size) {
  ------------------
  |  Branch (1019:17): [True: 72.6M, False: 529k]
  ------------------
 1020|  72.6M|	s = (SEXP) data;
 1021|  72.6M|	R_GenHeap[node_class].AllocCount++;
 1022|  72.6M|	SNAP_NODE(s, base);
  ------------------
  |  |  657|  72.6M|#define SNAP_NODE(s,t) do { \
  |  |  658|  72.6M|  SEXP sn__n__ = (s); \
  |  |  659|  72.6M|  SEXP next = (t); \
  |  |  660|  72.6M|  SEXP prev = PREV_NODE(next); \
  |  |  ------------------
  |  |  |  |  640|  72.6M|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  ------------------
  |  |  661|  72.6M|  SET_NEXT_NODE(sn__n__, next); \
  |  |  ------------------
  |  |  |  |  641|  72.6M|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|  72.6M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  662|  72.6M|  SET_PREV_NODE(next, sn__n__); \
  |  |  ------------------
  |  |  |  |  642|  72.6M|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|  72.6M|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  663|  72.6M|  SET_NEXT_NODE(prev, sn__n__); \
  |  |  ------------------
  |  |  |  |  641|  72.6M|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|  72.6M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  664|  72.6M|  SET_PREV_NODE(sn__n__, prev); \
  |  |  ------------------
  |  |  |  |  642|  72.6M|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|  72.6M|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  665|  72.6M|} while (0)
  |  |  ------------------
  |  |  |  Branch (665:10): [Folded, False: 72.6M]
  |  |  ------------------
  ------------------
 1023|       |#if  VALGRIND_LEVEL > 1
 1024|       |	if (NodeClassSize[node_class] > 0)
 1025|       |	    VALGRIND_MAKE_MEM_NOACCESS(STDVEC_DATAPTR(s), NodeClassSize[node_class]*sizeof(VECREC));
 1026|       |#endif
 1027|  72.6M|	s->sxpinfo = UnmarkedNodeTemplate.sxpinfo;
 1028|  72.6M|	INIT_REFCNT(s);
  ------------------
  |  |  982|  72.6M|#define INIT_REFCNT(x) do {			\
  |  |  983|  72.6M|	SEXP __x__ = (x);			\
  |  |  984|  72.6M|	SET_REFCNT(__x__, 0);			\
  |  |  ------------------
  |  |  |  |  256|  72.6M|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  |  248|  72.6M|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  985|  72.6M|	SET_TRACKREFS(__x__, TRUE);		\
  |  |  ------------------
  |  |  |  |  260|  72.6M|#  define SET_TRACKREFS(x,v) ((x)->sxpinfo.spare = ! (v))
  |  |  ------------------
  |  |  986|  72.6M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (986:14): [Folded, False: 72.6M]
  |  |  ------------------
  ------------------
 1029|  72.6M|	SET_NODE_CLASS(s, node_class);
  ------------------
  |  |  546|  72.6M|#define SET_NODE_CLASS(s,v) (((s)->sxpinfo.gccls) = (v))
  ------------------
 1030|  72.6M|#ifdef PROTECTCHECK
 1031|  72.6M|	SET_TYPEOF(s, NEWSXP);
  ------------------
  |  |  238|  72.6M|#define SET_TYPEOF(x,v)	(((x)->sxpinfo.type)=(v))
  ------------------
 1032|  72.6M|#endif
 1033|  72.6M|	base = s;
 1034|  72.6M|	R_GenHeap[node_class].Free = s;
 1035|  72.6M|    }
 1036|   529k|}
memory.c:CHK:
  158|  14.9G|{
  159|       |    /* **** NULL check because of R_CurrentExpr */
  160|  14.9G|    if (x != NULL && TYPEOF(x) == FREESXP) {
  ------------------
  |  |  233|  14.9G|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
                  if (x != NULL && TYPEOF(x) == FREESXP) {
  ------------------
  |  |  142|  14.9G|#define FREESXP     31    /* node released by GC */
  ------------------
  |  Branch (160:9): [True: 14.9G, False: 198k]
  |  Branch (160:22): [True: 0, False: 14.9G]
  ------------------
  161|       |	/* An R error here would be caught by the fuzz harness's top-level
  162|       |	   context and look like any other rejected input.  This is memory
  163|       |	   corruption, so stop where it is found. */
  164|      0|	REprintf("unprotected object (%p) encountered (was %s)\n",
  165|      0|		 (void *)x, sexptype2char(OLDTYPE(x)));
  ------------------
  |  | 1989|      0|# define sexptype2char		Rf_sexptype2char
  ------------------
              		 (void *)x, sexptype2char(OLDTYPE(x)));
  ------------------
  |  |  154|      0|#define OLDTYPE(s) LEVELS(s)
  |  |  ------------------
  |  |  |  |  236|      0|#define LEVELS(x)	((x)->sxpinfo.gp)
  |  |  ------------------
  ------------------
  166|      0|	abort();
  167|      0|    }
  168|  14.9G|    return x;
  169|  14.9G|}
memory.c:allocSExpNonCons:
 2506|  22.5k|{
 2507|  22.5k|    SEXP s;
 2508|  22.5k|    if (FORCE_GC || NO_FREE_NODES()) {
  ------------------
  |  |  241|  45.0k|#define FORCE_GC (gc_pending || (gc_force_wait > 0 ? (--gc_force_wait > 0 ? 0 : (gc_force_wait = gc_force_gap, 1)) : 0))
  |  |  ------------------
  |  |  |  Branch (241:19): [True: 0, False: 22.5k]
  |  |  |  Branch (241:33): [True: 0, False: 22.5k]
  |  |  |  Branch (241:34): [True: 0, False: 22.5k]
  |  |  |  Branch (241:55): [True: 0, False: 0]
  |  |  ------------------
  ------------------
                  if (FORCE_GC || NO_FREE_NODES()) {
  ------------------
  |  |  857|  22.5k|#define NO_FREE_NODES() (R_NodesInUse >= R_NSize)
  |  |  ------------------
  |  |  |  Branch (857:25): [True: 0, False: 22.5k]
  |  |  ------------------
  ------------------
 2509|      0|	R_gc_internal(0);
 2510|      0|	if (NO_FREE_NODES())
  ------------------
  |  |  857|      0|#define NO_FREE_NODES() (R_NodesInUse >= R_NSize)
  |  |  ------------------
  |  |  |  Branch (857:25): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2511|      0|	    mem_err_cons();
 2512|      0|    }
 2513|  22.5k|    GET_FREE_NODE(s);
  ------------------
  |  |  858|  22.5k|#define GET_FREE_NODE(s) CLASS_GET_FREE_NODE(0,s)
  |  |  ------------------
  |  |  |  |  846|  22.5k|#define CLASS_GET_FREE_NODE(c,s) do { \
  |  |  |  |  847|  22.5k|  SEXP __n__ = R_GenHeap[c].Free; \
  |  |  |  |  848|  22.5k|  if (__n__ == R_GenHeap[c].New) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (848:7): [True: 71, False: 22.4k]
  |  |  |  |  ------------------
  |  |  |  |  849|     71|    GetNewPage(c); \
  |  |  |  |  850|     71|    __n__ = R_GenHeap[c].Free; \
  |  |  |  |  851|     71|  } \
  |  |  |  |  852|  22.5k|  R_GenHeap[c].Free = NEXT_NODE(__n__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|  22.5k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  |  |  853|  22.5k|  R_NodesInUse++; \
  |  |  |  |  854|  22.5k|  (s) = __n__; \
  |  |  |  |  855|  22.5k|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (855:10): [Folded, False: 22.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2514|  22.5k|    s->sxpinfo = UnmarkedNodeTemplate.sxpinfo;
 2515|  22.5k|    INIT_REFCNT(s);
  ------------------
  |  |  982|  22.5k|#define INIT_REFCNT(x) do {			\
  |  |  983|  22.5k|	SEXP __x__ = (x);			\
  |  |  984|  22.5k|	SET_REFCNT(__x__, 0);			\
  |  |  ------------------
  |  |  |  |  256|  22.5k|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  |  248|  22.5k|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  985|  22.5k|	SET_TRACKREFS(__x__, TRUE);		\
  |  |  ------------------
  |  |  |  |  260|  22.5k|#  define SET_TRACKREFS(x,v) ((x)->sxpinfo.spare = ! (v))
  |  |  ------------------
  |  |  986|  22.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (986:14): [Folded, False: 22.5k]
  |  |  ------------------
  ------------------
 2516|  22.5k|    SET_TYPEOF(s, t);
  ------------------
  |  |  238|  22.5k|#define SET_TYPEOF(x,v)	(((x)->sxpinfo.type)=(v))
  ------------------
 2517|  22.5k|    TAG(s) = R_NilValue;
  ------------------
  |  |  440|  22.5k|#define TAG(e)		((e)->u.listsxp.tagval)
  ------------------
 2518|  22.5k|    ATTRIB(s) = R_NilValue;
  ------------------
  |  |  230|  22.5k|#define ATTRIB(x)	((x)->attrib)
  ------------------
 2519|  22.5k|    return s;
 2520|  22.5k|}
memory.c:allocFormalsList:
 3073|     14|{
 3074|     14|    SEXP res = R_NilValue;
 3075|     14|    SEXP n;
 3076|     14|    int i;
 3077|     14|    va_list(syms);
 3078|     14|    va_start(syms, nargs);
 3079|       |
 3080|     62|    for(i = 0; i < nargs; i++) {
  ------------------
  |  Branch (3080:16): [True: 48, False: 14]
  ------------------
 3081|     48|	res = CONS(R_NilValue, res);
  ------------------
  |  |  309|     48|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
 3082|     48|    }
 3083|     14|    R_PreserveObject(res);
 3084|       |
 3085|     14|    n = res;
 3086|     62|    for(i = 0; i < nargs; i++) {
  ------------------
  |  Branch (3086:16): [True: 48, False: 14]
  ------------------
 3087|     48|	SET_TAG(n, (SEXP) va_arg(syms, SEXP));
 3088|     48|	MARK_NOT_MUTABLE(n);
  ------------------
  |  |  283|     48|# define MARK_NOT_MUTABLE(x) SET_REFCNT(x, REFCNTMAX)
  |  |  ------------------
  |  |  |  |  256|     48|# define SET_REFCNT(x,v) (REFCNT(x) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  |  248|     48|# define REFCNT(x) ((x)->sxpinfo.named)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3089|     48|	n = CDR(n);
  ------------------
  |  |  445|     48|#define CDR(e)		((e)->u.listsxp.cdrval)
  ------------------
 3090|     48|    }
 3091|     14|    va_end(syms);
 3092|       |
 3093|     14|    return res;
 3094|     14|}
memory.c:R_gc_internal:
 3247|    725|{
 3248|    725|    R_CHECK_THREAD;
  ------------------
  |  |  566|    725|# define R_CHECK_THREAD R_check_thread(__func__)
  ------------------
 3249|    725|    if (!R_GCEnabled || R_in_gc) {
  ------------------
  |  Branch (3249:9): [True: 0, False: 725]
  |  Branch (3249:25): [True: 0, False: 725]
  ------------------
 3250|      0|      if (R_in_gc)
  ------------------
  |  Branch (3250:11): [True: 0, False: 0]
  ------------------
 3251|      0|        gc_error("*** recursive gc invocation\n");
 3252|      0|      if (NO_FREE_NODES())
  ------------------
  |  |  857|      0|#define NO_FREE_NODES() (R_NodesInUse >= R_NSize)
  |  |  ------------------
  |  |  |  Branch (857:25): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3253|      0|	R_NSize = R_NodesInUse + 1;
 3254|       |
 3255|      0|      if (num_old_gens_to_collect < NUM_OLD_GENERATIONS &&
  ------------------
  |  |  551|      0|#define NUM_OLD_GENERATIONS 2
  ------------------
  |  Branch (3255:11): [True: 0, False: 0]
  ------------------
 3256|      0|	  VHEAP_FREE() < size_needed + R_MinFreeFrac * R_VSize)
  ------------------
  |  |  596|      0|#define VHEAP_FREE() (R_VSize - R_LargeVallocSize - R_SmallVallocSize)
  ------------------
  |  Branch (3256:4): [True: 0, False: 0]
  ------------------
 3257|      0|	num_old_gens_to_collect++;
 3258|       |
 3259|      0|      if (size_needed > VHEAP_FREE()) {
  ------------------
  |  |  596|      0|#define VHEAP_FREE() (R_VSize - R_LargeVallocSize - R_SmallVallocSize)
  ------------------
  |  Branch (3259:11): [True: 0, False: 0]
  ------------------
 3260|      0|	  R_size_t expand = size_needed - VHEAP_FREE();
  ------------------
  |  |  596|      0|#define VHEAP_FREE() (R_VSize - R_LargeVallocSize - R_SmallVallocSize)
  ------------------
 3261|      0|	  if (R_VSize + expand > R_MaxVSize)
  ------------------
  |  Branch (3261:8): [True: 0, False: 0]
  ------------------
 3262|      0|	      mem_err_heap(size_needed);
 3263|      0|	  R_VSize += expand;
 3264|      0|      }
 3265|       |
 3266|      0|      gc_pending = TRUE;
 3267|      0|      return;
 3268|      0|    }
 3269|    725|    gc_pending = FALSE;
 3270|       |
 3271|    725|    R_size_t onsize = R_NSize /* can change during collection */;
 3272|    725|    double ncells, vcells, vfrac, nfrac;
 3273|    725|    SEXPTYPE first_bad_sexp_type = 0;
 3274|    725|#ifdef PROTECTCHECK
 3275|    725|    SEXPTYPE first_bad_sexp_type_old_type = 0;
 3276|    725|#endif
 3277|    725|    SEXP first_bad_sexp_type_sexp = NULL;
 3278|    725|    int first_bad_sexp_type_line = 0;
 3279|    725|    int gens_collected = 0;
 3280|       |
 3281|       |#ifdef IMMEDIATE_FINALIZERS
 3282|       |    Rboolean first = TRUE;
 3283|       | again:
 3284|       |#endif
 3285|       |
 3286|    725|    gc_count++;
 3287|       |
 3288|    725|    R_N_maxused = R_MAX(R_N_maxused, R_NodesInUse);
  ------------------
  |  | 3204|    725|#define R_MAX(a,b) (a) < (b) ? (b) : (a)
  |  |  ------------------
  |  |  |  Branch (3204:20): [True: 3, False: 722]
  |  |  ------------------
  ------------------
 3289|    725|    R_V_maxused = R_MAX(R_V_maxused, R_VSize - VHEAP_FREE());
  ------------------
  |  | 3204|    725|#define R_MAX(a,b) (a) < (b) ? (b) : (a)
  |  |  ------------------
  |  |  |  Branch (3204:20): [True: 3, False: 722]
  |  |  ------------------
  ------------------
 3290|       |
 3291|    725|    BEGIN_SUSPEND_INTERRUPTS {
  ------------------
  |  | 2548|    725|#define BEGIN_SUSPEND_INTERRUPTS do { \
  |  | 2549|    725|    Rboolean __oldsusp__ = R_interrupts_suspended; \
  |  | 2550|    725|    R_interrupts_suspended = TRUE;
  ------------------
 3292|    725|	R_in_gc = TRUE;
 3293|    725|	gc_start_timing();
 3294|    725|	gens_collected = RunGenCollect(size_needed);
 3295|    725|	gc_end_timing();
 3296|    725|	R_in_gc = FALSE;
 3297|    725|    } END_SUSPEND_INTERRUPTS;
  ------------------
  |  | 2551|    725|#define END_SUSPEND_INTERRUPTS R_interrupts_suspended = __oldsusp__; \
  |  | 2552|    725|    if (R_interrupts_pending && ! R_interrupts_suspended) \
  |  |  ------------------
  |  |  |  Branch (2552:9): [True: 0, False: 725]
  |  |  |  Branch (2552:33): [True: 0, False: 0]
  |  |  ------------------
  |  | 2553|    725|        onintr(); \
  |  |  ------------------
  |  |  |  | 1968|      0|# define onintr			Rf_onintr
  |  |  ------------------
  |  | 2554|    725|} while(0)
  |  |  ------------------
  |  |  |  Branch (2554:9): [Folded, False: 725]
  |  |  ------------------
  ------------------
 3298|       |
 3299|    725|    if (R_check_constants > 2 ||
  ------------------
  |  Branch (3299:9): [True: 0, False: 725]
  ------------------
 3300|    725|	    (R_check_constants > 1 && gens_collected == NUM_OLD_GENERATIONS))
  ------------------
  |  |  551|      0|#define NUM_OLD_GENERATIONS 2
  ------------------
  |  Branch (3300:7): [True: 0, False: 725]
  |  Branch (3300:32): [True: 0, False: 0]
  ------------------
 3301|      0|	R_checkConstants(TRUE);
 3302|       |
 3303|    725|    if (gc_reporting) {
  ------------------
  |  Branch (3303:9): [True: 0, False: 725]
  ------------------
 3304|      0|	REprintf("Garbage collection %d = %d", gc_count, gen_gc_counts[0]);
 3305|      0|	for (int i = 0; i < NUM_OLD_GENERATIONS; i++)
  ------------------
  |  |  551|      0|#define NUM_OLD_GENERATIONS 2
  ------------------
  |  Branch (3305:18): [True: 0, False: 0]
  ------------------
 3306|      0|	    REprintf("+%d", gen_gc_counts[i + 1]);
 3307|      0|	REprintf(" (level %d) ... ", gens_collected);
 3308|      0|	DEBUG_GC_SUMMARY(gens_collected == NUM_OLD_GENERATIONS);
 3309|      0|    }
 3310|       |
 3311|    725|    if (bad_sexp_type_seen != 0 && first_bad_sexp_type == 0) {
  ------------------
  |  Branch (3311:9): [True: 0, False: 725]
  |  Branch (3311:36): [True: 0, False: 0]
  ------------------
 3312|      0|	first_bad_sexp_type = bad_sexp_type_seen;
 3313|      0|#ifdef PROTECTCHECK
 3314|      0|	first_bad_sexp_type_old_type = bad_sexp_type_old_type;
 3315|      0|#endif
 3316|      0|	first_bad_sexp_type_sexp = bad_sexp_type_sexp;
 3317|      0|	first_bad_sexp_type_line = bad_sexp_type_line;
 3318|      0|    }
 3319|       |
 3320|    725|    if (gc_reporting) {
  ------------------
  |  Branch (3320:9): [True: 0, False: 725]
  ------------------
 3321|      0|	ncells = onsize - R_Collected;
 3322|      0|	nfrac = (100.0 * ncells) / R_NSize;
 3323|       |	/* We try to make this consistent with the results returned by gc */
 3324|      0|	ncells = 0.1*ceil(10*ncells * sizeof(SEXPREC)/Mega);
  ------------------
  |  | 1050|      0|#define Mega 1048576.    /* Misnomer !! 1 MiB (mebibyte) := 2^20 (= 1048576) Bytes */
  ------------------
 3325|      0|	REprintf("\n%.1f %s of cons cells used (%d%%)\n",
 3326|      0|		 ncells, "Mbytes", (int) (nfrac + 0.5));
 3327|      0|	vcells = R_VSize - VHEAP_FREE();
  ------------------
  |  |  596|      0|#define VHEAP_FREE() (R_VSize - R_LargeVallocSize - R_SmallVallocSize)
  ------------------
 3328|      0|	vfrac = (100.0 * vcells) / R_VSize;
 3329|      0|	vcells = 0.1*ceil(10*vcells * vsfac/Mega);
  ------------------
  |  | 1050|      0|#define Mega 1048576.    /* Misnomer !! 1 MiB (mebibyte) := 2^20 (= 1048576) Bytes */
  ------------------
 3330|      0|	REprintf("%.1f %s of vectors used (%d%%)\n",
 3331|      0|		 vcells, "Mbytes", (int) (vfrac + 0.5));
 3332|      0|    }
 3333|       |
 3334|       |#ifdef IMMEDIATE_FINALIZERS
 3335|       |    if (first) {
 3336|       |	first = FALSE;
 3337|       |	/* Run any eligible finalizers.  The return result of
 3338|       |	   RunFinalizers is TRUE if any finalizers are actually run.
 3339|       |	   There is a small chance that running finalizers here may
 3340|       |	   chew up enough memory to make another immediate collection
 3341|       |	   necessary.  If so, we jump back to the beginning and run
 3342|       |	   the collection, but on this second pass we do not run
 3343|       |	   finalizers. */
 3344|       |	if (RunFinalizers() &&
 3345|       |	    (NO_FREE_NODES() || size_needed > VHEAP_FREE()))
 3346|       |	    goto again;
 3347|       |    }
 3348|       |#endif
 3349|       |
 3350|    725|    if (first_bad_sexp_type != 0) {
  ------------------
  |  Branch (3350:9): [True: 0, False: 725]
  ------------------
 3351|      0|	char msg[256];
 3352|      0|#ifdef PROTECTCHECK
 3353|      0|	if (first_bad_sexp_type == FREESXP)
  ------------------
  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  ------------------
  |  Branch (3353:6): [True: 0, False: 0]
  ------------------
 3354|      0|	    snprintf(msg, 256,
 3355|      0|	          "GC encountered a node (%p) with type FREESXP (was %s)"
 3356|      0|		  " at memory.c:%d",
 3357|      0|		  (void *) first_bad_sexp_type_sexp,
 3358|      0|		  sexptype2char(first_bad_sexp_type_old_type),
  ------------------
  |  | 1989|      0|# define sexptype2char		Rf_sexptype2char
  ------------------
 3359|      0|		  first_bad_sexp_type_line);
 3360|      0|	else
 3361|      0|	    snprintf(msg, 256,
 3362|      0|		     "GC encountered a node (%p) with an unknown SEXP type: %d"
 3363|      0|		     " at memory.c:%d",
 3364|      0|		     (void *) first_bad_sexp_type_sexp,
 3365|      0|		     first_bad_sexp_type,
 3366|      0|		     first_bad_sexp_type_line);
 3367|       |#else
 3368|       |	snprintf(msg, 256,
 3369|       |		 "GC encountered a node (%p) with an unknown SEXP type: %d"
 3370|       |		 " at memory.c:%d",
 3371|       |		 (void *)first_bad_sexp_type_sexp,
 3372|       |		 first_bad_sexp_type,
 3373|       |		 first_bad_sexp_type_line);
 3374|       |	gc_error(msg);
 3375|       |#endif
 3376|      0|    }
 3377|       |
 3378|       |    /* sanity check on logical scalar values */
 3379|    725|    if (R_TrueValue != NULL && LOGICAL(R_TrueValue)[0] != TRUE) {
  ------------------
  |  |  423|    725|#define LOGICAL(x)	((int *) DATAPTR(x))
  ------------------
  |  Branch (3379:9): [True: 725, False: 0]
  |  Branch (3379:32): [True: 0, False: 725]
  ------------------
 3380|      0|	LOGICAL(R_TrueValue)[0] = TRUE;
  ------------------
  |  |  423|      0|#define LOGICAL(x)	((int *) DATAPTR(x))
  ------------------
 3381|      0|	gc_error("internal TRUE value has been modified");
 3382|      0|    }
 3383|    725|    if (R_FalseValue != NULL && LOGICAL(R_FalseValue)[0] != FALSE) {
  ------------------
  |  |  423|    725|#define LOGICAL(x)	((int *) DATAPTR(x))
  ------------------
  |  Branch (3383:9): [True: 725, False: 0]
  |  Branch (3383:33): [True: 0, False: 725]
  ------------------
 3384|      0|	LOGICAL(R_FalseValue)[0] = FALSE;
  ------------------
  |  |  423|      0|#define LOGICAL(x)	((int *) DATAPTR(x))
  ------------------
 3385|      0|	gc_error("internal FALSE value has been modified");
 3386|      0|    }
 3387|    725|    if (R_LogicalNAValue != NULL &&
  ------------------
  |  Branch (3387:9): [True: 725, False: 0]
  ------------------
 3388|    725|	LOGICAL(R_LogicalNAValue)[0] != NA_LOGICAL) {
  ------------------
  |  |  423|    725|#define LOGICAL(x)	((int *) DATAPTR(x))
  ------------------
              	LOGICAL(R_LogicalNAValue)[0] != NA_LOGICAL) {
  ------------------
  |  |   55|    725|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (3388:2): [True: 0, False: 725]
  ------------------
 3389|      0|	LOGICAL(R_LogicalNAValue)[0] = NA_LOGICAL;
  ------------------
  |  |  423|      0|#define LOGICAL(x)	((int *) DATAPTR(x))
  ------------------
              	LOGICAL(R_LogicalNAValue)[0] = NA_LOGICAL;
  ------------------
  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  ------------------
 3390|      0|	gc_error("internal logical NA value has been modified");
 3391|      0|    }
 3392|    725|}
memory.c:gc_start_timing:
 3177|    725|{
 3178|    725|    if (gctime_enabled)
  ------------------
  |  Branch (3178:9): [True: 0, False: 725]
  ------------------
 3179|      0|	R_getProcTime(gcstarttimes);
 3180|    725|}
memory.c:RunGenCollect:
 1721|    725|{
 1722|    725|    int i, gen, gens_collected;
 1723|    725|    RCNTXT *ctxt;
 1724|    725|    SEXP s;
 1725|    725|    SEXP forwarded_nodes;
 1726|       |
 1727|    725|    bad_sexp_type_seen = 0;
 1728|       |
 1729|       |    /* determine number of generations to collect */
 1730|    768|    while (num_old_gens_to_collect < NUM_OLD_GENERATIONS) {
  ------------------
  |  |  551|    768|#define NUM_OLD_GENERATIONS 2
  ------------------
  |  Branch (1730:12): [True: 761, False: 7]
  ------------------
 1731|    761|	if (collect_counts[num_old_gens_to_collect]-- <= 0) {
  ------------------
  |  Branch (1731:6): [True: 43, False: 718]
  ------------------
 1732|     43|	    collect_counts[num_old_gens_to_collect] =
 1733|     43|		collect_counts_max[num_old_gens_to_collect];
 1734|     43|	    num_old_gens_to_collect++;
 1735|     43|	}
 1736|    718|	else break;
 1737|    761|    }
 1738|       |
 1739|    725|#ifdef PROTECTCHECK
 1740|    725|    num_old_gens_to_collect = NUM_OLD_GENERATIONS;
  ------------------
  |  |  551|    725|#define NUM_OLD_GENERATIONS 2
  ------------------
 1741|    725|#endif
 1742|       |
 1743|    725| again:
 1744|    725|    gens_collected = num_old_gens_to_collect;
 1745|       |
 1746|    725|#ifndef EXPEL_OLD_TO_NEW
 1747|       |    /* eliminate old-to-new references in generations to collect by
 1748|       |       transferring referenced nodes to referring generation */
 1749|  2.17k|    for (gen = 0; gen < num_old_gens_to_collect; gen++) {
  ------------------
  |  Branch (1749:19): [True: 1.45k, False: 725]
  ------------------
 1750|  13.0k|	for (i = 0; i < NUM_NODE_CLASSES; i++) {
  ------------------
  |  |  531|  13.0k|#define NUM_NODE_CLASSES 8
  ------------------
  |  Branch (1750:14): [True: 11.6k, False: 1.45k]
  ------------------
 1751|  11.6k|	    s = NEXT_NODE(R_GenHeap[i].OldToNew[gen]);
  ------------------
  |  |  639|  11.6k|#define NEXT_NODE(s) (s)->gengc_next_node
  ------------------
 1752|  15.1k|	    while (s != R_GenHeap[i].OldToNew[gen]) {
  ------------------
  |  Branch (1752:13): [True: 3.51k, False: 11.6k]
  ------------------
 1753|  3.51k|		SEXP next = NEXT_NODE(s);
  ------------------
  |  |  639|  3.51k|#define NEXT_NODE(s) (s)->gengc_next_node
  ------------------
 1754|  3.51k|		DO_CHILDREN(s, AgeNodeAndChildren, gen);
  ------------------
  |  |  779|  3.51k|    DO_CHILDREN4(__n__,dc__action__,dc__action__,dc__extra__)
  |  |  ------------------
  |  |  |  |  710|  3.51k|#define DO_CHILDREN4(__n__,dc__action__,dc__str__action__,dc__extra__) do { \
  |  |  |  |  711|  3.51k|  if (HAS_GENUINE_ATTRIB(__n__)) \
  |  |  |  |  ------------------
  |  |  |  |  |  |  696|  3.51k|    (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|  3.51k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|  7.02k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  230|  3.51k|#define ATTRIB(x)	((x)->attrib)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (696:6): [True: 3.51k, False: 0]
  |  |  |  |  |  |  |  Branch (696:30): [True: 65, False: 3.44k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  697|  3.51k|     (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|     65|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  120|    130|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (697:7): [True: 65, False: 0]
  |  |  |  |  |  |  |  Branch (697:31): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  712|  3.51k|    dc__action__(ATTRIB(__n__), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  230|     65|#define ATTRIB(x)	((x)->attrib)
  |  |  |  |  ------------------
  |  |  |  |  713|  3.51k|  if (ALTREP(__n__)) {					\
  |  |  |  |  ------------------
  |  |  |  |  |  |  242|  3.51k|#define ALTREP(x)       ((x)->sxpinfo.alt)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (242:25): [True: 0, False: 3.51k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  714|      0|	  dc__action__(TAG(__n__), dc__extra__);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  440|      0|#define TAG(e)		((e)->u.listsxp.tagval)
  |  |  |  |  ------------------
  |  |  |  |  715|      0|	  dc__action__(CAR(__n__), dc__extra__);	\
  |  |  |  |  716|      0|	  dc__action__(CDR(__n__), dc__extra__);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  445|      0|#define CDR(e)		((e)->u.listsxp.cdrval)
  |  |  |  |  ------------------
  |  |  |  |  717|      0|      }							\
  |  |  |  |  718|  3.51k|  else \
  |  |  |  |  719|  3.51k|  switch (TYPEOF(__n__)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  233|  3.51k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  ------------------
  |  |  |  |  720|      0|  case NILSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (720:3): [True: 0, False: 3.51k]
  |  |  |  |  ------------------
  |  |  |  |  721|      0|  case BUILTINSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  119|      0|#define BUILTINSXP   8	  /* builtin non-special forms */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (721:3): [True: 0, False: 3.51k]
  |  |  |  |  ------------------
  |  |  |  |  722|      0|  case SPECIALSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|      0|#define SPECIALSXP   7	  /* special forms */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (722:3): [True: 0, False: 3.51k]
  |  |  |  |  ------------------
  |  |  |  |  723|      0|  case CHARSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (723:3): [True: 0, False: 3.51k]
  |  |  |  |  ------------------
  |  |  |  |  724|      0|  case LGLSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (724:3): [True: 0, False: 3.51k]
  |  |  |  |  ------------------
  |  |  |  |  725|      0|  case INTSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (725:3): [True: 0, False: 3.51k]
  |  |  |  |  ------------------
  |  |  |  |  726|      1|  case REALSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  124|      1|#define REALSXP	    14	  /* real variables */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (726:3): [True: 1, False: 3.51k]
  |  |  |  |  ------------------
  |  |  |  |  727|      1|  case CPLXSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  125|      1|#define CPLXSXP	    15	  /* complex variables */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (727:3): [True: 0, False: 3.51k]
  |  |  |  |  ------------------
  |  |  |  |  728|      4|  case WEAKREFSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      4|#define WEAKREFSXP  23    /* weak reference */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (728:3): [True: 3, False: 3.50k]
  |  |  |  |  ------------------
  |  |  |  |  729|      4|  case RAWSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  136|      4|#define RAWSXP      24    /* raw bytes */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (729:3): [True: 0, False: 3.51k]
  |  |  |  |  ------------------
  |  |  |  |  730|      4|  case OBJSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      4|#define OBJSXP      25    /* object, non-vector  */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (730:3): [True: 0, False: 3.51k]
  |  |  |  |  ------------------
  |  |  |  |  731|      4|    break; \
  |  |  |  |  732|    284|  case STRSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|    284|#define STRSXP	    16	  /* string vectors */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (732:3): [True: 284, False: 3.22k]
  |  |  |  |  ------------------
  |  |  |  |  733|    284|    { \
  |  |  |  |  734|    284|      R_xlen_t i; \
  |  |  |  |  735|  10.7k|      for (i = 0; i < XLENGTH(__n__); i++) \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|  10.7k|#define XLENGTH(x) XLENGTH_EX(x)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (735:19): [True: 10.5k, False: 284]
  |  |  |  |  ------------------
  |  |  |  |  736|  10.5k|	dc__str__action__(VECTOR_ELT_0(__n__, i), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|  10.5k|#define VECTOR_ELT_0(x,i)        ((SEXP *) STDVEC_DATAPTR(x))[i]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  420|  10.5k|#define STDVEC_DATAPTR(x) ((void *) (((SEXPREC_ALIGN *) (x)) + 1))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  737|    284|    } \
  |  |  |  |  738|    284|    break; \
  |  |  |  |  739|      4|  case EXPRSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (739:3): [True: 0, False: 3.51k]
  |  |  |  |  ------------------
  |  |  |  |  740|    574|  case VECSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  131|    574|#define VECSXP	    19	  /* generic vectors */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (740:3): [True: 574, False: 2.93k]
  |  |  |  |  ------------------
  |  |  |  |  741|    574|    { \
  |  |  |  |  742|    574|      R_xlen_t i; \
  |  |  |  |  743|  18.7M|      for (i = 0; i < XLENGTH(__n__); i++) \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|  18.7M|#define XLENGTH(x) XLENGTH_EX(x)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (743:19): [True: 18.7M, False: 574]
  |  |  |  |  ------------------
  |  |  |  |  744|  18.7M|	dc__action__(VECTOR_ELT_0(__n__, i), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|  18.7M|#define VECTOR_ELT_0(x,i)        ((SEXP *) STDVEC_DATAPTR(x))[i]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  420|  18.7M|#define STDVEC_DATAPTR(x) ((void *) (((SEXPREC_ALIGN *) (x)) + 1))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  745|    574|    } \
  |  |  |  |  746|    574|    break; \
  |  |  |  |  747|    781|  case ENVSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  115|    781|#define ENVSXP	     4	  /* environments */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (747:3): [True: 781, False: 2.73k]
  |  |  |  |  ------------------
  |  |  |  |  748|    781|    dc__action__(FRAME(__n__), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  532|    781|#define FRAME(x)	((x)->u.envsxp.frame)
  |  |  |  |  ------------------
  |  |  |  |  749|    781|    dc__action__(ENCLOS(__n__), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  533|    781|#define ENCLOS(x)	((x)->u.envsxp.enclos)
  |  |  |  |  ------------------
  |  |  |  |  750|    781|    dc__action__(HASHTAB(__n__), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  534|    781|#define HASHTAB(x)	((x)->u.envsxp.hashtab)
  |  |  |  |  ------------------
  |  |  |  |  751|    781|    break; \
  |  |  |  |  752|    743|  case LISTSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  113|    743|#define LISTSXP	     2	  /* lists of dotted pairs */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (752:3): [True: 743, False: 2.76k]
  |  |  |  |  ------------------
  |  |  |  |  753|  1.60k|  case PROMSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  116|  1.60k|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (753:3): [True: 860, False: 2.65k]
  |  |  |  |  ------------------
  |  |  |  |  754|  1.60k|    dc__action__(TAG(__n__), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  440|  1.60k|#define TAG(e)		((e)->u.listsxp.tagval)
  |  |  |  |  ------------------
  |  |  |  |  755|  1.60k|    if (BOXED_BINDING_CELLS || BNDCELL_TAG(__n__) == 0) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.20k|# define BOXED_BINDING_CELLS 0
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:30): [Folded, False: 1.60k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   if (BOXED_BINDING_CELLS || BNDCELL_TAG(__n__) == 0) \
  |  |  |  |  ------------------
  |  |  |  |  |  |  463|  1.60k|#define BNDCELL_TAG(e)	((e)->sxpinfo.extra)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (755:32): [True: 1.60k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  756|  1.60k|      dc__action__(CAR0(__n__), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  441|  1.60k|#define CAR0(e)		((e)->u.listsxp.carval)
  |  |  |  |  ------------------
  |  |  |  |  757|  1.60k|    dc__action__(CDR(__n__), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  445|  1.60k|#define CDR(e)		((e)->u.listsxp.cdrval)
  |  |  |  |  ------------------
  |  |  |  |  758|  1.60k|    break; \
  |  |  |  |  759|    743|  case CLOSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  114|      0|#define CLOSXP	     3	  /* closures */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (759:3): [True: 0, False: 3.51k]
  |  |  |  |  ------------------
  |  |  |  |  760|      1|  case LANGSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|      1|#define LANGSXP	     6	  /* language constructs (special lists) */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:3): [True: 1, False: 3.51k]
  |  |  |  |  ------------------
  |  |  |  |  761|      1|  case DOTSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  127|      1|#define DOTSXP	    17	  /* dot-dot-dot object */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (761:3): [True: 0, False: 3.51k]
  |  |  |  |  ------------------
  |  |  |  |  762|    265|  case SYMSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|    265|#define SYMSXP	     1	  /* symbols */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (762:3): [True: 264, False: 3.24k]
  |  |  |  |  ------------------
  |  |  |  |  763|    265|  case BCODESXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    265|#define BCODESXP    21    /* byte code */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (763:3): [True: 0, False: 3.51k]
  |  |  |  |  ------------------
  |  |  |  |  764|    265|    dc__action__(TAG(__n__), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  440|    265|#define TAG(e)		((e)->u.listsxp.tagval)
  |  |  |  |  ------------------
  |  |  |  |  765|    265|    dc__action__(CAR0(__n__), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  441|    265|#define CAR0(e)		((e)->u.listsxp.carval)
  |  |  |  |  ------------------
  |  |  |  |  766|    265|    dc__action__(CDR(__n__), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  445|    265|#define CDR(e)		((e)->u.listsxp.cdrval)
  |  |  |  |  ------------------
  |  |  |  |  767|    265|    break; \
  |  |  |  |  768|    265|  case EXTPTRSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|      0|#define EXTPTRSXP   22    /* external pointer */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (768:3): [True: 0, False: 3.51k]
  |  |  |  |  ------------------
  |  |  |  |  769|      0|    dc__action__(EXTPTR_PROT(__n__), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  442|      0|#define EXTPTR_PROT(x)	CDR(x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  445|      0|#define CDR(e)		((e)->u.listsxp.cdrval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  770|      0|    dc__action__(EXTPTR_TAG(__n__), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  443|      0|#define EXTPTR_TAG(x)	TAG(x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  440|      0|#define TAG(e)		((e)->u.listsxp.tagval)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  771|      0|    break; \
  |  |  |  |  772|    265|  FREE_FORWARD_CASE \
  |  |  |  |  ------------------
  |  |  |  |  |  |  705|      0|#define FREE_FORWARD_CASE case FREESXP: if (gc_inhibit_release) break;
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (705:27): [True: 0, False: 3.51k]
  |  |  |  |  |  |  |  Branch (705:45): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  773|      0|  default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (773:3): [True: 0, False: 3.51k]
  |  |  |  |  ------------------
  |  |  |  |  774|      0|    register_bad_sexp_type(__n__, __LINE__);		\
  |  |  |  |  775|  3.51k|  } \
  |  |  |  |  776|  3.51k|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (776:9): [Folded, False: 3.51k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1755|  3.51k|		UNSNAP_NODE(s);
  ------------------
  |  |  648|  3.51k|#define UNSNAP_NODE(s) do { \
  |  |  649|  3.51k|  SEXP un__n__ = (s); \
  |  |  650|  3.51k|  SEXP next = NEXT_NODE(un__n__); \
  |  |  ------------------
  |  |  |  |  639|  3.51k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  ------------------
  |  |  651|  3.51k|  SEXP prev = PREV_NODE(un__n__); \
  |  |  ------------------
  |  |  |  |  640|  3.51k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  ------------------
  |  |  652|  3.51k|  SET_NEXT_NODE(prev, next); \
  |  |  ------------------
  |  |  |  |  641|  3.51k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|  3.51k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  653|  3.51k|  SET_PREV_NODE(next, prev); \
  |  |  ------------------
  |  |  |  |  642|  3.51k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|  3.51k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  654|  3.51k|} while(0)
  |  |  ------------------
  |  |  |  Branch (654:9): [Folded, False: 3.51k]
  |  |  ------------------
  ------------------
 1756|  3.51k|		if (NODE_GENERATION(s) != gen)
  ------------------
  |  |  559|  3.51k|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  ------------------
  |  Branch (1756:7): [True: 0, False: 3.51k]
  ------------------
 1757|      0|		    gc_error("****snapping into wrong generation\n");
 1758|  3.51k|		SNAP_NODE(s, R_GenHeap[i].Old[gen]);
  ------------------
  |  |  657|  3.51k|#define SNAP_NODE(s,t) do { \
  |  |  658|  3.51k|  SEXP sn__n__ = (s); \
  |  |  659|  3.51k|  SEXP next = (t); \
  |  |  660|  3.51k|  SEXP prev = PREV_NODE(next); \
  |  |  ------------------
  |  |  |  |  640|  3.51k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  ------------------
  |  |  661|  3.51k|  SET_NEXT_NODE(sn__n__, next); \
  |  |  ------------------
  |  |  |  |  641|  3.51k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|  3.51k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  662|  3.51k|  SET_PREV_NODE(next, sn__n__); \
  |  |  ------------------
  |  |  |  |  642|  3.51k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|  3.51k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  663|  3.51k|  SET_NEXT_NODE(prev, sn__n__); \
  |  |  ------------------
  |  |  |  |  641|  3.51k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|  3.51k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  664|  3.51k|  SET_PREV_NODE(sn__n__, prev); \
  |  |  ------------------
  |  |  |  |  642|  3.51k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|  3.51k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  665|  3.51k|} while (0)
  |  |  ------------------
  |  |  |  Branch (665:10): [Folded, False: 3.51k]
  |  |  ------------------
  ------------------
 1759|  3.51k|		s = next;
 1760|  3.51k|	    }
 1761|  11.6k|	}
 1762|  1.45k|    }
 1763|    725|#endif
 1764|       |
 1765|    725|    DEBUG_CHECK_NODE_COUNTS("at start");
 1766|       |
 1767|       |    /* unmark all marked nodes in old generations to be collected and
 1768|       |       move to New space */
 1769|  2.17k|    for (gen = 0; gen < num_old_gens_to_collect; gen++) {
  ------------------
  |  Branch (1769:19): [True: 1.45k, False: 725]
  ------------------
 1770|  13.0k|	for (i = 0; i < NUM_NODE_CLASSES; i++) {
  ------------------
  |  |  531|  13.0k|#define NUM_NODE_CLASSES 8
  ------------------
  |  Branch (1770:14): [True: 11.6k, False: 1.45k]
  ------------------
 1771|  11.6k|	    R_GenHeap[i].OldCount[gen] = 0;
 1772|  11.6k|	    s = NEXT_NODE(R_GenHeap[i].Old[gen]);
  ------------------
  |  |  639|  11.6k|#define NEXT_NODE(s) (s)->gengc_next_node
  ------------------
 1773|   234M|	    while (s != R_GenHeap[i].Old[gen]) {
  ------------------
  |  Branch (1773:13): [True: 234M, False: 11.6k]
  ------------------
 1774|   234M|		SEXP next = NEXT_NODE(s);
  ------------------
  |  |  639|   234M|#define NEXT_NODE(s) (s)->gengc_next_node
  ------------------
 1775|   234M|		if (gen < NUM_OLD_GENERATIONS - 1)
  ------------------
  |  |  551|   234M|#define NUM_OLD_GENERATIONS 2
  ------------------
  |  Branch (1775:7): [True: 395k, False: 234M]
  ------------------
 1776|   395k|		    SET_NODE_GENERATION(s, gen + 1);
  ------------------
  |  |  560|   395k|#define SET_NODE_GENERATION(s,g) ((s)->sxpinfo.gcgen=(g))
  ------------------
 1777|   234M|		UNMARK_NODE(s);
  ------------------
  |  |  270|   234M|#define UNMARK_NODE(s) (MARK(s)=0)
  |  |  ------------------
  |  |  |  |  232|   234M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  ------------------
  ------------------
 1778|   234M|		s = next;
 1779|   234M|	    }
 1780|  11.6k|	    if (NEXT_NODE(R_GenHeap[i].Old[gen]) != R_GenHeap[i].Old[gen])
  ------------------
  |  |  639|  11.6k|#define NEXT_NODE(s) (s)->gengc_next_node
  ------------------
  |  Branch (1780:10): [True: 8.15k, False: 3.44k]
  ------------------
 1781|  8.15k|		BULK_MOVE(R_GenHeap[i].Old[gen], R_GenHeap[i].New);
  ------------------
  |  |  668|  8.15k|#define BULK_MOVE(from_peg,to_peg) do { \
  |  |  669|  8.15k|  SEXP __from__ = (from_peg); \
  |  |  670|  8.15k|  SEXP __to__ = (to_peg); \
  |  |  671|  8.15k|  SEXP first_old = NEXT_NODE(__from__); \
  |  |  ------------------
  |  |  |  |  639|  8.15k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  ------------------
  |  |  672|  8.15k|  SEXP last_old = PREV_NODE(__from__); \
  |  |  ------------------
  |  |  |  |  640|  8.15k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  ------------------
  |  |  673|  8.15k|  SEXP first_new = NEXT_NODE(__to__); \
  |  |  ------------------
  |  |  |  |  639|  8.15k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  ------------------
  |  |  674|  8.15k|  SET_PREV_NODE(first_old, __to__); \
  |  |  ------------------
  |  |  |  |  642|  8.15k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|  8.15k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  675|  8.15k|  SET_NEXT_NODE(__to__, first_old); \
  |  |  ------------------
  |  |  |  |  641|  8.15k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|  8.15k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  676|  8.15k|  SET_PREV_NODE(first_new, last_old); \
  |  |  ------------------
  |  |  |  |  642|  8.15k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|  8.15k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  677|  8.15k|  SET_NEXT_NODE(last_old, first_new); \
  |  |  ------------------
  |  |  |  |  641|  8.15k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|  8.15k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  678|  8.15k|  SET_NEXT_NODE(__from__, __from__); \
  |  |  ------------------
  |  |  |  |  641|  8.15k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|  8.15k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  679|  8.15k|  SET_PREV_NODE(__from__, __from__); \
  |  |  ------------------
  |  |  |  |  642|  8.15k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|  8.15k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  680|  8.15k|} while (0);
  |  |  ------------------
  |  |  |  Branch (680:10): [Folded, False: 8.15k]
  |  |  ------------------
  ------------------
 1782|  11.6k|	}
 1783|  1.45k|    }
 1784|       |
 1785|    725|    forwarded_nodes = NULL;
 1786|       |
 1787|    725|#ifndef EXPEL_OLD_TO_NEW
 1788|       |    /* scan nodes in uncollected old generations with old-to-new pointers */
 1789|    725|    for (gen = num_old_gens_to_collect; gen < NUM_OLD_GENERATIONS; gen++)
  ------------------
  |  |  551|    725|#define NUM_OLD_GENERATIONS 2
  ------------------
  |  Branch (1789:41): [True: 0, False: 725]
  ------------------
 1790|      0|	for (i = 0; i < NUM_NODE_CLASSES; i++)
  ------------------
  |  |  531|      0|#define NUM_NODE_CLASSES 8
  ------------------
  |  Branch (1790:14): [True: 0, False: 0]
  ------------------
 1791|      0|	    for (s = NEXT_NODE(R_GenHeap[i].OldToNew[gen]);
  ------------------
  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  ------------------
 1792|      0|		 s != R_GenHeap[i].OldToNew[gen];
  ------------------
  |  Branch (1792:4): [True: 0, False: 0]
  ------------------
 1793|      0|		 s = NEXT_NODE(s))
  ------------------
  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  ------------------
 1794|      0|		FORWARD_CHILDREN(s);
  ------------------
  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  ------------------
  |  |  |  |  710|    725|#define DO_CHILDREN4(__n__,dc__action__,dc__str__action__,dc__extra__) do { \
  |  |  |  |  711|      0|  if (HAS_GENUINE_ATTRIB(__n__)) \
  |  |  |  |  ------------------
  |  |  |  |  |  |  696|      0|    (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  230|      0|#define ATTRIB(x)	((x)->attrib)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (696:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (696:30): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  697|      0|     (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (697:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (697:31): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  712|      0|    dc__action__(ATTRIB(__n__), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  713|      0|  if (ALTREP(__n__)) {					\
  |  |  |  |  ------------------
  |  |  |  |  |  |  242|      0|#define ALTREP(x)       ((x)->sxpinfo.alt)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (242:25): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  714|      0|	  dc__action__(TAG(__n__), dc__extra__);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  715|      0|	  dc__action__(CAR(__n__), dc__extra__);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  716|      0|	  dc__action__(CDR(__n__), dc__extra__);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  717|      0|      }							\
  |  |  |  |  718|      0|  else \
  |  |  |  |  719|      0|  switch (TYPEOF(__n__)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  ------------------
  |  |  |  |  720|      0|  case NILSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (720:3): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  721|      0|  case BUILTINSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  119|      0|#define BUILTINSXP   8	  /* builtin non-special forms */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (721:3): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  722|      0|  case SPECIALSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|      0|#define SPECIALSXP   7	  /* special forms */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (722:3): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  723|      0|  case CHARSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (723:3): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  724|      0|  case LGLSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (724:3): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  725|      0|  case INTSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (725:3): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  726|      0|  case REALSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (726:3): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  727|      0|  case CPLXSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (727:3): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  728|      0|  case WEAKREFSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|      0|#define WEAKREFSXP  23    /* weak reference */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (728:3): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  729|      0|  case RAWSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (729:3): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  730|      0|  case OBJSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|      0|#define OBJSXP      25    /* object, non-vector  */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (730:3): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  731|      0|    break; \
  |  |  |  |  732|      0|  case STRSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (732:3): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  733|      0|    { \
  |  |  |  |  734|      0|      R_xlen_t i; \
  |  |  |  |  735|      0|      for (i = 0; i < XLENGTH(__n__); i++) \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XLENGTH(x) XLENGTH_EX(x)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (735:19): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  736|      0|	dc__str__action__(VECTOR_ELT_0(__n__, i), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  826|      0|#define FC_PROCESS_CHARSXP(__n__,__dummy__) PROCESS_CHARSXP(__n__)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  825|      0|#define PROCESS_CHARSXP(__n__) FORWARD_AND_PROCESS_ONE_NODE(__n__, CHARSXP)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  812|      0|#define FORWARD_AND_PROCESS_ONE_NODE(s, tp) do {	\
  |  |  |  |  |  |  |  |  |  |  |  |  813|      0|	SEXP fpn__n__ = (s);				\
  |  |  |  |  |  |  |  |  |  |  |  |  814|      0|	int __tp__ = (tp);				\
  |  |  |  |  |  |  |  |  |  |  |  |  815|      0|	if (fpn__n__ && ! NODE_IS_MARKED(fpn__n__)) {	\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (815:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (815:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  816|      0|	    if (TYPEOF(fpn__n__) == __tp__ &&		\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (816:10): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  817|      0|		! HAS_GENUINE_ATTRIB(fpn__n__)) {	\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  696|      0|    (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  230|      0|#define ATTRIB(x)	((x)->attrib)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (696:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (696:30): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  697|      0|     (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (697:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (697:31): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  818|      0|		MARK_AND_UNSNAP_NODE(fpn__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  819|      0|		PROCESS_ONE_NODE(fpn__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  803|      0|#define PROCESS_ONE_NODE(s) do {				\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  804|      0|	SEXP pn__n__ = (s);					\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  805|      0|	int __cls__ = NODE_CLASS(pn__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  545|      0|#define NODE_CLASS(s) ((s)->sxpinfo.gccls)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  806|      0|	int __gen__ = NODE_GENERATION(pn__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  807|      0|	SNAP_NODE(pn__n__, R_GenHeap[__cls__].Old[__gen__]);	\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  657|      0|#define SNAP_NODE(s,t) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  658|      0|  SEXP sn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  659|      0|  SEXP next = (t); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  660|      0|  SEXP prev = PREV_NODE(next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  661|      0|  SET_NEXT_NODE(sn__n__, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  662|      0|  SET_PREV_NODE(next, sn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  663|      0|  SET_NEXT_NODE(prev, sn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  664|      0|  SET_PREV_NODE(sn__n__, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  665|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (665:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  808|      0|	R_GenHeap[__cls__].OldCount[__gen__]++;			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  809|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (809:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  820|      0|	    }						\
  |  |  |  |  |  |  |  |  |  |  |  |  821|      0|	    else FORWARD_NODE(fpn__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  822|      0|	}						\
  |  |  |  |  |  |  |  |  |  |  |  |  823|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (823:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  737|      0|    } \
  |  |  |  |  738|      0|    break; \
  |  |  |  |  739|      0|  case EXPRSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (739:3): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  740|      0|  case VECSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (740:3): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  741|      0|    { \
  |  |  |  |  742|      0|      R_xlen_t i; \
  |  |  |  |  743|      0|      for (i = 0; i < XLENGTH(__n__); i++) \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|      0|#define XLENGTH(x) XLENGTH_EX(x)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (743:19): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  744|      0|	dc__action__(VECTOR_ELT_0(__n__, i), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  745|      0|    } \
  |  |  |  |  746|      0|    break; \
  |  |  |  |  747|      0|  case ENVSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (747:3): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  748|      0|    dc__action__(FRAME(__n__), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  749|      0|    dc__action__(ENCLOS(__n__), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  750|      0|    dc__action__(HASHTAB(__n__), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  751|      0|    break; \
  |  |  |  |  752|      0|  case LISTSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  113|      0|#define LISTSXP	     2	  /* lists of dotted pairs */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (752:3): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  753|      0|  case PROMSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  116|      0|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (753:3): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  754|      0|    dc__action__(TAG(__n__), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  755|      0|    if (BOXED_BINDING_CELLS || BNDCELL_TAG(__n__) == 0) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|# define BOXED_BINDING_CELLS 0
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:30): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   if (BOXED_BINDING_CELLS || BNDCELL_TAG(__n__) == 0) \
  |  |  |  |  ------------------
  |  |  |  |  |  |  463|      0|#define BNDCELL_TAG(e)	((e)->sxpinfo.extra)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (755:32): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  756|      0|      dc__action__(CAR0(__n__), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  757|      0|    dc__action__(CDR(__n__), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  758|      0|    break; \
  |  |  |  |  759|      0|  case CLOSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  114|      0|#define CLOSXP	     3	  /* closures */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (759:3): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  760|      0|  case LANGSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|      0|#define LANGSXP	     6	  /* language constructs (special lists) */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:3): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  761|      0|  case DOTSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  127|      0|#define DOTSXP	    17	  /* dot-dot-dot object */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (761:3): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  762|      0|  case SYMSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|      0|#define SYMSXP	     1	  /* symbols */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (762:3): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  763|      0|  case BCODESXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|      0|#define BCODESXP    21    /* byte code */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (763:3): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  764|      0|    dc__action__(TAG(__n__), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  765|      0|    dc__action__(CAR0(__n__), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  766|      0|    dc__action__(CDR(__n__), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  767|      0|    break; \
  |  |  |  |  768|      0|  case EXTPTRSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|      0|#define EXTPTRSXP   22    /* external pointer */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (768:3): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  769|      0|    dc__action__(EXTPTR_PROT(__n__), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  770|      0|    dc__action__(EXTPTR_TAG(__n__), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  771|      0|    break; \
  |  |  |  |  772|      0|  FREE_FORWARD_CASE \
  |  |  |  |  ------------------
  |  |  |  |  |  |  705|      0|#define FREE_FORWARD_CASE case FREESXP: if (gc_inhibit_release) break;
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (705:27): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (705:45): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  773|      0|  default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (773:3): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  774|      0|    register_bad_sexp_type(__n__, __LINE__);		\
  |  |  |  |  775|      0|  } \
  |  |  |  |  776|      0|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (776:9): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1795|    725|#endif
 1796|       |
 1797|       |    /* forward all roots */
 1798|    725|    FORWARD_NODE(R_NilValue);	           /* Builtin constants */
  ------------------
  |  |  794|    725|#define FORWARD_NODE(s) do { \
  |  |  795|    725|  SEXP fn__n__ = (s); \
  |  |  796|    725|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|    725|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 725, False: 0]
  |  |  |  Branch (796:18): [True: 725, False: 0]
  |  |  ------------------
  |  |  797|    725|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|    725|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|    725|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|    725|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|    725|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|    725|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|    725|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|    725|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|  1.45k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 725]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|    725|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|    725|}
  |  |  |  |  ------------------
  |  |  |  |  790|    725|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|    725|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|    725|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|    725|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|    725|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|    725|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|    725|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|    725|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|    725|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|    725|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|    725|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|    725|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 725]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|    725|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 725]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|    725|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|    725|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|    725|    forwarded_nodes = fn__n__; \
  |  |  800|    725|  } \
  |  |  801|    725|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 725]
  |  |  ------------------
  ------------------
 1799|    725|    FORWARD_NODE(NA_STRING);
  ------------------
  |  |  794|    725|#define FORWARD_NODE(s) do { \
  |  |  795|    725|  SEXP fn__n__ = (s); \
  |  |  796|    725|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|    725|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 725, False: 0]
  |  |  |  Branch (796:18): [True: 725, False: 0]
  |  |  ------------------
  |  |  797|    725|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|    725|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|    725|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|    725|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|    725|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|    725|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|    725|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|    725|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|  1.45k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 725]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|    725|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|    725|}
  |  |  |  |  ------------------
  |  |  |  |  790|    725|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|    725|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|    725|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|    725|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|    725|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|    725|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|    725|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|    725|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|    725|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|    725|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|    725|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|    725|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 725]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|    725|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 725]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|    725|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|    725|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|    725|    forwarded_nodes = fn__n__; \
  |  |  800|    725|  } \
  |  |  801|    725|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 725]
  |  |  ------------------
  ------------------
 1800|    725|    FORWARD_NODE(R_BlankString);
  ------------------
  |  |  794|    725|#define FORWARD_NODE(s) do { \
  |  |  795|    725|  SEXP fn__n__ = (s); \
  |  |  796|    725|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|    725|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 725, False: 0]
  |  |  |  Branch (796:18): [True: 725, False: 0]
  |  |  ------------------
  |  |  797|    725|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|    725|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|    725|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|    725|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|    725|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|    725|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|    725|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|    725|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|  1.45k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 725]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|    725|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|    725|}
  |  |  |  |  ------------------
  |  |  |  |  790|    725|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|    725|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|    725|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|    725|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|    725|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|    725|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|    725|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|    725|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|    725|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|    725|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|    725|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|    725|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 725]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|    725|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 725]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|    725|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|    725|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|    725|    forwarded_nodes = fn__n__; \
  |  |  800|    725|  } \
  |  |  801|    725|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 725]
  |  |  ------------------
  ------------------
 1801|    725|    FORWARD_NODE(R_BlankScalarString);
  ------------------
  |  |  794|    725|#define FORWARD_NODE(s) do { \
  |  |  795|    725|  SEXP fn__n__ = (s); \
  |  |  796|    725|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|    725|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 725, False: 0]
  |  |  |  Branch (796:18): [True: 725, False: 0]
  |  |  ------------------
  |  |  797|    725|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|    725|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|    725|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|    725|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|    725|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|    725|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|    725|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|    725|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|  1.45k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 725]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|    725|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|    725|}
  |  |  |  |  ------------------
  |  |  |  |  790|    725|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|    725|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|    725|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|    725|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|    725|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|    725|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|    725|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|    725|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|    725|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|    725|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|    725|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|    725|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 725]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|    725|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 725]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|    725|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|    725|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|    725|    forwarded_nodes = fn__n__; \
  |  |  800|    725|  } \
  |  |  801|    725|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 725]
  |  |  ------------------
  ------------------
 1802|    725|    FORWARD_NODE(R_CurrentExpression);
  ------------------
  |  |  794|    725|#define FORWARD_NODE(s) do { \
  |  |  795|    725|  SEXP fn__n__ = (s); \
  |  |  796|    725|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|    725|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 725, False: 0]
  |  |  |  Branch (796:18): [True: 725, False: 0]
  |  |  ------------------
  |  |  797|    725|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|    725|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|    725|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|    725|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|    725|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|    725|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|    725|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|    725|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|  1.45k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 725]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|    725|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|    725|}
  |  |  |  |  ------------------
  |  |  |  |  790|    725|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|    725|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|    725|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|    725|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|    725|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|    725|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|    725|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|    725|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|    725|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|    725|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|    725|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|    725|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 725]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|    725|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 725]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|    725|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|    725|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|    725|    forwarded_nodes = fn__n__; \
  |  |  800|    725|  } \
  |  |  801|    725|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 725]
  |  |  ------------------
  ------------------
 1803|    725|    FORWARD_NODE(R_UnboundValue);
  ------------------
  |  |  794|    725|#define FORWARD_NODE(s) do { \
  |  |  795|    725|  SEXP fn__n__ = (s); \
  |  |  796|    725|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|    725|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 725, False: 0]
  |  |  |  Branch (796:18): [True: 725, False: 0]
  |  |  ------------------
  |  |  797|    725|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|    725|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|    725|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|    725|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|    725|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|    725|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|    725|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|    725|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|  1.45k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 725]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|    725|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|    725|}
  |  |  |  |  ------------------
  |  |  |  |  790|    725|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|    725|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|    725|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|    725|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|    725|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|    725|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|    725|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|    725|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|    725|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|    725|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|    725|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|    725|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 725]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|    725|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 725]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|    725|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|    725|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|    725|    forwarded_nodes = fn__n__; \
  |  |  800|    725|  } \
  |  |  801|    725|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 725]
  |  |  ------------------
  ------------------
 1804|    725|    FORWARD_NODE(R_RestartToken);
  ------------------
  |  |  794|    725|#define FORWARD_NODE(s) do { \
  |  |  795|    725|  SEXP fn__n__ = (s); \
  |  |  796|    725|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|    725|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 725, False: 0]
  |  |  |  Branch (796:18): [True: 725, False: 0]
  |  |  ------------------
  |  |  797|    725|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|    725|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|    725|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|    725|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|    725|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|    725|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|    725|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|    725|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|  1.45k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 725]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|    725|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|    725|}
  |  |  |  |  ------------------
  |  |  |  |  790|    725|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|    725|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|    725|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|    725|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|    725|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|    725|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|    725|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|    725|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|    725|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|    725|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|    725|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|    725|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 725]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|    725|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 725]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|    725|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|    725|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|    725|    forwarded_nodes = fn__n__; \
  |  |  800|    725|  } \
  |  |  801|    725|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 725]
  |  |  ------------------
  ------------------
 1805|    725|    FORWARD_NODE(R_MissingArg);
  ------------------
  |  |  794|    725|#define FORWARD_NODE(s) do { \
  |  |  795|    725|  SEXP fn__n__ = (s); \
  |  |  796|    725|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|    725|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 725, False: 0]
  |  |  |  Branch (796:18): [True: 725, False: 0]
  |  |  ------------------
  |  |  797|    725|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|    725|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|    725|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|    725|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|    725|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|    725|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|    725|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|    725|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|  1.45k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 725]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|    725|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|    725|}
  |  |  |  |  ------------------
  |  |  |  |  790|    725|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|    725|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|    725|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|    725|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|    725|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|    725|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|    725|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|    725|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|    725|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|    725|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|    725|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|    725|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 725]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|    725|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 725]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|    725|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|    725|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|    725|    forwarded_nodes = fn__n__; \
  |  |  800|    725|  } \
  |  |  801|    725|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 725]
  |  |  ------------------
  ------------------
 1806|    725|    FORWARD_NODE(R_InBCInterpreter);
  ------------------
  |  |  794|    725|#define FORWARD_NODE(s) do { \
  |  |  795|    725|  SEXP fn__n__ = (s); \
  |  |  796|    725|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|    725|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 725, False: 0]
  |  |  |  Branch (796:18): [True: 725, False: 0]
  |  |  ------------------
  |  |  797|    725|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|    725|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|    725|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|    725|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|    725|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|    725|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|    725|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|    725|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|  1.45k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 725]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|    725|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|    725|}
  |  |  |  |  ------------------
  |  |  |  |  790|    725|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|    725|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|    725|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|    725|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|    725|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|    725|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|    725|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|    725|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|    725|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|    725|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|    725|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|    725|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 725]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|    725|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 725]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|    725|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|    725|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|    725|    forwarded_nodes = fn__n__; \
  |  |  800|    725|  } \
  |  |  801|    725|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 725]
  |  |  ------------------
  ------------------
 1807|       |
 1808|    725|    FORWARD_NODE(R_GlobalEnv);	           /* Global environment */
  ------------------
  |  |  794|    725|#define FORWARD_NODE(s) do { \
  |  |  795|    725|  SEXP fn__n__ = (s); \
  |  |  796|    725|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|    725|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 725, False: 0]
  |  |  |  Branch (796:18): [True: 725, False: 0]
  |  |  ------------------
  |  |  797|    725|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|    725|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|    725|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|    725|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|    725|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|    725|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|    725|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|    725|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|  1.45k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 725]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|    725|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|    725|}
  |  |  |  |  ------------------
  |  |  |  |  790|    725|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|    725|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|    725|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|    725|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|    725|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|    725|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|    725|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|    725|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|    725|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|    725|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|    725|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|    725|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 725]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|    725|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 725]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|    725|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|    725|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|    725|    forwarded_nodes = fn__n__; \
  |  |  800|    725|  } \
  |  |  801|    725|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 725]
  |  |  ------------------
  ------------------
 1809|    725|    FORWARD_NODE(R_BaseEnv);
  ------------------
  |  |  794|    725|#define FORWARD_NODE(s) do { \
  |  |  795|    725|  SEXP fn__n__ = (s); \
  |  |  796|    725|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|    725|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 725, False: 0]
  |  |  |  Branch (796:18): [True: 725, False: 0]
  |  |  ------------------
  |  |  797|    725|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|    725|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|    725|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|    725|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|    725|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|    725|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|    725|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|    725|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|  1.45k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 725]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|    725|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|    725|}
  |  |  |  |  ------------------
  |  |  |  |  790|    725|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|    725|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|    725|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|    725|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|    725|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|    725|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|    725|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|    725|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|    725|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|    725|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|    725|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|    725|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 725]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|    725|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 725]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|    725|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|    725|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|    725|    forwarded_nodes = fn__n__; \
  |  |  800|    725|  } \
  |  |  801|    725|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 725]
  |  |  ------------------
  ------------------
 1810|    725|    FORWARD_NODE(R_EmptyEnv);
  ------------------
  |  |  794|    725|#define FORWARD_NODE(s) do { \
  |  |  795|    725|  SEXP fn__n__ = (s); \
  |  |  796|    725|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|    725|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 725, False: 0]
  |  |  |  Branch (796:18): [True: 725, False: 0]
  |  |  ------------------
  |  |  797|    725|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|    725|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|    725|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|    725|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|    725|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|    725|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|    725|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|    725|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|  1.45k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 725]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|    725|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|    725|}
  |  |  |  |  ------------------
  |  |  |  |  790|    725|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|    725|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|    725|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|    725|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|    725|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|    725|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|    725|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|    725|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|    725|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|    725|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|    725|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|    725|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 725]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|    725|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 725]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|    725|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|    725|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|    725|    forwarded_nodes = fn__n__; \
  |  |  800|    725|  } \
  |  |  801|    725|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 725]
  |  |  ------------------
  ------------------
 1811|    725|    FORWARD_NODE(R_Warnings);	           /* Warnings, if any */
  ------------------
  |  |  794|    725|#define FORWARD_NODE(s) do { \
  |  |  795|    725|  SEXP fn__n__ = (s); \
  |  |  796|    725|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|    725|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 725, False: 0]
  |  |  |  Branch (796:18): [True: 0, False: 725]
  |  |  ------------------
  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|      0|}
  |  |  |  |  ------------------
  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  800|      0|  } \
  |  |  801|    725|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 725]
  |  |  ------------------
  ------------------
 1812|    725|    FORWARD_NODE(R_ReturnedValue);
  ------------------
  |  |  794|    725|#define FORWARD_NODE(s) do { \
  |  |  795|    725|  SEXP fn__n__ = (s); \
  |  |  796|    725|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|    725|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 725, False: 0]
  |  |  |  Branch (796:18): [True: 6, False: 719]
  |  |  ------------------
  |  |  797|      6|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|      6|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|      6|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|      6|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|      6|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|      6|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|      6|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|      6|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|     12|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 6]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|      6|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|      6|}
  |  |  |  |  ------------------
  |  |  |  |  790|      6|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|      6|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|      6|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|      6|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|      6|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|      6|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|      6|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|      6|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|      6|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|      6|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|      6|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|      6|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|      6|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|      6|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|      6|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|      6|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|      6|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 6]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|      6|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|      6|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|      6|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|      6|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|      6|    forwarded_nodes = fn__n__; \
  |  |  800|      6|  } \
  |  |  801|    725|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 725]
  |  |  ------------------
  ------------------
 1813|       |
 1814|    725|    FORWARD_NODE(R_HandlerStack);          /* Condition handler stack */
  ------------------
  |  |  794|    725|#define FORWARD_NODE(s) do { \
  |  |  795|    725|  SEXP fn__n__ = (s); \
  |  |  796|    725|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|    725|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 725, False: 0]
  |  |  |  Branch (796:18): [True: 4, False: 721]
  |  |  ------------------
  |  |  797|      4|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|      4|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|      4|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|      4|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|      4|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|      4|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|      4|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|      4|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|      8|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 4]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|      4|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|      4|}
  |  |  |  |  ------------------
  |  |  |  |  790|      4|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|      4|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|      4|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|      4|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|      4|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|      4|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|      4|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|      4|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|      4|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|      4|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|      4|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|      4|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|      4|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|      4|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|      4|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|      4|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|      4|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|      4|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|      4|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|      4|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|      4|    forwarded_nodes = fn__n__; \
  |  |  800|      4|  } \
  |  |  801|    725|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 725]
  |  |  ------------------
  ------------------
 1815|    725|    FORWARD_NODE(R_RestartStack);          /* Available restarts stack */
  ------------------
  |  |  794|    725|#define FORWARD_NODE(s) do { \
  |  |  795|    725|  SEXP fn__n__ = (s); \
  |  |  796|    725|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|    725|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 725, False: 0]
  |  |  |  Branch (796:18): [True: 261, False: 464]
  |  |  ------------------
  |  |  797|    261|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|    261|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|    261|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|    261|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|    261|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|    261|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|    261|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|    261|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|    522|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 261]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|    261|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|    261|}
  |  |  |  |  ------------------
  |  |  |  |  790|    261|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|    261|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|    261|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|    261|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|    261|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|    261|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|    261|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|    261|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|    261|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|    261|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|    261|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|    261|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|    261|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|    261|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|    261|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|    261|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|    261|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 261]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|    261|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 261]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|    261|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|    261|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|    261|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|    261|    forwarded_nodes = fn__n__; \
  |  |  800|    261|  } \
  |  |  801|    725|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 725]
  |  |  ------------------
  ------------------
 1816|       |
 1817|    725|    FORWARD_NODE(R_BCbody);                /* Current byte code object */
  ------------------
  |  |  794|    725|#define FORWARD_NODE(s) do { \
  |  |  795|    725|  SEXP fn__n__ = (s); \
  |  |  796|    725|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|    725|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 725, False: 0]
  |  |  |  Branch (796:18): [True: 725, False: 0]
  |  |  ------------------
  |  |  797|    725|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|    725|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|    725|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|    725|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|    725|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|    725|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|    725|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|    725|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|  1.45k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 725]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|    725|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|    725|}
  |  |  |  |  ------------------
  |  |  |  |  790|    725|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|    725|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|    725|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|    725|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|    725|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|    725|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|    725|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|    725|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|    725|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|    725|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|    725|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|    725|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 725]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|    725|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 725]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|    725|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|    725|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|    725|    forwarded_nodes = fn__n__; \
  |  |  800|    725|  } \
  |  |  801|    725|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 725]
  |  |  ------------------
  ------------------
 1818|    725|    FORWARD_NODE(R_Srcref);                /* Current source reference */
  ------------------
  |  |  794|    725|#define FORWARD_NODE(s) do { \
  |  |  795|    725|  SEXP fn__n__ = (s); \
  |  |  796|    725|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|    725|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 725, False: 0]
  |  |  |  Branch (796:18): [True: 0, False: 725]
  |  |  ------------------
  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|      0|}
  |  |  |  |  ------------------
  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  800|      0|  } \
  |  |  801|    725|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 725]
  |  |  ------------------
  ------------------
 1819|    725|    FORWARD_NODE(R_ParseErrorFile);        /* Source file of the last parse error */
  ------------------
  |  |  794|    725|#define FORWARD_NODE(s) do { \
  |  |  795|    725|  SEXP fn__n__ = (s); \
  |  |  796|    725|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 0, False: 725]
  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  ------------------
  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|      0|}
  |  |  |  |  ------------------
  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  800|      0|  } \
  |  |  801|    725|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 725]
  |  |  ------------------
  ------------------
 1820|       |
 1821|    725|    FORWARD_NODE(R_TrueValue);
  ------------------
  |  |  794|    725|#define FORWARD_NODE(s) do { \
  |  |  795|    725|  SEXP fn__n__ = (s); \
  |  |  796|    725|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|    725|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 725, False: 0]
  |  |  |  Branch (796:18): [True: 724, False: 1]
  |  |  ------------------
  |  |  797|    724|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|    724|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|    724|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|    724|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|    724|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|    724|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|    724|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|    724|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|  1.44k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 724]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|    724|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|    724|}
  |  |  |  |  ------------------
  |  |  |  |  790|    724|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|    724|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|    724|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|    724|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|    724|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|    724|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|    724|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|    724|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|    724|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|    724|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|    724|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|    724|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|    724|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|    724|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|    724|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|    724|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|    724|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 724]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|    724|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 724]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|    724|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|    724|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|    724|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|    724|    forwarded_nodes = fn__n__; \
  |  |  800|    724|  } \
  |  |  801|    725|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 725]
  |  |  ------------------
  ------------------
 1822|    725|    FORWARD_NODE(R_FalseValue);
  ------------------
  |  |  794|    725|#define FORWARD_NODE(s) do { \
  |  |  795|    725|  SEXP fn__n__ = (s); \
  |  |  796|    725|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|    725|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 725, False: 0]
  |  |  |  Branch (796:18): [True: 725, False: 0]
  |  |  ------------------
  |  |  797|    725|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|    725|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|    725|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|    725|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|    725|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|    725|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|    725|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|    725|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|  1.45k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 725]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|    725|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|    725|}
  |  |  |  |  ------------------
  |  |  |  |  790|    725|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|    725|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|    725|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|    725|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|    725|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|    725|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|    725|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|    725|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|    725|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|    725|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|    725|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|    725|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 725]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|    725|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 725]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|    725|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|    725|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|    725|    forwarded_nodes = fn__n__; \
  |  |  800|    725|  } \
  |  |  801|    725|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 725]
  |  |  ------------------
  ------------------
 1823|    725|    FORWARD_NODE(R_LogicalNAValue);
  ------------------
  |  |  794|    725|#define FORWARD_NODE(s) do { \
  |  |  795|    725|  SEXP fn__n__ = (s); \
  |  |  796|    725|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|    725|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 725, False: 0]
  |  |  |  Branch (796:18): [True: 725, False: 0]
  |  |  ------------------
  |  |  797|    725|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|    725|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|    725|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|    725|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|    725|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|    725|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|    725|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|    725|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|  1.45k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 725]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|    725|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|    725|}
  |  |  |  |  ------------------
  |  |  |  |  790|    725|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|    725|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|    725|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|    725|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|    725|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|    725|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|    725|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|    725|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|    725|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|    725|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|    725|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|    725|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 725]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|    725|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 725]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|    725|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|    725|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|    725|    forwarded_nodes = fn__n__; \
  |  |  800|    725|  } \
  |  |  801|    725|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 725]
  |  |  ------------------
  ------------------
 1824|       |
 1825|    725|    FORWARD_NODE(R_print.na_string);
  ------------------
  |  |  794|    725|#define FORWARD_NODE(s) do { \
  |  |  795|    725|  SEXP fn__n__ = (s); \
  |  |  796|    725|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|    725|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 725, False: 0]
  |  |  |  Branch (796:18): [True: 0, False: 725]
  |  |  ------------------
  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|      0|}
  |  |  |  |  ------------------
  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  800|      0|  } \
  |  |  801|    725|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 725]
  |  |  ------------------
  ------------------
 1826|    725|    FORWARD_NODE(R_print.na_string_noquote);
  ------------------
  |  |  794|    725|#define FORWARD_NODE(s) do { \
  |  |  795|    725|  SEXP fn__n__ = (s); \
  |  |  796|    725|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|    725|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 725, False: 0]
  |  |  |  Branch (796:18): [True: 725, False: 0]
  |  |  ------------------
  |  |  797|    725|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|    725|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|    725|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|    725|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|    725|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|    725|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|    725|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|    725|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|  1.45k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 725]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|    725|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|    725|}
  |  |  |  |  ------------------
  |  |  |  |  790|    725|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|    725|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|    725|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|    725|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|    725|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|    725|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|    725|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|    725|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|    725|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|    725|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|    725|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|    725|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 725]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|    725|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 725]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|    725|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|    725|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|    725|    forwarded_nodes = fn__n__; \
  |  |  800|    725|  } \
  |  |  801|    725|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 725]
  |  |  ------------------
  ------------------
 1827|       |
 1828|    725|    if (R_SymbolTable != NULL)             /* in case of GC during startup */
  ------------------
  |  Branch (1828:9): [True: 725, False: 0]
  ------------------
 1829|  35.6M|	for (i = 0; i < HSIZE; i++) {      /* Symbol table */
  ------------------
  |  | 1174|  35.6M|#define HSIZE	  49157	/* The size of the hash table for symbols */
  ------------------
  |  Branch (1829:14): [True: 35.6M, False: 725]
  ------------------
 1830|  35.6M|	    FORWARD_NODE(R_SymbolTable[i]);
  ------------------
  |  |  794|  35.6M|#define FORWARD_NODE(s) do { \
  |  |  795|  35.6M|  SEXP fn__n__ = (s); \
  |  |  796|  35.6M|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|  35.6M|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|  35.6M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 35.6M, False: 0]
  |  |  |  Branch (796:18): [True: 4.83M, False: 30.8M]
  |  |  ------------------
  |  |  797|  4.83M|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|  4.83M|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|  4.83M|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|  4.83M|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|  4.83M|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|  4.83M|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|  4.83M|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|  4.83M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|  9.67M|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 4.83M]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|  4.83M|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|  4.83M|}
  |  |  |  |  ------------------
  |  |  |  |  790|  4.83M|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|  4.83M|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|  4.83M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|  4.83M|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|  4.83M|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|  4.83M|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|  4.83M|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|  4.83M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|  4.83M|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|  4.83M|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|  4.83M|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|  4.83M|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|  4.83M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|  4.83M|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|  4.83M|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|  4.83M|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|  4.83M|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 4.83M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|  4.83M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 4.83M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|  4.83M|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|  4.83M|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|  4.83M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|  4.83M|    forwarded_nodes = fn__n__; \
  |  |  800|  4.83M|  } \
  |  |  801|  35.6M|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 35.6M]
  |  |  ------------------
  ------------------
 1831|  35.6M|	    SEXP s;
 1832|  40.8M|	    for (s = R_SymbolTable[i]; s != R_NilValue; s = CDR(s))
  ------------------
  |  |  445|  5.20M|#define CDR(e)		((e)->u.listsxp.cdrval)
  ------------------
  |  Branch (1832:33): [True: 5.20M, False: 35.6M]
  ------------------
 1833|  5.20M|		if (ATTRIB(CAR(s)) != R_NilValue)
  ------------------
  |  |  230|  5.20M|#define ATTRIB(x)	((x)->attrib)
  ------------------
  |  Branch (1833:7): [True: 0, False: 5.20M]
  ------------------
 1834|      0|		    gc_error("****found a symbol with attributes\n");
 1835|  35.6M|	}
 1836|       |
 1837|    725|    if (R_CurrentExpr != NULL)	           /* Current expression */
  ------------------
  |  Branch (1837:9): [True: 725, False: 0]
  ------------------
 1838|    725|	FORWARD_NODE(R_CurrentExpr);
  ------------------
  |  |  794|    725|#define FORWARD_NODE(s) do { \
  |  |  795|    725|  SEXP fn__n__ = (s); \
  |  |  796|    725|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|    725|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 725, False: 0]
  |  |  |  Branch (796:18): [True: 725, False: 0]
  |  |  ------------------
  |  |  797|    725|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|    725|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|    725|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|    725|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|    725|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|    725|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|    725|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|    725|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|  1.45k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 725]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|    725|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|    725|}
  |  |  |  |  ------------------
  |  |  |  |  790|    725|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|    725|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|    725|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|    725|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|    725|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|    725|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|    725|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|    725|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|    725|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|    725|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|    725|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|    725|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 725]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|    725|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 725]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|    725|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|    725|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|    725|    forwarded_nodes = fn__n__; \
  |  |  800|    725|  } \
  |  |  801|    725|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 725]
  |  |  ------------------
  ------------------
 1839|       |
 1840|  47.1k|    for (i = 0; i < R_MaxDevices; i++) {   /* Device display lists */
  ------------------
  |  | 2395|  47.1k|#define R_MaxDevices 64
  ------------------
  |  Branch (1840:17): [True: 46.4k, False: 725]
  ------------------
 1841|  46.4k|	pGEDevDesc gdd = GEgetDevice(i);
 1842|  46.4k|	if (gdd) {
  ------------------
  |  Branch (1842:6): [True: 725, False: 45.6k]
  ------------------
 1843|    725|	    FORWARD_NODE(gdd->displayList);
  ------------------
  |  |  794|    725|#define FORWARD_NODE(s) do { \
  |  |  795|    725|  SEXP fn__n__ = (s); \
  |  |  796|    725|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 0, False: 725]
  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  ------------------
  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|      0|}
  |  |  |  |  ------------------
  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  800|      0|  } \
  |  |  801|    725|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 725]
  |  |  ------------------
  ------------------
 1844|    725|	    FORWARD_NODE(gdd->savedSnapshot);
  ------------------
  |  |  794|    725|#define FORWARD_NODE(s) do { \
  |  |  795|    725|  SEXP fn__n__ = (s); \
  |  |  796|    725|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 0, False: 725]
  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  ------------------
  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|      0|}
  |  |  |  |  ------------------
  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  800|      0|  } \
  |  |  801|    725|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 725]
  |  |  ------------------
  ------------------
 1845|    725|	    if (gdd->dev)
  ------------------
  |  Branch (1845:10): [True: 0, False: 725]
  ------------------
 1846|      0|		FORWARD_NODE(gdd->dev->eventEnv);
  ------------------
  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  ------------------
  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|      0|}
  |  |  |  |  ------------------
  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  800|      0|  } \
  |  |  801|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1847|    725|	}
 1848|  46.4k|    }
 1849|       |
 1850|  6.79k|    for (ctxt = R_GlobalContext ; ctxt != NULL ; ctxt = ctxt->nextcontext) {
  ------------------
  |  Branch (1850:35): [True: 6.07k, False: 725]
  ------------------
 1851|  6.07k|	FORWARD_NODE(ctxt->conexit);       /* on.exit expressions */
  ------------------
  |  |  794|  6.07k|#define FORWARD_NODE(s) do { \
  |  |  795|  6.07k|  SEXP fn__n__ = (s); \
  |  |  796|  6.07k|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|  6.07k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|  6.07k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 6.07k, False: 0]
  |  |  |  Branch (796:18): [True: 3, False: 6.06k]
  |  |  ------------------
  |  |  797|      3|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|      3|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|      3|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|      3|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|      3|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|      3|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|      3|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|      3|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|      6|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 3]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|      3|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|      3|}
  |  |  |  |  ------------------
  |  |  |  |  790|      3|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|      3|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|      3|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|      3|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|      3|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|      3|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|      3|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|      3|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|      3|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|      3|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|      3|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|      3|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|      3|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|      3|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|      3|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|      3|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|      3|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 3]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|      3|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|      3|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|      3|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|      3|    forwarded_nodes = fn__n__; \
  |  |  800|      3|  } \
  |  |  801|  6.07k|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 6.07k]
  |  |  ------------------
  ------------------
 1852|  6.07k|	FORWARD_NODE(ctxt->promargs);	   /* promises supplied to closure */
  ------------------
  |  |  794|  6.07k|#define FORWARD_NODE(s) do { \
  |  |  795|  6.07k|  SEXP fn__n__ = (s); \
  |  |  796|  6.07k|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|  6.07k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|  6.07k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 6.07k, False: 0]
  |  |  |  Branch (796:18): [True: 4.61k, False: 1.45k]
  |  |  ------------------
  |  |  797|  4.61k|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|  4.61k|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|  4.61k|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|  4.61k|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|  4.61k|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|  4.61k|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|  4.61k|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|  4.61k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|  9.23k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 4.61k]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|  4.61k|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|  4.61k|}
  |  |  |  |  ------------------
  |  |  |  |  790|  4.61k|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|  4.61k|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|  4.61k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|  4.61k|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|  4.61k|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|  4.61k|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|  4.61k|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|  4.61k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|  4.61k|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|  4.61k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|  4.61k|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|  4.61k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|  4.61k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|  4.61k|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|  4.61k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|  4.61k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|  4.61k|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 4.61k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|  4.61k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 4.61k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|  4.61k|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|  4.61k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|  4.61k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|  4.61k|    forwarded_nodes = fn__n__; \
  |  |  800|  4.61k|  } \
  |  |  801|  6.07k|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 6.07k]
  |  |  ------------------
  ------------------
 1853|  6.07k|	FORWARD_NODE(ctxt->callfun);       /* the closure called */
  ------------------
  |  |  794|  6.07k|#define FORWARD_NODE(s) do { \
  |  |  795|  6.07k|  SEXP fn__n__ = (s); \
  |  |  796|  6.07k|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|  6.07k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|  6.07k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 6.07k, False: 0]
  |  |  |  Branch (796:18): [True: 4.61k, False: 1.45k]
  |  |  ------------------
  |  |  797|  4.61k|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|  4.61k|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|  4.61k|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|  4.61k|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|  4.61k|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|  4.61k|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|  4.61k|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|  4.61k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|  9.23k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 4.61k]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|  4.61k|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|  4.61k|}
  |  |  |  |  ------------------
  |  |  |  |  790|  4.61k|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|  4.61k|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|  4.61k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|  4.61k|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|  4.61k|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|  4.61k|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|  4.61k|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|  4.61k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|  4.61k|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|  4.61k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|  4.61k|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|  4.61k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|  4.61k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|  4.61k|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|  4.61k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|  4.61k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|  4.61k|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 4.61k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|  4.61k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 4.61k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|  4.61k|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|  4.61k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|  4.61k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|  4.61k|    forwarded_nodes = fn__n__; \
  |  |  800|  4.61k|  } \
  |  |  801|  6.07k|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 6.07k]
  |  |  ------------------
  ------------------
 1854|  6.07k|	FORWARD_NODE(ctxt->sysparent);     /* calling environment */
  ------------------
  |  |  794|  6.07k|#define FORWARD_NODE(s) do { \
  |  |  795|  6.07k|  SEXP fn__n__ = (s); \
  |  |  796|  6.07k|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|  6.07k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|  6.07k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 6.07k, False: 0]
  |  |  |  Branch (796:18): [True: 2.99k, False: 3.08k]
  |  |  ------------------
  |  |  797|  2.99k|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|  2.99k|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|  2.99k|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|  2.99k|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|  2.99k|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|  2.99k|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|  2.99k|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|  2.99k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|  5.98k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 2.99k]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|  2.99k|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|  2.99k|}
  |  |  |  |  ------------------
  |  |  |  |  790|  2.99k|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|  2.99k|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|  2.99k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|  2.99k|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|  2.99k|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|  2.99k|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|  2.99k|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|  2.99k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|  2.99k|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|  2.99k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|  2.99k|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|  2.99k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|  2.99k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|  2.99k|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|  2.99k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|  2.99k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|  2.99k|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 2.99k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|  2.99k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 2.99k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|  2.99k|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|  2.99k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|  2.99k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|  2.99k|    forwarded_nodes = fn__n__; \
  |  |  800|  2.99k|  } \
  |  |  801|  6.07k|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 6.07k]
  |  |  ------------------
  ------------------
 1855|  6.07k|	FORWARD_NODE(ctxt->call);          /* the call */
  ------------------
  |  |  794|  6.07k|#define FORWARD_NODE(s) do { \
  |  |  795|  6.07k|  SEXP fn__n__ = (s); \
  |  |  796|  6.07k|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|  6.07k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|  6.07k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 6.07k, False: 0]
  |  |  |  Branch (796:18): [True: 4.61k, False: 1.45k]
  |  |  ------------------
  |  |  797|  4.61k|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|  4.61k|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|  4.61k|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|  4.61k|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|  4.61k|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|  4.61k|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|  4.61k|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|  4.61k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|  9.23k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 4.61k]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|  4.61k|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|  4.61k|}
  |  |  |  |  ------------------
  |  |  |  |  790|  4.61k|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|  4.61k|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|  4.61k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|  4.61k|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|  4.61k|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|  4.61k|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|  4.61k|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|  4.61k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|  4.61k|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|  4.61k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|  4.61k|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|  4.61k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|  4.61k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|  4.61k|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|  4.61k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|  4.61k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|  4.61k|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 4.61k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|  4.61k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 4.61k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|  4.61k|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|  4.61k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|  4.61k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|  4.61k|    forwarded_nodes = fn__n__; \
  |  |  800|  4.61k|  } \
  |  |  801|  6.07k|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 6.07k]
  |  |  ------------------
  ------------------
 1856|  6.07k|	FORWARD_NODE(ctxt->cloenv);        /* the closure environment */
  ------------------
  |  |  794|  6.07k|#define FORWARD_NODE(s) do { \
  |  |  795|  6.07k|  SEXP fn__n__ = (s); \
  |  |  796|  6.07k|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|  6.07k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|  6.07k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 6.07k, False: 0]
  |  |  |  Branch (796:18): [True: 1.63k, False: 4.44k]
  |  |  ------------------
  |  |  797|  1.63k|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|  1.63k|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|  1.63k|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|  1.63k|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|  1.63k|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|  1.63k|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|  1.63k|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|  1.63k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|  3.26k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 1.63k]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|  1.63k|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|  1.63k|}
  |  |  |  |  ------------------
  |  |  |  |  790|  1.63k|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|  1.63k|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|  1.63k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|  1.63k|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|  1.63k|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|  1.63k|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|  1.63k|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|  1.63k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|  1.63k|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|  1.63k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|  1.63k|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|  1.63k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|  1.63k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|  1.63k|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|  1.63k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|  1.63k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|  1.63k|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 1.63k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|  1.63k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 1.63k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|  1.63k|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|  1.63k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|  1.63k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|  1.63k|    forwarded_nodes = fn__n__; \
  |  |  800|  1.63k|  } \
  |  |  801|  6.07k|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 6.07k]
  |  |  ------------------
  ------------------
 1857|  6.07k|	FORWARD_NODE(ctxt->bcbody);        /* the current byte code object */
  ------------------
  |  |  794|  6.07k|#define FORWARD_NODE(s) do { \
  |  |  795|  6.07k|  SEXP fn__n__ = (s); \
  |  |  796|  6.07k|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|  3.89k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|  3.89k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 3.89k, False: 2.17k]
  |  |  |  Branch (796:18): [True: 3.88k, False: 9]
  |  |  ------------------
  |  |  797|  3.88k|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|  3.88k|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|  3.88k|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|  3.88k|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|  3.88k|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|  3.88k|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|  3.88k|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|  3.88k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|  7.77k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 3.88k]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|  3.88k|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|  3.88k|}
  |  |  |  |  ------------------
  |  |  |  |  790|  3.88k|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|  3.88k|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|  3.88k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|  3.88k|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|  3.88k|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|  3.88k|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|  3.88k|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|  3.88k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|  3.88k|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|  3.88k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|  3.88k|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|  3.88k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|  3.88k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|  3.88k|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|  3.88k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|  3.88k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|  3.88k|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 3.88k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|  3.88k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 3.88k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|  3.88k|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|  3.88k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|  3.88k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|  3.88k|    forwarded_nodes = fn__n__; \
  |  |  800|  3.88k|  } \
  |  |  801|  6.07k|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 6.07k]
  |  |  ------------------
  ------------------
 1858|  6.07k|	FORWARD_NODE(ctxt->handlerstack);  /* the condition handler stack */
  ------------------
  |  |  794|  6.07k|#define FORWARD_NODE(s) do { \
  |  |  795|  6.07k|  SEXP fn__n__ = (s); \
  |  |  796|  6.07k|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|  6.07k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|  6.07k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 6.07k, False: 0]
  |  |  |  Branch (796:18): [True: 2, False: 6.07k]
  |  |  ------------------
  |  |  797|      2|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|      2|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|      2|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|      2|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|      2|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|      2|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|      2|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|      2|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|      4|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 2]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|      2|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|      2|}
  |  |  |  |  ------------------
  |  |  |  |  790|      2|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|      2|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|      2|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|      2|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|      2|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|      2|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|      2|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|      2|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|      2|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|      2|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|      2|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|      2|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|      2|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|      2|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|      2|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|      2|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|      2|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|      2|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|      2|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|      2|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|      2|    forwarded_nodes = fn__n__; \
  |  |  800|      2|  } \
  |  |  801|  6.07k|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 6.07k]
  |  |  ------------------
  ------------------
 1859|  6.07k|	FORWARD_NODE(ctxt->restartstack);  /* the available restarts stack */
  ------------------
  |  |  794|  6.07k|#define FORWARD_NODE(s) do { \
  |  |  795|  6.07k|  SEXP fn__n__ = (s); \
  |  |  796|  6.07k|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|  6.07k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|  6.07k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 6.07k, False: 0]
  |  |  |  Branch (796:18): [True: 0, False: 6.07k]
  |  |  ------------------
  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|      0|}
  |  |  |  |  ------------------
  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  800|      0|  } \
  |  |  801|  6.07k|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 6.07k]
  |  |  ------------------
  ------------------
 1860|  6.07k|	FORWARD_NODE(ctxt->srcref);	   /* the current source reference */
  ------------------
  |  |  794|  6.07k|#define FORWARD_NODE(s) do { \
  |  |  795|  6.07k|  SEXP fn__n__ = (s); \
  |  |  796|  6.07k|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|  6.07k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|  6.07k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 6.07k, False: 0]
  |  |  |  Branch (796:18): [True: 0, False: 6.07k]
  |  |  ------------------
  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|      0|}
  |  |  |  |  ------------------
  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  800|      0|  } \
  |  |  801|  6.07k|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 6.07k]
  |  |  ------------------
  ------------------
 1861|  6.07k|	if (ctxt->returnValue.tag == 0)    /* For on.exit calls */
  ------------------
  |  Branch (1861:6): [True: 6.07k, False: 0]
  ------------------
 1862|  6.07k|	    FORWARD_NODE(ctxt->returnValue.u.sxpval);
  ------------------
  |  |  794|  6.07k|#define FORWARD_NODE(s) do { \
  |  |  795|  6.07k|  SEXP fn__n__ = (s); \
  |  |  796|  6.07k|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 0, False: 6.07k]
  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  ------------------
  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|      0|}
  |  |  |  |  ------------------
  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  800|      0|  } \
  |  |  801|  6.07k|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 6.07k]
  |  |  ------------------
  ------------------
 1863|  6.07k|    }
 1864|       |
 1865|    725|    FORWARD_NODE(R_PreciousList);
  ------------------
  |  |  794|    725|#define FORWARD_NODE(s) do { \
  |  |  795|    725|  SEXP fn__n__ = (s); \
  |  |  796|    725|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|    725|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 725, False: 0]
  |  |  |  Branch (796:18): [True: 725, False: 0]
  |  |  ------------------
  |  |  797|    725|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|    725|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|    725|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|    725|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|    725|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|    725|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|    725|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|    725|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|  1.45k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 725]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|    725|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|    725|}
  |  |  |  |  ------------------
  |  |  |  |  790|    725|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|    725|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|    725|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|    725|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|    725|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|    725|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|    725|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|    725|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|    725|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|    725|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|    725|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|    725|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 725]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|    725|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 725]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|    725|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|    725|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|    725|    forwarded_nodes = fn__n__; \
  |  |  800|    725|  } \
  |  |  801|    725|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 725]
  |  |  ------------------
  ------------------
 1866|       |
 1867|  45.0k|    for (i = 0; i < R_PPStackTop; i++)	   /* Protected pointers */
  ------------------
  |  Branch (1867:17): [True: 44.3k, False: 725]
  ------------------
 1868|  44.3k|	FORWARD_NODE(R_PPStack[i]);
  ------------------
  |  |  794|  45.0k|#define FORWARD_NODE(s) do { \
  |  |  795|  44.3k|  SEXP fn__n__ = (s); \
  |  |  796|  44.3k|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|  44.3k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|  44.3k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 44.3k, False: 0]
  |  |  |  Branch (796:18): [True: 30.0k, False: 14.3k]
  |  |  ------------------
  |  |  797|  30.0k|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|  30.0k|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|  30.0k|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|  30.0k|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|  30.0k|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|  30.0k|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|  30.0k|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|  30.0k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|  60.0k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 30.0k]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|  30.0k|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|  30.0k|}
  |  |  |  |  ------------------
  |  |  |  |  790|  30.0k|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|  30.0k|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|  30.0k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|  30.0k|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|  30.0k|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|  30.0k|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|  30.0k|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|  30.0k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|  30.0k|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|  30.0k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|  30.0k|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|  30.0k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|  30.0k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|  30.0k|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|  30.0k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|  30.0k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|  30.0k|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 30.0k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|  30.0k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 30.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|  30.0k|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|  30.0k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|  30.0k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|  30.0k|    forwarded_nodes = fn__n__; \
  |  |  800|  30.0k|  } \
  |  |  801|  44.3k|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 44.3k]
  |  |  ------------------
  ------------------
 1869|       |
 1870|    725|    FORWARD_NODE(R_VStack);		   /* R_alloc stack */
  ------------------
  |  |  794|    725|#define FORWARD_NODE(s) do { \
  |  |  795|    725|  SEXP fn__n__ = (s); \
  |  |  796|    725|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 0, False: 725]
  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  ------------------
  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|      0|}
  |  |  |  |  ------------------
  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  800|      0|  } \
  |  |  801|    725|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 725]
  |  |  ------------------
  ------------------
 1871|       |
 1872|   181k|    for (R_bcstack_t *sp = R_BCNodeStackBase; sp < R_BCNodeStackTop; sp++) {
  ------------------
  |  Branch (1872:47): [True: 180k, False: 725]
  ------------------
 1873|   180k|	if (sp->tag == RAWMEM_TAG)
  ------------------
  |  | 1401|   180k|# define RAWMEM_TAG 254
  ------------------
  |  Branch (1873:6): [True: 8.00k, False: 172k]
  ------------------
 1874|  8.00k|	    sp += sp->u.ival;
 1875|   172k|	else if (sp->tag == 0 || IS_PARTIAL_SXP_TAG(sp->tag))
  ------------------
  |  | 1400|   154k|# define IS_PARTIAL_SXP_TAG(x) ((x) & PARTIALSXP_MASK)
  |  |  ------------------
  |  |  |  | 1399|   154k|# define PARTIALSXP_MASK (~255)
  |  |  ------------------
  |  |  |  Branch (1400:32): [True: 147k, False: 6.65k]
  |  |  ------------------
  ------------------
  |  Branch (1875:11): [True: 18.3k, False: 154k]
  ------------------
 1876|   166k|	    FORWARD_NODE(sp->u.sxpval);
  ------------------
  |  |  794|   166k|#define FORWARD_NODE(s) do { \
  |  |  795|   166k|  SEXP fn__n__ = (s); \
  |  |  796|   166k|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|   166k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|   166k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 166k, False: 0]
  |  |  |  Branch (796:18): [True: 15.3k, False: 150k]
  |  |  ------------------
  |  |  797|  15.3k|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|  15.3k|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|  15.3k|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|  15.3k|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|  15.3k|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|  15.3k|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|  15.3k|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|  15.3k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|  30.7k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 15.3k]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|  15.3k|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|  15.3k|}
  |  |  |  |  ------------------
  |  |  |  |  790|  15.3k|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|  15.3k|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|  15.3k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|  15.3k|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|  15.3k|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|  15.3k|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|  15.3k|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|  15.3k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|  15.3k|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|  15.3k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|  15.3k|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|  15.3k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|  15.3k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|  15.3k|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|  15.3k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|  15.3k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|  15.3k|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 15.3k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|  15.3k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 15.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|  15.3k|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|  15.3k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|  15.3k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|  15.3k|    forwarded_nodes = fn__n__; \
  |  |  800|  15.3k|  } \
  |  |  801|   166k|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 166k]
  |  |  ------------------
  ------------------
 1877|   180k|    }
 1878|       |
 1879|       |    /* main processing loop */
 1880|    725|    PROCESS_NODES();
  ------------------
  |  | 1711|    725|#define PROCESS_NODES() do { \
  |  | 1712|   231M|    while (forwarded_nodes != NULL) { \
  |  |  ------------------
  |  |  |  Branch (1712:12): [True: 231M, False: 725]
  |  |  ------------------
  |  | 1713|   231M|	SEXP s = forwarded_nodes; \
  |  | 1714|   231M|	forwarded_nodes = NEXT_NODE(forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  639|   231M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  ------------------
  |  | 1715|   231M|	PROCESS_ONE_NODE(s); \
  |  |  ------------------
  |  |  |  |  803|   231M|#define PROCESS_ONE_NODE(s) do {				\
  |  |  |  |  804|   231M|	SEXP pn__n__ = (s);					\
  |  |  |  |  805|   231M|	int __cls__ = NODE_CLASS(pn__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  545|   231M|#define NODE_CLASS(s) ((s)->sxpinfo.gccls)
  |  |  |  |  ------------------
  |  |  |  |  806|   231M|	int __gen__ = NODE_GENERATION(pn__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|   231M|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |  807|   231M|	SNAP_NODE(pn__n__, R_GenHeap[__cls__].Old[__gen__]);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  657|   231M|#define SNAP_NODE(s,t) do { \
  |  |  |  |  |  |  658|   231M|  SEXP sn__n__ = (s); \
  |  |  |  |  |  |  659|   231M|  SEXP next = (t); \
  |  |  |  |  |  |  660|   231M|  SEXP prev = PREV_NODE(next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|   231M|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  661|   231M|  SET_NEXT_NODE(sn__n__, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|   231M|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|   231M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  662|   231M|  SET_PREV_NODE(next, sn__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|   231M|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|   231M|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  663|   231M|  SET_NEXT_NODE(prev, sn__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|   231M|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|   231M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  664|   231M|  SET_PREV_NODE(sn__n__, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|   231M|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|   231M|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  665|   231M|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (665:10): [Folded, False: 231M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  808|   231M|	R_GenHeap[__cls__].OldCount[__gen__]++;			\
  |  |  |  |  809|   231M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (809:14): [Folded, False: 231M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1716|   231M|	FORWARD_CHILDREN(s); \
  |  |  ------------------
  |  |  |  |  829|   231M|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  ------------------
  |  |  |  |  |  |  710|   231M|#define DO_CHILDREN4(__n__,dc__action__,dc__str__action__,dc__extra__) do { \
  |  |  |  |  |  |  711|   231M|  if (HAS_GENUINE_ATTRIB(__n__)) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  696|   231M|    (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  233|   231M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  142|   462M|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  230|   231M|#define ATTRIB(x)	((x)->attrib)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (696:6): [True: 231M, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (696:30): [True: 15.0M, False: 216M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  697|   231M|     (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  233|  15.0M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  120|  30.1M|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  233|   167k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  120|   167k|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (697:7): [True: 14.8M, False: 167k]
  |  |  |  |  |  |  |  |  |  Branch (697:31): [True: 0, False: 167k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  712|   231M|    dc__action__(ATTRIB(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|   231M|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|  14.8M|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|  14.8M|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|  14.8M|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|  14.8M|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|  14.8M|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|  14.8M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 14.8M, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 14.8M, False: 5]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|  14.8M|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|  14.8M|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|  14.8M|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|  14.8M|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|  14.8M|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|  14.8M|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|  14.8M|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|  14.8M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|  29.7M|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 14.8M]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|  14.8M|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|  14.8M|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|  14.8M|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|  14.8M|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|  14.8M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|  14.8M|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|  14.8M|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|  14.8M|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|  14.8M|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  14.8M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|  14.8M|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|  14.8M|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|  14.8M|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|  14.8M|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  14.8M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|  14.8M|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|  14.8M|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|  14.8M|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|  14.8M|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 14.8M]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|  14.8M|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 14.8M]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|  14.8M|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|  14.8M|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  14.8M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|  14.8M|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|  14.8M|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|  14.8M|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 14.8M]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  713|   231M|  if (ALTREP(__n__)) {					\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  242|   231M|#define ALTREP(x)       ((x)->sxpinfo.alt)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (242:25): [True: 3.61k, False: 231M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  714|  3.61k|	  dc__action__(TAG(__n__), dc__extra__);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|  3.61k|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|  3.61k|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|  3.61k|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|  3.61k|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|  3.61k|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|  3.61k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|  3.61k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 3.61k, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 723, False: 2.89k]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|    723|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|    723|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|    723|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|    723|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|    723|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|    723|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|    723|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|    723|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|  1.44k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 723]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|    723|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|    723|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|    723|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|    723|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|    723|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|    723|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|    723|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|    723|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|    723|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|    723|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|    723|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|    723|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|    723|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|    723|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|    723|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|    723|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|    723|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|    723|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|    723|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 723]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|    723|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 723]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|    723|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|    723|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|    723|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|    723|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|    723|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|  3.61k|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 3.61k]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  715|  3.61k|	  dc__action__(CAR(__n__), dc__extra__);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|  3.61k|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|  3.61k|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|  3.61k|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|  3.61k|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|  3.61k|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|  3.61k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|  3.61k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 3.61k, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 3.61k, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|  3.61k|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|  3.61k|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|  3.61k|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|  3.61k|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|  3.61k|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|  3.61k|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|  3.61k|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|  3.61k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|  7.23k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 3.61k]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|  3.61k|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|  3.61k|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|  3.61k|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|  3.61k|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|  3.61k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|  3.61k|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|  3.61k|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|  3.61k|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|  3.61k|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  3.61k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|  3.61k|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|  3.61k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|  3.61k|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|  3.61k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  3.61k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|  3.61k|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|  3.61k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|  3.61k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|  3.61k|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 3.61k]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|  3.61k|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 3.61k]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|  3.61k|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|  3.61k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  3.61k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|  3.61k|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|  3.61k|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|  3.61k|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 3.61k]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  716|  3.61k|	  dc__action__(CDR(__n__), dc__extra__);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|  3.61k|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|  3.61k|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|  3.61k|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|  3.61k|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|  3.61k|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|  3.61k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|  3.61k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 3.61k, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 1.44k, False: 2.16k]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|  1.44k|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|  1.44k|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|  1.44k|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|  1.44k|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|  1.44k|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|  1.44k|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|  1.44k|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|  1.44k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|  2.89k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 1.44k]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|  1.44k|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|  1.44k|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|  1.44k|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|  1.44k|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|  1.44k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|  1.44k|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|  1.44k|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|  1.44k|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|  1.44k|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  1.44k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|  1.44k|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|  1.44k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|  1.44k|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|  1.44k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  1.44k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|  1.44k|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|  1.44k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|  1.44k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|  1.44k|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 1.44k]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|  1.44k|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 1.44k]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|  1.44k|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|  1.44k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  1.44k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|  1.44k|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|  1.44k|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|  3.61k|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 3.61k]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  717|  3.61k|      }							\
  |  |  |  |  |  |  718|   231M|  else \
  |  |  |  |  |  |  719|   231M|  switch (TYPEOF(__n__)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|   231M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  720|    725|  case NILSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  111|    725|#define NILSXP	     0	  /* nil = NULL */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (720:3): [True: 725, False: 231M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  721|   524k|  case BUILTINSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  119|   524k|#define BUILTINSXP   8	  /* builtin non-special forms */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (721:3): [True: 524k, False: 230M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  722|   561k|  case SPECIALSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  118|   561k|#define SPECIALSXP   7	  /* special forms */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (722:3): [True: 36.2k, False: 231M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  723|  3.64M|  case CHARSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  120|  3.64M|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (723:3): [True: 3.08M, False: 228M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  724|  7.74M|  case LGLSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  121|  7.74M|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (724:3): [True: 4.09M, False: 227M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  725|  26.4M|  case INTSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  123|  26.4M|#define INTSXP	    13	  /* integer vectors */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (725:3): [True: 18.7M, False: 212M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  726|  27.6M|  case REALSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  124|  27.6M|#define REALSXP	    14	  /* real variables */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (726:3): [True: 1.12M, False: 230M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  727|  27.6M|  case CPLXSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  125|  27.6M|#define CPLXSXP	    15	  /* complex variables */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (727:3): [True: 2.17k, False: 231M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  728|  28.1M|  case WEAKREFSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  135|  28.1M|#define WEAKREFSXP  23    /* weak reference */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (728:3): [True: 566k, False: 230M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  729|  28.2M|  case RAWSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  136|  28.2M|#define RAWSXP      24    /* raw bytes */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (729:3): [True: 9.66k, False: 231M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  730|  28.8M|  case OBJSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|  28.8M|#define OBJSXP      25    /* object, non-vector  */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (730:3): [True: 683k, False: 230M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  731|  28.8M|    break; \
  |  |  |  |  |  |  732|  31.8M|  case STRSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  126|  31.8M|#define STRSXP	    16	  /* string vectors */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (732:3): [True: 31.8M, False: 199M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  733|  31.8M|    { \
  |  |  |  |  |  |  734|  31.8M|      R_xlen_t i; \
  |  |  |  |  |  |  735|  84.3M|      for (i = 0; i < XLENGTH(__n__); i++) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  407|  84.3M|#define XLENGTH(x) XLENGTH_EX(x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (735:19): [True: 52.5M, False: 31.8M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  736|  31.8M|	dc__str__action__(VECTOR_ELT_0(__n__, i), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|  31.8M|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  826|  31.8M|#define FC_PROCESS_CHARSXP(__n__,__dummy__) PROCESS_CHARSXP(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  825|  52.5M|#define PROCESS_CHARSXP(__n__) FORWARD_AND_PROCESS_ONE_NODE(__n__, CHARSXP)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  812|  84.3M|#define FORWARD_AND_PROCESS_ONE_NODE(s, tp) do {	\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  813|  52.5M|	SEXP fpn__n__ = (s);				\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  814|  52.5M|	int __tp__ = (tp);				\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  815|  52.5M|	if (fpn__n__ && ! NODE_IS_MARKED(fpn__n__)) {	\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|  52.5M|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|  52.5M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (815:6): [True: 52.5M, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (815:18): [True: 3.42M, False: 49.0M]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  816|  3.42M|	    if (TYPEOF(fpn__n__) == __tp__ &&		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|  3.42M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (816:10): [True: 3.42M, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  817|  3.42M|		! HAS_GENUINE_ATTRIB(fpn__n__)) {	\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  696|  3.42M|    (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|  3.42M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|  6.85M|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  230|  3.42M|#define ATTRIB(x)	((x)->attrib)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (696:6): [True: 3.42M, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (696:30): [True: 256k, False: 3.17M]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  697|  3.42M|     (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|   256k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  120|   512k|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|   256k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  120|   256k|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (697:7): [True: 0, False: 256k]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (697:31): [True: 0, False: 256k]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  818|  3.42M|		MARK_AND_UNSNAP_NODE(fpn__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|  3.42M|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|  3.42M|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|  3.42M|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|  3.42M|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|  3.42M|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|  3.42M|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|  3.42M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|  6.85M|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 3.42M]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|  3.42M|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|  3.42M|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|  3.42M|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|  3.42M|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|  3.42M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|  3.42M|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|  3.42M|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|  3.42M|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|  3.42M|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  3.42M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|  3.42M|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|  3.42M|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|  3.42M|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|  3.42M|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  3.42M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|  3.42M|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|  3.42M|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|  3.42M|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|  3.42M|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 3.42M]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|  3.42M|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 3.42M]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  819|  3.42M|		PROCESS_ONE_NODE(fpn__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  803|  3.42M|#define PROCESS_ONE_NODE(s) do {				\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  804|  3.42M|	SEXP pn__n__ = (s);					\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  805|  3.42M|	int __cls__ = NODE_CLASS(pn__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  545|  3.42M|#define NODE_CLASS(s) ((s)->sxpinfo.gccls)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  806|  3.42M|	int __gen__ = NODE_GENERATION(pn__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  559|  3.42M|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  807|  3.42M|	SNAP_NODE(pn__n__, R_GenHeap[__cls__].Old[__gen__]);	\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  657|  3.42M|#define SNAP_NODE(s,t) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  658|  3.42M|  SEXP sn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  659|  3.42M|  SEXP next = (t); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  660|  3.42M|  SEXP prev = PREV_NODE(next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|  3.42M|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  661|  3.42M|  SET_NEXT_NODE(sn__n__, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|  3.42M|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  3.42M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  662|  3.42M|  SET_PREV_NODE(next, sn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|  3.42M|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|  3.42M|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  663|  3.42M|  SET_NEXT_NODE(prev, sn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|  3.42M|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  3.42M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  664|  3.42M|  SET_PREV_NODE(sn__n__, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|  3.42M|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|  3.42M|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  665|  3.42M|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (665:10): [Folded, False: 3.42M]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  808|  3.42M|	R_GenHeap[__cls__].OldCount[__gen__]++;			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  809|  3.42M|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (809:14): [Folded, False: 3.42M]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  820|  3.42M|	    }						\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  821|  3.42M|	    else FORWARD_NODE(fpn__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  822|  3.42M|	}						\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  823|  52.5M|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (823:14): [Folded, False: 52.5M]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  737|  31.8M|    } \
  |  |  |  |  |  |  738|  31.8M|    break; \
  |  |  |  |  |  |  739|  28.2M|  case EXPRSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|    725|#define EXPRSXP	    20	  /* expressions vectors */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (739:3): [True: 725, False: 231M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  740|  8.60M|  case VECSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  131|  8.60M|#define VECSXP	    19	  /* generic vectors */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (740:3): [True: 8.60M, False: 222M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  741|  8.60M|    { \
  |  |  |  |  |  |  742|  8.60M|      R_xlen_t i; \
  |  |  |  |  |  |  743|  82.0M|      for (i = 0; i < XLENGTH(__n__); i++) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  407|  82.0M|#define XLENGTH(x) XLENGTH_EX(x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (743:19): [True: 73.4M, False: 8.60M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  744|  8.60M|	dc__action__(VECTOR_ELT_0(__n__, i), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|  8.60M|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|  73.4M|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|  82.0M|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|  73.4M|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|  73.4M|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|  73.4M|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|  73.4M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 73.4M, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 45.4M, False: 27.9M]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|  45.4M|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|  45.4M|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|  45.4M|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|  45.4M|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|  45.4M|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|  45.4M|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|  45.4M|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|  45.4M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|  90.8M|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 45.4M]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|  45.4M|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|  45.4M|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|  45.4M|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|  45.4M|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|  45.4M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|  45.4M|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|  45.4M|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|  45.4M|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|  45.4M|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  45.4M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|  45.4M|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|  45.4M|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|  45.4M|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|  45.4M|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  45.4M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|  45.4M|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|  45.4M|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|  45.4M|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|  45.4M|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 45.4M]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|  45.4M|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 45.4M]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|  45.4M|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|  45.4M|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  45.4M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|  45.4M|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|  45.4M|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|  73.4M|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 73.4M]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  745|  8.60M|    } \
  |  |  |  |  |  |  746|  8.60M|    break; \
  |  |  |  |  |  |  747|   754k|  case ENVSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  115|   754k|#define ENVSXP	     4	  /* environments */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (747:3): [True: 754k, False: 230M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  748|   754k|    dc__action__(FRAME(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|   754k|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|   754k|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|   754k|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|   754k|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|   754k|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|   754k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|   754k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 754k, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 486k, False: 268k]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|   486k|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|   486k|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|   486k|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|   486k|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|   486k|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|   486k|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|   486k|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|   486k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|   972k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 486k]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|   486k|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|   486k|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|   486k|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|   486k|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|   486k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|   486k|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|   486k|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|   486k|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|   486k|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|   486k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|   486k|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|   486k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|   486k|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|   486k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|   486k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|   486k|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|   486k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|   486k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|   486k|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 486k]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|   486k|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 486k]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|   486k|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|   486k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|   486k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|   486k|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|   486k|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|   754k|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 754k]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  749|   754k|    dc__action__(ENCLOS(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|   754k|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|   754k|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|   754k|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|   754k|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|   754k|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|   754k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|   754k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 754k, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 36.9k, False: 717k]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|  36.9k|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|  36.9k|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|  36.9k|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|  36.9k|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|  36.9k|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|  36.9k|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|  36.9k|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|  36.9k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|  73.9k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 36.9k]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|  36.9k|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|  36.9k|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|  36.9k|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|  36.9k|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|  36.9k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|  36.9k|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|  36.9k|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|  36.9k|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|  36.9k|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  36.9k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|  36.9k|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|  36.9k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|  36.9k|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|  36.9k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  36.9k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|  36.9k|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|  36.9k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|  36.9k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|  36.9k|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 36.9k]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|  36.9k|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 36.9k]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|  36.9k|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|  36.9k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  36.9k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|  36.9k|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|  36.9k|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|   754k|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 754k]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  750|   754k|    dc__action__(HASHTAB(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|   754k|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|   754k|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|   754k|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|   754k|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|   754k|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|   754k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|   754k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 754k, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 264k, False: 490k]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|   264k|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|   264k|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|   264k|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|   264k|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|   264k|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|   264k|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|   264k|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|   264k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|   529k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 264k]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|   264k|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|   264k|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|   264k|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|   264k|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|   264k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|   264k|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|   264k|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|   264k|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|   264k|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|   264k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|   264k|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|   264k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|   264k|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|   264k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|   264k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|   264k|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|   264k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|   264k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|   264k|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 264k]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|   264k|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 264k]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|   264k|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|   264k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|   264k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|   264k|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|   264k|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|   754k|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 754k]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  751|   754k|    break; \
  |  |  |  |  |  |  752|   111M|  case LISTSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  113|   111M|#define LISTSXP	     2	  /* lists of dotted pairs */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (752:3): [True: 111M, False: 119M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  753|   116M|  case PROMSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  116|   116M|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (753:3): [True: 4.55M, False: 226M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  754|   116M|    dc__action__(TAG(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|   116M|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|   116M|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|   116M|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|   116M|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|   116M|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|   116M|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|   116M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 116M, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 3.90M, False: 112M]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|  3.90M|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|  3.90M|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|  3.90M|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|  3.90M|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|  3.90M|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|  3.90M|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|  3.90M|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|  3.90M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|  7.81M|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 3.90M]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|  3.90M|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|  3.90M|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|  3.90M|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|  3.90M|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|  3.90M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|  3.90M|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|  3.90M|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|  3.90M|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|  3.90M|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  3.90M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|  3.90M|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|  3.90M|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|  3.90M|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|  3.90M|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  3.90M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|  3.90M|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|  3.90M|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|  3.90M|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|  3.90M|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 3.90M]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|  3.90M|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 3.90M]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|  3.90M|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|  3.90M|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  3.90M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|  3.90M|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|  3.90M|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|   116M|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 116M]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  755|   116M|    if (BOXED_BINDING_CELLS || BNDCELL_TAG(__n__) == 0) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   232M|# define BOXED_BINDING_CELLS 0
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (37:30): [Folded, False: 116M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (BOXED_BINDING_CELLS || BNDCELL_TAG(__n__) == 0) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  463|   116M|#define BNDCELL_TAG(e)	((e)->sxpinfo.extra)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (755:32): [True: 116M, False: 3.12k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  756|   116M|      dc__action__(CAR0(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|   116M|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|   116M|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|   116M|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|   116M|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|   116M|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|   116M|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|   116M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 116M, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 49.9M, False: 66.2M]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|  49.9M|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|  49.9M|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|  49.9M|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|  49.9M|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|  49.9M|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|  49.9M|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|  49.9M|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|  49.9M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|  99.8M|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 49.9M]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|  49.9M|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|  49.9M|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|  49.9M|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|  49.9M|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|  49.9M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|  49.9M|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|  49.9M|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|  49.9M|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|  49.9M|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  49.9M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|  49.9M|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|  49.9M|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|  49.9M|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|  49.9M|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  49.9M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|  49.9M|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|  49.9M|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|  49.9M|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|  49.9M|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 49.9M]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|  49.9M|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 49.9M]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|  49.9M|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|  49.9M|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  49.9M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|  49.9M|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|  49.9M|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|   116M|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 116M]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  757|   116M|    dc__action__(CDR(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|   116M|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|   116M|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|   116M|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|   116M|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|   116M|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|   116M|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|   116M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 116M, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 58.0M, False: 58.1M]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|  58.0M|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|  58.0M|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|  58.0M|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|  58.0M|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|  58.0M|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|  58.0M|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|  58.0M|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|  58.0M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|   116M|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 58.0M]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|  58.0M|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|  58.0M|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|  58.0M|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|  58.0M|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|  58.0M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|  58.0M|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|  58.0M|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|  58.0M|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|  58.0M|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  58.0M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|  58.0M|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|  58.0M|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|  58.0M|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|  58.0M|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  58.0M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|  58.0M|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|  58.0M|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|  58.0M|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|  58.0M|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 58.0M]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|  58.0M|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 58.0M]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|  58.0M|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|  58.0M|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  58.0M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|  58.0M|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|  58.0M|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|   116M|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 116M]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  758|   116M|    break; \
  |  |  |  |  |  |  759|   111M|  case CLOSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  114|  2.37M|#define CLOSXP	     3	  /* closures */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (759:3): [True: 2.37M, False: 228M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  32.0M|  case LANGSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|  32.0M|#define LANGSXP	     6	  /* language constructs (special lists) */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:3): [True: 29.6M, False: 201M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  761|  32.0M|  case DOTSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  127|  32.0M|#define DOTSXP	    17	  /* dot-dot-dot object */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (761:3): [True: 1.47k, False: 231M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  762|  37.2M|  case SYMSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|  37.2M|#define SYMSXP	     1	  /* symbols */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (762:3): [True: 5.20M, False: 225M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  763|  44.2M|  case BCODESXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  133|  44.2M|#define BCODESXP    21    /* byte code */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (763:3): [True: 6.92M, False: 224M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  764|  44.2M|    dc__action__(TAG(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|  44.2M|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|  44.2M|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|  44.2M|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|  44.2M|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|  44.2M|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|  44.2M|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|  44.2M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 44.2M, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 244k, False: 43.9M]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|   244k|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|   244k|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|   244k|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|   244k|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|   244k|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|   244k|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|   244k|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|   244k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|   488k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 244k]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|   244k|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|   244k|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|   244k|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|   244k|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|   244k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|   244k|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|   244k|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|   244k|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|   244k|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|   244k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|   244k|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|   244k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|   244k|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|   244k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|   244k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|   244k|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|   244k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|   244k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|   244k|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 244k]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|   244k|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 244k]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|   244k|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|   244k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|   244k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|   244k|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|   244k|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|  44.2M|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 44.2M]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  765|  44.2M|    dc__action__(CAR0(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|  44.2M|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|  44.2M|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|  44.2M|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|  44.2M|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|  44.2M|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|  44.2M|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|  44.2M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 44.2M, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 13.3M, False: 30.8M]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|  13.3M|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|  13.3M|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|  13.3M|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|  13.3M|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|  13.3M|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|  13.3M|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|  13.3M|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|  13.3M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|  26.7M|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 13.3M]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|  13.3M|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|  13.3M|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|  13.3M|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|  13.3M|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|  13.3M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|  13.3M|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|  13.3M|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|  13.3M|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|  13.3M|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  13.3M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|  13.3M|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|  13.3M|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|  13.3M|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|  13.3M|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  13.3M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|  13.3M|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|  13.3M|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|  13.3M|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|  13.3M|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 13.3M]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|  13.3M|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 13.3M]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|  13.3M|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|  13.3M|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  13.3M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|  13.3M|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|  13.3M|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|  44.2M|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 44.2M]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  766|  44.2M|    dc__action__(CDR(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|  44.2M|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|  44.2M|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|  44.2M|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|  44.2M|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|  44.2M|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|  44.2M|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|  44.2M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 44.2M, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 39.6M, False: 4.56M]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|  39.6M|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|  39.6M|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|  39.6M|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|  39.6M|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|  39.6M|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|  39.6M|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|  39.6M|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|  39.6M|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|  79.2M|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 39.6M]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|  39.6M|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|  39.6M|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|  39.6M|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|  39.6M|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|  39.6M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|  39.6M|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|  39.6M|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|  39.6M|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|  39.6M|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  39.6M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|  39.6M|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|  39.6M|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|  39.6M|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|  39.6M|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  39.6M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|  39.6M|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|  39.6M|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|  39.6M|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|  39.6M|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 39.6M]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|  39.6M|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 39.6M]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|  39.6M|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|  39.6M|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  39.6M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|  39.6M|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|  39.6M|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|  44.2M|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 44.2M]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  767|  44.2M|    break; \
  |  |  |  |  |  |  768|  37.2M|  case EXTPTRSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  134|   711k|#define EXTPTRSXP   22    /* external pointer */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (768:3): [True: 711k, False: 230M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  769|   711k|    dc__action__(EXTPTR_PROT(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|   711k|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|   711k|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|   711k|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|   711k|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|   711k|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|   711k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|   711k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 711k, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 711k]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|   711k|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 711k]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  770|   711k|    dc__action__(EXTPTR_TAG(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|   711k|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|   711k|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|   711k|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|   711k|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|   711k|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|   711k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|   711k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 711k, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 2.17k, False: 709k]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|  2.17k|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|  2.17k|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|  2.17k|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|  2.17k|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|  2.17k|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|  2.17k|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|  2.17k|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|  2.17k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|  4.35k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 2.17k]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|  2.17k|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|  2.17k|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|  2.17k|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|  2.17k|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|  2.17k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|  2.17k|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|  2.17k|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|  2.17k|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|  2.17k|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  2.17k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|  2.17k|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|  2.17k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|  2.17k|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|  2.17k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  2.17k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|  2.17k|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|  2.17k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|  2.17k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|  2.17k|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 2.17k]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|  2.17k|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 2.17k]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|  2.17k|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|  2.17k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  2.17k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|  2.17k|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|  2.17k|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|   711k|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 711k]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  771|   711k|    break; \
  |  |  |  |  |  |  772|  37.2M|  FREE_FORWARD_CASE \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  705|      0|#define FREE_FORWARD_CASE case FREESXP: if (gc_inhibit_release) break;
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (705:27): [True: 0, False: 231M]
  |  |  |  |  |  |  |  |  |  Branch (705:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  773|      0|  default: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (773:3): [True: 0, False: 231M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  774|      0|    register_bad_sexp_type(__n__, __LINE__);		\
  |  |  |  |  |  |  775|   231M|  } \
  |  |  |  |  |  |  776|   231M|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (776:9): [Folded, False: 231M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1717|   231M|    } \
  |  | 1718|    725|} while (0)
  |  |  ------------------
  |  |  |  Branch (1718:10): [Folded, False: 725]
  |  |  ------------------
  ------------------
 1881|       |
 1882|       |    /* identify weakly reachable nodes */
 1883|    725|    {
 1884|    725|	Rboolean recheck_weak_refs;
 1885|  1.45k|	do {
 1886|  1.45k|	    recheck_weak_refs = FALSE;
 1887|  1.69M|	    for (s = R_weak_refs; s != R_NilValue; s = WEAKREF_NEXT(s)) {
  ------------------
  |  | 1420|  1.69M|#define WEAKREF_NEXT(w) VECTOR_ELT_0(w, 3)
  |  |  ------------------
  |  |  |  |   80|  1.69M|#define VECTOR_ELT_0(x,i)        ((SEXP *) STDVEC_DATAPTR(x))[i]
  |  |  |  |  ------------------
  |  |  |  |  |  |  420|  1.69M|#define STDVEC_DATAPTR(x) ((void *) (((SEXPREC_ALIGN *) (x)) + 1))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1887:28): [True: 1.69M, False: 1.45k]
  ------------------
 1888|  1.69M|		if (NODE_IS_MARKED(WEAKREF_KEY(s))) {
  ------------------
  |  |  268|  1.69M|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  ------------------
  |  |  |  |  232|  1.69M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  ------------------
  |  |  |  Branch (268:27): [True: 1.69M, False: 130]
  |  |  ------------------
  ------------------
 1889|  1.69M|		    if (! NODE_IS_MARKED(WEAKREF_VALUE(s))) {
  ------------------
  |  |  268|  1.69M|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  ------------------
  |  |  |  |  232|  1.69M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  ------------------
  ------------------
  |  Branch (1889:11): [True: 0, False: 1.69M]
  ------------------
 1890|      0|			recheck_weak_refs = TRUE;
 1891|      0|			FORWARD_NODE(WEAKREF_VALUE(s));
  ------------------
  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  ------------------
  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|      0|}
  |  |  |  |  ------------------
  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  800|      0|  } \
  |  |  801|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1892|      0|		    }
 1893|  1.69M|		    if (! NODE_IS_MARKED(WEAKREF_FINALIZER(s))) {
  ------------------
  |  |  268|  1.69M|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  ------------------
  |  |  |  |  232|  1.69M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  ------------------
  ------------------
  |  Branch (1893:11): [True: 281k, False: 1.41M]
  ------------------
 1894|   281k|			recheck_weak_refs = TRUE;
 1895|   281k|			FORWARD_NODE(WEAKREF_FINALIZER(s));
  ------------------
  |  |  794|   281k|#define FORWARD_NODE(s) do { \
  |  |  795|   281k|  SEXP fn__n__ = (s); \
  |  |  796|   281k|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|   281k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|   281k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 281k, False: 0]
  |  |  |  Branch (796:18): [True: 281k, False: 0]
  |  |  ------------------
  |  |  797|   281k|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|   281k|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|   281k|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|   281k|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|   281k|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|   281k|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|   281k|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|   281k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|   562k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 281k]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|   281k|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|   281k|}
  |  |  |  |  ------------------
  |  |  |  |  790|   281k|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|   281k|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|   281k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|   281k|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|   281k|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|   281k|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|   281k|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|   281k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|   281k|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|   281k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|   281k|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|   281k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|   281k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|   281k|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|   281k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|   281k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|   281k|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|   281k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 281k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|   281k|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|   281k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|   281k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|   281k|    forwarded_nodes = fn__n__; \
  |  |  800|   281k|  } \
  |  |  801|   281k|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 281k]
  |  |  ------------------
  ------------------
 1896|   281k|		    }
 1897|  1.69M|		}
 1898|  1.69M|	    }
 1899|  1.45k|	    PROCESS_NODES();
  ------------------
  |  | 1711|  1.45k|#define PROCESS_NODES() do { \
  |  | 1712|   282k|    while (forwarded_nodes != NULL) { \
  |  |  ------------------
  |  |  |  Branch (1712:12): [True: 281k, False: 1.45k]
  |  |  ------------------
  |  | 1713|   281k|	SEXP s = forwarded_nodes; \
  |  | 1714|   281k|	forwarded_nodes = NEXT_NODE(forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  639|   281k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  ------------------
  |  | 1715|   281k|	PROCESS_ONE_NODE(s); \
  |  |  ------------------
  |  |  |  |  803|   281k|#define PROCESS_ONE_NODE(s) do {				\
  |  |  |  |  804|   281k|	SEXP pn__n__ = (s);					\
  |  |  |  |  805|   281k|	int __cls__ = NODE_CLASS(pn__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  545|   281k|#define NODE_CLASS(s) ((s)->sxpinfo.gccls)
  |  |  |  |  ------------------
  |  |  |  |  806|   281k|	int __gen__ = NODE_GENERATION(pn__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|   281k|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |  807|   281k|	SNAP_NODE(pn__n__, R_GenHeap[__cls__].Old[__gen__]);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  657|   281k|#define SNAP_NODE(s,t) do { \
  |  |  |  |  |  |  658|   281k|  SEXP sn__n__ = (s); \
  |  |  |  |  |  |  659|   281k|  SEXP next = (t); \
  |  |  |  |  |  |  660|   281k|  SEXP prev = PREV_NODE(next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|   281k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  661|   281k|  SET_NEXT_NODE(sn__n__, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|   281k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|   281k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  662|   281k|  SET_PREV_NODE(next, sn__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|   281k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|   281k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  663|   281k|  SET_NEXT_NODE(prev, sn__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|   281k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|   281k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  664|   281k|  SET_PREV_NODE(sn__n__, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|   281k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|   281k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  665|   281k|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (665:10): [Folded, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  808|   281k|	R_GenHeap[__cls__].OldCount[__gen__]++;			\
  |  |  |  |  809|   281k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (809:14): [Folded, False: 281k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1716|   281k|	FORWARD_CHILDREN(s); \
  |  |  ------------------
  |  |  |  |  829|   281k|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  ------------------
  |  |  |  |  |  |  710|   281k|#define DO_CHILDREN4(__n__,dc__action__,dc__str__action__,dc__extra__) do { \
  |  |  |  |  |  |  711|   281k|  if (HAS_GENUINE_ATTRIB(__n__)) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  696|   281k|    (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  233|   281k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  142|   562k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  230|   281k|#define ATTRIB(x)	((x)->attrib)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (696:6): [True: 281k, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (696:30): [True: 0, False: 281k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  697|   281k|     (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (697:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (697:31): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  712|   281k|    dc__action__(ATTRIB(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|   281k|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  713|   281k|  if (ALTREP(__n__)) {					\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  242|   281k|#define ALTREP(x)       ((x)->sxpinfo.alt)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (242:25): [True: 0, False: 281k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  714|      0|	  dc__action__(TAG(__n__), dc__extra__);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  715|      0|	  dc__action__(CAR(__n__), dc__extra__);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  716|      0|	  dc__action__(CDR(__n__), dc__extra__);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  717|      0|      }							\
  |  |  |  |  |  |  718|   281k|  else \
  |  |  |  |  |  |  719|   281k|  switch (TYPEOF(__n__)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|   281k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  720|      0|  case NILSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (720:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  721|      0|  case BUILTINSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  119|      0|#define BUILTINSXP   8	  /* builtin non-special forms */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (721:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  722|      0|  case SPECIALSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  118|      0|#define SPECIALSXP   7	  /* special forms */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (722:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  723|      0|  case CHARSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (723:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  724|      0|  case LGLSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (724:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  725|      0|  case INTSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (725:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  726|      0|  case REALSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (726:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  727|      0|  case CPLXSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (727:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  728|      0|  case WEAKREFSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  135|      0|#define WEAKREFSXP  23    /* weak reference */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (728:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  729|   281k|  case RAWSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  136|   281k|#define RAWSXP      24    /* raw bytes */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (729:3): [True: 281k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  730|   281k|  case OBJSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|   281k|#define OBJSXP      25    /* object, non-vector  */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (730:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  731|   281k|    break; \
  |  |  |  |  |  |  732|   281k|  case STRSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (732:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  733|      0|    { \
  |  |  |  |  |  |  734|      0|      R_xlen_t i; \
  |  |  |  |  |  |  735|      0|      for (i = 0; i < XLENGTH(__n__); i++) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  407|      0|#define XLENGTH(x) XLENGTH_EX(x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (735:19): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  736|      0|	dc__str__action__(VECTOR_ELT_0(__n__, i), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  826|      0|#define FC_PROCESS_CHARSXP(__n__,__dummy__) PROCESS_CHARSXP(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  825|      0|#define PROCESS_CHARSXP(__n__) FORWARD_AND_PROCESS_ONE_NODE(__n__, CHARSXP)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  812|      0|#define FORWARD_AND_PROCESS_ONE_NODE(s, tp) do {	\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  813|      0|	SEXP fpn__n__ = (s);				\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  814|      0|	int __tp__ = (tp);				\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  815|      0|	if (fpn__n__ && ! NODE_IS_MARKED(fpn__n__)) {	\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (815:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (815:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  816|      0|	    if (TYPEOF(fpn__n__) == __tp__ &&		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (816:10): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  817|      0|		! HAS_GENUINE_ATTRIB(fpn__n__)) {	\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  696|      0|    (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  230|      0|#define ATTRIB(x)	((x)->attrib)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (696:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (696:30): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  697|      0|     (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (697:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (697:31): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  818|      0|		MARK_AND_UNSNAP_NODE(fpn__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  819|      0|		PROCESS_ONE_NODE(fpn__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  803|      0|#define PROCESS_ONE_NODE(s) do {				\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  804|      0|	SEXP pn__n__ = (s);					\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  805|      0|	int __cls__ = NODE_CLASS(pn__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  545|      0|#define NODE_CLASS(s) ((s)->sxpinfo.gccls)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  806|      0|	int __gen__ = NODE_GENERATION(pn__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  807|      0|	SNAP_NODE(pn__n__, R_GenHeap[__cls__].Old[__gen__]);	\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  657|      0|#define SNAP_NODE(s,t) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  658|      0|  SEXP sn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  659|      0|  SEXP next = (t); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  660|      0|  SEXP prev = PREV_NODE(next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  661|      0|  SET_NEXT_NODE(sn__n__, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  662|      0|  SET_PREV_NODE(next, sn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  663|      0|  SET_NEXT_NODE(prev, sn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  664|      0|  SET_PREV_NODE(sn__n__, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  665|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (665:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  808|      0|	R_GenHeap[__cls__].OldCount[__gen__]++;			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  809|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (809:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  820|      0|	    }						\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  821|      0|	    else FORWARD_NODE(fpn__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  822|      0|	}						\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  823|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (823:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  737|      0|    } \
  |  |  |  |  |  |  738|      0|    break; \
  |  |  |  |  |  |  739|   281k|  case EXPRSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (739:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  740|      0|  case VECSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (740:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  741|      0|    { \
  |  |  |  |  |  |  742|      0|      R_xlen_t i; \
  |  |  |  |  |  |  743|      0|      for (i = 0; i < XLENGTH(__n__); i++) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  407|      0|#define XLENGTH(x) XLENGTH_EX(x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (743:19): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  744|      0|	dc__action__(VECTOR_ELT_0(__n__, i), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  745|      0|    } \
  |  |  |  |  |  |  746|      0|    break; \
  |  |  |  |  |  |  747|      0|  case ENVSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (747:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  748|      0|    dc__action__(FRAME(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  749|      0|    dc__action__(ENCLOS(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  750|      0|    dc__action__(HASHTAB(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  751|      0|    break; \
  |  |  |  |  |  |  752|      0|  case LISTSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  113|      0|#define LISTSXP	     2	  /* lists of dotted pairs */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (752:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  753|      0|  case PROMSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  116|      0|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (753:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  754|      0|    dc__action__(TAG(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  755|      0|    if (BOXED_BINDING_CELLS || BNDCELL_TAG(__n__) == 0) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|# define BOXED_BINDING_CELLS 0
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (37:30): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (BOXED_BINDING_CELLS || BNDCELL_TAG(__n__) == 0) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  463|      0|#define BNDCELL_TAG(e)	((e)->sxpinfo.extra)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (755:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  756|      0|      dc__action__(CAR0(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  757|      0|    dc__action__(CDR(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  758|      0|    break; \
  |  |  |  |  |  |  759|      0|  case CLOSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  114|      0|#define CLOSXP	     3	  /* closures */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (759:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      0|  case LANGSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|      0|#define LANGSXP	     6	  /* language constructs (special lists) */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  761|      0|  case DOTSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  127|      0|#define DOTSXP	    17	  /* dot-dot-dot object */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (761:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  762|      0|  case SYMSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|#define SYMSXP	     1	  /* symbols */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (762:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  763|      0|  case BCODESXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  133|      0|#define BCODESXP    21    /* byte code */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (763:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  764|      0|    dc__action__(TAG(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  765|      0|    dc__action__(CAR0(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  766|      0|    dc__action__(CDR(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  767|      0|    break; \
  |  |  |  |  |  |  768|      0|  case EXTPTRSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  134|      0|#define EXTPTRSXP   22    /* external pointer */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (768:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  769|      0|    dc__action__(EXTPTR_PROT(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  770|      0|    dc__action__(EXTPTR_TAG(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  771|      0|    break; \
  |  |  |  |  |  |  772|      0|  FREE_FORWARD_CASE \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  705|      0|#define FREE_FORWARD_CASE case FREESXP: if (gc_inhibit_release) break;
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (705:27): [True: 0, False: 281k]
  |  |  |  |  |  |  |  |  |  Branch (705:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  773|      0|  default: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (773:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  774|      0|    register_bad_sexp_type(__n__, __LINE__);		\
  |  |  |  |  |  |  775|   281k|  } \
  |  |  |  |  |  |  776|   281k|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (776:9): [Folded, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1717|   281k|    } \
  |  | 1718|  1.45k|} while (0)
  |  |  ------------------
  |  |  |  Branch (1718:10): [Folded, False: 1.45k]
  |  |  ------------------
  ------------------
 1900|  1.45k|	} while (recheck_weak_refs);
  ------------------
  |  Branch (1900:11): [True: 725, False: 725]
  ------------------
 1901|    725|    }
 1902|       |
 1903|       |    /* mark nodes ready for finalizing */
 1904|    725|    CheckFinalizers();
 1905|       |
 1906|       |    /* process the weak reference chain */
 1907|   848k|    for (s = R_weak_refs; s != R_NilValue; s = WEAKREF_NEXT(s)) {
  ------------------
  |  | 1420|   847k|#define WEAKREF_NEXT(w) VECTOR_ELT_0(w, 3)
  |  |  ------------------
  |  |  |  |   80|   847k|#define VECTOR_ELT_0(x,i)        ((SEXP *) STDVEC_DATAPTR(x))[i]
  |  |  |  |  ------------------
  |  |  |  |  |  |  420|   847k|#define STDVEC_DATAPTR(x) ((void *) (((SEXPREC_ALIGN *) (x)) + 1))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1907:27): [True: 847k, False: 725]
  ------------------
 1908|   847k|	FORWARD_NODE(s);
  ------------------
  |  |  794|   847k|#define FORWARD_NODE(s) do { \
  |  |  795|   847k|  SEXP fn__n__ = (s); \
  |  |  796|   847k|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|   847k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|   847k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 847k, False: 0]
  |  |  |  Branch (796:18): [True: 281k, False: 566k]
  |  |  ------------------
  |  |  797|   281k|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|   281k|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|   281k|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|   281k|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|   281k|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|   281k|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|   281k|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|   281k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|   562k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 281k]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|   281k|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|   281k|}
  |  |  |  |  ------------------
  |  |  |  |  790|   281k|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|   281k|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|   281k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|   281k|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|   281k|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|   281k|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|   281k|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|   281k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|   281k|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|   281k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|   281k|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|   281k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|   281k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|   281k|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|   281k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|   281k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|   281k|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|   281k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 281k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|   281k|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|   281k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|   281k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|   281k|    forwarded_nodes = fn__n__; \
  |  |  800|   281k|  } \
  |  |  801|   847k|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 847k]
  |  |  ------------------
  ------------------
 1909|   847k|	FORWARD_NODE(WEAKREF_KEY(s));
  ------------------
  |  |  794|   847k|#define FORWARD_NODE(s) do { \
  |  |  795|   847k|  SEXP fn__n__ = (s); \
  |  |  796|   847k|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|   847k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|   847k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 847k, False: 0]
  |  |  |  Branch (796:18): [True: 65, False: 847k]
  |  |  ------------------
  |  |  797|     65|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|     65|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|     65|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|     65|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|     65|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|     65|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|     65|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|     65|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|    130|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 65]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|     65|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|     65|}
  |  |  |  |  ------------------
  |  |  |  |  790|     65|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|     65|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|     65|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|     65|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|     65|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|     65|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|     65|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|     65|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|     65|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|     65|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|     65|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|     65|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|     65|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|     65|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|     65|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|     65|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|     65|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 65]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|     65|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 65]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|     65|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|     65|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|     65|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|     65|    forwarded_nodes = fn__n__; \
  |  |  800|     65|  } \
  |  |  801|   847k|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 847k]
  |  |  ------------------
  ------------------
 1910|   847k|	FORWARD_NODE(WEAKREF_VALUE(s));
  ------------------
  |  |  794|   847k|#define FORWARD_NODE(s) do { \
  |  |  795|   847k|  SEXP fn__n__ = (s); \
  |  |  796|   847k|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|   847k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|   847k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 847k, False: 0]
  |  |  |  Branch (796:18): [True: 0, False: 847k]
  |  |  ------------------
  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|      0|}
  |  |  |  |  ------------------
  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  800|      0|  } \
  |  |  801|   847k|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 847k]
  |  |  ------------------
  ------------------
 1911|   847k|	FORWARD_NODE(WEAKREF_FINALIZER(s));
  ------------------
  |  |  794|   847k|#define FORWARD_NODE(s) do { \
  |  |  795|   847k|  SEXP fn__n__ = (s); \
  |  |  796|   847k|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|   847k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|   847k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 847k, False: 0]
  |  |  |  Branch (796:18): [True: 63, False: 847k]
  |  |  ------------------
  |  |  797|     63|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|     63|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|     63|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|     63|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|     63|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|     63|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|     63|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|     63|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|    126|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 63]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|     63|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|     63|}
  |  |  |  |  ------------------
  |  |  |  |  790|     63|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|     63|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|     63|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|     63|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|     63|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|     63|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|     63|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|     63|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|     63|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|     63|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|     63|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|     63|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|     63|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|     63|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|     63|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|     63|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|     63|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 63]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|     63|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 63]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|     63|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|     63|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|     63|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|     63|    forwarded_nodes = fn__n__; \
  |  |  800|     63|  } \
  |  |  801|   847k|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 847k]
  |  |  ------------------
  ------------------
 1912|   847k|    }
 1913|    725|    PROCESS_NODES();
  ------------------
  |  | 1711|    725|#define PROCESS_NODES() do { \
  |  | 1712|   282k|    while (forwarded_nodes != NULL) { \
  |  |  ------------------
  |  |  |  Branch (1712:12): [True: 281k, False: 725]
  |  |  ------------------
  |  | 1713|   281k|	SEXP s = forwarded_nodes; \
  |  | 1714|   281k|	forwarded_nodes = NEXT_NODE(forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  639|   281k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  ------------------
  |  | 1715|   281k|	PROCESS_ONE_NODE(s); \
  |  |  ------------------
  |  |  |  |  803|   281k|#define PROCESS_ONE_NODE(s) do {				\
  |  |  |  |  804|   281k|	SEXP pn__n__ = (s);					\
  |  |  |  |  805|   281k|	int __cls__ = NODE_CLASS(pn__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  545|   281k|#define NODE_CLASS(s) ((s)->sxpinfo.gccls)
  |  |  |  |  ------------------
  |  |  |  |  806|   281k|	int __gen__ = NODE_GENERATION(pn__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|   281k|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |  807|   281k|	SNAP_NODE(pn__n__, R_GenHeap[__cls__].Old[__gen__]);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  657|   281k|#define SNAP_NODE(s,t) do { \
  |  |  |  |  |  |  658|   281k|  SEXP sn__n__ = (s); \
  |  |  |  |  |  |  659|   281k|  SEXP next = (t); \
  |  |  |  |  |  |  660|   281k|  SEXP prev = PREV_NODE(next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|   281k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  661|   281k|  SET_NEXT_NODE(sn__n__, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|   281k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|   281k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  662|   281k|  SET_PREV_NODE(next, sn__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|   281k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|   281k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  663|   281k|  SET_NEXT_NODE(prev, sn__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|   281k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|   281k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  664|   281k|  SET_PREV_NODE(sn__n__, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|   281k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|   281k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  665|   281k|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (665:10): [Folded, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  808|   281k|	R_GenHeap[__cls__].OldCount[__gen__]++;			\
  |  |  |  |  809|   281k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (809:14): [Folded, False: 281k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1716|   281k|	FORWARD_CHILDREN(s); \
  |  |  ------------------
  |  |  |  |  829|   281k|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  ------------------
  |  |  |  |  |  |  710|   281k|#define DO_CHILDREN4(__n__,dc__action__,dc__str__action__,dc__extra__) do { \
  |  |  |  |  |  |  711|   281k|  if (HAS_GENUINE_ATTRIB(__n__)) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  696|   281k|    (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  233|   281k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  142|   563k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  230|   281k|#define ATTRIB(x)	((x)->attrib)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (696:6): [True: 281k, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (696:30): [True: 2, False: 281k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  697|   281k|     (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  233|      2|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  120|      4|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (697:7): [True: 2, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (697:31): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  712|   281k|    dc__action__(ATTRIB(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|   281k|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      2|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      2|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      2|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      2|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      2|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      2|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 2, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 2, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      2|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      2|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      2|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      2|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      2|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      2|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      2|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      2|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      4|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 2]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      2|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      2|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      2|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      2|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      2|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      2|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      2|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      2|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      2|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      2|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      2|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      2|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      2|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      2|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      2|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      2|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      2|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      2|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      2|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 2]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      2|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 2]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      2|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      2|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      2|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      2|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      2|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      2|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 2]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  713|   281k|  if (ALTREP(__n__)) {					\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  242|   281k|#define ALTREP(x)       ((x)->sxpinfo.alt)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (242:25): [True: 0, False: 281k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  714|      0|	  dc__action__(TAG(__n__), dc__extra__);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  715|      0|	  dc__action__(CAR(__n__), dc__extra__);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  716|      0|	  dc__action__(CDR(__n__), dc__extra__);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  717|      0|      }							\
  |  |  |  |  |  |  718|   281k|  else \
  |  |  |  |  |  |  719|   281k|  switch (TYPEOF(__n__)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|   281k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  720|      0|  case NILSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (720:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  721|      0|  case BUILTINSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  119|      0|#define BUILTINSXP   8	  /* builtin non-special forms */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (721:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  722|      0|  case SPECIALSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  118|      0|#define SPECIALSXP   7	  /* special forms */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (722:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  723|      0|  case CHARSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (723:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  724|      0|  case LGLSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (724:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  725|      0|  case INTSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (725:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  726|      0|  case REALSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (726:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  727|      0|  case CPLXSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (727:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  728|   281k|  case WEAKREFSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  135|   281k|#define WEAKREFSXP  23    /* weak reference */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (728:3): [True: 281k, False: 132]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  729|   281k|  case RAWSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  136|   281k|#define RAWSXP      24    /* raw bytes */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (729:3): [True: 63, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  730|   281k|  case OBJSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|   281k|#define OBJSXP      25    /* object, non-vector  */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (730:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  731|   281k|    break; \
  |  |  |  |  |  |  732|   281k|  case STRSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  126|      2|#define STRSXP	    16	  /* string vectors */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (732:3): [True: 2, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  733|      2|    { \
  |  |  |  |  |  |  734|      2|      R_xlen_t i; \
  |  |  |  |  |  |  735|      4|      for (i = 0; i < XLENGTH(__n__); i++) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  407|      4|#define XLENGTH(x) XLENGTH_EX(x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (735:19): [True: 2, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  736|      2|	dc__str__action__(VECTOR_ELT_0(__n__, i), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      2|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  826|      2|#define FC_PROCESS_CHARSXP(__n__,__dummy__) PROCESS_CHARSXP(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  825|      2|#define PROCESS_CHARSXP(__n__) FORWARD_AND_PROCESS_ONE_NODE(__n__, CHARSXP)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  812|      4|#define FORWARD_AND_PROCESS_ONE_NODE(s, tp) do {	\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  813|      2|	SEXP fpn__n__ = (s);				\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  814|      2|	int __tp__ = (tp);				\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  815|      2|	if (fpn__n__ && ! NODE_IS_MARKED(fpn__n__)) {	\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      2|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      2|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (815:6): [True: 2, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (815:18): [True: 0, False: 2]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  816|      0|	    if (TYPEOF(fpn__n__) == __tp__ &&		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (816:10): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  817|      0|		! HAS_GENUINE_ATTRIB(fpn__n__)) {	\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  696|      0|    (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  230|      0|#define ATTRIB(x)	((x)->attrib)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (696:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (696:30): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  697|      0|     (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (697:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (697:31): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  818|      0|		MARK_AND_UNSNAP_NODE(fpn__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  819|      0|		PROCESS_ONE_NODE(fpn__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  803|      0|#define PROCESS_ONE_NODE(s) do {				\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  804|      0|	SEXP pn__n__ = (s);					\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  805|      0|	int __cls__ = NODE_CLASS(pn__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  545|      0|#define NODE_CLASS(s) ((s)->sxpinfo.gccls)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  806|      0|	int __gen__ = NODE_GENERATION(pn__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  807|      0|	SNAP_NODE(pn__n__, R_GenHeap[__cls__].Old[__gen__]);	\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  657|      0|#define SNAP_NODE(s,t) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  658|      0|  SEXP sn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  659|      0|  SEXP next = (t); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  660|      0|  SEXP prev = PREV_NODE(next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  661|      0|  SET_NEXT_NODE(sn__n__, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  662|      0|  SET_PREV_NODE(next, sn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  663|      0|  SET_NEXT_NODE(prev, sn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  664|      0|  SET_PREV_NODE(sn__n__, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  665|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (665:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  808|      0|	R_GenHeap[__cls__].OldCount[__gen__]++;			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  809|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (809:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  820|      0|	    }						\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  821|      0|	    else FORWARD_NODE(fpn__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  822|      0|	}						\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  823|      2|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (823:14): [Folded, False: 2]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  737|      2|    } \
  |  |  |  |  |  |  738|      2|    break; \
  |  |  |  |  |  |  739|   281k|  case EXPRSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (739:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  740|      0|  case VECSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (740:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  741|      0|    { \
  |  |  |  |  |  |  742|      0|      R_xlen_t i; \
  |  |  |  |  |  |  743|      0|      for (i = 0; i < XLENGTH(__n__); i++) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  407|      0|#define XLENGTH(x) XLENGTH_EX(x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (743:19): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  744|      0|	dc__action__(VECTOR_ELT_0(__n__, i), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  745|      0|    } \
  |  |  |  |  |  |  746|      0|    break; \
  |  |  |  |  |  |  747|      0|  case ENVSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (747:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  748|      0|    dc__action__(FRAME(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  749|      0|    dc__action__(ENCLOS(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  750|      0|    dc__action__(HASHTAB(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  751|      0|    break; \
  |  |  |  |  |  |  752|      2|  case LISTSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  113|      2|#define LISTSXP	     2	  /* lists of dotted pairs */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (752:3): [True: 2, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  753|      2|  case PROMSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  116|      2|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (753:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  754|      2|    dc__action__(TAG(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      2|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      2|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      2|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      2|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      2|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      2|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      2|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 2, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 2]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      2|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 2]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  755|      2|    if (BOXED_BINDING_CELLS || BNDCELL_TAG(__n__) == 0) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|# define BOXED_BINDING_CELLS 0
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (37:30): [Folded, False: 2]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (BOXED_BINDING_CELLS || BNDCELL_TAG(__n__) == 0) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  463|      2|#define BNDCELL_TAG(e)	((e)->sxpinfo.extra)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (755:32): [True: 2, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  756|      2|      dc__action__(CAR0(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      2|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      2|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      2|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      2|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      2|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      2|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      2|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 2, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 2, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      2|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      2|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      2|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      2|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      2|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      2|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      2|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      2|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      4|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 2]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      2|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      2|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      2|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      2|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      2|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      2|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      2|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      2|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      2|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      2|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      2|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      2|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      2|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      2|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      2|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      2|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      2|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      2|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      2|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 2]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      2|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 2]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      2|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      2|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      2|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      2|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      2|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      2|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 2]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  757|      2|    dc__action__(CDR(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      2|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      2|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      2|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      2|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      2|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      2|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      2|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 2, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 2]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      2|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 2]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  758|      2|    break; \
  |  |  |  |  |  |  759|      2|  case CLOSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  114|      0|#define CLOSXP	     3	  /* closures */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (759:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      0|  case LANGSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|      0|#define LANGSXP	     6	  /* language constructs (special lists) */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  761|      0|  case DOTSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  127|      0|#define DOTSXP	    17	  /* dot-dot-dot object */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (761:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  762|      0|  case SYMSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|#define SYMSXP	     1	  /* symbols */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (762:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  763|      0|  case BCODESXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  133|      0|#define BCODESXP    21    /* byte code */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (763:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  764|      0|    dc__action__(TAG(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  765|      0|    dc__action__(CAR0(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  766|      0|    dc__action__(CDR(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  767|      0|    break; \
  |  |  |  |  |  |  768|     65|  case EXTPTRSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  134|     65|#define EXTPTRSXP   22    /* external pointer */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (768:3): [True: 65, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  769|     65|    dc__action__(EXTPTR_PROT(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|     65|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|     65|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|     65|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|     65|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|     65|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|     65|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|     65|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 65, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 65]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|     65|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 65]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  770|     65|    dc__action__(EXTPTR_TAG(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|     65|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|     65|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|     65|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|     65|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|     65|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|     65|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|     65|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 65, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 65]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|     65|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 65]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  771|     65|    break; \
  |  |  |  |  |  |  772|      0|  FREE_FORWARD_CASE \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  705|      0|#define FREE_FORWARD_CASE case FREESXP: if (gc_inhibit_release) break;
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (705:27): [True: 0, False: 281k]
  |  |  |  |  |  |  |  |  |  Branch (705:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  773|      0|  default: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (773:3): [True: 0, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  774|      0|    register_bad_sexp_type(__n__, __LINE__);		\
  |  |  |  |  |  |  775|   281k|  } \
  |  |  |  |  |  |  776|   281k|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (776:9): [Folded, False: 281k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1717|   281k|    } \
  |  | 1718|    725|} while (0)
  |  |  ------------------
  |  |  |  Branch (1718:10): [Folded, False: 725]
  |  |  ------------------
  ------------------
 1914|       |
 1915|    725|    DEBUG_CHECK_NODE_COUNTS("after processing forwarded list");
 1916|       |
 1917|       |    /* process CHARSXP cache */
 1918|    725|    if (R_StringHash != NULL) /* in case of GC during initialization */
  ------------------
  |  Branch (1918:9): [True: 725, False: 0]
  ------------------
 1919|    725|    {
 1920|    725|	SEXP t;
 1921|    725|	int nc = 0;
 1922|  47.5M|	for (i = 0; i < LENGTH(R_StringHash); i++) {
  ------------------
  |  |  403|  47.5M|#define LENGTH(x) LENGTH_EX(x, __FILE__, __LINE__)
  ------------------
  |  Branch (1922:14): [True: 47.5M, False: 725]
  ------------------
 1923|  47.5M|	    s = VECTOR_ELT_0(R_StringHash, i);
  ------------------
  |  |   80|  47.5M|#define VECTOR_ELT_0(x,i)        ((SEXP *) STDVEC_DATAPTR(x))[i]
  |  |  ------------------
  |  |  |  |  420|  47.5M|#define STDVEC_DATAPTR(x) ((void *) (((SEXPREC_ALIGN *) (x)) + 1))
  |  |  ------------------
  ------------------
 1924|  47.5M|	    t = R_NilValue;
 1925|  54.0M|	    while (s != R_NilValue) {
  ------------------
  |  Branch (1925:13): [True: 6.56M, False: 47.5M]
  ------------------
 1926|  6.56M|		if (! NODE_IS_MARKED(CXHEAD(s))) { /* remove unused CHARSXP and cons cell */
  ------------------
  |  |  268|  6.56M|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  ------------------
  |  |  |  |  232|  6.56M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  ------------------
  ------------------
  |  Branch (1926:7): [True: 49.1k, False: 6.51M]
  ------------------
 1927|  49.1k|		    if (t == R_NilValue) /* head of list */
  ------------------
  |  Branch (1927:11): [True: 49.0k, False: 37]
  ------------------
 1928|  49.0k|			VECTOR_ELT_0(R_StringHash, i) = CXTAIL(s);
  ------------------
  |  |   80|  49.0k|#define VECTOR_ELT_0(x,i)        ((SEXP *) STDVEC_DATAPTR(x))[i]
  |  |  ------------------
  |  |  |  |  420|  49.0k|#define STDVEC_DATAPTR(x) ((void *) (((SEXPREC_ALIGN *) (x)) + 1))
  |  |  ------------------
  ------------------
              			VECTOR_ELT_0(R_StringHash, i) = CXTAIL(s);
  ------------------
  |  |  972|  49.0k|# define CXTAIL(x) ATTRIB(x)
  |  |  ------------------
  |  |  |  |  230|  49.0k|#define ATTRIB(x)	((x)->attrib)
  |  |  ------------------
  ------------------
 1929|     37|		    else
 1930|     37|			CXTAIL(t) = CXTAIL(s);
  ------------------
  |  |  972|     37|# define CXTAIL(x) ATTRIB(x)
  |  |  ------------------
  |  |  |  |  230|     37|#define ATTRIB(x)	((x)->attrib)
  |  |  ------------------
  ------------------
              			CXTAIL(t) = CXTAIL(s);
  ------------------
  |  |  972|     37|# define CXTAIL(x) ATTRIB(x)
  |  |  ------------------
  |  |  |  |  230|     37|#define ATTRIB(x)	((x)->attrib)
  |  |  ------------------
  ------------------
 1931|  49.1k|		    s = CXTAIL(s);
  ------------------
  |  |  972|  49.1k|# define CXTAIL(x) ATTRIB(x)
  |  |  ------------------
  |  |  |  |  230|  49.1k|#define ATTRIB(x)	((x)->attrib)
  |  |  ------------------
  ------------------
 1932|  49.1k|		    continue;
 1933|  49.1k|		}
 1934|  6.51M|		FORWARD_NODE(s);
  ------------------
  |  |  794|  6.51M|#define FORWARD_NODE(s) do { \
  |  |  795|  6.51M|  SEXP fn__n__ = (s); \
  |  |  796|  6.51M|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|  6.51M|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|  6.51M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 6.51M, False: 0]
  |  |  |  Branch (796:18): [True: 0, False: 6.51M]
  |  |  ------------------
  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|      0|}
  |  |  |  |  ------------------
  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  800|      0|  } \
  |  |  801|  6.51M|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 6.51M]
  |  |  ------------------
  ------------------
 1935|  6.51M|		FORWARD_NODE(CXHEAD(s));
  ------------------
  |  |  794|  6.51M|#define FORWARD_NODE(s) do { \
  |  |  795|  6.51M|  SEXP fn__n__ = (s); \
  |  |  796|  6.51M|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|  6.51M|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|  6.51M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 6.51M, False: 0]
  |  |  |  Branch (796:18): [True: 0, False: 6.51M]
  |  |  ------------------
  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|      0|}
  |  |  |  |  ------------------
  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  800|      0|  } \
  |  |  801|  6.51M|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 6.51M]
  |  |  ------------------
  ------------------
 1936|  6.51M|		t = s;
 1937|  6.51M|		s = CXTAIL(s);
  ------------------
  |  |  972|  6.51M|# define CXTAIL(x) ATTRIB(x)
  |  |  ------------------
  |  |  |  |  230|  6.51M|#define ATTRIB(x)	((x)->attrib)
  |  |  ------------------
  ------------------
 1938|  6.51M|	    }
 1939|  47.5M|	    if(VECTOR_ELT_0(R_StringHash, i) != R_NilValue) nc++;
  ------------------
  |  |   80|  47.5M|#define VECTOR_ELT_0(x,i)        ((SEXP *) STDVEC_DATAPTR(x))[i]
  |  |  ------------------
  |  |  |  |  420|  47.5M|#define STDVEC_DATAPTR(x) ((void *) (((SEXPREC_ALIGN *) (x)) + 1))
  |  |  ------------------
  ------------------
  |  Branch (1939:9): [True: 6.08M, False: 41.4M]
  ------------------
 1940|  47.5M|	}
 1941|    725|	SET_TRUELENGTH(R_StringHash, nc); /* SET_HASHPRI, really */
  ------------------
  |  |  395|    725|#define SET_TRUELENGTH(x,v) do {				\
  |  |  396|    725|	SEXP sl__x__ = (x);					\
  |  |  397|    725|	R_xlen_t sl__v__ = (v);					\
  |  |  398|    725|	if (ALTREP(x)) error("can't set ALTREP truelength");	\
  |  |  ------------------
  |  |  |  |  242|    725|#define ALTREP(x)       ((x)->sxpinfo.alt)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (242:25): [True: 0, False: 725]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               	if (ALTREP(x)) error("can't set ALTREP truelength");	\
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |  399|    725|	SET_STDVEC_TRUELENGTH(sl__x__, sl__v__);	\
  |  |  ------------------
  |  |  |  |  394|    725|#define SET_STDVEC_TRUELENGTH(x, v) (STDVEC_TRUELENGTH(x)=(v))
  |  |  |  |  ------------------
  |  |  |  |  |  |  393|    725|#define STDVEC_TRUELENGTH(x) (((VECSEXP) (x))->vecsxp.truelength)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  400|    725|    } while (0)
  |  |  ------------------
  |  |  |  Branch (400:14): [Folded, False: 725]
  |  |  ------------------
  ------------------
 1942|    725|    }
 1943|       |    /* chains are known to be marked so don't need to scan again */
 1944|    725|    FORWARD_AND_PROCESS_ONE_NODE(R_StringHash, VECSXP);
  ------------------
  |  |  812|    725|#define FORWARD_AND_PROCESS_ONE_NODE(s, tp) do {	\
  |  |  813|    725|	SEXP fpn__n__ = (s);				\
  |  |  814|    725|	int __tp__ = (tp);				\
  |  |  815|    725|	if (fpn__n__ && ! NODE_IS_MARKED(fpn__n__)) {	\
  |  |  ------------------
  |  |  |  |  268|    725|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (815:6): [True: 725, False: 0]
  |  |  |  Branch (815:18): [True: 725, False: 0]
  |  |  ------------------
  |  |  816|    725|	    if (TYPEOF(fpn__n__) == __tp__ &&		\
  |  |  ------------------
  |  |  |  |  233|    725|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  ------------------
  |  |  |  Branch (816:10): [True: 725, False: 0]
  |  |  ------------------
  |  |  817|    725|		! HAS_GENUINE_ATTRIB(fpn__n__)) {	\
  |  |  ------------------
  |  |  |  |  696|    725|    (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  233|    725|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  ------------------
  |  |  |  |                   (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  142|  1.45k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  ------------------
  |  |  |  |                   (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  ------------------
  |  |  |  |  |  |  230|    725|#define ATTRIB(x)	((x)->attrib)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (696:6): [True: 725, False: 0]
  |  |  |  |  |  Branch (696:30): [True: 0, False: 725]
  |  |  |  |  ------------------
  |  |  |  |  697|    725|     (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  ------------------
  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  ------------------
  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  ------------------
  |  |  |  |  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  |  |  ------------------
  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  ------------------
  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  ------------------
  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  ------------------
  |  |  |  |  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (697:7): [True: 0, False: 0]
  |  |  |  |  |  Branch (697:31): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  818|    725|		MARK_AND_UNSNAP_NODE(fpn__n__);		\
  |  |  ------------------
  |  |  |  |  787|    725|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|    725|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|    725|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|    725|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|    725|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|    725|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|    725|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|  1.45k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 725]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|    725|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|    725|}
  |  |  |  |  ------------------
  |  |  |  |  790|    725|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|    725|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|    725|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|    725|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|    725|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|    725|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|    725|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|    725|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|    725|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|    725|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|    725|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|    725|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|    725|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 725]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|    725|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 725]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  819|    725|		PROCESS_ONE_NODE(fpn__n__);		\
  |  |  ------------------
  |  |  |  |  803|    725|#define PROCESS_ONE_NODE(s) do {				\
  |  |  |  |  804|    725|	SEXP pn__n__ = (s);					\
  |  |  |  |  805|    725|	int __cls__ = NODE_CLASS(pn__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  545|    725|#define NODE_CLASS(s) ((s)->sxpinfo.gccls)
  |  |  |  |  ------------------
  |  |  |  |  806|    725|	int __gen__ = NODE_GENERATION(pn__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|    725|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |  807|    725|	SNAP_NODE(pn__n__, R_GenHeap[__cls__].Old[__gen__]);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  657|    725|#define SNAP_NODE(s,t) do { \
  |  |  |  |  |  |  658|    725|  SEXP sn__n__ = (s); \
  |  |  |  |  |  |  659|    725|  SEXP next = (t); \
  |  |  |  |  |  |  660|    725|  SEXP prev = PREV_NODE(next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  661|    725|  SET_NEXT_NODE(sn__n__, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|    725|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  662|    725|  SET_PREV_NODE(next, sn__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|    725|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  663|    725|  SET_NEXT_NODE(prev, sn__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|    725|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|    725|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  664|    725|  SET_PREV_NODE(sn__n__, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|    725|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|    725|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  665|    725|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (665:10): [Folded, False: 725]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  808|    725|	R_GenHeap[__cls__].OldCount[__gen__]++;			\
  |  |  |  |  809|    725|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (809:14): [Folded, False: 725]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  820|    725|	    }						\
  |  |  821|    725|	    else FORWARD_NODE(fpn__n__);		\
  |  |  ------------------
  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  800|      0|  } \
  |  |  |  |  801|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  822|    725|	}						\
  |  |  823|    725|    } while (0)
  |  |  ------------------
  |  |  |  Branch (823:14): [Folded, False: 725]
  |  |  ------------------
  ------------------
 1945|    725|    PROCESS_NODES(); /* probably nothing to process, but just in case ... */
  ------------------
  |  | 1711|    725|#define PROCESS_NODES() do { \
  |  | 1712|    725|    while (forwarded_nodes != NULL) { \
  |  |  ------------------
  |  |  |  Branch (1712:12): [True: 0, False: 725]
  |  |  ------------------
  |  | 1713|      0|	SEXP s = forwarded_nodes; \
  |  | 1714|      0|	forwarded_nodes = NEXT_NODE(forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  ------------------
  |  | 1715|      0|	PROCESS_ONE_NODE(s); \
  |  |  ------------------
  |  |  |  |  803|      0|#define PROCESS_ONE_NODE(s) do {				\
  |  |  |  |  804|      0|	SEXP pn__n__ = (s);					\
  |  |  |  |  805|      0|	int __cls__ = NODE_CLASS(pn__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  545|      0|#define NODE_CLASS(s) ((s)->sxpinfo.gccls)
  |  |  |  |  ------------------
  |  |  |  |  806|      0|	int __gen__ = NODE_GENERATION(pn__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |  807|      0|	SNAP_NODE(pn__n__, R_GenHeap[__cls__].Old[__gen__]);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  657|      0|#define SNAP_NODE(s,t) do { \
  |  |  |  |  |  |  658|      0|  SEXP sn__n__ = (s); \
  |  |  |  |  |  |  659|      0|  SEXP next = (t); \
  |  |  |  |  |  |  660|      0|  SEXP prev = PREV_NODE(next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  661|      0|  SET_NEXT_NODE(sn__n__, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  662|      0|  SET_PREV_NODE(next, sn__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  663|      0|  SET_NEXT_NODE(prev, sn__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  664|      0|  SET_PREV_NODE(sn__n__, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  665|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (665:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  808|      0|	R_GenHeap[__cls__].OldCount[__gen__]++;			\
  |  |  |  |  809|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (809:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1716|      0|	FORWARD_CHILDREN(s); \
  |  |  ------------------
  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  ------------------
  |  |  |  |  |  |  710|      0|#define DO_CHILDREN4(__n__,dc__action__,dc__str__action__,dc__extra__) do { \
  |  |  |  |  |  |  711|      0|  if (HAS_GENUINE_ATTRIB(__n__)) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  696|      0|    (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  230|      0|#define ATTRIB(x)	((x)->attrib)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (696:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (696:30): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  697|      0|     (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (697:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (697:31): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  712|      0|    dc__action__(ATTRIB(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  713|      0|  if (ALTREP(__n__)) {					\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  242|      0|#define ALTREP(x)       ((x)->sxpinfo.alt)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (242:25): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  714|      0|	  dc__action__(TAG(__n__), dc__extra__);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  715|      0|	  dc__action__(CAR(__n__), dc__extra__);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  716|      0|	  dc__action__(CDR(__n__), dc__extra__);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  717|      0|      }							\
  |  |  |  |  |  |  718|      0|  else \
  |  |  |  |  |  |  719|      0|  switch (TYPEOF(__n__)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  720|      0|  case NILSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (720:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  721|      0|  case BUILTINSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  119|      0|#define BUILTINSXP   8	  /* builtin non-special forms */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (721:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  722|      0|  case SPECIALSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  118|      0|#define SPECIALSXP   7	  /* special forms */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (722:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  723|      0|  case CHARSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (723:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  724|      0|  case LGLSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (724:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  725|      0|  case INTSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (725:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  726|      0|  case REALSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (726:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  727|      0|  case CPLXSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (727:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  728|      0|  case WEAKREFSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  135|      0|#define WEAKREFSXP  23    /* weak reference */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (728:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  729|      0|  case RAWSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (729:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  730|      0|  case OBJSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|      0|#define OBJSXP      25    /* object, non-vector  */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (730:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  731|      0|    break; \
  |  |  |  |  |  |  732|      0|  case STRSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (732:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  733|      0|    { \
  |  |  |  |  |  |  734|      0|      R_xlen_t i; \
  |  |  |  |  |  |  735|      0|      for (i = 0; i < XLENGTH(__n__); i++) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  407|      0|#define XLENGTH(x) XLENGTH_EX(x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (735:19): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  736|      0|	dc__str__action__(VECTOR_ELT_0(__n__, i), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  826|      0|#define FC_PROCESS_CHARSXP(__n__,__dummy__) PROCESS_CHARSXP(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  825|      0|#define PROCESS_CHARSXP(__n__) FORWARD_AND_PROCESS_ONE_NODE(__n__, CHARSXP)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  812|      0|#define FORWARD_AND_PROCESS_ONE_NODE(s, tp) do {	\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  813|      0|	SEXP fpn__n__ = (s);				\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  814|      0|	int __tp__ = (tp);				\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  815|      0|	if (fpn__n__ && ! NODE_IS_MARKED(fpn__n__)) {	\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (815:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (815:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  816|      0|	    if (TYPEOF(fpn__n__) == __tp__ &&		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (816:10): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  817|      0|		! HAS_GENUINE_ATTRIB(fpn__n__)) {	\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  696|      0|    (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  230|      0|#define ATTRIB(x)	((x)->attrib)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (696:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (696:30): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  697|      0|     (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (697:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (697:31): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  818|      0|		MARK_AND_UNSNAP_NODE(fpn__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  819|      0|		PROCESS_ONE_NODE(fpn__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  803|      0|#define PROCESS_ONE_NODE(s) do {				\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  804|      0|	SEXP pn__n__ = (s);					\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  805|      0|	int __cls__ = NODE_CLASS(pn__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  545|      0|#define NODE_CLASS(s) ((s)->sxpinfo.gccls)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  806|      0|	int __gen__ = NODE_GENERATION(pn__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  807|      0|	SNAP_NODE(pn__n__, R_GenHeap[__cls__].Old[__gen__]);	\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  657|      0|#define SNAP_NODE(s,t) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  658|      0|  SEXP sn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  659|      0|  SEXP next = (t); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  660|      0|  SEXP prev = PREV_NODE(next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  661|      0|  SET_NEXT_NODE(sn__n__, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  662|      0|  SET_PREV_NODE(next, sn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  663|      0|  SET_NEXT_NODE(prev, sn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  664|      0|  SET_PREV_NODE(sn__n__, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  665|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (665:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  808|      0|	R_GenHeap[__cls__].OldCount[__gen__]++;			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  809|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (809:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  820|      0|	    }						\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  821|      0|	    else FORWARD_NODE(fpn__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  822|      0|	}						\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  823|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (823:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  737|      0|    } \
  |  |  |  |  |  |  738|      0|    break; \
  |  |  |  |  |  |  739|      0|  case EXPRSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (739:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  740|      0|  case VECSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (740:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  741|      0|    { \
  |  |  |  |  |  |  742|      0|      R_xlen_t i; \
  |  |  |  |  |  |  743|      0|      for (i = 0; i < XLENGTH(__n__); i++) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  407|      0|#define XLENGTH(x) XLENGTH_EX(x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (743:19): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  744|      0|	dc__action__(VECTOR_ELT_0(__n__, i), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  745|      0|    } \
  |  |  |  |  |  |  746|      0|    break; \
  |  |  |  |  |  |  747|      0|  case ENVSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (747:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  748|      0|    dc__action__(FRAME(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  749|      0|    dc__action__(ENCLOS(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  750|      0|    dc__action__(HASHTAB(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  751|      0|    break; \
  |  |  |  |  |  |  752|      0|  case LISTSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  113|      0|#define LISTSXP	     2	  /* lists of dotted pairs */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (752:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  753|      0|  case PROMSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  116|      0|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (753:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  754|      0|    dc__action__(TAG(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  755|      0|    if (BOXED_BINDING_CELLS || BNDCELL_TAG(__n__) == 0) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|# define BOXED_BINDING_CELLS 0
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (37:30): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (BOXED_BINDING_CELLS || BNDCELL_TAG(__n__) == 0) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  463|      0|#define BNDCELL_TAG(e)	((e)->sxpinfo.extra)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (755:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  756|      0|      dc__action__(CAR0(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  757|      0|    dc__action__(CDR(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  758|      0|    break; \
  |  |  |  |  |  |  759|      0|  case CLOSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  114|      0|#define CLOSXP	     3	  /* closures */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (759:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      0|  case LANGSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|      0|#define LANGSXP	     6	  /* language constructs (special lists) */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  761|      0|  case DOTSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  127|      0|#define DOTSXP	    17	  /* dot-dot-dot object */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (761:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  762|      0|  case SYMSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|#define SYMSXP	     1	  /* symbols */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (762:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  763|      0|  case BCODESXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  133|      0|#define BCODESXP    21    /* byte code */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (763:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  764|      0|    dc__action__(TAG(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  765|      0|    dc__action__(CAR0(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  766|      0|    dc__action__(CDR(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  767|      0|    break; \
  |  |  |  |  |  |  768|      0|  case EXTPTRSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  134|      0|#define EXTPTRSXP   22    /* external pointer */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (768:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  769|      0|    dc__action__(EXTPTR_PROT(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  770|      0|    dc__action__(EXTPTR_TAG(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  771|      0|    break; \
  |  |  |  |  |  |  772|      0|  FREE_FORWARD_CASE \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  705|      0|#define FREE_FORWARD_CASE case FREESXP: if (gc_inhibit_release) break;
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (705:27): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (705:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  773|      0|  default: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (773:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  774|      0|    register_bad_sexp_type(__n__, __LINE__);		\
  |  |  |  |  |  |  775|      0|  } \
  |  |  |  |  |  |  776|      0|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (776:9): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1717|      0|    } \
  |  | 1718|    725|} while (0)
  |  |  ------------------
  |  |  |  Branch (1718:10): [Folded, False: 725]
  |  |  ------------------
  ------------------
 1946|       |
 1947|    725|#ifdef PROTECTCHECK
 1948|  5.07k|    for(i=0; i< NUM_SMALL_NODE_CLASSES;i++){
  ------------------
  |  |  540|  5.07k|#define NUM_SMALL_NODE_CLASSES (NUM_NODE_CLASSES - 2)
  |  |  ------------------
  |  |  |  |  531|  5.07k|#define NUM_NODE_CLASSES 8
  |  |  ------------------
  ------------------
  |  Branch (1948:14): [True: 4.35k, False: 725]
  ------------------
 1949|  4.35k|	s = NEXT_NODE(R_GenHeap[i].New);
  ------------------
  |  |  639|  4.35k|#define NEXT_NODE(s) (s)->gengc_next_node
  ------------------
 1950|   283M|	while (s != R_GenHeap[i].New) {
  ------------------
  |  Branch (1950:9): [True: 283M, False: 4.35k]
  ------------------
 1951|   283M|	    SEXP next = NEXT_NODE(s);
  ------------------
  |  |  639|   283M|#define NEXT_NODE(s) (s)->gengc_next_node
  ------------------
 1952|   283M|	    if (TYPEOF(s) != NEWSXP) {
  ------------------
  |  |  233|   283M|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
              	    if (TYPEOF(s) != NEWSXP) {
  ------------------
  |  |  141|   283M|#define NEWSXP      30    /* fresh node created in new page */
  ------------------
  |  Branch (1952:10): [True: 283M, False: 99.1k]
  ------------------
 1953|   283M|		if (TYPEOF(s) != FREESXP) {
  ------------------
  |  |  233|   283M|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
              		if (TYPEOF(s) != FREESXP) {
  ------------------
  |  |  142|   283M|#define FREESXP     31    /* node released by GC */
  ------------------
  |  Branch (1953:7): [True: 279M, False: 4.19M]
  ------------------
 1954|   279M|		    SETOLDTYPE(s, TYPEOF(s));
  ------------------
  |  |  155|   279M|#define SETOLDTYPE(s, t) SETLEVELS(s, t)
  |  |  ------------------
  |  |  |  |  241|   279M|#define SETLEVELS(x,v)	(((x)->sxpinfo.gp)=((unsigned short)v))
  |  |  ------------------
  ------------------
 1955|   279M|		    SET_TYPEOF(s, FREESXP);
  ------------------
  |  |  238|   279M|#define SET_TYPEOF(x,v)	(((x)->sxpinfo.type)=(v))
  ------------------
 1956|   279M|		    fill_freed_node(s, i);
 1957|   279M|		}
 1958|   283M|		if (gc_inhibit_release)
  ------------------
  |  Branch (1958:7): [True: 0, False: 283M]
  ------------------
 1959|      0|		    FORWARD_NODE(s);
  ------------------
  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  ------------------
  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|      0|}
  |  |  |  |  ------------------
  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  800|      0|  } \
  |  |  801|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1960|   283M|	    }
 1961|   283M|	    s = next;
 1962|   283M|	}
 1963|  4.35k|    }
 1964|  2.17k|    for (i = CUSTOM_NODE_CLASS; i <= LARGE_NODE_CLASS; i++) {
  ------------------
  |  |  539|    725|#define CUSTOM_NODE_CLASS (NUM_NODE_CLASSES - 2)
  |  |  ------------------
  |  |  |  |  531|    725|#define NUM_NODE_CLASSES 8
  |  |  ------------------
  ------------------
                  for (i = CUSTOM_NODE_CLASS; i <= LARGE_NODE_CLASS; i++) {
  ------------------
  |  |  538|  2.17k|#define LARGE_NODE_CLASS  (NUM_NODE_CLASSES - 1)
  |  |  ------------------
  |  |  |  |  531|  2.17k|#define NUM_NODE_CLASSES 8
  |  |  ------------------
  ------------------
  |  Branch (1964:33): [True: 1.45k, False: 725]
  ------------------
 1965|  1.45k|	s = NEXT_NODE(R_GenHeap[i].New);
  ------------------
  |  |  639|  1.45k|#define NEXT_NODE(s) (s)->gengc_next_node
  ------------------
 1966|  42.3k|	while (s != R_GenHeap[i].New) {
  ------------------
  |  Branch (1966:9): [True: 40.8k, False: 1.45k]
  ------------------
 1967|  40.8k|	    SEXP next = NEXT_NODE(s);
  ------------------
  |  |  639|  40.8k|#define NEXT_NODE(s) (s)->gengc_next_node
  ------------------
 1968|  40.8k|	    if (TYPEOF(s) != NEWSXP) {
  ------------------
  |  |  233|  40.8k|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
              	    if (TYPEOF(s) != NEWSXP) {
  ------------------
  |  |  141|  40.8k|#define NEWSXP      30    /* fresh node created in new page */
  ------------------
  |  Branch (1968:10): [True: 40.8k, False: 0]
  ------------------
 1969|  40.8k|		if (TYPEOF(s) != FREESXP) {
  ------------------
  |  |  233|  40.8k|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
              		if (TYPEOF(s) != FREESXP) {
  ------------------
  |  |  142|  40.8k|#define FREESXP     31    /* node released by GC */
  ------------------
  |  Branch (1969:7): [True: 40.8k, False: 0]
  ------------------
 1970|       |		    /**** could also leave this alone and restore the old
 1971|       |			  node type in ReleaseLargeFreeVectors before
 1972|       |			  calculating size */
 1973|  40.8k|		    if (1 /* CHAR(s) != NULL*/) {
  ------------------
  |  Branch (1973:11): [True: 40.8k, Folded]
  ------------------
 1974|       |			/* see comment in ReleaseLargeFreeVectors */
 1975|  40.8k|			R_size_t size = getVecSizeInVEC(s);
 1976|  40.8k|			SET_STDVEC_LENGTH(s, size);
  ------------------
  |  |  410|  40.8k|#define SET_STDVEC_LENGTH(x,v) do {		\
  |  |  411|  40.8k|	SEXP __x__ = (x);			\
  |  |  412|  40.8k|	R_xlen_t __v__ = (v);			\
  |  |  413|  40.8k|	STDVEC_LENGTH(__x__) = __v__;		\
  |  |  ------------------
  |  |  |  |  392|  40.8k|#define STDVEC_LENGTH(x) (((VECSEXP) (x))->vecsxp.length)
  |  |  ------------------
  |  |  414|  40.8k|	SETSCALAR(__x__, __v__ == 1 ? 1 : 0);	\
  |  |  ------------------
  |  |  |  |  244|  81.7k|#define SETSCALAR(x, v) (((x)->sxpinfo.scalar) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (244:51): [True: 0, False: 40.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  415|  40.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (415:14): [Folded, False: 40.8k]
  |  |  ------------------
  ------------------
 1977|  40.8k|		    }
 1978|  40.8k|		    SETOLDTYPE(s, TYPEOF(s));
  ------------------
  |  |  155|  40.8k|#define SETOLDTYPE(s, t) SETLEVELS(s, t)
  |  |  ------------------
  |  |  |  |  241|  40.8k|#define SETLEVELS(x,v)	(((x)->sxpinfo.gp)=((unsigned short)v))
  |  |  ------------------
  ------------------
 1979|  40.8k|		    SET_TYPEOF(s, FREESXP);
  ------------------
  |  |  238|  40.8k|#define SET_TYPEOF(x,v)	(((x)->sxpinfo.type)=(v))
  ------------------
 1980|  40.8k|		}
 1981|  40.8k|		if (gc_inhibit_release)
  ------------------
  |  Branch (1981:7): [True: 0, False: 40.8k]
  ------------------
 1982|      0|		    FORWARD_NODE(s);
  ------------------
  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  ------------------
  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  ------------------
  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  ------------------
  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  ------------------
  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  838|      0|}
  |  |  |  |  ------------------
  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  800|      0|  } \
  |  |  801|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1983|  40.8k|	    }
 1984|  40.8k|	    s = next;
 1985|  40.8k|	}
 1986|  1.45k|    }
 1987|    725|    if (gc_inhibit_release)
  ------------------
  |  Branch (1987:9): [True: 0, False: 725]
  ------------------
 1988|      0|	PROCESS_NODES();
  ------------------
  |  | 1711|      0|#define PROCESS_NODES() do { \
  |  | 1712|      0|    while (forwarded_nodes != NULL) { \
  |  |  ------------------
  |  |  |  Branch (1712:12): [True: 0, False: 0]
  |  |  ------------------
  |  | 1713|      0|	SEXP s = forwarded_nodes; \
  |  | 1714|      0|	forwarded_nodes = NEXT_NODE(forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  ------------------
  |  | 1715|      0|	PROCESS_ONE_NODE(s); \
  |  |  ------------------
  |  |  |  |  803|      0|#define PROCESS_ONE_NODE(s) do {				\
  |  |  |  |  804|      0|	SEXP pn__n__ = (s);					\
  |  |  |  |  805|      0|	int __cls__ = NODE_CLASS(pn__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  545|      0|#define NODE_CLASS(s) ((s)->sxpinfo.gccls)
  |  |  |  |  ------------------
  |  |  |  |  806|      0|	int __gen__ = NODE_GENERATION(pn__n__);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |  807|      0|	SNAP_NODE(pn__n__, R_GenHeap[__cls__].Old[__gen__]);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  657|      0|#define SNAP_NODE(s,t) do { \
  |  |  |  |  |  |  658|      0|  SEXP sn__n__ = (s); \
  |  |  |  |  |  |  659|      0|  SEXP next = (t); \
  |  |  |  |  |  |  660|      0|  SEXP prev = PREV_NODE(next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  661|      0|  SET_NEXT_NODE(sn__n__, next); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  662|      0|  SET_PREV_NODE(next, sn__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  663|      0|  SET_NEXT_NODE(prev, sn__n__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  664|      0|  SET_PREV_NODE(sn__n__, prev); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  665|      0|} while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (665:10): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  808|      0|	R_GenHeap[__cls__].OldCount[__gen__]++;			\
  |  |  |  |  809|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (809:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1716|      0|	FORWARD_CHILDREN(s); \
  |  |  ------------------
  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  ------------------
  |  |  |  |  |  |  710|      0|#define DO_CHILDREN4(__n__,dc__action__,dc__str__action__,dc__extra__) do { \
  |  |  |  |  |  |  711|      0|  if (HAS_GENUINE_ATTRIB(__n__)) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  696|      0|    (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                   (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  230|      0|#define ATTRIB(x)	((x)->attrib)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (696:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (696:30): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  697|      0|     (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (697:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (697:31): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  712|      0|    dc__action__(ATTRIB(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  713|      0|  if (ALTREP(__n__)) {					\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  242|      0|#define ALTREP(x)       ((x)->sxpinfo.alt)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (242:25): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  714|      0|	  dc__action__(TAG(__n__), dc__extra__);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  715|      0|	  dc__action__(CAR(__n__), dc__extra__);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  716|      0|	  dc__action__(CDR(__n__), dc__extra__);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  717|      0|      }							\
  |  |  |  |  |  |  718|      0|  else \
  |  |  |  |  |  |  719|      0|  switch (TYPEOF(__n__)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  720|      0|  case NILSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (720:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  721|      0|  case BUILTINSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  119|      0|#define BUILTINSXP   8	  /* builtin non-special forms */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (721:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  722|      0|  case SPECIALSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  118|      0|#define SPECIALSXP   7	  /* special forms */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (722:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  723|      0|  case CHARSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (723:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  724|      0|  case LGLSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (724:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  725|      0|  case INTSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (725:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  726|      0|  case REALSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (726:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  727|      0|  case CPLXSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (727:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  728|      0|  case WEAKREFSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  135|      0|#define WEAKREFSXP  23    /* weak reference */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (728:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  729|      0|  case RAWSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (729:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  730|      0|  case OBJSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|      0|#define OBJSXP      25    /* object, non-vector  */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (730:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  731|      0|    break; \
  |  |  |  |  |  |  732|      0|  case STRSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (732:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  733|      0|    { \
  |  |  |  |  |  |  734|      0|      R_xlen_t i; \
  |  |  |  |  |  |  735|      0|      for (i = 0; i < XLENGTH(__n__); i++) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  407|      0|#define XLENGTH(x) XLENGTH_EX(x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (735:19): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  736|      0|	dc__str__action__(VECTOR_ELT_0(__n__, i), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  826|      0|#define FC_PROCESS_CHARSXP(__n__,__dummy__) PROCESS_CHARSXP(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  825|      0|#define PROCESS_CHARSXP(__n__) FORWARD_AND_PROCESS_ONE_NODE(__n__, CHARSXP)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  812|      0|#define FORWARD_AND_PROCESS_ONE_NODE(s, tp) do {	\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  813|      0|	SEXP fpn__n__ = (s);				\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  814|      0|	int __tp__ = (tp);				\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  815|      0|	if (fpn__n__ && ! NODE_IS_MARKED(fpn__n__)) {	\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (815:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (815:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  816|      0|	    if (TYPEOF(fpn__n__) == __tp__ &&		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (816:10): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  817|      0|		! HAS_GENUINE_ATTRIB(fpn__n__)) {	\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  696|      0|    (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  230|      0|#define ATTRIB(x)	((x)->attrib)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (696:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (696:30): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  697|      0|     (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (697:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (697:31): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  818|      0|		MARK_AND_UNSNAP_NODE(fpn__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  819|      0|		PROCESS_ONE_NODE(fpn__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  803|      0|#define PROCESS_ONE_NODE(s) do {				\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  804|      0|	SEXP pn__n__ = (s);					\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  805|      0|	int __cls__ = NODE_CLASS(pn__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  545|      0|#define NODE_CLASS(s) ((s)->sxpinfo.gccls)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  806|      0|	int __gen__ = NODE_GENERATION(pn__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  807|      0|	SNAP_NODE(pn__n__, R_GenHeap[__cls__].Old[__gen__]);	\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  657|      0|#define SNAP_NODE(s,t) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  658|      0|  SEXP sn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  659|      0|  SEXP next = (t); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  660|      0|  SEXP prev = PREV_NODE(next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  661|      0|  SET_NEXT_NODE(sn__n__, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  662|      0|  SET_PREV_NODE(next, sn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  663|      0|  SET_NEXT_NODE(prev, sn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  664|      0|  SET_PREV_NODE(sn__n__, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  665|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (665:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  808|      0|	R_GenHeap[__cls__].OldCount[__gen__]++;			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  809|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (809:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  820|      0|	    }						\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  821|      0|	    else FORWARD_NODE(fpn__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  822|      0|	}						\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  823|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (823:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  737|      0|    } \
  |  |  |  |  |  |  738|      0|    break; \
  |  |  |  |  |  |  739|      0|  case EXPRSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (739:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  740|      0|  case VECSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (740:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  741|      0|    { \
  |  |  |  |  |  |  742|      0|      R_xlen_t i; \
  |  |  |  |  |  |  743|      0|      for (i = 0; i < XLENGTH(__n__); i++) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  407|      0|#define XLENGTH(x) XLENGTH_EX(x)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (743:19): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  744|      0|	dc__action__(VECTOR_ELT_0(__n__, i), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  745|      0|    } \
  |  |  |  |  |  |  746|      0|    break; \
  |  |  |  |  |  |  747|      0|  case ENVSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (747:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  748|      0|    dc__action__(FRAME(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  749|      0|    dc__action__(ENCLOS(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  750|      0|    dc__action__(HASHTAB(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  751|      0|    break; \
  |  |  |  |  |  |  752|      0|  case LISTSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  113|      0|#define LISTSXP	     2	  /* lists of dotted pairs */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (752:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  753|      0|  case PROMSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  116|      0|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (753:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  754|      0|    dc__action__(TAG(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  755|      0|    if (BOXED_BINDING_CELLS || BNDCELL_TAG(__n__) == 0) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      0|# define BOXED_BINDING_CELLS 0
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (37:30): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   if (BOXED_BINDING_CELLS || BNDCELL_TAG(__n__) == 0) \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  463|      0|#define BNDCELL_TAG(e)	((e)->sxpinfo.extra)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (755:32): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  756|      0|      dc__action__(CAR0(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  757|      0|    dc__action__(CDR(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  758|      0|    break; \
  |  |  |  |  |  |  759|      0|  case CLOSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  114|      0|#define CLOSXP	     3	  /* closures */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (759:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  760|      0|  case LANGSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|      0|#define LANGSXP	     6	  /* language constructs (special lists) */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  761|      0|  case DOTSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  127|      0|#define DOTSXP	    17	  /* dot-dot-dot object */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (761:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  762|      0|  case SYMSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|      0|#define SYMSXP	     1	  /* symbols */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (762:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  763|      0|  case BCODESXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  133|      0|#define BCODESXP    21    /* byte code */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (763:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  764|      0|    dc__action__(TAG(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  765|      0|    dc__action__(CAR0(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  766|      0|    dc__action__(CDR(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  767|      0|    break; \
  |  |  |  |  |  |  768|      0|  case EXTPTRSXP: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  134|      0|#define EXTPTRSXP   22    /* external pointer */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (768:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  769|      0|    dc__action__(EXTPTR_PROT(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  770|      0|    dc__action__(EXTPTR_TAG(__n__), dc__extra__); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  829|      0|    DO_CHILDREN4(__n__, FC_FORWARD_NODE, FC_PROCESS_CHARSXP, 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  827|      0|#define FC_FORWARD_NODE(__n__,__dummy__) FORWARD_NODE(__n__)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  794|      0|#define FORWARD_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  795|      0|  SEXP fn__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  796|      0|  if (fn__n__ && ! NODE_IS_MARKED(fn__n__)) { \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (796:18): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  797|      0|    MARK_AND_UNSNAP_NODE(fn__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  787|      0|#define MARK_AND_UNSNAP_NODE(s) do {		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  788|      0|	SEXP mu__n__ = (s);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  789|      0|	CHECK_FOR_FREE_NODE(mu__n__);		\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  834|      0|#define CHECK_FOR_FREE_NODE(s) { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  835|      0|    SEXP cf__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  836|      0|    if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |                   if (TYPEOF(cf__n__) == FREESXP && ! gc_inhibit_release) \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (836:39): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  837|      0|	register_bad_sexp_type(cf__n__, __LINE__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  838|      0|}
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  790|      0|	MARK_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  791|      0|	UNSNAP_NODE(mu__n__);			\
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  792|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (792:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  798|      0|    SET_NEXT_NODE(fn__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  799|      0|    forwarded_nodes = fn__n__; \
  |  |  |  |  |  |  |  |  |  |  |  |  800|      0|  } \
  |  |  |  |  |  |  |  |  |  |  |  |  801|      0|} while (0)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  Branch (801:10): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  771|      0|    break; \
  |  |  |  |  |  |  772|      0|  FREE_FORWARD_CASE \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  705|      0|#define FREE_FORWARD_CASE case FREESXP: if (gc_inhibit_release) break;
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (705:27): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (705:45): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  773|      0|  default: \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (773:3): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  774|      0|    register_bad_sexp_type(__n__, __LINE__);		\
  |  |  |  |  |  |  775|      0|  } \
  |  |  |  |  |  |  776|      0|} while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (776:9): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1717|      0|    } \
  |  | 1718|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (1718:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1989|    725|#endif
 1990|       |
 1991|       |    /* release large vector allocations */
 1992|    725|    ReleaseLargeFreeVectors();
 1993|       |
 1994|    725|    DEBUG_CHECK_NODE_COUNTS("after releasing large allocated nodes");
 1995|       |
 1996|       |    /* tell Valgrind about free nodes */
 1997|       |#if VALGRIND_LEVEL > 1
 1998|       |    for(i = 1; i< NUM_NODE_CLASSES; i++) {
 1999|       |	for(s = NEXT_NODE(R_GenHeap[i].New);
 2000|       |	    s != R_GenHeap[i].Free;
 2001|       |	    s = NEXT_NODE(s)) {
 2002|       |	    VALGRIND_MAKE_MEM_NOACCESS(STDVEC_DATAPTR(s),
 2003|       |				       NodeClassSize[i]*sizeof(VECREC));
 2004|       |	}
 2005|       |    }
 2006|       |#endif
 2007|       |
 2008|       |    /* reset Free pointers */
 2009|  6.52k|    for (i = 0; i < NUM_NODE_CLASSES; i++)
  ------------------
  |  |  531|  6.52k|#define NUM_NODE_CLASSES 8
  ------------------
  |  Branch (2009:17): [True: 5.80k, False: 725]
  ------------------
 2010|  5.80k|	R_GenHeap[i].Free = NEXT_NODE(R_GenHeap[i].New);
  ------------------
  |  |  639|  6.52k|#define NEXT_NODE(s) (s)->gengc_next_node
  ------------------
 2011|       |
 2012|       |
 2013|       |    /* update heap statistics */
 2014|    725|    R_Collected = R_NSize;
 2015|    725|    R_SmallVallocSize = 0;
 2016|  2.17k|    for (gen = 0; gen < NUM_OLD_GENERATIONS; gen++) {
  ------------------
  |  |  551|  2.17k|#define NUM_OLD_GENERATIONS 2
  ------------------
  |  Branch (2016:19): [True: 1.45k, False: 725]
  ------------------
 2017|  8.70k|	for (i = 1; i < NUM_SMALL_NODE_CLASSES; i++)
  ------------------
  |  |  540|  8.70k|#define NUM_SMALL_NODE_CLASSES (NUM_NODE_CLASSES - 2)
  |  |  ------------------
  |  |  |  |  531|  8.70k|#define NUM_NODE_CLASSES 8
  |  |  ------------------
  ------------------
  |  Branch (2017:14): [True: 7.25k, False: 1.45k]
  ------------------
 2018|  7.25k|	    R_SmallVallocSize += R_GenHeap[i].OldCount[gen] * NodeClassSize[i];
 2019|  13.0k|	for (i = 0; i < NUM_NODE_CLASSES; i++)
  ------------------
  |  |  531|  13.0k|#define NUM_NODE_CLASSES 8
  ------------------
  |  Branch (2019:14): [True: 11.6k, False: 1.45k]
  ------------------
 2020|  11.6k|	    R_Collected -= R_GenHeap[i].OldCount[gen];
 2021|  1.45k|    }
 2022|    725|    R_NodesInUse = R_NSize - R_Collected;
 2023|       |
 2024|    725|    if (num_old_gens_to_collect < NUM_OLD_GENERATIONS) {
  ------------------
  |  |  551|    725|#define NUM_OLD_GENERATIONS 2
  ------------------
  |  Branch (2024:9): [True: 0, False: 725]
  ------------------
 2025|      0|	if (R_Collected < R_MinFreeFrac * R_NSize ||
  ------------------
  |  Branch (2025:6): [True: 0, False: 0]
  ------------------
 2026|      0|	    VHEAP_FREE() < size_needed + R_MinFreeFrac * R_VSize) {
  ------------------
  |  |  596|      0|#define VHEAP_FREE() (R_VSize - R_LargeVallocSize - R_SmallVallocSize)
  ------------------
  |  Branch (2026:6): [True: 0, False: 0]
  ------------------
 2027|      0|	    num_old_gens_to_collect++;
 2028|      0|	    if (R_Collected <= 0 || VHEAP_FREE() < size_needed)
  ------------------
  |  |  596|      0|#define VHEAP_FREE() (R_VSize - R_LargeVallocSize - R_SmallVallocSize)
  ------------------
  |  Branch (2028:10): [True: 0, False: 0]
  |  Branch (2028:30): [True: 0, False: 0]
  ------------------
 2029|      0|		goto again;
 2030|      0|	}
 2031|      0|	else num_old_gens_to_collect = 0;
 2032|      0|    }
 2033|    725|    else num_old_gens_to_collect = 0;
 2034|       |
 2035|    725|    gen_gc_counts[gens_collected]++;
 2036|       |
 2037|    725|    if (gens_collected == NUM_OLD_GENERATIONS) {
  ------------------
  |  |  551|    725|#define NUM_OLD_GENERATIONS 2
  ------------------
  |  Branch (2037:9): [True: 725, False: 0]
  ------------------
 2038|       |	/**** do some adjustment for intermediate collections? */
 2039|    725|	AdjustHeapSize(size_needed);
 2040|    725|	TryToReleasePages();
 2041|    725|	DEBUG_CHECK_NODE_COUNTS("after heap adjustment");
 2042|    725|    }
 2043|      0|    else if (gens_collected > 0) {
  ------------------
  |  Branch (2043:14): [True: 0, False: 0]
  ------------------
 2044|      0|	TryToReleasePages();
 2045|      0|	DEBUG_CHECK_NODE_COUNTS("after heap adjustment");
 2046|      0|    }
 2047|    725|#ifdef SORT_NODES
 2048|    725|    if (gens_collected == NUM_OLD_GENERATIONS)
  ------------------
  |  |  551|    725|#define NUM_OLD_GENERATIONS 2
  ------------------
  |  Branch (2048:9): [True: 725, False: 0]
  ------------------
 2049|    725|	SortNodes();
 2050|    725|#endif
 2051|       |
 2052|    725|    return gens_collected;
 2053|    725|}
memory.c:AgeNodeAndChildren:
 1294|  18.7M|{
 1295|  18.7M|    SEXP forwarded_nodes = NULL;
 1296|  18.7M|    AGE_NODE(s, gen);
  ------------------
  |  | 1278|  18.7M|#define AGE_NODE(s,g) do { \
  |  | 1279|  18.7M|  SEXP an__n__ = (s); \
  |  | 1280|  18.7M|  int an__g__ = (g); \
  |  | 1281|  18.7M|  if (an__n__ && NODE_GEN_IS_YOUNGER(an__n__, an__g__)) { \
  |  |  ------------------
  |  |  |  |  563|  18.7M|  (! NODE_IS_MARKED(s) || NODE_GENERATION(s) < (g))
  |  |  |  |  ------------------
  |  |  |  |  |  |  268|  37.5M|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  232|  18.7M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                 (! NODE_IS_MARKED(s) || NODE_GENERATION(s) < (g))
  |  |  |  |  ------------------
  |  |  |  |  |  |  559|  18.7M|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (563:4): [True: 50.7k, False: 18.7M]
  |  |  |  |  |  Branch (563:27): [True: 215, False: 18.7M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1281:7): [True: 18.7M, False: 0]
  |  |  ------------------
  |  | 1282|  51.0k|    if (NODE_IS_MARKED(an__n__)) \
  |  |  ------------------
  |  |  |  |  268|  51.0k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|  51.0k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (268:27): [True: 215, False: 50.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1283|  51.0k|       R_GenHeap[NODE_CLASS(an__n__)].OldCount[NODE_GENERATION(an__n__)]--; \
  |  |  ------------------
  |  |  |  |  545|    215|#define NODE_CLASS(s) ((s)->sxpinfo.gccls)
  |  |  ------------------
  |  |                      R_GenHeap[NODE_CLASS(an__n__)].OldCount[NODE_GENERATION(an__n__)]--; \
  |  |  ------------------
  |  |  |  |  559|    215|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  ------------------
  |  | 1284|  51.0k|    else \
  |  | 1285|  51.0k|      MARK_NODE(an__n__); \
  |  |  ------------------
  |  |  |  |  269|  50.7k|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  232|  50.7k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1286|  51.0k|    SET_NODE_GENERATION(an__n__, an__g__); \
  |  |  ------------------
  |  |  |  |  560|  51.0k|#define SET_NODE_GENERATION(s,g) ((s)->sxpinfo.gcgen=(g))
  |  |  ------------------
  |  | 1287|  51.0k|    UNSNAP_NODE(an__n__); \
  |  |  ------------------
  |  |  |  |  648|  51.0k|#define UNSNAP_NODE(s) do { \
  |  |  |  |  649|  51.0k|  SEXP un__n__ = (s); \
  |  |  |  |  650|  51.0k|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|  51.0k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  |  |  651|  51.0k|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|  51.0k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  ------------------
  |  |  |  |  652|  51.0k|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  641|  51.0k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  639|  51.0k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  653|  51.0k|  SET_PREV_NODE(next, prev); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  642|  51.0k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  640|  51.0k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  654|  51.0k|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (654:9): [Folded, False: 51.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1288|  51.0k|    SET_NEXT_NODE(an__n__, forwarded_nodes); \
  |  |  ------------------
  |  |  |  |  641|  51.0k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|  51.0k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1289|  51.0k|    forwarded_nodes = an__n__; \
  |  | 1290|  51.0k|  } \
  |  | 1291|  18.7M|} while (0)
  |  |  ------------------
  |  |  |  Branch (1291:10): [Folded, False: 18.7M]
  |  |  ------------------
  ------------------
 1297|  18.8M|    while (forwarded_nodes != NULL) {
  ------------------
  |  Branch (1297:12): [True: 130k, False: 18.7M]
  ------------------
 1298|   130k|	s = forwarded_nodes;
 1299|   130k|	forwarded_nodes = NEXT_NODE(forwarded_nodes);
  ------------------
  |  |  639|   130k|#define NEXT_NODE(s) (s)->gengc_next_node
  ------------------
 1300|   130k|	if (NODE_GENERATION(s) != gen)
  ------------------
  |  |  559|   130k|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  ------------------
  |  Branch (1300:6): [True: 0, False: 130k]
  ------------------
 1301|      0|	    gc_error("****snapping into wrong generation\n");
 1302|   130k|	SNAP_NODE(s, R_GenHeap[NODE_CLASS(s)].Old[gen]);
  ------------------
  |  |  657|   130k|#define SNAP_NODE(s,t) do { \
  |  |  658|   130k|  SEXP sn__n__ = (s); \
  |  |  659|   130k|  SEXP next = (t); \
  |  |  660|   130k|  SEXP prev = PREV_NODE(next); \
  |  |  ------------------
  |  |  |  |  640|   130k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  ------------------
  |  |  661|   130k|  SET_NEXT_NODE(sn__n__, next); \
  |  |  ------------------
  |  |  |  |  641|   130k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|   130k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  662|   130k|  SET_PREV_NODE(next, sn__n__); \
  |  |  ------------------
  |  |  |  |  642|   130k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|   130k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  663|   130k|  SET_NEXT_NODE(prev, sn__n__); \
  |  |  ------------------
  |  |  |  |  641|   130k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|   130k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  664|   130k|  SET_PREV_NODE(sn__n__, prev); \
  |  |  ------------------
  |  |  |  |  642|   130k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|   130k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  665|   130k|} while (0)
  |  |  ------------------
  |  |  |  Branch (665:10): [Folded, False: 130k]
  |  |  ------------------
  ------------------
 1303|   130k|	R_GenHeap[NODE_CLASS(s)].OldCount[gen]++;
  ------------------
  |  |  545|   130k|#define NODE_CLASS(s) ((s)->sxpinfo.gccls)
  ------------------
 1304|   130k|	DO_CHILDREN(s, AGE_NODE, gen);
  ------------------
  |  |  779|   130k|    DO_CHILDREN4(__n__,dc__action__,dc__action__,dc__extra__)
  |  |  ------------------
  |  |  |  |  710|   130k|#define DO_CHILDREN4(__n__,dc__action__,dc__str__action__,dc__extra__) do { \
  |  |  |  |  711|   130k|  if (HAS_GENUINE_ATTRIB(__n__)) \
  |  |  |  |  ------------------
  |  |  |  |  |  |  696|   130k|    (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|   130k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|   261k|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (TYPEOF(x) != FREESXP && ATTRIB(x) != R_NilValue && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  230|   130k|#define ATTRIB(x)	((x)->attrib)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (696:6): [True: 130k, False: 0]
  |  |  |  |  |  |  |  Branch (696:30): [True: 10.5k, False: 120k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  697|   130k|     (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|  10.5k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  120|  21.0k|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  233|  6.67k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                    (TYPEOF(x) != CHARSXP || TYPEOF(ATTRIB(x)) != CHARSXP))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  120|  6.67k|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (697:7): [True: 3.82k, False: 6.67k]
  |  |  |  |  |  |  |  Branch (697:31): [True: 0, False: 6.67k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  712|   130k|    dc__action__(ATTRIB(__n__), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1304|  3.82k|	DO_CHILDREN(s, AGE_NODE, gen);
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1278|  3.82k|#define AGE_NODE(s,g) do { \
  |  |  |  |  |  |  |  | 1279|  3.82k|  SEXP an__n__ = (s); \
  |  |  |  |  |  |  |  | 1280|  3.82k|  int an__g__ = (g); \
  |  |  |  |  |  |  |  | 1281|  3.82k|  if (an__n__ && NODE_GEN_IS_YOUNGER(an__n__, an__g__)) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  563|  3.82k|  (! NODE_IS_MARKED(s) || NODE_GENERATION(s) < (g))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  268|  7.65k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|  3.82k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                 (! NODE_IS_MARKED(s) || NODE_GENERATION(s) < (g))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (563:4): [True: 3.82k, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (563:27): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1281:7): [True: 3.82k, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1282|  3.82k|    if (NODE_IS_MARKED(an__n__)) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  268|  3.82k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  232|  3.82k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (268:27): [True: 0, False: 3.82k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1283|  3.82k|       R_GenHeap[NODE_CLASS(an__n__)].OldCount[NODE_GENERATION(an__n__)]--; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  545|      0|#define NODE_CLASS(s) ((s)->sxpinfo.gccls)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                      R_GenHeap[NODE_CLASS(an__n__)].OldCount[NODE_GENERATION(an__n__)]--; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1284|  3.82k|    else \
  |  |  |  |  |  |  |  | 1285|  3.82k|      MARK_NODE(an__n__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  269|  3.82k|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  232|  3.82k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1286|  3.82k|    SET_NODE_GENERATION(an__n__, an__g__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  560|  3.82k|#define SET_NODE_GENERATION(s,g) ((s)->sxpinfo.gcgen=(g))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1287|  3.82k|    UNSNAP_NODE(an__n__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  648|  3.82k|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  649|  3.82k|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  650|  3.82k|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  639|  3.82k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  651|  3.82k|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  640|  3.82k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  652|  3.82k|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  641|  3.82k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  3.82k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  653|  3.82k|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  642|  3.82k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|  3.82k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  654|  3.82k|} while(0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 3.82k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1288|  3.82k|    SET_NEXT_NODE(an__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  641|  3.82k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  639|  3.82k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1289|  3.82k|    forwarded_nodes = an__n__; \
  |  |  |  |  |  |  |  | 1290|  3.82k|  } \
  |  |  |  |  |  |  |  | 1291|  3.82k|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1291:10): [Folded, False: 3.82k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  713|   130k|  if (ALTREP(__n__)) {					\
  |  |  |  |  ------------------
  |  |  |  |  |  |  242|   130k|#define ALTREP(x)       ((x)->sxpinfo.alt)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (242:25): [True: 4, False: 130k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  714|      4|	  dc__action__(TAG(__n__), dc__extra__);	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 1304|      4|	DO_CHILDREN(s, AGE_NODE, gen);
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1278|      4|#define AGE_NODE(s,g) do { \
  |  |  |  |  |  |  |  | 1279|      4|  SEXP an__n__ = (s); \
  |  |  |  |  |  |  |  | 1280|      4|  int an__g__ = (g); \
  |  |  |  |  |  |  |  | 1281|      4|  if (an__n__ && NODE_GEN_IS_YOUNGER(an__n__, an__g__)) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  563|      4|  (! NODE_IS_MARKED(s) || NODE_GENERATION(s) < (g))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  268|      8|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      4|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                 (! NODE_IS_MARKED(s) || NODE_GENERATION(s) < (g))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  559|      4|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (563:4): [True: 0, False: 4]
  |  |  |  |  |  |  |  |  |  |  |  Branch (563:27): [True: 0, False: 4]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1281:7): [True: 4, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1282|      0|    if (NODE_IS_MARKED(an__n__)) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (268:27): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1283|      0|       R_GenHeap[NODE_CLASS(an__n__)].OldCount[NODE_GENERATION(an__n__)]--; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  545|      0|#define NODE_CLASS(s) ((s)->sxpinfo.gccls)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                      R_GenHeap[NODE_CLASS(an__n__)].OldCount[NODE_GENERATION(an__n__)]--; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1284|      0|    else \
  |  |  |  |  |  |  |  | 1285|      0|      MARK_NODE(an__n__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1286|      0|    SET_NODE_GENERATION(an__n__, an__g__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  560|      0|#define SET_NODE_GENERATION(s,g) ((s)->sxpinfo.gcgen=(g))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1287|      0|    UNSNAP_NODE(an__n__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1288|      0|    SET_NEXT_NODE(an__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1289|      0|    forwarded_nodes = an__n__; \
  |  |  |  |  |  |  |  | 1290|      0|  } \
  |  |  |  |  |  |  |  | 1291|      4|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1291:10): [Folded, False: 4]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  715|      4|	  dc__action__(CAR(__n__), dc__extra__);	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 1304|      4|	DO_CHILDREN(s, AGE_NODE, gen);
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1278|      4|#define AGE_NODE(s,g) do { \
  |  |  |  |  |  |  |  | 1279|      4|  SEXP an__n__ = (s); \
  |  |  |  |  |  |  |  | 1280|      4|  int an__g__ = (g); \
  |  |  |  |  |  |  |  | 1281|      4|  if (an__n__ && NODE_GEN_IS_YOUNGER(an__n__, an__g__)) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  563|      4|  (! NODE_IS_MARKED(s) || NODE_GENERATION(s) < (g))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  268|      8|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      4|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                 (! NODE_IS_MARKED(s) || NODE_GENERATION(s) < (g))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (563:4): [True: 4, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (563:27): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1281:7): [True: 4, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1282|      4|    if (NODE_IS_MARKED(an__n__)) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  268|      4|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  232|      4|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (268:27): [True: 0, False: 4]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1283|      4|       R_GenHeap[NODE_CLASS(an__n__)].OldCount[NODE_GENERATION(an__n__)]--; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  545|      0|#define NODE_CLASS(s) ((s)->sxpinfo.gccls)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                      R_GenHeap[NODE_CLASS(an__n__)].OldCount[NODE_GENERATION(an__n__)]--; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1284|      4|    else \
  |  |  |  |  |  |  |  | 1285|      4|      MARK_NODE(an__n__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  269|      4|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  232|      4|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1286|      4|    SET_NODE_GENERATION(an__n__, an__g__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  560|      4|#define SET_NODE_GENERATION(s,g) ((s)->sxpinfo.gcgen=(g))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1287|      4|    UNSNAP_NODE(an__n__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  648|      4|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  649|      4|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  650|      4|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  639|      4|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  651|      4|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  640|      4|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  652|      4|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  641|      4|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      4|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  653|      4|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  642|      4|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      4|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  654|      4|} while(0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 4]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1288|      4|    SET_NEXT_NODE(an__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  641|      4|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  639|      4|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1289|      4|    forwarded_nodes = an__n__; \
  |  |  |  |  |  |  |  | 1290|      4|  } \
  |  |  |  |  |  |  |  | 1291|      4|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1291:10): [Folded, False: 4]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  716|      4|	  dc__action__(CDR(__n__), dc__extra__);	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 1304|      4|	DO_CHILDREN(s, AGE_NODE, gen);
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1278|      4|#define AGE_NODE(s,g) do { \
  |  |  |  |  |  |  |  | 1279|      4|  SEXP an__n__ = (s); \
  |  |  |  |  |  |  |  | 1280|      4|  int an__g__ = (g); \
  |  |  |  |  |  |  |  | 1281|      4|  if (an__n__ && NODE_GEN_IS_YOUNGER(an__n__, an__g__)) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  563|      4|  (! NODE_IS_MARKED(s) || NODE_GENERATION(s) < (g))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  268|      8|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|      4|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                 (! NODE_IS_MARKED(s) || NODE_GENERATION(s) < (g))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  559|      3|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (563:4): [True: 1, False: 3]
  |  |  |  |  |  |  |  |  |  |  |  Branch (563:27): [True: 0, False: 3]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1281:7): [True: 4, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1282|      1|    if (NODE_IS_MARKED(an__n__)) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  268|      1|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  232|      1|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (268:27): [True: 0, False: 1]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1283|      1|       R_GenHeap[NODE_CLASS(an__n__)].OldCount[NODE_GENERATION(an__n__)]--; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  545|      0|#define NODE_CLASS(s) ((s)->sxpinfo.gccls)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                      R_GenHeap[NODE_CLASS(an__n__)].OldCount[NODE_GENERATION(an__n__)]--; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1284|      1|    else \
  |  |  |  |  |  |  |  | 1285|      1|      MARK_NODE(an__n__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  269|      1|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  232|      1|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1286|      1|    SET_NODE_GENERATION(an__n__, an__g__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  560|      1|#define SET_NODE_GENERATION(s,g) ((s)->sxpinfo.gcgen=(g))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1287|      1|    UNSNAP_NODE(an__n__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  648|      1|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  649|      1|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  650|      1|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  639|      1|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  651|      1|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  640|      1|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  652|      1|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  641|      1|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      1|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  653|      1|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  642|      1|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      1|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  654|      1|} while(0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 1]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1288|      1|    SET_NEXT_NODE(an__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  641|      1|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  639|      1|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1289|      1|    forwarded_nodes = an__n__; \
  |  |  |  |  |  |  |  | 1290|      1|  } \
  |  |  |  |  |  |  |  | 1291|      4|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1291:10): [Folded, False: 4]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  717|      4|      }							\
  |  |  |  |  718|   130k|  else \
  |  |  |  |  719|   130k|  switch (TYPEOF(__n__)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  233|   130k|#define TYPEOF(x)	((x)->sxpinfo.type)
  |  |  |  |  ------------------
  |  |  |  |  720|      0|  case NILSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (720:3): [True: 0, False: 130k]
  |  |  |  |  ------------------
  |  |  |  |  721|      0|  case BUILTINSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  119|      0|#define BUILTINSXP   8	  /* builtin non-special forms */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (721:3): [True: 0, False: 130k]
  |  |  |  |  ------------------
  |  |  |  |  722|      0|  case SPECIALSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|      0|#define SPECIALSXP   7	  /* special forms */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (722:3): [True: 0, False: 130k]
  |  |  |  |  ------------------
  |  |  |  |  723|  52.1k|  case CHARSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  120|  52.1k|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (723:3): [True: 52.1k, False: 78.6k]
  |  |  |  |  ------------------
  |  |  |  |  724|  52.6k|  case LGLSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  121|  52.6k|#define LGLSXP	    10	  /* logical vectors */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (724:3): [True: 520, False: 130k]
  |  |  |  |  ------------------
  |  |  |  |  725|  58.5k|  case INTSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  123|  58.5k|#define INTSXP	    13	  /* integer vectors */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (725:3): [True: 5.86k, False: 124k]
  |  |  |  |  ------------------
  |  |  |  |  726|  59.6k|  case REALSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  124|  59.6k|#define REALSXP	    14	  /* real variables */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (726:3): [True: 1.13k, False: 129k]
  |  |  |  |  ------------------
  |  |  |  |  727|  59.6k|  case CPLXSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  125|  59.6k|#define CPLXSXP	    15	  /* complex variables */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (727:3): [True: 2, False: 130k]
  |  |  |  |  ------------------
  |  |  |  |  728|  60.3k|  case WEAKREFSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  60.3k|#define WEAKREFSXP  23    /* weak reference */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (728:3): [True: 710, False: 130k]
  |  |  |  |  ------------------
  |  |  |  |  729|  60.3k|  case RAWSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  136|  60.3k|#define RAWSXP      24    /* raw bytes */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (729:3): [True: 0, False: 130k]
  |  |  |  |  ------------------
  |  |  |  |  730|  60.3k|  case OBJSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|  60.3k|#define OBJSXP      25    /* object, non-vector  */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (730:3): [True: 0, False: 130k]
  |  |  |  |  ------------------
  |  |  |  |  731|  60.3k|    break; \
  |  |  |  |  732|  60.3k|  case STRSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|  9.27k|#define STRSXP	    16	  /* string vectors */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (732:3): [True: 9.27k, False: 121k]
  |  |  |  |  ------------------
  |  |  |  |  733|  9.27k|    { \
  |  |  |  |  734|  9.27k|      R_xlen_t i; \
  |  |  |  |  735|  37.3k|      for (i = 0; i < XLENGTH(__n__); i++) \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|  37.3k|#define XLENGTH(x) XLENGTH_EX(x)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (735:19): [True: 28.0k, False: 9.27k]
  |  |  |  |  ------------------
  |  |  |  |  736|  28.0k|	dc__str__action__(VECTOR_ELT_0(__n__, i), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1304|  28.0k|	DO_CHILDREN(s, AGE_NODE, gen);
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1278|  37.3k|#define AGE_NODE(s,g) do { \
  |  |  |  |  |  |  |  | 1279|  28.0k|  SEXP an__n__ = (s); \
  |  |  |  |  |  |  |  | 1280|  28.0k|  int an__g__ = (g); \
  |  |  |  |  |  |  |  | 1281|  28.0k|  if (an__n__ && NODE_GEN_IS_YOUNGER(an__n__, an__g__)) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  563|  28.0k|  (! NODE_IS_MARKED(s) || NODE_GENERATION(s) < (g))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  268|  56.1k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|  28.0k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                 (! NODE_IS_MARKED(s) || NODE_GENERATION(s) < (g))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  559|  25.7k|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (563:4): [True: 2.30k, False: 25.7k]
  |  |  |  |  |  |  |  |  |  |  |  Branch (563:27): [True: 0, False: 25.7k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1281:7): [True: 28.0k, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1282|  2.30k|    if (NODE_IS_MARKED(an__n__)) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  268|  2.30k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  232|  2.30k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (268:27): [True: 0, False: 2.30k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1283|  2.30k|       R_GenHeap[NODE_CLASS(an__n__)].OldCount[NODE_GENERATION(an__n__)]--; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  545|      0|#define NODE_CLASS(s) ((s)->sxpinfo.gccls)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                      R_GenHeap[NODE_CLASS(an__n__)].OldCount[NODE_GENERATION(an__n__)]--; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1284|  2.30k|    else \
  |  |  |  |  |  |  |  | 1285|  2.30k|      MARK_NODE(an__n__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  269|  2.30k|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  232|  2.30k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1286|  2.30k|    SET_NODE_GENERATION(an__n__, an__g__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  560|  2.30k|#define SET_NODE_GENERATION(s,g) ((s)->sxpinfo.gcgen=(g))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1287|  2.30k|    UNSNAP_NODE(an__n__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  648|  2.30k|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  649|  2.30k|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  650|  2.30k|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  639|  2.30k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  651|  2.30k|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  640|  2.30k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  652|  2.30k|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  641|  2.30k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  2.30k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  653|  2.30k|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  642|  2.30k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|  2.30k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  654|  2.30k|} while(0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 2.30k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1288|  2.30k|    SET_NEXT_NODE(an__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  641|  2.30k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  639|  2.30k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1289|  2.30k|    forwarded_nodes = an__n__; \
  |  |  |  |  |  |  |  | 1290|  2.30k|  } \
  |  |  |  |  |  |  |  | 1291|  28.0k|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1291:10): [Folded, False: 28.0k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  737|  9.27k|    } \
  |  |  |  |  738|  9.27k|    break; \
  |  |  |  |  739|  60.3k|  case EXPRSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (739:3): [True: 0, False: 130k]
  |  |  |  |  ------------------
  |  |  |  |  740|  2.71k|  case VECSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  131|  2.71k|#define VECSXP	    19	  /* generic vectors */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (740:3): [True: 2.71k, False: 128k]
  |  |  |  |  ------------------
  |  |  |  |  741|  2.71k|    { \
  |  |  |  |  742|  2.71k|      R_xlen_t i; \
  |  |  |  |  743|  27.9k|      for (i = 0; i < XLENGTH(__n__); i++) \
  |  |  |  |  ------------------
  |  |  |  |  |  |  407|  27.9k|#define XLENGTH(x) XLENGTH_EX(x)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (743:19): [True: 25.2k, False: 2.71k]
  |  |  |  |  ------------------
  |  |  |  |  744|  25.2k|	dc__action__(VECTOR_ELT_0(__n__, i), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1304|  25.2k|	DO_CHILDREN(s, AGE_NODE, gen);
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1278|  27.9k|#define AGE_NODE(s,g) do { \
  |  |  |  |  |  |  |  | 1279|  25.2k|  SEXP an__n__ = (s); \
  |  |  |  |  |  |  |  | 1280|  25.2k|  int an__g__ = (g); \
  |  |  |  |  |  |  |  | 1281|  25.2k|  if (an__n__ && NODE_GEN_IS_YOUNGER(an__n__, an__g__)) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  563|  25.2k|  (! NODE_IS_MARKED(s) || NODE_GENERATION(s) < (g))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  268|  50.4k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|  25.2k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                 (! NODE_IS_MARKED(s) || NODE_GENERATION(s) < (g))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  559|  9.42k|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (563:4): [True: 15.7k, False: 9.42k]
  |  |  |  |  |  |  |  |  |  |  |  Branch (563:27): [True: 0, False: 9.42k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1281:7): [True: 25.2k, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1282|  15.7k|    if (NODE_IS_MARKED(an__n__)) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  268|  15.7k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  232|  15.7k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (268:27): [True: 0, False: 15.7k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1283|  15.7k|       R_GenHeap[NODE_CLASS(an__n__)].OldCount[NODE_GENERATION(an__n__)]--; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  545|      0|#define NODE_CLASS(s) ((s)->sxpinfo.gccls)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                      R_GenHeap[NODE_CLASS(an__n__)].OldCount[NODE_GENERATION(an__n__)]--; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1284|  15.7k|    else \
  |  |  |  |  |  |  |  | 1285|  15.7k|      MARK_NODE(an__n__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  269|  15.7k|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  232|  15.7k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1286|  15.7k|    SET_NODE_GENERATION(an__n__, an__g__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  560|  15.7k|#define SET_NODE_GENERATION(s,g) ((s)->sxpinfo.gcgen=(g))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1287|  15.7k|    UNSNAP_NODE(an__n__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  648|  15.7k|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  649|  15.7k|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  650|  15.7k|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  639|  15.7k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  651|  15.7k|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  640|  15.7k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  652|  15.7k|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  641|  15.7k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  15.7k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  653|  15.7k|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  642|  15.7k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|  15.7k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  654|  15.7k|} while(0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 15.7k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1288|  15.7k|    SET_NEXT_NODE(an__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  641|  15.7k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  639|  15.7k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1289|  15.7k|    forwarded_nodes = an__n__; \
  |  |  |  |  |  |  |  | 1290|  15.7k|  } \
  |  |  |  |  |  |  |  | 1291|  25.2k|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1291:10): [Folded, False: 25.2k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  745|  2.71k|    } \
  |  |  |  |  746|  2.71k|    break; \
  |  |  |  |  747|    438|  case ENVSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  115|    438|#define ENVSXP	     4	  /* environments */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (747:3): [True: 438, False: 130k]
  |  |  |  |  ------------------
  |  |  |  |  748|    438|    dc__action__(FRAME(__n__), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1304|    438|	DO_CHILDREN(s, AGE_NODE, gen);
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1278|    438|#define AGE_NODE(s,g) do { \
  |  |  |  |  |  |  |  | 1279|    438|  SEXP an__n__ = (s); \
  |  |  |  |  |  |  |  | 1280|    438|  int an__g__ = (g); \
  |  |  |  |  |  |  |  | 1281|    438|  if (an__n__ && NODE_GEN_IS_YOUNGER(an__n__, an__g__)) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  563|    438|  (! NODE_IS_MARKED(s) || NODE_GENERATION(s) < (g))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  268|    876|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|    438|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                 (! NODE_IS_MARKED(s) || NODE_GENERATION(s) < (g))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  559|     50|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (563:4): [True: 388, False: 50]
  |  |  |  |  |  |  |  |  |  |  |  Branch (563:27): [True: 0, False: 50]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1281:7): [True: 438, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1282|    388|    if (NODE_IS_MARKED(an__n__)) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  268|    388|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  232|    388|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (268:27): [True: 0, False: 388]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1283|    388|       R_GenHeap[NODE_CLASS(an__n__)].OldCount[NODE_GENERATION(an__n__)]--; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  545|      0|#define NODE_CLASS(s) ((s)->sxpinfo.gccls)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                      R_GenHeap[NODE_CLASS(an__n__)].OldCount[NODE_GENERATION(an__n__)]--; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1284|    388|    else \
  |  |  |  |  |  |  |  | 1285|    388|      MARK_NODE(an__n__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  269|    388|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  232|    388|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1286|    388|    SET_NODE_GENERATION(an__n__, an__g__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  560|    388|#define SET_NODE_GENERATION(s,g) ((s)->sxpinfo.gcgen=(g))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1287|    388|    UNSNAP_NODE(an__n__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  648|    388|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  649|    388|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  650|    388|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  639|    388|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  651|    388|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  640|    388|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  652|    388|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  641|    388|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|    388|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  653|    388|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  642|    388|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|    388|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  654|    388|} while(0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 388]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1288|    388|    SET_NEXT_NODE(an__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  641|    388|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  639|    388|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1289|    388|    forwarded_nodes = an__n__; \
  |  |  |  |  |  |  |  | 1290|    388|  } \
  |  |  |  |  |  |  |  | 1291|    438|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1291:10): [Folded, False: 438]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  749|    438|    dc__action__(ENCLOS(__n__), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1304|    438|	DO_CHILDREN(s, AGE_NODE, gen);
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1278|    438|#define AGE_NODE(s,g) do { \
  |  |  |  |  |  |  |  | 1279|    438|  SEXP an__n__ = (s); \
  |  |  |  |  |  |  |  | 1280|    438|  int an__g__ = (g); \
  |  |  |  |  |  |  |  | 1281|    438|  if (an__n__ && NODE_GEN_IS_YOUNGER(an__n__, an__g__)) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  563|    438|  (! NODE_IS_MARKED(s) || NODE_GENERATION(s) < (g))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  268|    876|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|    438|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                 (! NODE_IS_MARKED(s) || NODE_GENERATION(s) < (g))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  559|    428|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (563:4): [True: 10, False: 428]
  |  |  |  |  |  |  |  |  |  |  |  Branch (563:27): [True: 0, False: 428]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1281:7): [True: 438, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1282|     10|    if (NODE_IS_MARKED(an__n__)) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  268|     10|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  232|     10|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (268:27): [True: 0, False: 10]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1283|     10|       R_GenHeap[NODE_CLASS(an__n__)].OldCount[NODE_GENERATION(an__n__)]--; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  545|      0|#define NODE_CLASS(s) ((s)->sxpinfo.gccls)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                      R_GenHeap[NODE_CLASS(an__n__)].OldCount[NODE_GENERATION(an__n__)]--; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1284|     10|    else \
  |  |  |  |  |  |  |  | 1285|     10|      MARK_NODE(an__n__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  269|     10|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  232|     10|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1286|     10|    SET_NODE_GENERATION(an__n__, an__g__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  560|     10|#define SET_NODE_GENERATION(s,g) ((s)->sxpinfo.gcgen=(g))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1287|     10|    UNSNAP_NODE(an__n__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  648|     10|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  649|     10|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  650|     10|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  639|     10|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  651|     10|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  640|     10|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  652|     10|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  641|     10|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|     10|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  653|     10|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  642|     10|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|     10|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  654|     10|} while(0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 10]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1288|     10|    SET_NEXT_NODE(an__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  641|     10|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  639|     10|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1289|     10|    forwarded_nodes = an__n__; \
  |  |  |  |  |  |  |  | 1290|     10|  } \
  |  |  |  |  |  |  |  | 1291|    438|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1291:10): [Folded, False: 438]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  750|    438|    dc__action__(HASHTAB(__n__), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1304|    438|	DO_CHILDREN(s, AGE_NODE, gen);
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1278|    438|#define AGE_NODE(s,g) do { \
  |  |  |  |  |  |  |  | 1279|    438|  SEXP an__n__ = (s); \
  |  |  |  |  |  |  |  | 1280|    438|  int an__g__ = (g); \
  |  |  |  |  |  |  |  | 1281|    438|  if (an__n__ && NODE_GEN_IS_YOUNGER(an__n__, an__g__)) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  563|    438|  (! NODE_IS_MARKED(s) || NODE_GENERATION(s) < (g))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  268|    876|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|    438|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                 (! NODE_IS_MARKED(s) || NODE_GENERATION(s) < (g))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  559|    393|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (563:4): [True: 45, False: 393]
  |  |  |  |  |  |  |  |  |  |  |  Branch (563:27): [True: 0, False: 393]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1281:7): [True: 438, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1282|     45|    if (NODE_IS_MARKED(an__n__)) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  268|     45|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  232|     45|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (268:27): [True: 0, False: 45]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1283|     45|       R_GenHeap[NODE_CLASS(an__n__)].OldCount[NODE_GENERATION(an__n__)]--; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  545|      0|#define NODE_CLASS(s) ((s)->sxpinfo.gccls)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                      R_GenHeap[NODE_CLASS(an__n__)].OldCount[NODE_GENERATION(an__n__)]--; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1284|     45|    else \
  |  |  |  |  |  |  |  | 1285|     45|      MARK_NODE(an__n__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  269|     45|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  232|     45|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1286|     45|    SET_NODE_GENERATION(an__n__, an__g__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  560|     45|#define SET_NODE_GENERATION(s,g) ((s)->sxpinfo.gcgen=(g))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1287|     45|    UNSNAP_NODE(an__n__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  648|     45|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  649|     45|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  650|     45|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  639|     45|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  651|     45|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  640|     45|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  652|     45|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  641|     45|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|     45|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  653|     45|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  642|     45|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|     45|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  654|     45|} while(0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 45]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1288|     45|    SET_NEXT_NODE(an__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  641|     45|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  639|     45|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1289|     45|    forwarded_nodes = an__n__; \
  |  |  |  |  |  |  |  | 1290|     45|  } \
  |  |  |  |  |  |  |  | 1291|    438|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1291:10): [Folded, False: 438]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  751|    438|    break; \
  |  |  |  |  752|  39.3k|  case LISTSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  113|  39.3k|#define LISTSXP	     2	  /* lists of dotted pairs */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (752:3): [True: 39.3k, False: 91.4k]
  |  |  |  |  ------------------
  |  |  |  |  753|  42.4k|  case PROMSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  116|  42.4k|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (753:3): [True: 3.12k, False: 127k]
  |  |  |  |  ------------------
  |  |  |  |  754|  42.4k|    dc__action__(TAG(__n__), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1304|  42.4k|	DO_CHILDREN(s, AGE_NODE, gen);
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1278|  42.4k|#define AGE_NODE(s,g) do { \
  |  |  |  |  |  |  |  | 1279|  42.4k|  SEXP an__n__ = (s); \
  |  |  |  |  |  |  |  | 1280|  42.4k|  int an__g__ = (g); \
  |  |  |  |  |  |  |  | 1281|  42.4k|  if (an__n__ && NODE_GEN_IS_YOUNGER(an__n__, an__g__)) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  563|  42.4k|  (! NODE_IS_MARKED(s) || NODE_GENERATION(s) < (g))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  268|  84.8k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|  42.4k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                 (! NODE_IS_MARKED(s) || NODE_GENERATION(s) < (g))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  559|  40.2k|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (563:4): [True: 2.21k, False: 40.2k]
  |  |  |  |  |  |  |  |  |  |  |  Branch (563:27): [True: 0, False: 40.2k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1281:7): [True: 42.4k, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1282|  2.21k|    if (NODE_IS_MARKED(an__n__)) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  268|  2.21k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  232|  2.21k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (268:27): [True: 0, False: 2.21k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1283|  2.21k|       R_GenHeap[NODE_CLASS(an__n__)].OldCount[NODE_GENERATION(an__n__)]--; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  545|      0|#define NODE_CLASS(s) ((s)->sxpinfo.gccls)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                      R_GenHeap[NODE_CLASS(an__n__)].OldCount[NODE_GENERATION(an__n__)]--; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1284|  2.21k|    else \
  |  |  |  |  |  |  |  | 1285|  2.21k|      MARK_NODE(an__n__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  269|  2.21k|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  232|  2.21k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1286|  2.21k|    SET_NODE_GENERATION(an__n__, an__g__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  560|  2.21k|#define SET_NODE_GENERATION(s,g) ((s)->sxpinfo.gcgen=(g))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1287|  2.21k|    UNSNAP_NODE(an__n__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  648|  2.21k|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  649|  2.21k|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  650|  2.21k|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  639|  2.21k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  651|  2.21k|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  640|  2.21k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  652|  2.21k|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  641|  2.21k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  2.21k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  653|  2.21k|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  642|  2.21k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|  2.21k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  654|  2.21k|} while(0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 2.21k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1288|  2.21k|    SET_NEXT_NODE(an__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  641|  2.21k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  639|  2.21k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1289|  2.21k|    forwarded_nodes = an__n__; \
  |  |  |  |  |  |  |  | 1290|  2.21k|  } \
  |  |  |  |  |  |  |  | 1291|  42.4k|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1291:10): [Folded, False: 42.4k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  755|  42.4k|    if (BOXED_BINDING_CELLS || BNDCELL_TAG(__n__) == 0) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  84.8k|# define BOXED_BINDING_CELLS 0
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:30): [Folded, False: 42.4k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   if (BOXED_BINDING_CELLS || BNDCELL_TAG(__n__) == 0) \
  |  |  |  |  ------------------
  |  |  |  |  |  |  463|  42.4k|#define BNDCELL_TAG(e)	((e)->sxpinfo.extra)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (755:32): [True: 42.3k, False: 40]
  |  |  |  |  ------------------
  |  |  |  |  756|  42.4k|      dc__action__(CAR0(__n__), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1304|  42.3k|	DO_CHILDREN(s, AGE_NODE, gen);
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1278|  42.3k|#define AGE_NODE(s,g) do { \
  |  |  |  |  |  |  |  | 1279|  42.3k|  SEXP an__n__ = (s); \
  |  |  |  |  |  |  |  | 1280|  42.3k|  int an__g__ = (g); \
  |  |  |  |  |  |  |  | 1281|  42.3k|  if (an__n__ && NODE_GEN_IS_YOUNGER(an__n__, an__g__)) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  563|  42.3k|  (! NODE_IS_MARKED(s) || NODE_GENERATION(s) < (g))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  268|  84.7k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|  42.3k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                 (! NODE_IS_MARKED(s) || NODE_GENERATION(s) < (g))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  559|  24.3k|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (563:4): [True: 18.0k, False: 24.3k]
  |  |  |  |  |  |  |  |  |  |  |  Branch (563:27): [True: 0, False: 24.3k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1281:7): [True: 42.3k, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1282|  18.0k|    if (NODE_IS_MARKED(an__n__)) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  268|  18.0k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  232|  18.0k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (268:27): [True: 0, False: 18.0k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1283|  18.0k|       R_GenHeap[NODE_CLASS(an__n__)].OldCount[NODE_GENERATION(an__n__)]--; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  545|      0|#define NODE_CLASS(s) ((s)->sxpinfo.gccls)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                      R_GenHeap[NODE_CLASS(an__n__)].OldCount[NODE_GENERATION(an__n__)]--; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1284|  18.0k|    else \
  |  |  |  |  |  |  |  | 1285|  18.0k|      MARK_NODE(an__n__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  269|  18.0k|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  232|  18.0k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1286|  18.0k|    SET_NODE_GENERATION(an__n__, an__g__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  560|  18.0k|#define SET_NODE_GENERATION(s,g) ((s)->sxpinfo.gcgen=(g))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1287|  18.0k|    UNSNAP_NODE(an__n__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  648|  18.0k|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  649|  18.0k|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  650|  18.0k|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  639|  18.0k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  651|  18.0k|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  640|  18.0k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  652|  18.0k|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  641|  18.0k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  18.0k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  653|  18.0k|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  642|  18.0k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|  18.0k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  654|  18.0k|} while(0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 18.0k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1288|  18.0k|    SET_NEXT_NODE(an__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  641|  18.0k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  639|  18.0k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1289|  18.0k|    forwarded_nodes = an__n__; \
  |  |  |  |  |  |  |  | 1290|  18.0k|  } \
  |  |  |  |  |  |  |  | 1291|  42.3k|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1291:10): [Folded, False: 42.3k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  757|  42.4k|    dc__action__(CDR(__n__), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1304|  42.4k|	DO_CHILDREN(s, AGE_NODE, gen);
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1278|  42.4k|#define AGE_NODE(s,g) do { \
  |  |  |  |  |  |  |  | 1279|  42.4k|  SEXP an__n__ = (s); \
  |  |  |  |  |  |  |  | 1280|  42.4k|  int an__g__ = (g); \
  |  |  |  |  |  |  |  | 1281|  42.4k|  if (an__n__ && NODE_GEN_IS_YOUNGER(an__n__, an__g__)) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  563|  42.4k|  (! NODE_IS_MARKED(s) || NODE_GENERATION(s) < (g))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  268|  84.8k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|  42.4k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                 (! NODE_IS_MARKED(s) || NODE_GENERATION(s) < (g))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  559|  20.2k|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (563:4): [True: 22.1k, False: 20.2k]
  |  |  |  |  |  |  |  |  |  |  |  Branch (563:27): [True: 0, False: 20.2k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1281:7): [True: 42.4k, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1282|  22.1k|    if (NODE_IS_MARKED(an__n__)) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  268|  22.1k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  232|  22.1k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (268:27): [True: 0, False: 22.1k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1283|  22.1k|       R_GenHeap[NODE_CLASS(an__n__)].OldCount[NODE_GENERATION(an__n__)]--; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  545|      0|#define NODE_CLASS(s) ((s)->sxpinfo.gccls)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                      R_GenHeap[NODE_CLASS(an__n__)].OldCount[NODE_GENERATION(an__n__)]--; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1284|  22.1k|    else \
  |  |  |  |  |  |  |  | 1285|  22.1k|      MARK_NODE(an__n__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  269|  22.1k|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  232|  22.1k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1286|  22.1k|    SET_NODE_GENERATION(an__n__, an__g__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  560|  22.1k|#define SET_NODE_GENERATION(s,g) ((s)->sxpinfo.gcgen=(g))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1287|  22.1k|    UNSNAP_NODE(an__n__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  648|  22.1k|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  649|  22.1k|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  650|  22.1k|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  639|  22.1k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  651|  22.1k|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  640|  22.1k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  652|  22.1k|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  641|  22.1k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  22.1k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  653|  22.1k|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  642|  22.1k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|  22.1k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  654|  22.1k|} while(0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 22.1k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1288|  22.1k|    SET_NEXT_NODE(an__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  641|  22.1k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  639|  22.1k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1289|  22.1k|    forwarded_nodes = an__n__; \
  |  |  |  |  |  |  |  | 1290|  22.1k|  } \
  |  |  |  |  |  |  |  | 1291|  42.4k|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1291:10): [Folded, False: 42.4k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  758|  42.4k|    break; \
  |  |  |  |  759|  39.3k|  case CLOSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  114|    911|#define CLOSXP	     3	  /* closures */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (759:3): [True: 911, False: 129k]
  |  |  |  |  ------------------
  |  |  |  |  760|  10.9k|  case LANGSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|  10.9k|#define LANGSXP	     6	  /* language constructs (special lists) */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:3): [True: 10.0k, False: 120k]
  |  |  |  |  ------------------
  |  |  |  |  761|  11.0k|  case DOTSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  127|  11.0k|#define DOTSXP	    17	  /* dot-dot-dot object */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (761:3): [True: 5, False: 130k]
  |  |  |  |  ------------------
  |  |  |  |  762|  13.3k|  case SYMSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|  13.3k|#define SYMSXP	     1	  /* symbols */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (762:3): [True: 2.34k, False: 128k]
  |  |  |  |  ------------------
  |  |  |  |  763|  14.7k|  case BCODESXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  14.7k|#define BCODESXP    21    /* byte code */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (763:3): [True: 1.44k, False: 129k]
  |  |  |  |  ------------------
  |  |  |  |  764|  14.7k|    dc__action__(TAG(__n__), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1304|  14.7k|	DO_CHILDREN(s, AGE_NODE, gen);
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1278|  14.7k|#define AGE_NODE(s,g) do { \
  |  |  |  |  |  |  |  | 1279|  14.7k|  SEXP an__n__ = (s); \
  |  |  |  |  |  |  |  | 1280|  14.7k|  int an__g__ = (g); \
  |  |  |  |  |  |  |  | 1281|  14.7k|  if (an__n__ && NODE_GEN_IS_YOUNGER(an__n__, an__g__)) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  563|  14.7k|  (! NODE_IS_MARKED(s) || NODE_GENERATION(s) < (g))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  268|  29.5k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|  14.7k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                 (! NODE_IS_MARKED(s) || NODE_GENERATION(s) < (g))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  559|  14.6k|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (563:4): [True: 144, False: 14.6k]
  |  |  |  |  |  |  |  |  |  |  |  Branch (563:27): [True: 0, False: 14.6k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1281:7): [True: 14.7k, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1282|    144|    if (NODE_IS_MARKED(an__n__)) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  268|    144|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  232|    144|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (268:27): [True: 0, False: 144]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1283|    144|       R_GenHeap[NODE_CLASS(an__n__)].OldCount[NODE_GENERATION(an__n__)]--; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  545|      0|#define NODE_CLASS(s) ((s)->sxpinfo.gccls)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                      R_GenHeap[NODE_CLASS(an__n__)].OldCount[NODE_GENERATION(an__n__)]--; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1284|    144|    else \
  |  |  |  |  |  |  |  | 1285|    144|      MARK_NODE(an__n__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  269|    144|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  232|    144|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1286|    144|    SET_NODE_GENERATION(an__n__, an__g__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  560|    144|#define SET_NODE_GENERATION(s,g) ((s)->sxpinfo.gcgen=(g))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1287|    144|    UNSNAP_NODE(an__n__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  648|    144|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  649|    144|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  650|    144|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  639|    144|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  651|    144|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  640|    144|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  652|    144|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  641|    144|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|    144|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  653|    144|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  642|    144|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|    144|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  654|    144|} while(0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 144]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1288|    144|    SET_NEXT_NODE(an__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  641|    144|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  639|    144|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1289|    144|    forwarded_nodes = an__n__; \
  |  |  |  |  |  |  |  | 1290|    144|  } \
  |  |  |  |  |  |  |  | 1291|  14.7k|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1291:10): [Folded, False: 14.7k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  765|  14.7k|    dc__action__(CAR0(__n__), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1304|  14.7k|	DO_CHILDREN(s, AGE_NODE, gen);
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1278|  14.7k|#define AGE_NODE(s,g) do { \
  |  |  |  |  |  |  |  | 1279|  14.7k|  SEXP an__n__ = (s); \
  |  |  |  |  |  |  |  | 1280|  14.7k|  int an__g__ = (g); \
  |  |  |  |  |  |  |  | 1281|  14.7k|  if (an__n__ && NODE_GEN_IS_YOUNGER(an__n__, an__g__)) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  563|  14.7k|  (! NODE_IS_MARKED(s) || NODE_GENERATION(s) < (g))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  268|  29.5k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|  14.7k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                 (! NODE_IS_MARKED(s) || NODE_GENERATION(s) < (g))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  559|  11.7k|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (563:4): [True: 3.05k, False: 11.7k]
  |  |  |  |  |  |  |  |  |  |  |  Branch (563:27): [True: 0, False: 11.7k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1281:7): [True: 14.7k, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1282|  3.05k|    if (NODE_IS_MARKED(an__n__)) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  268|  3.05k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  232|  3.05k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (268:27): [True: 0, False: 3.05k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1283|  3.05k|       R_GenHeap[NODE_CLASS(an__n__)].OldCount[NODE_GENERATION(an__n__)]--; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  545|      0|#define NODE_CLASS(s) ((s)->sxpinfo.gccls)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                      R_GenHeap[NODE_CLASS(an__n__)].OldCount[NODE_GENERATION(an__n__)]--; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1284|  3.05k|    else \
  |  |  |  |  |  |  |  | 1285|  3.05k|      MARK_NODE(an__n__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  269|  3.05k|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  232|  3.05k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1286|  3.05k|    SET_NODE_GENERATION(an__n__, an__g__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  560|  3.05k|#define SET_NODE_GENERATION(s,g) ((s)->sxpinfo.gcgen=(g))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1287|  3.05k|    UNSNAP_NODE(an__n__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  648|  3.05k|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  649|  3.05k|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  650|  3.05k|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  639|  3.05k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  651|  3.05k|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  640|  3.05k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  652|  3.05k|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  641|  3.05k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  3.05k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  653|  3.05k|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  642|  3.05k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|  3.05k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  654|  3.05k|} while(0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 3.05k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1288|  3.05k|    SET_NEXT_NODE(an__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  641|  3.05k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  639|  3.05k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1289|  3.05k|    forwarded_nodes = an__n__; \
  |  |  |  |  |  |  |  | 1290|  3.05k|  } \
  |  |  |  |  |  |  |  | 1291|  14.7k|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1291:10): [Folded, False: 14.7k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  766|  14.7k|    dc__action__(CDR(__n__), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1304|  14.7k|	DO_CHILDREN(s, AGE_NODE, gen);
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1278|  14.7k|#define AGE_NODE(s,g) do { \
  |  |  |  |  |  |  |  | 1279|  14.7k|  SEXP an__n__ = (s); \
  |  |  |  |  |  |  |  | 1280|  14.7k|  int an__g__ = (g); \
  |  |  |  |  |  |  |  | 1281|  14.7k|  if (an__n__ && NODE_GEN_IS_YOUNGER(an__n__, an__g__)) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  563|  14.7k|  (! NODE_IS_MARKED(s) || NODE_GENERATION(s) < (g))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  268|  29.5k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|  14.7k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                 (! NODE_IS_MARKED(s) || NODE_GENERATION(s) < (g))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  559|  3.05k|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (563:4): [True: 11.7k, False: 3.05k]
  |  |  |  |  |  |  |  |  |  |  |  Branch (563:27): [True: 0, False: 3.05k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1281:7): [True: 14.7k, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1282|  11.7k|    if (NODE_IS_MARKED(an__n__)) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  268|  11.7k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  232|  11.7k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (268:27): [True: 0, False: 11.7k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1283|  11.7k|       R_GenHeap[NODE_CLASS(an__n__)].OldCount[NODE_GENERATION(an__n__)]--; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  545|      0|#define NODE_CLASS(s) ((s)->sxpinfo.gccls)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                      R_GenHeap[NODE_CLASS(an__n__)].OldCount[NODE_GENERATION(an__n__)]--; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1284|  11.7k|    else \
  |  |  |  |  |  |  |  | 1285|  11.7k|      MARK_NODE(an__n__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  269|  11.7k|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  232|  11.7k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1286|  11.7k|    SET_NODE_GENERATION(an__n__, an__g__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  560|  11.7k|#define SET_NODE_GENERATION(s,g) ((s)->sxpinfo.gcgen=(g))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1287|  11.7k|    UNSNAP_NODE(an__n__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  648|  11.7k|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  649|  11.7k|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  650|  11.7k|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  639|  11.7k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  651|  11.7k|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  640|  11.7k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  652|  11.7k|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  641|  11.7k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|  11.7k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  653|  11.7k|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  642|  11.7k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|  11.7k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  654|  11.7k|} while(0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 11.7k]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1288|  11.7k|    SET_NEXT_NODE(an__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  641|  11.7k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  639|  11.7k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1289|  11.7k|    forwarded_nodes = an__n__; \
  |  |  |  |  |  |  |  | 1290|  11.7k|  } \
  |  |  |  |  |  |  |  | 1291|  14.7k|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1291:10): [Folded, False: 14.7k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  767|  14.7k|    break; \
  |  |  |  |  768|  13.3k|  case EXTPTRSXP: \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    714|#define EXTPTRSXP   22    /* external pointer */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (768:3): [True: 714, False: 130k]
  |  |  |  |  ------------------
  |  |  |  |  769|    714|    dc__action__(EXTPTR_PROT(__n__), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1304|    714|	DO_CHILDREN(s, AGE_NODE, gen);
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1278|    714|#define AGE_NODE(s,g) do { \
  |  |  |  |  |  |  |  | 1279|    714|  SEXP an__n__ = (s); \
  |  |  |  |  |  |  |  | 1280|    714|  int an__g__ = (g); \
  |  |  |  |  |  |  |  | 1281|    714|  if (an__n__ && NODE_GEN_IS_YOUNGER(an__n__, an__g__)) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  563|    714|  (! NODE_IS_MARKED(s) || NODE_GENERATION(s) < (g))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  268|  1.42k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|    714|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                 (! NODE_IS_MARKED(s) || NODE_GENERATION(s) < (g))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  559|    714|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (563:4): [True: 0, False: 714]
  |  |  |  |  |  |  |  |  |  |  |  Branch (563:27): [True: 0, False: 714]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1281:7): [True: 714, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1282|      0|    if (NODE_IS_MARKED(an__n__)) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (268:27): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1283|      0|       R_GenHeap[NODE_CLASS(an__n__)].OldCount[NODE_GENERATION(an__n__)]--; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  545|      0|#define NODE_CLASS(s) ((s)->sxpinfo.gccls)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                      R_GenHeap[NODE_CLASS(an__n__)].OldCount[NODE_GENERATION(an__n__)]--; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1284|      0|    else \
  |  |  |  |  |  |  |  | 1285|      0|      MARK_NODE(an__n__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1286|      0|    SET_NODE_GENERATION(an__n__, an__g__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  560|      0|#define SET_NODE_GENERATION(s,g) ((s)->sxpinfo.gcgen=(g))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1287|      0|    UNSNAP_NODE(an__n__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1288|      0|    SET_NEXT_NODE(an__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1289|      0|    forwarded_nodes = an__n__; \
  |  |  |  |  |  |  |  | 1290|      0|  } \
  |  |  |  |  |  |  |  | 1291|    714|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1291:10): [Folded, False: 714]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  770|    714|    dc__action__(EXTPTR_TAG(__n__), dc__extra__); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1304|    714|	DO_CHILDREN(s, AGE_NODE, gen);
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1278|    714|#define AGE_NODE(s,g) do { \
  |  |  |  |  |  |  |  | 1279|    714|  SEXP an__n__ = (s); \
  |  |  |  |  |  |  |  | 1280|    714|  int an__g__ = (g); \
  |  |  |  |  |  |  |  | 1281|    714|  if (an__n__ && NODE_GEN_IS_YOUNGER(an__n__, an__g__)) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  563|    714|  (! NODE_IS_MARKED(s) || NODE_GENERATION(s) < (g))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  268|  1.42k|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  232|    714|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |                 (! NODE_IS_MARKED(s) || NODE_GENERATION(s) < (g))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  559|    714|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (563:4): [True: 0, False: 714]
  |  |  |  |  |  |  |  |  |  |  |  Branch (563:27): [True: 0, False: 714]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1281:7): [True: 714, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1282|      0|    if (NODE_IS_MARKED(an__n__)) \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  268|      0|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (268:27): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1283|      0|       R_GenHeap[NODE_CLASS(an__n__)].OldCount[NODE_GENERATION(an__n__)]--; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  545|      0|#define NODE_CLASS(s) ((s)->sxpinfo.gccls)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |                      R_GenHeap[NODE_CLASS(an__n__)].OldCount[NODE_GENERATION(an__n__)]--; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  559|      0|#define NODE_GENERATION(s) ((s)->sxpinfo.gcgen)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1284|      0|    else \
  |  |  |  |  |  |  |  | 1285|      0|      MARK_NODE(an__n__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  269|      0|#define MARK_NODE(s) (MARK(s)=1)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  232|      0|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1286|      0|    SET_NODE_GENERATION(an__n__, an__g__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  560|      0|#define SET_NODE_GENERATION(s,g) ((s)->sxpinfo.gcgen=(g))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1287|      0|    UNSNAP_NODE(an__n__); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  648|      0|#define UNSNAP_NODE(s) do { \
  |  |  |  |  |  |  |  |  |  |  649|      0|  SEXP un__n__ = (s); \
  |  |  |  |  |  |  |  |  |  |  650|      0|  SEXP next = NEXT_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  651|      0|  SEXP prev = PREV_NODE(un__n__); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  652|      0|  SET_NEXT_NODE(prev, next); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  653|      0|  SET_PREV_NODE(next, prev); \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  642|      0|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  640|      0|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  654|      0|} while(0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (654:9): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1288|      0|    SET_NEXT_NODE(an__n__, forwarded_nodes); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  641|      0|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  639|      0|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1289|      0|    forwarded_nodes = an__n__; \
  |  |  |  |  |  |  |  | 1290|      0|  } \
  |  |  |  |  |  |  |  | 1291|    714|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1291:10): [Folded, False: 714]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  771|    714|    break; \
  |  |  |  |  772|  13.3k|  FREE_FORWARD_CASE \
  |  |  |  |  ------------------
  |  |  |  |  |  |  705|      0|#define FREE_FORWARD_CASE case FREESXP: if (gc_inhibit_release) break;
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  142|      0|#define FREESXP     31    /* node released by GC */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (705:27): [True: 0, False: 130k]
  |  |  |  |  |  |  |  Branch (705:45): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  773|      0|  default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (773:3): [True: 0, False: 130k]
  |  |  |  |  ------------------
  |  |  |  |  774|      0|    register_bad_sexp_type(__n__, __LINE__);		\
  |  |  |  |  775|   130k|  } \
  |  |  |  |  776|   130k|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (776:9): [Folded, False: 130k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1305|   130k|    }
 1306|  18.7M|}
memory.c:CheckFinalizers:
 1488|    725|{
 1489|    725|    SEXP s;
 1490|    725|    R_finalizers_pending = FALSE;
 1491|   848k|    for (s = R_weak_refs; s != R_NilValue; s = WEAKREF_NEXT(s)) {
  ------------------
  |  | 1420|   847k|#define WEAKREF_NEXT(w) VECTOR_ELT_0(w, 3)
  |  |  ------------------
  |  |  |  |   80|   847k|#define VECTOR_ELT_0(x,i)        ((SEXP *) STDVEC_DATAPTR(x))[i]
  |  |  |  |  ------------------
  |  |  |  |  |  |  420|   847k|#define STDVEC_DATAPTR(x) ((void *) (((SEXPREC_ALIGN *) (x)) + 1))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1491:27): [True: 847k, False: 725]
  ------------------
 1492|   847k|	if (! NODE_IS_MARKED(WEAKREF_KEY(s)) && ! IS_READY_TO_FINALIZE(s))
  ------------------
  |  |  268|  1.69M|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  ------------------
  |  |  |  |  232|   847k|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  ------------------
  ------------------
              	if (! NODE_IS_MARKED(WEAKREF_KEY(s)) && ! IS_READY_TO_FINALIZE(s))
  ------------------
  |  | 1405|     65|#define IS_READY_TO_FINALIZE(s) ((s)->sxpinfo.gp & READY_TO_FINALIZE_MASK)
  |  |  ------------------
  |  |  |  | 1401|     65|#define READY_TO_FINALIZE_MASK 1
  |  |  ------------------
  ------------------
  |  Branch (1492:6): [True: 65, False: 847k]
  |  Branch (1492:42): [True: 65, False: 0]
  ------------------
 1493|     65|	    SET_READY_TO_FINALIZE(s);
  ------------------
  |  | 1403|     65|#define SET_READY_TO_FINALIZE(s) ((s)->sxpinfo.gp |= READY_TO_FINALIZE_MASK)
  |  |  ------------------
  |  |  |  | 1401|     65|#define READY_TO_FINALIZE_MASK 1
  |  |  ------------------
  ------------------
 1494|   847k|	if (IS_READY_TO_FINALIZE(s))
  ------------------
  |  | 1405|   847k|#define IS_READY_TO_FINALIZE(s) ((s)->sxpinfo.gp & READY_TO_FINALIZE_MASK)
  |  |  ------------------
  |  |  |  | 1401|   847k|#define READY_TO_FINALIZE_MASK 1
  |  |  ------------------
  |  |  |  Branch (1405:33): [True: 65, False: 847k]
  |  |  ------------------
  ------------------
 1495|     65|	    R_finalizers_pending = TRUE;
 1496|   847k|    }
 1497|    725|}
memory.c:fill_freed_node:
 1164|   279M|{
 1165|   279M|    if (node_class == 0)
  ------------------
  |  Branch (1165:9): [True: 232M, False: 46.7M]
  ------------------
 1166|   232M|	memset(&s->u, FREED_FILL_BYTE, sizeof(s->u));
  ------------------
  |  | 1161|   232M|#define FREED_FILL_BYTE 0xDE
  ------------------
 1167|  46.7M|    else if (node_class < NUM_SMALL_NODE_CLASSES)
  ------------------
  |  |  540|  46.7M|#define NUM_SMALL_NODE_CLASSES (NUM_NODE_CLASSES - 2)
  |  |  ------------------
  |  |  |  |  531|  46.7M|#define NUM_NODE_CLASSES 8
  |  |  ------------------
  ------------------
  |  Branch (1167:14): [True: 46.7M, False: 0]
  ------------------
 1168|  46.7M|	memset(STDVEC_DATAPTR(s), FREED_FILL_BYTE,
  ------------------
  |  |  420|  46.7M|#define STDVEC_DATAPTR(x) ((void *) (((SEXPREC_ALIGN *) (x)) + 1))
  ------------------
              	memset(STDVEC_DATAPTR(s), FREED_FILL_BYTE,
  ------------------
  |  | 1161|  46.7M|#define FREED_FILL_BYTE 0xDE
  ------------------
 1169|  46.7M|	       NodeClassSize[node_class] * sizeof(VECREC));
 1170|   279M|}
memory.c:getVecSizeInVEC:
 1112|  40.8k|{
 1113|       |    /* For a CHARSXP the growable bit is the 'cached' mark and
 1114|       |       TRUELENGTH may hold a hash value. */
 1115|  40.8k|    if (TYPEOF(s) != CHARSXP && IS_GROWABLE(s))
  ------------------
  |  |  233|  40.8k|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
                  if (TYPEOF(s) != CHARSXP && IS_GROWABLE(s))
  ------------------
  |  |  120|  81.7k|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  ------------------
                  if (TYPEOF(s) != CHARSXP && IS_GROWABLE(s))
  ------------------
  |  |  384|  39.4k|#define IS_GROWABLE(x) (GROWABLE_BIT_SET(x) && XLENGTH(x) < XTRUELENGTH(x))
  |  |  ------------------
  |  |  |  |  382|  78.8k|#define GROWABLE_BIT_SET(x) ((x)->sxpinfo.gp & GROWABLE_MASK)
  |  |  |  |  ------------------
  |  |  |  |  |  |  937|  39.4k|#define GROWABLE_MASK ((unsigned short)(1<<5))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (382:29): [True: 0, False: 39.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define IS_GROWABLE(x) (GROWABLE_BIT_SET(x) && XLENGTH(x) < XTRUELENGTH(x))
  |  |  ------------------
  |  |  |  |  407|      0|#define XLENGTH(x) XLENGTH_EX(x)
  |  |  ------------------
  |  |  |  Branch (384:48): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1115:9): [True: 39.4k, False: 1.45k]
  ------------------
 1116|      0|	SET_STDVEC_LENGTH(s, XTRUELENGTH(s));
  ------------------
  |  |  410|      0|#define SET_STDVEC_LENGTH(x,v) do {		\
  |  |  411|      0|	SEXP __x__ = (x);			\
  |  |  412|      0|	R_xlen_t __v__ = (v);			\
  |  |  413|      0|	STDVEC_LENGTH(__x__) = __v__;		\
  |  |  ------------------
  |  |  |  |  392|      0|#define STDVEC_LENGTH(x) (((VECSEXP) (x))->vecsxp.length)
  |  |  ------------------
  |  |  414|      0|	SETSCALAR(__x__, __v__ == 1 ? 1 : 0);	\
  |  |  ------------------
  |  |  |  |  244|      0|#define SETSCALAR(x, v) (((x)->sxpinfo.scalar) = (v))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (244:51): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  415|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (415:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1117|       |
 1118|  40.8k|    R_size_t size;
 1119|  40.8k|    switch (TYPEOF(s)) {	/* get size in bytes */
  ------------------
  |  |  233|  40.8k|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
 1120|  1.45k|    case CHARSXP:
  ------------------
  |  |  120|  1.45k|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  ------------------
  |  Branch (1120:5): [True: 1.45k, False: 39.4k]
  ------------------
 1121|  1.45k|	size = XLENGTH(s) + 1;
  ------------------
  |  |  407|  1.45k|#define XLENGTH(x) XLENGTH_EX(x)
  ------------------
 1122|  1.45k|	break;
 1123|  5.69k|    case RAWSXP:
  ------------------
  |  |  136|  5.69k|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (1123:5): [True: 5.69k, False: 35.1k]
  ------------------
 1124|  5.69k|	size = XLENGTH(s);
  ------------------
  |  |  407|  5.69k|#define XLENGTH(x) XLENGTH_EX(x)
  ------------------
 1125|  5.69k|	break;
 1126|  4.43k|    case LGLSXP:
  ------------------
  |  |  121|  4.43k|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (1126:5): [True: 4.43k, False: 36.4k]
  ------------------
 1127|  11.6k|    case INTSXP:
  ------------------
  |  |  123|  11.6k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1127:5): [True: 7.18k, False: 33.6k]
  ------------------
 1128|  11.6k|	size = XLENGTH(s) * sizeof(int);
  ------------------
  |  |  407|  11.6k|#define XLENGTH(x) XLENGTH_EX(x)
  ------------------
 1129|  11.6k|	break;
 1130|  15.0k|    case REALSXP:
  ------------------
  |  |  124|  15.0k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1130:5): [True: 15.0k, False: 25.8k]
  ------------------
 1131|  15.0k|	size = XLENGTH(s) * sizeof(double);
  ------------------
  |  |  407|  15.0k|#define XLENGTH(x) XLENGTH_EX(x)
  ------------------
 1132|  15.0k|	break;
 1133|      0|    case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (1133:5): [True: 0, False: 40.8k]
  ------------------
 1134|      0|	size = XLENGTH(s) * sizeof(Rcomplex);
  ------------------
  |  |  407|      0|#define XLENGTH(x) XLENGTH_EX(x)
  ------------------
 1135|      0|	break;
 1136|  4.71k|    case STRSXP:
  ------------------
  |  |  126|  4.71k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1136:5): [True: 4.71k, False: 36.1k]
  ------------------
 1137|  4.71k|    case EXPRSXP:
  ------------------
  |  |  132|  4.71k|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (1137:5): [True: 0, False: 40.8k]
  ------------------
 1138|  7.07k|    case VECSXP:
  ------------------
  |  |  131|  7.07k|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (1138:5): [True: 2.35k, False: 38.5k]
  ------------------
 1139|  7.07k|	size = XLENGTH(s) * sizeof(SEXP);
  ------------------
  |  |  407|  7.07k|#define XLENGTH(x) XLENGTH_EX(x)
  ------------------
 1140|  7.07k|	break;
 1141|      0|    default:
  ------------------
  |  Branch (1141:5): [True: 0, False: 40.8k]
  ------------------
 1142|      0|	register_bad_sexp_type(s, __LINE__);
 1143|      0|	size = 0;
 1144|  40.8k|    }
 1145|  40.8k|    return BYTE2VEC(size);
  ------------------
  |  | 1300|  40.8k|#define BYTE2VEC(n)	(((n)>0)?(((n)-1)/sizeof(VECREC)+1):0)
  |  |  ------------------
  |  |  |  Branch (1300:22): [True: 40.8k, False: 0]
  |  |  ------------------
  ------------------
 1146|  40.8k|}
memory.c:ReleaseLargeFreeVectors:
 1174|    725|{
 1175|  2.17k|    for (int node_class = CUSTOM_NODE_CLASS; node_class <= LARGE_NODE_CLASS; node_class++) {
  ------------------
  |  |  539|    725|#define CUSTOM_NODE_CLASS (NUM_NODE_CLASSES - 2)
  |  |  ------------------
  |  |  |  |  531|    725|#define NUM_NODE_CLASSES 8
  |  |  ------------------
  ------------------
                  for (int node_class = CUSTOM_NODE_CLASS; node_class <= LARGE_NODE_CLASS; node_class++) {
  ------------------
  |  |  538|  2.17k|#define LARGE_NODE_CLASS  (NUM_NODE_CLASSES - 1)
  |  |  ------------------
  |  |  |  |  531|  2.17k|#define NUM_NODE_CLASSES 8
  |  |  ------------------
  ------------------
  |  Branch (1175:46): [True: 1.45k, False: 725]
  ------------------
 1176|  1.45k|	SEXP s = NEXT_NODE(R_GenHeap[node_class].New);
  ------------------
  |  |  639|  1.45k|#define NEXT_NODE(s) (s)->gengc_next_node
  ------------------
 1177|  42.3k|	while (s != R_GenHeap[node_class].New) {
  ------------------
  |  Branch (1177:9): [True: 40.8k, False: 1.45k]
  ------------------
 1178|  40.8k|	    SEXP next = NEXT_NODE(s);
  ------------------
  |  |  639|  40.8k|#define NEXT_NODE(s) (s)->gengc_next_node
  ------------------
 1179|  40.8k|	    if (1 /* CHAR(s) != NULL*/) {
  ------------------
  |  Branch (1179:10): [True: 40.8k, Folded]
  ------------------
 1180|       |		/* Consecutive representation of large vectors with header followed
 1181|       |		   by data. An alternative representation (currently not implemented)
 1182|       |		   could have CHAR(s) == NULL. */
 1183|  40.8k|		R_size_t size;
 1184|  40.8k|#ifdef PROTECTCHECK
 1185|  40.8k|		if (TYPEOF(s) == FREESXP)
  ------------------
  |  |  233|  40.8k|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
              		if (TYPEOF(s) == FREESXP)
  ------------------
  |  |  142|  40.8k|#define FREESXP     31    /* node released by GC */
  ------------------
  |  Branch (1185:7): [True: 40.8k, False: 0]
  ------------------
 1186|  40.8k|		    size = STDVEC_LENGTH(s);
  ------------------
  |  |  392|  40.8k|#define STDVEC_LENGTH(x) (((VECSEXP) (x))->vecsxp.length)
  ------------------
 1187|      0|		else
 1188|       |		    /* should not get here -- arrange for a warning/error? */
 1189|      0|		    size = getVecSizeInVEC(s);
 1190|       |#else
 1191|       |		size = getVecSizeInVEC(s);
 1192|       |#endif
 1193|  40.8k|		UNSNAP_NODE(s);
  ------------------
  |  |  648|  40.8k|#define UNSNAP_NODE(s) do { \
  |  |  649|  40.8k|  SEXP un__n__ = (s); \
  |  |  650|  40.8k|  SEXP next = NEXT_NODE(un__n__); \
  |  |  ------------------
  |  |  |  |  639|  40.8k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  ------------------
  |  |  651|  40.8k|  SEXP prev = PREV_NODE(un__n__); \
  |  |  ------------------
  |  |  |  |  640|  40.8k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  ------------------
  |  |  652|  40.8k|  SET_NEXT_NODE(prev, next); \
  |  |  ------------------
  |  |  |  |  641|  40.8k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|  40.8k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  653|  40.8k|  SET_PREV_NODE(next, prev); \
  |  |  ------------------
  |  |  |  |  642|  40.8k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|  40.8k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  654|  40.8k|} while(0)
  |  |  ------------------
  |  |  |  Branch (654:9): [Folded, False: 40.8k]
  |  |  ------------------
  ------------------
 1194|  40.8k|		R_GenHeap[node_class].AllocCount--;
 1195|  40.8k|		if (node_class == LARGE_NODE_CLASS) {
  ------------------
  |  |  538|  40.8k|#define LARGE_NODE_CLASS  (NUM_NODE_CLASSES - 1)
  |  |  ------------------
  |  |  |  |  531|  40.8k|#define NUM_NODE_CLASSES 8
  |  |  ------------------
  ------------------
  |  Branch (1195:7): [True: 40.8k, False: 0]
  ------------------
 1196|  40.8k|		    R_LargeVallocSize -= size;
 1197|  40.8k|		    free(s);
 1198|  40.8k|		} else {
 1199|      0|		    custom_node_free(s);
 1200|      0|		}
 1201|  40.8k|	    }
 1202|  40.8k|	    s = next;
 1203|  40.8k|	}
 1204|  1.45k|    }
 1205|    725|}
memory.c:AdjustHeapSize:
 1210|    725|{
 1211|    725|    R_size_t R_MinNFree = (R_size_t)(orig_R_NSize * R_MinFreeFrac);
 1212|    725|    R_size_t R_MinVFree = (R_size_t)(orig_R_VSize * R_MinFreeFrac);
 1213|    725|    R_size_t NNeeded = R_NodesInUse + R_MinNFree;
 1214|    725|    R_size_t VNeeded = R_SmallVallocSize + R_LargeVallocSize
 1215|    725|	+ size_needed + R_MinVFree;
 1216|    725|    double node_occup = ((double) NNeeded) / R_NSize;
 1217|    725|    double vect_occup =	((double) VNeeded) / R_VSize;
 1218|       |
 1219|    725|    if (node_occup > R_NGrowFrac) {
  ------------------
  |  Branch (1219:9): [True: 2, False: 723]
  ------------------
 1220|      2|	R_size_t change =
 1221|      2|	    (R_size_t)(R_NGrowIncrMin + R_NGrowIncrFrac * R_NSize);
 1222|       |
 1223|       |	/* for early adjustments grow more aggressively */
 1224|      2|	static R_size_t last_in_use = 0;
 1225|      2|	static int adjust_count = 1;
 1226|      2|	if (adjust_count < 50) {
  ------------------
  |  Branch (1226:6): [True: 2, False: 0]
  ------------------
 1227|      2|	    adjust_count++;
 1228|       |
 1229|       |	    /* A decrease in live nodes contributes no predicted growth. */
 1230|      2|	    double growth = R_NodesInUse > last_in_use
  ------------------
  |  Branch (1230:22): [True: 2, False: 0]
  ------------------
 1231|      2|		? (double)(R_NodesInUse - last_in_use) : 0.0;
 1232|       |
 1233|       |	    /* Try to achieve and occupancy rate of R_NGrowFrac. */
 1234|      2|	    double target = ((double) R_NodesInUse + growth) / R_NGrowFrac;
 1235|      2|	    last_in_use = R_NodesInUse;
 1236|       |
 1237|       |	    /* Exclude out-of-range conversion, including a rounded-up
 1238|       |	       SIZE_MAX. */
 1239|      2|	    if (target < (double) R_SIZE_T_MAX) {
  ------------------
  |  | 1044|      2|# define R_SIZE_T_MAX SIZE_MAX
  ------------------
  |  Branch (1239:10): [True: 2, False: 0]
  ------------------
 1240|      2|		R_size_t next_nsize = (R_size_t) target;
 1241|      2|		if (next_nsize > R_NSize && next_nsize - R_NSize > change)
  ------------------
  |  Branch (1241:7): [True: 2, False: 0]
  |  Branch (1241:31): [True: 2, False: 0]
  ------------------
 1242|      2|		    change = next_nsize - R_NSize;
 1243|      2|	    }
 1244|      2|	}
 1245|       |
 1246|      2|	if (R_NSize <= R_MaxNSize && change <= R_MaxNSize - R_NSize)
  ------------------
  |  Branch (1246:6): [True: 2, False: 0]
  |  Branch (1246:31): [True: 2, False: 0]
  ------------------
 1247|      2|	    R_NSize += change;
 1248|      2|    }
 1249|    723|    else if (node_occup < R_NShrinkFrac) {
  ------------------
  |  Branch (1249:14): [True: 0, False: 723]
  ------------------
 1250|      0|	R_NSize -= (R_size_t)(R_NShrinkIncrMin + R_NShrinkIncrFrac * R_NSize);
 1251|      0|	if (R_NSize < NNeeded)
  ------------------
  |  Branch (1251:6): [True: 0, False: 0]
  ------------------
 1252|      0|	    R_NSize = (NNeeded < R_MaxNSize) ? NNeeded: R_MaxNSize;
  ------------------
  |  Branch (1252:16): [True: 0, False: 0]
  ------------------
 1253|      0|	if (R_NSize < orig_R_NSize)
  ------------------
  |  Branch (1253:6): [True: 0, False: 0]
  ------------------
 1254|      0|	    R_NSize = orig_R_NSize;
 1255|      0|    }
 1256|       |
 1257|    725|    if (vect_occup > 1.0 && VNeeded < R_MaxVSize)
  ------------------
  |  Branch (1257:9): [True: 0, False: 725]
  |  Branch (1257:29): [True: 0, False: 0]
  ------------------
 1258|      0|	R_VSize = VNeeded;
 1259|    725|    if (vect_occup > R_VGrowFrac) {
  ------------------
  |  Branch (1259:9): [True: 0, False: 725]
  ------------------
 1260|      0|	R_size_t change = (R_size_t)(R_VGrowIncrMin + R_VGrowIncrFrac * R_VSize);
 1261|      0|	if (R_MaxVSize - R_VSize >= change)
  ------------------
  |  Branch (1261:6): [True: 0, False: 0]
  ------------------
 1262|      0|	    R_VSize += change;
 1263|      0|    }
 1264|    725|    else if (vect_occup < R_VShrinkFrac) {
  ------------------
  |  Branch (1264:14): [True: 725, False: 0]
  ------------------
 1265|    725|	R_VSize -= (R_size_t)(R_VShrinkIncrMin + R_VShrinkIncrFrac * R_VSize);
 1266|    725|	if (R_VSize < VNeeded)
  ------------------
  |  Branch (1266:6): [True: 0, False: 725]
  ------------------
 1267|      0|	    R_VSize = VNeeded;
 1268|    725|	if (R_VSize < orig_R_VSize)
  ------------------
  |  Branch (1268:6): [True: 725, False: 0]
  ------------------
 1269|    725|	    R_VSize = orig_R_VSize;
 1270|    725|    }
 1271|       |
 1272|    725|    DEBUG_ADJUST_HEAP_PRINT(node_occup, vect_occup);
 1273|    725|}
memory.c:TryToReleasePages:
 1058|    725|{
 1059|    725|    SEXP s;
 1060|    725|    int i;
 1061|    725|    static int release_count = 0;
 1062|       |
 1063|    725|    if (release_count == 0) {
  ------------------
  |  Branch (1063:9): [True: 363, False: 362]
  ------------------
 1064|    363|	release_count = R_PageReleaseFreq;
 1065|  2.54k|	for (i = 0; i < NUM_SMALL_NODE_CLASSES; i++) {
  ------------------
  |  |  540|  2.54k|#define NUM_SMALL_NODE_CLASSES (NUM_NODE_CLASSES - 2)
  |  |  ------------------
  |  |  |  |  531|  2.54k|#define NUM_NODE_CLASSES 8
  |  |  ------------------
  ------------------
  |  Branch (1065:14): [True: 2.17k, False: 363]
  ------------------
 1066|  2.17k|	    PAGE_HEADER *page, *last, *next;
 1067|  2.17k|	    int node_size = NODE_SIZE(i);
  ------------------
  |  |  592|  2.17k|  ((c) == 0 ? sizeof(SEXPREC) : \
  |  |  ------------------
  |  |  |  Branch (592:4): [True: 363, False: 1.81k]
  |  |  ------------------
  |  |  593|  2.17k|   sizeof(SEXPREC_ALIGN) + NodeClassSize[c] * sizeof(VECREC))
  ------------------
 1068|  2.17k|	    int page_count = (R_PAGE_SIZE - sizeof(PAGE_HEADER)) / node_size;
  ------------------
  |  |  588|  2.17k|  (((BASE_PAGE_SIZE - sizeof(PAGE_HEADER)) / sizeof(SEXPREC)) \
  |  |  ------------------
  |  |  |  |  583|  2.17k|# define BASE_PAGE_SIZE 8000
  |  |  ------------------
  |  |  589|  2.17k|   * sizeof(SEXPREC) \
  |  |  590|  2.17k|   + sizeof(PAGE_HEADER))
  ------------------
 1069|  2.17k|	    int maxrel, maxrel_pages, rel_pages, gen;
 1070|       |
 1071|  2.17k|	    maxrel = R_GenHeap[i].AllocCount;
 1072|  6.53k|	    for (gen = 0; gen < NUM_OLD_GENERATIONS; gen++)
  ------------------
  |  |  551|  6.53k|#define NUM_OLD_GENERATIONS 2
  ------------------
  |  Branch (1072:20): [True: 4.35k, False: 2.17k]
  ------------------
 1073|  4.35k|		maxrel -= (int)((1.0 + R_MaxKeepFrac) *
 1074|  4.35k|				R_GenHeap[i].OldCount[gen]);
 1075|  2.17k|	    maxrel_pages = maxrel > 0 ? maxrel / page_count : 0;
  ------------------
  |  Branch (1075:21): [True: 1.45k, False: 728]
  ------------------
 1076|       |
 1077|       |	    /* all nodes in New space should be both free and unmarked */
 1078|  2.17k|	    for (page = R_GenHeap[i].pages, rel_pages = 0, last = NULL;
 1079|  1.69M|		 rel_pages < maxrel_pages && page != NULL;) {
  ------------------
  |  Branch (1079:4): [True: 1.69M, False: 1.45k]
  |  Branch (1079:32): [True: 1.69M, False: 727]
  ------------------
 1080|  1.69M|		int j, in_use;
 1081|  1.69M|		char *data = PAGE_DATA(page);
  ------------------
  |  |  595|  1.69M|#define PAGE_DATA(p) ((void *) (p + 1))
  ------------------
 1082|       |
 1083|  1.69M|		next = page->next;
 1084|  91.6M|		for (in_use = 0, j = 0; j < page_count;
  ------------------
  |  Branch (1084:27): [True: 91.1M, False: 520k]
  ------------------
 1085|  91.1M|		     j++, data += node_size) {
 1086|  91.1M|		    s = (SEXP) data;
 1087|  91.1M|		    if (NODE_IS_MARKED(s)) {
  ------------------
  |  |  268|  91.1M|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  ------------------
  |  |  |  |  232|  91.1M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  ------------------
  |  |  |  Branch (268:27): [True: 1.17M, False: 89.9M]
  |  |  ------------------
  ------------------
 1088|  1.17M|			in_use = 1;
 1089|  1.17M|			break;
 1090|  1.17M|		    }
 1091|  91.1M|		}
 1092|  1.69M|		if (! in_use) {
  ------------------
  |  Branch (1092:7): [True: 520k, False: 1.17M]
  ------------------
 1093|   520k|		    ReleasePage(page, i);
 1094|   520k|		    if (last == NULL)
  ------------------
  |  Branch (1094:11): [True: 323k, False: 196k]
  ------------------
 1095|   323k|			R_GenHeap[i].pages = next;
 1096|   196k|		    else
 1097|   196k|			last->next = next;
 1098|   520k|		    rel_pages++;
 1099|   520k|		}
 1100|  1.17M|		else last = page;
 1101|  1.69M|		page = next;
 1102|  1.69M|	    }
 1103|  2.17k|	    DEBUG_RELEASE_PRINT(rel_pages, maxrel_pages, i);
 1104|  2.17k|	    R_GenHeap[i].Free = NEXT_NODE(R_GenHeap[i].New);
  ------------------
  |  |  639|  2.17k|#define NEXT_NODE(s) (s)->gengc_next_node
  ------------------
 1105|  2.17k|	}
 1106|    363|    }
 1107|    362|    else release_count--;
 1108|    725|}
memory.c:ReleasePage:
 1039|   520k|{
 1040|   520k|    SEXP s;
 1041|   520k|    char *data;
 1042|   520k|    int node_size, page_count, i;
 1043|       |
 1044|   520k|    node_size = NODE_SIZE(node_class);
  ------------------
  |  |  592|   520k|  ((c) == 0 ? sizeof(SEXPREC) : \
  |  |  ------------------
  |  |  |  Branch (592:4): [True: 447k, False: 72.3k]
  |  |  ------------------
  |  |  593|   520k|   sizeof(SEXPREC_ALIGN) + NodeClassSize[c] * sizeof(VECREC))
  ------------------
 1045|   520k|    page_count = (R_PAGE_SIZE - sizeof(PAGE_HEADER)) / node_size;
  ------------------
  |  |  588|   520k|  (((BASE_PAGE_SIZE - sizeof(PAGE_HEADER)) / sizeof(SEXPREC)) \
  |  |  ------------------
  |  |  |  |  583|   520k|# define BASE_PAGE_SIZE 8000
  |  |  ------------------
  |  |  589|   520k|   * sizeof(SEXPREC) \
  |  |  590|   520k|   + sizeof(PAGE_HEADER))
  ------------------
 1046|   520k|    data = PAGE_DATA(page);
  ------------------
  |  |  595|   520k|#define PAGE_DATA(p) ((void *) (p + 1))
  ------------------
 1047|       |
 1048|  71.9M|    for (i = 0; i < page_count; i++, data += node_size) {
  ------------------
  |  Branch (1048:17): [True: 71.4M, False: 520k]
  ------------------
 1049|  71.4M|	s = (SEXP) data;
 1050|  71.4M|	UNSNAP_NODE(s);
  ------------------
  |  |  648|  71.4M|#define UNSNAP_NODE(s) do { \
  |  |  649|  71.4M|  SEXP un__n__ = (s); \
  |  |  650|  71.4M|  SEXP next = NEXT_NODE(un__n__); \
  |  |  ------------------
  |  |  |  |  639|  71.4M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  ------------------
  |  |  651|  71.4M|  SEXP prev = PREV_NODE(un__n__); \
  |  |  ------------------
  |  |  |  |  640|  71.4M|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  ------------------
  |  |  652|  71.4M|  SET_NEXT_NODE(prev, next); \
  |  |  ------------------
  |  |  |  |  641|  71.4M|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|  71.4M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  653|  71.4M|  SET_PREV_NODE(next, prev); \
  |  |  ------------------
  |  |  |  |  642|  71.4M|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|  71.4M|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  654|  71.4M|} while(0)
  |  |  ------------------
  |  |  |  Branch (654:9): [Folded, False: 71.4M]
  |  |  ------------------
  ------------------
 1051|  71.4M|	R_GenHeap[node_class].AllocCount--;
 1052|  71.4M|    }
 1053|   520k|    R_GenHeap[node_class].PageCount--;
 1054|   520k|    free(page);
 1055|   520k|}
memory.c:SortNodes:
 1365|    725|{
 1366|    725|    SEXP s;
 1367|    725|    int i;
 1368|       |
 1369|  5.07k|    for (i = 0; i < NUM_SMALL_NODE_CLASSES; i++) {
  ------------------
  |  |  540|  5.07k|#define NUM_SMALL_NODE_CLASSES (NUM_NODE_CLASSES - 2)
  |  |  ------------------
  |  |  |  |  531|  5.07k|#define NUM_NODE_CLASSES 8
  |  |  ------------------
  ------------------
  |  Branch (1369:17): [True: 4.35k, False: 725]
  ------------------
 1370|  4.35k|	PAGE_HEADER *page;
 1371|  4.35k|	int node_size = NODE_SIZE(i);
  ------------------
  |  |  592|  4.35k|  ((c) == 0 ? sizeof(SEXPREC) : \
  |  |  ------------------
  |  |  |  Branch (592:4): [True: 725, False: 3.62k]
  |  |  ------------------
  |  |  593|  4.35k|   sizeof(SEXPREC_ALIGN) + NodeClassSize[c] * sizeof(VECREC))
  ------------------
 1372|  4.35k|	int page_count = (R_PAGE_SIZE - sizeof(PAGE_HEADER)) / node_size;
  ------------------
  |  |  588|  4.35k|  (((BASE_PAGE_SIZE - sizeof(PAGE_HEADER)) / sizeof(SEXPREC)) \
  |  |  ------------------
  |  |  |  |  583|  4.35k|# define BASE_PAGE_SIZE 8000
  |  |  ------------------
  |  |  589|  4.35k|   * sizeof(SEXPREC) \
  |  |  590|  4.35k|   + sizeof(PAGE_HEADER))
  ------------------
 1373|       |
 1374|  4.35k|	SET_NEXT_NODE(R_GenHeap[i].New, R_GenHeap[i].New);
  ------------------
  |  |  641|  4.35k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  ------------------
  |  |  |  |  639|  4.35k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  ------------------
  ------------------
 1375|  4.35k|	SET_PREV_NODE(R_GenHeap[i].New, R_GenHeap[i].New);
  ------------------
  |  |  642|  4.35k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  ------------------
  |  |  |  |  640|  4.35k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  ------------------
  ------------------
 1376|  3.29M|	for (page = R_GenHeap[i].pages; page != NULL; page = page->next) {
  ------------------
  |  Branch (1376:34): [True: 3.29M, False: 4.35k]
  ------------------
 1377|  3.29M|	    int j;
 1378|  3.29M|	    char *data = PAGE_DATA(page);
  ------------------
  |  |  595|  3.29M|#define PAGE_DATA(p) ((void *) (p + 1))
  ------------------
 1379|       |
 1380|   447M|	    for (j = 0; j < page_count; j++, data += node_size) {
  ------------------
  |  Branch (1380:18): [True: 444M, False: 3.29M]
  ------------------
 1381|   444M|		s = (SEXP) data;
 1382|   444M|		if (! NODE_IS_MARKED(s))
  ------------------
  |  |  268|   444M|#define NODE_IS_MARKED(s) (MARK(s)==1)
  |  |  ------------------
  |  |  |  |  232|   444M|#define MARK(x)		((x)->sxpinfo.mark)
  |  |  ------------------
  ------------------
  |  Branch (1382:7): [True: 211M, False: 232M]
  ------------------
 1383|   211M|		    SNAP_NODE(s, R_GenHeap[i].New);
  ------------------
  |  |  657|   211M|#define SNAP_NODE(s,t) do { \
  |  |  658|   211M|  SEXP sn__n__ = (s); \
  |  |  659|   211M|  SEXP next = (t); \
  |  |  660|   211M|  SEXP prev = PREV_NODE(next); \
  |  |  ------------------
  |  |  |  |  640|   211M|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  ------------------
  |  |  661|   211M|  SET_NEXT_NODE(sn__n__, next); \
  |  |  ------------------
  |  |  |  |  641|   211M|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|   211M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  662|   211M|  SET_PREV_NODE(next, sn__n__); \
  |  |  ------------------
  |  |  |  |  642|   211M|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|   211M|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  663|   211M|  SET_NEXT_NODE(prev, sn__n__); \
  |  |  ------------------
  |  |  |  |  641|   211M|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|   211M|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  664|   211M|  SET_PREV_NODE(sn__n__, prev); \
  |  |  ------------------
  |  |  |  |  642|   211M|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|   211M|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  665|   211M|} while (0)
  |  |  ------------------
  |  |  |  Branch (665:10): [Folded, False: 211M]
  |  |  ------------------
  ------------------
 1384|   444M|	    }
 1385|  3.29M|	}
 1386|  4.35k|	R_GenHeap[i].Free = NEXT_NODE(R_GenHeap[i].New);
  ------------------
  |  |  639|  4.35k|#define NEXT_NODE(s) (s)->gengc_next_node
  ------------------
 1387|  4.35k|    }
 1388|    725|}
memory.c:gc_end_timing:
 3183|    725|{
 3184|    725|    if (gctime_enabled) {
  ------------------
  |  Branch (3184:9): [True: 0, False: 725]
  ------------------
 3185|      0|	double times[5], delta;
 3186|      0|	R_getProcTime(times);
 3187|       |
 3188|       |	/* add delta to compensate for timer resolution */
 3189|       |#if 0
 3190|       |	/* this seems to over-compensate too */
 3191|       |	delta = R_getClockIncrement();
 3192|       |#else
 3193|      0|	delta = 0;
 3194|      0|#endif
 3195|       |
 3196|      0|	gctimes[0] += times[0] - gcstarttimes[0] + delta;
 3197|      0|	gctimes[1] += times[1] - gcstarttimes[1] + delta;
 3198|      0|	gctimes[2] += times[2] - gcstarttimes[2];
 3199|      0|	gctimes[3] += times[3] - gcstarttimes[3];
 3200|      0|	gctimes[4] += times[4] - gcstarttimes[4];
 3201|      0|    }
 3202|    725|}
memory.c:DeleteFromList:
 3652|    858|{
 3653|    858|    if (CAR(list) == object)
  ------------------
  |  Branch (3653:9): [True: 858, False: 0]
  ------------------
 3654|    858|	return CDR(list);
  ------------------
  |  |  445|    858|#define CDR(e)		((e)->u.listsxp.cdrval)
  ------------------
 3655|      0|    else {
 3656|      0|	SEXP last = list;
 3657|      0|	for (SEXP head = CDR(list); head != R_NilValue; head = CDR(head)) {
  ------------------
  |  |  445|      0|#define CDR(e)		((e)->u.listsxp.cdrval)
  ------------------
              	for (SEXP head = CDR(list); head != R_NilValue; head = CDR(head)) {
  ------------------
  |  |  445|      0|#define CDR(e)		((e)->u.listsxp.cdrval)
  ------------------
  |  Branch (3657:30): [True: 0, False: 0]
  ------------------
 3658|      0|	    if (CAR(head) == object) {
  ------------------
  |  Branch (3658:10): [True: 0, False: 0]
  ------------------
 3659|      0|		SETCDR(last, CDR(head));
  ------------------
  |  |  445|      0|#define CDR(e)		((e)->u.listsxp.cdrval)
  ------------------
 3660|      0|		return list;
 3661|      0|	    }
 3662|      0|	    else last = head;
 3663|      0|	}
 3664|      0|	return list;
 3665|      0|    }
 3666|    858|}
memory.c:checkMSet:
 3774|  10.2k|{
 3775|  10.2k|    SEXP store = CAR(mset);
 3776|  10.2k|    SEXP npreserved = CDR(mset);
  ------------------
  |  |  445|  10.2k|#define CDR(e)		((e)->u.listsxp.cdrval)
  ------------------
 3777|  10.2k|    SEXP isize = TAG(mset);
  ------------------
  |  |  440|  10.2k|#define TAG(e)		((e)->u.listsxp.tagval)
  ------------------
 3778|  10.2k|    if (/*MAYBE_REFERENCED(mset) ||*/
 3779|  10.2k|	((store != R_NilValue) &&
  ------------------
  |  Branch (3779:3): [True: 10.2k, False: 44]
  ------------------
 3780|  10.2k|	 (TYPEOF(store) != VECSXP /*|| MAYBE_REFERENCED(store)*/)) ||
  ------------------
  |  |  233|  10.2k|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
              	 (TYPEOF(store) != VECSXP /*|| MAYBE_REFERENCED(store)*/)) ||
  ------------------
  |  |  131|  10.2k|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (3780:3): [True: 0, False: 10.2k]
  ------------------
 3781|  10.2k|	(TYPEOF(npreserved) != INTSXP || XLENGTH(npreserved) != 1 /*||
  ------------------
  |  |  233|  10.2k|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
              	(TYPEOF(npreserved) != INTSXP || XLENGTH(npreserved) != 1 /*||
  ------------------
  |  |  123|  20.5k|#define INTSXP	    13	  /* integer vectors */
  ------------------
              	(TYPEOF(npreserved) != INTSXP || XLENGTH(npreserved) != 1 /*||
  ------------------
  |  |  407|  10.2k|#define XLENGTH(x) XLENGTH_EX(x)
  ------------------
  |  Branch (3781:3): [True: 0, False: 10.2k]
  |  Branch (3781:35): [True: 0, False: 10.2k]
  ------------------
 3782|  10.2k|	 MAYBE_REFERENCED(npreserved)*/) ||
 3783|  10.2k|	(TYPEOF(isize) != INTSXP || XLENGTH(isize) != 1))
  ------------------
  |  |  233|  10.2k|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
              	(TYPEOF(isize) != INTSXP || XLENGTH(isize) != 1))
  ------------------
  |  |  123|  20.5k|#define INTSXP	    13	  /* integer vectors */
  ------------------
              	(TYPEOF(isize) != INTSXP || XLENGTH(isize) != 1))
  ------------------
  |  |  407|  10.2k|#define XLENGTH(x) XLENGTH_EX(x)
  ------------------
  |  Branch (3783:3): [True: 0, False: 10.2k]
  |  Branch (3783:30): [True: 0, False: 10.2k]
  ------------------
 3784|       |
 3785|      0|	error("Invalid mset");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 3786|  10.2k|}
memory.c:old_to_new:
 1309|  75.1k|{
 1310|       |#ifdef EXPEL_OLD_TO_NEW
 1311|       |    AgeNodeAndChildren(y, NODE_GENERATION(x));
 1312|       |#else
 1313|  75.1k|    UNSNAP_NODE(x);
  ------------------
  |  |  648|  75.1k|#define UNSNAP_NODE(s) do { \
  |  |  649|  75.1k|  SEXP un__n__ = (s); \
  |  |  650|  75.1k|  SEXP next = NEXT_NODE(un__n__); \
  |  |  ------------------
  |  |  |  |  639|  75.1k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  ------------------
  |  |  651|  75.1k|  SEXP prev = PREV_NODE(un__n__); \
  |  |  ------------------
  |  |  |  |  640|  75.1k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  ------------------
  |  |  652|  75.1k|  SET_NEXT_NODE(prev, next); \
  |  |  ------------------
  |  |  |  |  641|  75.1k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|  75.1k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  653|  75.1k|  SET_PREV_NODE(next, prev); \
  |  |  ------------------
  |  |  |  |  642|  75.1k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|  75.1k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  654|  75.1k|} while(0)
  |  |  ------------------
  |  |  |  Branch (654:9): [Folded, False: 75.1k]
  |  |  ------------------
  ------------------
 1314|  75.1k|    SNAP_NODE(x, R_GenHeap[NODE_CLASS(x)].OldToNew[NODE_GENERATION(x)]);
  ------------------
  |  |  657|  75.1k|#define SNAP_NODE(s,t) do { \
  |  |  658|  75.1k|  SEXP sn__n__ = (s); \
  |  |  659|  75.1k|  SEXP next = (t); \
  |  |  660|  75.1k|  SEXP prev = PREV_NODE(next); \
  |  |  ------------------
  |  |  |  |  640|  75.1k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  ------------------
  |  |  661|  75.1k|  SET_NEXT_NODE(sn__n__, next); \
  |  |  ------------------
  |  |  |  |  641|  75.1k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|  75.1k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  662|  75.1k|  SET_PREV_NODE(next, sn__n__); \
  |  |  ------------------
  |  |  |  |  642|  75.1k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|  75.1k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  663|  75.1k|  SET_NEXT_NODE(prev, sn__n__); \
  |  |  ------------------
  |  |  |  |  641|  75.1k|#define SET_NEXT_NODE(s,t) (NEXT_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  639|  75.1k|#define NEXT_NODE(s) (s)->gengc_next_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  664|  75.1k|  SET_PREV_NODE(sn__n__, prev); \
  |  |  ------------------
  |  |  |  |  642|  75.1k|#define SET_PREV_NODE(s,t) (PREV_NODE(s) = (t))
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|  75.1k|#define PREV_NODE(s) (s)->gengc_prev_node
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  665|  75.1k|} while (0)
  |  |  ------------------
  |  |  |  Branch (665:10): [Folded, False: 75.1k]
  |  |  ------------------
  ------------------
 1315|  75.1k|#endif
 1316|  75.1k|}
memory.c:check_SET_TYPEOF:
 4043|  15.8M|{
 4044|  15.8M|    if (ALTREP(x))
  ------------------
  |  |  242|  15.8M|#define ALTREP(x)       ((x)->sxpinfo.alt)
  |  |  ------------------
  |  |  |  Branch (242:25): [True: 0, False: 15.8M]
  |  |  ------------------
  ------------------
 4045|      0|	error(_("can't change the type of an ALTREP object from %s to %s"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("can't change the type of an ALTREP object from %s to %s"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4046|      0|	      sexptype2char(TYPEOF(x)), sexptype2char(v));
  ------------------
  |  | 1989|      0|# define sexptype2char		Rf_sexptype2char
  ------------------
              	      sexptype2char(TYPEOF(x)), sexptype2char(v));
  ------------------
  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
              	      sexptype2char(TYPEOF(x)), sexptype2char(v));
  ------------------
  |  | 1989|      0|# define sexptype2char		Rf_sexptype2char
  ------------------
 4047|  15.8M|    switch (TYPEOF(x)) {
  ------------------
  |  |  233|  15.8M|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
 4048|  15.8M|    case LISTSXP:
  ------------------
  |  |  113|  15.8M|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (4048:5): [True: 15.8M, False: 966]
  ------------------
 4049|  15.8M|    case LANGSXP:
  ------------------
  |  |  117|  15.8M|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (4049:5): [True: 0, False: 15.8M]
  ------------------
 4050|  15.8M|    case DOTSXP:
  ------------------
  |  |  127|  15.8M|#define DOTSXP	    17	  /* dot-dot-dot object */
  ------------------
  |  Branch (4050:5): [True: 966, False: 15.8M]
  ------------------
 4051|  15.8M|	if (BNDCELL_TAG(x))
  ------------------
  |  |  463|  15.8M|#define BNDCELL_TAG(e)	((e)->sxpinfo.extra)
  |  |  ------------------
  |  |  |  Branch (463:24): [True: 0, False: 15.8M]
  |  |  ------------------
  ------------------
 4052|      0|	    error(_("can't change the type of a binding cell"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("can't change the type of a binding cell"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 4053|  15.8M|	switch (v) {
 4054|    966|	case LISTSXP:
  ------------------
  |  |  113|    966|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (4054:2): [True: 966, False: 15.8M]
  ------------------
 4055|  11.6M|	case LANGSXP:
  ------------------
  |  |  117|  11.6M|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (4055:2): [True: 11.6M, False: 4.21M]
  ------------------
 4056|  15.8M|	case DOTSXP:
  ------------------
  |  |  127|  15.8M|#define DOTSXP	    17	  /* dot-dot-dot object */
  ------------------
  |  Branch (4056:2): [True: 4.21M, False: 11.6M]
  ------------------
 4057|  15.8M|	case BCODESXP: return;
  ------------------
  |  |  133|  15.8M|#define BCODESXP    21    /* byte code */
  ------------------
  |  Branch (4057:2): [True: 140, False: 15.8M]
  ------------------
 4058|      0|	default: bad_SET_TYPEOF(TYPEOF(x), v);
  ------------------
  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
  |  Branch (4058:2): [True: 0, False: 15.8M]
  ------------------
 4059|  15.8M|	}
 4060|      0|    case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (4060:5): [True: 0, False: 15.8M]
  ------------------
 4061|      0|    case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (4061:5): [True: 0, False: 15.8M]
  ------------------
 4062|      0|	switch (v) {
 4063|      0|	case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (4063:2): [True: 0, False: 0]
  ------------------
 4064|      0|	case LGLSXP: return;
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (4064:2): [True: 0, False: 0]
  ------------------
 4065|      0|	default: bad_SET_TYPEOF(TYPEOF(x), v);
  ------------------
  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
  |  Branch (4065:2): [True: 0, False: 0]
  ------------------
 4066|      0|	}
 4067|      0|    case VECSXP:
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (4067:5): [True: 0, False: 15.8M]
  ------------------
 4068|      0|    case EXPRSXP:
  ------------------
  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (4068:5): [True: 0, False: 15.8M]
  ------------------
 4069|      0|	switch (v) {
 4070|      0|	case VECSXP:
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (4070:2): [True: 0, False: 0]
  ------------------
 4071|      0|	case EXPRSXP: return;
  ------------------
  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (4071:2): [True: 0, False: 0]
  ------------------
 4072|      0|	default: bad_SET_TYPEOF(TYPEOF(x), v);
  ------------------
  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
  |  Branch (4072:2): [True: 0, False: 0]
  ------------------
 4073|      0|	}
 4074|      0|    default: bad_SET_TYPEOF(TYPEOF(x), v);
  ------------------
  |  |  233|      0|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
  |  Branch (4074:5): [True: 0, False: 15.8M]
  ------------------
 4075|  15.8M|    }
 4076|  15.8M|}
memory.c:CHK2:
 4132|   343M|{
 4133|   343M|    x = CHK(x);
 4134|   343M|    if(nvec[TYPEOF(x)])
  ------------------
  |  |  233|   343M|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
  |  Branch (4134:8): [True: 0, False: 343M]
  ------------------
 4135|      0|	error("LENGTH or similar applied to %s object", R_typeToChar(x));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 4136|   343M|    return x;
 4137|   343M|}
memory.c:CHKCONS:
 4393|  3.53G|{
 4394|  3.53G|    if (ALTREP(e))
  ------------------
  |  |  242|  3.53G|#define ALTREP(x)       ((x)->sxpinfo.alt)
  |  |  ------------------
  |  |  |  Branch (242:25): [True: 1.36M, False: 3.53G]
  |  |  ------------------
  ------------------
 4395|  1.36M|	return CHK(e);
 4396|  3.53G|    switch (TYPEOF(e)) {
  ------------------
  |  |  233|  3.53G|#define TYPEOF(x)	((x)->sxpinfo.type)
  ------------------
 4397|  3.21G|    case LISTSXP:
  ------------------
  |  |  113|  3.21G|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (4397:5): [True: 3.21G, False: 319M]
  ------------------
 4398|  3.29G|    case LANGSXP:
  ------------------
  |  |  117|  3.29G|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (4398:5): [True: 75.9M, False: 3.46G]
  ------------------
 4399|  3.34G|    case NILSXP:
  ------------------
  |  |  111|  3.34G|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (4399:5): [True: 47.9M, False: 3.48G]
  ------------------
 4400|  3.37G|    case DOTSXP:
  ------------------
  |  |  127|  3.37G|#define DOTSXP	    17	  /* dot-dot-dot object */
  ------------------
  |  Branch (4400:5): [True: 32.6M, False: 3.50G]
  ------------------
 4401|  3.37G|    case CLOSXP:    /**** use separate accessors? */
  ------------------
  |  |  114|  3.37G|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (4401:5): [True: 19.8k, False: 3.53G]
  ------------------
 4402|  3.53G|    case BCODESXP:  /**** use separate accessors? */
  ------------------
  |  |  133|  3.53G|#define BCODESXP    21    /* byte code */
  ------------------
  |  Branch (4402:5): [True: 163M, False: 3.37G]
  ------------------
 4403|  3.53G|    case ENVSXP:    /**** use separate accessors? */
  ------------------
  |  |  115|  3.53G|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (4403:5): [True: 0, False: 3.53G]
  ------------------
 4404|  3.53G|    case PROMSXP:   /**** use separate accessors? */
  ------------------
  |  |  116|  3.53G|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (4404:5): [True: 378, False: 3.53G]
  ------------------
 4405|  3.53G|    case EXTPTRSXP: /**** use separate accessors? */
  ------------------
  |  |  134|  3.53G|#define EXTPTRSXP   22    /* external pointer */
  ------------------
  |  Branch (4405:5): [True: 0, False: 3.53G]
  ------------------
 4406|  3.53G|	return CHK(e);
 4407|      0|    default:
  ------------------
  |  Branch (4407:5): [True: 0, False: 3.53G]
  ------------------
 4408|      0|	error("CAR/CDR/TAG or similar applied to %s object",
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 4409|      0|	      R_typeToChar(e));
 4410|  3.53G|    }
 4411|  3.53G|}

Rf_StrToInternal:
 1096|    816|{
 1097|    816|    int i;
 1098|   122k|    for (i = 0; R_FunTab[i].name; i++)
  ------------------
  |  Branch (1098:17): [True: 122k, False: 0]
  ------------------
 1099|   122k|	if (strcmp(s, R_FunTab[i].name) == 0) return i;
  ------------------
  |  Branch (1099:6): [True: 816, False: 121k]
  ------------------
 1100|      0|    return NA_INTEGER;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
 1101|    816|}
Rf_InitNames:
 1224|      2|{
 1225|       |    /* allocate the symbol table */
 1226|      2|    if (!(R_SymbolTable = (SEXP *) calloc(HSIZE, sizeof(SEXP))))
  ------------------
  |  | 1174|      2|#define HSIZE	  49157	/* The size of the hash table for symbols */
  ------------------
  |  Branch (1226:9): [True: 0, False: 2]
  ------------------
 1227|      0|	R_Suicide("couldn't allocate memory for symbol table");
 1228|       |
 1229|       |    /* Create marker values */
 1230|      2|    R_UnboundValue = mkSymMarker(R_NilValue);
 1231|      2|    R_MissingArg = mkSymMarker(mkChar(""));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
 1232|      2|    R_InBCInterpreter = mkSymMarker(mkChar("<in-bc-interp>"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
 1233|      2|    R_RestartToken = mkSymMarker(mkChar(""));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
 1234|      2|    R_CurrentExpression = mkSymMarker(mkChar("<current-expression>"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
 1235|       |
 1236|       |    /* String constants (CHARSXP values) */
 1237|       |    /* Note: we don't want NA_STRING to be in the CHARSXP cache, so that
 1238|       |       mkChar("NA") is distinct from NA_STRING */
 1239|       |    /* NA_STRING */
 1240|      2|    NA_STRING = allocCharsxp(strlen("NA"));
  ------------------
  |  |  433|      2|#define NA_STRING	R_NaString
  ------------------
                  NA_STRING = allocCharsxp(strlen("NA"));
  ------------------
  |  | 1864|      2|# define allocCharsxp		Rf_allocCharsxp
  ------------------
 1241|      2|    strcpy(CHAR_RW(NA_STRING), "NA");
  ------------------
  |  |  930|      2|#define CHAR_RW(x)	((char *) CHAR(x))
  |  |  ------------------
  |  |  |  |  203|      2|#define CHAR(x) R_CHAR(x)
  |  |  ------------------
  ------------------
 1242|      2|    SET_CACHED(NA_STRING);  /* Mark it */
  ------------------
  |  |  433|      2|#define NA_STRING	R_NaString
  ------------------
 1243|      2|    R_print.na_string = NA_STRING;
  ------------------
  |  |  433|      2|#define NA_STRING	R_NaString
  ------------------
 1244|       |    /* R_BlankString */
 1245|      2|    R_BlankString = mkChar("");
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
 1246|      2|    R_BlankScalarString = ScalarString(R_BlankString);
  ------------------
  |  | 1025|      2|#define ScalarString		Rf_ScalarString
  ------------------
 1247|      2|    MARK_NOT_MUTABLE(R_BlankScalarString);
 1248|       |
 1249|       |    /* Initialize the symbol Table */
 1250|  98.3k|    for (int i = 0; i < HSIZE; i++) R_SymbolTable[i] = R_NilValue;
  ------------------
  |  | 1174|  98.3k|#define HSIZE	  49157	/* The size of the hash table for symbols */
  ------------------
  |  Branch (1250:21): [True: 98.3k, False: 2]
  ------------------
 1251|       |
 1252|       |    /* Set up a set of globals so that a symbol table search can be
 1253|       |       avoided when matching something like dim or dimnames. */
 1254|      2|    SymbolShortcuts();
 1255|       |
 1256|       |    /*  Builtin Functions */
 1257|  1.54k|    for (int i = 0; R_FunTab[i].name; i++) installFunTab(i);
  ------------------
  |  Branch (1257:21): [True: 1.54k, False: 2]
  ------------------
 1258|       |
 1259|       |    /* Special base functions */
 1260|     94|    for (int i = 0; Spec_name[i]; i++)
  ------------------
  |  Branch (1260:21): [True: 92, False: 2]
  ------------------
 1261|     92|	SET_SPECIAL_SYMBOL(install(Spec_name[i]));
  ------------------
  |  |  934|     92|#define install			Rf_install
  ------------------
 1262|       |
 1263|      2|    R_initEvalSymbols();
 1264|      2|    initializeDDVALSymbols();
 1265|      2|    R_initialize_bcode();
 1266|      2|    R_init_altrep();
 1267|      2|}
Rf_install:
 1275|  9.57M|{
 1276|  9.57M|    SEXP sym;
 1277|  9.57M|    int i, hashcode;
 1278|       |
 1279|  9.57M|    hashcode = R_Newhashpjw(name);
 1280|  9.57M|    i = hashcode % HSIZE;
  ------------------
  |  | 1174|  9.57M|#define HSIZE	  49157	/* The size of the hash table for symbols */
  ------------------
 1281|       |    /* Check to see if the symbol is already present;  if it is, return it. */
 1282|  10.6M|    for (sym = R_SymbolTable[i]; sym != R_NilValue; sym = CDR(sym))
  ------------------
  |  Branch (1282:34): [True: 10.6M, False: 2.31k]
  ------------------
 1283|  10.6M|	if (strcmp(name, CHAR(PRINTNAME(CAR(sym)))) == 0) return (CAR(sym));
  ------------------
  |  |  203|  10.6M|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (1283:6): [True: 9.57M, False: 1.05M]
  ------------------
 1284|       |    /* Create a new symbol node and link it into the table. */
 1285|  2.31k|    if (*name == '\0')
  ------------------
  |  Branch (1285:9): [True: 0, False: 2.31k]
  ------------------
 1286|      0|	error(_("attempt to use zero-length variable name"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("attempt to use zero-length variable name"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1287|  2.31k|    if (strlen(name) > MAXIDSIZE)
  ------------------
  |  | 1175|  2.31k|#define MAXIDSIZE 10000	/* Largest symbol size,
  ------------------
  |  Branch (1287:9): [True: 0, False: 2.31k]
  ------------------
 1288|      0|	error(_("variable names are limited to %d bytes"), MAXIDSIZE);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("variable names are limited to %d bytes"), MAXIDSIZE);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
              	error(_("variable names are limited to %d bytes"), MAXIDSIZE);
  ------------------
  |  | 1175|      0|#define MAXIDSIZE 10000	/* Largest symbol size,
  ------------------
 1289|  2.31k|    sym = mkSYMSXP(mkChar(name), R_UnboundValue);
  ------------------
  |  | 1964|  2.31k|# define mkSYMSXP		Rf_mkSYMSXP
  ------------------
                  sym = mkSYMSXP(mkChar(name), R_UnboundValue);
  ------------------
  |  |  998|  2.31k|#define mkChar			Rf_mkChar
  ------------------
 1290|  2.31k|    SET_HASHVALUE(PRINTNAME(sym), hashcode);
 1291|  2.31k|    SET_HASHASH(PRINTNAME(sym), 1);
 1292|       |
 1293|  2.31k|    R_SymbolTable[i] = CONS(sym, R_SymbolTable[i]);
  ------------------
  |  |  309|  2.31k|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
 1294|  2.31k|    return (sym);
 1295|  9.57M|}
Rf_installNoTrChar:
 1302|  4.26M|{
 1303|  4.26M|    SEXP sym;
 1304|  4.26M|    int i, hashcode;
 1305|       |
 1306|  4.26M|    if( !HASHASH(charSXP) ) {
  ------------------
  |  Branch (1306:9): [True: 12.0k, False: 4.25M]
  ------------------
 1307|  12.0k|	hashcode = R_Newhashpjw(CHAR(charSXP));
  ------------------
  |  |  203|  12.0k|#define CHAR(x) R_CHAR(x)
  ------------------
 1308|  12.0k|	SET_HASHVALUE(charSXP, hashcode);
 1309|  12.0k|	SET_HASHASH(charSXP, 1);
 1310|  4.25M|    } else {
 1311|  4.25M|	hashcode = HASHVALUE(charSXP);
 1312|  4.25M|    }
 1313|  4.26M|    i = hashcode % HSIZE;
  ------------------
  |  | 1174|  4.26M|#define HSIZE	  49157	/* The size of the hash table for symbols */
  ------------------
 1314|       |    /* Check to see if the symbol is already present;  if it is, return it. */
 1315|  6.36M|    for (sym = R_SymbolTable[i]; sym != R_NilValue; sym = CDR(sym))
  ------------------
  |  Branch (1315:34): [True: 6.35M, False: 12.0k]
  ------------------
 1316|  6.35M|	if (strcmp(CHAR(charSXP), CHAR(PRINTNAME(CAR(sym)))) == 0) return (CAR(sym));
  ------------------
  |  |  203|  6.35M|#define CHAR(x) R_CHAR(x)
  ------------------
              	if (strcmp(CHAR(charSXP), CHAR(PRINTNAME(CAR(sym)))) == 0) return (CAR(sym));
  ------------------
  |  |  203|  6.35M|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (1316:6): [True: 4.25M, False: 2.10M]
  ------------------
 1317|       |    /* Create a new symbol node and link it into the table. */
 1318|  12.0k|    int len = LENGTH(charSXP);
 1319|  12.0k|    if (len == 0)
  ------------------
  |  Branch (1319:9): [True: 0, False: 12.0k]
  ------------------
 1320|      0|	error(_("attempt to use zero-length variable name"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("attempt to use zero-length variable name"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1321|  12.0k|    if (len > MAXIDSIZE)
  ------------------
  |  | 1175|  12.0k|#define MAXIDSIZE 10000	/* Largest symbol size,
  ------------------
  |  Branch (1321:9): [True: 0, False: 12.0k]
  ------------------
 1322|      0|	error(_("variable names are limited to %d bytes"), MAXIDSIZE);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("variable names are limited to %d bytes"), MAXIDSIZE);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
              	error(_("variable names are limited to %d bytes"), MAXIDSIZE);
  ------------------
  |  | 1175|      0|#define MAXIDSIZE 10000	/* Largest symbol size,
  ------------------
 1323|  12.0k|    if (IS_ASCII(charSXP) || (IS_UTF8(charSXP) && utf8locale) ||
  ------------------
  |  Branch (1323:9): [True: 12.0k, False: 0]
  |  Branch (1323:31): [True: 0, False: 0]
  |  Branch (1323:51): [True: 0, False: 0]
  ------------------
 1324|      0|					(IS_LATIN1(charSXP) && latin1locale) )
  ------------------
  |  Branch (1324:7): [True: 0, False: 0]
  |  Branch (1324:29): [True: 0, False: 0]
  ------------------
 1325|  12.0k|	sym = mkSYMSXP(charSXP, R_UnboundValue);
  ------------------
  |  | 1964|  12.0k|# define mkSYMSXP		Rf_mkSYMSXP
  ------------------
 1326|      0|    else {
 1327|       |	/* This branch is to match behaviour of install (which is older):
 1328|       |	   symbol C-string names are always interpreted as if
 1329|       |	   in the native locale, even when they are not in the native locale */
 1330|      0|	PROTECT(charSXP);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1331|      0|	sym = mkSYMSXP(mkChar(CHAR(charSXP)), R_UnboundValue);
  ------------------
  |  | 1964|      0|# define mkSYMSXP		Rf_mkSYMSXP
  ------------------
              	sym = mkSYMSXP(mkChar(CHAR(charSXP)), R_UnboundValue);
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
              	sym = mkSYMSXP(mkChar(CHAR(charSXP)), R_UnboundValue);
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 1332|      0|	SET_HASHVALUE(PRINTNAME(sym), hashcode);
 1333|      0|	SET_HASHASH(PRINTNAME(sym), 1);
 1334|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1335|      0|    }
 1336|       |
 1337|  12.0k|    R_SymbolTable[i] = CONS(sym, R_SymbolTable[i]);
  ------------------
  |  |  309|  12.0k|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
 1338|  12.0k|    return (sym);
 1339|  4.26M|}
Rf_installS3Signature:
 1343|  4.24M|SEXP installS3Signature(const char *className, const char *methodName) {
 1344|       |
 1345|  4.24M|    const char *src;
 1346|  4.24M|    char signature[maxLength];
 1347|       |
 1348|  4.24M|    int i = 0;
 1349|  16.9M|    for(src = className; *src; src++) {
  ------------------
  |  Branch (1349:26): [True: 12.7M, False: 4.24M]
  ------------------
 1350|  12.7M|	if (i == maxLength)
  ------------------
  |  | 1341|  12.7M|#define maxLength 512
  ------------------
  |  Branch (1350:6): [True: 0, False: 12.7M]
  ------------------
 1351|      0|	    error(_("class name too long in '%s'"), className);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("class name too long in '%s'"), className);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1352|  12.7M|	signature[i++] = *src;
 1353|  12.7M|    }
 1354|       |
 1355|  4.24M|    if (i == maxLength)
  ------------------
  |  | 1341|  4.24M|#define maxLength 512
  ------------------
  |  Branch (1355:9): [True: 0, False: 4.24M]
  ------------------
 1356|      0|	error(_("class name too long in '%s'"), className);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("class name too long in '%s'"), className);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1357|  4.24M|    signature[i++] = '.';
 1358|       |
 1359|  34.0M|    for(src = methodName; *src; src++) {
  ------------------
  |  Branch (1359:27): [True: 29.7M, False: 4.24M]
  ------------------
 1360|  29.7M|	if (i == maxLength)
  ------------------
  |  | 1341|  29.7M|#define maxLength 512
  ------------------
  |  Branch (1360:6): [True: 0, False: 29.7M]
  ------------------
 1361|      0|	    error(_("class name too long in '%s'"), className);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("class name too long in '%s'"), className);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1362|  29.7M|	signature[i++] = *src;
 1363|  29.7M|    }
 1364|       |
 1365|  4.24M|    if (i == maxLength)
  ------------------
  |  | 1341|  4.24M|#define maxLength 512
  ------------------
  |  Branch (1365:9): [True: 0, False: 4.24M]
  ------------------
 1366|      0|	error(_("class name too long in '%s'"), className);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("class name too long in '%s'"), className);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1367|  4.24M|    signature[i] = 0;
 1368|       |
 1369|  4.24M|    return install(signature);
  ------------------
  |  |  934|  4.24M|#define install			Rf_install
  ------------------
 1370|  4.24M|}
do_internal:
 1376|  8.86k|{
 1377|  8.86k|    SEXP s, fun, ans;
 1378|  8.86k|    int save = R_PPStackTop;
 1379|  8.86k|    int flag;
 1380|  8.86k|    const void *vmax = vmaxget();
 1381|       |
 1382|  8.86k|    checkArity(op, args);
  ------------------
  |  | 1793|  8.86k|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1383|  8.86k|    s = CAR(args);
 1384|  8.86k|    if (!isPairList(s))
  ------------------
  |  |  961|  8.86k|#define isPairList		Rf_isPairList
  ------------------
  |  Branch (1384:9): [True: 0, False: 8.86k]
  ------------------
 1385|      0|	errorcall(call, _("invalid .Internal() argument"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("invalid .Internal() argument"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1386|  8.86k|    fun = CAR(s);
 1387|  8.86k|    if (!isSymbol(fun))
  ------------------
  |  |  953|  8.86k|#define isSymbol		Rf_isSymbol
  ------------------
  |  Branch (1387:9): [True: 0, False: 8.86k]
  ------------------
 1388|      0|	errorcall(call, _("invalid .Internal() argument"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("invalid .Internal() argument"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1389|  8.86k|    if (INTERNAL(fun) == R_NilValue)
  ------------------
  |  Branch (1389:9): [True: 0, False: 8.86k]
  ------------------
 1390|      0|	errorcall(call, _("there is no .Internal function '%s'"),
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("there is no .Internal function '%s'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1391|      0|		  CHAR(PRINTNAME(fun)));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 1392|       |
 1393|       |#ifdef CHECK_INTERNALS
 1394|       |    if(R_Is_Running > 1 && getenv("_R_CHECK_INTERNALS2_")) {
 1395|       |	// find out if we were called from a namespace.
 1396|       |	// inlining by the compiler can defeat this.
 1397|       |	const char *ns = "";
 1398|       |	SEXP e = env;
 1399|       |	for (int i = 0; i < 10; i++) {
 1400|       |	    if(R_IsNamespaceEnv(e)) {
 1401|       |		ns = CHAR(STRING_ELT(R_NamespaceEnvSpec(e), 0));
 1402|       |		break;
 1403|       |	    }
 1404|       |	    e = ENCLOS(e);
 1405|       |	    if (isNull(e)) break;
 1406|       |	}
 1407|       |	const char *fn = CHAR(PRINTNAME(fun));
 1408|       |	// nspackloader.R contained a .Internal call, so need this
 1409|       |	// until all packages have been re-installed.
 1410|       |	if (!strlen(ns) && strcmp(fn, "getRegisteredNamespace"))
 1411|       |	    errorcall(call,
 1412|       |		      ".Internal(%s()) not called from a base namespace\n", fn);
 1413|       |	if (strlen(ns)
 1414|       |	    && strcmp(ns, "base") && strcmp(ns, "tools")
 1415|       |	    && strcmp(ns, "utils") && strcmp(ns, "compiler"))
 1416|       |	    errorcall(call,
 1417|       |		      ".Internal(%s()) called from namespace '%s'\n", fn, ns);
 1418|       |    }
 1419|       |#endif
 1420|       |
 1421|       |
 1422|  8.86k|    args = CDR(s);
 1423|  8.86k|    if (TYPEOF(INTERNAL(fun)) == BUILTINSXP)
  ------------------
  |  |  119|  8.86k|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (1423:9): [True: 1.11k, False: 7.74k]
  ------------------
 1424|  1.11k|	args = evalList(args, env, call, 0);
  ------------------
  |  | 1903|  1.11k|# define evalList		Rf_evalList
  ------------------
 1425|  8.86k|    PROTECT(args);
  ------------------
  |  |  357|  8.86k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1426|  8.86k|    flag = PRIMPRINT(INTERNAL(fun));
  ------------------
  |  | 1350|  8.86k|#define PRIMPRINT(x)	(((R_FunTab[PRIMOFFSET(x)].eval)/100)%10)
  |  |  ------------------
  |  |  |  |  913|  8.86k|#define eval			Rf_eval
  |  |  ------------------
  ------------------
 1427|  8.86k|    R_Visible = flag != 1;
 1428|  8.86k|    ans = PRIMFUN(INTERNAL(fun)) (s, INTERNAL(fun), args, env);
  ------------------
  |  | 1345|  8.86k|#define PRIMFUN(x)	(R_FunTab[PRIMOFFSET(x)].cfun)
  ------------------
 1429|       |    /* This resetting of R_Visible = FALSE was to fix PR#7397,
 1430|       |       now fixed in GEText */
 1431|  8.86k|    if (flag < 2) R_Visible = flag != 1;
  ------------------
  |  Branch (1431:9): [True: 8.66k, False: 200]
  ------------------
 1432|       |#ifdef CHECK_VISIBILITY
 1433|       |    if(flag < 2 && flag == R_Visible) {
 1434|       |	char *nm = CHAR(PRINTNAME(fun));
 1435|       |	if(strcmp(nm, "eval") && strcmp(nm, "options") && strcmp(nm, "Recall")
 1436|       |	   && strcmp(nm, "do.call") && strcmp(nm, "switch")
 1437|       |	   && strcmp(nm, "recordGraphics") && strcmp(nm, "writeBin")
 1438|       |	   && strcmp(nm, "NextMethod"))
 1439|       |	    printf("vis: internal %s\n", nm);
 1440|       |    }
 1441|       |#endif
 1442|  8.86k|    UNPROTECT(1);
  ------------------
  |  |  358|  8.86k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1443|  8.86k|    check_stack_balance(INTERNAL(fun), save);
  ------------------
  |  | 1871|  8.86k|# define check_stack_balance	Rf_check_stack_balance
  ------------------
 1444|  8.86k|    vmaxset(vmax);
 1445|  8.86k|    return (ans);
 1446|  8.86k|}
names.c:createDDVALSymbol:
 1191|    130|static SEXP createDDVALSymbol(int n) {
 1192|    130|    char buf[15];
 1193|    130|    snprintf(buf, 15, "..%d", n);
 1194|    130|    return install(buf);
  ------------------
  |  |  934|    130|#define install			Rf_install
  ------------------
 1195|    130|}
names.c:mkSymMarker:
 1212|     10|{
 1213|     10|    PROTECT(pname);
  ------------------
  |  |  357|     10|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1214|     10|    SEXP ans = allocSExp(SYMSXP);
  ------------------
  |  |  874|     10|#define allocSExp		Rf_allocSExp
  ------------------
                  SEXP ans = allocSExp(SYMSXP);
  ------------------
  |  |  112|     10|#define SYMSXP	     1	  /* symbols */
  ------------------
 1215|     10|    SET_SYMVALUE(ans, ans);
 1216|     10|    SET_ATTRIB(ans, R_NilValue);
 1217|     10|    SET_PRINTNAME(ans, pname);
 1218|     10|    UNPROTECT(1);
  ------------------
  |  |  358|     10|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1219|     10|    return ans;
 1220|     10|}
names.c:SymbolShortcuts:
 1115|      2|{  /* ../include/Rinternals.h : */
 1116|      2|    R_Bracket2Symbol = install("[[");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1117|      2|    R_BracketSymbol = install("[");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1118|      2|    R_BraceSymbol = install("{");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1119|      2|    R_ClassSymbol = install("class");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1120|      2|    R_DeviceSymbol = install(".Device");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1121|      2|    R_DimNamesSymbol = install("dimnames");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1122|      2|    R_DimSymbol = install("dim");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1123|      2|    R_DollarSymbol = install("$");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1124|      2|    R_AtsignSymbol = install("@");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1125|      2|    R_DotsSymbol = install("...");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1126|      2|    R_DropSymbol = install("drop");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1127|      2|    R_EvalSymbol = install("eval");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1128|       |
 1129|       |    /* The last value symbol is used by the interpreter for recording
 1130|       |       the value of the most recently evaluated top level
 1131|       |       expression. To avoid creating an additional reference that
 1132|       |       would requires duplicating on modification this symbol does not
 1133|       |       increment reference counts on its symbol value.  This is safe
 1134|       |       since the symbol value corresponds to the base environment
 1135|       |       where complex assignments are not allowed.  */
 1136|      2|    R_LastvalueSymbol = install(".Last.value");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1137|      2|    DISABLE_REFCNT(R_LastvalueSymbol);
 1138|       |
 1139|      2|    R_LevelsSymbol = install("levels");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1140|      2|    R_ModeSymbol = install("mode");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1141|      2|    R_NameSymbol  = install("name");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1142|      2|    R_NamesSymbol = install("names");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1143|      2|    R_NaRmSymbol = install("na.rm");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1144|      2|    R_PackageSymbol = install("package");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1145|      2|    R_PreviousSymbol = install("previous");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1146|      2|    R_QuoteSymbol = install("quote");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1147|      2|    R_RowNamesSymbol = install("row.names");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1148|      2|    R_SeedsSymbol = install(".Random.seed");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1149|      2|    R_SortListSymbol = install("sort.list");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1150|      2|    R_SourceSymbol = install("source");   /* Not used by R or core packages */
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1151|      2|    R_TspSymbol = install("tsp");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1152|       |    /* ../include/Defn.h , i.e. non-public : */
 1153|      2|    R_CommentSymbol = install("comment");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1154|      2|    R_DotEnvSymbol = install(".Environment");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1155|      2|    R_ExactSymbol = install("exact");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1156|      2|    R_RecursiveSymbol = install("recursive");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1157|      2|    R_SrcfileSymbol = install("srcfile");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1158|      2|    R_SrcrefSymbol = install("srcref");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1159|      2|    R_WholeSrcrefSymbol = install("wholeSrcref");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1160|      2|    R_TmpvalSymbol = install("*tmp*");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1161|      2|    R_UseNamesSymbol = install("use.names");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1162|      2|    R_ColonSymbol = install(":");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1163|      2|    R_DoubleColonSymbol = install("::");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1164|      2|    R_TripleColonSymbol = install(":::");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1165|      2|    R_ConnIdSymbol = install("conn_id");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1166|      2|    R_DevicesSymbol = install(".Devices");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1167|      2|    R_baseSymbol = // <- back compatible, "deprecated"
 1168|      2|    R_BaseSymbol = install("base");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1169|      2|    R_SpecSymbol = install("spec");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1170|      2|    R_NamespaceEnvSymbol = install(".__NAMESPACE__.");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1171|      2|    R_AsCharacterSymbol = install("as.character");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1172|      2|    R_FunctionSymbol = install("function");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1173|       |
 1174|      2|    R_dot_Generic = install(".Generic");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1175|      2|    R_dot_Method = install(".Method");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1176|      2|    R_dot_Methods = install(".Methods");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1177|      2|    R_dot_defined = install(".defined");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1178|      2|    R_dot_target = install(".target");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1179|      2|    R_dot_Group = install(".Group");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1180|      2|    R_dot_Class = install(".Class");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1181|      2|    R_dot_GenericCallEnv = install(".GenericCallEnv");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1182|      2|    R_dot_GenericDefEnv = install(".GenericDefEnv");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1183|      2|    R_dot_packageName = install(".packageName");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1184|      2|}
names.c:installFunTab:
 1104|  1.54k|{
 1105|  1.54k|    SEXP prim;
 1106|       |    /* mkPRIMSXP caches its results, thus prim does not need protection */
 1107|  1.54k|    prim = mkPRIMSXP(i, R_FunTab[i].eval % 10);
  ------------------
  |  |  913|  1.54k|#define eval			Rf_eval
  ------------------
 1108|  1.54k|    if ((R_FunTab[i].eval % 100 )/10)
  ------------------
  |  |  913|  1.54k|#define eval			Rf_eval
  ------------------
  |  Branch (1108:9): [True: 1.12k, False: 422]
  ------------------
 1109|  1.12k|	SET_INTERNAL(install(R_FunTab[i].name), prim);
  ------------------
  |  |  934|  1.12k|#define install			Rf_install
  ------------------
 1110|    422|    else
 1111|    422|	SET_SYMVALUE(install(R_FunTab[i].name), prim);
  ------------------
  |  |  934|    422|#define install			Rf_install
  ------------------
 1112|  1.54k|}
names.c:initializeDDVALSymbols:
 1197|      2|static void initializeDDVALSymbols(void) {
 1198|    132|    for(int i = 0; i < N_DDVAL_SYMBOLS; i++) {
  ------------------
  |  | 1187|    132|#define N_DDVAL_SYMBOLS 65
  ------------------
  |  Branch (1198:20): [True: 130, False: 2]
  ------------------
 1199|    130|	DDVALSymbols[i] = createDDVALSymbol(i);
 1200|    130|    }
 1201|      2|}

R_LookupMethod:
  235|  4.24M|{
  236|  4.24M|    SEXP val, top = R_NilValue;	/* -Wall */
  237|  4.24M|    static SEXP s_S3MethodsTable = NULL;
  238|  4.24M|    PROTECT_INDEX validx;
  239|       |
  240|  4.24M|    if (TYPEOF(callrho) != ENVSXP) {
  ------------------
  |  |  115|  4.24M|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (240:9): [True: 0, False: 4.24M]
  ------------------
  241|      0|	if (TYPEOF(callrho) == NILSXP)
  ------------------
  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (241:6): [True: 0, False: 0]
  ------------------
  242|      0|	    error(_("use of NULL environment is defunct"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("use of NULL environment is defunct"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  243|      0|	else
  244|      0|	    error(_("bad generic call environment"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("bad generic call environment"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  245|      0|    }
  246|  4.24M|    if (defrho == R_BaseEnv)
  ------------------
  |  Branch (246:9): [True: 4.21M, False: 24.5k]
  ------------------
  247|  4.21M|	defrho = R_BaseNamespace;
  248|  24.5k|    else if (TYPEOF(defrho) != ENVSXP) {
  ------------------
  |  |  115|  24.5k|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (248:14): [True: 0, False: 24.5k]
  ------------------
  249|      0|	if (TYPEOF(defrho) == NILSXP)
  ------------------
  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (249:6): [True: 0, False: 0]
  ------------------
  250|      0|	    error(_("use of NULL environment is defunct"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("use of NULL environment is defunct"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  251|      0|	else
  252|      0|	    error(_("bad generic definition environment"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("bad generic definition environment"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  253|      0|    }
  254|       |
  255|       |    /* This evaluates promises */
  256|  4.24M|    PROTECT(top = topenv(R_NilValue, callrho));
  ------------------
  |  |  357|  4.24M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  257|  4.24M|    val = findFunInEnvRange(method, callrho, top);
  258|  4.24M|    if(val != R_UnboundValue) {
  ------------------
  |  Branch (258:8): [True: 4.79k, False: 4.23M]
  ------------------
  259|  4.79k|	UNPROTECT(1); /* top */
  ------------------
  |  |  358|  4.79k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  260|  4.79k|	return val;
  261|  4.79k|    }
  262|       |
  263|  4.23M|    PROTECT_WITH_INDEX(val, &validx);
  ------------------
  |  |  366|  4.23M|#define PROTECT_WITH_INDEX(x,i) R_ProtectWithIndex(x,i)
  ------------------
  264|       |    /* We assume here that no one registered a non-function */
  265|  4.23M|    if (!s_S3MethodsTable)
  ------------------
  |  Branch (265:9): [True: 2, False: 4.23M]
  ------------------
  266|      2|	s_S3MethodsTable = install(".__S3MethodsTable__.");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  267|  4.23M|    SEXP table = R_findVarInFrame(defrho, s_S3MethodsTable);
  268|  4.23M|    if (TYPEOF(table) == PROMSXP) {
  ------------------
  |  |  116|  4.23M|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (268:9): [True: 4.23M, False: 0]
  ------------------
  269|  4.23M|	PROTECT(table);
  ------------------
  |  |  357|  4.23M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  270|  4.23M|	table = eval(table, R_BaseEnv);
  ------------------
  |  |  913|  4.23M|#define eval			Rf_eval
  ------------------
  271|  4.23M|	UNPROTECT(1); /* table */
  ------------------
  |  |  358|  4.23M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  272|  4.23M|    }
  273|  4.23M|    if (TYPEOF(table) == ENVSXP) {
  ------------------
  |  |  115|  4.23M|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (273:9): [True: 4.23M, False: 0]
  ------------------
  274|  4.23M|	PROTECT(table);
  ------------------
  |  |  357|  4.23M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  275|  4.23M|	REPROTECT(val = R_findVarInFrame(table, method), validx);
  ------------------
  |  |  367|  4.23M|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
  276|  4.23M|	UNPROTECT(1); /* table */
  ------------------
  |  |  358|  4.23M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  277|  4.23M|	if (TYPEOF(val) == PROMSXP)
  ------------------
  |  |  116|  4.23M|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (277:6): [True: 6.01k, False: 4.23M]
  ------------------
  278|  6.01k|	    REPROTECT(val = eval(val, rho), validx);
  ------------------
  |  |  367|  6.01k|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
  279|  4.23M|	if(val != R_UnboundValue) {
  ------------------
  |  Branch (279:5): [True: 6.01k, False: 4.23M]
  ------------------
  280|  6.01k|	    UNPROTECT(2); /* top, val */
  ------------------
  |  |  358|  6.01k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  281|  6.01k|	    return val;
  282|  6.01k|	}
  283|  4.23M|    }
  284|       |
  285|  4.23M|    if (top == R_GlobalEnv)
  ------------------
  |  Branch (285:9): [True: 6.97k, False: 4.22M]
  ------------------
  286|  6.97k|	top = R_BaseEnv;
  287|  4.22M|    else
  288|  4.22M|	top = ENCLOS(top);
  289|  4.23M|    REPROTECT(val = findFunWithBaseEnvAfterGlobalEnv(method, top),
  ------------------
  |  |  367|  4.23M|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
  290|  4.23M|	      validx);
  291|       |
  292|  4.23M|    UNPROTECT(2); /* top, val */
  ------------------
  |  |  358|  4.23M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  293|  4.23M|    return val;
  294|  4.23M|}
Rf_createS3Vars:
  341|  10.9k|		  SEXP dotGenericCallEnv, SEXP dotGenericDefEnv) {
  342|       |
  343|  10.9k|    SEXP v = R_NilValue;
  344|  10.9k|    v = addS3Var(v, R_dot_GenericDefEnv, dotGenericDefEnv);
  345|  10.9k|    v = addS3Var(v, R_dot_GenericCallEnv, dotGenericCallEnv);
  346|  10.9k|    v = addS3Var(v, R_dot_Group, dotGroup);
  347|  10.9k|    v = addS3Var(v, R_dot_Method, dotMethod);
  348|  10.9k|    v = addS3Var(v, R_dot_Class, dotClass);
  349|  10.9k|    v = addS3Var(v, R_dot_Generic, dotGeneric);
  350|       |
  351|  10.9k|    return v;
  352|  10.9k|}
Rf_usemethod:
  483|  2.11M|{
  484|  2.11M|    SEXP klass, method, sxp;
  485|  2.11M|    SEXP op;
  486|  2.11M|    int i, nclass;
  487|  2.11M|    RCNTXT *cptr;
  488|       |
  489|       |    /* Get the context which UseMethod was called from. */
  490|       |
  491|  2.11M|    cptr = R_GlobalContext;
  492|  2.11M|    op = cptr->callfun;
  493|  2.11M|    PROTECT(klass = R_data_class2(obj));
  ------------------
  |  |  357|  2.11M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  494|       |
  495|  2.11M|    nclass = length(klass);
  ------------------
  |  |  987|  2.11M|#define length(x)		Rf_length(x)
  ------------------
  496|  4.24M|    for (i = 0; i < nclass; i++) {
  ------------------
  |  Branch (496:17): [True: 2.12M, False: 2.11M]
  ------------------
  497|  2.12M|	const void *vmax = vmaxget();
  498|  2.12M|	const char *ss = translateChar(STRING_ELT(klass, i));
  ------------------
  |  | 1037|  2.12M|#define translateChar		Rf_translateChar
  ------------------
  499|  2.12M|	method = installS3Signature(generic, ss);
  ------------------
  |  |  939|  2.12M|#define installS3Signature	Rf_installS3Signature
  ------------------
  500|  2.12M|	vmaxset(vmax);
  501|  2.12M|	sxp = R_LookupMethod(method, rho, callrho, defrho);
  502|  2.12M|	if (isFunction(sxp)) {
  ------------------
  |  |  948|  2.12M|#define isFunction		Rf_isFunction
  ------------------
  |  Branch (502:6): [True: 3.18k, False: 2.12M]
  ------------------
  503|  3.18k|	    if(method == R_SortListSymbol && CLOENV(sxp) == R_BaseNamespace)
  ------------------
  |  Branch (503:9): [True: 0, False: 3.18k]
  |  Branch (503:39): [True: 0, False: 0]
  ------------------
  504|      0|		continue; /* kludge because sort.list is not a method */
  505|  3.18k|	    PROTECT(sxp);
  ------------------
  |  |  357|  3.18k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  506|  3.18k|	    if (i > 0) {
  ------------------
  |  Branch (506:10): [True: 659, False: 2.52k]
  ------------------
  507|    659|		SEXP dotClass = PROTECT(stringSuffix(klass, i));
  ------------------
  |  |  357|    659|#define PROTECT(s)	Rf_protect(s)
  ------------------
  508|    659|		setAttrib(dotClass, R_PreviousSymbol, klass);
  ------------------
  |  | 1027|    659|#define setAttrib		Rf_setAttrib
  ------------------
  509|    659|		*ans = dispatchMethod(op, sxp, dotClass, cptr, method, generic,
  510|    659|				      rho, callrho, defrho);
  511|    659|		UNPROTECT(1); /* dotClass */
  ------------------
  |  |  358|    659|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  512|  2.52k|	    } else {
  513|  2.52k|		*ans = dispatchMethod(op, sxp, klass, cptr, method, generic,
  514|  2.52k|				      rho, callrho, defrho);
  515|  2.52k|	    }
  516|  3.18k|	    UNPROTECT(2); /* klass, sxp */
  ------------------
  |  |  358|  3.18k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  517|  3.18k|	    return 1;
  518|  3.18k|	}
  519|  2.12M|    }
  520|  2.11M|    method = installS3Signature(generic, "default");
  ------------------
  |  |  939|  2.11M|#define installS3Signature	Rf_installS3Signature
  ------------------
  521|  2.11M|    PROTECT(sxp = R_LookupMethod(method, rho, callrho, defrho));
  ------------------
  |  |  357|  2.11M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  522|  2.11M|    if (isFunction(sxp)) {
  ------------------
  |  |  948|  2.11M|#define isFunction		Rf_isFunction
  ------------------
  |  Branch (522:9): [True: 7.58k, False: 2.10M]
  ------------------
  523|  7.58k|	*ans = dispatchMethod(op, sxp, R_NilValue, cptr, method, generic,
  524|  7.58k|			      rho, callrho, defrho);
  525|  7.58k|	UNPROTECT(2); /* klass, sxp */
  ------------------
  |  |  358|  7.58k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  526|  7.58k|	return 1;
  527|  7.58k|    }
  528|  2.10M|    UNPROTECT(2); /* klass, sxp */
  ------------------
  |  |  358|  2.10M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  529|  2.10M|    cptr->callflag = CTXT_RETURN;
  530|  2.10M|    return 0;
  531|  2.11M|}
do_usemethod:
  541|  8.63k|{
  542|  8.63k|    static SEXP do_usemethod_formals = NULL;
  543|  8.63k|    if (do_usemethod_formals == NULL)
  ------------------
  |  Branch (543:9): [True: 2, False: 8.62k]
  ------------------
  544|      2|	do_usemethod_formals = allocFormalsList2(install("generic"),
  ------------------
  |  |  865|      2|#define allocFormalsList2	Rf_allocFormalsList2
  ------------------
              	do_usemethod_formals = allocFormalsList2(install("generic"),
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  545|      2|						 install("object"));
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  546|       |
  547|  8.63k|    SEXP argList = PROTECT(matchArgs_NR(do_usemethod_formals, args, call));
  ------------------
  |  |  357|  8.63k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  548|  8.63k|    if (CAR(argList) == R_MissingArg)
  ------------------
  |  Branch (548:9): [True: 0, False: 8.63k]
  ------------------
  549|      0|	errorcall(call, _("there must be a 'generic' argument"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("there must be a 'generic' argument"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  550|       |    // else
  551|  8.63k|    SEXP generic = PROTECT(eval(CAR(argList), env));
  ------------------
  |  |  357|  8.63k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  552|  8.63k|    if(!isString(generic) || LENGTH(generic) != 1)
  ------------------
  |  |  966|  8.63k|#define isString		Rf_isString
  ------------------
  |  Branch (552:8): [True: 0, False: 8.63k]
  |  Branch (552:30): [True: 0, False: 8.63k]
  ------------------
  553|      0|	errorcall(call, _("'generic' argument must be a character string"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("'generic' argument must be a character string"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  554|       |
  555|       |    /* get environments needed for dispatching.
  556|       |       callenv = environment from which the generic was called
  557|       |       defenv = environment where the generic was defined */
  558|  8.63k|    RCNTXT *cptr = R_GlobalContext;
  559|  8.63k|    if ( !(cptr->callflag & CTXT_FUNCTION) || cptr->cloenv != env)
  ------------------
  |  Branch (559:10): [True: 0, False: 8.63k]
  |  Branch (559:47): [True: 0, False: 8.63k]
  ------------------
  560|      0|	errorcall(call, _("'UseMethod' used in an inappropriate fashion"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("'UseMethod' used in an inappropriate fashion"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  561|  8.63k|    SEXP callenv = cptr->sysparent;
  562|       |    /* We need to find the generic to find out where it is defined.
  563|       |       This is set up to avoid getting caught by things like
  564|       |
  565|       |	mycoef <- function(x)
  566|       |       {
  567|       |	   mycoef <- function(x) stop("not this one")
  568|       |	   UseMethod("mycoef")
  569|       |       }
  570|       |
  571|       |	The generic need not be a closure (Henrik Bengtsson writes
  572|       |	UseMethod("$"), although only functions are documented.)
  573|       |    */
  574|  8.63k|    SEXP defenv = topenv(R_NilValue, env);
  ------------------
  |  | 1036|  8.63k|#define topenv		        Rf_topenv
  ------------------
  575|  8.63k|    SEXP obj = PROTECT((CADR(argList) != R_MissingArg)
  ------------------
  |  |  357|  17.2k|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  |  |  Branch (357:31): [True: 0, False: 8.63k]
  |  |  ------------------
  ------------------
  576|  8.63k|		       ? eval(CADR(argList), env)
  577|  8.63k|		       : GetObject(cptr));
  578|  8.63k|    SEXP ans;
  579|  8.63k|    if (usemethod(translateChar(STRING_ELT(generic, 0)), obj, call, CDR(args),
  ------------------
  |  | 2010|  8.63k|# define usemethod		Rf_usemethod
  ------------------
                  if (usemethod(translateChar(STRING_ELT(generic, 0)), obj, call, CDR(args),
  ------------------
  |  | 1037|  8.63k|#define translateChar		Rf_translateChar
  ------------------
  |  Branch (579:9): [True: 8.53k, False: 92]
  ------------------
  580|  8.63k|		  env, callenv, defenv, &ans) == 1) {
  581|  8.53k|	UNPROTECT(3); /* obj, generic, argList */
  ------------------
  |  |  358|  8.53k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  582|  8.53k|	findcontext(CTXT_RETURN, env, ans); /* does not return */
  ------------------
  |  | 1906|  8.53k|# define findcontext		Rf_findcontext
  ------------------
  583|  8.53k|    }
  584|     92|    else { // no method found
  585|     92|#define CLLEN 1024
  586|     92|	char *cl = R_alloc(CLLEN, 1);
  ------------------
  |  |  585|     92|#define CLLEN 1024
  ------------------
  587|     92|	SEXP klass = PROTECT(R_data_class2(obj));
  ------------------
  |  |  357|     92|#define PROTECT(s)	Rf_protect(s)
  ------------------
  588|     92|	int nclass = length(klass);
  ------------------
  |  |  987|     92|#define length(x)		Rf_length(x)
  ------------------
  589|     92|	if(!nclass)
  ------------------
  |  Branch (589:5): [True: 0, False: 92]
  ------------------
  590|      0|	    errorcall(call, _("illegal class of length 0 when using method for '%s'"),
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	    errorcall(call, _("illegal class of length 0 when using method for '%s'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  591|      0|		      translateChar(STRING_ELT(generic, 0)));
  ------------------
  |  | 1037|      0|#define translateChar		Rf_translateChar
  ------------------
  592|     92|	const char *c_name = translateChar(STRING_ELT(klass, 0));
  ------------------
  |  | 1037|     92|#define translateChar		Rf_translateChar
  ------------------
  593|     92|	if (nclass == 1) {
  ------------------
  |  Branch (593:6): [True: 0, False: 92]
  ------------------
  594|      0|	    strncpy(cl, c_name, CLLEN-1); cl[CLLEN-1] = '\0';
  ------------------
  |  |  585|      0|#define CLLEN 1024
  ------------------
              	    strncpy(cl, c_name, CLLEN-1); cl[CLLEN-1] = '\0';
  ------------------
  |  |  585|      0|#define CLLEN 1024
  ------------------
  595|     92|	} else { // nclass >= 2
  596|     92|	    size_t cl_count = 3; // 3 : "c(" + \0
  597|     92|	    strcpy(cl, "c('");
  598|     92|	    for (int i = 0; i < nclass; i++) {
  ------------------
  |  Branch (598:22): [True: 0, False: 92]
  ------------------
  599|      0|		if(i > 0) {
  ------------------
  |  Branch (599:6): [True: 0, False: 0]
  ------------------
  600|      0|		    c_name = translateChar(STRING_ELT(klass, i));
  ------------------
  |  | 1037|      0|#define translateChar		Rf_translateChar
  ------------------
  601|      0|		    cl_count += 4; // "', '"
  602|      0|		    if (cl_count < CLLEN) strcat(cl, "', '");
  ------------------
  |  |  585|      0|#define CLLEN 1024
  ------------------
  |  Branch (602:11): [True: 0, False: 0]
  ------------------
  603|      0|		}
  604|      0|		size_t len_nm = strlen(c_name);
  605|      0|		if (cl_count + len_nm >= CLLEN) {
  ------------------
  |  |  585|      0|#define CLLEN 1024
  ------------------
  |  Branch (605:7): [True: 0, False: 0]
  ------------------
  606|      0|		    cl_count += 2;
  607|      0|		    if(cl_count < CLLEN) strcat(cl, "..");
  ------------------
  |  |  585|      0|#define CLLEN 1024
  ------------------
  |  Branch (607:10): [True: 0, False: 0]
  ------------------
  608|      0|		    break;
  609|      0|		}
  610|       |		// else
  611|      0|		cl_count += len_nm;
  612|      0|		strcat(cl, c_name);
  613|      0|	    }
  614|     92|	    if (++cl_count < CLLEN) strcat(cl, "'");
  ------------------
  |  |  585|     92|#define CLLEN 1024
  ------------------
  |  Branch (614:10): [True: 0, False: 92]
  ------------------
  615|     92|	    if (++cl_count < CLLEN) strcat(cl, ")");
  ------------------
  |  |  585|     92|#define CLLEN 1024
  ------------------
  |  Branch (615:10): [True: 0, False: 92]
  ------------------
  616|     92|	}
  617|     92|	errorcall(call, _("no applicable method for '%s' applied to an object of class \"%s\""),
  ------------------
  |  |  912|     92|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("no applicable method for '%s' applied to an object of class \"%s\""),
  ------------------
  |  | 2536|     92|#   define _(String) gettext (String)
  ------------------
  618|     92|		  translateChar(STRING_ELT(generic, 0)), cl);
  ------------------
  |  | 1037|     92|#define translateChar		Rf_translateChar
  ------------------
  619|     92|    }
  620|  8.63k|}
do_nextmethod:
  706|    120|{
  707|    120|    const char *sb, *sg, *sk;
  708|    120|    SEXP ans, s, t, klass, method, matchedarg, generic;
  709|    120|    SEXP nextfun, nextfunSignature;
  710|    120|    SEXP sysp, formals, newcall;
  711|    120|    SEXP group, basename;
  712|    120|    SEXP callenv, defenv;
  713|    120|    RCNTXT *cptr;
  714|    120|    int i, j;
  715|       |
  716|    120|    cptr = R_GlobalContext;
  717|    120|    cptr->callflag = CTXT_GENERIC;
  718|       |
  719|       |    /* get the env NextMethod was called from */
  720|    120|    sysp = R_GlobalContext->sysparent;
  721|    256|    while (cptr != NULL) {
  ------------------
  |  Branch (721:12): [True: 256, False: 0]
  ------------------
  722|    256|	if (cptr->callflag & CTXT_FUNCTION && cptr->cloenv == sysp) break;
  ------------------
  |  Branch (722:6): [True: 256, False: 0]
  |  Branch (722:40): [True: 120, False: 136]
  ------------------
  723|    136|	cptr = cptr->nextcontext;
  724|    136|    }
  725|    120|    if (cptr == NULL)
  ------------------
  |  Branch (725:9): [True: 0, False: 120]
  ------------------
  726|      0|	error(_("'NextMethod' called from outside a function"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'NextMethod' called from outside a function"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  727|       |
  728|    120|    PROTECT(newcall = shallow_duplicate(cptr->call));
  ------------------
  |  |  357|    120|#define PROTECT(s)	Rf_protect(s)
  ------------------
  729|       |
  730|       |    /* eg get("print.ts")(1) or do.call() */
  731|    120|    if (TYPEOF(CAR(cptr->call)) != SYMSXP)
  ------------------
  |  |  112|    120|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (731:9): [True: 0, False: 120]
  ------------------
  732|      0|       error(_("'NextMethod' called from an anonymous function"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                     error(_("'NextMethod' called from an anonymous function"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  733|       |
  734|    120|    readS3VarsFromFrame(sysp, &generic, &group, &klass, &method,
  ------------------
  |  | 1016|    120|#define readS3VarsFromFrame	Rf_readS3VarsFromFrame
  ------------------
  735|    120|			&callenv, &defenv);
  736|       |
  737|       |    /* Find dispatching environments. Promises shouldn't occur, but
  738|       |       check to be on the safe side.  If the variables are not in the
  739|       |       environment (the method was called outside a method dispatch)
  740|       |       then chose reasonable defaults. */
  741|    120|    if (TYPEOF(callenv) == PROMSXP)
  ------------------
  |  |  116|    120|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (741:9): [True: 0, False: 120]
  ------------------
  742|      0|	callenv = eval(callenv, R_BaseEnv);
  ------------------
  |  |  913|      0|#define eval			Rf_eval
  ------------------
  743|    120|    else if (callenv == R_UnboundValue)
  ------------------
  |  Branch (743:14): [True: 0, False: 120]
  ------------------
  744|      0|	callenv = env;
  745|    120|    if (TYPEOF(defenv) == PROMSXP) defenv = eval(defenv, R_BaseEnv);
  ------------------
  |  |  116|    120|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
                  if (TYPEOF(defenv) == PROMSXP) defenv = eval(defenv, R_BaseEnv);
  ------------------
  |  |  913|      0|#define eval			Rf_eval
  ------------------
  |  Branch (745:9): [True: 0, False: 120]
  ------------------
  746|    120|    else if (defenv == R_UnboundValue) defenv = R_GlobalEnv;
  ------------------
  |  Branch (746:14): [True: 0, False: 120]
  ------------------
  747|       |
  748|       |    /* set up the arglist */
  749|    120|    s = cptr->callfun;
  750|       |
  751|    120|    if (TYPEOF(s) != CLOSXP){ /* R_LookupMethod looked for a function */
  ------------------
  |  |  114|    120|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (751:9): [True: 0, False: 120]
  ------------------
  752|      0|	if (s == R_UnboundValue)
  ------------------
  |  Branch (752:6): [True: 0, False: 0]
  ------------------
  753|      0|	    error(_("no calling generic was found: was a method called directly?"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("no calling generic was found: was a method called directly?"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  754|      0|	else
  755|      0|	    errorcall(R_NilValue,
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
  756|      0|		  _("'function' is not a function, but of type %d"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  757|      0|		  TYPEOF(s));
  758|      0|    }
  759|       |    /* get formals and actuals; attach the names of the formals to
  760|       |       the actuals, expanding any ... that occurs */
  761|    120|    formals = FORMALS(s);
  762|    120|    PROTECT(matchedarg = patchArgsByActuals(formals, cptr->promargs, cptr->cloenv));
  ------------------
  |  |  357|    120|#define PROTECT(s)	Rf_protect(s)
  ------------------
  763|       |
  764|       |    /*
  765|       |      Now see if there were any other arguments passed in
  766|       |      Currently we seem to only allow named args to change
  767|       |      or to be added, this is at variance with p. 470 of the
  768|       |      White Book
  769|       |    */
  770|       |
  771|    120|    s = CADDR(args); /* this is ... and we need to see if it's bound */
  772|    120|    if (s == R_DotsSymbol) {
  ------------------
  |  Branch (772:9): [True: 120, False: 0]
  ------------------
  773|    120|	t = R_findVarInFrame(env, s);
  774|    120|	if (t != R_NilValue && t != R_MissingArg) {
  ------------------
  |  Branch (774:6): [True: 120, False: 0]
  |  Branch (774:25): [True: 0, False: 120]
  ------------------
  775|      0|	    SET_TYPEOF(t, LISTSXP); /* a safe mutation */
  ------------------
  |  |  113|      0|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  776|      0|	    s = matchmethargs(matchedarg, t);
  777|      0|	    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  778|      0|	    PROTECT(matchedarg = s);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  779|      0|	    newcall = fixcall(newcall, matchedarg);
  780|      0|	}
  781|    120|    }
  782|      0|    else
  783|      0|	error(_("wrong argument ..."));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("wrong argument ..."));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  784|       |
  785|       |    /*
  786|       |      .Class is used to determine the next method; if it doesn't
  787|       |      exist the first argument to the current method is used
  788|       |      the second argument to NextMethod is another option but
  789|       |      isn't currently used).
  790|       |    */
  791|    120|    if (klass == R_UnboundValue) {
  ------------------
  |  Branch (791:9): [True: 0, False: 120]
  ------------------
  792|       |	/* we can get the object from actuals directly, but this
  793|       |	   branch seems to be very cold if not dead */
  794|      0|	s = GetObject(cptr);
  795|      0|	if (!isObject(s)) error(_("object not specified"));
  ------------------
  |  |  959|      0|#define isObject		Rf_isObject
  ------------------
              	if (!isObject(s)) error(_("object not specified"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	if (!isObject(s)) error(_("object not specified"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (795:6): [True: 0, False: 0]
  ------------------
  796|      0|	klass = getAttrib(s, R_ClassSymbol);
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
  797|      0|    }
  798|       |
  799|       |    /* the generic comes from either the sysparent or it's named */
  800|    120|    if (generic == R_UnboundValue)
  ------------------
  |  Branch (800:9): [True: 0, False: 120]
  ------------------
  801|      0|	generic = eval(CAR(args), env);
  ------------------
  |  |  913|      0|#define eval			Rf_eval
  ------------------
  802|    120|    if (generic == R_NilValue)
  ------------------
  |  Branch (802:9): [True: 0, False: 120]
  ------------------
  803|      0|	error(_("generic function not specified"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("generic function not specified"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  804|    120|    PROTECT(generic);
  ------------------
  |  |  357|    120|#define PROTECT(s)	Rf_protect(s)
  ------------------
  805|       |
  806|    120|    if (!isString(generic) || LENGTH(generic) != 1)
  ------------------
  |  |  966|    120|#define isString		Rf_isString
  ------------------
  |  Branch (806:9): [True: 0, False: 120]
  |  Branch (806:31): [True: 0, False: 120]
  ------------------
  807|      0|	error(_("invalid generic argument to 'NextMethod'"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid generic argument to 'NextMethod'"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  808|       |
  809|    120|    if (CHAR(STRING_ELT(generic, 0))[0] == '\0')
  ------------------
  |  |  203|    120|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (809:9): [True: 0, False: 120]
  ------------------
  810|      0|	error(_("generic function not specified"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("generic function not specified"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  811|       |
  812|       |    /* determine whether we are in a Group dispatch */
  813|       |    /* determine the root: either the group or the generic will be it */
  814|    120|    if (group == R_UnboundValue) {
  ------------------
  |  Branch (814:9): [True: 0, False: 120]
  ------------------
  815|      0|	group = R_BlankScalarString;
  816|      0|	basename = generic;
  817|    120|    } else {
  818|    120|	if (!isString(group) || LENGTH(group) != 1)
  ------------------
  |  |  966|    120|#define isString		Rf_isString
  ------------------
  |  Branch (818:6): [True: 0, False: 120]
  |  Branch (818:26): [True: 0, False: 120]
  ------------------
  819|      0|	    error(_("invalid 'group' argument found in 'NextMethod'"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("invalid 'group' argument found in 'NextMethod'"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  820|    120|	if (CHAR(STRING_ELT(group, 0))[0] == '\0') basename = generic;
  ------------------
  |  |  203|    120|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (820:6): [True: 120, False: 0]
  ------------------
  821|      0|	else basename = group;
  822|    120|    }
  823|    120|    PROTECT(group);
  ------------------
  |  |  357|    120|#define PROTECT(s)	Rf_protect(s)
  ------------------
  824|       |
  825|    120|    nextfun = R_NilValue;
  826|    120|    nextfunSignature = R_NilValue;
  827|       |
  828|       |    /*
  829|       |       Find the method currently being invoked and jump over the current call
  830|       |       If t is R_UnboundValue then we called the current method directly
  831|       |    */
  832|    120|    const void *vmax = vmaxget(); /* needed for translateChar */
  833|    120|    const char *b = NULL;
  834|    120|    if (method != R_UnboundValue) {
  ------------------
  |  Branch (834:9): [True: 120, False: 0]
  ------------------
  835|    120|	if (!isString(method))
  ------------------
  |  |  966|    120|#define isString		Rf_isString
  ------------------
  |  Branch (835:6): [True: 0, False: 120]
  ------------------
  836|      0|	    error(_("wrong value for .Method"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("wrong value for .Method"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  837|    120|	for(i = 0; i < LENGTH(method); i++) {
  ------------------
  |  Branch (837:13): [True: 120, False: 0]
  ------------------
  838|    120|	    b = translateChar(STRING_ELT(method, i));
  ------------------
  |  | 1037|    120|#define translateChar		Rf_translateChar
  ------------------
  839|    120|	    if (strlen(b)) break;
  ------------------
  |  Branch (839:10): [True: 120, False: 0]
  ------------------
  840|    120|	}
  841|       |	/* for binary operators check that the second argument's method
  842|       |	   is the same or absent */
  843|    240|	for(j = i; j < LENGTH(method); j++) {
  ------------------
  |  Branch (843:13): [True: 120, False: 120]
  ------------------
  844|    120|	    const char *bb = translateChar(STRING_ELT(method, j));
  ------------------
  |  | 1037|    120|#define translateChar		Rf_translateChar
  ------------------
  845|    120|	    if (strlen(bb) && strcmp(b,bb))
  ------------------
  |  Branch (845:10): [True: 120, False: 0]
  |  Branch (845:24): [True: 0, False: 120]
  ------------------
  846|      0|		warning(_("Incompatible methods ignored"));
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              		warning(_("Incompatible methods ignored"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  847|    120|	}
  848|    120|    }
  849|      0|    else {
  850|      0|	b = CHAR(PRINTNAME(CAR(cptr->call)));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  851|      0|    }
  852|       |
  853|    120|    sb = translateChar(STRING_ELT(basename, 0));
  ------------------
  |  | 1037|    120|#define translateChar		Rf_translateChar
  ------------------
  854|    120|    Rboolean foundSignature = FALSE;
  855|    120|    for (j = 0; j < LENGTH(klass); j++) {
  ------------------
  |  Branch (855:17): [True: 120, False: 0]
  ------------------
  856|    120|	sk = translateChar(STRING_ELT(klass, j));
  ------------------
  |  | 1037|    120|#define translateChar		Rf_translateChar
  ------------------
  857|    120|	if (equalS3Signature(b, sb, sk)) { /* b == sb.sk */
  ------------------
  |  Branch (857:6): [True: 120, False: 0]
  ------------------
  858|    120|	    foundSignature = TRUE;
  859|    120|	    break;
  860|    120|	}
  861|    120|    }
  862|       |
  863|    120|    if (foundSignature) /* we found a match and start from there */
  ------------------
  |  Branch (863:9): [True: 120, False: 0]
  ------------------
  864|    120|      j++;
  865|      0|    else
  866|      0|      j = 0;  /* no match so start with the first element of .Class */
  867|       |
  868|       |    /* we need the value of i on exit from the for loop to figure out
  869|       |	   how many classes to drop. */
  870|       |
  871|    120|    sg = translateChar(STRING_ELT(generic, 0));
  ------------------
  |  | 1037|    120|#define translateChar		Rf_translateChar
  ------------------
  872|    120|    for (i = j ; i < LENGTH(klass); i++) {
  ------------------
  |  Branch (872:18): [True: 0, False: 120]
  ------------------
  873|      0|	sk = translateChar(STRING_ELT(klass, i));
  ------------------
  |  | 1037|      0|#define translateChar		Rf_translateChar
  ------------------
  874|      0|	nextfunSignature = installS3Signature(sg, sk);
  ------------------
  |  |  939|      0|#define installS3Signature	Rf_installS3Signature
  ------------------
  875|      0|	nextfun = R_LookupMethod(nextfunSignature, env, callenv, defenv);
  876|      0|	if (isFunction(nextfun)) break;
  ------------------
  |  |  948|      0|#define isFunction		Rf_isFunction
  ------------------
  |  Branch (876:6): [True: 0, False: 0]
  ------------------
  877|      0|	if (group != R_UnboundValue) {
  ------------------
  |  Branch (877:6): [True: 0, False: 0]
  ------------------
  878|       |	    /* if not Generic.foo, look for Group.foo */
  879|      0|	    nextfunSignature = installS3Signature(sb, sk);
  ------------------
  |  |  939|      0|#define installS3Signature	Rf_installS3Signature
  ------------------
  880|      0|	    nextfun = R_LookupMethod(nextfunSignature, env, callenv, defenv);
  881|      0|	    if(isFunction(nextfun))
  ------------------
  |  |  948|      0|#define isFunction		Rf_isFunction
  ------------------
  |  Branch (881:9): [True: 0, False: 0]
  ------------------
  882|      0|		break;
  883|      0|	}
  884|      0|	if (isFunction(nextfun))
  ------------------
  |  |  948|      0|#define isFunction		Rf_isFunction
  ------------------
  |  Branch (884:6): [True: 0, False: 0]
  ------------------
  885|      0|	    break;
  886|      0|    }
  887|    120|    if (!isFunction(nextfun)) {
  ------------------
  |  |  948|    120|#define isFunction		Rf_isFunction
  ------------------
  |  Branch (887:9): [True: 120, False: 0]
  ------------------
  888|    120|	nextfunSignature = installS3Signature(sg, "default");
  ------------------
  |  |  939|    120|#define installS3Signature	Rf_installS3Signature
  ------------------
  889|    120|	nextfun = R_LookupMethod(nextfunSignature, env, callenv, defenv);
  890|       |	/* If there is no default method, try the generic itself,
  891|       |	   provided it is primitive or a wrapper for a .Internal
  892|       |	   function of the same name.
  893|       |	 */
  894|    120|	if (!isFunction(nextfun)) {
  ------------------
  |  |  948|    120|#define isFunction		Rf_isFunction
  ------------------
  |  Branch (894:6): [True: 120, False: 0]
  ------------------
  895|    120|	    t = install(sg);
  ------------------
  |  |  934|    120|#define install			Rf_install
  ------------------
  896|    120|	    nextfun = R_findVar(t, env);
  897|    120|	    if (TYPEOF(nextfun) == PROMSXP) {
  ------------------
  |  |  116|    120|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (897:10): [True: 0, False: 120]
  ------------------
  898|      0|		PROTECT(nextfun);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  899|      0|		nextfun = eval(nextfun, env);
  ------------------
  |  |  913|      0|#define eval			Rf_eval
  ------------------
  900|      0|		UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  901|      0|	    }
  902|    120|	    if (!isFunction(nextfun))
  ------------------
  |  |  948|    120|#define isFunction		Rf_isFunction
  ------------------
  |  Branch (902:10): [True: 0, False: 120]
  ------------------
  903|      0|		error(_("no method to invoke"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("no method to invoke"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  904|    120|	    if (TYPEOF(nextfun) == CLOSXP) {
  ------------------
  |  |  114|    120|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (904:10): [True: 0, False: 120]
  ------------------
  905|      0|		if (INTERNAL(t) != R_NilValue)
  ------------------
  |  Branch (905:7): [True: 0, False: 0]
  ------------------
  906|      0|		    nextfun = INTERNAL(t);
  907|      0|		else {
  908|      0|		    nextfun = getPrimitive(t);
  909|      0|		    if (nextfun == R_NilValue)
  ------------------
  |  Branch (909:11): [True: 0, False: 0]
  ------------------
  910|      0|		        error(_("no method to invoke"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		        error(_("no method to invoke"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  911|      0|		}
  912|      0|	    }
  913|    120|	}
  914|    120|    }
  915|    120|    PROTECT(nextfun);
  ------------------
  |  |  357|    120|#define PROTECT(s)	Rf_protect(s)
  ------------------
  916|    120|    PROTECT(s = stringSuffix(klass, i));
  ------------------
  |  |  357|    120|#define PROTECT(s)	Rf_protect(s)
  ------------------
  917|    120|    setAttrib(s, R_PreviousSymbol, klass);
  ------------------
  |  | 1027|    120|#define setAttrib		Rf_setAttrib
  ------------------
  918|       |    /* It is possible that if a method was called directly that
  919|       |	'method' is unset */
  920|    120|    if (method != R_UnboundValue) {
  ------------------
  |  Branch (920:9): [True: 120, False: 0]
  ------------------
  921|       |	/* for Ops we need `method' to be a vector */
  922|    120|	PROTECT(method = duplicate(method));
  ------------------
  |  |  357|    120|#define PROTECT(s)	Rf_protect(s)
  ------------------
  923|    240|	for(j = 0; j < LENGTH(method); j++) {
  ------------------
  |  Branch (923:13): [True: 120, False: 120]
  ------------------
  924|    120|	    if (strlen(CHAR(STRING_ELT(method,j))))
  ------------------
  |  |  203|    120|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (924:10): [True: 120, False: 0]
  ------------------
  925|    120|		SET_STRING_ELT(method, j,  PRINTNAME(nextfunSignature));
  926|    120|	}
  927|    120|    } else
  928|      0|	PROTECT(method = PRINTNAME(nextfunSignature));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  929|       |
  930|    120|    SEXP newvars = PROTECT(createS3Vars(
  ------------------
  |  |  357|    120|#define PROTECT(s)	Rf_protect(s)
  ------------------
  931|    120|	generic,
  932|    120|	group,
  933|    120|	s,
  934|    120|	method,
  935|    120|	callenv,
  936|    120|	defenv
  937|    120|    ));
  938|       |
  939|    120|    SETCAR(newcall, nextfunSignature);
  940|       |
  941|       |    /* applyMethod expects that the parent of the caller is the caller
  942|       |       of the generic, so fixup by brute force. This should fix
  943|       |       PR#15267 --pd */
  944|    120|    R_GlobalContext->sysparent = callenv;
  945|       |
  946|    120|    ans = applyMethod(newcall, nextfun, matchedarg, env, newvars);
  947|    120|    vmaxset(vmax);
  948|    120|    UNPROTECT(8);
  ------------------
  |  |  358|    120|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  949|    120|    return(ans);
  950|    120|}
do_unclass:
  954|      2|{
  955|      2|    checkArity(op, args);
  ------------------
  |  | 1793|      2|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  956|      2|    check1arg(args, call, "x");
  ------------------
  |  | 1872|      2|# define check1arg		Rf_check1arg
  ------------------
  957|       |
  958|      2|    if (isObject(CAR(args))) {
  ------------------
  |  |  959|      2|#define isObject		Rf_isObject
  ------------------
  |  Branch (958:9): [True: 2, False: 0]
  ------------------
  959|      2|	switch(TYPEOF(CAR(args))) {
  960|      0|	case ENVSXP:
  ------------------
  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (960:2): [True: 0, False: 2]
  ------------------
  961|      0|	    errorcall(call, _("cannot unclass an environment"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	    errorcall(call, _("cannot unclass an environment"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  962|      0|	    break;
  963|      0|	case EXTPTRSXP:
  ------------------
  |  |  134|      0|#define EXTPTRSXP   22    /* external pointer */
  ------------------
  |  Branch (963:2): [True: 0, False: 2]
  ------------------
  964|      0|	    errorcall(call, _("cannot unclass an external pointer"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	    errorcall(call, _("cannot unclass an external pointer"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  965|      0|	    break;
  966|      2|	default:
  ------------------
  |  Branch (966:2): [True: 2, False: 0]
  ------------------
  967|      2|	    break;
  968|      2|	}
  969|      2|	if (MAYBE_REFERENCED(CAR(args)))
  ------------------
  |  |  251|      2|#define MAYBE_REFERENCED(x) (! NO_REFERENCES(x))
  |  |  ------------------
  |  |  |  Branch (251:29): [True: 2, False: 0]
  |  |  ------------------
  ------------------
  970|      2|	    SETCAR(args, R_shallow_duplicate_attr(CAR(args)));
  971|      2|	setAttrib(CAR(args), R_ClassSymbol, R_NilValue);
  ------------------
  |  | 1027|      2|#define setAttrib		Rf_setAttrib
  ------------------
  972|      2|    }
  973|      2|    return CAR(args);
  974|      2|}
inherits2:
  983|     52|attribute_hidden Rboolean inherits2(SEXP x, const char *what) {
  984|     52|    if (OBJECT(x)) {
  ------------------
  |  Branch (984:9): [True: 52, False: 0]
  ------------------
  985|     52|	SEXP klass;
  986|       |
  987|     52|	if(IS_S4_OBJECT(x))
  ------------------
  |  Branch (987:5): [True: 0, False: 52]
  ------------------
  988|      0|	    PROTECT(klass = R_data_class2(x));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  989|     52|	else
  990|     52|	    PROTECT(klass = R_data_class(x, FALSE));
  ------------------
  |  |  357|     52|#define PROTECT(s)	Rf_protect(s)
  ------------------
  991|     52|	int nclass = length(klass);
  ------------------
  |  |  987|     52|#define length(x)		Rf_length(x)
  ------------------
  992|     52|	for (int i = 0; i < nclass; i++) {
  ------------------
  |  Branch (992:18): [True: 52, False: 0]
  ------------------
  993|     52|	    if (!strcmp(CHAR(STRING_ELT(klass, i)), what)) {
  ------------------
  |  |  203|     52|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (993:10): [True: 52, False: 0]
  ------------------
  994|     52|		UNPROTECT(1);
  ------------------
  |  |  358|     52|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  995|     52|		return TRUE;
  996|     52|	    }
  997|     52|	}
  998|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  999|      0|    }
 1000|      0|    return FALSE;
 1001|     52|}
do_inherits:
 1077|  11.3k|{
 1078|  11.3k|    checkArity(op, args);
  ------------------
  |  | 1793|  11.3k|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1079|       |
 1080|  11.3k|    SEXP x = CAR(args);
 1081|  11.3k|    SEXP what = CADR(args);
 1082|  11.3k|    SEXP which = CADDR(args);
 1083|       |
 1084|  11.3k|    if (OBJECT(what) && TYPEOF(what) != STRSXP) {
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1084:9): [True: 0, False: 11.3k]
  |  Branch (1084:25): [True: 0, False: 0]
  ------------------
 1085|      0|	SEXP name = nameOfClass(what, env);
 1086|      0|	if (name != R_NilValue) {
  ------------------
  |  Branch (1086:6): [True: 0, False: 0]
  ------------------
 1087|      0|	    PROTECT(name);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1088|      0|	    SEXP val = inherits3(x, name, which);
 1089|      0|	    UNPROTECT(1); /* name */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1090|      0|	    return val;
 1091|      0|	}
 1092|       |	/* fall through */
 1093|      0|    }
 1094|       |
 1095|  11.3k|    return inherits3(x, what, which);
 1096|  11.3k|}
R_set_standardGeneric_ptr:
 1217|      2|{
 1218|      2|    R_stdGen_ptr_t old = R_standardGeneric_ptr;
 1219|      2|    R_standardGeneric_ptr = val;
 1220|      2|    if(envir && !isNull(envir))
  ------------------
  |  |  956|      2|#define isNull			Rf_isNull
  ------------------
  |  Branch (1220:8): [True: 2, False: 0]
  |  Branch (1220:17): [True: 2, False: 0]
  ------------------
 1221|      2|	R_MethodsNamespace = envir;
 1222|       |    /* just in case ... */
 1223|      2|    if(!R_MethodsNamespace)
  ------------------
  |  Branch (1223:8): [True: 0, False: 2]
  ------------------
 1224|      0|	R_MethodsNamespace = R_GlobalEnv;
 1225|      2|    return old;
 1226|      2|}
isMethodsDispatchOn:
 1255|  2.11k|{
 1256|  2.11k|    return !NOT_METHODS_DISPATCH_PTR(R_standardGeneric_ptr);
  ------------------
  |  | 1206|  2.11k|#define NOT_METHODS_DISPATCH_PTR(ptr) (ptr == 0 || ptr == dispatchNonGeneric)
  |  |  ------------------
  |  |  |  Branch (1206:40): [True: 2, False: 2.11k]
  |  |  |  Branch (1206:52): [True: 0, False: 2.11k]
  |  |  ------------------
  ------------------
 1257|  2.11k|}
do_S4on:
 1269|    208|{
 1270|    208|    if(length(args) == 0) return ScalarLogical(isMethodsDispatchOn());
  ------------------
  |  |  987|    208|#define length(x)		Rf_length(x)
  ------------------
                  if(length(args) == 0) return ScalarLogical(isMethodsDispatchOn());
  ------------------
  |  | 1023|    208|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  |  Branch (1270:8): [True: 208, False: 0]
  ------------------
 1271|      0|    return R_isMethodsDispatchOn(CAR(args));
 1272|    208|}
R_set_prim_method:
 1366|      2|{
 1367|      2|    const char *code_string;
 1368|      2|    const void *vmax = vmaxget();
 1369|      2|    if(!isValidString(code_vec))
  ------------------
  |  |  972|      2|#define isValidString		Rf_isValidString
  ------------------
  |  Branch (1369:8): [True: 0, False: 2]
  ------------------
 1370|      0|	error(_("argument '%s' must be a character string"), "code");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("argument '%s' must be a character string"), "code");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1371|      2|    code_string = translateChar(asChar(code_vec));
  ------------------
  |  | 1037|      2|#define translateChar		Rf_translateChar
  ------------------
                  code_string = translateChar(asChar(code_vec));
  ------------------
  |  |  882|      2|#define asChar			Rf_asChar
  ------------------
 1372|       |    /* with a NULL op, turns all primitive matching off or on (used to avoid possible infinite
 1373|       |     recursion in methods computations*/
 1374|      2|    if(op == R_NilValue) {
  ------------------
  |  Branch (1374:8): [True: 0, False: 2]
  ------------------
 1375|      0|	SEXP value = allowPrimitiveMethods ? mkTrue() : mkFalse();
  ------------------
  |  | 1965|      0|# define mkTrue			Rf_mkTrue
  ------------------
              	SEXP value = allowPrimitiveMethods ? mkTrue() : mkFalse();
  ------------------
  |  | 1961|      0|# define mkFalse		Rf_mkFalse
  ------------------
  |  Branch (1375:15): [True: 0, False: 0]
  ------------------
 1376|      0|	switch(code_string[0]) {
 1377|      0|	case 'c': case 'C':/* clear */
  ------------------
  |  Branch (1377:2): [True: 0, False: 0]
  |  Branch (1377:12): [True: 0, False: 0]
  ------------------
 1378|      0|	    allowPrimitiveMethods = FALSE; break;
 1379|      0|	case 's': case 'S': /* set */
  ------------------
  |  Branch (1379:2): [True: 0, False: 0]
  |  Branch (1379:12): [True: 0, False: 0]
  ------------------
 1380|      0|	    allowPrimitiveMethods = TRUE; break;
 1381|      0|	default: /* just report the current state */
  ------------------
  |  Branch (1381:2): [True: 0, False: 0]
  ------------------
 1382|      0|	    break;
 1383|      0|	}
 1384|      0|	return value;
 1385|      0|    }
 1386|      2|    if (!isPrimitive(op)) {
  ------------------
  |  |  962|      2|#define isPrimitive		Rf_isPrimitive
  ------------------
  |  Branch (1386:9): [True: 0, False: 2]
  ------------------
 1387|      0|        SEXP internal = R_do_slot(op, install("internal"));
  ------------------
  |  |  934|      0|#define install			Rf_install
  ------------------
 1388|      0|        op = INTERNAL(installTrChar(asChar(internal)));
  ------------------
  |  |  937|      0|#define installTrChar		Rf_installTrChar
  ------------------
                      op = INTERNAL(installTrChar(asChar(internal)));
  ------------------
  |  |  882|      0|#define asChar			Rf_asChar
  ------------------
 1389|      0|        if (op == R_NilValue) {
  ------------------
  |  Branch (1389:13): [True: 0, False: 0]
  ------------------
 1390|      0|          error("'internal' slot does not name an internal function: %s",
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 1391|      0|                CHAR(asChar(internal)));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 1392|      0|        }
 1393|      0|    }
 1394|      2|    do_set_prim_method(op, code_string, fundef, mlist);
 1395|      2|    vmaxset(vmax);
 1396|      2|    return fname;
 1397|      2|}
do_set_prim_method:
 1424|      2|{
 1425|      2|    int offset = 0;
 1426|      2|    prim_methods_t code = NO_METHODS; /* -Wall */
 1427|      2|    SEXP value;
 1428|      2|    Rboolean errorcase = FALSE;
 1429|      2|    switch(code_string[0]) {
 1430|      0|    case 'c': /* clear */
  ------------------
  |  Branch (1430:5): [True: 0, False: 2]
  ------------------
 1431|      0|	code = NO_METHODS; break;
 1432|      2|    case 'r': /* reset */
  ------------------
  |  Branch (1432:5): [True: 2, False: 0]
  ------------------
 1433|      2|	code = NEEDS_RESET; break;
 1434|      0|    case 's': /* set or suppress */
  ------------------
  |  Branch (1434:5): [True: 0, False: 2]
  ------------------
 1435|      0|	switch(code_string[1]) {
 1436|      0|	case 'e': code = HAS_METHODS; break;
  ------------------
  |  Branch (1436:2): [True: 0, False: 0]
  ------------------
 1437|      0|	case 'u': code = SUPPRESSED; break;
  ------------------
  |  Branch (1437:2): [True: 0, False: 0]
  ------------------
 1438|      0|	default: errorcase = TRUE;
  ------------------
  |  Branch (1438:2): [True: 0, False: 0]
  ------------------
 1439|      0|	}
 1440|      0|	break;
 1441|      0|    default:
  ------------------
  |  Branch (1441:5): [True: 0, False: 2]
  ------------------
 1442|      0|	errorcase = TRUE;
 1443|      2|    }
 1444|      2|    if(errorcase) {
  ------------------
  |  Branch (1444:8): [True: 0, False: 2]
  ------------------
 1445|      0|	error(_("invalid primitive methods code (\"%s\"): should be \"clear\", \"reset\", \"set\", or \"suppress\""), code_string);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid primitive methods code (\"%s\"): should be \"clear\", \"reset\", \"set\", or \"suppress\""), code_string);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1446|      0|	return R_NilValue;
 1447|      0|    }
 1448|      2|    switch(TYPEOF(op)) {
 1449|      2|    case BUILTINSXP: case SPECIALSXP:
  ------------------
  |  |  119|      0|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
                  case BUILTINSXP: case SPECIALSXP:
  ------------------
  |  |  118|      2|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (1449:5): [True: 0, False: 2]
  |  Branch (1449:22): [True: 2, False: 0]
  ------------------
 1450|      2|	offset = PRIMOFFSET(op);
 1451|      2|	break;
 1452|      0|    default:
  ------------------
  |  Branch (1452:5): [True: 0, False: 2]
  ------------------
 1453|      0|	error(_("invalid object: must be a primitive function"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid object: must be a primitive function"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1454|      2|    }
 1455|      2|    if(offset >= maxMethodsOffset) {
  ------------------
  |  Branch (1455:8): [True: 2, False: 0]
  ------------------
 1456|      2|	int n;
 1457|      2|	n = offset + 1;
 1458|      2|	if(n < DEFAULT_N_PRIM_METHODS)
  ------------------
  |  | 1361|      2|#define DEFAULT_N_PRIM_METHODS 100
  ------------------
  |  Branch (1458:5): [True: 2, False: 0]
  ------------------
 1459|      2|	    n = DEFAULT_N_PRIM_METHODS;
  ------------------
  |  | 1361|      2|#define DEFAULT_N_PRIM_METHODS 100
  ------------------
 1460|      2|	if(n < 2*maxMethodsOffset)
  ------------------
  |  Branch (1460:5): [True: 0, False: 2]
  ------------------
 1461|      0|	    n = 2 * maxMethodsOffset;
 1462|      2|	if(prim_methods) {
  ------------------
  |  Branch (1462:5): [True: 0, False: 2]
  ------------------
 1463|      0|	    int i;
 1464|       |
 1465|      0|	    prim_methods  = R_Realloc(prim_methods,  n, prim_methods_t);
  ------------------
  |  |   56|      0|#define R_Realloc(p,n,t) (t *) R_chk_realloc( (void *)(p), (R_SIZE_T)((n) * sizeof(t)) )
  ------------------
 1466|      0|	    prim_generics = R_Realloc(prim_generics, n, SEXP);
  ------------------
  |  |   56|      0|#define R_Realloc(p,n,t) (t *) R_chk_realloc( (void *)(p), (R_SIZE_T)((n) * sizeof(t)) )
  ------------------
 1467|      0|	    prim_mlist	  = R_Realloc(prim_mlist,	   n, SEXP);
  ------------------
  |  |   56|      0|#define R_Realloc(p,n,t) (t *) R_chk_realloc( (void *)(p), (R_SIZE_T)((n) * sizeof(t)) )
  ------------------
 1468|       |
 1469|       |	    /* R_Realloc does not clear the added memory, hence: */
 1470|      0|	    for (i = maxMethodsOffset ; i < n ; i++) {
  ------------------
  |  Branch (1470:34): [True: 0, False: 0]
  ------------------
 1471|      0|		prim_methods[i]	 = NO_METHODS;
 1472|      0|		prim_generics[i] = NULL;
 1473|      0|		prim_mlist[i]	 = NULL;
 1474|      0|	    }
 1475|      0|	}
 1476|      2|	else {
 1477|      2|	    prim_methods  = R_Calloc(n, prim_methods_t);
  ------------------
  |  |   55|      2|#define R_Calloc(n, t)   (t *) R_chk_calloc( (R_SIZE_T) (n), sizeof(t) )
  ------------------
 1478|      2|	    prim_generics = R_Calloc(n, SEXP);
  ------------------
  |  |   55|      2|#define R_Calloc(n, t)   (t *) R_chk_calloc( (R_SIZE_T) (n), sizeof(t) )
  ------------------
 1479|      2|	    prim_mlist	  = R_Calloc(n, SEXP);
  ------------------
  |  |   55|      2|#define R_Calloc(n, t)   (t *) R_chk_calloc( (R_SIZE_T) (n), sizeof(t) )
  ------------------
 1480|      2|	}
 1481|      2|	maxMethodsOffset = n;
 1482|      2|    }
 1483|      2|    if(offset > curMaxOffset)
  ------------------
  |  Branch (1483:8): [True: 2, False: 0]
  ------------------
 1484|      2|	curMaxOffset = offset;
 1485|      2|    prim_methods[offset] = code;
 1486|       |    /* store a preserved pointer to the generic function if there is not
 1487|       |       one there currently.  Unpreserve it if no more methods, but don't
 1488|       |       replace it otherwise:  the generic definition is not allowed to
 1489|       |       change while it's still defined! (the stored methods list can,
 1490|       |       however) */
 1491|      2|    value = prim_generics[offset];
 1492|      2|    if(code == SUPPRESSED) {} /* leave the structure alone */
  ------------------
  |  Branch (1492:8): [True: 0, False: 2]
  ------------------
 1493|      2|    else if(code == NO_METHODS && prim_generics[offset]) {
  ------------------
  |  Branch (1493:13): [True: 0, False: 2]
  |  Branch (1493:35): [True: 0, False: 0]
  ------------------
 1494|      0|	R_ReleaseObject(prim_generics[offset]);
 1495|      0|	prim_generics[offset] = 0;
 1496|      0|	prim_mlist[offset] = 0;
 1497|      0|    }
 1498|      2|    else if(fundef && !isNull(fundef) && !prim_generics[offset]) {
  ------------------
  |  |  956|      2|#define isNull			Rf_isNull
  ------------------
  |  Branch (1498:13): [True: 2, False: 0]
  |  Branch (1498:23): [True: 2, False: 0]
  |  Branch (1498:42): [True: 2, False: 0]
  ------------------
 1499|      2|	if(TYPEOF(fundef) != CLOSXP)
  ------------------
  |  |  114|      2|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (1499:5): [True: 0, False: 2]
  ------------------
 1500|      0|	    error(_("the formal definition of a primitive generic must be a function object (got type '%s')"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("the formal definition of a primitive generic must be a function object (got type '%s')"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1501|      0|		  R_typeToChar(fundef));
 1502|      2|	R_PreserveObject(fundef);
 1503|      2|	prim_generics[offset] = fundef;
 1504|      2|    }
 1505|      2|    if(code == HAS_METHODS) {
  ------------------
  |  Branch (1505:8): [True: 0, False: 2]
  ------------------
 1506|      0|	if(!mlist  || isNull(mlist)) {
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
  |  Branch (1506:5): [True: 0, False: 0]
  |  Branch (1506:16): [True: 0, False: 0]
  ------------------
 1507|       |	    /* turning methods back on after a SUPPRESSED */
 1508|      0|	} else {
 1509|      0|	    if(prim_mlist[offset])
  ------------------
  |  Branch (1509:9): [True: 0, False: 0]
  ------------------
 1510|      0|		R_ReleaseObject(prim_mlist[offset]);
 1511|      0|	    R_PreserveObject(mlist);
 1512|      0|	    prim_mlist[offset] = mlist;
 1513|      0|	}
 1514|      0|    }
 1515|      2|    return value;
 1516|      2|}
R_has_methods:
 1569|  2.10M|{
 1570|  2.10M|    R_stdGen_ptr_t ptr = R_get_standardGeneric_ptr(); int offset;
 1571|  2.10M|    if(NOT_METHODS_DISPATCH_PTR(ptr))
  ------------------
  |  | 1206|  2.10M|#define NOT_METHODS_DISPATCH_PTR(ptr) (ptr == 0 || ptr == dispatchNonGeneric)
  |  |  ------------------
  |  |  |  Branch (1206:40): [True: 186, False: 2.10M]
  |  |  |  Branch (1206:52): [True: 0, False: 2.10M]
  |  |  ------------------
  ------------------
 1572|    186|	return(FALSE);
 1573|  2.10M|    if(!op || TYPEOF(op) == CLOSXP) /* except for primitives, just test for the package */
  ------------------
  |  |  114|  2.10M|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (1573:8): [True: 0, False: 2.10M]
  |  Branch (1573:15): [True: 0, False: 2.10M]
  ------------------
 1574|      0|	return(TRUE);
 1575|  2.10M|    if(!allowPrimitiveMethods) /* all primitives turned off by a call to R_set_prim */
  ------------------
  |  Branch (1575:8): [True: 0, False: 2.10M]
  ------------------
 1576|      0|	return FALSE;
 1577|  2.10M|    offset = PRIMOFFSET(op);
 1578|  2.10M|    if(offset > curMaxOffset || prim_methods[offset] == NO_METHODS
  ------------------
  |  Branch (1578:8): [True: 2.10M, False: 0]
  |  Branch (1578:33): [True: 0, False: 0]
  ------------------
 1579|      0|       || prim_methods[offset] == SUPPRESSED)
  ------------------
  |  Branch (1579:11): [True: 0, False: 0]
  ------------------
 1580|  2.10M|	return(FALSE);
 1581|      0|    return(TRUE);
 1582|  2.10M|}
R_set_quick_method_check:
 1596|      2|{
 1597|      2|    quick_method_check_ptr = value;
 1598|      2|}
Rf_isS4:
 1847|  22.0k|{
 1848|  22.0k|    return IS_S4_OBJECT(s);
 1849|  22.0k|}
objects.c:findFunInEnvRange:
  171|  4.24M|{
  172|  4.24M|    SEXP vl;
  173|  14.7M|    while(rho != R_EmptyEnv) {
  ------------------
  |  Branch (173:11): [True: 14.7M, False: 0]
  ------------------
  174|  14.7M|	vl = R_findVarInFrame(rho, symbol);
  175|  14.7M|	if (vl != R_UnboundValue) {
  ------------------
  |  Branch (175:6): [True: 4.79k, False: 14.7M]
  ------------------
  176|  4.79k|	    if (TYPEOF(vl) == PROMSXP) {
  ------------------
  |  |  116|  4.79k|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (176:10): [True: 4.79k, False: 0]
  ------------------
  177|  4.79k|		PROTECT(vl);
  ------------------
  |  |  357|  4.79k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  178|  4.79k|		vl = eval(vl, rho);
  ------------------
  |  |  913|  4.79k|#define eval			Rf_eval
  ------------------
  179|  4.79k|		UNPROTECT(1);
  ------------------
  |  |  358|  4.79k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  180|  4.79k|	    }
  181|  4.79k|	    if ((TYPEOF(vl) == CLOSXP ||
  ------------------
  |  |  114|  9.59k|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (181:11): [True: 4.79k, False: 0]
  ------------------
  182|      0|		 TYPEOF(vl) == BUILTINSXP ||
  ------------------
  |  |  119|  4.79k|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (182:4): [True: 0, False: 0]
  ------------------
  183|      0|		 TYPEOF(vl) == SPECIALSXP))
  ------------------
  |  |  118|      0|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (183:4): [True: 0, False: 0]
  ------------------
  184|  4.79k|		return (vl);
  185|  4.79k|	}
  186|  14.7M|	if(rho == target)
  ------------------
  |  Branch (186:5): [True: 4.23M, False: 10.5M]
  ------------------
  187|  4.23M|	    return (R_UnboundValue);
  188|  10.5M|	else
  189|  10.5M|	    rho = ENCLOS(rho);
  190|  14.7M|    }
  191|      0|    return (R_UnboundValue);
  192|  4.24M|}
objects.c:findFunWithBaseEnvAfterGlobalEnv:
  195|  4.23M|{
  196|  4.23M|    SEXP vl;
  197|  12.7M|    while(rho != R_EmptyEnv) {
  ------------------
  |  Branch (197:11): [True: 8.48M, False: 4.23M]
  ------------------
  198|  8.48M|	vl = R_findVarInFrame(rho, symbol);
  199|  8.48M|	if (vl != R_UnboundValue) {
  ------------------
  |  Branch (199:6): [True: 0, False: 8.48M]
  ------------------
  200|      0|	    if (TYPEOF(vl) == PROMSXP) {
  ------------------
  |  |  116|      0|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (200:10): [True: 0, False: 0]
  ------------------
  201|      0|		PROTECT(vl);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  202|      0|		vl = eval(vl, rho);
  ------------------
  |  |  913|      0|#define eval			Rf_eval
  ------------------
  203|      0|		UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  204|      0|	    }
  205|      0|	    if ((TYPEOF(vl) == CLOSXP ||
  ------------------
  |  |  114|      0|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (205:11): [True: 0, False: 0]
  ------------------
  206|      0|		 TYPEOF(vl) == BUILTINSXP ||
  ------------------
  |  |  119|      0|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (206:4): [True: 0, False: 0]
  ------------------
  207|      0|		 TYPEOF(vl) == SPECIALSXP))
  ------------------
  |  |  118|      0|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (207:4): [True: 0, False: 0]
  ------------------
  208|      0|		return (vl);
  209|      0|	}
  210|  8.48M|	if(rho == R_GlobalEnv)
  ------------------
  |  Branch (210:5): [True: 4.22M, False: 4.25M]
  ------------------
  211|  4.22M|	    rho = R_BaseEnv;
  212|  4.25M|	else
  213|  4.25M|	    rho = ENCLOS(rho);
  214|  8.48M|    }
  215|  4.23M|    return (R_UnboundValue);
  216|  4.23M|}
objects.c:addS3Var:
  332|  65.5k|SEXP addS3Var(SEXP vars, SEXP name, SEXP value) {
  333|       |
  334|  65.5k|    SEXP res = CONS(value, vars);
  ------------------
  |  |  309|  65.5k|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
  335|  65.5k|    SET_TAG(res, name);
  336|  65.5k|    return res;
  337|  65.5k|}
objects.c:dispatchMethod:
  357|  10.7k|		    const char *generic, SEXP rho, SEXP callrho, SEXP defrho) {
  358|       |
  359|  10.7k|    SEXP newvars = PROTECT(createS3Vars(
  ------------------
  |  |  357|  10.7k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  360|  10.7k|	PROTECT(mkString(generic)),
  361|  10.7k|	R_BlankScalarString,
  362|  10.7k|	dotClass,
  363|  10.7k|	PROTECT(ScalarString(PRINTNAME(method))),
  364|  10.7k|	callrho,
  365|  10.7k|	defrho
  366|  10.7k|    ));
  367|       |
  368|       |    /* Create a new environment without any */
  369|       |    /* of the formals to the generic in it. */
  370|       |
  371|  10.7k|    if (TYPEOF(op) == CLOSXP) {
  ------------------
  |  |  114|  10.7k|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (371:9): [True: 8.53k, False: 2.22k]
  ------------------
  372|  8.53k|	SEXP formals = FORMALS(op);
  373|  8.53k|	SEXP s, t;
  374|  8.53k|	int matched;
  375|       |
  376|  23.4k|	for (s = FRAME(cptr->cloenv); s != R_NilValue; s = CDR(s)) {
  ------------------
  |  Branch (376:32): [True: 14.8k, False: 8.53k]
  ------------------
  377|  14.8k|	    matched = 0;
  378|  23.0k|	    for (t = formals; t != R_NilValue; t = CDR(t))
  ------------------
  |  Branch (378:24): [True: 23.0k, False: 0]
  ------------------
  379|  23.0k|		if (TAG(t) == TAG(s)) {
  ------------------
  |  Branch (379:7): [True: 14.8k, False: 8.21k]
  ------------------
  380|  14.8k|		    matched = 1;
  381|  14.8k|		    break;
  382|  14.8k|		}
  383|  14.8k|	    if (!matched) {
  ------------------
  |  Branch (383:10): [True: 0, False: 14.8k]
  ------------------
  384|       |#ifdef USEMETHOD_FORWARD_LOCALS
  385|       |		UNPROTECT(1); /* newvars */
  386|       |		newvars = PROTECT(CONS(CAR(s), newvars));
  387|       |		SET_TAG(newvars, TAG(s));
  388|       |#else
  389|      0|		static int option = -1;
  390|      0|		if (option == -1) {
  ------------------
  |  Branch (390:7): [True: 0, False: 0]
  ------------------
  391|      0|		    option = 2; // none: the default
  392|      0|		    const char *val = getenv("R_USEMETHOD_FORWARD_LOCALS");
  393|      0|		    if (val != NULL) {
  ------------------
  |  Branch (393:11): [True: 0, False: 0]
  ------------------
  394|      0|			if (strcmp(val, "all") == 0)
  ------------------
  |  Branch (394:8): [True: 0, False: 0]
  ------------------
  395|      0|			    option = 0;
  396|      0|			else if (strcmp(val, "S4") == 0)
  ------------------
  |  Branch (396:13): [True: 0, False: 0]
  ------------------
  397|      0|			    option = 1;
  398|      0|			else if (strcmp(val, "none") == 0)
  ------------------
  |  Branch (398:13): [True: 0, False: 0]
  ------------------
  399|      0|			    option = 2;
  400|      0|			else if (strcmp(val, "error") == 0)
  ------------------
  |  Branch (400:13): [True: 0, False: 0]
  ------------------
  401|      0|			    option = 3;
  402|      0|			else if (strcmp(val, "warning") == 0)
  ------------------
  |  Branch (402:13): [True: 0, False: 0]
  ------------------
  403|      0|			    option = 4;
  404|      0|			else
  405|      0|			    warning("bad value for R_USEMETHOD_FORWARD_LOCALS");
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
  406|      0|		    }
  407|      0|		}
  408|      0|		SEXP val;
  409|      0|		static char buf[8192];
  410|      0|		switch(option) {
  411|      0|		case 0: // forward all, as in the past before R 4.4.0
  ------------------
  |  Branch (411:3): [True: 0, False: 0]
  ------------------
  412|      0|		    UNPROTECT(1); /* newvars */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  413|      0|		    newvars = PROTECT(CONS(CAR(s), newvars));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  414|      0|		    SET_TAG(newvars, TAG(s));
  415|      0|		    break;
  416|      0|		case 1: // forward only S4 variables
  ------------------
  |  Branch (416:3): [True: 0, False: 0]
  ------------------
  417|      0|		    if (TAG(s) == R_dot_defined ||
  ------------------
  |  Branch (417:11): [True: 0, False: 0]
  ------------------
  418|      0|			TAG(s) == R_dot_Method ||
  ------------------
  |  Branch (418:4): [True: 0, False: 0]
  ------------------
  419|      0|			TAG(s) == R_dot_target ||
  ------------------
  |  Branch (419:4): [True: 0, False: 0]
  ------------------
  420|      0|			TAG(s) == R_dot_Generic ||
  ------------------
  |  Branch (420:4): [True: 0, False: 0]
  ------------------
  421|      0|			TAG(s) == R_dot_Methods) {
  ------------------
  |  Branch (421:4): [True: 0, False: 0]
  ------------------
  422|      0|			UNPROTECT(1); /* newvars */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  423|      0|			newvars = PROTECT(CONS(CAR(s), newvars));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  424|      0|			SET_TAG(newvars, TAG(s));
  425|      0|		    }
  426|      0|		    break;
  427|      0|		case 2: // don't forward any variables
  ------------------
  |  Branch (427:3): [True: 0, False: 0]
  ------------------
  428|      0|		    break;
  429|      0|		case 3: // forward all, with an error when used
  ------------------
  |  Branch (429:3): [True: 0, False: 0]
  ------------------
  430|       |#ifdef WARN_ON_FORWARDING
  431|       |		    if (TAG(s) != R_dot_defined &&
  432|       |			TAG(s) != R_dot_Method &&
  433|       |			TAG(s) != R_dot_target &&
  434|       |			TAG(s) != R_dot_Generic &&
  435|       |			TAG(s) != R_dot_Methods)
  436|       |			warningcall_immediate(R_NilValue,
  437|       |					      "UseMethod forwarding '%s' "
  438|       |					      "in generic '%s'",
  439|       |				CHAR(PRINTNAME(TAG(s))),
  440|       |				generic);
  441|       |#endif
  442|      0|		    snprintf(buf, sizeof(buf),
  443|      0|			     "stop(\"getting UseMethod variable '%s' "
  444|      0|			     "from generic '%s'; "
  445|      0|			     "this is no longer supported\")",
  446|      0|			     CHAR(PRINTNAME(TAG(s))),
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  447|      0|			     generic);
  448|      0|		    val = mkPROMISE(R_ParseString(buf), R_GlobalEnv);
  ------------------
  |  | 1962|      0|# define mkPROMISE		Rf_mkPROMISE
  ------------------
  449|      0|		    UNPROTECT(1); /* newvars */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  450|      0|		    newvars = PROTECT(CONS(val, newvars));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  451|      0|		    SET_TAG(newvars, TAG(s));
  452|      0|		    break;
  453|      0|		default:
  ------------------
  |  Branch (453:3): [True: 0, False: 0]
  ------------------
  454|      0|		    option = 0;
  455|      0|		    warning("bad value for R_USEMETHOD_FORWARD_LOCALS");
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
  456|      0|		}
  457|      0|#endif
  458|      0|	    }
  459|  14.8k|	}
  460|  8.53k|    }
  461|       |
  462|       |    /* Debug a method when debugging the generic. When called via UseMethod or
  463|       |       NextMethod, RSTEP(op) will always be zero because the bit is cleared by
  464|       |       applyClosure. We thus approximate and enter the debugger also when
  465|       |       RDEBUG(rho) is set. */
  466|  10.7k|    if ((RDEBUG(op) && R_current_debug_state()) || RSTEP(op) || RDEBUG(rho))
  ------------------
  |  Branch (466:10): [True: 0, False: 10.7k]
  |  Branch (466:24): [True: 0, False: 0]
  |  Branch (466:52): [True: 0, False: 10.7k]
  |  Branch (466:65): [True: 0, False: 10.7k]
  ------------------
  467|      0|	SET_RSTEP(sxp, 1);
  468|       |
  469|  10.7k|    SEXP newcall =  PROTECT(shallow_duplicate(cptr->call));
  ------------------
  |  |  357|  10.7k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  470|  10.7k|    SETCAR(newcall, method);
  471|  10.7k|    R_GlobalContext->callflag = CTXT_GENERIC;
  472|  10.7k|    SEXP matchedarg = PROTECT(cptr->promargs); /* ? is this PROTECT needed ? */
  ------------------
  |  |  357|  10.7k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  473|  10.7k|    SEXP ans = applyMethod(newcall, sxp, matchedarg, rho, newvars);
  474|  10.7k|    R_GlobalContext->callflag = CTXT_RETURN;
  475|  10.7k|    UNPROTECT(5); /* "generic,method", newvars, newcall, matchedarg */
  ------------------
  |  |  358|  10.7k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  476|       |
  477|  10.7k|    return ans;
  478|  10.7k|}
objects.c:GetObject:
   35|  8.63k|{
   36|  8.63k|    SEXP s, b, formals, tag;
   37|       |
   38|  8.63k|    b = cptr->callfun;
   39|  8.63k|    if (TYPEOF(b) != CLOSXP) error(_("generic 'function' is not a function"));
  ------------------
  |  |  114|  8.63k|#define CLOSXP	     3	  /* closures */
  ------------------
                  if (TYPEOF(b) != CLOSXP) error(_("generic 'function' is not a function"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  if (TYPEOF(b) != CLOSXP) error(_("generic 'function' is not a function"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (39:9): [True: 0, False: 8.63k]
  ------------------
   40|  8.63k|    formals = FORMALS(b);
   41|       |
   42|  8.63k|    tag = TAG(formals);
   43|  8.63k|    if (tag != R_NilValue && tag != R_DotsSymbol) {
  ------------------
  |  Branch (43:9): [True: 8.63k, False: 0]
  |  Branch (43:30): [True: 8.47k, False: 161]
  ------------------
   44|  8.47k|	s = NULL;
   45|       |	/** exact matches **/
   46|  17.5k|	for (b = cptr->promargs ; b != R_NilValue ; b = CDR(b))
  ------------------
  |  Branch (46:28): [True: 9.06k, False: 8.47k]
  ------------------
   47|  9.06k|	    if (TAG(b) != R_NilValue && pmatch(tag, TAG(b), 1)) {
  ------------------
  |  | 1011|      0|#define pmatch			Rf_pmatch
  ------------------
  |  Branch (47:10): [True: 0, False: 9.06k]
  |  Branch (47:34): [True: 0, False: 0]
  ------------------
   48|      0|		if (s != NULL)
  ------------------
  |  Branch (48:7): [True: 0, False: 0]
  ------------------
   49|      0|		    error(_("formal argument \"%s\" matched by multiple actual arguments"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("formal argument \"%s\" matched by multiple actual arguments"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
   50|      0|		          CHAR(PRINTNAME(tag)));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
   51|      0|		else
   52|      0|		    s = CAR(b);
   53|      0|	    }
   54|       |
   55|  8.47k|	if (s == NULL)
  ------------------
  |  Branch (55:6): [True: 8.47k, False: 0]
  ------------------
   56|       |	    /** partial matches **/
   57|  17.5k|	    for (b = cptr->promargs ; b != R_NilValue ; b = CDR(b))
  ------------------
  |  Branch (57:32): [True: 9.06k, False: 8.47k]
  ------------------
   58|  9.06k|		if (TAG(b) != R_NilValue && pmatch(tag, TAG(b), 0)) {
  ------------------
  |  | 1011|      0|#define pmatch			Rf_pmatch
  ------------------
  |  Branch (58:7): [True: 0, False: 9.06k]
  |  Branch (58:31): [True: 0, False: 0]
  ------------------
   59|      0|		    if ( s != NULL)
  ------------------
  |  Branch (59:12): [True: 0, False: 0]
  ------------------
   60|      0|			error(_("formal argument \"%s\" matched by multiple actual arguments"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              			error(_("formal argument \"%s\" matched by multiple actual arguments"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
   61|      0|			      CHAR(PRINTNAME(tag)));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
   62|      0|		    else
   63|      0|			s = CAR(b);
   64|      0|		}
   65|  8.47k|	if (s == NULL)
  ------------------
  |  Branch (65:6): [True: 8.47k, False: 0]
  ------------------
   66|       |	    /** first untagged argument **/
   67|  8.47k|	    for (b = cptr->promargs ; b != R_NilValue ; b = CDR(b))
  ------------------
  |  Branch (67:32): [True: 8.47k, False: 0]
  ------------------
   68|  8.47k|		if (TAG(b) == R_NilValue )
  ------------------
  |  Branch (68:7): [True: 8.47k, False: 0]
  ------------------
   69|  8.47k|		{
   70|  8.47k|		    s = CAR(b);
   71|  8.47k|		    break;
   72|  8.47k|		}
   73|  8.47k|	if (s == NULL)
  ------------------
  |  Branch (73:6): [True: 0, False: 8.47k]
  ------------------
   74|      0|	    s = CAR(cptr->promargs);
   75|       |/*
   76|       |	    error("failed to match argument for dispatch");
   77|       |*/
   78|  8.47k|    }
   79|    161|    else
   80|    161|	s = CAR(cptr->promargs);
   81|       |
   82|  8.63k|    if (TYPEOF(s) == PROMSXP) {
  ------------------
  |  |  116|  8.63k|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (82:9): [True: 8.47k, False: 159]
  ------------------
   83|  8.47k|	if (! PROMISE_IS_EVALUATED(s))
  ------------------
  |  Branch (83:6): [True: 8.47k, False: 0]
  ------------------
   84|  8.47k|	    s = eval(s, R_BaseEnv);
  ------------------
  |  |  913|  8.47k|#define eval			Rf_eval
  ------------------
   85|      0|	else
   86|      0|	    s = PRVALUE(s);
   87|  8.47k|    }
   88|  8.63k|    return(s);
   89|  8.63k|}
objects.c:equalS3Signature:
  657|    120|			 const char *right) {
  658|       |
  659|    120|    const char *s = signature;
  660|    120|    const char *a;
  661|       |
  662|    240|    for(a = left; *a; s++, a++) {
  ------------------
  |  Branch (662:19): [True: 120, False: 120]
  ------------------
  663|    120|	if (*s != *a)
  ------------------
  |  Branch (663:6): [True: 0, False: 120]
  ------------------
  664|      0|	    return FALSE;
  665|    120|    }
  666|    120|    if (*s++ != '.')
  ------------------
  |  Branch (666:9): [True: 0, False: 120]
  ------------------
  667|      0|	return FALSE;
  668|    920|    for(a = right; *a; s++, a++) {
  ------------------
  |  Branch (668:20): [True: 800, False: 120]
  ------------------
  669|    800|	if (*s != *a)
  ------------------
  |  Branch (669:6): [True: 0, False: 800]
  ------------------
  670|      0|	    return FALSE;
  671|    800|    }
  672|    120|    return (*s == 0) ? TRUE : FALSE;
  ------------------
  |  Branch (672:12): [True: 120, False: 0]
  ------------------
  673|    120|}
objects.c:applyMethod:
   92|  10.8k|{
   93|  10.8k|    SEXP ans;
   94|  10.8k|    if (TYPEOF(op) == SPECIALSXP) {
  ------------------
  |  |  118|  10.8k|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (94:9): [True: 120, False: 10.7k]
  ------------------
   95|    120|	int save = R_PPStackTop, flag = PRIMPRINT(op);
  ------------------
  |  | 1350|    120|#define PRIMPRINT(x)	(((R_FunTab[PRIMOFFSET(x)].eval)/100)%10)
  |  |  ------------------
  |  |  |  |  913|    120|#define eval			Rf_eval
  |  |  ------------------
  ------------------
   96|    120|	const void *vmax = vmaxget();
   97|    120|	R_Visible = flag != 1;
   98|    120|	ans = PRIMFUN(op) (call, op, args, rho);
  ------------------
  |  | 1345|    120|#define PRIMFUN(x)	(R_FunTab[PRIMOFFSET(x)].cfun)
  ------------------
   99|    120|	if (flag < 2) R_Visible = flag != 1;
  ------------------
  |  Branch (99:6): [True: 120, False: 0]
  ------------------
  100|    120|	check_stack_balance(op, save);
  ------------------
  |  | 1871|    120|# define check_stack_balance	Rf_check_stack_balance
  ------------------
  101|    120|	vmaxset(vmax);
  102|    120|    }
  103|       |    /* In other places we add a context to builtins when profiling,
  104|       |       but we have not bothered here (as there seem to be no primitives
  105|       |       used as methods, and this would have to be a primitive to be
  106|       |       found).
  107|       |     */
  108|  10.7k|    else if (TYPEOF(op) == BUILTINSXP) {
  ------------------
  |  |  119|  10.7k|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (108:14): [True: 0, False: 10.7k]
  ------------------
  109|      0|	int save = R_PPStackTop, flag = PRIMPRINT(op);
  ------------------
  |  | 1350|      0|#define PRIMPRINT(x)	(((R_FunTab[PRIMOFFSET(x)].eval)/100)%10)
  |  |  ------------------
  |  |  |  |  913|      0|#define eval			Rf_eval
  |  |  ------------------
  ------------------
  110|      0|	const void *vmax = vmaxget();
  111|      0|	PROTECT(args = evalList(args, rho, call, 0));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  112|      0|	R_Visible = flag != 1;
  113|      0|	ans = PRIMFUN(op) (call, op, args, rho);
  ------------------
  |  | 1345|      0|#define PRIMFUN(x)	(R_FunTab[PRIMOFFSET(x)].cfun)
  ------------------
  114|      0|	if (flag < 2) R_Visible = flag != 1;
  ------------------
  |  Branch (114:6): [True: 0, False: 0]
  ------------------
  115|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  116|      0|	check_stack_balance(op, save);
  ------------------
  |  | 1871|      0|# define check_stack_balance	Rf_check_stack_balance
  ------------------
  117|      0|	vmaxset(vmax);
  118|      0|    }
  119|  10.7k|    else if (TYPEOF(op) == CLOSXP) {
  ------------------
  |  |  114|  10.7k|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (119:14): [True: 10.7k, False: 0]
  ------------------
  120|  10.7k|	ans = applyClosure(call, op, args, rho, newvars, FALSE);
  ------------------
  |  |  879|  10.7k|#define applyClosure		Rf_applyClosure
  ------------------
  121|  10.7k|    }
  122|      0|    else
  123|      0|	ans = R_NilValue;  /* for -Wall */
  124|  10.8k|    return ans;
  125|  10.8k|}
objects.c:inherits3:
 1015|  11.3k|{
 1016|  11.3k|    const void *vmax = vmaxget();
 1017|  11.3k|    SEXP klass, rval = R_NilValue /* -Wall */;
 1018|       |
 1019|  11.3k|    if(IS_S4_OBJECT(x))
  ------------------
  |  Branch (1019:8): [True: 0, False: 11.3k]
  ------------------
 1020|      0|	PROTECT(klass = R_data_class2(x)); // -> := S4_extends( "class(x)" )
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1021|  11.3k|    else
 1022|  11.3k|	PROTECT(klass = R_data_class(x, FALSE));
  ------------------
  |  |  357|  11.3k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1023|       |
 1024|  11.3k|    if(!isString(what))
  ------------------
  |  |  966|  11.3k|#define isString		Rf_isString
  ------------------
  |  Branch (1024:8): [True: 0, False: 11.3k]
  ------------------
 1025|      0|	error(_("'what' must be a character vector "
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'what' must be a character vector "
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1026|      0|		"or an object with a nameOfClass() method"));
 1027|  11.3k|    int j, nwhat = LENGTH(what);
 1028|       |
 1029|  11.3k|    if( !isLogical(which) || (LENGTH(which) != 1) )
  ------------------
  |  |  952|  11.3k|#define isLogical		Rf_isLogical
  ------------------
  |  Branch (1029:9): [True: 0, False: 11.3k]
  |  Branch (1029:30): [True: 0, False: 11.3k]
  ------------------
 1030|      0|	error(_("'which' must be a length 1 logical vector"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'which' must be a length 1 logical vector"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1031|  11.3k|    bool isvec = asRbool(which, R_NilValue);
  ------------------
  |  | 1866|  11.3k|# define asRbool		Rf_asRbool
  ------------------
 1032|       |
 1033|  11.3k|    if(isvec)
  ------------------
  |  Branch (1033:8): [True: 0, False: 11.3k]
  ------------------
 1034|      0|	PROTECT(rval = allocVector(INTSXP, nwhat));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1035|       |
 1036|  19.8k|    for(j = 0; j < nwhat; j++) {
  ------------------
  |  Branch (1036:16): [True: 11.3k, False: 8.52k]
  ------------------
 1037|  11.3k|	const char *ss = translateChar(STRING_ELT(what, j));
  ------------------
  |  | 1037|  11.3k|#define translateChar		Rf_translateChar
  ------------------
 1038|  11.3k|	int i = stringPositionTr(klass, ss);
  ------------------
  |  | 1033|  11.3k|#define stringPositionTr	Rf_stringPositionTr
  ------------------
 1039|  11.3k|	if (isvec)
  ------------------
  |  Branch (1039:6): [True: 0, False: 11.3k]
  ------------------
 1040|      0|	    INTEGER(rval)[j] = i+1; /* 0 when ss is not in klass */
 1041|  11.3k|	else if (i >= 0) {
  ------------------
  |  Branch (1041:11): [True: 2.79k, False: 8.52k]
  ------------------
 1042|  2.79k|	    vmaxset(vmax);
 1043|  2.79k|	    UNPROTECT(1);
  ------------------
  |  |  358|  2.79k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1044|  2.79k|	    return mkTrue();
  ------------------
  |  | 1965|  2.79k|# define mkTrue			Rf_mkTrue
  ------------------
 1045|  2.79k|	}
 1046|  11.3k|    }
 1047|  8.52k|    vmaxset(vmax);
 1048|  8.52k|    if(!isvec) {
  ------------------
  |  Branch (1048:8): [True: 8.52k, False: 0]
  ------------------
 1049|  8.52k|	UNPROTECT(1);
  ------------------
  |  |  358|  8.52k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1050|  8.52k|	return mkFalse();
  ------------------
  |  | 1961|  8.52k|# define mkFalse		Rf_mkFalse
  ------------------
 1051|  8.52k|    }
 1052|      0|    UNPROTECT(2);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1053|      0|    return rval;
 1054|  8.52k|}
objects.c:R_get_standardGeneric_ptr:
 1210|  2.10M|{
 1211|  2.10M|    return R_standardGeneric_ptr;
 1212|  2.10M|}

Rf_GetOption1:
  129|  2.13M|{
  130|  2.13M|    SEXP opt = SYMVALUE(Options());
  131|  2.13M|    if (!isList(opt)) error(_("corrupted options list"));
  ------------------
  |  |  951|  2.13M|#define isList			Rf_isList
  ------------------
                  if (!isList(opt)) error(_("corrupted options list"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  if (!isList(opt)) error(_("corrupted options list"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (131:9): [True: 0, False: 2.13M]
  ------------------
  132|  2.13M|    opt = FindTaggedItem(opt, tag);
  133|  2.13M|    return CAR(opt);
  134|  2.13M|}
Rf_FixupWidth:
  137|  6.38k|{
  138|  6.38k|    int w = asInteger(width);
  ------------------
  |  |  885|  6.38k|#define asInteger		Rf_asInteger
  ------------------
  139|  6.38k|    if (w == NA_INTEGER || w < R_MIN_WIDTH_OPT || w > R_MAX_WIDTH_OPT) {
  ------------------
  |  |   56|  12.7k|#define NA_INTEGER	R_NaInt
  ------------------
                  if (w == NA_INTEGER || w < R_MIN_WIDTH_OPT || w > R_MAX_WIDTH_OPT) {
  ------------------
  |  |   78|  12.7k|#define R_MIN_WIDTH_OPT		10
  ------------------
                  if (w == NA_INTEGER || w < R_MIN_WIDTH_OPT || w > R_MAX_WIDTH_OPT) {
  ------------------
  |  |   79|  6.38k|#define R_MAX_WIDTH_OPT		10000
  ------------------
  |  Branch (139:9): [True: 0, False: 6.38k]
  |  Branch (139:28): [True: 0, False: 6.38k]
  |  Branch (139:51): [True: 0, False: 6.38k]
  ------------------
  140|      0|	switch(warn) {
  ------------------
  |  Branch (140:9): [True: 0, False: 0]
  ------------------
  141|      0|	case iWARN: warning(_("invalid printing width %d, used 80"), w);
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	case iWARN: warning(_("invalid printing width %d, used 80"), w);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (141:2): [True: 0, False: 0]
  ------------------
  142|      0|	case iSILENT:
  ------------------
  |  Branch (142:2): [True: 0, False: 0]
  ------------------
  143|      0|	    return 80; // for SILENT and WARN
  144|      0|	case iERROR: error(_("invalid printing width"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	case iERROR: error(_("invalid printing width"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (144:2): [True: 0, False: 0]
  ------------------
  145|      0|	}
  146|      0|    }
  147|  6.38k|    return w;
  148|  6.38k|}
Rf_GetOptionWidth:
  150|  6.38k|{
  151|  6.38k|    return FixupWidth(GetOption1(install("width")), iWARN);
  ------------------
  |  |  922|  6.38k|#define FixupWidth		Rf_FixupWidth
  ------------------
                  return FixupWidth(GetOption1(install("width")), iWARN);
  ------------------
  |  |  928|  6.38k|#define GetOption1		Rf_GetOption1
  ------------------
                  return FixupWidth(GetOption1(install("width")), iWARN);
  ------------------
  |  |  934|  6.38k|#define install			Rf_install
  ------------------
  152|  6.38k|}
Rf_FixupDigits:
  155|  6.38k|{
  156|  6.38k|    int d = asInteger(digits);
  ------------------
  |  |  885|  6.38k|#define asInteger		Rf_asInteger
  ------------------
  157|  6.38k|    if (d == NA_INTEGER || d < R_MIN_DIGITS_OPT || d > R_MAX_DIGITS_OPT) {
  ------------------
  |  |   56|  12.7k|#define NA_INTEGER	R_NaInt
  ------------------
                  if (d == NA_INTEGER || d < R_MIN_DIGITS_OPT || d > R_MAX_DIGITS_OPT) {
  ------------------
  |  |   80|  12.7k|#define R_MIN_DIGITS_OPT	1
  ------------------
                  if (d == NA_INTEGER || d < R_MIN_DIGITS_OPT || d > R_MAX_DIGITS_OPT) {
  ------------------
  |  |   81|  6.38k|#define R_MAX_DIGITS_OPT	22
  ------------------
  |  Branch (157:9): [True: 0, False: 6.38k]
  |  Branch (157:28): [True: 0, False: 6.38k]
  |  Branch (157:52): [True: 0, False: 6.38k]
  ------------------
  158|      0|	switch(warn) {
  ------------------
  |  Branch (158:9): [True: 0, False: 0]
  ------------------
  159|      0|	case iWARN: warning(_("invalid printing digits %d, used 7"), d);
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	case iWARN: warning(_("invalid printing digits %d, used 7"), d);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (159:2): [True: 0, False: 0]
  ------------------
  160|      0|	case iSILENT:
  ------------------
  |  Branch (160:2): [True: 0, False: 0]
  ------------------
  161|      0|	    return 7; // for SILENT and WARN
  162|      0|	case iERROR: error(_("invalid printing digits %d"), d);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	case iERROR: error(_("invalid printing digits %d"), d);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (162:2): [True: 0, False: 0]
  ------------------
  163|      0|	}
  164|      0|    }
  165|  6.38k|    return d;
  166|  6.38k|}
Rf_GetOptionDigits:
  169|  6.38k|{
  170|  6.38k|    return FixupDigits(GetOption1(install("digits")), iWARN);
  ------------------
  |  |  921|  6.38k|#define FixupDigits		Rf_FixupDigits
  ------------------
                  return FixupDigits(GetOption1(install("digits")), iWARN);
  ------------------
  |  |  928|  6.38k|#define GetOption1		Rf_GetOption1
  ------------------
                  return FixupDigits(GetOption1(install("digits")), iWARN);
  ------------------
  |  |  934|  6.38k|#define install			Rf_install
  ------------------
  171|  6.38k|}
Rf_GetOptionCutoff:
  203|  6.38k|{
  204|  6.38k|    int w;
  205|  6.38k|    w = asInteger(GetOption1(install("deparse.cutoff")));
  ------------------
  |  |  885|  6.38k|#define asInteger		Rf_asInteger
  ------------------
                  w = asInteger(GetOption1(install("deparse.cutoff")));
  ------------------
  |  |  928|  6.38k|#define GetOption1		Rf_GetOption1
  ------------------
                  w = asInteger(GetOption1(install("deparse.cutoff")));
  ------------------
  |  |  934|  6.38k|#define install			Rf_install
  ------------------
  206|  6.38k|    if (w == NA_INTEGER || w <= 0) {
  ------------------
  |  |   56|  12.7k|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (206:9): [True: 0, False: 6.38k]
  |  Branch (206:28): [True: 0, False: 6.38k]
  ------------------
  207|      0|	warning(_("invalid 'deparse.cutoff', used 60"));
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	warning(_("invalid 'deparse.cutoff', used 60"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  208|      0|	w = 60;
  209|      0|    }
  210|  6.38k|    return w;
  211|  6.38k|}
Rf_InitOptions:
  300|      2|{
  301|      2|    SEXP val, v;
  302|      2|    char *p;
  303|       |
  304|       |    /* options set here should be included into mandatory[] in do_options */
  305|      2|#ifdef HAVE_RL_COMPLETION_MATCHES
  306|      2|    PROTECT(v = val = allocList(31));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
  307|       |#else
  308|       |    PROTECT(v = val = allocList(30));
  309|       |#endif
  310|       |
  311|      2|    SET_TAG(v, install("prompt"));
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  312|      2|    SETCAR(v, mkString("> "));
  ------------------
  |  | 1003|      2|#define mkString		Rf_mkString
  ------------------
  313|      2|    v = CDR(v);
  314|       |
  315|      2|    SET_TAG(v, install("continue"));
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  316|      2|    SETCAR(v, mkString("+ "));
  ------------------
  |  | 1003|      2|#define mkString		Rf_mkString
  ------------------
  317|      2|    v = CDR(v);
  318|       |
  319|      2|    SET_TAG(v, install("expressions"));
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  320|      2|    SETCAR(v, ScalarInteger(R_Expressions));
  ------------------
  |  | 1022|      2|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  321|      2|    v = CDR(v);
  322|       |
  323|      2|    SET_TAG(v, install("width"));
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  324|      2|    SETCAR(v, ScalarInteger(80));
  ------------------
  |  | 1022|      2|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  325|      2|    v = CDR(v);
  326|       |
  327|      2|    SET_TAG(v, install("deparse.cutoff"));
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  328|      2|    SETCAR(v, ScalarInteger(60));
  ------------------
  |  | 1022|      2|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  329|      2|    v = CDR(v);
  330|       |
  331|      2|    SET_TAG(v, install("digits"));
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  332|      2|    SETCAR(v, ScalarInteger(7));
  ------------------
  |  | 1022|      2|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  333|      2|    v = CDR(v);
  334|       |
  335|      2|    SET_TAG(v, install("echo"));
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  336|      2|    SETCAR(v, ScalarLogical(!R_NoEcho));
  ------------------
  |  | 1023|      2|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  337|      2|    v = CDR(v);
  338|       |
  339|      2|    SET_TAG(v, install("quiet"));
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  340|      2|    SETCAR(v, ScalarLogical(R_Quiet));
  ------------------
  |  | 1023|      2|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  341|      2|    v = CDR(v);
  342|       |
  343|      2|    SET_TAG(v, install("verbose"));
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  344|      2|    SETCAR(v, ScalarLogical(R_Verbose));
  ------------------
  |  | 1023|      2|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  345|      2|    v = CDR(v);
  346|       |
  347|      2|    SET_TAG(v, install("check.bounds"));
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  348|      2|    SETCAR(v, ScalarLogical(0));	/* no checking */
  ------------------
  |  | 1023|      2|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  349|      2|    v = CDR(v);
  350|       |
  351|      2|    p = getenv("R_KEEP_PKG_SOURCE");
  352|      2|    R_KeepSource = (p && (strcmp(p, "yes") == 0)) ? 1 : 0;
  ------------------
  |  Branch (352:21): [True: 0, False: 2]
  |  Branch (352:26): [True: 0, False: 0]
  ------------------
  353|       |
  354|      2|    SET_TAG(v, install("keep.source")); /* overridden in Common.R */
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  355|      2|    SETCAR(v, ScalarLogical(R_KeepSource));
  ------------------
  |  | 1023|      2|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  356|      2|    v = CDR(v);
  357|       |
  358|      2|    SET_TAG(v, install("keep.source.pkgs"));
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  359|      2|    SETCAR(v, ScalarLogical(R_KeepSource));
  ------------------
  |  | 1023|      2|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  360|      2|    v = CDR(v);
  361|       |
  362|      2|    SET_TAG(v, install("keep.parse.data"));
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  363|      2|    SETCAR(v, ScalarLogical(TRUE));
  ------------------
  |  | 1023|      2|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  364|      2|    v = CDR(v);
  365|       |
  366|      2|    p = getenv("R_KEEP_PKG_PARSE_DATA");
  367|      2|    SET_TAG(v, install("keep.parse.data.pkgs"));
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  368|      2|    SETCAR(v, ScalarLogical((p && (strcmp(p, "yes") == 0)) ? TRUE : FALSE));
  ------------------
  |  | 1023|      2|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  |  Branch (368:30): [True: 0, False: 2]
  |  Branch (368:35): [True: 0, False: 0]
  ------------------
  369|      2|    v = CDR(v);
  370|       |
  371|      2|    SET_TAG(v, install("warning.length"));
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  372|      2|    SETCAR(v, ScalarInteger(R_WarnLength));
  ------------------
  |  | 1022|      2|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  373|      2|    v = CDR(v);
  374|       |
  375|      2|    SET_TAG(v, install("nwarnings"));
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  376|      2|    SETCAR(v, ScalarInteger(R_nwarnings));
  ------------------
  |  | 1022|      2|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  377|      2|    v = CDR(v);
  378|       |
  379|      2|    SET_TAG(v, install("OutDec"));
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  380|      2|    SETCAR(v, mkString(OutDec));
  ------------------
  |  | 1003|      2|#define mkString		Rf_mkString
  ------------------
  381|      2|    v = CDR(v);
  382|       |
  383|      2|    p = getenv("R_C_BOUNDS_CHECK");
  384|      2|    R_CBoundsCheck = (p && (strcmp(p, "yes") == 0)) ? TRUE : FALSE;
  ------------------
  |  Branch (384:23): [True: 0, False: 2]
  |  Branch (384:28): [True: 0, False: 0]
  ------------------
  385|       |
  386|      2|    SET_TAG(v, install("CBoundsCheck"));
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  387|      2|    SETCAR(v, ScalarLogical(R_CBoundsCheck));
  ------------------
  |  | 1023|      2|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  388|      2|    v = CDR(v);
  389|       |
  390|      2|    SET_TAG(v, install("matprod"));
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  391|      2|    switch(R_Matprod) {
  ------------------
  |  Branch (391:12): [True: 2, False: 0]
  ------------------
  392|      2|	case MATPROD_DEFAULT: p = "default"; break;
  ------------------
  |  Branch (392:2): [True: 2, False: 0]
  ------------------
  393|      0|	case MATPROD_INTERNAL: p = "internal"; break;
  ------------------
  |  Branch (393:2): [True: 0, False: 2]
  ------------------
  394|      0|	case MATPROD_BLAS: p = "blas"; break;
  ------------------
  |  Branch (394:2): [True: 0, False: 2]
  ------------------
  395|      0|	case MATPROD_DEFAULT_SIMD: p = "default.simd"; break;
  ------------------
  |  Branch (395:2): [True: 0, False: 2]
  ------------------
  396|      2|    }
  397|      2|    SETCAR(v, mkString(p));
  ------------------
  |  | 1003|      2|#define mkString		Rf_mkString
  ------------------
  398|      2|    v = CDR(v);
  399|       |
  400|      2|    SET_TAG(v, install("PCRE_study"));
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  401|      2|    if (R_PCRE_study == -1)
  ------------------
  |  Branch (401:9): [True: 0, False: 2]
  ------------------
  402|      0|	SETCAR(v, ScalarLogical(TRUE));
  ------------------
  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  403|      2|    else if (R_PCRE_study == -2)
  ------------------
  |  Branch (403:14): [True: 2, False: 0]
  ------------------
  404|      2|	SETCAR(v, ScalarLogical(FALSE));
  ------------------
  |  | 1023|      2|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  405|      0|    else
  406|      0|	SETCAR(v, ScalarInteger(R_PCRE_study));
  ------------------
  |  | 1022|      0|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  407|      2|    v = CDR(v);
  408|       |
  409|      2|    SET_TAG(v, install("PCRE_use_JIT"));
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  410|      2|    SETCAR(v, ScalarLogical(R_PCRE_use_JIT));
  ------------------
  |  | 1023|      2|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  411|      2|    v = CDR(v);
  412|       |
  413|      2|    SET_TAG(v, install("PCRE_limit_recursion"));
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  414|      2|    R_PCRE_limit_recursion = NA_LOGICAL;
  ------------------
  |  |   55|      2|#define NA_LOGICAL	R_NaInt
  ------------------
  415|      2|    SETCAR(v, ScalarLogical(R_PCRE_limit_recursion));
  ------------------
  |  | 1023|      2|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  416|      2|    v = CDR(v);
  417|       |
  418|      2|    SET_TAG(v, install("max.contour.segments"));
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  419|      2|    SETCAR(v, ScalarInteger(max_contour_segments));
  ------------------
  |  | 1022|      2|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  420|      2|    v = CDR(v);
  421|       |
  422|      2|    SET_TAG(v, install("warnPartialMatchDollar"));
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  423|      2|    SETCAR(v, ScalarLogical(R_warn_partial_match_dollar));
  ------------------
  |  | 1023|      2|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  424|      2|    v = CDR(v);
  425|       |
  426|      2|    SET_TAG(v, install("warnPartialMatchArgs"));
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  427|      2|    SETCAR(v, ScalarLogical(R_warn_partial_match_args));
  ------------------
  |  | 1023|      2|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  428|      2|    v = CDR(v);
  429|       |
  430|      2|    SET_TAG(v, install("warnPartialMatchAttr"));
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  431|      2|    SETCAR(v, ScalarLogical(R_warn_partial_match_attr));
  ------------------
  |  | 1023|      2|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  432|      2|    v = CDR(v);
  433|       |
  434|      2|    SET_TAG(v, install("showWarnCalls"));
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  435|      2|    SETCAR(v, ScalarLogical(R_ShowWarnCalls));
  ------------------
  |  | 1023|      2|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  436|      2|    v = CDR(v);
  437|       |
  438|      2|    SET_TAG(v, install("showErrorCalls"));
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  439|      2|    SETCAR(v, ScalarLogical(R_ShowErrorCalls));
  ------------------
  |  | 1023|      2|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  440|      2|    v = CDR(v);
  441|       |
  442|      2|    SET_TAG(v, install("showNCalls"));
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  443|      2|    SETCAR(v, ScalarInteger(R_NShowCalls));
  ------------------
  |  | 1022|      2|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  444|      2|    v = CDR(v);
  445|       |
  446|      2|    SET_TAG(v, install("browserNLdisabled"));
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  447|      2|    SETCAR(v, ScalarLogical(R_DisableNLinBrowser));
  ------------------
  |  | 1023|      2|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  448|      2|    v = CDR(v);
  449|       |
  450|       |    /* options set here should be included into mandatory[] in do_options */
  451|       |
  452|      2|#ifdef HAVE_RL_COMPLETION_MATCHES
  453|       |    /* value from Rf_initialize_R */
  454|      2|    SET_TAG(v, install("rl_word_breaks"));
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  455|      2|    SETCAR(v, mkString(" \t\n\"\\'`><=;,|&{()}")); // no longer '%' for `%/%`, `%in%` ..
  ------------------
  |  | 1003|      2|#define mkString		Rf_mkString
  ------------------
  456|      2|    set_rl_word_breaks(" \t\n\"\\'`><=;,|&{()}");
  457|      2|#endif
  458|       |
  459|      2|    SET_SYMVALUE(install(".Options"), val);
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  460|      2|    UNPROTECT(1);
  ------------------
  |  |  358|      2|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  461|      2|}
do_getOption:
  465|    156|{
  466|    156|    checkArity(op, args);
  ------------------
  |  | 1793|    156|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  467|    156|    SEXP x = CAR(args);
  468|    156|    if (!isString(x) || LENGTH(x) != 1)
  ------------------
  |  |  966|    156|#define isString		Rf_isString
  ------------------
  |  Branch (468:9): [True: 0, False: 156]
  |  Branch (468:25): [True: 0, False: 156]
  ------------------
  469|      0|	error(_("'%s' must be a character string"), "x");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'%s' must be a character string"), "x");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  470|    156|    return duplicate(GetOption1(installTrChar(STRING_ELT(x, 0))));
  ------------------
  |  |  909|    156|#define duplicate		Rf_duplicate
  ------------------
                  return duplicate(GetOption1(installTrChar(STRING_ELT(x, 0))));
  ------------------
  |  |  928|    156|#define GetOption1		Rf_GetOption1
  ------------------
                  return duplicate(GetOption1(installTrChar(STRING_ELT(x, 0))));
  ------------------
  |  |  937|    156|#define installTrChar		Rf_installTrChar
  ------------------
  471|    156|}
do_options:
  483|     78|{
  484|     78|    SEXP names, value, options;
  485|       |
  486|       |    /* Locate the options values in the symbol table.
  487|       |       This will need to change if options are to live in the session
  488|       |       frame.
  489|       |       */
  490|       |
  491|     78|    options = SYMVALUE(Options());
  492|       |
  493|       |    /* This code is not re-entrant and people have used it in
  494|       |       finalizers.
  495|       |
  496|       |       If a re-entrancy lock needs to be added, note that it
  497|       |       would apply to R_SetOption* too.
  498|       |    */
  499|       |
  500|     78|    checkArity(op, args);
  ------------------
  |  | 1793|     78|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  501|     78|    if (args == R_NilValue) {
  ------------------
  |  Branch (501:9): [True: 0, False: 78]
  ------------------
  502|       |	/* This is the zero argument case.
  503|       |	   We alloc up a vector list and write the system values into it.
  504|       |	*/
  505|      0|	int n = length(options);
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  506|      0|	PROTECT(value = allocVector(VECSXP, n));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  507|      0|	PROTECT(names = allocVector(STRSXP, n));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  508|      0|	for (int i = 0; i < n; i++) {
  ------------------
  |  Branch (508:18): [True: 0, False: 0]
  ------------------
  509|      0|	    SET_STRING_ELT(names, i, PRINTNAME(TAG(options)));
  510|      0|	    SET_VECTOR_ELT(value, i, duplicate(CAR(options)));
  ------------------
  |  |  909|      0|#define duplicate		Rf_duplicate
  ------------------
  511|      0|	    options = CDR(options);
  512|      0|	}
  513|      0|	SEXP sind = PROTECT(allocVector(INTSXP, n));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  514|      0|	int *indx = INTEGER(sind);
  515|      0|	for (int i = 0; i < n; i++) indx[i] = i;
  ------------------
  |  Branch (515:18): [True: 0, False: 0]
  ------------------
  516|      0|	orderVector1(indx, n, names, true, false, R_NilValue);
  517|      0|	SEXP value2 = PROTECT(allocVector(VECSXP, n));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  518|      0|	SEXP names2 = PROTECT(allocVector(STRSXP, n));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  519|      0|	for(int i = 0; i < n; i++) {
  ------------------
  |  Branch (519:17): [True: 0, False: 0]
  ------------------
  520|      0|	    SET_STRING_ELT(names2, i, STRING_ELT(names, indx[i]));
  521|      0|	    SET_VECTOR_ELT(value2, i, VECTOR_ELT(value, indx[i]));
  522|      0|	}
  523|      0|	setAttrib(value2, R_NamesSymbol, names2);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  524|      0|	UNPROTECT(5);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  525|      0|	R_Visible = TRUE;
  526|      0|	return value2;
  527|      0|    }
  528|       |
  529|       |    /* The arguments to "options" can either be a sequence of
  530|       |       name = value form, or can be a single list.
  531|       |       This means that we must code so that both forms will work.
  532|       |       [ Vomits quietly onto shoes ... ]
  533|       |       */
  534|       |
  535|     78|    int n = length(args);
  ------------------
  |  |  987|     78|#define length(x)		Rf_length(x)
  ------------------
  536|     78|    if (n == 1 && (isPairList(CAR(args)) || isVectorList(CAR(args)))
  ------------------
  |  |  961|     64|#define isPairList		Rf_isPairList
  ------------------
                  if (n == 1 && (isPairList(CAR(args)) || isVectorList(CAR(args)))
  ------------------
  |  |  977|     64|#define isVectorList		Rf_isVectorList
  ------------------
  |  Branch (536:9): [True: 64, False: 14]
  |  Branch (536:20): [True: 0, False: 64]
  |  Branch (536:45): [True: 30, False: 34]
  ------------------
  537|     30|	&& TAG(args) == R_NilValue ) {
  ------------------
  |  Branch (537:5): [True: 30, False: 0]
  ------------------
  538|     30|	args = CAR(args);
  539|     30|	n = length(args);
  ------------------
  |  |  987|     30|#define length(x)		Rf_length(x)
  ------------------
  540|     30|    }
  541|     78|    PROTECT(value = allocVector(VECSXP, n));
  ------------------
  |  |  357|     78|#define PROTECT(s)	Rf_protect(s)
  ------------------
  542|     78|    PROTECT(names = allocVector(STRSXP, n));
  ------------------
  |  |  357|     78|#define PROTECT(s)	Rf_protect(s)
  ------------------
  543|       |
  544|     78|    SEXP argnames = R_NilValue;
  545|     78|    switch (TYPEOF(args)) {
  546|      0|    case NILSXP:
  ------------------
  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (546:5): [True: 0, False: 78]
  ------------------
  547|     48|    case LISTSXP:
  ------------------
  |  |  113|     48|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (547:5): [True: 48, False: 30]
  ------------------
  548|     48|	break;
  549|     30|    case VECSXP:
  ------------------
  |  |  131|     30|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (549:5): [True: 30, False: 48]
  ------------------
  550|     30|	if(n > 0) {
  ------------------
  |  Branch (550:5): [True: 30, False: 0]
  ------------------
  551|     30|	    argnames = getAttrib(args, R_NamesSymbol);
  ------------------
  |  |  924|     30|#define getAttrib		Rf_getAttrib
  ------------------
  552|     30|	    if(LENGTH(argnames) != n)
  ------------------
  |  Branch (552:9): [True: 0, False: 30]
  ------------------
  553|      0|		error(_("list argument has no valid names"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("list argument has no valid names"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  554|     30|	}
  555|     30|	break;
  556|      0|    default:
  ------------------
  |  Branch (556:5): [True: 0, False: 78]
  ------------------
  557|      0|	UNIMPLEMENTED_TYPE("options", args);
  558|     78|    }
  559|     78|    PROTECT(argnames);
  ------------------
  |  |  357|     78|#define PROTECT(s)	Rf_protect(s)
  ------------------
  560|       |
  561|     78|    Rboolean visible = FALSE;
  562|    262|    for (int i = 0 ; i < n ; i++) { /* i-th argument */
  ------------------
  |  Branch (562:22): [True: 184, False: 78]
  ------------------
  563|    184|	SEXP argi = R_NilValue, namei = R_NilValue;
  564|    184|	switch (TYPEOF(args)) {
  565|     86|	case LISTSXP:
  ------------------
  |  |  113|     86|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (565:2): [True: 86, False: 98]
  ------------------
  566|     86|	    argi = CAR(args);
  567|     86|	    namei = EnsureString(TAG(args)); /* gives "" for no tag */
  ------------------
  |  | 1899|     86|# define EnsureString 		Rf_EnsureString
  ------------------
  568|     86|	    args = CDR(args);
  569|     86|	    break;
  570|     98|	case VECSXP:
  ------------------
  |  |  131|     98|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (570:2): [True: 98, False: 86]
  ------------------
  571|     98|	    argi = VECTOR_ELT(args, i);
  572|     98|	    namei = STRING_ELT(argnames, i);
  573|     98|	    break;
  574|      0|	default: /* already checked, but be safe here */
  ------------------
  |  Branch (574:2): [True: 0, False: 184]
  ------------------
  575|      0|	    UNIMPLEMENTED_TYPE("options", args);
  576|    184|	}
  577|       |
  578|    184|	if (*CHAR(namei)) { /* name = value  ---> assignment */
  ------------------
  |  |  203|    184|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (578:6): [True: 184, False: 0]
  ------------------
  579|    184|	    SEXP tag = installTrChar(namei);
  ------------------
  |  |  937|    184|#define installTrChar		Rf_installTrChar
  ------------------
  580|    184|	    SET_STRING_ELT(names, i, namei);
  581|       |
  582|    184|	    if (argi == R_NilValue) {
  ------------------
  |  Branch (582:10): [True: 12, False: 172]
  ------------------
  583|       |		/* Handle option removal separately to simplify value checking
  584|       |		   for known options below; mandatory means not allowed to be
  585|       |		   removed once set. It makes sense to also set these options
  586|       |		   at startup, because otherwise one could not reliably restore
  587|       |		   previously saved options (see also PR#18372).*/
  588|     12|		const char *mandatory[] = {"prompt", "continue", "expressions",
  589|     12|		  "width", "deparse.cutoff", "digits", "echo", "quiet", "verbose",
  590|     12|		  "check.bounds", "keep.source", "keep.source.pkgs",
  591|     12|		  "keep.parse.data", "keep.parse.data.pkgs", "warning.length",
  592|     12|		  "nwarnings", "OutDec", "CBoundsCheck",
  593|     12|		  "matprod", "PCRE_study", "PCRE_use_JIT",
  594|     12|		  "PCRE_limit_recursion", "rl_word_breaks",
  595|     12|		  "max.contour.segments", "warnPartialMatchDollar",
  596|     12|		  "warnPartialMatchArgs", "warnPartialMatchAttr",
  597|     12|		  "showWarnCalls", "showErrorCalls", "showNCalls",
  598|     12|		  "browserNLdisabled",
  599|       |		  /* ^^^ from InitOptions ^^^ */
  600|     12|		  "warn", "max.print", "show.error.messages", "scipen",
  601|       |		  /* ^^^ from Common.R ^^^ */
  602|     12|		  NULL};
  603|    432|		for(int j = 0; mandatory[j] != NULL; j++)
  ------------------
  |  Branch (603:18): [True: 420, False: 12]
  ------------------
  604|    420|		    if (streql(CHAR(namei), mandatory[j]))
  ------------------
  |  | 1498|    420|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 420]
  |  |  ------------------
  ------------------
  605|      0|			error(_("option '%s' cannot be deleted"), CHAR(namei));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              			error(_("option '%s' cannot be deleted"), CHAR(namei));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
              			error(_("option '%s' cannot be deleted"), CHAR(namei));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  606|       |		// "else" :
  607|     12|		SET_VECTOR_ELT(value, i, SetOption(tag, R_NilValue));
  608|    172|	    } else if (streql(CHAR(namei), "width")) {
  ------------------
  |  | 1498|    172|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 172]
  |  |  ------------------
  ------------------
  609|      0|		int k = asInteger(argi);
  ------------------
  |  |  885|      0|#define asInteger		Rf_asInteger
  ------------------
  610|      0|		if (k < R_MIN_WIDTH_OPT || k > R_MAX_WIDTH_OPT)
  ------------------
  |  |   78|      0|#define R_MIN_WIDTH_OPT		10
  ------------------
              		if (k < R_MIN_WIDTH_OPT || k > R_MAX_WIDTH_OPT)
  ------------------
  |  |   79|      0|#define R_MAX_WIDTH_OPT		10000
  ------------------
  |  Branch (610:7): [True: 0, False: 0]
  |  Branch (610:30): [True: 0, False: 0]
  ------------------
  611|      0|		    error(_("invalid '%s' parameter, allowed %d...%d"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("invalid '%s' parameter, allowed %d...%d"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  612|      0|			  CHAR(namei), R_MIN_WIDTH_OPT, R_MAX_WIDTH_OPT);
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
              			  CHAR(namei), R_MIN_WIDTH_OPT, R_MAX_WIDTH_OPT);
  ------------------
  |  |   78|      0|#define R_MIN_WIDTH_OPT		10
  ------------------
              			  CHAR(namei), R_MIN_WIDTH_OPT, R_MAX_WIDTH_OPT);
  ------------------
  |  |   79|      0|#define R_MAX_WIDTH_OPT		10000
  ------------------
  613|      0|		SET_VECTOR_ELT(value, i, SetOption(tag, ScalarInteger(k)));
  ------------------
  |  | 1022|      0|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  614|      0|	    }
  615|    172|	    else if (streql(CHAR(namei), "deparse.cutoff")) {
  ------------------
  |  | 1498|    172|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 172]
  |  |  ------------------
  ------------------
  616|      0|		int k = asInteger(argi);
  ------------------
  |  |  885|      0|#define asInteger		Rf_asInteger
  ------------------
  617|      0|		SET_VECTOR_ELT(value, i, SetOption(tag, ScalarInteger(k)));
  ------------------
  |  | 1022|      0|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  618|      0|	    }
  619|    172|	    else if (streql(CHAR(namei), "digits")) {
  ------------------
  |  | 1498|    172|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 172]
  |  |  ------------------
  ------------------
  620|      0|		int k = asInteger(argi);
  ------------------
  |  |  885|      0|#define asInteger		Rf_asInteger
  ------------------
  621|      0|		if (k < R_MIN_DIGITS_OPT || k > R_MAX_DIGITS_OPT)
  ------------------
  |  |   80|      0|#define R_MIN_DIGITS_OPT	1
  ------------------
              		if (k < R_MIN_DIGITS_OPT || k > R_MAX_DIGITS_OPT)
  ------------------
  |  |   81|      0|#define R_MAX_DIGITS_OPT	22
  ------------------
  |  Branch (621:7): [True: 0, False: 0]
  |  Branch (621:31): [True: 0, False: 0]
  ------------------
  622|      0|		    error(_("invalid '%s' parameter, allowed %d...%d"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("invalid '%s' parameter, allowed %d...%d"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  623|      0|			  CHAR(namei), R_MIN_DIGITS_OPT, R_MAX_DIGITS_OPT);
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
              			  CHAR(namei), R_MIN_DIGITS_OPT, R_MAX_DIGITS_OPT);
  ------------------
  |  |   80|      0|#define R_MIN_DIGITS_OPT	1
  ------------------
              			  CHAR(namei), R_MIN_DIGITS_OPT, R_MAX_DIGITS_OPT);
  ------------------
  |  |   81|      0|#define R_MAX_DIGITS_OPT	22
  ------------------
  624|      0|		SET_VECTOR_ELT(value, i, SetOption(tag, ScalarInteger(k)));
  ------------------
  |  | 1022|      0|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  625|      0|	    }
  626|    172|	    else if (streql(CHAR(namei), "expressions")) {
  ------------------
  |  | 1498|    172|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 172]
  |  |  ------------------
  ------------------
  627|      0|		int k = asInteger(argi);
  ------------------
  |  |  885|      0|#define asInteger		Rf_asInteger
  ------------------
  628|      0|		if (k < R_MIN_EXPRESSIONS_OPT || k > R_MAX_EXPRESSIONS_OPT)
  ------------------
  |  |   31|      0|#define R_MIN_EXPRESSIONS_OPT	25
  ------------------
              		if (k < R_MIN_EXPRESSIONS_OPT || k > R_MAX_EXPRESSIONS_OPT)
  ------------------
  |  |   32|      0|#define R_MAX_EXPRESSIONS_OPT	500000
  ------------------
  |  Branch (628:7): [True: 0, False: 0]
  |  Branch (628:36): [True: 0, False: 0]
  ------------------
  629|      0|		    error(_("invalid '%s' parameter, allowed %d...%d"), CHAR(namei),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("invalid '%s' parameter, allowed %d...%d"), CHAR(namei),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
              		    error(_("invalid '%s' parameter, allowed %d...%d"), CHAR(namei),
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  630|      0|			  R_MIN_EXPRESSIONS_OPT, R_MAX_EXPRESSIONS_OPT);
  ------------------
  |  |   31|      0|#define R_MIN_EXPRESSIONS_OPT	25
  ------------------
              			  R_MIN_EXPRESSIONS_OPT, R_MAX_EXPRESSIONS_OPT);
  ------------------
  |  |   32|      0|#define R_MAX_EXPRESSIONS_OPT	500000
  ------------------
  631|      0|		R_Expressions = R_Expressions_keep = k;
  632|      0|		SET_VECTOR_ELT(value, i, SetOption(tag, ScalarInteger(k)));
  ------------------
  |  | 1022|      0|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  633|      0|	    }
  634|    172|	    else if (streql(CHAR(namei), "keep.source")) {
  ------------------
  |  | 1498|    172|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 26, False: 146]
  |  |  ------------------
  ------------------
  635|     26|		if (TYPEOF(argi) != LGLSXP || LENGTH(argi) != 1)
  ------------------
  |  |  121|     52|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (635:7): [True: 0, False: 26]
  |  Branch (635:33): [True: 0, False: 26]
  ------------------
  636|      0|		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  637|     26|		Rboolean k = asRbool(argi, call);
  ------------------
  |  | 1866|     26|# define asRbool		Rf_asRbool
  ------------------
  638|     26|		R_KeepSource = k;
  639|     26|		SET_VECTOR_ELT(value, i, SetOption(tag, ScalarLogical(k)));
  ------------------
  |  | 1023|     26|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  640|     26|	    }
  641|    146|	    else if (streql(CHAR(namei), "editor") && isString(argi)) {
  ------------------
  |  | 1498|    292|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 2, False: 144]
  |  |  ------------------
  ------------------
              	    else if (streql(CHAR(namei), "editor") && isString(argi)) {
  ------------------
  |  |  966|      2|#define isString		Rf_isString
  ------------------
  |  Branch (641:48): [True: 2, False: 0]
  ------------------
  642|      2|		SEXP s =  asChar(argi);
  ------------------
  |  |  882|      2|#define asChar			Rf_asChar
  ------------------
  643|      2|		if (s == NA_STRING || LENGTH(s) == 0)
  ------------------
  |  |  433|      4|#define NA_STRING	R_NaString
  ------------------
  |  Branch (643:7): [True: 0, False: 2]
  |  Branch (643:25): [True: 0, False: 2]
  ------------------
  644|      0|		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  645|      2|		SET_VECTOR_ELT(value, i, SetOption(tag, ScalarString(s)));
  ------------------
  |  | 1025|      2|#define ScalarString		Rf_ScalarString
  ------------------
  646|      2|	    }
  647|    144|	    else if (streql(CHAR(namei), "continue")) {
  ------------------
  |  | 1498|    144|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 144]
  |  |  ------------------
  ------------------
  648|      0|		SEXP s =  asChar(argi);
  ------------------
  |  |  882|      0|#define asChar			Rf_asChar
  ------------------
  649|      0|		if (s == NA_STRING || LENGTH(s) == 0)
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  |  Branch (649:7): [True: 0, False: 0]
  |  Branch (649:25): [True: 0, False: 0]
  ------------------
  650|      0|		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  651|       |		/* We want to make sure these are in the native encoding */
  652|      0|		SET_VECTOR_ELT(value, i,
  653|      0|			       SetOption(tag, mkString(translateChar(s))));
  ------------------
  |  | 1003|      0|#define mkString		Rf_mkString
  ------------------
              			       SetOption(tag, mkString(translateChar(s))));
  ------------------
  |  | 1037|      0|#define translateChar		Rf_translateChar
  ------------------
  654|      0|	    }
  655|    144|	    else if (streql(CHAR(namei), "prompt")) {
  ------------------
  |  | 1498|    144|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 144]
  |  |  ------------------
  ------------------
  656|      0|		SEXP s =  asChar(argi);
  ------------------
  |  |  882|      0|#define asChar			Rf_asChar
  ------------------
  657|      0|		if (s == NA_STRING || LENGTH(s) == 0)
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  |  Branch (657:7): [True: 0, False: 0]
  |  Branch (657:25): [True: 0, False: 0]
  ------------------
  658|      0|		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  659|       |		/* We want to make sure these are in the native encoding */
  660|      0|		SET_VECTOR_ELT(value, i,
  661|      0|			       SetOption(tag, mkString(translateChar(s))));
  ------------------
  |  | 1003|      0|#define mkString		Rf_mkString
  ------------------
              			       SetOption(tag, mkString(translateChar(s))));
  ------------------
  |  | 1037|      0|#define translateChar		Rf_translateChar
  ------------------
  662|      0|	    }
  663|    144|	    else if (streql(CHAR(namei), "contrasts")) {
  ------------------
  |  | 1498|    144|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 2, False: 142]
  |  |  ------------------
  ------------------
  664|      2|		if (TYPEOF(argi) != STRSXP || LENGTH(argi) != 2)
  ------------------
  |  |  126|      4|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (664:7): [True: 0, False: 2]
  |  Branch (664:33): [True: 0, False: 2]
  ------------------
  665|      0|		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  666|      2|		SET_VECTOR_ELT(value, i, SetOption(tag, argi));
  667|      2|	    }
  668|    142|	    else if (streql(CHAR(namei), "check.bounds")) {
  ------------------
  |  | 1498|    142|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 142]
  |  |  ------------------
  ------------------
  669|      0|		if (TYPEOF(argi) != LGLSXP || LENGTH(argi) != 1)
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (669:7): [True: 0, False: 0]
  |  Branch (669:33): [True: 0, False: 0]
  ------------------
  670|      0|		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  671|      0|		int k = asLogical(argi);
  ------------------
  |  |  886|      0|#define asLogical		Rf_asLogical
  ------------------
  672|       |		/* R_CheckBounds = k; */
  673|      0|		SET_VECTOR_ELT(value, i, SetOption(tag, ScalarLogical(k)));
  ------------------
  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  674|      0|	    }
  675|    142|	    else if (streql(CHAR(namei), "warn")) {
  ------------------
  |  | 1498|    142|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 4, False: 138]
  |  |  ------------------
  ------------------
  676|      4|		if (!isNumeric(argi) || LENGTH(argi) != 1)
  ------------------
  |  |  957|      4|#define isNumeric		Rf_isNumeric
  ------------------
  |  Branch (676:7): [True: 0, False: 4]
  |  Branch (676:27): [True: 0, False: 4]
  ------------------
  677|      0|		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  678|      4|		int k;
  679|       |		// k = asInteger(argi) wld give both error + warning
  680|      4|		if(TYPEOF(argi) == REALSXP) {
  ------------------
  |  |  124|      4|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (680:6): [True: 2, False: 2]
  ------------------
  681|      2|		    int w;
  682|      2|		    k = IntegerFromReal(REAL_ELT(argi, 0), &w);
  ------------------
  |  | 1932|      2|# define IntegerFromReal	Rf_IntegerFromReal
  ------------------
  683|      2|		} else {
  684|      2|		    k = asInteger(argi);
  ------------------
  |  |  885|      2|#define asInteger		Rf_asInteger
  ------------------
  685|      2|		}
  686|      4|		if (k == NA_INTEGER)
  ------------------
  |  |   56|      4|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (686:7): [True: 0, False: 4]
  ------------------
  687|      0|		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  688|      4|#ifndef _ALLOW_WARN_OUT_OF_BOUNDS_OPT_
  689|      4|		char *p = getenv("R_WARN_BOUNDS_OPT");
  690|      4|		if ((p && (strcmp(p, "yes") == 0)) && (k < -1 || k > 2)) {
  ------------------
  |  Branch (690:8): [True: 0, False: 4]
  |  Branch (690:13): [True: 0, False: 0]
  |  Branch (690:42): [True: 0, False: 0]
  |  Branch (690:52): [True: 0, False: 0]
  ------------------
  691|      0|		    int k_n = (k < 0) ? -1 : 2;
  ------------------
  |  Branch (691:17): [True: 0, False: 0]
  ------------------
  692|      0|		    warning(_("value for '%s' outside of -1:2 is set to %d\n"),
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              		    warning(_("value for '%s' outside of -1:2 is set to %d\n"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  693|      0|			     CHAR(namei), k_n);
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  694|      0|		    k = k_n;
  695|      0|		}
  696|      4|#endif
  697|      4|		SET_VECTOR_ELT(value, i, SetOption(tag, ScalarInteger(k)));
  ------------------
  |  | 1022|      4|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  698|      4|	    }
  699|    138|	    else if (streql(CHAR(namei), "warning.length")) {
  ------------------
  |  | 1498|    138|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 138]
  |  |  ------------------
  ------------------
  700|      0|		int k = asInteger(argi);
  ------------------
  |  |  885|      0|#define asInteger		Rf_asInteger
  ------------------
  701|      0|		if (k < 100 || k > 8170)
  ------------------
  |  Branch (701:7): [True: 0, False: 0]
  |  Branch (701:18): [True: 0, False: 0]
  ------------------
  702|      0|		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  703|      0|		R_WarnLength = k;
  704|      0|		SET_VECTOR_ELT(value, i, SetOption(tag, argi));
  705|      0|	    }
  706|    138|	    else if ( streql(CHAR(namei), "warning.expression") )  {
  ------------------
  |  | 1498|    138|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 138]
  |  |  ------------------
  ------------------
  707|      0|		if( !isLanguage(argi) &&  ! isExpression(argi) )
  ------------------
  |  |  950|      0|#define isLanguage		Rf_isLanguage
  ------------------
              		if( !isLanguage(argi) &&  ! isExpression(argi) )
  ------------------
  |  |  945|      0|#define isExpression		Rf_isExpression
  ------------------
  |  Branch (707:7): [True: 0, False: 0]
  |  Branch (707:29): [True: 0, False: 0]
  ------------------
  708|      0|		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  709|      0|		SET_VECTOR_ELT(value, i, SetOption(tag, argi));
  710|      0|	    }
  711|    138|	    else if (streql(CHAR(namei), "max.print")) {
  ------------------
  |  | 1498|    138|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 2, False: 136]
  |  |  ------------------
  ------------------
  712|      2|		int k = asInteger(argi);
  ------------------
  |  |  885|      2|#define asInteger		Rf_asInteger
  ------------------
  713|      2|		if (k < 1) error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		if (k < 1) error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
              		if (k < 1) error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (713:7): [True: 0, False: 2]
  ------------------
  714|      2|		SET_VECTOR_ELT(value, i, SetOption(tag, ScalarInteger(k)));
  ------------------
  |  | 1022|      2|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  715|      2|	    }
  716|    136|	    else if (streql(CHAR(namei), "scipen")) {
  ------------------
  |  | 1498|    136|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 2, False: 134]
  |  |  ------------------
  ------------------
  717|      2|		int k = FixupScipen(argi, iWARN); /* to become iERROR in say 2027 */
  718|      2|		SET_VECTOR_ELT(value, i, SetOption(tag, ScalarInteger(k)));
  ------------------
  |  | 1022|      2|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  719|      2|	    }
  720|    134|	    else if (streql(CHAR(namei), "nwarnings")) {
  ------------------
  |  | 1498|    134|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 134]
  |  |  ------------------
  ------------------
  721|      0|		int k = asInteger(argi);
  ------------------
  |  |  885|      0|#define asInteger		Rf_asInteger
  ------------------
  722|      0|		if (k < 1) error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		if (k < 1) error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
              		if (k < 1) error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (722:7): [True: 0, False: 0]
  ------------------
  723|      0|		R_nwarnings = k;
  724|      0|		R_CollectWarnings = 0; /* force a reset */
  725|      0|		SET_VECTOR_ELT(value, i, SetOption(tag, ScalarInteger(k)));
  ------------------
  |  | 1022|      0|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  726|      0|	    }
  727|    134|	    else if ( streql(CHAR(namei), "error") ) {
  ------------------
  |  | 1498|    134|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 134]
  |  |  ------------------
  ------------------
  728|      0|		if(isFunction(argi))
  ------------------
  |  |  948|      0|#define isFunction		Rf_isFunction
  ------------------
  |  Branch (728:6): [True: 0, False: 0]
  ------------------
  729|      0|		  argi = makeErrorCall(argi);
  730|      0|		else if( !isLanguage(argi) &&  !isExpression(argi) )
  ------------------
  |  |  950|      0|#define isLanguage		Rf_isLanguage
  ------------------
              		else if( !isLanguage(argi) &&  !isExpression(argi) )
  ------------------
  |  |  945|      0|#define isExpression		Rf_isExpression
  ------------------
  |  Branch (730:12): [True: 0, False: 0]
  |  Branch (730:34): [True: 0, False: 0]
  ------------------
  731|      0|		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  732|      0|		SET_VECTOR_ELT(value, i, SetOption(tag, argi));
  733|      0|	    }
  734|       |/* handle this here to avoid GetOption1 during error handling */
  735|    134|	    else if ( streql(CHAR(namei), "show.error.messages") ) {
  ------------------
  |  | 1498|    134|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 2, False: 132]
  |  |  ------------------
  ------------------
  736|      2|		check_TRUE_FALSE(argi, CHAR(namei));
  ------------------
  |  |  203|      2|#define CHAR(x) R_CHAR(x)
  ------------------
  737|      2|		R_ShowErrorMessages = LOGICAL(argi)[0];
  738|      2|		SET_VECTOR_ELT(value, i, SetOption(tag, argi));
  739|      2|	    }
  740|    132|	    else if ( streql(CHAR(namei), "catch.script.errors") ) {
  ------------------
  |  | 1498|    132|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 2, False: 130]
  |  |  ------------------
  ------------------
  741|      2|		check_TRUE_FALSE(argi, CHAR(namei));
  ------------------
  |  |  203|      2|#define CHAR(x) R_CHAR(x)
  ------------------
  742|      2|		SET_VECTOR_ELT(value, i, SetOption(tag, argi));
  743|      2|	    }
  744|    130|	    else if (streql(CHAR(namei), "echo")) {
  ------------------
  |  | 1498|    130|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 130]
  |  |  ------------------
  ------------------
  745|      0|		if (TYPEOF(argi) != LGLSXP || LENGTH(argi) != 1)
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (745:7): [True: 0, False: 0]
  |  Branch (745:33): [True: 0, False: 0]
  ------------------
  746|      0|		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  747|      0|		int k = asLogical(argi);
  ------------------
  |  |  886|      0|#define asLogical		Rf_asLogical
  ------------------
  748|       |		/* Should be quicker than checking options(echo)
  749|       |		   every time R prompts for input:
  750|       |		   */
  751|      0|		R_NoEcho = !k;
  752|      0|		SET_VECTOR_ELT(value, i, SetOption(tag, ScalarLogical(k)));
  ------------------
  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  753|      0|	    }
  754|    130|	    else if (streql(CHAR(namei), "OutDec")) {
  ------------------
  |  | 1498|    130|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 130]
  |  |  ------------------
  ------------------
  755|      0|		if (TYPEOF(argi) != STRSXP || LENGTH(argi) != 1)
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (755:7): [True: 0, False: 0]
  |  Branch (755:33): [True: 0, False: 0]
  ------------------
  756|      0|		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  757|      0|		static char sdec[11];
  758|      0|		if(R_nchar(STRING_ELT(argi, 0), Chars,
  ------------------
  |  Branch (758:6): [True: 0, False: 0]
  ------------------
  759|      0|			   /* allowNA = */ FALSE, /* keepNA = */ FALSE,
  760|      0|			   "OutDec") != 1) // will become an error
  761|      0|		    warning(_("'OutDec' must be a string of one character"));
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              		    warning(_("'OutDec' must be a string of one character"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  762|      0|		strncpy(sdec, CHAR(STRING_ELT(argi, 0)), 10);
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  763|      0|		sdec[10] = '\0';
  764|      0|		OutDec = sdec;
  765|      0|		SET_VECTOR_ELT(value, i, SetOption(tag, duplicate(argi)));
  ------------------
  |  |  909|      0|#define duplicate		Rf_duplicate
  ------------------
  766|      0|	    }
  767|    130|	    else if (streql(CHAR(namei), "max.contour.segments")) {
  ------------------
  |  | 1498|    130|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 130]
  |  |  ------------------
  ------------------
  768|      0|		int k = asInteger(argi);
  ------------------
  |  |  885|      0|#define asInteger		Rf_asInteger
  ------------------
  769|      0|		if (k < 0) // also many times above: rely on  NA_INTEGER  <  <finite_int>
  ------------------
  |  Branch (769:7): [True: 0, False: 0]
  ------------------
  770|      0|		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  771|      0|		max_contour_segments = k;
  772|      0|		SET_VECTOR_ELT(value, i, SetOption(tag, ScalarInteger(k)));
  ------------------
  |  | 1022|      0|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  773|      0|	    }
  774|    130|	    else if (streql(CHAR(namei), "rl_word_breaks")) {
  ------------------
  |  | 1498|    130|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 130]
  |  |  ------------------
  ------------------
  775|      0|		if (TYPEOF(argi) != STRSXP || LENGTH(argi) != 1)
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (775:7): [True: 0, False: 0]
  |  Branch (775:33): [True: 0, False: 0]
  ------------------
  776|      0|		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  777|      0|#ifdef HAVE_RL_COMPLETION_MATCHES
  778|      0|		set_rl_word_breaks(CHAR(STRING_ELT(argi, 0)));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  779|      0|#endif
  780|      0|		SET_VECTOR_ELT(value, i, SetOption(tag, duplicate(argi)));
  ------------------
  |  |  909|      0|#define duplicate		Rf_duplicate
  ------------------
  781|      0|	    }
  782|    130|	    else if (streql(CHAR(namei), "warnPartialMatchDollar")) {
  ------------------
  |  | 1498|    130|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 130]
  |  |  ------------------
  ------------------
  783|      0|		check_TRUE_FALSE(argi, CHAR(namei));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  784|      0|		R_warn_partial_match_dollar = asRbool(argi, call);
  ------------------
  |  | 1866|      0|# define asRbool		Rf_asRbool
  ------------------
  785|      0|		SET_VECTOR_ELT(value, i, SetOption(tag, argi));
  786|      0|	    }
  787|    130|	    else if (streql(CHAR(namei), "warnPartialMatchArgs")) {
  ------------------
  |  | 1498|    130|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 130]
  |  |  ------------------
  ------------------
  788|      0|		check_TRUE_FALSE(argi, CHAR(namei));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  789|      0|		R_warn_partial_match_args = asRbool(argi, call);
  ------------------
  |  | 1866|      0|# define asRbool		Rf_asRbool
  ------------------
  790|      0|		SET_VECTOR_ELT(value, i, SetOption(tag, argi));
  791|      0|	    }
  792|    130|	    else if (streql(CHAR(namei), "warnPartialMatchAttr")) {
  ------------------
  |  | 1498|    130|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 130]
  |  |  ------------------
  ------------------
  793|      0|		check_TRUE_FALSE(argi, CHAR(namei));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  794|      0|		R_warn_partial_match_attr = asRbool(argi, call);
  ------------------
  |  | 1866|      0|# define asRbool		Rf_asRbool
  ------------------
  795|      0|		SET_VECTOR_ELT(value, i, SetOption(tag, argi));
  796|      0|	    }
  797|    130|	    else if (streql(CHAR(namei), "showWarnCalls")) {
  ------------------
  |  | 1498|    130|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 130]
  |  |  ------------------
  ------------------
  798|      0|		check_TRUE_FALSE(argi, CHAR(namei));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  799|      0|		R_ShowWarnCalls = asRbool(argi, call);
  ------------------
  |  | 1866|      0|# define asRbool		Rf_asRbool
  ------------------
  800|      0|		SET_VECTOR_ELT(value, i, SetOption(tag, argi));
  801|      0|	    }
  802|    130|	    else if (streql(CHAR(namei), "showErrorCalls")) {
  ------------------
  |  | 1498|    130|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 130]
  |  |  ------------------
  ------------------
  803|      0|		check_TRUE_FALSE(argi, CHAR(namei));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  804|      0|		R_ShowErrorCalls = asRbool(argi, call);
  ------------------
  |  | 1866|      0|# define asRbool		Rf_asRbool
  ------------------
  805|      0|		SET_VECTOR_ELT(value, i, SetOption(tag, argi));
  806|      0|	    }
  807|    130|	    else if (streql(CHAR(namei), "showNCalls")) {
  ------------------
  |  | 1498|    130|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 130]
  |  |  ------------------
  ------------------
  808|      0|		int k = asInteger(argi);
  ------------------
  |  |  885|      0|#define asInteger		Rf_asInteger
  ------------------
  809|      0|		if (k < 30 || k > 500 || k == NA_INTEGER || LENGTH(argi) != 1)
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (809:7): [True: 0, False: 0]
  |  Branch (809:17): [True: 0, False: 0]
  |  Branch (809:28): [True: 0, False: 0]
  |  Branch (809:47): [True: 0, False: 0]
  ------------------
  810|      0|		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  811|      0|		R_NShowCalls = k;
  812|      0|		SET_VECTOR_ELT(value, i, SetOption(tag, ScalarInteger(k)));
  ------------------
  |  | 1022|      0|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  813|      0|	    }
  814|    130|	    else if (streql(CHAR(namei), "par.ask.default")) {
  ------------------
  |  | 1498|    130|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 130]
  |  |  ------------------
  ------------------
  815|      0|		error(_("\"par.ask.default\" has been replaced by \"device.ask.default\""));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("\"par.ask.default\" has been replaced by \"device.ask.default\""));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  816|      0|	    }
  817|    130|	    else if (streql(CHAR(namei), "browserNLdisabled")) {
  ------------------
  |  | 1498|    130|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 130]
  |  |  ------------------
  ------------------
  818|      0|		check_TRUE_FALSE(argi, CHAR(namei));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  819|      0|		R_DisableNLinBrowser = asRbool(argi, call);
  ------------------
  |  | 1866|      0|# define asRbool		Rf_asRbool
  ------------------
  820|      0|		SET_VECTOR_ELT(value, i, SetOption(tag, argi));
  821|      0|	    }
  822|    130|	    else if (streql(CHAR(namei), "CBoundsCheck")) {
  ------------------
  |  | 1498|    130|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 130]
  |  |  ------------------
  ------------------
  823|      0|		check_TRUE_FALSE(argi, CHAR(namei));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  824|      0|		R_CBoundsCheck = asRbool(argi, call);
  ------------------
  |  | 1866|      0|# define asRbool		Rf_asRbool
  ------------------
  825|      0|		SET_VECTOR_ELT(value, i, SetOption(tag, argi));
  826|      0|	    }
  827|    130|	    else if (streql(CHAR(namei), "matprod")) {
  ------------------
  |  | 1498|    130|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 130]
  |  |  ------------------
  ------------------
  828|      0|		SEXP s = asChar(argi);
  ------------------
  |  |  882|      0|#define asChar			Rf_asChar
  ------------------
  829|      0|		if (s == NA_STRING || LENGTH(s) == 0)
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  |  Branch (829:7): [True: 0, False: 0]
  |  Branch (829:25): [True: 0, False: 0]
  ------------------
  830|      0|		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  831|      0|		if (streql(CHAR(s), "default"))
  ------------------
  |  | 1498|      0|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  832|      0|		    R_Matprod = MATPROD_DEFAULT;
  833|      0|		else if (streql(CHAR(s), "internal"))
  ------------------
  |  | 1498|      0|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  834|      0|		    R_Matprod = MATPROD_INTERNAL;
  835|      0|		else if (streql(CHAR(s), "blas"))
  ------------------
  |  | 1498|      0|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  836|      0|		    R_Matprod = MATPROD_BLAS;
  837|      0|		else if (streql(CHAR(s), "default.simd")) {
  ------------------
  |  | 1498|      0|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  838|      0|		    R_Matprod = MATPROD_DEFAULT_SIMD;
  839|      0|#if !defined(_OPENMP) || !defined(HAVE_OPENMP_SIMDRED)
  840|      0|		    warning(_("OpenMP SIMD is not supported in this build of R"));
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              		    warning(_("OpenMP SIMD is not supported in this build of R"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  841|      0|#endif
  842|      0|		} else
  843|      0|		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  844|      0|		SET_VECTOR_ELT(value, i, SetOption(tag, duplicate(argi)));
  ------------------
  |  |  909|      0|#define duplicate		Rf_duplicate
  ------------------
  845|      0|	    }
  846|    130|	    else if (streql(CHAR(namei), "PCRE_study")) {
  ------------------
  |  | 1498|    130|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 130]
  |  |  ------------------
  ------------------
  847|      0|		if (TYPEOF(argi) == LGLSXP) {
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (847:7): [True: 0, False: 0]
  ------------------
  848|      0|		    int k = asLogical(argi) > 0;
  ------------------
  |  |  886|      0|#define asLogical		Rf_asLogical
  ------------------
  849|      0|		    R_PCRE_study = k ? -1 : -2;
  ------------------
  |  Branch (849:22): [True: 0, False: 0]
  ------------------
  850|      0|		    SET_VECTOR_ELT(value, i,
  851|      0|				   SetOption(tag, ScalarLogical(k)));
  ------------------
  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  852|      0|		} else {
  853|      0|		    R_PCRE_study = asInteger(argi);
  ------------------
  |  |  885|      0|#define asInteger		Rf_asInteger
  ------------------
  854|      0|		    if (R_PCRE_study < 0) {
  ------------------
  |  Branch (854:11): [True: 0, False: 0]
  ------------------
  855|      0|			R_PCRE_study = -2;
  856|      0|			SET_VECTOR_ELT(value, i,
  857|      0|				       SetOption(tag, ScalarLogical(-2)));
  ------------------
  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  858|      0|		    } else
  859|      0|			SET_VECTOR_ELT(value, i,
  860|      0|				       SetOption(tag, ScalarInteger(R_PCRE_study)));
  ------------------
  |  | 1022|      0|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  861|      0|		}
  862|      0|#ifdef HAVE_PCRE2
  863|      0|		if (R_PCRE_study != -2)
  ------------------
  |  Branch (863:7): [True: 0, False: 0]
  ------------------
  864|      0|		    warning(_("'PCRE_study' has no effect with PCRE2"));
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              		    warning(_("'PCRE_study' has no effect with PCRE2"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  865|      0|#endif
  866|      0|	    }
  867|    130|	    else if (streql(CHAR(namei), "PCRE_use_JIT")) {
  ------------------
  |  | 1498|    130|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 130]
  |  |  ------------------
  ------------------
  868|      0|		int use_JIT = asLogical(argi);
  ------------------
  |  |  886|      0|#define asLogical		Rf_asLogical
  ------------------
  869|      0|		R_PCRE_use_JIT = (use_JIT > 0); // NA_LOGICAL is < 0
  870|      0|		SET_VECTOR_ELT(value, i,
  871|      0|			       SetOption(tag, ScalarLogical(R_PCRE_use_JIT)));
  ------------------
  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  872|      0|	    }
  873|    130|	    else if (streql(CHAR(namei), "PCRE_limit_recursion")) {
  ------------------
  |  | 1498|    130|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 130]
  |  |  ------------------
  ------------------
  874|      0|		R_PCRE_limit_recursion = asLogical(argi);
  ------------------
  |  |  886|      0|#define asLogical		Rf_asLogical
  ------------------
  875|      0|		SET_VECTOR_ELT(value, i,
  876|      0|			       SetOption(tag, ScalarLogical(R_PCRE_limit_recursion)));
  ------------------
  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  877|       |		/* could warn for PCRE2 >= 10.30, but the value is ignored also when
  878|       |		   JIT is used  */
  879|      0|	    }
  880|    130|	    else if (streql(CHAR(namei), "stringsAsFactors")) {
  ------------------
  |  | 1498|    130|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 130]
  |  |  ------------------
  ------------------
  881|      0|		int strings_as_fact;
  882|      0|		if (TYPEOF(argi) != LGLSXP || LENGTH(argi) != 1 ||
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (882:7): [True: 0, False: 0]
  |  Branch (882:33): [True: 0, False: 0]
  ------------------
  883|      0|		    (strings_as_fact = asLogical(argi)) == NA_LOGICAL)
  ------------------
  |  |  886|      0|#define asLogical		Rf_asLogical
  ------------------
              		    (strings_as_fact = asLogical(argi)) == NA_LOGICAL)
  ------------------
  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (883:7): [True: 0, False: 0]
  ------------------
  884|      0|		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  885|      0|		if(strings_as_fact && !warned_on_strings_as_fact) {
  ------------------
  |  Branch (885:6): [True: 0, False: 0]
  |  Branch (885:25): [True: 0, False: 0]
  ------------------
  886|      0|		    warned_on_strings_as_fact = TRUE;
  887|      0|		    warning(_("'%s' is deprecated and will be disabled"),
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              		    warning(_("'%s' is deprecated and will be disabled"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  888|      0|			    "options(stringsAsFactors = TRUE)");
  889|      0|		}
  890|      0|		SET_VECTOR_ELT(value, i,
  891|      0|			       SetOption(tag, ScalarLogical(strings_as_fact)));
  ------------------
  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  892|      0|	    }
  893|    130|	    else if (streql(CHAR(namei), "quiet")) {
  ------------------
  |  | 1498|    130|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 130]
  |  |  ------------------
  ------------------
  894|      0|		if (TYPEOF(argi) != LGLSXP || LENGTH(argi) != 1)
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (894:7): [True: 0, False: 0]
  |  Branch (894:33): [True: 0, False: 0]
  ------------------
  895|      0|		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  896|      0|		Rboolean k = asRbool(argi, call);
  ------------------
  |  | 1866|      0|# define asRbool		Rf_asRbool
  ------------------
  897|       |#ifdef NO_QUIET_AND_VERBOSE
  898|       |		if(k && R_Verbose)
  899|       |		    error(_("cannot set both options 'quiet' and 'verbose' to TRUE"));
  900|       |#endif
  901|      0|		R_Quiet = k;
  902|      0|		SET_VECTOR_ELT(value, i, SetOption(tag, ScalarLogical(k)));
  ------------------
  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  903|      0|	    }
  904|    130|	    else if (streql(CHAR(namei), "verbose")) {
  ------------------
  |  | 1498|    130|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 130]
  |  |  ------------------
  ------------------
  905|      0|		if (TYPEOF(argi) != LGLSXP || LENGTH(argi) != 1)
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (905:7): [True: 0, False: 0]
  |  Branch (905:33): [True: 0, False: 0]
  ------------------
  906|      0|		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
              		    error(_("invalid value for '%s'"), CHAR(namei));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  907|      0|		Rboolean k = asRbool(argi, call);
  ------------------
  |  | 1866|      0|# define asRbool		Rf_asRbool
  ------------------
  908|       |#ifdef NO_QUIET_AND_VERBOSE
  909|       |		if(k && R_Quiet)
  910|       |		    error(_("cannot set both options 'quiet' and 'verbose' to TRUE"));
  911|       |#endif
  912|      0|		R_Verbose = k;
  913|      0|		SET_VECTOR_ELT(value, i, SetOption(tag, ScalarLogical(k)));
  ------------------
  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  914|      0|	    }
  915|    130|	    else {
  916|    130|		SET_VECTOR_ELT(value, i, SetOption(tag, duplicate(argi)));
  ------------------
  |  |  909|    130|#define duplicate		Rf_duplicate
  ------------------
  917|    130|	    }
  918|    184|	}
  919|      0|	else { /* querying arg */
  920|      0|	    const char *tag;
  921|      0|	    if (!isString(argi) || LENGTH(argi) <= 0)
  ------------------
  |  |  966|      0|#define isString		Rf_isString
  ------------------
  |  Branch (921:10): [True: 0, False: 0]
  |  Branch (921:29): [True: 0, False: 0]
  ------------------
  922|      0|		error(_("invalid argument"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("invalid argument"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  923|      0|	    tag = translateChar(STRING_ELT(argi, 0));
  ------------------
  |  | 1037|      0|#define translateChar		Rf_translateChar
  ------------------
  924|      0|	    if (streql(tag, "par.ask.default")) {
  ------------------
  |  | 1498|      0|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  925|      0|		error(_("\"par.ask.default\" has been replaced by \"device.ask.default\""));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("\"par.ask.default\" has been replaced by \"device.ask.default\""));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  926|      0|	    }
  927|       |
  928|      0|	    SET_VECTOR_ELT(value, i, duplicate(CAR(FindTaggedItem(options, install(tag)))));
  ------------------
  |  |  909|      0|#define duplicate		Rf_duplicate
  ------------------
              	    SET_VECTOR_ELT(value, i, duplicate(CAR(FindTaggedItem(options, install(tag)))));
  ------------------
  |  |  934|      0|#define install			Rf_install
  ------------------
  929|      0|	    SET_STRING_ELT(names, i, STRING_ELT(argi, 0));
  930|      0|	    visible = TRUE;
  931|      0|	}
  932|    184|    } /* for() */
  933|     78|    setAttrib(value, R_NamesSymbol, names);
  ------------------
  |  | 1027|     78|#define setAttrib		Rf_setAttrib
  ------------------
  934|     78|    UNPROTECT(3); /* value, names, argnames */
  ------------------
  |  |  358|     78|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  935|     78|    R_Visible = visible;
  936|     78|    return value;
  937|     78|}
options.c:Options:
  101|  2.13M|{
  102|  2.13M|    static SEXP sOptions = NULL;
  103|  2.13M|    if(!sOptions) sOptions = install(".Options");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  |  Branch (103:8): [True: 2, False: 2.13M]
  ------------------
  104|  2.13M|    return sOptions;
  105|  2.13M|}
options.c:FindTaggedItem:
  108|  2.13M|{
  109|   112M|    for ( ; lst != R_NilValue ; lst = CDR(lst)) {
  ------------------
  |  Branch (109:13): [True: 111M, False: 1.05M]
  ------------------
  110|   111M|	if (TAG(lst) == tag) {
  ------------------
  |  Branch (110:6): [True: 1.07M, False: 109M]
  ------------------
  111|  1.07M|	    if (CAR(lst) == R_NilValue)
  ------------------
  |  Branch (111:10): [True: 0, False: 1.07M]
  ------------------
  112|      0|		error("option %s has NULL value", CHAR(PRINTNAME(tag)));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error("option %s has NULL value", CHAR(PRINTNAME(tag)));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  113|  1.07M|	    return lst;
  114|  1.07M|	}
  115|   111M|    }
  116|  1.05M|    return R_NilValue;
  117|  2.13M|}
options.c:SetOption:
  230|    184|{
  231|    184|    SEXP opt, old, t;
  232|    184|    PROTECT(value);
  ------------------
  |  |  357|    184|#define PROTECT(s)	Rf_protect(s)
  ------------------
  233|    184|    t = opt = SYMVALUE(Options());
  234|    184|    if (!isList(opt))
  ------------------
  |  |  951|    184|#define isList			Rf_isList
  ------------------
  |  Branch (234:9): [True: 0, False: 184]
  ------------------
  235|      0|	error(_("corrupted options list"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("corrupted options list"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  236|    184|    opt = FindTaggedItem(opt, tag);
  237|       |
  238|       |    /* The option is being removed. */
  239|    184|    if (value == R_NilValue) {
  ------------------
  |  Branch (239:9): [True: 12, False: 172]
  ------------------
  240|    726|	for ( ; t != R_NilValue ; t = CDR(t))
  ------------------
  |  Branch (240:10): [True: 726, False: 0]
  ------------------
  241|    726|	    if (TAG(CDR(t)) == tag) {
  ------------------
  |  Branch (241:10): [True: 12, False: 714]
  ------------------
  242|     12|		old = CAR(CDR(t));
  243|     12|		SETCDR(t, CDDR(t));
  244|     12|		UNPROTECT(1); /* value */
  ------------------
  |  |  358|     12|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  245|     12|		return old;
  246|     12|	    }
  247|      0|	UNPROTECT(1); /* value */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  248|      0|	return R_NilValue;
  249|     12|    }
  250|       |    /* If the option is new, a new slot */
  251|       |    /* is added to the end of .Options */
  252|    172|    if (opt == R_NilValue) {
  ------------------
  |  Branch (252:9): [True: 96, False: 76]
  ------------------
  253|  5.05k|	while (CDR(t) != R_NilValue)
  ------------------
  |  Branch (253:9): [True: 4.95k, False: 96]
  ------------------
  254|  4.95k|	    t = CDR(t);
  255|     96|	SETCDR(t, allocList(1));
  ------------------
  |  |  871|     96|#define allocList		Rf_allocList
  ------------------
  256|     96|	opt = CDR(t);
  257|     96|	SET_TAG(opt, tag);
  258|     96|    }
  259|    172|    old = CAR(opt);
  260|    172|    SETCAR(opt, value);
  261|    172|    UNPROTECT(1); /* value */
  ------------------
  |  |  358|    172|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  262|    172|    return old;
  263|    184|}
options.c:FixupScipen:
  175|      2|{
  176|      2|    if (!isNumeric(scipen) || LENGTH(scipen) != 1)
  ------------------
  |  |  957|      2|#define isNumeric		Rf_isNumeric
  ------------------
  |  Branch (176:9): [True: 0, False: 2]
  |  Branch (176:31): [True: 0, False: 2]
  ------------------
  177|      0|	error(_("invalid 'scipen'"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid 'scipen'"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  178|      2|    int d;
  179|      2|    if(TYPEOF(scipen) == REALSXP) { /* preventing warning + error : */
  ------------------
  |  |  124|      2|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (179:8): [True: 2, False: 0]
  ------------------
  180|      2|	int w = 0;
  181|      2|	d = IntegerFromReal(REAL_ELT(scipen, 0), &w);
  ------------------
  |  | 1932|      2|# define IntegerFromReal	Rf_IntegerFromReal
  ------------------
  182|      2|	if(w && d == NA_INTEGER)
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (182:5): [True: 0, False: 2]
  |  Branch (182:10): [True: 0, False: 0]
  ------------------
  183|      0|	    error(_("setting scipen=%g is out of range"), REAL_ELT(scipen,0));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("setting scipen=%g is out of range"), REAL_ELT(scipen,0));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  184|      2|    } else
  185|      0|	d = asInteger(scipen);
  ------------------
  |  |  885|      0|#define asInteger		Rf_asInteger
  ------------------
  186|      2|    if (d == NA_INTEGER || d < R_MIN_SCIPEN_OPT || d > R_MAX_SCIPEN_OPT) {
  ------------------
  |  |   56|      4|#define NA_INTEGER	R_NaInt
  ------------------
                  if (d == NA_INTEGER || d < R_MIN_SCIPEN_OPT || d > R_MAX_SCIPEN_OPT) {
  ------------------
  |  |   82|      4|#define R_MIN_SCIPEN_OPT        -9
  ------------------
                  if (d == NA_INTEGER || d < R_MIN_SCIPEN_OPT || d > R_MAX_SCIPEN_OPT) {
  ------------------
  |  |   83|      2|#define R_MAX_SCIPEN_OPT	9999
  ------------------
  |  Branch (186:9): [True: 0, False: 2]
  |  Branch (186:28): [True: 0, False: 2]
  |  Branch (186:52): [True: 0, False: 2]
  ------------------
  187|      0|	int dnew = (d == NA_INTEGER) ? 0 :
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (187:13): [True: 0, False: 0]
  ------------------
  188|      0|	      (d < R_MIN_SCIPEN_OPT) ? R_MIN_SCIPEN_OPT :
  ------------------
  |  |   82|      0|#define R_MIN_SCIPEN_OPT        -9
  ------------------
              	      (d < R_MIN_SCIPEN_OPT) ? R_MIN_SCIPEN_OPT :
  ------------------
  |  |   82|      0|#define R_MIN_SCIPEN_OPT        -9
  ------------------
  |  Branch (188:8): [True: 0, False: 0]
  ------------------
  189|      0|	    /* d > R_MAX_SCIPEN_OPT */ R_MAX_SCIPEN_OPT;
  ------------------
  |  |   83|      0|#define R_MAX_SCIPEN_OPT	9999
  ------------------
  190|      0|	switch(warn) {
  ------------------
  |  Branch (190:9): [True: 0, False: 0]
  ------------------
  191|      0|	case iWARN: warning(_("invalid 'scipen' %d, used %d"), d, dnew);
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	case iWARN: warning(_("invalid 'scipen' %d, used %d"), d, dnew);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (191:2): [True: 0, False: 0]
  ------------------
  192|      0|	case iSILENT:
  ------------------
  |  Branch (192:2): [True: 0, False: 0]
  ------------------
  193|      0|	    return dnew; // for SILENT and WARN
  194|      0|	case iERROR: error(_("invalid 'scipen' %d"), d);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	case iERROR: error(_("invalid 'scipen' %d"), d);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (194:2): [True: 0, False: 0]
  ------------------
  195|      0|	}
  196|      0|    }
  197|      2|    return d;
  198|      2|}
options.c:check_TRUE_FALSE:
  476|      4|static void check_TRUE_FALSE(SEXP arg, const char *chname) {
  477|      4|    if(TYPEOF(arg) != LGLSXP || LENGTH(arg) != 1 || LOGICAL(arg)[0] == NA_LOGICAL)
  ------------------
  |  |  121|      8|#define LGLSXP	    10	  /* logical vectors */
  ------------------
                  if(TYPEOF(arg) != LGLSXP || LENGTH(arg) != 1 || LOGICAL(arg)[0] == NA_LOGICAL)
  ------------------
  |  |   55|      4|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (477:8): [True: 0, False: 4]
  |  Branch (477:33): [True: 0, False: 4]
  |  Branch (477:53): [True: 0, False: 4]
  ------------------
  478|      0|	error(_("invalid value for '%s'"), chname);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid value for '%s'"), chname);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  479|      4|}

do_paste:
   56|  1.81k|{
   57|       |/* do_paste uses two passes to paste the arguments (in CAR(args)) together.
   58|       | * The first pass calculates the width of the paste buffer,
   59|       | * then it is alloc-ed and the second pass stuffs the information in.
   60|       |
   61|       | * Note that NA_STRING is not handled separately here.  This is
   62|       | *  deliberate -- see ?paste -- and implicitly coerces it to "NA"
   63|       | */
   64|       |
   65|  1.81k|    SEXP collapse, sep;
   66|  1.81k|    bool recycle_0;
   67|       |
   68|       |/* We need to be careful here.  For example currently Windows 4.1
   69|       | * packages are links to 4.0, 4.0.0 uses only 3 args for paste and
   70|       | * 4.0.x (x >= 1) use 3 unless recycle0 is true.  So 4.1 needs to
   71|       | * accept 3-arg form, silently.
   72|       | */
   73|       |
   74|       |// TODO !??
   75|       |#ifdef future_R_4_1_or_newer
   76|       |    checkArity(op, args);
   77|       |#else
   78|  1.81k|    int nargs = length(args);
  ------------------
  |  |  987|  1.81k|#define length(x)		Rf_length(x)
  ------------------
   79|  1.81k|    bool correct_nargs = (PRIMARITY(op) == nargs);
  ------------------
  |  | 1348|  1.81k|#define PRIMARITY(x)	(R_FunTab[PRIMOFFSET(x)].arity)
  ------------------
   80|  1.81k|    if(!correct_nargs) { // we allow one less for capture from earlier versions
  ------------------
  |  Branch (80:8): [True: 0, False: 1.81k]
  ------------------
   81|      0|	if(PRIMARITY(op) == nargs + 1) {
  ------------------
  |  | 1348|      0|#define PRIMARITY(x)	(R_FunTab[PRIMOFFSET(x)].arity)
  ------------------
  |  Branch (81:5): [True: 0, False: 0]
  ------------------
   82|      0|	    recycle_0 = false;
   83|       |#if 0
   84|       |	    REprintf("%d arguments passed to .Internal(%s) which requires %d;\n an S4 method"
   85|       |		     " may need to be redefined, typically by re-installing a package\n",
   86|       |		     nargs, PRIMNAME(op), PRIMARITY(op));
   87|       |#endif
   88|      0|	}
   89|      0|	else // not even "ok":
   90|      0|	    error(ngettext("%d argument passed to .Internal(%s) which requires %d",
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
   91|      0|			   "%d arguments passed to .Internal(%s) which requires %d",
   92|      0|			   (unsigned long) nargs),
   93|      0|		  nargs, PRIMNAME(op), PRIMARITY(op));
  ------------------
  |  | 1346|      0|#define PRIMNAME(x)	(R_FunTab[PRIMOFFSET(x)].name)
  ------------------
              		  nargs, PRIMNAME(op), PRIMARITY(op));
  ------------------
  |  | 1348|      0|#define PRIMARITY(x)	(R_FunTab[PRIMOFFSET(x)].arity)
  ------------------
   94|      0|    }
   95|  1.81k|#endif
   96|       |
   97|       |    /* We use formatting and so we must initialize printing. */
   98|       |
   99|  1.81k|    PrintDefaults();
  ------------------
  |  | 1975|  1.81k|# define PrintDefaults		Rf_PrintDefaults
  ------------------
  100|       |
  101|       |    /* Check the arguments */
  102|       |
  103|  1.81k|    SEXP x = CAR(args);
  104|  1.81k|    if (!isVectorList(x))
  ------------------
  |  |  977|  1.81k|#define isVectorList		Rf_isVectorList
  ------------------
  |  Branch (104:9): [True: 0, False: 1.81k]
  ------------------
  105|      0|	error(_("invalid first argument"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid first argument"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  106|  1.81k|    R_xlen_t nx = xlength(x);
  ------------------
  |  | 1049|  1.81k|#define xlength(x)		Rf_xlength(x)
  ------------------
  107|       |
  108|  1.81k|    const char *csep = NULL;
  109|  1.81k|    int sepw, u_sepw;
  110|  1.81k|    bool sepASCII = true, sepUTF8 = false, sepBytes = false,
  111|  1.81k|	sepKnown = false, use_sep = (PRIMVAL(op) == 0);
  ------------------
  |  | 1347|  1.81k|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  112|  1.81k|    if(use_sep) { /* paste(..., sep, .) */
  ------------------
  |  Branch (112:8): [True: 956, False: 858]
  ------------------
  113|    956|	sep = CADR(args);
  114|    956|	if (!isString(sep) || LENGTH(sep) <= 0 || STRING_ELT(sep, 0) == NA_STRING)
  ------------------
  |  |  966|    956|#define isString		Rf_isString
  ------------------
              	if (!isString(sep) || LENGTH(sep) <= 0 || STRING_ELT(sep, 0) == NA_STRING)
  ------------------
  |  |  433|    956|#define NA_STRING	R_NaString
  ------------------
  |  Branch (114:6): [True: 0, False: 956]
  |  Branch (114:24): [True: 0, False: 956]
  |  Branch (114:44): [True: 0, False: 956]
  ------------------
  115|      0|	    error(_("invalid separator"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("invalid separator"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  116|    956|	sep = STRING_ELT(sep, 0);
  117|    956|	csep = translateChar(sep);
  ------------------
  |  | 1037|    956|#define translateChar		Rf_translateChar
  ------------------
  118|    956|	u_sepw = sepw = (int) strlen(csep); // will be short
  119|    956|	sepASCII = IS_ASCII(sep);
  120|    956|	sepKnown = ENC_KNOWN(sep) > 0;
  121|    956|	sepUTF8 = IS_UTF8(sep);
  122|    956|	sepBytes = IS_BYTES(sep);
  123|    956|	collapse = CADDR(args);
  124|    956|	if(correct_nargs)
  ------------------
  |  Branch (124:5): [True: 956, False: 0]
  ------------------
  125|    956|	    recycle_0 = asBool2(CADDDR(args), call);
  ------------------
  |  | 1865|    956|# define asBool2	       	Rf_asBool2
  ------------------
  126|    956|    } else { /* paste0(..., .) */
  127|    858|	u_sepw = sepw = 0; sep = R_NilValue;/* -Wall */
  128|    858|	collapse = CADR(args);
  129|    858|	if(correct_nargs)
  ------------------
  |  Branch (129:5): [True: 858, False: 0]
  ------------------
  130|    858|	    recycle_0 = asBool2(CADDR(args), call);
  ------------------
  |  | 1865|    858|# define asBool2	       	Rf_asBool2
  ------------------
  131|    858|    }
  132|  1.81k|    bool do_collapse = (collapse != R_NilValue); // == !isNull(collapse)
  133|  1.81k|    if (do_collapse)
  ------------------
  |  Branch (133:9): [True: 872, False: 942]
  ------------------
  134|    872|	if(!isString(collapse) || LENGTH(collapse) <= 0 ||
  ------------------
  |  |  966|    872|#define isString		Rf_isString
  ------------------
  |  Branch (134:5): [True: 0, False: 872]
  |  Branch (134:28): [True: 0, False: 872]
  ------------------
  135|    872|	   STRING_ELT(collapse, 0) == NA_STRING)
  ------------------
  |  |  433|    872|#define NA_STRING	R_NaString
  ------------------
  |  Branch (135:5): [True: 0, False: 872]
  ------------------
  136|      0|	    error(_("invalid '%s' argument"), "collapse");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("invalid '%s' argument"), "collapse");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  137|       |
  138|  1.81k|#define zero_return  \
  139|  1.81k|    return (do_collapse ? mkString("") : allocVector(STRSXP, 0))
  140|       |
  141|  1.81k|    if(nx == 0)
  ------------------
  |  Branch (141:8): [True: 0, False: 1.81k]
  ------------------
  142|      0|	zero_return;
  ------------------
  |  |  139|      0|    return (do_collapse ? mkString("") : allocVector(STRSXP, 0))
  |  |  ------------------
  |  |  |  | 1003|      0|#define mkString		Rf_mkString
  |  |  ------------------
  |  |                   return (do_collapse ? mkString("") : allocVector(STRSXP, 0))
  |  |  ------------------
  |  |  |  |  875|      0|#define allocVector		Rf_allocVector
  |  |  ------------------
  |  |                   return (do_collapse ? mkString("") : allocVector(STRSXP, 0))
  |  |  ------------------
  |  |  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  |  |  ------------------
  |  |  |  Branch (139:13): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  143|       |
  144|       |    /* Maximum argument length, coerce if needed */
  145|       |
  146|  1.81k|    R_xlen_t maxlen = 0;
  147|  1.81k|    bool has_0_len = false;
  148|  5.29k|    for (R_xlen_t j = 0; j < nx; j++) {
  ------------------
  |  Branch (148:26): [True: 3.48k, False: 1.81k]
  ------------------
  149|  3.48k|	if (!isString(VECTOR_ELT(x, j))) {
  ------------------
  |  |  966|  3.48k|#define isString		Rf_isString
  ------------------
  |  Branch (149:6): [True: 148, False: 3.33k]
  ------------------
  150|       |	    /* formerly in R code: moved to C for speed */
  151|    148|	    SEXP call, xj = VECTOR_ELT(x, j);
  152|    148|	    if(OBJECT(xj)) { /* method dispatch */
  ------------------
  |  Branch (152:9): [True: 16, False: 132]
  ------------------
  153|     16|		PROTECT(call = lang2(R_AsCharacterSymbol, xj));
  ------------------
  |  |  357|     16|#define PROTECT(s)	Rf_protect(s)
  ------------------
  154|     16|		SET_VECTOR_ELT(x, j, eval(call, env));
  ------------------
  |  |  913|     16|#define eval			Rf_eval
  ------------------
  155|     16|		UNPROTECT(1);
  ------------------
  |  |  358|     16|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  156|    132|	    } else if (isSymbol(xj))
  ------------------
  |  |  953|    132|#define isSymbol		Rf_isSymbol
  ------------------
  |  Branch (156:17): [True: 0, False: 132]
  ------------------
  157|      0|		SET_VECTOR_ELT(x, j, ScalarString(PRINTNAME(xj)));
  ------------------
  |  | 1025|      0|#define ScalarString		Rf_ScalarString
  ------------------
  158|    132|	    else
  159|    132|		SET_VECTOR_ELT(x, j, coerceVector(xj, STRSXP));
  ------------------
  |  |  895|    132|#define coerceVector		Rf_coerceVector
  ------------------
              		SET_VECTOR_ELT(x, j, coerceVector(xj, STRSXP));
  ------------------
  |  |  126|    132|#define STRSXP	    16	  /* string vectors */
  ------------------
  160|       |
  161|    148|	    if (!isString(VECTOR_ELT(x, j)))
  ------------------
  |  |  966|    148|#define isString		Rf_isString
  ------------------
  |  Branch (161:10): [True: 0, False: 148]
  ------------------
  162|      0|		error(_("non-string argument to .Internal(%s)"), PRIMNAME(op));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("non-string argument to .Internal(%s)"), PRIMNAME(op));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
              		error(_("non-string argument to .Internal(%s)"), PRIMNAME(op));
  ------------------
  |  | 1346|      0|#define PRIMNAME(x)	(R_FunTab[PRIMOFFSET(x)].name)
  ------------------
  163|    148|	}
  164|  3.48k|	if(recycle_0 && !has_0_len && XLENGTH(VECTOR_ELT(x, j)) == 0) {
  ------------------
  |  Branch (164:5): [True: 6, False: 3.47k]
  |  Branch (164:18): [True: 6, False: 0]
  |  Branch (164:32): [True: 0, False: 6]
  ------------------
  165|      0|	    has_0_len = true;
  166|      0|	    break;
  167|      0|	}
  168|  3.48k|	else if(maxlen < XLENGTH(VECTOR_ELT(x, j)))
  ------------------
  |  Branch (168:10): [True: 1.81k, False: 1.66k]
  ------------------
  169|  1.81k|	        maxlen = XLENGTH(VECTOR_ELT(x, j));
  170|  3.48k|    }
  171|  1.81k|    if(recycle_0 && has_0_len) // one of the args was character(0)
  ------------------
  |  Branch (171:8): [True: 2, False: 1.81k]
  |  Branch (171:21): [True: 0, False: 2]
  ------------------
  172|      0|	zero_return;
  ------------------
  |  |  139|      0|    return (do_collapse ? mkString("") : allocVector(STRSXP, 0))
  |  |  ------------------
  |  |  |  | 1003|      0|#define mkString		Rf_mkString
  |  |  ------------------
  |  |                   return (do_collapse ? mkString("") : allocVector(STRSXP, 0))
  |  |  ------------------
  |  |  |  |  875|      0|#define allocVector		Rf_allocVector
  |  |  ------------------
  |  |                   return (do_collapse ? mkString("") : allocVector(STRSXP, 0))
  |  |  ------------------
  |  |  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  |  |  ------------------
  |  |  |  Branch (139:13): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  173|  1.81k|    if(maxlen == 0) // all of the arguments where (equivalent to)  character(0)
  ------------------
  |  Branch (173:8): [True: 0, False: 1.81k]
  ------------------
  174|      0|	zero_return;
  ------------------
  |  |  139|      0|    return (do_collapse ? mkString("") : allocVector(STRSXP, 0))
  |  |  ------------------
  |  |  |  | 1003|      0|#define mkString		Rf_mkString
  |  |  ------------------
  |  |                   return (do_collapse ? mkString("") : allocVector(STRSXP, 0))
  |  |  ------------------
  |  |  |  |  875|      0|#define allocVector		Rf_allocVector
  |  |  ------------------
  |  |                   return (do_collapse ? mkString("") : allocVector(STRSXP, 0))
  |  |  ------------------
  |  |  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  |  |  ------------------
  |  |  |  Branch (139:13): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  175|       |
  176|  1.81k|    SEXP ans = PROTECT( allocVector(STRSXP, maxlen));
  ------------------
  |  |  357|  1.81k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  177|       |
  178|  1.81k|    bool allKnown, anyKnown, use_UTF8, use_Bytes;
  179|       |
  180|  5.74k|    for (R_xlen_t i = 0; i < maxlen; i++) {
  ------------------
  |  Branch (180:26): [True: 3.93k, False: 1.81k]
  ------------------
  181|       |	/* Strategy for marking the encoding: if all inputs (including
  182|       |	 * the separator) are ASCII, so is the output and we don't
  183|       |	 * need to mark.  Otherwise if all non-ASCII inputs are of
  184|       |	 * declared encoding, we should mark.
  185|       |	 * Need to be careful only to include separator if it is used.
  186|       |	 */
  187|  3.93k|	anyKnown = false; allKnown = true; use_UTF8 = false; use_Bytes = false;
  188|  3.93k|	if(nx > 1) {
  ------------------
  |  Branch (188:5): [True: 3.04k, False: 890]
  ------------------
  189|  3.04k|	    allKnown = sepKnown || sepASCII;
  ------------------
  |  Branch (189:17): [True: 0, False: 3.04k]
  |  Branch (189:29): [True: 3.04k, False: 0]
  ------------------
  190|  3.04k|	    anyKnown = sepKnown;
  191|  3.04k|	    use_UTF8 = sepUTF8;
  192|  3.04k|	    use_Bytes = sepBytes;
  193|  3.04k|	}
  194|       |
  195|  12.4k|	for (R_xlen_t j = 0; j < nx; j++) {
  ------------------
  |  Branch (195:23): [True: 8.49k, False: 3.93k]
  ------------------
  196|  8.49k|	    R_xlen_t k = XLENGTH(VECTOR_ELT(x, j));
  197|  8.49k|	    if (k > 0) {
  ------------------
  |  Branch (197:10): [True: 8.49k, False: 0]
  ------------------
  198|  8.49k|		SEXP cs = STRING_ELT(VECTOR_ELT(x, j), i % k);
  199|  8.49k|		if(IS_UTF8(cs)) use_UTF8 = true;
  ------------------
  |  Branch (199:6): [True: 0, False: 8.49k]
  ------------------
  200|  8.49k|		if(IS_BYTES(cs)) use_Bytes = true;
  ------------------
  |  Branch (200:6): [True: 0, False: 8.49k]
  ------------------
  201|  8.49k|	    }
  202|  8.49k|	}
  203|  3.93k|	if (use_Bytes) use_UTF8 = false;
  ------------------
  |  Branch (203:6): [True: 0, False: 3.93k]
  ------------------
  204|  3.93k|	R_xlen_t pwidth = 0;
  205|  3.93k|	const void *vmax = vmaxget();
  206|  12.4k|	for (R_xlen_t j = 0; j < nx; j++) {
  ------------------
  |  Branch (206:23): [True: 8.49k, False: 3.93k]
  ------------------
  207|  8.49k|	    R_xlen_t k = XLENGTH(VECTOR_ELT(x, j));
  208|  8.49k|	    if (k > 0) {
  ------------------
  |  Branch (208:10): [True: 8.49k, False: 0]
  ------------------
  209|  8.49k|		if(use_Bytes)
  ------------------
  |  Branch (209:6): [True: 0, False: 8.49k]
  ------------------
  210|      0|		    pwidth += strlen(CHAR             (STRING_ELT(VECTOR_ELT(x, j), i % k)));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  211|  8.49k|		else if(use_UTF8)
  ------------------
  |  Branch (211:11): [True: 0, False: 8.49k]
  ------------------
  212|      0|		    pwidth += strlen(translateCharUTF8(STRING_ELT(VECTOR_ELT(x, j), i % k)));
  ------------------
  |  | 1039|      0|#define translateCharUTF8      	Rf_translateCharUTF8
  ------------------
  213|  8.49k|		else
  214|  8.49k|		    pwidth += strlen(translateChar    (STRING_ELT(VECTOR_ELT(x, j), i % k)));
  ------------------
  |  | 1037|  8.49k|#define translateChar		Rf_translateChar
  ------------------
  215|  8.49k|		vmaxset(vmax);
  216|  8.49k|	    }
  217|  8.49k|	}
  218|  3.93k|	const char *u_csep = NULL;
  219|  3.93k|	if(use_sep) {
  ------------------
  |  Branch (219:5): [True: 2.28k, False: 1.65k]
  ------------------
  220|  2.28k|	    if (use_UTF8 && !u_csep) {
  ------------------
  |  Branch (220:10): [True: 0, False: 2.28k]
  |  Branch (220:22): [True: 0, False: 0]
  ------------------
  221|      0|		u_csep = translateCharUTF8(sep);
  ------------------
  |  | 1039|      0|#define translateCharUTF8      	Rf_translateCharUTF8
  ------------------
  222|      0|		u_sepw = (int) strlen(u_csep); // will be short
  223|      0|	    }
  224|  2.28k|	    pwidth += (nx - 1) * (use_UTF8 ? u_sepw : sepw);
  ------------------
  |  Branch (224:28): [True: 0, False: 2.28k]
  ------------------
  225|  2.28k|	}
  226|  3.93k|	if (pwidth > INT_MAX)
  ------------------
  |  Branch (226:6): [True: 0, False: 3.93k]
  ------------------
  227|      0|	    error(_("result would exceed 2^31-1 bytes"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("result would exceed 2^31-1 bytes"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  228|  3.93k|	char *buf = R_AllocStringBuffer(pwidth, &cbuff);
  229|  3.93k|	const char *cbuf = buf;
  230|  3.93k|	vmax = vmaxget();
  231|  12.4k|	for (R_xlen_t j = 0; j < nx; j++) {
  ------------------
  |  Branch (231:23): [True: 8.49k, False: 3.93k]
  ------------------
  232|  8.49k|	    R_xlen_t k = XLENGTH(VECTOR_ELT(x, j));
  233|  8.49k|	    if (k > 0) {
  ------------------
  |  Branch (233:10): [True: 8.49k, False: 0]
  ------------------
  234|  8.49k|		SEXP cs = STRING_ELT(VECTOR_ELT(x, j), i % k);
  235|  8.49k|		if (use_UTF8) {
  ------------------
  |  Branch (235:7): [True: 0, False: 8.49k]
  ------------------
  236|      0|		    const char *s = translateCharUTF8(cs);
  ------------------
  |  | 1039|      0|#define translateCharUTF8      	Rf_translateCharUTF8
  ------------------
  237|      0|		    buf = R_stpcpy(buf, s);
  ------------------
  |  |   48|      0|# define R_stpcpy stpcpy
  ------------------
  238|  8.49k|		} else {
  239|  8.49k|		    const char *s = use_Bytes ? CHAR(cs) : translateChar(cs);
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
              		    const char *s = use_Bytes ? CHAR(cs) : translateChar(cs);
  ------------------
  |  | 1037|  8.49k|#define translateChar		Rf_translateChar
  ------------------
  |  Branch (239:23): [True: 0, False: 8.49k]
  ------------------
  240|  8.49k|		    buf = R_stpcpy(buf, s);
  ------------------
  |  |   48|  8.49k|# define R_stpcpy stpcpy
  ------------------
  241|  8.49k|		    allKnown = allKnown && (IS_ASCII(cs) || (ENC_KNOWN(cs)> 0));
  ------------------
  |  Branch (241:18): [True: 8.49k, False: 0]
  |  Branch (241:31): [True: 8.49k, False: 0]
  |  Branch (241:47): [True: 0, False: 0]
  ------------------
  242|  8.49k|		    anyKnown = anyKnown || (ENC_KNOWN(cs)> 0);
  ------------------
  |  Branch (242:18): [True: 0, False: 8.49k]
  |  Branch (242:30): [True: 0, False: 8.49k]
  ------------------
  243|  8.49k|		}
  244|  8.49k|	    }
  245|  8.49k|	    if (sepw != 0 && j != nx - 1) {
  ------------------
  |  Branch (245:10): [True: 3.71k, False: 4.78k]
  |  Branch (245:23): [True: 1.42k, False: 2.28k]
  ------------------
  246|  1.42k|		if (use_UTF8) {
  ------------------
  |  Branch (246:7): [True: 0, False: 1.42k]
  ------------------
  247|      0|		    strcpy(buf, u_csep);
  248|      0|		    buf += u_sepw;
  249|  1.42k|		} else {
  250|  1.42k|		    strcpy(buf, csep);
  251|  1.42k|		    buf += sepw;
  252|  1.42k|		}
  253|  1.42k|	    }
  254|  8.49k|	    vmax = vmaxget();
  255|  8.49k|	}
  256|  3.93k|	int ienc = 0;
  257|  3.93k|	if(use_UTF8) ienc = CE_UTF8;
  ------------------
  |  Branch (257:5): [True: 0, False: 3.93k]
  ------------------
  258|  3.93k|	else if(use_Bytes) ienc = CE_BYTES;
  ------------------
  |  Branch (258:10): [True: 0, False: 3.93k]
  ------------------
  259|  3.93k|	else if(anyKnown && allKnown) {
  ------------------
  |  Branch (259:10): [True: 0, False: 3.93k]
  |  Branch (259:22): [True: 0, False: 0]
  ------------------
  260|      0|	    if(known_to_be_latin1) ienc = CE_LATIN1;
  ------------------
  |  Branch (260:9): [True: 0, False: 0]
  ------------------
  261|      0|	    if(known_to_be_utf8) ienc = CE_UTF8;
  ------------------
  |  Branch (261:9): [True: 0, False: 0]
  ------------------
  262|      0|	}
  263|  3.93k|	SET_STRING_ELT(ans, i, mkCharCE(cbuf, ienc));
  ------------------
  |  |  999|  3.93k|#define mkCharCE		Rf_mkCharCE
  ------------------
  264|  3.93k|    }
  265|       |
  266|       |    /* Now collapse, if required. */
  267|       |
  268|  1.81k|    if(do_collapse && (nx = XLENGTH(ans)) > 0) {
  ------------------
  |  Branch (268:8): [True: 872, False: 942]
  |  Branch (268:23): [True: 872, False: 0]
  ------------------
  269|    872|	sep = STRING_ELT(collapse, 0);
  270|    872|	use_UTF8 = IS_UTF8(sep);
  271|    872|	use_Bytes = IS_BYTES(sep);
  272|  1.76k|	for (R_xlen_t i = 0; i < nx; i++) {
  ------------------
  |  Branch (272:23): [True: 890, False: 872]
  ------------------
  273|    890|	    if(!use_UTF8  && IS_UTF8 (STRING_ELT(ans, i))) use_UTF8  = true;
  ------------------
  |  Branch (273:9): [True: 890, False: 0]
  |  Branch (273:23): [True: 0, False: 890]
  ------------------
  274|    890|	    if(!use_Bytes && IS_BYTES(STRING_ELT(ans, i))) use_Bytes = true;
  ------------------
  |  Branch (274:9): [True: 890, False: 0]
  |  Branch (274:23): [True: 0, False: 890]
  ------------------
  275|    890|	}
  276|    872|	if(use_Bytes) {
  ------------------
  |  Branch (276:5): [True: 0, False: 872]
  ------------------
  277|      0|	    csep = CHAR(sep);
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  278|      0|	    use_UTF8 = false;
  279|    872|	} else if(use_UTF8)
  ------------------
  |  Branch (279:12): [True: 0, False: 872]
  ------------------
  280|      0|	    csep = translateCharUTF8(sep);
  ------------------
  |  | 1039|      0|#define translateCharUTF8      	Rf_translateCharUTF8
  ------------------
  281|    872|	else
  282|    872|	    csep = translateChar(sep);
  ------------------
  |  | 1037|    872|#define translateChar		Rf_translateChar
  ------------------
  283|    872|	sepw = (int) strlen(csep);
  284|    872|	anyKnown = ENC_KNOWN(sep) > 0;
  285|    872|	allKnown = anyKnown || IS_ASCII(sep);
  ------------------
  |  Branch (285:13): [True: 0, False: 872]
  |  Branch (285:25): [True: 872, False: 0]
  ------------------
  286|    872|	R_xlen_t pwidth = 0;
  287|    872|	const void *vmax = vmaxget();
  288|  1.76k|	for (R_xlen_t i = 0; i < nx; i++)
  ------------------
  |  Branch (288:23): [True: 890, False: 872]
  ------------------
  289|    890|	    if(use_UTF8) {
  ------------------
  |  Branch (289:9): [True: 0, False: 890]
  ------------------
  290|      0|		pwidth += strlen(translateCharUTF8(STRING_ELT(ans, i)));
  ------------------
  |  | 1039|      0|#define translateCharUTF8      	Rf_translateCharUTF8
  ------------------
  291|      0|		vmaxset(vmax);
  292|      0|	    } else /* already translated */
  293|    890|		pwidth += strlen(CHAR(STRING_ELT(ans, i)));
  ------------------
  |  |  203|    890|#define CHAR(x) R_CHAR(x)
  ------------------
  294|    872|	pwidth += (nx - 1) * sepw;
  295|    872|	if (pwidth > INT_MAX)
  ------------------
  |  Branch (295:6): [True: 0, False: 872]
  ------------------
  296|      0|	    error(_("result would exceed 2^31-1 bytes"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("result would exceed 2^31-1 bytes"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  297|    872|	char *buf = R_AllocStringBuffer(pwidth, &cbuff);
  298|    872|	const char *cbuf = buf;
  299|    872|	vmax = vmaxget();
  300|  1.76k|	for (R_xlen_t i = 0; i < nx; i++) {
  ------------------
  |  Branch (300:23): [True: 890, False: 872]
  ------------------
  301|    890|	    if(i > 0) {
  ------------------
  |  Branch (301:9): [True: 18, False: 872]
  ------------------
  302|     18|		strcpy(buf, csep);
  303|     18|		buf += sepw;
  304|     18|	    }
  305|    890|	    const char *s;
  306|    890|	    SEXP el = STRING_ELT(ans, i);
  307|    890|	    if(use_UTF8)
  ------------------
  |  Branch (307:9): [True: 0, False: 890]
  ------------------
  308|      0|		s = translateCharUTF8(el);
  ------------------
  |  | 1039|      0|#define translateCharUTF8      	Rf_translateCharUTF8
  ------------------
  309|    890|	    else /* already translated */
  310|    890|		s = CHAR(el);
  ------------------
  |  |  203|    890|#define CHAR(x) R_CHAR(x)
  ------------------
  311|    890|	    buf = R_stpcpy(buf, s);
  ------------------
  |  |   48|    890|# define R_stpcpy stpcpy
  ------------------
  312|    890|	    allKnown = allKnown && (IS_ASCII(el) || (ENC_KNOWN(el) > 0));
  ------------------
  |  Branch (312:17): [True: 890, False: 0]
  |  Branch (312:30): [True: 890, False: 0]
  |  Branch (312:46): [True: 0, False: 0]
  ------------------
  313|    890|	    anyKnown = anyKnown || (ENC_KNOWN(el) > 0);
  ------------------
  |  Branch (313:17): [True: 0, False: 890]
  |  Branch (313:29): [True: 0, False: 890]
  ------------------
  314|    890|	    if(use_UTF8) vmaxset(vmax);
  ------------------
  |  Branch (314:9): [True: 0, False: 890]
  ------------------
  315|    890|	}
  316|    872|	UNPROTECT(1);
  ------------------
  |  |  358|    872|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  317|    872|	int ienc = CE_NATIVE;
  318|    872|	if(use_UTF8) ienc = CE_UTF8;
  ------------------
  |  Branch (318:5): [True: 0, False: 872]
  ------------------
  319|    872|	else if(use_Bytes) ienc = CE_BYTES;
  ------------------
  |  Branch (319:10): [True: 0, False: 872]
  ------------------
  320|    872|	else if(anyKnown && allKnown) {
  ------------------
  |  Branch (320:10): [True: 0, False: 872]
  |  Branch (320:22): [True: 0, False: 0]
  ------------------
  321|      0|	    if(known_to_be_latin1) ienc = CE_LATIN1;
  ------------------
  |  Branch (321:9): [True: 0, False: 0]
  ------------------
  322|      0|	    if(known_to_be_utf8)   ienc = CE_UTF8;
  ------------------
  |  Branch (322:9): [True: 0, False: 0]
  ------------------
  323|      0|	}
  324|    872|	PROTECT(ans = allocVector(STRSXP, 1));
  ------------------
  |  |  357|    872|#define PROTECT(s)	Rf_protect(s)
  ------------------
  325|    872|	SET_STRING_ELT(ans, 0, mkCharCE(cbuf, ienc));
  ------------------
  |  |  999|    872|#define mkCharCE		Rf_mkCharCE
  ------------------
  326|    872|    }
  327|  1.81k|    R_FreeStringBufferL(&cbuff);
  328|  1.81k|    UNPROTECT(1);
  ------------------
  |  |  358|  1.81k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  329|  1.81k|    return ans;
  330|  1.81k|}
do_filepath:
  340|    254|{
  341|    254|    checkArity(op, args);
  ------------------
  |  | 1793|    254|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  342|       |
  343|       |    /* Check the arguments */
  344|       |
  345|    254|    SEXP x = CAR(args);
  346|    254|    if (!isVectorList(x))
  ------------------
  |  |  977|    254|#define isVectorList		Rf_isVectorList
  ------------------
  |  Branch (346:9): [True: 0, False: 254]
  ------------------
  347|      0|	error(_("invalid first argument"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid first argument"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  348|    254|    int nx = length(x);
  ------------------
  |  |  987|    254|#define length(x)		Rf_length(x)
  ------------------
  349|    254|    if (nx == 0) return allocVector(STRSXP, 0);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
                  if (nx == 0) return allocVector(STRSXP, 0);
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (349:9): [True: 0, False: 254]
  ------------------
  350|       |
  351|    254|    SEXP sep = CADR(args);
  352|    254|    if (!isString(sep) || LENGTH(sep) <= 0 || STRING_ELT(sep, 0) == NA_STRING)
  ------------------
  |  |  966|    254|#define isString		Rf_isString
  ------------------
                  if (!isString(sep) || LENGTH(sep) <= 0 || STRING_ELT(sep, 0) == NA_STRING)
  ------------------
  |  |  433|    254|#define NA_STRING	R_NaString
  ------------------
  |  Branch (352:9): [True: 0, False: 254]
  |  Branch (352:27): [True: 0, False: 254]
  |  Branch (352:47): [True: 0, False: 254]
  ------------------
  353|      0|	error(_("invalid separator"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid separator"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  354|    254|    sep = STRING_ELT(sep, 0);
  355|    254|    const char *csep = CHAR(sep);
  ------------------
  |  |  203|    254|#define CHAR(x) R_CHAR(x)
  ------------------
  356|    254|    int sepw = (int) strlen(csep); /* hopefully 1 */
  357|       |
  358|       |    /* Any zero-length argument gives zero-length result */
  359|    254|    int maxlen = 0, nzero = 0;
  360|    910|    for (int j = 0; j < nx; j++) {
  ------------------
  |  Branch (360:21): [True: 656, False: 254]
  ------------------
  361|    656|	if (!isString(VECTOR_ELT(x, j))) {
  ------------------
  |  |  966|    656|#define isString		Rf_isString
  ------------------
  |  Branch (361:6): [True: 0, False: 656]
  ------------------
  362|      0|	    SEXP call, xj = VECTOR_ELT(x, j);
  363|      0|	    if(OBJECT(xj)) { /* method dispatch */
  ------------------
  |  Branch (363:9): [True: 0, False: 0]
  ------------------
  364|      0|		PROTECT(call = lang2(R_AsCharacterSymbol, xj));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  365|      0|		SET_VECTOR_ELT(x, j, eval(call, env));
  ------------------
  |  |  913|      0|#define eval			Rf_eval
  ------------------
  366|      0|		UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  367|      0|	    } else if (isSymbol(xj))
  ------------------
  |  |  953|      0|#define isSymbol		Rf_isSymbol
  ------------------
  |  Branch (367:17): [True: 0, False: 0]
  ------------------
  368|      0|		SET_VECTOR_ELT(x, j, ScalarString(PRINTNAME(xj)));
  ------------------
  |  | 1025|      0|#define ScalarString		Rf_ScalarString
  ------------------
  369|      0|	    else
  370|      0|		SET_VECTOR_ELT(x, j, coerceVector(xj, STRSXP));
  ------------------
  |  |  895|      0|#define coerceVector		Rf_coerceVector
  ------------------
              		SET_VECTOR_ELT(x, j, coerceVector(xj, STRSXP));
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  371|       |
  372|      0|	    if (!isString(VECTOR_ELT(x, j)))
  ------------------
  |  |  966|      0|#define isString		Rf_isString
  ------------------
  |  Branch (372:10): [True: 0, False: 0]
  ------------------
  373|      0|		error(_("non-string argument to .Internal(%s)"), PRIMNAME(op));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("non-string argument to .Internal(%s)"), PRIMNAME(op));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
              		error(_("non-string argument to .Internal(%s)"), PRIMNAME(op));
  ------------------
  |  | 1346|      0|#define PRIMNAME(x)	(R_FunTab[PRIMOFFSET(x)].name)
  ------------------
  374|      0|	}
  375|    656|	int ln = LENGTH(VECTOR_ELT(x, j));
  376|    656|	if (ln == 0) {nzero++; break;}
  ------------------
  |  Branch (376:6): [True: 0, False: 656]
  ------------------
  377|    656|	if (ln > maxlen) maxlen = ln;
  ------------------
  |  Branch (377:6): [True: 254, False: 402]
  ------------------
  378|    656|    }
  379|    254|    if (nzero || maxlen == 0) return allocVector(STRSXP, 0);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
                  if (nzero || maxlen == 0) return allocVector(STRSXP, 0);
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (379:9): [True: 0, False: 254]
  |  Branch (379:18): [True: 0, False: 254]
  ------------------
  380|       |
  381|    910|    for (int j = 0; j < nx; j++) {
  ------------------
  |  Branch (381:21): [True: 656, False: 254]
  ------------------
  382|    656|	int k = LENGTH(VECTOR_ELT(x, j));
  383|  1.31k|	for (int i = 0; i < k; i++) {
  ------------------
  |  Branch (383:18): [True: 656, False: 656]
  ------------------
  384|    656|	    SEXP cs = STRING_ELT(VECTOR_ELT(x, j), i);
  385|    656|	    if (IS_BYTES(cs))
  ------------------
  |  Branch (385:10): [True: 0, False: 656]
  ------------------
  386|      0|		error(_("strings with \"bytes\" encoding are not allowed"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("strings with \"bytes\" encoding are not allowed"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  387|    656|	}
  388|    656|    }
  389|    254|    SEXP ans = PROTECT(allocVector(STRSXP, maxlen));
  ------------------
  |  |  357|    254|#define PROTECT(s)	Rf_protect(s)
  ------------------
  390|       |
  391|    508|    for (int i = 0; i < maxlen; i++) {
  ------------------
  |  Branch (391:21): [True: 254, False: 254]
  ------------------
  392|    254|	bool use_UTF8;
  393|    254|	if (utf8locale)
  ------------------
  |  Branch (393:6): [True: 0, False: 254]
  ------------------
  394|      0|	    use_UTF8 = true;
  395|    254|	else {
  396|    254|	    use_UTF8 = false;
  397|    910|	    for (int j = 0; j < nx; j++) {
  ------------------
  |  Branch (397:22): [True: 656, False: 254]
  ------------------
  398|    656|		int k = LENGTH(VECTOR_ELT(x, j));
  399|    656|		SEXP cs = STRING_ELT(VECTOR_ELT(x, j), i % k);
  400|    656|		if(IS_UTF8(cs)) {use_UTF8 = true; break;}
  ------------------
  |  Branch (400:6): [True: 0, False: 656]
  ------------------
  401|    656|		if(!latin1locale && IS_LATIN1(cs)) {use_UTF8 = true; break;}
  ------------------
  |  Branch (401:6): [True: 656, False: 0]
  |  Branch (401:23): [True: 0, False: 656]
  ------------------
  402|    656|	    }
  403|    254|	}
  404|    254|	int pwidth = 0;
  405|    910|	for (int j = 0; j < nx; j++) {
  ------------------
  |  Branch (405:18): [True: 656, False: 254]
  ------------------
  406|    656|	    int k = LENGTH(VECTOR_ELT(x, j));
  407|    656|	    SEXP cs = STRING_ELT(VECTOR_ELT(x, j), i % k);
  408|    656|	    if(use_UTF8)
  ------------------
  |  Branch (408:9): [True: 0, False: 656]
  ------------------
  409|      0|		pwidth += (int) strlen(trCharUTF8(cs));
  ------------------
  |  | 2005|      0|# define trCharUTF8      	Rf_trCharUTF8
  ------------------
  410|    656|	    else
  411|    656|		pwidth += (int) strlen(translateCharFP(cs));
  ------------------
  |  | 2003|    656|# define translateCharFP	Rf_translateCharFP
  ------------------
  412|    656|	}
  413|    254|	pwidth += (nx - 1) * sepw;
  414|    254|	char *buf = R_AllocStringBuffer(pwidth, &cbuff);
  415|    254|	const char *cbuf = buf;
  416|    910|	for (int j = 0; j < nx; j++) {
  ------------------
  |  Branch (416:18): [True: 656, False: 254]
  ------------------
  417|    656|	    int k = LENGTH(VECTOR_ELT(x, j));
  418|       |	    // k == 0 already handled above
  419|    656|	    SEXP cs = STRING_ELT(VECTOR_ELT(x, j), i % k);
  420|    656|	    const char *s;
  421|    656|	    if (use_UTF8)
  ------------------
  |  Branch (421:10): [True: 0, False: 656]
  ------------------
  422|      0|		s = trCharUTF8(cs);
  ------------------
  |  | 2005|      0|# define trCharUTF8      	Rf_trCharUTF8
  ------------------
  423|    656|	    else
  424|    656|		s = translateCharFP(cs);
  ------------------
  |  | 2003|    656|# define translateCharFP	Rf_translateCharFP
  ------------------
  425|    656|	    buf = R_stpcpy(buf, s);
  ------------------
  |  |   48|    656|# define R_stpcpy stpcpy
  ------------------
  426|    656|	    if (j != nx - 1 && sepw != 0) {
  ------------------
  |  Branch (426:10): [True: 402, False: 254]
  |  Branch (426:25): [True: 402, False: 0]
  ------------------
  427|    402|		strcpy(buf, csep);
  428|    402|		buf += sepw;
  429|    402|	    }
  430|    656|	}
  431|       |#ifdef Win32
  432|       |	// Trailing seps are invalid for file paths except for / and d:/
  433|       |	if(streql(csep, "/") || streql(csep, "\\")) {
  434|       |	    if(buf > cbuf) {
  435|       |		buf--;
  436|       |		if(*buf == csep[0] && buf > cbuf &&
  437|       |		   (buf != cbuf+2 || cbuf[1] != ':')) *buf = '\0';
  438|       |	    }
  439|       |	}
  440|       |#endif
  441|    254|	SET_STRING_ELT(ans, i, mkCharCE(cbuf, use_UTF8 ? CE_UTF8 : 0));
  ------------------
  |  |  999|    254|#define mkCharCE		Rf_mkCharCE
  ------------------
  |  Branch (441:40): [True: 0, False: 254]
  ------------------
  442|    254|    }
  443|    254|    R_FreeStringBufferL(&cbuff);
  444|    254|    UNPROTECT(1);
  ------------------
  |  |  358|    254|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  445|    254|    return ans;
  446|    254|}

Init_R_Variables:
  145|      2|{
  146|      2|    Init_R_Machine(rho);
  147|      2|    Init_R_Platform(rho);
  148|      2|}
R_check_locale:
  207|      2|{
  208|      2|    known_to_be_utf8 = utf8locale = FALSE;
  209|      2|    known_to_be_latin1 = latin1locale = FALSE;
  210|      2|    mbcslocale = FALSE;
  211|      2|    strcpy(native_enc, "ASCII");
  212|      2|    strcpy(codeset, "");
  213|      2|#ifdef HAVE_LANGINFO_CODESET
  214|       |    /* not on Windows */
  215|      2|    {
  216|      2|	char  *p = nl_langinfo(CODESET);
  217|      2|	strcpy(codeset, p);  // copy just in case something else calls nl_langinfo.
  218|       |	/* more relaxed due to Darwin: CODESET is case-insensitive and
  219|       |	   latin1 is ISO8859-1 */
  220|      2|	if (R_strieql(p, "UTF-8")) known_to_be_utf8 = utf8locale = TRUE;
  ------------------
  |  Branch (220:6): [True: 0, False: 2]
  ------------------
  221|      2|	if (streql(p, "ISO-8859-1")) known_to_be_latin1 = latin1locale = TRUE;
  ------------------
  |  | 1498|      2|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  222|      2|	if (R_strieql(p, "ISO8859-1")) known_to_be_latin1 = latin1locale = TRUE;
  ------------------
  |  Branch (222:6): [True: 0, False: 2]
  ------------------
  223|       |# if __APPLE__
  224|       |	/* On Darwin 'regular' locales such as 'en_US' are UTF-8 (hence
  225|       |	   MB_CUR_MAX == 6), but CODESET is ""
  226|       |	   2021: that comment dated from 2008: MB_CUR_MAX is now 4 in
  227|       |	   a UTF-8 locale, even on 10.13.
  228|       |	*/
  229|       |	if (*p == 0 && (MB_CUR_MAX == 4 || MB_CUR_MAX == 6)) {
  230|       |	    known_to_be_utf8 = utf8locale = TRUE;
  231|       |	    strcpy(codeset, "UTF-8");
  232|       |	}
  233|       |# endif
  234|      2|	if (utf8locale)
  ------------------
  |  Branch (234:6): [True: 0, False: 2]
  ------------------
  235|      0|	    strcpy(native_enc, "UTF-8");
  236|      2|	else if (latin1locale)
  ------------------
  |  Branch (236:11): [True: 0, False: 2]
  ------------------
  237|      0|	    strcpy(native_enc, "ISO-8859-1");
  238|      2|	else {
  239|      2|	    strncpy(native_enc, p, R_CODESET_MAX);
  ------------------
  |  |  738|      2|#define R_CODESET_MAX 63
  ------------------
  240|      2|	    native_enc[R_CODESET_MAX] = 0;
  ------------------
  |  |  738|      2|#define R_CODESET_MAX 63
  ------------------
  241|      2|	}
  242|      2|    }
  243|      2|#endif
  244|      2|    mbcslocale = MB_CUR_MAX > 1;
  245|      2|    R_MB_CUR_MAX = (int)MB_CUR_MAX;
  246|       |#ifdef __sun
  247|       |    /* Solaris 10 (at least) has MB_CUR_MAX == 3 in some, but ==4
  248|       |       in other UTF-8 locales. The former does not allow working
  249|       |       with non-BMP characters using mbrtowc(). Work-around by
  250|       |       allowing to use more. */
  251|       |    if (utf8locale && R_MB_CUR_MAX < 4)
  252|       |	R_MB_CUR_MAX = 4;
  253|       |#endif
  254|       |#ifdef Win32
  255|       |    {
  256|       |	char *ctype = setlocale(LC_CTYPE, NULL), *p;
  257|       |	p = strrchr(ctype, '.');
  258|       |	localeCP = 0;
  259|       |	if (p) {
  260|       |	    if (isdigit(p[1]))
  261|       |		localeCP = atoi(p+1);
  262|       |	    else if (!strcasecmp(p+1, "UTF-8") || !strcasecmp(p+1, "UTF8"))
  263|       |		localeCP = 65001;
  264|       |	} else if (strcmp(ctype, "C"))
  265|       |	    /* setlocale() will fill in the codepage automatically for
  266|       |	       "English", but not "en-US" */
  267|       |	    localeCP = defaultLocaleACP(ctype);
  268|       |
  269|       |	/* Not 100% correct, but CP1252 is a superset */
  270|       |	known_to_be_latin1 = latin1locale = (localeCP == 1252);
  271|       |	known_to_be_utf8 = utf8locale = (localeCP == 65001);
  272|       |	if (localeCP == 65001)
  273|       |	    strcpy(native_enc, "UTF-8");
  274|       |	else if (localeCP) {
  275|       |	    /* CP1252 when latin1locale is true */
  276|       |	    snprintf(native_enc, R_CODESET_MAX, "CP%d", localeCP);
  277|       |	    native_enc[R_CODESET_MAX] = 0;
  278|       |	}
  279|       |	systemCP = GetACP();
  280|       |    }
  281|       |#endif
  282|      2|}
do_fileinfo:
  814|      2|{
  815|      2|    SEXP fn, ans, ansnames, fsize, mtime, ctime, atime, isdir,
  816|      2|	mode, xxclass, uname = R_NilValue;
  817|      2|    const void *vmax = vmaxget();
  818|      2|#ifdef UNIX_EXTRAS
  819|      2|    SEXP uid = R_NilValue, gid = R_NilValue,
  820|      2|	grname = R_NilValue; // silence -Wall
  821|      2|#endif
  822|       |#ifdef Win32
  823|       |    SEXP exe = R_NilValue, udomain = R_NilValue;
  824|       |    char *ubuf = NULL;
  825|       |    DWORD ubuflen = 0;
  826|       |    char *dbuf = NULL;
  827|       |    DWORD dbuflen = 0;
  828|       |    struct _stati64 sb;
  829|       |#else
  830|      2|    struct stat sb;
  831|      2|#endif
  832|       |
  833|      2|    checkArity(op, args);
  ------------------
  |  | 1793|      2|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  834|      2|    fn = CAR(args);
  835|      2|    if (!isString(fn))
  ------------------
  |  |  966|      2|#define isString		Rf_isString
  ------------------
  |  Branch (835:9): [True: 0, False: 2]
  ------------------
  836|      0|	error(_("invalid filename argument"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid filename argument"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  837|      2|    int extras = asInteger(CADR(args));
  ------------------
  |  |  885|      2|#define asInteger		Rf_asInteger
  ------------------
  838|      2|    if(extras == NA_INTEGER)
  ------------------
  |  |   56|      2|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (838:8): [True: 0, False: 2]
  ------------------
  839|      0|	error(_("invalid '%s' argument"), "extra_cols");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "extra_cols");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  840|      2|    int n = LENGTH(fn), ncols = 6;
  841|      2|    if(extras) {
  ------------------
  |  Branch (841:8): [True: 0, False: 2]
  ------------------
  842|      0|#ifdef UNIX_EXTRAS
  843|      0|	ncols = 10;
  ------------------
  |  | 1005|      0|#define ncols			Rf_ncols
  ------------------
  844|       |#elif defined(Win32)
  845|       |	ncols = 9;
  846|       |#endif
  847|      0|    }
  848|      2|    PROTECT(ans = allocVector(VECSXP, ncols));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
  849|      2|    PROTECT(ansnames = allocVector(STRSXP, ncols));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
  850|      2|    fsize = SET_VECTOR_ELT(ans, 0, allocVector(REALSXP, n));
  ------------------
  |  |  875|      2|#define allocVector		Rf_allocVector
  ------------------
                  fsize = SET_VECTOR_ELT(ans, 0, allocVector(REALSXP, n));
  ------------------
  |  |  124|      2|#define REALSXP	    14	  /* real variables */
  ------------------
  851|      2|    SET_STRING_ELT(ansnames, 0, mkChar("size"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
  852|      2|    isdir = SET_VECTOR_ELT(ans, 1, allocVector(LGLSXP, n));
  ------------------
  |  |  875|      2|#define allocVector		Rf_allocVector
  ------------------
                  isdir = SET_VECTOR_ELT(ans, 1, allocVector(LGLSXP, n));
  ------------------
  |  |  121|      2|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  853|      2|    SET_STRING_ELT(ansnames, 1, mkChar("isdir"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
  854|      2|    mode  = SET_VECTOR_ELT(ans, 2, allocVector(INTSXP, n));
  ------------------
  |  |  875|      2|#define allocVector		Rf_allocVector
  ------------------
                  mode  = SET_VECTOR_ELT(ans, 2, allocVector(INTSXP, n));
  ------------------
  |  |  123|      2|#define INTSXP	    13	  /* integer vectors */
  ------------------
  855|      2|    SET_STRING_ELT(ansnames, 2, mkChar("mode"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
  856|      2|    mtime = SET_VECTOR_ELT(ans, 3, allocVector(REALSXP, n));
  ------------------
  |  |  875|      2|#define allocVector		Rf_allocVector
  ------------------
                  mtime = SET_VECTOR_ELT(ans, 3, allocVector(REALSXP, n));
  ------------------
  |  |  124|      2|#define REALSXP	    14	  /* real variables */
  ------------------
  857|      2|    SET_STRING_ELT(ansnames, 3, mkChar("mtime"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
  858|      2|    ctime = SET_VECTOR_ELT(ans, 4, allocVector(REALSXP, n));
  ------------------
  |  |  875|      2|#define allocVector		Rf_allocVector
  ------------------
                  ctime = SET_VECTOR_ELT(ans, 4, allocVector(REALSXP, n));
  ------------------
  |  |  124|      2|#define REALSXP	    14	  /* real variables */
  ------------------
  859|      2|    SET_STRING_ELT(ansnames, 4, mkChar("ctime"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
  860|      2|    atime = SET_VECTOR_ELT(ans, 5, allocVector(REALSXP, n));
  ------------------
  |  |  875|      2|#define allocVector		Rf_allocVector
  ------------------
                  atime = SET_VECTOR_ELT(ans, 5, allocVector(REALSXP, n));
  ------------------
  |  |  124|      2|#define REALSXP	    14	  /* real variables */
  ------------------
  861|      2|    SET_STRING_ELT(ansnames, 5, mkChar("atime"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
  862|      2|    if (extras) {
  ------------------
  |  Branch (862:9): [True: 0, False: 2]
  ------------------
  863|      0|#ifdef UNIX_EXTRAS
  864|      0|	uid = SET_VECTOR_ELT(ans, 6, allocVector(INTSXP, n));
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              	uid = SET_VECTOR_ELT(ans, 6, allocVector(INTSXP, n));
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  865|      0|	SET_STRING_ELT(ansnames, 6, mkChar("uid"));
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
  866|      0|	gid = SET_VECTOR_ELT(ans, 7, allocVector(INTSXP, n));
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              	gid = SET_VECTOR_ELT(ans, 7, allocVector(INTSXP, n));
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  867|      0|	SET_STRING_ELT(ansnames, 7, mkChar("gid"));
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
  868|      0|	uname = SET_VECTOR_ELT(ans, 8, allocVector(STRSXP, n));
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              	uname = SET_VECTOR_ELT(ans, 8, allocVector(STRSXP, n));
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  869|      0|	SET_STRING_ELT(ansnames, 8, mkChar("uname"));
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
  870|      0|	grname = SET_VECTOR_ELT(ans, 9, allocVector(STRSXP, n));
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              	grname = SET_VECTOR_ELT(ans, 9, allocVector(STRSXP, n));
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  871|      0|	SET_STRING_ELT(ansnames, 9, mkChar("grname"));
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
  872|      0|#endif
  873|       |#ifdef Win32
  874|       |	exe = SET_VECTOR_ELT(ans, 6, allocVector(STRSXP, n));
  875|       |	SET_STRING_ELT(ansnames, 6, mkChar("exe"));
  876|       |	uname = SET_VECTOR_ELT(ans, 7, allocVector(STRSXP, n));
  877|       |	SET_STRING_ELT(ansnames, 7, mkChar("uname"));
  878|       |	udomain = SET_VECTOR_ELT(ans, 8, allocVector(STRSXP, n));
  879|       |	SET_STRING_ELT(ansnames, 8, mkChar("udomain"));
  880|       |#endif
  881|      0|    }
  882|      4|    for (int i = 0; i < n; i++) {
  ------------------
  |  Branch (882:21): [True: 2, False: 2]
  ------------------
  883|       |#ifdef Win32
  884|       |	wchar_t *wfn = filenameToWchar(STRING_ELT(fn, i), TRUE);
  885|       |	/* trailing \ is not valid on Windows except for the
  886|       |	   root directory on a drive, specified as "\", or "D:\",
  887|       |	   or "\\?\D:\", etc.  We remove it in other cases,
  888|       |	   to help those who think they're on Unix. */
  889|       |	size_t len = wcslen(wfn);
  890|       |	if (len) {
  891|       |	    wchar_t *p = wfn + (len - 1);
  892|       |	    if (len > 1 && (*p == L'/' || *p == L'\\') &&
  893|       |		*(p-1) != L':') *p = 0;
  894|       |	}
  895|       |#else
  896|      2|	const char *p = translateCharFP2(STRING_ELT(fn, i));
  ------------------
  |  | 2004|      2|# define translateCharFP2	Rf_translateCharFP2
  ------------------
  897|      2|	const char *efn = p ? R_ExpandFileName(p) : p;
  ------------------
  |  Branch (897:20): [True: 2, False: 0]
  ------------------
  898|      2|#endif
  899|      2|	if (STRING_ELT(fn, i) != NA_STRING &&
  ------------------
  |  |  433|      4|#define NA_STRING	R_NaString
  ------------------
  |  Branch (899:6): [True: 2, False: 0]
  ------------------
  900|       |#ifdef Win32
  901|       |	    _wstati64(wfn, &sb)
  902|       |#else
  903|       |	    /* Target not link */
  904|      2|	    p && stat(efn, &sb)
  ------------------
  |  Branch (904:6): [True: 2, False: 0]
  |  Branch (904:11): [True: 0, False: 2]
  ------------------
  905|      2|#endif
  906|      2|	    == 0) {
  907|      0|	    REAL(fsize)[i] = (double) sb.st_size;
  908|      0|	    LOGICAL(isdir)[i] = (sb.st_mode & S_IFDIR) > 0;
  909|      0|	    INTEGER(mode)[i]  = (int) sb.st_mode & 0007777;
  910|       |
  911|      0|#if defined STAT_TIMESPEC
  912|       |	    /* POSIX 2008 changed this to a struct timespec st_mtim etc
  913|       |	       Not all OSes (e.g. Darwin) agree on this. */
  914|      0|	    REAL(mtime)[i] = (double) STAT_TIMESPEC(sb, st_mtim).tv_sec
  ------------------
  |  |  801|      0|#  define STAT_TIMESPEC(st, st_xtim) ((st).st_xtim)
  ------------------
  915|      0|		+ 1e-9 * (double) STAT_TIMESPEC(sb, st_mtim).tv_nsec;
  ------------------
  |  |  801|      0|#  define STAT_TIMESPEC(st, st_xtim) ((st).st_xtim)
  ------------------
  916|      0|	    REAL(ctime)[i] = (double) STAT_TIMESPEC(sb, st_ctim).tv_sec
  ------------------
  |  |  801|      0|#  define STAT_TIMESPEC(st, st_xtim) ((st).st_xtim)
  ------------------
  917|      0|		+ 1e-9 * (double) STAT_TIMESPEC(sb, st_ctim).tv_nsec;
  ------------------
  |  |  801|      0|#  define STAT_TIMESPEC(st, st_xtim) ((st).st_xtim)
  ------------------
  918|      0|	    REAL(atime)[i] = (double) STAT_TIMESPEC(sb, st_atim).tv_sec
  ------------------
  |  |  801|      0|#  define STAT_TIMESPEC(st, st_xtim) ((st).st_xtim)
  ------------------
  919|      0|		+ 1e-9 * (double) STAT_TIMESPEC(sb, st_atim).tv_nsec;
  ------------------
  |  |  801|      0|#  define STAT_TIMESPEC(st, st_xtim) ((st).st_xtim)
  ------------------
  920|       |#else
  921|       |#ifdef Win32
  922|       |#define WINDOWS_TICK 10000000
  923|       |#define SEC_TO_UNIX_EPOCH 11644473600LL
  924|       |	    {
  925|       |		FILETIME c_ft, a_ft, m_ft;
  926|       |		HANDLE h;
  927|       |		int success = 0;
  928|       |		h = CreateFileW(wfn, 0,
  929|       |		                FILE_SHARE_DELETE | FILE_SHARE_READ | FILE_SHARE_WRITE,
  930|       |		                NULL, OPEN_EXISTING, FILE_FLAG_BACKUP_SEMANTICS, NULL);
  931|       |		if (h != INVALID_HANDLE_VALUE) {
  932|       |		    int res  = GetFileTime(h, &c_ft, &a_ft, &m_ft);
  933|       |		    CloseHandle(h);
  934|       |		    if (res) {
  935|       |			ULARGE_INTEGER time;
  936|       |			time.LowPart = m_ft.dwLowDateTime;
  937|       |			time.HighPart = m_ft.dwHighDateTime;
  938|       |			REAL(mtime)[i] = (((double) time.QuadPart) / WINDOWS_TICK - SEC_TO_UNIX_EPOCH);
  939|       |			time.LowPart = c_ft.dwLowDateTime;
  940|       |			time.HighPart = c_ft.dwHighDateTime;
  941|       |			REAL(ctime)[i] = (((double) time.QuadPart) / WINDOWS_TICK - SEC_TO_UNIX_EPOCH);
  942|       |			time.LowPart = a_ft.dwLowDateTime;
  943|       |			time.HighPart = a_ft.dwHighDateTime;
  944|       |			REAL(atime)[i] = (((double) time.QuadPart) / WINDOWS_TICK - SEC_TO_UNIX_EPOCH);
  945|       |			success = 1;
  946|       |		    }
  947|       |		} else
  948|       |		    warning(_("cannot open file '%ls': %s"),
  949|       |		            wfn, formatError(GetLastError()));
  950|       |		if (!success) {
  951|       |		    REAL(mtime)[i] = NA_REAL;
  952|       |		    REAL(ctime)[i] = NA_REAL;
  953|       |		    REAL(atime)[i] = NA_REAL;
  954|       |	        }
  955|       |	    }
  956|       |#else
  957|       |	    REAL(mtime)[i] = (double) sb.st_mtime;
  958|       |	    REAL(ctime)[i] = (double) sb.st_ctime;
  959|       |	    REAL(atime)[i] = (double) sb.st_atime;
  960|       |# ifdef STAT_TIMESPEC_NS
  961|       |	    REAL(mtime)[i] += STAT_TIMESPEC_NS (sb, st_mtim);
  962|       |	    REAL(ctime)[i] += STAT_TIMESPEC_NS (sb, st_ctim);
  963|       |	    REAL(atime)[i] += STAT_TIMESPEC_NS (sb, st_atim);
  964|       |# endif
  965|       |#endif
  966|       |#endif
  967|      0|	    if (extras) {
  ------------------
  |  Branch (967:10): [True: 0, False: 0]
  ------------------
  968|      0|#ifdef UNIX_EXTRAS
  969|      0|		INTEGER(uid)[i] = (int) sb.st_uid;
  970|      0|		INTEGER(gid)[i] = (int) sb.st_gid;
  971|       |
  972|       |		/* Usually all of the uid and gid values in a list of
  973|       |		 * files are the same so we can avoid most of the calls
  974|       |		 * to getpwuid() and getgrgid(), which can be quite slow
  975|       |		 * on some systems.  (PR#15804)
  976|       |		 */
  977|      0|		if (i && INTEGER(uid)[i - 1] == (int) sb.st_uid)
  ------------------
  |  Branch (977:7): [True: 0, False: 0]
  |  Branch (977:12): [True: 0, False: 0]
  ------------------
  978|      0|		    SET_STRING_ELT(uname, i, STRING_ELT(uname, i - 1));
  979|      0|		else {
  980|      0|		    struct passwd *stpwd = getpwuid(sb.st_uid);
  981|      0|		    SET_STRING_ELT(uname, i,
  982|      0|				   stpwd ? mkChar(stpwd->pw_name): NA_STRING);
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
              				   stpwd ? mkChar(stpwd->pw_name): NA_STRING);
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  |  Branch (982:8): [True: 0, False: 0]
  ------------------
  983|      0|		}
  984|       |
  985|      0|		if (i && INTEGER(gid)[i - 1] == (int) sb.st_gid)
  ------------------
  |  Branch (985:7): [True: 0, False: 0]
  |  Branch (985:12): [True: 0, False: 0]
  ------------------
  986|      0|		    SET_STRING_ELT(grname, i, STRING_ELT(grname, i - 1));
  987|      0|		else {
  988|      0|		    struct group *stgrp = getgrgid(sb.st_gid);
  989|      0|		    SET_STRING_ELT(grname, i,
  990|      0|				   stgrp ? mkChar(stgrp->gr_name): NA_STRING);
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
              				   stgrp ? mkChar(stgrp->gr_name): NA_STRING);
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  |  Branch (990:8): [True: 0, False: 0]
  ------------------
  991|      0|		}
  992|      0|#endif
  993|       |#ifdef Win32
  994|       |		{
  995|       |		    char *s="no";
  996|       |		    DWORD type;
  997|       |		    if (GetBinaryTypeW(wfn, &type))
  998|       |			switch(type) {
  999|       |			case SCS_64BIT_BINARY:
 1000|       |			    s = "win64";
 1001|       |			    break;
 1002|       |			case SCS_32BIT_BINARY:
 1003|       |			    s = "win32";
 1004|       |			    break;
 1005|       |			case SCS_DOS_BINARY:
 1006|       |			case SCS_PIF_BINARY:
 1007|       |			    s = "msdos";
 1008|       |			    break;
 1009|       |			case SCS_WOW_BINARY:
 1010|       |			    s = "win16";
 1011|       |			    break;
 1012|       |			default:
 1013|       |			    s = "unknown";
 1014|       |			}
 1015|       |		    SET_STRING_ELT(exe, i, mkChar(s));
 1016|       |		}
 1017|       |		{
 1018|       |		    HANDLE h;
 1019|       |		    PSID owner_sid;
 1020|       |		    SID_NAME_USE suse = SidTypeUnknown;
 1021|       |		    PSECURITY_DESCRIPTOR sd = NULL;
 1022|       |		    DWORD saveerr = ERROR_SUCCESS;
 1023|       |		    int ok = 0;
 1024|       |		    /* NOTE: GENERIC_READ would be asking too much
 1025|       |		       (e.g. junctions under Users/Default in Windows 10) */
 1026|       |		    h = CreateFileW(wfn, READ_CONTROL,
 1027|       |				    FILE_SHARE_DELETE | FILE_SHARE_READ | FILE_SHARE_WRITE,
 1028|       |				    NULL, OPEN_EXISTING, FILE_FLAG_BACKUP_SEMANTICS, NULL);
 1029|       |		    ok = (h != INVALID_HANDLE_VALUE);
 1030|       |
 1031|       |		    ok = ok && (GetSecurityInfo(h, SE_FILE_OBJECT,
 1032|       |					        OWNER_SECURITY_INFORMATION,
 1033|       |					        &owner_sid,
 1034|       |					        NULL, NULL, NULL, &sd)
 1035|       |		                == ERROR_SUCCESS);
 1036|       |		    if (ok) {
 1037|       |			DWORD ulen = ubuflen;
 1038|       |			DWORD dlen = dbuflen;
 1039|       |			ok = LookupAccountSid(NULL, owner_sid, ubuf, &ulen,
 1040|       |			                      dbuf, &dlen, &suse);
 1041|       |			if (!ok
 1042|       |			    && GetLastError() == ERROR_INSUFFICIENT_BUFFER
 1043|       |			    && (ulen > ubuflen || dlen > dbuflen)) {
 1044|       |
 1045|       |			    if (ulen > ubuflen) {
 1046|       |				ubuf = R_alloc(ulen, 1);
 1047|       |				ubuflen = ulen;
 1048|       |			    }
 1049|       |			    if (dlen > dbuflen) {
 1050|       |				dbuf = R_alloc(dlen, 1);
 1051|       |				dbuflen = dlen;
 1052|       |			    }
 1053|       |			    ok = LookupAccountSid(NULL, owner_sid, ubuf, &ulen,
 1054|       |			                          dbuf, &dlen, &suse);
 1055|       |			}
 1056|       |		    }
 1057|       |		    if (!ok)
 1058|       |			saveerr = GetLastError();
 1059|       |		    if (sd)
 1060|       |			LocalFree(sd);
 1061|       |		    if (h != INVALID_HANDLE_VALUE)
 1062|       |			CloseHandle(h);
 1063|       |		    if (ok) {
 1064|       |			SET_STRING_ELT(uname, i, mkChar(ubuf));
 1065|       |			SET_STRING_ELT(udomain, i, mkChar(dbuf));
 1066|       |		    } else {
 1067|       |			warning(_("cannot resolve owner of file '%ls': %s"),
 1068|       |				wfn, formatError(saveerr));
 1069|       |			SET_STRING_ELT(uname, i, NA_STRING);
 1070|       |			SET_STRING_ELT(udomain, i, NA_STRING);
 1071|       |		    }
 1072|       |		}
 1073|       |#endif
 1074|      0|	    }
 1075|      2|	} else {
 1076|      2|	    REAL(fsize)[i] = NA_REAL;
  ------------------
  |  |   58|      2|#define NA_REAL		R_NaReal
  ------------------
 1077|      2|	    LOGICAL(isdir)[i] = NA_INTEGER;
  ------------------
  |  |   56|      2|#define NA_INTEGER	R_NaInt
  ------------------
 1078|      2|	    INTEGER(mode)[i]  = NA_INTEGER;
  ------------------
  |  |   56|      2|#define NA_INTEGER	R_NaInt
  ------------------
 1079|      2|	    REAL(mtime)[i] = NA_REAL;
  ------------------
  |  |   58|      2|#define NA_REAL		R_NaReal
  ------------------
 1080|      2|	    REAL(ctime)[i] = NA_REAL;
  ------------------
  |  |   58|      2|#define NA_REAL		R_NaReal
  ------------------
 1081|      2|	    REAL(atime)[i] = NA_REAL;
  ------------------
  |  |   58|      2|#define NA_REAL		R_NaReal
  ------------------
 1082|      2|	    if (extras) {
  ------------------
  |  Branch (1082:10): [True: 0, False: 2]
  ------------------
 1083|      0|#ifdef UNIX_EXTRAS
 1084|      0|		INTEGER(uid)[i] = NA_INTEGER;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
 1085|      0|		INTEGER(gid)[i] = NA_INTEGER;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
 1086|      0|		SET_STRING_ELT(uname, i, NA_STRING);
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
 1087|      0|		SET_STRING_ELT(grname, i, NA_STRING);
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
 1088|      0|#endif
 1089|       |#ifdef Win32
 1090|       |		SET_STRING_ELT(exe, i, NA_STRING);
 1091|       |#endif
 1092|      0|	    }
 1093|      2|	}
 1094|      2|    }
 1095|      2|    setAttrib(ans, R_NamesSymbol, ansnames);
  ------------------
  |  | 1027|      2|#define setAttrib		Rf_setAttrib
  ------------------
 1096|      2|    PROTECT(xxclass = mkString("octmode"));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1097|      2|    classgets(mode, xxclass);
  ------------------
  |  |  894|      2|#define classgets		Rf_classgets
  ------------------
 1098|      2|    vmaxset(vmax);
 1099|      2|    UNPROTECT(3);
  ------------------
  |  |  358|      2|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1100|      2|    return ans;
 1101|      2|}
do_direxists:
 1104|     30|{
 1105|     30|    SEXP fn, ans;
 1106|       |
 1107|       |#ifdef Win32
 1108|       |    struct _stati64 sb;
 1109|       |#else
 1110|     30|    struct stat sb;
 1111|     30|#endif
 1112|       |
 1113|     30|    checkArity(op, args);
  ------------------
  |  | 1793|     30|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1114|     30|    fn = CAR(args);
 1115|     30|    if (!isString(fn))
  ------------------
  |  |  966|     30|#define isString		Rf_isString
  ------------------
  |  Branch (1115:9): [True: 0, False: 30]
  ------------------
 1116|      0|	error(_("invalid filename argument"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid filename argument"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1117|     30|    int n = LENGTH(fn);
 1118|     30|    PROTECT(ans = allocVector(LGLSXP, n));
  ------------------
  |  |  357|     30|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1119|     60|    for (int i = 0; i < n; i++) {
  ------------------
  |  Branch (1119:21): [True: 30, False: 30]
  ------------------
 1120|       |#ifdef Win32
 1121|       |	wchar_t *wfn = filenameToWchar(STRING_ELT(fn, i), TRUE);
 1122|       |	/* trailing \ is not valid on Windows except for the
 1123|       |	   root directory on a drive, specified as "\", or "D:\",
 1124|       |	   or "\\?\D:\", etc.  We remove it in other cases,
 1125|       |	   to help those who think they're on Unix. */
 1126|       |	size_t len = wcslen(wfn);
 1127|       |	if (len) {
 1128|       |	    wchar_t *p = wfn + (len - 1);
 1129|       |	    if (len > 1 && (*p == L'/' || *p == L'\\') &&
 1130|       |		*(p-1) != L':') *p = 0;
 1131|       |	}
 1132|       |	if (STRING_ELT(fn, i) != NA_STRING && _wstati64(wfn, &sb) == 0) {
 1133|       |	    LOGICAL(ans)[i] = (sb.st_mode & S_IFDIR) > 0;
 1134|       |
 1135|       |	} else LOGICAL(ans)[i] = 0;
 1136|       |#else
 1137|     30|	const char *p = translateCharFP2(STRING_ELT(fn, i));
  ------------------
  |  | 2004|     30|# define translateCharFP2	Rf_translateCharFP2
  ------------------
 1138|     30|	if (p && STRING_ELT(fn, i) != NA_STRING &&
  ------------------
  |  |  433|     60|#define NA_STRING	R_NaString
  ------------------
  |  Branch (1138:6): [True: 30, False: 0]
  |  Branch (1138:11): [True: 30, False: 0]
  ------------------
 1139|       |	    /* Target not link */
 1140|     30|	    stat(R_ExpandFileName(p), &sb) == 0) {
  ------------------
  |  Branch (1140:6): [True: 28, False: 2]
  ------------------
 1141|     28|	    LOGICAL(ans)[i] = (sb.st_mode & S_IFDIR) > 0;
 1142|     28|	} else LOGICAL(ans)[i] = 0;
 1143|     30|#endif
 1144|     30|    }
 1145|       |    // copy names?
 1146|     30|    UNPROTECT(1);
  ------------------
  |  |  358|     30|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1147|     30|    return ans;
 1148|     30|}
do_Rhome:
 1738|     12|{
 1739|     12|    char *path;
 1740|     12|    checkArity(op, args);
  ------------------
  |  | 1793|     12|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1741|     12|    if (!(path = R_HomeDir()))
  ------------------
  |  Branch (1741:9): [True: 0, False: 12]
  ------------------
 1742|      0|	error(_("unable to determine R home location"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("unable to determine R home location"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1743|     12|    return mkString(path);
  ------------------
  |  | 1003|     12|#define mkString		Rf_mkString
  ------------------
 1744|     12|}
do_fileexists:
 1755|    156|{
 1756|    156|    SEXP file, ans;
 1757|    156|    int i, nfile, ic = 16;
 1758|    156|    checkArity(op, args);
  ------------------
  |  | 1793|    156|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1759|    156|    if (!isString(file = CAR(args)))
  ------------------
  |  |  966|    156|#define isString		Rf_isString
  ------------------
  |  Branch (1759:9): [True: 0, False: 156]
  ------------------
 1760|      0|	error(_("invalid '%s' argument"), "file");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "file");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1761|    156|    nfile = LENGTH(file);
 1762|    156|    ans = PROTECT(allocVector(LGLSXP, nfile));
  ------------------
  |  |  357|    156|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1763|    312|    for (i = 0; i < nfile; i++) {
  ------------------
  |  Branch (1763:17): [True: 156, False: 156]
  ------------------
 1764|    156|	if (!(--ic)) {
  ------------------
  |  Branch (1764:6): [True: 0, False: 156]
  ------------------
 1765|      0|	    R_CheckUserInterrupt();
 1766|      0|	    ic = 16;
 1767|      0|	}
 1768|    156|	LOGICAL(ans)[i] = 0;
 1769|    156|	if (STRING_ELT(file, i) != NA_STRING) {
  ------------------
  |  |  433|    156|#define NA_STRING	R_NaString
  ------------------
  |  Branch (1769:6): [True: 156, False: 0]
  ------------------
 1770|       |	    /* documented to silently report false for paths that would be too
 1771|       |	       long after expansion */
 1772|       |#ifdef Win32
 1773|       |	    /* Package XML sends arbitrarily long strings to file.exists! */
 1774|       |	    size_t len = strlen(CHAR(STRING_ELT(file, i)));
 1775|       |	    /* 32767 bytes will still fit to the wide char buffer used
 1776|       |	       by filenameToWchar */
 1777|       |	    if (len > 32767)
 1778|       |		LOGICAL(ans)[i] = FALSE;
 1779|       |	    else
 1780|       |		LOGICAL(ans)[i] =
 1781|       |		    R_WFileExists(filenameToWchar(STRING_ELT(file, i), TRUE));
 1782|       |#else
 1783|       |	    // returns NULL if not translatable
 1784|    156|	    const char *p = translateCharFP2(STRING_ELT(file, i));
  ------------------
  |  | 2004|    156|# define translateCharFP2	Rf_translateCharFP2
  ------------------
 1785|       |	    /* Package XML sends arbitrarily long strings to file.exists! */
 1786|    156|	    if (!p || strlen(p) > R_PATH_MAX)
  ------------------
  |  | 1150|    156|# define R_PATH_MAX PATH_MAX
  ------------------
  |  Branch (1786:10): [True: 0, False: 156]
  |  Branch (1786:16): [True: 0, False: 156]
  ------------------
 1787|      0|		LOGICAL(ans)[i] = FALSE;
 1788|    156|	    else
 1789|    156|		LOGICAL(ans)[i] = R_FileExists(p);
 1790|    156|#endif
 1791|    156|	} else LOGICAL(ans)[i] = FALSE;
 1792|    156|    }
 1793|    156|    UNPROTECT(1); /* ans */
  ------------------
  |  |  358|    156|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1794|    156|    return ans;
 1795|    156|}
do_getlocale:
 2192|      1|{
 2193|      1|    int cat;
 2194|      1|    char *p = NULL;
 2195|       |
 2196|      1|    checkArity(op, args);
  ------------------
  |  | 1793|      1|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 2197|      1|    cat = asInteger(CAR(args));
  ------------------
  |  |  885|      1|#define asInteger		Rf_asInteger
  ------------------
 2198|      1|    if (cat == NA_INTEGER || cat < 0)
  ------------------
  |  |   56|      2|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (2198:9): [True: 0, False: 1]
  |  Branch (2198:30): [True: 0, False: 1]
  ------------------
 2199|      0|	error(_("invalid '%s' argument"), "category");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "category");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2200|      1|    switch(cat) {
 2201|      0|    case 1: cat = LC_ALL; break;
  ------------------
  |  Branch (2201:5): [True: 0, False: 1]
  ------------------
 2202|      0|    case 2: cat = LC_COLLATE; break;
  ------------------
  |  Branch (2202:5): [True: 0, False: 1]
  ------------------
 2203|      0|    case 3: cat = LC_CTYPE; break;
  ------------------
  |  Branch (2203:5): [True: 0, False: 1]
  ------------------
 2204|      0|    case 4: cat = LC_MONETARY; break;
  ------------------
  |  Branch (2204:5): [True: 0, False: 1]
  ------------------
 2205|      0|    case 5: cat = LC_NUMERIC; break;
  ------------------
  |  Branch (2205:5): [True: 0, False: 1]
  ------------------
 2206|      0|    case 6: cat = LC_TIME; break;
  ------------------
  |  Branch (2206:5): [True: 0, False: 1]
  ------------------
 2207|      0|#ifndef Win32
 2208|      0|# ifdef LC_MESSAGES
 2209|      0|    case 7: cat = LC_MESSAGES; break;
  ------------------
  |  Branch (2209:5): [True: 0, False: 1]
  ------------------
 2210|      0|# endif
 2211|      0|# ifdef LC_PAPER
 2212|      1|    case 8: cat = LC_PAPER; break;
  ------------------
  |  Branch (2212:5): [True: 1, False: 0]
  ------------------
 2213|      0|# endif
 2214|      0|# ifdef LC_MEASUREMENT
 2215|      0|    case 9: cat = LC_MEASUREMENT; break;
  ------------------
  |  Branch (2215:5): [True: 0, False: 1]
  ------------------
 2216|      0|# endif
 2217|      0|#endif
 2218|      0|    default: cat = NA_INTEGER;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (2218:5): [True: 0, False: 1]
  ------------------
 2219|      1|    }
 2220|      1|    if (cat != NA_INTEGER) p = setlocale(cat, NULL);
  ------------------
  |  |   56|      1|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (2220:9): [True: 1, False: 0]
  ------------------
 2221|      1|    return mkString(p ? p : "");
  ------------------
  |  | 1003|      1|#define mkString		Rf_mkString
  ------------------
  |  Branch (2221:21): [True: 1, False: 0]
  ------------------
 2222|      1|}
do_pathexpand:
 2413|     46|{
 2414|     46|    SEXP fn, ans;
 2415|     46|    int i, n;
 2416|       |
 2417|     46|    checkArity(op, args);
  ------------------
  |  | 1793|     46|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 2418|     46|    fn = CAR(args);
 2419|     46|    if (!isString(fn))
  ------------------
  |  |  966|     46|#define isString		Rf_isString
  ------------------
  |  Branch (2419:9): [True: 0, False: 46]
  ------------------
 2420|      0|	error(_("invalid '%s' argument"), "path");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "path");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2421|     46|    n = LENGTH(fn);
 2422|     46|    PROTECT(ans = allocVector(STRSXP, n));
  ------------------
  |  |  357|     46|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2423|     92|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (2423:17): [True: 46, False: 46]
  ------------------
 2424|     46|	SEXP tmp = STRING_ELT(fn, i);
 2425|     46|	if (tmp != NA_STRING) {
  ------------------
  |  |  433|     46|#define NA_STRING	R_NaString
  ------------------
  |  Branch (2425:6): [True: 46, False: 0]
  ------------------
 2426|       |#ifdef Win32
 2427|       |	    /* Windows can have files and home directories that aren't
 2428|       |	       representable in the native encoding (e.g. latin1). Translate
 2429|       |	       to UTF-8 when the input is in UTF-8 already or is in latin1,
 2430|       |	       but the native encoding is not latin1.
 2431|       |
 2432|       |	       R (including R_ExpandFileNameUTF8) for now only supports R home
 2433|       |	       directories representable in native encoding.
 2434|       |	    */
 2435|       |	    if (IS_UTF8(tmp) || (IS_LATIN1(tmp) && !latin1locale))
 2436|       |		tmp = mkCharCE(R_ExpandFileNameUTF8(trCharUTF8(tmp)), CE_UTF8);
 2437|       |	    else
 2438|       |#endif
 2439|     46|	    {
 2440|     46|		const char *p = translateCharFP2(tmp);
  ------------------
  |  | 2004|     46|# define translateCharFP2	Rf_translateCharFP2
  ------------------
 2441|     46|		if (p)
  ------------------
  |  Branch (2441:7): [True: 46, False: 0]
  ------------------
 2442|     46|		    tmp = markKnown(R_ExpandFileName(p), tmp);
  ------------------
  |  | 1947|     46|# define markKnown		Rf_markKnown
  ------------------
 2443|     46|	    }
 2444|     46|	}
 2445|     46|	SET_STRING_ELT(ans, i, tmp);
 2446|     46|    }
 2447|     46|    UNPROTECT(1);
  ------------------
  |  |  358|     46|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2448|     46|    return ans;
 2449|     46|}
do_capabilities:
 2487|      2|{
 2488|      2|    SEXP ans, ansnames;
 2489|      2|    int i = 0;
 2490|      2|#ifdef Unix
 2491|       |# ifdef HAVE_X11
 2492|       |    int X11 = NA_LOGICAL;
 2493|       |# else
 2494|      2|    int X11 = FALSE;
 2495|      2|# endif
 2496|      2|#endif
 2497|       |
 2498|      2|    checkArity(op, args);
  ------------------
  |  | 1793|      2|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 2499|       |
 2500|      2|    PROTECT(ans      = allocVector(LGLSXP, 20));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2501|      2|    PROTECT(ansnames = allocVector(STRSXP, 20));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2502|       |
 2503|      2|    SET_STRING_ELT(ansnames, i, mkChar("jpeg"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
 2504|       |#ifdef HAVE_JPEG
 2505|       |# if defined Unix && !defined HAVE_WORKING_CAIRO
 2506|       |    LOGICAL(ans)[i++] = X11;
 2507|       |# else
 2508|       |    LOGICAL(ans)[i++] = TRUE;
 2509|       |# endif
 2510|       |#else
 2511|      2|    LOGICAL(ans)[i++] = FALSE;
 2512|      2|#endif
 2513|       |
 2514|      2|    SET_STRING_ELT(ansnames, i, mkChar("png"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
 2515|       |#ifdef HAVE_PNG
 2516|       |# if defined Unix && !defined HAVE_WORKING_CAIRO
 2517|       |    LOGICAL(ans)[i++] = X11;
 2518|       |# else /* Windows */
 2519|       |    LOGICAL(ans)[i++] = TRUE;
 2520|       |# endif
 2521|       |#else
 2522|      2|    LOGICAL(ans)[i++] = FALSE;
 2523|      2|#endif
 2524|       |
 2525|      2|    SET_STRING_ELT(ansnames, i, mkChar("tiff"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
 2526|       |#ifdef HAVE_TIFF
 2527|       |# if defined Unix && !defined HAVE_WORKING_CAIRO
 2528|       |    LOGICAL(ans)[i++] = X11;
 2529|       |# else /* Windows */
 2530|       |    LOGICAL(ans)[i++] = TRUE;
 2531|       |# endif
 2532|       |#else
 2533|      2|    LOGICAL(ans)[i++] = FALSE;
 2534|      2|#endif
 2535|       |
 2536|      2|    SET_STRING_ELT(ansnames, i, mkChar("tcltk"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
 2537|       |#ifdef HAVE_TCLTK
 2538|       |    LOGICAL(ans)[i++] = TRUE;
 2539|       |#else
 2540|      2|    LOGICAL(ans)[i++] = FALSE;
 2541|      2|#endif
 2542|       |
 2543|      2|    SET_STRING_ELT(ansnames, i, mkChar("X11"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
 2544|       |#ifdef HAVE_X11
 2545|       |# if defined(Unix)
 2546|       |    LOGICAL(ans)[i++] = X11;
 2547|       |# else
 2548|       |    LOGICAL(ans)[i++] = TRUE;
 2549|       |# endif
 2550|       |#else
 2551|      2|    LOGICAL(ans)[i++] = FALSE;
 2552|      2|#endif
 2553|       |
 2554|      2|    SET_STRING_ELT(ansnames, i, mkChar("aqua"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
 2555|       |#ifdef HAVE_AQUA
 2556|       |    LOGICAL(ans)[i++] = TRUE;
 2557|       |#else
 2558|      2|    LOGICAL(ans)[i++] = FALSE;
 2559|      2|#endif
 2560|       |
 2561|      2|    SET_STRING_ELT(ansnames, i, mkChar("http/ftp"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
 2562|      2|    LOGICAL(ans)[i++] = TRUE;
 2563|       |
 2564|      2|    SET_STRING_ELT(ansnames, i, mkChar("sockets"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
 2565|      2|    LOGICAL(ans)[i++] = TRUE;
 2566|       |
 2567|      2|    SET_STRING_ELT(ansnames, i, mkChar("libxml"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
 2568|      2|    LOGICAL(ans)[i++] = FALSE;
 2569|       |
 2570|      2|    SET_STRING_ELT(ansnames, i, mkChar("fifo"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
 2571|      2|#if (defined(HAVE_MKFIFO) && defined(HAVE_FCNTL_H)) || defined(_WIN32)
 2572|      2|    LOGICAL(ans)[i++] = TRUE;
 2573|       |#else
 2574|       |    LOGICAL(ans)[i++] = FALSE;
 2575|       |#endif
 2576|       |
 2577|       |    /* This one is complex.  Set it to be true only in interactive use,
 2578|       |       with the Windows and GNOME GUIs (but not Tk GUI) or under Unix
 2579|       |       if readline is available and in use. */
 2580|      2|    SET_STRING_ELT(ansnames, i, mkChar("cledit"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
 2581|      2|    LOGICAL(ans)[i] = FALSE;
 2582|       |#if defined(Win32)
 2583|       |    if (R_Interactive) LOGICAL(ans)[i] = TRUE;
 2584|       |#endif
 2585|      2|#ifdef Unix
 2586|      2|    if (strcmp(R_GUIType, "GNOME") == 0) {  /* always interactive */
  ------------------
  |  Branch (2586:9): [True: 0, False: 2]
  ------------------
 2587|      0|	LOGICAL(ans)[i] = TRUE;  /* also AQUA ? */
 2588|      2|    } else {
 2589|      2|#if defined(HAVE_LIBREADLINE)
 2590|      2|	extern Rboolean UsingReadline; // from ../unix/system.c
 2591|      2|	if (R_Interactive && UsingReadline) LOGICAL(ans)[i] = TRUE;
  ------------------
  |  Branch (2591:6): [True: 2, False: 0]
  |  Branch (2591:23): [True: 2, False: 0]
  ------------------
 2592|      2|#endif
 2593|      2|    }
 2594|      2|#endif
 2595|      2|    i++;
 2596|       |
 2597|       |/* always true as from R 2.10.0 */
 2598|      2|    SET_STRING_ELT(ansnames, i, mkChar("iconv"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
 2599|      2|    LOGICAL(ans)[i++] = TRUE;
 2600|       |
 2601|      2|    SET_STRING_ELT(ansnames, i, mkChar("NLS"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
 2602|      2|#ifdef ENABLE_NLS
 2603|      2|    LOGICAL(ans)[i++] = TRUE;
 2604|       |#else
 2605|       |    LOGICAL(ans)[i++] = FALSE;
 2606|       |#endif
 2607|       |
 2608|      2|    SET_STRING_ELT(ansnames, i, mkChar("Rprof"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
 2609|      2|#ifdef R_PROFILING
 2610|      2|    LOGICAL(ans)[i++] = TRUE;
 2611|       |#else
 2612|       |    LOGICAL(ans)[i++] = FALSE;
 2613|       |#endif
 2614|       |
 2615|      2|    SET_STRING_ELT(ansnames, i, mkChar("profmem"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
 2616|       |#ifdef R_MEMORY_PROFILING
 2617|       |    LOGICAL(ans)[i++] = TRUE;
 2618|       |#else
 2619|      2|    LOGICAL(ans)[i++] = FALSE;
 2620|      2|#endif
 2621|       |
 2622|      2|    SET_STRING_ELT(ansnames, i, mkChar("cairo"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
 2623|       |#ifdef HAVE_WORKING_CAIRO
 2624|       |    LOGICAL(ans)[i++] = TRUE;
 2625|       |#elif defined(Win32)
 2626|       |{
 2627|       |    /* This is true iff winCairo.dll is available */
 2628|       |    struct stat sb;
 2629|       |    char path[1000]; // R_HomeDir() should be at most 260 chars
 2630|       |# ifdef R_ARCH
 2631|       |    snprintf(path, 1000, "%s/library/grDevices/libs/%s/winCairo.dll",
 2632|       |	     R_HomeDir(), R_ARCH);
 2633|       |# else
 2634|       |    snprintf(path, 1000, "%s/library/grDevices/libs/winCairo.dll",
 2635|       |	     R_HomeDir());
 2636|       |# endif
 2637|       |    LOGICAL(ans)[i++] = stat(path, &sb) == 0;
 2638|       |}
 2639|       |#else
 2640|      2|    LOGICAL(ans)[i++] = FALSE;
 2641|      2|#endif
 2642|       |
 2643|      2|    SET_STRING_ELT(ansnames, i, mkChar("ICU"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
 2644|       |#ifdef USE_ICU
 2645|       |    LOGICAL(ans)[i++] = TRUE;
 2646|       |#else
 2647|      2|    LOGICAL(ans)[i++] = FALSE;
 2648|      2|#endif
 2649|       |
 2650|      2|    SET_STRING_ELT(ansnames, i, mkChar("long.double"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
 2651|      2|    LOGICAL(ans)[i++] = sizeof(LDOUBLE) > sizeof(double);
 2652|       |
 2653|      2|    SET_STRING_ELT(ansnames, i, mkChar("libcurl"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
 2654|      2|#ifdef HAVE_LIBCURL
 2655|      2|    LOGICAL(ans)[i++] = TRUE;
 2656|       |#else
 2657|       |    LOGICAL(ans)[i++] = FALSE;
 2658|       |#endif
 2659|       |
 2660|      2|    SET_STRING_ELT(ansnames, i, mkChar("zstd"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
 2661|      2|#ifdef HAVE_ZSTD
 2662|      2|    LOGICAL(ans)[i++] = TRUE;
 2663|       |#else
 2664|       |    LOGICAL(ans)[i++] = FALSE;
 2665|       |#endif
 2666|       |
 2667|      2|    setAttrib(ans, R_NamesSymbol, ansnames);
  ------------------
  |  | 1027|      2|#define setAttrib		Rf_setAttrib
  ------------------
 2668|      2|    UNPROTECT(2);
  ------------------
  |  |  358|      2|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2669|      2|    return ans;
 2670|      2|}
platform.c:Init_R_Platform:
   90|      2|{
   91|      2|    SEXP value, names;
   92|      2|    char *pkgType;
   93|       |
   94|      2|    PROTECT(value = allocVector(VECSXP, 8));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
   95|      2|    PROTECT(names = allocVector(STRSXP, 8));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
   96|      2|    SET_STRING_ELT(names, 0, mkChar("OS.type"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
   97|      2|    SET_STRING_ELT(names, 1, mkChar("file.sep"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
   98|      2|    SET_STRING_ELT(names, 2, mkChar("dynlib.ext"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
   99|      2|    SET_STRING_ELT(names, 3, mkChar("GUI"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
  100|      2|    SET_STRING_ELT(names, 4, mkChar("endian"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
  101|      2|    SET_STRING_ELT(names, 5, mkChar("pkgType"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
  102|      2|    SET_STRING_ELT(names, 6, mkChar("path.sep"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
  103|      2|    SET_STRING_ELT(names, 7, mkChar("r_arch"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
  104|      2|    SET_VECTOR_ELT(value, 0, mkString(R_OSType));
  ------------------
  |  | 1003|      2|#define mkString		Rf_mkString
  ------------------
  105|      2|    SET_VECTOR_ELT(value, 1, mkString(R_FileSep));
  ------------------
  |  | 1003|      2|#define mkString		Rf_mkString
  ------------------
  106|      2|    SET_VECTOR_ELT(value, 2, mkString(SHLIB_EXT));
  ------------------
  |  | 1003|      2|#define mkString		Rf_mkString
  ------------------
                  SET_VECTOR_ELT(value, 2, mkString(SHLIB_EXT));
  ------------------
  |  | 1116|      2|#define SHLIB_EXT ".so"
  ------------------
  107|      2|    SET_VECTOR_ELT(value, 3, mkString(R_GUIType));
  ------------------
  |  | 1003|      2|#define mkString		Rf_mkString
  ------------------
  108|       |#ifdef WORDS_BIGENDIAN
  109|       |    SET_VECTOR_ELT(value, 4, mkString("big"));
  110|       |#else
  111|      2|    SET_VECTOR_ELT(value, 4, mkString("little"));
  ------------------
  |  | 1003|      2|#define mkString		Rf_mkString
  ------------------
  112|      2|#endif
  113|       |/* pkgType should be "mac.binary" for CRAN build *only*, not for all
  114|       |   AQUA builds. Also we want to be able to use "mac.binary.mavericks",
  115|       |   "mac.binary.el-capitan" and similar. */
  116|       |/* since R 4.6.0 we extend the support to other platforms, so we allow
  117|       |   R_PLATFORM_PKGTYPE env var to override this such that other builds can
  118|       |   set this in their Renviron */
  119|      2|    if ((pkgType = getenv("R_PLATFORM_PKGTYPE")) && *pkgType)
  ------------------
  |  Branch (119:9): [True: 0, False: 2]
  |  Branch (119:53): [True: 0, False: 0]
  ------------------
  120|      0|	SET_VECTOR_ELT(value, 5, mkString(pkgType));
  ------------------
  |  | 1003|      0|#define mkString		Rf_mkString
  ------------------
  121|      2|    else
  122|       |#ifdef PLATFORM_PKGTYPE
  123|       |    SET_VECTOR_ELT(value, 5, mkString(PLATFORM_PKGTYPE));
  124|       |#else /* unix default */
  125|      2|    SET_VECTOR_ELT(value, 5, mkString("source"));
  ------------------
  |  | 1003|      2|#define mkString		Rf_mkString
  ------------------
  126|      2|#endif
  127|       |#ifdef Win32
  128|       |    SET_VECTOR_ELT(value, 6, mkString(";"));
  129|       |#else /* not Win32 */
  130|      2|    SET_VECTOR_ELT(value, 6, mkString(":"));
  ------------------
  |  | 1003|      2|#define mkString		Rf_mkString
  ------------------
  131|      2|#endif
  132|      2|#ifdef R_ARCH
  133|      2|    SET_VECTOR_ELT(value, 7, mkString(R_ARCH));
  ------------------
  |  | 1003|      2|#define mkString		Rf_mkString
  ------------------
                  SET_VECTOR_ELT(value, 7, mkString(R_ARCH));
  ------------------
  |  | 1085|      2|#define R_ARCH ""
  ------------------
  134|       |#else
  135|       |    SET_VECTOR_ELT(value, 7, mkString(""));
  136|       |#endif
  137|      2|    setAttrib(value, R_NamesSymbol, names);
  ------------------
  |  | 1027|      2|#define setAttrib		Rf_setAttrib
  ------------------
  138|      2|    defineVar(install(".Platform"), value, rho);
  ------------------
  |  |  905|      2|#define defineVar		Rf_defineVar
  ------------------
                  defineVar(install(".Platform"), value, rho);
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  139|      2|    UNPROTECT(2);
  ------------------
  |  |  358|      2|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  140|      2|}
platform.c:R_strieql:
  153|      4|{
  154|      4|    while (*a && *b && toupper(*a) == toupper(*b)) { a++; b++; }
  ------------------
  |  Branch (154:12): [True: 4, False: 0]
  |  Branch (154:18): [True: 4, False: 0]
  |  Branch (154:24): [True: 0, False: 0]
  |  Branch (154:24): [True: 0, False: 0]
  |  Branch (154:24): [Folded, False: 4]
  |  Branch (154:24): [True: 0, False: 4]
  |  Branch (154:39): [True: 0, False: 0]
  |  Branch (154:39): [True: 0, False: 0]
  |  Branch (154:39): [Folded, False: 4]
  ------------------
  155|      4|    return (*a == 0 && *b == 0);
  ------------------
  |  Branch (155:13): [True: 0, False: 4]
  |  Branch (155:24): [True: 0, False: 0]
  ------------------
  156|      4|}

Rf_PrintInit:
   88|  6.38k|{
   89|  6.38k|    data->na_string = NA_STRING;
  ------------------
  |  |  433|  6.38k|#define NA_STRING	R_NaString
  ------------------
   90|  6.38k|    data->na_string_noquote = mkChar("<NA>");
  ------------------
  |  |  998|  6.38k|#define mkChar			Rf_mkChar
  ------------------
   91|  6.38k|    data->na_width = Rstrlen(data->na_string, 0);
   92|  6.38k|    data->na_width_noquote = Rstrlen(data->na_string_noquote, 0);
   93|  6.38k|    data->quote = 1;
   94|  6.38k|    data->right = Rprt_adj_left;
   95|  6.38k|    data->digits = GetOptionDigits();
  ------------------
  |  |  929|  6.38k|#define GetOptionDigits		Rf_GetOptionDigits
  ------------------
   96|  6.38k|    data->scipen = asInteger(GetOption1(install("scipen")));
  ------------------
  |  |  885|  6.38k|#define asInteger		Rf_asInteger
  ------------------
                  data->scipen = asInteger(GetOption1(install("scipen")));
  ------------------
  |  |  928|  6.38k|#define GetOption1		Rf_GetOption1
  ------------------
                  data->scipen = asInteger(GetOption1(install("scipen")));
  ------------------
  |  |  934|  6.38k|#define install			Rf_install
  ------------------
   97|  6.38k|    if (data->scipen == NA_INTEGER) data->scipen = 0;
  ------------------
  |  |   56|  6.38k|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (97:9): [True: 32, False: 6.35k]
  ------------------
   98|  6.38k|    data->max = asInteger(GetOption1(install("max.print")));
  ------------------
  |  |  885|  6.38k|#define asInteger		Rf_asInteger
  ------------------
                  data->max = asInteger(GetOption1(install("max.print")));
  ------------------
  |  |  928|  6.38k|#define GetOption1		Rf_GetOption1
  ------------------
                  data->max = asInteger(GetOption1(install("max.print")));
  ------------------
  |  |  934|  6.38k|#define install			Rf_install
  ------------------
   99|  6.38k|    if (data->max == NA_INTEGER || data->max < 0) data->max = 99999;
  ------------------
  |  |   56|  12.7k|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (99:9): [True: 32, False: 6.35k]
  |  Branch (99:36): [True: 0, False: 6.35k]
  ------------------
  100|  6.35k|    else if(data->max == INT_MAX) data->max--; // so we can add
  ------------------
  |  Branch (100:13): [True: 0, False: 6.35k]
  ------------------
  101|  6.38k|    data->gap = 1;
  102|  6.38k|    data->width = GetOptionWidth();
  ------------------
  |  |  930|  6.38k|#define GetOptionWidth		Rf_GetOptionWidth
  ------------------
  103|  6.38k|    data->useSource = USESOURCE;
  ------------------
  |  | 2076|  6.38k|#define USESOURCE 		8
  ------------------
  104|  6.38k|    data->cutoff = GetOptionCutoff();
  ------------------
  |  | 1912|  6.38k|# define GetOptionCutoff       	Rf_GetOptionCutoff
  ------------------
  105|  6.38k|    data->env = env;
  106|  6.38k|    data->callArgs = R_NilValue;
  107|  6.38k|}
Rf_PrintDefaults:
  113|  6.38k|{
  114|  6.38k|    PrintInit(&R_print, R_GlobalEnv);
  ------------------
  |  | 1974|  6.38k|# define PrintInit              Rf_PrintInit
  ------------------
  115|  6.38k|}
do_invisible:
  118|  5.11k|{
  119|  5.11k|    switch (length(args)) {
  ------------------
  |  |  987|  5.11k|#define length(x)		Rf_length(x)
  ------------------
  120|  4.30k|    case 0:
  ------------------
  |  Branch (120:5): [True: 4.30k, False: 808]
  ------------------
  121|  4.30k|	return R_NilValue;
  122|    808|    case 1:
  ------------------
  |  Branch (122:5): [True: 808, False: 4.30k]
  ------------------
  123|    808|	check1arg(args, call, "x");
  ------------------
  |  | 1872|    808|# define check1arg		Rf_check1arg
  ------------------
  124|    808|	return CAR(args);
  125|      0|    default:
  ------------------
  |  Branch (125:5): [True: 0, False: 5.11k]
  ------------------
  126|      0|	checkArity(op, args); /* must fail */
  ------------------
  |  | 1793|      0|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  127|      0|	return call;/* never used, just for -Wall */
  128|  5.11k|    }
  129|  5.11k|}

R_Decode2Long:
   92|      2|{
   93|      2|    R_size_t v = strtol(p, &p, 10);
   94|      2|    *ierr = 0;
   95|      2|    if(p[0] == '\0') return v;
  ------------------
  |  Branch (95:8): [True: 0, False: 2]
  ------------------
   96|       |    /* else look for letter-code ending : */
   97|      2|    if(R_Verbose)
  ------------------
  |  Branch (97:8): [True: 0, False: 2]
  ------------------
   98|      0|	REprintf("R_Decode2Long(): v=%ld\n", (long)v);
   99|       |    // NOTE: currently, positive *ierr are not differentiated in the callers:
  100|      2|    if(p[0] == 'G') {
  ------------------
  |  Branch (100:8): [True: 2, False: 0]
  ------------------
  101|      2|	if((Giga * (double)v) > (double) R_SIZE_T_MAX) { *ierr = 4; return(v); }
  ------------------
  |  | 1051|      2|#define Giga 1073741824. /* Misnomer !! 1 GiB (gibibyte) := 2^30 = (2^10)^3 Bytes */
  ------------------
              	if((Giga * (double)v) > (double) R_SIZE_T_MAX) { *ierr = 4; return(v); }
  ------------------
  |  | 1044|      2|# define R_SIZE_T_MAX SIZE_MAX
  ------------------
  |  Branch (101:5): [True: 0, False: 2]
  ------------------
  102|      2|	return (R_size_t) Giga * v;
  ------------------
  |  | 1051|      2|#define Giga 1073741824. /* Misnomer !! 1 GiB (gibibyte) := 2^30 = (2^10)^3 Bytes */
  ------------------
  103|      2|    }
  104|      0|    else if(p[0] == 'M') {
  ------------------
  |  Branch (104:13): [True: 0, False: 0]
  ------------------
  105|      0|	if((Mega * (double)v) > (double) R_SIZE_T_MAX) { *ierr = 1; return(v); }
  ------------------
  |  | 1050|      0|#define Mega 1048576.    /* Misnomer !! 1 MiB (mebibyte) := 2^20 (= 1048576) Bytes */
  ------------------
              	if((Mega * (double)v) > (double) R_SIZE_T_MAX) { *ierr = 1; return(v); }
  ------------------
  |  | 1044|      0|# define R_SIZE_T_MAX SIZE_MAX
  ------------------
  |  Branch (105:5): [True: 0, False: 0]
  ------------------
  106|      0|	return (R_size_t) Mega * v;
  ------------------
  |  | 1050|      0|#define Mega 1048576.    /* Misnomer !! 1 MiB (mebibyte) := 2^20 (= 1048576) Bytes */
  ------------------
  107|      0|    }
  108|      0|    else if(p[0] == 'K') {
  ------------------
  |  Branch (108:13): [True: 0, False: 0]
  ------------------
  109|      0|	if((1024 * (double)v) > (double) R_SIZE_T_MAX) { *ierr = 2; return(v); }
  ------------------
  |  | 1044|      0|# define R_SIZE_T_MAX SIZE_MAX
  ------------------
  |  Branch (109:5): [True: 0, False: 0]
  ------------------
  110|      0|	return (1024*v);
  111|      0|    }
  112|      0|    else if(p[0] == 'k') {
  ------------------
  |  Branch (112:13): [True: 0, False: 0]
  ------------------
  113|      0|	if((1000 * (double)v) > (double) R_SIZE_T_MAX) { *ierr = 3; return(v); }
  ------------------
  |  | 1044|      0|# define R_SIZE_T_MAX SIZE_MAX
  ------------------
  |  Branch (113:5): [True: 0, False: 0]
  ------------------
  114|      0|	return (1000*v);
  115|      0|    }
  116|      0|    else {
  117|      0|	*ierr = -1;
  118|      0|	return(v);
  119|      0|    }
  120|      2|}
Rf_EncodeLogical:
  126|  1.06k|{
  127|       |    /* fast path when 'w' fits exactly */
  128|  1.06k|    if(x == NA_LOGICAL) {
  ------------------
  |  |   55|  1.06k|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (128:8): [True: 0, False: 1.06k]
  ------------------
  129|      0|	if(w == R_print.na_width) return CHAR(R_print.na_string);
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (129:5): [True: 0, False: 0]
  ------------------
  130|  1.06k|    } else if(x) {
  ------------------
  |  Branch (130:15): [True: 870, False: 196]
  ------------------
  131|    870|	if(w == 4) return "TRUE";
  ------------------
  |  Branch (131:5): [True: 870, False: 0]
  ------------------
  132|    870|    } else
  133|    196|	if(w == 5) return "FALSE";
  ------------------
  |  Branch (133:5): [True: 196, False: 0]
  ------------------
  134|       |    /* general case */
  135|      0|    static char buff[NB];
  136|      0|    if(x == NA_LOGICAL) snprintf(buff, NB, "%*s", min(w, (NB-1)), CHAR(R_print.na_string));
  ------------------
  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  ------------------
                  if(x == NA_LOGICAL) snprintf(buff, NB, "%*s", min(w, (NB-1)), CHAR(R_print.na_string));
  ------------------
  |  |  124|      0|#define NB 1000
  ------------------
                  if(x == NA_LOGICAL) snprintf(buff, NB, "%*s", min(w, (NB-1)), CHAR(R_print.na_string));
  ------------------
  |  |   85|      0|#define min(a, b) (((a)<(b))?(a):(b))
  |  |  ------------------
  |  |  |  Branch (85:20): [True: 0, False: 0]
  |  |  ------------------
  ------------------
                  if(x == NA_LOGICAL) snprintf(buff, NB, "%*s", min(w, (NB-1)), CHAR(R_print.na_string));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (136:8): [True: 0, False: 0]
  ------------------
  137|      0|    else if(x) snprintf(buff, NB, "%*s", min(w, (NB-1)), "TRUE");
  ------------------
  |  |  124|      0|#define NB 1000
  ------------------
                  else if(x) snprintf(buff, NB, "%*s", min(w, (NB-1)), "TRUE");
  ------------------
  |  |   85|      0|#define min(a, b) (((a)<(b))?(a):(b))
  |  |  ------------------
  |  |  |  Branch (85:20): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (137:13): [True: 0, False: 0]
  ------------------
  138|      0|    else snprintf(buff, NB, "%*s", min(w, (NB-1)), "FALSE");
  ------------------
  |  |  124|      0|#define NB 1000
  ------------------
                  else snprintf(buff, NB, "%*s", min(w, (NB-1)), "FALSE");
  ------------------
  |  |   85|      0|#define min(a, b) (((a)<(b))?(a):(b))
  |  |  ------------------
  |  |  |  Branch (85:20): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  139|      0|    buff[NB-1] = '\0';
  ------------------
  |  |  124|      0|#define NB 1000
  ------------------
  140|      0|    return buff;
  141|  1.06k|}
Rf_EncodeInteger:
  144|  3.43k|{
  145|  3.43k|    static char buff[NB];
  146|  3.43k|    if(x == NA_INTEGER) snprintf(buff, NB, "%*s", min(w, (NB-1)), CHAR(R_print.na_string));
  ------------------
  |  |   56|  3.43k|#define NA_INTEGER	R_NaInt
  ------------------
                  if(x == NA_INTEGER) snprintf(buff, NB, "%*s", min(w, (NB-1)), CHAR(R_print.na_string));
  ------------------
  |  |  124|      0|#define NB 1000
  ------------------
                  if(x == NA_INTEGER) snprintf(buff, NB, "%*s", min(w, (NB-1)), CHAR(R_print.na_string));
  ------------------
  |  |   85|      0|#define min(a, b) (((a)<(b))?(a):(b))
  |  |  ------------------
  |  |  |  Branch (85:20): [True: 0, False: 0]
  |  |  ------------------
  ------------------
                  if(x == NA_INTEGER) snprintf(buff, NB, "%*s", min(w, (NB-1)), CHAR(R_print.na_string));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (146:8): [True: 0, False: 3.43k]
  ------------------
  147|  3.43k|    else snprintf(buff, NB, "%*d", min(w, (NB-1)), x);
  ------------------
  |  |  124|  3.43k|#define NB 1000
  ------------------
                  else snprintf(buff, NB, "%*d", min(w, (NB-1)), x);
  ------------------
  |  |   85|  3.43k|#define min(a, b) (((a)<(b))?(a):(b))
  |  |  ------------------
  |  |  |  Branch (85:20): [True: 3.43k, False: 0]
  |  |  ------------------
  ------------------
  148|  3.43k|    buff[NB-1] = '\0';
  ------------------
  |  |  124|  3.43k|#define NB 1000
  ------------------
  149|  3.43k|    return buff;
  150|  3.43k|}
Rf_EncodeReal0:
  203|  2.63k|{
  204|  2.63k|    static char buff[NB], buff2[2*NB];
  205|  2.63k|    char fmt[20], *out = buff;
  206|       |
  207|       |    /* IEEE allows signed zeros (yuck!) */
  208|  2.63k|    if (x == 0.0) x = 0.0;
  ------------------
  |  Branch (208:9): [True: 394, False: 2.23k]
  ------------------
  209|  2.63k|    if (!R_FINITE(x)) {
  ------------------
  |  |   82|  2.63k|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (209:9): [True: 0, False: 2.63k]
  ------------------
  210|      0|	if(ISNA(x)) snprintf(buff, NB, "%*s", min(w, (NB-1)), CHAR(R_print.na_string));
  ------------------
  |  |   64|      0|#define ISNA(x)	       R_IsNA(x)
  |  |  ------------------
  |  |  |  Branch (64:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
              	if(ISNA(x)) snprintf(buff, NB, "%*s", min(w, (NB-1)), CHAR(R_print.na_string));
  ------------------
  |  |  124|      0|#define NB 1000
  ------------------
              	if(ISNA(x)) snprintf(buff, NB, "%*s", min(w, (NB-1)), CHAR(R_print.na_string));
  ------------------
  |  |   85|      0|#define min(a, b) (((a)<(b))?(a):(b))
  |  |  ------------------
  |  |  |  Branch (85:20): [True: 0, False: 0]
  |  |  ------------------
  ------------------
              	if(ISNA(x)) snprintf(buff, NB, "%*s", min(w, (NB-1)), CHAR(R_print.na_string));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  211|      0|	else if(ISNAN(x)) snprintf(buff, NB, "%*s", min(w, (NB-1)), "NaN");
  ------------------
  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
              	else if(ISNAN(x)) snprintf(buff, NB, "%*s", min(w, (NB-1)), "NaN");
  ------------------
  |  |  124|      0|#define NB 1000
  ------------------
              	else if(ISNAN(x)) snprintf(buff, NB, "%*s", min(w, (NB-1)), "NaN");
  ------------------
  |  |   85|      0|#define min(a, b) (((a)<(b))?(a):(b))
  |  |  ------------------
  |  |  |  Branch (85:20): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  212|      0|	else if(x > 0) snprintf(buff, NB, "%*s", min(w, (NB-1)), "Inf");
  ------------------
  |  |  124|      0|#define NB 1000
  ------------------
              	else if(x > 0) snprintf(buff, NB, "%*s", min(w, (NB-1)), "Inf");
  ------------------
  |  |   85|      0|#define min(a, b) (((a)<(b))?(a):(b))
  |  |  ------------------
  |  |  |  Branch (85:20): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (212:10): [True: 0, False: 0]
  ------------------
  213|      0|	else snprintf(buff, NB, "%*s", min(w, (NB-1)), "-Inf");
  ------------------
  |  |  124|      0|#define NB 1000
  ------------------
              	else snprintf(buff, NB, "%*s", min(w, (NB-1)), "-Inf");
  ------------------
  |  |   85|      0|#define min(a, b) (((a)<(b))?(a):(b))
  |  |  ------------------
  |  |  |  Branch (85:20): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  214|      0|    }
  215|  2.63k|    else if (e) {
  ------------------
  |  Branch (215:14): [True: 133, False: 2.49k]
  ------------------
  216|    133|	if(d) { // '#' flag
  ------------------
  |  Branch (216:5): [True: 0, False: 133]
  ------------------
  217|      0|	    snprintf(fmt, 20, "%%#%d.%de", min(w, (NB-1)), d);
  ------------------
  |  |   85|      0|#define min(a, b) (((a)<(b))?(a):(b))
  |  |  ------------------
  |  |  |  Branch (85:20): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  218|      0|	}
  219|    133|	else {
  220|    133|	    snprintf(fmt, 20, "%%%d.%de", min(w, (NB-1)), d);
  ------------------
  |  |   85|    133|#define min(a, b) (((a)<(b))?(a):(b))
  |  |  ------------------
  |  |  |  Branch (85:20): [True: 133, False: 0]
  |  |  ------------------
  ------------------
  221|    133|	}
  222|    133|	snprintf(buff, NB, fmt, x);
  ------------------
  |  |  124|    133|#define NB 1000
  ------------------
  223|    133|    }
  224|  2.49k|    else { /* e = 0 */
  225|  2.49k|	snprintf(fmt, 20, "%%%d.%df", min(w, (NB-1)), d);
  ------------------
  |  |   85|  2.49k|#define min(a, b) (((a)<(b))?(a):(b))
  |  |  ------------------
  |  |  |  Branch (85:20): [True: 2.49k, False: 0]
  |  |  ------------------
  ------------------
  226|  2.49k|	snprintf(buff, NB, fmt, x);
  ------------------
  |  |  124|  2.49k|#define NB 1000
  ------------------
  227|  2.49k|    }
  228|  2.63k|    buff[NB-1] = '\0';
  ------------------
  |  |  124|  2.63k|#define NB 1000
  ------------------
  229|       |
  230|  2.63k|    if(strcmp(dec, ".")) { /* replace "." by dec */
  ------------------
  |  Branch (230:8): [True: 0, False: 2.63k]
  ------------------
  231|      0|	int len = strwidth(dec); /* 3·14 must work */
  ------------------
  |  |  192|      0|#define strwidth(x) Rstrwid(x, (int) strlen(x), CE_NATIVE, 0)
  ------------------
  232|      0|	if(len != 1) warning(
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
  |  Branch (232:5): [True: 0, False: 0]
  ------------------
  233|      0|	    _("the decimal mark is %s than one character wide; this will become an error"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  234|      0|	    (len > 1) ? "more" : "less");
  ------------------
  |  Branch (234:6): [True: 0, False: 0]
  ------------------
  235|       |
  236|      0|	char *p, *q;
  237|      0|	for(p = buff, q = buff2; *p; p++) {
  ------------------
  |  Branch (237:27): [True: 0, False: 0]
  ------------------
  238|      0|	    if(*p == '.') for(const char *r = dec; *r; r++) *q++ = *r;
  ------------------
  |  Branch (238:9): [True: 0, False: 0]
  |  Branch (238:45): [True: 0, False: 0]
  ------------------
  239|      0|	    else *q++ = *p;
  240|      0|	}
  241|      0|	*q = '\0';
  242|      0|	out = buff2;
  243|      0|    }
  244|       |
  245|  2.63k|    return out;
  246|  2.63k|}
Rf_StringFromReal:
  311|  29.1k|{
  312|  29.1k|    int w, d, e;
  313|  29.1k|    formatReal(&x, 1, &w, &d, &e, 0);
  ------------------
  |  |   41|  29.1k|#define formatReal         Rf_formatReal
  ------------------
  314|  29.1k|    if (ISNA(x)) return NA_STRING;
  ------------------
  |  |   64|  29.1k|#define ISNA(x)	       R_IsNA(x)
  |  |  ------------------
  |  |  |  Branch (64:24): [True: 18.8k, False: 10.3k]
  |  |  ------------------
  ------------------
                  if (ISNA(x)) return NA_STRING;
  ------------------
  |  |  433|  18.8k|#define NA_STRING	R_NaString
  ------------------
  315|  10.3k|    else return mkChar(EncodeRealDrop0(x, w, d, e, OutDec));
  ------------------
  |  |  998|  10.3k|#define mkChar			Rf_mkChar
  ------------------
  316|  29.1k|}
Rstrwid:
  410|  13.5k|{
  411|  13.5k|    const char *p = str;
  412|  13.5k|    int len = 0, i;
  413|       |
  414|  13.5k|    if(ienc == CE_BYTES) { // not currently used for that encoding
  ------------------
  |  Branch (414:8): [True: 0, False: 13.5k]
  ------------------
  415|      0|	for (i = 0; i < slen; i++) {
  ------------------
  |  Branch (415:14): [True: 0, False: 0]
  ------------------
  416|      0|	    unsigned char k = str[i];
  417|      0|	    if (k >= 0x20 && k < 0x80) len += 1;
  ------------------
  |  Branch (417:10): [True: 0, False: 0]
  |  Branch (417:23): [True: 0, False: 0]
  ------------------
  418|      0|	    else len += 4;
  419|      0|	}
  420|      0|	return len;
  421|      0|    }
  422|       |    /* Future-proof: currently that is all Rstrlen calls it with,
  423|       |       and printarray has CE_NATIVE explicitly */
  424|  13.5k|    if(ienc > 2) // CE_NATIVE, CE_UTF8, CE_BYTES are supported
  ------------------
  |  Branch (424:8): [True: 0, False: 13.5k]
  ------------------
  425|      0|	warning("unsupported encoding (%d) in Rstrwid", ienc);
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
  426|  13.5k|    if(mbcslocale || ienc == CE_UTF8) {
  ------------------
  |  Branch (426:8): [True: 0, False: 13.5k]
  |  Branch (426:22): [True: 0, False: 13.5k]
  ------------------
  427|      0|	bool useUTF8 = (ienc == CE_UTF8);
  428|      0|	mbstate_t mb_st;
  429|       |
  430|      0|	if(!useUTF8)  mbs_init(&mb_st);
  ------------------
  |  | 2459|      0|#define mbs_init(x) memset(x, 0, sizeof(mbstate_t))
  ------------------
  |  Branch (430:5): [True: 0, False: 0]
  ------------------
  431|      0|	for (i = 0; i < slen; i++) {
  ------------------
  |  Branch (431:14): [True: 0, False: 0]
  ------------------
  432|      0|	    unsigned int k; /* not wint_t as it might be signed */
  433|      0|	    wchar_t wc;
  434|      0|	    int res = useUTF8 ? (int) utf8toucs(&wc, p):
  ------------------
  |  | 2014|      0|# define utf8toucs		Rf_utf8toucs
  ------------------
  |  Branch (434:16): [True: 0, False: 0]
  ------------------
  435|      0|		(int) mbrtowc(&wc, p, R_MB_CUR_MAX, &mb_st);
  436|      0|	    if(res >= 0) {
  ------------------
  |  Branch (436:9): [True: 0, False: 0]
  ------------------
  437|      0|		if (useUTF8 && IS_HIGH_SURROGATE(wc))
  ------------------
  |  |  173|      0|#define IS_HIGH_SURROGATE(wch) (((wch) >= HIGH_SURROGATE_START) && ((wch) <= HIGH_SURROGATE_END))
  |  |  ------------------
  |  |  |  |  162|      0|#define HIGH_SURROGATE_START 0xd800
  |  |  ------------------
  |  |               #define IS_HIGH_SURROGATE(wch) (((wch) >= HIGH_SURROGATE_START) && ((wch) <= HIGH_SURROGATE_END))
  |  |  ------------------
  |  |  |  |  163|      0|#define HIGH_SURROGATE_END 0xdbff
  |  |  ------------------
  |  |  |  Branch (173:33): [True: 0, False: 0]
  |  |  |  Branch (173:68): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (437:7): [True: 0, False: 0]
  ------------------
  438|      0|		    k = utf8toucs32(wc, p);
  ------------------
  |  |  177|      0|# define utf8toucs32		Rf_utf8toucs32
  ------------------
  439|      0|		else
  440|      0|		    k = wc;
  441|      0|		if(0x20 <= k && k < 0x7f && iswprint(k)) {
  ------------------
  |  Branch (441:6): [True: 0, False: 0]
  |  Branch (441:19): [True: 0, False: 0]
  |  Branch (441:31): [True: 0, False: 0]
  ------------------
  442|      0|		    switch(wc) {
  443|      0|		    case L'\\':
  ------------------
  |  Branch (443:7): [True: 0, False: 0]
  ------------------
  444|      0|			len += 2;
  445|      0|			break;
  446|      0|		    case L'\'':
  ------------------
  |  Branch (446:7): [True: 0, False: 0]
  ------------------
  447|      0|		    case L'"':
  ------------------
  |  Branch (447:7): [True: 0, False: 0]
  ------------------
  448|      0|		    case L'`':
  ------------------
  |  Branch (448:7): [True: 0, False: 0]
  ------------------
  449|      0|			len += (quote == *p) ? 2 : 1;
  ------------------
  |  Branch (449:11): [True: 0, False: 0]
  ------------------
  450|      0|			break;
  451|      0|		    default:
  ------------------
  |  Branch (451:7): [True: 0, False: 0]
  ------------------
  452|      0|			len++; /* assumes these are all width 1 */
  453|      0|			break;
  454|      0|		    }
  455|      0|		    p++;
  456|      0|		} else if (k < 0x80) {
  ------------------
  |  Branch (456:14): [True: 0, False: 0]
  ------------------
  457|      0|		    switch(wc) {
  458|      0|		    case L'\a':
  ------------------
  |  Branch (458:7): [True: 0, False: 0]
  ------------------
  459|      0|		    case L'\b':
  ------------------
  |  Branch (459:7): [True: 0, False: 0]
  ------------------
  460|      0|		    case L'\f':
  ------------------
  |  Branch (460:7): [True: 0, False: 0]
  ------------------
  461|      0|		    case L'\n':
  ------------------
  |  Branch (461:7): [True: 0, False: 0]
  ------------------
  462|      0|		    case L'\r':
  ------------------
  |  Branch (462:7): [True: 0, False: 0]
  ------------------
  463|      0|		    case L'\t':
  ------------------
  |  Branch (463:7): [True: 0, False: 0]
  ------------------
  464|      0|		    case L'\v':
  ------------------
  |  Branch (464:7): [True: 0, False: 0]
  ------------------
  465|      0|		    case L'\0':
  ------------------
  |  Branch (465:7): [True: 0, False: 0]
  ------------------
  466|      0|			len += 2; break;
  467|      0|		    default:
  ------------------
  |  Branch (467:7): [True: 0, False: 0]
  ------------------
  468|       |			/* print in octal */
  469|      0|			len += 4; break;
  470|      0|		    }
  471|      0|		    p++;
  472|      0|		} else {
  473|       |		    /* no need to worry about truncation as iswprint
  474|       |		     * and wcwidth get replaced on Windows */
  475|       |		    // conceivably an invalid \U escape could use 11 or 12
  476|      0|		    len += iswprint(k) ?
  ------------------
  |  Branch (476:14): [True: 0, False: 0]
  ------------------
  477|      0|#ifdef USE_RI18N_WIDTH
  478|      0|			Ri18n_wcwidth(k) :
  479|       |#else
  480|       |			/* this is expected to return -1 for
  481|       |			   non-printable (including unassigned)
  482|       |			   characters: that is unlikely to occur,
  483|       |			   although the system's idea of 'printing'
  484|       |			   may differ from the internal tables */
  485|       |			imax2(wcwidth((wchar_t) k), 0) :
  486|       |#endif
  487|      0|		    	(k > 0xffff ? 10 : 6);
  ------------------
  |  Branch (487:9): [True: 0, False: 0]
  ------------------
  488|      0|		    i += (res - 1);
  489|      0|		    p += res;
  490|      0|		}
  491|      0|	    } else { /* invalid char */
  492|      0|		len += 4;
  493|      0|		p++;
  494|      0|	    }
  495|      0|	}
  496|      0|    } else // not MBCS nor marked as UTF-8
  497|  67.6k|	for (i = 0; i < slen; i++) {
  ------------------
  |  Branch (497:14): [True: 54.1k, False: 13.5k]
  ------------------
  498|  54.1k|	    if((unsigned char) *p < 0x80) {
  ------------------
  |  Branch (498:9): [True: 54.1k, False: 0]
  ------------------
  499|       |		/* ASCII */
  500|  54.1k|		if(isprint((int)*p)) {
  ------------------
  |  Branch (500:6): [True: 53.8k, False: 224]
  ------------------
  501|  53.8k|		    switch(*p) {
  502|      0|		    case '\\':
  ------------------
  |  Branch (502:7): [True: 0, False: 53.8k]
  ------------------
  503|      0|			len += 2; break;
  504|      0|		    case '\'':
  ------------------
  |  Branch (504:7): [True: 0, False: 53.8k]
  ------------------
  505|      0|		    case '"':
  ------------------
  |  Branch (505:7): [True: 0, False: 53.8k]
  ------------------
  506|      0|		    case '`':
  ------------------
  |  Branch (506:7): [True: 0, False: 53.8k]
  ------------------
  507|      0|			len += (quote == *p)? 2 : 1; break;
  ------------------
  |  Branch (507:11): [True: 0, False: 0]
  ------------------
  508|  53.8k|		    default:
  ------------------
  |  Branch (508:7): [True: 53.8k, False: 0]
  ------------------
  509|  53.8k|			len++; break;
  510|  53.8k|		    }
  511|  53.8k|		} else switch(*p) {
  512|      0|		    case '\a':
  ------------------
  |  Branch (512:7): [True: 0, False: 224]
  ------------------
  513|      0|		    case '\b':
  ------------------
  |  Branch (513:7): [True: 0, False: 224]
  ------------------
  514|      0|		    case '\f':
  ------------------
  |  Branch (514:7): [True: 0, False: 224]
  ------------------
  515|    224|		    case '\n':
  ------------------
  |  Branch (515:7): [True: 224, False: 0]
  ------------------
  516|    224|		    case '\r':
  ------------------
  |  Branch (516:7): [True: 0, False: 224]
  ------------------
  517|    224|		    case '\t':
  ------------------
  |  Branch (517:7): [True: 0, False: 224]
  ------------------
  518|    224|		    case '\v':
  ------------------
  |  Branch (518:7): [True: 0, False: 224]
  ------------------
  519|    224|		    case '\0':
  ------------------
  |  Branch (519:7): [True: 0, False: 224]
  ------------------
  520|    224|			len += 2; break;
  521|      0|		    default:
  ------------------
  |  Branch (521:7): [True: 0, False: 224]
  ------------------
  522|       |			/* print in octal */
  523|      0|			len += 4; break;
  524|    224|		    }
  525|  54.1k|		p++;
  526|  54.1k|	    } else { /* 8 bit char */
  527|       |#ifdef Win32 /* It seems Windows does not know what is printable! */
  528|       |		len++;
  529|       |#else
  530|      0|		len += isprint((int)*p) ? 1 : 4;
  ------------------
  |  Branch (530:10): [True: 0, False: 0]
  ------------------
  531|      0|#endif
  532|      0|		p++;
  533|      0|	    }
  534|  54.1k|	}
  535|       |
  536|  13.5k|    return len;
  537|  13.5k|}
Rstrlen:
  542|  13.5k|{
  543|  13.5k|    cetype_t ienc = getCharCE(s);
  ------------------
  |  |  925|  13.5k|#define getCharCE		Rf_getCharCE
  ------------------
  544|  13.5k|    if (ienc == CE_UTF8 || ienc == CE_BYTES)
  ------------------
  |  Branch (544:9): [True: 0, False: 13.5k]
  |  Branch (544:28): [True: 0, False: 13.5k]
  ------------------
  545|      0|	return Rstrwid(CHAR(s), LENGTH(s), ienc, quote);
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  546|  13.5k|    const void *vmax = vmaxget();
  547|  13.5k|    const char *p = translateChar(s);
  ------------------
  |  | 1037|  13.5k|#define translateChar		Rf_translateChar
  ------------------
  548|  13.5k|    int len = Rstrwid(p, (int)strlen(p), CE_NATIVE, quote);
  549|  13.5k|    vmaxset(vmax);
  550|  13.5k|    return len;
  551|  13.5k|}
Rf_EncodeString:
  565|    406|{
  566|    406|    int i, cnt;
  567|    406|    const char *p; char *q, buf[13];
  568|    406|    cetype_t ienc = getCharCE(s);
  ------------------
  |  |  925|    406|#define getCharCE		Rf_getCharCE
  ------------------
  569|    406|    bool useUTF8 = w < 0;
  570|    406|    const void *vmax = vmaxget();
  571|       |
  572|    406|    if (w < 0) w = w + 1000000;
  ------------------
  |  Branch (572:9): [True: 0, False: 406]
  ------------------
  573|       |
  574|       |    /* We have to do something like this as the result is returned, and
  575|       |       passed on by EncodeElement -- so no way could be end user be
  576|       |       responsible for freeing it.  However, this is not thread-safe. */
  577|       |
  578|    406|    static R_StringBuffer gBuffer = {NULL, 0, BUFSIZE};
  ------------------
  |  |   88|    406|#define BUFSIZE 8192  /* used by Rprintf etc */
  ------------------
  579|    406|    R_StringBuffer *buffer = &gBuffer;
  580|       |
  581|    406|    if (s == NA_STRING) {
  ------------------
  |  |  433|    406|#define NA_STRING	R_NaString
  ------------------
  |  Branch (581:9): [True: 0, False: 406]
  ------------------
  582|      0|	p = quote ? CHAR(R_print.na_string) : CHAR(R_print.na_string_noquote);
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
              	p = quote ? CHAR(R_print.na_string) : CHAR(R_print.na_string_noquote);
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (582:6): [True: 0, False: 0]
  ------------------
  583|      0|	cnt = (int)(quote ? strlen(CHAR(R_print.na_string)) :
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (583:14): [True: 0, False: 0]
  ------------------
  584|      0|		strlen(CHAR(R_print.na_string_noquote)));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  585|      0|	i = (quote ? Rstrlen(R_print.na_string, 0) :
  ------------------
  |  Branch (585:7): [True: 0, False: 0]
  ------------------
  586|      0|		Rstrlen(R_print.na_string_noquote, 0));
  587|      0|	quote = 0;
  588|    406|    } else {
  589|    406|	if(IS_BYTES(s)) {
  ------------------
  |  Branch (589:5): [True: 0, False: 406]
  ------------------
  590|      0|	    ienc = CE_NATIVE;
  591|       |#ifdef Win32
  592|       |	    if (WinUTF8out)
  593|       |		ienc = CE_UTF8;
  594|       |#endif
  595|      0|	    p = CHAR(s);
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  596|      0|	    cnt = (int) strlen(p);
  597|      0|	    const char *q;
  598|      0|	    char *pp = R_alloc(4*cnt+1, 1), *qq = pp, buf[5];
  599|      0|	    for (q = p; *q; q++) {
  ------------------
  |  Branch (599:18): [True: 0, False: 0]
  ------------------
  600|      0|		unsigned char k = (unsigned char) *q;
  601|      0|		if (k >= 0x20 && k < 0x80) {
  ------------------
  |  Branch (601:7): [True: 0, False: 0]
  |  Branch (601:20): [True: 0, False: 0]
  ------------------
  602|      0|		    *qq++ = *q;
  603|      0|		    if (quote && *q == '"') cnt++;
  ------------------
  |  Branch (603:11): [True: 0, False: 0]
  |  Branch (603:20): [True: 0, False: 0]
  ------------------
  604|      0|		} else {
  605|      0|		    snprintf(buf, 5, "\\x%02x", k);
  606|      0|		    for(int j = 0; j < 4; j++) *qq++ = buf[j];
  ------------------
  |  Branch (606:22): [True: 0, False: 0]
  ------------------
  607|      0|		    cnt += 3;
  608|      0|		}
  609|      0|	    }
  610|      0|	    *qq = '\0';
  611|      0|	    p = pp;
  612|      0|	    i = cnt;
  613|       |#ifdef Win32
  614|       |	} else if(WinUTF8out) {
  615|       |	    if(ienc == CE_UTF8) {
  616|       |		p = CHAR(s);
  617|       |		i = Rstrlen(s, quote);
  618|       |		cnt = LENGTH(s);
  619|       |	    } else {
  620|       |		p = translateCharUTF8(s);
  621|       |		if(p == CHAR(s)) {
  622|       |		    i = Rstrlen(s, quote);
  623|       |		    cnt = LENGTH(s);
  624|       |		} else {
  625|       |		    cnt = (int) strlen(p);
  626|       |		    i = Rstrwid(p, cnt, CE_UTF8, quote);
  627|       |		}
  628|       |		ienc = CE_UTF8;
  629|       |	    }
  630|       |#endif
  631|    406|	} else {
  632|    406|	    if (useUTF8 && ienc == CE_UTF8) {
  ------------------
  |  Branch (632:10): [True: 0, False: 406]
  |  Branch (632:21): [True: 0, False: 0]
  ------------------
  633|      0|		p = CHAR(s);
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  634|      0|		i = Rstrlen(s, quote);
  635|      0|		cnt = LENGTH(s);
  636|    406|	    } else {
  637|    406|		ienc = CE_NATIVE;
  638|    406|		p = translateChar(s);
  ------------------
  |  | 1037|    406|#define translateChar		Rf_translateChar
  ------------------
  639|    406|		if(p == CHAR(s)) {
  ------------------
  |  |  203|    406|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (639:6): [True: 406, False: 0]
  ------------------
  640|    406|		    i = Rstrlen(s, quote);
  641|    406|		    cnt = LENGTH(s);
  642|    406|		} else {
  643|      0|		    cnt = (int) strlen(p);
  644|      0|		    i = Rstrwid(p, cnt, CE_NATIVE, quote);
  645|      0|		}
  646|    406|	    }
  647|    406|	}
  648|    406|    }
  649|       |
  650|       |    /* We need enough space for the encoded string, including escapes.
  651|       |       Octal encoding turns one byte into four.
  652|       |       \u encoding can turn a multibyte into six or ten,
  653|       |       but it turns 2/3 into 6, and 4 (and perhaps 5/6) into 10.
  654|       |       Let's be wasteful here (the worst case appears to be an MBCS with
  655|       |       one byte for an upper-plane Unicode point output as ten bytes,
  656|       |       but I doubt that such an MBCS exists: two bytes is plausible).
  657|       |
  658|       |       +2 allows for quotes, +6 for UTF_8 escapes.
  659|       |     */
  660|    406|    if(5.*cnt + 8 > (double) SIZE_MAX)
  ------------------
  |  Branch (660:8): [True: 0, False: 406]
  ------------------
  661|      0|	error(_("too large string (nchar=%d) => 5*nchar + 8 > SIZE_MAX"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("too large string (nchar=%d) => 5*nchar + 8 > SIZE_MAX"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  662|      0|	      cnt);
  663|    406|    size_t q_len = 5*(size_t)cnt + 8;
  664|    406|    if(q_len < w) q_len = (size_t) w;
  ------------------
  |  Branch (664:8): [True: 0, False: 406]
  ------------------
  665|    406|    q = R_AllocStringBuffer(q_len, buffer);
  666|       |
  667|    406|    int b = w - i - (quote ? 2 : 0); /* total amount of padding */
  ------------------
  |  Branch (667:22): [True: 406, False: 0]
  ------------------
  668|    406|    if(justify == Rprt_adj_none) b = 0;
  ------------------
  |  Branch (668:8): [True: 0, False: 406]
  ------------------
  669|    406|    if(b > 0 && justify != Rprt_adj_left) {
  ------------------
  |  Branch (669:8): [True: 0, False: 406]
  |  Branch (669:17): [True: 0, False: 0]
  ------------------
  670|      0|	int b0 = (justify == Rprt_adj_centre) ? b/2 : b;
  ------------------
  |  Branch (670:11): [True: 0, False: 0]
  ------------------
  671|      0|	for(i = 0 ; i < b0 ; i++) *q++ = ' ';
  ------------------
  |  Branch (671:14): [True: 0, False: 0]
  ------------------
  672|      0|	b -= b0;
  673|      0|    }
  674|    406|    if(quote) *q++ = (char) quote;
  ------------------
  |  Branch (674:8): [True: 406, False: 0]
  ------------------
  675|    406|    if(mbcslocale || ienc == CE_UTF8) {
  ------------------
  |  Branch (675:8): [True: 0, False: 406]
  |  Branch (675:22): [True: 0, False: 406]
  ------------------
  676|      0|	bool useUTF8 = (ienc == CE_UTF8);
  677|      0|	bool wchar_is_ucs_or_utf16 = TRUE;
  678|      0|	mbstate_t mb_st;
  679|       |#ifndef __STDC_ISO_10646__
  680|       |	bool Unicode_warning = FALSE;
  681|       |#endif
  682|       |# if !defined (__STDC_ISO_10646__) && !defined (Win32)
  683|       |	wchar_is_ucs_or_utf16 = FALSE;
  684|       |# endif
  685|      0|	if(!useUTF8)  mbs_init(&mb_st);
  ------------------
  |  | 2459|      0|#define mbs_init(x) memset(x, 0, sizeof(mbstate_t))
  ------------------
  |  Branch (685:5): [True: 0, False: 0]
  ------------------
  686|       |#ifdef Win32
  687|       |	else if(WinUTF8out) { memcpy(q, UTF8in, 3); q += 3; }
  688|       |#endif
  689|      0|	for (i = 0; i < cnt; i++) {
  ------------------
  |  Branch (689:14): [True: 0, False: 0]
  ------------------
  690|      0|	    wchar_t wc;
  691|      0|	    int res = (int)(useUTF8 ? utf8toucs(&wc, p):
  ------------------
  |  | 2014|      0|# define utf8toucs		Rf_utf8toucs
  ------------------
  |  Branch (691:22): [True: 0, False: 0]
  ------------------
  692|      0|			    mbrtowc(&wc, p, R_MB_CUR_MAX, &mb_st));
  693|       |	    /* res = 0 is a terminator
  694|       |	     * some mbrtowc implementations return wc past end of UCS */
  695|      0|	    if(res >= 0 &&
  ------------------
  |  Branch (695:9): [True: 0, False: 0]
  ------------------
  696|      0|	       ((0 <= wc && (unsigned long)wc <= 0x10FFFF) || !wchar_is_ucs_or_utf16)) {
  ------------------
  |  Branch (696:11): [True: 0, False: 0]
  |  Branch (696:22): [True: 0, False: 0]
  |  Branch (696:56): [True: 0, False: 0]
  ------------------
  697|      0|		unsigned int k; /* not wint_t as it might be signed */
  698|      0|		if (useUTF8 && IS_HIGH_SURROGATE(wc))
  ------------------
  |  |  173|      0|#define IS_HIGH_SURROGATE(wch) (((wch) >= HIGH_SURROGATE_START) && ((wch) <= HIGH_SURROGATE_END))
  |  |  ------------------
  |  |  |  |  162|      0|#define HIGH_SURROGATE_START 0xd800
  |  |  ------------------
  |  |               #define IS_HIGH_SURROGATE(wch) (((wch) >= HIGH_SURROGATE_START) && ((wch) <= HIGH_SURROGATE_END))
  |  |  ------------------
  |  |  |  |  163|      0|#define HIGH_SURROGATE_END 0xdbff
  |  |  ------------------
  |  |  |  Branch (173:33): [True: 0, False: 0]
  |  |  |  Branch (173:68): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (698:7): [True: 0, False: 0]
  ------------------
  699|      0|		    k = utf8toucs32(wc, p);
  ------------------
  |  |  177|      0|# define utf8toucs32		Rf_utf8toucs32
  ------------------
  700|      0|		else
  701|      0|		    k = wc;
  702|       |		/* To be portable, treat \0 explicitly */
  703|      0|		if(res == 0) {k = 0; wc = L'\0';}
  ------------------
  |  Branch (703:6): [True: 0, False: 0]
  ------------------
  704|      0|		if(0x20 <= k && k < 0x7f && iswprint(k)) {
  ------------------
  |  Branch (704:6): [True: 0, False: 0]
  |  Branch (704:19): [True: 0, False: 0]
  |  Branch (704:31): [True: 0, False: 0]
  ------------------
  705|      0|		    switch(wc) {
  706|      0|		    case L'\\': *q++ = '\\'; *q++ = '\\'; p++; break;
  ------------------
  |  Branch (706:7): [True: 0, False: 0]
  ------------------
  707|      0|		    case L'\'':
  ------------------
  |  Branch (707:7): [True: 0, False: 0]
  ------------------
  708|      0|		    case L'"':
  ------------------
  |  Branch (708:7): [True: 0, False: 0]
  ------------------
  709|      0|		    case L'`':
  ------------------
  |  Branch (709:7): [True: 0, False: 0]
  ------------------
  710|      0|			{
  711|      0|			    if(quote == *p)  *q++ = '\\';
  ------------------
  |  Branch (711:11): [True: 0, False: 0]
  ------------------
  712|      0|			    *q++ = *p++;
  713|      0|			    break;
  714|      0|			}
  715|      0|		    default:
  ------------------
  |  Branch (715:7): [True: 0, False: 0]
  ------------------
  716|      0|			for(int j = 0; j < res; j++) *q++ = *p++;
  ------------------
  |  Branch (716:19): [True: 0, False: 0]
  ------------------
  717|      0|			break;
  718|      0|		    }
  719|      0|		} else if (k < 0x80) {
  ------------------
  |  Branch (719:14): [True: 0, False: 0]
  ------------------
  720|       |		    /* ANSI Escapes */
  721|      0|		    switch(wc) {
  722|      0|		    case L'\a': *q++ = '\\'; *q++ = 'a'; break;
  ------------------
  |  Branch (722:7): [True: 0, False: 0]
  ------------------
  723|      0|		    case L'\b': *q++ = '\\'; *q++ = 'b'; break;
  ------------------
  |  Branch (723:7): [True: 0, False: 0]
  ------------------
  724|      0|		    case L'\f': *q++ = '\\'; *q++ = 'f'; break;
  ------------------
  |  Branch (724:7): [True: 0, False: 0]
  ------------------
  725|      0|		    case L'\n': *q++ = '\\'; *q++ = 'n'; break;
  ------------------
  |  Branch (725:7): [True: 0, False: 0]
  ------------------
  726|      0|		    case L'\r': *q++ = '\\'; *q++ = 'r'; break;
  ------------------
  |  Branch (726:7): [True: 0, False: 0]
  ------------------
  727|      0|		    case L'\t': *q++ = '\\'; *q++ = 't'; break;
  ------------------
  |  Branch (727:7): [True: 0, False: 0]
  ------------------
  728|      0|		    case L'\v': *q++ = '\\'; *q++ = 'v'; break;
  ------------------
  |  Branch (728:7): [True: 0, False: 0]
  ------------------
  729|      0|		    case L'\0': *q++ = '\\'; *q++ = '0'; break;
  ------------------
  |  Branch (729:7): [True: 0, False: 0]
  ------------------
  730|       |
  731|      0|		    default:
  ------------------
  |  Branch (731:7): [True: 0, False: 0]
  ------------------
  732|       |			/* print in octal */
  733|       |			// gcc 7 requires cast here
  734|      0|			snprintf(buf, 5, "\\%03o", (unsigned char)k);
  735|      0|			for(int j = 0; j < 4; j++) *q++ = buf[j];
  ------------------
  |  Branch (735:19): [True: 0, False: 0]
  ------------------
  736|      0|			break;
  737|      0|		    }
  738|      0|		    p++;
  739|      0|		} else {
  740|       |		    /* wc could be an unpaired surrogate and this does
  741|       |		     * not do the same as Rstrwid */
  742|       |		    /* no need to worry about truncation as iswprint
  743|       |		     * gets replaced on Windows */
  744|      0|		    if(iswprint(k)) {
  ------------------
  |  Branch (744:10): [True: 0, False: 0]
  ------------------
  745|       |			/* The problem here is that wc may be
  746|       |			   printable according to the Unicode tables,
  747|       |			   but it may not be printable on the output
  748|       |			   device concerned.
  749|       |
  750|       |			   And the system iswprintf may not correspond
  751|       |			   to the latest Unicode tables.
  752|       |			*/
  753|      0|			for(int j = 0; j < res; j++) *q++ = *p++;
  ------------------
  |  Branch (753:19): [True: 0, False: 0]
  ------------------
  754|      0|		    } else {
  755|       |# if !defined (__STDC_ISO_10646__) && !defined (Win32)
  756|       |			Unicode_warning = TRUE;
  757|       |# endif
  758|      0|			if(k > 0xffff)
  ------------------
  |  Branch (758:7): [True: 0, False: 0]
  ------------------
  759|      0|			    snprintf(buf, 13, "\\U{%06x}", k);
  760|      0|			else
  761|      0|			    snprintf(buf, 11, "\\u%04x", k);
  762|      0|			int j = (int) strlen(buf);
  763|      0|			memcpy(q, buf, j);
  764|      0|			q += j;
  765|      0|			p += res;
  766|      0|		    }
  767|      0|		    i += (res - 1);
  768|      0|		}
  769|      0|	    } else { /* invalid char */
  770|      0|		snprintf(q, 5, "\\x%02x", *((unsigned char *)p));
  771|      0|		q += 4; p++;
  772|      0|	    }
  773|      0|	}
  774|       |#ifndef __STDC_ISO_10646__
  775|       |	if(Unicode_warning)
  776|       |	    warning(_("it is not known that wchar_t is Unicode on this platform"));
  777|       |#endif
  778|       |
  779|      0|    } else
  780|  8.31k|	for (i = 0; i < cnt; i++) {
  ------------------
  |  Branch (780:14): [True: 7.90k, False: 406]
  ------------------
  781|       |
  782|       |	    /* ASCII */
  783|  7.90k|	    if((unsigned char) *p < 0x80) {
  ------------------
  |  Branch (783:9): [True: 7.90k, False: 0]
  ------------------
  784|  7.90k|		if(*p != '\t' && isprint((int)*p)) { /* Windows has \t as printable */
  ------------------
  |  Branch (784:6): [True: 7.90k, False: 0]
  |  Branch (784:20): [True: 7.79k, False: 112]
  ------------------
  785|  7.79k|		    switch(*p) {
  786|      0|		    case '\\': *q++ = '\\'; *q++ = '\\'; break;
  ------------------
  |  Branch (786:7): [True: 0, False: 7.79k]
  ------------------
  787|      0|		    case '\'':
  ------------------
  |  Branch (787:7): [True: 0, False: 7.79k]
  ------------------
  788|      0|		    case '"':
  ------------------
  |  Branch (788:7): [True: 0, False: 7.79k]
  ------------------
  789|      0|		    case '`':
  ------------------
  |  Branch (789:7): [True: 0, False: 7.79k]
  ------------------
  790|      0|		    {
  791|      0|			if(quote == *p)  *q++ = '\\';
  ------------------
  |  Branch (791:7): [True: 0, False: 0]
  ------------------
  792|      0|			*q++ = *p;
  793|      0|			break;
  794|      0|		    }
  795|  7.79k|		    default: *q++ = *p; break;
  ------------------
  |  Branch (795:7): [True: 7.79k, False: 0]
  ------------------
  796|  7.79k|		    }
  797|  7.79k|		} else switch(*p) {
  798|       |			/* ANSI Escapes */
  799|      0|		    case '\a': *q++ = '\\'; *q++ = 'a'; break;
  ------------------
  |  Branch (799:7): [True: 0, False: 112]
  ------------------
  800|      0|		    case '\b': *q++ = '\\'; *q++ = 'b'; break;
  ------------------
  |  Branch (800:7): [True: 0, False: 112]
  ------------------
  801|      0|		    case '\f': *q++ = '\\'; *q++ = 'f'; break;
  ------------------
  |  Branch (801:7): [True: 0, False: 112]
  ------------------
  802|    112|		    case '\n': *q++ = '\\'; *q++ = 'n'; break;
  ------------------
  |  Branch (802:7): [True: 112, False: 0]
  ------------------
  803|      0|		    case '\r': *q++ = '\\'; *q++ = 'r'; break;
  ------------------
  |  Branch (803:7): [True: 0, False: 112]
  ------------------
  804|      0|		    case '\t': *q++ = '\\'; *q++ = 't'; break;
  ------------------
  |  Branch (804:7): [True: 0, False: 112]
  ------------------
  805|      0|		    case '\v': *q++ = '\\'; *q++ = 'v'; break;
  ------------------
  |  Branch (805:7): [True: 0, False: 112]
  ------------------
  806|      0|		    case '\0': *q++ = '\\'; *q++ = '0'; break;
  ------------------
  |  Branch (806:7): [True: 0, False: 112]
  ------------------
  807|       |
  808|      0|		    default:
  ------------------
  |  Branch (808:7): [True: 0, False: 112]
  ------------------
  809|       |			/* print in octal */
  810|      0|			snprintf(buf, 5, "\\%03o", (unsigned char) *p);
  811|      0|			for(int j = 0; j < 4; j++) *q++ = buf[j];
  ------------------
  |  Branch (811:19): [True: 0, False: 0]
  ------------------
  812|      0|			break;
  813|    112|		    }
  814|  7.90k|		p++;
  815|  7.90k|	    } else {  /* 8 bit char */
  816|      0|		if(!isprint((int)*p & 0xff)) {
  ------------------
  |  Branch (816:6): [True: 0, False: 0]
  ------------------
  817|       |		    /* print in octal */
  818|      0|		    snprintf(buf, 5, "\\%03o", (unsigned char) *p);
  819|      0|		    for(int j = 0; j < 4; j++) *q++ = buf[j];
  ------------------
  |  Branch (819:22): [True: 0, False: 0]
  ------------------
  820|      0|		    p++;
  821|      0|		} else *q++ = *p++;
  822|      0|	    }
  823|  7.90k|	}
  824|       |
  825|       |#ifdef Win32
  826|       |    if(WinUTF8out && ienc == CE_UTF8)  { memcpy(q, UTF8out, 3); q += 3; }
  827|       |#endif
  828|    406|    if(quote) *q++ = (char) quote;
  ------------------
  |  Branch (828:8): [True: 406, False: 0]
  ------------------
  829|    406|    if(b > 0 && justify != Rprt_adj_right) {
  ------------------
  |  Branch (829:8): [True: 0, False: 406]
  |  Branch (829:17): [True: 0, False: 0]
  ------------------
  830|      0|	for(i = 0 ; i < b ; i++) *q++ = ' ';
  ------------------
  |  Branch (830:14): [True: 0, False: 0]
  ------------------
  831|      0|    }
  832|    406|    *q = '\0';
  833|       |
  834|    406|    vmaxset(vmax);
  835|    406|    return buffer->data;
  836|    406|}
Rf_EncodeElement:
  843|  4.80k|{
  844|  4.80k|    char dec[2];
  845|  4.80k|    dec[0] = cdec; dec[1] = '\0';
  846|  4.80k|    return EncodeElement0(x, indx, quote, dec);
  ------------------
  |  |   35|  4.80k|#define EncodeElement0      Rf_EncodeElement0
  ------------------
  847|  4.80k|}
Rf_EncodeElement0:
  850|  4.80k|{
  851|  4.80k|    int w, d, e, wi, di, ei;
  852|  4.80k|    const char *res;
  853|       |
  854|  4.80k|    switch(TYPEOF(x)) {
  855|  1.06k|    case LGLSXP:
  ------------------
  |  |  121|  1.06k|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (855:5): [True: 1.06k, False: 3.74k]
  ------------------
  856|  1.06k|	formatLogical(&LOGICAL_RO(x)[indx], 1, &w);
  ------------------
  |  |   39|  1.06k|#define formatLogical      Rf_formatLogical
  ------------------
  857|  1.06k|	res = EncodeLogical(LOGICAL_RO(x)[indx], w);
  ------------------
  |  |   43|  1.06k|#define EncodeLogical      Rf_EncodeLogical
  ------------------
  858|  1.06k|	break;
  859|    706|    case INTSXP:
  ------------------
  |  |  123|    706|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (859:5): [True: 706, False: 4.10k]
  ------------------
  860|    706|	formatInteger(&INTEGER_RO(x)[indx], 1, &w);
  ------------------
  |  |   40|    706|#define formatInteger      Rf_formatInteger
  ------------------
  861|    706|	res = EncodeInteger(INTEGER_RO(x)[indx], w);
  ------------------
  |  |   44|    706|#define EncodeInteger      Rf_EncodeInteger
  ------------------
  862|    706|	break;
  863|  2.63k|    case REALSXP:
  ------------------
  |  |  124|  2.63k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (863:5): [True: 2.63k, False: 2.17k]
  ------------------
  864|  2.63k|	formatReal(&REAL_RO(x)[indx], 1, &w, &d, &e, 0);
  ------------------
  |  |   41|  2.63k|#define formatReal         Rf_formatReal
  ------------------
  865|  2.63k|	res = EncodeReal0(REAL_RO(x)[indx], w, d, e, dec);
  ------------------
  |  |   46|  2.63k|#define EncodeReal0        Rf_EncodeReal0
  ------------------
  866|  2.63k|	break;
  867|    406|    case STRSXP:
  ------------------
  |  |  126|    406|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (867:5): [True: 406, False: 4.40k]
  ------------------
  868|    406|	formatString(&STRING_PTR_RO(x)[indx], 1, &w, quote);
  ------------------
  |  |   31|    406|#define formatString        Rf_formatString
  ------------------
  869|    406|	res = EncodeString(STRING_ELT(x, indx), w, quote, Rprt_adj_left);
  ------------------
  |  | 1898|    406|# define EncodeString           Rf_EncodeString
  ------------------
  870|    406|	break;
  871|      0|    case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (871:5): [True: 0, False: 4.80k]
  ------------------
  872|      0|	formatComplex(&COMPLEX_RO(x)[indx], 1, &w, &d, &e, &wi, &di, &ei, 0);
  ------------------
  |  |   42|      0|#define formatComplex      Rf_formatComplex
  ------------------
  873|      0|	res = EncodeComplex(COMPLEX_RO(x)[indx], w, d, e, wi, di, ei, dec);
  ------------------
  |  |   47|      0|#define EncodeComplex      Rf_EncodeComplex
  ------------------
  874|      0|	break;
  875|      0|    case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (875:5): [True: 0, False: 4.80k]
  ------------------
  876|      0|	res = EncodeRaw(RAW_RO(x)[indx], "");
  ------------------
  |  | 1896|      0|# define EncodeRaw              Rf_EncodeRaw
  ------------------
  877|      0|	break;
  878|      0|    default:
  ------------------
  |  Branch (878:5): [True: 0, False: 4.80k]
  ------------------
  879|      0|	res = NULL; /* -Wall */
  880|      0|	UNIMPLEMENTED_TYPE("EncodeElement", x);
  881|  4.80k|    }
  882|  4.80k|    return res;
  883|  4.80k|}
Rf_IndexWidth:
 1085|  3.43k|{
 1086|  3.43k|    return (int) (log10((double)n + 0.5) + 1);
 1087|  3.43k|}
printutils.c:EncodeRealDrop0:
  251|  10.3k|{
  252|  10.3k|    static char buff[NB], buff2[2*NB];
  253|  10.3k|    char fmt[20], *out = buff;
  254|       |
  255|       |    /* IEEE allows signed zeros (yuck!) */
  256|  10.3k|    if (x == 0.0) x = 0.0;
  ------------------
  |  Branch (256:9): [True: 404, False: 9.91k]
  ------------------
  257|  10.3k|    if (!R_FINITE(x)) {
  ------------------
  |  |   82|  10.3k|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (257:9): [True: 760, False: 9.55k]
  ------------------
  258|    760|	if(ISNA(x))       snprintf(buff, NB, "%*s", min(w, (NB-1)), CHAR(R_print.na_string));
  ------------------
  |  |   64|    760|#define ISNA(x)	       R_IsNA(x)
  |  |  ------------------
  |  |  |  Branch (64:24): [True: 0, False: 760]
  |  |  ------------------
  ------------------
              	if(ISNA(x))       snprintf(buff, NB, "%*s", min(w, (NB-1)), CHAR(R_print.na_string));
  ------------------
  |  |  124|      0|#define NB 1000
  ------------------
              	if(ISNA(x))       snprintf(buff, NB, "%*s", min(w, (NB-1)), CHAR(R_print.na_string));
  ------------------
  |  |   85|      0|#define min(a, b) (((a)<(b))?(a):(b))
  |  |  ------------------
  |  |  |  Branch (85:20): [True: 0, False: 0]
  |  |  ------------------
  ------------------
              	if(ISNA(x))       snprintf(buff, NB, "%*s", min(w, (NB-1)), CHAR(R_print.na_string));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  259|    760|	else if(ISNAN(x)) snprintf(buff, NB, "%*s", min(w, (NB-1)), "NaN");
  ------------------
  |  |   76|    760|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 69, False: 691]
  |  |  ------------------
  ------------------
              	else if(ISNAN(x)) snprintf(buff, NB, "%*s", min(w, (NB-1)), "NaN");
  ------------------
  |  |  124|     69|#define NB 1000
  ------------------
              	else if(ISNAN(x)) snprintf(buff, NB, "%*s", min(w, (NB-1)), "NaN");
  ------------------
  |  |   85|     69|#define min(a, b) (((a)<(b))?(a):(b))
  |  |  ------------------
  |  |  |  Branch (85:20): [True: 69, False: 0]
  |  |  ------------------
  ------------------
  260|    691|	else if(x > 0)    snprintf(buff, NB, "%*s", min(w, (NB-1)), "Inf");
  ------------------
  |  |  124|    330|#define NB 1000
  ------------------
              	else if(x > 0)    snprintf(buff, NB, "%*s", min(w, (NB-1)), "Inf");
  ------------------
  |  |   85|    330|#define min(a, b) (((a)<(b))?(a):(b))
  |  |  ------------------
  |  |  |  Branch (85:20): [True: 330, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (260:10): [True: 330, False: 361]
  ------------------
  261|    361|	else              snprintf(buff, NB, "%*s", min(w, (NB-1)), "-Inf");
  ------------------
  |  |  124|    361|#define NB 1000
  ------------------
              	else              snprintf(buff, NB, "%*s", min(w, (NB-1)), "-Inf");
  ------------------
  |  |   85|    361|#define min(a, b) (((a)<(b))?(a):(b))
  |  |  ------------------
  |  |  |  Branch (85:20): [True: 361, False: 0]
  |  |  ------------------
  ------------------
  262|    760|    }
  263|  9.55k|    else if (e) {
  ------------------
  |  Branch (263:14): [True: 2.25k, False: 7.29k]
  ------------------
  264|  2.25k|	if(d) {
  ------------------
  |  Branch (264:5): [True: 581, False: 1.67k]
  ------------------
  265|    581|	    snprintf(fmt, 20, "%%#%d.%de", min(w, (NB-1)), d);
  ------------------
  |  |   85|    581|#define min(a, b) (((a)<(b))?(a):(b))
  |  |  ------------------
  |  |  |  Branch (85:20): [True: 581, False: 0]
  |  |  ------------------
  ------------------
  266|    581|	}
  267|  1.67k|	else {
  268|  1.67k|	    snprintf(fmt, 20, "%%%d.%de", min(w, (NB-1)), d);
  ------------------
  |  |   85|  1.67k|#define min(a, b) (((a)<(b))?(a):(b))
  |  |  ------------------
  |  |  |  Branch (85:20): [True: 1.67k, False: 0]
  |  |  ------------------
  ------------------
  269|  1.67k|	}
  270|  2.25k|	snprintf(buff, NB, fmt, x);
  ------------------
  |  |  124|  2.25k|#define NB 1000
  ------------------
  271|  2.25k|    }
  272|  7.29k|    else { /* e = 0 */
  273|  7.29k|	snprintf(fmt, 20, "%%%d.%df", min(w, (NB-1)), d);
  ------------------
  |  |   85|  7.29k|#define min(a, b) (((a)<(b))?(a):(b))
  |  |  ------------------
  |  |  |  Branch (85:20): [True: 7.29k, False: 0]
  |  |  ------------------
  ------------------
  274|  7.29k|	snprintf(buff, NB, fmt, x);
  ------------------
  |  |  124|  7.29k|#define NB 1000
  ------------------
  275|  7.29k|    }
  276|  10.3k|    buff[NB-1] = '\0';
  ------------------
  |  |  124|  10.3k|#define NB 1000
  ------------------
  277|       |
  278|       |    // Drop trailing zeroes
  279|  48.1k|    for (char *p = buff; *p; p++) {
  ------------------
  |  Branch (279:26): [True: 39.0k, False: 9.10k]
  ------------------
  280|  39.0k|	if(*p == '.') {
  ------------------
  |  Branch (280:5): [True: 1.21k, False: 37.8k]
  ------------------
  281|  1.21k|	    char *replace = p++;
  282|  12.1k|	    while ('0' <= *p  &&  *p <= '9')
  ------------------
  |  Branch (282:13): [True: 11.5k, False: 630]
  |  Branch (282:28): [True: 10.9k, False: 581]
  ------------------
  283|  10.9k|		if(*(p++) != '0')
  ------------------
  |  Branch (283:6): [True: 9.71k, False: 1.24k]
  ------------------
  284|  9.71k|		    replace = p;
  285|  1.21k|	    if(replace != p)
  ------------------
  |  Branch (285:9): [True: 0, False: 1.21k]
  ------------------
  286|      0|		while((*(replace++) = *(p++)))
  ------------------
  |  Branch (286:9): [True: 0, False: 0]
  ------------------
  287|      0|		    ;
  288|  1.21k|	    break;
  289|  1.21k|	}
  290|  39.0k|    }
  291|       |
  292|  10.3k|    if(strcmp(dec, ".")) { /* replace "." by dec */
  ------------------
  |  Branch (292:8): [True: 0, False: 10.3k]
  ------------------
  293|      0|	int len = strwidth(dec); /* 3·14 must work */
  ------------------
  |  |  192|      0|#define strwidth(x) Rstrwid(x, (int) strlen(x), CE_NATIVE, 0)
  ------------------
  294|      0|	if(len != 1) warning(
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
  |  Branch (294:5): [True: 0, False: 0]
  ------------------
  295|      0|	    _("the decimal mark is %s than one character wide; this will become an error"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  296|      0|	    (len > 1) ? "more" : "less");
  ------------------
  |  Branch (296:6): [True: 0, False: 0]
  ------------------
  297|       |
  298|      0|	char *p, *q;
  299|      0|	for(p = buff, q = buff2; *p; p++) {
  ------------------
  |  Branch (299:27): [True: 0, False: 0]
  ------------------
  300|      0|	    if(*p == '.') for(const char *r = dec; *r; r++) *q++ = *r;
  ------------------
  |  Branch (300:9): [True: 0, False: 0]
  |  Branch (300:45): [True: 0, False: 0]
  ------------------
  301|      0|	    else *q++ = *p;
  302|      0|	}
  303|      0|	*q = '\0';
  304|      0|	out = buff2;
  305|      0|    }
  306|       |
  307|  10.3k|    return out;
  308|  10.3k|}

do_radixsort:
 1547|      2|{
 1548|      2|    int n = -1, narg = 0, ngrp, tmp, *osub, thisgrpn;
 1549|      2|    R_xlen_t nl = n;
 1550|      2|    bool isSorted = true, retGrp;
 1551|      2|    void *xd;
 1552|      2|    int *o = NULL;
 1553|       |
 1554|       |    /* ML: FIXME: Here are just two of the dangerous assumptions here */
 1555|      2|    if (sizeof(int) != 4) {
  ------------------
  |  Branch (1555:9): [Folded, False: 2]
  ------------------
 1556|      0|        error("radix sort assumes sizeof(int) == 4");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 1557|      0|    }
 1558|      2|    if (sizeof(double) != 8) {
  ------------------
  |  Branch (1558:9): [Folded, False: 2]
  ------------------
 1559|      0|        error("radix sort assumes sizeof(double) == 8");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 1560|      0|    }
 1561|       |    
 1562|      2|    nalast = (asLogical(CAR(args)) == NA_LOGICAL) ? 0 :
  ------------------
  |  |  886|      2|#define asLogical		Rf_asLogical
  ------------------
                  nalast = (asLogical(CAR(args)) == NA_LOGICAL) ? 0 :
  ------------------
  |  |   55|      2|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (1562:14): [True: 0, False: 2]
  ------------------
 1563|      2|	(asLogical(CAR(args)) == TRUE) ? 1 : -1; // 1=TRUE, -1=FALSE, 0=NA
  ------------------
  |  |  886|      2|#define asLogical		Rf_asLogical
  ------------------
  |  Branch (1563:2): [True: 2, False: 0]
  ------------------
 1564|      2|    args = CDR(args);
 1565|      2|    SEXP decreasing = CAR(args);
 1566|      2|    args = CDR(args);
 1567|       |
 1568|       |    /* If TRUE, return starts of runs of identical values + max group size. */
 1569|      2|    retGrp = asBool2(CAR(args), call);
  ------------------
  |  | 1865|      2|# define asBool2	       	Rf_asBool2
  ------------------
 1570|      2|    args = CDR(args);
 1571|       |
 1572|       |    /* If FALSE, get order of strings in appearance order. Essentially
 1573|       |       abuses the CHARSXP table to group strings without hashing
 1574|       |       them. Only makes sense when retGrp=TRUE.
 1575|       |    */
 1576|      2|    sortStr = asBool2(CAR(args), call );
  ------------------
  |  | 1865|      2|# define asBool2	       	Rf_asBool2
  ------------------
 1577|      2|    args = CDR(args);
 1578|       |
 1579|       |    /* When grouping, we round off doubles to account for imprecision */
 1580|      2|    setNumericRounding(retGrp ? 2 : 0);
  ------------------
  |  Branch (1580:24): [True: 0, False: 2]
  ------------------
 1581|       |
 1582|      2|    if (args == R_NilValue)
  ------------------
  |  Branch (1582:9): [True: 0, False: 2]
  ------------------
 1583|      0|	return R_NilValue;
 1584|      2|    if (isVector(CAR(args)))
  ------------------
  |  |  974|      2|#define isVector		Rf_isVector
  ------------------
  |  Branch (1584:9): [True: 2, False: 0]
  ------------------
 1585|      2|	nl = XLENGTH(CAR(args));
 1586|      4|    for (SEXP ap = args; ap != R_NilValue; ap = CDR(ap), narg++) {
  ------------------
  |  Branch (1586:26): [True: 2, False: 2]
  ------------------
 1587|      2|	if (!isVector(CAR(ap)))
  ------------------
  |  |  974|      2|#define isVector		Rf_isVector
  ------------------
  |  Branch (1587:6): [True: 0, False: 2]
  ------------------
 1588|      0|	    error(_("argument %d is not a vector"), narg + 1);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("argument %d is not a vector"), narg + 1);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1589|       |        //Rprintf("%d, %d\n", XLENGTH(CAR(ap)), nl);
 1590|      2|	if (XLENGTH(CAR(ap)) != nl)
  ------------------
  |  Branch (1590:6): [True: 0, False: 2]
  ------------------
 1591|      0|	    error(_("argument lengths differ"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("argument lengths differ"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1592|      2|    }
 1593|       |
 1594|      2|    if (narg != length(decreasing))
  ------------------
  |  |  987|      2|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1594:9): [True: 0, False: 2]
  ------------------
 1595|      0|	error(_("length(decreasing) must match the number of order arguments"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("length(decreasing) must match the number of order arguments"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1596|      4|    for (int i = 0; i < narg; i++) {
  ------------------
  |  Branch (1596:21): [True: 2, False: 2]
  ------------------
 1597|      2|	if (LOGICAL(decreasing)[i] == NA_LOGICAL)
  ------------------
  |  |   55|      2|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (1597:6): [True: 0, False: 2]
  ------------------
 1598|      0|	    error(_("'decreasing' elements must be TRUE or FALSE"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("'decreasing' elements must be TRUE or FALSE"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1599|      2|    }
 1600|      2|    order = asLogical(decreasing) ? -1 : 1;
  ------------------
  |  |  886|      2|#define asLogical		Rf_asLogical
  ------------------
  |  Branch (1600:13): [True: 0, False: 2]
  ------------------
 1601|       |
 1602|      2|    SEXP x = CAR(args);
 1603|      2|    args = CDR(args);
 1604|       |
 1605|       |    // (ML) FIXME: need to support long vectors
 1606|      2|    if (nl > INT_MAX) {
  ------------------
  |  Branch (1606:9): [True: 0, False: 2]
  ------------------
 1607|      0|	error(_("long vectors not supported"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("long vectors not supported"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1608|      0|    }
 1609|      2|    n = (int) nl;
 1610|       |
 1611|       |    // upper limit for stack size (all size 1 groups). We'll detect
 1612|       |    // and avoid that limit, but if just one non-1 group (say 2), that
 1613|       |    // can't be avoided.
 1614|      2|    gsmaxalloc = n;
 1615|       |
 1616|       |    // once for the result, needs to be length n.
 1617|       |
 1618|       |    // TO DO: save allocation if NULL is returned (isSorted = =TRUE) so
 1619|       |    // [i|c|d]sort know they can populate o directly with no working
 1620|       |    // memory needed to reorder existing order had to repace this from
 1621|       |    // '0' to '-1' because 'nalast = 0' replace 'o[.]' with 0 values.
 1622|       |
 1623|      2|    SEXP ans = PROTECT(allocVector(INTSXP, n));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1624|      2|    o = INTEGER(ans);
 1625|      2|    if (n > 0)
  ------------------
  |  Branch (1625:9): [True: 2, False: 0]
  ------------------
 1626|      2|	o[0] = -1;
 1627|      2|    xd = DATAPTR(x);
 1628|       |
 1629|      2|    stackgrps = narg > 1 || retGrp;
  ------------------
  |  Branch (1629:17): [True: 0, False: 2]
  |  Branch (1629:29): [True: 0, False: 2]
  ------------------
 1630|       |
 1631|      2|    if (TYPEOF(x) == STRSXP) {
  ------------------
  |  |  126|      2|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1631:9): [True: 0, False: 2]
  ------------------
 1632|      0|        checkEncodings(x);
 1633|      0|    }
 1634|       |    
 1635|      2|    savetl_init();   // from now on use Error not error.
 1636|       |
 1637|      2|    switch (TYPEOF(x)) {
 1638|      0|    case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1638:5): [True: 0, False: 2]
  ------------------
 1639|      2|    case LGLSXP:
  ------------------
  |  |  121|      2|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (1639:5): [True: 2, False: 0]
  ------------------
 1640|      2|	tmp = isorted(xd, n);
 1641|      2|	break;
 1642|      0|    case REALSXP :
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1642:5): [True: 0, False: 2]
  ------------------
 1643|      0|	twiddle = &dtwiddle;
 1644|      0|	is_nan  = &dnan;
 1645|      0|	tmp = dsorted(xd, n);
 1646|      0|	break;
 1647|      0|    case STRSXP :
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1647:5): [True: 0, False: 2]
  ------------------
 1648|      0|	tmp = csorted(xd, n);
 1649|      0|	break;
 1650|      0|    default :
  ------------------
  |  Branch (1650:5): [True: 0, False: 2]
  ------------------
 1651|      0|        Error("First arg is type '%s', not yet supported",
  ------------------
  |  |  126|      0|#define Error(...) do {savetl_end(); error(__VA_ARGS__);} while(0)
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |  |  Branch (126:65): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1652|      2|              R_typeToChar(x));
 1653|      2|    }
 1654|      2|    if (tmp) {
  ------------------
  |  Branch (1654:9): [True: 2, False: 0]
  ------------------
 1655|       |	// -1 or 1. NEW: or -2 in case of nalast == 0 and all NAs
 1656|      2|	if (tmp == 1) {
  ------------------
  |  Branch (1656:6): [True: 2, False: 0]
  ------------------
 1657|       |	    // same as expected in 'order' (1 = increasing, -1 = decreasing)
 1658|      2|	    isSorted = true;
 1659|     14|	    for (int i = 0; i < n; i++)
  ------------------
  |  Branch (1659:22): [True: 12, False: 2]
  ------------------
 1660|     12|		o[i] = i + 1;
 1661|      2|	} else if (tmp == -1) {
  ------------------
  |  Branch (1661:13): [True: 0, False: 0]
  ------------------
 1662|       |	    // -1 (or -n for result of strcmp), strictly opposite to
 1663|       |	    // -expected 'order'
 1664|      0|	    isSorted = false;
 1665|      0|	    for (int i = 0; i < n; i++)
  ------------------
  |  Branch (1665:22): [True: 0, False: 0]
  ------------------
 1666|      0|		o[i] = n - i;
 1667|      0|	} else if (nalast == 0 && tmp == -2) {
  ------------------
  |  Branch (1667:13): [True: 0, False: 0]
  |  Branch (1667:28): [True: 0, False: 0]
  ------------------
 1668|       |	    // happens only when nalast=NA/0. Means all NAs, replace
 1669|       |	    // with 0's therefore!
 1670|      0|	    isSorted = false;
 1671|      0|	    for (int i = 0; i < n; i++)
  ------------------
  |  Branch (1671:22): [True: 0, False: 0]
  ------------------
 1672|      0|		o[i] = 0;
 1673|      0|	}
 1674|      2|    } else {
 1675|      0|	isSorted = false;
 1676|      0|	switch (TYPEOF(x)) {
 1677|      0|	case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1677:2): [True: 0, False: 0]
  ------------------
 1678|      0|	case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (1678:2): [True: 0, False: 0]
  ------------------
 1679|      0|	    isort(xd, o, n);
 1680|      0|	    break;
 1681|      0|	case REALSXP :
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1681:2): [True: 0, False: 0]
  ------------------
 1682|      0|	    dsort(xd, o, n);
 1683|      0|	    break;
 1684|      0|	case STRSXP :
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1684:2): [True: 0, False: 0]
  ------------------
 1685|      0|	    if (sortStr) {
  ------------------
  |  Branch (1685:10): [True: 0, False: 0]
  ------------------
 1686|      0|		csort_pre(xd, n);
 1687|      0|		alloc_csort_otmp(n);
 1688|      0|		csort(xd, o, n);
 1689|      0|	    } else
 1690|      0|		cgroup(xd, o, n);
 1691|      0|	    break;
 1692|      0|	default:
  ------------------
  |  Branch (1692:2): [True: 0, False: 0]
  ------------------
 1693|      0|	    Error
  ------------------
  |  |  126|      0|#define Error(...) do {savetl_end(); error(__VA_ARGS__);} while(0)
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |  |  Branch (126:65): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1694|      0|		("Internal error: previous default should have caught unsupported type");
 1695|      0|	}
 1696|      0|    }
 1697|       |    
 1698|      2|    int maxgrpn = gsmax[flip];   // biggest group in the first arg
 1699|      2|    void *xsub = NULL;           // local
 1700|       |// This was not valid C23, and clang 15 warns it was not valid C99 either.
 1701|       |//    int (*f) ();  // called with fn pointer, int
 1702|       |//    void (*g) (); // called with fn pointer, int *, int
 1703|      2|    int fgtype;
 1704|       |    
 1705|      2|    if (narg > 1 && gsngrp[flip] < n) {
  ------------------
  |  Branch (1705:9): [True: 0, False: 2]
  |  Branch (1705:21): [True: 0, False: 0]
  ------------------
 1706|       |        // double is the largest type, 8
 1707|      0|        xsub = (void *) malloc(maxgrpn * sizeof(double));
 1708|      0|        if (xsub == NULL)
  ------------------
  |  Branch (1708:13): [True: 0, False: 0]
  ------------------
 1709|      0|            Error("Couldn't allocate xsub in do_radixsort, requested %d * %d bytes.",
  ------------------
  |  |  126|      0|#define Error(...) do {savetl_end(); error(__VA_ARGS__);} while(0)
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |  |  Branch (126:65): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1710|      0|                  maxgrpn, (int)sizeof(double));
 1711|       |        // global variable, used by isort, dsort, sort and cgroup
 1712|      0|        newo = (int *) malloc(maxgrpn * sizeof(int));
 1713|      0|        if (newo == NULL)
  ------------------
  |  Branch (1713:13): [True: 0, False: 0]
  ------------------
 1714|      0|            Error("Couldn't allocate newo in do_radixsort, requested %d * %d bytes.",
  ------------------
  |  |  126|      0|#define Error(...) do {savetl_end(); error(__VA_ARGS__);} while(0)
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |  |  Branch (126:65): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1715|      0|                  maxgrpn, (int)sizeof(int));
 1716|      0|    }
 1717|       |
 1718|      2|    for (int col = 2; col <= narg; col++) {
  ------------------
  |  Branch (1718:23): [True: 0, False: 2]
  ------------------
 1719|      0|	x = CAR(args);
 1720|      0|	args = CDR(args);
 1721|      0|	xd = DATAPTR(x);
 1722|      0|	ngrp = gsngrp[flip];
 1723|      0|	if (ngrp == n && nalast != 0)
  ------------------
  |  Branch (1723:6): [True: 0, False: 0]
  |  Branch (1723:19): [True: 0, False: 0]
  ------------------
 1724|      0|	    break;
 1725|      0|	flipflop();
 1726|      0|	stackgrps = col != narg || retGrp;
  ------------------
  |  Branch (1726:14): [True: 0, False: 0]
  |  Branch (1726:29): [True: 0, False: 0]
  ------------------
 1727|      0|	order = LOGICAL(decreasing)[col - 1] ? -1 : 1;
  ------------------
  |  Branch (1727:10): [True: 0, False: 0]
  ------------------
 1728|      0|	switch (TYPEOF(x)) {
 1729|      0|	case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1729:2): [True: 0, False: 0]
  ------------------
 1730|      0|	case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (1730:2): [True: 0, False: 0]
  ------------------
 1731|       |//	    f = &isorted;
 1732|       |//	    g = &isort;
 1733|      0|	    fgtype = 1;
 1734|      0|	    break;
 1735|      0|	case REALSXP:
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1735:2): [True: 0, False: 0]
  ------------------
 1736|      0|	    twiddle = &dtwiddle;
 1737|      0|	    is_nan = &dnan;
 1738|      0|	    fgtype = 2;
 1739|       |//	    f = &dsorted;
 1740|       |//	    g = &dsort;
 1741|      0|	    break;
 1742|      0|	case STRSXP:
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1742:2): [True: 0, False: 0]
  ------------------
 1743|      0|	    fgtype = 3;
 1744|       |//	    f = &csorted;
 1745|      0|	    if (sortStr) {
  ------------------
  |  Branch (1745:10): [True: 0, False: 0]
  ------------------
 1746|      0|		csort_pre(xd, n);
 1747|      0|		alloc_csort_otmp(gsmax[1 - flip]);
 1748|       |//		g = &csort;
 1749|      0|	    }
 1750|       |	    // no increasing/decreasing order required if sortStr = FALSE,
 1751|       |	    // just a dummy argument
 1752|      0|	    else {
 1753|      0|		fgtype = 4;
 1754|       |//		g = &cgroup;
 1755|      0|	    }
 1756|      0|	    break;
 1757|      0|	default:
  ------------------
  |  Branch (1757:2): [True: 0, False: 0]
  ------------------
 1758|      0|	    Error("Arg %d is type '%s', not yet supported",
  ------------------
  |  |  126|      0|#define Error(...) do {savetl_end(); error(__VA_ARGS__);} while(0)
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |  |  Branch (126:65): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1759|      0|		  col, R_typeToChar(x));
 1760|      0|	}
 1761|      0|	int i = 0;
 1762|      0|	for (int grp = 0; grp < ngrp; grp++) {
  ------------------
  |  Branch (1762:20): [True: 0, False: 0]
  ------------------
 1763|      0|	    thisgrpn = gs[1 - flip][grp];
 1764|      0|	    if (thisgrpn == 1) {
  ------------------
  |  Branch (1764:10): [True: 0, False: 0]
  ------------------
 1765|      0|		if (nalast == 0) {
  ------------------
  |  Branch (1765:7): [True: 0, False: 0]
  ------------------
 1766|       |		    // this edge case had to be taken care of
 1767|       |		    // here.. (see the bottom of this file for
 1768|       |		    // more explanation)
 1769|      0|                   if (o[i] == 0) { // already sorted as NA
  ------------------
  |  Branch (1769:24): [True: 0, False: 0]
  ------------------
 1770|      0|                       isSorted = false;
 1771|      0|                   } else switch (TYPEOF(x)) {
 1772|      0|		    case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1772:7): [True: 0, False: 0]
  ------------------
 1773|      0|			if (INTEGER(x)[o[i] - 1] == NA_INTEGER) {
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (1773:8): [True: 0, False: 0]
  ------------------
 1774|      0|			    isSorted = false;
 1775|      0|			    o[i] = 0;
 1776|      0|			}
 1777|      0|			break;
 1778|      0|		    case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (1778:7): [True: 0, False: 0]
  ------------------
 1779|      0|			if (LOGICAL(x)[o[i] - 1] == NA_LOGICAL) {
  ------------------
  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (1779:8): [True: 0, False: 0]
  ------------------
 1780|      0|			    isSorted = false;
 1781|      0|			    o[i] = 0;
 1782|      0|			}
 1783|      0|			break;
 1784|      0|		    case REALSXP:
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1784:7): [True: 0, False: 0]
  ------------------
 1785|      0|			if (ISNAN(REAL(x)[o[i] - 1])) {
  ------------------
  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1786|      0|			    isSorted = false;
 1787|      0|			    o[i] = 0;
 1788|      0|			}
 1789|      0|			break;
 1790|      0|		    case STRSXP:
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1790:7): [True: 0, False: 0]
  ------------------
 1791|      0|			if (STRING_ELT(x, o[i] - 1) == NA_STRING) {
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  |  Branch (1791:8): [True: 0, False: 0]
  ------------------
 1792|      0|			    isSorted = false;
 1793|      0|			    o[i] = 0;
 1794|      0|                        } break;
 1795|      0|                    default :
  ------------------
  |  Branch (1795:21): [True: 0, False: 0]
  ------------------
 1796|      0|                        Error("Internal error: previous default should have caught unsupported type");
  ------------------
  |  |  126|      0|#define Error(...) do {savetl_end(); error(__VA_ARGS__);} while(0)
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |  |  Branch (126:65): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1797|      0|                    }
 1798|      0|                }
 1799|      0|                i++;
 1800|      0|                push(1);
 1801|      0|                continue;
 1802|      0|            }
 1803|      0|            osub = o+i;
 1804|       |            // ** TO DO **: if isSorted, we can just point xsub
 1805|       |            //        into x directly. If (*f)() returns 0,
 1806|       |            //        though, will have to copy x at that point
 1807|       |            //        When doing this, xsub could be allocated at
 1808|       |            //        that point for the first time.
 1809|      0|            if (TYPEOF(x) == STRSXP)
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1809:17): [True: 0, False: 0]
  ------------------
 1810|      0|                for (int j = 0; j < thisgrpn; j++)
  ------------------
  |  Branch (1810:33): [True: 0, False: 0]
  ------------------
 1811|      0|                    ((SEXP *) xsub)[j] = ((SEXP *) xd)[o[i++] - 1];
 1812|      0|            else if (TYPEOF(x) == REALSXP)
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1812:22): [True: 0, False: 0]
  ------------------
 1813|      0|                for (int j = 0; j < thisgrpn; j++)
  ------------------
  |  Branch (1813:33): [True: 0, False: 0]
  ------------------
 1814|      0|                    ((double *) xsub)[j] = ((double *) xd)[o[i++] - 1];
 1815|      0|            else
 1816|      0|                for (int j = 0; j < thisgrpn; j++)
  ------------------
  |  Branch (1816:33): [True: 0, False: 0]
  ------------------
 1817|      0|                    ((int *) xsub)[j] = ((int *) xd)[o[i++] - 1];
 1818|       |                
 1819|       |            // continue; // BASELINE short circuit timing
 1820|       |            // point. Up to here is the cost of creating xsub.
 1821|       |            // [i|d|c]sorted(); very low cost, sequential
 1822|       |//            tmp = (*f)(xsub, thisgrpn);
 1823|      0|	    switch(fgtype) {
  ------------------
  |  Branch (1823:13): [True: 0, False: 0]
  ------------------
 1824|      0|	    case 1:
  ------------------
  |  Branch (1824:6): [True: 0, False: 0]
  ------------------
 1825|      0|		tmp = isorted(xsub, thisgrpn);
 1826|      0|		break;
 1827|      0|	    case 2:
  ------------------
  |  Branch (1827:6): [True: 0, False: 0]
  ------------------
 1828|      0|		tmp = dsorted(xsub, thisgrpn);
 1829|      0|		break;
 1830|      0|	    case 3:
  ------------------
  |  Branch (1830:6): [True: 0, False: 0]
  ------------------
 1831|      0|	    case 4:
  ------------------
  |  Branch (1831:6): [True: 0, False: 0]
  ------------------
 1832|      0|		tmp = csorted(xsub, thisgrpn);
 1833|      0|	    }
 1834|      0|            if (tmp) {
  ------------------
  |  Branch (1834:17): [True: 0, False: 0]
  ------------------
 1835|       |                // *sorted will have already push()'d the groups
 1836|      0|                if (tmp == -1) {
  ------------------
  |  Branch (1836:21): [True: 0, False: 0]
  ------------------
 1837|      0|		    isSorted = false;
 1838|      0|		    for (int k = 0; k < thisgrpn / 2; k++) {
  ------------------
  |  Branch (1838:23): [True: 0, False: 0]
  ------------------
 1839|       |			// reverse the order in-place using no
 1840|       |			// function call or working memory
 1841|       |			// isorted only returns -1 for
 1842|       |			// _strictly_ decreasing order,
 1843|       |			// otherwise ties wouldn't be stable
 1844|      0|			tmp = osub[k];
 1845|      0|			osub[k] = osub[thisgrpn - 1 - k];
 1846|      0|			osub[thisgrpn - 1 - k] = tmp;
 1847|      0|		    }
 1848|      0|		} else if (nalast == 0 && tmp == -2) {
  ------------------
  |  Branch (1848:14): [True: 0, False: 0]
  |  Branch (1848:29): [True: 0, False: 0]
  ------------------
 1849|       |		    // all NAs, replace osub[.] with 0s.
 1850|      0|		    isSorted = false;
 1851|      0|		    for (int k = 0; k < thisgrpn; k++) osub[k] = 0;
  ------------------
  |  Branch (1851:23): [True: 0, False: 0]
  ------------------
 1852|      0|		}
 1853|      0|		continue;
 1854|      0|	    }
 1855|      0|	    isSorted = false;
 1856|       |	    // nalast=NA will result in newo[0] = 0. So had to change to -1.
 1857|      0|	    newo[0] = -1;
 1858|       |	    // may update osub directly, or if not will put the
 1859|       |	    // result in global newo
 1860|       |//	    (*g)(xsub, osub, thisgrpn);
 1861|      0|	    switch(fgtype) {
  ------------------
  |  Branch (1861:13): [True: 0, False: 0]
  ------------------
 1862|      0|	    case 1: isort(xsub, osub, thisgrpn); break;
  ------------------
  |  Branch (1862:6): [True: 0, False: 0]
  ------------------
 1863|      0|	    case 2: dsort(xsub, osub, thisgrpn); break;
  ------------------
  |  Branch (1863:6): [True: 0, False: 0]
  ------------------
 1864|      0|	    case 3: csort(xsub, osub, thisgrpn); break;
  ------------------
  |  Branch (1864:6): [True: 0, False: 0]
  ------------------
 1865|      0|	    case 4: cgroup(xsub, osub, thisgrpn); break;
  ------------------
  |  Branch (1865:6): [True: 0, False: 0]
  ------------------
 1866|      0|	    }
 1867|      0|	    if (newo[0] != -1) {
  ------------------
  |  Branch (1867:10): [True: 0, False: 0]
  ------------------
 1868|      0|		if (nalast != 0)
  ------------------
  |  Branch (1868:7): [True: 0, False: 0]
  ------------------
 1869|      0|		    for (int j = 0; j < thisgrpn; j++)
  ------------------
  |  Branch (1869:23): [True: 0, False: 0]
  ------------------
 1870|       |			// reuse xsub to reorder osub
 1871|      0|			((int *) xsub)[j] = osub[newo[j] - 1];
 1872|      0|		else
 1873|      0|		    for (int j = 0; j < thisgrpn; j++)
  ------------------
  |  Branch (1873:23): [True: 0, False: 0]
  ------------------
 1874|       |			// final nalast case to handle!
 1875|      0|			((int *) xsub)[j] = (newo[j] == 0) ? 0 :
  ------------------
  |  Branch (1875:24): [True: 0, False: 0]
  ------------------
 1876|      0|			    osub[newo[j] - 1];
 1877|      0|		memcpy(osub, xsub, thisgrpn * sizeof(int));
 1878|      0|	    }
 1879|      0|	}
 1880|      0|    }
 1881|       |
 1882|      2|    if (!sortStr && ustr_n != 0)
  ------------------
  |  Branch (1882:9): [True: 0, False: 2]
  |  Branch (1882:21): [True: 0, False: 0]
  ------------------
 1883|      0|        Error("Internal error: at the end of do_radixsort sortStr == FALSE but ustr_n !=0 [%d]",
  ------------------
  |  |  126|      0|#define Error(...) do {savetl_end(); error(__VA_ARGS__);} while(0)
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |  |  Branch (126:65): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1884|      2|              ustr_n);
 1885|      2|    for(int i = 0; i < ustr_n; i++)
  ------------------
  |  Branch (1885:20): [True: 0, False: 2]
  ------------------
 1886|      0|        SET_TRLEN(ustr[i], 0);
  ------------------
  |  |   34|      2|#define SET_TRLEN(x, v) SET_TRUELENGTH(x, ((int) (v)))
  ------------------
 1887|      2|    maxlen = 1;  // reset global. Minimum needed to count "" and NA
 1888|      2|    ustr_n = 0;
 1889|      2|    savetl_end();
 1890|      2|    free(ustr);
 1891|      2|    ustr = NULL;
 1892|      2|    ustr_alloc = 0;
 1893|       |
 1894|      2|    if (retGrp) {
  ------------------
  |  Branch (1894:9): [True: 0, False: 2]
  ------------------
 1895|      0|        int maxgrpn = NA_INTEGER;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
 1896|      0|        ngrp = gsngrp[flip];
 1897|      0|        SEXP s_ends = install("ends");
  ------------------
  |  |  934|      0|#define install			Rf_install
  ------------------
 1898|      0|        setAttrib(ans, s_ends, x = allocVector(INTSXP, ngrp));
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
                      setAttrib(ans, s_ends, x = allocVector(INTSXP, ngrp));
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
                      setAttrib(ans, s_ends, x = allocVector(INTSXP, ngrp));
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
 1899|      0|        if (ngrp > 0) {
  ------------------
  |  Branch (1899:13): [True: 0, False: 0]
  ------------------
 1900|      0|            INTEGER(x)[0] = gs[flip][0];
 1901|      0|            for (int i = 1; i < ngrp; i++)
  ------------------
  |  Branch (1901:29): [True: 0, False: 0]
  ------------------
 1902|      0|                INTEGER(x)[i] = INTEGER(x)[i - 1] + gs[flip][i];
 1903|      0|            maxgrpn = gsmax[flip];
 1904|      0|        }
 1905|      0|        SEXP s_maxgrpn = install("maxgrpn");
  ------------------
  |  |  934|      0|#define install			Rf_install
  ------------------
 1906|      0|        setAttrib(ans, s_maxgrpn, ScalarInteger(maxgrpn));
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
                      setAttrib(ans, s_maxgrpn, ScalarInteger(maxgrpn));
  ------------------
  |  | 1022|      0|#define ScalarInteger		Rf_ScalarInteger
  ------------------
 1907|      0|        SEXP nms;
 1908|      0|        PROTECT(nms = allocVector(STRSXP, 2));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1909|      0|        SET_STRING_ELT(nms, 0, mkChar("grouping"));
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
 1910|      0|        SET_STRING_ELT(nms, 1, mkChar("integer"));
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
 1911|      0|        setAttrib(ans, R_ClassSymbol, nms);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
 1912|      0|        UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1913|      0|    }
 1914|       |
 1915|      2|    bool dropZeros = !retGrp && !isSorted && nalast == 0;
  ------------------
  |  Branch (1915:22): [True: 2, False: 0]
  |  Branch (1915:33): [True: 0, False: 2]
  |  Branch (1915:46): [True: 0, False: 0]
  ------------------
 1916|      2|    if (dropZeros) {
  ------------------
  |  Branch (1916:9): [True: 0, False: 2]
  ------------------
 1917|      0|        int zeros = 0;
 1918|      0|        for (int i = 0; i < n; i++) {
  ------------------
  |  Branch (1918:25): [True: 0, False: 0]
  ------------------
 1919|      0|            if (o[i] == 0)
  ------------------
  |  Branch (1919:17): [True: 0, False: 0]
  ------------------
 1920|      0|                zeros++;
 1921|      0|        }
 1922|      0|        if (zeros > 0) {
  ------------------
  |  Branch (1922:13): [True: 0, False: 0]
  ------------------
 1923|      0|            PROTECT(ans = allocVector(INTSXP, n - zeros));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1924|      0|            int *o2 = INTEGER(ans);
 1925|      0|            for (int i = 0, i2 = 0; i < n; i++) {
  ------------------
  |  Branch (1925:37): [True: 0, False: 0]
  ------------------
 1926|      0|                if (o[i] > 0)
  ------------------
  |  Branch (1926:21): [True: 0, False: 0]
  ------------------
 1927|      0|                    o2[i2++] = o[i];
 1928|      0|            }
 1929|      0|            UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1930|      0|        }
 1931|      0|    }
 1932|       |    
 1933|      2|    gsfree();
 1934|      2|    free(radix_xsub);          radix_xsub=NULL;    radix_xsuballoc=0;
 1935|      2|    free(xsub); free(newo);    xsub=newo=NULL;
 1936|      2|    free(xtmp);                xtmp=NULL;          xtmp_alloc=0;
 1937|      2|    free(otmp);                otmp=NULL;          otmp_alloc=0;
 1938|      2|    free(csort_otmp);          csort_otmp=NULL;    csort_otmp_alloc=0;
 1939|       |
 1940|      2|    free(cradix_counts);       cradix_counts=NULL; cradix_counts_alloc=0;
 1941|      2|    free(cradix_xtmp);         cradix_xtmp=NULL;   cradix_xtmp_alloc=0;
 1942|       |    // TO DO: use xtmp already got
 1943|       |
 1944|      2|    UNPROTECT(1);
  ------------------
  |  |  358|      2|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1945|      2|    return ans;
 1946|      2|}
radixsort.c:setNumericRounding:
  625|      2|{
  626|      2|    dmask1 = dround ? 1 << (8 * dround - 1) : 0;
  ------------------
  |  Branch (626:14): [True: 0, False: 2]
  ------------------
  627|      2|    dmask2 = 0xffffffffffffffff << dround * 8;
  628|      2|}
radixsort.c:savetl_init:
   70|      2|{
   71|      2|    if (nsaved || nalloc || saveds || savedtl)
  ------------------
  |  Branch (71:9): [True: 0, False: 2]
  |  Branch (71:19): [True: 0, False: 2]
  |  Branch (71:29): [True: 0, False: 2]
  |  Branch (71:39): [True: 0, False: 2]
  ------------------
   72|      0|	error("Internal error: savetl_init checks failed (%d %d %p %p).",
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
   73|      0|	      nsaved, nalloc, (void *)saveds, (void *)savedtl);
   74|      2|    nsaved = 0;
   75|      2|    nalloc = 100;
   76|      2|    saveds = (SEXP *) malloc(nalloc * sizeof(SEXP));
   77|      2|    if (saveds == NULL)
  ------------------
  |  Branch (77:9): [True: 0, False: 2]
  ------------------
   78|      0|	error("Could not allocate saveds in savetl_init");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
   79|      2|    savedtl = (R_len_t *) malloc(nalloc * sizeof(R_len_t));
   80|      2|    if (savedtl == NULL) {
  ------------------
  |  Branch (80:9): [True: 0, False: 2]
  ------------------
   81|      0|	free(saveds);
   82|      0|	error("Could not allocate saveds in savetl_init");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
   83|      0|    }
   84|      2|}
radixsort.c:isorted:
 1281|      2|{
 1282|      2|    int i = 1, j = 0;
 1283|       |    // when nalast = NA,
 1284|       |    // all NAs ? return special value to replace all o's values with '0'
 1285|       |    // any NAs ? return 0 = unsorted and leave it
 1286|       |    //   to sort routines to replace o's with 0's
 1287|       |    // no NAs ? continue to check rest of isorted - the same routine as usual
 1288|      2|    if (nalast == 0) {
  ------------------
  |  Branch (1288:9): [True: 0, False: 2]
  ------------------
 1289|      0|	for (int k = 0; k < n; k++)
  ------------------
  |  Branch (1289:18): [True: 0, False: 0]
  ------------------
 1290|      0|	    if (x[k] != NA_INTEGER)
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (1290:10): [True: 0, False: 0]
  ------------------
 1291|      0|		j++;
 1292|      0|	if (j == 0) {
  ------------------
  |  Branch (1292:6): [True: 0, False: 0]
  ------------------
 1293|      0|	    push(n);
 1294|      0|	    return (-2);
 1295|      0|	}
 1296|      0|	if (j != n)
  ------------------
  |  Branch (1296:6): [True: 0, False: 0]
  ------------------
 1297|      0|	    return (0);
 1298|      0|    }
 1299|      2|    if (n <= 1) {
  ------------------
  |  Branch (1299:9): [True: 0, False: 2]
  ------------------
 1300|      0|	push(n);
 1301|      0|	return (1);
 1302|      0|    }
 1303|      2|    if (icheck(x[1]) < icheck(x[0])) {
  ------------------
  |  Branch (1303:9): [True: 0, False: 2]
  ------------------
 1304|      0|	i = 2;
 1305|      0|	while (i < n && icheck(x[i]) < icheck(x[i - 1]))
  ------------------
  |  Branch (1305:9): [True: 0, False: 0]
  |  Branch (1305:18): [True: 0, False: 0]
  ------------------
 1306|      0|	    i++;
 1307|       |	// strictly opposite to expected 'order', no ties;
 1308|      0|	if (i == n) {
  ------------------
  |  Branch (1308:6): [True: 0, False: 0]
  ------------------
 1309|      0|	    mpush(1, n);
 1310|      0|	    return (-1);
 1311|      0|	}
 1312|       |	// e.g. no more than one NA at the beginning/end (for order=-1/1)
 1313|      0|	else return (0);
 1314|      0|    }
 1315|      2|    int old = gsngrp[flip];
 1316|      2|    int tt = 1;
 1317|     12|    for (int i = 1; i < n; i++) {
  ------------------
  |  Branch (1317:21): [True: 10, False: 2]
  ------------------
 1318|     10|	if (icheck(x[i]) < icheck(x[i - 1])) {
  ------------------
  |  Branch (1318:6): [True: 0, False: 10]
  ------------------
 1319|      0|	    gsngrp[flip] = old;
 1320|      0|	    return (0);
 1321|      0|	}
 1322|     10|	if (x[i] == x[i - 1])
  ------------------
  |  Branch (1322:6): [True: 10, False: 0]
  ------------------
 1323|     10|	    tt++;
 1324|      0|	else {
 1325|      0|	    push(tt); tt = 1;
 1326|      0|	}
 1327|     10|    }
 1328|      2|    push(tt);
 1329|       |    // same as 'order', NAs at the beginning for order=1, at end for
 1330|       |    // order=-1, possibly with ties
 1331|      2|    return(1);
 1332|      2|}
radixsort.c:icheck:
  245|     24|{
  246|       |    // if nalast == 1, NAs must go last.
  247|     24|    return ((nalast != 1) ? ((x != NA_INTEGER) ? x*order : x) :
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (247:13): [True: 0, False: 24]
  |  Branch (247:30): [True: 0, False: 0]
  ------------------
  248|     24|	    ((x != NA_INTEGER) ? (x*order) - 1 : INT_MAX));
  ------------------
  |  |   56|     24|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (248:7): [True: 24, False: 0]
  ------------------
  249|     24|}
radixsort.c:savetl_end:
   87|      2|{
   88|       |    // Can get called if nothing has been saved yet (nsaved == 0), or
   89|       |    // even if _init() has not been called yet (pointers NULL). Such as
   90|       |    // to clear up before error. Also, it might be that nothing needed
   91|       |    // to be saved anyway.
   92|      2|    for (int i = 0; i < nsaved; i++)
  ------------------
  |  Branch (92:21): [True: 0, False: 2]
  ------------------
   93|      0|	SET_TRLEN(saveds[i], savedtl[i]);
  ------------------
  |  |   34|      0|#define SET_TRLEN(x, v) SET_TRUELENGTH(x, ((int) (v)))
  ------------------
   94|      2|    free(saveds);  // does nothing on NULL input
   95|      2|    free(savedtl);
   96|      2|    nsaved = nalloc = 0;
   97|      2|    saveds = NULL;
   98|       |    savedtl = NULL;
   99|      2|}
radixsort.c:push:
  147|      2|{
  148|      2|    if (!stackgrps || x == 0)
  ------------------
  |  Branch (148:9): [True: 2, False: 0]
  |  Branch (148:23): [True: 0, False: 0]
  ------------------
  149|      2|	return;
  150|      0|    if (gsalloc[flip] == gsngrp[flip])
  ------------------
  |  Branch (150:9): [True: 0, False: 0]
  ------------------
  151|      0|	growstack((uint64_t)(gsngrp[flip]) * 2);
  152|      0|    gs[flip][gsngrp[flip]++] = x;
  153|      0|    if (x > gsmax[flip])
  ------------------
  |  Branch (153:9): [True: 0, False: 0]
  ------------------
  154|      0|	gsmax[flip] = x;
  155|      0|}
radixsort.c:gsfree:
  179|      2|{
  180|      2|    free(gs[0]);
  181|      2|    free(gs[1]);
  182|      2|    gs[0] = NULL;
  183|       |    gs[1] = NULL;
  184|      2|    flip = 0;
  185|      2|    gsalloc[0] = gsalloc[1] = 0;
  186|      2|    gsngrp[0] = gsngrp[1] = 0;
  187|      2|    gsmax[0] = gsmax[1] = 0;
  188|      2|    gsmaxalloc = 0;
  189|      2|}

do_charToRaw:
   31|    223|{
   32|    223|    SEXP ans, x = CAR(args);
   33|    223|    int nc;
   34|       |
   35|    223|    checkArity(op, args);
  ------------------
  |  | 1793|    223|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
   36|    223|    if (!isString(x) || LENGTH(x) == 0)
  ------------------
  |  |  966|    223|#define isString		Rf_isString
  ------------------
  |  Branch (36:9): [True: 0, False: 223]
  |  Branch (36:25): [True: 0, False: 223]
  ------------------
   37|      0|	error(_("argument must be a character vector of length 1"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("argument must be a character vector of length 1"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
   38|    223|    if (LENGTH(x) > 1)
  ------------------
  |  Branch (38:9): [True: 0, False: 223]
  ------------------
   39|      0|	warning(_("argument should be a character vector of length 1\nall but the first element will be ignored"));
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	warning(_("argument should be a character vector of length 1\nall but the first element will be ignored"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
   40|    223|    nc = LENGTH(STRING_ELT(x, 0));
   41|    223|    ans = allocVector(RAWSXP, nc);
  ------------------
  |  |  875|    223|#define allocVector		Rf_allocVector
  ------------------
                  ans = allocVector(RAWSXP, nc);
  ------------------
  |  |  136|    223|#define RAWSXP      24    /* raw bytes */
  ------------------
   42|    223|    if (nc) memcpy(RAW(ans), CHAR(STRING_ELT(x, 0)), nc);
  ------------------
  |  |  203|    223|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (42:9): [True: 223, False: 0]
  ------------------
   43|    223|    return ans;
   44|    223|}

R_init_base:
   94|      2|{
   95|      2|    R_registerRoutines(dll, NULL, callMethods, fortranMethods, NULL);
   96|      2|    R_useDynamicSymbols(dll, FALSE);
   97|      2|    R_forceSymbols(dll, TRUE);
   98|      2|}

do_relop:
   52|    578|{
   53|    578|    SEXP ans, arg1, arg2;
   54|    578|    int argc;
   55|       |
   56|    578|    if (args != R_NilValue &&
  ------------------
  |  Branch (56:9): [True: 578, False: 0]
  ------------------
   57|    578|	CDR(args) != R_NilValue &&
  ------------------
  |  Branch (57:2): [True: 578, False: 0]
  ------------------
   58|    578|	CDDR(args) == R_NilValue)
  ------------------
  |  Branch (58:2): [True: 578, False: 0]
  ------------------
   59|    578|	argc = 2;
   60|      0|    else
   61|      0|	argc = length(args);
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
   62|    578|    arg1 = CAR(args);
   63|    578|    arg2 = CADR(args);
   64|       |
   65|    578|    if (ATTRIB(arg1) != R_NilValue || ATTRIB(arg2) != R_NilValue) {
  ------------------
  |  Branch (65:9): [True: 0, False: 578]
  |  Branch (65:39): [True: 0, False: 578]
  ------------------
   66|      0|	if (DispatchGroup("Ops", call, op, args, env, &ans))
  ------------------
  |  | 1891|      0|# define DispatchGroup		Rf_DispatchGroup
  ------------------
  |  Branch (66:6): [True: 0, False: 0]
  ------------------
   67|      0|	    return ans;
   68|      0|    }
   69|       |
   70|    578|    if (argc != 2)
  ------------------
  |  Branch (70:9): [True: 0, False: 578]
  ------------------
   71|      0|	error("operator needs two arguments");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
   72|       |
   73|    578|    return do_relop_dflt(call, op, arg1, arg2);
   74|    578|}
do_relop_dflt:
  200|  19.7k|{
  201|       |    /* handle the REALSXP/INTSXP simple scalar case quickly */
  202|  19.7k|    if (IS_SIMPLE_SCALAR(x, INTSXP)) {
  ------------------
  |  |  218|  19.7k|    (IS_SCALAR(x, type) && ATTRIB(x) == R_NilValue)
  |  |  ------------------
  |  |  |  Branch (218:6): [True: 329, False: 19.4k]
  |  |  |  Branch (218:28): [True: 327, False: 2]
  |  |  ------------------
  ------------------
  203|    327|	int ix = SCALAR_IVAL(x);
  204|    327|	if (IS_SIMPLE_SCALAR(y, INTSXP)) {
  ------------------
  |  |  218|    327|    (IS_SCALAR(x, type) && ATTRIB(x) == R_NilValue)
  |  |  ------------------
  |  |  |  Branch (218:6): [True: 271, False: 56]
  |  |  |  Branch (218:28): [True: 271, False: 0]
  |  |  ------------------
  ------------------
  205|    271|	    int iy = SCALAR_IVAL(y);
  206|    271|	    if (ix == NA_INTEGER || iy == NA_INTEGER)
  ------------------
  |  |   56|    542|#define NA_INTEGER	R_NaInt
  ------------------
              	    if (ix == NA_INTEGER || iy == NA_INTEGER)
  ------------------
  |  |   56|    271|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (206:10): [True: 0, False: 271]
  |  Branch (206:30): [True: 0, False: 271]
  ------------------
  207|      0|		return ScalarLogical(NA_LOGICAL);
  ------------------
  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  ------------------
              		return ScalarLogical(NA_LOGICAL);
  ------------------
  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  ------------------
  208|    271|	    DO_SCALAR_RELOP(PRIMVAL(op), ix, iy);
  ------------------
  |  |   40|    271|#define DO_SCALAR_RELOP(oper, x, y) do {		\
  |  |   41|    271|	switch (oper) {					\
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 271, False: 0]
  |  |  ------------------
  |  |   42|    233|	case EQOP: return ScalarLogical((x) == (y));	\
  |  |  ------------------
  |  |  |  | 1023|    233|#define ScalarLogical		Rf_ScalarLogical
  |  |  ------------------
  |  |  |  Branch (42:2): [True: 233, False: 38]
  |  |  ------------------
  |  |   43|      0|	case NEOP: return ScalarLogical((x) != (y));	\
  |  |  ------------------
  |  |  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  |  |  ------------------
  |  |  |  Branch (43:2): [True: 0, False: 271]
  |  |  ------------------
  |  |   44|     26|	case LTOP: return ScalarLogical((x) < (y));	\
  |  |  ------------------
  |  |  |  | 1023|     26|#define ScalarLogical		Rf_ScalarLogical
  |  |  ------------------
  |  |  |  Branch (44:2): [True: 26, False: 245]
  |  |  ------------------
  |  |   45|     12|	case GTOP: return ScalarLogical((x) > (y));	\
  |  |  ------------------
  |  |  |  | 1023|     12|#define ScalarLogical		Rf_ScalarLogical
  |  |  ------------------
  |  |  |  Branch (45:2): [True: 12, False: 259]
  |  |  ------------------
  |  |   46|      0|	case LEOP: return ScalarLogical((x) <= (y));	\
  |  |  ------------------
  |  |  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  |  |  ------------------
  |  |  |  Branch (46:2): [True: 0, False: 271]
  |  |  ------------------
  |  |   47|      0|	case GEOP: return ScalarLogical((x) >= (y));	\
  |  |  ------------------
  |  |  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  |  |  ------------------
  |  |  |  Branch (47:2): [True: 0, False: 271]
  |  |  ------------------
  |  |   48|    271|	}						\
  |  |   49|    271|    } while (0)
  |  |  ------------------
  |  |  |  Branch (49:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  209|    271|	}
  210|     56|	else if (IS_SIMPLE_SCALAR(y, REALSXP)) {
  ------------------
  |  |  218|     56|    (IS_SCALAR(x, type) && ATTRIB(x) == R_NilValue)
  |  |  ------------------
  |  |  |  Branch (218:6): [True: 56, False: 0]
  |  |  |  Branch (218:28): [True: 56, False: 0]
  |  |  ------------------
  ------------------
  211|     56|	    double dy = SCALAR_DVAL(y);
  212|     56|	    if (ix == NA_INTEGER || ISNAN(dy))
  ------------------
  |  |   56|    112|#define NA_INTEGER	R_NaInt
  ------------------
              	    if (ix == NA_INTEGER || ISNAN(dy))
  ------------------
  |  |   76|     56|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 56]
  |  |  ------------------
  ------------------
  |  Branch (212:10): [True: 0, False: 56]
  ------------------
  213|      0|		return ScalarLogical(NA_LOGICAL);
  ------------------
  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  ------------------
              		return ScalarLogical(NA_LOGICAL);
  ------------------
  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  ------------------
  214|     56|	    DO_SCALAR_RELOP(PRIMVAL(op), ix, dy);
  ------------------
  |  |   40|     56|#define DO_SCALAR_RELOP(oper, x, y) do {		\
  |  |   41|     56|	switch (oper) {					\
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 56, False: 0]
  |  |  ------------------
  |  |   42|     54|	case EQOP: return ScalarLogical((x) == (y));	\
  |  |  ------------------
  |  |  |  | 1023|     54|#define ScalarLogical		Rf_ScalarLogical
  |  |  ------------------
  |  |  |  Branch (42:2): [True: 54, False: 2]
  |  |  ------------------
  |  |   43|      0|	case NEOP: return ScalarLogical((x) != (y));	\
  |  |  ------------------
  |  |  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  |  |  ------------------
  |  |  |  Branch (43:2): [True: 0, False: 56]
  |  |  ------------------
  |  |   44|      0|	case LTOP: return ScalarLogical((x) < (y));	\
  |  |  ------------------
  |  |  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  |  |  ------------------
  |  |  |  Branch (44:2): [True: 0, False: 56]
  |  |  ------------------
  |  |   45|      0|	case GTOP: return ScalarLogical((x) > (y));	\
  |  |  ------------------
  |  |  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  |  |  ------------------
  |  |  |  Branch (45:2): [True: 0, False: 56]
  |  |  ------------------
  |  |   46|      2|	case LEOP: return ScalarLogical((x) <= (y));	\
  |  |  ------------------
  |  |  |  | 1023|      2|#define ScalarLogical		Rf_ScalarLogical
  |  |  ------------------
  |  |  |  Branch (46:2): [True: 2, False: 54]
  |  |  ------------------
  |  |   47|      0|	case GEOP: return ScalarLogical((x) >= (y));	\
  |  |  ------------------
  |  |  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  |  |  ------------------
  |  |  |  Branch (47:2): [True: 0, False: 56]
  |  |  ------------------
  |  |   48|     56|	}						\
  |  |   49|     56|    } while (0)
  |  |  ------------------
  |  |  |  Branch (49:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  215|     56|	}
  216|    327|    }
  217|  19.4k|    else if (IS_SIMPLE_SCALAR(x, REALSXP)) {
  ------------------
  |  |  218|  19.4k|    (IS_SCALAR(x, type) && ATTRIB(x) == R_NilValue)
  |  |  ------------------
  |  |  |  Branch (218:6): [True: 1.36k, False: 18.0k]
  |  |  |  Branch (218:28): [True: 1.36k, False: 0]
  |  |  ------------------
  ------------------
  218|  1.36k|	double dx = SCALAR_DVAL(x);
  219|  1.36k|	if (IS_SIMPLE_SCALAR(y, INTSXP)) {
  ------------------
  |  |  218|  1.36k|    (IS_SCALAR(x, type) && ATTRIB(x) == R_NilValue)
  |  |  ------------------
  |  |  |  Branch (218:6): [True: 0, False: 1.36k]
  |  |  |  Branch (218:28): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  220|      0|	    int iy = SCALAR_IVAL(y);
  221|      0|	    if (ISNAN(dx) || iy == NA_INTEGER)
  ------------------
  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
              	    if (ISNAN(dx) || iy == NA_INTEGER)
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (221:23): [True: 0, False: 0]
  ------------------
  222|      0|		return ScalarLogical(NA_LOGICAL);
  ------------------
  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  ------------------
              		return ScalarLogical(NA_LOGICAL);
  ------------------
  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  ------------------
  223|      0|	    DO_SCALAR_RELOP(PRIMVAL(op), dx, iy);
  ------------------
  |  |   40|      0|#define DO_SCALAR_RELOP(oper, x, y) do {		\
  |  |   41|      0|	switch (oper) {					\
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   42|      0|	case EQOP: return ScalarLogical((x) == (y));	\
  |  |  ------------------
  |  |  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  |  |  ------------------
  |  |  |  Branch (42:2): [True: 0, False: 0]
  |  |  ------------------
  |  |   43|      0|	case NEOP: return ScalarLogical((x) != (y));	\
  |  |  ------------------
  |  |  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  |  |  ------------------
  |  |  |  Branch (43:2): [True: 0, False: 0]
  |  |  ------------------
  |  |   44|      0|	case LTOP: return ScalarLogical((x) < (y));	\
  |  |  ------------------
  |  |  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  |  |  ------------------
  |  |  |  Branch (44:2): [True: 0, False: 0]
  |  |  ------------------
  |  |   45|      0|	case GTOP: return ScalarLogical((x) > (y));	\
  |  |  ------------------
  |  |  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  |  |  ------------------
  |  |  |  Branch (45:2): [True: 0, False: 0]
  |  |  ------------------
  |  |   46|      0|	case LEOP: return ScalarLogical((x) <= (y));	\
  |  |  ------------------
  |  |  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  |  |  ------------------
  |  |  |  Branch (46:2): [True: 0, False: 0]
  |  |  ------------------
  |  |   47|      0|	case GEOP: return ScalarLogical((x) >= (y));	\
  |  |  ------------------
  |  |  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  |  |  ------------------
  |  |  |  Branch (47:2): [True: 0, False: 0]
  |  |  ------------------
  |  |   48|      0|	}						\
  |  |   49|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (49:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  224|      0|	}
  225|  1.36k|	else if (IS_SIMPLE_SCALAR(y, REALSXP)) {
  ------------------
  |  |  218|  1.36k|    (IS_SCALAR(x, type) && ATTRIB(x) == R_NilValue)
  |  |  ------------------
  |  |  |  Branch (218:6): [True: 19, False: 1.34k]
  |  |  |  Branch (218:28): [True: 19, False: 0]
  |  |  ------------------
  ------------------
  226|     19|	    double dy = SCALAR_DVAL(y);
  227|     19|	    if (ISNAN(dx) || ISNAN(dy))
  ------------------
  |  |   76|     38|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 19, False: 0]
  |  |  ------------------
  ------------------
              	    if (ISNAN(dx) || ISNAN(dy))
  ------------------
  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  228|     19|		return ScalarLogical(NA_LOGICAL);
  ------------------
  |  | 1023|     19|#define ScalarLogical		Rf_ScalarLogical
  ------------------
              		return ScalarLogical(NA_LOGICAL);
  ------------------
  |  |   55|     19|#define NA_LOGICAL	R_NaInt
  ------------------
  229|      0|	    DO_SCALAR_RELOP(PRIMVAL(op), dx, dy);
  ------------------
  |  |   40|      0|#define DO_SCALAR_RELOP(oper, x, y) do {		\
  |  |   41|      0|	switch (oper) {					\
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 0, False: 0]
  |  |  ------------------
  |  |   42|      0|	case EQOP: return ScalarLogical((x) == (y));	\
  |  |  ------------------
  |  |  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  |  |  ------------------
  |  |  |  Branch (42:2): [True: 0, False: 0]
  |  |  ------------------
  |  |   43|      0|	case NEOP: return ScalarLogical((x) != (y));	\
  |  |  ------------------
  |  |  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  |  |  ------------------
  |  |  |  Branch (43:2): [True: 0, False: 0]
  |  |  ------------------
  |  |   44|      0|	case LTOP: return ScalarLogical((x) < (y));	\
  |  |  ------------------
  |  |  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  |  |  ------------------
  |  |  |  Branch (44:2): [True: 0, False: 0]
  |  |  ------------------
  |  |   45|      0|	case GTOP: return ScalarLogical((x) > (y));	\
  |  |  ------------------
  |  |  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  |  |  ------------------
  |  |  |  Branch (45:2): [True: 0, False: 0]
  |  |  ------------------
  |  |   46|      0|	case LEOP: return ScalarLogical((x) <= (y));	\
  |  |  ------------------
  |  |  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  |  |  ------------------
  |  |  |  Branch (46:2): [True: 0, False: 0]
  |  |  ------------------
  |  |   47|      0|	case GEOP: return ScalarLogical((x) >= (y));	\
  |  |  ------------------
  |  |  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  |  |  ------------------
  |  |  |  Branch (47:2): [True: 0, False: 0]
  |  |  ------------------
  |  |   48|      0|	}						\
  |  |   49|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (49:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  230|      0|	}
  231|  1.36k|    }
  232|       |
  233|  19.4k|    R_xlen_t
  234|  19.4k|	nx = xlength(x),
  ------------------
  |  | 1049|  19.4k|#define xlength(x)		Rf_xlength(x)
  ------------------
  235|  19.4k|	ny = xlength(y);
  ------------------
  |  | 1049|  19.4k|#define xlength(x)		Rf_xlength(x)
  ------------------
  236|  19.4k|    SEXPTYPE
  237|  19.4k|	typex = TYPEOF(x),
  238|  19.4k|	typey = TYPEOF(y);
  239|       |
  240|       |    /* handle the REALSXP/INTSXP simple vector/scalar case quickly. */
  241|  19.4k|    if (ATTRIB(x) == R_NilValue && ATTRIB(y) == R_NilValue &&
  ------------------
  |  Branch (241:9): [True: 16.8k, False: 2.58k]
  |  Branch (241:36): [True: 15.5k, False: 1.34k]
  ------------------
  242|  15.5k|	(typex == REALSXP || typex == INTSXP) &&
  ------------------
  |  |  124|  31.0k|#define REALSXP	    14	  /* real variables */
  ------------------
              	(typex == REALSXP || typex == INTSXP) &&
  ------------------
  |  |  123|  14.1k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (242:3): [True: 1.40k, False: 14.1k]
  |  Branch (242:23): [True: 3.70k, False: 10.4k]
  ------------------
  243|  5.11k|	(typey == REALSXP || typey == INTSXP) &&
  ------------------
  |  |  124|  10.2k|#define REALSXP	    14	  /* real variables */
  ------------------
              	(typey == REALSXP || typey == INTSXP) &&
  ------------------
  |  |  123|  3.70k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (243:3): [True: 1.40k, False: 3.70k]
  |  Branch (243:23): [True: 3.70k, False: 0]
  ------------------
  244|  5.11k|	nx > 0 && ny > 0 && (nx == 1 || ny == 1)) {
  ------------------
  |  Branch (244:2): [True: 3.30k, False: 1.80k]
  |  Branch (244:12): [True: 3.30k, False: 0]
  |  Branch (244:23): [True: 0, False: 3.30k]
  |  Branch (244:34): [True: 2.48k, False: 822]
  ------------------
  245|       |
  246|  2.48k|	PROTECT(x);
  ------------------
  |  |  357|  2.48k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  247|  2.48k|	PROTECT(y);
  ------------------
  |  |  357|  2.48k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  248|  2.48k|	SEXP ans;
  249|  2.48k|	ans = numeric_relop(PRIMVAL(op), x, y);
  ------------------
  |  | 1347|  2.48k|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  250|  2.48k|	UNPROTECT(2);
  ------------------
  |  |  358|  2.48k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  251|  2.48k|	return ans;
  252|  2.48k|    }
  253|       |
  254|       |    /* handle the general case */
  255|  16.9k|    PROTECT_INDEX xpi, ypi;
  256|  16.9k|    PROTECT_WITH_INDEX(x, &xpi);
  ------------------
  |  |  366|  16.9k|#define PROTECT_WITH_INDEX(x,i) R_ProtectWithIndex(x,i)
  ------------------
  257|  16.9k|    PROTECT_WITH_INDEX(y, &ypi);
  ------------------
  |  |  366|  16.9k|#define PROTECT_WITH_INDEX(x,i) R_ProtectWithIndex(x,i)
  ------------------
  258|       |
  259|  16.9k|    if (isSymbol(x) || TYPEOF(x) == LANGSXP ||
  ------------------
  |  |  953|  16.9k|#define isSymbol		Rf_isSymbol
  ------------------
                  if (isSymbol(x) || TYPEOF(x) == LANGSXP ||
  ------------------
  |  |  117|  33.6k|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (259:9): [True: 233, False: 16.7k]
  |  Branch (259:24): [True: 0, False: 16.7k]
  ------------------
  260|  16.7k|	isSymbol(y) || TYPEOF(y) == LANGSXP) {
  ------------------
  |  |  953|  16.7k|#define isSymbol		Rf_isSymbol
  ------------------
              	isSymbol(y) || TYPEOF(y) == LANGSXP) {
  ------------------
  |  |  117|  16.7k|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (260:2): [True: 0, False: 16.7k]
  |  Branch (260:17): [True: 0, False: 16.7k]
  ------------------
  261|    233|	SEXP ans = compute_language_relop(call, op, x, y);
  262|    233|	if (ans != NULL) {
  ------------------
  |  Branch (262:6): [True: 0, False: 233]
  ------------------
  263|      0|	    UNPROTECT(2);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  264|      0|	    return ans;
  265|      0|	}
  266|    233|    }
  267|       |
  268|  16.9k|    bool iS;
  269|       |    /* That symbols and calls were allowed was undocumented prior to
  270|       |       R 2.5.0.  We deparse them as deparse() would, minus attributes */
  271|  16.9k|    if ((iS = isSymbol(x)) || TYPEOF(x) == LANGSXP) {
  ------------------
  |  |  953|  16.9k|#define isSymbol		Rf_isSymbol
  ------------------
                  if ((iS = isSymbol(x)) || TYPEOF(x) == LANGSXP) {
  ------------------
  |  |  117|  16.7k|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (271:9): [True: 233, False: 16.7k]
  |  Branch (271:31): [True: 0, False: 16.7k]
  ------------------
  272|    233|	SEXP tmp = allocVector(STRSXP, 1);
  ------------------
  |  |  875|    233|#define allocVector		Rf_allocVector
  ------------------
              	SEXP tmp = allocVector(STRSXP, 1);
  ------------------
  |  |  126|    233|#define STRSXP	    16	  /* string vectors */
  ------------------
  273|    233|	PROTECT(tmp);
  ------------------
  |  |  357|    233|#define PROTECT(s)	Rf_protect(s)
  ------------------
  274|    233|	SET_STRING_ELT(tmp, 0, (iS) ? PRINTNAME(x) :
  ------------------
  |  Branch (274:25): [True: 233, False: 0]
  ------------------
  275|    233|		       STRING_ELT(deparse1line_ex(x, false,
  276|      0|						  DEFAULTDEPARSE | DIGITS17),
  ------------------
  |  | 2086|      0|#define DEFAULTDEPARSE		1089 /* KEEPINTEGER | KEEPNA | NICE_NAMES, used for calls */
  ------------------
              						  DEFAULTDEPARSE | DIGITS17),
  ------------------
  |  | 2082|      0|#define DIGITS17		512
  ------------------
  277|      0|				  0));
  278|    233|	REPROTECT(x = tmp, xpi);
  ------------------
  |  |  367|    233|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
  279|    233|	nx = xlength(x);
  ------------------
  |  | 1049|    233|#define xlength(x)		Rf_xlength(x)
  ------------------
  280|    233|	UNPROTECT(1);
  ------------------
  |  |  358|    233|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  281|    233|    }
  282|  16.9k|    if ((iS = isSymbol(y)) || TYPEOF(y) == LANGSXP) {
  ------------------
  |  |  953|  16.9k|#define isSymbol		Rf_isSymbol
  ------------------
                  if ((iS = isSymbol(y)) || TYPEOF(y) == LANGSXP) {
  ------------------
  |  |  117|  16.7k|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (282:9): [True: 233, False: 16.7k]
  |  Branch (282:31): [True: 0, False: 16.7k]
  ------------------
  283|    233|	SEXP tmp = allocVector(STRSXP, 1);
  ------------------
  |  |  875|    233|#define allocVector		Rf_allocVector
  ------------------
              	SEXP tmp = allocVector(STRSXP, 1);
  ------------------
  |  |  126|    233|#define STRSXP	    16	  /* string vectors */
  ------------------
  284|    233|	PROTECT(tmp);
  ------------------
  |  |  357|    233|#define PROTECT(s)	Rf_protect(s)
  ------------------
  285|    233|	SET_STRING_ELT(tmp, 0, (iS) ? PRINTNAME(y) :
  ------------------
  |  Branch (285:25): [True: 233, False: 0]
  ------------------
  286|    233|		       STRING_ELT(deparse1line_ex(y, false,
  287|      0|						  DEFAULTDEPARSE | DIGITS17),
  ------------------
  |  | 2086|      0|#define DEFAULTDEPARSE		1089 /* KEEPINTEGER | KEEPNA | NICE_NAMES, used for calls */
  ------------------
              						  DEFAULTDEPARSE | DIGITS17),
  ------------------
  |  | 2082|      0|#define DIGITS17		512
  ------------------
  288|      0|				  0));
  289|    233|	REPROTECT(y = tmp, ypi);
  ------------------
  |  |  367|    233|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
  290|    233|	ny = xlength(y);
  ------------------
  |  | 1049|    233|#define xlength(x)		Rf_xlength(x)
  ------------------
  291|    233|	UNPROTECT(1);
  ------------------
  |  |  358|    233|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  292|    233|    }
  293|       |
  294|  16.9k|    if (isNull(x)) REPROTECT(x = allocVector(INTSXP,0), xpi);
  ------------------
  |  |  956|  16.9k|#define isNull			Rf_isNull
  ------------------
                  if (isNull(x)) REPROTECT(x = allocVector(INTSXP,0), xpi);
  ------------------
  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
  |  Branch (294:9): [True: 0, False: 16.9k]
  ------------------
  295|  16.9k|    if (isNull(y)) REPROTECT(y = allocVector(INTSXP,0), ypi);
  ------------------
  |  |  956|  16.9k|#define isNull			Rf_isNull
  ------------------
                  if (isNull(y)) REPROTECT(y = allocVector(INTSXP,0), ypi);
  ------------------
  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
  |  Branch (295:9): [True: 0, False: 16.9k]
  ------------------
  296|  16.9k|    if (!isVector(x) || !isVector(y))
  ------------------
  |  |  974|  16.9k|#define isVector		Rf_isVector
  ------------------
                  if (!isVector(x) || !isVector(y))
  ------------------
  |  |  974|  16.9k|#define isVector		Rf_isVector
  ------------------
  |  Branch (296:9): [True: 0, False: 16.9k]
  |  Branch (296:25): [True: 0, False: 16.9k]
  ------------------
  297|      0|	errorcall(call,
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
  298|      0|		  _("comparison (%s) is possible only for atomic and list types"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  299|      0|		  PRIMNAME(op));
  ------------------
  |  | 1346|      0|#define PRIMNAME(x)	(R_FunTab[PRIMOFFSET(x)].name)
  ------------------
  300|       |
  301|       |#ifdef previous_R_versions
  302|       |    if (TYPEOF(x) == EXPRSXP || TYPEOF(y) == EXPRSXP)
  303|       |	errorcall(call, _("comparison is not allowed for expressions"));
  304|       |#endif
  305|       |
  306|       |    /* ELSE :  x and y are both atomic or list */
  307|       |
  308|  16.9k|    bool
  309|  16.9k|	xarray = isArray(x),
  ------------------
  |  |  940|  16.9k|#define isArray			Rf_isArray
  ------------------
  310|  16.9k|	yarray = isArray(y),
  ------------------
  |  |  940|  16.9k|#define isArray			Rf_isArray
  ------------------
  311|  16.9k|	xts = isTs(x),
  ------------------
  |  |  967|  16.9k|#define isTs			Rf_isTs
  ------------------
  312|  16.9k|	yts = isTs(y);
  ------------------
  |  |  967|  16.9k|#define isTs			Rf_isTs
  ------------------
  313|  16.9k|    SEXP dims, xnames, ynames;
  314|  16.9k|    if (xarray || yarray) {
  ------------------
  |  Branch (314:9): [True: 2.55k, False: 14.4k]
  |  Branch (314:19): [True: 1.34k, False: 13.0k]
  ------------------
  315|  3.89k|	if (xarray && yarray) {
  ------------------
  |  Branch (315:6): [True: 2.55k, False: 1.34k]
  |  Branch (315:16): [True: 0, False: 2.55k]
  ------------------
  316|      0|	    if (!conformable(x, y))
  ------------------
  |  |  896|      0|#define conformable		Rf_conformable
  ------------------
  |  Branch (316:10): [True: 0, False: 0]
  ------------------
  317|      0|		errorcall(call, _("non-conformable arrays"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              		errorcall(call, _("non-conformable arrays"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  318|      0|	    PROTECT(dims = getAttrib(x, R_DimSymbol));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  319|      0|	}
  320|  3.89k|	else if (xarray && (ny != 0 || nx == 0)) {
  ------------------
  |  Branch (320:11): [True: 2.55k, False: 1.34k]
  |  Branch (320:22): [True: 2.55k, False: 0]
  |  Branch (320:33): [True: 0, False: 0]
  ------------------
  321|  2.55k|	    PROTECT(dims = getAttrib(x, R_DimSymbol));
  ------------------
  |  |  357|  2.55k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  322|  2.55k|	}
  323|  1.34k|	else if (yarray && (nx != 0 || ny == 0)) {
  ------------------
  |  Branch (323:11): [True: 1.34k, False: 0]
  |  Branch (323:22): [True: 1.34k, False: 0]
  |  Branch (323:33): [True: 0, False: 0]
  ------------------
  324|  1.34k|	    PROTECT(dims = getAttrib(y, R_DimSymbol));
  ------------------
  |  |  357|  1.34k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  325|  1.34k|	} else
  326|      0|	    PROTECT(dims = R_NilValue);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  327|       |
  328|  3.89k|	PROTECT(xnames = getAttrib(x, R_DimNamesSymbol));
  ------------------
  |  |  357|  3.89k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  329|  3.89k|	PROTECT(ynames = getAttrib(y, R_DimNamesSymbol));
  ------------------
  |  |  357|  3.89k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  330|  3.89k|    }
  331|  13.0k|    else {
  332|  13.0k|	PROTECT(dims = R_NilValue);
  ------------------
  |  |  357|  13.0k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  333|  13.0k|	PROTECT(xnames = getAttrib(x, R_NamesSymbol));
  ------------------
  |  |  357|  13.0k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  334|  13.0k|	PROTECT(ynames = getAttrib(y, R_NamesSymbol));
  ------------------
  |  |  357|  13.0k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  335|  13.0k|    }
  336|       |
  337|  16.9k|    SEXP klass = NULL, tsp = NULL; // -Wall
  338|  16.9k|    if (xts || yts) {
  ------------------
  |  Branch (338:9): [True: 0, False: 16.9k]
  |  Branch (338:16): [True: 0, False: 16.9k]
  ------------------
  339|      0|	if (xts && yts) {
  ------------------
  |  Branch (339:6): [True: 0, False: 0]
  |  Branch (339:13): [True: 0, False: 0]
  ------------------
  340|       |	    /* could check ts conformance here */
  341|      0|	    PROTECT(tsp = getAttrib(x, R_TspSymbol));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  342|      0|	    PROTECT(klass = getAttrib(x, R_ClassSymbol));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  343|      0|	}
  344|      0|	else if (xts) {
  ------------------
  |  Branch (344:11): [True: 0, False: 0]
  ------------------
  345|      0|	    if (xlength(x) < xlength(y))
  ------------------
  |  | 1049|      0|#define xlength(x)		Rf_xlength(x)
  ------------------
              	    if (xlength(x) < xlength(y))
  ------------------
  |  | 1049|      0|#define xlength(x)		Rf_xlength(x)
  ------------------
  |  Branch (345:10): [True: 0, False: 0]
  ------------------
  346|      0|		ErrorMessage(call, ERROR_TSVEC_MISMATCH);
  ------------------
  |  | 1902|      0|# define ErrorMessage		Rf_ErrorMessage
  ------------------
  347|      0|	    PROTECT(tsp = getAttrib(x, R_TspSymbol));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  348|      0|	    PROTECT(klass = getAttrib(x, R_ClassSymbol));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  349|      0|	}
  350|      0|	else /*(yts)*/ {
  351|      0|	    if (xlength(y) < xlength(x))
  ------------------
  |  | 1049|      0|#define xlength(x)		Rf_xlength(x)
  ------------------
              	    if (xlength(y) < xlength(x))
  ------------------
  |  | 1049|      0|#define xlength(x)		Rf_xlength(x)
  ------------------
  |  Branch (351:10): [True: 0, False: 0]
  ------------------
  352|      0|		ErrorMessage(call, ERROR_TSVEC_MISMATCH);
  ------------------
  |  | 1902|      0|# define ErrorMessage		Rf_ErrorMessage
  ------------------
  353|      0|	    PROTECT(tsp = getAttrib(y, R_TspSymbol));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  354|      0|	    PROTECT(klass = getAttrib(y, R_ClassSymbol));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  355|      0|	}
  356|      0|    }
  357|       |
  358|  16.9k|  if (nx > 0 && ny > 0) {
  ------------------
  |  Branch (358:7): [True: 15.1k, False: 1.82k]
  |  Branch (358:17): [True: 15.1k, False: 0]
  ------------------
  359|  15.1k|	if(((nx > ny) ? nx % ny : ny % nx) != 0) // mismatch
  ------------------
  |  Branch (359:5): [True: 0, False: 15.1k]
  |  Branch (359:6): [True: 2.58k, False: 12.5k]
  ------------------
  360|      0|            warningcall(call, _(
  ------------------
  |  | 2018|      0|# define warningcall		Rf_warningcall
  ------------------
                          warningcall(call, _(
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  361|      0|		"longer object length is not a multiple of shorter object length"));
  362|       |
  363|  15.1k|    if (isString(x) || isString(y)) {
  ------------------
  |  |  966|  15.1k|#define isString		Rf_isString
  ------------------
                  if (isString(x) || isString(y)) {
  ------------------
  |  |  966|  5.91k|#define isString		Rf_isString
  ------------------
  |  Branch (363:9): [True: 9.22k, False: 5.91k]
  |  Branch (363:24): [True: 0, False: 5.91k]
  ------------------
  364|  9.22k|	REPROTECT(x = coerceVector(x, STRSXP), xpi);
  ------------------
  |  |  367|  9.22k|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
  365|  9.22k|	REPROTECT(y = coerceVector(y, STRSXP), ypi);
  ------------------
  |  |  367|  9.22k|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
  366|  9.22k|	x = string_relop((RELOP_TYPE) PRIMVAL(op), x, y);
  ------------------
  |  | 1347|  9.22k|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  367|  9.22k|    }
  368|  5.91k|    else if (isComplex(x) || isComplex(y)) {
  ------------------
  |  |  942|  5.91k|#define isComplex		Rf_isComplex
  ------------------
                  else if (isComplex(x) || isComplex(y)) {
  ------------------
  |  |  942|  5.91k|#define isComplex		Rf_isComplex
  ------------------
  |  Branch (368:14): [True: 0, False: 5.91k]
  |  Branch (368:30): [True: 0, False: 5.91k]
  ------------------
  369|      0|	REPROTECT(x = coerceVector(x, CPLXSXP), xpi);
  ------------------
  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
  370|      0|	REPROTECT(y = coerceVector(y, CPLXSXP), ypi);
  ------------------
  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
  371|      0|	x = complex_relop((RELOP_TYPE) PRIMVAL(op), x, y, call);
  ------------------
  |  | 1347|      0|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  372|      0|    }
  373|  5.91k|    else if ((isNumeric(x) || isLogical(x)) && (isNumeric(y) || isLogical(y))) {
  ------------------
  |  |  957|  5.91k|#define isNumeric		Rf_isNumeric
  ------------------
                  else if ((isNumeric(x) || isLogical(x)) && (isNumeric(y) || isLogical(y))) {
  ------------------
  |  |  952|      0|#define isLogical		Rf_isLogical
  ------------------
                  else if ((isNumeric(x) || isLogical(x)) && (isNumeric(y) || isLogical(y))) {
  ------------------
  |  |  957|  5.91k|#define isNumeric		Rf_isNumeric
  ------------------
                  else if ((isNumeric(x) || isLogical(x)) && (isNumeric(y) || isLogical(y))) {
  ------------------
  |  |  952|      0|#define isLogical		Rf_isLogical
  ------------------
  |  Branch (373:15): [True: 5.91k, False: 0]
  |  Branch (373:31): [True: 0, False: 0]
  |  Branch (373:49): [True: 5.91k, False: 0]
  |  Branch (373:65): [True: 0, False: 0]
  ------------------
  374|  5.91k|        x = numeric_relop((RELOP_TYPE) PRIMVAL(op), x, y);
  ------------------
  |  | 1347|  5.91k|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  375|  5.91k|    } // rest of cases only apply when 'x' or 'y' is raw
  376|      0|    else if (isReal(x) || isReal(y)) {
  ------------------
  |  |  963|      0|#define isReal			Rf_isReal
  ------------------
                  else if (isReal(x) || isReal(y)) {
  ------------------
  |  |  963|      0|#define isReal			Rf_isReal
  ------------------
  |  Branch (376:14): [True: 0, False: 0]
  |  Branch (376:27): [True: 0, False: 0]
  ------------------
  377|      0|	REPROTECT(x = coerceVector(x, REALSXP), xpi);
  ------------------
  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
  378|      0|	REPROTECT(y = coerceVector(y, REALSXP), ypi);
  ------------------
  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
  379|      0|	x = numeric_relop((RELOP_TYPE) PRIMVAL(op), x, y);
  ------------------
  |  | 1347|      0|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  380|      0|    }
  381|      0|    else if (isInteger(x) || isInteger(y)) {
  ------------------
  |  |  949|      0|#define isInteger		Rf_isInteger
  ------------------
                  else if (isInteger(x) || isInteger(y)) {
  ------------------
  |  |  949|      0|#define isInteger		Rf_isInteger
  ------------------
  |  Branch (381:14): [True: 0, False: 0]
  |  Branch (381:30): [True: 0, False: 0]
  ------------------
  382|      0|	REPROTECT(x = coerceVector(x, INTSXP), xpi);
  ------------------
  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
  383|      0|	REPROTECT(y = coerceVector(y, INTSXP), ypi);
  ------------------
  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
  384|      0|	x = numeric_relop((RELOP_TYPE) PRIMVAL(op), x, y);
  ------------------
  |  | 1347|      0|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  385|      0|    }
  386|      0|    else if (isLogical(x) || isLogical(y)) {
  ------------------
  |  |  952|      0|#define isLogical		Rf_isLogical
  ------------------
                  else if (isLogical(x) || isLogical(y)) {
  ------------------
  |  |  952|      0|#define isLogical		Rf_isLogical
  ------------------
  |  Branch (386:14): [True: 0, False: 0]
  |  Branch (386:30): [True: 0, False: 0]
  ------------------
  387|      0|	REPROTECT(x = coerceVector(x, LGLSXP), xpi);
  ------------------
  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
  388|      0|	REPROTECT(y = coerceVector(y, LGLSXP), ypi);
  ------------------
  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
  389|      0|	x = numeric_relop((RELOP_TYPE) PRIMVAL(op), x, y);
  ------------------
  |  | 1347|      0|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  390|      0|    }
  391|      0|    else if (TYPEOF(x) == RAWSXP || TYPEOF(y) == RAWSXP) {
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
                  else if (TYPEOF(x) == RAWSXP || TYPEOF(y) == RAWSXP) {
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (391:14): [True: 0, False: 0]
  |  Branch (391:37): [True: 0, False: 0]
  ------------------
  392|      0|	REPROTECT(x = coerceVector(x, RAWSXP), xpi);
  ------------------
  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
  393|      0|	REPROTECT(y = coerceVector(y, RAWSXP), ypi);
  ------------------
  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
  394|      0|	x = raw_relop((RELOP_TYPE) PRIMVAL(op), x, y);
  ------------------
  |  | 1347|      0|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  395|      0|    } else errorcall(call, _("comparison of these types is not implemented"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
                  } else errorcall(call, _("comparison of these types is not implemented"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  396|  15.1k|  } else { // nx == 0 || ny == 0
  397|  1.82k|	x = allocVector(LGLSXP, 0);
  ------------------
  |  |  875|  1.82k|#define allocVector		Rf_allocVector
  ------------------
              	x = allocVector(LGLSXP, 0);
  ------------------
  |  |  121|  1.82k|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  398|  1.82k|  }
  399|       |
  400|  16.9k|    PROTECT(x);
  ------------------
  |  |  357|  16.9k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  401|  16.9k|    if (dims != R_NilValue) {
  ------------------
  |  Branch (401:9): [True: 3.89k, False: 13.0k]
  ------------------
  402|  3.89k|	setAttrib(x, R_DimSymbol, dims);
  ------------------
  |  | 1027|  3.89k|#define setAttrib		Rf_setAttrib
  ------------------
  403|  3.89k|	if (xnames != R_NilValue)
  ------------------
  |  Branch (403:6): [True: 1.17k, False: 2.72k]
  ------------------
  404|  1.17k|	    setAttrib(x, R_DimNamesSymbol, xnames);
  ------------------
  |  | 1027|  1.17k|#define setAttrib		Rf_setAttrib
  ------------------
  405|  2.72k|	else if (ynames != R_NilValue)
  ------------------
  |  Branch (405:11): [True: 1.01k, False: 1.71k]
  ------------------
  406|  1.01k|	    setAttrib(x, R_DimNamesSymbol, ynames);
  ------------------
  |  | 1027|  1.01k|#define setAttrib		Rf_setAttrib
  ------------------
  407|  3.89k|    }
  408|  13.0k|    else {
  409|  13.0k|	if (xnames != R_NilValue && xlength(x) == xlength(xnames))
  ------------------
  |  | 1049|     30|#define xlength(x)		Rf_xlength(x)
  ------------------
              	if (xnames != R_NilValue && xlength(x) == xlength(xnames))
  ------------------
  |  | 1049|     30|#define xlength(x)		Rf_xlength(x)
  ------------------
  |  Branch (409:6): [True: 30, False: 13.0k]
  |  Branch (409:30): [True: 30, False: 0]
  ------------------
  410|     30|	    setAttrib(x, R_NamesSymbol, xnames);
  ------------------
  |  | 1027|     30|#define setAttrib		Rf_setAttrib
  ------------------
  411|  13.0k|	else if (ynames != R_NilValue && xlength(x) == xlength(ynames))
  ------------------
  |  | 1049|      0|#define xlength(x)		Rf_xlength(x)
  ------------------
              	else if (ynames != R_NilValue && xlength(x) == xlength(ynames))
  ------------------
  |  | 1049|      0|#define xlength(x)		Rf_xlength(x)
  ------------------
  |  Branch (411:11): [True: 0, False: 13.0k]
  |  Branch (411:35): [True: 0, False: 0]
  ------------------
  412|      0|	    setAttrib(x, R_NamesSymbol, ynames);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  413|  13.0k|    }
  414|  16.9k|    if (xts || yts) {
  ------------------
  |  Branch (414:9): [True: 0, False: 16.9k]
  |  Branch (414:16): [True: 0, False: 16.9k]
  ------------------
  415|      0|	setAttrib(x, R_TspSymbol, tsp);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  416|      0|	setAttrib(x, R_ClassSymbol, klass);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  417|      0|	UNPROTECT(2);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  418|      0|    }
  419|       |
  420|  16.9k|    UNPROTECT(6);
  ------------------
  |  |  358|  16.9k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  421|  16.9k|    return x;
  422|  16.9k|}
relop.c:compute_language_relop:
  103|    233|{
  104|    233|    static enum {
  105|    233|	UNINITIALIZED,
  106|    233|	EQONLY,
  107|    233|	IDENTICAL_CALLS,
  108|    233|	IDENTICAL_CALLS_ATTR,
  109|    233|	IDENTICAL,
  110|    233|	ERROR_CALLS,
  111|    233|	ERROR
  112|    233|    } option = UNINITIALIZED;
  113|       |
  114|    233|    if (option == UNINITIALIZED) {
  ------------------
  |  Branch (114:9): [True: 2, False: 231]
  ------------------
  115|      2|	option = EQONLY;
  116|      2|	const char *val = getenv("_R_COMPARE_LANG_OBJECTS");
  117|      2|	if (val != NULL) {
  ------------------
  |  Branch (117:6): [True: 0, False: 2]
  ------------------
  118|      0|	    if (strcmp(val, "eqonly") == 0)
  ------------------
  |  Branch (118:10): [True: 0, False: 0]
  ------------------
  119|      0|		option = EQONLY;
  120|      0|	    else if (strcmp(val, "identical_calls") == 0)
  ------------------
  |  Branch (120:15): [True: 0, False: 0]
  ------------------
  121|      0|		option = IDENTICAL_CALLS;
  122|      0|	    else if (strcmp(val, "identical_calls_attr") == 0)
  ------------------
  |  Branch (122:15): [True: 0, False: 0]
  ------------------
  123|      0|		option = IDENTICAL_CALLS_ATTR;
  124|      0|	    else if (strcmp(val, "identical") == 0)
  ------------------
  |  Branch (124:15): [True: 0, False: 0]
  ------------------
  125|      0|		option = IDENTICAL;
  126|      0|	    else if (strcmp(val, "error_calls") == 0)
  ------------------
  |  Branch (126:15): [True: 0, False: 0]
  ------------------
  127|      0|		option = ERROR_CALLS;
  128|      0|	    else if (strcmp(val, "error") == 0)
  ------------------
  |  Branch (128:15): [True: 0, False: 0]
  ------------------
  129|      0|		option = ERROR;
  130|      0|	}
  131|      2|    }
  132|       |
  133|    233|    switch(option) {
  134|    233|    case EQONLY:
  ------------------
  |  Branch (134:5): [True: 233, False: 0]
  ------------------
  135|    233|	switch(PRIMVAL(op)) {
  ------------------
  |  | 1347|    233|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  136|    233|	case EQOP: return NULL;
  ------------------
  |  Branch (136:2): [True: 233, False: 0]
  ------------------
  137|      0|	case NEOP: return NULL;
  ------------------
  |  Branch (137:2): [True: 0, False: 233]
  ------------------
  138|      0|	default:
  ------------------
  |  Branch (138:2): [True: 0, False: 233]
  ------------------
  139|      0|	    errorcall(call,
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
  140|      0|		      _("comparison (%s) is not possible for language types"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  141|      0|		      PRIMNAME(op));
  ------------------
  |  | 1346|      0|#define PRIMNAME(x)	(R_FunTab[PRIMOFFSET(x)].name)
  ------------------
  142|    233|	}
  143|      0|    case IDENTICAL_CALLS:
  ------------------
  |  Branch (143:5): [True: 0, False: 233]
  ------------------
  144|       |	/* this should reproduce the current behavior of == and != for
  145|       |	   language objects, while signaling errors for <, <=, >, and
  146|       |	   >=. */
  147|      0|	switch(PRIMVAL(op)) {
  ------------------
  |  | 1347|      0|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  148|      0|	case EQOP:
  ------------------
  |  Branch (148:2): [True: 0, False: 0]
  ------------------
  149|      0|	    return compute_lang_equal(x, y) ? R_TrueValue : R_FalseValue;
  ------------------
  |  Branch (149:13): [True: 0, False: 0]
  ------------------
  150|      0|	case NEOP:
  ------------------
  |  Branch (150:2): [True: 0, False: 0]
  ------------------
  151|      0|	    return compute_lang_equal(x, y) ? R_FalseValue : R_TrueValue;
  ------------------
  |  Branch (151:13): [True: 0, False: 0]
  ------------------
  152|      0|	default:
  ------------------
  |  Branch (152:2): [True: 0, False: 0]
  ------------------
  153|      0|	    errorcall(call,
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
  154|      0|		      _("comparison (%s) is not possible for language types"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  155|      0|		      PRIMNAME(op));
  ------------------
  |  | 1346|      0|#define PRIMNAME(x)	(R_FunTab[PRIMOFFSET(x)].name)
  ------------------
  156|      0|	}
  157|      0|    case IDENTICAL_CALLS_ATTR:
  ------------------
  |  Branch (157:5): [True: 0, False: 233]
  ------------------
  158|      0|	if (isSymbol(x) && IS_SCALAR_STRING(y))
  ------------------
  |  |  953|      0|#define isSymbol		Rf_isSymbol
  ------------------
              	if (isSymbol(x) && IS_SCALAR_STRING(y))
  ------------------
  |  |   76|      0|#define IS_SCALAR_STRING(x) (TYPEOF(x) == STRSXP && XLENGTH(x) == 1)
  |  |  ------------------
  |  |  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  |  |  ------------------
  |  |  |  Branch (76:30): [True: 0, False: 0]
  |  |  |  Branch (76:53): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (158:6): [True: 0, False: 0]
  ------------------
  159|      0|	    y = Seql(STRING_ELT(y, 0), PRINTNAME(x)) ? x : R_NilValue;
  ------------------
  |  | 1988|      0|# define Seql			Rf_Seql
  ------------------
  |  Branch (159:10): [True: 0, False: 0]
  ------------------
  160|      0|	else if (isSymbol(y) && IS_SCALAR_STRING(x))
  ------------------
  |  |  953|      0|#define isSymbol		Rf_isSymbol
  ------------------
              	else if (isSymbol(y) && IS_SCALAR_STRING(x))
  ------------------
  |  |   76|      0|#define IS_SCALAR_STRING(x) (TYPEOF(x) == STRSXP && XLENGTH(x) == 1)
  |  |  ------------------
  |  |  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  |  |  ------------------
  |  |  |  Branch (76:30): [True: 0, False: 0]
  |  |  |  Branch (76:53): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (160:11): [True: 0, False: 0]
  ------------------
  161|      0|	    x = Seql(STRING_ELT(x, 0), PRINTNAME(y)) ? y : R_NilValue;
  ------------------
  |  | 1988|      0|# define Seql			Rf_Seql
  ------------------
  |  Branch (161:10): [True: 0, False: 0]
  ------------------
  162|      0|	switch(PRIMVAL(op)) {
  ------------------
  |  | 1347|      0|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  163|      0|	case EQOP:
  ------------------
  |  Branch (163:2): [True: 0, False: 0]
  ------------------
  164|      0|	    return R_compute_identical(x, y, 16) ? R_TrueValue : R_FalseValue;
  ------------------
  |  Branch (164:13): [True: 0, False: 0]
  ------------------
  165|      0|	case NEOP:
  ------------------
  |  Branch (165:2): [True: 0, False: 0]
  ------------------
  166|      0|	    return R_compute_identical(x, y, 16) ? R_FalseValue : R_TrueValue;
  ------------------
  |  Branch (166:13): [True: 0, False: 0]
  ------------------
  167|      0|	default:
  ------------------
  |  Branch (167:2): [True: 0, False: 0]
  ------------------
  168|      0|	    errorcall(call,
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
  169|      0|		      _("comparison (%s) is not possible for language types"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  170|      0|		      PRIMNAME(op));
  ------------------
  |  | 1346|      0|#define PRIMNAME(x)	(R_FunTab[PRIMOFFSET(x)].name)
  ------------------
  171|      0|	}
  172|      0|    case IDENTICAL:
  ------------------
  |  Branch (172:5): [True: 0, False: 233]
  ------------------
  173|      0|	if (SYMBOL_STRING_MATCH(x, y) || SYMBOL_STRING_MATCH(y, x))
  ------------------
  |  |   78|      0|    (isSymbol(x) && IS_SCALAR_STRING(y) && Seql(PRINTNAME(x), STRING_ELT(y, 0)))
  |  |  ------------------
  |  |  |  |  953|      0|#define isSymbol		Rf_isSymbol
  |  |  ------------------
  |  |                   (isSymbol(x) && IS_SCALAR_STRING(y) && Seql(PRINTNAME(x), STRING_ELT(y, 0)))
  |  |  ------------------
  |  |  |  |   76|      0|#define IS_SCALAR_STRING(x) (TYPEOF(x) == STRSXP && XLENGTH(x) == 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (76:30): [True: 0, False: 0]
  |  |  |  |  |  Branch (76:53): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (isSymbol(x) && IS_SCALAR_STRING(y) && Seql(PRINTNAME(x), STRING_ELT(y, 0)))
  |  |  ------------------
  |  |  |  | 1988|      0|# define Seql			Rf_Seql
  |  |  ------------------
  |  |  |  Branch (78:6): [True: 0, False: 0]
  |  |  |  Branch (78:44): [True: 0, False: 0]
  |  |  ------------------
  ------------------
              	if (SYMBOL_STRING_MATCH(x, y) || SYMBOL_STRING_MATCH(y, x))
  ------------------
  |  |   78|      0|    (isSymbol(x) && IS_SCALAR_STRING(y) && Seql(PRINTNAME(x), STRING_ELT(y, 0)))
  |  |  ------------------
  |  |  |  |  953|      0|#define isSymbol		Rf_isSymbol
  |  |  ------------------
  |  |                   (isSymbol(x) && IS_SCALAR_STRING(y) && Seql(PRINTNAME(x), STRING_ELT(y, 0)))
  |  |  ------------------
  |  |  |  |   76|      0|#define IS_SCALAR_STRING(x) (TYPEOF(x) == STRSXP && XLENGTH(x) == 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (76:30): [True: 0, False: 0]
  |  |  |  |  |  Branch (76:53): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (isSymbol(x) && IS_SCALAR_STRING(y) && Seql(PRINTNAME(x), STRING_ELT(y, 0)))
  |  |  ------------------
  |  |  |  | 1988|      0|# define Seql			Rf_Seql
  |  |  ------------------
  |  |  |  Branch (78:6): [True: 0, False: 0]
  |  |  |  Branch (78:44): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  174|       |	    /* identical(x, y) and the default x == y implementation
  175|       |	       would disagree, so signal an error instead */
  176|      0|	    errorcall(call,
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
  177|      0|		      _("comparing this symbol and string pair "
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  178|      0|			"is not supported"));
  179|      0|	switch(PRIMVAL(op)) {
  ------------------
  |  | 1347|      0|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  180|      0|	case EQOP:
  ------------------
  |  Branch (180:2): [True: 0, False: 0]
  ------------------
  181|      0|	    return R_compute_identical(x, y, 16) ? R_TrueValue : R_FalseValue;
  ------------------
  |  Branch (181:13): [True: 0, False: 0]
  ------------------
  182|      0|	case NEOP:
  ------------------
  |  Branch (182:2): [True: 0, False: 0]
  ------------------
  183|      0|	    return R_compute_identical(x, y, 16) ? R_FalseValue : R_TrueValue;
  ------------------
  |  Branch (183:13): [True: 0, False: 0]
  ------------------
  184|      0|	default: errorcall(call,
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
  |  Branch (184:2): [True: 0, False: 0]
  ------------------
  185|      0|			   _("comparison (%s) is not possible for language types"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  186|      0|			   PRIMNAME(op));
  ------------------
  |  | 1346|      0|#define PRIMNAME(x)	(R_FunTab[PRIMOFFSET(x)].name)
  ------------------
  187|      0|	}
  188|      0|    case ERROR_CALLS:
  ------------------
  |  Branch (188:5): [True: 0, False: 233]
  ------------------
  189|      0|	if (TYPEOF(x) == LANGSXP || TYPEOF(y) == LANGSXP)
  ------------------
  |  |  117|      0|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
              	if (TYPEOF(x) == LANGSXP || TYPEOF(y) == LANGSXP)
  ------------------
  |  |  117|      0|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (189:6): [True: 0, False: 0]
  |  Branch (189:30): [True: 0, False: 0]
  ------------------
  190|      0|	    errorcall(call, _("comparison of call objects is not supported"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	    errorcall(call, _("comparison of call objects is not supported"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  191|      0|	return NULL;
  192|      0|    case ERROR:
  ------------------
  |  Branch (192:5): [True: 0, False: 233]
  ------------------
  193|      0|	errorcall(call, _("comparison of language objects is not supported"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("comparison of language objects is not supported"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  194|      0|    default: return NULL;
  ------------------
  |  Branch (194:5): [True: 0, False: 233]
  ------------------
  195|    233|    }
  196|    233|}
relop.c:numeric_relop:
  464|  8.40k|{
  465|  8.40k|    R_xlen_t i, i1, i2, n, n1, n2;
  466|  8.40k|    SEXP ans;
  467|       |
  468|  8.40k|    n1 = XLENGTH(s1);
  469|  8.40k|    n2 = XLENGTH(s2);
  470|  8.40k|    n = (n1 > n2) ? n1 : n2;
  ------------------
  |  Branch (470:9): [True: 5.05k, False: 3.34k]
  ------------------
  471|  8.40k|    PROTECT(s1);
  ------------------
  |  |  357|  8.40k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  472|  8.40k|    PROTECT(s2);
  ------------------
  |  |  357|  8.40k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  473|  8.40k|    ans = allocVector(LGLSXP, n);
  ------------------
  |  |  875|  8.40k|#define allocVector		Rf_allocVector
  ------------------
                  ans = allocVector(LGLSXP, n);
  ------------------
  |  |  121|  8.40k|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  474|       |
  475|  8.40k|    if (isInteger(s1) || isLogical(s1)) {
  ------------------
  |  |  949|  8.40k|#define isInteger		Rf_isInteger
  ------------------
                  if (isInteger(s1) || isLogical(s1)) {
  ------------------
  |  |  952|  6.48k|#define isLogical		Rf_isLogical
  ------------------
  |  Branch (475:9): [True: 1.91k, False: 6.48k]
  |  Branch (475:26): [True: 1.17k, False: 5.30k]
  ------------------
  476|  3.09k|        if (isInteger(s2) || isLogical(s2)) {
  ------------------
  |  |  949|  3.09k|#define isInteger		Rf_isInteger
  ------------------
                      if (isInteger(s2) || isLogical(s2)) {
  ------------------
  |  |  952|  1.17k|#define isLogical		Rf_isLogical
  ------------------
  |  Branch (476:13): [True: 1.91k, False: 1.17k]
  |  Branch (476:30): [True: 1.17k, False: 0]
  ------------------
  477|  3.09k|            NUMERIC_RELOP(int, INTEGER, ISNA_INT, int, INTEGER, ISNA_INT);
  ------------------
  |  |  440|  3.09k|#define NUMERIC_RELOP(type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2) do { \
  |  |  441|  3.09k|    switch (code) {                                                     \
  |  |  ------------------
  |  |  |  Branch (441:13): [True: 3.09k, False: 0]
  |  |  ------------------
  |  |  442|    369|    case EQOP:                                                          \
  |  |  ------------------
  |  |  |  Branch (442:5): [True: 369, False: 2.72k]
  |  |  ------------------
  |  |  443|    369|	NR_HELPER(==, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2); \
  |  |  ------------------
  |  |  |  |  426|    369|#define NR_HELPER(OP, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2) do { \
  |  |  |  |  427|    369|	type1 x1, *px1 = ACCESSOR1(s1);					\
  |  |  |  |  428|    369|	type2 x2, *px2 = ACCESSOR2(s2);					\
  |  |  |  |  429|    369|	int *pa = LOGICAL(ans);						\
  |  |  |  |  430|    369|        MOD_ITERATE2(n, n1, n2, i, i1, i2, {                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |   87|    369|#define MOD_ITERATE2(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |   88|    369|	i = i1 = i2 = 0;					\
  |  |  |  |  |  |   89|    369|	MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|    369|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|  2.66k|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 2.29k, False: 369]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|  2.29k|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 369, False: 1.92k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|  2.29k|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 2.06k, False: 233]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|  2.29k|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|  9.17k|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 2.29k]
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 2.29k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|  2.29k|		}							\
  |  |  |  |  |  |  |  |   85|    369|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 369]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|    369|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (90:14): [Folded, False: 369]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  431|    369|	    x1 = px1[i1];						\
  |  |  |  |  432|    369|	    x2 = px2[i2];						\
  |  |  |  |  433|    369|            if (ISNA1(x1) || ISNA2(x2))                                 \
  |  |  |  |  434|    369|                pa[i] = NA_LOGICAL;					\
  |  |  |  |  435|    369|            else                                                        \
  |  |  |  |  436|    369|                pa[i] = (x1 OP x2);					\
  |  |  |  |  437|    369|        });                                                             \
  |  |  |  |  438|    369|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (438:14): [Folded, False: 369]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  444|    369|        break;                                                          \
  |  |  445|  1.19k|    case NEOP:                                                          \
  |  |  ------------------
  |  |  |  Branch (445:5): [True: 1.19k, False: 1.89k]
  |  |  ------------------
  |  |  446|  1.19k|	NR_HELPER(!=, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2); \
  |  |  ------------------
  |  |  |  |  426|  1.19k|#define NR_HELPER(OP, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2) do { \
  |  |  |  |  427|  1.19k|	type1 x1, *px1 = ACCESSOR1(s1);					\
  |  |  |  |  428|  1.19k|	type2 x2, *px2 = ACCESSOR2(s2);					\
  |  |  |  |  429|  1.19k|	int *pa = LOGICAL(ans);						\
  |  |  |  |  430|  1.19k|        MOD_ITERATE2(n, n1, n2, i, i1, i2, {                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |   87|  1.19k|#define MOD_ITERATE2(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |   88|  1.19k|	i = i1 = i2 = 0;					\
  |  |  |  |  |  |   89|  1.19k|	MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|  1.19k|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|  7.80k|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 6.60k, False: 1.19k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|  6.60k|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 1.19k, False: 5.40k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|  6.60k|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 4.24k, False: 2.35k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|  6.60k|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|  26.4k|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 6.60k]
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 6.60k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|  6.60k|		}							\
  |  |  |  |  |  |  |  |   85|  1.19k|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 1.19k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|  1.19k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (90:14): [Folded, False: 1.19k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  431|  1.19k|	    x1 = px1[i1];						\
  |  |  |  |  432|  1.19k|	    x2 = px2[i2];						\
  |  |  |  |  433|  1.19k|            if (ISNA1(x1) || ISNA2(x2))                                 \
  |  |  |  |  434|  1.19k|                pa[i] = NA_LOGICAL;					\
  |  |  |  |  435|  1.19k|            else                                                        \
  |  |  |  |  436|  1.19k|                pa[i] = (x1 OP x2);					\
  |  |  |  |  437|  1.19k|        });                                                             \
  |  |  |  |  438|  1.19k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (438:14): [Folded, False: 1.19k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  447|  1.19k|        break;                                                          \
  |  |  448|      0|    case LTOP:                                                          \
  |  |  ------------------
  |  |  |  Branch (448:5): [True: 0, False: 3.09k]
  |  |  ------------------
  |  |  449|      0|	NR_HELPER(<, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2); \
  |  |  ------------------
  |  |  |  |  426|      0|#define NR_HELPER(OP, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2) do { \
  |  |  |  |  427|      0|	type1 x1, *px1 = ACCESSOR1(s1);					\
  |  |  |  |  428|      0|	type2 x2, *px2 = ACCESSOR2(s2);					\
  |  |  |  |  429|      0|	int *pa = LOGICAL(ans);						\
  |  |  |  |  430|      0|        MOD_ITERATE2(n, n1, n2, i, i1, i2, {                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|#define MOD_ITERATE2(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |   88|      0|	i = i1 = i2 = 0;					\
  |  |  |  |  |  |   89|      0|	MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|      0|		}							\
  |  |  |  |  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (90:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  431|      0|	    x1 = px1[i1];						\
  |  |  |  |  432|      0|	    x2 = px2[i2];						\
  |  |  |  |  433|      0|            if (ISNA1(x1) || ISNA2(x2))                                 \
  |  |  |  |  434|      0|                pa[i] = NA_LOGICAL;					\
  |  |  |  |  435|      0|            else                                                        \
  |  |  |  |  436|      0|                pa[i] = (x1 OP x2);					\
  |  |  |  |  437|      0|        });                                                             \
  |  |  |  |  438|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (438:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  450|      0|        break;                                                          \
  |  |  451|  1.52k|    case GTOP:                                                          \
  |  |  ------------------
  |  |  |  Branch (451:5): [True: 1.52k, False: 1.57k]
  |  |  ------------------
  |  |  452|  1.52k|	NR_HELPER(>, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2); \
  |  |  ------------------
  |  |  |  |  426|  1.52k|#define NR_HELPER(OP, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2) do { \
  |  |  |  |  427|  1.52k|	type1 x1, *px1 = ACCESSOR1(s1);					\
  |  |  |  |  428|  1.52k|	type2 x2, *px2 = ACCESSOR2(s2);					\
  |  |  |  |  429|  1.52k|	int *pa = LOGICAL(ans);						\
  |  |  |  |  430|  1.52k|        MOD_ITERATE2(n, n1, n2, i, i1, i2, {                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |   87|  1.52k|#define MOD_ITERATE2(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |   88|  1.52k|	i = i1 = i2 = 0;					\
  |  |  |  |  |  |   89|  1.52k|	MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|  1.52k|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|   291k|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 290k, False: 1.52k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|   290k|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 1.52k, False: 288k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|   290k|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 290k, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|   290k|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|  1.16M|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 290k]
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 290k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|   290k|		}							\
  |  |  |  |  |  |  |  |   85|  1.52k|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 1.52k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|  1.52k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (90:14): [Folded, False: 1.52k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  431|  1.52k|	    x1 = px1[i1];						\
  |  |  |  |  432|  1.52k|	    x2 = px2[i2];						\
  |  |  |  |  433|  1.52k|            if (ISNA1(x1) || ISNA2(x2))                                 \
  |  |  |  |  434|  1.52k|                pa[i] = NA_LOGICAL;					\
  |  |  |  |  435|  1.52k|            else                                                        \
  |  |  |  |  436|  1.52k|                pa[i] = (x1 OP x2);					\
  |  |  |  |  437|  1.52k|        });                                                             \
  |  |  |  |  438|  1.52k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (438:14): [Folded, False: 1.52k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  453|  1.52k|        break;                                                          \
  |  |  454|      8|    case LEOP:                                                          \
  |  |  ------------------
  |  |  |  Branch (454:5): [True: 8, False: 3.08k]
  |  |  ------------------
  |  |  455|      8|	NR_HELPER(<=, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2); \
  |  |  ------------------
  |  |  |  |  426|      8|#define NR_HELPER(OP, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2) do { \
  |  |  |  |  427|      8|	type1 x1, *px1 = ACCESSOR1(s1);					\
  |  |  |  |  428|      8|	type2 x2, *px2 = ACCESSOR2(s2);					\
  |  |  |  |  429|      8|	int *pa = LOGICAL(ans);						\
  |  |  |  |  430|      8|        MOD_ITERATE2(n, n1, n2, i, i1, i2, {                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      8|#define MOD_ITERATE2(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |   88|      8|	i = i1 = i2 = 0;					\
  |  |  |  |  |  |   89|      8|	MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|      8|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|     24|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 16, False: 8]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|     16|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 8, False: 8]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|     16|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 16, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|     16|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|     64|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 16]
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 16]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|     16|		}							\
  |  |  |  |  |  |  |  |   85|      8|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 8]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      8|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (90:14): [Folded, False: 8]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  431|      8|	    x1 = px1[i1];						\
  |  |  |  |  432|      8|	    x2 = px2[i2];						\
  |  |  |  |  433|      8|            if (ISNA1(x1) || ISNA2(x2))                                 \
  |  |  |  |  434|      8|                pa[i] = NA_LOGICAL;					\
  |  |  |  |  435|      8|            else                                                        \
  |  |  |  |  436|      8|                pa[i] = (x1 OP x2);					\
  |  |  |  |  437|      8|        });                                                             \
  |  |  |  |  438|      8|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (438:14): [Folded, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  456|      8|        break;                                                          \
  |  |  457|      0|    case GEOP:                                                          \
  |  |  ------------------
  |  |  |  Branch (457:5): [True: 0, False: 3.09k]
  |  |  ------------------
  |  |  458|      0|	NR_HELPER(>=, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2); \
  |  |  ------------------
  |  |  |  |  426|      0|#define NR_HELPER(OP, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2) do { \
  |  |  |  |  427|      0|	type1 x1, *px1 = ACCESSOR1(s1);					\
  |  |  |  |  428|      0|	type2 x2, *px2 = ACCESSOR2(s2);					\
  |  |  |  |  429|      0|	int *pa = LOGICAL(ans);						\
  |  |  |  |  430|      0|        MOD_ITERATE2(n, n1, n2, i, i1, i2, {                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|#define MOD_ITERATE2(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |   88|      0|	i = i1 = i2 = 0;					\
  |  |  |  |  |  |   89|      0|	MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|      0|		}							\
  |  |  |  |  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (90:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  431|      0|	    x1 = px1[i1];						\
  |  |  |  |  432|      0|	    x2 = px2[i2];						\
  |  |  |  |  433|      0|            if (ISNA1(x1) || ISNA2(x2))                                 \
  |  |  |  |  434|      0|                pa[i] = NA_LOGICAL;					\
  |  |  |  |  435|      0|            else                                                        \
  |  |  |  |  436|      0|                pa[i] = (x1 OP x2);					\
  |  |  |  |  437|      0|        });                                                             \
  |  |  |  |  438|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (438:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  459|      0|        break;                                                          \
  |  |  460|  3.09k|    }                                                                   \
  |  |  461|  3.09k|} while(0)
  |  |  ------------------
  |  |  |  Branch (461:9): [Folded, False: 3.09k]
  |  |  ------------------
  ------------------
  478|  3.09k|        } else {
  479|      0|            NUMERIC_RELOP(int, INTEGER, ISNA_INT, double, REAL, ISNAN);
  ------------------
  |  |  440|      0|#define NUMERIC_RELOP(type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2) do { \
  |  |  441|      0|    switch (code) {                                                     \
  |  |  ------------------
  |  |  |  Branch (441:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  442|      0|    case EQOP:                                                          \
  |  |  ------------------
  |  |  |  Branch (442:5): [True: 0, False: 0]
  |  |  ------------------
  |  |  443|      0|	NR_HELPER(==, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2); \
  |  |  ------------------
  |  |  |  |  426|      0|#define NR_HELPER(OP, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2) do { \
  |  |  |  |  427|      0|	type1 x1, *px1 = ACCESSOR1(s1);					\
  |  |  |  |  428|      0|	type2 x2, *px2 = ACCESSOR2(s2);					\
  |  |  |  |  429|      0|	int *pa = LOGICAL(ans);						\
  |  |  |  |  430|      0|        MOD_ITERATE2(n, n1, n2, i, i1, i2, {                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|#define MOD_ITERATE2(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |   88|      0|	i = i1 = i2 = 0;					\
  |  |  |  |  |  |   89|      0|	MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|      0|		}							\
  |  |  |  |  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (90:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  431|      0|	    x1 = px1[i1];						\
  |  |  |  |  432|      0|	    x2 = px2[i2];						\
  |  |  |  |  433|      0|            if (ISNA1(x1) || ISNA2(x2))                                 \
  |  |  |  |  434|      0|                pa[i] = NA_LOGICAL;					\
  |  |  |  |  435|      0|            else                                                        \
  |  |  |  |  436|      0|                pa[i] = (x1 OP x2);					\
  |  |  |  |  437|      0|        });                                                             \
  |  |  |  |  438|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (438:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  444|      0|        break;                                                          \
  |  |  445|      0|    case NEOP:                                                          \
  |  |  ------------------
  |  |  |  Branch (445:5): [True: 0, False: 0]
  |  |  ------------------
  |  |  446|      0|	NR_HELPER(!=, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2); \
  |  |  ------------------
  |  |  |  |  426|      0|#define NR_HELPER(OP, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2) do { \
  |  |  |  |  427|      0|	type1 x1, *px1 = ACCESSOR1(s1);					\
  |  |  |  |  428|      0|	type2 x2, *px2 = ACCESSOR2(s2);					\
  |  |  |  |  429|      0|	int *pa = LOGICAL(ans);						\
  |  |  |  |  430|      0|        MOD_ITERATE2(n, n1, n2, i, i1, i2, {                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|#define MOD_ITERATE2(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |   88|      0|	i = i1 = i2 = 0;					\
  |  |  |  |  |  |   89|      0|	MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|      0|		}							\
  |  |  |  |  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (90:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  431|      0|	    x1 = px1[i1];						\
  |  |  |  |  432|      0|	    x2 = px2[i2];						\
  |  |  |  |  433|      0|            if (ISNA1(x1) || ISNA2(x2))                                 \
  |  |  |  |  434|      0|                pa[i] = NA_LOGICAL;					\
  |  |  |  |  435|      0|            else                                                        \
  |  |  |  |  436|      0|                pa[i] = (x1 OP x2);					\
  |  |  |  |  437|      0|        });                                                             \
  |  |  |  |  438|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (438:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  447|      0|        break;                                                          \
  |  |  448|      0|    case LTOP:                                                          \
  |  |  ------------------
  |  |  |  Branch (448:5): [True: 0, False: 0]
  |  |  ------------------
  |  |  449|      0|	NR_HELPER(<, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2); \
  |  |  ------------------
  |  |  |  |  426|      0|#define NR_HELPER(OP, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2) do { \
  |  |  |  |  427|      0|	type1 x1, *px1 = ACCESSOR1(s1);					\
  |  |  |  |  428|      0|	type2 x2, *px2 = ACCESSOR2(s2);					\
  |  |  |  |  429|      0|	int *pa = LOGICAL(ans);						\
  |  |  |  |  430|      0|        MOD_ITERATE2(n, n1, n2, i, i1, i2, {                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|#define MOD_ITERATE2(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |   88|      0|	i = i1 = i2 = 0;					\
  |  |  |  |  |  |   89|      0|	MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|      0|		}							\
  |  |  |  |  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (90:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  431|      0|	    x1 = px1[i1];						\
  |  |  |  |  432|      0|	    x2 = px2[i2];						\
  |  |  |  |  433|      0|            if (ISNA1(x1) || ISNA2(x2))                                 \
  |  |  |  |  434|      0|                pa[i] = NA_LOGICAL;					\
  |  |  |  |  435|      0|            else                                                        \
  |  |  |  |  436|      0|                pa[i] = (x1 OP x2);					\
  |  |  |  |  437|      0|        });                                                             \
  |  |  |  |  438|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (438:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  450|      0|        break;                                                          \
  |  |  451|      0|    case GTOP:                                                          \
  |  |  ------------------
  |  |  |  Branch (451:5): [True: 0, False: 0]
  |  |  ------------------
  |  |  452|      0|	NR_HELPER(>, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2); \
  |  |  ------------------
  |  |  |  |  426|      0|#define NR_HELPER(OP, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2) do { \
  |  |  |  |  427|      0|	type1 x1, *px1 = ACCESSOR1(s1);					\
  |  |  |  |  428|      0|	type2 x2, *px2 = ACCESSOR2(s2);					\
  |  |  |  |  429|      0|	int *pa = LOGICAL(ans);						\
  |  |  |  |  430|      0|        MOD_ITERATE2(n, n1, n2, i, i1, i2, {                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|#define MOD_ITERATE2(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |   88|      0|	i = i1 = i2 = 0;					\
  |  |  |  |  |  |   89|      0|	MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|      0|		}							\
  |  |  |  |  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (90:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  431|      0|	    x1 = px1[i1];						\
  |  |  |  |  432|      0|	    x2 = px2[i2];						\
  |  |  |  |  433|      0|            if (ISNA1(x1) || ISNA2(x2))                                 \
  |  |  |  |  434|      0|                pa[i] = NA_LOGICAL;					\
  |  |  |  |  435|      0|            else                                                        \
  |  |  |  |  436|      0|                pa[i] = (x1 OP x2);					\
  |  |  |  |  437|      0|        });                                                             \
  |  |  |  |  438|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (438:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  453|      0|        break;                                                          \
  |  |  454|      0|    case LEOP:                                                          \
  |  |  ------------------
  |  |  |  Branch (454:5): [True: 0, False: 0]
  |  |  ------------------
  |  |  455|      0|	NR_HELPER(<=, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2); \
  |  |  ------------------
  |  |  |  |  426|      0|#define NR_HELPER(OP, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2) do { \
  |  |  |  |  427|      0|	type1 x1, *px1 = ACCESSOR1(s1);					\
  |  |  |  |  428|      0|	type2 x2, *px2 = ACCESSOR2(s2);					\
  |  |  |  |  429|      0|	int *pa = LOGICAL(ans);						\
  |  |  |  |  430|      0|        MOD_ITERATE2(n, n1, n2, i, i1, i2, {                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|#define MOD_ITERATE2(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |   88|      0|	i = i1 = i2 = 0;					\
  |  |  |  |  |  |   89|      0|	MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|      0|		}							\
  |  |  |  |  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (90:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  431|      0|	    x1 = px1[i1];						\
  |  |  |  |  432|      0|	    x2 = px2[i2];						\
  |  |  |  |  433|      0|            if (ISNA1(x1) || ISNA2(x2))                                 \
  |  |  |  |  434|      0|                pa[i] = NA_LOGICAL;					\
  |  |  |  |  435|      0|            else                                                        \
  |  |  |  |  436|      0|                pa[i] = (x1 OP x2);					\
  |  |  |  |  437|      0|        });                                                             \
  |  |  |  |  438|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (438:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  456|      0|        break;                                                          \
  |  |  457|      0|    case GEOP:                                                          \
  |  |  ------------------
  |  |  |  Branch (457:5): [True: 0, False: 0]
  |  |  ------------------
  |  |  458|      0|	NR_HELPER(>=, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2); \
  |  |  ------------------
  |  |  |  |  426|      0|#define NR_HELPER(OP, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2) do { \
  |  |  |  |  427|      0|	type1 x1, *px1 = ACCESSOR1(s1);					\
  |  |  |  |  428|      0|	type2 x2, *px2 = ACCESSOR2(s2);					\
  |  |  |  |  429|      0|	int *pa = LOGICAL(ans);						\
  |  |  |  |  430|      0|        MOD_ITERATE2(n, n1, n2, i, i1, i2, {                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|#define MOD_ITERATE2(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |   88|      0|	i = i1 = i2 = 0;					\
  |  |  |  |  |  |   89|      0|	MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|      0|		}							\
  |  |  |  |  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (90:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  431|      0|	    x1 = px1[i1];						\
  |  |  |  |  432|      0|	    x2 = px2[i2];						\
  |  |  |  |  433|      0|            if (ISNA1(x1) || ISNA2(x2))                                 \
  |  |  |  |  434|      0|                pa[i] = NA_LOGICAL;					\
  |  |  |  |  435|      0|            else                                                        \
  |  |  |  |  436|      0|                pa[i] = (x1 OP x2);					\
  |  |  |  |  437|      0|        });                                                             \
  |  |  |  |  438|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (438:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  459|      0|        break;                                                          \
  |  |  460|      0|    }                                                                   \
  |  |  461|      0|} while(0)
  |  |  ------------------
  |  |  |  Branch (461:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
  480|      0|        }
  481|  5.30k|    } else if (isInteger(s2) || isLogical(s2)) {
  ------------------
  |  |  949|  5.30k|#define isInteger		Rf_isInteger
  ------------------
                  } else if (isInteger(s2) || isLogical(s2)) {
  ------------------
  |  |  952|  5.30k|#define isLogical		Rf_isLogical
  ------------------
  |  Branch (481:16): [True: 0, False: 5.30k]
  |  Branch (481:33): [True: 0, False: 5.30k]
  ------------------
  482|      0|        NUMERIC_RELOP(double, REAL, ISNAN, int, INTEGER, ISNA_INT);
  ------------------
  |  |  440|      0|#define NUMERIC_RELOP(type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2) do { \
  |  |  441|      0|    switch (code) {                                                     \
  |  |  ------------------
  |  |  |  Branch (441:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  442|      0|    case EQOP:                                                          \
  |  |  ------------------
  |  |  |  Branch (442:5): [True: 0, False: 0]
  |  |  ------------------
  |  |  443|      0|	NR_HELPER(==, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2); \
  |  |  ------------------
  |  |  |  |  426|      0|#define NR_HELPER(OP, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2) do { \
  |  |  |  |  427|      0|	type1 x1, *px1 = ACCESSOR1(s1);					\
  |  |  |  |  428|      0|	type2 x2, *px2 = ACCESSOR2(s2);					\
  |  |  |  |  429|      0|	int *pa = LOGICAL(ans);						\
  |  |  |  |  430|      0|        MOD_ITERATE2(n, n1, n2, i, i1, i2, {                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|#define MOD_ITERATE2(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |   88|      0|	i = i1 = i2 = 0;					\
  |  |  |  |  |  |   89|      0|	MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|      0|		}							\
  |  |  |  |  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (90:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  431|      0|	    x1 = px1[i1];						\
  |  |  |  |  432|      0|	    x2 = px2[i2];						\
  |  |  |  |  433|      0|            if (ISNA1(x1) || ISNA2(x2))                                 \
  |  |  |  |  434|      0|                pa[i] = NA_LOGICAL;					\
  |  |  |  |  435|      0|            else                                                        \
  |  |  |  |  436|      0|                pa[i] = (x1 OP x2);					\
  |  |  |  |  437|      0|        });                                                             \
  |  |  |  |  438|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (438:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  444|      0|        break;                                                          \
  |  |  445|      0|    case NEOP:                                                          \
  |  |  ------------------
  |  |  |  Branch (445:5): [True: 0, False: 0]
  |  |  ------------------
  |  |  446|      0|	NR_HELPER(!=, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2); \
  |  |  ------------------
  |  |  |  |  426|      0|#define NR_HELPER(OP, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2) do { \
  |  |  |  |  427|      0|	type1 x1, *px1 = ACCESSOR1(s1);					\
  |  |  |  |  428|      0|	type2 x2, *px2 = ACCESSOR2(s2);					\
  |  |  |  |  429|      0|	int *pa = LOGICAL(ans);						\
  |  |  |  |  430|      0|        MOD_ITERATE2(n, n1, n2, i, i1, i2, {                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|#define MOD_ITERATE2(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |   88|      0|	i = i1 = i2 = 0;					\
  |  |  |  |  |  |   89|      0|	MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|      0|		}							\
  |  |  |  |  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (90:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  431|      0|	    x1 = px1[i1];						\
  |  |  |  |  432|      0|	    x2 = px2[i2];						\
  |  |  |  |  433|      0|            if (ISNA1(x1) || ISNA2(x2))                                 \
  |  |  |  |  434|      0|                pa[i] = NA_LOGICAL;					\
  |  |  |  |  435|      0|            else                                                        \
  |  |  |  |  436|      0|                pa[i] = (x1 OP x2);					\
  |  |  |  |  437|      0|        });                                                             \
  |  |  |  |  438|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (438:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  447|      0|        break;                                                          \
  |  |  448|      0|    case LTOP:                                                          \
  |  |  ------------------
  |  |  |  Branch (448:5): [True: 0, False: 0]
  |  |  ------------------
  |  |  449|      0|	NR_HELPER(<, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2); \
  |  |  ------------------
  |  |  |  |  426|      0|#define NR_HELPER(OP, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2) do { \
  |  |  |  |  427|      0|	type1 x1, *px1 = ACCESSOR1(s1);					\
  |  |  |  |  428|      0|	type2 x2, *px2 = ACCESSOR2(s2);					\
  |  |  |  |  429|      0|	int *pa = LOGICAL(ans);						\
  |  |  |  |  430|      0|        MOD_ITERATE2(n, n1, n2, i, i1, i2, {                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|#define MOD_ITERATE2(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |   88|      0|	i = i1 = i2 = 0;					\
  |  |  |  |  |  |   89|      0|	MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|      0|		}							\
  |  |  |  |  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (90:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  431|      0|	    x1 = px1[i1];						\
  |  |  |  |  432|      0|	    x2 = px2[i2];						\
  |  |  |  |  433|      0|            if (ISNA1(x1) || ISNA2(x2))                                 \
  |  |  |  |  434|      0|                pa[i] = NA_LOGICAL;					\
  |  |  |  |  435|      0|            else                                                        \
  |  |  |  |  436|      0|                pa[i] = (x1 OP x2);					\
  |  |  |  |  437|      0|        });                                                             \
  |  |  |  |  438|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (438:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  450|      0|        break;                                                          \
  |  |  451|      0|    case GTOP:                                                          \
  |  |  ------------------
  |  |  |  Branch (451:5): [True: 0, False: 0]
  |  |  ------------------
  |  |  452|      0|	NR_HELPER(>, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2); \
  |  |  ------------------
  |  |  |  |  426|      0|#define NR_HELPER(OP, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2) do { \
  |  |  |  |  427|      0|	type1 x1, *px1 = ACCESSOR1(s1);					\
  |  |  |  |  428|      0|	type2 x2, *px2 = ACCESSOR2(s2);					\
  |  |  |  |  429|      0|	int *pa = LOGICAL(ans);						\
  |  |  |  |  430|      0|        MOD_ITERATE2(n, n1, n2, i, i1, i2, {                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|#define MOD_ITERATE2(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |   88|      0|	i = i1 = i2 = 0;					\
  |  |  |  |  |  |   89|      0|	MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|      0|		}							\
  |  |  |  |  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (90:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  431|      0|	    x1 = px1[i1];						\
  |  |  |  |  432|      0|	    x2 = px2[i2];						\
  |  |  |  |  433|      0|            if (ISNA1(x1) || ISNA2(x2))                                 \
  |  |  |  |  434|      0|                pa[i] = NA_LOGICAL;					\
  |  |  |  |  435|      0|            else                                                        \
  |  |  |  |  436|      0|                pa[i] = (x1 OP x2);					\
  |  |  |  |  437|      0|        });                                                             \
  |  |  |  |  438|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (438:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  453|      0|        break;                                                          \
  |  |  454|      0|    case LEOP:                                                          \
  |  |  ------------------
  |  |  |  Branch (454:5): [True: 0, False: 0]
  |  |  ------------------
  |  |  455|      0|	NR_HELPER(<=, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2); \
  |  |  ------------------
  |  |  |  |  426|      0|#define NR_HELPER(OP, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2) do { \
  |  |  |  |  427|      0|	type1 x1, *px1 = ACCESSOR1(s1);					\
  |  |  |  |  428|      0|	type2 x2, *px2 = ACCESSOR2(s2);					\
  |  |  |  |  429|      0|	int *pa = LOGICAL(ans);						\
  |  |  |  |  430|      0|        MOD_ITERATE2(n, n1, n2, i, i1, i2, {                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|#define MOD_ITERATE2(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |   88|      0|	i = i1 = i2 = 0;					\
  |  |  |  |  |  |   89|      0|	MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|      0|		}							\
  |  |  |  |  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (90:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  431|      0|	    x1 = px1[i1];						\
  |  |  |  |  432|      0|	    x2 = px2[i2];						\
  |  |  |  |  433|      0|            if (ISNA1(x1) || ISNA2(x2))                                 \
  |  |  |  |  434|      0|                pa[i] = NA_LOGICAL;					\
  |  |  |  |  435|      0|            else                                                        \
  |  |  |  |  436|      0|                pa[i] = (x1 OP x2);					\
  |  |  |  |  437|      0|        });                                                             \
  |  |  |  |  438|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (438:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  456|      0|        break;                                                          \
  |  |  457|      0|    case GEOP:                                                          \
  |  |  ------------------
  |  |  |  Branch (457:5): [True: 0, False: 0]
  |  |  ------------------
  |  |  458|      0|	NR_HELPER(>=, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2); \
  |  |  ------------------
  |  |  |  |  426|      0|#define NR_HELPER(OP, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2) do { \
  |  |  |  |  427|      0|	type1 x1, *px1 = ACCESSOR1(s1);					\
  |  |  |  |  428|      0|	type2 x2, *px2 = ACCESSOR2(s2);					\
  |  |  |  |  429|      0|	int *pa = LOGICAL(ans);						\
  |  |  |  |  430|      0|        MOD_ITERATE2(n, n1, n2, i, i1, i2, {                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|#define MOD_ITERATE2(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |   88|      0|	i = i1 = i2 = 0;					\
  |  |  |  |  |  |   89|      0|	MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|      0|		}							\
  |  |  |  |  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (90:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  431|      0|	    x1 = px1[i1];						\
  |  |  |  |  432|      0|	    x2 = px2[i2];						\
  |  |  |  |  433|      0|            if (ISNA1(x1) || ISNA2(x2))                                 \
  |  |  |  |  434|      0|                pa[i] = NA_LOGICAL;					\
  |  |  |  |  435|      0|            else                                                        \
  |  |  |  |  436|      0|                pa[i] = (x1 OP x2);					\
  |  |  |  |  437|      0|        });                                                             \
  |  |  |  |  438|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (438:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  459|      0|        break;                                                          \
  |  |  460|      0|    }                                                                   \
  |  |  461|      0|} while(0)
  |  |  ------------------
  |  |  |  Branch (461:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
  483|  5.30k|    } else {
  484|  5.30k|        NUMERIC_RELOP(double, REAL, ISNAN, double, REAL, ISNAN);
  ------------------
  |  |  440|  5.30k|#define NUMERIC_RELOP(type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2) do { \
  |  |  441|  5.30k|    switch (code) {                                                     \
  |  |  ------------------
  |  |  |  Branch (441:13): [True: 5.30k, False: 0]
  |  |  ------------------
  |  |  442|    589|    case EQOP:                                                          \
  |  |  ------------------
  |  |  |  Branch (442:5): [True: 589, False: 4.71k]
  |  |  ------------------
  |  |  443|    589|	NR_HELPER(==, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2); \
  |  |  ------------------
  |  |  |  |  426|    589|#define NR_HELPER(OP, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2) do { \
  |  |  |  |  427|    589|	type1 x1, *px1 = ACCESSOR1(s1);					\
  |  |  |  |  428|    589|	type2 x2, *px2 = ACCESSOR2(s2);					\
  |  |  |  |  429|    589|	int *pa = LOGICAL(ans);						\
  |  |  |  |  430|    589|        MOD_ITERATE2(n, n1, n2, i, i1, i2, {                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |   87|    589|#define MOD_ITERATE2(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |   88|    589|	i = i1 = i2 = 0;					\
  |  |  |  |  |  |   89|    589|	MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|    589|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|  2.35k|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 1.76k, False: 589]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|  1.76k|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 589, False: 1.17k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|  1.76k|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 589, False: 1.17k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|  1.76k|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|  7.06k|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 1.76k]
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 1.76k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|  1.76k|		}							\
  |  |  |  |  |  |  |  |   85|    589|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 589]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|    589|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (90:14): [Folded, False: 589]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  431|    589|	    x1 = px1[i1];						\
  |  |  |  |  432|    589|	    x2 = px2[i2];						\
  |  |  |  |  433|    589|            if (ISNA1(x1) || ISNA2(x2))                                 \
  |  |  |  |  434|    589|                pa[i] = NA_LOGICAL;					\
  |  |  |  |  435|    589|            else                                                        \
  |  |  |  |  436|    589|                pa[i] = (x1 OP x2);					\
  |  |  |  |  437|    589|        });                                                             \
  |  |  |  |  438|    589|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (438:14): [Folded, False: 589]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  444|    589|        break;                                                          \
  |  |  445|      0|    case NEOP:                                                          \
  |  |  ------------------
  |  |  |  Branch (445:5): [True: 0, False: 5.30k]
  |  |  ------------------
  |  |  446|      0|	NR_HELPER(!=, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2); \
  |  |  ------------------
  |  |  |  |  426|      0|#define NR_HELPER(OP, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2) do { \
  |  |  |  |  427|      0|	type1 x1, *px1 = ACCESSOR1(s1);					\
  |  |  |  |  428|      0|	type2 x2, *px2 = ACCESSOR2(s2);					\
  |  |  |  |  429|      0|	int *pa = LOGICAL(ans);						\
  |  |  |  |  430|      0|        MOD_ITERATE2(n, n1, n2, i, i1, i2, {                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|#define MOD_ITERATE2(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |   88|      0|	i = i1 = i2 = 0;					\
  |  |  |  |  |  |   89|      0|	MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|      0|		}							\
  |  |  |  |  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (90:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  431|      0|	    x1 = px1[i1];						\
  |  |  |  |  432|      0|	    x2 = px2[i2];						\
  |  |  |  |  433|      0|            if (ISNA1(x1) || ISNA2(x2))                                 \
  |  |  |  |  434|      0|                pa[i] = NA_LOGICAL;					\
  |  |  |  |  435|      0|            else                                                        \
  |  |  |  |  436|      0|                pa[i] = (x1 OP x2);					\
  |  |  |  |  437|      0|        });                                                             \
  |  |  |  |  438|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (438:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  447|      0|        break;                                                          \
  |  |  448|    750|    case LTOP:                                                          \
  |  |  ------------------
  |  |  |  Branch (448:5): [True: 750, False: 4.55k]
  |  |  ------------------
  |  |  449|    750|	NR_HELPER(<, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2); \
  |  |  ------------------
  |  |  |  |  426|    750|#define NR_HELPER(OP, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2) do { \
  |  |  |  |  427|    750|	type1 x1, *px1 = ACCESSOR1(s1);					\
  |  |  |  |  428|    750|	type2 x2, *px2 = ACCESSOR2(s2);					\
  |  |  |  |  429|    750|	int *pa = LOGICAL(ans);						\
  |  |  |  |  430|    750|        MOD_ITERATE2(n, n1, n2, i, i1, i2, {                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |   87|    750|#define MOD_ITERATE2(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |   88|    750|	i = i1 = i2 = 0;					\
  |  |  |  |  |  |   89|    750|	MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|    750|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|   157k|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 157k, False: 750]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|   157k|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 750, False: 156k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|   157k|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 157k, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|   157k|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|   628k|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 157k]
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 157k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|   157k|		}							\
  |  |  |  |  |  |  |  |   85|    750|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 750]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|    750|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (90:14): [Folded, False: 750]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  431|    750|	    x1 = px1[i1];						\
  |  |  |  |  432|    750|	    x2 = px2[i2];						\
  |  |  |  |  433|    750|            if (ISNA1(x1) || ISNA2(x2))                                 \
  |  |  |  |  434|    750|                pa[i] = NA_LOGICAL;					\
  |  |  |  |  435|    750|            else                                                        \
  |  |  |  |  436|    750|                pa[i] = (x1 OP x2);					\
  |  |  |  |  437|    750|        });                                                             \
  |  |  |  |  438|    750|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (438:14): [Folded, False: 750]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  450|    750|        break;                                                          \
  |  |  451|  2.85k|    case GTOP:                                                          \
  |  |  ------------------
  |  |  |  Branch (451:5): [True: 2.85k, False: 2.44k]
  |  |  ------------------
  |  |  452|  2.85k|	NR_HELPER(>, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2); \
  |  |  ------------------
  |  |  |  |  426|  2.85k|#define NR_HELPER(OP, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2) do { \
  |  |  |  |  427|  2.85k|	type1 x1, *px1 = ACCESSOR1(s1);					\
  |  |  |  |  428|  2.85k|	type2 x2, *px2 = ACCESSOR2(s2);					\
  |  |  |  |  429|  2.85k|	int *pa = LOGICAL(ans);						\
  |  |  |  |  430|  2.85k|        MOD_ITERATE2(n, n1, n2, i, i1, i2, {                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |   87|  2.85k|#define MOD_ITERATE2(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |   88|  2.85k|	i = i1 = i2 = 0;					\
  |  |  |  |  |  |   89|  2.85k|	MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|  2.85k|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|  2.49M|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 2.49M, False: 2.85k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|  2.49M|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 1.55M, False: 940k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|  2.49M|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 943k, False: 1.54M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|  2.49M|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|  9.81M|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 152k, False: 2.33M]
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 421k, False: 1.91M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|  2.49M|		}							\
  |  |  |  |  |  |  |  |   85|  2.85k|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 2.85k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|  2.85k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (90:14): [Folded, False: 2.85k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  431|  2.85k|	    x1 = px1[i1];						\
  |  |  |  |  432|  2.85k|	    x2 = px2[i2];						\
  |  |  |  |  433|  2.85k|            if (ISNA1(x1) || ISNA2(x2))                                 \
  |  |  |  |  434|  2.85k|                pa[i] = NA_LOGICAL;					\
  |  |  |  |  435|  2.85k|            else                                                        \
  |  |  |  |  436|  2.85k|                pa[i] = (x1 OP x2);					\
  |  |  |  |  437|  2.85k|        });                                                             \
  |  |  |  |  438|  2.85k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (438:14): [Folded, False: 2.85k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  453|  2.85k|        break;                                                          \
  |  |  454|  1.10k|    case LEOP:                                                          \
  |  |  ------------------
  |  |  |  Branch (454:5): [True: 1.10k, False: 4.19k]
  |  |  ------------------
  |  |  455|  1.10k|	NR_HELPER(<=, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2); \
  |  |  ------------------
  |  |  |  |  426|  1.10k|#define NR_HELPER(OP, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2) do { \
  |  |  |  |  427|  1.10k|	type1 x1, *px1 = ACCESSOR1(s1);					\
  |  |  |  |  428|  1.10k|	type2 x2, *px2 = ACCESSOR2(s2);					\
  |  |  |  |  429|  1.10k|	int *pa = LOGICAL(ans);						\
  |  |  |  |  430|  1.10k|        MOD_ITERATE2(n, n1, n2, i, i1, i2, {                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |   87|  1.10k|#define MOD_ITERATE2(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |   88|  1.10k|	i = i1 = i2 = 0;					\
  |  |  |  |  |  |   89|  1.10k|	MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|  1.10k|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|   160k|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 159k, False: 1.10k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|   159k|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 1.10k, False: 158k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|   159k|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 159k, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|   159k|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|   639k|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 159k]
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 159k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|   159k|		}							\
  |  |  |  |  |  |  |  |   85|  1.10k|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 1.10k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|  1.10k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (90:14): [Folded, False: 1.10k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  431|  1.10k|	    x1 = px1[i1];						\
  |  |  |  |  432|  1.10k|	    x2 = px2[i2];						\
  |  |  |  |  433|  1.10k|            if (ISNA1(x1) || ISNA2(x2))                                 \
  |  |  |  |  434|  1.10k|                pa[i] = NA_LOGICAL;					\
  |  |  |  |  435|  1.10k|            else                                                        \
  |  |  |  |  436|  1.10k|                pa[i] = (x1 OP x2);					\
  |  |  |  |  437|  1.10k|        });                                                             \
  |  |  |  |  438|  1.10k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (438:14): [Folded, False: 1.10k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  456|  1.10k|        break;                                                          \
  |  |  457|      0|    case GEOP:                                                          \
  |  |  ------------------
  |  |  |  Branch (457:5): [True: 0, False: 5.30k]
  |  |  ------------------
  |  |  458|      0|	NR_HELPER(>=, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2); \
  |  |  ------------------
  |  |  |  |  426|      0|#define NR_HELPER(OP, type1, ACCESSOR1, ISNA1, type2, ACCESSOR2, ISNA2) do { \
  |  |  |  |  427|      0|	type1 x1, *px1 = ACCESSOR1(s1);					\
  |  |  |  |  428|      0|	type2 x2, *px2 = ACCESSOR2(s2);					\
  |  |  |  |  429|      0|	int *pa = LOGICAL(ans);						\
  |  |  |  |  430|      0|        MOD_ITERATE2(n, n1, n2, i, i1, i2, {                            \
  |  |  |  |  ------------------
  |  |  |  |  |  |   87|      0|#define MOD_ITERATE2(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |   88|      0|	i = i1 = i2 = 0;					\
  |  |  |  |  |  |   89|      0|	MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body);	\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|      0|		}							\
  |  |  |  |  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (90:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  431|      0|	    x1 = px1[i1];						\
  |  |  |  |  432|      0|	    x2 = px2[i2];						\
  |  |  |  |  433|      0|            if (ISNA1(x1) || ISNA2(x2))                                 \
  |  |  |  |  434|      0|                pa[i] = NA_LOGICAL;					\
  |  |  |  |  435|      0|            else                                                        \
  |  |  |  |  436|      0|                pa[i] = (x1 OP x2);					\
  |  |  |  |  437|      0|        });                                                             \
  |  |  |  |  438|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (438:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  459|      0|        break;                                                          \
  |  |  460|  5.30k|    }                                                                   \
  |  |  461|  5.30k|} while(0)
  |  |  ------------------
  |  |  |  Branch (461:9): [Folded, False: 5.30k]
  |  |  ------------------
  ------------------
  485|  5.30k|    }
  486|       |
  487|  8.40k|    UNPROTECT(2);
  ------------------
  |  |  358|  8.40k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  488|  8.40k|    return ans;
  489|  8.40k|}
relop.c:string_relop:
  549|  9.22k|{
  550|  9.22k|    R_xlen_t i, n, n1, n2, res, i1, i2;
  551|  9.22k|    SEXP ans, c1, c2;
  552|  9.22k|    const void *vmax = vmaxget(); // for Scollate
  553|       |
  554|  9.22k|    n1 = XLENGTH(s1);
  555|  9.22k|    n2 = XLENGTH(s2);
  556|  9.22k|    n = (n1 > n2) ? n1 : n2;
  ------------------
  |  Branch (556:9): [True: 12, False: 9.20k]
  ------------------
  557|  9.22k|    PROTECT(s1);
  ------------------
  |  |  357|  9.22k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  558|  9.22k|    PROTECT(s2);
  ------------------
  |  |  357|  9.22k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  559|  9.22k|    PROTECT(ans = allocVector(LGLSXP, n));
  ------------------
  |  |  357|  9.22k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  560|  9.22k|    int *pa = LOGICAL(ans);
  561|       |
  562|  9.22k|    switch (code) {
  ------------------
  |  Branch (562:13): [True: 9.22k, False: 0]
  ------------------
  563|  5.42k|    case EQOP:
  ------------------
  |  Branch (563:5): [True: 5.42k, False: 3.79k]
  ------------------
  564|  5.42k|	MOD_ITERATE2(n, n1, n2, i, i1, i2, {
  ------------------
  |  |   87|  5.42k|#define MOD_ITERATE2(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |   88|  5.42k|	i = i1 = i2 = 0;					\
  |  |   89|  5.42k|	MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body);	\
  |  |  ------------------
  |  |  |  |   78|  5.42k|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |   79|  10.8k|	for (; i < n;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (79:9): [True: 5.42k, False: 5.42k]
  |  |  |  |  ------------------
  |  |  |  |   80|  5.42k|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (80:12): [True: 5.42k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   81|  5.42k|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (81:9): [True: 5.42k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   82|  5.42k|		 ++i) {							\
  |  |  |  |   83|  32.5k|	    loop_body							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (83:6): [True: 0, False: 5.42k]
  |  |  |  |  |  Branch (83:6): [True: 0, False: 5.42k]
  |  |  |  |  |  Branch (83:6): [True: 2.95k, False: 2.46k]
  |  |  |  |  ------------------
  |  |  |  |   84|  5.42k|		}							\
  |  |  |  |   85|  5.42k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (85:14): [Folded, False: 5.42k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|  5.42k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (90:14): [Folded, False: 5.42k]
  |  |  ------------------
  ------------------
  565|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  566|  5.42k|	    c1 = STRING_ELT(s1, i1);
  567|  5.42k|	    c2 = STRING_ELT(s2, i2);
  568|  5.42k|	    if (c1 == NA_STRING || c2 == NA_STRING)
  569|  5.42k|		pa[i] = NA_LOGICAL;
  570|  5.42k|	    else
  571|  5.42k|		pa[i] = Seql(c1, c2) ? 1 : 0;
  572|  5.42k|	});
  573|  5.42k|	break;
  574|  3.79k|    case NEOP:
  ------------------
  |  Branch (574:5): [True: 3.79k, False: 5.42k]
  ------------------
  575|  3.79k|	MOD_ITERATE2(n, n1, n2, i, i1, i2, {
  ------------------
  |  |   87|  3.79k|#define MOD_ITERATE2(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |   88|  3.79k|	i = i1 = i2 = 0;					\
  |  |   89|  3.79k|	MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body);	\
  |  |  ------------------
  |  |  |  |   78|  3.79k|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |   79|  14.6k|	for (; i < n;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (79:9): [True: 10.8k, False: 3.79k]
  |  |  |  |  ------------------
  |  |  |  |   80|  10.8k|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (80:12): [True: 3.79k, False: 7.10k]
  |  |  |  |  ------------------
  |  |  |  |   81|  10.8k|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (81:9): [True: 9.71k, False: 1.18k]
  |  |  |  |  ------------------
  |  |  |  |   82|  10.8k|		 ++i) {							\
  |  |  |  |   83|  65.3k|	    loop_body							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (83:6): [True: 0, False: 10.8k]
  |  |  |  |  |  Branch (83:6): [True: 0, False: 10.8k]
  |  |  |  |  |  Branch (83:6): [True: 4.66k, False: 6.23k]
  |  |  |  |  ------------------
  |  |  |  |   84|  10.8k|		}							\
  |  |  |  |   85|  3.79k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (85:14): [Folded, False: 3.79k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|  3.79k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (90:14): [Folded, False: 3.79k]
  |  |  ------------------
  ------------------
  576|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  577|  3.79k|	    c1 = STRING_ELT(s1, i1);
  578|  3.79k|	    c2 = STRING_ELT(s2, i2);
  579|  3.79k|	    if (c1 == NA_STRING || c2 == NA_STRING)
  580|  3.79k|		pa[i] = NA_LOGICAL;
  581|  3.79k|	    else
  582|  3.79k|		pa[i] = Seql(c1, c2) ? 0 : 1;
  583|  3.79k|	});
  584|  3.79k|	break;
  585|      0|    case LTOP:
  ------------------
  |  Branch (585:5): [True: 0, False: 9.22k]
  ------------------
  586|      0|	MOD_ITERATE2(n, n1, n2, i, i1, i2, {
  ------------------
  |  |   87|      0|#define MOD_ITERATE2(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |   88|      0|	i = i1 = i2 = 0;					\
  |  |   89|      0|	MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body);	\
  |  |  ------------------
  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   84|      0|		}							\
  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (90:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  587|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  588|      0|	    c1 = STRING_ELT(s1, i1);
  589|      0|	    c2 = STRING_ELT(s2, i2);
  590|      0|	    if (c1 == NA_STRING || c2 == NA_STRING)
  591|      0|		pa[i] = NA_LOGICAL;
  592|      0|	    else if (c1 == c2)
  593|      0|		pa[i] = 0;
  594|      0|	    else {
  595|      0|		errno = 0;
  596|      0|		res = Scollate(c1, c2);
  597|      0|		if(errno)
  598|      0|		    pa[i] = NA_LOGICAL;
  599|      0|		else
  600|      0|		    pa[i] = (res < 0) ? 1 : 0;
  601|      0|	    }
  602|      0|	});
  603|      0|	break;
  604|      0|    case GTOP:
  ------------------
  |  Branch (604:5): [True: 0, False: 9.22k]
  ------------------
  605|      0|	MOD_ITERATE2(n, n1, n2, i ,i1, i2, {
  ------------------
  |  |   87|      0|#define MOD_ITERATE2(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |   88|      0|	i = i1 = i2 = 0;					\
  |  |   89|      0|	MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body);	\
  |  |  ------------------
  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   84|      0|		}							\
  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (90:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  606|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  607|      0|	    c1 = STRING_ELT(s1, i1);
  608|      0|	    c2 = STRING_ELT(s2, i2);
  609|      0|	    if (c1 == NA_STRING || c2 == NA_STRING)
  610|      0|		pa[i] = NA_LOGICAL;
  611|      0|	    else if (c1 == c2)
  612|      0|		pa[i] = 0;
  613|      0|	    else {
  614|      0|		errno = 0;
  615|      0|		res = Scollate(c1, c2);
  616|      0|		if(errno)
  617|      0|		    pa[i] = NA_LOGICAL;
  618|      0|		else
  619|      0|		    pa[i] = (res > 0) ? 1 : 0;
  620|      0|	    }
  621|      0|	});
  622|      0|	break;
  623|      0|    case LEOP:
  ------------------
  |  Branch (623:5): [True: 0, False: 9.22k]
  ------------------
  624|      0|	MOD_ITERATE2(n, n1, n2, i, i1, i2, {
  ------------------
  |  |   87|      0|#define MOD_ITERATE2(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |   88|      0|	i = i1 = i2 = 0;					\
  |  |   89|      0|	MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body);	\
  |  |  ------------------
  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   84|      0|		}							\
  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (90:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  625|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  626|      0|	    c1 = STRING_ELT(s1, i1);
  627|      0|	    c2 = STRING_ELT(s2, i2);
  628|      0|	    if (c1 == NA_STRING || c2 == NA_STRING)
  629|      0|		pa[i] = NA_LOGICAL;
  630|      0|	    else if (c1 == c2)
  631|      0|		pa[i] = 1;
  632|      0|	    else {
  633|      0|		errno = 0;
  634|      0|		res = Scollate(c1, c2);
  635|      0|		if(errno)
  636|      0|		    pa[i] = NA_LOGICAL;
  637|      0|		else
  638|      0|		    pa[i] = (res <= 0) ? 1 : 0;
  639|      0|	    }
  640|      0|	});
  641|      0|	break;
  642|      0|    case GEOP:
  ------------------
  |  Branch (642:5): [True: 0, False: 9.22k]
  ------------------
  643|      0|	MOD_ITERATE2(n, n1, n2, i, i1, i2, {
  ------------------
  |  |   87|      0|#define MOD_ITERATE2(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |   88|      0|	i = i1 = i2 = 0;					\
  |  |   89|      0|	MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body);	\
  |  |  ------------------
  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   84|      0|		}							\
  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (90:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  644|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  645|      0|	    c1 = STRING_ELT(s1, i1);
  646|      0|	    c2 = STRING_ELT(s2, i2);
  647|      0|	    if (c1 == NA_STRING || c2 == NA_STRING)
  648|      0|		pa[i] = NA_LOGICAL;
  649|      0|	    else if (c1 == c2)
  650|      0|		pa[i] = 1;
  651|      0|	    else {
  652|      0|		errno = 0;
  653|      0|		res = Scollate(c1, c2);
  654|      0|		if(errno)
  655|      0|		    pa[i] = NA_LOGICAL;
  656|      0|		else
  657|      0|		    pa[i] = (res >= 0) ? 1 : 0;
  658|      0|	    }
  659|      0|	});
  660|      0|	break;
  661|  9.22k|    }
  662|  9.22k|    UNPROTECT(3);
  ------------------
  |  |  358|  9.22k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  663|  9.22k|    vmaxset(vmax);
  664|  9.22k|    return ans;
  665|  9.22k|}

R_XDRDecodeInteger:
 2375|  1.98M|{
 2376|  1.98M|    XDR xdrs;
 2377|  1.98M|    int i, success;
 2378|       |
 2379|  1.98M|    xdrmem_create(&xdrs, (char *) buf, R_XDR_INTEGER_SIZE, XDR_DECODE);
  ------------------
  |  |  709|  1.98M|#define R_XDR_INTEGER_SIZE 4
  ------------------
 2380|  1.98M|    success = xdr_int(&xdrs, &i);
 2381|  1.98M|    xdr_destroy(&xdrs);
  ------------------
  |  |  217|  1.98M|	if ((xdrs)->x_ops->x_destroy) 			\
  |  |  ------------------
  |  |  |  Branch (217:6): [True: 1.98M, False: 0]
  |  |  ------------------
  |  |  218|  1.98M|		(*(xdrs)->x_ops->x_destroy)(xdrs)
  ------------------
 2382|  1.98M|    if (! success)
  ------------------
  |  Branch (2382:9): [True: 0, False: 1.98M]
  ------------------
 2383|      0|	error(_("XDR read failed"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("XDR read failed"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2384|  1.98M|    return i;
 2385|  1.98M|}

do_scan:
  865|     12|{
  866|     12|    SEXP ans, file, sep, what, stripwhite, dec, quotes, comstr;
  867|     12|    int c, flush, fill, blskip, multiline, escapes, skipNul;
  868|     12|    R_xlen_t nmax, nlines, nskip;
  869|     12|    const char *p, *encoding;
  870|     12|    RCNTXT cntxt;
  871|     12|    LocalData data = {NULL, 0, 0, '.', NULL, NO_COMCHAR, 0, NULL, false,
  ------------------
  |  |   57|     12|#define NO_COMCHAR 100000 /* won't occur even in Unicode */
  ------------------
  872|     12|		      false, 0, false, false, false, false, false, {false}};
  873|     12|    data.NAstrings = R_NilValue;
  874|       |
  875|     12|    checkArity(op, args);
  ------------------
  |  | 1793|     12|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  876|       |
  877|     12|    file = CAR(args);		   args = CDR(args);
  878|     12|    what = CAR(args);		   args = CDR(args);
  879|     12|    nmax = asXLength(CAR(args));   args = CDR(args);
  ------------------
  |  | 1868|     12|# define asXLength		Rf_asXLength
  ------------------
  880|     12|    sep = CAR(args);		   args = CDR(args);
  881|     12|    dec = CAR(args);		   args = CDR(args);
  882|     12|    quotes = CAR(args);		   args = CDR(args);
  883|     12|    nskip = asXLength(CAR(args));  args = CDR(args);
  ------------------
  |  | 1868|     12|# define asXLength		Rf_asXLength
  ------------------
  884|     12|    nlines = asXLength(CAR(args)); args = CDR(args);
  ------------------
  |  | 1868|     12|# define asXLength		Rf_asXLength
  ------------------
  885|     12|    data.NAstrings = CAR(args);	   args = CDR(args);
  886|     12|    flush = asLogical(CAR(args));  args = CDR(args);
  ------------------
  |  |  886|     12|#define asLogical		Rf_asLogical
  ------------------
  887|     12|    fill  = asLogical(CAR(args));  args = CDR(args);
  ------------------
  |  |  886|     12|#define asLogical		Rf_asLogical
  ------------------
  888|     12|    stripwhite = CAR(args);	   args = CDR(args);
  889|     12|    data.quiet = asLogical(CAR(args));  args = CDR(args);
  ------------------
  |  |  886|     12|#define asLogical		Rf_asLogical
  ------------------
  890|     12|    blskip = asLogical(CAR(args)); args = CDR(args);
  ------------------
  |  |  886|     12|#define asLogical		Rf_asLogical
  ------------------
  891|     12|    multiline = asLogical(CAR(args)); args = CDR(args);
  ------------------
  |  |  886|     12|#define asLogical		Rf_asLogical
  ------------------
  892|     12|    comstr = CAR(args);            args = CDR(args);
  893|     12|    escapes = asLogical(CAR(args));args = CDR(args);
  ------------------
  |  |  886|     12|#define asLogical		Rf_asLogical
  ------------------
  894|     12|    if(!isString(CAR(args)) || LENGTH(CAR(args)) != 1)
  ------------------
  |  |  966|     12|#define isString		Rf_isString
  ------------------
  |  Branch (894:8): [True: 0, False: 12]
  |  Branch (894:32): [True: 0, False: 12]
  ------------------
  895|      0|	error(_("invalid '%s' argument"), "encoding");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "encoding");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  896|     12|    encoding = CHAR(STRING_ELT(CAR(args), 0)); args = CDR(args); /* ASCII */
  ------------------
  |  |  203|     12|#define CHAR(x) R_CHAR(x)
  ------------------
  897|     12|    if(streql(encoding, "latin1")) data.isLatin1 = true;
  ------------------
  |  | 1498|     12|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 12]
  |  |  ------------------
  ------------------
  898|     12|    if(streql(encoding, "UTF-8"))  data.isUTF8 = true;
  ------------------
  |  | 1498|     12|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 12]
  |  |  ------------------
  ------------------
  899|     12|    skipNul = asLogical(CAR(args));
  ------------------
  |  |  886|     12|#define asLogical		Rf_asLogical
  ------------------
  900|       |
  901|     12|    if (data.quiet == NA_LOGICAL)		data.quiet = 0;
  ------------------
  |  |   55|     12|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (901:9): [True: 0, False: 12]
  ------------------
  902|     12|    if (blskip == NA_LOGICAL)			blskip = 1;
  ------------------
  |  |   55|     12|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (902:9): [True: 0, False: 12]
  ------------------
  903|     12|    if (multiline == NA_LOGICAL)		multiline = 1;
  ------------------
  |  |   55|     12|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (903:9): [True: 0, False: 12]
  ------------------
  904|     12|    if (nskip < 0)				nskip = 0;
  ------------------
  |  Branch (904:9): [True: 0, False: 12]
  ------------------
  905|     12|    if (nlines < 0)				nlines = 0;
  ------------------
  |  Branch (905:9): [True: 0, False: 12]
  ------------------
  906|     12|    if (nmax < 0)				nmax = 0;
  ------------------
  |  Branch (906:9): [True: 12, False: 0]
  ------------------
  907|       |
  908|     12|    if (TYPEOF(stripwhite) != LGLSXP)
  ------------------
  |  |  121|     12|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (908:9): [True: 0, False: 12]
  ------------------
  909|      0|	error(_("invalid '%s' argument"), "strip.white");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "strip.white");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  910|     12|    if (xlength(stripwhite) != 1 && xlength(stripwhite) != xlength(what))
  ------------------
  |  | 1049|     12|#define xlength(x)		Rf_xlength(x)
  ------------------
                  if (xlength(stripwhite) != 1 && xlength(stripwhite) != xlength(what))
  ------------------
  |  | 1049|      0|#define xlength(x)		Rf_xlength(x)
  ------------------
                  if (xlength(stripwhite) != 1 && xlength(stripwhite) != xlength(what))
  ------------------
  |  | 1049|      0|#define xlength(x)		Rf_xlength(x)
  ------------------
  |  Branch (910:9): [True: 0, False: 12]
  |  Branch (910:37): [True: 0, False: 0]
  ------------------
  911|      0|	error(_("invalid 'strip.white' length"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid 'strip.white' length"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  912|     12|    if (TYPEOF(data.NAstrings) != STRSXP)
  ------------------
  |  |  126|     12|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (912:9): [True: 0, False: 12]
  ------------------
  913|      0|	error(_("invalid '%s' argument"), "na.strings");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "na.strings");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  914|     12|    if (TYPEOF(comstr) != STRSXP || length(comstr) != 1)
  ------------------
  |  |  126|     24|#define STRSXP	    16	  /* string vectors */
  ------------------
                  if (TYPEOF(comstr) != STRSXP || length(comstr) != 1)
  ------------------
  |  |  987|     12|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (914:9): [True: 0, False: 12]
  |  Branch (914:37): [True: 0, False: 12]
  ------------------
  915|      0|	error(_("invalid '%s' argument"), "comment.char");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "comment.char");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  916|       |
  917|     12|    if (isString(sep) || isNull(sep)) {
  ------------------
  |  |  966|     12|#define isString		Rf_isString
  ------------------
                  if (isString(sep) || isNull(sep)) {
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
  |  Branch (917:9): [True: 12, False: 0]
  |  Branch (917:26): [True: 0, False: 0]
  ------------------
  918|     12|	if (length(sep) == 0) data.sepchar = 0;
  ------------------
  |  |  987|     12|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (918:6): [True: 0, False: 12]
  ------------------
  919|     12|	else {
  920|     12|	    const char *sc = translateChar(STRING_ELT(sep, 0));
  ------------------
  |  | 1037|     12|#define translateChar		Rf_translateChar
  ------------------
  921|     12|	    if(strlen(sc) > 1)
  ------------------
  |  Branch (921:9): [True: 0, False: 12]
  ------------------
  922|      0|		error(_("invalid 'sep' value: must be one byte"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("invalid 'sep' value: must be one byte"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  923|     12|	    data.sepchar = (unsigned char) sc[0];
  924|     12|	}
  925|       |	/* gets compared to chars: bug prior to 1.7.0 */
  926|     12|    } else error(_("invalid '%s' argument"), "sep");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  } else error(_("invalid '%s' argument"), "sep");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  927|       |
  928|     12|    if (isString(dec) || isNull(dec)) {
  ------------------
  |  |  966|     12|#define isString		Rf_isString
  ------------------
                  if (isString(dec) || isNull(dec)) {
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
  |  Branch (928:9): [True: 12, False: 0]
  |  Branch (928:26): [True: 0, False: 0]
  ------------------
  929|     12|	if (length(dec) == 0)
  ------------------
  |  |  987|     12|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (929:6): [True: 0, False: 12]
  ------------------
  930|      0|	    data.decchar = '.';
  931|     12|	else {
  932|     12|	    const char *dc = translateChar(STRING_ELT(dec, 0));
  ------------------
  |  | 1037|     12|#define translateChar		Rf_translateChar
  ------------------
  933|     12|	    if(strlen(dc) != 1)
  ------------------
  |  Branch (933:9): [True: 0, False: 12]
  ------------------
  934|      0|		error(_("invalid decimal separator: must be one byte"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("invalid decimal separator: must be one byte"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  935|     12|	    data.decchar = dc[0];
  936|     12|	}
  937|     12|    }
  938|      0|    else
  939|      0|	error(_("invalid decimal separator"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid decimal separator"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  940|       |
  941|       |    /* set up a context which will close the connection if there is
  942|       |       an error or user interrupt */
  943|     12|    begincontext(&cntxt, CTXT_CCODE, R_GlobalContext->call, R_BaseEnv,
  ------------------
  |  | 1869|     12|# define begincontext		Rf_begincontext
  ------------------
  944|     12|		 R_BaseEnv, R_NilValue, R_NilValue);
  945|     12|    cntxt.cend = &scan_cleanup;
  946|     12|    cntxt.cenddata = &data;
  947|       |
  948|     12|    if (isString(quotes)) {
  ------------------
  |  |  966|     12|#define isString		Rf_isString
  ------------------
  |  Branch (948:9): [True: 12, False: 0]
  ------------------
  949|     12|	const char *sc = translateChar(STRING_ELT(quotes, 0));
  ------------------
  |  | 1037|     12|#define translateChar		Rf_translateChar
  ------------------
  950|     12|	if (strlen(sc)) data.quoteset = Rstrdup(sc);
  ------------------
  |  Branch (950:6): [True: 12, False: 0]
  ------------------
  951|      0|	else data.quoteset = "";
  952|     12|    } else if (isNull(quotes))
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
  |  Branch (952:16): [True: 0, False: 0]
  ------------------
  953|      0|	data.quoteset = "";
  954|      0|    else
  955|      0|	error(_("invalid quote symbol set"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid quote symbol set"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  956|       |
  957|     12|    p = translateChar(STRING_ELT(comstr, 0));
  ------------------
  |  | 1037|     12|#define translateChar		Rf_translateChar
  ------------------
  958|     12|    data.comchar = NO_COMCHAR; /*  here for -Wall */
  ------------------
  |  |   57|     12|#define NO_COMCHAR 100000 /* won't occur even in Unicode */
  ------------------
  959|     12|    if (strlen(p) > 1)
  ------------------
  |  Branch (959:9): [True: 0, False: 12]
  ------------------
  960|      0|	error(_("invalid '%s' argument"), "comment.char");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "comment.char");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  961|     12|    else if (strlen(p) == 1) data.comchar = (unsigned char)*p;
  ------------------
  |  Branch (961:14): [True: 12, False: 0]
  ------------------
  962|     12|    if(escapes == NA_LOGICAL)
  ------------------
  |  |   55|     12|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (962:8): [True: 0, False: 12]
  ------------------
  963|      0|	error(_("invalid '%s' argument"), "allowEscapes");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "allowEscapes");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  964|     12|    data.escapes = escapes != 0;
  965|     12|    if(skipNul == NA_LOGICAL)
  ------------------
  |  |   55|     12|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (965:8): [True: 0, False: 12]
  ------------------
  966|      0|	error(_("invalid '%s' argument"), "skipNul");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "skipNul");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  967|     12|    data.skipNul = skipNul != 0;
  968|       |
  969|     12|    int ii = asInteger(file);
  ------------------
  |  |  885|     12|#define asInteger		Rf_asInteger
  ------------------
  970|     12|    data.con = getConnection(ii);
  971|     12|    if(ii == 0) {
  ------------------
  |  Branch (971:8): [True: 0, False: 12]
  ------------------
  972|      0|	data.atStart = false;
  973|      0|	data.ttyflag = 1;
  974|     12|    } else {
  975|     12|	data.atStart = (nskip == 0);
  976|     12|	data.ttyflag = 0;
  977|     12|	data.wasopen = data.con->isopen;
  978|     12|	if(!data.wasopen) {
  ------------------
  |  Branch (978:5): [True: 0, False: 12]
  ------------------
  979|      0|	    data.con->UTF8out = true;  /* a request */
  980|      0|	    strcpy(data.con->mode, "r");
  981|      0|	    if(!data.con->open(data.con))
  ------------------
  |  Branch (981:9): [True: 0, False: 0]
  ------------------
  982|      0|		error(_("cannot open the connection"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("cannot open the connection"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  983|      0|	    if(!data.con->canread) {
  ------------------
  |  Branch (983:9): [True: 0, False: 0]
  ------------------
  984|      0|		data.con->close(data.con);
  985|      0|		error(_("cannot read from this connection"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("cannot read from this connection"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  986|      0|	    }
  987|     12|	} else {
  988|     12|	    if(!data.con->canread)
  ------------------
  |  Branch (988:9): [True: 0, False: 12]
  ------------------
  989|      0|		error(_("cannot read from this connection"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("cannot read from this connection"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  990|     12|	}
  991|     12|	for(R_xlen_t i = 0, j = 10000; i < nskip; i++) { /* MBCS-safe */
  ------------------
  |  Branch (991:33): [True: 0, False: 12]
  ------------------
  992|      0|	    for(;;) {
  993|      0|		c = scanchar(false, &data);
  994|      0|		if (!j--) {
  ------------------
  |  Branch (994:7): [True: 0, False: 0]
  ------------------
  995|      0|		    R_CheckUserInterrupt();
  996|      0|		    j = 10000;
  997|      0|		}
  998|      0|		if (c == '\n' || c == R_EOF)
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
  |  Branch (998:7): [True: 0, False: 0]
  |  Branch (998:20): [True: 0, False: 0]
  ------------------
  999|      0|		    break;
 1000|      0|	    }
 1001|      0|	}
 1002|     12|    }
 1003|       |
 1004|     12|    ans = R_NilValue;		/* -Wall */
 1005|     12|    data.save = 0;
 1006|       |
 1007|     12|    switch (TYPEOF(what)) {
 1008|      0|    case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (1008:5): [True: 0, False: 12]
  ------------------
 1009|      0|    case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1009:5): [True: 0, False: 12]
  ------------------
 1010|      0|    case REALSXP:
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1010:5): [True: 0, False: 12]
  ------------------
 1011|      0|    case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (1011:5): [True: 0, False: 12]
  ------------------
 1012|     10|    case STRSXP:
  ------------------
  |  |  126|     10|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1012:5): [True: 10, False: 2]
  ------------------
 1013|     10|    case RAWSXP:
  ------------------
  |  |  136|     10|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (1013:5): [True: 0, False: 12]
  ------------------
 1014|     10|	ans = scanVector(TYPEOF(what), nmax, nlines, flush, stripwhite,
 1015|     10|			 blskip, &data);
 1016|     10|	break;
 1017|       |
 1018|      2|    case VECSXP:
  ------------------
  |  |  131|      2|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (1018:5): [True: 2, False: 10]
  ------------------
 1019|      2|	ans = scanFrame(what, nmax, nlines, flush, fill, stripwhite,
 1020|      2|			blskip, multiline, &data);
 1021|      2|	break;
 1022|      0|    default:
  ------------------
  |  Branch (1022:5): [True: 0, False: 12]
  ------------------
 1023|      0|	error(_("invalid '%s' argument"), "what");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "what");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1024|     12|    }
 1025|     12|    PROTECT(ans);
  ------------------
  |  |  357|     12|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1026|     12|    endcontext(&cntxt);
  ------------------
  |  | 1900|     12|# define endcontext		Rf_endcontext
  ------------------
 1027|       |
 1028|       |    /* we might have a character that was unscanchar-ed.
 1029|       |       So pushback if possible */
 1030|     12|    if (data.save && !data.ttyflag && data.wasopen) {
  ------------------
  |  Branch (1030:9): [True: 0, False: 12]
  |  Branch (1030:22): [True: 0, False: 0]
  |  Branch (1030:39): [True: 0, False: 0]
  ------------------
 1031|      0|	char line[2] = " ";
 1032|      0|	line[0] = (char) data.save;
 1033|      0|	con_pushback(data.con, false, line);
  ------------------
  |  |   71|      0|#define con_pushback	Rf_con_pushback
  ------------------
 1034|      0|    }
 1035|     12|    if (!data.ttyflag && !data.wasopen)
  ------------------
  |  Branch (1035:9): [True: 12, False: 0]
  |  Branch (1035:26): [True: 0, False: 12]
  ------------------
 1036|      0|	data.con->close(data.con);
 1037|     12|    if (data.quoteset[0]) free(data.quoteset);
  ------------------
  |  Branch (1037:9): [True: 12, False: 0]
  ------------------
 1038|     12|    if (!skipNul && data.embedWarn)
  ------------------
  |  Branch (1038:9): [True: 12, False: 0]
  |  Branch (1038:21): [True: 0, False: 12]
  ------------------
 1039|      0|	warning(_("embedded nul(s) found in input"));
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	warning(_("embedded nul(s) found in input"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1040|       |
 1041|     12|    UNPROTECT(1); /* ans */
  ------------------
  |  |  358|     12|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1042|     12|    return ans;
 1043|     12|}
scan.c:scanchar:
  255|  1.59k|{
  256|  1.59k|    int next;
  257|  1.59k|    if (d->save) {
  ------------------
  |  Branch (257:9): [True: 0, False: 1.59k]
  ------------------
  258|      0|	next = d->save;
  259|      0|	d->save = 0;
  260|      0|    } else
  261|  1.59k|	next = scanchar_raw(d);
  262|  1.59k|    if(next == d->comchar && !inQuote) {
  ------------------
  |  Branch (262:8): [True: 2, False: 1.59k]
  |  Branch (262:30): [True: 2, False: 0]
  ------------------
  263|      2|	do
  264|    140|	    next = scanchar_raw(d);
  265|    140|	while (next != '\n' && next != R_EOF);
  ------------------
  |  | 1531|    138|#define R_EOF	-1
  ------------------
  |  Branch (265:9): [True: 138, False: 2]
  |  Branch (265:25): [True: 138, False: 0]
  ------------------
  266|      2|    }
  267|  1.59k|    if(next == '\\' && d->escapes) {
  ------------------
  |  Branch (267:8): [True: 0, False: 1.59k]
  |  Branch (267:24): [True: 0, False: 0]
  ------------------
  268|      0|	next = scanchar_raw(d);
  269|      0|	if ('0' <= next && next <= '8') {
  ------------------
  |  Branch (269:6): [True: 0, False: 0]
  |  Branch (269:21): [True: 0, False: 0]
  ------------------
  270|      0|	    int octal = next - '0';
  271|      0|	    if ('0' <= (next = scanchar_raw(d)) && next <= '8') {
  ------------------
  |  Branch (271:10): [True: 0, False: 0]
  |  Branch (271:45): [True: 0, False: 0]
  ------------------
  272|      0|		octal = 8 * octal + next - '0';
  273|      0|		if ('0' <= (next = scanchar_raw(d)) && next <= '8') {
  ------------------
  |  Branch (273:7): [True: 0, False: 0]
  |  Branch (273:42): [True: 0, False: 0]
  ------------------
  274|      0|		    octal = 8 * octal + next - '0';
  275|      0|		} else unscanchar(next, d);
  276|      0|	    } else unscanchar(next, d);
  277|      0|	    next = octal;
  278|      0|	} else
  279|      0|	    switch(next) {
  280|      0|	    case 'a': next = '\a'; break;
  ------------------
  |  Branch (280:6): [True: 0, False: 0]
  ------------------
  281|      0|	    case 'b': next = '\b'; break;
  ------------------
  |  Branch (281:6): [True: 0, False: 0]
  ------------------
  282|      0|	    case 'f': next = '\f'; break;
  ------------------
  |  Branch (282:6): [True: 0, False: 0]
  ------------------
  283|      0|	    case 'n': next = '\n'; break;
  ------------------
  |  Branch (283:6): [True: 0, False: 0]
  ------------------
  284|      0|	    case 'r': next = '\r'; break;
  ------------------
  |  Branch (284:6): [True: 0, False: 0]
  ------------------
  285|      0|	    case 't': next = '\t'; break;
  ------------------
  |  Branch (285:6): [True: 0, False: 0]
  ------------------
  286|      0|	    case 'v': next = '\v'; break;
  ------------------
  |  Branch (286:6): [True: 0, False: 0]
  ------------------
  287|      0|	    case 'x': {
  ------------------
  |  Branch (287:6): [True: 0, False: 0]
  ------------------
  288|      0|		int val = 0; int i, ext;
  289|      0|		for(i = 0; i < 2; i++) {
  ------------------
  |  Branch (289:14): [True: 0, False: 0]
  ------------------
  290|      0|		    next = scanchar_raw(d);
  291|      0|		    if(next >= '0' && next <= '9') ext = next - '0';
  ------------------
  |  Branch (291:10): [True: 0, False: 0]
  |  Branch (291:25): [True: 0, False: 0]
  ------------------
  292|      0|		    else if (next >= 'A' && next <= 'F') ext = next - 'A' + 10;
  ------------------
  |  Branch (292:16): [True: 0, False: 0]
  |  Branch (292:31): [True: 0, False: 0]
  ------------------
  293|      0|		    else if (next >= 'a' && next <= 'f') ext = next - 'a' + 10;
  ------------------
  |  Branch (293:16): [True: 0, False: 0]
  |  Branch (293:31): [True: 0, False: 0]
  ------------------
  294|      0|		    else {unscanchar(next, d); break;}
  295|      0|		    val = 16*val + ext;
  296|      0|		}
  297|      0|		next = val;
  298|      0|	    }
  299|      0|		break;
  300|      0|	    default:
  ------------------
  |  Branch (300:6): [True: 0, False: 0]
  ------------------
  301|       |		/* Any other char and even EOF escapes to itself, but we
  302|       |		   need to preserve \" etc inside quotes.
  303|       |		 */
  304|      0|		if(inQuote && strchr(d->quoteset, next)) {
  ------------------
  |  Branch (304:6): [True: 0, False: 0]
  |  Branch (304:17): [True: 0, False: 0]
  ------------------
  305|      0|		    unscanchar(next, d);
  306|      0|		    next = '\\';
  307|      0|		}
  308|      0|		break;
  309|      0|	    }
  310|      0|    }
  311|  1.59k|    return next;
  312|  1.59k|}
scan.c:scanchar_raw:
  221|  1.73k|{
  222|  1.73k|    int c = (d->ttyflag) ? ConsoleGetcharWithPushBack(d->con) :
  ------------------
  |  Branch (222:13): [True: 0, False: 1.73k]
  ------------------
  223|  1.73k|	Rconn_fgetc(d->con);
  224|  1.73k|    if(c == 0) {
  ------------------
  |  Branch (224:8): [True: 0, False: 1.73k]
  ------------------
  225|      0|	if(d->skipNul) {
  ------------------
  |  Branch (225:5): [True: 0, False: 0]
  ------------------
  226|      0|	    do {
  227|      0|		c = (d->ttyflag) ? ConsoleGetcharWithPushBack(d->con) :
  ------------------
  |  Branch (227:7): [True: 0, False: 0]
  ------------------
  228|      0|		    Rconn_fgetc(d->con);
  229|      0|	    } while(c == 0);
  ------------------
  |  Branch (229:14): [True: 0, False: 0]
  ------------------
  230|      0|	} else d->embedWarn = true;
  231|      0|    }
  232|  1.73k|    return c;
  233|  1.73k|}
scan.c:scanVector:
  568|     10|{
  569|     10|    SEXP ans, bns;
  570|     10|    int c, strip, bch, ic;
  571|     10|    R_xlen_t i, blocksize, linesread, n, nprev;
  572|     10|    char *buffer;
  573|     10|    R_StringBuffer strBuf = {NULL, 0, MAXELTSIZE};
  ------------------
  |  |   85|     10|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  ------------------
  574|       |
  575|     10|    if (maxitems > 0) blocksize = maxitems;
  ------------------
  |  Branch (575:9): [True: 0, False: 10]
  ------------------
  576|     10|    else blocksize = SCAN_BLOCKSIZE;
  ------------------
  |  |   52|     10|#define SCAN_BLOCKSIZE		1000
  ------------------
  577|       |
  578|     10|    R_AllocStringBuffer(0, &strBuf);
  579|     10|    d->sbuf = &strBuf;
  580|     10|    PROTECT(ans = allocVector(type, blocksize));
  ------------------
  |  |  357|     10|#define PROTECT(s)	Rf_protect(s)
  ------------------
  581|       |
  582|     10|    nprev = 0; n = 0; linesread = 0; bch = 1;
  583|       |
  584|     10|    if (d->ttyflag)
  ------------------
  |  Branch (584:9): [True: 0, False: 10]
  ------------------
  585|      0|	snprintf(ConsolePrompt, CONSOLE_PROMPT_SIZE, "1: ");
  ------------------
  |  |   55|      0|#define CONSOLE_PROMPT_SIZE	256
  ------------------
  586|       |
  587|     10|    strip = asLogical(stripwhite);
  ------------------
  |  |  886|     10|#define asLogical		Rf_asLogical
  ------------------
  588|       |
  589|     10|    ic = 9999;
  590|     78|    for (;;) {
  591|     78|	if(!ic) {
  ------------------
  |  Branch (591:5): [True: 0, False: 78]
  ------------------
  592|      0|	    R_CheckUserInterrupt();
  593|      0|	    ic = 9999;
  594|      0|	}
  595|     78|	if (bch == R_EOF) {
  ------------------
  |  | 1531|     78|#define R_EOF	-1
  ------------------
  |  Branch (595:6): [True: 0, False: 78]
  ------------------
  596|      0|	    if (d->ttyflag) R_ClearerrConsole();
  ------------------
  |  Branch (596:10): [True: 0, False: 0]
  ------------------
  597|      0|	    break;
  598|      0|	}
  599|     78|	else if (bch == '\n') {
  ------------------
  |  Branch (599:11): [True: 10, False: 68]
  ------------------
  600|     10|	    linesread++;
  601|     10|	    if (linesread == maxlines)
  ------------------
  |  Branch (601:10): [True: 10, False: 0]
  ------------------
  602|     10|		break;
  603|      0|	    if (d->ttyflag)
  ------------------
  |  Branch (603:10): [True: 0, False: 0]
  ------------------
  604|      0|		snprintf(ConsolePrompt, CONSOLE_PROMPT_SIZE,
  ------------------
  |  |   55|      0|#define CONSOLE_PROMPT_SIZE	256
  ------------------
  605|      0|		         "%lld: ", (long long) (n + 1));
  606|      0|	    nprev = n;
  607|      0|	}
  608|     68|	if (n == blocksize) {
  ------------------
  |  Branch (608:6): [True: 0, False: 68]
  ------------------
  609|       |	    /* enlarge the vector*/
  610|      0|	    bns = ans;
  611|      0|	    if(blocksize > R_XLEN_T_MAX/2) error(_("too many items"));
  ------------------
  |  |   76|      0|# define R_XLEN_T_MAX 4503599627370496
  ------------------
              	    if(blocksize > R_XLEN_T_MAX/2) error(_("too many items"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    if(blocksize > R_XLEN_T_MAX/2) error(_("too many items"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (611:9): [True: 0, False: 0]
  ------------------
  612|      0|	    blocksize = 2 * blocksize;
  613|      0|	    ans = allocVector(type, blocksize);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
  614|      0|	    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  615|      0|	    PROTECT(ans);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  616|      0|	    copyVector(ans, bns);
  ------------------
  |  |  902|      0|#define copyVector		Rf_copyVector
  ------------------
  617|      0|	}
  618|     68|	buffer = fillBuffer(type, strip, &bch, d, &strBuf);
  619|     68|	if (nprev == n && strlen(buffer)==0 &&
  ------------------
  |  Branch (619:6): [True: 10, False: 58]
  |  Branch (619:20): [True: 0, False: 10]
  ------------------
  620|      0|	    ((blskip && bch =='\n') || bch == R_EOF)) {
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
  |  Branch (620:8): [True: 0, False: 0]
  |  Branch (620:18): [True: 0, False: 0]
  |  Branch (620:33): [True: 0, False: 0]
  ------------------
  621|      0|	    if (d->ttyflag || bch == R_EOF)
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
  |  Branch (621:10): [True: 0, False: 0]
  |  Branch (621:24): [True: 0, False: 0]
  ------------------
  622|      0|		break;
  623|      0|	}
  624|     68|	else {
  625|     68|	    extractItem(buffer, ans, n, d);
  626|     68|	    ic--;
  627|     68|	    if (++n == maxitems) {
  ------------------
  |  Branch (627:10): [True: 0, False: 68]
  ------------------
  628|      0|		if (d->ttyflag && bch != '\n') { /* MBCS-safe */
  ------------------
  |  Branch (628:7): [True: 0, False: 0]
  |  Branch (628:21): [True: 0, False: 0]
  ------------------
  629|      0|		    while ((c = scanchar(false, d)) != '\n')
  ------------------
  |  Branch (629:14): [True: 0, False: 0]
  ------------------
  630|      0|			;
  631|      0|		}
  632|      0|		break;
  633|      0|	    }
  634|     68|	}
  635|     68|	if (flush && (bch != '\n') && (bch != R_EOF)) { /* MBCS-safe */
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
  |  Branch (635:6): [True: 0, False: 68]
  |  Branch (635:15): [True: 0, False: 0]
  |  Branch (635:32): [True: 0, False: 0]
  ------------------
  636|      0|	    while ((c = scanchar(false, d)) != '\n' && (c != R_EOF));
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
  |  Branch (636:13): [True: 0, False: 0]
  |  Branch (636:49): [True: 0, False: 0]
  ------------------
  637|      0|	    bch = c;
  638|      0|	}
  639|     68|    }
  640|     10|    if (!d->quiet)
  ------------------
  |  Branch (640:9): [True: 0, False: 10]
  ------------------
  641|      0|	REprintf("Read %lld item%s\n", (long long) n, (n == 1) ? "" : "s");
  ------------------
  |  Branch (641:48): [True: 0, False: 0]
  ------------------
  642|     10|    if (d->ttyflag) ConsolePrompt[0] = '\0';
  ------------------
  |  Branch (642:9): [True: 0, False: 10]
  ------------------
  643|       |
  644|     10|    if (n == 0) {
  ------------------
  |  Branch (644:9): [True: 0, False: 10]
  ------------------
  645|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  646|      0|	R_FreeStringBuffer(&strBuf);
  647|      0|	d->sbuf = NULL;
  648|      0|	return allocVector(type,0);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
  649|      0|    }
  650|     10|    if (n == maxitems) {
  ------------------
  |  Branch (650:9): [True: 0, False: 10]
  ------------------
  651|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  652|      0|	R_FreeStringBuffer(&strBuf);
  653|      0|	d->sbuf = NULL;
  654|      0|	return ans;
  655|      0|    }
  656|       |
  657|     10|    bns = allocVector(type, n);
  ------------------
  |  |  875|     10|#define allocVector		Rf_allocVector
  ------------------
  658|     10|    switch (type) {
  659|      0|    case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (659:5): [True: 0, False: 10]
  ------------------
  660|      0|    case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (660:5): [True: 0, False: 10]
  ------------------
  661|      0|	for (i = 0; i < n; i++)
  ------------------
  |  Branch (661:14): [True: 0, False: 0]
  ------------------
  662|      0|	    INTEGER(bns)[i] = INTEGER(ans)[i];
  663|      0|	break;
  664|      0|    case REALSXP:
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (664:5): [True: 0, False: 10]
  ------------------
  665|      0|	for (i = 0; i < n; i++)
  ------------------
  |  Branch (665:14): [True: 0, False: 0]
  ------------------
  666|      0|	    REAL(bns)[i] = REAL(ans)[i];
  667|      0|	break;
  668|      0|    case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (668:5): [True: 0, False: 10]
  ------------------
  669|      0|	for (i = 0; i < n; i++)
  ------------------
  |  Branch (669:14): [True: 0, False: 0]
  ------------------
  670|      0|	    COMPLEX(bns)[i] = COMPLEX(ans)[i];
  671|      0|	break;
  672|     10|    case STRSXP:
  ------------------
  |  |  126|     10|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (672:5): [True: 10, False: 0]
  ------------------
  673|     78|	for (i = 0; i < n; i++)
  ------------------
  |  Branch (673:14): [True: 68, False: 10]
  ------------------
  674|     68|	    SET_STRING_ELT(bns, i, STRING_ELT(ans, i));
  675|     10|	break;
  676|      0|    case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (676:5): [True: 0, False: 10]
  ------------------
  677|      0|	for (i = 0; i < n; i++)
  ------------------
  |  Branch (677:14): [True: 0, False: 0]
  ------------------
  678|      0|	    RAW(bns)[i] = RAW(ans)[i];
  679|      0|	break;
  680|      0|    default:
  ------------------
  |  Branch (680:5): [True: 0, False: 10]
  ------------------
  681|      0|	UNIMPLEMENTED_TYPEt("scanVector", type);
  682|     10|    }
  683|     10|    UNPROTECT(1);
  ------------------
  |  |  358|     10|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  684|     10|    R_FreeStringBuffer(&strBuf);
  685|       |    d->sbuf = NULL;
  686|     10|    return bns;
  687|     10|}
scan.c:fillBuffer:
  342|    170|{
  343|       |/* The basic reader function, called from scanVector() and scanFrame().
  344|       |   Reads into _buffer_	which later will be read out by extractItem().
  345|       |
  346|       |   bch is used to distinguish \r, \n and EOF from more input available.
  347|       |*/
  348|    170|    char *bufp;
  349|    170|    int c, quote, filled, nbuf = MAXELTSIZE, m, mm = 0;
  ------------------
  |  |   85|    170|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  ------------------
  350|    170|    bool dbcslocale = (R_MB_CUR_MAX == 2) && !d->isUTF8 && !d->isLatin1;
  ------------------
  |  Branch (350:23): [True: 0, False: 170]
  |  Branch (350:46): [True: 0, False: 0]
  |  Branch (350:60): [True: 0, False: 0]
  ------------------
  351|       |
  352|    170|    m = 0;
  353|    170|    filled = 1;
  354|    170|    if (d->sepchar == 0) {
  ------------------
  |  Branch (354:9): [True: 0, False: 170]
  ------------------
  355|       |	/* skip all space or tabs: only look at lead bytes here */
  356|      0|	strip = 0; /* documented to be ignored in this case */
  357|      0|	while ((c = scanchar(false, d)) == ' ' || c == '\t') ;
  ------------------
  |  Branch (357:9): [True: 0, False: 0]
  |  Branch (357:44): [True: 0, False: 0]
  ------------------
  358|      0|	if (c == '\n' || c == '\r' || c == R_EOF) {
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
  |  Branch (358:6): [True: 0, False: 0]
  |  Branch (358:19): [True: 0, False: 0]
  |  Branch (358:32): [True: 0, False: 0]
  ------------------
  359|      0|	    filled = c;
  360|      0|	    goto donefill;
  361|      0|	}
  362|      0|	if ((type == STRSXP || type == NILSXP) && strchr(d->quoteset, c)) {
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
              	if ((type == STRSXP || type == NILSXP) && strchr(d->quoteset, c)) {
  ------------------
  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (362:7): [True: 0, False: 0]
  |  Branch (362:25): [True: 0, False: 0]
  |  Branch (362:44): [True: 0, False: 0]
  ------------------
  363|      0|	    quote = c;
  364|      0|	    while ((c = scanchar(true, d)) != R_EOF && c != quote) {
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
  |  Branch (364:13): [True: 0, False: 0]
  |  Branch (364:49): [True: 0, False: 0]
  ------------------
  365|      0|		if (m >= nbuf - 3) {
  ------------------
  |  Branch (365:7): [True: 0, False: 0]
  ------------------
  366|      0|		    nbuf *= 2;
  367|      0|		    R_AllocStringBuffer(nbuf, buffer);
  368|      0|		}
  369|      0|		if (c == '\\') {
  ------------------
  |  Branch (369:7): [True: 0, False: 0]
  ------------------
  370|       |		    /* If this is an embedded quote, unquote it, but
  371|       |		       otherwise keep backslashes */
  372|      0|		    c = scanchar(true, d);
  373|      0|		    if (c == R_EOF) break;
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
  |  Branch (373:11): [True: 0, False: 0]
  ------------------
  374|      0|		    if(c != quote) buffer->data[m++] = '\\';
  ------------------
  |  Branch (374:10): [True: 0, False: 0]
  ------------------
  375|      0|		}
  376|      0|		buffer->data[m++] = (char) c;
  377|      0|		if(dbcslocale && btowc(c) == WEOF)
  ------------------
  |  Branch (377:6): [True: 0, False: 0]
  |  Branch (377:20): [True: 0, False: 0]
  ------------------
  378|      0|		    buffer->data[m++] = (char) scanchar2(d);
  379|      0|	    }
  380|      0|	    if (c == R_EOF)
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
  |  Branch (380:10): [True: 0, False: 0]
  ------------------
  381|      0|		warning(_("EOF within quoted string"));
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              		warning(_("EOF within quoted string"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  382|      0|	    c = scanchar(false, d);
  383|      0|	    mm = m;
  384|      0|	}
  385|      0|	else { /* not a quoted char string */
  386|      0|	    do {
  387|      0|		if (m >= nbuf - 3) {
  ------------------
  |  Branch (387:7): [True: 0, False: 0]
  ------------------
  388|      0|		    nbuf *= 2;
  389|      0|		    R_AllocStringBuffer(nbuf, buffer);
  390|      0|		}
  391|      0|		buffer->data[m++] = (char) c;
  392|      0|		if(dbcslocale && btowc(c) == WEOF)
  ------------------
  |  Branch (392:6): [True: 0, False: 0]
  |  Branch (392:20): [True: 0, False: 0]
  ------------------
  393|      0|		    buffer->data[m++] = (char) scanchar2(d);
  394|      0|		c = scanchar(false, d);
  395|      0|	    } while (!Rspace(c) && c != R_EOF);
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
  |  Branch (395:15): [True: 0, False: 0]
  |  Branch (395:29): [True: 0, False: 0]
  ------------------
  396|      0|	}
  397|       |	/* skip all space or tabs: only look at lead bytes here */
  398|      0|	while (c == ' ' || c == '\t') c = scanchar(false, d);
  ------------------
  |  Branch (398:9): [True: 0, False: 0]
  |  Branch (398:21): [True: 0, False: 0]
  ------------------
  399|      0|	if (c == '\n' || c == '\r' || c == R_EOF)
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
  |  Branch (399:6): [True: 0, False: 0]
  |  Branch (399:19): [True: 0, False: 0]
  |  Branch (399:32): [True: 0, False: 0]
  ------------------
  400|      0|	    filled = c;
  401|      0|	else
  402|      0|	    unscanchar(c, d);
  403|      0|    }
  404|    170|    else { /* have separator */
  405|  1.39k|	while ((c = scanchar(false, d)) != d->sepchar &&
  ------------------
  |  Branch (405:9): [True: 1.26k, False: 130]
  ------------------
  406|  1.26k|	       c != '\n' && c != '\r' && c != R_EOF)
  ------------------
  |  | 1531|  1.24k|#define R_EOF	-1
  ------------------
  |  Branch (406:9): [True: 1.24k, False: 26]
  |  Branch (406:22): [True: 1.24k, False: 0]
  |  Branch (406:35): [True: 1.23k, False: 2]
  ------------------
  407|  1.23k|	    {
  408|       |		/* eat white space */
  409|  1.23k|		if (type != STRSXP)
  ------------------
  |  |  126|  1.23k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (409:7): [True: 246, False: 992]
  ------------------
  410|    246|		    while (c == ' ' || c == '\t')
  ------------------
  |  Branch (410:14): [True: 0, False: 246]
  |  Branch (410:26): [True: 0, False: 246]
  ------------------
  411|      0|			if ((c = scanchar(false, d)) == d->sepchar
  ------------------
  |  Branch (411:8): [True: 0, False: 0]
  ------------------
  412|      0|			    || c == '\n' || c == '\r' || c == R_EOF) {
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
  |  Branch (412:11): [True: 0, False: 0]
  |  Branch (412:24): [True: 0, False: 0]
  |  Branch (412:37): [True: 0, False: 0]
  ------------------
  413|      0|			    filled = c;
  414|      0|			    goto donefill;
  415|      0|			}
  416|       |		/* CSV style quoted string handling */
  417|  1.23k|		if ((type == STRSXP || type == NILSXP)
  ------------------
  |  |  126|  2.47k|#define STRSXP	    16	  /* string vectors */
  ------------------
              		if ((type == STRSXP || type == NILSXP)
  ------------------
  |  |  111|    246|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (417:8): [True: 992, False: 246]
  |  Branch (417:26): [True: 0, False: 246]
  ------------------
  418|    992|		    && c != 0 && strchr(d->quoteset, c)) {
  ------------------
  |  Branch (418:10): [True: 992, False: 0]
  |  Branch (418:20): [True: 12, False: 980]
  ------------------
  419|     12|		    quote = c;
  420|     12|		inquote:
  421|    184|		    while ((c = scanchar(true, d)) != R_EOF && c != quote) {
  ------------------
  |  | 1531|    368|#define R_EOF	-1
  ------------------
  |  Branch (421:14): [True: 184, False: 0]
  |  Branch (421:50): [True: 172, False: 12]
  ------------------
  422|    172|			if (m >= nbuf - 3) {
  ------------------
  |  Branch (422:8): [True: 0, False: 172]
  ------------------
  423|      0|			    nbuf *= 2;
  424|      0|			    R_AllocStringBuffer(nbuf, buffer);
  425|      0|			}
  426|    172|			buffer->data[m++] = (char) c;
  427|    172|			if(dbcslocale && btowc(c) == WEOF)
  ------------------
  |  Branch (427:7): [True: 0, False: 172]
  |  Branch (427:21): [True: 0, False: 0]
  ------------------
  428|      0|			    buffer->data[m++] = (char) scanchar2(d);
  429|    172|		    }
  430|     12|		    if (c == R_EOF)
  ------------------
  |  | 1531|     12|#define R_EOF	-1
  ------------------
  |  Branch (430:11): [True: 0, False: 12]
  ------------------
  431|      0|			warning(_("EOF within quoted string"));
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              			warning(_("EOF within quoted string"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  432|     12|		    c = scanchar(true, d); /* only peek at lead byte
  433|       |					      unless ASCII */
  434|     12|		    if (c == quote) {
  ------------------
  |  Branch (434:11): [True: 0, False: 12]
  ------------------
  435|      0|			if (m >= nbuf - 3) {
  ------------------
  |  Branch (435:8): [True: 0, False: 0]
  ------------------
  436|      0|			    nbuf *= 2;
  437|      0|			    R_AllocStringBuffer(nbuf, buffer);
  438|      0|			}
  439|      0|			buffer->data[m++] = (char) quote;
  440|      0|			goto inquote; /* FIXME: Ick! Clean up logic */
  441|      0|		    }
  442|     12|		    mm = m;
  443|     12|		    if (c == d->sepchar || c == '\n' || c == '\r' || c == R_EOF){
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
  |  Branch (443:11): [True: 12, False: 0]
  |  Branch (443:30): [True: 0, False: 0]
  |  Branch (443:43): [True: 0, False: 0]
  |  Branch (443:56): [True: 0, False: 0]
  ------------------
  444|     12|			filled = c;
  445|     12|			goto donefill;
  446|     12|		    }
  447|      0|		    else {
  448|      0|			unscanchar(c, d);
  449|      0|			continue;
  450|      0|		    }
  451|     12|		} /* end of CSV-style quote handling */
  452|  1.22k|		if (!strip || m > 0 || !Rspace(c)) { /* only lead byte */
  ------------------
  |  Branch (452:7): [True: 1.13k, False: 90]
  |  Branch (452:17): [True: 78, False: 12]
  |  Branch (452:26): [True: 12, False: 0]
  ------------------
  453|  1.22k|		    if (m >= nbuf - 3) {
  ------------------
  |  Branch (453:11): [True: 0, False: 1.22k]
  ------------------
  454|      0|			nbuf *= 2;
  455|      0|			R_AllocStringBuffer(nbuf, buffer);
  456|      0|		    }
  457|  1.22k|		    buffer->data[m++] = (char) c;
  458|  1.22k|		    if(dbcslocale && btowc(c) == WEOF)
  ------------------
  |  Branch (458:10): [True: 0, False: 1.22k]
  |  Branch (458:24): [True: 0, False: 0]
  ------------------
  459|      0|			buffer->data[m++] = (char) scanchar2(d);
  460|  1.22k|		}
  461|  1.22k|	    }
  462|    158|	filled = c; /* last lead byte in a DBCS */
  463|    158|    }
  464|    170| donefill:
  465|       |    /* strip trailing white space, if desired and if item is non-null */
  466|    170|    bufp = &buffer->data[m];
  467|    170|    if (strip && m > mm) {
  ------------------
  |  Branch (467:9): [True: 12, False: 158]
  |  Branch (467:18): [True: 12, False: 0]
  ------------------
  468|     12|	do {c = (int)*--bufp;} while(m-- > mm && Rspace(c));
  ------------------
  |  Branch (468:31): [True: 12, False: 0]
  |  Branch (468:43): [True: 0, False: 12]
  ------------------
  469|     12|	bufp++;
  470|     12|    }
  471|    170|    *bufp = '\0';
  472|       |    /* Remove UTF-8 BOM */
  473|    170|    if(d->atStart && utf8locale &&
  ------------------
  |  Branch (473:8): [True: 12, False: 158]
  |  Branch (473:22): [True: 0, False: 12]
  ------------------
  474|      0|       !strncmp(buffer->data, "\xef\xbb\xbf", 3))
  ------------------
  |  Branch (474:8): [True: 0, False: 0]
  ------------------
  475|      0|	memmove(buffer->data, buffer->data+3, strlen(buffer->data+3) + 1);
  476|    170|    d->atStart = false;
  477|    170|    *bch = filled;
  478|    170|    return buffer->data;
  479|    170|}
scan.c:Rspace:
  100|     24|{
  101|     24|    if (c == ' ' || c == '\t' || c == '\n' || c == '\r') return true;
  ------------------
  |  Branch (101:9): [True: 0, False: 24]
  |  Branch (101:21): [True: 0, False: 24]
  |  Branch (101:34): [True: 0, False: 24]
  |  Branch (101:47): [True: 0, False: 24]
  ------------------
  102|       |#ifdef Win32
  103|       |    /* 0xa0 is NBSP in all 8-bit Windows locales */
  104|       |    if(!mbcslocale && c == 0xa0) return true;
  105|       |#else
  106|       |     /* 0xa0 is NBSP in Latin-1 */
  107|     24|    if(known_to_be_latin1 && c == 0xa0) return true;
  ------------------
  |  Branch (107:8): [True: 0, False: 24]
  |  Branch (107:30): [True: 0, False: 0]
  ------------------
  108|     24|#endif
  109|     24|    return false;
  110|     24|}
scan.c:extractItem:
  505|    166|{
  506|    166|    char *endp;
  507|    166|    switch(TYPEOF(ans)) {
  508|      0|    case NILSXP:
  ------------------
  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (508:5): [True: 0, False: 166]
  ------------------
  509|      0|	break;
  510|     56|    case LGLSXP:
  ------------------
  |  |  121|     56|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (510:5): [True: 56, False: 110]
  ------------------
  511|     56|	if (isNAstring(buffer, 0, d))
  ------------------
  |  Branch (511:6): [True: 0, False: 56]
  ------------------
  512|      0|	    LOGICAL(ans)[i] = NA_INTEGER;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  513|     56|	else {
  514|     56|	    int tr = StringTrue(buffer), fa = StringFalse(buffer);
  ------------------
  |  |   52|     56|#define StringTrue    Rf_StringTrue
  ------------------
              	    int tr = StringTrue(buffer), fa = StringFalse(buffer);
  ------------------
  |  |   51|     56|#define StringFalse   Rf_StringFalse
  ------------------
  515|     56|	    if(tr || fa) LOGICAL(ans)[i] = tr;
  ------------------
  |  Branch (515:9): [True: 34, False: 22]
  |  Branch (515:15): [True: 22, False: 0]
  ------------------
  516|      0|	    else expected("a logical", buffer, d);
  517|     56|	}
  518|     56|	break;
  519|      0|    case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (519:5): [True: 0, False: 166]
  ------------------
  520|      0|	if (isNAstring(buffer, 0, d))
  ------------------
  |  Branch (520:6): [True: 0, False: 0]
  ------------------
  521|      0|	    INTEGER(ans)[i] = NA_INTEGER;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  522|      0|	else {
  523|      0|	    INTEGER(ans)[i] = Strtoi(buffer, 10);
  524|      0|	    if (INTEGER(ans)[i] == NA_INTEGER)
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (524:10): [True: 0, False: 0]
  ------------------
  525|      0|		expected("an integer", buffer, d);
  526|      0|	}
  527|      0|	break;
  528|      0|    case REALSXP:
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (528:5): [True: 0, False: 166]
  ------------------
  529|      0|	if (isNAstring(buffer, 0, d))
  ------------------
  |  Branch (529:6): [True: 0, False: 0]
  ------------------
  530|      0|	    REAL(ans)[i] = NA_REAL;
  ------------------
  |  |   58|      0|#define NA_REAL		R_NaReal
  ------------------
  531|      0|	else {
  532|      0|	    REAL(ans)[i] = Strtod(buffer, &endp, false, d);
  533|      0|	    if (!isBlankString(endp))
  ------------------
  |  |   53|      0|#define isBlankString Rf_isBlankString
  ------------------
  |  Branch (533:10): [True: 0, False: 0]
  ------------------
  534|      0|		expected("a real", buffer, d);
  535|      0|	}
  536|      0|	break;
  537|      0|    case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (537:5): [True: 0, False: 166]
  ------------------
  538|      0|	if (isNAstring(buffer, 0, d))
  ------------------
  |  Branch (538:6): [True: 0, False: 0]
  ------------------
  539|      0|	    COMPLEX(ans)[i].r = COMPLEX(ans)[i].i = NA_REAL;
  ------------------
  |  |   58|      0|#define NA_REAL		R_NaReal
  ------------------
  540|      0|	else {
  541|      0|	    COMPLEX(ans)[i] = strtoc(buffer, &endp, false, d);
  542|      0|	    if (!isBlankString(endp))
  ------------------
  |  |   53|      0|#define isBlankString Rf_isBlankString
  ------------------
  |  Branch (542:10): [True: 0, False: 0]
  ------------------
  543|      0|		expected("a complex", buffer, d);
  544|      0|	}
  545|      0|	break;
  546|    110|    case STRSXP:
  ------------------
  |  |  126|    110|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (546:5): [True: 110, False: 56]
  ------------------
  547|    110|	if (isNAstring(buffer, 1, d))
  ------------------
  |  Branch (547:6): [True: 0, False: 110]
  ------------------
  548|      0|	    SET_STRING_ELT(ans, i, NA_STRING);
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  549|    110|	else
  550|    110|	    SET_STRING_ELT(ans, i, insertString(buffer, d));
  551|    110|	break;
  552|      0|    case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (552:5): [True: 0, False: 166]
  ------------------
  553|      0|	if (isNAstring(buffer, 0, d))
  ------------------
  |  Branch (553:6): [True: 0, False: 0]
  ------------------
  554|      0|	    RAW(ans)[i] = 0;
  555|      0|	else {
  556|      0|	    RAW(ans)[i] = strtoraw(buffer, &endp);
  557|      0|	    if (!isBlankString(endp))
  ------------------
  |  |   53|      0|#define isBlankString Rf_isBlankString
  ------------------
  |  Branch (557:10): [True: 0, False: 0]
  ------------------
  558|      0|		expected("a raw", buffer, d);
  559|      0|	}
  560|      0|	break;
  561|      0|    default:
  ------------------
  |  Branch (561:5): [True: 0, False: 166]
  ------------------
  562|      0|	UNIMPLEMENTED_TYPE("extractItem", ans);
  563|    166|    }
  564|    166|}
scan.c:isNAstring:
  485|    166|{
  486|    166|    int i;
  487|       |
  488|    166|    if(!mode && strlen(buf) == 0) return 1;
  ------------------
  |  Branch (488:8): [True: 56, False: 110]
  |  Branch (488:17): [True: 0, False: 56]
  ------------------
  489|    320|    for (i = 0; i < length(d->NAstrings); i++)
  ------------------
  |  |  987|    320|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (489:17): [True: 154, False: 166]
  ------------------
  490|    154|	if (!strcmp(CHAR(STRING_ELT(d->NAstrings, i)), buf)) return 1;
  ------------------
  |  |  203|    154|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (490:6): [True: 0, False: 154]
  ------------------
  491|    166|    return 0;
  492|    166|}
scan.c:insertString:
   92|    110|{
   93|    110|    cetype_t enc = CE_NATIVE;
   94|    110|    if (l->con->UTF8out || l->isUTF8) enc = CE_UTF8;
  ------------------
  |  Branch (94:9): [True: 0, False: 110]
  |  Branch (94:28): [True: 0, False: 110]
  ------------------
   95|    110|    else if (l->isLatin1) enc = CE_LATIN1;
  ------------------
  |  Branch (95:14): [True: 0, False: 110]
  ------------------
   96|    110|    return mkCharCE(str, enc);
  ------------------
  |  |  999|    110|#define mkCharCE		Rf_mkCharCE
  ------------------
   97|    110|}
scan.c:scanFrame:
  693|      2|{
  694|      2|    SEXP ans, new, old, w;
  695|      2|    char *buffer = NULL;
  696|      2|    int c, strip, bch, ic;
  697|      2|    R_xlen_t blksize, i, ii, j, n, nc, linesread, colsread;
  698|      2|    R_xlen_t badline;
  699|      2|    R_StringBuffer buf = {NULL, 0, MAXELTSIZE};
  ------------------
  |  |   85|      2|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  ------------------
  700|       |
  701|      2|    nc = xlength(what);
  ------------------
  |  | 1049|      2|#define xlength(x)		Rf_xlength(x)
  ------------------
  702|      2|    if (!nc) {
  ------------------
  |  Branch (702:9): [True: 0, False: 2]
  ------------------
  703|      0|	    error(_("empty 'what' specified"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("empty 'what' specified"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  704|      0|    }
  705|       |
  706|      2|    if (maxitems > 0) blksize = maxitems;
  ------------------
  |  Branch (706:9): [True: 0, False: 2]
  ------------------
  707|      2|    else if (maxlines > 0) blksize = maxlines;
  ------------------
  |  Branch (707:14): [True: 0, False: 2]
  ------------------
  708|      2|    else blksize = SCAN_BLOCKSIZE;
  ------------------
  |  |   52|      2|#define SCAN_BLOCKSIZE		1000
  ------------------
  709|       |
  710|      2|    R_AllocStringBuffer(0, &buf);
  711|      2|    d->sbuf = &buf;
  712|      2|    PROTECT(ans = allocVector(VECSXP, nc));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
  713|     16|    for (i = 0; i < nc; i++) {
  ------------------
  |  Branch (713:17): [True: 14, False: 2]
  ------------------
  714|     14|	w = VECTOR_ELT(what, i);
  715|     14|	if (!isNull(w)) {
  ------------------
  |  |  956|     14|#define isNull			Rf_isNull
  ------------------
  |  Branch (715:6): [True: 14, False: 0]
  ------------------
  716|     14|	    if (!isVector(w)) {
  ------------------
  |  |  974|     14|#define isVector		Rf_isVector
  ------------------
  |  Branch (716:10): [True: 0, False: 14]
  ------------------
  717|      0|		error(_("invalid '%s' argument"), "what");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("invalid '%s' argument"), "what");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  718|      0|	    }
  719|     14|	    SET_VECTOR_ELT(ans, i, allocVector(TYPEOF(w), blksize));
  ------------------
  |  |  875|     14|#define allocVector		Rf_allocVector
  ------------------
  720|     14|	}
  721|     14|    }
  722|      2|    setAttrib(ans, R_NamesSymbol, getAttrib(what, R_NamesSymbol));
  ------------------
  |  | 1027|      2|#define setAttrib		Rf_setAttrib
  ------------------
                  setAttrib(ans, R_NamesSymbol, getAttrib(what, R_NamesSymbol));
  ------------------
  |  |  924|      2|#define getAttrib		Rf_getAttrib
  ------------------
  723|       |
  724|      2|    n = 0; linesread = 0; colsread = 0; ii = 0;
  725|      2|    badline = 0;
  726|      2|    bch = 1;
  727|      2|    c = 0;			/* -Wall */
  728|       |
  729|      2|    if (d->ttyflag)
  ------------------
  |  Branch (729:9): [True: 0, False: 2]
  ------------------
  730|      0|	snprintf(ConsolePrompt, CONSOLE_PROMPT_SIZE, "1: ");
  ------------------
  |  |   55|      0|#define CONSOLE_PROMPT_SIZE	256
  ------------------
  731|       |
  732|       |    // we checked its type in do_scan
  733|      2|    int *lstrip = LOGICAL(stripwhite);
  734|      2|    bool vec_strip = (xlength(stripwhite) == xlength(what));
  ------------------
  |  | 1049|      2|#define xlength(x)		Rf_xlength(x)
  ------------------
                  bool vec_strip = (xlength(stripwhite) == xlength(what));
  ------------------
  |  | 1049|      2|#define xlength(x)		Rf_xlength(x)
  ------------------
  735|      2|    strip = lstrip[0];
  736|       |
  737|      2|    ic = 999;
  738|    102|    for (;;) {
  739|    102|	if(!ic) {
  ------------------
  |  Branch (739:5): [True: 0, False: 102]
  ------------------
  740|      0|	    R_CheckUserInterrupt();
  741|      0|	    ic = 999;
  742|      0|	}
  743|       |
  744|    102|	if (bch == R_EOF) {
  ------------------
  |  | 1531|    102|#define R_EOF	-1
  ------------------
  |  Branch (744:6): [True: 0, False: 102]
  ------------------
  745|      0|	    if (d->ttyflag) R_ClearerrConsole();
  ------------------
  |  Branch (745:10): [True: 0, False: 0]
  ------------------
  746|      0|	    goto done;
  747|      0|	}
  748|    102|	else if (bch == '\n') {
  ------------------
  |  Branch (748:11): [True: 16, False: 86]
  ------------------
  749|     16|	    ic--;
  750|     16|	    linesread++;
  751|     16|	    if (colsread != 0) {
  ------------------
  |  Branch (751:10): [True: 0, False: 16]
  ------------------
  752|      0|		if (fill) {
  ------------------
  |  Branch (752:7): [True: 0, False: 0]
  ------------------
  753|      0|		    buffer[0] = '\0';
  754|      0|		    for (ii = colsread; ii < nc; ii++) {
  ------------------
  |  Branch (754:27): [True: 0, False: 0]
  ------------------
  755|      0|			extractItem(buffer, VECTOR_ELT(ans, ii), n, d);
  756|      0|		    }
  757|      0|		    n++;
  758|      0|		    ii = 0;
  759|      0|		    colsread = 0;
  760|      0|		} else if (!badline && !multiline)
  ------------------
  |  Branch (760:14): [True: 0, False: 0]
  |  Branch (760:26): [True: 0, False: 0]
  ------------------
  761|      0|		    badline = linesread;
  762|      0|		if(badline && !multiline)
  ------------------
  |  Branch (762:6): [True: 0, False: 0]
  |  Branch (762:17): [True: 0, False: 0]
  ------------------
  763|      0|		error(_("line %lld did not have %lld elements"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("line %lld did not have %lld elements"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  764|      0|		    (long long) badline, (long long) nc);
  765|      0|	    }
  766|     16|	    if (maxitems > 0 && n >= maxitems)
  ------------------
  |  Branch (766:10): [True: 0, False: 16]
  |  Branch (766:26): [True: 0, False: 0]
  ------------------
  767|      0|		goto done;
  768|     16|	    if (maxlines > 0 && linesread == maxlines)
  ------------------
  |  Branch (768:10): [True: 0, False: 16]
  |  Branch (768:26): [True: 0, False: 0]
  ------------------
  769|      0|		goto done;
  770|     16|	    if (d->ttyflag)
  ------------------
  |  Branch (770:10): [True: 0, False: 16]
  ------------------
  771|      0|		snprintf(ConsolePrompt, CONSOLE_PROMPT_SIZE,
  ------------------
  |  |   55|      0|#define CONSOLE_PROMPT_SIZE	256
  ------------------
  772|      0|		         "%lld: ", (long long) (n + 1));
  773|     16|	}
  774|    102|	if (n == blksize && colsread == 0) {
  ------------------
  |  Branch (774:6): [True: 0, False: 102]
  |  Branch (774:22): [True: 0, False: 0]
  ------------------
  775|      0|	    if(blksize > R_XLEN_T_MAX/2) error(_("too many items"));
  ------------------
  |  |   76|      0|# define R_XLEN_T_MAX 4503599627370496
  ------------------
              	    if(blksize > R_XLEN_T_MAX/2) error(_("too many items"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    if(blksize > R_XLEN_T_MAX/2) error(_("too many items"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (775:9): [True: 0, False: 0]
  ------------------
  776|      0|	    blksize = 2 * blksize;
  777|      0|	    for (i = 0; i < nc; i++) {
  ------------------
  |  Branch (777:18): [True: 0, False: 0]
  ------------------
  778|      0|		old = VECTOR_ELT(ans, i);
  779|      0|		if(!isNull(old)) {
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
  |  Branch (779:6): [True: 0, False: 0]
  ------------------
  780|      0|		    new = allocVector(TYPEOF(old), blksize);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
  781|      0|		    copyVector(new, old);
  ------------------
  |  |  902|      0|#define copyVector		Rf_copyVector
  ------------------
  782|      0|		    SET_VECTOR_ELT(ans, i, new);
  783|      0|		}
  784|      0|	    }
  785|      0|	}
  786|       |
  787|    102|	if (vec_strip) strip = lstrip[colsread];
  ------------------
  |  Branch (787:6): [True: 0, False: 102]
  ------------------
  788|    102|	buffer = fillBuffer(TYPEOF(VECTOR_ELT(ans, ii)), strip, &bch, d, &buf);
  789|    102|	if (colsread == 0 &&
  ------------------
  |  Branch (789:6): [True: 18, False: 84]
  ------------------
  790|     18|	    strlen(buffer) == 0 &&
  ------------------
  |  Branch (790:6): [True: 4, False: 14]
  ------------------
  791|      4|	    ((blskip && bch =='\n') || bch == R_EOF)) {
  ------------------
  |  | 1531|      2|#define R_EOF	-1
  ------------------
  |  Branch (791:8): [True: 4, False: 0]
  |  Branch (791:18): [True: 2, False: 2]
  |  Branch (791:33): [True: 2, False: 0]
  ------------------
  792|      4|	    if (d->ttyflag || bch == R_EOF)
  ------------------
  |  | 1531|      4|#define R_EOF	-1
  ------------------
  |  Branch (792:10): [True: 0, False: 4]
  |  Branch (792:24): [True: 2, False: 2]
  ------------------
  793|      2|		break;
  794|      4|	}
  795|     98|	else {
  796|     98|	    extractItem(buffer, VECTOR_ELT(ans, ii), n, d);
  797|     98|	    ii++;
  798|     98|	    colsread++;
  799|       |	    /* increment n and reset i after filling a row */
  800|     98|	    if (colsread == nc) {
  ------------------
  |  Branch (800:10): [True: 14, False: 84]
  ------------------
  801|     14|		n++;
  802|     14|		ii = 0;
  803|     14|		colsread = 0;
  804|     14|		if (flush && (bch != '\n') && (bch != R_EOF)) { /* MBCS-safe */
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
  |  Branch (804:7): [True: 0, False: 14]
  |  Branch (804:16): [True: 0, False: 0]
  |  Branch (804:33): [True: 0, False: 0]
  ------------------
  805|      0|		    while ((c = scanchar(false, d)) != '\n' && c != R_EOF);
  ------------------
  |  | 1531|      0|#define R_EOF	-1
  ------------------
  |  Branch (805:14): [True: 0, False: 0]
  |  Branch (805:50): [True: 0, False: 0]
  ------------------
  806|      0|		    bch = c;
  807|      0|		}
  808|     14|	    }
  809|     98|	}
  810|    102|    }
  811|       |
  812|      2| done:
  813|      2|    if (colsread != 0) {
  ------------------
  |  Branch (813:9): [True: 0, False: 2]
  ------------------
  814|      0|	if (!fill)
  ------------------
  |  Branch (814:6): [True: 0, False: 0]
  ------------------
  815|      0|	    warning(_("number of items read is not a multiple of the number of columns"));
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	    warning(_("number of items read is not a multiple of the number of columns"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  816|      0|	buffer[0] = '\0';	/* this is an NA */
  817|      0|	for (ii = colsread; ii < nc; ii++) {
  ------------------
  |  Branch (817:22): [True: 0, False: 0]
  ------------------
  818|      0|	    extractItem(buffer, VECTOR_ELT(ans, ii), n, d);
  819|      0|	}
  820|      0|	n++;
  821|      0|    }
  822|      2|    if (!d->quiet)
  ------------------
  |  Branch (822:9): [True: 0, False: 2]
  ------------------
  823|      0|	REprintf("Read %lld record%s\n", (long long) n, (n == 1) ? "" : "s");
  ------------------
  |  Branch (823:50): [True: 0, False: 0]
  ------------------
  824|      2|    if (d->ttyflag) ConsolePrompt[0] = '\0';
  ------------------
  |  Branch (824:9): [True: 0, False: 2]
  ------------------
  825|       |
  826|     16|    for (i = 0; i < nc; i++) {
  ------------------
  |  Branch (826:17): [True: 14, False: 2]
  ------------------
  827|     14|	old = VECTOR_ELT(ans, i);
  828|     14|	new = allocVector(TYPEOF(old), n);
  ------------------
  |  |  875|     14|#define allocVector		Rf_allocVector
  ------------------
  829|     14|	switch (TYPEOF(old)) {
  830|      8|	case LGLSXP:
  ------------------
  |  |  121|      8|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (830:2): [True: 8, False: 6]
  ------------------
  831|      8|	case INTSXP:
  ------------------
  |  |  123|      8|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (831:2): [True: 0, False: 14]
  ------------------
  832|     64|	    for (j = 0; j < n; j++)
  ------------------
  |  Branch (832:18): [True: 56, False: 8]
  ------------------
  833|     56|		INTEGER(new)[j] = INTEGER(old)[j];
  834|      8|	    break;
  835|      0|	case REALSXP:
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (835:2): [True: 0, False: 14]
  ------------------
  836|      0|	    for (j = 0; j < n; j++)
  ------------------
  |  Branch (836:18): [True: 0, False: 0]
  ------------------
  837|      0|		REAL(new)[j] = REAL(old)[j];
  838|      0|	    break;
  839|      0|	case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (839:2): [True: 0, False: 14]
  ------------------
  840|      0|	    for (j = 0; j < n; j++)
  ------------------
  |  Branch (840:18): [True: 0, False: 0]
  ------------------
  841|      0|		COMPLEX(new)[j] = COMPLEX(old)[j];
  842|      0|	    break;
  843|      6|	case STRSXP:
  ------------------
  |  |  126|      6|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (843:2): [True: 6, False: 8]
  ------------------
  844|     48|	    for (j = 0; j < n; j++)
  ------------------
  |  Branch (844:18): [True: 42, False: 6]
  ------------------
  845|     42|		SET_STRING_ELT(new, j, STRING_ELT(old, j));
  846|      6|	    break;
  847|      0|	case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (847:2): [True: 0, False: 14]
  ------------------
  848|      0|	    for (j = 0; j < n; j++)
  ------------------
  |  Branch (848:18): [True: 0, False: 0]
  ------------------
  849|      0|		RAW(new)[j] = RAW(old)[j];
  850|      0|	    break;
  851|      0|	case NILSXP:
  ------------------
  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (851:2): [True: 0, False: 14]
  ------------------
  852|      0|	    break;
  853|      0|	default:
  ------------------
  |  Branch (853:2): [True: 0, False: 14]
  ------------------
  854|      0|	    UNIMPLEMENTED_TYPE("scanFrame", old);
  855|     14|	}
  856|     14|	SET_VECTOR_ELT(ans, i, new);
  857|     14|    }
  858|      2|    UNPROTECT(1);
  ------------------
  |  |  358|      2|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  859|      2|    R_FreeStringBuffer(&buf);
  860|       |    d->sbuf = NULL;
  861|      2|    return ans;
  862|      2|}

do_colon:
  143|      2|{
  144|      2|    checkArity(op, args);
  ------------------
  |  | 1793|      2|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  145|      2|    SEXP s1 = CAR(args),
  146|      2|	s2 = CADR(args);
  147|      2|    if (inherits(s1, "factor") && inherits(s2, "factor"))
  ------------------
  |  |  933|      2|#define inherits		Rf_inherits
  ------------------
                  if (inherits(s1, "factor") && inherits(s2, "factor"))
  ------------------
  |  |  933|      0|#define inherits		Rf_inherits
  ------------------
  |  Branch (147:9): [True: 0, False: 2]
  |  Branch (147:35): [True: 0, False: 0]
  ------------------
  148|      0|	return(cross_colon(call, s1, s2));
  149|      2|    double
  150|      2|	n1 = length(s1),
  ------------------
  |  |  987|      2|#define length(x)		Rf_length(x)
  ------------------
  151|      2|	n2 = length(s2);
  ------------------
  |  |  987|      2|#define length(x)		Rf_length(x)
  ------------------
  152|      2|    if (n1 != 1 || n2 != 1) {
  ------------------
  |  Branch (152:9): [True: 0, False: 2]
  |  Branch (152:20): [True: 0, False: 2]
  ------------------
  153|      0|	if (n1 == 0 || n2 == 0)
  ------------------
  |  Branch (153:6): [True: 0, False: 0]
  |  Branch (153:17): [True: 0, False: 0]
  ------------------
  154|      0|	    errorcall(call, _("argument of length 0"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	    errorcall(call, _("argument of length 0"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  155|      0|	char *check = getenv("_R_CHECK_LENGTH_COLON_");
  156|      0|	if (check ? StringTrue(check) : false) // warn by default
  ------------------
  |  |   52|      0|#define StringTrue    Rf_StringTrue
  ------------------
  |  Branch (156:6): [True: 0, False: 0]
  |  Branch (156:6): [True: 0, False: 0]
  ------------------
  157|      0|	    errorcall(call, _("numerical expression has length > 1"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	    errorcall(call, _("numerical expression has length > 1"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  158|      0|	else
  159|      0|	    warningcall(call, _("numerical expression has %d elements: only the first used"),
  ------------------
  |  | 2018|      0|# define warningcall		Rf_warningcall
  ------------------
              	    warningcall(call, _("numerical expression has %d elements: only the first used"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  160|      0|			(n1 > 1) ? (int) n1 : (int) n2);
  ------------------
  |  Branch (160:4): [True: 0, False: 0]
  ------------------
  161|      0|    }
  162|       |
  163|      2|    n1 = asReal(s1);
  ------------------
  |  |  889|      2|#define asReal			Rf_asReal
  ------------------
  164|      2|    n2 = asReal(s2);
  ------------------
  |  |  889|      2|#define asReal			Rf_asReal
  ------------------
  165|      2|    if (ISNAN(n1) || ISNAN(n2))
  ------------------
  |  |   76|      4|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 2]
  |  |  ------------------
  ------------------
                  if (ISNAN(n1) || ISNAN(n2))
  ------------------
  |  |   76|      2|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  166|      0|	errorcall(call, _("NA/NaN argument"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("NA/NaN argument"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  167|      2|    return seq_colon(n1, n2, call);
  168|      2|}
do_rep_int:
  340|     50|{
  341|     50|    checkArity(op, args);
  ------------------
  |  | 1793|     50|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  342|     50|    SEXP s = CAR(args), ncopy = CADR(args);
  343|     50|    R_xlen_t nc;
  344|     50|    SEXP a;
  345|       |
  346|       |    /* DispatchOrEval internal generic: rep.int */
  347|     50|    if (DispatchOrEval(call, op, "rep.int", args, rho, &a, 0, 0))
  ------------------
  |  | 1892|     50|# define DispatchOrEval		Rf_DispatchOrEval
  ------------------
  |  Branch (347:9): [True: 0, False: 50]
  ------------------
  348|      0|      return(a);
  349|       |
  350|     50|    if (!inherits(s, "factor"))
  ------------------
  |  |  933|     50|#define inherits		Rf_inherits
  ------------------
  |  Branch (350:9): [True: 50, False: 0]
  ------------------
  351|     50|    if (DispatchOrEval(call, op, "rep", args, rho, &a, 0, 0))
  ------------------
  |  | 1892|     50|# define DispatchOrEval		Rf_DispatchOrEval
  ------------------
  |  Branch (351:9): [True: 0, False: 50]
  ------------------
  352|      0|      return(a);
  353|       |
  354|     50|    if (!isVector(ncopy))
  ------------------
  |  |  974|     50|#define isVector		Rf_isVector
  ------------------
  |  Branch (354:9): [True: 0, False: 50]
  ------------------
  355|      0|	error(_("invalid type (%s) for '%s' (must be a vector)"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid type (%s) for '%s' (must be a vector)"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  356|      0|	      R_typeToChar(ncopy), "times");
  357|       |
  358|     50|    if (!isVector(s) && s != R_NilValue)
  ------------------
  |  |  974|     50|#define isVector		Rf_isVector
  ------------------
  |  Branch (358:9): [True: 0, False: 50]
  |  Branch (358:25): [True: 0, False: 0]
  ------------------
  359|      0|	error(_("attempt to replicate an object of type '%s'"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("attempt to replicate an object of type '%s'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  360|      0|	      R_typeToChar(s));
  361|       |
  362|     50|    nc = xlength(ncopy); // might be 0
  ------------------
  |  | 1049|     50|#define xlength(x)		Rf_xlength(x)
  ------------------
  363|     50|    if (nc == xlength(s))
  ------------------
  |  | 1049|     50|#define xlength(x)		Rf_xlength(x)
  ------------------
  |  Branch (363:9): [True: 50, False: 0]
  ------------------
  364|     50|	PROTECT(a = rep2(s, ncopy));
  ------------------
  |  |  357|     50|#define PROTECT(s)	Rf_protect(s)
  ------------------
  365|      0|    else {
  366|      0|	if (nc != 1) error(_("invalid '%s' value"), "times");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	if (nc != 1) error(_("invalid '%s' value"), "times");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (366:6): [True: 0, False: 0]
  ------------------
  367|       |
  368|      0|	R_xlen_t ns = xlength(s);
  ------------------
  |  | 1049|      0|#define xlength(x)		Rf_xlength(x)
  ------------------
  369|      0|	if (TYPEOF(ncopy) != INTSXP) {
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (369:6): [True: 0, False: 0]
  ------------------
  370|      0|	    double snc = asReal(ncopy);
  ------------------
  |  |  889|      0|#define asReal			Rf_asReal
  ------------------
  371|      0|	    if (!R_FINITE(snc) || snc <= -1. ||
  ------------------
  |  |   82|      0|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (371:10): [True: 0, False: 0]
  |  Branch (371:28): [True: 0, False: 0]
  ------------------
  372|      0|		(ns > 0 && snc >= R_XLEN_T_MAX + 1.))
  ------------------
  |  |   76|      0|# define R_XLEN_T_MAX 4503599627370496
  ------------------
  |  Branch (372:4): [True: 0, False: 0]
  |  Branch (372:14): [True: 0, False: 0]
  ------------------
  373|      0|		error(_("invalid '%s' value"), "times");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("invalid '%s' value"), "times");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  374|      0|	    nc = ns == 0 ? 1 : (R_xlen_t) snc;
  ------------------
  |  Branch (374:11): [True: 0, False: 0]
  ------------------
  375|      0|	} else if ((nc = asInteger(ncopy)) == NA_INTEGER || nc < 0) // nc = 0 ok
  ------------------
  |  |  885|      0|#define asInteger		Rf_asInteger
  ------------------
              	} else if ((nc = asInteger(ncopy)) == NA_INTEGER || nc < 0) // nc = 0 ok
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (375:13): [True: 0, False: 0]
  |  Branch (375:54): [True: 0, False: 0]
  ------------------
  376|      0|	    error(_("invalid '%s' value"), "times");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("invalid '%s' value"), "times");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  377|      0|	if ((double) nc * ns > R_XLEN_T_MAX)
  ------------------
  |  |   76|      0|# define R_XLEN_T_MAX 4503599627370496
  ------------------
  |  Branch (377:6): [True: 0, False: 0]
  ------------------
  378|      0|	    error(_("invalid '%s' value"), "times");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("invalid '%s' value"), "times");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  379|      0|	PROTECT(a = rep3(s, ns, nc * ns));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  380|      0|    }
  381|       |
  382|     50|#ifdef _S4_rep_keepClass
  383|     50|    if(IS_S4_OBJECT(s)) { /* e.g. contains = "list" */
  ------------------
  |  Branch (383:8): [True: 0, False: 50]
  ------------------
  384|      0|	setAttrib(a, R_ClassSymbol, getAttrib(s, R_ClassSymbol));
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
              	setAttrib(a, R_ClassSymbol, getAttrib(s, R_ClassSymbol));
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
  385|      0|	SET_S4_OBJECT(a);
  386|      0|    }
  387|     50|#endif
  388|       |
  389|     50|    if (inherits(s, "factor")) {
  ------------------
  |  |  933|     50|#define inherits		Rf_inherits
  ------------------
  |  Branch (389:9): [True: 0, False: 50]
  ------------------
  390|      0|	SEXP tmp;
  391|      0|	if(inherits(s, "ordered")) {
  ------------------
  |  |  933|      0|#define inherits		Rf_inherits
  ------------------
  |  Branch (391:5): [True: 0, False: 0]
  ------------------
  392|      0|	    PROTECT(tmp = allocVector(STRSXP, 2));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  393|      0|	    SET_STRING_ELT(tmp, 0, mkChar("ordered"));
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
  394|      0|	    SET_STRING_ELT(tmp, 1, mkChar("factor"));
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
  395|      0|	} else PROTECT(tmp = mkString("factor"));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  396|      0|	setAttrib(a, R_ClassSymbol, tmp);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  397|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  398|      0|	setAttrib(a, R_LevelsSymbol, getAttrib(s, R_LevelsSymbol));
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
              	setAttrib(a, R_LevelsSymbol, getAttrib(s, R_LevelsSymbol));
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
  399|      0|    }
  400|     50|    UNPROTECT(1);
  ------------------
  |  |  358|     50|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  401|     50|    return a;
  402|     50|}
do_rep_len:
  405|    347|{
  406|    347|    R_xlen_t ns, na;
  407|    347|    SEXP a, s, len;
  408|       |
  409|    347|    checkArity(op, args);
  ------------------
  |  | 1793|    347|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  410|       |
  411|       |    /* DispatchOrEval internal generic: rep_len */
  412|    347|    if (DispatchOrEval(call, op, "rep_len", args, rho, &a, 0, 0))
  ------------------
  |  | 1892|    347|# define DispatchOrEval		Rf_DispatchOrEval
  ------------------
  |  Branch (412:9): [True: 0, False: 347]
  ------------------
  413|      0|      return(a);
  414|       |
  415|    347|    s = CAR(args);
  416|       |
  417|    347|    if (isObject(s) && !inherits(s, "factor")) {
  ------------------
  |  |  959|    347|#define isObject		Rf_isObject
  ------------------
                  if (isObject(s) && !inherits(s, "factor")) {
  ------------------
  |  |  933|      0|#define inherits		Rf_inherits
  ------------------
  |  Branch (417:9): [True: 0, False: 347]
  |  Branch (417:24): [True: 0, False: 0]
  ------------------
  418|      0|	SEXP rep_call;
  419|      0|	PROTECT(rep_call = shallow_duplicate(call));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  420|      0|	SETCAR(rep_call, install("rep"));
  ------------------
  |  |  934|      0|#define install			Rf_install
  ------------------
  421|      0|	SET_TAG(CDDR(rep_call), install("length.out"));
  ------------------
  |  |  934|      0|#define install			Rf_install
  ------------------
  422|      0|	SET_TAG(CDR(args), install("length.out"));
  ------------------
  |  |  934|      0|#define install			Rf_install
  ------------------
  423|      0|	if (DispatchOrEval(rep_call, op, "rep", args, rho, &a, 0, 0)) {
  ------------------
  |  | 1892|      0|# define DispatchOrEval		Rf_DispatchOrEval
  ------------------
  |  Branch (423:6): [True: 0, False: 0]
  ------------------
  424|      0|	    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  425|      0|	    return(a);
  426|      0|	}
  427|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  428|      0|    }
  429|       |
  430|    347|    if (!isVector(s) && s != R_NilValue)
  ------------------
  |  |  974|    347|#define isVector		Rf_isVector
  ------------------
  |  Branch (430:9): [True: 0, False: 347]
  |  Branch (430:25): [True: 0, False: 0]
  ------------------
  431|      0|	error(_("attempt to replicate non-vector"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("attempt to replicate non-vector"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  432|       |
  433|    347|    len = CADR(args);
  434|    347|    if(length(len) != 1)
  ------------------
  |  |  987|    347|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (434:8): [True: 0, False: 347]
  ------------------
  435|      0|	error(_("invalid '%s' value"), "length.out");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' value"), "length.out");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  436|    347|    if (TYPEOF(len) != INTSXP) {
  ------------------
  |  |  123|    347|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (436:9): [True: 2, False: 345]
  ------------------
  437|      2|	double sna = asReal(len);
  ------------------
  |  |  889|      2|#define asReal			Rf_asReal
  ------------------
  438|      2|	if (ISNAN(sna) || sna <= -1. || sna >= R_XLEN_T_MAX + 1.)
  ------------------
  |  |   76|      4|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 2]
  |  |  ------------------
  ------------------
              	if (ISNAN(sna) || sna <= -1. || sna >= R_XLEN_T_MAX + 1.)
  ------------------
  |  |   76|      2|# define R_XLEN_T_MAX 4503599627370496
  ------------------
  |  Branch (438:20): [True: 0, False: 2]
  |  Branch (438:34): [True: 0, False: 2]
  ------------------
  439|      0|	    error(_("invalid '%s' value"), "length.out");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("invalid '%s' value"), "length.out");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  440|      2|	na = (R_xlen_t) sna;
  441|      2|    } else
  442|    345|	if ((na = asInteger(len)) == NA_INTEGER || na < 0) /* na = 0 ok */
  ------------------
  |  |  885|    345|#define asInteger		Rf_asInteger
  ------------------
              	if ((na = asInteger(len)) == NA_INTEGER || na < 0) /* na = 0 ok */
  ------------------
  |  |   56|    690|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (442:6): [True: 0, False: 345]
  |  Branch (442:45): [True: 0, False: 345]
  ------------------
  443|      0|	    error(_("invalid '%s' value"), "length.out");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("invalid '%s' value"), "length.out");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  444|       |
  445|    347|    if (TYPEOF(s) == NILSXP && na > 0)
  ------------------
  |  |  111|    694|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (445:9): [True: 0, False: 347]
  |  Branch (445:32): [True: 0, False: 0]
  ------------------
  446|      0|	error(_("cannot replicate NULL to a non-zero length"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("cannot replicate NULL to a non-zero length"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  447|    347|    ns = xlength(s);
  ------------------
  |  | 1049|    347|#define xlength(x)		Rf_xlength(x)
  ------------------
  448|    347|    if (ns == 0) {
  ------------------
  |  Branch (448:9): [True: 55, False: 292]
  ------------------
  449|     55|	SEXP a;
  450|     55|	PROTECT(a = duplicate(s));
  ------------------
  |  |  357|     55|#define PROTECT(s)	Rf_protect(s)
  ------------------
  451|     55|	if(na > 0) a = xlengthgets(a, na);
  ------------------
  |  | 1050|     55|#define xlengthgets		Rf_xlengthgets
  ------------------
  |  Branch (451:5): [True: 55, False: 0]
  ------------------
  452|     55|	UNPROTECT(1);
  ------------------
  |  |  358|     55|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  453|     55|	return a;
  454|     55|    }
  455|    292|    PROTECT(a = rep3(s, ns, na));
  ------------------
  |  |  357|    292|#define PROTECT(s)	Rf_protect(s)
  ------------------
  456|       |
  457|    292|#ifdef _S4_rep_keepClass
  458|    292|    if(IS_S4_OBJECT(s)) { /* e.g. contains = "list" */
  ------------------
  |  Branch (458:8): [True: 0, False: 292]
  ------------------
  459|      0|	setAttrib(a, R_ClassSymbol, getAttrib(s, R_ClassSymbol));
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
              	setAttrib(a, R_ClassSymbol, getAttrib(s, R_ClassSymbol));
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
  460|      0|	SET_S4_OBJECT(a);
  461|      0|    }
  462|    292|#endif
  463|       |
  464|    292|    if (inherits(s, "factor")) {
  ------------------
  |  |  933|    292|#define inherits		Rf_inherits
  ------------------
  |  Branch (464:9): [True: 0, False: 292]
  ------------------
  465|      0|	SEXP tmp;
  466|      0|	if(inherits(s, "ordered")) {
  ------------------
  |  |  933|      0|#define inherits		Rf_inherits
  ------------------
  |  Branch (466:5): [True: 0, False: 0]
  ------------------
  467|      0|	    PROTECT(tmp = allocVector(STRSXP, 2));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  468|      0|	    SET_STRING_ELT(tmp, 0, mkChar("ordered"));
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
  469|      0|	    SET_STRING_ELT(tmp, 1, mkChar("factor"));
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
  470|      0|	} else PROTECT(tmp = mkString("factor"));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  471|      0|	setAttrib(a, R_ClassSymbol, tmp);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  472|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  473|      0|	setAttrib(a, R_LevelsSymbol, getAttrib(s, R_LevelsSymbol));
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
              	setAttrib(a, R_LevelsSymbol, getAttrib(s, R_LevelsSymbol));
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
  474|      0|    }
  475|    292|    UNPROTECT(1);
  ------------------
  |  |  358|    292|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  476|    292|    return a;
  477|    347|}
do_rep:
  635|    659|{
  636|    659|    SEXP ans, x, times = R_NilValue;
  637|    659|    R_xlen_t i, lx, len = NA_INTEGER, each = 1, nt;
  ------------------
  |  |   56|    659|#define NA_INTEGER	R_NaInt
  ------------------
  638|    659|    static SEXP do_rep_formals = NULL;
  639|       |
  640|       |    /* includes factors, POSIX[cl]t, Date */
  641|       |    /* DispatchOrEval internal generic: rep */
  642|    659|    if (DispatchOrEval(call, op, "rep", args, rho, &ans, 0, 0))
  ------------------
  |  | 1892|    659|# define DispatchOrEval		Rf_DispatchOrEval
  ------------------
  |  Branch (642:9): [True: 0, False: 659]
  ------------------
  643|      0|	return(ans);
  644|       |
  645|       |    /* This has evaluated all the non-missing arguments into ans */
  646|    659|    PROTECT(args = ans);
  ------------------
  |  |  357|    659|#define PROTECT(s)	Rf_protect(s)
  ------------------
  647|       |
  648|       |    /* This is a primitive, and we have not dispatched to a method
  649|       |       so we manage the argument matching ourselves.  We pretend this is
  650|       |       rep(x, times, length.out, each, ...)
  651|       |    */
  652|    659|    if (do_rep_formals == NULL)
  ------------------
  |  Branch (652:9): [True: 2, False: 657]
  ------------------
  653|      2|	do_rep_formals = allocFormalsList5(install("x"), install("times"),
  ------------------
  |  |  868|      2|#define allocFormalsList5	Rf_allocFormalsList5
  ------------------
              	do_rep_formals = allocFormalsList5(install("x"), install("times"),
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
              	do_rep_formals = allocFormalsList5(install("x"), install("times"),
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  654|      2|					   install("length.out"),
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  655|      2|					   install("each"), R_DotsSymbol);
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  656|    659|    PROTECT(args = matchArgs_NR(do_rep_formals, args, call));
  ------------------
  |  |  357|    659|#define PROTECT(s)	Rf_protect(s)
  ------------------
  657|       |
  658|    659|    x = CAR(args);
  659|       |    /* supported in R 2.15.x */
  660|    659|    if (TYPEOF(x) == LISTSXP)
  ------------------
  |  |  113|    659|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (660:9): [True: 0, False: 659]
  ------------------
  661|      0|	errorcall(call, "replication of pairlists is defunct");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
  662|       |
  663|    659|    lx = xlength(x);
  ------------------
  |  | 1049|    659|#define xlength(x)		Rf_xlength(x)
  ------------------
  664|       |
  665|    659|    if (TYPEOF(CADDR(args)) != INTSXP) {
  ------------------
  |  |  123|    659|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (665:9): [True: 0, False: 659]
  ------------------
  666|      0|	double slen = asReal(CADDR(args));
  ------------------
  |  |  889|      0|#define asReal			Rf_asReal
  ------------------
  667|      0|	if (R_FINITE(slen)) {
  ------------------
  |  |   82|      0|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (667:6): [True: 0, False: 0]
  ------------------
  668|      0|	    if (slen <= -1 || slen >= R_XLEN_T_MAX+1.0)
  ------------------
  |  |   76|      0|# define R_XLEN_T_MAX 4503599627370496
  ------------------
  |  Branch (668:10): [True: 0, False: 0]
  |  Branch (668:24): [True: 0, False: 0]
  ------------------
  669|      0|		errorcall(call, _("invalid '%s' argument"), "length.out");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              		errorcall(call, _("invalid '%s' argument"), "length.out");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  670|      0|	    len = (R_xlen_t) slen;
  671|      0|	} else
  672|      0|	    len = NA_INTEGER;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  673|    659|    } else {
  674|    659|	len = asInteger(CADDR(args));
  ------------------
  |  |  885|    659|#define asInteger		Rf_asInteger
  ------------------
  675|    659|	if(len != NA_INTEGER && len < 0)
  ------------------
  |  |   56|  1.31k|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (675:5): [True: 659, False: 0]
  |  Branch (675:26): [True: 0, False: 659]
  ------------------
  676|      0|	    errorcall(call, _("invalid '%s' argument"), "length.out");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	    errorcall(call, _("invalid '%s' argument"), "length.out");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  677|    659|    }
  678|    659|    if(length(CADDR(args)) != 1)
  ------------------
  |  |  987|    659|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (678:8): [True: 0, False: 659]
  ------------------
  679|      0|	warningcall(call, _("first element used of '%s' argument"),
  ------------------
  |  | 2018|      0|# define warningcall		Rf_warningcall
  ------------------
              	warningcall(call, _("first element used of '%s' argument"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  680|      0|		    "length.out");
  681|       |
  682|    659|    if (TYPEOF(CADDDR(args)) != INTSXP) {
  ------------------
  |  |  123|    659|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (682:9): [True: 659, False: 0]
  ------------------
  683|    659|	double seach = asReal(CADDDR(args));
  ------------------
  |  |  889|    659|#define asReal			Rf_asReal
  ------------------
  684|    659|	if (R_FINITE(seach)) {
  ------------------
  |  |   82|    659|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (684:6): [True: 0, False: 659]
  ------------------
  685|      0|	    if (seach <= -1. || (lx > 0 && seach >= R_XLEN_T_MAX + 1.))
  ------------------
  |  |   76|      0|# define R_XLEN_T_MAX 4503599627370496
  ------------------
  |  Branch (685:10): [True: 0, False: 0]
  |  Branch (685:27): [True: 0, False: 0]
  |  Branch (685:37): [True: 0, False: 0]
  ------------------
  686|      0|		errorcall(call, _("invalid '%s' argument"), "each");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              		errorcall(call, _("invalid '%s' argument"), "each");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  687|      0|	    each = lx == 0 ? NA_INTEGER : (R_xlen_t) seach;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (687:13): [True: 0, False: 0]
  ------------------
  688|    659|	} else each = NA_INTEGER;
  ------------------
  |  |   56|    659|#define NA_INTEGER	R_NaInt
  ------------------
  689|    659|    } else {
  690|      0|	each = asInteger(CADDDR(args));
  ------------------
  |  |  885|      0|#define asInteger		Rf_asInteger
  ------------------
  691|      0|	if(each != NA_INTEGER && each < 0)
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (691:5): [True: 0, False: 0]
  |  Branch (691:27): [True: 0, False: 0]
  ------------------
  692|      0|	    errorcall(call, _("invalid '%s' argument"), "each");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	    errorcall(call, _("invalid '%s' argument"), "each");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  693|      0|    }
  694|    659|    if(length(CADDDR(args)) != 1)
  ------------------
  |  |  987|    659|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (694:8): [True: 0, False: 659]
  ------------------
  695|      0|	warningcall(call, _("first element used of '%s' argument"), "each");
  ------------------
  |  | 2018|      0|# define warningcall		Rf_warningcall
  ------------------
              	warningcall(call, _("first element used of '%s' argument"), "each");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  696|    659|    if(each == NA_INTEGER) each = 1;
  ------------------
  |  |   56|    659|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (696:8): [True: 659, False: 0]
  ------------------
  697|       |
  698|    659|    if(lx == 0) {
  ------------------
  |  Branch (698:8): [True: 0, False: 659]
  ------------------
  699|      0|	if(len > 0 && x == R_NilValue)
  ------------------
  |  Branch (699:5): [True: 0, False: 0]
  |  Branch (699:16): [True: 0, False: 0]
  ------------------
  700|      0|	    warningcall(call, "'x' is NULL so the result will be NULL");
  ------------------
  |  | 2018|      0|# define warningcall		Rf_warningcall
  ------------------
  701|      0|	SEXP a;
  702|      0|	PROTECT(a = duplicate(x));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  703|      0|	if(len != NA_INTEGER && len > 0 && x != R_NilValue)
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (703:5): [True: 0, False: 0]
  |  Branch (703:26): [True: 0, False: 0]
  |  Branch (703:37): [True: 0, False: 0]
  ------------------
  704|      0|	    a = xlengthgets(a, len);
  ------------------
  |  | 1050|      0|#define xlengthgets		Rf_xlengthgets
  ------------------
  705|      0|	UNPROTECT(3);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  706|      0|	return a;
  707|      0|    }
  708|    659|    if (!isVector(x))
  ------------------
  |  |  974|    659|#define isVector		Rf_isVector
  ------------------
  |  Branch (708:9): [True: 0, False: 659]
  ------------------
  709|      0|	errorcall(call, "attempt to replicate an object of type '%s'",
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
  710|      0|		  R_typeToChar(x));
  711|       |
  712|       |    /* So now we know x is a vector of positive length.  We need to
  713|       |       replicate it, and its names if it has them. */
  714|       |
  715|    659|    int nprotect = 2;
  716|       |    /* First find the final length using 'times' and 'each' */
  717|    659|    if(len != NA_INTEGER) { /* takes precedence over times */
  ------------------
  |  |   56|    659|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (717:8): [True: 659, False: 0]
  ------------------
  718|    659|	nt = 1;
  719|    659|    } else {
  720|      0|	double sum = 0;
  721|      0|	if(CADR(args) == R_MissingArg)
  ------------------
  |  Branch (721:5): [True: 0, False: 0]
  ------------------
  722|      0|	    PROTECT(times = ScalarInteger(1));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  723|      0|#ifdef LONG_VECTOR_SUPPORT
  724|      0|	else if(TYPEOF(CADR(args)) != INTSXP)
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (724:10): [True: 0, False: 0]
  ------------------
  725|       |#else
  726|       |	else if(TYPEOF(CADR(args)) == REALSXP)
  727|       |#endif
  728|      0|	    PROTECT(times = coerceVector(CADR(args), REALSXP));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  729|      0|	else PROTECT(times = coerceVector(CADR(args), INTSXP));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  730|      0|	nprotect++;
  731|      0|	nt = XLENGTH(times);
  732|      0|	if(nt == 1) {
  ------------------
  |  Branch (732:5): [True: 0, False: 0]
  ------------------
  733|      0|	    R_xlen_t it;
  734|      0|	    if (TYPEOF(times) == REALSXP) {
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (734:10): [True: 0, False: 0]
  ------------------
  735|      0|		double rt = REAL(times)[0];
  736|      0|		if (ISNAN(rt) || rt <= -1 || rt >= R_XLEN_T_MAX+1.0)
  ------------------
  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
              		if (ISNAN(rt) || rt <= -1 || rt >= R_XLEN_T_MAX+1.0)
  ------------------
  |  |  349|      0|#define rt		Rf_rt
  ------------------
              		if (ISNAN(rt) || rt <= -1 || rt >= R_XLEN_T_MAX+1.0)
  ------------------
  |  |  349|      0|#define rt		Rf_rt
  ------------------
              		if (ISNAN(rt) || rt <= -1 || rt >= R_XLEN_T_MAX+1.0)
  ------------------
  |  |   76|      0|# define R_XLEN_T_MAX 4503599627370496
  ------------------
  |  Branch (736:20): [True: 0, False: 0]
  |  Branch (736:32): [True: 0, False: 0]
  ------------------
  737|      0|		    errorcall(call, _("invalid '%s' argument"), "times");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              		    errorcall(call, _("invalid '%s' argument"), "times");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  738|      0|		it = (R_xlen_t) rt;
  ------------------
  |  |  349|      0|#define rt		Rf_rt
  ------------------
  739|      0|	    } else {
  740|      0|		it = INTEGER(times)[0];
  741|      0|		if (it == NA_INTEGER || it < 0)
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (741:7): [True: 0, False: 0]
  |  Branch (741:27): [True: 0, False: 0]
  ------------------
  742|      0|		    errorcall(call, _("invalid '%s' argument"), "times");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              		    errorcall(call, _("invalid '%s' argument"), "times");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  743|      0|	    }
  744|      0|	    if ((double) lx * it * each > R_XLEN_T_MAX)
  ------------------
  |  |   76|      0|# define R_XLEN_T_MAX 4503599627370496
  ------------------
  |  Branch (744:10): [True: 0, False: 0]
  ------------------
  745|      0|		errorcall(call, _("length(x) * '%s' * '%s' is too large"), "times", "each");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              		errorcall(call, _("length(x) * '%s' * '%s' is too large"), "times", "each");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  746|      0|	    len = lx * it * each;
  747|      0|	} else { // nt != 1
  748|      0|	    if(nt != (double) lx * each) {
  ------------------
  |  Branch (748:9): [True: 0, False: 0]
  ------------------
  749|      0|		if (each == 1)	errorcall(call, _("invalid '%s' argument"),			     "times");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              		if (each == 1)	errorcall(call, _("invalid '%s' argument"),			     "times");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (749:7): [True: 0, False: 0]
  ------------------
  750|      0|		/* else */	errorcall(call, _("invalid '%s' argument, given the value of '%s'"), "times", "each");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              		/* else */	errorcall(call, _("invalid '%s' argument, given the value of '%s'"), "times", "each");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  751|      0|	    }
  752|      0|	    if (TYPEOF(times) == REALSXP)
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (752:10): [True: 0, False: 0]
  ------------------
  753|      0|		for(i = 0; i < nt; i++) {
  ------------------
  |  Branch (753:14): [True: 0, False: 0]
  ------------------
  754|      0|		    double rt = REAL(times)[i];
  755|      0|		    if (ISNAN(rt) || rt <= -1 || rt >= R_XLEN_T_MAX+1.0)
  ------------------
  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
              		    if (ISNAN(rt) || rt <= -1 || rt >= R_XLEN_T_MAX+1.0)
  ------------------
  |  |  349|      0|#define rt		Rf_rt
  ------------------
              		    if (ISNAN(rt) || rt <= -1 || rt >= R_XLEN_T_MAX+1.0)
  ------------------
  |  |  349|      0|#define rt		Rf_rt
  ------------------
              		    if (ISNAN(rt) || rt <= -1 || rt >= R_XLEN_T_MAX+1.0)
  ------------------
  |  |   76|      0|# define R_XLEN_T_MAX 4503599627370496
  ------------------
  |  Branch (755:24): [True: 0, False: 0]
  |  Branch (755:36): [True: 0, False: 0]
  ------------------
  756|      0|			errorcall(call, _("invalid '%s' argument"), "times");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              			errorcall(call, _("invalid '%s' argument"), "times");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  757|      0|		    sum += (R_xlen_t) rt;
  ------------------
  |  |  349|      0|#define rt		Rf_rt
  ------------------
  758|      0|		}
  759|      0|	    else
  760|      0|		for(i = 0; i < nt; i++) {
  ------------------
  |  Branch (760:14): [True: 0, False: 0]
  ------------------
  761|      0|		    int it = INTEGER(times)[i];
  762|      0|		    if (it == NA_INTEGER || it < 0)
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (762:11): [True: 0, False: 0]
  |  Branch (762:31): [True: 0, False: 0]
  ------------------
  763|      0|			errorcall(call, _("invalid '%s' argument"), "times");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              			errorcall(call, _("invalid '%s' argument"), "times");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  764|      0|		    sum += it;
  765|      0|		}
  766|      0|	    if (sum > R_XLEN_T_MAX)
  ------------------
  |  |   76|      0|# define R_XLEN_T_MAX 4503599627370496
  ------------------
  |  Branch (766:10): [True: 0, False: 0]
  ------------------
  767|      0|		errorcall(call, _("invalid '%s' argument"), "times");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              		errorcall(call, _("invalid '%s' argument"), "times");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  768|      0|	    len = (R_xlen_t) sum;
  769|      0|	}
  770|      0|    }
  771|       |
  772|    659|    if(len > 0 && each == 0)
  ------------------
  |  Branch (772:8): [True: 659, False: 0]
  |  Branch (772:19): [True: 0, False: 659]
  ------------------
  773|      0|	errorcall(call, _("invalid '%s' argument"), "each");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("invalid '%s' argument"), "each");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  774|       |
  775|    659|    SEXP xn = PROTECT(getAttrib(x, R_NamesSymbol));  nprotect++;
  ------------------
  |  |  357|    659|#define PROTECT(s)	Rf_protect(s)
  ------------------
  776|    659|    PROTECT(ans = rep4(x, times, len, each, nt));    nprotect++;
  ------------------
  |  |  357|    659|#define PROTECT(s)	Rf_protect(s)
  ------------------
  777|       |
  778|    659|    if (xlength(xn) > 0)
  ------------------
  |  | 1049|    659|#define xlength(x)		Rf_xlength(x)
  ------------------
  |  Branch (778:9): [True: 589, False: 70]
  ------------------
  779|    589|	setAttrib(ans, R_NamesSymbol, rep4(xn, times, len, each, nt));
  ------------------
  |  | 1027|    589|#define setAttrib		Rf_setAttrib
  ------------------
  780|       |
  781|    659|#ifdef _S4_rep_keepClass
  782|    659|    if(IS_S4_OBJECT(x)) { /* e.g. contains = "list" */
  ------------------
  |  Branch (782:8): [True: 0, False: 659]
  ------------------
  783|      0|	setAttrib(ans, R_ClassSymbol, getAttrib(x, R_ClassSymbol));
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
              	setAttrib(ans, R_ClassSymbol, getAttrib(x, R_ClassSymbol));
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
  784|      0|	SET_S4_OBJECT(ans);
  785|      0|    }
  786|    659|#endif
  787|    659|    UNPROTECT(nprotect);
  ------------------
  |  |  358|    659|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  788|    659|    return ans;
  789|    659|}
do_seq:
  803|    535|{
  804|    535|    SEXP ans = R_NilValue /* -Wall */, from, to, by, len, along;
  805|    535|    R_xlen_t i, lout = NA_INTEGER;
  ------------------
  |  |   56|    535|#define NA_INTEGER	R_NaInt
  ------------------
  806|    535|    bool One = (length(args) == 1); // *before* messing with args ..
  ------------------
  |  |  987|    535|#define length(x)		Rf_length(x)
  ------------------
  807|       |
  808|       |    /* DispatchOrEval internal generic: seq.int */
  809|    535|    if (DispatchOrEval(call, op, "seq", args, rho, &ans, 0, 1))
  ------------------
  |  | 1892|    535|# define DispatchOrEval		Rf_DispatchOrEval
  ------------------
  |  Branch (809:9): [True: 0, False: 535]
  ------------------
  810|      0|	return(ans);
  811|       |
  812|       |    /* This is a primitive and we manage argument matching ourselves.
  813|       |       We pretend this is
  814|       |       seq.int(from, to, by, length.out, along.with, ...)
  815|       |    */
  816|    535|    static SEXP do_seq_formals = NULL;
  817|    535|    if (do_seq_formals == NULL)
  ------------------
  |  Branch (817:9): [True: 2, False: 533]
  ------------------
  818|      2|	do_seq_formals = allocFormalsList6(install("from"), install("to"),
  ------------------
  |  |  869|      2|#define allocFormalsList6	Rf_allocFormalsList6
  ------------------
              	do_seq_formals = allocFormalsList6(install("from"), install("to"),
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
              	do_seq_formals = allocFormalsList6(install("from"), install("to"),
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  819|      2|					   install("by"), install("length.out"),
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
              					   install("by"), install("length.out"),
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  820|      2|					   install("along.with"), R_DotsSymbol);
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  821|    535|    PROTECT(args = matchArgs_NR(do_seq_formals, args, call));
  ------------------
  |  |  357|    535|#define PROTECT(s)	Rf_protect(s)
  ------------------
  822|       |
  823|    535|    from = CAR(args); args = CDR(args);
  824|    535|    to   = CAR(args); args = CDR(args);
  825|    535|    by   = CAR(args); args = CDR(args);
  826|    535|    len  = CAR(args); args = CDR(args);
  827|    535|    along= CAR(args);
  828|    535|    bool
  829|    535|	miss_from = (from == R_MissingArg),
  830|    535|	miss_to   = (to   == R_MissingArg);
  831|    535|    if(One && !miss_from) {
  ------------------
  |  Branch (831:8): [True: 0, False: 535]
  |  Branch (831:15): [True: 0, False: 0]
  ------------------
  832|      0|	int lf = length(from);
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  833|      0|	if(lf == 1 && (TYPEOF(from) == INTSXP || TYPEOF(from) == REALSXP)) {
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
              	if(lf == 1 && (TYPEOF(from) == INTSXP || TYPEOF(from) == REALSXP)) {
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (833:5): [True: 0, False: 0]
  |  Branch (833:17): [True: 0, False: 0]
  |  Branch (833:43): [True: 0, False: 0]
  ------------------
  834|      0|	    double rfrom = asReal(from);
  ------------------
  |  |  889|      0|#define asReal			Rf_asReal
  ------------------
  835|      0|	    if (!R_FINITE(rfrom))
  ------------------
  |  |   82|      0|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (835:10): [True: 0, False: 0]
  ------------------
  836|      0|		errorcall(call, _("'%s' must be a finite number"), "from");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              		errorcall(call, _("'%s' must be a finite number"), "from");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  837|      0|	    ans = seq_colon(1.0, rfrom, call);
  838|      0|	}
  839|      0|	else if (lf) // typically  seq(<vec>) , length(<vec>) >= 2
  ------------------
  |  Branch (839:11): [True: 0, False: 0]
  ------------------
  840|      0|	    ans = seq_colon(1.0, (double)lf, call);
  841|      0|	else
  842|      0|	    ans = allocVector(INTSXP, 0);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              	    ans = allocVector(INTSXP, 0);
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  843|      0|	goto done;
  844|      0|    }
  845|    535|    if(along != R_MissingArg) {
  ------------------
  |  Branch (845:8): [True: 0, False: 535]
  ------------------
  846|      0|	lout = xlength(along);
  ------------------
  |  | 1049|      0|#define xlength(x)		Rf_xlength(x)
  ------------------
  847|    535|    } else if(len != R_MissingArg && len != R_NilValue) {
  ------------------
  |  Branch (847:15): [True: 535, False: 0]
  |  Branch (847:38): [True: 535, False: 0]
  ------------------
  848|    535|	double rout = asReal(len);
  ------------------
  |  |  889|    535|#define asReal			Rf_asReal
  ------------------
  849|    535|	if(!R_FINITE(rout))
  ------------------
  |  |   82|    535|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (849:5): [True: 0, False: 535]
  ------------------
  850|      0|	    errorcall(call, _("'%s' must be a finite number"), "length.out");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	    errorcall(call, _("'%s' must be a finite number"), "length.out");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  851|    535|	if(ISNAN(rout) || rout <= -0.5)
  ------------------
  |  |   76|  1.07k|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 535]
  |  |  ------------------
  ------------------
  |  Branch (851:20): [True: 0, False: 535]
  ------------------
  852|      0|	    errorcall(call, _("'length.out' must be a non-negative number"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	    errorcall(call, _("'length.out' must be a non-negative number"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  853|    535|	if(length(len) != 1)
  ------------------
  |  |  987|    535|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (853:5): [True: 0, False: 535]
  ------------------
  854|      0|	    warningcall(call, _("first element used of '%s' argument"),
  ------------------
  |  | 2018|      0|# define warningcall		Rf_warningcall
  ------------------
              	    warningcall(call, _("first element used of '%s' argument"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  855|      0|			"length.out");
  856|    535|	rout = ceil(rout);
  857|    535|	if(rout >= R_XLEN_T_MAX)
  ------------------
  |  |   76|    535|# define R_XLEN_T_MAX 4503599627370496
  ------------------
  |  Branch (857:5): [True: 0, False: 535]
  ------------------
  858|      0|	    errorcall(call, _("result would be too long a vector"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	    errorcall(call, _("result would be too long a vector"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  859|    535|	lout = (R_xlen_t) rout;
  860|    535|    }
  861|       |
  862|    535|    if(lout == NA_INTEGER) {
  ------------------
  |  |   56|    535|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (862:8): [True: 0, False: 535]
  ------------------
  863|      0|	double rfrom, rto;
  864|      0|	if(miss_from) rfrom = 1.0;
  ------------------
  |  Branch (864:5): [True: 0, False: 0]
  ------------------
  865|      0|	else {
  866|      0|	    if(length(from) != 1) errorcall(call, _("'%s' must be of length 1"), "from");
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
              	    if(length(from) != 1) errorcall(call, _("'%s' must be of length 1"), "from");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	    if(length(from) != 1) errorcall(call, _("'%s' must be of length 1"), "from");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (866:9): [True: 0, False: 0]
  ------------------
  867|      0|	    rfrom = asReal(from);
  ------------------
  |  |  889|      0|#define asReal			Rf_asReal
  ------------------
  868|      0|	    if(!R_FINITE(rfrom))
  ------------------
  |  |   82|      0|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (868:9): [True: 0, False: 0]
  ------------------
  869|      0|		errorcall(call, _("'%s' must be a finite number"), "from");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              		errorcall(call, _("'%s' must be a finite number"), "from");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  870|      0|	}
  871|      0|	if(miss_to) rto = 1.0;
  ------------------
  |  Branch (871:5): [True: 0, False: 0]
  ------------------
  872|      0|	else {
  873|      0|	    if(length(to) != 1) errorcall(call, _("'%s' must be of length 1"), "to");
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
              	    if(length(to) != 1) errorcall(call, _("'%s' must be of length 1"), "to");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	    if(length(to) != 1) errorcall(call, _("'%s' must be of length 1"), "to");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (873:9): [True: 0, False: 0]
  ------------------
  874|      0|	    rto = asReal(to);
  ------------------
  |  |  889|      0|#define asReal			Rf_asReal
  ------------------
  875|      0|	    if(!R_FINITE(rto))
  ------------------
  |  |   82|      0|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (875:9): [True: 0, False: 0]
  ------------------
  876|      0|		errorcall(call, _("'%s' must be a finite number"), "to");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              		errorcall(call, _("'%s' must be a finite number"), "to");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  877|      0|	}
  878|      0|	if(by == R_MissingArg)
  ------------------
  |  Branch (878:5): [True: 0, False: 0]
  ------------------
  879|      0|	    ans = seq_colon(rfrom, rto, call);
  880|      0|	else { // 'by' specified
  881|      0|	    if(length(by) != 1) errorcall(call, _("'%s' must be of length 1"), "by");
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
              	    if(length(by) != 1) errorcall(call, _("'%s' must be of length 1"), "by");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	    if(length(by) != 1) errorcall(call, _("'%s' must be of length 1"), "by");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (881:9): [True: 0, False: 0]
  ------------------
  882|      0|	    double del = rto - rfrom;
  883|      0|	    if(del == 0.0 && rto == 0.0) {
  ------------------
  |  Branch (883:9): [True: 0, False: 0]
  |  Branch (883:23): [True: 0, False: 0]
  ------------------
  884|      0|		ans = to; // is *not* missing in this case
  885|      0|		goto done;
  886|      0|	    }
  887|      0|	    double rby = asReal(by);
  ------------------
  |  |  889|      0|#define asReal			Rf_asReal
  ------------------
  888|      0|	    if((rby ==  1. && del > 0.) ||
  ------------------
  |  Branch (888:10): [True: 0, False: 0]
  |  Branch (888:24): [True: 0, False: 0]
  ------------------
  889|      0|	       (rby == -1. && del < 0.)) { // --> treat as if missing (return integer)
  ------------------
  |  Branch (889:10): [True: 0, False: 0]
  |  Branch (889:24): [True: 0, False: 0]
  ------------------
  890|      0|		ans = seq_colon(rfrom, rto, call);
  891|      0|		goto done;
  892|      0|	    }
  893|      0|	    bool finite_del = R_FINITE(del) != 0;
  ------------------
  |  |   82|      0|# define R_FINITE(x)    isfinite(x)
  ------------------
  894|      0|	    double n = (finite_del)
  ------------------
  |  Branch (894:17): [True: 0, False: 0]
  ------------------
  895|      0|		? del/rby
  896|      0|		: rto/rby - rfrom/rby; /* overflow in  (to - from)  when both are finite */
  897|      0|	    if(!R_FINITE(n)) {
  ------------------
  |  |   82|      0|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (897:9): [True: 0, False: 0]
  ------------------
  898|      0|		if(del == 0.0 && rby == 0.0) {
  ------------------
  |  Branch (898:6): [True: 0, False: 0]
  |  Branch (898:20): [True: 0, False: 0]
  ------------------
  899|      0|		    ans = miss_from ? ScalarReal(rfrom) : from;
  ------------------
  |  | 1024|      0|#define ScalarReal		Rf_ScalarReal
  ------------------
  |  Branch (899:13): [True: 0, False: 0]
  ------------------
  900|      0|		    goto done;
  901|      0|		} else
  902|      0|		    errorcall(call, _("invalid '(to - from)/by'"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              		    errorcall(call, _("invalid '(to - from)/by'"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  903|      0|	    }
  904|       |	    // inherited from seq.default() but "fudgy"
  905|      0|	    if(finite_del && fabs(del)/fmax2(fabs(rto), fabs(rfrom)) < 100 * DBL_EPSILON) {
  ------------------
  |  |  252|      0|#define fmax2		Rf_fmax2
  ------------------
  |  Branch (905:9): [True: 0, False: 0]
  |  Branch (905:23): [True: 0, False: 0]
  ------------------
  906|      0|		ans = miss_from ? ScalarReal(rfrom) : from;
  ------------------
  |  | 1024|      0|#define ScalarReal		Rf_ScalarReal
  ------------------
  |  Branch (906:9): [True: 0, False: 0]
  ------------------
  907|      0|		goto done;
  908|      0|	    }
  909|      0|#ifdef LONG_VECTOR_SUPPORT
  910|      0|	    if(n > 100 * (double) INT_MAX)
  ------------------
  |  Branch (910:9): [True: 0, False: 0]
  ------------------
  911|       |#else
  912|       |	    if(n > (double) INT_MAX)
  913|       |#endif
  914|      0|		errorcall(call, _("'by' argument is much too small"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              		errorcall(call, _("'by' argument is much too small"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  915|      0|	    if(n < - FEPS)
  ------------------
  |  |  800|      0|#define FEPS 1e-10
  ------------------
  |  Branch (915:9): [True: 0, False: 0]
  ------------------
  916|      0|		errorcall(call, _("wrong sign in 'by' argument"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              		errorcall(call, _("wrong sign in 'by' argument"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  917|       |
  918|      0|	    R_xlen_t nn;
  919|      0|	    if((miss_from || TYPEOF(from) == INTSXP) &&
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (919:10): [True: 0, False: 0]
  |  Branch (919:23): [True: 0, False: 0]
  ------------------
  920|      0|	       (miss_to   || TYPEOF(to)   == INTSXP) && TYPEOF(by) == INTSXP)
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
              	       (miss_to   || TYPEOF(to)   == INTSXP) && TYPEOF(by) == INTSXP)
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (920:10): [True: 0, False: 0]
  |  Branch (920:23): [True: 0, False: 0]
  |  Branch (920:50): [True: 0, False: 0]
  ------------------
  921|      0|	    {
  922|      0|		int *ia, ifrom = miss_from ? (int)rfrom : asInteger(from),
  ------------------
  |  |  885|      0|#define asInteger		Rf_asInteger
  ------------------
  |  Branch (922:20): [True: 0, False: 0]
  ------------------
  923|      0|		    iby = asInteger(by);
  ------------------
  |  |  885|      0|#define asInteger		Rf_asInteger
  ------------------
  924|       |		/* With the current limits on integers and FEPS
  925|       |		   reduced below 1/INT_MAX this is the same as the
  926|       |		   next, so this is future-proofing against longer integers.
  927|       |		*/
  928|       |		/* as seq.default also returns integer for from + (0:n)*by
  929|       |		*/
  930|      0|		nn = (R_xlen_t) n;
  931|      0|		ans = allocVector(INTSXP, nn+1);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              		ans = allocVector(INTSXP, nn+1);
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  932|      0|		ia = INTEGER(ans);
  933|      0|		for(i = 0; i <= nn; i++)
  ------------------
  |  Branch (933:14): [True: 0, False: 0]
  ------------------
  934|      0|		    ia[i] = (int)(ifrom + i * iby);
  935|      0|	    } else {
  936|      0|		nn = (int)(n + FEPS);
  ------------------
  |  |  800|      0|#define FEPS 1e-10
  ------------------
  937|      0|		ans = allocVector(REALSXP, nn+1);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              		ans = allocVector(REALSXP, nn+1);
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  938|      0|		double *ra = REAL(ans);
  939|      0|		if(finite_del)
  ------------------
  |  Branch (939:6): [True: 0, False: 0]
  ------------------
  940|      0|		    for(i = 0; i <= nn; i++)
  ------------------
  |  Branch (940:18): [True: 0, False: 0]
  ------------------
  941|      0|			ra[i] = rfrom + (double)i * rby;
  942|      0|		else { // |from - to| is infinite, but n = (from-to)/by is not
  943|      0|		    rfrom /= 4.;
  944|      0|		    rby   /= 4.;
  945|      0|		    for(i = 0; i <= nn; i++) // ldexp(Y, 2) := Y * 2^2 = 4 Y
  ------------------
  |  Branch (945:18): [True: 0, False: 0]
  ------------------
  946|      0|			ra[i] = ldexp(rfrom + (double)i * rby, 2);
  947|      0|		}
  948|       |		/* Added in 2.9.0 */
  949|      0|		if (nn > 0)
  ------------------
  |  Branch (949:7): [True: 0, False: 0]
  ------------------
  950|      0|		    if((rby > 0 && ra[nn] > rto) || (rby < 0 && ra[nn] < rto))
  ------------------
  |  Branch (950:11): [True: 0, False: 0]
  |  Branch (950:22): [True: 0, False: 0]
  |  Branch (950:40): [True: 0, False: 0]
  |  Branch (950:51): [True: 0, False: 0]
  ------------------
  951|      0|			ra[nn] = rto;
  952|      0|	    }
  953|      0|	}
  954|    535|    } else if (lout == 0) {
  ------------------
  |  Branch (954:16): [True: 0, False: 535]
  ------------------
  955|      0|	ans = allocVector(INTSXP, 0);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              	ans = allocVector(INTSXP, 0);
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  956|    535|    } else if (One) {
  ------------------
  |  Branch (956:16): [True: 0, False: 535]
  ------------------
  957|      0|	ans = seq_colon(1.0, (double)lout, call);
  958|    535|    } else if (by == R_MissingArg) { // and  len := length.out  specified, >= 1
  ------------------
  |  Branch (958:16): [True: 509, False: 26]
  ------------------
  959|    509|	double rfrom = asReal(from), rto = asReal(to), n = (double)(lout - 1);
  ------------------
  |  |  889|    509|#define asReal			Rf_asReal
  ------------------
              	double rfrom = asReal(from), rto = asReal(to), n = (double)(lout - 1);
  ------------------
  |  |  889|    509|#define asReal			Rf_asReal
  ------------------
  960|    509|	if(miss_to)   rto   = rfrom + n;
  ------------------
  |  Branch (960:5): [True: 0, False: 509]
  ------------------
  961|    509|	if(miss_from) rfrom = rto   - n;
  ------------------
  |  Branch (961:5): [True: 0, False: 509]
  ------------------
  962|    509|	if(!R_FINITE(rfrom)) errorcall(call, _("'%s' must be a finite number"), "from");
  ------------------
  |  |   82|    509|# define R_FINITE(x)    isfinite(x)
  ------------------
              	if(!R_FINITE(rfrom)) errorcall(call, _("'%s' must be a finite number"), "from");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	if(!R_FINITE(rfrom)) errorcall(call, _("'%s' must be a finite number"), "from");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (962:5): [True: 0, False: 509]
  ------------------
  963|    509|	if(!R_FINITE(rto))   errorcall(call, _("'%s' must be a finite number"), "to");
  ------------------
  |  |   82|    509|# define R_FINITE(x)    isfinite(x)
  ------------------
              	if(!R_FINITE(rto))   errorcall(call, _("'%s' must be a finite number"), "to");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	if(!R_FINITE(rto))   errorcall(call, _("'%s' must be a finite number"), "to");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (963:5): [True: 0, False: 509]
  ------------------
  964|    509|	double del = rto - rfrom;
  965|    509|	if(fabs(del) == n) {
  ------------------
  |  Branch (965:5): [True: 116, False: 393]
  ------------------
  966|    116|	    ans = seq_colon(rfrom, rto, call);
  967|    116|	    goto done;
  968|    116|	}
  969|    393|	bool finite_del = 0; /* -Wall */
  970|    393|	double rby = 0.0; /* -Wall */
  971|    393|	if(lout > 2) { // only then, use 'by'
  ------------------
  |  Branch (971:5): [True: 393, False: 0]
  ------------------
  972|    393|	    finite_del = R_FINITE(del) != 0;
  ------------------
  |  |   82|    393|# define R_FINITE(x)    isfinite(x)
  ------------------
  973|    393|	    rby = (finite_del)
  ------------------
  |  Branch (973:12): [True: 393, False: 0]
  ------------------
  974|    393|		? del/n
  975|    393|		: rto/n - rfrom/n; // overflow in (to - from), n >= 2  =>  finite 'by'
  976|    393|	}
  977|    393|	if(rfrom <= INT_MAX && rfrom > INT_MIN &&
  ------------------
  |  Branch (977:5): [True: 393, False: 0]
  |  Branch (977:25): [True: 393, False: 0]
  ------------------
  978|    393|	   rto   <= INT_MAX && rto   > INT_MIN &&
  ------------------
  |  Branch (978:5): [True: 393, False: 0]
  |  Branch (978:25): [True: 393, False: 0]
  ------------------
  979|    393|	   rfrom == (int)rfrom &&
  ------------------
  |  Branch (979:5): [True: 393, False: 0]
  ------------------
  980|    393|	   (lout <= 1 || rto == (int)rto) &&
  ------------------
  |  Branch (980:6): [True: 0, False: 393]
  |  Branch (980:19): [True: 393, False: 0]
  ------------------
  981|    393|	   (lout <= 2 || rby == (int)rby)) {
  ------------------
  |  Branch (981:6): [True: 0, False: 393]
  |  Branch (981:19): [True: 0, False: 393]
  ------------------
  982|      0|	    ans = allocVector(INTSXP, lout);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              	    ans = allocVector(INTSXP, lout);
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  983|      0|	    INTEGER(ans)[0] = (int)rfrom;
  984|      0|	    if(lout > 1) INTEGER(ans)[lout - 1] = (int)rto;
  ------------------
  |  Branch (984:9): [True: 0, False: 0]
  ------------------
  985|      0|	    if(lout > 2)
  ------------------
  |  Branch (985:9): [True: 0, False: 0]
  ------------------
  986|      0|		for(i = 1; i < lout-1; i++) {
  ------------------
  |  Branch (986:14): [True: 0, False: 0]
  ------------------
  987|       |//		    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  988|      0|		    INTEGER(ans)[i] = (int)(rfrom + (double)i*rby);
  989|      0|		}
  990|    393|	} else {
  991|    393|	    ans = allocVector(REALSXP, lout);
  ------------------
  |  |  875|    393|#define allocVector		Rf_allocVector
  ------------------
              	    ans = allocVector(REALSXP, lout);
  ------------------
  |  |  124|    393|#define REALSXP	    14	  /* real variables */
  ------------------
  992|    393|	    REAL(ans)[0] = rfrom;
  993|    393|	    if(lout > 1) REAL(ans)[lout - 1] = rto;
  ------------------
  |  Branch (993:9): [True: 393, False: 0]
  ------------------
  994|    393|	    if(lout > 2) {
  ------------------
  |  Branch (994:9): [True: 393, False: 0]
  ------------------
  995|    393|		if(finite_del)
  ------------------
  |  Branch (995:6): [True: 393, False: 0]
  ------------------
  996|  32.2k|		    for(i = 1; i < lout-1; i++) {
  ------------------
  |  Branch (996:18): [True: 31.8k, False: 393]
  ------------------
  997|       |// 		        if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  998|  31.8k|			REAL(ans)[i] = rfrom + (double)i*rby;
  999|  31.8k|		    }
 1000|      0|		else {  // del:=(from - to) is infinite, but n = del/by is not
 1001|      0|		    rfrom /= 4.; // or ldexp(*, -2) for speed
 1002|      0|		    rby   /= 4.;
 1003|      0|		    for(i = 1; i < lout-1; i++) {
  ------------------
  |  Branch (1003:18): [True: 0, False: 0]
  ------------------
 1004|       |// 		        if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
 1005|      0|			REAL(ans)[i] = ldexp(rfrom + (double)i*rby, 2); // ldexp(y,2) = y * 4
 1006|      0|		    }
 1007|      0|		}
 1008|    393|	    }
 1009|    393|	}
 1010|    393|    } else if (miss_to) {
  ------------------
  |  Branch (1010:16): [True: 26, False: 0]
  ------------------
 1011|     26|	double rfrom = asReal(from), rby = asReal(by);
  ------------------
  |  |  889|     26|#define asReal			Rf_asReal
  ------------------
              	double rfrom = asReal(from), rby = asReal(by);
  ------------------
  |  |  889|     26|#define asReal			Rf_asReal
  ------------------
 1012|     26|	if(miss_from) rfrom = 1.0;
  ------------------
  |  Branch (1012:5): [True: 0, False: 26]
  ------------------
 1013|     26|	if(!R_FINITE(rfrom)) errorcall(call, _("'%s' must be a finite number"), "from");
  ------------------
  |  |   82|     26|# define R_FINITE(x)    isfinite(x)
  ------------------
              	if(!R_FINITE(rfrom)) errorcall(call, _("'%s' must be a finite number"), "from");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	if(!R_FINITE(rfrom)) errorcall(call, _("'%s' must be a finite number"), "from");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (1013:5): [True: 0, False: 26]
  ------------------
 1014|     26|	if(!R_FINITE(rby))   errorcall(call, _("'%s' must be a finite number"), "by");
  ------------------
  |  |   82|     26|# define R_FINITE(x)    isfinite(x)
  ------------------
              	if(!R_FINITE(rby))   errorcall(call, _("'%s' must be a finite number"), "by");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	if(!R_FINITE(rby))   errorcall(call, _("'%s' must be a finite number"), "by");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (1014:5): [True: 0, False: 26]
  ------------------
 1015|     26|	double n = (double)(lout - 1), rto = rfrom + n*rby;
 1016|     26|	if(fabs(rby) == 1.0 && fabs(rto - rfrom) == n) {
  ------------------
  |  Branch (1016:5): [True: 0, False: 26]
  |  Branch (1016:25): [True: 0, False: 0]
  ------------------
 1017|      0|	    ans = seq_colon(rfrom, rto, call);
 1018|      0|	    goto done;
 1019|      0|	}
 1020|       |	// avoid undefined behaviour by testing range before converting.
 1021|     26|	if(rfrom <= INT_MAX && rfrom > INT_MIN &&
  ------------------
  |  Branch (1021:5): [True: 26, False: 0]
  |  Branch (1021:25): [True: 26, False: 0]
  ------------------
 1022|     26|	   rto   <= INT_MAX && rto   > INT_MIN &&
  ------------------
  |  Branch (1022:5): [True: 26, False: 0]
  |  Branch (1022:25): [True: 26, False: 0]
  ------------------
 1023|     26|	   rby == (int)rby && rfrom == (int)rfrom) {
  ------------------
  |  Branch (1023:5): [True: 0, False: 26]
  |  Branch (1023:24): [True: 0, False: 0]
  ------------------
 1024|      0|	    ans = allocVector(INTSXP, lout);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              	    ans = allocVector(INTSXP, lout);
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
 1025|      0|	    for(i = 0; i < lout; i++) {
  ------------------
  |  Branch (1025:17): [True: 0, False: 0]
  ------------------
 1026|       |//		if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
 1027|      0|		INTEGER(ans)[i] = (int)(rfrom + (double)i*rby);
 1028|      0|	    }
 1029|     26|	} else {
 1030|     26|	    ans = allocVector(REALSXP, lout);
  ------------------
  |  |  875|     26|#define allocVector		Rf_allocVector
  ------------------
              	    ans = allocVector(REALSXP, lout);
  ------------------
  |  |  124|     26|#define REALSXP	    14	  /* real variables */
  ------------------
 1031|    130|	    for(i = 0; i < lout; i++) {
  ------------------
  |  Branch (1031:17): [True: 104, False: 26]
  ------------------
 1032|       |//		if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
 1033|    104|		REAL(ans)[i] = rfrom + (double)i*rby;
 1034|    104|	    }
 1035|     26|	}
 1036|     26|    } else if (miss_from) {
  ------------------
  |  Branch (1036:16): [True: 0, False: 0]
  ------------------
 1037|      0|	double rto = asReal(to), rby = asReal(by);
  ------------------
  |  |  889|      0|#define asReal			Rf_asReal
  ------------------
              	double rto = asReal(to), rby = asReal(by);
  ------------------
  |  |  889|      0|#define asReal			Rf_asReal
  ------------------
 1038|      0|	if(!R_FINITE(rto)) errorcall(call, _("'%s' must be a finite number"), "to");
  ------------------
  |  |   82|      0|# define R_FINITE(x)    isfinite(x)
  ------------------
              	if(!R_FINITE(rto)) errorcall(call, _("'%s' must be a finite number"), "to");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	if(!R_FINITE(rto)) errorcall(call, _("'%s' must be a finite number"), "to");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (1038:5): [True: 0, False: 0]
  ------------------
 1039|      0|	if(!R_FINITE(rby)) errorcall(call, _("'%s' must be a finite number"), "by");
  ------------------
  |  |   82|      0|# define R_FINITE(x)    isfinite(x)
  ------------------
              	if(!R_FINITE(rby)) errorcall(call, _("'%s' must be a finite number"), "by");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	if(!R_FINITE(rby)) errorcall(call, _("'%s' must be a finite number"), "by");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (1039:5): [True: 0, False: 0]
  ------------------
 1040|      0|	double n = (double)(lout - 1), rfrom = rto - n*rby;
 1041|      0|	if(fabs(rby) == 1.0 && fabs(rto - rfrom) == n) {
  ------------------
  |  Branch (1041:5): [True: 0, False: 0]
  |  Branch (1041:25): [True: 0, False: 0]
  ------------------
 1042|      0|	    ans = seq_colon(rfrom, rto, call);
 1043|      0|	    goto done;
 1044|      0|	}
 1045|      0|	if(rfrom <= INT_MAX && rfrom > INT_MIN &&
  ------------------
  |  Branch (1045:5): [True: 0, False: 0]
  |  Branch (1045:25): [True: 0, False: 0]
  ------------------
 1046|      0|	   rto   <= INT_MAX && rto   > INT_MIN &&
  ------------------
  |  Branch (1046:5): [True: 0, False: 0]
  |  Branch (1046:25): [True: 0, False: 0]
  ------------------
 1047|      0|	   rby == (int)rby && rto == (int)rto) {
  ------------------
  |  Branch (1047:5): [True: 0, False: 0]
  |  Branch (1047:24): [True: 0, False: 0]
  ------------------
 1048|      0|	    ans = allocVector(INTSXP, lout);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              	    ans = allocVector(INTSXP, lout);
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
 1049|      0|	    for(i = 0; i < lout; i++) {
  ------------------
  |  Branch (1049:17): [True: 0, False: 0]
  ------------------
 1050|       |//		if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
 1051|      0|		INTEGER(ans)[i] = (int)(rto - (double)(lout - 1 - i)*rby);
 1052|      0|	    }
 1053|      0|	} else {
 1054|      0|	    ans = allocVector(REALSXP, lout);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              	    ans = allocVector(REALSXP, lout);
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
 1055|      0|	    for(i = 0; i < lout; i++) {
  ------------------
  |  Branch (1055:17): [True: 0, False: 0]
  ------------------
 1056|       |//		if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
 1057|      0|		REAL(ans)[i] = rto - (double)(lout - 1 - i)*rby;
 1058|      0|	    }
 1059|      0|	}
 1060|      0|    } else
 1061|      0|	errorcall(call, _("too many arguments"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("too many arguments"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1062|       |
 1063|    535|done:
 1064|    535|    UNPROTECT(1);
  ------------------
  |  |  358|    535|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1065|    535|    return ans;
 1066|    535|} // do_seq()
do_seq_along:
 1069|    182|{
 1070|    182|    SEXP ans;
 1071|    182|    R_xlen_t len;
 1072|    182|    static SEXP length_op = NULL;
 1073|       |
 1074|       |    /* Store the .Primitive for 'length' for DispatchOrEval to use. */
 1075|    182|    if (length_op == NULL) {
  ------------------
  |  Branch (1075:9): [True: 2, False: 180]
  ------------------
 1076|      2|	SEXP R_lengthSymbol = install("length");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
 1077|      2|	length_op = eval(R_lengthSymbol, R_BaseEnv);
  ------------------
  |  |  913|      2|#define eval			Rf_eval
  ------------------
 1078|      2|	if (TYPEOF(length_op) != BUILTINSXP) {
  ------------------
  |  |  119|      2|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (1078:6): [True: 0, False: 2]
  ------------------
 1079|      0|	    length_op = NULL;
 1080|      0|	    error("'length' is not a BUILTIN");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 1081|      0|	}
 1082|      2|	R_PreserveObject(length_op);
 1083|      2|    }
 1084|       |
 1085|    182|    checkArity(op, args);
  ------------------
  |  | 1793|    182|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1086|    182|    check1arg(args, call, "along.with");
  ------------------
  |  | 1872|    182|# define check1arg		Rf_check1arg
  ------------------
 1087|       |
 1088|       |    /* Try to dispatch to S3 or S4 methods for 'length'.  For cases
 1089|       |       where no methods are defined this is more efficient than an
 1090|       |       unconditional callback to R */
 1091|    182|    if (isObject(CAR(args)) &&
  ------------------
  |  |  959|    182|#define isObject		Rf_isObject
  ------------------
  |  Branch (1091:9): [True: 178, False: 4]
  ------------------
 1092|    178|	DispatchOrEval(call, length_op, "length", args, rho, &ans, 0, 1)) {
  ------------------
  |  | 1892|    178|# define DispatchOrEval		Rf_DispatchOrEval
  ------------------
  |  Branch (1092:2): [True: 0, False: 178]
  ------------------
 1093|      0|	len = asInteger(ans);
  ------------------
  |  |  885|      0|#define asInteger		Rf_asInteger
  ------------------
 1094|      0|    }
 1095|    182|    else
 1096|    182|	len = xlength(CAR(args));
  ------------------
  |  | 1049|    182|#define xlength(x)		Rf_xlength(x)
  ------------------
 1097|       |
 1098|    182|    if (len == 0)
  ------------------
  |  Branch (1098:9): [True: 4, False: 178]
  ------------------
 1099|      4|	return allocVector(INTSXP, 0);
  ------------------
  |  |  875|      4|#define allocVector		Rf_allocVector
  ------------------
              	return allocVector(INTSXP, 0);
  ------------------
  |  |  123|      4|#define INTSXP	    13	  /* integer vectors */
  ------------------
 1100|    178|    else
 1101|    178|	return R_compact_intrange(1, len);
 1102|    182|}
seq.c:seq_colon:
   99|    118|{
  100|    118|    double r = fabs(n2 - n1);
  101|    118|    if(r >= R_XLEN_T_MAX)
  ------------------
  |  |   76|    118|# define R_XLEN_T_MAX 4503599627370496
  ------------------
  |  Branch (101:8): [True: 0, False: 118]
  ------------------
  102|      0|	errorcall(call, _("result would be too long a vector"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("result would be too long a vector"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  103|       |
  104|    118|    if (n1 == (R_xlen_t) n1 && n2 == (R_xlen_t) n2)
  ------------------
  |  Branch (104:9): [True: 118, False: 0]
  |  Branch (104:32): [True: 118, False: 0]
  ------------------
  105|    118|	return R_compact_intrange((R_xlen_t) n1, (R_xlen_t) n2);
  106|       |
  107|      0|    SEXP ans;
  108|      0|    R_xlen_t n = (R_xlen_t)(r + 1 + FLT_EPSILON);
  109|       |
  110|      0|    Rboolean useInt = (n1 <= INT_MAX) &&  (n1 == (int) n1);
  ------------------
  |  Branch (110:23): [True: 0, False: 0]
  |  Branch (110:43): [True: 0, False: 0]
  ------------------
  111|      0|    if(useInt) {
  ------------------
  |  Branch (111:8): [True: 0, False: 0]
  ------------------
  112|      0|	if(n1 <= INT_MIN) /* know  n1 <= INT_MAX */
  ------------------
  |  Branch (112:5): [True: 0, False: 0]
  ------------------
  113|      0|	    useInt = FALSE;
  114|      0|	else {
  115|       |	    /* r := " the effective 'to' "  of  from:to */
  116|      0|	    double dn = (double) n;
  117|      0|	    r = n1 + ((n1 <= n2) ? dn-1 : -(dn-1));
  ------------------
  |  Branch (117:16): [True: 0, False: 0]
  ------------------
  118|      0|	    if(r <= INT_MIN || r > INT_MAX) useInt = false;
  ------------------
  |  Branch (118:9): [True: 0, False: 0]
  |  Branch (118:25): [True: 0, False: 0]
  ------------------
  119|      0|	}
  120|      0|    }
  121|      0|    if (useInt) {
  ------------------
  |  Branch (121:9): [True: 0, False: 0]
  ------------------
  122|      0|	if (n1 <= n2)
  ------------------
  |  Branch (122:6): [True: 0, False: 0]
  ------------------
  123|      0|	    ans = R_compact_intrange((R_xlen_t) n1, (R_xlen_t)(n1 + n - 1));
  124|      0|	else
  125|      0|	    ans = R_compact_intrange((R_xlen_t) n1, (R_xlen_t)(n1 - n + 1));
  126|      0|    } else {
  127|      0|	ans = allocVector(REALSXP, n);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              	ans = allocVector(REALSXP, n);
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  128|      0|	if (n1 <= n2)
  ------------------
  |  Branch (128:6): [True: 0, False: 0]
  ------------------
  129|      0|	    for (R_xlen_t i = 0; i < n; i++) {
  ------------------
  |  Branch (129:27): [True: 0, False: 0]
  ------------------
  130|       |//		if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  131|      0|		REAL(ans)[i] = n1 + (double)i;
  132|      0|	    }
  133|      0|	else
  134|      0|	    for (R_xlen_t i = 0; i < n; i++) {
  ------------------
  |  Branch (134:27): [True: 0, False: 0]
  ------------------
  135|       |//		if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  136|      0|		REAL(ans)[i] = n1 - (double)i;
  137|      0|	    }
  138|      0|    }
  139|      0|    return ans;
  140|    118|}
seq.c:rep2:
  172|     50|{
  173|     50|    R_xlen_t i, j, nc, n;
  174|     50|    SEXP a, t;
  175|       |
  176|     50|#define R2_SWITCH_LOOP(it) \
  177|     50|    switch (TYPEOF(s)) { \
  178|     50|    case LGLSXP: \
  179|     50|	for (i = 0; i < nc; i++) { \
  180|       |/*	    if ((i+1) % ni == 0) R_CheckUserInterrupt();*/ \
  181|     50|	    for (j = 0; j < (R_xlen_t) it[i]; j++) \
  182|     50|		LOGICAL(a)[n++] = LOGICAL(s)[i]; \
  183|     50|	} \
  184|     50|	break; \
  185|     50|    case INTSXP: \
  186|     50|	for (i = 0; i < nc; i++) { \
  187|       |/*	    if ((i+1) % ni == 0) R_CheckUserInterrupt();*/ \
  188|     50|	    for (j = (R_xlen_t) it[i]; j > 0; j--) \
  189|     50|		INTEGER(a)[n++] = INTEGER(s)[i]; \
  190|     50|	} \
  191|     50|	break; \
  192|     50|    case REALSXP: \
  193|     50|	for (i = 0; i < nc; i++) { \
  194|       |/*	    if ((i+1) % ni == 0) R_CheckUserInterrupt();*/ \
  195|     50|	    for (j = (R_xlen_t) it[i]; j > 0; j--) \
  196|     50|		REAL(a)[n++] = REAL(s)[i]; \
  197|     50|	} \
  198|     50|	break; \
  199|     50|    case CPLXSXP: \
  200|     50|	for (i = 0; i < nc; i++) { \
  201|       |/*	    if ((i+1) % ni == 0) R_CheckUserInterrupt();*/ \
  202|     50|	    for (j = (R_xlen_t) it[i]; j > 0; j--) \
  203|     50|		COMPLEX(a)[n++] = COMPLEX(s)[i]; \
  204|     50|	} \
  205|     50|	break; \
  206|     50|    case STRSXP: \
  207|     50|	for (i = 0; i < nc; i++) { \
  208|       |/*	    if ((i+1) % ni == 0) R_CheckUserInterrupt();*/ \
  209|     50|	    for (j = (R_xlen_t) it[i]; j > 0; j--) \
  210|     50|		SET_STRING_ELT(a, n++, STRING_ELT(s, i)); \
  211|     50|	} \
  212|     50|	break; \
  213|     50|    case VECSXP: \
  214|     50|    case EXPRSXP: \
  215|     50|	for (i = 0; i < nc; i++) { \
  216|       |/*	    if ((i+1) % ni == 0) R_CheckUserInterrupt();*/ \
  217|     50|	    SEXP elt = lazy_duplicate(VECTOR_ELT(s, i)); \
  218|     50|	    for (j = (R_xlen_t) it[i]; j > 0; j--) \
  219|     50|		SET_VECTOR_ELT(a, n++, elt); \
  220|     50|	} \
  221|     50|	break; \
  222|     50|    case RAWSXP: \
  223|     50|	for (i = 0; i < nc; i++) { \
  224|       |/*	    if ((i+1) % ni == 0) R_CheckUserInterrupt();*/ \
  225|     50|	    for (j = (R_xlen_t) it[i]; j > 0; j--) \
  226|     50|		RAW(a)[n++] = RAW(s)[i]; \
  227|     50|	} \
  228|     50|	break; \
  229|     50|    default: \
  230|     50|	UNIMPLEMENTED_TYPE("rep2", s); \
  231|     50|    }
  232|       |
  233|     50|#ifdef LONG_VECTOR_SUPPORT
  234|     50|    if (TYPEOF(ncopy) != INTSXP)
  ------------------
  |  |  123|     50|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (234:9): [True: 2, False: 48]
  ------------------
  235|       |#else
  236|       |    if (TYPEOF(ncopy) == REALSXP)
  237|       |#endif
  238|      2|	PROTECT(t = coerceVector(ncopy, REALSXP));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
  239|     48|    else
  240|     48|	PROTECT(t = coerceVector(ncopy, INTSXP));
  ------------------
  |  |  357|     48|#define PROTECT(s)	Rf_protect(s)
  ------------------
  241|       |
  242|     50|    nc = xlength(ncopy);
  ------------------
  |  | 1049|     50|#define xlength(x)		Rf_xlength(x)
  ------------------
  243|     50|    double sna = 0;
  244|     50|    if (TYPEOF(t) == REALSXP)
  ------------------
  |  |  124|     50|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (244:9): [True: 2, False: 48]
  ------------------
  245|      4|    for (i = 0; i < nc; i++) {
  ------------------
  |  Branch (245:17): [True: 2, False: 2]
  ------------------
  246|       |//	if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  247|      2|	if (ISNAN(REAL(t)[i]) || REAL(t)[i] <= -1 ||
  ------------------
  |  |   76|      4|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (247:27): [True: 0, False: 2]
  ------------------
  248|      2|	    REAL(t)[i] >= R_XLEN_T_MAX+1.0)
  ------------------
  |  |   76|      2|# define R_XLEN_T_MAX 4503599627370496
  ------------------
  |  Branch (248:6): [True: 0, False: 2]
  ------------------
  249|      0|	    error(_("invalid '%s' value"), "times");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("invalid '%s' value"), "times");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  250|      2|	sna += (R_xlen_t) REAL(t)[i];
  251|      2|    }
  252|     48|    else
  253|     96|    for (i = 0; i < nc; i++) {
  ------------------
  |  Branch (253:17): [True: 48, False: 48]
  ------------------
  254|       |//	if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  255|     48|	if (INTEGER(t)[i] == NA_INTEGER || INTEGER(t)[i] < 0)
  ------------------
  |  |   56|     96|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (255:6): [True: 0, False: 48]
  |  Branch (255:37): [True: 0, False: 48]
  ------------------
  256|      0|	    error(_("invalid '%s' value"), "times");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("invalid '%s' value"), "times");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  257|     48|	sna += INTEGER(t)[i];
  258|     48|    }
  259|     50|    if (sna > R_XLEN_T_MAX)
  ------------------
  |  |   76|     50|# define R_XLEN_T_MAX 4503599627370496
  ------------------
  |  Branch (259:9): [True: 0, False: 50]
  ------------------
  260|      0|	error(_("invalid '%s' value"), "times");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' value"), "times");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  261|     50|    R_xlen_t na = (R_xlen_t) sna;
  262|       |
  263|       |/*    R_xlen_t ni = NINTERRUPT, ratio;
  264|       |    if(nc > 0) {
  265|       |	ratio = na/nc; // average no of replications
  266|       |	if (ratio > 1000U) ni = 1000U;
  267|       |	} */
  268|     50|    PROTECT(a = allocVector(TYPEOF(s), na));
  ------------------
  |  |  357|     50|#define PROTECT(s)	Rf_protect(s)
  ------------------
  269|     50|    n = 0;
  270|     50|    if (TYPEOF(t) == REALSXP)
  ------------------
  |  |  124|     50|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (270:9): [True: 2, False: 48]
  ------------------
  271|      2|	R2_SWITCH_LOOP(REAL(t))
  ------------------
  |  |  177|      2|    switch (TYPEOF(s)) { \
  |  |  178|      0|    case LGLSXP: \
  |  |  ------------------
  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  ------------------
  |  |  |  Branch (178:5): [True: 0, False: 2]
  |  |  ------------------
  |  |  179|      0|	for (i = 0; i < nc; i++) { \
  |  |  ------------------
  |  |  |  Branch (179:14): [True: 0, False: 0]
  |  |  ------------------
  |  |  180|      0|/*	    if ((i+1) % ni == 0) R_CheckUserInterrupt();*/ \
  |  |  181|      0|	    for (j = 0; j < (R_xlen_t) it[i]; j++) \
  |  |  ------------------
  |  |  |  Branch (181:18): [True: 0, False: 0]
  |  |  ------------------
  |  |  182|      0|		LOGICAL(a)[n++] = LOGICAL(s)[i]; \
  |  |  183|      0|	} \
  |  |  184|      0|	break; \
  |  |  185|      0|    case INTSXP: \
  |  |  ------------------
  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |  |  Branch (185:5): [True: 0, False: 2]
  |  |  ------------------
  |  |  186|      0|	for (i = 0; i < nc; i++) { \
  |  |  ------------------
  |  |  |  Branch (186:14): [True: 0, False: 0]
  |  |  ------------------
  |  |  187|      0|/*	    if ((i+1) % ni == 0) R_CheckUserInterrupt();*/ \
  |  |  188|      0|	    for (j = (R_xlen_t) it[i]; j > 0; j--) \
  |  |  ------------------
  |  |  |  Branch (188:33): [True: 0, False: 0]
  |  |  ------------------
  |  |  189|      0|		INTEGER(a)[n++] = INTEGER(s)[i]; \
  |  |  190|      0|	} \
  |  |  191|      0|	break; \
  |  |  192|      0|    case REALSXP: \
  |  |  ------------------
  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (192:5): [True: 0, False: 2]
  |  |  ------------------
  |  |  193|      0|	for (i = 0; i < nc; i++) { \
  |  |  ------------------
  |  |  |  Branch (193:14): [True: 0, False: 0]
  |  |  ------------------
  |  |  194|      0|/*	    if ((i+1) % ni == 0) R_CheckUserInterrupt();*/ \
  |  |  195|      0|	    for (j = (R_xlen_t) it[i]; j > 0; j--) \
  |  |  ------------------
  |  |  |  Branch (195:33): [True: 0, False: 0]
  |  |  ------------------
  |  |  196|      0|		REAL(a)[n++] = REAL(s)[i]; \
  |  |  197|      0|	} \
  |  |  198|      0|	break; \
  |  |  199|      0|    case CPLXSXP: \
  |  |  ------------------
  |  |  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  |  |  ------------------
  |  |  |  Branch (199:5): [True: 0, False: 2]
  |  |  ------------------
  |  |  200|      0|	for (i = 0; i < nc; i++) { \
  |  |  ------------------
  |  |  |  Branch (200:14): [True: 0, False: 0]
  |  |  ------------------
  |  |  201|      0|/*	    if ((i+1) % ni == 0) R_CheckUserInterrupt();*/ \
  |  |  202|      0|	    for (j = (R_xlen_t) it[i]; j > 0; j--) \
  |  |  ------------------
  |  |  |  Branch (202:33): [True: 0, False: 0]
  |  |  ------------------
  |  |  203|      0|		COMPLEX(a)[n++] = COMPLEX(s)[i]; \
  |  |  204|      0|	} \
  |  |  205|      0|	break; \
  |  |  206|      0|    case STRSXP: \
  |  |  ------------------
  |  |  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  |  |  ------------------
  |  |  |  Branch (206:5): [True: 0, False: 2]
  |  |  ------------------
  |  |  207|      0|	for (i = 0; i < nc; i++) { \
  |  |  ------------------
  |  |  |  Branch (207:14): [True: 0, False: 0]
  |  |  ------------------
  |  |  208|      0|/*	    if ((i+1) % ni == 0) R_CheckUserInterrupt();*/ \
  |  |  209|      0|	    for (j = (R_xlen_t) it[i]; j > 0; j--) \
  |  |  ------------------
  |  |  |  Branch (209:33): [True: 0, False: 0]
  |  |  ------------------
  |  |  210|      0|		SET_STRING_ELT(a, n++, STRING_ELT(s, i)); \
  |  |  211|      0|	} \
  |  |  212|      0|	break; \
  |  |  213|      2|    case VECSXP: \
  |  |  ------------------
  |  |  |  |  131|      2|#define VECSXP	    19	  /* generic vectors */
  |  |  ------------------
  |  |  |  Branch (213:5): [True: 2, False: 0]
  |  |  ------------------
  |  |  214|      2|    case EXPRSXP: \
  |  |  ------------------
  |  |  |  |  132|      2|#define EXPRSXP	    20	  /* expressions vectors */
  |  |  ------------------
  |  |  |  Branch (214:5): [True: 0, False: 2]
  |  |  ------------------
  |  |  215|      4|	for (i = 0; i < nc; i++) { \
  |  |  ------------------
  |  |  |  Branch (215:14): [True: 2, False: 2]
  |  |  ------------------
  |  |  216|      2|/*	    if ((i+1) % ni == 0) R_CheckUserInterrupt();*/ \
  |  |  217|      2|	    SEXP elt = lazy_duplicate(VECTOR_ELT(s, i)); \
  |  |  ------------------
  |  |  |  |  985|      2|#define lazy_duplicate		Rf_lazy_duplicate
  |  |  ------------------
  |  |  218|     16|	    for (j = (R_xlen_t) it[i]; j > 0; j--) \
  |  |  ------------------
  |  |  |  Branch (218:33): [True: 14, False: 2]
  |  |  ------------------
  |  |  219|     14|		SET_VECTOR_ELT(a, n++, elt); \
  |  |  ------------------
  |  |  |  |  911|     14|#define elt			Rf_elt
  |  |  ------------------
  |  |  220|      2|	} \
  |  |  221|      2|	break; \
  |  |  222|      2|    case RAWSXP: \
  |  |  ------------------
  |  |  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  |  |  ------------------
  |  |  |  Branch (222:5): [True: 0, False: 2]
  |  |  ------------------
  |  |  223|      0|	for (i = 0; i < nc; i++) { \
  |  |  ------------------
  |  |  |  Branch (223:14): [True: 0, False: 0]
  |  |  ------------------
  |  |  224|      0|/*	    if ((i+1) % ni == 0) R_CheckUserInterrupt();*/ \
  |  |  225|      0|	    for (j = (R_xlen_t) it[i]; j > 0; j--) \
  |  |  ------------------
  |  |  |  Branch (225:33): [True: 0, False: 0]
  |  |  ------------------
  |  |  226|      0|		RAW(a)[n++] = RAW(s)[i]; \
  |  |  227|      0|	} \
  |  |  228|      0|	break; \
  |  |  229|      2|    default: \
  |  |  ------------------
  |  |  |  Branch (229:5): [True: 0, False: 2]
  |  |  ------------------
  |  |  230|      0|	UNIMPLEMENTED_TYPE("rep2", s); \
  |  |  231|      2|    }
  ------------------
  272|     48|    else
  273|     48|	R2_SWITCH_LOOP(INTEGER(t))
  ------------------
  |  |  177|     48|    switch (TYPEOF(s)) { \
  |  |  178|      2|    case LGLSXP: \
  |  |  ------------------
  |  |  |  |  121|      2|#define LGLSXP	    10	  /* logical vectors */
  |  |  ------------------
  |  |  |  Branch (178:5): [True: 2, False: 46]
  |  |  ------------------
  |  |  179|      4|	for (i = 0; i < nc; i++) { \
  |  |  ------------------
  |  |  |  Branch (179:14): [True: 2, False: 2]
  |  |  ------------------
  |  |  180|      2|/*	    if ((i+1) % ni == 0) R_CheckUserInterrupt();*/ \
  |  |  181|      4|	    for (j = 0; j < (R_xlen_t) it[i]; j++) \
  |  |  ------------------
  |  |  |  Branch (181:18): [True: 2, False: 2]
  |  |  ------------------
  |  |  182|      2|		LOGICAL(a)[n++] = LOGICAL(s)[i]; \
  |  |  183|      2|	} \
  |  |  184|      2|	break; \
  |  |  185|      0|    case INTSXP: \
  |  |  ------------------
  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |  |  Branch (185:5): [True: 0, False: 48]
  |  |  ------------------
  |  |  186|      0|	for (i = 0; i < nc; i++) { \
  |  |  ------------------
  |  |  |  Branch (186:14): [True: 0, False: 0]
  |  |  ------------------
  |  |  187|      0|/*	    if ((i+1) % ni == 0) R_CheckUserInterrupt();*/ \
  |  |  188|      0|	    for (j = (R_xlen_t) it[i]; j > 0; j--) \
  |  |  ------------------
  |  |  |  Branch (188:33): [True: 0, False: 0]
  |  |  ------------------
  |  |  189|      0|		INTEGER(a)[n++] = INTEGER(s)[i]; \
  |  |  190|      0|	} \
  |  |  191|      0|	break; \
  |  |  192|      0|    case REALSXP: \
  |  |  ------------------
  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (192:5): [True: 0, False: 48]
  |  |  ------------------
  |  |  193|      0|	for (i = 0; i < nc; i++) { \
  |  |  ------------------
  |  |  |  Branch (193:14): [True: 0, False: 0]
  |  |  ------------------
  |  |  194|      0|/*	    if ((i+1) % ni == 0) R_CheckUserInterrupt();*/ \
  |  |  195|      0|	    for (j = (R_xlen_t) it[i]; j > 0; j--) \
  |  |  ------------------
  |  |  |  Branch (195:33): [True: 0, False: 0]
  |  |  ------------------
  |  |  196|      0|		REAL(a)[n++] = REAL(s)[i]; \
  |  |  197|      0|	} \
  |  |  198|      0|	break; \
  |  |  199|      0|    case CPLXSXP: \
  |  |  ------------------
  |  |  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  |  |  ------------------
  |  |  |  Branch (199:5): [True: 0, False: 48]
  |  |  ------------------
  |  |  200|      0|	for (i = 0; i < nc; i++) { \
  |  |  ------------------
  |  |  |  Branch (200:14): [True: 0, False: 0]
  |  |  ------------------
  |  |  201|      0|/*	    if ((i+1) % ni == 0) R_CheckUserInterrupt();*/ \
  |  |  202|      0|	    for (j = (R_xlen_t) it[i]; j > 0; j--) \
  |  |  ------------------
  |  |  |  Branch (202:33): [True: 0, False: 0]
  |  |  ------------------
  |  |  203|      0|		COMPLEX(a)[n++] = COMPLEX(s)[i]; \
  |  |  204|      0|	} \
  |  |  205|      0|	break; \
  |  |  206|      6|    case STRSXP: \
  |  |  ------------------
  |  |  |  |  126|      6|#define STRSXP	    16	  /* string vectors */
  |  |  ------------------
  |  |  |  Branch (206:5): [True: 6, False: 42]
  |  |  ------------------
  |  |  207|     12|	for (i = 0; i < nc; i++) { \
  |  |  ------------------
  |  |  |  Branch (207:14): [True: 6, False: 6]
  |  |  ------------------
  |  |  208|      6|/*	    if ((i+1) % ni == 0) R_CheckUserInterrupt();*/ \
  |  |  209|     22|	    for (j = (R_xlen_t) it[i]; j > 0; j--) \
  |  |  ------------------
  |  |  |  Branch (209:33): [True: 16, False: 6]
  |  |  ------------------
  |  |  210|     16|		SET_STRING_ELT(a, n++, STRING_ELT(s, i)); \
  |  |  211|      6|	} \
  |  |  212|      6|	break; \
  |  |  213|     40|    case VECSXP: \
  |  |  ------------------
  |  |  |  |  131|     40|#define VECSXP	    19	  /* generic vectors */
  |  |  ------------------
  |  |  |  Branch (213:5): [True: 40, False: 8]
  |  |  ------------------
  |  |  214|     40|    case EXPRSXP: \
  |  |  ------------------
  |  |  |  |  132|     40|#define EXPRSXP	    20	  /* expressions vectors */
  |  |  ------------------
  |  |  |  Branch (214:5): [True: 0, False: 48]
  |  |  ------------------
  |  |  215|     80|	for (i = 0; i < nc; i++) { \
  |  |  ------------------
  |  |  |  Branch (215:14): [True: 40, False: 40]
  |  |  ------------------
  |  |  216|     40|/*	    if ((i+1) % ni == 0) R_CheckUserInterrupt();*/ \
  |  |  217|     40|	    SEXP elt = lazy_duplicate(VECTOR_ELT(s, i)); \
  |  |  ------------------
  |  |  |  |  985|     40|#define lazy_duplicate		Rf_lazy_duplicate
  |  |  ------------------
  |  |  218|     80|	    for (j = (R_xlen_t) it[i]; j > 0; j--) \
  |  |  ------------------
  |  |  |  Branch (218:33): [True: 40, False: 40]
  |  |  ------------------
  |  |  219|     40|		SET_VECTOR_ELT(a, n++, elt); \
  |  |  ------------------
  |  |  |  |  911|     40|#define elt			Rf_elt
  |  |  ------------------
  |  |  220|     40|	} \
  |  |  221|     40|	break; \
  |  |  222|     40|    case RAWSXP: \
  |  |  ------------------
  |  |  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  |  |  ------------------
  |  |  |  Branch (222:5): [True: 0, False: 48]
  |  |  ------------------
  |  |  223|      0|	for (i = 0; i < nc; i++) { \
  |  |  ------------------
  |  |  |  Branch (223:14): [True: 0, False: 0]
  |  |  ------------------
  |  |  224|      0|/*	    if ((i+1) % ni == 0) R_CheckUserInterrupt();*/ \
  |  |  225|      0|	    for (j = (R_xlen_t) it[i]; j > 0; j--) \
  |  |  ------------------
  |  |  |  Branch (225:33): [True: 0, False: 0]
  |  |  ------------------
  |  |  226|      0|		RAW(a)[n++] = RAW(s)[i]; \
  |  |  227|      0|	} \
  |  |  228|      0|	break; \
  |  |  229|     40|    default: \
  |  |  ------------------
  |  |  |  Branch (229:5): [True: 0, False: 48]
  |  |  ------------------
  |  |  230|      0|	UNIMPLEMENTED_TYPE("rep2", s); \
  |  |  231|     48|    }
  ------------------
  274|     50|    UNPROTECT(2);
  ------------------
  |  |  358|     50|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  275|     50|    return a;
  276|     50|}
seq.c:rep3:
  281|  1.54k|{
  282|  1.54k|    R_xlen_t i, j;
  283|  1.54k|    SEXP a;
  284|       |
  285|  1.54k|    PROTECT(a = allocVector(TYPEOF(s), na));
  ------------------
  |  |  357|  1.54k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  286|       |
  287|  1.54k|    switch (TYPEOF(s)) {
  288|      4|    case LGLSXP:
  ------------------
  |  |  121|      4|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (288:5): [True: 4, False: 1.53k]
  ------------------
  289|      4|	MOD_ITERATE1(na, ns, i, j, {
  ------------------
  |  |   67|      4|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |   68|      4|	i = i1 = 0;					\
  |  |   69|      4|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  ------------------
  |  |  |  |   59|      4|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |   60|     20|	for (; i < n;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (60:9): [True: 16, False: 4]
  |  |  |  |  ------------------
  |  |  |  |   61|     16|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (61:12): [True: 16, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   62|     16|		 ++i) {							\
  |  |  |  |   63|     16|	    loop_body							\
  |  |  |  |   64|     16|		}							\
  |  |  |  |   65|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   70|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (70:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  290|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  291|      4|	    LOGICAL(a)[i] = LOGICAL(s)[j];
  292|      4|	});
  293|      4|	break;
  294|      0|    case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (294:5): [True: 0, False: 1.54k]
  ------------------
  295|      0|	MOD_ITERATE1(na, ns, i, j, {
  ------------------
  |  |   67|      0|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |   68|      0|	i = i1 = 0;					\
  |  |   69|      0|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  ------------------
  |  |  |  |   59|      0|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |   60|      0|	for (; i < n;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (60:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   61|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (61:12): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   62|      0|		 ++i) {							\
  |  |  |  |   63|      0|	    loop_body							\
  |  |  |  |   64|      0|		}							\
  |  |  |  |   65|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   70|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (70:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  296|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  297|      0|	    INTEGER(a)[i] = INTEGER(s)[j];
  298|      0|	});
  299|      0|	break;
  300|    929|    case REALSXP:
  ------------------
  |  |  124|    929|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (300:5): [True: 929, False: 611]
  ------------------
  301|    929|	MOD_ITERATE1(na, ns, i, j,  {
  ------------------
  |  |   67|    929|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |   68|    929|	i = i1 = 0;					\
  |  |   69|    929|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  ------------------
  |  |  |  |   59|    929|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |   60|   107k|	for (; i < n;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (60:9): [True: 106k, False: 929]
  |  |  |  |  ------------------
  |  |  |  |   61|   106k|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (61:12): [True: 878, False: 105k]
  |  |  |  |  ------------------
  |  |  |  |   62|   106k|		 ++i) {							\
  |  |  |  |   63|   106k|	    loop_body							\
  |  |  |  |   64|   106k|		}							\
  |  |  |  |   65|    929|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:14): [Folded, False: 929]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   70|    929|    } while (0)
  |  |  ------------------
  |  |  |  Branch (70:14): [Folded, False: 929]
  |  |  ------------------
  ------------------
  302|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  303|    929|	    REAL(a)[i] = REAL(s)[j];
  304|    929|	});
  305|    929|	break;
  306|      0|    case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (306:5): [True: 0, False: 1.54k]
  ------------------
  307|      0|	MOD_ITERATE1(na, ns, i, j, {
  ------------------
  |  |   67|      0|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |   68|      0|	i = i1 = 0;					\
  |  |   69|      0|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  ------------------
  |  |  |  |   59|      0|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |   60|      0|	for (; i < n;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (60:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   61|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (61:12): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   62|      0|		 ++i) {							\
  |  |  |  |   63|      0|	    loop_body							\
  |  |  |  |   64|      0|		}							\
  |  |  |  |   65|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   70|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (70:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  308|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  309|      0|	    COMPLEX(a)[i] = COMPLEX(s)[j];
  310|      0|	});
  311|      0|	break;
  312|      0|    case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (312:5): [True: 0, False: 1.54k]
  ------------------
  313|      0|	MOD_ITERATE1(na, ns, i, j, {
  ------------------
  |  |   67|      0|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |   68|      0|	i = i1 = 0;					\
  |  |   69|      0|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  ------------------
  |  |  |  |   59|      0|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |   60|      0|	for (; i < n;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (60:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   61|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (61:12): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   62|      0|		 ++i) {							\
  |  |  |  |   63|      0|	    loop_body							\
  |  |  |  |   64|      0|		}							\
  |  |  |  |   65|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   70|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (70:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  314|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  315|      0|	    RAW(a)[i] = RAW(s)[j];
  316|      0|	});
  317|      0|	break;
  318|    589|    case STRSXP:
  ------------------
  |  |  126|    589|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (318:5): [True: 589, False: 951]
  ------------------
  319|    589|	MOD_ITERATE1(na, ns, i, j, {
  ------------------
  |  |   67|    589|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |   68|    589|	i = i1 = 0;					\
  |  |   69|    589|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  ------------------
  |  |  |  |   59|    589|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |   60|  2.35k|	for (; i < n;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (60:9): [True: 1.76k, False: 589]
  |  |  |  |  ------------------
  |  |  |  |   61|  1.76k|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (61:12): [True: 589, False: 1.17k]
  |  |  |  |  ------------------
  |  |  |  |   62|  1.76k|		 ++i) {							\
  |  |  |  |   63|  1.76k|	    loop_body							\
  |  |  |  |   64|  1.76k|		}							\
  |  |  |  |   65|    589|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:14): [Folded, False: 589]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   70|    589|    } while (0)
  |  |  ------------------
  |  |  |  Branch (70:14): [Folded, False: 589]
  |  |  ------------------
  ------------------
  320|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  321|    589|	    SET_STRING_ELT(a, i, STRING_ELT(s, j));
  322|    589|	});
  323|    589|	break;
  324|     18|    case VECSXP:
  ------------------
  |  |  131|     18|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (324:5): [True: 18, False: 1.52k]
  ------------------
  325|     18|    case EXPRSXP:
  ------------------
  |  |  132|     18|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (325:5): [True: 0, False: 1.54k]
  ------------------
  326|     18|	MOD_ITERATE1(na, ns, i, j, {
  ------------------
  |  |   67|     18|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |   68|     18|	i = i1 = 0;					\
  |  |   69|     18|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  ------------------
  |  |  |  |   59|     18|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |   60|     37|	for (; i < n;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (60:9): [True: 19, False: 18]
  |  |  |  |  ------------------
  |  |  |  |   61|     19|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (61:12): [True: 19, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   62|     19|		 ++i) {							\
  |  |  |  |   63|     19|	    loop_body							\
  |  |  |  |   64|     19|		}							\
  |  |  |  |   65|     18|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:14): [Folded, False: 18]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   70|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (70:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
  327|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  328|     18|	    SET_VECTOR_ELT(a, i, lazy_duplicate(VECTOR_ELT(s, j)));
  329|     18|	});
  330|     18|	break;
  331|      0|    default:
  ------------------
  |  Branch (331:5): [True: 0, False: 1.54k]
  ------------------
  332|      0|	UNIMPLEMENTED_TYPE("rep3", s);
  333|  1.54k|    }
  334|  1.54k|    UNPROTECT(1);
  ------------------
  |  |  358|  1.54k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  335|  1.54k|    return a;
  336|  1.54k|}
seq.c:rep4:
  482|  1.24k|{
  483|  1.24k|    SEXP a;
  484|  1.24k|    R_xlen_t lx = xlength(x);
  ------------------
  |  | 1049|  1.24k|#define xlength(x)		Rf_xlength(x)
  ------------------
  485|  1.24k|    R_xlen_t i, j, k, k2, k3, sum;
  486|       |
  487|       |    // faster code for common special case
  488|  1.24k|    if (each == 1 && nt == 1) return rep3(x, lx, len);
  ------------------
  |  Branch (488:9): [True: 1.24k, False: 0]
  |  Branch (488:22): [True: 1.24k, False: 0]
  ------------------
  489|       |
  490|      0|    PROTECT(a = allocVector(TYPEOF(x), len));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  491|       |
  492|      0|#define R4_SWITCH_LOOP(itimes)						\
  493|      0|    switch (TYPEOF(x)) {						\
  494|      0|    case LGLSXP:							\
  495|      0|	for(i = 0, k = 0, k2 = 0; i < lx; i++) {			\
  496|       |	    /*		if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();*/ \
  497|      0|	    for(j = 0, sum = 0; j < each; j++) sum += (R_xlen_t) itimes[k++]; \
  498|      0|	    for(k3 = 0; k3 < sum; k3++) {				\
  499|      0|		LOGICAL(a)[k2++] = LOGICAL(x)[i];			\
  500|      0|		if(k2 == len) goto done;				\
  501|      0|	    }								\
  502|      0|	}								\
  503|      0|	break;								\
  504|      0|    case INTSXP:							\
  505|      0|	for(i = 0, k = 0, k2 = 0; i < lx; i++) {			\
  506|       |	    /*		if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();*/ \
  507|      0|	    for(j = 0, sum = 0; j < each; j++) sum += (R_xlen_t) itimes[k++]; \
  508|      0|	    for(k3 = 0; k3 < sum; k3++) {				\
  509|      0|		INTEGER(a)[k2++] = INTEGER(x)[i];			\
  510|      0|		if(k2 == len) goto done;				\
  511|      0|	    }								\
  512|      0|	}								\
  513|      0|	break;								\
  514|      0|    case REALSXP:							\
  515|      0|	for(i = 0, k = 0, k2 = 0; i < lx; i++) {			\
  516|       |	    /*		if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();*/ \
  517|      0|	    for(j = 0, sum = 0; j < each; j++) sum += (R_xlen_t) itimes[k++]; \
  518|      0|	    for(k3 = 0; k3 < sum; k3++) {				\
  519|      0|		REAL(a)[k2++] = REAL(x)[i];				\
  520|      0|		if(k2 == len) goto done;				\
  521|      0|	    }								\
  522|      0|	}								\
  523|      0|	break;								\
  524|      0|    case CPLXSXP:							\
  525|      0|	for(i = 0, k = 0, k2 = 0; i < lx; i++) {			\
  526|       |	    /*		if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();*/ \
  527|      0|	    for(j = 0, sum = 0; j < each; j++) sum += (R_xlen_t) itimes[k++]; \
  528|      0|	    for(k3 = 0; k3 < sum; k3++) {				\
  529|      0|		COMPLEX(a)[k2++] = COMPLEX(x)[i];			\
  530|      0|		if(k2 == len) goto done;				\
  531|      0|	    }								\
  532|      0|	}								\
  533|      0|	break;								\
  534|      0|    case STRSXP:							\
  535|      0|	for(i = 0, k = 0, k2 = 0; i < lx; i++) {			\
  536|       |	    /*		if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();*/ \
  537|      0|	    for(j = 0, sum = 0; j < each; j++) sum += (R_xlen_t) itimes[k++]; \
  538|      0|	    for(k3 = 0; k3 < sum; k3++) {				\
  539|      0|		SET_STRING_ELT(a, k2++, STRING_ELT(x, i));		\
  540|      0|		if(k2 == len) goto done;				\
  541|      0|	    }								\
  542|      0|	}								\
  543|      0|	break;								\
  544|      0|    case VECSXP:							\
  545|      0|    case EXPRSXP:							\
  546|      0|	for(i = 0, k = 0, k2 = 0; i < lx; i++) {			\
  547|       |	    /*		if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();*/ \
  548|      0|	    for(j = 0, sum = 0; j < each; j++) sum += (R_xlen_t) itimes[k++]; \
  549|      0|	    SEXP elt = lazy_duplicate(VECTOR_ELT(x, i));		\
  550|      0|	    for(k3 = 0; k3 < sum; k3++) {				\
  551|      0|		SET_VECTOR_ELT(a, k2++, elt);				\
  552|      0|		if(k2 == len) goto done;				\
  553|      0|	    }								\
  554|      0|	}								\
  555|      0|	break;								\
  556|      0|    case RAWSXP:							\
  557|      0|	for(i = 0, k = 0, k2 = 0; i < lx; i++) {			\
  558|       |	    /*		if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();*/ \
  559|      0|	    for(j = 0, sum = 0; j < each; j++) sum += (R_xlen_t) itimes[k++]; \
  560|      0|	    for(k3 = 0; k3 < sum; k3++) {				\
  561|      0|		RAW(a)[k2++] = RAW(x)[i];				\
  562|      0|		if(k2 == len) goto done;				\
  563|      0|	    }								\
  564|      0|	}								\
  565|      0|	break;								\
  566|      0|    default:								\
  567|      0|	UNIMPLEMENTED_TYPE("rep4", x);					\
  568|      0|    }
  569|       |
  570|      0|    if(nt == 1)
  ------------------
  |  Branch (570:8): [True: 0, False: 0]
  ------------------
  571|      0|	switch (TYPEOF(x)) {
  572|      0|	case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (572:2): [True: 0, False: 0]
  ------------------
  573|      0|	    for(i = 0; i < len; i++) {
  ------------------
  |  Branch (573:17): [True: 0, False: 0]
  ------------------
  574|       |//		if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  575|      0|		LOGICAL(a)[i] = LOGICAL(x)[(i/each) % lx];
  576|      0|	    }
  577|      0|	    break;
  578|      0|	case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (578:2): [True: 0, False: 0]
  ------------------
  579|      0|	    for(i = 0; i < len; i++) {
  ------------------
  |  Branch (579:17): [True: 0, False: 0]
  ------------------
  580|       |//		if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  581|      0|		INTEGER(a)[i] = INTEGER(x)[(i/each) % lx];
  582|      0|	    }
  583|      0|	    break;
  584|      0|	case REALSXP:
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (584:2): [True: 0, False: 0]
  ------------------
  585|      0|	    for(i = 0; i < len; i++) {
  ------------------
  |  Branch (585:17): [True: 0, False: 0]
  ------------------
  586|       |//		if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  587|      0|		REAL(a)[i] = REAL(x)[(i/each) % lx];
  588|      0|	    }
  589|      0|	    break;
  590|      0|	case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (590:2): [True: 0, False: 0]
  ------------------
  591|      0|	    for(i = 0; i < len; i++) {
  ------------------
  |  Branch (591:17): [True: 0, False: 0]
  ------------------
  592|       |//		if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  593|      0|		COMPLEX(a)[i] = COMPLEX(x)[(i/each) % lx];
  594|      0|	    }
  595|      0|	    break;
  596|      0|	case STRSXP:
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (596:2): [True: 0, False: 0]
  ------------------
  597|      0|	    for(i = 0; i < len; i++) {
  ------------------
  |  Branch (597:17): [True: 0, False: 0]
  ------------------
  598|       |//		if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  599|      0|		SET_STRING_ELT(a, i, STRING_ELT(x, (i/each) % lx));
  600|      0|	    }
  601|      0|	    break;
  602|      0|	case VECSXP:
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (602:2): [True: 0, False: 0]
  ------------------
  603|      0|	case EXPRSXP:
  ------------------
  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (603:2): [True: 0, False: 0]
  ------------------
  604|      0|	    for(i = 0; i < len; i++) {
  ------------------
  |  Branch (604:17): [True: 0, False: 0]
  ------------------
  605|       |//		if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  606|      0|		SEXP elt = lazy_duplicate(VECTOR_ELT(x, (i/each) % lx));
  ------------------
  |  |  985|      0|#define lazy_duplicate		Rf_lazy_duplicate
  ------------------
  607|      0|		SET_VECTOR_ELT(a, i, elt);
  ------------------
  |  |  911|      0|#define elt			Rf_elt
  ------------------
  608|      0|	    }
  609|      0|	    break;
  610|      0|	case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (610:2): [True: 0, False: 0]
  ------------------
  611|      0|	    for(i = 0; i < len; i++) {
  ------------------
  |  Branch (611:17): [True: 0, False: 0]
  ------------------
  612|       |//		if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  613|      0|		RAW(a)[i] = RAW(x)[(i/each) % lx];
  614|      0|	    }
  615|      0|	    break;
  616|      0|	default:
  ------------------
  |  Branch (616:2): [True: 0, False: 0]
  ------------------
  617|      0|	    UNIMPLEMENTED_TYPE("rep4", x);
  618|      0|	}
  619|      0|    else if(TYPEOF(times) == REALSXP)
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (619:13): [True: 0, False: 0]
  ------------------
  620|      0|	R4_SWITCH_LOOP(REAL(times))
  ------------------
  |  |  493|      0|    switch (TYPEOF(x)) {						\
  |  |  494|      0|    case LGLSXP:							\
  |  |  ------------------
  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  ------------------
  |  |  |  Branch (494:5): [True: 0, False: 0]
  |  |  ------------------
  |  |  495|      0|	for(i = 0, k = 0, k2 = 0; i < lx; i++) {			\
  |  |  ------------------
  |  |  |  Branch (495:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  496|      0|	    /*		if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();*/ \
  |  |  497|      0|	    for(j = 0, sum = 0; j < each; j++) sum += (R_xlen_t) itimes[k++]; \
  |  |  ------------------
  |  |  |  Branch (497:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  498|      0|	    for(k3 = 0; k3 < sum; k3++) {				\
  |  |  ------------------
  |  |  |  Branch (498:18): [True: 0, False: 0]
  |  |  ------------------
  |  |  499|      0|		LOGICAL(a)[k2++] = LOGICAL(x)[i];			\
  |  |  500|      0|		if(k2 == len) goto done;				\
  |  |  ------------------
  |  |  |  Branch (500:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  501|      0|	    }								\
  |  |  502|      0|	}								\
  |  |  503|      0|	break;								\
  |  |  504|      0|    case INTSXP:							\
  |  |  ------------------
  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |  |  Branch (504:5): [True: 0, False: 0]
  |  |  ------------------
  |  |  505|      0|	for(i = 0, k = 0, k2 = 0; i < lx; i++) {			\
  |  |  ------------------
  |  |  |  Branch (505:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  506|      0|	    /*		if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();*/ \
  |  |  507|      0|	    for(j = 0, sum = 0; j < each; j++) sum += (R_xlen_t) itimes[k++]; \
  |  |  ------------------
  |  |  |  Branch (507:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  508|      0|	    for(k3 = 0; k3 < sum; k3++) {				\
  |  |  ------------------
  |  |  |  Branch (508:18): [True: 0, False: 0]
  |  |  ------------------
  |  |  509|      0|		INTEGER(a)[k2++] = INTEGER(x)[i];			\
  |  |  510|      0|		if(k2 == len) goto done;				\
  |  |  ------------------
  |  |  |  Branch (510:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  511|      0|	    }								\
  |  |  512|      0|	}								\
  |  |  513|      0|	break;								\
  |  |  514|      0|    case REALSXP:							\
  |  |  ------------------
  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (514:5): [True: 0, False: 0]
  |  |  ------------------
  |  |  515|      0|	for(i = 0, k = 0, k2 = 0; i < lx; i++) {			\
  |  |  ------------------
  |  |  |  Branch (515:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  516|      0|	    /*		if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();*/ \
  |  |  517|      0|	    for(j = 0, sum = 0; j < each; j++) sum += (R_xlen_t) itimes[k++]; \
  |  |  ------------------
  |  |  |  Branch (517:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  518|      0|	    for(k3 = 0; k3 < sum; k3++) {				\
  |  |  ------------------
  |  |  |  Branch (518:18): [True: 0, False: 0]
  |  |  ------------------
  |  |  519|      0|		REAL(a)[k2++] = REAL(x)[i];				\
  |  |  520|      0|		if(k2 == len) goto done;				\
  |  |  ------------------
  |  |  |  Branch (520:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  521|      0|	    }								\
  |  |  522|      0|	}								\
  |  |  523|      0|	break;								\
  |  |  524|      0|    case CPLXSXP:							\
  |  |  ------------------
  |  |  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  |  |  ------------------
  |  |  |  Branch (524:5): [True: 0, False: 0]
  |  |  ------------------
  |  |  525|      0|	for(i = 0, k = 0, k2 = 0; i < lx; i++) {			\
  |  |  ------------------
  |  |  |  Branch (525:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  526|      0|	    /*		if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();*/ \
  |  |  527|      0|	    for(j = 0, sum = 0; j < each; j++) sum += (R_xlen_t) itimes[k++]; \
  |  |  ------------------
  |  |  |  Branch (527:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  528|      0|	    for(k3 = 0; k3 < sum; k3++) {				\
  |  |  ------------------
  |  |  |  Branch (528:18): [True: 0, False: 0]
  |  |  ------------------
  |  |  529|      0|		COMPLEX(a)[k2++] = COMPLEX(x)[i];			\
  |  |  530|      0|		if(k2 == len) goto done;				\
  |  |  ------------------
  |  |  |  Branch (530:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  531|      0|	    }								\
  |  |  532|      0|	}								\
  |  |  533|      0|	break;								\
  |  |  534|      0|    case STRSXP:							\
  |  |  ------------------
  |  |  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  |  |  ------------------
  |  |  |  Branch (534:5): [True: 0, False: 0]
  |  |  ------------------
  |  |  535|      0|	for(i = 0, k = 0, k2 = 0; i < lx; i++) {			\
  |  |  ------------------
  |  |  |  Branch (535:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  536|      0|	    /*		if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();*/ \
  |  |  537|      0|	    for(j = 0, sum = 0; j < each; j++) sum += (R_xlen_t) itimes[k++]; \
  |  |  ------------------
  |  |  |  Branch (537:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  538|      0|	    for(k3 = 0; k3 < sum; k3++) {				\
  |  |  ------------------
  |  |  |  Branch (538:18): [True: 0, False: 0]
  |  |  ------------------
  |  |  539|      0|		SET_STRING_ELT(a, k2++, STRING_ELT(x, i));		\
  |  |  540|      0|		if(k2 == len) goto done;				\
  |  |  ------------------
  |  |  |  Branch (540:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  541|      0|	    }								\
  |  |  542|      0|	}								\
  |  |  543|      0|	break;								\
  |  |  544|      0|    case VECSXP:							\
  |  |  ------------------
  |  |  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  |  |  ------------------
  |  |  |  Branch (544:5): [True: 0, False: 0]
  |  |  ------------------
  |  |  545|      0|    case EXPRSXP:							\
  |  |  ------------------
  |  |  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  |  |  ------------------
  |  |  |  Branch (545:5): [True: 0, False: 0]
  |  |  ------------------
  |  |  546|      0|	for(i = 0, k = 0, k2 = 0; i < lx; i++) {			\
  |  |  ------------------
  |  |  |  Branch (546:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  547|      0|	    /*		if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();*/ \
  |  |  548|      0|	    for(j = 0, sum = 0; j < each; j++) sum += (R_xlen_t) itimes[k++]; \
  |  |  ------------------
  |  |  |  Branch (548:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  549|      0|	    SEXP elt = lazy_duplicate(VECTOR_ELT(x, i));		\
  |  |  ------------------
  |  |  |  |  985|      0|#define lazy_duplicate		Rf_lazy_duplicate
  |  |  ------------------
  |  |  550|      0|	    for(k3 = 0; k3 < sum; k3++) {				\
  |  |  ------------------
  |  |  |  Branch (550:18): [True: 0, False: 0]
  |  |  ------------------
  |  |  551|      0|		SET_VECTOR_ELT(a, k2++, elt);				\
  |  |  ------------------
  |  |  |  |  911|      0|#define elt			Rf_elt
  |  |  ------------------
  |  |  552|      0|		if(k2 == len) goto done;				\
  |  |  ------------------
  |  |  |  Branch (552:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  553|      0|	    }								\
  |  |  554|      0|	}								\
  |  |  555|      0|	break;								\
  |  |  556|      0|    case RAWSXP:							\
  |  |  ------------------
  |  |  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  |  |  ------------------
  |  |  |  Branch (556:5): [True: 0, False: 0]
  |  |  ------------------
  |  |  557|      0|	for(i = 0, k = 0, k2 = 0; i < lx; i++) {			\
  |  |  ------------------
  |  |  |  Branch (557:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  558|      0|	    /*		if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();*/ \
  |  |  559|      0|	    for(j = 0, sum = 0; j < each; j++) sum += (R_xlen_t) itimes[k++]; \
  |  |  ------------------
  |  |  |  Branch (559:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  560|      0|	    for(k3 = 0; k3 < sum; k3++) {				\
  |  |  ------------------
  |  |  |  Branch (560:18): [True: 0, False: 0]
  |  |  ------------------
  |  |  561|      0|		RAW(a)[k2++] = RAW(x)[i];				\
  |  |  562|      0|		if(k2 == len) goto done;				\
  |  |  ------------------
  |  |  |  Branch (562:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  563|      0|	    }								\
  |  |  564|      0|	}								\
  |  |  565|      0|	break;								\
  |  |  566|      0|    default:								\
  |  |  ------------------
  |  |  |  Branch (566:5): [True: 0, False: 0]
  |  |  ------------------
  |  |  567|      0|	UNIMPLEMENTED_TYPE("rep4", x);					\
  |  |  568|      0|    }
  ------------------
  621|      0|	else
  622|      0|	    R4_SWITCH_LOOP(INTEGER(times))
  ------------------
  |  |  493|      0|    switch (TYPEOF(x)) {						\
  |  |  494|      0|    case LGLSXP:							\
  |  |  ------------------
  |  |  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  |  |  ------------------
  |  |  |  Branch (494:5): [True: 0, False: 0]
  |  |  ------------------
  |  |  495|      0|	for(i = 0, k = 0, k2 = 0; i < lx; i++) {			\
  |  |  ------------------
  |  |  |  Branch (495:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  496|      0|	    /*		if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();*/ \
  |  |  497|      0|	    for(j = 0, sum = 0; j < each; j++) sum += (R_xlen_t) itimes[k++]; \
  |  |  ------------------
  |  |  |  Branch (497:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  498|      0|	    for(k3 = 0; k3 < sum; k3++) {				\
  |  |  ------------------
  |  |  |  Branch (498:18): [True: 0, False: 0]
  |  |  ------------------
  |  |  499|      0|		LOGICAL(a)[k2++] = LOGICAL(x)[i];			\
  |  |  500|      0|		if(k2 == len) goto done;				\
  |  |  ------------------
  |  |  |  Branch (500:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  501|      0|	    }								\
  |  |  502|      0|	}								\
  |  |  503|      0|	break;								\
  |  |  504|      0|    case INTSXP:							\
  |  |  ------------------
  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |  |  Branch (504:5): [True: 0, False: 0]
  |  |  ------------------
  |  |  505|      0|	for(i = 0, k = 0, k2 = 0; i < lx; i++) {			\
  |  |  ------------------
  |  |  |  Branch (505:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  506|      0|	    /*		if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();*/ \
  |  |  507|      0|	    for(j = 0, sum = 0; j < each; j++) sum += (R_xlen_t) itimes[k++]; \
  |  |  ------------------
  |  |  |  Branch (507:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  508|      0|	    for(k3 = 0; k3 < sum; k3++) {				\
  |  |  ------------------
  |  |  |  Branch (508:18): [True: 0, False: 0]
  |  |  ------------------
  |  |  509|      0|		INTEGER(a)[k2++] = INTEGER(x)[i];			\
  |  |  510|      0|		if(k2 == len) goto done;				\
  |  |  ------------------
  |  |  |  Branch (510:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  511|      0|	    }								\
  |  |  512|      0|	}								\
  |  |  513|      0|	break;								\
  |  |  514|      0|    case REALSXP:							\
  |  |  ------------------
  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |  |  Branch (514:5): [True: 0, False: 0]
  |  |  ------------------
  |  |  515|      0|	for(i = 0, k = 0, k2 = 0; i < lx; i++) {			\
  |  |  ------------------
  |  |  |  Branch (515:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  516|      0|	    /*		if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();*/ \
  |  |  517|      0|	    for(j = 0, sum = 0; j < each; j++) sum += (R_xlen_t) itimes[k++]; \
  |  |  ------------------
  |  |  |  Branch (517:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  518|      0|	    for(k3 = 0; k3 < sum; k3++) {				\
  |  |  ------------------
  |  |  |  Branch (518:18): [True: 0, False: 0]
  |  |  ------------------
  |  |  519|      0|		REAL(a)[k2++] = REAL(x)[i];				\
  |  |  520|      0|		if(k2 == len) goto done;				\
  |  |  ------------------
  |  |  |  Branch (520:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  521|      0|	    }								\
  |  |  522|      0|	}								\
  |  |  523|      0|	break;								\
  |  |  524|      0|    case CPLXSXP:							\
  |  |  ------------------
  |  |  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  |  |  ------------------
  |  |  |  Branch (524:5): [True: 0, False: 0]
  |  |  ------------------
  |  |  525|      0|	for(i = 0, k = 0, k2 = 0; i < lx; i++) {			\
  |  |  ------------------
  |  |  |  Branch (525:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  526|      0|	    /*		if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();*/ \
  |  |  527|      0|	    for(j = 0, sum = 0; j < each; j++) sum += (R_xlen_t) itimes[k++]; \
  |  |  ------------------
  |  |  |  Branch (527:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  528|      0|	    for(k3 = 0; k3 < sum; k3++) {				\
  |  |  ------------------
  |  |  |  Branch (528:18): [True: 0, False: 0]
  |  |  ------------------
  |  |  529|      0|		COMPLEX(a)[k2++] = COMPLEX(x)[i];			\
  |  |  530|      0|		if(k2 == len) goto done;				\
  |  |  ------------------
  |  |  |  Branch (530:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  531|      0|	    }								\
  |  |  532|      0|	}								\
  |  |  533|      0|	break;								\
  |  |  534|      0|    case STRSXP:							\
  |  |  ------------------
  |  |  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  |  |  ------------------
  |  |  |  Branch (534:5): [True: 0, False: 0]
  |  |  ------------------
  |  |  535|      0|	for(i = 0, k = 0, k2 = 0; i < lx; i++) {			\
  |  |  ------------------
  |  |  |  Branch (535:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  536|      0|	    /*		if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();*/ \
  |  |  537|      0|	    for(j = 0, sum = 0; j < each; j++) sum += (R_xlen_t) itimes[k++]; \
  |  |  ------------------
  |  |  |  Branch (537:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  538|      0|	    for(k3 = 0; k3 < sum; k3++) {				\
  |  |  ------------------
  |  |  |  Branch (538:18): [True: 0, False: 0]
  |  |  ------------------
  |  |  539|      0|		SET_STRING_ELT(a, k2++, STRING_ELT(x, i));		\
  |  |  540|      0|		if(k2 == len) goto done;				\
  |  |  ------------------
  |  |  |  Branch (540:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  541|      0|	    }								\
  |  |  542|      0|	}								\
  |  |  543|      0|	break;								\
  |  |  544|      0|    case VECSXP:							\
  |  |  ------------------
  |  |  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  |  |  ------------------
  |  |  |  Branch (544:5): [True: 0, False: 0]
  |  |  ------------------
  |  |  545|      0|    case EXPRSXP:							\
  |  |  ------------------
  |  |  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  |  |  ------------------
  |  |  |  Branch (545:5): [True: 0, False: 0]
  |  |  ------------------
  |  |  546|      0|	for(i = 0, k = 0, k2 = 0; i < lx; i++) {			\
  |  |  ------------------
  |  |  |  Branch (546:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  547|      0|	    /*		if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();*/ \
  |  |  548|      0|	    for(j = 0, sum = 0; j < each; j++) sum += (R_xlen_t) itimes[k++]; \
  |  |  ------------------
  |  |  |  Branch (548:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  549|      0|	    SEXP elt = lazy_duplicate(VECTOR_ELT(x, i));		\
  |  |  ------------------
  |  |  |  |  985|      0|#define lazy_duplicate		Rf_lazy_duplicate
  |  |  ------------------
  |  |  550|      0|	    for(k3 = 0; k3 < sum; k3++) {				\
  |  |  ------------------
  |  |  |  Branch (550:18): [True: 0, False: 0]
  |  |  ------------------
  |  |  551|      0|		SET_VECTOR_ELT(a, k2++, elt);				\
  |  |  ------------------
  |  |  |  |  911|      0|#define elt			Rf_elt
  |  |  ------------------
  |  |  552|      0|		if(k2 == len) goto done;				\
  |  |  ------------------
  |  |  |  Branch (552:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  553|      0|	    }								\
  |  |  554|      0|	}								\
  |  |  555|      0|	break;								\
  |  |  556|      0|    case RAWSXP:							\
  |  |  ------------------
  |  |  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  |  |  ------------------
  |  |  |  Branch (556:5): [True: 0, False: 0]
  |  |  ------------------
  |  |  557|      0|	for(i = 0, k = 0, k2 = 0; i < lx; i++) {			\
  |  |  ------------------
  |  |  |  Branch (557:28): [True: 0, False: 0]
  |  |  ------------------
  |  |  558|      0|	    /*		if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();*/ \
  |  |  559|      0|	    for(j = 0, sum = 0; j < each; j++) sum += (R_xlen_t) itimes[k++]; \
  |  |  ------------------
  |  |  |  Branch (559:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  560|      0|	    for(k3 = 0; k3 < sum; k3++) {				\
  |  |  ------------------
  |  |  |  Branch (560:18): [True: 0, False: 0]
  |  |  ------------------
  |  |  561|      0|		RAW(a)[k2++] = RAW(x)[i];				\
  |  |  562|      0|		if(k2 == len) goto done;				\
  |  |  ------------------
  |  |  |  Branch (562:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  563|      0|	    }								\
  |  |  564|      0|	}								\
  |  |  565|      0|	break;								\
  |  |  566|      0|    default:								\
  |  |  ------------------
  |  |  |  Branch (566:5): [True: 0, False: 0]
  |  |  ------------------
  |  |  567|      0|	UNIMPLEMENTED_TYPE("rep4", x);					\
  |  |  568|      0|    }
  ------------------
  623|      0|		done:
  624|      0|	    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  625|      0|    return a;
  626|      0|}

R_Unserialize:
 2379|  1.60k|{
 2380|  1.60k|    int version;
 2381|  1.60k|    int writer_version, min_reader_version;
 2382|  1.60k|    SEXP obj, ref_table;
 2383|       |
 2384|  1.60k|    InFormat(stream);
 2385|       |
 2386|       |    /* Read the version numbers */
 2387|  1.60k|    version = InInteger(stream);
 2388|  1.60k|    writer_version = InInteger(stream);
 2389|  1.60k|    min_reader_version = InInteger(stream);
 2390|  1.60k|    switch (version) {
 2391|      0|    case 2: break;
  ------------------
  |  Branch (2391:5): [True: 0, False: 1.60k]
  ------------------
 2392|  1.60k|    case 3:
  ------------------
  |  Branch (2392:5): [True: 1.60k, False: 0]
  ------------------
 2393|  1.60k|    {
 2394|  1.60k|	int nelen = InInteger(stream);
 2395|  1.60k|	if (nelen > R_CODESET_MAX || nelen < 0)
  ------------------
  |  |  738|  3.20k|#define R_CODESET_MAX 63
  ------------------
  |  Branch (2395:6): [True: 0, False: 1.60k]
  |  Branch (2395:31): [True: 0, False: 1.60k]
  ------------------
 2396|      0|	    error(_("invalid length of encoding name"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("invalid length of encoding name"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2397|  1.60k|	InString(stream, stream->native_encoding, nelen);
 2398|  1.60k|	stream->native_encoding[nelen] = '\0';
 2399|  1.60k|	if (memchr(stream->native_encoding, '\0', nelen))
  ------------------
  |  Branch (2399:6): [True: 0, False: 1.60k]
  ------------------
 2400|      0|	    error(_("embedded nul in encoding name"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("embedded nul in encoding name"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2401|  1.60k|	break;
 2402|      0|    }
 2403|      0|    default:
  ------------------
  |  Branch (2403:5): [True: 0, False: 1.60k]
  ------------------
 2404|      0|	{
 2405|      0|	    int vw, pw, sw;
 2406|      0|	    DecodeVersion(writer_version, &vw, &pw, &sw);
 2407|      0|	    if (min_reader_version < 0)
  ------------------
  |  Branch (2407:10): [True: 0, False: 0]
  ------------------
 2408|      0|		error(_("cannot read unreleased workspace version %d written by experimental R %d.%d.%d"), version, vw, pw, sw);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("cannot read unreleased workspace version %d written by experimental R %d.%d.%d"), version, vw, pw, sw);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2409|      0|	    else {
 2410|      0|		int vm, pm, sm;
 2411|      0|		DecodeVersion(min_reader_version, &vm, &pm, &sm);
 2412|      0|		error(_("cannot read workspace version %d written by R %d.%d.%d; need R %d.%d.%d or newer"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("cannot read workspace version %d written by R %d.%d.%d; need R %d.%d.%d or newer"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2413|      0|		      version, vw, pw, sw, vm, pm, sm);
 2414|      0|	    }
 2415|      0|	}
 2416|  1.60k|    }
 2417|       |
 2418|       |    /* Read the actual object back */
 2419|  1.60k|    PROTECT(ref_table = MakeReadRefTable());
  ------------------
  |  |  357|  1.60k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2420|       |
 2421|  1.60k|    RCNTXT cntxt;
 2422|  1.60k|    begincontext(&cntxt, CTXT_CCODE, R_NilValue, R_BaseEnv, R_BaseEnv,
  ------------------
  |  | 1869|  1.60k|# define begincontext		Rf_begincontext
  ------------------
 2423|  1.60k|		 R_NilValue, R_NilValue);
 2424|  1.60k|    cntxt.cend = &CloseInStreamConverters;
 2425|  1.60k|    cntxt.cenddata = stream;
 2426|       |
 2427|  1.60k|    obj = ReadItem(ref_table, stream);
 2428|       |
 2429|  1.60k|    endcontext(&cntxt);
  ------------------
  |  | 1900|  1.60k|# define endcontext		Rf_endcontext
  ------------------
 2430|  1.60k|    CloseInStreamConverters(stream);
 2431|  1.60k|    UNPROTECT(1);
  ------------------
  |  |  358|  1.60k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2432|       |
 2433|  1.60k|    return obj;
 2434|  1.60k|}
R_InitInPStream:
 2512|  1.60k|{
 2513|  1.60k|    stream->data = data;
 2514|  1.60k|    stream->type = type;
 2515|  1.60k|    stream->InChar = inchar;
 2516|  1.60k|    stream->InBytes = inbytes;
 2517|  1.60k|    stream->InPersistHookFunc = phook;
 2518|  1.60k|    stream->InPersistHookData = pdata;
 2519|  1.60k|    stream->native_encoding[0] = 0;
 2520|  1.60k|    stream->nat2nat_obj = NULL;
 2521|       |    stream->nat2utf8_obj = NULL;
 2522|  1.60k|}
R_InitConnInPStream:
 2708|     72|{
 2709|     72|    CheckInConn(con);
 2710|     72|    if (con->text) {
  ------------------
  |  Branch (2710:9): [True: 0, False: 72]
  ------------------
 2711|      0|	if (type == R_pstream_any_format)
  ------------------
  |  Branch (2711:6): [True: 0, False: 0]
  ------------------
 2712|      0|	    type = R_pstream_ascii_format;
 2713|      0|	else if (type != R_pstream_ascii_format)
  ------------------
  |  Branch (2713:11): [True: 0, False: 0]
  ------------------
 2714|      0|	    error(_("only ascii format can be read from text mode connections"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("only ascii format can be read from text mode connections"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2715|      0|    }
 2716|     72|    R_InitInPStream(stream, (R_pstream_data_t) con, type,
 2717|     72|		    InCharConn, InBytesConn, phook, pdata);
 2718|     72|}
do_unserializeFromConn:
 2819|     72|{
 2820|       |    /* 0 .. unserializeFromConn(conn, hook) */
 2821|       |    /* 1 .. serializeInfoFromConn(conn) */
 2822|       |
 2823|     72|    struct R_inpstream_st in;
 2824|     72|    Rconnection con;
 2825|     72|    SEXP fun, ans;
 2826|     72|    SEXP (*hook)(SEXP, SEXP);
 2827|     72|    bool wasopen;
 2828|     72|    RCNTXT cntxt;
 2829|       |
 2830|     72|    checkArity(op, args);
  ------------------
  |  | 1793|     72|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 2831|       |
 2832|     72|    con = getConnection(asInteger(CAR(args)));
  ------------------
  |  |  885|     72|#define asInteger		Rf_asInteger
  ------------------
 2833|       |
 2834|       |    /* Now we need to do some sanity checking of the arguments.
 2835|       |       A filename will already have been opened, so anything
 2836|       |       not open was specified as a connection directly.
 2837|       |     */
 2838|     72|    wasopen = con->isopen;
 2839|     72|    if(!wasopen) {
  ------------------
  |  Branch (2839:8): [True: 0, False: 72]
  ------------------
 2840|      0|	char mode[5];
 2841|      0|	strcpy(mode, con->mode);
 2842|      0|	strcpy(con->mode, "rb");
 2843|      0|	if(!con->open(con)) error(_("cannot open the connection"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	if(!con->open(con)) error(_("cannot open the connection"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (2843:5): [True: 0, False: 0]
  ------------------
 2844|      0|	strcpy(con->mode, mode);
 2845|       |	/* Set up a context which will close the connection on error */
 2846|      0|	begincontext(&cntxt, CTXT_CCODE, R_NilValue, R_BaseEnv, R_BaseEnv,
  ------------------
  |  | 1869|      0|# define begincontext		Rf_begincontext
  ------------------
 2847|      0|		     R_NilValue, R_NilValue);
 2848|      0|	cntxt.cend = &con_cleanup;
 2849|      0|	cntxt.cenddata = con;
 2850|      0|    }
 2851|     72|    if(!con->canread) error(_("connection not open for reading"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  if(!con->canread) error(_("connection not open for reading"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (2851:8): [True: 0, False: 72]
  ------------------
 2852|       |
 2853|     72|    fun = PRIMVAL(op) == 0 ? CADR(args) : R_NilValue;
  ------------------
  |  | 1347|     72|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (2853:11): [True: 72, False: 0]
  ------------------
 2854|     72|    hook = fun != R_NilValue ? CallHook : NULL;
  ------------------
  |  Branch (2854:12): [True: 18, False: 54]
  ------------------
 2855|     72|    R_InitConnInPStream(&in, con, R_pstream_any_format, hook, fun);
 2856|     72|    ans = PRIMVAL(op) == 0 ? R_Unserialize(&in) : R_SerializeInfo(&in);
  ------------------
  |  | 1347|     72|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (2856:11): [True: 72, False: 0]
  ------------------
 2857|     72|    if(!wasopen) {
  ------------------
  |  Branch (2857:8): [True: 0, False: 72]
  ------------------
 2858|      0|	PROTECT(ans); /* paranoia about next line */
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2859|      0|	endcontext(&cntxt);
  ------------------
  |  | 1900|      0|# define endcontext		Rf_endcontext
  ------------------
 2860|      0|	con->close(con);
 2861|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2862|      0|    }
 2863|     72|    return checkNotPromise(ans);
 2864|     72|}
do_lazyLoadDBfetch:
 3516|  1.53k|{
 3517|  1.53k|    SEXP key, file, compsxp, hook;
 3518|  1.53k|    PROTECT_INDEX vpi;
 3519|  1.53k|    int compressed;
 3520|  1.53k|    Rboolean err = FALSE;
  ------------------
  |  |   59|  1.53k|#	define FALSE	(0)
  ------------------
 3521|  1.53k|    SEXP val;
 3522|       |
 3523|  1.53k|    checkArity(op, args);
  ------------------
  |  | 1793|  1.53k|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 3524|  1.53k|    key = CAR(args); args = CDR(args);
 3525|  1.53k|    file = CAR(args); args = CDR(args);
 3526|  1.53k|    compsxp = CAR(args); args = CDR(args);
 3527|  1.53k|    hook = CAR(args);
 3528|  1.53k|    compressed = asInteger(compsxp);
  ------------------
  |  |  885|  1.53k|#define asInteger		Rf_asInteger
  ------------------
 3529|       |
 3530|  1.53k|    PROTECT_WITH_INDEX(val = readRawFromFile(file, key), &vpi);
  ------------------
  |  |  366|  1.53k|#define PROTECT_WITH_INDEX(x,i) R_ProtectWithIndex(x,i)
  ------------------
 3531|  1.53k|    if (compressed == 3)
  ------------------
  |  Branch (3531:9): [True: 0, False: 1.53k]
  ------------------
 3532|      0|	REPROTECT(val = R_decompress3(val, &err), vpi);
  ------------------
  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
 3533|  1.53k|    else if (compressed == 2)
  ------------------
  |  Branch (3533:14): [True: 0, False: 1.53k]
  ------------------
 3534|      0|	REPROTECT(val = R_decompress2(val, &err), vpi);
  ------------------
  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
 3535|  1.53k|    else if (compressed)
  ------------------
  |  Branch (3535:14): [True: 1.53k, False: 0]
  ------------------
 3536|  1.53k|	REPROTECT(val = R_decompress1(val, &err), vpi);
  ------------------
  |  |  367|  1.53k|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
 3537|  1.53k|    if (err) error("lazy-load database '%s' is corrupt",
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  |  Branch (3537:9): [True: 0, False: 1.53k]
  ------------------
 3538|      0|		   translateChar(STRING_ELT(file, 0)));
  ------------------
  |  | 1037|      0|#define translateChar		Rf_translateChar
  ------------------
 3539|  1.53k|    val = R_unserialize(val, hook);
 3540|  1.53k|    if (TYPEOF(val) == PROMSXP) {
  ------------------
  |  |  116|  1.53k|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (3540:9): [True: 0, False: 1.53k]
  ------------------
 3541|      0|	REPROTECT(val, vpi);
  ------------------
  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
 3542|      0|	val = eval(val, R_GlobalEnv);
  ------------------
  |  |  913|      0|#define eval			Rf_eval
  ------------------
 3543|      0|	ENSURE_NAMEDMAX(val);
 3544|      0|    }
 3545|  1.53k|    UNPROTECT(1);
  ------------------
  |  |  358|  1.53k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 3546|  1.53k|    return val;
 3547|  1.53k|}
serialize.c:InFormat:
  588|  1.60k|{
  589|  1.60k|    char buf[2];
  590|  1.60k|    R_pstream_format_t type;
  591|  1.60k|    stream->InBytes(stream, buf, 2);
  592|  1.60k|    switch (buf[0]) {
  593|      0|    case 'A': type = R_pstream_ascii_format; break; /* also for asciihex */
  ------------------
  |  Branch (593:5): [True: 0, False: 1.60k]
  ------------------
  594|      0|    case 'B': type = R_pstream_binary_format; break;
  ------------------
  |  Branch (594:5): [True: 0, False: 1.60k]
  ------------------
  595|  1.60k|    case 'X': type = R_pstream_xdr_format; break;
  ------------------
  |  Branch (595:5): [True: 1.60k, False: 0]
  ------------------
  596|      0|    case '\n':
  ------------------
  |  Branch (596:5): [True: 0, False: 1.60k]
  ------------------
  597|       |	/* GROSS HACK: ASCII unserialize may leave a trailing newline
  598|       |	   in the stream.  If the stream contains a second
  599|       |	   serialization, then a second unserialize will fail if such
  600|       |	   a newline is present.  The right fix is to make sure
  601|       |	   unserialize consumes exactly what serialize produces.  But
  602|       |	   this seems hard because of the current use of whitespace
  603|       |	   skipping in unserialize.  So a temporary hack to cure the
  604|       |	   symptom is to deal with a possible leading newline.  I
  605|       |	   don't think more than one is possible, but I'm not sure.
  606|       |	   LT */
  607|      0|	if (buf[1] == 'A') {
  ------------------
  |  Branch (607:6): [True: 0, False: 0]
  ------------------
  608|      0|	    type = R_pstream_ascii_format;
  609|      0|	    stream->InBytes(stream, buf, 1);
  610|      0|	    break;
  611|      0|	}
  612|      0|    default:
  ------------------
  |  Branch (612:5): [True: 0, False: 1.60k]
  ------------------
  613|      0|	type = R_pstream_any_format;  /* keep compiler happy */
  614|      0|	error(_("unknown input format"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("unknown input format"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  615|  1.60k|    }
  616|  1.60k|    if (stream->type == R_pstream_any_format)
  ------------------
  |  Branch (616:9): [True: 1.60k, False: 0]
  ------------------
  617|  1.60k|	stream->type = type;
  618|      0|    else if (type != stream->type)
  ------------------
  |  Branch (618:14): [True: 0, False: 0]
  ------------------
  619|      0|	error(_("input format does not match specified format"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("input format does not match specified format"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  620|  1.60k|}
serialize.c:InInteger:
  397|  1.98M|{
  398|  1.98M|    char word[128];
  399|  1.98M|    char buf[128];
  400|  1.98M|    int i;
  401|       |
  402|  1.98M|    switch (stream->type) {
  403|      0|    case R_pstream_ascii_format:
  ------------------
  |  Branch (403:5): [True: 0, False: 1.98M]
  ------------------
  404|      0|	InWord(stream, word, sizeof(word));
  405|      0|	if(sscanf(word, "%127s", buf) != 1) error(_("read error"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	if(sscanf(word, "%127s", buf) != 1) error(_("read error"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (405:5): [True: 0, False: 0]
  ------------------
  406|      0|	if (strcmp(buf, "NA") == 0)
  ------------------
  |  Branch (406:6): [True: 0, False: 0]
  ------------------
  407|      0|	    return NA_INTEGER;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  408|      0|	else
  409|      0|	    if(sscanf(buf, "%d", &i) != 1) error(_("read error"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    if(sscanf(buf, "%d", &i) != 1) error(_("read error"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (409:9): [True: 0, False: 0]
  ------------------
  410|      0|	return i;
  411|      0|    case R_pstream_binary_format:
  ------------------
  |  Branch (411:5): [True: 0, False: 1.98M]
  ------------------
  412|      0|	stream->InBytes(stream, &i, sizeof(int));
  413|      0|	return i;
  414|  1.98M|    case R_pstream_xdr_format:
  ------------------
  |  Branch (414:5): [True: 1.98M, False: 0]
  ------------------
  415|  1.98M|	stream->InBytes(stream, buf, R_XDR_INTEGER_SIZE);
  ------------------
  |  |  709|  1.98M|#define R_XDR_INTEGER_SIZE 4
  ------------------
  416|  1.98M|	return R_XDRDecodeInteger(buf);
  417|      0|    default:
  ------------------
  |  Branch (417:5): [True: 0, False: 1.98M]
  ------------------
  418|      0|	return NA_INTEGER;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  419|  1.98M|    }
  420|  1.98M|}
serialize.c:InString:
  506|   138k|{
  507|   138k|    if (stream->type == R_pstream_ascii_format) {
  ------------------
  |  Branch (507:9): [True: 0, False: 138k]
  ------------------
  508|      0|	if (length > 0) {
  ------------------
  |  Branch (508:6): [True: 0, False: 0]
  ------------------
  509|      0|	    int c, d, i, j;
  510|      0|	    struct R_instring_stream_st iss;
  511|       |
  512|      0|	    InitInStringStream(&iss, stream);
  513|      0|	    while(isspace(c = GetChar(&iss)))
  ------------------
  |  Branch (513:12): [True: 0, False: 0]
  ------------------
  514|      0|		;
  515|      0|	    UngetChar(&iss, c);
  516|      0|	    for (i = 0; i < length; i++) {
  ------------------
  |  Branch (516:18): [True: 0, False: 0]
  ------------------
  517|       |		/* fgetc() and text connections return EOF without an
  518|       |		   error: stop here rather than fill the rest of the
  519|       |		   string with EOF bytes */
  520|      0|		if ((c = GetChar(&iss)) == EOF)
  ------------------
  |  Branch (520:7): [True: 0, False: 0]
  ------------------
  521|      0|		    error(_("read error"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("read error"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  522|      0|		if (c == '\\') {
  ------------------
  |  Branch (522:7): [True: 0, False: 0]
  ------------------
  523|      0|		    if ((c = GetChar(&iss)) == EOF)
  ------------------
  |  Branch (523:11): [True: 0, False: 0]
  ------------------
  524|      0|			error(_("read error"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              			error(_("read error"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  525|      0|		    switch(c) {
  526|      0|		    case 'n' : buf[i] = '\n'; break;
  ------------------
  |  Branch (526:7): [True: 0, False: 0]
  ------------------
  527|      0|		    case 't' : buf[i] = '\t'; break;
  ------------------
  |  Branch (527:7): [True: 0, False: 0]
  ------------------
  528|      0|		    case 'v' : buf[i] = '\v'; break;
  ------------------
  |  Branch (528:7): [True: 0, False: 0]
  ------------------
  529|      0|		    case 'b' : buf[i] = '\b'; break;
  ------------------
  |  Branch (529:7): [True: 0, False: 0]
  ------------------
  530|      0|		    case 'r' : buf[i] = '\r'; break;
  ------------------
  |  Branch (530:7): [True: 0, False: 0]
  ------------------
  531|      0|		    case 'f' : buf[i] = '\f'; break;
  ------------------
  |  Branch (531:7): [True: 0, False: 0]
  ------------------
  532|      0|		    case 'a' : buf[i] = '\a'; break;
  ------------------
  |  Branch (532:7): [True: 0, False: 0]
  ------------------
  533|      0|		    case '\\': buf[i] = '\\'; break;
  ------------------
  |  Branch (533:7): [True: 0, False: 0]
  ------------------
  534|      0|		    case '?' : buf[i] = '\?'; break;
  ------------------
  |  Branch (534:7): [True: 0, False: 0]
  ------------------
  535|      0|		    case '\'': buf[i] = '\''; break;
  ------------------
  |  Branch (535:7): [True: 0, False: 0]
  ------------------
  536|      0|		    case '\"': buf[i] = '\"'; break; /* closing " for emacs */
  ------------------
  |  Branch (536:7): [True: 0, False: 0]
  ------------------
  537|      0|		    case '0': case '1': case '2': case '3':
  ------------------
  |  Branch (537:7): [True: 0, False: 0]
  |  Branch (537:17): [True: 0, False: 0]
  |  Branch (537:27): [True: 0, False: 0]
  |  Branch (537:37): [True: 0, False: 0]
  ------------------
  538|      0|		    case '4': case '5': case '6': case '7':
  ------------------
  |  Branch (538:7): [True: 0, False: 0]
  |  Branch (538:17): [True: 0, False: 0]
  |  Branch (538:27): [True: 0, False: 0]
  |  Branch (538:37): [True: 0, False: 0]
  ------------------
  539|      0|			d = 0; j = 0;
  540|      0|			while('0' <= c && c < '8' && j < 3) {
  ------------------
  |  Branch (540:10): [True: 0, False: 0]
  |  Branch (540:22): [True: 0, False: 0]
  |  Branch (540:33): [True: 0, False: 0]
  ------------------
  541|      0|			    d = d * 8 + (c - '0');
  542|      0|			    c = GetChar(&iss);
  543|      0|			    j++;
  544|      0|			}
  545|      0|			buf[i] = (char) d;
  546|      0|			UngetChar(&iss, c);
  547|      0|			break;
  548|      0|		    default  : buf[i] = (char) c;
  ------------------
  |  Branch (548:7): [True: 0, False: 0]
  ------------------
  549|      0|		    }
  550|      0|		}
  551|      0|		else buf[i] = (char) c;
  552|      0|	    }
  553|      0|	}
  554|      0|    }
  555|   138k|    else  /* this limits the string length: used for CHARSXPs */
  556|   138k|	stream->InBytes(stream, buf, length);
  557|   138k|}
serialize.c:MakeReadRefTable:
 1479|  1.60k|{
 1480|  1.60k|    SEXP data = allocVector(VECSXP, INITIAL_REFREAD_TABLE_SIZE);
  ------------------
  |  |  875|  1.60k|#define allocVector		Rf_allocVector
  ------------------
                  SEXP data = allocVector(VECSXP, INITIAL_REFREAD_TABLE_SIZE);
  ------------------
  |  |  131|  1.60k|#define VECSXP	    19	  /* generic vectors */
  ------------------
                  SEXP data = allocVector(VECSXP, INITIAL_REFREAD_TABLE_SIZE);
  ------------------
  |  | 1476|  1.60k|#define INITIAL_REFREAD_TABLE_SIZE 128
  ------------------
 1481|  1.60k|    SET_TRUELENGTH(data, 0);
 1482|  1.60k|    return CONS(data, R_NilValue);
  ------------------
  |  |  309|  1.60k|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
 1483|  1.60k|}
serialize.c:CloseInStreamConverters:
 2366|  1.60k|{
 2367|  1.60k|    R_inpstream_t stream = data;
 2368|  1.60k|    if (stream->nat2nat_obj && stream->nat2nat_obj != (void *)-1) {
  ------------------
  |  Branch (2368:9): [True: 0, False: 1.60k]
  |  Branch (2368:32): [True: 0, False: 0]
  ------------------
 2369|      0|	Riconv_close(stream->nat2nat_obj);
 2370|      0|	stream->nat2nat_obj = NULL;
 2371|      0|    }
 2372|  1.60k|    if (stream->nat2utf8_obj && stream->nat2utf8_obj != (void *)-1) {
  ------------------
  |  Branch (2372:9): [True: 0, False: 1.60k]
  |  Branch (2372:33): [True: 0, False: 0]
  ------------------
 2373|      0|	Riconv_close(stream->nat2utf8_obj);
 2374|       |	stream->nat2utf8_obj = NULL;
 2375|      0|    }
 2376|  1.60k|}
serialize.c:ReadItem:
 2195|   878k|{
 2196|   878k|    int flags = InInteger(stream);
 2197|   878k|    return ReadItem_Recursive(flags, ref_table, stream);
 2198|   878k|}
serialize.c:ReadItem_Recursive:
 1936|   936k|{
 1937|   936k|    SEXPTYPE type;
 1938|   936k|    SEXP s;
 1939|   936k|    R_xlen_t len, count;
 1940|   936k|    int levs, objf, hasattr, hastag, length;
 1941|       |
 1942|   936k|    R_assert(TYPEOF(ref_table) == LISTSXP && TYPEOF(CAR(ref_table)) == VECSXP);
  ------------------
  |  |  217|  1.87M|#define R_assert(e) ((e) ? (void) 0 : error("assertion '%s' failed: file '%s', line %d\n", #e, __FILE__, __LINE__))
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |  |  Branch (217:23): [True: 936k, False: 0]
  |  |  |  Branch (217:23): [True: 936k, False: 0]
  |  |  ------------------
  ------------------
 1943|       |
 1944|       |    /* Each level of nesting in the stream recurses here, so a stream
 1945|       |       nesting lists tens of thousands deep would otherwise overflow the
 1946|       |       C stack before anything else notices. */
 1947|   936k|    R_CheckStack();
 1948|       |
 1949|   936k|    UnpackFlags(flags, &type, &levs, &objf, &hasattr, &hastag);
 1950|       |
 1951|   936k|    switch(type) {
 1952|   311k|    case NILVALUE_SXP:      return R_NilValue;
  ------------------
  |  |  689|   311k|#define NILVALUE_SXP      254
  ------------------
  |  Branch (1952:5): [True: 311k, False: 624k]
  ------------------
 1953|     18|    case EMPTYENV_SXP:	    return R_EmptyEnv;
  ------------------
  |  |  702|     18|#define EMPTYENV_SXP	  242
  ------------------
  |  Branch (1953:5): [True: 18, False: 936k]
  ------------------
 1954|     44|    case BASEENV_SXP:	    return R_BaseEnv;
  ------------------
  |  |  703|     44|#define BASEENV_SXP	  241
  ------------------
  |  Branch (1954:5): [True: 44, False: 936k]
  ------------------
 1955|    156|    case GLOBALENV_SXP:     return R_GlobalEnv;
  ------------------
  |  |  690|    156|#define GLOBALENV_SXP     253
  ------------------
  |  Branch (1955:5): [True: 156, False: 936k]
  ------------------
 1956|      8|    case UNBOUNDVALUE_SXP:  return R_UnboundValue;
  ------------------
  |  |  691|      8|#define UNBOUNDVALUE_SXP  252
  ------------------
  |  Branch (1956:5): [True: 8, False: 936k]
  ------------------
 1957|  11.5k|    case MISSINGARG_SXP:    return R_MissingArg;
  ------------------
  |  |  692|  11.5k|#define MISSINGARG_SXP    251
  ------------------
  |  Branch (1957:5): [True: 11.5k, False: 924k]
  ------------------
 1958|    883|    case BASENAMESPACE_SXP:
  ------------------
  |  |  693|    883|#define BASENAMESPACE_SXP 250
  ------------------
  |  Branch (1958:5): [True: 883, False: 935k]
  ------------------
 1959|    883|	return R_BaseNamespace;
 1960|   236k|    case REFSXP:
  ------------------
  |  |  688|   236k|#define REFSXP            255
  ------------------
  |  Branch (1960:5): [True: 236k, False: 699k]
  ------------------
 1961|   236k|	return GetReadRef(ref_table, InRefIndex(stream, flags));
 1962|  1.40k|    case PERSISTSXP:
  ------------------
  |  |  696|  1.40k|#define PERSISTSXP        247
  ------------------
  |  Branch (1962:5): [True: 1.40k, False: 934k]
  ------------------
 1963|  1.40k|	PROTECT(s = InStringVec(stream, ref_table));
  ------------------
  |  |  357|  1.40k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1964|  1.40k|	s = PersistentRestore(stream, s);
 1965|  1.40k|	UNPROTECT(1);
  ------------------
  |  |  358|  1.40k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1966|  1.40k|	AddReadRef(ref_table, s);
 1967|  1.40k|	return s;
 1968|     10|    case ALTREP_SXP:
  ------------------
  |  |  718|     10|#define ALTREP_SXP	  238
  ------------------
  |  Branch (1968:5): [True: 10, False: 936k]
  ------------------
 1969|     10|	{
 1970|     10|	    R_ReadItemDepth++;
 1971|     10|	    SEXP info = PROTECT(ReadItem(ref_table, stream));
  ------------------
  |  |  357|     10|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1972|     10|	    SEXP state = PROTECT(ReadItem(ref_table, stream));
  ------------------
  |  |  357|     10|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1973|     10|	    SEXP attr = PROTECT(ReadAttrib(ref_table, stream));
  ------------------
  |  |  357|     10|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1974|     10|	    s = ALTREP_UNSERIALIZE_EX(info, state, attr, objf, levs);
 1975|     10|	    if (attr != R_NilValue) CheckDim(s);
  ------------------
  |  Branch (1975:10): [True: 0, False: 10]
  ------------------
 1976|     10|	    UNPROTECT(3); /* info, state, attr */
  ------------------
  |  |  358|     10|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1977|     10|	    R_ReadItemDepth--;
 1978|     10|	    return s;
 1979|      0|	}
 1980|  22.9k|    case SYMSXP:
  ------------------
  |  |  112|  22.9k|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (1980:5): [True: 22.9k, False: 913k]
  ------------------
 1981|  22.9k|	R_ReadItemDepth++;
 1982|  22.9k|	PROTECT(s = ReadItem(ref_table, stream)); /* print name */
  ------------------
  |  |  357|  22.9k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1983|  22.9k|	R_ReadItemDepth--;
 1984|  22.9k|	s = installTrChar(s);
  ------------------
  |  |  937|  22.9k|#define installTrChar		Rf_installTrChar
  ------------------
 1985|  22.9k|	AddReadRef(ref_table, s);
 1986|  22.9k|	UNPROTECT(1);
  ------------------
  |  |  358|  22.9k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1987|  22.9k|	return s;
 1988|      0|    case PACKAGESXP:
  ------------------
  |  |  695|      0|#define PACKAGESXP        248
  ------------------
  |  Branch (1988:5): [True: 0, False: 936k]
  ------------------
 1989|      0|	PROTECT(s = InStringVec(stream, ref_table));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1990|      0|	s = R_FindPackageEnv(s);
 1991|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1992|      0|	AddReadRef(ref_table, s);
 1993|      0|	return s;
 1994|    661|    case NAMESPACESXP:
  ------------------
  |  |  694|    661|#define NAMESPACESXP      249
  ------------------
  |  Branch (1994:5): [True: 661, False: 935k]
  ------------------
 1995|    661|	PROTECT(s = InStringVec(stream, ref_table));
  ------------------
  |  |  357|    661|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1996|    661|	s = R_FindNamespace1(s);
 1997|    661|	AddReadRef(ref_table, s);
 1998|    661|	UNPROTECT(1);
  ------------------
  |  |  358|    661|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1999|    661|	return s;
 2000|      0|    case ENVSXP:
  ------------------
  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (2000:5): [True: 0, False: 936k]
  ------------------
 2001|      0|	{
 2002|      0|	    int locked = InInteger(stream);
 2003|       |
 2004|      0|	    PROTECT(s = allocSExp(ENVSXP));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2005|       |
 2006|       |	    /* MUST register before filling in */
 2007|      0|	    AddReadRef(ref_table, s);
 2008|       |
 2009|       |	    /* Now fill it in  */
 2010|      0|	    R_ReadItemDepth++;
 2011|      0|	    SET_ENCLOS(s, ReadItem(ref_table, stream));
 2012|      0|	    SET_FRAME(s, ReadItem(ref_table, stream));
 2013|      0|	    SET_HASHTAB(s, ReadItem(ref_table, stream));
 2014|      0|	    SET_ATTRIB(s, ReadAttrib(ref_table, stream));
 2015|      0|	    R_ReadItemDepth--;
 2016|      0|	    if (ATTRIB(s) != R_NilValue &&
  ------------------
  |  Branch (2016:10): [True: 0, False: 0]
  ------------------
 2017|      0|		getAttrib(s, R_ClassSymbol) != R_NilValue)
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
  |  Branch (2017:3): [True: 0, False: 0]
  ------------------
 2018|       |		/* We don't write out the object bit for environments,
 2019|       |		   so reconstruct it here if needed. */
 2020|      0|		SET_OBJECT(s, 1);
 2021|      0|	    R_RestoreHashCount(s);
 2022|      0|	    if (locked) R_LockEnvironment(s, FALSE);
  ------------------
  |  |   59|      0|#	define FALSE	(0)
  ------------------
  |  Branch (2022:10): [True: 0, False: 0]
  ------------------
 2023|       |	    /* Convert a NULL enclosure to baseenv() */
 2024|      0|	    if (ENCLOS(s) == R_NilValue) SET_ENCLOS(s, R_BaseEnv);
  ------------------
  |  Branch (2024:10): [True: 0, False: 0]
  ------------------
 2025|      0|	    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2026|      0|	    return s;
 2027|      0|	}
 2028|  44.3k|    case LISTSXP:
  ------------------
  |  |  113|  44.3k|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (2028:5): [True: 44.3k, False: 891k]
  ------------------
 2029|  50.8k|    case LANGSXP:
  ------------------
  |  |  117|  50.8k|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (2029:5): [True: 6.47k, False: 929k]
  ------------------
 2030|  57.1k|    case CLOSXP:
  ------------------
  |  |  114|  57.1k|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (2030:5): [True: 6.31k, False: 929k]
  ------------------
 2031|  57.2k|    case PROMSXP:
  ------------------
  |  |  116|  57.2k|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (2031:5): [True: 118, False: 936k]
  ------------------
 2032|  57.2k|    case DOTSXP:
  ------------------
  |  |  127|  57.2k|#define DOTSXP	    17	  /* dot-dot-dot object */
  ------------------
  |  Branch (2032:5): [True: 0, False: 936k]
  ------------------
 2033|  57.2k|	return ReadItem_Iterative(flags, ref_table, stream);
 2034|   292k|    default:
  ------------------
  |  Branch (2034:5): [True: 292k, False: 643k]
  ------------------
 2035|       |	/* These break out of the switch to have their ATTR,
 2036|       |	   LEVELS, and OBJECT fields filled in.  Each leaves the
 2037|       |	   newly allocated value PROTECTed */
 2038|   292k|	switch (type) {
 2039|    352|	case EXTPTRSXP:
  ------------------
  |  |  134|    352|#define EXTPTRSXP   22    /* external pointer */
  ------------------
  |  Branch (2039:2): [True: 352, False: 292k]
  ------------------
 2040|    352|	    PROTECT(s = allocSExp(type));
  ------------------
  |  |  357|    352|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2041|    352|	    AddReadRef(ref_table, s);
 2042|    352|	    R_SetExternalPtrAddr(s, NULL);
 2043|    352|	    R_ReadItemDepth++;
 2044|    352|	    R_SetExternalPtrProtected(s, ReadItem(ref_table, stream));
 2045|    352|	    R_SetExternalPtrTag(s, ReadItem(ref_table, stream));
 2046|    352|	    R_ReadItemDepth--;
 2047|    352|	    break;
 2048|      0|	case WEAKREFSXP:
  ------------------
  |  |  135|      0|#define WEAKREFSXP  23    /* weak reference */
  ------------------
  |  Branch (2048:2): [True: 0, False: 292k]
  ------------------
 2049|      0|	    PROTECT(s = R_MakeWeakRef(R_NilValue, R_NilValue, R_NilValue,
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2050|      0|				      FALSE));
 2051|      0|	    AddReadRef(ref_table, s);
 2052|      0|	    break;
 2053|    116|	case SPECIALSXP:
  ------------------
  |  |  118|    116|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (2053:2): [True: 116, False: 292k]
  ------------------
 2054|    816|	case BUILTINSXP:
  ------------------
  |  |  119|    816|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (2054:2): [True: 700, False: 291k]
  ------------------
 2055|    816|	    {
 2056|       |		/* These are all short strings */
 2057|    816|		length = InInteger(stream);
 2058|       |		/* Primitive names come from R_FunTab.  An implausible
 2059|       |		   length from the stream must not become a large
 2060|       |		   stack allocation. */
 2061|    816|		if (length < 0 || length > 255)
  ------------------
  |  Branch (2061:7): [True: 0, False: 816]
  |  Branch (2061:21): [True: 0, False: 816]
  ------------------
 2062|      0|		    error(_("invalid length"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("invalid length"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2063|    816|		R_CheckStack2(length+1);
 2064|    816|		char cbuf[length+1];
 2065|    816|		InString(stream, cbuf, length);
 2066|    816|		cbuf[length] = '\0';
 2067|    816|		int index = StrToInternal(cbuf);
  ------------------
  |  | 1999|    816|# define StrToInternal		Rf_StrToInternal
  ------------------
 2068|    816|		if (index == NA_INTEGER) {
  ------------------
  |  |   56|    816|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (2068:7): [True: 0, False: 816]
  ------------------
 2069|      0|		    warning(_("unrecognized internal function name \"%s\""), cbuf);
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              		    warning(_("unrecognized internal function name \"%s\""), cbuf);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2070|      0|		    PROTECT(s = R_NilValue);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2071|      0|		} else
 2072|    816|		    PROTECT(s = mkPRIMSXP(index, type == BUILTINSXP));
  ------------------
  |  |  357|    816|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2073|    816|	    }
 2074|    816|	    break;
 2075|   138k|	case CHARSXP:
  ------------------
  |  |  120|   138k|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  ------------------
  |  Branch (2075:2): [True: 138k, False: 154k]
  ------------------
 2076|       |	    /* these are currently limited to 2^31 -1 bytes */
 2077|   138k|	    length = InInteger(stream);
 2078|   138k|	    if (length < -1)
  ------------------
  |  Branch (2078:10): [True: 0, False: 138k]
  ------------------
 2079|      0|		error(_("invalid length"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("invalid length"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2080|   138k|	    else if (length == -1)
  ------------------
  |  Branch (2080:15): [True: 2.68k, False: 135k]
  ------------------
 2081|  2.68k|		PROTECT(s = NA_STRING);
  ------------------
  |  |  357|  2.68k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2082|   135k|	    else if (length < 1000) {
  ------------------
  |  Branch (2082:15): [True: 135k, False: 0]
  ------------------
 2083|   135k|		char cbuf[length+1];
 2084|   135k|		PROTECT(s = ReadChar(stream, cbuf, length, levs));
  ------------------
  |  |  357|   135k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2085|   135k|	    } else {
 2086|       |		/* R_alloc, not Calloc: ReadChar can signal errors (truncated
 2087|       |		   stream, embedded nul), which would leak a Calloc'd buffer */
 2088|      0|		const void *vmax = vmaxget();
 2089|      0|		char *cbuf = R_alloc((size_t)length + 1, sizeof(char));
 2090|      0|		PROTECT(s = ReadChar(stream, cbuf, length, levs));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2091|      0|		vmaxset(vmax);
 2092|      0|	    }
 2093|   138k|	    break;
 2094|  12.2k|	case LGLSXP:
  ------------------
  |  |  121|  12.2k|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (2094:2): [True: 12.2k, False: 280k]
  ------------------
 2095|  62.5k|	case INTSXP:
  ------------------
  |  |  123|  62.5k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (2095:2): [True: 50.2k, False: 242k]
  ------------------
 2096|  62.5k|	    len = ReadLENGTH(stream);
 2097|  62.5k|	    PROTECT(s = allocVector(type, len));
  ------------------
  |  |  357|  62.5k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2098|  62.5k|	    InIntegerVec(stream, s, len);
 2099|  62.5k|	    break;
 2100|  2.96k|	case REALSXP:
  ------------------
  |  |  124|  2.96k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (2100:2): [True: 2.96k, False: 289k]
  ------------------
 2101|  2.96k|	    len = ReadLENGTH(stream);
 2102|  2.96k|	    PROTECT(s = allocVector(type, len));
  ------------------
  |  |  357|  2.96k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2103|  2.96k|	    InRealVec(stream, s, len);
 2104|  2.96k|	    break;
 2105|      6|	case CPLXSXP:
  ------------------
  |  |  125|      6|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (2105:2): [True: 6, False: 292k]
  ------------------
 2106|      6|	    len = ReadLENGTH(stream);
 2107|      6|	    PROTECT(s = allocVector(type, len));
  ------------------
  |  |  357|      6|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2108|      6|	    InComplexVec(stream, s, len);
 2109|      6|	    break;
 2110|  76.2k|	case STRSXP:
  ------------------
  |  |  126|  76.2k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (2110:2): [True: 76.2k, False: 216k]
  ------------------
 2111|  76.2k|	    len = ReadLENGTH(stream);
 2112|  76.2k|	    PROTECT(s = allocVector(type, len));
  ------------------
  |  |  357|  76.2k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2113|  76.2k|	    R_ReadItemDepth++;
 2114|   188k|	    for (count = 0; count < len; ++count)
  ------------------
  |  Branch (2114:22): [True: 112k, False: 76.2k]
  ------------------
 2115|   112k|		SET_STRING_ELT(s, count, ReadItem(ref_table, stream));
 2116|  76.2k|	    R_ReadItemDepth--;
 2117|  76.2k|	    break;
 2118|  3.79k|	case VECSXP:
  ------------------
  |  |  131|  3.79k|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (2118:2): [True: 3.79k, False: 288k]
  ------------------
 2119|  3.79k|	case EXPRSXP:
  ------------------
  |  |  132|  3.79k|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (2119:2): [True: 2, False: 292k]
  ------------------
 2120|  3.79k|	    len = ReadLENGTH(stream);
 2121|  3.79k|	    PROTECT(s = allocVector(type, len));
  ------------------
  |  |  357|  3.79k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2122|  3.79k|	    R_ReadItemDepth++;
 2123|  23.8k|	    for (count = 0; count < len; ++count) {
  ------------------
  |  Branch (2123:22): [True: 20.0k, False: 3.79k]
  ------------------
 2124|  20.0k|		if (R_ReadItemDepth <= 0)
  ------------------
  |  Branch (2124:7): [True: 0, False: 20.0k]
  ------------------
 2125|      0|		    Rprintf("%*s[%lld]\n", 2*(R_ReadItemDepth - R_InitReadItemDepth),
 2126|      0|		            "", (long long)count+1);
 2127|  20.0k|		SET_VECTOR_ELT(s, count, ReadItem(ref_table, stream));
 2128|  20.0k|	    }
 2129|  3.79k|	    R_ReadItemDepth--;
 2130|  3.79k|	    break;
 2131|  5.46k|	case BCODESXP:
  ------------------
  |  |  133|  5.46k|#define BCODESXP    21    /* byte code */
  ------------------
  |  Branch (2131:2): [True: 5.46k, False: 286k]
  ------------------
 2132|  5.46k|	    PROTECT(s = ReadBC(ref_table, stream));
  ------------------
  |  |  357|  5.46k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2133|  5.46k|	    break;
 2134|      0|	case CLASSREFSXP:
  ------------------
  |  |  698|      0|#define CLASSREFSXP       246
  ------------------
  |  Branch (2134:2): [True: 0, False: 292k]
  ------------------
 2135|      0|	    error(_("this version of R cannot read class references"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("this version of R cannot read class references"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2136|      0|	case GENERICREFSXP:
  ------------------
  |  |  699|      0|#define GENERICREFSXP     245
  ------------------
  |  Branch (2136:2): [True: 0, False: 292k]
  ------------------
 2137|      0|	    error(_("this version of R cannot read generic function references"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("this version of R cannot read generic function references"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2138|      2|	case RAWSXP:
  ------------------
  |  |  136|      2|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (2138:2): [True: 2, False: 292k]
  ------------------
 2139|      2|	    len = ReadLENGTH(stream);
 2140|      2|	    PROTECT(s = allocVector(type, len));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2141|      2|	    switch (stream->type) {
 2142|      0|	    case R_pstream_ascii_format:
  ------------------
  |  Branch (2142:6): [True: 0, False: 2]
  ------------------
 2143|      0|		for (R_xlen_t ix = 0; ix < len; ix++) {
  ------------------
  |  Branch (2143:25): [True: 0, False: 0]
  ------------------
 2144|      0|		    char word[128];
 2145|      0|		    unsigned int i; // unsigned to avoid compiler warnings
 2146|      0|		    InWord(stream, word, sizeof(word));
 2147|      0|		    if(sscanf(word, "%2x", &i) != 1) error(_("read error"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    if(sscanf(word, "%2x", &i) != 1) error(_("read error"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (2147:10): [True: 0, False: 0]
  ------------------
 2148|      0|		    RAW(s)[ix] = (Rbyte) i;
 2149|      0|		}
 2150|      0|		break;
 2151|      2|	    default:
  ------------------
  |  Branch (2151:6): [True: 2, False: 0]
  ------------------
 2152|      2|	    {
 2153|      2|		R_xlen_t done, this;
 2154|      2|		for (done = 0; done < len; done += this) {
  ------------------
  |  Branch (2154:18): [True: 0, False: 2]
  ------------------
 2155|      0|		    this = min2(CHUNK_SIZE, len - done);
  ------------------
  |  |  915|      0|#define min2(a, b) ((a) < (b)) ? (a) : (b)
  |  |  ------------------
  |  |  |  Branch (915:20): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2156|      0|		    stream->InBytes(stream, RAW(s) + done, (int) this);
 2157|      0|		}
 2158|      2|	    }
 2159|      2|	    }
 2160|      2|	    break;
 2161|  1.88k|	case OBJSXP:
  ------------------
  |  |  137|  1.88k|#define OBJSXP      25    /* object, non-vector  */
  ------------------
  |  Branch (2161:2): [True: 1.88k, False: 290k]
  ------------------
 2162|  1.88k|	    PROTECT(s = R_allocObject());
  ------------------
  |  |  357|  1.88k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2163|  1.88k|	    break;
 2164|      0|	default:
  ------------------
  |  Branch (2164:2): [True: 0, False: 292k]
  ------------------
 2165|      0|	    s = R_NilValue; /* keep compiler happy */
 2166|      0|	    error(_("ReadItem: unknown type %i, perhaps written by later version of R"), type);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("ReadItem: unknown type %i, perhaps written by later version of R"), type);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2167|   292k|	}
 2168|   292k|	if (type != CHARSXP) SETLEVELS(s, levs);
  ------------------
  |  |  120|   292k|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  ------------------
  |  Branch (2168:6): [True: 154k, False: 138k]
  ------------------
 2169|   292k|	SET_OBJECT(s, objf);
 2170|   292k|	if (TYPEOF(s) == CHARSXP) {
  ------------------
  |  |  120|   292k|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  ------------------
  |  Branch (2170:6): [True: 138k, False: 154k]
  ------------------
 2171|       |	    /* With the CHARSXP cache maintained through the ATTRIB
 2172|       |	       field that field has already been filled in by the
 2173|       |	       mkChar/mkCharCE call above, so we need to leave it
 2174|       |	       alone.  If there is an attribute (as there might be if
 2175|       |	       the serialized data was created by an older version) we
 2176|       |	       read and ignore the value. */
 2177|   138k|	    R_ReadItemDepth++;
 2178|   138k|	    if (hasattr) ReadItem(ref_table, stream);
  ------------------
  |  Branch (2178:10): [True: 0, False: 138k]
  ------------------
 2179|   138k|	    R_ReadItemDepth--;
 2180|   138k|	}
 2181|   154k|	else {
 2182|   154k|	    R_ReadItemDepth++;
 2183|   154k|	    SET_ATTRIB(s, hasattr ? ReadAttrib(ref_table, stream) : R_NilValue);
  ------------------
  |  Branch (2183:20): [True: 37.1k, False: 116k]
  ------------------
 2184|   154k|	    R_ReadItemDepth--;
 2185|   154k|	    if (hasattr && isVector(s)) CheckDim(s);
  ------------------
  |  |  974|  37.1k|#define isVector		Rf_isVector
  ------------------
  |  Branch (2185:10): [True: 37.1k, False: 116k]
  |  Branch (2185:21): [True: 35.2k, False: 1.88k]
  ------------------
 2186|   154k|	}
 2187|   292k|	UNPROTECT(1); /* s */
  ------------------
  |  |  358|   292k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2188|   292k|	if (TYPEOF(s) == BCODESXP && !R_BCVersionOK(s))
  ------------------
  |  |  133|   584k|#define BCODESXP    21    /* byte code */
  ------------------
  |  Branch (2188:6): [True: 5.46k, False: 286k]
  |  Branch (2188:31): [True: 0, False: 5.46k]
  ------------------
 2189|      0|	    return R_BytecodeExpr(s);
 2190|   292k|	return s;
 2191|   936k|    }
 2192|   936k|}
serialize.c:UnpackFlags:
  774|  1.03M|{
  775|  1.03M|    *ptype = DECODE_TYPE(flags);
  ------------------
  |  |  735|  1.03M|#define DECODE_TYPE(v) ((v) & 255)
  ------------------
  776|  1.03M|    *plevs = DECODE_LEVELS(flags);
  ------------------
  |  |  734|  1.03M|#define DECODE_LEVELS(v) ((v) >> 12)
  ------------------
  777|  1.03M|    *pisobj = flags & IS_OBJECT_BIT_MASK ? true : FALSE;
  ------------------
  |  |  730|  1.03M|#define IS_OBJECT_BIT_MASK (1 << 8)
  ------------------
  |  Branch (777:15): [True: 135k, False: 903k]
  ------------------
  778|  1.03M|    *phasattr = flags & HAS_ATTR_BIT_MASK ? true : FALSE;
  ------------------
  |  |  731|  1.03M|#define HAS_ATTR_BIT_MASK (1 << 9)
  ------------------
  |  Branch (778:17): [True: 163k, False: 875k]
  ------------------
  779|  1.03M|    *phastag = flags & HAS_TAG_BIT_MASK ? true : FALSE;
  ------------------
  |  |  732|  1.03M|#define HAS_TAG_BIT_MASK (1 << 10)
  ------------------
  |  Branch (779:16): [True: 240k, False: 798k]
  ------------------
  780|  1.03M|}
serialize.c:GetReadRef:
 1486|   236k|{
 1487|   236k|    int i = index - 1;
 1488|   236k|    SEXP data = CAR(table);
 1489|       |
 1490|   236k|    if (i < 0 || i >= LENGTH(data))
  ------------------
  |  Branch (1490:9): [True: 0, False: 236k]
  |  Branch (1490:18): [True: 0, False: 236k]
  ------------------
 1491|      0|	error(_("reference index out of range"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("reference index out of range"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1492|   236k|    return VECTOR_ELT(data, i);
 1493|   236k|}
serialize.c:InRefIndex:
  807|   236k|{
  808|   236k|    int i = UNPACK_REF_INDEX(flags);
  ------------------
  |  |  794|   236k|#define UNPACK_REF_INDEX(i) ((i) >> 8)
  ------------------
  809|   236k|    if (i == 0)
  ------------------
  |  Branch (809:9): [True: 0, False: 236k]
  ------------------
  810|      0|	return InInteger(stream);
  811|   236k|    else
  812|   236k|	return i;
  813|   236k|}
serialize.c:InStringVec:
 1517|  2.06k|{
 1518|  2.06k|    if (InInteger(stream) != 0)
  ------------------
  |  Branch (1518:9): [True: 0, False: 2.06k]
  ------------------
 1519|      0|	error(_("names in persistent strings are not supported yet"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("names in persistent strings are not supported yet"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1520|  2.06k|    int len = InInteger(stream);
 1521|  2.06k|    SEXP s = PROTECT(allocVector(STRSXP, len));
  ------------------
  |  |  357|  2.06k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1522|  2.06k|    R_ReadItemDepth++;
 1523|  4.78k|    for (int i = 0; i < len; i++)
  ------------------
  |  Branch (1523:21): [True: 2.72k, False: 2.06k]
  ------------------
 1524|  2.72k|	SET_STRING_ELT(s, i, ReadItem(ref_table, stream));
 1525|  2.06k|    R_ReadItemDepth--;
 1526|  2.06k|    UNPROTECT(1);
  ------------------
  |  |  358|  2.06k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1527|  2.06k|    return s;
 1528|  2.06k|}
serialize.c:PersistentRestore:
  847|  1.40k|{
  848|  1.40k|    if (stream->InPersistHookFunc == NULL)
  ------------------
  |  Branch (848:9): [True: 0, False: 1.40k]
  ------------------
  849|      0|	error(_("no restore method available"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("no restore method available"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  850|  1.40k|    return stream->InPersistHookFunc(s, stream->InPersistHookData);
  851|  1.40k|}
serialize.c:AddReadRef:
 1496|  25.3k|{
 1497|  25.3k|    SEXP data = CAR(table);
 1498|  25.3k|    R_xlen_t count = TRUELENGTH(data) + 1;
 1499|  25.3k|    if (count >= LENGTH(data)) {
  ------------------
  |  Branch (1499:9): [True: 30, False: 25.3k]
  ------------------
 1500|     30|	R_xlen_t i, len;
 1501|     30|	SEXP newdata;
 1502|       |
 1503|     30|	PROTECT(value);
  ------------------
  |  |  357|     30|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1504|     30|	len = 2 * count;
 1505|     30|	newdata = allocVector(VECSXP, len);
  ------------------
  |  |  875|     30|#define allocVector		Rf_allocVector
  ------------------
              	newdata = allocVector(VECSXP, len);
  ------------------
  |  |  131|     30|#define VECSXP	    19	  /* generic vectors */
  ------------------
 1506|  4.63k|	for (i = 0; i < LENGTH(data); i++)
  ------------------
  |  Branch (1506:14): [True: 4.60k, False: 30]
  ------------------
 1507|  4.60k|	    SET_VECTOR_ELT(newdata, i, VECTOR_ELT(data, i));
 1508|     30|	SETCAR(table, newdata);
 1509|     30|	data = newdata;
 1510|     30|	UNPROTECT(1);
  ------------------
  |  |  358|     30|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1511|     30|    }
 1512|  25.3k|    SET_TRUELENGTH(data, count);
 1513|  25.3k|    SET_VECTOR_ELT(data, count - 1, value);
 1514|  25.3k|}
serialize.c:ReadAttrib:
 1830|  37.9k|{
 1831|  37.9k|    SEXP a = ReadItem(ref_table, stream);
 1832|  99.2k|    for (SEXP t = a; t != R_NilValue; t = CDR(t))
  ------------------
  |  Branch (1832:22): [True: 61.2k, False: 37.9k]
  ------------------
 1833|  61.2k|	if (TYPEOF(t) != LISTSXP || TYPEOF(TAG(t)) != SYMSXP)
  ------------------
  |  |  113|   122k|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
              	if (TYPEOF(t) != LISTSXP || TYPEOF(TAG(t)) != SYMSXP)
  ------------------
  |  |  112|  61.2k|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (1833:6): [True: 0, False: 61.2k]
  |  Branch (1833:30): [True: 0, False: 61.2k]
  ------------------
 1834|      0|	    error(_("invalid attribute list"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("invalid attribute list"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1835|  37.9k|    return a;
 1836|  37.9k|}
serialize.c:CheckDim:
 1843|  35.2k|{
 1844|  72.9k|    for (SEXP a = ATTRIB(s); a != R_NilValue; a = CDR(a))
  ------------------
  |  Branch (1844:30): [True: 37.6k, False: 35.2k]
  ------------------
 1845|  37.6k|	if (TAG(a) == R_DimSymbol) {
  ------------------
  |  Branch (1845:6): [True: 42, False: 37.5k]
  ------------------
 1846|     42|	    SEXP dim = CAR(a);
 1847|     42|	    double total = 1;
 1848|     42|	    if (TYPEOF(dim) != INTSXP || LENGTH(dim) == 0)
  ------------------
  |  |  123|     84|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1848:10): [True: 0, False: 42]
  |  Branch (1848:35): [True: 0, False: 42]
  ------------------
 1849|      0|		error(_("invalid 'dim' attribute"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("invalid 'dim' attribute"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1850|    118|	    for (int i = 0; i < LENGTH(dim); i++) {
  ------------------
  |  Branch (1850:22): [True: 76, False: 42]
  ------------------
 1851|     76|		if (INTEGER(dim)[i] < 0) /* includes NA */
  ------------------
  |  Branch (1851:7): [True: 0, False: 76]
  ------------------
 1852|      0|		    error(_("invalid 'dim' attribute"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("invalid 'dim' attribute"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1853|     76|		total *= INTEGER(dim)[i];
 1854|     76|	    }
 1855|     42|	    if (total != (double) xlength(s))
  ------------------
  |  | 1049|     42|#define xlength(x)		Rf_xlength(x)
  ------------------
  |  Branch (1855:10): [True: 0, False: 42]
  ------------------
 1856|      0|		error(_("invalid 'dim' attribute"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("invalid 'dim' attribute"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1857|     42|	}
 1858|  35.2k|}
serialize.c:R_FindNamespace1:
 1814|    661|{
 1815|    661|    SEXP expr, val, where;
 1816|    661|    PROTECT(info);
  ------------------
  |  |  357|    661|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1817|    661|    where = PROTECT(ScalarString(mkChar(lastname)));
  ------------------
  |  |  357|    661|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1818|    661|    SEXP s_getNamespace = install("..getNamespace");
  ------------------
  |  |  934|    661|#define install			Rf_install
  ------------------
 1819|    661|    PROTECT(expr = LCONS(s_getNamespace,
  ------------------
  |  |  357|    661|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1820|    661|			 LCONS(info, LCONS(where, R_NilValue))));
 1821|    661|    val = eval(expr, R_BaseEnv);
  ------------------
  |  |  913|    661|#define eval			Rf_eval
  ------------------
 1822|    661|    UNPROTECT(3);
  ------------------
  |  |  358|    661|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1823|    661|    return val;
 1824|    661|}
serialize.c:ReadItem_Iterative:
 1861|  57.2k|{
 1862|       |    /* Building dotted pair objects with recursion on the CDR will
 1863|       |       overflow the PROTECT stack for long lists. Instead we build
 1864|       |       pairlists in an iterative loop */
 1865|       |    
 1866|  57.2k|    SEXPTYPE type = DECODE_TYPE(flags);
  ------------------
  |  |  735|  57.2k|#define DECODE_TYPE(v) ((v) & 255)
  ------------------
 1867|  57.2k|    SEXP s, sfirst = NULL, slast = NULL;
 1868|       |    
 1869|       |    /* An assertion here guarantees that we go through the loop at
 1870|       |       least once. This make for cleaner exit code and avoids a
 1871|       |       potential infinite loop: ReadItem_Recursive <->
 1872|       |       ReadIterm_iterative */
 1873|  57.2k|    R_assert(type == LISTSXP || type == LANGSXP || type == CLOSXP ||
  ------------------
  |  |  217|   248k|#define R_assert(e) ((e) ? (void) 0 : error("assertion '%s' failed: file '%s', line %d\n", #e, __FILE__, __LINE__))
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |  |  Branch (217:23): [True: 44.3k, False: 12.9k]
  |  |  |  Branch (217:23): [True: 6.47k, False: 6.43k]
  |  |  |  Branch (217:23): [True: 6.31k, False: 118]
  |  |  |  Branch (217:23): [True: 118, False: 0]
  |  |  |  Branch (217:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1874|  57.2k|	     type == PROMSXP || type == DOTSXP);
 1875|       |    
 1876|   159k|    while (type == LISTSXP || type == LANGSXP || type == CLOSXP ||
  ------------------
  |  |  113|   319k|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
                  while (type == LISTSXP || type == LANGSXP || type == CLOSXP ||
  ------------------
  |  |  117|   230k|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
                  while (type == LISTSXP || type == LANGSXP || type == CLOSXP ||
  ------------------
  |  |  114|   223k|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (1876:12): [True: 88.6k, False: 71.0k]
  |  Branch (1876:31): [True: 7.33k, False: 63.7k]
  |  Branch (1876:50): [True: 6.31k, False: 57.4k]
  ------------------
 1877|   102k|	   type == PROMSXP || type == DOTSXP) {
  ------------------
  |  |  116|   217k|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
              	   type == PROMSXP || type == DOTSXP) {
  ------------------
  |  |  127|  57.2k|#define DOTSXP	    17	  /* dot-dot-dot object */
  ------------------
  |  Branch (1877:5): [True: 126, False: 57.2k]
  |  Branch (1877:24): [True: 0, False: 57.2k]
  ------------------
 1878|   102k|	int levs, objf, hasattr, hastag;
 1879|   102k|	UnpackFlags(flags, &type, &levs, &objf, &hasattr, &hastag);
 1880|       |
 1881|   102k|	PROTECT(s = allocSExp(type));
  ------------------
  |  |  357|   102k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1882|   102k|	SETLEVELS(s, levs);
 1883|   102k|	SET_OBJECT(s, objf);
 1884|   102k|	R_ReadItemDepth++;
 1885|   102k|	bool set_lastname = false;
 1886|   102k|	SET_ATTRIB(s, hasattr ? ReadAttrib(ref_table, stream) : R_NilValue);
  ------------------
  |  Branch (1886:16): [True: 818, False: 101k]
  ------------------
 1887|   102k|	SET_TAG(s, hastag ? ReadItem(ref_table, stream) : R_NilValue);
  ------------------
  |  Branch (1887:13): [True: 81.5k, False: 20.9k]
  ------------------
 1888|   102k|	if (hastag && R_ReadItemDepth == R_InitReadItemDepth + 1 &&
  ------------------
  |  Branch (1888:6): [True: 81.5k, False: 20.9k]
  |  Branch (1888:16): [True: 904, False: 80.6k]
  ------------------
 1889|    904|	    isSymbol(TAG(s))) {
  ------------------
  |  |  953|    904|#define isSymbol		Rf_isSymbol
  ------------------
  |  Branch (1889:6): [True: 0, False: 904]
  ------------------
 1890|      0|	    snprintf(lastname, 8192, "%s", CHAR(PRINTNAME(TAG(s))));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 1891|      0|	    set_lastname = TRUE;
  ------------------
  |  |   62|      0|#	define TRUE	(1)
  ------------------
 1892|      0|	}
 1893|   102k|	if (hastag && R_ReadItemDepth <= 0) {
  ------------------
  |  Branch (1893:6): [True: 81.5k, False: 20.9k]
  |  Branch (1893:16): [True: 0, False: 81.5k]
  ------------------
 1894|      0|	    Rprintf("%*s", 2*(R_ReadItemDepth - R_InitReadItemDepth), "");
 1895|      0|	    PrintValue(TAG(s));
  ------------------
  |  | 1013|      0|#define PrintValue		Rf_PrintValue
  ------------------
 1896|      0|	}
 1897|   102k|	SETCAR(s, ReadItem(ref_table, stream));
 1898|   102k|	R_ReadItemDepth--;
 1899|   102k|	R_CheckStack();
 1900|       |
 1901|   102k|	if (sfirst == NULL) {
  ------------------
  |  Branch (1901:6): [True: 57.2k, False: 45.1k]
  ------------------
 1902|  57.2k|	    sfirst = s; /* First iteration: start list */
 1903|  57.2k|	}
 1904|  45.1k|	else {
 1905|  45.1k|	    SETCDR(slast, s); /* Subsequent iterations: extend list */
 1906|  45.1k|	    UNPROTECT(1); /* s, which is now protected as part of sfirst */
  ------------------
  |  |  358|  45.1k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1907|  45.1k|	}
 1908|   102k|	slast = s;
 1909|       |
 1910|       |	/* For reading closures and promises stored in earlier
 1911|       |	   versions, convert NULL env to baseenv() */
 1912|   102k|	if (type == CLOSXP && CLOENV(s) == R_NilValue)
  ------------------
  |  |  114|   204k|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (1912:6): [True: 6.31k, False: 96.1k]
  |  Branch (1912:24): [True: 0, False: 6.31k]
  ------------------
 1913|      0|	    SET_CLOENV(s, R_BaseEnv);
 1914|   102k|	else if (type == PROMSXP && PRENV(s) == R_NilValue)
  ------------------
  |  |  116|   204k|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (1914:11): [True: 126, False: 102k]
  |  Branch (1914:30): [True: 118, False: 8]
  ------------------
 1915|    118|	    SET_PRENV(s, R_BaseEnv);
 1916|   102k|	if (set_lastname) strcpy(lastname, "<unknown>");
  ------------------
  |  Branch (1916:6): [True: 0, False: 102k]
  ------------------
 1917|       |
 1918|   102k|	flags = InInteger(stream);
 1919|   102k|	type = DECODE_TYPE(flags);
  ------------------
  |  |  735|   102k|#define DECODE_TYPE(v) ((v) & 255)
  ------------------
 1920|   102k|    }
 1921|       |
 1922|  57.2k|    R_ReadItemDepth++;
 1923|  57.2k|    PROTECT(s = ReadItem_Recursive(flags, ref_table, stream));
  ------------------
  |  |  357|  57.2k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1924|  57.2k|    R_ReadItemDepth--;
 1925|       |    // Calls and ... lists must end in NULL (other Pairlists need not).
 1926|  57.2k|    if (s != R_NilValue &&
  ------------------
  |  Branch (1926:9): [True: 5.54k, False: 51.7k]
  ------------------
 1927|  5.54k|	(TYPEOF(slast) == LANGSXP || TYPEOF(slast) == DOTSXP))
  ------------------
  |  |  117|  11.0k|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
              	(TYPEOF(slast) == LANGSXP || TYPEOF(slast) == DOTSXP))
  ------------------
  |  |  127|  5.54k|#define DOTSXP	    17	  /* dot-dot-dot object */
  ------------------
  |  Branch (1927:3): [True: 0, False: 5.54k]
  |  Branch (1927:31): [True: 0, False: 5.54k]
  ------------------
 1928|      0|	error(_("invalid call or '...' list"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid call or '...' list"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1929|  57.2k|    SETCDR(slast, s);
 1930|  57.2k|    UNPROTECT(2); /* s, sfirst */
  ------------------
  |  |  358|  57.2k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1931|  57.2k|    return sfirst;
 1932|  57.2k|}
serialize.c:ReadChar:
 1719|   135k|{
 1720|   135k|    InString(stream, buf, length);
 1721|   135k|    buf[length] = '\0';
 1722|   135k|    if (levs & UTF8_MASK)
  ------------------
  |  |  935|   135k|#define UTF8_MASK (1<<3)
  ------------------
  |  Branch (1722:9): [True: 0, False: 135k]
  ------------------
 1723|      0|	return mkCharLenCE(buf, length, CE_UTF8);
  ------------------
  |  | 1001|      0|#define mkCharLenCE		Rf_mkCharLenCE
  ------------------
 1724|   135k|    if (levs & LATIN1_MASK)
  ------------------
  |  |  934|   135k|#define LATIN1_MASK (1<<2)
  ------------------
  |  Branch (1724:9): [True: 0, False: 135k]
  ------------------
 1725|      0|	return mkCharLenCE(buf, length, CE_LATIN1);
  ------------------
  |  | 1001|      0|#define mkCharLenCE		Rf_mkCharLenCE
  ------------------
 1726|   135k|    if (levs & BYTES_MASK)
  ------------------
  |  |  933|   135k|#define BYTES_MASK (1<<1)
  ------------------
  |  Branch (1726:9): [True: 0, False: 135k]
  ------------------
 1727|      0|	return mkCharLenCE(buf, length, CE_BYTES);
  ------------------
  |  | 1001|      0|#define mkCharLenCE		Rf_mkCharLenCE
  ------------------
 1728|   135k|    if (levs & ASCII_MASK)
  ------------------
  |  |  939|   135k|#define ASCII_MASK (1<<6)
  ------------------
  |  Branch (1728:9): [True: 135k, False: 0]
  ------------------
 1729|   135k|	return mkCharLenCE(buf, length, CE_NATIVE);
  ------------------
  |  | 1001|   135k|#define mkCharLenCE		Rf_mkCharLenCE
  ------------------
 1730|       |
 1731|       |    /* native encoding, not ascii */
 1732|      0|    if (!stream->native_encoding[0] || /* original native encoding unknown */
  ------------------
  |  Branch (1732:9): [True: 0, False: 0]
  ------------------
 1733|      0|        (stream->nat2nat_obj == (void *)-1 && /* translation impossible or disabled */
  ------------------
  |  Branch (1733:10): [True: 0, False: 0]
  ------------------
 1734|      0|         stream->nat2utf8_obj == (void *)-1))
  ------------------
  |  Branch (1734:10): [True: 0, False: 0]
  ------------------
 1735|      0|	return mkCharLenCE(buf, length, CE_NATIVE);
  ------------------
  |  | 1001|      0|#define mkCharLenCE		Rf_mkCharLenCE
  ------------------
 1736|       |    /* try converting to native encoding */
 1737|      0|    if (!stream->nat2nat_obj &&
  ------------------
  |  Branch (1737:9): [True: 0, False: 0]
  ------------------
 1738|      0|        !strcmp(stream->native_encoding, R_nativeEncoding())) {
  ------------------
  |  Branch (1738:9): [True: 0, False: 0]
  ------------------
 1739|       |	/* No translation needed. Performance optimization but also leaves
 1740|       |	   invalid strings in their encoding undetected. */
 1741|      0|	stream->nat2nat_obj = (void *)-1;
 1742|      0|	stream->nat2utf8_obj = (void *)-1;
 1743|       |#ifdef WARN_DESERIALIZE_INVALID_UTF8
 1744|       |	if (known_to_be_utf8 && !utf8Valid(buf))
 1745|       |	    warning(_("deserializing invalid UTF-8 string '%s'"), buf);
 1746|       |#endif
 1747|      0|    }
 1748|      0|    if (!stream->nat2nat_obj) {
  ------------------
  |  Branch (1748:9): [True: 0, False: 0]
  ------------------
 1749|      0|	char *from = native_fromcode(stream);
 1750|      0|	stream->nat2nat_obj = Riconv_open("", from);
 1751|      0|	if (stream->nat2nat_obj == (void *)-1)
  ------------------
  |  Branch (1751:6): [True: 0, False: 0]
  ------------------
 1752|      0|	    warning(_("unsupported conversion from '%s' to '%s'"), from, "");
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	    warning(_("unsupported conversion from '%s' to '%s'"), from, "");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1753|      0|    }
 1754|      0|    if (stream->nat2nat_obj != (void *)-1) {
  ------------------
  |  Branch (1754:9): [True: 0, False: 0]
  ------------------
 1755|      0|	cetype_t enc = CE_NATIVE;
 1756|      0|	if (known_to_be_utf8) enc = CE_UTF8;
  ------------------
  |  Branch (1756:6): [True: 0, False: 0]
  ------------------
 1757|      0|	else if (known_to_be_latin1) enc = CE_LATIN1;
  ------------------
  |  Branch (1757:11): [True: 0, False: 0]
  ------------------
 1758|      0|	SEXP ans = ConvertChar(stream->nat2nat_obj, buf, length, enc);
 1759|      0|	if (ans != R_NilValue)
  ------------------
  |  Branch (1759:6): [True: 0, False: 0]
  ------------------
 1760|      0|	    return ans;
 1761|      0|	if (known_to_be_utf8) {
  ------------------
  |  Branch (1761:6): [True: 0, False: 0]
  ------------------
 1762|       |	    /* nat2nat_obj is converting to UTF-8, no need to use nat2utf8_obj */
 1763|      0|	    stream->nat2utf8_obj = (void *)-1;
 1764|      0|	    invalid_utf8_warning(buf, length, native_fromcode(stream));
 1765|      0|	}
 1766|      0|    }
 1767|       |    /* try converting to UTF-8 */
 1768|      0|    if (!stream->nat2utf8_obj) {
  ------------------
  |  Branch (1768:9): [True: 0, False: 0]
  ------------------
 1769|      0|	char *from = native_fromcode(stream);
 1770|      0|	stream->nat2utf8_obj = Riconv_open("UTF-8", from);
 1771|      0|	if (stream->nat2utf8_obj == (void *)-1) {
  ------------------
  |  Branch (1771:6): [True: 0, False: 0]
  ------------------
 1772|       |	    /* very unlikely */
 1773|      0|	    warning(_("unsupported conversion from '%s' to '%s'"),
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	    warning(_("unsupported conversion from '%s' to '%s'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1774|      0|	            from, "UTF-8");
 1775|      0|	    warning(_("strings not representable in native encoding will not be translated"));
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	    warning(_("strings not representable in native encoding will not be translated"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1776|      0|	} else
 1777|      0|	    warning(_("strings not representable in native encoding will be translated to UTF-8"));
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	    warning(_("strings not representable in native encoding will be translated to UTF-8"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1778|      0|    }
 1779|      0|    if (stream->nat2utf8_obj != (void *)-1) {
  ------------------
  |  Branch (1779:9): [True: 0, False: 0]
  ------------------
 1780|      0|	SEXP ans = ConvertChar(stream->nat2utf8_obj, buf, length, CE_UTF8);
 1781|      0|	if (ans != R_NilValue)
  ------------------
  |  Branch (1781:6): [True: 0, False: 0]
  ------------------
 1782|      0|	    return ans;
 1783|      0|	invalid_utf8_warning(buf, length, native_fromcode(stream));
 1784|      0|    }
 1785|       |    /* no translation possible */
 1786|      0|    return mkCharLenCE(buf, length, CE_NATIVE);
  ------------------
  |  | 1001|      0|#define mkCharLenCE		Rf_mkCharLenCE
  ------------------
 1787|      0|}
serialize.c:ReadLENGTH:
 1790|   145k|{
 1791|   145k|    int len = InInteger(stream);
 1792|   145k|#ifdef LONG_VECTOR_SUPPORT
 1793|   145k|    if (len < -1)
  ------------------
  |  Branch (1793:9): [True: 0, False: 145k]
  ------------------
 1794|      0|	error(_("negative serialized length for vector"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("negative serialized length for vector"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1795|   145k|    if (len == -1) {
  ------------------
  |  Branch (1795:9): [True: 0, False: 145k]
  ------------------
 1796|      0|	unsigned int len1, len2;
 1797|      0|	len1 = InInteger(stream); /* upper part */
 1798|      0|	len2 = InInteger(stream); /* lower part */
 1799|      0|	R_xlen_t xlen = len1;
 1800|       |	/* sanity check for now */
 1801|      0|	if (len1 > 65536)
  ------------------
  |  Branch (1801:6): [True: 0, False: 0]
  ------------------
 1802|      0|	    error (_("invalid upper part of serialized vector length"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error (_("invalid upper part of serialized vector length"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1803|      0|	return (xlen << 32) + len2;
 1804|   145k|    } else return len;
 1805|       |#else
 1806|       |    if (len < 0)
 1807|       |	error(_("negative serialized vector length:\nperhaps long vector from 64-bit version of R?"));
 1808|       |    return len;
 1809|       |#endif
 1810|   145k|}
serialize.c:InIntegerVec:
 1533|  62.5k|{
 1534|  62.5k|    switch (stream->type) {
 1535|  62.5k|    case R_pstream_xdr_format:
  ------------------
  |  Branch (1535:5): [True: 62.5k, False: 0]
  ------------------
 1536|  62.5k|    {
 1537|  62.5k|	static char buf[CHUNK_SIZE * sizeof(int)];
 1538|  62.5k|	R_xlen_t done, this;
 1539|  62.5k|	XDR xdrs;
 1540|   125k|	for (done = 0; done < length; done += this) {
  ------------------
  |  Branch (1540:17): [True: 62.5k, False: 62.5k]
  ------------------
 1541|  62.5k|	    this = min2(CHUNK_SIZE, length - done);
  ------------------
  |  |  915|  62.5k|#define min2(a, b) ((a) < (b)) ? (a) : (b)
  |  |  ------------------
  |  |  |  Branch (915:20): [True: 0, False: 62.5k]
  |  |  ------------------
  ------------------
 1542|  62.5k|	    stream->InBytes(stream, buf, (int)(sizeof(int) * this));
 1543|  62.5k|	    xdrmem_create(&xdrs, buf, (int)(this * sizeof(int)), XDR_DECODE);
 1544|   807k|	    for(int cnt = 0; cnt < this; cnt++)
  ------------------
  |  Branch (1544:23): [True: 744k, False: 62.5k]
  ------------------
 1545|   744k|		if(!xdr_int(&xdrs, INTEGER(obj) + done + cnt))
  ------------------
  |  Branch (1545:6): [True: 0, False: 744k]
  ------------------
 1546|      0|		    error(_("XDR read failed"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("XDR read failed"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1547|  62.5k|	    xdr_destroy(&xdrs);
  ------------------
  |  |  217|  62.5k|	if ((xdrs)->x_ops->x_destroy) 			\
  |  |  ------------------
  |  |  |  Branch (217:6): [True: 62.5k, False: 0]
  |  |  ------------------
  |  |  218|  62.5k|		(*(xdrs)->x_ops->x_destroy)(xdrs)
  ------------------
 1548|  62.5k|	}
 1549|  62.5k|	break;
 1550|      0|    }
 1551|      0|    case R_pstream_binary_format:
  ------------------
  |  Branch (1551:5): [True: 0, False: 62.5k]
  ------------------
 1552|      0|    {
 1553|      0|	R_xlen_t done, this;
 1554|      0|	for (done = 0; done < length; done += this) {
  ------------------
  |  Branch (1554:17): [True: 0, False: 0]
  ------------------
 1555|      0|	    this = min2(CHUNK_SIZE, length - done);
  ------------------
  |  |  915|      0|#define min2(a, b) ((a) < (b)) ? (a) : (b)
  |  |  ------------------
  |  |  |  Branch (915:20): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1556|      0|	    stream->InBytes(stream, INTEGER(obj) + done,
 1557|      0|			    (int)(sizeof(int) * this));
 1558|      0|	}
 1559|      0|	break;
 1560|      0|    }
 1561|      0|    default:
  ------------------
  |  Branch (1561:5): [True: 0, False: 62.5k]
  ------------------
 1562|      0|	for (R_xlen_t cnt = 0; cnt < length; cnt++)
  ------------------
  |  Branch (1562:25): [True: 0, False: 0]
  ------------------
 1563|      0|	    INTEGER(obj)[cnt] = InInteger(stream);
 1564|  62.5k|    }
 1565|  62.5k|}
serialize.c:InRealVec:
 1569|  2.96k|{
 1570|  2.96k|    switch (stream->type) {
 1571|  2.96k|    case R_pstream_xdr_format:
  ------------------
  |  Branch (1571:5): [True: 2.96k, False: 0]
  ------------------
 1572|  2.96k|    {
 1573|  2.96k|	static char buf[CHUNK_SIZE * sizeof(double)];
 1574|  2.96k|	R_xlen_t done, this;
 1575|  2.96k|	XDR xdrs;
 1576|  5.92k|	for (done = 0; done < length; done += this) {
  ------------------
  |  Branch (1576:17): [True: 2.95k, False: 2.96k]
  ------------------
 1577|  2.95k|	    this = min2(CHUNK_SIZE, length - done);
  ------------------
  |  |  915|  2.95k|#define min2(a, b) ((a) < (b)) ? (a) : (b)
  |  |  ------------------
  |  |  |  Branch (915:20): [True: 0, False: 2.95k]
  |  |  ------------------
  ------------------
 1578|  2.95k|	    stream->InBytes(stream, buf, (int)(sizeof(double) * this));
 1579|  2.95k|	    xdrmem_create(&xdrs, buf, (int)(this * sizeof(double)), XDR_DECODE);
 1580|  9.54k|	    for(R_xlen_t cnt = 0; cnt < this; cnt++)
  ------------------
  |  Branch (1580:28): [True: 6.58k, False: 2.95k]
  ------------------
 1581|  6.58k|		if(!xdr_double(&xdrs, REAL(obj) + done + cnt))
  ------------------
  |  Branch (1581:6): [True: 0, False: 6.58k]
  ------------------
 1582|      0|		    error(_("XDR read failed"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("XDR read failed"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1583|  2.95k|	    xdr_destroy(&xdrs);
  ------------------
  |  |  217|  2.95k|	if ((xdrs)->x_ops->x_destroy) 			\
  |  |  ------------------
  |  |  |  Branch (217:6): [True: 2.95k, False: 0]
  |  |  ------------------
  |  |  218|  2.95k|		(*(xdrs)->x_ops->x_destroy)(xdrs)
  ------------------
 1584|  2.95k|	}
 1585|  2.96k|	break;
 1586|      0|    }
 1587|      0|    case R_pstream_binary_format:
  ------------------
  |  Branch (1587:5): [True: 0, False: 2.96k]
  ------------------
 1588|      0|    {
 1589|      0|	R_xlen_t done, this;
 1590|      0|	for (done = 0; done < length; done += this) {
  ------------------
  |  Branch (1590:17): [True: 0, False: 0]
  ------------------
 1591|      0|	    this = min2(CHUNK_SIZE, length - done);
  ------------------
  |  |  915|      0|#define min2(a, b) ((a) < (b)) ? (a) : (b)
  |  |  ------------------
  |  |  |  Branch (915:20): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1592|      0|	    stream->InBytes(stream, REAL(obj) + done,
 1593|      0|			    (int)(sizeof(double) * this));
 1594|      0|	}
 1595|      0|	break;
 1596|      0|    }
 1597|      0|    default:
  ------------------
  |  Branch (1597:5): [True: 0, False: 2.96k]
  ------------------
 1598|      0|	for (R_xlen_t cnt = 0; cnt < length; cnt++)
  ------------------
  |  Branch (1598:25): [True: 0, False: 0]
  ------------------
 1599|      0|	    REAL(obj)[cnt] = InReal(stream);
 1600|  2.96k|    }
 1601|  2.96k|}
serialize.c:InComplexVec:
 1605|      6|{
 1606|      6|    switch (stream->type) {
 1607|      6|    case R_pstream_xdr_format:
  ------------------
  |  Branch (1607:5): [True: 6, False: 0]
  ------------------
 1608|      6|    {
 1609|      6|	static char buf[CHUNK_SIZE * sizeof(Rcomplex)];
 1610|      6|	R_xlen_t done, this;
 1611|      6|	XDR xdrs;
 1612|      6|	Rcomplex *output = COMPLEX(obj);
 1613|     10|	for (done = 0; done < length; done += this) {
  ------------------
  |  Branch (1613:17): [True: 4, False: 6]
  ------------------
 1614|      4|	    this = min2(CHUNK_SIZE, length - done);
  ------------------
  |  |  915|      4|#define min2(a, b) ((a) < (b)) ? (a) : (b)
  |  |  ------------------
  |  |  |  Branch (915:20): [True: 0, False: 4]
  |  |  ------------------
  ------------------
 1615|      4|	    stream->InBytes(stream, buf, (int)(sizeof(Rcomplex) * this));
 1616|      4|	    xdrmem_create(&xdrs, buf, (int)(this * sizeof(Rcomplex)), XDR_DECODE);
 1617|      8|	    for(R_xlen_t cnt = 0; cnt < this; cnt++) {
  ------------------
  |  Branch (1617:28): [True: 4, False: 4]
  ------------------
 1618|      4|		if(!xdr_double(&xdrs, &(output[done+cnt].r)) ||
  ------------------
  |  Branch (1618:6): [True: 0, False: 4]
  ------------------
 1619|      4|		   !xdr_double(&xdrs, &(output[done+cnt].i)))
  ------------------
  |  Branch (1619:6): [True: 0, False: 4]
  ------------------
 1620|      0|		    error(_("XDR read failed"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("XDR read failed"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1621|      4|	    }
 1622|      4|	    xdr_destroy(&xdrs);
  ------------------
  |  |  217|      4|	if ((xdrs)->x_ops->x_destroy) 			\
  |  |  ------------------
  |  |  |  Branch (217:6): [True: 4, False: 0]
  |  |  ------------------
  |  |  218|      4|		(*(xdrs)->x_ops->x_destroy)(xdrs)
  ------------------
 1623|      4|	}
 1624|      6|	break;
 1625|      0|    }
 1626|      0|    case R_pstream_binary_format:
  ------------------
  |  Branch (1626:5): [True: 0, False: 6]
  ------------------
 1627|      0|    {
 1628|      0|	R_xlen_t done, this;
 1629|      0|	for (done = 0; done < length; done += this) {
  ------------------
  |  Branch (1629:17): [True: 0, False: 0]
  ------------------
 1630|      0|	    this = min2(CHUNK_SIZE, length - done);
  ------------------
  |  |  915|      0|#define min2(a, b) ((a) < (b)) ? (a) : (b)
  |  |  ------------------
  |  |  |  Branch (915:20): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1631|      0|	    stream->InBytes(stream, COMPLEX(obj) + done,
 1632|      0|			    (int)(sizeof(Rcomplex) * this));
 1633|      0|	}
 1634|      0|	break;
 1635|      0|    }
 1636|      0|    default:
  ------------------
  |  Branch (1636:5): [True: 0, False: 6]
  ------------------
 1637|      0|	for (R_xlen_t cnt = 0; cnt < length; cnt++)
  ------------------
  |  Branch (1637:25): [True: 0, False: 0]
  ------------------
 1638|      0|	    COMPLEX(obj)[cnt] = InComplex(stream);
 1639|      6|    }
 1640|      6|}
serialize.c:ReadBC:
 2339|  5.46k|{
 2340|  5.46k|    BCReps reps;
 2341|  5.46k|    SEXP ans;
 2342|  5.46k|    int n = InInteger(stream);
 2343|       |
 2344|  5.46k|    if (n < 0)
  ------------------
  |  Branch (2344:9): [True: 0, False: 5.46k]
  ------------------
 2345|      0|	error(_("bytecode reference index out of range"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("bytecode reference index out of range"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2346|  5.46k|    reps.ndefs = 0;
 2347|  5.46k|    PROTECT_WITH_INDEX(reps.slots = allocVector(VECSXP, n < BC_REPS_INIT ?
  ------------------
  |  |  366|  10.9k|#define PROTECT_WITH_INDEX(x,i) R_ProtectWithIndex(x,i)
  |  |  ------------------
  |  |  |  Branch (366:52): [True: 5.46k, False: 0]
  |  |  ------------------
  ------------------
 2348|  5.46k|						n : BC_REPS_INIT),
 2349|  5.46k|		       &reps.ipx);
 2350|  5.46k|    ans = ReadBC1(ref_table, &reps, stream);
 2351|  5.46k|    UNPROTECT(1);
  ------------------
  |  |  358|  5.46k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2352|  5.46k|    return ans;
 2353|  5.46k|}
serialize.c:ReadBC1:
 2323|  18.8k|{
 2324|  18.8k|    SEXP s;
 2325|  18.8k|    PROTECT(s = allocSExp(BCODESXP));
  ------------------
  |  |  357|  18.8k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2326|  18.8k|    R_ReadItemDepth++;
 2327|  18.8k|    SETCAR(s, ReadItem(ref_table, stream)); /* code */
 2328|  18.8k|    R_ReadItemDepth--;
 2329|  18.8k|    SEXP bytes = PROTECT(CAR(s));
  ------------------
  |  |  357|  18.8k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2330|  18.8k|    SETCAR(s, R_bcEncode(bytes));
 2331|  18.8k|    SETCDR(s, ReadBCConsts(ref_table, reps, stream)); /* consts */
 2332|  18.8k|    SET_TAG(s, R_NilValue); /* expr */
 2333|  18.8k|    R_registerBC(bytes, s);
 2334|  18.8k|    UNPROTECT(2);
  ------------------
  |  |  358|  18.8k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2335|  18.8k|    return s;
 2336|  18.8k|}
serialize.c:ReadBCConsts:
 2291|  18.8k|{
 2292|  18.8k|    SEXP ans, c;
 2293|  18.8k|    int i, n;
 2294|  18.8k|    n = InInteger(stream);
 2295|  18.8k|    PROTECT(ans = allocVector(VECSXP, n));
  ------------------
  |  |  357|  18.8k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2296|   163k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (2296:17): [True: 144k, False: 18.8k]
  ------------------
 2297|   144k|	int type = InInteger(stream);
 2298|   144k|	switch (type) {
 2299|  13.3k|	case BCODESXP:
  ------------------
  |  |  133|  13.3k|#define BCODESXP    21    /* byte code */
  ------------------
  |  Branch (2299:2): [True: 13.3k, False: 130k]
  ------------------
 2300|  13.3k|	    c = ReadBC1(ref_table, reps, stream);
 2301|  13.3k|	    SET_VECTOR_ELT(ans, i, c);
 2302|  13.3k|	    break;
 2303|  8.86k|	case LANGSXP:
  ------------------
  |  |  117|  8.86k|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (2303:2): [True: 8.86k, False: 135k]
  ------------------
 2304|  8.86k|	case LISTSXP:
  ------------------
  |  |  113|  8.86k|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (2304:2): [True: 0, False: 144k]
  ------------------
 2305|  11.3k|	case BCREPDEF:
  ------------------
  |  |  700|  11.3k|#define BCREPDEF          244
  ------------------
  |  Branch (2305:2): [True: 2.44k, False: 141k]
  ------------------
 2306|  60.7k|	case BCREPREF:
  ------------------
  |  |  701|  60.7k|#define BCREPREF          243
  ------------------
  |  Branch (2306:2): [True: 49.4k, False: 94.9k]
  ------------------
 2307|  60.7k|	case ATTRLANGSXP:
  ------------------
  |  |  715|  60.7k|#define ATTRLANGSXP       240
  ------------------
  |  Branch (2307:2): [True: 0, False: 144k]
  ------------------
 2308|  60.7k|	case ATTRLISTSXP:
  ------------------
  |  |  716|  60.7k|#define ATTRLISTSXP       239
  ------------------
  |  Branch (2308:2): [True: 0, False: 144k]
  ------------------
 2309|  60.7k|	    c = ReadBCLang(type, ref_table, reps, stream);
 2310|  60.7k|	    SET_VECTOR_ELT(ans, i, c);
 2311|  60.7k|	    break;
 2312|  70.2k|	default:
  ------------------
  |  Branch (2312:2): [True: 70.2k, False: 74.1k]
  ------------------
 2313|  70.2k|	    R_ReadItemDepth++;
 2314|  70.2k|	    SET_VECTOR_ELT(ans, i, ReadItem(ref_table, stream));
 2315|  70.2k|	    R_ReadItemDepth--;
 2316|   144k|	}
 2317|   144k|    }
 2318|  18.8k|    UNPROTECT(1);
  ------------------
  |  |  358|  18.8k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2319|  18.8k|    return ans;
 2320|  18.8k|}
serialize.c:ReadBCLang:
 2226|   462k|{
 2227|   462k|    switch (type) {
 2228|  55.2k|    case BCREPREF:
  ------------------
  |  |  701|  55.2k|#define BCREPREF          243
  ------------------
  |  Branch (2228:5): [True: 55.2k, False: 407k]
  ------------------
 2229|  55.2k|	{
 2230|  55.2k|	    int pos = InInteger(stream);
 2231|  55.2k|	    if (pos < 0 || pos >= reps->ndefs)
  ------------------
  |  Branch (2231:10): [True: 0, False: 55.2k]
  |  Branch (2231:21): [True: 0, False: 55.2k]
  ------------------
 2232|      0|		error(_("bytecode reference index out of range"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("bytecode reference index out of range"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2233|  55.2k|	    return VECTOR_ELT(reps->slots, pos);
 2234|      0|	}
 2235|  42.8k|    case BCREPDEF:
  ------------------
  |  |  700|  42.8k|#define BCREPDEF          244
  ------------------
  |  Branch (2235:5): [True: 42.8k, False: 419k]
  ------------------
 2236|  64.9k|    case LANGSXP:
  ------------------
  |  |  117|  64.9k|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (2236:5): [True: 22.1k, False: 440k]
  ------------------
 2237|   200k|    case LISTSXP:
  ------------------
  |  |  113|   200k|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (2237:5): [True: 135k, False: 326k]
  ------------------
 2238|   200k|    case ATTRLANGSXP:
  ------------------
  |  |  715|   200k|#define ATTRLANGSXP       240
  ------------------
  |  Branch (2238:5): [True: 0, False: 462k]
  ------------------
 2239|   200k|    case ATTRLISTSXP:
  ------------------
  |  |  716|   200k|#define ATTRLISTSXP       239
  ------------------
  |  Branch (2239:5): [True: 0, False: 462k]
  ------------------
 2240|   200k|	{
 2241|   200k|	    SEXP ans;
 2242|   200k|	    int pos = -1;
 2243|   200k|	    int hasattr = false;
 2244|   200k|	    if (type == BCREPDEF) {
  ------------------
  |  |  700|   200k|#define BCREPDEF          244
  ------------------
  |  Branch (2244:10): [True: 42.8k, False: 157k]
  ------------------
 2245|  42.8k|		pos = InInteger(stream);
 2246|       |		/* definitions are numbered in writing order, so a
 2247|       |		   well-formed stream never skips ahead */
 2248|  42.8k|		if (pos < 0 || pos > reps->ndefs)
  ------------------
  |  Branch (2248:7): [True: 0, False: 42.8k]
  |  Branch (2248:18): [True: 0, False: 42.8k]
  ------------------
 2249|      0|		    error(_("bytecode reference index out of range"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("bytecode reference index out of range"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2250|  42.8k|		type = InInteger(stream);
 2251|  42.8k|	    }
 2252|   200k|	    switch (type) {
  ------------------
  |  Branch (2252:14): [True: 0, False: 200k]
  ------------------
 2253|      0|	    case ATTRLANGSXP: type = LANGSXP; hasattr = TRUE; break;
  ------------------
  |  |  715|      0|#define ATTRLANGSXP       240
  ------------------
              	    case ATTRLANGSXP: type = LANGSXP; hasattr = TRUE; break;
  ------------------
  |  |  117|      0|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
              	    case ATTRLANGSXP: type = LANGSXP; hasattr = TRUE; break;
  ------------------
  |  |   62|      0|#	define TRUE	(1)
  ------------------
  |  Branch (2253:6): [True: 0, False: 200k]
  ------------------
 2254|      0|	    case ATTRLISTSXP: type = LISTSXP; hasattr = TRUE; break;
  ------------------
  |  |  716|      0|#define ATTRLISTSXP       239
  ------------------
              	    case ATTRLISTSXP: type = LISTSXP; hasattr = TRUE; break;
  ------------------
  |  |  113|      0|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
              	    case ATTRLISTSXP: type = LISTSXP; hasattr = TRUE; break;
  ------------------
  |  |   62|      0|#	define TRUE	(1)
  ------------------
  |  Branch (2254:6): [True: 0, False: 200k]
  ------------------
 2255|   200k|	    }
 2256|       |	    /* the BCREPDEF type comes from the stream; allocSExp would
 2257|       |	       happily build a cons cell labelled as any other type */
 2258|   200k|	    if (type != LANGSXP && type != LISTSXP)
  ------------------
  |  |  117|   401k|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
              	    if (type != LANGSXP && type != LISTSXP)
  ------------------
  |  |  113|   135k|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (2258:10): [True: 135k, False: 64.9k]
  |  Branch (2258:29): [True: 0, False: 135k]
  ------------------
 2259|      0|		error(_("ReadBCLang: invalid type %i"), type);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("ReadBCLang: invalid type %i"), type);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2260|   200k|	    PROTECT(ans = allocSExp(type));
  ------------------
  |  |  357|   200k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2261|   200k|	    if (pos >= 0) {
  ------------------
  |  Branch (2261:10): [True: 42.8k, False: 157k]
  ------------------
 2262|  42.8k|		if (pos >= XLENGTH(reps->slots))
  ------------------
  |  Branch (2262:7): [True: 0, False: 42.8k]
  ------------------
 2263|      0|		    GrowBCReps(reps);
 2264|  42.8k|		SET_VECTOR_ELT(reps->slots, pos, ans);
 2265|  42.8k|		if (pos == reps->ndefs)
  ------------------
  |  Branch (2265:7): [True: 42.8k, False: 0]
  ------------------
 2266|  42.8k|		    reps->ndefs++;
 2267|  42.8k|	    }
 2268|   200k|	    R_ReadItemDepth++;
 2269|   200k|	    if (hasattr)
  ------------------
  |  Branch (2269:10): [True: 0, False: 200k]
  ------------------
 2270|      0|		SET_ATTRIB(ans, ReadAttrib(ref_table, stream));
 2271|   200k|	    SET_TAG(ans, ReadItem(ref_table, stream));
 2272|   200k|	    R_ReadItemDepth--;
 2273|   200k|	    SETCAR(ans, ReadBCLang(InInteger(stream), ref_table, reps,
 2274|   200k|				   stream));
 2275|   200k|	    SETCDR(ans, ReadBCLang(InInteger(stream), ref_table, reps,
 2276|   200k|				   stream));
 2277|   200k|	    UNPROTECT(1);
  ------------------
  |  |  358|   200k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2278|   200k|	    return ans;
 2279|   200k|	}
 2280|   206k|    default:
  ------------------
  |  Branch (2280:5): [True: 206k, False: 256k]
  ------------------
 2281|   206k|	{
 2282|   206k|	    R_ReadItemDepth++;
 2283|   206k|	    SEXP res = ReadItem(ref_table, stream);
 2284|   206k|	    R_ReadItemDepth--;
 2285|   206k|	    return res;
 2286|   200k|	}
 2287|   462k|    }
 2288|   462k|}
serialize.c:CheckInConn:
 2598|  88.1k|{
 2599|  88.1k|    if (! con->isopen)
  ------------------
  |  Branch (2599:9): [True: 0, False: 88.1k]
  ------------------
 2600|      0|	error(_("connection is not open"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("connection is not open"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2601|  88.1k|    if (! con->canread || con->read == NULL)
  ------------------
  |  Branch (2601:9): [True: 0, False: 88.1k]
  |  Branch (2601:27): [True: 0, False: 88.1k]
  ------------------
 2602|      0|	error(_("cannot read from this connection"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("cannot read from this connection"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2603|  88.1k|}
serialize.c:InBytesConn:
 2614|  88.0k|{
 2615|  88.0k|    Rconnection con = (Rconnection) stream->data;
 2616|  88.0k|    CheckInConn(con);
 2617|  88.0k|    if (con->text) {
  ------------------
  |  Branch (2617:9): [True: 0, False: 88.0k]
  ------------------
 2618|      0|	int i;
 2619|      0|	char *p = buf;
 2620|      0|	for (i = 0; i < length; i++)
  ------------------
  |  Branch (2620:14): [True: 0, False: 0]
  ------------------
 2621|      0|	    p[i] = (char) Rconn_fgetc(con);
 2622|      0|    }
 2623|  88.0k|    else {
 2624|  88.0k|	if (stream->type == R_pstream_ascii_format) {
  ------------------
  |  Branch (2624:6): [True: 0, False: 88.0k]
  ------------------
 2625|      0|	    char linebuf[4];
 2626|      0|	    unsigned char *p = buf;
 2627|      0|	    int i;
 2628|      0|	    unsigned int res;
 2629|      0|	    for (i = 0; i < length; i++) {
  ------------------
  |  Branch (2629:18): [True: 0, False: 0]
  ------------------
 2630|      0|		size_t ncread = Rconn_getline(con, linebuf, 3);
 2631|      0|		if (ncread != 2)
  ------------------
  |  Branch (2631:7): [True: 0, False: 0]
  ------------------
 2632|      0|		    error(_("error reading from ascii connection"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("error reading from ascii connection"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2633|      0|		if (!sscanf(linebuf, "%02x", &res))
  ------------------
  |  Branch (2633:7): [True: 0, False: 0]
  ------------------
 2634|      0|		    error(_("unexpected format in ascii connection '%s'"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("unexpected format in ascii connection '%s'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2635|      0|			con->description);
 2636|      0|		*p++ = (unsigned char)res;
 2637|      0|	    }
 2638|  88.0k|	} else {
 2639|  88.0k|	    if (length != con->read(buf, 1, length, con))
  ------------------
  |  Branch (2639:10): [True: 0, False: 88.0k]
  ------------------
 2640|      0|		error(_("error reading from connection '%s'"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("error reading from connection '%s'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2641|      0|		      con->description);
 2642|  88.0k|	}
 2643|  88.0k|    }
 2644|  88.0k|}
serialize.c:CallHook:
 2722|  1.40k|{
 2723|  1.40k|    SEXP val, call;
 2724|  1.40k|    PROTECT(call = LCONS(fun, LCONS(x, R_NilValue)));
  ------------------
  |  |  357|  1.40k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2725|  1.40k|    val = eval(call, R_GlobalEnv);
  ------------------
  |  |  913|  1.40k|#define eval			Rf_eval
  ------------------
 2726|  1.40k|    UNPROTECT(1);
  ------------------
  |  |  358|  1.40k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2727|  1.40k|    return val;
 2728|  1.40k|}
serialize.c:checkNotPromise:
 2808|     72|{
 2809|     72|    if (TYPEOF(val) == PROMSXP)
  ------------------
  |  |  116|     72|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (2809:9): [True: 0, False: 72]
  ------------------
 2810|      0|	error(_("cannot return a promise (PROMSXP) object"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("cannot return a promise (PROMSXP) object"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2811|     72|    return val;
 2812|     72|}
serialize.c:readRawFromFile:
 3299|  1.53k|{
 3300|  1.53k|    FILE *fp;
 3301|  1.53k|    int offset, len, in, i, icache = -1;
 3302|  1.53k|    long filelen;
 3303|  1.53k|    SEXP val;
 3304|  1.53k|    const void *vmax;
 3305|  1.53k|    const char *cfile;
 3306|       |
 3307|  1.53k|    if (! IS_PROPER_STRING(file))
  ------------------
  |  | 3163|  1.53k|#define IS_PROPER_STRING(s) (TYPEOF(s) == STRSXP && LENGTH(s) > 0)
  |  |  ------------------
  |  |  |  |  126|  3.06k|#define STRSXP	    16	  /* string vectors */
  |  |  ------------------
  |  |  |  Branch (3163:30): [True: 1.53k, False: 0]
  |  |  |  Branch (3163:53): [True: 1.53k, False: 0]
  |  |  ------------------
  ------------------
 3308|      0|	error(_("not a proper file name"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("not a proper file name"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3309|  1.53k|    vmax = vmaxget();
 3310|  1.53k|    cfile = translateCharFP(STRING_ELT(file, 0));
  ------------------
  |  | 2003|  1.53k|# define translateCharFP	Rf_translateCharFP
  ------------------
 3311|  1.53k|    if (TYPEOF(key) != INTSXP || LENGTH(key) != 2)
  ------------------
  |  |  123|  3.06k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (3311:9): [True: 0, False: 1.53k]
  |  Branch (3311:34): [True: 0, False: 1.53k]
  ------------------
 3312|      0|	error(_("bad offset/length argument"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("bad offset/length argument"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3313|       |
 3314|  1.53k|    offset = INTEGER(key)[0];
 3315|  1.53k|    len = INTEGER(key)[1];
 3316|       |
 3317|  1.53k|    val = allocVector(RAWSXP, len);
  ------------------
  |  |  875|  1.53k|#define allocVector		Rf_allocVector
  ------------------
                  val = allocVector(RAWSXP, len);
  ------------------
  |  |  136|  1.53k|#define RAWSXP      24    /* raw bytes */
  ------------------
 3318|       |    /* Do we have this database cached? */
 3319|  3.91k|    for (i = 0; i < used; i++)
  ------------------
  |  Branch (3319:17): [True: 3.89k, False: 14]
  ------------------
 3320|  3.89k|	if(names[i] != NULL && strcmp(cfile, names[i]) == 0) {icache = i; break;}
  ------------------
  |  Branch (3320:5): [True: 3.89k, False: 0]
  |  Branch (3320:25): [True: 1.51k, False: 2.37k]
  ------------------
 3321|  1.53k|    if (icache >= 0) {
  ------------------
  |  Branch (3321:9): [True: 1.51k, False: 14]
  ------------------
 3322|       |	/* The file may have been replaced since it was cached, e.g. by
 3323|       |	   re-installing the package, possibly from another process.  If
 3324|       |	   so, drop the cached copy: the offsets in 'key' come from the
 3325|       |	   current index file and need not be valid in a stale copy of
 3326|       |	   the database. */
 3327|  1.51k|	struct fileid id;
 3328|  1.51k|	if (! getFileID(cfile, &id) ||
  ------------------
  |  Branch (3328:6): [True: 0, False: 1.51k]
  ------------------
 3329|  1.51k|	    id.size != ids[icache].size || id.mtime != ids[icache].mtime ||
  ------------------
  |  Branch (3329:6): [True: 0, False: 1.51k]
  |  Branch (3329:37): [True: 0, False: 1.51k]
  ------------------
 3330|  1.51k|	    id.ino != ids[icache].ino || id.dev != ids[icache].dev) {
  ------------------
  |  Branch (3330:6): [True: 0, False: 1.51k]
  |  Branch (3330:35): [True: 0, False: 1.51k]
  ------------------
 3331|      0|	    free(names[icache]);
 3332|      0|	    names[icache] = NULL;
 3333|      0|	    free(ptr[icache]);
 3334|      0|	    icache = -1;
 3335|      0|	}
 3336|  1.51k|    }
 3337|  1.53k|    if (icache >= 0) {
  ------------------
  |  Branch (3337:9): [True: 1.51k, False: 14]
  ------------------
 3338|  1.51k|	if (offset < 0 || (size_t) offset + (size_t) len > lens[icache])
  ------------------
  |  Branch (3338:6): [True: 0, False: 1.51k]
  |  Branch (3338:20): [True: 0, False: 1.51k]
  ------------------
 3339|      0|	    error(_("bad offset/length argument"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("bad offset/length argument"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3340|  1.51k|	if (len)
  ------------------
  |  Branch (3340:6): [True: 1.51k, False: 0]
  ------------------
 3341|  1.51k|	    memcpy(RAW(val), ptr[icache]+offset, len);
 3342|  1.51k|	vmaxset(vmax);
 3343|  1.51k|	return val;
 3344|  1.51k|    }
 3345|       |
 3346|       |    /* find a vacant slot? */
 3347|     56|    for (i = 0; i < used; i++)
  ------------------
  |  Branch (3347:17): [True: 42, False: 14]
  ------------------
 3348|     42|	if(names[i] == NULL) {icache = i; break;}
  ------------------
  |  Branch (3348:5): [True: 0, False: 42]
  ------------------
 3349|     14|    if(icache < 0 && used < NC) {
  ------------------
  |  | 3230|     14|#define NC 256
  ------------------
  |  Branch (3349:8): [True: 14, False: 0]
  |  Branch (3349:22): [True: 14, False: 0]
  ------------------
 3350|     14|	icache = used++;
 3351|     14|	names[icache] = NULL;
 3352|     14|    }
 3353|       |
 3354|     14|    if(icache >= 0) {
  ------------------
  |  Branch (3354:8): [True: 14, False: 0]
  ------------------
 3355|       |	/* Capture the file's identity before reading it: if the file
 3356|       |	   is replaced while it is being read, the next fetch will see
 3357|       |	   a mismatch and drop the cached copy. */
 3358|     14|	struct fileid id;
 3359|     14|	bool cacheable = getFileID(cfile, &id);
 3360|     14|	if ((fp = R_fopen(cfile, "rb")) == NULL)
  ------------------
  |  Branch (3360:6): [True: 0, False: 14]
  ------------------
 3361|      0|	    error(_("cannot open file '%s': %s"), cfile, strerror(errno));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("cannot open file '%s': %s"), cfile, strerror(errno));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3362|     14|	if (fseek(fp, 0, SEEK_END) != 0) {
  ------------------
  |  Branch (3362:6): [True: 0, False: 14]
  ------------------
 3363|      0|	    fclose(fp);
 3364|      0|	    error(_("seek failed on %s"), cfile);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("seek failed on %s"), cfile);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3365|      0|	}
 3366|     14|	filelen = ftell(fp);
 3367|     14|	if (cacheable && filelen < LEN_LIMIT) {
  ------------------
  |  | 3297|     14|#define LEN_LIMIT 10*1048576
  ------------------
  |  Branch (3367:6): [True: 14, False: 0]
  |  Branch (3367:19): [True: 14, False: 0]
  ------------------
 3368|     14|	    char *p, *n;
 3369|       |	    /* fprintf(stderr, "adding file '%s' at pos %d in cache, length %d\n",
 3370|       |	       cfile, icache, filelen); */
 3371|     14|	    p = (char *) malloc(filelen);
 3372|     14|	    n = (char *) malloc(strlen(cfile) + 1);
 3373|     14|	    if (p && n) {
  ------------------
  |  Branch (3373:10): [True: 14, False: 0]
  |  Branch (3373:15): [True: 14, False: 0]
  ------------------
 3374|     14|		names[icache] = n;
 3375|     14|		strcpy(names[icache], cfile);
 3376|     14|		ptr[icache] = p;
 3377|     14|		lens[icache] = (size_t) filelen;
 3378|     14|		ids[icache] = id;
 3379|     14|		if (fseek(fp, 0, SEEK_SET) != 0) {
  ------------------
  |  Branch (3379:7): [True: 0, False: 14]
  ------------------
 3380|      0|		    fclose(fp);
 3381|      0|		    error(_("seek failed on %s"), cfile);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("seek failed on %s"), cfile);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3382|      0|		}
 3383|     14|		in = (int) fread(p, 1, filelen, fp);
 3384|     14|		fclose(fp);
 3385|     14|		if (filelen != in) error(_("read failed on %s"), cfile);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		if (filelen != in) error(_("read failed on %s"), cfile);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (3385:7): [True: 0, False: 14]
  ------------------
 3386|     14|		if (offset < 0 || (size_t) offset + (size_t) len > lens[icache])
  ------------------
  |  Branch (3386:7): [True: 0, False: 14]
  |  Branch (3386:21): [True: 0, False: 14]
  ------------------
 3387|      0|		    error(_("bad offset/length argument"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("bad offset/length argument"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3388|     14|		if (len)
  ------------------
  |  Branch (3388:7): [True: 14, False: 0]
  ------------------
 3389|     14|		    memcpy(RAW(val), p+offset, len);
 3390|     14|	    } else {
 3391|      0|		if (p)
  ------------------
  |  Branch (3391:7): [True: 0, False: 0]
  ------------------
 3392|      0|		    free(p);
 3393|      0|		if (n)
  ------------------
  |  Branch (3393:7): [True: 0, False: 0]
  ------------------
 3394|      0|		    free(n);
 3395|      0|		if (fseek(fp, offset, SEEK_SET) != 0) {
  ------------------
  |  Branch (3395:7): [True: 0, False: 0]
  ------------------
 3396|      0|		    fclose(fp);
 3397|      0|		    error(_("seek failed on %s"), cfile);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		    error(_("seek failed on %s"), cfile);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3398|      0|		}
 3399|      0|		in = (int) fread(RAW(val), 1, len, fp);
 3400|      0|		fclose(fp);
 3401|      0|		if (len != in) error(_("read failed on %s"), cfile);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		if (len != in) error(_("read failed on %s"), cfile);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (3401:7): [True: 0, False: 0]
  ------------------
 3402|      0|	    }
 3403|     14|	    vmaxset(vmax);
 3404|     14|	    return val;
 3405|     14|	} else {
 3406|      0|	    if (fseek(fp, offset, SEEK_SET) != 0) {
  ------------------
  |  Branch (3406:10): [True: 0, False: 0]
  ------------------
 3407|      0|		fclose(fp);
 3408|      0|		error(_("seek failed on %s"), cfile);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("seek failed on %s"), cfile);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3409|      0|	    }
 3410|      0|	    in = (int) fread(RAW(val), 1, len, fp);
 3411|      0|	    fclose(fp);
 3412|      0|	    if (len != in) error(_("read failed on %s"), cfile);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    if (len != in) error(_("read failed on %s"), cfile);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (3412:10): [True: 0, False: 0]
  ------------------
 3413|      0|	    vmaxset(vmax);
 3414|      0|	    return val;
 3415|      0|	}
 3416|     14|    }
 3417|       |
 3418|      0|    if ((fp = R_fopen(cfile, "rb")) == NULL)
  ------------------
  |  Branch (3418:9): [True: 0, False: 0]
  ------------------
 3419|      0|	error(_("cannot open file '%s': %s"), cfile, strerror(errno));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("cannot open file '%s': %s"), cfile, strerror(errno));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3420|      0|    if (fseek(fp, offset, SEEK_SET) != 0) {
  ------------------
  |  Branch (3420:9): [True: 0, False: 0]
  ------------------
 3421|      0|	fclose(fp);
 3422|      0|	error(_("seek failed on %s"), cfile);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("seek failed on %s"), cfile);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3423|      0|    }
 3424|      0|    in = (int) fread(RAW(val), 1, len, fp);
 3425|      0|    fclose(fp);
 3426|      0|    if (len != in) error(_("read failed on %s"), cfile);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  if (len != in) error(_("read failed on %s"), cfile);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (3426:9): [True: 0, False: 0]
  ------------------
 3427|      0|    vmaxset(vmax);
 3428|      0|    return val;
 3429|     14|}
serialize.c:getFileID:
 3243|  1.53k|{
 3244|       |#ifdef Win32
 3245|       |    struct _stati64 sb;
 3246|       |    if (_stati64(cfile, &sb) != 0)
 3247|       |	return false;
 3248|       |#else
 3249|  1.53k|    struct stat sb;
 3250|  1.53k|    if (stat(cfile, &sb) != 0)
  ------------------
  |  Branch (3250:9): [True: 0, False: 1.53k]
  ------------------
 3251|      0|	return false;
 3252|  1.53k|#endif
 3253|  1.53k|    id->size = (double) sb.st_size;
 3254|       |    /* use sub-second modification times where available, as in
 3255|       |       do_fileinfo (platform.c) */
 3256|  1.53k|#if defined HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC \
 3257|  1.53k|    && defined TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC
 3258|  1.53k|    id->mtime = (double) sb.st_mtim.tv_sec
 3259|  1.53k|	+ 1e-9 * (double) sb.st_mtim.tv_nsec;
 3260|       |#elif defined HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC
 3261|       |    id->mtime = (double) sb.st_mtimespec.tv_sec
 3262|       |	+ 1e-9 * (double) sb.st_mtimespec.tv_nsec;
 3263|       |#else
 3264|       |    id->mtime = (double) sb.st_mtime;
 3265|       |#endif
 3266|  1.53k|    id->ino = (double) sb.st_ino;
 3267|  1.53k|    id->dev = (double) sb.st_dev;
 3268|  1.53k|    return true;
 3269|  1.53k|}
serialize.c:R_unserialize:
 3133|  1.53k|{
 3134|  1.53k|    struct R_inpstream_st in;
 3135|  1.53k|    SEXP (*hook)(SEXP, SEXP);
 3136|       |
 3137|  1.53k|    hook = fun != R_NilValue ? CallHook : NULL;
  ------------------
  |  Branch (3137:12): [True: 1.53k, False: 0]
  ------------------
 3138|       |
 3139|  1.53k|    if (TYPEOF(icon) == STRSXP && LENGTH(icon) > 0) {
  ------------------
  |  |  126|  3.06k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (3139:9): [True: 0, False: 1.53k]
  |  Branch (3139:35): [True: 0, False: 0]
  ------------------
 3140|       |	/* was the format in R < 2.4.0, removed in R 2.8.0 */
 3141|      0|	error("character vectors are no longer accepted by unserialize()");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 3142|      0|	return R_NilValue; /* -Wall */
 3143|  1.53k|    } else if (TYPEOF(icon) == RAWSXP) {
  ------------------
  |  |  136|  1.53k|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (3143:16): [True: 1.53k, False: 0]
  ------------------
 3144|       |	/* We might want to read from a long raw vector */
 3145|  1.53k|	struct membuf_st mbs;
 3146|  1.53k|	void *data = RAW(icon);
 3147|  1.53k|	R_size_t length = XLENGTH(icon);
 3148|  1.53k|	InitMemInPStream(&in, &mbs, data,  length, hook, fun);
 3149|  1.53k|	return R_Unserialize(&in);
 3150|  1.53k|    } else {
 3151|      0|	Rconnection con = getConnection(asInteger(icon));
  ------------------
  |  |  885|      0|#define asInteger		Rf_asInteger
  ------------------
 3152|      0|	R_InitConnInPStream(&in, con, R_pstream_any_format, hook, fun);
 3153|      0|	return R_Unserialize(&in);
 3154|      0|    }
 3155|  1.53k|}
serialize.c:InitMemInPStream:
 3029|  1.53k|{
 3030|  1.53k|    mb->count = 0;
 3031|  1.53k|    mb->size = length;
 3032|  1.53k|    mb->buf = buf;
 3033|  1.53k|    R_InitInPStream(stream, (R_pstream_data_t) mb, R_pstream_any_format,
 3034|  1.53k|		    InCharMem, InBytesMem, phook, pdata);
 3035|  1.53k|}
serialize.c:InBytesMem:
 3017|  2.10M|{
 3018|  2.10M|    membuf_t mb = stream->data;
 3019|  2.10M|    if (mb->count + (R_size_t) length > mb->size)
  ------------------
  |  Branch (3019:9): [True: 0, False: 2.10M]
  ------------------
 3020|      0|	error(_("read error"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("read error"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3021|  2.10M|    if (length)
  ------------------
  |  Branch (3021:9): [True: 2.10M, False: 561]
  ------------------
 3022|  2.10M|	memcpy(buf, mb->buf + mb->count, length);
 3023|  2.10M|    mb->count += length;
 3024|  2.10M|}

Rf_isUnsorted:
   88|    972|{
   89|    972|    R_xlen_t n, i;
   90|    972|    int itmp = INT_MIN; /* this is NA_INTEGER, < all valid nonNA R integer
   91|       |			   values */
   92|    972|    double dtmp = R_NegInf; /*  R_NegInf is min possible double	"value",
   93|       |			        ***this is <= all nonNA R numeric values but
   94|       |				NOT < all nonNA	values*** */
   95|    972|    if (!isVectorAtomic(x))
  ------------------
  |  |  975|    972|#define isVectorAtomic		Rf_isVectorAtomic
  ------------------
  |  Branch (95:9): [True: 0, False: 972]
  ------------------
   96|      0|	error(_("only atomic vectors can be tested to be sorted"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("only atomic vectors can be tested to be sorted"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
   97|    972|    n = XLENGTH(x);
   98|    972|    if(n >= 2)
  ------------------
  |  Branch (98:8): [True: 972, False: 0]
  ------------------
   99|    972|	switch (TYPEOF(x)) {
  100|       |
  101|       |	    /* NOTE: x must have no NAs {is.na(.) in R};
  102|       |	       hence be faster than `rcmp()', `icmp()' for these two cases */
  103|       |
  104|       |	    /* The only difference between strictly and not is '>' vs '>='
  105|       |	       but we want the if() outside the loop */
  106|       |
  107|       |	    /* x can be an ALTREP here provided that its sortedness is unknown, 
  108|       |	       so we use ITERATE_BY_REGION to get the multiple INTEGER calls
  109|       |	       outside of the tight loop and be ALTREP safe. */
  110|      0|	case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (110:2): [True: 0, False: 972]
  ------------------
  111|      0|	case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (111:2): [True: 0, False: 972]
  ------------------
  112|      0|	    if(strictly) {
  ------------------
  |  Branch (112:9): [True: 0, False: 0]
  ------------------
  113|      0|		ITERATE_BY_REGION(x, xptr, i, nbatch, int, INTEGER, {
  ------------------
  |  |  251|      0|#define ITERATE_BY_REGION(sx, px, idx, nb, etype, vtype, expr) do {	\
  |  |  252|      0|	ITERATE_BY_REGION_PARTIAL(sx, px, idx, nb, etype, vtype,	\
  |  |  ------------------
  |  |  |  |  220|      0|				  strt, nfull, expr) do {		\
  |  |  |  |  221|      0|	const etype *px = (etype *) DATAPTR_OR_NULL(sx);		\
  |  |  |  |  222|      0|	if (px != NULL) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  223|      0|	    R_xlen_t idx = strt;					\
  |  |  |  |  224|      0|	    (void) idx; /* variable may be unused in expr */		\
  |  |  |  |  225|      0|	    R_xlen_t nb = nfull;					\
  |  |  |  |  226|      0|	    px += strt;							\
  |  |  |  |  227|      0|	    if (nb > 0) {                                               \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (227:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  228|      0|	        expr							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (228:10): [True: 0, False: 0]
  |  |  |  |  |  Branch (228:10): [True: 0, False: 0]
  |  |  |  |  |  Branch (228:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  229|      0|	    }                                                           \
  |  |  |  |  230|      0|	}								\
  |  |  |  |  231|      0|	else ITERATE_BY_REGION_PARTIAL0(sx, px, idx, nb, etype, vtype,	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  191|      0|				   strt, nfull, expr) do {		\
  |  |  |  |  |  |  192|      0|	etype __ibr_buf__[GET_REGION_BUFSIZE];				\
  |  |  |  |  |  |  193|      0|	R_xlen_t __ibr_n__ = strt + nfull;				\
  |  |  |  |  |  |  194|      0|	R_xlen_t nb;							\
  |  |  |  |  |  |  195|      0|	for (R_xlen_t idx = strt; idx < __ibr_n__; idx += nb) {		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (195:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  196|      0|	    nb = __ibr_n__  - idx > GET_REGION_BUFSIZE ?		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  181|      0|#define GET_REGION_BUFSIZE 512
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (196:11): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  197|      0|		GET_REGION_BUFSIZE :  __ibr_n__ - idx;			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  181|      0|#define GET_REGION_BUFSIZE 512
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  198|      0|	    etype *px = (etype *) GET_REGION_PTR(sx, idx, nb,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  187|      0|    (ALTREP(x) == 0 ? type(x) + (i) : (type##_GET_REGION(x, i, n, buf), buf))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (187:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  199|      0|	                                         __ibr_buf__, vtype);	\
  |  |  |  |  |  |  200|      0|	    expr							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|      0|	 }							        \
  |  |  |  |  |  |  202|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  232|      0|					strt, nfull, expr);		\
  |  |  |  |  233|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (233:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  253|      0|				  0, XLENGTH(sx), expr);		\
  |  |  254|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  114|       |			/* itmp initialized to INT_MIN which is < all
  115|       |			   valid nonNA R int values so no need to
  116|       |			   exclude first iteration
  117|       |
  118|       |			   After first iteration itmp is value at end
  119|       |			   of last batch */
  120|      0|			if(itmp >= xptr[0]) 
  121|      0|			    return TRUE;
  122|      0|			for(R_xlen_t k = 0; k < nbatch - 1; k++) {
  123|      0|			    if(xptr[k] >= xptr[k+1])
  124|      0|				return TRUE;
  125|      0|			}
  126|      0|			itmp = xptr[nbatch - 1];
  127|      0|		    });
  128|      0|	    } else {
  129|      0|		ITERATE_BY_REGION(x, xptr, i, nbatch, int, INTEGER, {
  ------------------
  |  |  251|      0|#define ITERATE_BY_REGION(sx, px, idx, nb, etype, vtype, expr) do {	\
  |  |  252|      0|	ITERATE_BY_REGION_PARTIAL(sx, px, idx, nb, etype, vtype,	\
  |  |  ------------------
  |  |  |  |  220|      0|				  strt, nfull, expr) do {		\
  |  |  |  |  221|      0|	const etype *px = (etype *) DATAPTR_OR_NULL(sx);		\
  |  |  |  |  222|      0|	if (px != NULL) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  223|      0|	    R_xlen_t idx = strt;					\
  |  |  |  |  224|      0|	    (void) idx; /* variable may be unused in expr */		\
  |  |  |  |  225|      0|	    R_xlen_t nb = nfull;					\
  |  |  |  |  226|      0|	    px += strt;							\
  |  |  |  |  227|      0|	    if (nb > 0) {                                               \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (227:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  228|      0|	        expr							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (228:10): [True: 0, False: 0]
  |  |  |  |  |  Branch (228:10): [True: 0, False: 0]
  |  |  |  |  |  Branch (228:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  229|      0|	    }                                                           \
  |  |  |  |  230|      0|	}								\
  |  |  |  |  231|      0|	else ITERATE_BY_REGION_PARTIAL0(sx, px, idx, nb, etype, vtype,	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  191|      0|				   strt, nfull, expr) do {		\
  |  |  |  |  |  |  192|      0|	etype __ibr_buf__[GET_REGION_BUFSIZE];				\
  |  |  |  |  |  |  193|      0|	R_xlen_t __ibr_n__ = strt + nfull;				\
  |  |  |  |  |  |  194|      0|	R_xlen_t nb;							\
  |  |  |  |  |  |  195|      0|	for (R_xlen_t idx = strt; idx < __ibr_n__; idx += nb) {		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (195:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  196|      0|	    nb = __ibr_n__  - idx > GET_REGION_BUFSIZE ?		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  181|      0|#define GET_REGION_BUFSIZE 512
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (196:11): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  197|      0|		GET_REGION_BUFSIZE :  __ibr_n__ - idx;			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  181|      0|#define GET_REGION_BUFSIZE 512
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  198|      0|	    etype *px = (etype *) GET_REGION_PTR(sx, idx, nb,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  187|      0|    (ALTREP(x) == 0 ? type(x) + (i) : (type##_GET_REGION(x, i, n, buf), buf))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (187:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  199|      0|	                                         __ibr_buf__, vtype);	\
  |  |  |  |  |  |  200|      0|	    expr							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|      0|	 }							        \
  |  |  |  |  |  |  202|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  232|      0|					strt, nfull, expr);		\
  |  |  |  |  233|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (233:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  253|      0|				  0, XLENGTH(sx), expr);		\
  |  |  254|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  130|      0|			if(itmp > xptr[0]) //deal with batch barriers
  131|      0|			    return TRUE;
  132|      0|			for(R_xlen_t k = 0; k < nbatch - 1; k++) {
  133|      0|			    if(xptr[k] > xptr[k+1])
  134|      0|				return TRUE;
  135|      0|			}
  136|      0|			itmp = xptr[nbatch - 1];
  137|      0|		    });
  138|      0|	    }
  139|      0|	    break;
  140|    966|	case REALSXP:
  ------------------
  |  |  124|    966|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (140:2): [True: 966, False: 6]
  ------------------
  141|    966|	    if(strictly) {
  ------------------
  |  Branch (141:9): [True: 0, False: 966]
  ------------------
  142|      0|		ITERATE_BY_REGION(x, xptr, i, nbatch, double, REAL, {
  ------------------
  |  |  251|      0|#define ITERATE_BY_REGION(sx, px, idx, nb, etype, vtype, expr) do {	\
  |  |  252|      0|	ITERATE_BY_REGION_PARTIAL(sx, px, idx, nb, etype, vtype,	\
  |  |  ------------------
  |  |  |  |  220|      0|				  strt, nfull, expr) do {		\
  |  |  |  |  221|      0|	const etype *px = (etype *) DATAPTR_OR_NULL(sx);		\
  |  |  |  |  222|      0|	if (px != NULL) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  223|      0|	    R_xlen_t idx = strt;					\
  |  |  |  |  224|      0|	    (void) idx; /* variable may be unused in expr */		\
  |  |  |  |  225|      0|	    R_xlen_t nb = nfull;					\
  |  |  |  |  226|      0|	    px += strt;							\
  |  |  |  |  227|      0|	    if (nb > 0) {                                               \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (227:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  228|      0|	        expr							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (228:10): [True: 0, False: 0]
  |  |  |  |  |  Branch (228:10): [True: 0, False: 0]
  |  |  |  |  |  Branch (228:10): [True: 0, False: 0]
  |  |  |  |  |  Branch (228:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  229|      0|	    }                                                           \
  |  |  |  |  230|      0|	}								\
  |  |  |  |  231|      0|	else ITERATE_BY_REGION_PARTIAL0(sx, px, idx, nb, etype, vtype,	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  191|      0|				   strt, nfull, expr) do {		\
  |  |  |  |  |  |  192|      0|	etype __ibr_buf__[GET_REGION_BUFSIZE];				\
  |  |  |  |  |  |  193|      0|	R_xlen_t __ibr_n__ = strt + nfull;				\
  |  |  |  |  |  |  194|      0|	R_xlen_t nb;							\
  |  |  |  |  |  |  195|      0|	for (R_xlen_t idx = strt; idx < __ibr_n__; idx += nb) {		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (195:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  196|      0|	    nb = __ibr_n__  - idx > GET_REGION_BUFSIZE ?		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  181|      0|#define GET_REGION_BUFSIZE 512
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (196:11): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  197|      0|		GET_REGION_BUFSIZE :  __ibr_n__ - idx;			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  181|      0|#define GET_REGION_BUFSIZE 512
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  198|      0|	    etype *px = (etype *) GET_REGION_PTR(sx, idx, nb,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  187|      0|    (ALTREP(x) == 0 ? type(x) + (i) : (type##_GET_REGION(x, i, n, buf), buf))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (187:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  199|      0|	                                         __ibr_buf__, vtype);	\
  |  |  |  |  |  |  200|      0|	    expr							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|      0|	 }							        \
  |  |  |  |  |  |  202|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  232|      0|					strt, nfull, expr);		\
  |  |  |  |  233|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (233:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  253|      0|				  0, XLENGTH(sx), expr);		\
  |  |  254|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  143|       |			/* first element could be R_NegInf which is
  144|       |			   initialization value of dtmp so don't do
  145|       |			   the barrier check at i == 0 since its >=
  146|       |			   here
  147|       |
  148|       |			   After first iteration dtmp is value at end
  149|       |			   of last batch */
  150|      0|			if(i > 0 && dtmp >= xptr[0]) //deal with batch barriers
  151|      0|			    return TRUE;
  152|      0|			for(R_xlen_t k = 0; k < nbatch - 1; k++) {
  153|      0|			    if(xptr[k] >= xptr[k+1])
  154|      0|				return TRUE;
  155|      0|			}
  156|      0|			dtmp = xptr[nbatch - 1];
  157|      0|		    });
  158|    966|	    } else {
  159|       |		/* nonstrict, first element can never be < dtmp (== R_NegInf),
  160|       |		   so no need to exclude first iteration in barrier check */
  161|    966|		ITERATE_BY_REGION(x, xptr, i, nbatch, double, REAL, {
  ------------------
  |  |  251|    966|#define ITERATE_BY_REGION(sx, px, idx, nb, etype, vtype, expr) do {	\
  |  |  252|    966|	ITERATE_BY_REGION_PARTIAL(sx, px, idx, nb, etype, vtype,	\
  |  |  ------------------
  |  |  |  |  220|    966|				  strt, nfull, expr) do {		\
  |  |  |  |  221|    966|	const etype *px = (etype *) DATAPTR_OR_NULL(sx);		\
  |  |  |  |  222|    966|	if (px != NULL) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:6): [True: 966, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  223|    966|	    R_xlen_t idx = strt;					\
  |  |  |  |  224|    966|	    (void) idx; /* variable may be unused in expr */		\
  |  |  |  |  225|    966|	    R_xlen_t nb = nfull;					\
  |  |  |  |  226|    966|	    px += strt;							\
  |  |  |  |  227|    966|	    if (nb > 0) {                                               \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (227:10): [True: 966, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  228|   380k|	        expr							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (228:10): [True: 0, False: 966]
  |  |  |  |  |  Branch (228:10): [True: 0, False: 94.7k]
  |  |  |  |  |  Branch (228:10): [True: 94.7k, False: 966]
  |  |  |  |  ------------------
  |  |  |  |  229|  1.93k|	    }                                                           \
  |  |  |  |  230|    966|	}								\
  |  |  |  |  231|    966|	else ITERATE_BY_REGION_PARTIAL0(sx, px, idx, nb, etype, vtype,	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  191|      0|				   strt, nfull, expr) do {		\
  |  |  |  |  |  |  192|      0|	etype __ibr_buf__[GET_REGION_BUFSIZE];				\
  |  |  |  |  |  |  193|      0|	R_xlen_t __ibr_n__ = strt + nfull;				\
  |  |  |  |  |  |  194|      0|	R_xlen_t nb;							\
  |  |  |  |  |  |  195|      0|	for (R_xlen_t idx = strt; idx < __ibr_n__; idx += nb) {		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (195:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  196|      0|	    nb = __ibr_n__  - idx > GET_REGION_BUFSIZE ?		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  181|      0|#define GET_REGION_BUFSIZE 512
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (196:11): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  197|      0|		GET_REGION_BUFSIZE :  __ibr_n__ - idx;			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  181|      0|#define GET_REGION_BUFSIZE 512
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  198|      0|	    etype *px = (etype *) GET_REGION_PTR(sx, idx, nb,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  187|      0|    (ALTREP(x) == 0 ? type(x) + (i) : (type##_GET_REGION(x, i, n, buf), buf))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (187:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  199|      0|	                                         __ibr_buf__, vtype);	\
  |  |  |  |  |  |  200|      0|	    expr							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|      0|	 }							        \
  |  |  |  |  |  |  202|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  232|    966|					strt, nfull, expr);		\
  |  |  |  |  233|    966|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (233:14): [Folded, False: 966]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  253|    966|				  0, XLENGTH(sx), expr);		\
  |  |  254|    966|    } while (0)
  |  |  ------------------
  |  |  |  Branch (254:14): [Folded, False: 966]
  |  |  ------------------
  ------------------
  162|    966|			if(dtmp > xptr[0]) /* deal with batch barriers, dtmp
  163|       |					      is end of last batch */
  164|    966|			    return TRUE;
  165|    966|			for(R_xlen_t k = 0; k < nbatch - 1; k++) {
  166|    966|			    if(xptr[k] > xptr[k+1])
  167|    966|				return TRUE;
  168|    966|			}
  169|    966|			dtmp = xptr[nbatch - 1];
  170|    966|		    });
  171|    966|	    }
  172|    966|	    break;
  173|    966|	case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (173:2): [True: 0, False: 972]
  ------------------
  174|      0|	    if(strictly) {
  ------------------
  |  Branch (174:9): [True: 0, False: 0]
  ------------------
  175|      0|		for(i = 0; i+1 < n ; i++)
  ------------------
  |  Branch (175:14): [True: 0, False: 0]
  ------------------
  176|      0|		    if(ccmp(COMPLEX(x)[i], COMPLEX(x)[i+1], true) >= 0)
  ------------------
  |  Branch (176:10): [True: 0, False: 0]
  ------------------
  177|      0|			return TRUE;
  178|      0|	    } else {
  179|      0|		for(i = 0; i+1 < n ; i++)
  ------------------
  |  Branch (179:14): [True: 0, False: 0]
  ------------------
  180|      0|		    if(ccmp(COMPLEX(x)[i], COMPLEX(x)[i+1], true) > 0)
  ------------------
  |  Branch (180:10): [True: 0, False: 0]
  ------------------
  181|      0|			return TRUE;
  182|      0|	    }
  183|      0|	    break;
  184|      6|	case STRSXP:
  ------------------
  |  |  126|      6|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (184:2): [True: 6, False: 966]
  ------------------
  185|      6|	    if(strictly) {
  ------------------
  |  Branch (185:9): [True: 0, False: 6]
  ------------------
  186|      0|		for(i = 0; i+1 < n ; i++)
  ------------------
  |  Branch (186:14): [True: 0, False: 0]
  ------------------
  187|      0|		    if(scmp(STRING_ELT(x, i ),
  ------------------
  |  Branch (187:10): [True: 0, False: 0]
  ------------------
  188|      0|			    STRING_ELT(x,i+1), true) >= 0)
  189|      0|			return TRUE;
  190|      6|	    } else {
  191|     12|		for(i = 0; i+1 < n ; i++)
  ------------------
  |  Branch (191:14): [True: 12, False: 0]
  ------------------
  192|     12|		    if(scmp(STRING_ELT(x, i ),
  ------------------
  |  Branch (192:10): [True: 6, False: 6]
  ------------------
  193|     12|			    STRING_ELT(x,i+1), true) > 0)
  194|      6|			return TRUE;
  195|      6|	    }
  196|      0|	    break;
  197|      0|	case RAWSXP: // being compatible with raw_relop() in ./relop.c
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (197:2): [True: 0, False: 972]
  ------------------
  198|      0|	    if(strictly) {
  ------------------
  |  Branch (198:9): [True: 0, False: 0]
  ------------------
  199|      0|		for(i = 0; i+1 < n ; i++)
  ------------------
  |  Branch (199:14): [True: 0, False: 0]
  ------------------
  200|      0|		    if(RAW(x)[i] >= RAW(x)[i+1])
  ------------------
  |  Branch (200:10): [True: 0, False: 0]
  ------------------
  201|      0|			return TRUE;
  202|       |
  203|      0|	    } else {
  204|      0|		for(i = 0; i+1 < n ; i++)
  ------------------
  |  Branch (204:14): [True: 0, False: 0]
  ------------------
  205|      0|		    if(RAW(x)[i] > RAW(x)[i+1])
  ------------------
  |  Branch (205:10): [True: 0, False: 0]
  ------------------
  206|      0|			return TRUE;
  207|      0|	    }
  208|      0|	    break;
  209|      0|	default:
  ------------------
  |  Branch (209:2): [True: 0, False: 972]
  ------------------
  210|      0|	    UNIMPLEMENTED_TYPE("isUnsorted", x);
  211|    972|	}
  212|    966|    return FALSE;/* sorted */
  213|    972|} // isUnsorted()
do_isunsorted:
  222|    966|{
  223|    966|    if (length(args) == 2) {
  ------------------
  |  |  987|    966|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (223:9): [True: 0, False: 966]
  ------------------
  224|       |	/* This allows for old calls of the form
  225|       |	   .Internal(is.unsorted(x, strictly)) prior to adding the
  226|       |	   na.rm argument in order to match the closure signature to
  227|       |	   the signature expected by methods called in
  228|       |	   DispatchOrEval. These old calls might have been captured in
  229|       |	   closures or S4 generic definitions. This code inserts a
  230|       |	   value for the na.rm argument in the list of evaluated
  231|       |	   arguments. The first cell of args is protected when
  232|       |	   do_isunsorted is called. */
  233|      0|	SEXP tmp = CONS_NR(R_FalseValue, CDR(args));
  234|      0|	SETCDR(args, tmp);
  235|      0|    }
  236|    966|    checkArity(op, args);
  ------------------
  |  | 1793|    966|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  237|       |
  238|    966|    SEXP ans, x = CAR(args);
  239|       |    /* DispatchOrEval internal generic: is.unsorted */
  240|    966|    if(DispatchOrEval(call, op, "is.unsorted", args, rho, &ans, 0, 1))
  ------------------
  |  | 1892|    966|# define DispatchOrEval		Rf_DispatchOrEval
  ------------------
  |  Branch (240:8): [True: 0, False: 966]
  ------------------
  241|      0|	return ans;
  242|    966|    PROTECT(args = ans); // args evaluated now
  ------------------
  |  |  357|    966|#define PROTECT(s)	Rf_protect(s)
  ------------------
  243|       |
  244|    966|    int sorted = UNKNOWN_SORTEDNESS;
  245|    966|    switch(TYPEOF(x)) {
  246|      0|    case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (246:5): [True: 0, False: 966]
  ------------------
  247|      0|	sorted = INTEGER_IS_SORTED(x);
  248|      0|	break;
  249|    966|    case REALSXP:
  ------------------
  |  |  124|    966|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (249:5): [True: 966, False: 0]
  ------------------
  250|    966|	sorted = REAL_IS_SORTED(x);
  251|    966|	break;
  252|      0|    default:
  ------------------
  |  Branch (252:5): [True: 0, False: 966]
  ------------------
  253|      0|	break;
  254|    966|    }
  255|       |
  256|    966|    SEXP strictlyArg = CADDR(args);
  257|       |    /* right now is.unsorted only tells you if something is sorted ascending
  258|       |      hopefully someday it will work for descending too */
  259|    966|    if(!asLogical(strictlyArg)) { /*not strict since we don't memoize that */
  ------------------
  |  |  886|    966|#define asLogical		Rf_asLogical
  ------------------
  |  Branch (259:8): [True: 966, False: 0]
  ------------------
  260|    966|	if(KNOWN_INCR(sorted)) {
  ------------------
  |  | 1170|    966|#define KNOWN_INCR(sorted) (sorted == SORTED_INCR ||		\
  |  |  ------------------
  |  |  |  Branch (1170:29): [True: 0, False: 966]
  |  |  ------------------
  |  | 1171|    966|			    sorted == SORTED_INCR_NA_1ST)
  |  |  ------------------
  |  |  |  Branch (1171:8): [True: 0, False: 966]
  |  |  ------------------
  ------------------
  261|      0|	    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  262|      0|	    return ScalarLogical(FALSE);
  ------------------
  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  263|      0|	}
  264|       |	/* is.unsorted returns TRUE for vectors sorted in descending order 
  265|       |	   iff the vector has more than 1 unique value */
  266|    966|	else if(KNOWN_DECR(sorted)) {
  ------------------
  |  | 1173|    966|#define KNOWN_DECR(sorted) (sorted == SORTED_DECR ||	\
  |  |  ------------------
  |  |  |  Branch (1173:29): [True: 0, False: 966]
  |  |  ------------------
  |  | 1174|    966|			    sorted == SORTED_DECR_NA_1ST)
  |  |  ------------------
  |  |  |  Branch (1174:8): [True: 0, False: 966]
  |  |  ------------------
  ------------------
  267|      0|	    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  268|      0|	    return ScalarLogical(SORTED_VEC_NONCONST(x));
  ------------------
  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  ------------------
              	    return ScalarLogical(SORTED_VEC_NONCONST(x));
  ------------------
  |  |  217|      0|#define SORTED_VEC_NONCONST(x)	(XLENGTH(x) > 1 &&			\
  |  |  ------------------
  |  |  |  Branch (217:33): [True: 0, False: 0]
  |  |  ------------------
  |  |  218|      0|     ((TYPEOF(x) == INTSXP && FIRST_LAST_DIFF(x, INTEGER)) ||		\
  |  |  ------------------
  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |                    ((TYPEOF(x) == INTSXP && FIRST_LAST_DIFF(x, INTEGER)) ||		\
  |  |  ------------------
  |  |  |  |  215|      0|#define FIRST_LAST_DIFF(x, type) type##_ELT(x, 0) != type##_ELT(x, XLENGTH(x) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:34): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (218:8): [True: 0, False: 0]
  |  |  ------------------
  |  |  219|      0|      (TYPEOF(x) == REALSXP && FIRST_LAST_DIFF(x, REAL))))
  |  |  ------------------
  |  |  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |                     (TYPEOF(x) == REALSXP && FIRST_LAST_DIFF(x, REAL))))
  |  |  ------------------
  |  |  |  |  215|      0|#define FIRST_LAST_DIFF(x, type) type##_ELT(x, 0) != type##_ELT(x, XLENGTH(x) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:34): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (219:8): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  269|    966|	} else if (sorted == KNOWN_UNSORTED) {
  ------------------
  |  Branch (269:13): [True: 0, False: 966]
  ------------------
  270|      0|	    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  271|      0|	    return ScalarLogical(TRUE);
  ------------------
  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  272|      0|	}
  273|    966|    }
  274|       |
  275|    966|    int strictly = asLogical(strictlyArg);
  ------------------
  |  |  886|    966|#define asLogical		Rf_asLogical
  ------------------
  276|    966|    if(strictly == NA_LOGICAL)
  ------------------
  |  |   55|    966|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (276:8): [True: 0, False: 966]
  ------------------
  277|      0|	error(_("invalid '%s' argument"), "strictly");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "strictly");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  278|    966|    if(isVectorAtomic(x)) {
  ------------------
  |  |  975|    966|#define isVectorAtomic		Rf_isVectorAtomic
  ------------------
  |  Branch (278:8): [True: 966, False: 0]
  ------------------
  279|    966|	UNPROTECT(1);
  ------------------
  |  |  358|    966|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  280|    966|	return (xlength(x) < 2) ? ScalarLogical(FALSE) :
  ------------------
  |  | 1049|    966|#define xlength(x)		Rf_xlength(x)
  ------------------
              	return (xlength(x) < 2) ? ScalarLogical(FALSE) :
  ------------------
  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  |  Branch (280:9): [True: 0, False: 966]
  ------------------
  281|    966|	    ScalarLogical(isUnsorted(x, (Rboolean)strictly));
  ------------------
  |  | 1023|    966|#define ScalarLogical		Rf_ScalarLogical
  ------------------
              	    ScalarLogical(isUnsorted(x, (Rboolean)strictly));
  ------------------
  |  |  970|    966|#define isUnsorted		Rf_isUnsorted
  ------------------
  282|    966|    }
  283|      0|    if(isObject(x)) {
  ------------------
  |  |  959|      0|#define isObject		Rf_isObject
  ------------------
  |  Branch (283:8): [True: 0, False: 0]
  ------------------
  284|      0|	SEXP call;
  285|      0|	PROTECT(call = 	// R>  .gtn(x, strictly) :
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  286|      0|		lang3(install(".gtn"), x, strictlyArg));
  287|      0|	ans = eval(call, rho);
  ------------------
  |  |  913|      0|#define eval			Rf_eval
  ------------------
  288|      0|	UNPROTECT(2);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  289|      0|	return ans;
  290|      0|    }
  291|      0|    else {
  292|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  293|      0|	return ScalarLogical(NA_LOGICAL);
  ------------------
  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  ------------------
              	return ScalarLogical(NA_LOGICAL);
  ------------------
  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  ------------------
  294|      0|    }
  295|      0|}
do_sorted_fpass:
  511|      2|{
  512|      2|    checkArity(op, args);
  ------------------
  |  | 1793|      2|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  513|       |
  514|      2|    int decr = asInteger(CADR(args)); 
  ------------------
  |  |  885|      2|#define asInteger		Rf_asInteger
  ------------------
  515|      2|    int nalast = asInteger(CADDR(args)); 
  ------------------
  |  |  885|      2|#define asInteger		Rf_asInteger
  ------------------
  516|      2|    int wanted = makeSortEnum(decr, nalast);
  517|      2|    SEXP x = PROTECT(CAR(args));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
  518|      2|    bool wassorted = fastpass_sortcheck(x, wanted);
  519|      2|    UNPROTECT(1);
  ------------------
  |  |  358|      2|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  520|      2|    return ScalarLogical(wassorted);
  ------------------
  |  | 1023|      2|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  521|      2|}
Rf_sortVector:
  636|      6|{
  637|      6|    R_xlen_t n = XLENGTH(s);
  638|      6|    if (n >= 2 && (decreasing || isUnsorted(s, FALSE)))
  ------------------
  |  |  970|      6|#define isUnsorted		Rf_isUnsorted
  ------------------
  |  Branch (638:9): [True: 6, False: 0]
  |  Branch (638:20): [True: 0, False: 6]
  |  Branch (638:34): [True: 6, False: 0]
  ------------------
  639|      6|	switch (TYPEOF(s)) {
  640|      0|	case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (640:2): [True: 0, False: 6]
  ------------------
  641|      0|	case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (641:2): [True: 0, False: 6]
  ------------------
  642|      0|	    R_isort2(INTEGER(s), n, decreasing);
  643|      0|	    break;
  644|      0|	case REALSXP:
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (644:2): [True: 0, False: 6]
  ------------------
  645|      0|	    R_rsort2(REAL(s), n, decreasing);
  646|      0|	    break;
  647|      0|	case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (647:2): [True: 0, False: 6]
  ------------------
  648|      0|	    R_csort2(COMPLEX(s), n, decreasing);
  649|      0|	    break;
  650|      6|	case STRSXP:
  ------------------
  |  |  126|      6|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (650:2): [True: 6, False: 0]
  ------------------
  651|      6|	    ssort2(STRING_PTR(s), n, decreasing); /* STRING_PTR is safe here */
  652|      6|	    break;
  653|      0|	default:
  ------------------
  |  Branch (653:2): [True: 0, False: 6]
  ------------------
  654|      0|	    UNIMPLEMENTED_TYPE("sortVector", s);
  655|      6|	}
  656|      6|}
sort.c:scmp:
   77|  63.4k|{
   78|  63.4k|    if (x == NA_STRING && y == NA_STRING) return 0;
  ------------------
  |  |  433|   126k|#define NA_STRING	R_NaString
  ------------------
                  if (x == NA_STRING && y == NA_STRING) return 0;
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  |  Branch (78:9): [True: 0, False: 63.4k]
  |  Branch (78:27): [True: 0, False: 0]
  ------------------
   79|  63.4k|    if (x == NA_STRING) return nalast ? 1 : -1;
  ------------------
  |  |  433|  63.4k|#define NA_STRING	R_NaString
  ------------------
  |  Branch (79:9): [True: 0, False: 63.4k]
  |  Branch (79:32): [True: 0, False: 0]
  ------------------
   80|  63.4k|    if (y == NA_STRING) return nalast ? -1 : 1;
  ------------------
  |  |  433|  63.4k|#define NA_STRING	R_NaString
  ------------------
  |  Branch (80:9): [True: 0, False: 63.4k]
  |  Branch (80:32): [True: 0, False: 0]
  ------------------
   81|  63.4k|    if (x == y) return 0;  /* same string in cache */
  ------------------
  |  Branch (81:9): [True: 0, False: 63.4k]
  ------------------
   82|  63.4k|    return Scollate(x, y);
  ------------------
  |  | 1990|  63.4k|# define Scollate		Rf_Scollate
  ------------------
   83|  63.4k|}
sort.c:makeSortEnum:
  494|      2|static int makeSortEnum(int decr, int nalast) {
  495|       |    
  496|       |    /* passing decr = NA_INTEGER indicates UNKNOWN_SORTEDNESS. */
  497|      2|    if (decr == NA_INTEGER)
  ------------------
  |  |   56|      2|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (497:9): [True: 0, False: 2]
  ------------------
  498|      0|	return UNKNOWN_SORTEDNESS;
  499|       |    
  500|      2|    if (nalast == NA_INTEGER)
  ------------------
  |  |   56|      2|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (500:9): [True: 0, False: 2]
  ------------------
  501|      0|	nalast = 1; //  they were/will be removed so we say they are "last"
  502|       |
  503|      2|    if (decr)
  ------------------
  |  Branch (503:9): [True: 0, False: 2]
  ------------------
  504|      0|	return nalast ? SORTED_DECR : SORTED_DECR_NA_1ST;
  ------------------
  |  Branch (504:9): [True: 0, False: 0]
  ------------------
  505|      2|    else /* increasing */
  506|      2|	return nalast ? SORTED_INCR : SORTED_INCR_NA_1ST;
  ------------------
  |  Branch (506:9): [True: 2, False: 0]
  ------------------
  507|      2|}
sort.c:fastpass_sortcheck:
  438|      2|static bool fastpass_sortcheck(SEXP x, int wanted) {
  439|      2|    if(!KNOWN_SORTED(wanted)) 
  ------------------
  |  | 1162|      2|#define KNOWN_SORTED(sorted) (sorted == SORTED_DECR ||			\
  |  |  ------------------
  |  |  |  Branch (1162:31): [True: 0, False: 2]
  |  |  ------------------
  |  | 1163|      2|			      sorted == SORTED_INCR ||			\
  |  |  ------------------
  |  |  |  Branch (1163:10): [True: 2, False: 0]
  |  |  ------------------
  |  | 1164|      2|			      sorted == SORTED_DECR_NA_1ST ||		\
  |  |  ------------------
  |  |  |  Branch (1164:10): [True: 0, False: 0]
  |  |  ------------------
  |  | 1165|      2|			      sorted == SORTED_INCR_NA_1ST)
  |  |  ------------------
  |  |  |  Branch (1165:10): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  440|      0|	return false;
  441|       |
  442|      2|    int sorted = UNKNOWN_SORTEDNESS;
  443|      2|    bool noNA = false, done = false;
  444|       |
  445|      2|    switch(TYPEOF(x)) {
  446|      2|    case INTSXP:
  ------------------
  |  |  123|      2|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (446:5): [True: 2, False: 0]
  ------------------
  447|      2|	sorted = INTEGER_IS_SORTED(x);
  448|      2|	noNA = (bool)INTEGER_NO_NA(x);
  449|      2|	break;
  450|      0|    case REALSXP:
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (450:5): [True: 0, False: 2]
  ------------------
  451|      0|	sorted = REAL_IS_SORTED(x);
  452|      0|	noNA = (bool)REAL_NO_NA(x);
  453|      0|	break;
  454|      0|    default:
  ------------------
  |  Branch (454:5): [True: 0, False: 2]
  ------------------
  455|       |	/* keep sorted == UNKNOWN_SORTEDNESS */
  456|      0|	break;
  457|      2|    }
  458|       |
  459|       |    /* we know wanted is not NA_INTEGER or 0 at this point because
  460|       |       of the immediate return at the beginning for that case */
  461|      2|    if(!KNOWN_SORTED(sorted)) {
  ------------------
  |  | 1162|      2|#define KNOWN_SORTED(sorted) (sorted == SORTED_DECR ||			\
  |  |  ------------------
  |  |  |  Branch (1162:31): [True: 0, False: 2]
  |  |  ------------------
  |  | 1163|      2|			      sorted == SORTED_INCR ||			\
  |  |  ------------------
  |  |  |  Branch (1163:10): [True: 0, False: 2]
  |  |  ------------------
  |  | 1164|      2|			      sorted == SORTED_DECR_NA_1ST ||		\
  |  |  ------------------
  |  |  |  Branch (1164:10): [True: 0, False: 2]
  |  |  ------------------
  |  | 1165|      2|			      sorted == SORTED_INCR_NA_1ST)
  |  |  ------------------
  |  |  |  Branch (1165:10): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  462|      2|	done = false;
  463|      2|    } else if(sorted == wanted) {   
  ------------------
  |  Branch (463:15): [True: 0, False: 0]
  ------------------
  464|      0|	done = true;
  465|       |	/* if there are no NAs, na.last can be ignored */
  466|      0|    } else if(noNA && sorted * wanted > 0) {
  ------------------
  |  Branch (466:15): [True: 0, False: 0]
  |  Branch (466:23): [True: 0, False: 0]
  ------------------
  467|       |	/* same sign, thus same direction of sort */
  468|      0|	done = true;
  469|      0|    }
  470|       |
  471|       |    /* Increasing, usually fairly short, sequences of integers often
  472|       |       arise as levels in as.factor.  A quick check here allows a fast
  473|       |       return in sort.int. */
  474|      2|    if (! done && TYPEOF(x) == INTSXP && wanted > 0 && ! ALTREP(x)) {
  ------------------
  |  |  123|      4|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (474:9): [True: 2, False: 0]
  |  Branch (474:19): [True: 2, False: 0]
  |  Branch (474:42): [True: 2, False: 0]
  |  Branch (474:56): [True: 2, False: 0]
  ------------------
  475|      2|	R_xlen_t len = XLENGTH(x);
  476|      2|	if (len > 0) {
  ------------------
  |  Branch (476:6): [True: 2, False: 0]
  ------------------
  477|      2|	    int *px = INTEGER(x);
  478|      2|	    int last = px[0];
  479|      2|	    if (last != NA_INTEGER) {
  ------------------
  |  |   56|      2|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (479:10): [True: 2, False: 0]
  ------------------
  480|      2|		for (R_xlen_t i = 1; i < len; i++) {
  ------------------
  |  Branch (480:24): [True: 0, False: 2]
  ------------------
  481|      0|		    int next = px[i];
  482|      0|		    if (next < last || next == NA_INTEGER)
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (482:11): [True: 0, False: 0]
  |  Branch (482:26): [True: 0, False: 0]
  ------------------
  483|      0|			return false;
  484|      0|		    else last = next;
  485|      0|		}
  486|      2|		return true;
  487|      2|	    }
  488|      2|	}
  489|      2|    }
  490|       |
  491|      0|    return done;
  492|      2|}
sort.c:ssort2:
  611|      6|{
  612|      6|    SEXP v;
  613|      6|    R_xlen_t i, j, h, t;
  614|       |
  615|      6|    if (n < 2) error("'n >= 2' is required");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  |  Branch (615:9): [True: 0, False: 6]
  ------------------
  616|     96|    for (t = 0; incs[t] > n; t++);
  ------------------
  |  Branch (616:17): [True: 90, False: 6]
  ------------------
  617|     36|    for (h = incs[t]; t < NI; h = incs[++t])
  ------------------
  |  |  529|     36|#define NI 20
  ------------------
  |  Branch (617:23): [True: 30, False: 6]
  ------------------
  618|  20.1k|	for (i = h; i < n; i++) {
  ------------------
  |  Branch (618:14): [True: 20.1k, False: 30]
  ------------------
  619|  20.1k|	    v = x[i];
  620|  20.1k|	    j = i;
  621|  20.1k|	    PROTECT(v);
  ------------------
  |  |  357|  20.1k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  622|  20.1k|	    if(decreasing)
  ------------------
  |  Branch (622:9): [True: 0, False: 20.1k]
  ------------------
  623|      0|		while (j >= h && scmp(x[j - h], v, true) < 0)
  ------------------
  |  Branch (623:10): [True: 0, False: 0]
  |  Branch (623:20): [True: 0, False: 0]
  ------------------
  624|      0|		{ x[j] = x[j - h]; j -= h; }
  625|  20.1k|	    else
  626|  65.4k|		while (j >= h && scmp(x[j - h], v, true) > 0)
  ------------------
  |  Branch (626:10): [True: 63.4k, False: 2.02k]
  |  Branch (626:20): [True: 45.2k, False: 18.1k]
  ------------------
  627|  45.2k|		{ x[j] = x[j - h]; j -= h; }
  628|  20.1k|	    x[j] = v;
  629|  20.1k|	    UNPROTECT(1); /* v */
  ------------------
  |  |  358|  20.1k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  630|  20.1k|	}
  631|      6|}

do_parse:
  206|     12|{
  207|     12|    checkArity(op, args);
  ------------------
  |  | 1793|     12|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  208|     12|    if(!inherits(CAR(args), "connection"))
  ------------------
  |  |  933|     12|#define inherits		Rf_inherits
  ------------------
  |  Branch (208:8): [True: 0, False: 12]
  ------------------
  209|      0|	error(_("'file' must be a character string or connection"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'file' must be a character string or connection"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  210|     12|    R_ParseError = 0;
  211|     12|    R_ParseErrorMsg[0] = '\0';
  212|       |
  213|     12|    int ifile = asInteger(CAR(args));                   args = CDR(args);
  ------------------
  |  |  885|     12|#define asInteger		Rf_asInteger
  ------------------
  214|     12|    Rconnection con = getConnection(ifile);
  215|     12|    bool wasopen = con->isopen;
  216|     12|    int num = asInteger(CAR(args));			args = CDR(args);
  ------------------
  |  |  885|     12|#define asInteger		Rf_asInteger
  ------------------
  217|     12|    if (num == 0)
  ------------------
  |  Branch (217:9): [True: 0, False: 12]
  ------------------
  218|      0|	return(allocVector(EXPRSXP, 0));
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              	return(allocVector(EXPRSXP, 0));
  ------------------
  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  219|       |
  220|     12|    SEXP text = PROTECT(coerceVector(CAR(args), STRSXP));
  ------------------
  |  |  357|     12|#define PROTECT(s)	Rf_protect(s)
  ------------------
  221|     12|    if(length(CAR(args)) && !length(text))
  ------------------
  |  |  987|     24|#define length(x)		Rf_length(x)
  |  |  ------------------
  |  |  |  Branch (987:20): [True: 0, False: 12]
  |  |  ------------------
  ------------------
                  if(length(CAR(args)) && !length(text))
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (221:29): [True: 0, False: 0]
  ------------------
  222|      0|	error(_("coercion of 'text' to character was unsuccessful"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("coercion of 'text' to character was unsuccessful"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  223|     12|    args = CDR(args);
  224|     12|    SEXP prompt = CAR(args);				args = CDR(args);
  225|     12|    SEXP source = CAR(args);				args = CDR(args);
  226|     12|    if(!isString(CAR(args)) || LENGTH(CAR(args)) != 1)
  ------------------
  |  |  966|     12|#define isString		Rf_isString
  ------------------
  |  Branch (226:8): [True: 0, False: 12]
  |  Branch (226:32): [True: 0, False: 12]
  ------------------
  227|      0|	error(_("invalid '%s' value"), "encoding");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' value"), "encoding");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  228|     12|    const char *encoding = CHAR(STRING_ELT(CAR(args), 0)); /* ASCII */
  ------------------
  |  |  203|     12|#define CHAR(x) R_CHAR(x)
  ------------------
  229|       |
  230|     12|    parse_cleanup_info pci;
  231|     12|    pci.con = NULL;
  232|     12|    pci.old_latin1 = known_to_be_latin1;
  233|     12|    pci.old_utf8 = known_to_be_utf8;
  234|     12|    RCNTXT cntxt;
  235|       |    /* set up context to recover known_to_be_* and to close connection on
  236|       |       error if opened by do_parse */
  237|     12|    begincontext(&cntxt, CTXT_CCODE, R_NilValue, R_BaseEnv, R_BaseEnv,
  ------------------
  |  | 1869|     12|# define begincontext		Rf_begincontext
  ------------------
  238|     12|		 R_NilValue, R_NilValue);
  239|     12|    cntxt.cend = &parse_cleanup;
  240|     12|    cntxt.cenddata = &pci;
  241|       |
  242|     12|    known_to_be_latin1 = known_to_be_utf8 = false;
  243|     12|    bool allKnown = true;
  244|       |    /* allow 'encoding' to override declaration on 'text'. */
  245|     12|    if(streql(encoding, "latin1")) {
  ------------------
  |  | 1498|     12|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 12]
  |  |  ------------------
  ------------------
  246|      0|	if (!mbcslocale) {
  ------------------
  |  Branch (246:6): [True: 0, False: 0]
  ------------------
  247|      0|	    known_to_be_latin1 = true;
  248|      0|	    allKnown = false;
  249|      0|	} else
  250|      0|	    warning(_("argument encoding=\"latin1\" is ignored in MBCS locales"));
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	    warning(_("argument encoding=\"latin1\" is ignored in MBCS locales"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  251|     12|    } else if(streql(encoding, "UTF-8"))  {
  ------------------
  |  | 1498|     12|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 12]
  |  |  ------------------
  ------------------
  252|      0|	if (!mbcslocale || utf8locale) {
  ------------------
  |  Branch (252:6): [True: 0, False: 0]
  |  Branch (252:21): [True: 0, False: 0]
  ------------------
  253|      0|	    known_to_be_utf8 = true;
  254|      0|	    allKnown = false;
  255|      0|	} else
  256|       |	    /* the input may be invalid or not parseable when interpreted as
  257|       |	       in different multi-byte encoding; related to PR#16819 */
  258|      0|	    warning(_("argument encoding=\"UTF-8\" is ignored in MBCS locales"));
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	    warning(_("argument encoding=\"UTF-8\" is ignored in MBCS locales"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  259|     12|    } else if(!streql(encoding, "unknown") && !streql(encoding, "native.enc"))
  ------------------
  |  | 1498|     24|#define streql(s, t)	(!strcmp((s), (t)))
  ------------------
                  } else if(!streql(encoding, "unknown") && !streql(encoding, "native.enc"))
  ------------------
  |  | 1498|      0|#define streql(s, t)	(!strcmp((s), (t)))
  ------------------
  |  Branch (259:15): [True: 0, False: 12]
  |  Branch (259:47): [True: 0, False: 0]
  ------------------
  260|      0|	warning(_("argument '%s = \"%s\"' will be ignored"), "encoding", encoding);
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	warning(_("argument '%s = \"%s\"' will be ignored"), "encoding", encoding);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  261|       |
  262|     12|    if (prompt == R_NilValue)
  ------------------
  |  Branch (262:9): [True: 0, False: 12]
  ------------------
  263|      0|	PROTECT(prompt);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  264|     12|    else
  265|     12|	PROTECT(prompt = coerceVector(prompt, STRSXP));
  ------------------
  |  |  357|     12|#define PROTECT(s)	Rf_protect(s)
  ------------------
  266|       |
  267|     12|    ParseStatus status;
  268|     12|    SEXP s;
  269|     12|    if (length(text) > 0) {
  ------------------
  |  |  987|     12|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (269:9): [True: 0, False: 12]
  ------------------
  270|       |	/* If 'text' has known encoding then we can be sure it will be
  271|       |	   correctly re-encoded to the current encoding by
  272|       |	   translateChar in the parser and so could mark the result in
  273|       |	   a Latin-1 or UTF-8 locale.
  274|       |
  275|       |	   A small complication is that different elements could have
  276|       |	   different encodings, but all that matters is that all
  277|       |	   non-ASCII elements have known encoding.
  278|       |	*/
  279|      0|	if(allKnown)
  ------------------
  |  Branch (279:5): [True: 0, False: 0]
  ------------------
  280|      0|	  for(int i = 0; i < length(text); i++)
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (280:19): [True: 0, False: 0]
  ------------------
  281|      0|	    if(!ENC_KNOWN(STRING_ELT(text, i)) &&
  ------------------
  |  Branch (281:9): [True: 0, False: 0]
  ------------------
  282|      0|	       ! IS_ASCII(STRING_ELT(text, i))) {
  ------------------
  |  Branch (282:9): [True: 0, False: 0]
  ------------------
  283|      0|		allKnown = false;
  284|      0|		break;
  285|      0|	    }
  286|      0|	if(allKnown) {
  ------------------
  |  Branch (286:5): [True: 0, False: 0]
  ------------------
  287|      0|	    known_to_be_latin1 = pci.old_latin1;
  288|      0|	    known_to_be_utf8 = pci.old_utf8;
  289|      0|	}
  290|      0|	if (num == NA_INTEGER) num = -1;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (290:6): [True: 0, False: 0]
  ------------------
  291|      0|	s = R_ParseVector(text, num, &status, source);
  292|      0|    }
  293|     12|    else if (ifile >= 3) {/* file != "" */
  ------------------
  |  Branch (293:14): [True: 12, False: 0]
  ------------------
  294|     12|	if (num == NA_INTEGER) num = -1;
  ------------------
  |  |   56|     12|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (294:6): [True: 0, False: 12]
  ------------------
  295|     12|	if(!wasopen) {
  ------------------
  |  Branch (295:5): [True: 0, False: 12]
  ------------------
  296|      0|	    if(!con->open(con)) error(_("cannot open the connection"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    if(!con->open(con)) error(_("cannot open the connection"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (296:9): [True: 0, False: 0]
  ------------------
  297|      0|	    pci.con = con; /* close the connection on error */
  298|      0|	}
  299|     12|	if(!con->canread) error(_("cannot read from this connection"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	if(!con->canread) error(_("cannot read from this connection"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (299:5): [True: 0, False: 12]
  ------------------
  300|     12|	s = R_ParseConn(con, num, &status, source);
  301|     12|	if(!wasopen) {
  ------------------
  |  Branch (301:5): [True: 0, False: 12]
  ------------------
  302|      0|	    PROTECT(s);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  303|      0|	    pci.con = NULL;
  304|      0|	    con->close(con);
  305|      0|	    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  306|      0|	}
  307|     12|    }
  308|      0|    else {
  309|      0|	if (num == NA_INTEGER) num = 1;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (309:6): [True: 0, False: 0]
  ------------------
  310|      0|	s = R_ParseBuffer(&R_ConsoleIob, num, &status, prompt, source);
  311|      0|    }
  312|     12|    if (status != PARSE_OK) parseError(call, R_ParseError);
  ------------------
  |  Branch (312:9): [True: 0, False: 12]
  ------------------
  313|       |
  314|     12|    known_to_be_latin1 = pci.old_latin1;
  315|     12|    known_to_be_utf8 = pci.old_utf8;
  316|     12|    PROTECT(s);
  ------------------
  |  |  357|     12|#define PROTECT(s)	Rf_protect(s)
  ------------------
  317|     12|    endcontext(&cntxt);
  ------------------
  |  | 1900|     12|# define endcontext		Rf_endcontext
  ------------------
  318|     12|    UNPROTECT(3);
  ------------------
  |  |  358|     12|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  319|     12|    return s;
  320|     12|}

do_sprintf:
  124|     68|{
  125|     68|    int i, nargs, cnt, v, thislen, nfmt, nprotect = 0;
  126|       |    /* fmt2 is a copy of fmt with '*' expanded.
  127|       |       bit will hold numeric formats and %<w>s, so be quite small. */
  128|     68|    char fmt[MAXLINE+1], fmt2[MAXLINE+10], *fmtp, bit[MAXLINE+1],
  129|     68|	*outputString;
  130|     68|    const char *formatString;
  131|     68|    size_t n, cur, chunk;
  132|       |
  133|     68|    SEXP format, _this, a[MAXNARGS], ans /* -Wall */ = R_NilValue;
  134|     68|    int ns, maxlen, lens[MAXNARGS], nthis, nstar, star_arg = 0, nunused;
  135|     68|    bool used[MAXNARGS];
  136|     68|    static R_StringBuffer outbuff = {NULL, 0, MAXELTSIZE};
  ------------------
  |  |   85|     68|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  ------------------
  137|     68|    bool has_star, use_UTF8;
  138|       |
  139|     68|#define _my_sprintf(_X_)						\
  140|     68|    {									\
  141|     68|	boundspec(fmtp);						\
  142|     68|	int nc = snprintf(bit, MAXLINE+1, fmtp, _X_);			\
  143|     68|	if (nc > MAXLINE)						\
  144|     68|	    error(_("required resulting string length %d is greater than maximal %d"), \
  145|     68|		  nc, MAXLINE);						\
  146|     68|    }
  147|       |
  148|     68|    nargs = length(args);
  ------------------
  |  |  987|     68|#define length(x)		Rf_length(x)
  ------------------
  149|       |    /* grab the format string */
  150|     68|    format = CAR(args);
  151|     68|    if (!isString(format))
  ------------------
  |  |  966|     68|#define isString		Rf_isString
  ------------------
  |  Branch (151:9): [True: 0, False: 68]
  ------------------
  152|      0|	error(_("'fmt' is not a character vector"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'fmt' is not a character vector"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  153|     68|    nfmt = length(format);
  ------------------
  |  |  987|     68|#define length(x)		Rf_length(x)
  ------------------
  154|     68|    if (nfmt == 0) return allocVector(STRSXP, 0);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
                  if (nfmt == 0) return allocVector(STRSXP, 0);
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (154:9): [True: 0, False: 68]
  ------------------
  155|     68|    args = CDR(args); nargs--;
  156|     68|    if(nargs >= MAXNARGS)
  ------------------
  |  |   35|     68|#define MAXNARGS 100
  ------------------
  |  Branch (156:8): [True: 0, False: 68]
  ------------------
  157|      0|	error(_("only %d arguments are allowed"), MAXNARGS);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("only %d arguments are allowed"), MAXNARGS);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
              	error(_("only %d arguments are allowed"), MAXNARGS);
  ------------------
  |  |   35|      0|#define MAXNARGS 100
  ------------------
  158|       |
  159|       |    /* record the args for possible coercion and later re-ordering */
  160|    136|    for(i = 0; i < nargs; i++, args = CDR(args)) {
  ------------------
  |  Branch (160:16): [True: 68, False: 68]
  ------------------
  161|     68|	SEXPTYPE t_ai;
  162|     68|	a[i] = CAR(args);
  163|     68|	used[i] = false;
  164|     68|	if((t_ai = TYPEOF(a[i])) == LANGSXP || t_ai == SYMSXP) /* << maybe add more .. */
  ------------------
  |  |  117|    136|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
              	if((t_ai = TYPEOF(a[i])) == LANGSXP || t_ai == SYMSXP) /* << maybe add more .. */
  ------------------
  |  |  112|     68|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (164:5): [True: 0, False: 68]
  |  Branch (164:41): [True: 0, False: 68]
  ------------------
  165|      0|	    error(_("invalid type of argument[%d]: '%s'"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("invalid type of argument[%d]: '%s'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  166|      0|		  i+1, CHAR(type2str(t_ai)));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  167|     68|	lens[i] = length(a[i]);
  ------------------
  |  |  987|     68|#define length(x)		Rf_length(x)
  ------------------
  168|     68|	if(lens[i] == 0) return allocVector(STRSXP, 0);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              	if(lens[i] == 0) return allocVector(STRSXP, 0);
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (168:5): [True: 0, False: 68]
  ------------------
  169|     68|    }
  170|       |
  171|     68|#define CHECK_maxlen							\
  172|     68|    maxlen = nfmt;							\
  173|     68|    for(i = 0; i < nargs; i++)						\
  174|     68|	if(maxlen < lens[i]) maxlen = lens[i];				\
  175|     68|    if(maxlen % nfmt)							\
  176|     68|	error(_("arguments cannot be recycled to the same length"));	\
  177|     68|    for(i = 0; i < nargs; i++)						\
  178|     68|	if(maxlen % lens[i])						\
  179|     68|	    error(_("arguments cannot be recycled to the same length"))
  180|       |
  181|     68|    CHECK_maxlen;
  ------------------
  |  |  172|     68|    maxlen = nfmt;							\
  |  |  173|    136|    for(i = 0; i < nargs; i++)						\
  |  |  ------------------
  |  |  |  Branch (173:16): [True: 68, False: 68]
  |  |  ------------------
  |  |  174|     68|	if(maxlen < lens[i]) maxlen = lens[i];				\
  |  |  ------------------
  |  |  |  Branch (174:5): [True: 0, False: 68]
  |  |  ------------------
  |  |  175|     68|    if(maxlen % nfmt)							\
  |  |  ------------------
  |  |  |  Branch (175:8): [True: 0, False: 68]
  |  |  ------------------
  |  |  176|     68|	error(_("arguments cannot be recycled to the same length"));	\
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	error(_("arguments cannot be recycled to the same length"));	\
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  |  177|    136|    for(i = 0; i < nargs; i++)						\
  |  |  ------------------
  |  |  |  Branch (177:16): [True: 68, False: 68]
  |  |  ------------------
  |  |  178|     68|	if(maxlen % lens[i])						\
  |  |  ------------------
  |  |  |  Branch (178:5): [True: 0, False: 68]
  |  |  ------------------
  |  |  179|     68|	    error(_("arguments cannot be recycled to the same length"))
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	    error(_("arguments cannot be recycled to the same length"))
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  ------------------
  182|       |
  183|     68|    outputString = R_AllocStringBuffer(0, &outbuff);
  184|       |
  185|       |    /* We do the format analysis a row at a time */
  186|    136|    for(ns = 0; ns < maxlen; ns++) {
  ------------------
  |  Branch (186:17): [True: 68, False: 68]
  ------------------
  187|     68|	outputString[0] = '\0';
  188|     68|	use_UTF8 = getCharCE(STRING_ELT(format, ns % nfmt)) == CE_UTF8;
  ------------------
  |  |  925|     68|#define getCharCE		Rf_getCharCE
  ------------------
  189|     68|	if (!use_UTF8) {
  ------------------
  |  Branch (189:6): [True: 68, False: 0]
  ------------------
  190|    136|	    for(i = 0; i < nargs; i++) {
  ------------------
  |  Branch (190:17): [True: 68, False: 68]
  ------------------
  191|     68|		if (!isString(a[i])) continue;
  ------------------
  |  |  966|     68|#define isString		Rf_isString
  ------------------
  |  Branch (191:7): [True: 0, False: 68]
  ------------------
  192|     68|		if (getCharCE(STRING_ELT(a[i], ns % lens[i])) == CE_UTF8) {
  ------------------
  |  |  925|     68|#define getCharCE		Rf_getCharCE
  ------------------
  |  Branch (192:7): [True: 0, False: 68]
  ------------------
  193|      0|		    use_UTF8 = true; break;
  194|      0|		}
  195|     68|	    }
  196|     68|	}
  197|       |
  198|     68|	formatString = TRANSLATE_CHAR(format, ns % nfmt);
  ------------------
  |  |  119|     68|   ((use_UTF8) ? translateCharUTF8(STRING_ELT(_STR_, _i_))  \
  |  |  ------------------
  |  |  |  | 1039|      0|#define translateCharUTF8      	Rf_translateCharUTF8
  |  |  ------------------
  |  |  |  Branch (119:5): [True: 0, False: 68]
  |  |  ------------------
  |  |  120|     68|    : translateChar(STRING_ELT(_STR_, _i_)))
  |  |  ------------------
  |  |  |  | 1037|     68|#define translateChar		Rf_translateChar
  |  |  ------------------
  ------------------
  199|     68|	n = strlen(formatString);
  200|     68|	if (n > MAXLINE)
  ------------------
  |  |   34|     68|#define MAXLINE MAXELTSIZE
  |  |  ------------------
  |  |  |  |   85|     68|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  ------------------
  ------------------
  |  Branch (200:6): [True: 0, False: 68]
  ------------------
  201|      0|	    error(_("'fmt' length exceeds maximal format length %d"), MAXLINE);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("'fmt' length exceeds maximal format length %d"), MAXLINE);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
              	    error(_("'fmt' length exceeds maximal format length %d"), MAXLINE);
  ------------------
  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  ------------------
  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  ------------------
  ------------------
  202|       |	/* process the format string */
  203|    244|	for (cur = 0, cnt = 0; cur < n; cur += chunk) {
  ------------------
  |  Branch (203:25): [True: 176, False: 68]
  ------------------
  204|    176|	    const char *curFormat = formatString + cur, *ss;
  205|    176|	    char *starc;
  206|    176|	    ss = NULL;
  207|    176|	    if (formatString[cur] == '%') { /* handle special format command */
  ------------------
  |  Branch (207:10): [True: 68, False: 108]
  ------------------
  208|       |
  209|     68|		if (cur < n - 1 && formatString[cur + 1] == '%') {
  ------------------
  |  Branch (209:7): [True: 68, False: 0]
  |  Branch (209:22): [True: 0, False: 68]
  ------------------
  210|       |		    /* take care of %% in the format */
  211|      0|		    chunk = 2;
  212|      0|		    strcpy(bit, "%");
  213|      0|		}
  214|     68|		else {
  215|       |		    /* recognise selected types from Table B-1 of K&R */
  216|       |		    /* NB: we deal with "%%" in branch above. */
  217|       |		    /* This is MBCS-OK, as we are in a format spec */
  218|     68|		    chunk = strcspn(curFormat + 1, "diosfeEgGxXaA") + 2;
  219|     68|		    if (cur + chunk > n)
  ------------------
  |  Branch (219:11): [True: 0, False: 68]
  ------------------
  220|      0|			error(_("unrecognised format specification '%s'"), curFormat);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              			error(_("unrecognised format specification '%s'"), curFormat);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  221|       |
  222|     68|		    strncpy(fmt, curFormat, chunk);
  223|     68|		    fmt[chunk] = '\0';
  224|       |
  225|     68|		    nthis = -1;
  226|       |		    /* now look for %n$ or %nn$ form */
  227|     68|		    if (strlen(fmt) > 3 && fmt[1] >= '1' && fmt[1] <= '9') {
  ------------------
  |  Branch (227:11): [True: 0, False: 68]
  |  Branch (227:30): [True: 0, False: 0]
  |  Branch (227:47): [True: 0, False: 0]
  ------------------
  228|      0|			v = fmt[1] - '0';
  229|      0|			if(fmt[2] == '$') {
  ------------------
  |  Branch (229:7): [True: 0, False: 0]
  ------------------
  230|      0|			    if(v > nargs)
  ------------------
  |  Branch (230:11): [True: 0, False: 0]
  ------------------
  231|      0|				error(_("reference to non-existent argument %d"), v);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              				error(_("reference to non-existent argument %d"), v);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  232|      0|			    nthis = v-1;
  233|      0|			    memmove(fmt+1, fmt+3, strlen(fmt)-2);
  234|      0|			} else if(fmt[2] >= '0' && fmt[2] <= '9' && fmt[3] == '$') {
  ------------------
  |  Branch (234:14): [True: 0, False: 0]
  |  Branch (234:31): [True: 0, False: 0]
  |  Branch (234:48): [True: 0, False: 0]
  ------------------
  235|      0|			    v = 10*v + fmt[2] - '0';
  236|      0|			    if(v > nargs)
  ------------------
  |  Branch (236:11): [True: 0, False: 0]
  ------------------
  237|      0|				error(_("reference to non-existent argument %d"), v);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              				error(_("reference to non-existent argument %d"), v);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  238|      0|			    nthis = v-1;
  239|      0|			    memmove(fmt+1, fmt+4, strlen(fmt)-3);
  240|      0|			}
  241|      0|		    }
  242|       |
  243|     68|		    starc = Rf_strchr(fmt, '*');
  244|     68|		    if (starc) { /* handle  *  format if present */
  ------------------
  |  Branch (244:11): [True: 0, False: 68]
  ------------------
  245|      0|			nstar = -1;
  246|      0|			if (strlen(starc) > 3 && starc[1] >= '1' && starc[1] <= '9') {
  ------------------
  |  Branch (246:8): [True: 0, False: 0]
  |  Branch (246:29): [True: 0, False: 0]
  |  Branch (246:48): [True: 0, False: 0]
  ------------------
  247|      0|			    v = starc[1] - '0';
  248|      0|			    if(starc[2] == '$') {
  ------------------
  |  Branch (248:11): [True: 0, False: 0]
  ------------------
  249|      0|				if(v > nargs)
  ------------------
  |  Branch (249:8): [True: 0, False: 0]
  ------------------
  250|      0|				    error(_("reference to non-existent argument %d"), v);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              				    error(_("reference to non-existent argument %d"), v);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  251|      0|				nstar = v-1;
  252|      0|				memmove(starc+1, starc+3, strlen(starc)-2);
  253|      0|			    } else if(starc[2] >= '0' && starc[2] <= '9'
  ------------------
  |  Branch (253:18): [True: 0, False: 0]
  |  Branch (253:37): [True: 0, False: 0]
  ------------------
  254|      0|				      && starc[3] == '$') {
  ------------------
  |  Branch (254:14): [True: 0, False: 0]
  ------------------
  255|      0|				v = 10*v + starc[2] - '0';
  256|      0|				if(v > nargs)
  ------------------
  |  Branch (256:8): [True: 0, False: 0]
  ------------------
  257|      0|				    error(_("reference to non-existent argument %d"), v);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              				    error(_("reference to non-existent argument %d"), v);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  258|      0|				nstar = v-1;
  259|      0|				memmove(starc+1, starc+4, strlen(starc)-3);
  260|      0|			    }
  261|      0|			}
  262|       |
  263|      0|			if(nstar < 0) {
  ------------------
  |  Branch (263:7): [True: 0, False: 0]
  ------------------
  264|      0|			    if (cnt >= nargs) error(_("too few arguments"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              			    if (cnt >= nargs) error(_("too few arguments"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (264:12): [True: 0, False: 0]
  ------------------
  265|      0|			    nstar = cnt++;
  266|      0|			}
  267|       |
  268|      0|			if (Rf_strchr(starc+1, '*'))
  ------------------
  |  Branch (268:8): [True: 0, False: 0]
  ------------------
  269|      0|			    error(_("at most one asterisk '*' is supported in each conversion specification"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              			    error(_("at most one asterisk '*' is supported in each conversion specification"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  270|       |
  271|      0|			_this = a[nstar];
  272|      0|			used[nstar] = true;
  273|      0|			if(ns == 0 && TYPEOF(_this) == REALSXP) {
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (273:7): [True: 0, False: 0]
  |  Branch (273:18): [True: 0, False: 0]
  ------------------
  274|      0|			    _this = coerceVector(_this, INTSXP);
  ------------------
  |  |  895|      0|#define coerceVector		Rf_coerceVector
  ------------------
              			    _this = coerceVector(_this, INTSXP);
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  275|      0|			    PROTECT(a[nstar] = _this);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  276|      0|			    nprotect++;
  277|      0|			}
  278|      0|			if(TYPEOF(_this) != INTSXP || LENGTH(_this)<1 ||
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (278:7): [True: 0, False: 0]
  |  Branch (278:34): [True: 0, False: 0]
  ------------------
  279|      0|			   INTEGER(_this)[ns % LENGTH(_this)] == NA_INTEGER)
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (279:7): [True: 0, False: 0]
  ------------------
  280|      0|			    error(_("argument for '*' conversion specification must be a number"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              			    error(_("argument for '*' conversion specification must be a number"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  281|      0|			star_arg = INTEGER(_this)[ns % LENGTH(_this)];
  282|      0|			has_star = true;
  283|      0|		    }
  284|     68|		    else
  285|     68|			has_star = false;
  286|       |
  287|     68|		    if (fmt[strlen(fmt) - 1] == '%') {
  ------------------
  |  Branch (287:11): [True: 0, False: 68]
  ------------------
  288|       |			/* handle % with formatting options */
  289|      0|			if (has_star)
  ------------------
  |  Branch (289:8): [True: 0, False: 0]
  ------------------
  290|      0|			    snprintf(bit, MAXLINE+1, fmt, star_arg);
  ------------------
  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  ------------------
  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  ------------------
  ------------------
  291|      0|			else
  292|      0|			    strcpy(bit, fmt);
  293|       |			/* was sprintf(..)  for which some compiler warn */
  294|     68|		    } else {
  295|     68|			bool did_this = false;
  296|     68|			if(nthis < 0) {
  ------------------
  |  Branch (296:7): [True: 68, False: 0]
  ------------------
  297|     68|			    if (cnt >= nargs) error(_("too few arguments"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              			    if (cnt >= nargs) error(_("too few arguments"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (297:12): [True: 0, False: 68]
  ------------------
  298|     68|			    nthis = cnt++;
  299|     68|			}
  300|     68|			_this = a[nthis];
  301|     68|			used[nthis] = true;
  302|     68|			if (has_star) {
  ------------------
  |  Branch (302:8): [True: 0, False: 68]
  ------------------
  303|      0|			    size_t nf; char *p, *q = fmt2;
  304|      0|			    for (p = fmt; *p; p++)
  ------------------
  |  Branch (304:22): [True: 0, False: 0]
  ------------------
  305|      0|				if (*p == '*')
  ------------------
  |  Branch (305:9): [True: 0, False: 0]
  ------------------
  306|      0|				    q += snprintf(q, sizeof(fmt2) - (q - fmt2),
  307|      0|						  "%d", star_arg);
  308|      0|				else *q++ = *p;
  309|      0|			    *q = '\0';
  310|      0|			    nf = strlen(fmt2);
  311|      0|			    if (nf > MAXLINE)
  ------------------
  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  ------------------
  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  ------------------
  ------------------
  |  Branch (311:12): [True: 0, False: 0]
  ------------------
  312|      0|				error(_("'fmt' length exceeds maximal format length %d"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              				error(_("'fmt' length exceeds maximal format length %d"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  313|      0|				      MAXLINE);
  ------------------
  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  ------------------
  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  ------------------
  ------------------
  314|      0|			    fmtp = fmt2;
  315|     68|			} else fmtp = fmt;
  316|       |
  317|     68|#define CHECK_this_length						\
  318|     68|			do {						\
  319|     68|			    PROTECT(_this);				\
  320|     68|			    thislen = length(_this);			\
  321|     68|			    if(thislen == 0)				\
  322|     68|				error(_("coercion has changed vector length to 0")); \
  323|     68|			} while (0)
  324|       |
  325|       |			/* Now let us see if some minimal coercion
  326|       |			   would be sensible, but only do so once, for ns = 0: */
  327|     68|			if(ns == 0) {
  ------------------
  |  Branch (327:7): [True: 68, False: 0]
  ------------------
  328|     68|			    SEXP tmp;
  329|     68|			    bool do_check;
  330|     68|			    switch(*findspec(fmtp)) {
  331|      0|			    case 'd':
  ------------------
  |  Branch (331:8): [True: 0, False: 68]
  ------------------
  332|      0|			    case 'i':
  ------------------
  |  Branch (332:8): [True: 0, False: 68]
  ------------------
  333|      0|			    case 'o':
  ------------------
  |  Branch (333:8): [True: 0, False: 68]
  ------------------
  334|      0|			    case 'x':
  ------------------
  |  Branch (334:8): [True: 0, False: 68]
  ------------------
  335|      0|			    case 'X':
  ------------------
  |  Branch (335:8): [True: 0, False: 68]
  ------------------
  336|      0|				if(TYPEOF(_this) == REALSXP) {
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (336:8): [True: 0, False: 0]
  ------------------
  337|       |				    // qdapTools manages to call this with NaN
  338|      0|				    bool exactlyInteger = true;
  339|      0|				    R_xlen_t i = 0;
  340|      0|				    R_xlen_t n = XLENGTH(_this);
  341|      0|				    for(i = 0; i < n; i++) {
  ------------------
  |  Branch (341:20): [True: 0, False: 0]
  ------------------
  342|      0|					double r = REAL(_this)[i];
  343|      0|					if (R_IsNA(r)) continue; // NA_REAL is ok
  ------------------
  |  Branch (343:10): [True: 0, False: 0]
  ------------------
  344|      0|					if (!R_FINITE(r) || (double)((int) r) != r) {
  ------------------
  |  |   82|      0|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (344:10): [True: 0, False: 0]
  |  Branch (344:26): [True: 0, False: 0]
  ------------------
  345|      0|					    exactlyInteger = false;
  346|      0|					    break;
  347|      0|					}
  348|      0|				    } 
  349|      0|				    if(exactlyInteger)
  ------------------
  |  Branch (349:12): [True: 0, False: 0]
  ------------------
  350|      0|					_this = coerceVector(_this, INTSXP);
  ------------------
  |  |  895|      0|#define coerceVector		Rf_coerceVector
  ------------------
              					_this = coerceVector(_this, INTSXP);
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  351|      0|				    PROTECT(a[nthis] = _this);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  352|      0|				    nprotect++;
  353|      0|				}
  354|      0|				break;
  355|      0|			    case 'a':
  ------------------
  |  Branch (355:8): [True: 0, False: 68]
  ------------------
  356|      0|			    case 'A':
  ------------------
  |  Branch (356:8): [True: 0, False: 68]
  ------------------
  357|      0|			    case 'e':
  ------------------
  |  Branch (357:8): [True: 0, False: 68]
  ------------------
  358|      0|			    case 'f':
  ------------------
  |  Branch (358:8): [True: 0, False: 68]
  ------------------
  359|      0|			    case 'g':
  ------------------
  |  Branch (359:8): [True: 0, False: 68]
  ------------------
  360|      0|			    case 'E':
  ------------------
  |  Branch (360:8): [True: 0, False: 68]
  ------------------
  361|      0|			    case 'G':
  ------------------
  |  Branch (361:8): [True: 0, False: 68]
  ------------------
  362|      0|				if(TYPEOF(_this) != REALSXP &&
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (362:8): [True: 0, False: 0]
  ------------------
  363|       |				   /* no automatic as.double(<string>) : */
  364|      0|				   TYPEOF(_this) != STRSXP) {
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (364:8): [True: 0, False: 0]
  ------------------
  365|      0|				    PROTECT(tmp = lang2(install("as.double"), _this));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  366|      0|#define COERCE_THIS_TO_A						\
  367|      0|				    _this = eval(tmp, env);		\
  368|      0|				    UNPROTECT(1);			\
  369|      0|				    PROTECT(a[nthis] = _this);		\
  370|      0|				    nprotect++;				\
  371|      0|				    did_this = true;			\
  372|      0|				    CHECK_this_length;			\
  373|      0|				    do_check = (lens[nthis] == maxlen);	\
  374|      0|				    lens[nthis] = thislen; /* may have changed! */ \
  375|      0|				    if(do_check && thislen < maxlen) {	\
  376|      0|					CHECK_maxlen;			\
  377|      0|				    }
  378|       |
  379|      0|				    COERCE_THIS_TO_A
  ------------------
  |  |  367|      0|				    _this = eval(tmp, env);		\
  |  |  ------------------
  |  |  |  |  913|      0|#define eval			Rf_eval
  |  |  ------------------
  |  |  368|      0|				    UNPROTECT(1);			\
  |  |  ------------------
  |  |  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  |  |  ------------------
  |  |  369|      0|				    PROTECT(a[nthis] = _this);		\
  |  |  ------------------
  |  |  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  |  370|      0|				    nprotect++;				\
  |  |  371|      0|				    did_this = true;			\
  |  |  372|      0|				    CHECK_this_length;			\
  |  |  ------------------
  |  |  |  |  318|      0|			do {						\
  |  |  |  |  319|      0|			    PROTECT(_this);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  |  |  |  |  ------------------
  |  |  |  |  320|      0|			    thislen = length(_this);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  987|      0|#define length(x)		Rf_length(x)
  |  |  |  |  ------------------
  |  |  |  |  321|      0|			    if(thislen == 0)				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (321:11): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  322|      0|				error(_("coercion has changed vector length to 0")); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  ------------------
  |  |  |  |               				error(_("coercion has changed vector length to 0")); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  |  |  ------------------
  |  |  |  |  323|      0|			} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (323:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  373|      0|				    do_check = (lens[nthis] == maxlen);	\
  |  |  374|      0|				    lens[nthis] = thislen; /* may have changed! */ \
  |  |  375|      0|				    if(do_check && thislen < maxlen) {	\
  |  |  ------------------
  |  |  |  Branch (375:12): [True: 0, False: 0]
  |  |  |  Branch (375:24): [True: 0, False: 0]
  |  |  ------------------
  |  |  376|      0|					CHECK_maxlen;			\
  |  |  ------------------
  |  |  |  |  172|      0|    maxlen = nfmt;							\
  |  |  |  |  173|      0|    for(i = 0; i < nargs; i++)						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (173:16): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  174|      0|	if(maxlen < lens[i]) maxlen = lens[i];				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (174:5): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  175|      0|    if(maxlen % nfmt)							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (175:8): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  176|      0|	error(_("arguments cannot be recycled to the same length"));	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  ------------------
  |  |  |  |               	error(_("arguments cannot be recycled to the same length"));	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  |  |  ------------------
  |  |  |  |  177|      0|    for(i = 0; i < nargs; i++)						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (177:16): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  178|      0|	if(maxlen % lens[i])						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (178:5): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  179|      0|	    error(_("arguments cannot be recycled to the same length"))
  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  ------------------
  |  |  |  |               	    error(_("arguments cannot be recycled to the same length"))
  |  |  |  |  ------------------
  |  |  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  377|      0|				    }
  ------------------
  380|      0|				}
  381|      0|				break;
  382|     68|			    case 's':
  ------------------
  |  Branch (382:8): [True: 68, False: 0]
  ------------------
  383|     68|				if(TYPEOF(_this) != STRSXP) {
  ------------------
  |  |  126|     68|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (383:8): [True: 0, False: 68]
  ------------------
  384|       |				    /* as.character method might call sprintf() */
  385|      0|				    size_t nc = strlen(outputString);
  386|      0|				    char *z = R_Calloc(nc+1, char);
  ------------------
  |  |   55|      0|#define R_Calloc(n, t)   (t *) R_chk_calloc( (R_SIZE_T) (n), sizeof(t) )
  ------------------
  387|      0|				    strcpy(z, outputString);
  388|      0|				    PROTECT(tmp = lang2(R_AsCharacterSymbol, _this));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  389|       |
  390|      0|				    COERCE_THIS_TO_A
  ------------------
  |  |  367|      0|				    _this = eval(tmp, env);		\
  |  |  ------------------
  |  |  |  |  913|      0|#define eval			Rf_eval
  |  |  ------------------
  |  |  368|      0|				    UNPROTECT(1);			\
  |  |  ------------------
  |  |  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  |  |  ------------------
  |  |  369|      0|				    PROTECT(a[nthis] = _this);		\
  |  |  ------------------
  |  |  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  |  370|      0|				    nprotect++;				\
  |  |  371|      0|				    did_this = true;			\
  |  |  372|      0|				    CHECK_this_length;			\
  |  |  ------------------
  |  |  |  |  318|      0|			do {						\
  |  |  |  |  319|      0|			    PROTECT(_this);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  |  |  |  |  ------------------
  |  |  |  |  320|      0|			    thislen = length(_this);			\
  |  |  |  |  ------------------
  |  |  |  |  |  |  987|      0|#define length(x)		Rf_length(x)
  |  |  |  |  ------------------
  |  |  |  |  321|      0|			    if(thislen == 0)				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (321:11): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  322|      0|				error(_("coercion has changed vector length to 0")); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  ------------------
  |  |  |  |               				error(_("coercion has changed vector length to 0")); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  |  |  ------------------
  |  |  |  |  323|      0|			} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (323:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  373|      0|				    do_check = (lens[nthis] == maxlen);	\
  |  |  374|      0|				    lens[nthis] = thislen; /* may have changed! */ \
  |  |  375|      0|				    if(do_check && thislen < maxlen) {	\
  |  |  ------------------
  |  |  |  Branch (375:12): [True: 0, False: 0]
  |  |  |  Branch (375:24): [True: 0, False: 0]
  |  |  ------------------
  |  |  376|      0|					CHECK_maxlen;			\
  |  |  ------------------
  |  |  |  |  172|      0|    maxlen = nfmt;							\
  |  |  |  |  173|      0|    for(i = 0; i < nargs; i++)						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (173:16): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  174|      0|	if(maxlen < lens[i]) maxlen = lens[i];				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (174:5): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  175|      0|    if(maxlen % nfmt)							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (175:8): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  176|      0|	error(_("arguments cannot be recycled to the same length"));	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  ------------------
  |  |  |  |               	error(_("arguments cannot be recycled to the same length"));	\
  |  |  |  |  ------------------
  |  |  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  |  |  ------------------
  |  |  |  |  177|      0|    for(i = 0; i < nargs; i++)						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (177:16): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  178|      0|	if(maxlen % lens[i])						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (178:5): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  179|      0|	    error(_("arguments cannot be recycled to the same length"))
  |  |  |  |  ------------------
  |  |  |  |  |  |   88|      0|#define error Rf_error
  |  |  |  |  ------------------
  |  |  |  |               	    error(_("arguments cannot be recycled to the same length"))
  |  |  |  |  ------------------
  |  |  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  377|      0|				    }
  ------------------
  391|      0|				    outputString = R_AllocStringBuffer(nc + 1,
  392|      0|				                                       &outbuff);
  393|      0|				    strcpy(outputString, z);
  394|      0|				    R_Free(z);
  ------------------
  |  |   57|      0|#define R_Free(p)      (R_chk_free( (void *)(p) ), (p) = NULL)
  ------------------
  395|      0|				}
  396|     68|				break;
  397|      0|			    default:
  ------------------
  |  Branch (397:8): [True: 0, False: 68]
  ------------------
  398|      0|				break;
  399|     68|			    }
  400|     68|			} /* ns == 0 (first-time only) */
  401|       |
  402|     68|			if(!did_this)
  ------------------
  |  Branch (402:7): [True: 68, False: 0]
  ------------------
  403|     68|			    CHECK_this_length;
  ------------------
  |  |  318|     68|			do {						\
  |  |  319|     68|			    PROTECT(_this);				\
  |  |  ------------------
  |  |  |  |  357|     68|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  |  320|     68|			    thislen = length(_this);			\
  |  |  ------------------
  |  |  |  |  987|     68|#define length(x)		Rf_length(x)
  |  |  ------------------
  |  |  321|     68|			    if(thislen == 0)				\
  |  |  ------------------
  |  |  |  Branch (321:11): [True: 0, False: 68]
  |  |  ------------------
  |  |  322|     68|				error(_("coercion has changed vector length to 0")); \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               				error(_("coercion has changed vector length to 0")); \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  |  323|     68|			} while (0)
  |  |  ------------------
  |  |  |  Branch (323:13): [Folded, False: 68]
  |  |  ------------------
  ------------------
  404|       |
  405|     68|			switch(TYPEOF(_this)) {
  406|      0|			case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (406:4): [True: 0, False: 68]
  ------------------
  407|      0|			    {
  408|      0|				int x = LOGICAL(_this)[ns % thislen];
  409|      0|				if (checkfmt(fmtp, "di"))
  ------------------
  |  Branch (409:9): [True: 0, False: 0]
  ------------------
  410|      0|				    error(_("invalid format '%s'; %s"), fmtp,
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              				    error(_("invalid format '%s'; %s"), fmtp,
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  411|      0|					  _("use format %d or %i for logical objects"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  412|      0|				if (x == NA_LOGICAL) {
  ------------------
  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (412:9): [True: 0, False: 0]
  ------------------
  413|      0|				    fmtp[strlen(fmtp)-1] = 's';
  414|      0|				    _my_sprintf("NA")
  ------------------
  |  |  140|      0|    {									\
  |  |  141|      0|	boundspec(fmtp);						\
  |  |  142|      0|	int nc = snprintf(bit, MAXLINE+1, fmtp, _X_);			\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  143|      0|	if (nc > MAXLINE)						\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (143:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  144|      0|	    error(_("required resulting string length %d is greater than maximal %d"), \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	    error(_("required resulting string length %d is greater than maximal %d"), \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  |  145|      0|		  nc, MAXLINE);						\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  146|      0|    }
  ------------------
  415|      0|				} else {
  416|      0|				    _my_sprintf(x)
  ------------------
  |  |  140|      0|    {									\
  |  |  141|      0|	boundspec(fmtp);						\
  |  |  142|      0|	int nc = snprintf(bit, MAXLINE+1, fmtp, _X_);			\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  143|      0|	if (nc > MAXLINE)						\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (143:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  144|      0|	    error(_("required resulting string length %d is greater than maximal %d"), \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	    error(_("required resulting string length %d is greater than maximal %d"), \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  |  145|      0|		  nc, MAXLINE);						\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  146|      0|    }
  ------------------
  417|      0|				}
  418|      0|				break;
  419|      0|			    }
  420|      0|			case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (420:4): [True: 0, False: 68]
  ------------------
  421|      0|			    {
  422|      0|				int x = INTEGER(_this)[ns % thislen];
  423|      0|				if (checkfmt(fmtp, "dioxX"))
  ------------------
  |  Branch (423:9): [True: 0, False: 0]
  ------------------
  424|      0|				    error(_("invalid format '%s'; %s"), fmtp,
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              				    error(_("invalid format '%s'; %s"), fmtp,
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  425|      0|					  _("use format %d, %i, %o, %x or %X for integer objects"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  426|      0|				if (x == NA_INTEGER) {
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (426:9): [True: 0, False: 0]
  ------------------
  427|      0|				    fmtp[strlen(fmtp)-1] = 's';
  428|      0|				    _my_sprintf("NA")
  ------------------
  |  |  140|      0|    {									\
  |  |  141|      0|	boundspec(fmtp);						\
  |  |  142|      0|	int nc = snprintf(bit, MAXLINE+1, fmtp, _X_);			\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  143|      0|	if (nc > MAXLINE)						\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (143:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  144|      0|	    error(_("required resulting string length %d is greater than maximal %d"), \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	    error(_("required resulting string length %d is greater than maximal %d"), \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  |  145|      0|		  nc, MAXLINE);						\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  146|      0|    }
  ------------------
  429|      0|				} else {
  430|      0|				    _my_sprintf(x)
  ------------------
  |  |  140|      0|    {									\
  |  |  141|      0|	boundspec(fmtp);						\
  |  |  142|      0|	int nc = snprintf(bit, MAXLINE+1, fmtp, _X_);			\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  143|      0|	if (nc > MAXLINE)						\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (143:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  144|      0|	    error(_("required resulting string length %d is greater than maximal %d"), \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	    error(_("required resulting string length %d is greater than maximal %d"), \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  |  145|      0|		  nc, MAXLINE);						\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  146|      0|    }
  ------------------
  431|      0|				}
  432|      0|				break;
  433|      0|			    }
  434|      0|			case REALSXP:
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (434:4): [True: 0, False: 68]
  ------------------
  435|      0|			    {
  436|      0|				double x = REAL(_this)[ns % thislen];
  437|      0|				if (checkfmt(fmtp, "aAfeEgG"))
  ------------------
  |  Branch (437:9): [True: 0, False: 0]
  ------------------
  438|      0|				    error(_("invalid format '%s'; %s"), fmtp,
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              				    error(_("invalid format '%s'; %s"), fmtp,
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  439|      0|					  _("use format %f, %e, %g or %a for numeric objects"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  440|      0|				if (R_FINITE(x)) {
  ------------------
  |  |   82|      0|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (440:9): [True: 0, False: 0]
  ------------------
  441|      0|				    _my_sprintf(x)
  ------------------
  |  |  140|      0|    {									\
  |  |  141|      0|	boundspec(fmtp);						\
  |  |  142|      0|	int nc = snprintf(bit, MAXLINE+1, fmtp, _X_);			\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  143|      0|	if (nc > MAXLINE)						\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (143:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  144|      0|	    error(_("required resulting string length %d is greater than maximal %d"), \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	    error(_("required resulting string length %d is greater than maximal %d"), \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  |  145|      0|		  nc, MAXLINE);						\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  146|      0|    }
  ------------------
  442|      0|				} else {
  443|      0|				    char *p = Rf_strchr(fmtp, '.');
  444|      0|				    if (p) {
  ------------------
  |  Branch (444:13): [True: 0, False: 0]
  ------------------
  445|      0|					*p++ = 's'; *p ='\0';
  446|      0|				    } else
  447|      0|					fmtp[strlen(fmtp)-1] = 's';
  448|      0|				    if (ISNA(x)) {
  ------------------
  |  |   64|      0|#define ISNA(x)	       R_IsNA(x)
  |  |  ------------------
  |  |  |  Branch (64:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  449|      0|					if (strcspn(fmtp, " ") < strlen(fmtp))
  ------------------
  |  Branch (449:10): [True: 0, False: 0]
  ------------------
  450|      0|					    _my_sprintf(" NA")
  ------------------
  |  |  140|      0|    {									\
  |  |  141|      0|	boundspec(fmtp);						\
  |  |  142|      0|	int nc = snprintf(bit, MAXLINE+1, fmtp, _X_);			\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  143|      0|	if (nc > MAXLINE)						\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (143:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  144|      0|	    error(_("required resulting string length %d is greater than maximal %d"), \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	    error(_("required resulting string length %d is greater than maximal %d"), \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  |  145|      0|		  nc, MAXLINE);						\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  146|      0|    }
  ------------------
  451|      0|					else
  452|      0|					    _my_sprintf("NA")
  ------------------
  |  |  140|      0|    {									\
  |  |  141|      0|	boundspec(fmtp);						\
  |  |  142|      0|	int nc = snprintf(bit, MAXLINE+1, fmtp, _X_);			\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  143|      0|	if (nc > MAXLINE)						\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (143:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  144|      0|	    error(_("required resulting string length %d is greater than maximal %d"), \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	    error(_("required resulting string length %d is greater than maximal %d"), \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  |  145|      0|		  nc, MAXLINE);						\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  146|      0|    }
  ------------------
  453|      0|				    } else if (ISNAN(x)) {
  ------------------
  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  454|      0|					if (strcspn(fmtp, " ") < strlen(fmtp))
  ------------------
  |  Branch (454:10): [True: 0, False: 0]
  ------------------
  455|      0|					    _my_sprintf(" NaN")
  ------------------
  |  |  140|      0|    {									\
  |  |  141|      0|	boundspec(fmtp);						\
  |  |  142|      0|	int nc = snprintf(bit, MAXLINE+1, fmtp, _X_);			\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  143|      0|	if (nc > MAXLINE)						\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (143:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  144|      0|	    error(_("required resulting string length %d is greater than maximal %d"), \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	    error(_("required resulting string length %d is greater than maximal %d"), \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  |  145|      0|		  nc, MAXLINE);						\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  146|      0|    }
  ------------------
  456|      0|					else
  457|      0|					    _my_sprintf("NaN")
  ------------------
  |  |  140|      0|    {									\
  |  |  141|      0|	boundspec(fmtp);						\
  |  |  142|      0|	int nc = snprintf(bit, MAXLINE+1, fmtp, _X_);			\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  143|      0|	if (nc > MAXLINE)						\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (143:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  144|      0|	    error(_("required resulting string length %d is greater than maximal %d"), \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	    error(_("required resulting string length %d is greater than maximal %d"), \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  |  145|      0|		  nc, MAXLINE);						\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  146|      0|    }
  ------------------
  458|      0|				    } else if (x == R_PosInf) {
  ------------------
  |  Branch (458:20): [True: 0, False: 0]
  ------------------
  459|      0|					if (strcspn(fmtp, "+") < strlen(fmtp))
  ------------------
  |  Branch (459:10): [True: 0, False: 0]
  ------------------
  460|      0|					    _my_sprintf("+Inf")
  ------------------
  |  |  140|      0|    {									\
  |  |  141|      0|	boundspec(fmtp);						\
  |  |  142|      0|	int nc = snprintf(bit, MAXLINE+1, fmtp, _X_);			\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  143|      0|	if (nc > MAXLINE)						\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (143:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  144|      0|	    error(_("required resulting string length %d is greater than maximal %d"), \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	    error(_("required resulting string length %d is greater than maximal %d"), \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  |  145|      0|		  nc, MAXLINE);						\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  146|      0|    }
  ------------------
  461|      0|					else if (strcspn(fmtp, " ") < strlen(fmtp))
  ------------------
  |  Branch (461:15): [True: 0, False: 0]
  ------------------
  462|      0|					    _my_sprintf(" Inf")
  ------------------
  |  |  140|      0|    {									\
  |  |  141|      0|	boundspec(fmtp);						\
  |  |  142|      0|	int nc = snprintf(bit, MAXLINE+1, fmtp, _X_);			\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  143|      0|	if (nc > MAXLINE)						\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (143:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  144|      0|	    error(_("required resulting string length %d is greater than maximal %d"), \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	    error(_("required resulting string length %d is greater than maximal %d"), \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  |  145|      0|		  nc, MAXLINE);						\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  146|      0|    }
  ------------------
  463|      0|					else
  464|      0|					    _my_sprintf("Inf")
  ------------------
  |  |  140|      0|    {									\
  |  |  141|      0|	boundspec(fmtp);						\
  |  |  142|      0|	int nc = snprintf(bit, MAXLINE+1, fmtp, _X_);			\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  143|      0|	if (nc > MAXLINE)						\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (143:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  144|      0|	    error(_("required resulting string length %d is greater than maximal %d"), \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	    error(_("required resulting string length %d is greater than maximal %d"), \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  |  145|      0|		  nc, MAXLINE);						\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  146|      0|    }
  ------------------
  465|      0|				    } else if (x == R_NegInf)
  ------------------
  |  Branch (465:20): [True: 0, False: 0]
  ------------------
  466|      0|					_my_sprintf("-Inf")
  ------------------
  |  |  140|      0|    {									\
  |  |  141|      0|	boundspec(fmtp);						\
  |  |  142|      0|	int nc = snprintf(bit, MAXLINE+1, fmtp, _X_);			\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  143|      0|	if (nc > MAXLINE)						\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (143:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  144|      0|	    error(_("required resulting string length %d is greater than maximal %d"), \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	    error(_("required resulting string length %d is greater than maximal %d"), \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  |  145|      0|		  nc, MAXLINE);						\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  146|      0|    }
  ------------------
  467|      0|				}
  468|      0|				break;
  469|      0|			    }
  470|     68|			case STRSXP:
  ------------------
  |  |  126|     68|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (470:4): [True: 68, False: 0]
  ------------------
  471|       |			    /* NA_STRING will be printed as 'NA' */
  472|     68|			    if (checkfmt(fmtp, "s"))
  ------------------
  |  Branch (472:12): [True: 0, False: 68]
  ------------------
  473|      0|				error(_("invalid format '%s'; %s"), fmtp,
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              				error(_("invalid format '%s'; %s"), fmtp,
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  474|      0|				      _("use format %s for character objects"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  475|       |
  476|     68|			    ss = TRANSLATE_CHAR(_this, ns % thislen);
  ------------------
  |  |  119|     68|   ((use_UTF8) ? translateCharUTF8(STRING_ELT(_STR_, _i_))  \
  |  |  ------------------
  |  |  |  | 1039|      0|#define translateCharUTF8      	Rf_translateCharUTF8
  |  |  ------------------
  |  |  |  Branch (119:5): [True: 0, False: 68]
  |  |  ------------------
  |  |  120|     68|    : translateChar(STRING_ELT(_STR_, _i_)))
  |  |  ------------------
  |  |  |  | 1037|     68|#define translateChar		Rf_translateChar
  |  |  ------------------
  ------------------
  477|     68|			    if(fmtp[1] != 's') {
  ------------------
  |  Branch (477:11): [True: 0, False: 68]
  ------------------
  478|      0|				if(strlen(ss) > MAXLINE)
  ------------------
  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  ------------------
  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  ------------------
  ------------------
  |  Branch (478:8): [True: 0, False: 0]
  ------------------
  479|      0|				    warning(_("likely truncation of character string to %d characters"),
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              				    warning(_("likely truncation of character string to %d characters"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  480|      0|					    MAXLINE-1);
  ------------------
  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  ------------------
  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  ------------------
  ------------------
  481|      0|				_my_sprintf(ss)
  ------------------
  |  |  140|      0|    {									\
  |  |  141|      0|	boundspec(fmtp);						\
  |  |  142|      0|	int nc = snprintf(bit, MAXLINE+1, fmtp, _X_);			\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  143|      0|	if (nc > MAXLINE)						\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (143:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  144|      0|	    error(_("required resulting string length %d is greater than maximal %d"), \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	    error(_("required resulting string length %d is greater than maximal %d"), \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  |  145|      0|		  nc, MAXLINE);						\
  |  |  ------------------
  |  |  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  |  |  ------------------
  |  |  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  146|      0|    }
  ------------------
  482|      0|				bit[MAXLINE] = '\0';
  ------------------
  |  |   34|      0|#define MAXLINE MAXELTSIZE
  |  |  ------------------
  |  |  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  |  |  ------------------
  ------------------
  483|      0|				ss = NULL;
  484|      0|			    }
  485|     68|			    break;
  486|       |
  487|      0|			default:
  ------------------
  |  Branch (487:4): [True: 0, False: 68]
  ------------------
  488|      0|			    error(_("unsupported type"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              			    error(_("unsupported type"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  489|      0|			    break;
  490|     68|			}
  491|       |
  492|     68|			UNPROTECT(1);
  ------------------
  |  |  358|     68|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  493|     68|		    }
  494|     68|		}
  495|     68|	    }
  496|    108|	    else { /* not '%' : handle string part */
  497|    108|		const char *ch = use_UTF8 ? strchr(curFormat, '%')
  ------------------
  |  Branch (497:20): [True: 0, False: 108]
  ------------------
  498|       |				    /* MBCS-aware version used */
  499|    108|		                    : Rf_strchr_const(curFormat, '%');
  500|    108|		chunk = (ch) ? (size_t) (ch - curFormat) : strlen(curFormat);
  ------------------
  |  Branch (500:11): [True: 68, False: 40]
  ------------------
  501|    108|		strncpy(bit, curFormat, chunk);
  502|    108|		bit[chunk] = '\0';
  503|    108|	    }
  504|    176|	    if(ss) {
  ------------------
  |  Branch (504:9): [True: 68, False: 108]
  ------------------
  505|     68|		outputString = R_AllocStringBuffer(strlen(outputString) +
  506|     68|						   strlen(ss) + 1, &outbuff);
  507|     68|		strcat(outputString, ss);
  508|    108|	    } else {
  509|    108|		outputString = R_AllocStringBuffer(strlen(outputString) +
  510|    108|						   strlen(bit) + 1, &outbuff);
  511|    108|		strcat(outputString, bit);
  512|    108|	    }
  513|    176|	}  /* end for ( each chunk ) */
  514|       |
  515|     68|	if(ns == 0) { /* may have adjusted maxlen now ... */
  ------------------
  |  Branch (515:5): [True: 68, False: 0]
  ------------------
  516|     68|	    PROTECT(ans = allocVector(STRSXP, maxlen));
  ------------------
  |  |  357|     68|#define PROTECT(s)	Rf_protect(s)
  ------------------
  517|     68|	    nprotect++;
  518|     68|	}
  519|     68|	SET_STRING_ELT(ans, ns, mkCharCE(outputString,
  ------------------
  |  |  999|     68|#define mkCharCE		Rf_mkCharCE
  ------------------
  520|     68|					 use_UTF8 ? CE_UTF8 : CE_NATIVE));
  ------------------
  |  Branch (520:7): [True: 0, False: 68]
  ------------------
  521|     68|    } /* end for(ns ...) */
  522|       |
  523|     68|    nunused = 0;
  524|    136|    for(i = 0; i < nargs; i++)
  ------------------
  |  Branch (524:16): [True: 68, False: 68]
  ------------------
  525|     68|	if (!used[i]) nunused++;
  ------------------
  |  Branch (525:6): [True: 0, False: 68]
  ------------------
  526|     68|    if (nunused > 0) {
  ------------------
  |  Branch (526:9): [True: 0, False: 68]
  ------------------
  527|      0|	if (nfmt == 1) {
  ------------------
  |  Branch (527:6): [True: 0, False: 0]
  ------------------
  528|      0|	    const char *f = translateChar(STRING_ELT(format, 0));
  ------------------
  |  | 1037|      0|#define translateChar		Rf_translateChar
  ------------------
  529|      0|	    if (nunused == 1)
  ------------------
  |  Branch (529:10): [True: 0, False: 0]
  ------------------
  530|      0|		warning(_("one argument not used by format '%s'"), f);
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              		warning(_("one argument not used by format '%s'"), f);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  531|      0|	    else if (nunused > 1)
  ------------------
  |  Branch (531:15): [True: 0, False: 0]
  ------------------
  532|      0|		warning(_("%d arguments not used by format '%s'"), nunused, f);
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              		warning(_("%d arguments not used by format '%s'"), nunused, f);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  533|      0|	} else {
  534|      0|	    if (nunused == 1)
  ------------------
  |  Branch (534:10): [True: 0, False: 0]
  ------------------
  535|      0|		warning(_("one argument not used by format"));
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              		warning(_("one argument not used by format"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  536|      0|	    else if (nunused > 1)
  ------------------
  |  Branch (536:15): [True: 0, False: 0]
  ------------------
  537|      0|		warning(_("%d arguments not used by format"), nunused);
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              		warning(_("%d arguments not used by format"), nunused);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  538|      0|	}
  539|      0|    }
  540|       |
  541|     68|    UNPROTECT(nprotect);
  ------------------
  |  |  358|     68|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  542|     68|    R_FreeStringBufferL(&outbuff);
  543|     68|    return ans;
  544|     68|}
sprintf.c:findspec:
   45|    136|{
   46|       |    /* This is not strict about checking where '.' is allowed.
   47|       |       It should allow  - + ' ' # 0 as flags
   48|       |       m m. .n n.m as width/precision
   49|       |    */
   50|    136|    const char *p = str;
   51|       |
   52|    136|    if(*p != '%') return p;
  ------------------
  |  Branch (52:8): [True: 0, False: 136]
  ------------------
   53|    136|    for(p++; ; p++) {
   54|    136|	if(*p == '-' || *p == '+' || *p == ' ' || *p == '#' || *p == '.' ) continue;
  ------------------
  |  Branch (54:5): [True: 0, False: 136]
  |  Branch (54:18): [True: 0, False: 136]
  |  Branch (54:31): [True: 0, False: 136]
  |  Branch (54:44): [True: 0, False: 136]
  |  Branch (54:57): [True: 0, False: 136]
  ------------------
   55|       |	/* '*' will currently have got substituted before this */
   56|    136|	if(*p == '*' || (*p >= '0' && *p <= '9')) continue;
  ------------------
  |  Branch (56:5): [True: 0, False: 136]
  |  Branch (56:19): [True: 136, False: 0]
  |  Branch (56:32): [True: 0, False: 136]
  ------------------
   57|    136|	break;
   58|    136|    }
   59|    136|    return p;
   60|    136|}
sprintf.c:checkfmt:
   65|     68|{
   66|     68|    const char *p =fmt;
   67|       |
   68|     68|    if(*p != '%') return true;
  ------------------
  |  Branch (68:8): [True: 0, False: 68]
  ------------------
   69|     68|    p = findspec(fmt);
   70|     68|    return strcspn(p, pattern) ? true : false;
  ------------------
  |  Branch (70:12): [True: 0, False: 68]
  ------------------
   71|     68|}

R_InitialData:
   64|      2|{
   65|      2|    R_RestoreGlobalEnv();
   66|      2|}
R_OpenLibraryFile:
   71|      2|{
   72|      2|    char *buf = NULL;
   73|      2|    FILE *fp = NULL;
   74|       |
   75|      2|    Rasprintf_malloc(&buf, "%s/library/base/R/%s", R_Home, file);
   76|      2|    if (buf) {
  ------------------
  |  Branch (76:9): [True: 2, False: 0]
  ------------------
   77|      2|	fp = R_fopen(buf, "r");
   78|      2|	free(buf);
   79|      2|    }
   80|      2|    return fp;
   81|      2|}
R_OpenSysInitFile:
   93|      2|{
   94|      2|    char *buf = NULL;
   95|      2|    FILE *fp = NULL;
   96|       |
   97|      2|    Rasprintf_malloc(&buf, "%s/library/base/R/Rprofile", R_Home);
   98|      2|    if (buf) {
  ------------------
  |  Branch (98:9): [True: 2, False: 0]
  ------------------
   99|      2|	fp = R_fopen(buf, "r");
  100|      2|	free(buf);
  101|      2|    }
  102|      2|    return fp;
  103|      2|}
R_OpenSiteFile:
  107|      2|{
  108|      2|    char *buf = NULL;
  109|      2|    FILE *fp = NULL;
  110|       |
  111|      2|    fp = NULL;
  112|      2|    if (LoadSiteFile) {
  ------------------
  |  Branch (112:9): [True: 0, False: 2]
  ------------------
  113|      0|	char *p = getenv("R_PROFILE");
  114|      0|	if (p) {
  ------------------
  |  Branch (114:6): [True: 0, False: 0]
  ------------------
  115|      0|	    if (*p) return R_fopen(R_ExpandFileName(p), "r");
  ------------------
  |  Branch (115:10): [True: 0, False: 0]
  ------------------
  116|      0|	    else return NULL;
  117|      0|	}
  118|      0|#ifdef R_ARCH
  119|      0|	Rasprintf_malloc(&buf, "%s/etc/%s/Rprofile.site", R_Home, R_ARCH);
  ------------------
  |  | 1085|      0|#define R_ARCH ""
  ------------------
  120|      0|	if (buf) {
  ------------------
  |  Branch (120:6): [True: 0, False: 0]
  ------------------
  121|      0|	    fp = R_fopen(buf, "r");
  122|      0|	    free(buf);
  123|      0|	    if (fp) return fp;
  ------------------
  |  Branch (123:10): [True: 0, False: 0]
  ------------------
  124|      0|	    buf = NULL;
  125|      0|	}
  126|      0|#endif
  127|      0|	Rasprintf_malloc(&buf, "%s/etc/Rprofile.site", R_Home);
  128|      0|	if (buf) {
  ------------------
  |  Branch (128:6): [True: 0, False: 0]
  ------------------
  129|      0|	    fp = R_fopen(buf, "r");
  130|      0|	    free(buf);
  131|      0|	}
  132|      0|    }
  133|      2|    return fp;
  134|      2|}
R_RestoreGlobalEnv:
  173|      2|{
  174|      2|    if(RestoreAction == SA_RESTORE) {
  ------------------
  |  Branch (174:8): [True: 0, False: 2]
  ------------------
  175|      0|	R_RestoreGlobalEnvFromFile(workspace_name, R_Quiet);
  176|      0|    }
  177|      2|}
R_DefParamsEx:
  193|      2|{
  194|      2|    Rp->RstartVersion = RstartVersion;
  195|      2|    if (RstartVersion < 0) return -1;
  ------------------
  |  Branch (195:9): [True: 0, False: 2]
  ------------------
  196|      2|    if (RstartVersion > 1) return 1;
  ------------------
  |  Branch (196:9): [True: 0, False: 2]
  ------------------
  197|       |    
  198|      2|    Rp->R_Quiet = FALSE;
  199|      2|    Rp->R_NoEcho = FALSE;
  200|      2|    Rp->R_Interactive = TRUE;
  201|      2|    Rp->R_Verbose = FALSE;
  202|      2|    Rp->RestoreAction = SA_RESTORE;
  203|      2|    Rp->SaveAction = SA_SAVEASK;
  204|      2|    Rp->LoadSiteFile = TRUE;
  205|      2|    Rp->LoadInitFile = TRUE;
  206|      2|    Rp->DebugInitFile = FALSE;
  207|      2|    Rp->vsize = R_VSIZE;
  ------------------
  |  | 1066|      2|#define	R_VSIZE		67108864L
  ------------------
  208|      2|    Rp->nsize = R_NSIZE;
  ------------------
  |  | 1063|      2|#define	R_NSIZE		350000L
  ------------------
  209|      2|    Rp->max_vsize = R_SIZE_T_MAX;
  ------------------
  |  | 1044|      2|# define R_SIZE_T_MAX SIZE_MAX
  ------------------
  210|      2|    Rp->max_nsize = R_SIZE_T_MAX;
  ------------------
  |  | 1044|      2|# define R_SIZE_T_MAX SIZE_MAX
  ------------------
  211|      2|    Rp->ppsize = R_PPSSIZE;
  ------------------
  |  | 1060|      2|#define	R_PPSSIZE	50000L
  ------------------
  212|      2|    Rp->nconnections = 128;
  213|      2|    Rp->NoRenviron = FALSE;
  214|      2|    R_SizeFromEnv(Rp);
  215|       |
  216|      2|    if (RstartVersion > 0) {
  ------------------
  |  Branch (216:9): [True: 2, False: 0]
  ------------------
  217|       |#ifdef Win32
  218|       |	Rp->EmitEmbeddedUTF8 = FALSE;
  219|       |	R_DefCallbacks(Rp, RstartVersion);
  220|       |#endif
  221|      2|    }
  222|      2|    return 0;
  223|      2|}
R_SizeFromEnv:
  238|      2|{
  239|      2|    int ierr;
  240|      2|    R_size_t value;
  241|      2|    char *p, msg[256];
  242|       |
  243|      2|    if ((p = getenv("R_MAX_VSIZE"))) {
  ------------------
  |  Branch (243:9): [True: 2, False: 0]
  ------------------
  244|      2|	value = R_Decode2Long(p, &ierr);
  245|      2|	if(ierr != 0 || value > Max_Vsize)
  ------------------
  |  |  231|      2|#define Max_Vsize R_SIZE_T_MAX	/* unlimited */
  |  |  ------------------
  |  |  |  | 1044|      2|# define R_SIZE_T_MAX SIZE_MAX
  |  |  ------------------
  ------------------
  |  Branch (245:5): [True: 0, False: 2]
  |  Branch (245:18): [True: 0, False: 2]
  ------------------
  246|      0|	    R_ShowMessage("WARNING: invalid R_MAX_VSIZE ignored\n");
  247|      2|	else if(value < Min_Vsize) {
  ------------------
  |  |  235|      2|#define Min_Vsize 262144 // = (Mega/4)
  ------------------
  |  Branch (247:10): [True: 0, False: 2]
  ------------------
  248|      0|	    snprintf(msg, 256,
  249|      0|		     "WARNING: R_MAX_VSIZE smaller than Min_Vsize = %lu is ignored\n",
  250|      0|		     (unsigned long) Min_Vsize);
  ------------------
  |  |  235|      0|#define Min_Vsize 262144 // = (Mega/4)
  ------------------
  251|      0|	    R_ShowMessage(msg);
  252|      0|	}
  253|      2|	else
  254|      2|	    Rp->max_vsize = value;
  255|      2|    }
  256|       |#if defined(__APPLE__) && defined(_SC_PHYS_PAGES) && defined(_SC_PAGE_SIZE) \
  257|       |    && (SIZEOF_SIZE_T > 4)
  258|       |    /* For now only on macOS place a default limit on the vector heap
  259|       |       size to avoid having R killed due to memory overcommit.
  260|       |       Setting the limit at the maximum of 16Gb and available physical
  261|       |       memory seems reasonable, but there may be better options. LT */
  262|       |    else {
  263|       |	R_size_t pages = sysconf(_SC_PHYS_PAGES);
  264|       |	R_size_t page_size = sysconf(_SC_PAGE_SIZE);
  265|       |	R_size_t sysmem = pages * page_size;
  266|       |	R_size_t MinMaxVSize = 17179869184; /* 16 Gb */
  267|       |	Rp->max_vsize = sysmem > MinMaxVSize ? sysmem : MinMaxVSize;
  268|       |    }
  269|       |#elif defined(__APPLE__) && (SIZEOF_SIZE_T > 4)
  270|       |    else {
  271|       |	R_size_t sysmem = 0;
  272|       |	R_size_t len = sizeof(sysmem);
  273|       |	if (!sysctlbyname("hw.memsize", &sysmem, &len, NULL, 0)
  274|       |	    && len == sizeof(sysmem)) {
  275|       |
  276|       |	    R_size_t MinMaxVSize = 17179869184; /* 16 Gb */
  277|       |	    Rp->max_vsize = sysmem > MinMaxVSize ? sysmem : MinMaxVSize;
  278|       |	}
  279|       |    }
  280|       |#endif
  281|      2|    if((p = getenv("R_VSIZE"))) {
  ------------------
  |  Branch (281:8): [True: 0, False: 2]
  ------------------
  282|      0|	value = R_Decode2Long(p, &ierr);
  283|      0|	if(ierr != 0 || value > Max_Vsize)
  ------------------
  |  |  231|      0|#define Max_Vsize R_SIZE_T_MAX	/* unlimited */
  |  |  ------------------
  |  |  |  | 1044|      0|# define R_SIZE_T_MAX SIZE_MAX
  |  |  ------------------
  ------------------
  |  Branch (283:5): [True: 0, False: 0]
  |  Branch (283:18): [True: 0, False: 0]
  ------------------
  284|      0|	    R_ShowMessage("WARNING: invalid R_VSIZE ignored\n");
  285|      0|	else if(value < Min_Vsize) {
  ------------------
  |  |  235|      0|#define Min_Vsize 262144 // = (Mega/4)
  ------------------
  |  Branch (285:10): [True: 0, False: 0]
  ------------------
  286|      0|	    snprintf(msg, 256,
  287|      0|		     "WARNING: R_VSIZE smaller than Min_Vsize = %lu is ignored\n",
  288|      0|		     (unsigned long) Min_Vsize);
  ------------------
  |  |  235|      0|#define Min_Vsize 262144 // = (Mega/4)
  ------------------
  289|      0|	    R_ShowMessage(msg);
  290|      0|	}
  291|      0|	else
  292|      0|	    Rp->vsize = value;
  293|      0|    }
  294|      2|    if((p = getenv("R_NSIZE"))) {
  ------------------
  |  Branch (294:8): [True: 0, False: 2]
  ------------------
  295|      0|	value = R_Decode2Long(p, &ierr);
  296|      0|	if(ierr != 0 || value > Max_Nsize)
  ------------------
  |  |  230|      0|#define Max_Nsize 50000000	/* about 1.4Gb 32-bit, 2.8Gb 64-bit */
  ------------------
  |  Branch (296:5): [True: 0, False: 0]
  |  Branch (296:18): [True: 0, False: 0]
  ------------------
  297|      0|	    R_ShowMessage("WARNING: invalid R_NSIZE ignored\n");
  298|      0|	else if(value < Min_Nsize) {
  ------------------
  |  |  234|      0|#define Min_Nsize 50000
  ------------------
  |  Branch (298:10): [True: 0, False: 0]
  ------------------
  299|      0|	    snprintf(msg, 256,
  300|      0|		     "WARNING: R_NSIZE smaller than Min_Nsize = %lu is ignored\n",
  301|      0|		     (unsigned long) Min_Nsize);
  ------------------
  |  |  234|      0|#define Min_Nsize 50000
  ------------------
  302|      0|	    R_ShowMessage(msg);
  303|      0|	}
  304|      0|	else
  305|      0|	    Rp->nsize = value;
  306|      0|    }
  307|      2|}
R_SetParams:
  371|      2|{
  372|      2|    R_Quiet = checkBool(Rp->R_Quiet, "R_Quiet");
  373|      2|    R_NoEcho = (Rboolean) checkBool(Rp->R_NoEcho, "R_NoEcho");
  374|      2|    R_Interactive = (Rboolean)  checkBool(Rp->R_Interactive, "R_Interactive");
  375|      2|    R_Verbose = checkBool(Rp->R_Verbose, "R_Verbose");
  376|      2|    LoadSiteFile = checkBool(Rp->LoadSiteFile, "R_LoadSitefile");
  377|      2|    LoadInitFile = checkBool(Rp->LoadInitFile, "R_LoadInitFile");
  378|       |//    DebugInitFile = checkBool(Rp->DebugInitFile, "R_DebugInitFile"); // unused
  379|      2|    RestoreAction = Rp->RestoreAction;
  380|      2|    SaveAction = Rp->SaveAction;
  381|      2|    SetSize(Rp->vsize, Rp->nsize);
  382|      2|    SetMaxSize(Rp->max_vsize, Rp->max_nsize);
  383|      2|    R_SetPPSize(Rp->ppsize);
  384|      2|    R_SetNconn(Rp->nconnections);
  385|       |#ifdef Win32
  386|       |    R_SetWin32(Rp);
  387|       |#endif
  388|      2|}
startup.c:checkBool:
  362|     12|{
  363|     12|    if(in != 0 && in != 1) {
  ------------------
  |  Branch (363:8): [True: 6, False: 6]
  |  Branch (363:19): [True: 0, False: 6]
  ------------------
  364|      0|	warning("At startup: value %d of Rp->%s taken as true", in, name);
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
  365|      0|	in = 1;
  366|      0|    }
  367|     12|    return (bool)(in != 0);
  368|     12|}
startup.c:SetSize:
  310|      2|{
  311|      2|    char msg[1024];
  312|      2|    bool sml;
  313|       |    /* vsize > 0 to catch long->int overflow */
  314|      2|    if (vsize < 1000 && vsize > 0) {
  ------------------
  |  Branch (314:9): [True: 0, False: 2]
  |  Branch (314:25): [True: 0, False: 0]
  ------------------
  315|      0|	R_ShowMessage("WARNING: vsize ridiculously low, Megabytes assumed\n");
  316|      0|	vsize *= (R_size_t) Mega;
  ------------------
  |  | 1050|      0|#define Mega 1048576.    /* Misnomer !! 1 MiB (mebibyte) := 2^20 (= 1048576) Bytes */
  ------------------
  317|      0|    }
  318|      2|    if((sml = vsize < Min_Vsize) || vsize > Max_Vsize) {
  ------------------
  |  |  235|      2|#define Min_Vsize 262144 // = (Mega/4)
  ------------------
                  if((sml = vsize < Min_Vsize) || vsize > Max_Vsize) {
  ------------------
  |  |  231|      2|#define Max_Vsize R_SIZE_T_MAX	/* unlimited */
  |  |  ------------------
  |  |  |  | 1044|      2|# define R_SIZE_T_MAX SIZE_MAX
  |  |  ------------------
  ------------------
  |  Branch (318:8): [True: 0, False: 2]
  |  Branch (318:37): [True: 0, False: 2]
  ------------------
  319|      0|	snprintf(msg, 1024,
  320|      0|		 "WARNING: %s v(ector heap)size '%lu' ignored,"
  321|      0|		 " using default = %gM\n",
  322|      0|		 sml ? "too small" : "too large",
  ------------------
  |  Branch (322:4): [True: 0, False: 0]
  ------------------
  323|      0|		 (unsigned long) vsize, R_VSIZE / Mega);
  ------------------
  |  | 1066|      0|#define	R_VSIZE		67108864L
  ------------------
              		 (unsigned long) vsize, R_VSIZE / Mega);
  ------------------
  |  | 1050|      0|#define Mega 1048576.    /* Misnomer !! 1 MiB (mebibyte) := 2^20 (= 1048576) Bytes */
  ------------------
  324|      0|	R_ShowMessage(msg);
  325|      0|	R_VSize = R_VSIZE;
  ------------------
  |  | 1066|      0|#define	R_VSIZE		67108864L
  ------------------
  326|      0|    } else
  327|      2|	R_VSize = vsize;
  328|      2|    if((sml = nsize < Min_Nsize) || nsize > Max_Nsize) {
  ------------------
  |  |  234|      2|#define Min_Nsize 50000
  ------------------
                  if((sml = nsize < Min_Nsize) || nsize > Max_Nsize) {
  ------------------
  |  |  230|      2|#define Max_Nsize 50000000	/* about 1.4Gb 32-bit, 2.8Gb 64-bit */
  ------------------
  |  Branch (328:8): [True: 0, False: 2]
  |  Branch (328:37): [True: 0, False: 2]
  ------------------
  329|      0|	snprintf(msg, 1024,
  330|      0|		 "WARNING: %s language heap (n)size '%lu' ignored,"
  331|      0|		 " using default = %ld\n",
  332|      0|		 sml ? "too small" : "too large", (unsigned long) nsize, R_NSIZE);
  ------------------
  |  | 1063|      0|#define	R_NSIZE		350000L
  ------------------
  |  Branch (332:4): [True: 0, False: 0]
  ------------------
  333|      0|	R_ShowMessage(msg);
  334|      0|	R_NSize = R_NSIZE;
  ------------------
  |  | 1063|      0|#define	R_NSIZE		350000L
  ------------------
  335|      0|    } else
  336|      2|	R_NSize = nsize;
  337|      2|}
startup.c:SetMaxSize:
  340|      2|{
  341|      2|    char msg[1024];
  342|       |
  343|      2|    if (!R_SetMaxVSize(vsize)) {
  ------------------
  |  Branch (343:9): [True: 0, False: 2]
  ------------------
  344|       |	/* vsfac is still 1 */
  345|      0|	snprintf(msg, 1024,
  346|      0|		 "WARNING: too small maximum for v(ector heap)size '%lu' ignored,"
  347|      0|		 " the current usage %gM is already larger\n",
  348|      0|		 (unsigned long) vsize, R_VSize / Mega);
  ------------------
  |  | 1050|      0|#define Mega 1048576.    /* Misnomer !! 1 MiB (mebibyte) := 2^20 (= 1048576) Bytes */
  ------------------
  349|      0|	R_ShowMessage(msg);
  350|      0|    }
  351|       |
  352|      2|    if (!R_SetMaxNSize(nsize)) {
  ------------------
  |  Branch (352:9): [True: 0, False: 2]
  ------------------
  353|      0|	snprintf(msg, 1024,
  354|      0|		 "WARNING: too small maximum for language heap (n)size '%lu' ignored,"
  355|      0|		 " the current usage '%lu' is already larger\n",
  356|      0|		 (unsigned long) nsize, (unsigned long) R_NSize);
  357|      0|	R_ShowMessage(msg);
  358|      0|    }
  359|      2|}

do_subassign_dflt:
 1621|  2.11k|{
 1622|  2.11k|    PROTECT(args);
  ------------------
  |  |  357|  2.11k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1623|       |
 1624|  2.11k|    SEXP subs, x, y;
 1625|  2.11k|    int nsubs = SubAssignArgs(args, &x, &subs, &y);
 1626|  2.11k|    PROTECT(y); /* gets cut loose in SubAssignArgs */
  ------------------
  |  |  357|  2.11k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1627|       |
 1628|       |    /* make sure the LHS is duplicated if it matches one of the indices */
 1629|       |    /* otherwise this gets the wrong answer:
 1630|       |          permute <- structure(c(3L, 1L, 2L), dim = c(3, 1))
 1631|       |	  permute[permute, 1] <- 1:3
 1632|       |	  as.vector(permute)
 1633|       |    */
 1634|  4.23k|    for (SEXP s = subs; s != R_NilValue; s = CDR(s)) {
  ------------------
  |  Branch (1634:25): [True: 2.11k, False: 2.11k]
  ------------------
 1635|  2.11k|	SEXP idx = CAR(s);
 1636|  2.11k|	if (x == idx)
  ------------------
  |  Branch (1636:6): [True: 0, False: 2.11k]
  ------------------
 1637|      0|	    MARK_NOT_MUTABLE(x);
 1638|  2.11k|    }
 1639|       |
 1640|       |    /* If there are multiple references to an object we must */
 1641|       |    /* duplicate it so that only the local version is mutated. */
 1642|       |    /* This will duplicate more often than necessary, but saves */
 1643|       |    /* over always duplicating. */
 1644|       |
 1645|  2.11k|    if (MAYBE_SHARED(CAR(args)) ||
  ------------------
  |  Branch (1645:9): [True: 0, False: 2.11k]
  ------------------
 1646|  2.11k|	((! IS_ASSIGNMENT_CALL(call)) && MAYBE_REFERENCED(CAR(args))))
  ------------------
  |  |  251|      0|#define MAYBE_REFERENCED(x) (! NO_REFERENCES(x))
  |  |  ------------------
  |  |  |  Branch (251:29): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1646:3): [True: 0, False: 2.11k]
  ------------------
 1647|      0|	x = SETCAR(args, shallow_duplicate(CAR(args)));
  ------------------
  |  | 1030|      0|#define shallow_duplicate	Rf_shallow_duplicate
  ------------------
 1648|       |
 1649|  2.11k|    bool S4 = IS_S4_OBJECT(x); // {before it is changed}
 1650|  2.11k|    int oldtype = 0;
 1651|  2.11k|    if (TYPEOF(x) == LISTSXP || TYPEOF(x) == LANGSXP) {
  ------------------
  |  |  113|  4.22k|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
                  if (TYPEOF(x) == LISTSXP || TYPEOF(x) == LANGSXP) {
  ------------------
  |  |  117|  2.11k|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (1651:9): [True: 0, False: 2.11k]
  |  Branch (1651:33): [True: 0, False: 2.11k]
  ------------------
 1652|      0|	oldtype = TYPEOF(x);
 1653|      0|	x = PairToVectorList(x);
  ------------------
  |  | 1010|      0|#define PairToVectorList	Rf_PairToVectorList
  ------------------
 1654|      0|    }
 1655|  2.11k|    else if (xlength(x) == 0) {
  ------------------
  |  | 1049|  2.11k|#define xlength(x)		Rf_xlength(x)
  ------------------
  |  Branch (1655:14): [True: 0, False: 2.11k]
  ------------------
 1656|      0|	if (xlength(y) == 0 && (isNull(x) || TYPEOF(x) == TYPEOF(y) ||
  ------------------
  |  | 1049|      0|#define xlength(x)		Rf_xlength(x)
  ------------------
              	if (xlength(y) == 0 && (isNull(x) || TYPEOF(x) == TYPEOF(y) ||
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
  |  Branch (1656:6): [True: 0, False: 0]
  |  Branch (1656:26): [True: 0, False: 0]
  |  Branch (1656:39): [True: 0, False: 0]
  ------------------
 1657|       |				// isVectorList(y):
 1658|      0|				TYPEOF(y) == VECSXP || TYPEOF(y) == EXPRSXP)) {
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
              				TYPEOF(y) == VECSXP || TYPEOF(y) == EXPRSXP)) {
  ------------------
  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (1658:5): [True: 0, False: 0]
  |  Branch (1658:28): [True: 0, False: 0]
  ------------------
 1659|      0|	    UNPROTECT(2);  /* args, y */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1660|      0|	    return(x);
 1661|      0|	}
 1662|      0|	else {
 1663|       |	    /* bug PR#2590 coerce only if null */
 1664|      0|	    if(isNull(x)) x = coerceVector(x, TYPEOF(y));
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
              	    if(isNull(x)) x = coerceVector(x, TYPEOF(y));
  ------------------
  |  |  895|      0|#define coerceVector		Rf_coerceVector
  ------------------
  |  Branch (1664:9): [True: 0, False: 0]
  ------------------
 1665|      0|	}
 1666|      0|    }
 1667|  2.11k|    PROTECT(x);
  ------------------
  |  |  357|  2.11k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1668|       |
 1669|  2.11k|    switch (TYPEOF(x)) {
 1670|     35|    case LGLSXP:
  ------------------
  |  |  121|     35|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (1670:5): [True: 35, False: 2.07k]
  ------------------
 1671|     35|    case INTSXP:
  ------------------
  |  |  123|     35|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1671:5): [True: 0, False: 2.11k]
  ------------------
 1672|  2.04k|    case REALSXP:
  ------------------
  |  |  124|  2.04k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1672:5): [True: 2.01k, False: 97]
  ------------------
 1673|  2.04k|    case CPLXSXP:
  ------------------
  |  |  125|  2.04k|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (1673:5): [True: 0, False: 2.11k]
  ------------------
 1674|  2.06k|    case STRSXP:
  ------------------
  |  |  126|  2.06k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1674:5): [True: 16, False: 2.09k]
  ------------------
 1675|  2.06k|    case EXPRSXP:
  ------------------
  |  |  132|  2.06k|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (1675:5): [True: 0, False: 2.11k]
  ------------------
 1676|  2.11k|    case VECSXP:
  ------------------
  |  |  131|  2.11k|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (1676:5): [True: 46, False: 2.06k]
  ------------------
 1677|  2.11k|    case RAWSXP:
  ------------------
  |  |  136|  2.11k|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (1677:5): [True: 0, False: 2.11k]
  ------------------
 1678|  2.11k|	switch (nsubs) {
 1679|      0|	case 0:
  ------------------
  |  Branch (1679:2): [True: 0, False: 2.11k]
  ------------------
 1680|      0|	    x = VectorAssign(call, rho, x, R_MissingArg, y);
 1681|      0|	    break;
 1682|  2.10k|	case 1:
  ------------------
  |  Branch (1682:2): [True: 2.10k, False: 8]
  ------------------
 1683|  2.10k|	    x = VectorAssign(call, rho, x, CAR(subs), y);
 1684|  2.10k|	    break;
 1685|      8|	case 2:
  ------------------
  |  Branch (1685:2): [True: 8, False: 2.10k]
  ------------------
 1686|      8|	    x = MatrixAssign(call, rho, x, subs, y);
 1687|      8|	    break;
 1688|      0|	default:
  ------------------
  |  Branch (1688:2): [True: 0, False: 2.11k]
  ------------------
 1689|      0|	    x = ArrayAssign(call, rho, x, subs, y);
 1690|      0|	    break;
 1691|  2.11k|	}
 1692|  2.11k|	break;
 1693|  2.11k|    default:
  ------------------
  |  Branch (1693:5): [True: 0, False: 2.11k]
  ------------------
 1694|      0|	errorNotSubsettable(x);
 1695|      0|	break;
 1696|  2.11k|    }
 1697|       |
 1698|  2.11k|    if (oldtype == LANGSXP) {
  ------------------
  |  |  117|  2.11k|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (1698:9): [True: 0, False: 2.11k]
  ------------------
 1699|      0|	if(length(x)) {
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  |  |  ------------------
  |  |  |  Branch (987:20): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1700|      0|	    x = VectorToPairList(x);
  ------------------
  |  | 1046|      0|#define VectorToPairList	Rf_VectorToPairList
  ------------------
 1701|      0|	    SET_TYPEOF(x, LANGSXP);
  ------------------
  |  |  117|      0|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
 1702|      0|	} else
 1703|      0|	    error(_("result is zero-length and so cannot be a language object"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("result is zero-length and so cannot be a language object"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1704|      0|    }
 1705|       |
 1706|       |    /* Note the setting of NAMED(x) to zero here.  This means */
 1707|       |    /* that the following assignment will not duplicate the value. */
 1708|       |    /* This works because at this point, x is guaranteed to have */
 1709|       |    /* at most one symbol bound to it.  It does mean that there */
 1710|       |    /* will be multiple reference problems if "[<-" is used */
 1711|       |    /* in a naked fashion. */
 1712|       |
 1713|  2.11k|    UNPROTECT(3); /* args, x, y */
  ------------------
  |  |  358|  2.11k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1714|  2.11k|    SETTER_CLEAR_NAMED(x);
 1715|  2.11k|    if(S4) SET_S4_OBJECT(x);
  ------------------
  |  Branch (1715:8): [True: 0, False: 2.11k]
  ------------------
 1716|  2.11k|    return x;
 1717|  2.11k|}
do_subassign2:
 1754|     16|{
 1755|     16|    SEXP ans;
 1756|       |
 1757|       |    /* DispatchOrEval internal generic: [[<- */
 1758|     16|    if(R_DispatchOrEvalSP(call, op, "[[<-", args, rho, &ans))
  ------------------
  |  Branch (1758:8): [True: 0, False: 16]
  ------------------
 1759|       |/*     if(DispatchAnyOrEval(call, op, "[[<-", args, rho, &ans, 0, 0)) */
 1760|      0|      return(ans);
 1761|       |
 1762|     16|    return do_subassign2_dflt(call, op, ans, rho);
 1763|     16|}
do_subassign2_dflt:
 1776|  1.69k|{
 1777|  1.69k|    SEXP dims, indx, names, newname, subs, x, xtop, xup, y, thesub = R_NilValue, xOrig = R_NilValue;
 1778|  1.69k|    int i, ndims, which, len = 0 /* -Wall */;
 1779|  1.69k|    R_xlen_t  stretch, offset, off = -1; /* -Wall */
 1780|       |
 1781|  1.69k|    PROTECT(args);
  ------------------
  |  |  357|  1.69k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1782|       |
 1783|  1.69k|    int nsubs = SubAssignArgs(args, &x, &subs, &y);
 1784|  1.69k|    PROTECT(y); /* gets cut loose in SubAssignArgs */
  ------------------
  |  |  357|  1.69k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1785|       |
 1786|       |    /* Handle NULL left-hand sides.  If the right-hand side */
 1787|       |    /* is NULL, just return the left-hand size otherwise, */
 1788|       |    /* convert to a zero length list (VECSXP). */
 1789|       |
 1790|  1.69k|    if (isNull(x)) {
  ------------------
  |  |  956|  1.69k|#define isNull			Rf_isNull
  ------------------
  |  Branch (1790:9): [True: 0, False: 1.69k]
  ------------------
 1791|      0|	if (isNull(y)) {
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
  |  Branch (1791:6): [True: 0, False: 0]
  ------------------
 1792|      0|	    UNPROTECT(2); /* args, y */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1793|      0|	    return x;
 1794|      0|	}
 1795|       |#ifdef NO_LONGER_IN_R_4_x_y
 1796|       |	if (length(y) == 1)
 1797|       |	    x = allocVector(TYPEOF(y), 0);
 1798|       |	else
 1799|       |#endif
 1800|      0|	    x = allocVector(VECSXP, 0);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              	    x = allocVector(VECSXP, 0);
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
 1801|      0|    }
 1802|       |
 1803|       |    /* Ensure that the LHS is a local variable. */
 1804|       |    /* If it is not, then make a local copy. */
 1805|       |
 1806|  1.69k|    if (MAYBE_SHARED(x) ||
  ------------------
  |  Branch (1806:9): [True: 1.40k, False: 294]
  ------------------
 1807|    294|	((! IS_ASSIGNMENT_CALL(call)) && MAYBE_REFERENCED(x)))
  ------------------
  |  |  251|      0|#define MAYBE_REFERENCED(x) (! NO_REFERENCES(x))
  |  |  ------------------
  |  |  |  Branch (251:29): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1807:3): [True: 0, False: 294]
  ------------------
 1808|  1.40k|	SETCAR(args, x = shallow_duplicate(x));
  ------------------
  |  | 1030|  1.40k|#define shallow_duplicate	Rf_shallow_duplicate
  ------------------
 1809|       |
 1810|       |    /* code to allow classes to extend ENVSXP */
 1811|  1.69k|    bool S4 = IS_S4_OBJECT(x);
 1812|  1.69k|    if(S4 && TYPEOF(x) == OBJSXP) {
  ------------------
  |  |  137|      0|#define OBJSXP      25    /* object, non-vector  */
  ------------------
  |  Branch (1812:8): [True: 0, False: 1.69k]
  |  Branch (1812:14): [True: 0, False: 0]
  ------------------
 1813|      0|	xOrig = x; /* will be an S4 object */
 1814|      0|	x = R_getS4DataSlot(x, ANYSXP);
  ------------------
  |  |  128|      0|#define ANYSXP	    18	  /* make "any" args work.
  ------------------
 1815|      0|	if(TYPEOF(x) != ENVSXP)
  ------------------
  |  |  115|      0|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (1815:5): [True: 0, False: 0]
  ------------------
 1816|      0|	  errorcall(call, _("[[<- defined for objects of type \"S4\" only for subclasses of environment"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	  errorcall(call, _("[[<- defined for objects of type \"S4\" only for subclasses of environment"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1817|      0|    }
 1818|       |
 1819|  1.69k|    PROTECT(x);
  ------------------
  |  |  357|  1.69k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1820|  1.69k|    xtop = xup = x; /* x will be the element which is assigned to */
 1821|       |
 1822|  1.69k|    dims = getAttrib(x, R_DimSymbol);
  ------------------
  |  |  924|  1.69k|#define getAttrib		Rf_getAttrib
  ------------------
 1823|  1.69k|    ndims = length(dims);
  ------------------
  |  |  987|  1.69k|#define length(x)		Rf_length(x)
  ------------------
 1824|       |
 1825|  1.69k|    int *pdims = NULL;
 1826|  1.69k|    if (ndims > 0) {
  ------------------
  |  Branch (1826:9): [True: 0, False: 1.69k]
  ------------------
 1827|      0|	if (TYPEOF(dims) == INTSXP)
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1827:6): [True: 0, False: 0]
  ------------------
 1828|      0|	    pdims = INTEGER(dims);
 1829|      0|	else
 1830|      0|	    error(_("improper dimensions"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("improper dimensions"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1831|      0|    }
 1832|       |
 1833|       |    /* ENVSXP special case first */
 1834|  1.69k|    if( TYPEOF(x) == ENVSXP) {
  ------------------
  |  |  115|  1.69k|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (1834:9): [True: 1.40k, False: 294]
  ------------------
 1835|  1.40k|	if( nsubs!=1 || !isString(CAR(subs)) || length(CAR(subs)) != 1 )
  ------------------
  |  |  966|  1.40k|#define isString		Rf_isString
  ------------------
              	if( nsubs!=1 || !isString(CAR(subs)) || length(CAR(subs)) != 1 )
  ------------------
  |  |  987|  1.40k|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1835:6): [True: 0, False: 1.40k]
  |  Branch (1835:18): [True: 0, False: 1.40k]
  |  Branch (1835:42): [True: 0, False: 1.40k]
  ------------------
 1836|      0|	    error(_("wrong args for environment subassignment"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("wrong args for environment subassignment"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1837|  1.40k|	defineVar(installTrChar(STRING_ELT(CAR(subs), 0)), y, x);
  ------------------
  |  |  905|  1.40k|#define defineVar		Rf_defineVar
  ------------------
              	defineVar(installTrChar(STRING_ELT(CAR(subs), 0)), y, x);
  ------------------
  |  |  937|  1.40k|#define installTrChar		Rf_installTrChar
  ------------------
 1838|  1.40k|	UNPROTECT(3); /* x, args, y */
  ------------------
  |  |  358|  1.40k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1839|  1.40k|	return(S4 ? xOrig : x);
  ------------------
  |  Branch (1839:9): [True: 0, False: 1.40k]
  ------------------
 1840|  1.40k|    }
 1841|       |
 1842|       |    /* new case in 1.7.0, one vector index for a list,
 1843|       |       more general as of 2.10.0 */
 1844|    294|    bool recursed = false;
 1845|    294|    if (nsubs == 1) {
  ------------------
  |  Branch (1845:9): [True: 294, False: 0]
  ------------------
 1846|    294|	thesub = CAR(subs);
 1847|    294|	len = length(thesub); /* depth of recursion, small */
  ------------------
  |  |  987|    294|#define length(x)		Rf_length(x)
  ------------------
 1848|    294|	if (len > 1) {
  ------------------
  |  Branch (1848:6): [True: 0, False: 294]
  ------------------
 1849|      0|	    xup = vectorIndex(x, thesub, 0, len-2, /*partial ok*/TRUE, call,
  ------------------
  |  | 2017|      0|# define vectorIndex		Rf_vectorIndex
  ------------------
 1850|      0|			      true);
 1851|       |	    /* OneIndex sets newname, but it will be overwritten before being used. */
 1852|      0|	    PROTECT(xup);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1853|      0|	    off = OneIndex(xup, thesub, xlength(xup), 0, &newname, len-2, R_NilValue);
  ------------------
  |  | 1967|      0|# define OneIndex		Rf_OneIndex
  ------------------
              	    off = OneIndex(xup, thesub, xlength(xup), 0, &newname, len-2, R_NilValue);
  ------------------
  |  | 1049|      0|#define xlength(x)		Rf_xlength(x)
  ------------------
 1854|      0|	    x = vectorIndex(xup, thesub, len-2, len-1, true, call, true);
  ------------------
  |  | 2017|      0|# define vectorIndex		Rf_vectorIndex
  ------------------
 1855|      0|	    UNPROTECT(2); /* xup, x */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1856|      0|	    PROTECT(x);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1857|      0|	    recursed = true;
 1858|      0|	}
 1859|    294|    }
 1860|    294|    PROTECT(xup);
  ------------------
  |  |  357|    294|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1861|       |
 1862|    294|    stretch = 0;
 1863|    294|    if (isVector(x)) {
  ------------------
  |  |  974|    294|#define isVector		Rf_isVector
  ------------------
  |  Branch (1863:9): [True: 61, False: 233]
  ------------------
 1864|     61|	if (!isVectorList(x) && LENGTH(y) == 0)
  ------------------
  |  |  977|     61|#define isVectorList		Rf_isVectorList
  ------------------
  |  Branch (1864:6): [True: 41, False: 20]
  |  Branch (1864:26): [True: 0, False: 41]
  ------------------
 1865|      0|	    error(_("replacement has length zero"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("replacement has length zero"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1866|     61|	if (!isVectorList(x) && LENGTH(y) > 1)
  ------------------
  |  |  977|     61|#define isVectorList		Rf_isVectorList
  ------------------
  |  Branch (1866:6): [True: 41, False: 20]
  |  Branch (1866:26): [True: 0, False: 41]
  ------------------
 1867|      0|	    error(_("more elements supplied than there are to replace"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("more elements supplied than there are to replace"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1868|     61|	if (nsubs == 0 || CAR(subs) == R_MissingArg)
  ------------------
  |  Branch (1868:6): [True: 0, False: 61]
  |  Branch (1868:20): [True: 0, False: 61]
  ------------------
 1869|      0|	    errorMissingSubscript(x);
 1870|     61|	if (nsubs == 1) {
  ------------------
  |  Branch (1870:6): [True: 61, False: 0]
  ------------------
 1871|     61|	    offset = OneIndex(x, thesub, xlength(x), 0, &newname,
  ------------------
  |  | 1967|     61|# define OneIndex		Rf_OneIndex
  ------------------
              	    offset = OneIndex(x, thesub, xlength(x), 0, &newname,
  ------------------
  |  | 1049|     61|#define xlength(x)		Rf_xlength(x)
  ------------------
 1872|     61|			      recursed ? len-1 : -1, R_NilValue);
  ------------------
  |  Branch (1872:10): [True: 0, False: 61]
  ------------------
 1873|     61|	    if (isVectorList(x) && isNull(y)) {
  ------------------
  |  |  977|     61|#define isVectorList		Rf_isVectorList
  ------------------
              	    if (isVectorList(x) && isNull(y)) {
  ------------------
  |  |  956|     20|#define isNull			Rf_isNull
  ------------------
  |  Branch (1873:10): [True: 20, False: 41]
  |  Branch (1873:29): [True: 0, False: 20]
  ------------------
 1874|      0|		SEXP old_x = x;
 1875|      0|		x = DeleteOneVectorListItem(x, offset);
 1876|      0|		if(recursed) {
  ------------------
  |  Branch (1876:6): [True: 0, False: 0]
  ------------------
 1877|      0|		    if(isVectorList(xup)) SET_VECTOR_ELT(xup, off, x);
  ------------------
  |  |  977|      0|#define isVectorList		Rf_isVectorList
  ------------------
  |  Branch (1877:10): [True: 0, False: 0]
  ------------------
 1878|      0|		    else {
 1879|      0|			PROTECT(x);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1880|      0|			xup = SimpleListAssign(call, xup, subs, x, len-2,
 1881|      0|					       false);
 1882|      0|			UNPROTECT(1); /* x */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1883|      0|		    }
 1884|      0|		} else {
 1885|      0|		    xtop = x;
 1886|      0|		    if (old_x != x)
  ------------------
  |  Branch (1886:11): [True: 0, False: 0]
  ------------------
 1887|      0|			CLEAR_VECTOR(old_x);
  ------------------
  |  |  108|      0|# define CLEAR_VECTOR(x) do {					\
  |  |  109|      0|	if (TYPEOF(x) == EXPRSXP || TYPEOF(x) == VECSXP) {	\
  |  |  ------------------
  |  |  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  |  |  ------------------
  |  |               	if (TYPEOF(x) == EXPRSXP || TYPEOF(x) == VECSXP) {	\
  |  |  ------------------
  |  |  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  |  |  ------------------
  |  |  |  Branch (109:6): [True: 0, False: 0]
  |  |  |  Branch (109:30): [True: 0, False: 0]
  |  |  ------------------
  |  |  110|      0|	    R_xlen_t len = XLENGTH(x);				\
  |  |  111|      0|	    for (R_xlen_t i = 0; i < len; i++)			\
  |  |  ------------------
  |  |  |  Branch (111:27): [True: 0, False: 0]
  |  |  ------------------
  |  |  112|      0|		SET_VECTOR_ELT(x, i, R_NilValue);		\
  |  |  113|      0|	}							\
  |  |  114|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (114:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1888|      0|		}
 1889|      0|		UNPROTECT(4); /* xup, x, args, y */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1890|      0|		return xtop;
 1891|      0|	    }
 1892|     61|	    if (offset < 0)
  ------------------
  |  Branch (1892:10): [True: 0, False: 61]
  ------------------
 1893|      0|		errorOutOfBoundsSEXP(x, -1, thesub);
 1894|     61|	    if (offset >= XLENGTH(x))
  ------------------
  |  Branch (1894:10): [True: 20, False: 41]
  ------------------
 1895|     20|		stretch = offset + 1;
 1896|     61|	}
 1897|      0|	else {
 1898|      0|	    if (ndims != nsubs)
  ------------------
  |  Branch (1898:10): [True: 0, False: 0]
  ------------------
 1899|      0|		error(_("[[ ]] improper number of subscripts"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("[[ ]] improper number of subscripts"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1900|      0|	    PROTECT(indx = allocVector(INTSXP, ndims));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1901|      0|	    int *pindx = INTEGER0(indx);
 1902|      0|	    names = getAttrib(x, R_DimNamesSymbol);
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
 1903|      0|	    for (i = 0; i < ndims; i++) {
  ------------------
  |  Branch (1903:18): [True: 0, False: 0]
  ------------------
 1904|      0|		SEXP thesub = CAR(subs);
 1905|      0|		pindx[i] = (int)
 1906|      0|		    get1index(thesub, isNull(names) ?
  ------------------
  |  | 1911|      0|# define get1index		Rf_get1index
  ------------------
              		    get1index(thesub, isNull(names) ?
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
  |  Branch (1906:25): [True: 0, False: 0]
  ------------------
 1907|      0|			      R_NilValue : VECTOR_ELT(names, i),
 1908|      0|			      pdims[i],
 1909|      0|			      /*partial ok*/FALSE, -1, call);
 1910|      0|		subs = CDR(subs);
 1911|      0|		if (pindx[i] < 0 ||
  ------------------
  |  Branch (1911:7): [True: 0, False: 0]
  ------------------
 1912|      0|		    pindx[i] >= pdims[i])
  ------------------
  |  Branch (1912:7): [True: 0, False: 0]
  ------------------
 1913|      0|		    errorOutOfBoundsSEXP(x, i, thesub);
 1914|      0|	    }
 1915|      0|	    offset = 0;
 1916|      0|	    for (i = (ndims - 1); i > 0; i--)
  ------------------
  |  Branch (1916:28): [True: 0, False: 0]
  ------------------
 1917|      0|		offset = (offset + pindx[i]) * pdims[i - 1];
 1918|      0|	    offset += pindx[0];
 1919|      0|	    UNPROTECT(1); /* indx */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1920|      0|	}
 1921|       |
 1922|     61|	SEXP old_x = x;
 1923|     61|	which = SubassignTypeFix(&x, &y, stretch, 2, call, rho);
 1924|       |
 1925|     61|	PROTECT(x);
  ------------------
  |  |  357|     61|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1926|     61|	PROTECT(y);
  ------------------
  |  |  357|     61|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1927|       |
 1928|     61|	switch (which) {
 1929|       |	    /* as from 2.3.0 'which' is after conversion */
 1930|       |
 1931|      0|	case 1010:	/* logical   <- logical	  */
  ------------------
  |  Branch (1931:2): [True: 0, False: 61]
  ------------------
 1932|      0|	case 1310:	/* integer   <- logical	  */
  ------------------
  |  Branch (1932:2): [True: 0, False: 61]
  ------------------
 1933|       |	/* case 1013:	   logical   <- integer	  */
 1934|      0|	case 1313:	/* integer   <- integer	  */
  ------------------
  |  Branch (1934:2): [True: 0, False: 61]
  ------------------
 1935|       |
 1936|      0|	    INTEGER(x)[offset] = INTEGER_ELT(y, 0);
 1937|      0|	    break;
 1938|       |
 1939|      0|	case 1410:	/* real	     <- logical	  */
  ------------------
  |  Branch (1939:2): [True: 0, False: 61]
  ------------------
 1940|      0|	case 1413:	/* real	     <- integer	  */
  ------------------
  |  Branch (1940:2): [True: 0, False: 61]
  ------------------
 1941|       |
 1942|      0|	    if (INTEGER_ELT(y, 0) == NA_INTEGER)
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (1942:10): [True: 0, False: 0]
  ------------------
 1943|      0|		REAL(x)[offset] = NA_REAL;
  ------------------
  |  |   58|      0|#define NA_REAL		R_NaReal
  ------------------
 1944|      0|	    else
 1945|      0|		REAL(x)[offset] = INTEGER_ELT(y, 0);
 1946|      0|	    break;
 1947|       |	/* case 1014:	   logical   <- real	  */
 1948|       |	/* case 1314:	   integer   <- real	  */
 1949|     41|	case 1414:	/* real	     <- real	  */
  ------------------
  |  Branch (1949:2): [True: 41, False: 20]
  ------------------
 1950|       |
 1951|     41|	    REAL(x)[offset] = REAL(y)[0];
 1952|     41|	    break;
 1953|       |
 1954|      0|	case 1510:	/* complex   <- logical	  */
  ------------------
  |  Branch (1954:2): [True: 0, False: 61]
  ------------------
 1955|      0|	case 1513:	/* complex   <- integer	  */
  ------------------
  |  Branch (1955:2): [True: 0, False: 61]
  ------------------
 1956|       |
 1957|      0|	    if (INTEGER_ELT(y, 0) == NA_INTEGER) {
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (1957:10): [True: 0, False: 0]
  ------------------
 1958|      0|		COMPLEX(x)[offset].r = NA_REAL;
  ------------------
  |  |   58|      0|#define NA_REAL		R_NaReal
  ------------------
 1959|      0|		COMPLEX(x)[offset].i = 0.0;
 1960|      0|	    }
 1961|      0|	    else {
 1962|      0|		COMPLEX(x)[offset].r = INTEGER_ELT(y, 0);
 1963|      0|		COMPLEX(x)[offset].i = 0.0;
 1964|      0|	    }
 1965|      0|	    break;
 1966|       |
 1967|      0|	case 1514:	/* complex   <- real	  */
  ------------------
  |  Branch (1967:2): [True: 0, False: 61]
  ------------------
 1968|       |
 1969|      0|	    if (ISNA(REAL_ELT(y, 0))) {
  ------------------
  |  |   64|      0|#define ISNA(x)	       R_IsNA(x)
  |  |  ------------------
  |  |  |  Branch (64:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1970|      0|		COMPLEX(x)[offset].r = NA_REAL;
  ------------------
  |  |   58|      0|#define NA_REAL		R_NaReal
  ------------------
 1971|      0|		COMPLEX(x)[offset].i = 0.0;
 1972|      0|	    }
 1973|      0|	    else {
 1974|      0|		COMPLEX(x)[offset].r = REAL_ELT(y, 0);
 1975|      0|		COMPLEX(x)[offset].i = 0.0;
 1976|      0|	    }
 1977|      0|	    break;
 1978|       |
 1979|       |	/* case 1015:	   logical   <- complex	  */
 1980|       |	/* case 1315:	   integer   <- complex	  */
 1981|       |	/* case 1415:	   real	     <- complex	  */
 1982|      0|	case 1515:	/* complex   <- complex	  */
  ------------------
  |  Branch (1982:2): [True: 0, False: 61]
  ------------------
 1983|       |
 1984|      0|	    COMPLEX(x)[offset] = COMPLEX_ELT(y, 0);
 1985|      0|	    break;
 1986|       |
 1987|      0|	case 1610:	/* character <- logical	  */
  ------------------
  |  Branch (1987:2): [True: 0, False: 61]
  ------------------
 1988|      0|	case 1613:	/* character <- integer	  */
  ------------------
  |  Branch (1988:2): [True: 0, False: 61]
  ------------------
 1989|      0|	case 1614:	/* character <- real	  */
  ------------------
  |  Branch (1989:2): [True: 0, False: 61]
  ------------------
 1990|      0|	case 1615:	/* character <- complex	  */
  ------------------
  |  Branch (1990:2): [True: 0, False: 61]
  ------------------
 1991|      0|	case 1616:	/* character <- character */
  ------------------
  |  Branch (1991:2): [True: 0, False: 61]
  ------------------
 1992|       |	/* case 1016:	   logical   <- character */
 1993|       |	/* case 1316:	   integer   <- character */
 1994|       |	/* case 1416:	   real	     <- character */
 1995|       |	/* case 1516:	   complex   <- character */
 1996|       |
 1997|      0|	    SET_STRING_ELT(x, offset, STRING_ELT(y, 0));
 1998|      0|	    break;
 1999|       |
 2000|      0|	case 1019:      /* logical    <- vector     */
  ------------------
  |  Branch (2000:2): [True: 0, False: 61]
  ------------------
 2001|      0|	case 1319:      /* integer    <- vector     */
  ------------------
  |  Branch (2001:2): [True: 0, False: 61]
  ------------------
 2002|      0|	case 1419:      /* real       <- vector     */
  ------------------
  |  Branch (2002:2): [True: 0, False: 61]
  ------------------
 2003|      0|	case 1519:      /* complex    <- vector     */
  ------------------
  |  Branch (2003:2): [True: 0, False: 61]
  ------------------
 2004|      0|	case 1619:      /* character  <- vector     */
  ------------------
  |  Branch (2004:2): [True: 0, False: 61]
  ------------------
 2005|       |
 2006|      0|	case 1901:  /* vector     <- symbol     */
  ------------------
  |  Branch (2006:2): [True: 0, False: 61]
  ------------------
 2007|      0|	case 1902:  /* vector	  <- pairlist   */
  ------------------
  |  Branch (2007:2): [True: 0, False: 61]
  ------------------
 2008|      0|	case 1904:  /* vector     <- environment*/
  ------------------
  |  Branch (2008:2): [True: 0, False: 61]
  ------------------
 2009|      0|	case 1905:  /* vector     <- promise    */
  ------------------
  |  Branch (2009:2): [True: 0, False: 61]
  ------------------
 2010|      0|	case 1906:  /* vector     <- language   */
  ------------------
  |  Branch (2010:2): [True: 0, False: 61]
  ------------------
 2011|      0|	case 1910:  /* vector     <- logical    */
  ------------------
  |  Branch (2011:2): [True: 0, False: 61]
  ------------------
 2012|      0|	case 1913:  /* vector     <- integer    */
  ------------------
  |  Branch (2012:2): [True: 0, False: 61]
  ------------------
 2013|      0|	case 1914:  /* vector     <- real       */
  ------------------
  |  Branch (2013:2): [True: 0, False: 61]
  ------------------
 2014|      0|	case 1915:  /* vector     <- complex    */
  ------------------
  |  Branch (2014:2): [True: 0, False: 61]
  ------------------
 2015|     10|	case 1916:  /* vector     <- character  */
  ------------------
  |  Branch (2015:2): [True: 10, False: 51]
  ------------------
 2016|     10|	case 1920:  /* vector     <- expression */
  ------------------
  |  Branch (2016:2): [True: 0, False: 61]
  ------------------
 2017|     10|	case 1921:  /* vector     <- bytecode   */
  ------------------
  |  Branch (2017:2): [True: 0, False: 61]
  ------------------
 2018|     10|	case 1922:  /* vector     <- external pointer */
  ------------------
  |  Branch (2018:2): [True: 0, False: 61]
  ------------------
 2019|     10|	case 1923:  /* vector     <- weak reference */
  ------------------
  |  Branch (2019:2): [True: 0, False: 61]
  ------------------
 2020|     10|	case 1924:  /* vector     <- raw */
  ------------------
  |  Branch (2020:2): [True: 0, False: 61]
  ------------------
 2021|     10|	case 1925:  /* vector     <- S4 */
  ------------------
  |  Branch (2021:2): [True: 0, False: 61]
  ------------------
 2022|     10|	case 1903: case 1907: case 1908: case 1999: /* functions */
  ------------------
  |  Branch (2022:2): [True: 0, False: 61]
  |  Branch (2022:13): [True: 0, False: 61]
  |  Branch (2022:24): [True: 0, False: 61]
  |  Branch (2022:35): [True: 0, False: 61]
  ------------------
 2023|       |
 2024|       |	    /* drop through: vectors and expressions are treated the same */
 2025|       |
 2026|     10|	case 2001:	/* expression <- symbol	    */
  ------------------
  |  Branch (2026:2): [True: 0, False: 61]
  ------------------
 2027|     10|	case 2002:	/* expression <- pairlist   */
  ------------------
  |  Branch (2027:2): [True: 0, False: 61]
  ------------------
 2028|     10|	case 2006:	/* expression <- language   */
  ------------------
  |  Branch (2028:2): [True: 0, False: 61]
  ------------------
 2029|     10|	case 2010:	/* expression <- logical    */
  ------------------
  |  Branch (2029:2): [True: 0, False: 61]
  ------------------
 2030|     10|	case 2013:	/* expression <- integer    */
  ------------------
  |  Branch (2030:2): [True: 0, False: 61]
  ------------------
 2031|     10|	case 2014:	/* expression <- real	    */
  ------------------
  |  Branch (2031:2): [True: 0, False: 61]
  ------------------
 2032|     10|	case 2015:	/* expression <- complex    */
  ------------------
  |  Branch (2032:2): [True: 0, False: 61]
  ------------------
 2033|     10|	case 2016:	/* expression <- character  */
  ------------------
  |  Branch (2033:2): [True: 0, False: 61]
  ------------------
 2034|     10|	case 2024:	/* expression     <- raw */
  ------------------
  |  Branch (2034:2): [True: 0, False: 61]
  ------------------
 2035|     10|	case 2025:	/* expression     <- S4 */
  ------------------
  |  Branch (2035:2): [True: 0, False: 61]
  ------------------
 2036|     20|	case 1919:      /* vector     <- vector     */
  ------------------
  |  Branch (2036:2): [True: 10, False: 51]
  ------------------
 2037|     20|	case 2020:	/* expression <- expression */
  ------------------
  |  Branch (2037:2): [True: 0, False: 61]
  ------------------
 2038|       |
 2039|     20|	    if (MAYBE_REFERENCED(y) && VECTOR_ELT(x, offset) != y)
  ------------------
  |  |  251|     40|#define MAYBE_REFERENCED(x) (! NO_REFERENCES(x))
  |  |  ------------------
  |  |  |  Branch (251:29): [True: 20, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2039:33): [True: 20, False: 0]
  ------------------
 2040|     20|		y = R_FixupRHS(x, y);
 2041|     20|	    SET_VECTOR_ELT(x, offset, y);
 2042|     20|	    break;
 2043|       |
 2044|      0|	case 2424:      /* raw <- raw */
  ------------------
  |  Branch (2044:2): [True: 0, False: 61]
  ------------------
 2045|       |
 2046|      0|	    RAW(x)[offset] = RAW_ELT(y, 0);
 2047|      0|	    break;
 2048|       |
 2049|      0|	default:
  ------------------
  |  Branch (2049:2): [True: 0, False: 61]
  ------------------
 2050|      0|	    error(_("incompatible types (from %s to %s) in [[ assignment"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("incompatible types (from %s to %s) in [[ assignment"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2051|      0|		  R_typeToChar(x), R_typeToChar(y));
 2052|     61|	}
 2053|       |	/* If we stretched, we may have a new name. */
 2054|       |	/* In this case we must create a names attribute */
 2055|       |	/* (if it doesn't already exist) and set the new */
 2056|       |	/* value in the names attribute. */
 2057|     61|	if (stretch && newname != R_NilValue) {
  ------------------
  |  Branch (2057:6): [True: 20, False: 41]
  |  Branch (2057:17): [True: 20, False: 0]
  ------------------
 2058|     20|	    names = getAttrib(x, R_NamesSymbol);
  ------------------
  |  |  924|     20|#define getAttrib		Rf_getAttrib
  ------------------
 2059|     20|	    if (names == R_NilValue) {
  ------------------
  |  Branch (2059:10): [True: 20, False: 0]
  ------------------
 2060|     20|		PROTECT(names = allocVector(STRSXP, length(x)));
  ------------------
  |  |  357|     20|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2061|     20|		SET_STRING_ELT(names, offset, newname);
 2062|     20|		setAttrib(x, R_NamesSymbol, names);
  ------------------
  |  | 1027|     20|#define setAttrib		Rf_setAttrib
  ------------------
 2063|     20|		UNPROTECT(1); /* names */
  ------------------
  |  |  358|     20|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2064|     20|	    }
 2065|      0|	    else
 2066|      0|		SET_STRING_ELT(names, offset, newname);
 2067|     20|	}
 2068|     61|	if (old_x != x && ! recursed)
  ------------------
  |  Branch (2068:6): [True: 20, False: 41]
  |  Branch (2068:20): [True: 20, False: 0]
  ------------------
 2069|       |	    // might be safe even if recursed is TRUE, but avoid for now
 2070|     20|	    CLEAR_VECTOR(old_x);
  ------------------
  |  |  108|     20|# define CLEAR_VECTOR(x) do {					\
  |  |  109|     20|	if (TYPEOF(x) == EXPRSXP || TYPEOF(x) == VECSXP) {	\
  |  |  ------------------
  |  |  |  |  132|     40|#define EXPRSXP	    20	  /* expressions vectors */
  |  |  ------------------
  |  |               	if (TYPEOF(x) == EXPRSXP || TYPEOF(x) == VECSXP) {	\
  |  |  ------------------
  |  |  |  |  131|     20|#define VECSXP	    19	  /* generic vectors */
  |  |  ------------------
  |  |  |  Branch (109:6): [True: 0, False: 20]
  |  |  |  Branch (109:30): [True: 20, False: 0]
  |  |  ------------------
  |  |  110|     20|	    R_xlen_t len = XLENGTH(x);				\
  |  |  111|     20|	    for (R_xlen_t i = 0; i < len; i++)			\
  |  |  ------------------
  |  |  |  Branch (111:27): [True: 0, False: 20]
  |  |  ------------------
  |  |  112|     20|		SET_VECTOR_ELT(x, i, R_NilValue);		\
  |  |  113|     20|	}							\
  |  |  114|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (114:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
 2071|     61|	UNPROTECT(4); /* y, x, xup, x */
  ------------------
  |  |  358|     61|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2072|     61|	PROTECT(x);
  ------------------
  |  |  357|     61|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2073|     61|	PROTECT(xup);
  ------------------
  |  |  357|     61|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2074|     61|    }
 2075|    233|    else if (isPairList(x)) {
  ------------------
  |  |  961|    233|#define isPairList		Rf_isPairList
  ------------------
  |  Branch (2075:14): [True: 233, False: 0]
  ------------------
 2076|    233|	PROTECT(y);
  ------------------
  |  |  357|    233|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2077|    233|	if (nsubs == 1) {
  ------------------
  |  Branch (2077:6): [True: 233, False: 0]
  ------------------
 2078|    233|	    if (isNull(y)) {
  ------------------
  |  |  956|    233|#define isNull			Rf_isNull
  ------------------
  |  Branch (2078:10): [True: 0, False: 233]
  ------------------
 2079|      0|		x = listRemove(x, CAR(subs), len-1);
 2080|      0|	    }
 2081|    233|	    else {
 2082|    233|		x = SimpleListAssign(call, x, subs, y, len-1, true);
 2083|    233|	    }
 2084|    233|	}
 2085|      0|	else {
 2086|      0|	    if (ndims != nsubs)
  ------------------
  |  Branch (2086:10): [True: 0, False: 0]
  ------------------
 2087|      0|		error(_("[[ ]] improper number of subscripts"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("[[ ]] improper number of subscripts"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2088|      0|	    PROTECT(indx = allocVector(INTSXP, ndims));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2089|      0|	    int *pindx = INTEGER0(indx);
 2090|      0|	    names = getAttrib(x, R_DimNamesSymbol);
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
 2091|      0|	    for (i = 0; i < ndims; i++) {
  ------------------
  |  Branch (2091:18): [True: 0, False: 0]
  ------------------
 2092|      0|		SEXP thesub = CAR(subs);
 2093|      0|		pindx[i] = (int)
 2094|      0|		    get1index(thesub, VECTOR_ELT(names, i),
  ------------------
  |  | 1911|      0|# define get1index		Rf_get1index
  ------------------
 2095|      0|			      pdims[i],
 2096|      0|			      /*partial ok*/FALSE, -1, call);
 2097|      0|		subs = CDR(subs);
 2098|      0|		if (pindx[i] < 0 ||
  ------------------
  |  Branch (2098:7): [True: 0, False: 0]
  ------------------
 2099|      0|		    pindx[i] >= pdims[i])
  ------------------
  |  Branch (2099:7): [True: 0, False: 0]
  ------------------
 2100|      0|		    errorOutOfBoundsSEXP(x, i, thesub);
 2101|      0|	    }
 2102|      0|	    offset = 0;
 2103|      0|	    for (i = (ndims - 1); i > 0; i--)
  ------------------
  |  Branch (2103:28): [True: 0, False: 0]
  ------------------
 2104|      0|		offset = (offset + pindx[i]) * pdims[i - 1];
 2105|      0|	    offset += pindx[0];
 2106|      0|	    SEXP slot = nthcdr(x, (int) offset);
  ------------------
  |  | 1009|      0|#define nthcdr			Rf_nthcdr
  ------------------
 2107|      0|	    SETCAR(slot, duplicate(y));
  ------------------
  |  |  909|      0|#define duplicate		Rf_duplicate
  ------------------
 2108|       |	    /* FIXME: add name */
 2109|      0|	    UNPROTECT(1); /* indx */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2110|      0|	}
 2111|    233|	UNPROTECT(3); /* y, xup, x */
  ------------------
  |  |  358|    233|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2112|    233|	PROTECT(x);
  ------------------
  |  |  357|    233|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2113|    233|	PROTECT(xup);
  ------------------
  |  |  357|    233|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2114|    233|    }
 2115|      0|    else errorNotSubsettable(x);
 2116|       |
 2117|    294|    if(recursed) {
  ------------------
  |  Branch (2117:8): [True: 0, False: 294]
  ------------------
 2118|      0|	if (isVectorList(xup)) {
  ------------------
  |  |  977|      0|#define isVectorList		Rf_isVectorList
  ------------------
  |  Branch (2118:6): [True: 0, False: 0]
  ------------------
 2119|      0|	    SET_VECTOR_ELT(xup, off, x);
 2120|      0|	} else {
 2121|      0|	    xup = SimpleListAssign(call, xup, subs, x, len-2, false);
 2122|      0|	}
 2123|      0|	if (len == 2)
  ------------------
  |  Branch (2123:6): [True: 0, False: 0]
  ------------------
 2124|      0|	    xtop = xup;
 2125|      0|    }
 2126|    294|    else xtop = x;
 2127|       |
 2128|    294|    UNPROTECT(4); /* xup, x, args, y */
  ------------------
  |  |  358|    294|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2129|    294|    SETTER_CLEAR_NAMED(xtop);
 2130|    294|    if(S4) SET_S4_OBJECT(xtop);
  ------------------
  |  Branch (2130:8): [True: 0, False: 294]
  ------------------
 2131|    294|    return xtop;
 2132|    294|}
R_subassign3_dflt:
 2162|  2.09M|{
 2163|  2.09M|    SEXP t;
 2164|  2.09M|    PROTECT_INDEX pvalidx, pxidx;
 2165|  2.09M|    bool S4; SEXP xS4 = R_NilValue;
 2166|  2.09M|    int nprotect = 0;
 2167|       |
 2168|  2.09M|    PROTECT_WITH_INDEX(x, &pxidx);
  ------------------
  |  |  366|  2.09M|#define PROTECT_WITH_INDEX(x,i) R_ProtectWithIndex(x,i)
  ------------------
 2169|  2.09M|    PROTECT_WITH_INDEX(val, &pvalidx);
  ------------------
  |  |  366|  2.09M|#define PROTECT_WITH_INDEX(x,i) R_ProtectWithIndex(x,i)
  ------------------
 2170|  2.09M|    nprotect += 2;
 2171|  2.09M|    S4 = IS_S4_OBJECT(x);
 2172|       |
 2173|  2.09M|    if (MAYBE_SHARED(x) ||
  ------------------
  |  Branch (2173:9): [True: 28, False: 2.09M]
  ------------------
 2174|  2.09M|	((! IS_ASSIGNMENT_CALL(call)) && MAYBE_REFERENCED(x)))
  ------------------
  |  |  251|      0|#define MAYBE_REFERENCED(x) (! NO_REFERENCES(x))
  |  |  ------------------
  |  |  |  Branch (251:29): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2174:3): [True: 0, False: 2.09M]
  ------------------
 2175|     28|	REPROTECT(x = shallow_duplicate(x), pxidx);
  ------------------
  |  |  367|     28|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
 2176|       |
 2177|       |    /* code to allow classes to extend ENVSXP */
 2178|  2.09M|    if(TYPEOF(x) == OBJSXP) {
  ------------------
  |  |  137|  2.09M|#define OBJSXP      25    /* object, non-vector  */
  ------------------
  |  Branch (2178:8): [True: 0, False: 2.09M]
  ------------------
 2179|      0|	xS4 = x;
 2180|      0|	REPROTECT(x = R_getS4DataSlot(x, ANYSXP), pxidx);
  ------------------
  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
 2181|      0|	if(x == R_NilValue)
  ------------------
  |  Branch (2181:5): [True: 0, False: 0]
  ------------------
 2182|      0|	  errorcall(call, _("no method for assigning subsets of this S4 class"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	  errorcall(call, _("no method for assigning subsets of this S4 class"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2183|      0|    }
 2184|       |
 2185|  2.09M|    if ((isList(x) || isLanguage(x)) && !isNull(x)) {
  ------------------
  |  |  951|  2.09M|#define isList			Rf_isList
  ------------------
                  if ((isList(x) || isLanguage(x)) && !isNull(x)) {
  ------------------
  |  |  950|  2.09M|#define isLanguage		Rf_isLanguage
  ------------------
                  if ((isList(x) || isLanguage(x)) && !isNull(x)) {
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
  |  Branch (2185:10): [True: 0, False: 2.09M]
  |  Branch (2185:23): [True: 0, False: 2.09M]
  |  Branch (2185:41): [True: 0, False: 0]
  ------------------
 2186|      0|	if (TAG(x) == nlist) {
  ------------------
  |  Branch (2186:6): [True: 0, False: 0]
  ------------------
 2187|      0|	    if (val == R_NilValue) {
  ------------------
  |  Branch (2187:10): [True: 0, False: 0]
  ------------------
 2188|      0|		SET_ATTRIB(CDR(x), ATTRIB(x));
 2189|      0|		IS_S4_OBJECT(x) ?  SET_S4_OBJECT(CDR(x)) : UNSET_S4_OBJECT(CDR(x));
  ------------------
  |  Branch (2189:3): [True: 0, False: 0]
  ------------------
 2190|      0|		SET_OBJECT(CDR(x), OBJECT(x));
 2191|      0|		RAISE_NAMED(CDR(x), NAMED(x));
 2192|      0|		SETCAR(x, R_NilValue); // decrements REFCNT
 2193|      0|		x = CDR(x);
 2194|      0|	    }
 2195|      0|	    else {
 2196|       |		/* Here we need to check for cycles*/
 2197|      0|		if (MAYBE_REFERENCED(val) && CAR(x) != val)
  ------------------
  |  |  251|      0|#define MAYBE_REFERENCED(x) (! NO_REFERENCES(x))
  |  |  ------------------
  |  |  |  Branch (251:29): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2197:32): [True: 0, False: 0]
  ------------------
 2198|      0|		    REPROTECT(val = R_FixupRHS(x, val), pvalidx);
  ------------------
  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
 2199|      0|		SETCAR(x, val);
 2200|      0|	    }
 2201|      0|	}
 2202|      0|	else {
 2203|      0|	    for (t = x; t != R_NilValue; t = CDR(t))
  ------------------
  |  Branch (2203:18): [True: 0, False: 0]
  ------------------
 2204|      0|		if (TAG(CDR(t)) == nlist) {
  ------------------
  |  Branch (2204:7): [True: 0, False: 0]
  ------------------
 2205|      0|		    if (val == R_NilValue) {
  ------------------
  |  Branch (2205:11): [True: 0, False: 0]
  ------------------
 2206|      0|			SETCAR(CDR(t), R_NilValue); // decrements REFCNT
 2207|      0|			SETCDR(t, CDDR(t));
 2208|      0|		    }
 2209|      0|		    else {
 2210|       |			/* Here we need to check for cycles*/
 2211|      0|			if (MAYBE_REFERENCED(val) && CADR(t) != val)
  ------------------
  |  |  251|      0|#define MAYBE_REFERENCED(x) (! NO_REFERENCES(x))
  |  |  ------------------
  |  |  |  Branch (251:29): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (2211:33): [True: 0, False: 0]
  ------------------
 2212|      0|			    REPROTECT(val = R_FixupRHS(x, val), pvalidx);
  ------------------
  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
 2213|      0|			SETCAR(CDR(t), val);
 2214|      0|		    }
 2215|      0|		    break;
 2216|      0|		}
 2217|      0|		else if (CDR(t) == R_NilValue && val != R_NilValue) {
  ------------------
  |  Branch (2217:12): [True: 0, False: 0]
  |  Branch (2217:36): [True: 0, False: 0]
  ------------------
 2218|      0|		    SETCDR(t, allocSExp(LISTSXP));
  ------------------
  |  |  874|      0|#define allocSExp		Rf_allocSExp
  ------------------
              		    SETCDR(t, allocSExp(LISTSXP));
  ------------------
  |  |  113|      0|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
 2219|      0|		    SET_TAG(CDR(t), nlist);
 2220|      0|		    if (MAYBE_REFERENCED(val)) ENSURE_NAMEDMAX(val);
  ------------------
  |  |  251|      0|#define MAYBE_REFERENCED(x) (! NO_REFERENCES(x))
  |  |  ------------------
  |  |  |  Branch (251:29): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2221|      0|		    SETCADR(t, val);
 2222|      0|		    break;
 2223|      0|		}
 2224|      0|	}
 2225|      0|	if (x == R_NilValue && val != R_NilValue) {
  ------------------
  |  Branch (2225:6): [True: 0, False: 0]
  |  Branch (2225:25): [True: 0, False: 0]
  ------------------
 2226|      0|	    x = allocList(1);
  ------------------
  |  |  871|      0|#define allocList		Rf_allocList
  ------------------
 2227|      0|	    if (MAYBE_REFERENCED(val)) ENSURE_NAMEDMAX(val);
  ------------------
  |  |  251|      0|#define MAYBE_REFERENCED(x) (! NO_REFERENCES(x))
  |  |  ------------------
  |  |  |  Branch (251:29): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2228|      0|	    SETCAR(x, val);
 2229|      0|	    SET_TAG(x, nlist);
 2230|      0|	}
 2231|      0|    }
 2232|       |    /* cannot use isEnvironment since we do not want NULL here */
 2233|  2.09M|    else if( TYPEOF(x) == ENVSXP ) {
  ------------------
  |  |  115|  2.09M|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (2233:14): [True: 56, False: 2.09M]
  ------------------
 2234|     56|	defineVar(nlist, val, x);
  ------------------
  |  |  905|     56|#define defineVar		Rf_defineVar
  ------------------
 2235|     56|	INCREMENT_NAMED(val);
  ------------------
  |  |  222|     56|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  ------------------
  |  |  |  Branch (222:43): [Folded, False: 56]
  |  |  ------------------
  ------------------
 2236|     56|    }
 2237|  2.09M|    else if( TYPEOF(x) == SYMSXP || /* Used to 'work' in R < 2.8.0 */
  ------------------
  |  |  112|  4.19M|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (2237:14): [True: 0, False: 2.09M]
  ------------------
 2238|  2.09M|	     TYPEOF(x) == CLOSXP ||
  ------------------
  |  |  114|  4.19M|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (2238:7): [True: 0, False: 2.09M]
  ------------------
 2239|  2.09M|	     TYPEOF(x) == SPECIALSXP ||
  ------------------
  |  |  118|  4.19M|#define SPECIALSXP   7	  /* special forms */
  ------------------
  |  Branch (2239:7): [True: 0, False: 2.09M]
  ------------------
 2240|  2.09M|	     TYPEOF(x) == BUILTINSXP) {
  ------------------
  |  |  119|  2.09M|#define BUILTINSXP   8	  /* builtin non-special forms */
  ------------------
  |  Branch (2240:7): [True: 0, False: 2.09M]
  ------------------
 2241|      0|	errorNotSubsettable(x);
 2242|      0|    }
 2243|  2.09M|    else {
 2244|  2.09M|	R_xlen_t i, imatch, nx;
 2245|  2.09M|	SEXP names;
 2246|  2.09M|	int type = VECSXP;
  ------------------
  |  |  131|  2.09M|#define VECSXP	    19	  /* generic vectors */
  ------------------
 2247|       |
 2248|  2.09M|	if (isExpression(x))
  ------------------
  |  |  945|  2.09M|#define isExpression		Rf_isExpression
  ------------------
  |  Branch (2248:6): [True: 0, False: 2.09M]
  ------------------
 2249|      0|	    type = EXPRSXP;
  ------------------
  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
 2250|  2.09M|	else if (!isNewList(x)) {
  ------------------
  |  |  955|  2.09M|#define isNewList		Rf_isNewList
  ------------------
  |  Branch (2250:11): [True: 0, False: 2.09M]
  ------------------
 2251|      0|	    warning(_("Coercing LHS to a list"));
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	    warning(_("Coercing LHS to a list"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2252|      0|	    REPROTECT(x = coerceVector(x, VECSXP), pxidx);
  ------------------
  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
 2253|      0|	}
 2254|  2.09M|	names = PROTECT(getAttrib(x, R_NamesSymbol));
  ------------------
  |  |  357|  2.09M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2255|  2.09M|	nprotect++;
 2256|  2.09M|	nx = xlength(x);
  ------------------
  |  | 1049|  2.09M|#define xlength(x)		Rf_xlength(x)
  ------------------
 2257|  2.09M|	nlist = PRINTNAME(nlist);
 2258|  2.09M|	if (isNull(val)) {
  ------------------
  |  |  956|  2.09M|#define isNull			Rf_isNull
  ------------------
  |  Branch (2258:6): [True: 1.17k, False: 2.09M]
  ------------------
 2259|       |	    /* If "val" is NULL, this is an element deletion */
 2260|       |	    /* if there is a match to "nlist" otherwise "x" */
 2261|       |	    /* is unchanged.  The attributes need adjustment. */
 2262|  1.17k|	    if (names != R_NilValue) {
  ------------------
  |  Branch (2262:10): [True: 1.17k, False: 0]
  ------------------
 2263|  1.17k|		imatch = -1;
 2264|  1.17k|		for (i = 0; i < nx; i++)
  ------------------
  |  Branch (2264:15): [True: 1.17k, False: 0]
  ------------------
 2265|  1.17k|		    if (NonNullStringMatch(STRING_ELT(names, i), nlist)) {
  ------------------
  |  | 1007|  1.17k|#define NonNullStringMatch	Rf_NonNullStringMatch
  ------------------
  |  Branch (2265:11): [True: 1.17k, False: 0]
  ------------------
 2266|  1.17k|			imatch = i;
 2267|  1.17k|			break;
 2268|  1.17k|		    }
 2269|  1.17k|		if (imatch >= 0) {
  ------------------
  |  Branch (2269:7): [True: 1.17k, False: 0]
  ------------------
 2270|  1.17k|		    SEXP ans, ansnames;
 2271|  1.17k|		    int ii;
 2272|  1.17k|		    PROTECT(ans = allocVector(type, nx - 1));
  ------------------
  |  |  357|  1.17k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2273|  1.17k|		    PROTECT(ansnames = allocVector(STRSXP, nx - 1));
  ------------------
  |  |  357|  1.17k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2274|  2.35k|		    for (i = 0, ii = 0; i < nx; i++) {
  ------------------
  |  Branch (2274:27): [True: 1.17k, False: 1.17k]
  ------------------
 2275|  1.17k|			if (i != imatch) {
  ------------------
  |  Branch (2275:8): [True: 0, False: 1.17k]
  ------------------
 2276|      0|			    SET_VECTOR_ELT(ans, ii, VECTOR_ELT(x, i));
 2277|      0|			    SET_STRING_ELT(ansnames, ii, STRING_ELT(names, i));
 2278|      0|			    ii++;
 2279|      0|			}
 2280|  1.17k|		    }
 2281|  1.17k|		    setAttrib(ans, R_NamesSymbol, ansnames);
  ------------------
  |  | 1027|  1.17k|#define setAttrib		Rf_setAttrib
  ------------------
 2282|  1.17k|		    copyMostAttrib(x, ans);
  ------------------
  |  |  901|  1.17k|#define copyMostAttrib		Rf_copyMostAttrib
  ------------------
 2283|  1.17k|		    UNPROTECT(2);
  ------------------
  |  |  358|  1.17k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2284|  1.17k|		    CLEAR_VECTOR(x); // OK since x != ans
  ------------------
  |  |  108|  1.17k|# define CLEAR_VECTOR(x) do {					\
  |  |  109|  1.17k|	if (TYPEOF(x) == EXPRSXP || TYPEOF(x) == VECSXP) {	\
  |  |  ------------------
  |  |  |  |  132|  2.35k|#define EXPRSXP	    20	  /* expressions vectors */
  |  |  ------------------
  |  |               	if (TYPEOF(x) == EXPRSXP || TYPEOF(x) == VECSXP) {	\
  |  |  ------------------
  |  |  |  |  131|  1.17k|#define VECSXP	    19	  /* generic vectors */
  |  |  ------------------
  |  |  |  Branch (109:6): [True: 0, False: 1.17k]
  |  |  |  Branch (109:30): [True: 1.17k, False: 0]
  |  |  ------------------
  |  |  110|  1.17k|	    R_xlen_t len = XLENGTH(x);				\
  |  |  111|  2.35k|	    for (R_xlen_t i = 0; i < len; i++)			\
  |  |  ------------------
  |  |  |  Branch (111:27): [True: 1.17k, False: 1.17k]
  |  |  ------------------
  |  |  112|  1.17k|		SET_VECTOR_ELT(x, i, R_NilValue);		\
  |  |  113|  1.17k|	}							\
  |  |  114|  1.17k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (114:14): [Folded, False: 1.17k]
  |  |  ------------------
  ------------------
 2285|  1.17k|		    x = ans;
 2286|  1.17k|		}
 2287|       |		/* else x is unchanged */
 2288|  1.17k|	    }
 2289|  1.17k|	}
 2290|  2.09M|	else {
 2291|       |	    /* If "val" is non-NULL, we are either replacing */
 2292|       |	    /* an existing list element or we are adding a new */
 2293|       |	    /* element. */
 2294|  2.09M|	    imatch = -1;
 2295|  2.09M|	    if (!isNull(names)) {
  ------------------
  |  |  956|  2.09M|#define isNull			Rf_isNull
  ------------------
  |  Branch (2295:10): [True: 2.09M, False: 0]
  ------------------
 2296|  3.14M|		for (i = 0; i < nx; i++)
  ------------------
  |  Branch (2296:15): [True: 3.14M, False: 0]
  ------------------
 2297|  3.14M|		    if (NonNullStringMatch(STRING_ELT(names, i), nlist)) {
  ------------------
  |  | 1007|  3.14M|#define NonNullStringMatch	Rf_NonNullStringMatch
  ------------------
  |  Branch (2297:11): [True: 2.09M, False: 1.04M]
  ------------------
 2298|  2.09M|			imatch = i;
 2299|  2.09M|			break;
 2300|  2.09M|		    }
 2301|  2.09M|	    }
 2302|  2.09M|	    if (imatch >= 0) {
  ------------------
  |  Branch (2302:10): [True: 2.09M, False: 0]
  ------------------
 2303|       |		/* We are just replacing an element */
 2304|       |		/* Here we need to check for cycles*/
 2305|  2.09M|		if (MAYBE_REFERENCED(val) && VECTOR_ELT(x, imatch) != val)
  ------------------
  |  |  251|  4.19M|#define MAYBE_REFERENCED(x) (! NO_REFERENCES(x))
  |  |  ------------------
  |  |  |  Branch (251:29): [True: 1.04M, False: 1.04M]
  |  |  ------------------
  ------------------
  |  Branch (2305:32): [True: 1.04M, False: 0]
  ------------------
 2306|  1.04M|		    REPROTECT(val = R_FixupRHS(x, val), pvalidx);
  ------------------
  |  |  367|  1.04M|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
 2307|  2.09M|		SET_VECTOR_ELT(x, imatch, val);
 2308|  2.09M|	    }
 2309|      0|	    else {
 2310|       |		/* We are introducing a new element (=> *no* duplication) */
 2311|       |		/* Enlarge the list, add the new element */
 2312|       |		/* and finally, adjust the attributes. */
 2313|      0|		SEXP ans, ansnames;
 2314|      0|		PROTECT(ans = allocVector(VECSXP, nx + 1));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2315|      0|		PROTECT(ansnames = allocVector(STRSXP, nx + 1));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2316|      0|		for (i = 0; i < nx; i++)
  ------------------
  |  Branch (2316:15): [True: 0, False: 0]
  ------------------
 2317|      0|		    SET_VECTOR_ELT(ans, i, VECTOR_ELT(x, i));
 2318|      0|		if (isNull(names)) {
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
  |  Branch (2318:7): [True: 0, False: 0]
  ------------------
 2319|      0|		    for (i = 0; i < nx; i++)
  ------------------
  |  Branch (2319:19): [True: 0, False: 0]
  ------------------
 2320|      0|			SET_STRING_ELT(ansnames, i, R_BlankString);
 2321|      0|		}
 2322|      0|		else {
 2323|      0|		    for (i = 0; i < nx; i++)
  ------------------
  |  Branch (2323:19): [True: 0, False: 0]
  ------------------
 2324|      0|			SET_STRING_ELT(ansnames, i, STRING_ELT(names, i));
 2325|      0|		}
 2326|      0|		if (MAYBE_REFERENCED(val)) ENSURE_NAMEDMAX(val);
  ------------------
  |  |  251|      0|#define MAYBE_REFERENCED(x) (! NO_REFERENCES(x))
  |  |  ------------------
  |  |  |  Branch (251:29): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2327|      0|		SET_VECTOR_ELT(ans, nx, val);
 2328|      0|		SET_STRING_ELT(ansnames, nx,  nlist);
 2329|      0|		setAttrib(ans, R_NamesSymbol, ansnames);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
 2330|      0|		copyMostAttrib(x, ans);
  ------------------
  |  |  901|      0|#define copyMostAttrib		Rf_copyMostAttrib
  ------------------
 2331|      0|		UNPROTECT(2);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2332|      0|		CLEAR_VECTOR(x); // OK since x != ans
  ------------------
  |  |  108|      0|# define CLEAR_VECTOR(x) do {					\
  |  |  109|      0|	if (TYPEOF(x) == EXPRSXP || TYPEOF(x) == VECSXP) {	\
  |  |  ------------------
  |  |  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  |  |  ------------------
  |  |               	if (TYPEOF(x) == EXPRSXP || TYPEOF(x) == VECSXP) {	\
  |  |  ------------------
  |  |  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  |  |  ------------------
  |  |  |  Branch (109:6): [True: 0, False: 0]
  |  |  |  Branch (109:30): [True: 0, False: 0]
  |  |  ------------------
  |  |  110|      0|	    R_xlen_t len = XLENGTH(x);				\
  |  |  111|      0|	    for (R_xlen_t i = 0; i < len; i++)			\
  |  |  ------------------
  |  |  |  Branch (111:27): [True: 0, False: 0]
  |  |  ------------------
  |  |  112|      0|		SET_VECTOR_ELT(x, i, R_NilValue);		\
  |  |  113|      0|	}							\
  |  |  114|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (114:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2333|      0|		x = ans;
 2334|      0|	    }
 2335|  2.09M|	}
 2336|  2.09M|    }
 2337|  2.09M|    UNPROTECT(nprotect);
  ------------------
  |  |  358|  2.09M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2338|  2.09M|    if(xS4 != R_NilValue)
  ------------------
  |  Branch (2338:8): [True: 0, False: 2.09M]
  ------------------
 2339|      0|	x = xS4; /* x was an env't, the data slot of xS4 */
 2340|  2.09M|    SETTER_CLEAR_NAMED(x);
 2341|  2.09M|    if(S4) SET_S4_OBJECT(x);
  ------------------
  |  Branch (2341:8): [True: 0, False: 2.09M]
  ------------------
 2342|  2.09M|    return x;
 2343|  2.09M|}
subassign.c:R_DispatchOrEvalSP:
 1555|     16|{
 1556|     16|    SEXP prom = NULL;
 1557|     16|    if (args != R_NilValue && CAR(args) != R_DotsSymbol) {
  ------------------
  |  Branch (1557:9): [True: 16, False: 0]
  |  Branch (1557:31): [True: 16, False: 0]
  ------------------
 1558|     16|	SEXP x = eval(CAR(args), rho);
  ------------------
  |  |  913|     16|#define eval			Rf_eval
  ------------------
 1559|     16|	PROTECT(x);
  ------------------
  |  |  357|     16|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1560|     16|	INCREMENT_LINKS(x);
  ------------------
  |  |  540|     16|#define INCREMENT_LINKS(x) do {			\
  |  |  541|     16|	SEXP il__x__ = (x);			\
  |  |  542|     16|	INCREMENT_NAMED(il__x__);		\
  |  |  ------------------
  |  |  |  |  222|     16|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:43): [Folded, False: 16]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  543|     16|	INCREMENT_REFCNT(il__x__);		\
  |  |  544|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (544:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 1561|     16|	if (! OBJECT(x)) {
  ------------------
  |  Branch (1561:6): [True: 16, False: 0]
  ------------------
 1562|     16|	    *ans = CONS_NR(x, evalListKeepMissing(CDR(args), rho));
  ------------------
  |  | 1904|     16|# define evalListKeepMissing	Rf_evalListKeepMissing
  ------------------
 1563|     16|	    DECREMENT_LINKS(x);
  ------------------
  |  |  545|     16|#define DECREMENT_LINKS(x) do {			\
  |  |  546|     16|	SEXP dl__x__ = (x);			\
  |  |  547|     16|	DECREMENT_NAMED(dl__x__);		\
  |  |  ------------------
  |  |  |  |  223|     16|# define DECREMENT_NAMED(x) do { } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (223:43): [Folded, False: 16]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  548|     16|	DECREMENT_REFCNT(dl__x__);		\
  |  |  549|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (549:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 1564|     16|	    UNPROTECT(1);
  ------------------
  |  |  358|     16|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1565|     16|	    return false;
 1566|     16|	}
 1567|      0|	prom = R_mkEVPROMISE_NR(CAR(args), x);
 1568|      0|	args = CONS(prom, CDR(args));
  ------------------
  |  |  309|      0|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
 1569|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1570|      0|    }
 1571|      0|    PROTECT(args);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1572|      0|    int disp = DispatchOrEval(call, op, generic, args, rho, ans, 0, 0);
  ------------------
  |  | 1892|      0|# define DispatchOrEval		Rf_DispatchOrEval
  ------------------
 1573|      0|    if (prom) DECREMENT_LINKS(PRVALUE(prom));
  ------------------
  |  |  545|      0|#define DECREMENT_LINKS(x) do {			\
  |  |  546|      0|	SEXP dl__x__ = (x);			\
  |  |  547|      0|	DECREMENT_NAMED(dl__x__);		\
  |  |  ------------------
  |  |  |  |  223|      0|# define DECREMENT_NAMED(x) do { } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (223:43): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  548|      0|	DECREMENT_REFCNT(dl__x__);		\
  |  |  549|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (549:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1573:9): [True: 0, False: 0]
  ------------------
 1574|      0|    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1575|      0|    return disp;
 1576|     16|}
subassign.c:SubAssignArgs:
 1527|  3.80k|{
 1528|  3.80k|    if (CDR(args) == R_NilValue)
  ------------------
  |  Branch (1528:9): [True: 0, False: 3.80k]
  ------------------
 1529|      0|	error(_("SubAssignArgs: invalid number of arguments"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("SubAssignArgs: invalid number of arguments"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1530|  3.80k|    *x = CAR(args);
 1531|  3.80k|    if (CDDR(args) == R_NilValue) {
  ------------------
  |  Branch (1531:9): [True: 0, False: 3.80k]
  ------------------
 1532|      0|	*s = R_NilValue;
 1533|      0|	*y = CADR(args);
 1534|      0|	return 0;
 1535|      0|    }
 1536|  3.80k|    else {
 1537|  3.80k|	int nsubs = 1;
 1538|  3.80k|	SEXP p;
 1539|  3.80k|	*s = p = CDR(args);
 1540|  3.81k|	while (CDDR(p) != R_NilValue) {
  ------------------
  |  Branch (1540:9): [True: 8, False: 3.80k]
  ------------------
 1541|      8|	    p = CDR(p);
 1542|      8|	    nsubs++;
 1543|      8|	}
 1544|  3.80k|	*y = CADR(p);
 1545|  3.80k|	SETCDR(p, R_NilValue);
 1546|  3.80k|	return nsubs;
 1547|  3.80k|    }
 1548|  3.80k|}
subassign.c:VectorAssign:
  623|  2.10k|{
  624|       |    /* try for quick return for simple scalar case */
  625|  2.10k|    if (ATTRIB(s) == R_NilValue) {
  ------------------
  |  Branch (625:9): [True: 1.78k, False: 322]
  ------------------
  626|  1.78k|	if (TYPEOF(x) == REALSXP && IS_SCALAR(y, REALSXP)) {
  ------------------
  |  |  124|  3.56k|#define REALSXP	    14	  /* real variables */
  ------------------
              	if (TYPEOF(x) == REALSXP && IS_SCALAR(y, REALSXP)) {
  ------------------
  |  |  124|  1.69k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (626:6): [True: 1.69k, False: 89]
  |  Branch (626:30): [True: 0, False: 1.69k]
  ------------------
  627|      0|	    if (IS_SCALAR(s, INTSXP)) {
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (627:10): [True: 0, False: 0]
  ------------------
  628|      0|		R_xlen_t ival = SCALAR_IVAL(s);
  629|      0|		if (1 <= ival && ival <= XLENGTH(x)) {
  ------------------
  |  Branch (629:7): [True: 0, False: 0]
  |  Branch (629:20): [True: 0, False: 0]
  ------------------
  630|      0|		    REAL(x)[ival - 1] = SCALAR_DVAL(y);
  631|      0|		    return x;
  632|      0|		}
  633|      0|	    }
  634|      0|	    else if (IS_SCALAR(s, REALSXP)) {
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (634:15): [True: 0, False: 0]
  ------------------
  635|      0|		double dval = SCALAR_DVAL(s);
  636|      0|		if (R_FINITE(dval)) {
  ------------------
  |  |   82|      0|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (636:7): [True: 0, False: 0]
  ------------------
  637|      0|		    R_xlen_t ival = (R_xlen_t) dval;
  638|      0|		    if (1 <= ival && ival <= XLENGTH(x)) {
  ------------------
  |  Branch (638:11): [True: 0, False: 0]
  |  Branch (638:24): [True: 0, False: 0]
  ------------------
  639|      0|			REAL(x)[ival - 1] = SCALAR_DVAL(y);
  640|      0|			return x;
  641|      0|		    }
  642|      0|		}
  643|      0|	    }
  644|      0|	}
  645|  1.78k|    }
  646|       |
  647|  2.10k|    if (isNull(x) && isNull(y)) {
  ------------------
  |  |  956|  2.10k|#define isNull			Rf_isNull
  ------------------
                  if (isNull(x) && isNull(y)) {
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
  |  Branch (647:9): [True: 0, False: 2.10k]
  |  Branch (647:22): [True: 0, False: 0]
  ------------------
  648|      0|	return R_NilValue;
  649|      0|    }
  650|       |
  651|       |    /* Check to see if we have special matrix subscripting. */
  652|       |    /* If so, we manufacture a real subscript vector. */
  653|  2.10k|    PROTECT(s);
  ------------------
  |  |  357|  2.10k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  654|  2.10k|    if (ATTRIB(s) != R_NilValue) { /* pretest to speed up simple case */
  ------------------
  |  Branch (654:9): [True: 322, False: 1.78k]
  ------------------
  655|    322|	SEXP dim = getAttrib(x, R_DimSymbol);
  ------------------
  |  |  924|    322|#define getAttrib		Rf_getAttrib
  ------------------
  656|    322|	if (isMatrix(s) && isArray(x) && ncols(s) == length(dim)) {
  ------------------
  |  |  954|    322|#define isMatrix		Rf_isMatrix
  ------------------
              	if (isMatrix(s) && isArray(x) && ncols(s) == length(dim)) {
  ------------------
  |  |  940|    322|#define isArray			Rf_isArray
  ------------------
              	if (isMatrix(s) && isArray(x) && ncols(s) == length(dim)) {
  ------------------
  |  | 1005|    322|#define ncols			Rf_ncols
  ------------------
              	if (isMatrix(s) && isArray(x) && ncols(s) == length(dim)) {
  ------------------
  |  |  987|    322|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (656:6): [True: 322, False: 0]
  |  Branch (656:21): [True: 322, False: 0]
  |  Branch (656:35): [True: 0, False: 322]
  ------------------
  657|      0|	    if (isString(s)) {
  ------------------
  |  |  966|      0|#define isString		Rf_isString
  ------------------
  |  Branch (657:10): [True: 0, False: 0]
  ------------------
  658|      0|		SEXP dnames = PROTECT(GetArrayDimnames(x));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  659|      0|		s = strmat2intmat(s, dnames, call, x);
  ------------------
  |  | 2000|      0|# define strmat2intmat		Rf_strmat2intmat
  ------------------
  660|      0|		UNPROTECT(2); /* dnames, s */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  661|      0|		PROTECT(s);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  662|      0|	    }
  663|      0|	    if (isInteger(s) || isReal(s)) {
  ------------------
  |  |  949|      0|#define isInteger		Rf_isInteger
  ------------------
              	    if (isInteger(s) || isReal(s)) {
  ------------------
  |  |  963|      0|#define isReal			Rf_isReal
  ------------------
  |  Branch (663:10): [True: 0, False: 0]
  |  Branch (663:26): [True: 0, False: 0]
  ------------------
  664|      0|		s = mat2indsub(dim, s, R_NilValue, x);
  ------------------
  |  | 1948|      0|# define mat2indsub		Rf_mat2indsub
  ------------------
  665|       |		//                     .......... or call, as in VectorSubset() [subset.c]?
  666|      0|		UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  667|      0|		PROTECT(s);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  668|      0|	    }
  669|      0|	}
  670|    322|    }
  671|       |
  672|  2.10k|    R_xlen_t stretch = 1;
  673|  2.10k|    SEXP indx = PROTECT(makeSubscript(x, s, &stretch, R_NilValue));
  ------------------
  |  |  357|  2.10k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  674|  2.10k|    R_xlen_t i, ii, n = xlength(indx);
  ------------------
  |  | 1049|  2.10k|#define xlength(x)		Rf_xlength(x)
  ------------------
  675|  2.10k|    if(xlength(y) > 1)
  ------------------
  |  | 1049|  2.10k|#define xlength(x)		Rf_xlength(x)
  ------------------
  |  Branch (675:8): [True: 994, False: 1.10k]
  ------------------
  676|   249k|	for(i = 0; i < n; i++)
  ------------------
  |  Branch (676:13): [True: 248k, False: 994]
  ------------------
  677|   248k|	    if(gi(indx, i) == NA_INTEGER)
  ------------------
  |  |   56|   248k|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (677:9): [True: 0, False: 248k]
  ------------------
  678|      0|		error(_("NAs are not allowed in subscripted assignments"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("NAs are not allowed in subscripted assignments"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  679|       |
  680|       |    /* Here we make sure that the LHS has */
  681|       |    /* been coerced into a form which can */
  682|       |    /* accept elements from the RHS. */
  683|  2.10k|    SEXP old_x = x;
  684|  2.10k|    int which = SubassignTypeFix(&x, &y, stretch, 1, call, rho);
  685|       |    /* = 100 * TYPEOF(x) + TYPEOF(y);*/
  686|  2.10k|    if (n == 0) {
  ------------------
  |  Branch (686:9): [True: 1.04k, False: 1.05k]
  ------------------
  687|  1.04k|	UNPROTECT(2);
  ------------------
  |  |  358|  1.04k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  688|  1.04k|	return x;
  689|  1.04k|    }
  690|  1.05k|    R_xlen_t
  691|  1.05k|	ny = xlength(y),
  ------------------
  |  | 1049|  1.05k|#define xlength(x)		Rf_xlength(x)
  ------------------
  692|  1.05k|	nx = xlength(x), iny;
  ------------------
  |  | 1049|  1.05k|#define xlength(x)		Rf_xlength(x)
  ------------------
  693|       |
  694|  1.05k|    PROTECT(x);
  ------------------
  |  |  357|  1.05k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  695|       |
  696|  1.05k|    if ((TYPEOF(x) != VECSXP && TYPEOF(x) != EXPRSXP) || y != R_NilValue) {
  ------------------
  |  |  131|  2.11k|#define VECSXP	    19	  /* generic vectors */
  ------------------
                  if ((TYPEOF(x) != VECSXP && TYPEOF(x) != EXPRSXP) || y != R_NilValue) {
  ------------------
  |  |  132|  1.01k|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (696:10): [True: 1.01k, False: 44]
  |  Branch (696:33): [True: 1.01k, False: 0]
  |  Branch (696:58): [True: 44, False: 0]
  ------------------
  697|  1.05k|	PROTECT(y);
  ------------------
  |  |  357|  1.05k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  698|  1.05k|	if (n > 0 && ny == 0)
  ------------------
  |  Branch (698:6): [True: 1.05k, False: 0]
  |  Branch (698:15): [True: 0, False: 1.05k]
  ------------------
  699|      0|	    error(_("replacement has length zero"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("replacement has length zero"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  700|  1.05k|	if (n > 0 && n % ny)
  ------------------
  |  Branch (700:6): [True: 1.05k, False: 0]
  |  Branch (700:15): [True: 0, False: 1.05k]
  ------------------
  701|      0|	    warning(_("number of items to replace is not a multiple of replacement length"));
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	    warning(_("number of items to replace is not a multiple of replacement length"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  702|  1.05k|	UNPROTECT(1);
  ------------------
  |  |  358|  1.05k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  703|  1.05k|    }
  704|       |
  705|       |
  706|       |    /* When array elements are being permuted the RHS */
  707|       |    /* must be duplicated or the elements get trashed. */
  708|       |    /* FIXME : this should be a shallow copy for list */
  709|       |    /* objects.  A full duplication is wasteful. */
  710|       |
  711|  1.05k|    if (x == y)
  ------------------
  |  Branch (711:9): [True: 0, False: 1.05k]
  ------------------
  712|      0|	PROTECT(y = shallow_duplicate(y));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  713|  1.05k|    else
  714|  1.05k|	PROTECT(y);
  ------------------
  |  |  357|  1.05k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  715|       |
  716|       |    /* Note that we are now committed. */
  717|       |    /* Since we are mutating existing objects, */
  718|       |    /* any changes we make now are (likely to be) permanent.  Beware! */
  719|       |
  720|  1.05k|    switch(which) {
  721|       |	/* because we have called SubassignTypeFix the commented
  722|       |	   values cannot occur (and would be unsafe) */
  723|       |
  724|      0|    case 1010:	/* logical   <- logical	  */
  ------------------
  |  Branch (724:5): [True: 0, False: 1.05k]
  ------------------
  725|      0|    case 1310:	/* integer   <- logical	  */
  ------------------
  |  Branch (725:5): [True: 0, False: 1.05k]
  ------------------
  726|       |    /* case 1013:  logical   <- integer	  */
  727|      0|    case 1313:	/* integer   <- integer	  */
  ------------------
  |  Branch (727:5): [True: 0, False: 1.05k]
  ------------------
  728|       |
  729|      0|	{
  730|      0|	    int *px = INTEGER(x);
  731|      0|	    VECTOR_ASSIGN_LOOP(px[ii] = INTEGER_ELT(y, iny););
  ------------------
  |  |  600|      0|#define VECTOR_ASSIGN_LOOP(CODE) do {			\
  |  |  601|      0|	if (TYPEOF(indx) == INTSXP) {			\
  |  |  ------------------
  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |  |  Branch (601:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  602|      0|	    const int *pindx = INTEGER_RO(indx);	\
  |  |  603|      0|	    MOD_ITERATE1(n, ny, i, iny, {		\
  |  |  ------------------
  |  |  |  |   67|      0|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |  |  |   68|      0|	i = i1 = 0;					\
  |  |  |  |   69|      0|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      0|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |  |  |   60|      0|	for (; i < n;							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (60:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   61|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (61:12): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   62|      0|		 ++i) {							\
  |  |  |  |  |  |   63|      0|	    loop_body							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (63:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   64|      0|		}							\
  |  |  |  |  |  |   65|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   70|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (70:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  604|      0|		    ii = pindx[i];			\
  |  |  605|      0|		    if (ii == NA_INTEGER) continue;	\
  |  |  606|      0|		    ii = ii - 1;			\
  |  |  607|      0|		    do { CODE } while (0);		\
  |  |  608|      0|		});					\
  |  |  609|      0|	}						\
  |  |  610|      0|	else /* could specialize this to REALSXP case */\
  |  |  611|      0|	    MOD_ITERATE1(n, ny, i, iny, {		\
  |  |  ------------------
  |  |  |  |   67|      0|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |  |  |   68|      0|	i = i1 = 0;					\
  |  |  |  |   69|      0|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      0|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |  |  |   60|      0|	for (; i < n;							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (60:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   61|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (61:12): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   62|      0|		 ++i) {							\
  |  |  |  |  |  |   63|      0|	    loop_body							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (63:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   64|      0|		}							\
  |  |  |  |  |  |   65|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   70|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (70:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  612|      0|		    ii = gi(indx, i);			\
  |  |  613|      0|		    if (ii == NA_INTEGER) continue;	\
  |  |  614|      0|		    ii = ii - 1;			\
  |  |  615|      0|		    do { CODE } while (0);		\
  |  |  616|      0|		});					\
  |  |  617|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (617:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  732|      0|	}
  733|      0|	break;
  734|       |
  735|      0|    case 1410:	/* real	     <- logical	  */
  ------------------
  |  Branch (735:5): [True: 0, False: 1.05k]
  ------------------
  736|      0|    case 1413:	/* real	     <- integer	  */
  ------------------
  |  Branch (736:5): [True: 0, False: 1.05k]
  ------------------
  737|       |
  738|      0|	{
  739|      0|	    double *px = REAL(x);
  740|      0|	    VECTOR_ASSIGN_LOOP({
  ------------------
  |  |  600|      0|#define VECTOR_ASSIGN_LOOP(CODE) do {			\
  |  |  601|      0|	if (TYPEOF(indx) == INTSXP) {			\
  |  |  ------------------
  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |  |  Branch (601:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  602|      0|	    const int *pindx = INTEGER_RO(indx);	\
  |  |  603|      0|	    MOD_ITERATE1(n, ny, i, iny, {		\
  |  |  ------------------
  |  |  |  |   67|      0|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |  |  |   68|      0|	i = i1 = 0;					\
  |  |  |  |   69|      0|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      0|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |  |  |   60|      0|	for (; i < n;							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (60:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   61|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (61:12): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   62|      0|		 ++i) {							\
  |  |  |  |  |  |   63|      0|	    loop_body							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (63:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   64|      0|		}							\
  |  |  |  |  |  |   65|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   70|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (70:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  604|      0|		    ii = pindx[i];			\
  |  |  605|      0|		    if (ii == NA_INTEGER) continue;	\
  |  |  606|      0|		    ii = ii - 1;			\
  |  |  607|      0|		    do { CODE } while (0);		\
  |  |  608|      0|		});					\
  |  |  609|      0|	}						\
  |  |  610|      0|	else /* could specialize this to REALSXP case */\
  |  |  611|      0|	    MOD_ITERATE1(n, ny, i, iny, {		\
  |  |  ------------------
  |  |  |  |   67|      0|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |  |  |   68|      0|	i = i1 = 0;					\
  |  |  |  |   69|      0|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      0|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |  |  |   60|      0|	for (; i < n;							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (60:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   61|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (61:12): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   62|      0|		 ++i) {							\
  |  |  |  |  |  |   63|      0|	    loop_body							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (63:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   64|      0|		}							\
  |  |  |  |  |  |   65|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   70|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (70:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  612|      0|		    ii = gi(indx, i);			\
  |  |  613|      0|		    if (ii == NA_INTEGER) continue;	\
  |  |  614|      0|		    ii = ii - 1;			\
  |  |  615|      0|		    do { CODE } while (0);		\
  |  |  616|      0|		});					\
  |  |  617|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (617:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  741|      0|		    int iy = INTEGER_ELT(y, iny);
  742|      0|		    if (iy == NA_INTEGER)
  743|      0|			px[ii] = NA_REAL;
  744|      0|		    else
  745|      0|			px[ii] = iy;
  746|      0|		});
  747|      0|	}
  748|      0|	break;
  749|       |
  750|       |    /* case 1014:  logical   <- real	  */
  751|       |    /* case 1314:  integer   <- real	  */
  752|  1.00k|    case 1414:	/* real	     <- real	  */
  ------------------
  |  Branch (752:5): [True: 1.00k, False: 50]
  ------------------
  753|       |
  754|  1.00k|	{
  755|  1.00k|	    double *px = REAL(x);
  756|  1.00k|	    VECTOR_ASSIGN_LOOP(px[ii] = REAL_ELT(y, iny););
  ------------------
  |  |  600|  1.00k|#define VECTOR_ASSIGN_LOOP(CODE) do {			\
  |  |  601|  1.00k|	if (TYPEOF(indx) == INTSXP) {			\
  |  |  ------------------
  |  |  |  |  123|  1.00k|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |  |  Branch (601:6): [True: 1.00k, False: 0]
  |  |  ------------------
  |  |  602|  1.00k|	    const int *pindx = INTEGER_RO(indx);	\
  |  |  603|  1.00k|	    MOD_ITERATE1(n, ny, i, iny, {		\
  |  |  ------------------
  |  |  |  |   67|  1.00k|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |  |  |   68|  1.00k|	i = i1 = 0;					\
  |  |  |  |   69|  1.00k|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.00k|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |  |  |   60|   249k|	for (; i < n;							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (60:9): [True: 248k, False: 1.00k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   61|   248k|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (61:12): [True: 1.02k, False: 247k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   62|   248k|		 ++i) {							\
  |  |  |  |  |  |   63|   745k|	    loop_body							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (63:6): [True: 0, False: 248k]
  |  |  |  |  |  |  |  Branch (63:6): [Folded, False: 248k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   64|   248k|		}							\
  |  |  |  |  |  |   65|  1.00k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:14): [Folded, False: 1.00k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   70|  1.00k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (70:14): [Folded, False: 1.00k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  604|  1.00k|		    ii = pindx[i];			\
  |  |  605|  1.00k|		    if (ii == NA_INTEGER) continue;	\
  |  |  606|  1.00k|		    ii = ii - 1;			\
  |  |  607|  1.00k|		    do { CODE } while (0);		\
  |  |  608|  1.00k|		});					\
  |  |  609|  1.00k|	}						\
  |  |  610|  1.00k|	else /* could specialize this to REALSXP case */\
  |  |  611|  1.00k|	    MOD_ITERATE1(n, ny, i, iny, {		\
  |  |  ------------------
  |  |  |  |   67|      0|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |  |  |   68|      0|	i = i1 = 0;					\
  |  |  |  |   69|      0|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      0|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |  |  |   60|      0|	for (; i < n;							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (60:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   61|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (61:12): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   62|      0|		 ++i) {							\
  |  |  |  |  |  |   63|      0|	    loop_body							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (63:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   64|      0|		}							\
  |  |  |  |  |  |   65|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   70|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (70:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  612|  1.00k|		    ii = gi(indx, i);			\
  |  |  613|  1.00k|		    if (ii == NA_INTEGER) continue;	\
  |  |  614|  1.00k|		    ii = ii - 1;			\
  |  |  615|  1.00k|		    do { CODE } while (0);		\
  |  |  616|  1.00k|		});					\
  |  |  617|  1.00k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (617:14): [Folded, False: 1.00k]
  |  |  ------------------
  ------------------
  757|  1.00k|	}
  758|  1.00k|	break;
  759|       |
  760|      0|    case 1510:	/* complex   <- logical	  */
  ------------------
  |  Branch (760:5): [True: 0, False: 1.05k]
  ------------------
  761|      0|    case 1513:	/* complex   <- integer	  */
  ------------------
  |  Branch (761:5): [True: 0, False: 1.05k]
  ------------------
  762|       |
  763|      0|	{
  764|      0|	    Rcomplex *px = COMPLEX(x);
  765|      0|	    VECTOR_ASSIGN_LOOP({
  ------------------
  |  |  600|      0|#define VECTOR_ASSIGN_LOOP(CODE) do {			\
  |  |  601|      0|	if (TYPEOF(indx) == INTSXP) {			\
  |  |  ------------------
  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |  |  Branch (601:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  602|      0|	    const int *pindx = INTEGER_RO(indx);	\
  |  |  603|      0|	    MOD_ITERATE1(n, ny, i, iny, {		\
  |  |  ------------------
  |  |  |  |   67|      0|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |  |  |   68|      0|	i = i1 = 0;					\
  |  |  |  |   69|      0|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      0|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |  |  |   60|      0|	for (; i < n;							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (60:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   61|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (61:12): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   62|      0|		 ++i) {							\
  |  |  |  |  |  |   63|      0|	    loop_body							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (63:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   64|      0|		}							\
  |  |  |  |  |  |   65|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   70|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (70:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  604|      0|		    ii = pindx[i];			\
  |  |  605|      0|		    if (ii == NA_INTEGER) continue;	\
  |  |  606|      0|		    ii = ii - 1;			\
  |  |  607|      0|		    do { CODE } while (0);		\
  |  |  608|      0|		});					\
  |  |  609|      0|	}						\
  |  |  610|      0|	else /* could specialize this to REALSXP case */\
  |  |  611|      0|	    MOD_ITERATE1(n, ny, i, iny, {		\
  |  |  ------------------
  |  |  |  |   67|      0|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |  |  |   68|      0|	i = i1 = 0;					\
  |  |  |  |   69|      0|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      0|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |  |  |   60|      0|	for (; i < n;							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (60:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   61|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (61:12): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   62|      0|		 ++i) {							\
  |  |  |  |  |  |   63|      0|	    loop_body							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (63:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   64|      0|		}							\
  |  |  |  |  |  |   65|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   70|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (70:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  612|      0|		    ii = gi(indx, i);			\
  |  |  613|      0|		    if (ii == NA_INTEGER) continue;	\
  |  |  614|      0|		    ii = ii - 1;			\
  |  |  615|      0|		    do { CODE } while (0);		\
  |  |  616|      0|		});					\
  |  |  617|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (617:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  766|      0|		    int iy = INTEGER_ELT(y, iny);
  767|      0|		    if (iy == NA_INTEGER) {
  768|      0|			px[ii].r = NA_REAL;
  769|      0|			px[ii].i = 0.0;
  770|      0|		    }
  771|      0|		    else {
  772|      0|			px[ii].r = iy;
  773|      0|			px[ii].i = 0.0;
  774|      0|		    }
  775|      0|		});
  776|      0|	}
  777|      0|	break;
  778|       |
  779|      0|    case 1514:	/* complex   <- real	  */
  ------------------
  |  Branch (779:5): [True: 0, False: 1.05k]
  ------------------
  780|       |
  781|      0|	{
  782|      0|	    Rcomplex *px = COMPLEX(x);
  783|      0|	    VECTOR_ASSIGN_LOOP({
  ------------------
  |  |  600|      0|#define VECTOR_ASSIGN_LOOP(CODE) do {			\
  |  |  601|      0|	if (TYPEOF(indx) == INTSXP) {			\
  |  |  ------------------
  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |  |  Branch (601:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  602|      0|	    const int *pindx = INTEGER_RO(indx);	\
  |  |  603|      0|	    MOD_ITERATE1(n, ny, i, iny, {		\
  |  |  ------------------
  |  |  |  |   67|      0|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |  |  |   68|      0|	i = i1 = 0;					\
  |  |  |  |   69|      0|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      0|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |  |  |   60|      0|	for (; i < n;							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (60:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   61|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (61:12): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   62|      0|		 ++i) {							\
  |  |  |  |  |  |   63|      0|	    loop_body							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (63:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   64|      0|		}							\
  |  |  |  |  |  |   65|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   70|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (70:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  604|      0|		    ii = pindx[i];			\
  |  |  605|      0|		    if (ii == NA_INTEGER) continue;	\
  |  |  606|      0|		    ii = ii - 1;			\
  |  |  607|      0|		    do { CODE } while (0);		\
  |  |  608|      0|		});					\
  |  |  609|      0|	}						\
  |  |  610|      0|	else /* could specialize this to REALSXP case */\
  |  |  611|      0|	    MOD_ITERATE1(n, ny, i, iny, {		\
  |  |  ------------------
  |  |  |  |   67|      0|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |  |  |   68|      0|	i = i1 = 0;					\
  |  |  |  |   69|      0|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      0|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |  |  |   60|      0|	for (; i < n;							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (60:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   61|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (61:12): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   62|      0|		 ++i) {							\
  |  |  |  |  |  |   63|      0|	    loop_body							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (63:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   64|      0|		}							\
  |  |  |  |  |  |   65|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   70|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (70:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  612|      0|		    ii = gi(indx, i);			\
  |  |  613|      0|		    if (ii == NA_INTEGER) continue;	\
  |  |  614|      0|		    ii = ii - 1;			\
  |  |  615|      0|		    do { CODE } while (0);		\
  |  |  616|      0|		});					\
  |  |  617|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (617:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  784|      0|		    double ry = REAL_ELT(y, iny);
  785|      0|		    if (ISNA(ry)) {
  786|      0|			px[ii].r = NA_REAL;
  787|      0|			px[ii].i = 0.0;
  788|      0|		    }
  789|      0|		    else {
  790|      0|			px[ii].r = ry;
  791|      0|			px[ii].i = 0.0;
  792|      0|		    }
  793|      0|		});
  794|      0|	}
  795|      0|	break;
  796|       |
  797|       |    /* case 1015:  logical   <- complex	  */
  798|       |    /* case 1315:  integer   <- complex	  */
  799|       |    /* case 1415:  real	     <- complex	  */
  800|      0|    case 1515:	/* complex   <- complex	  */
  ------------------
  |  Branch (800:5): [True: 0, False: 1.05k]
  ------------------
  801|       |
  802|      0|	{
  803|      0|	    Rcomplex *px = COMPLEX(x);
  804|      0|	    VECTOR_ASSIGN_LOOP(px[ii] = COMPLEX_ELT(y, iny););
  ------------------
  |  |  600|      0|#define VECTOR_ASSIGN_LOOP(CODE) do {			\
  |  |  601|      0|	if (TYPEOF(indx) == INTSXP) {			\
  |  |  ------------------
  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |  |  Branch (601:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  602|      0|	    const int *pindx = INTEGER_RO(indx);	\
  |  |  603|      0|	    MOD_ITERATE1(n, ny, i, iny, {		\
  |  |  ------------------
  |  |  |  |   67|      0|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |  |  |   68|      0|	i = i1 = 0;					\
  |  |  |  |   69|      0|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      0|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |  |  |   60|      0|	for (; i < n;							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (60:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   61|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (61:12): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   62|      0|		 ++i) {							\
  |  |  |  |  |  |   63|      0|	    loop_body							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (63:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   64|      0|		}							\
  |  |  |  |  |  |   65|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   70|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (70:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  604|      0|		    ii = pindx[i];			\
  |  |  605|      0|		    if (ii == NA_INTEGER) continue;	\
  |  |  606|      0|		    ii = ii - 1;			\
  |  |  607|      0|		    do { CODE } while (0);		\
  |  |  608|      0|		});					\
  |  |  609|      0|	}						\
  |  |  610|      0|	else /* could specialize this to REALSXP case */\
  |  |  611|      0|	    MOD_ITERATE1(n, ny, i, iny, {		\
  |  |  ------------------
  |  |  |  |   67|      0|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |  |  |   68|      0|	i = i1 = 0;					\
  |  |  |  |   69|      0|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      0|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |  |  |   60|      0|	for (; i < n;							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (60:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   61|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (61:12): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   62|      0|		 ++i) {							\
  |  |  |  |  |  |   63|      0|	    loop_body							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (63:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   64|      0|		}							\
  |  |  |  |  |  |   65|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   70|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (70:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  612|      0|		    ii = gi(indx, i);			\
  |  |  613|      0|		    if (ii == NA_INTEGER) continue;	\
  |  |  614|      0|		    ii = ii - 1;			\
  |  |  615|      0|		    do { CODE } while (0);		\
  |  |  616|      0|		});					\
  |  |  617|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (617:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  805|      0|	}
  806|      0|	break;
  807|       |
  808|      0|    case 1610:	/* character <- logical	  */
  ------------------
  |  Branch (808:5): [True: 0, False: 1.05k]
  ------------------
  809|      0|    case 1613:	/* character <- integer	  */
  ------------------
  |  Branch (809:5): [True: 0, False: 1.05k]
  ------------------
  810|      0|    case 1614:	/* character <- real	  */
  ------------------
  |  Branch (810:5): [True: 0, False: 1.05k]
  ------------------
  811|      0|    case 1615:	/* character <- complex	  */
  ------------------
  |  Branch (811:5): [True: 0, False: 1.05k]
  ------------------
  812|      6|    case 1616:	/* character <- character */
  ------------------
  |  Branch (812:5): [True: 6, False: 1.05k]
  ------------------
  813|       |    /* case 1016:  logical   <- character */
  814|       |    /* case 1316:  integer   <- character */
  815|       |    /* case 1416:  real	     <- character */
  816|       |    /* case 1516:  complex   <- character */
  817|       |
  818|      6|	VECTOR_ASSIGN_LOOP(SET_STRING_ELT(x, ii, STRING_ELT(y, iny)););
  ------------------
  |  |  600|      6|#define VECTOR_ASSIGN_LOOP(CODE) do {			\
  |  |  601|      6|	if (TYPEOF(indx) == INTSXP) {			\
  |  |  ------------------
  |  |  |  |  123|      6|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |  |  Branch (601:6): [True: 6, False: 0]
  |  |  ------------------
  |  |  602|      6|	    const int *pindx = INTEGER_RO(indx);	\
  |  |  603|      6|	    MOD_ITERATE1(n, ny, i, iny, {		\
  |  |  ------------------
  |  |  |  |   67|      6|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |  |  |   68|      6|	i = i1 = 0;					\
  |  |  |  |   69|      6|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      6|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |  |  |   60|     22|	for (; i < n;							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (60:9): [True: 16, False: 6]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   61|     16|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (61:12): [True: 6, False: 10]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   62|     16|		 ++i) {							\
  |  |  |  |  |  |   63|     48|	    loop_body							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (63:6): [True: 0, False: 16]
  |  |  |  |  |  |  |  Branch (63:6): [Folded, False: 16]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   64|     16|		}							\
  |  |  |  |  |  |   65|      6|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:14): [Folded, False: 6]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   70|      6|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (70:14): [Folded, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  604|      6|		    ii = pindx[i];			\
  |  |  605|      6|		    if (ii == NA_INTEGER) continue;	\
  |  |  606|      6|		    ii = ii - 1;			\
  |  |  607|      6|		    do { CODE } while (0);		\
  |  |  608|      6|		});					\
  |  |  609|      6|	}						\
  |  |  610|      6|	else /* could specialize this to REALSXP case */\
  |  |  611|      6|	    MOD_ITERATE1(n, ny, i, iny, {		\
  |  |  ------------------
  |  |  |  |   67|      0|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |  |  |   68|      0|	i = i1 = 0;					\
  |  |  |  |   69|      0|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      0|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |  |  |   60|      0|	for (; i < n;							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (60:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   61|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (61:12): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   62|      0|		 ++i) {							\
  |  |  |  |  |  |   63|      0|	    loop_body							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (63:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   64|      0|		}							\
  |  |  |  |  |  |   65|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   70|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (70:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  612|      6|		    ii = gi(indx, i);			\
  |  |  613|      6|		    if (ii == NA_INTEGER) continue;	\
  |  |  614|      6|		    ii = ii - 1;			\
  |  |  615|      6|		    do { CODE } while (0);		\
  |  |  616|      6|		});					\
  |  |  617|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (617:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
  819|      6|	break;
  820|       |
  821|       |    /* case 1019:  logial     <- vector   */
  822|       |    /* case 1319:  integer    <- vector   */
  823|       |    /* case 1419:  real       <- vector   */
  824|       |    /* case 1519:  complex    <- vector   */
  825|       |    /* case 1619:  character  <- vector   */
  826|       |
  827|       |    /* case 1910:  vector     <- logical    */
  828|       |    /* case 1913:  vector     <- integer    */
  829|       |    /* case 1914:  vector     <- real       */
  830|       |    /* case 1915:  vector     <- complex    */
  831|       |    /* case 1916:  vector     <- character  */
  832|       |
  833|     44|    case 1919:  /* vector     <- vector     */
  ------------------
  |  Branch (833:5): [True: 44, False: 1.01k]
  ------------------
  834|       |
  835|     44|	VECTOR_ASSIGN_LOOP({
  ------------------
  |  |  600|     44|#define VECTOR_ASSIGN_LOOP(CODE) do {			\
  |  |  601|     44|	if (TYPEOF(indx) == INTSXP) {			\
  |  |  ------------------
  |  |  |  |  123|     44|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |  |  Branch (601:6): [True: 44, False: 0]
  |  |  ------------------
  |  |  602|     44|	    const int *pindx = INTEGER_RO(indx);	\
  |  |  603|     44|	    MOD_ITERATE1(n, ny, i, iny, {		\
  |  |  ------------------
  |  |  |  |   67|     44|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |  |  |   68|     44|	i = i1 = 0;					\
  |  |  |  |   69|     44|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     44|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |  |  |   60|    100|	for (; i < n;							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (60:9): [True: 56, False: 44]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   61|     56|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (61:12): [True: 44, False: 12]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   62|     56|		 ++i) {							\
  |  |  |  |  |  |   63|    224|	    loop_body							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (63:6): [True: 0, False: 56]
  |  |  |  |  |  |  |  Branch (63:6): [True: 0, False: 56]
  |  |  |  |  |  |  |  Branch (63:6): [Folded, False: 56]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   64|     56|		}							\
  |  |  |  |  |  |   65|     44|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:14): [Folded, False: 44]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   70|     44|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (70:14): [Folded, False: 44]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  604|     44|		    ii = pindx[i];			\
  |  |  605|     44|		    if (ii == NA_INTEGER) continue;	\
  |  |  606|     44|		    ii = ii - 1;			\
  |  |  607|     44|		    do { CODE } while (0);		\
  |  |  608|     44|		});					\
  |  |  609|     44|	}						\
  |  |  610|     44|	else /* could specialize this to REALSXP case */\
  |  |  611|     44|	    MOD_ITERATE1(n, ny, i, iny, {		\
  |  |  ------------------
  |  |  |  |   67|      0|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |  |  |   68|      0|	i = i1 = 0;					\
  |  |  |  |   69|      0|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      0|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |  |  |   60|      0|	for (; i < n;							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (60:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   61|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (61:12): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   62|      0|		 ++i) {							\
  |  |  |  |  |  |   63|      0|	    loop_body							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (63:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   64|      0|		}							\
  |  |  |  |  |  |   65|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   70|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (70:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  612|     44|		    ii = gi(indx, i);			\
  |  |  613|     44|		    if (ii == NA_INTEGER) continue;	\
  |  |  614|     44|		    ii = ii - 1;			\
  |  |  615|     44|		    do { CODE } while (0);		\
  |  |  616|     44|		});					\
  |  |  617|     44|    } while (0)
  |  |  ------------------
  |  |  |  Branch (617:14): [Folded, False: 44]
  |  |  ------------------
  ------------------
  836|       |
  837|       |		/* set NAMED on RHS value to NAMEDMAX if used more than once
  838|       |		   (PR15098) */
  839|     44|		if (i >= ny)
  840|     44|		    ENSURE_NAMEDMAX(VECTOR_ELT(y, iny));
  841|       |
  842|     44|		SET_VECTOR_ELT(x, ii, VECTOR_ELT_FIX_NAMED(y, iny));
  843|     44|	    });
  844|     44|	break;
  845|       |
  846|       |    /* case 2001: */
  847|       |    /* case 2006:  expression <- language   */
  848|       |    /* case 2010:  expression <- logical    */
  849|       |    /* case 2013:  expression <- integer    */
  850|       |    /* case 2014:  expression <- real	    */
  851|       |    /* case 2015:  expression <- complex    */
  852|       |    /* case 2016:  expression <- character  */
  853|      0|    case 2019:	/* expression <- vector, needed if we have promoted a
  ------------------
  |  Branch (853:5): [True: 0, False: 1.05k]
  ------------------
  854|       |		   RHS  to a list */
  855|      0|    case 2020:	/* expression <- expression */
  ------------------
  |  Branch (855:5): [True: 0, False: 1.05k]
  ------------------
  856|       |
  857|      0|	VECTOR_ASSIGN_LOOP(SET_VECTOR_ELT(x, ii, VECTOR_ELT(y, iny)););
  ------------------
  |  |  600|      0|#define VECTOR_ASSIGN_LOOP(CODE) do {			\
  |  |  601|      0|	if (TYPEOF(indx) == INTSXP) {			\
  |  |  ------------------
  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |  |  Branch (601:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  602|      0|	    const int *pindx = INTEGER_RO(indx);	\
  |  |  603|      0|	    MOD_ITERATE1(n, ny, i, iny, {		\
  |  |  ------------------
  |  |  |  |   67|      0|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |  |  |   68|      0|	i = i1 = 0;					\
  |  |  |  |   69|      0|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      0|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |  |  |   60|      0|	for (; i < n;							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (60:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   61|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (61:12): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   62|      0|		 ++i) {							\
  |  |  |  |  |  |   63|      0|	    loop_body							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (63:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   64|      0|		}							\
  |  |  |  |  |  |   65|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   70|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (70:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  604|      0|		    ii = pindx[i];			\
  |  |  605|      0|		    if (ii == NA_INTEGER) continue;	\
  |  |  606|      0|		    ii = ii - 1;			\
  |  |  607|      0|		    do { CODE } while (0);		\
  |  |  608|      0|		});					\
  |  |  609|      0|	}						\
  |  |  610|      0|	else /* could specialize this to REALSXP case */\
  |  |  611|      0|	    MOD_ITERATE1(n, ny, i, iny, {		\
  |  |  ------------------
  |  |  |  |   67|      0|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |  |  |   68|      0|	i = i1 = 0;					\
  |  |  |  |   69|      0|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      0|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |  |  |   60|      0|	for (; i < n;							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (60:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   61|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (61:12): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   62|      0|		 ++i) {							\
  |  |  |  |  |  |   63|      0|	    loop_body							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (63:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   64|      0|		}							\
  |  |  |  |  |  |   65|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   70|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (70:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  612|      0|		    ii = gi(indx, i);			\
  |  |  613|      0|		    if (ii == NA_INTEGER) continue;	\
  |  |  614|      0|		    ii = ii - 1;			\
  |  |  615|      0|		    do { CODE } while (0);		\
  |  |  616|      0|		});					\
  |  |  617|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (617:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  858|      0|	break;
  859|       |
  860|      0|    case 1900:  /* vector     <- null       */
  ------------------
  |  Branch (860:5): [True: 0, False: 1.05k]
  ------------------
  861|      0|    case 2000:  /* expression <- null       */
  ------------------
  |  Branch (861:5): [True: 0, False: 1.05k]
  ------------------
  862|       |
  863|      0|	x = DeleteListElements(x, indx);
  864|      0|	UNPROTECT(4);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  865|      0|	return x;
  866|      0|	break;
  867|       |
  868|      0|    case 2424:	/* raw   <- raw	  */
  ------------------
  |  Branch (868:5): [True: 0, False: 1.05k]
  ------------------
  869|       |
  870|      0|	{
  871|      0|	    Rbyte *px = RAW(x);
  872|      0|	    VECTOR_ASSIGN_LOOP(px[ii] = RAW_ELT(y, iny););
  ------------------
  |  |  600|      0|#define VECTOR_ASSIGN_LOOP(CODE) do {			\
  |  |  601|      0|	if (TYPEOF(indx) == INTSXP) {			\
  |  |  ------------------
  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |  |  Branch (601:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  602|      0|	    const int *pindx = INTEGER_RO(indx);	\
  |  |  603|      0|	    MOD_ITERATE1(n, ny, i, iny, {		\
  |  |  ------------------
  |  |  |  |   67|      0|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |  |  |   68|      0|	i = i1 = 0;					\
  |  |  |  |   69|      0|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      0|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |  |  |   60|      0|	for (; i < n;							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (60:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   61|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (61:12): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   62|      0|		 ++i) {							\
  |  |  |  |  |  |   63|      0|	    loop_body							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (63:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   64|      0|		}							\
  |  |  |  |  |  |   65|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   70|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (70:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  604|      0|		    ii = pindx[i];			\
  |  |  605|      0|		    if (ii == NA_INTEGER) continue;	\
  |  |  606|      0|		    ii = ii - 1;			\
  |  |  607|      0|		    do { CODE } while (0);		\
  |  |  608|      0|		});					\
  |  |  609|      0|	}						\
  |  |  610|      0|	else /* could specialize this to REALSXP case */\
  |  |  611|      0|	    MOD_ITERATE1(n, ny, i, iny, {		\
  |  |  ------------------
  |  |  |  |   67|      0|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |  |  |   68|      0|	i = i1 = 0;					\
  |  |  |  |   69|      0|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      0|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |  |  |   60|      0|	for (; i < n;							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (60:9): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   61|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (61:12): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   62|      0|		 ++i) {							\
  |  |  |  |  |  |   63|      0|	    loop_body							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (63:6): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   64|      0|		}							\
  |  |  |  |  |  |   65|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   70|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (70:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  612|      0|		    ii = gi(indx, i);			\
  |  |  613|      0|		    if (ii == NA_INTEGER) continue;	\
  |  |  614|      0|		    ii = ii - 1;			\
  |  |  615|      0|		    do { CODE } while (0);		\
  |  |  616|      0|		});					\
  |  |  617|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (617:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  873|      0|	}
  874|      0|	break;
  875|       |
  876|      0|    default:
  ------------------
  |  Branch (876:5): [True: 0, False: 1.05k]
  ------------------
  877|      0|	warningcall(call, "sub assignment (*[*] <- *) not done; __bug?__");
  ------------------
  |  | 2018|      0|# define warningcall		Rf_warningcall
  ------------------
  878|  1.05k|    }
  879|       |    /* Check for additional named elements. */
  880|       |    /* Note makeSubscript passes the additional names back as the use.names
  881|       |       attribute (a vector list) of the generated subscript vector */
  882|  1.05k|    SEXP newnames = getAttrib(indx, R_UseNamesSymbol);
  ------------------
  |  |  924|  1.05k|#define getAttrib		Rf_getAttrib
  ------------------
  883|  1.05k|    if (newnames != R_NilValue) {
  ------------------
  |  Branch (883:9): [True: 0, False: 1.05k]
  ------------------
  884|      0|	SEXP oldnames = getAttrib(x, R_NamesSymbol);
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
  885|      0|	if (oldnames != R_NilValue) {
  ------------------
  |  Branch (885:6): [True: 0, False: 0]
  ------------------
  886|      0|	    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (886:18): [True: 0, False: 0]
  ------------------
  887|      0|		if (VECTOR_ELT(newnames, i) != R_NilValue) {
  ------------------
  |  Branch (887:7): [True: 0, False: 0]
  ------------------
  888|      0|		    ii = gi(indx, i);
  889|      0|		    if (ii == NA_INTEGER) continue;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (889:11): [True: 0, False: 0]
  ------------------
  890|      0|		    ii = ii - 1;
  891|      0|		    SET_STRING_ELT(oldnames, ii, VECTOR_ELT(newnames, i));
  892|      0|		}
  893|      0|	    }
  894|      0|	}
  895|      0|	else {
  896|      0|	    PROTECT(oldnames = allocVector(STRSXP, nx));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  897|      0|	    for (i = 0; i < nx; i++)
  ------------------
  |  Branch (897:18): [True: 0, False: 0]
  ------------------
  898|      0|		SET_STRING_ELT(oldnames, i, R_BlankString);
  899|      0|	    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (899:18): [True: 0, False: 0]
  ------------------
  900|      0|		if (VECTOR_ELT(newnames, i) != R_NilValue) {
  ------------------
  |  Branch (900:7): [True: 0, False: 0]
  ------------------
  901|      0|		    ii = gi(indx, i);
  902|      0|		    if (ii == NA_INTEGER) continue;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (902:11): [True: 0, False: 0]
  ------------------
  903|      0|		    ii = ii - 1;
  904|      0|		    SET_STRING_ELT(oldnames, ii, VECTOR_ELT(newnames, i));
  905|      0|		}
  906|      0|	    }
  907|      0|	    setAttrib(x, R_NamesSymbol, oldnames);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  908|      0|	    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  909|      0|	}
  910|      0|    }
  911|  1.05k|    UNPROTECT(4);
  ------------------
  |  |  358|  1.05k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  912|  1.05k|    if (old_x != x)
  ------------------
  |  Branch (912:9): [True: 35, False: 1.02k]
  ------------------
  913|     35|	CLEAR_VECTOR(old_x);
  ------------------
  |  |  108|     35|# define CLEAR_VECTOR(x) do {					\
  |  |  109|     35|	if (TYPEOF(x) == EXPRSXP || TYPEOF(x) == VECSXP) {	\
  |  |  ------------------
  |  |  |  |  132|     70|#define EXPRSXP	    20	  /* expressions vectors */
  |  |  ------------------
  |  |               	if (TYPEOF(x) == EXPRSXP || TYPEOF(x) == VECSXP) {	\
  |  |  ------------------
  |  |  |  |  131|     35|#define VECSXP	    19	  /* generic vectors */
  |  |  ------------------
  |  |  |  Branch (109:6): [True: 0, False: 35]
  |  |  |  Branch (109:30): [True: 0, False: 35]
  |  |  ------------------
  |  |  110|      0|	    R_xlen_t len = XLENGTH(x);				\
  |  |  111|      0|	    for (R_xlen_t i = 0; i < len; i++)			\
  |  |  ------------------
  |  |  |  Branch (111:27): [True: 0, False: 0]
  |  |  ------------------
  |  |  112|      0|		SET_VECTOR_ELT(x, i, R_NilValue);		\
  |  |  113|      0|	}							\
  |  |  114|     35|    } while (0)
  |  |  ------------------
  |  |  |  Branch (114:14): [Folded, False: 35]
  |  |  ------------------
  ------------------
  914|  1.05k|    return x;
  915|  1.05k|}
subassign.c:gi:
  522|   248k|{
  523|   248k|    if (TYPEOF(indx) == REALSXP) {
  ------------------
  |  |  124|   248k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (523:9): [True: 0, False: 248k]
  ------------------
  524|      0|	double d = REAL_ELT(indx, i);
  525|      0|	return R_FINITE(d) ? (R_xlen_t) d : NA_INTEGER;
  ------------------
  |  |   82|      0|# define R_FINITE(x)    isfinite(x)
  ------------------
              	return R_FINITE(d) ? (R_xlen_t) d : NA_INTEGER;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (525:9): [True: 0, False: 0]
  ------------------
  526|      0|    } else
  527|   248k|	return INTEGER_ELT(indx, i);
  528|   248k|}
subassign.c:VECTOR_ELT_FIX_NAMED:
  591|     56|static R_INLINE SEXP VECTOR_ELT_FIX_NAMED(SEXP y, R_xlen_t i) {
  592|       |    /* if RHS (container or element) has NAMED > 0 set NAMED = NAMEDMAX.
  593|       |       Duplicating might be safer/more consistent (PR15098) */
  594|     56|    SEXP val = VECTOR_ELT(y, i);
  595|     56|    if ((NAMED(y) || NAMED(val)))
  ------------------
  |  Branch (595:10): [True: 2, False: 54]
  |  Branch (595:22): [True: 54, False: 0]
  ------------------
  596|     56|	ENSURE_NAMEDMAX(val);
  597|     56|    return val;
  598|     56|}
subassign.c:MatrixAssign:
  954|      8|{
  955|      8|    int which;
  956|      8|    int nrs, ncs;
  957|      8|    SEXP sr, sc, dim;
  958|       |
  959|      8|    if (!isMatrix(x))
  ------------------
  |  |  954|      8|#define isMatrix		Rf_isMatrix
  ------------------
  |  Branch (959:9): [True: 0, False: 8]
  ------------------
  960|      0|	error(_("incorrect number of subscripts on matrix"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("incorrect number of subscripts on matrix"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  961|       |
  962|      8|    int nr = nrows(x);
  ------------------
  |  | 1008|      8|#define nrows			Rf_nrows
  ------------------
  963|      8|    R_xlen_t ny = XLENGTH(y);
  964|       |
  965|       |    /* Note that "s" has been protected. */
  966|       |    /* No GC problems here. */
  967|       |
  968|      8|    dim = getAttrib(x, R_DimSymbol);
  ------------------
  |  |  924|      8|#define getAttrib		Rf_getAttrib
  ------------------
  969|      8|    sr = SETCAR(s, int_arraySubscript(0, CAR(s), dim, x, call));
  970|      8|    sc = SETCADR(s, int_arraySubscript(1, CADR(s), dim, x, call));
  971|      8|    nrs = LENGTH(sr);
  972|      8|    ncs = LENGTH(sc);
  973|       |
  974|      8|    const int *psc = INTEGER_RO(sc);
  975|      8|    const int *psr = INTEGER_RO(sr);
  976|      8|    int anyIdxNA = false;
  977|  1.31k|    for(int i = 0; i < nrs; i++)
  ------------------
  |  Branch (977:20): [True: 1.30k, False: 8]
  ------------------
  978|  1.30k|	if (psr[i] == NA_INTEGER) {
  ------------------
  |  |   56|  1.30k|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (978:6): [True: 0, False: 1.30k]
  ------------------
  979|      0|	    anyIdxNA = true;
  980|      0|	    break;
  981|      0|	}
  982|     16|    for(int i = 0; i < ncs; i++)
  ------------------
  |  Branch (982:20): [True: 8, False: 8]
  ------------------
  983|      8|	if (psc[i] == NA_INTEGER) {
  ------------------
  |  |   56|      8|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (983:6): [True: 0, False: 8]
  ------------------
  984|      0|	    anyIdxNA = true;
  985|      0|	    break;
  986|      0|	}
  987|      8|    if(ny > 1 && anyIdxNA)
  ------------------
  |  Branch (987:8): [True: 8, False: 0]
  |  Branch (987:18): [True: 0, False: 8]
  ------------------
  988|      0|	error(_("NAs are not allowed in subscripted assignments"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("NAs are not allowed in subscripted assignments"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  989|       |
  990|      8|    R_xlen_t n = ((R_xlen_t) nrs) * ncs;
  991|       |
  992|       |    /* <TSL> 21Oct97
  993|       |       if (length(y) == 0)
  994|       |       error("Replacement length is zero");
  995|       |       </TSL>  */
  996|       |
  997|      8|    if (n > 0 && ny == 0)
  ------------------
  |  Branch (997:9): [True: 8, False: 0]
  |  Branch (997:18): [True: 0, False: 8]
  ------------------
  998|      0|	error(_("replacement has length zero"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("replacement has length zero"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  999|      8|    if (n > 0 && n % ny)
  ------------------
  |  Branch (999:9): [True: 8, False: 0]
  |  Branch (999:18): [True: 0, False: 8]
  ------------------
 1000|      0|	error(_("number of items to replace is not a multiple of replacement length"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("number of items to replace is not a multiple of replacement length"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1001|       |
 1002|      8|    which = SubassignTypeFix(&x, &y, 0, 1, call, rho);
 1003|      8|    if (n == 0) return x;
  ------------------
  |  Branch (1003:9): [True: 0, False: 8]
  ------------------
 1004|       |
 1005|      8|    PROTECT(x);
  ------------------
  |  |  357|      8|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1006|       |
 1007|       |    /* When array elements are being permuted the RHS */
 1008|       |    /* must be duplicated or the elements get trashed. */
 1009|       |    /* FIXME : this should be a shallow copy for list */
 1010|       |    /* objects.  A full duplication is wasteful. */
 1011|       |
 1012|      8|    if (x == y)
  ------------------
  |  Branch (1012:9): [True: 0, False: 8]
  ------------------
 1013|      0|	PROTECT(y = shallow_duplicate(y));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1014|      8|    else
 1015|      8|	PROTECT(y);
  ------------------
  |  |  357|      8|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1016|       |
 1017|       |    /* Note that we are now committed.  Since we are mutating */
 1018|       |    /* existing objects any changes we make now are permanent. */
 1019|       |    /* Beware! */
 1020|       |
 1021|      8|    switch (which) {
 1022|       |	/* because we have called SubassignTypeFix the commented
 1023|       |	   values cannot occur (and would be unsafe) */
 1024|       |
 1025|      0|    case 1010:	/* logical   <- logical	  */
  ------------------
  |  Branch (1025:5): [True: 0, False: 8]
  ------------------
 1026|      0|    case 1310:	/* integer   <- logical	  */
  ------------------
  |  Branch (1026:5): [True: 0, False: 8]
  ------------------
 1027|       |    /* case 1013: logical   <- integer	  */
 1028|      0|    case 1313:	/* integer   <- integer	  */
  ------------------
  |  Branch (1028:5): [True: 0, False: 8]
  ------------------
 1029|       |
 1030|      0|	{
 1031|      0|	    int *px = INTEGER(x);
 1032|      0|	    if (ALTREP(y))
  ------------------
  |  Branch (1032:10): [True: 0, False: 0]
  ------------------
 1033|      0|		MATRIX_ASSIGN_LOOP(px[ij] = INTEGER_ELT(y, k););
  ------------------
  |  |  920|      0|#define MATRIX_ASSIGN_LOOP(CODE) do {			\
  |  |  921|      0|	R_xlen_t k = 0, NR = nr, ij;			\
  |  |  922|      0|	if (anyIdxNA)					\
  |  |  ------------------
  |  |  |  Branch (922:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  923|      0|	    for (int j = 0; j < ncs; j++) {		\
  |  |  ------------------
  |  |  |  Branch (923:22): [True: 0, False: 0]
  |  |  ------------------
  |  |  924|      0|		int jj = psc[j];			\
  |  |  925|      0|		if (jj != NA_INTEGER) {			\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (925:7): [True: 0, False: 0]
  |  |  ------------------
  |  |  926|      0|		    jj = jj - 1;			\
  |  |  927|      0|		    R_xlen_t offset = jj * NR;		\
  |  |  928|      0|		    for (int i = 0; i < nrs; i++) {	\
  |  |  ------------------
  |  |  |  Branch (928:23): [True: 0, False: 0]
  |  |  ------------------
  |  |  929|      0|			int ii = psr[i];		\
  |  |  930|      0|			if (ii != NA_INTEGER) {		\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (930:8): [True: 0, False: 0]
  |  |  ------------------
  |  |  931|      0|			    ij = ii + offset - 1;	\
  |  |  932|      0|			    do { CODE } while (0);	\
  |  |  ------------------
  |  |  |  Branch (932:27): [Folded, False: 0]
  |  |  ------------------
  |  |  933|      0|			    k++;			\
  |  |  934|      0|			    if (k == ny) k = 0;		\
  |  |  ------------------
  |  |  |  Branch (934:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  935|      0|			}				\
  |  |  936|      0|		    }					\
  |  |  937|      0|		}					\
  |  |  938|      0|	    }						\
  |  |  939|      0|	else						\
  |  |  940|      0|	    for (int j = 0; j < ncs; j++) {		\
  |  |  ------------------
  |  |  |  Branch (940:22): [True: 0, False: 0]
  |  |  ------------------
  |  |  941|      0|		int jj = psc[j] - 1;			\
  |  |  942|      0|		R_xlen_t offset = jj * NR;		\
  |  |  943|      0|		for (int i = 0; i < nrs; i++) {		\
  |  |  ------------------
  |  |  |  Branch (943:19): [True: 0, False: 0]
  |  |  ------------------
  |  |  944|      0|		    int ii = psr[i];			\
  |  |  945|      0|		    ij = ii + offset - 1;		\
  |  |  946|      0|		    do { CODE } while (0);		\
  |  |  ------------------
  |  |  |  Branch (946:26): [Folded, False: 0]
  |  |  ------------------
  |  |  947|      0|		    k++;				\
  |  |  948|      0|		    if (k == ny) k = 0;			\
  |  |  ------------------
  |  |  |  Branch (948:11): [True: 0, False: 0]
  |  |  ------------------
  |  |  949|      0|		}					\
  |  |  950|      0|	    }						\
  |  |  951|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (951:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1034|      0|	    else {
 1035|      0|		int *py = INTEGER0(y);
 1036|      0|		MATRIX_ASSIGN_LOOP(px[ij] = py[k];);
  ------------------
  |  |  920|      0|#define MATRIX_ASSIGN_LOOP(CODE) do {			\
  |  |  921|      0|	R_xlen_t k = 0, NR = nr, ij;			\
  |  |  922|      0|	if (anyIdxNA)					\
  |  |  ------------------
  |  |  |  Branch (922:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  923|      0|	    for (int j = 0; j < ncs; j++) {		\
  |  |  ------------------
  |  |  |  Branch (923:22): [True: 0, False: 0]
  |  |  ------------------
  |  |  924|      0|		int jj = psc[j];			\
  |  |  925|      0|		if (jj != NA_INTEGER) {			\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (925:7): [True: 0, False: 0]
  |  |  ------------------
  |  |  926|      0|		    jj = jj - 1;			\
  |  |  927|      0|		    R_xlen_t offset = jj * NR;		\
  |  |  928|      0|		    for (int i = 0; i < nrs; i++) {	\
  |  |  ------------------
  |  |  |  Branch (928:23): [True: 0, False: 0]
  |  |  ------------------
  |  |  929|      0|			int ii = psr[i];		\
  |  |  930|      0|			if (ii != NA_INTEGER) {		\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (930:8): [True: 0, False: 0]
  |  |  ------------------
  |  |  931|      0|			    ij = ii + offset - 1;	\
  |  |  932|      0|			    do { CODE } while (0);	\
  |  |  ------------------
  |  |  |  Branch (932:27): [Folded, False: 0]
  |  |  ------------------
  |  |  933|      0|			    k++;			\
  |  |  934|      0|			    if (k == ny) k = 0;		\
  |  |  ------------------
  |  |  |  Branch (934:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  935|      0|			}				\
  |  |  936|      0|		    }					\
  |  |  937|      0|		}					\
  |  |  938|      0|	    }						\
  |  |  939|      0|	else						\
  |  |  940|      0|	    for (int j = 0; j < ncs; j++) {		\
  |  |  ------------------
  |  |  |  Branch (940:22): [True: 0, False: 0]
  |  |  ------------------
  |  |  941|      0|		int jj = psc[j] - 1;			\
  |  |  942|      0|		R_xlen_t offset = jj * NR;		\
  |  |  943|      0|		for (int i = 0; i < nrs; i++) {		\
  |  |  ------------------
  |  |  |  Branch (943:19): [True: 0, False: 0]
  |  |  ------------------
  |  |  944|      0|		    int ii = psr[i];			\
  |  |  945|      0|		    ij = ii + offset - 1;		\
  |  |  946|      0|		    do { CODE } while (0);		\
  |  |  ------------------
  |  |  |  Branch (946:26): [Folded, False: 0]
  |  |  ------------------
  |  |  947|      0|		    k++;				\
  |  |  948|      0|		    if (k == ny) k = 0;			\
  |  |  ------------------
  |  |  |  Branch (948:11): [True: 0, False: 0]
  |  |  ------------------
  |  |  949|      0|		}					\
  |  |  950|      0|	    }						\
  |  |  951|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (951:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1037|      0|	    }
 1038|      0|	}
 1039|      0|	break;
 1040|       |
 1041|      0|    case 1410:	/* real	     <- logical	  */
  ------------------
  |  Branch (1041:5): [True: 0, False: 8]
  ------------------
 1042|      0|    case 1413:	/* real	     <- integer	  */
  ------------------
  |  Branch (1042:5): [True: 0, False: 8]
  ------------------
 1043|       |
 1044|      0|	{
 1045|      0|	    double *px = REAL(x);
 1046|      0|	    MATRIX_ASSIGN_LOOP({
  ------------------
  |  |  920|      0|#define MATRIX_ASSIGN_LOOP(CODE) do {			\
  |  |  921|      0|	R_xlen_t k = 0, NR = nr, ij;			\
  |  |  922|      0|	if (anyIdxNA)					\
  |  |  ------------------
  |  |  |  Branch (922:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  923|      0|	    for (int j = 0; j < ncs; j++) {		\
  |  |  ------------------
  |  |  |  Branch (923:22): [True: 0, False: 0]
  |  |  ------------------
  |  |  924|      0|		int jj = psc[j];			\
  |  |  925|      0|		if (jj != NA_INTEGER) {			\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (925:7): [True: 0, False: 0]
  |  |  ------------------
  |  |  926|      0|		    jj = jj - 1;			\
  |  |  927|      0|		    R_xlen_t offset = jj * NR;		\
  |  |  928|      0|		    for (int i = 0; i < nrs; i++) {	\
  |  |  ------------------
  |  |  |  Branch (928:23): [True: 0, False: 0]
  |  |  ------------------
  |  |  929|      0|			int ii = psr[i];		\
  |  |  930|      0|			if (ii != NA_INTEGER) {		\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (930:8): [True: 0, False: 0]
  |  |  ------------------
  |  |  931|      0|			    ij = ii + offset - 1;	\
  |  |  932|      0|			    do { CODE } while (0);	\
  |  |  ------------------
  |  |  |  Branch (932:13): [True: 0, False: 0]
  |  |  |  Branch (932:27): [Folded, False: 0]
  |  |  ------------------
  |  |  933|      0|			    k++;			\
  |  |  934|      0|			    if (k == ny) k = 0;		\
  |  |  ------------------
  |  |  |  Branch (934:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  935|      0|			}				\
  |  |  936|      0|		    }					\
  |  |  937|      0|		}					\
  |  |  938|      0|	    }						\
  |  |  939|      0|	else						\
  |  |  940|      0|	    for (int j = 0; j < ncs; j++) {		\
  |  |  ------------------
  |  |  |  Branch (940:22): [True: 0, False: 0]
  |  |  ------------------
  |  |  941|      0|		int jj = psc[j] - 1;			\
  |  |  942|      0|		R_xlen_t offset = jj * NR;		\
  |  |  943|      0|		for (int i = 0; i < nrs; i++) {		\
  |  |  ------------------
  |  |  |  Branch (943:19): [True: 0, False: 0]
  |  |  ------------------
  |  |  944|      0|		    int ii = psr[i];			\
  |  |  945|      0|		    ij = ii + offset - 1;		\
  |  |  946|      0|		    do { CODE } while (0);		\
  |  |  ------------------
  |  |  |  Branch (946:12): [True: 0, False: 0]
  |  |  |  Branch (946:26): [Folded, False: 0]
  |  |  ------------------
  |  |  947|      0|		    k++;				\
  |  |  948|      0|		    if (k == ny) k = 0;			\
  |  |  ------------------
  |  |  |  Branch (948:11): [True: 0, False: 0]
  |  |  ------------------
  |  |  949|      0|		}					\
  |  |  950|      0|	    }						\
  |  |  951|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (951:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1047|      0|		    int iy = INTEGER_ELT(y, k);
 1048|      0|		    if (iy == NA_INTEGER)
 1049|      0|			px[ij] = NA_REAL;
 1050|      0|		    else
 1051|      0|			px[ij] = iy;
 1052|      0|		});
 1053|      0|	}
 1054|      0|	break;
 1055|       |
 1056|       |    /* case 1014:  logical   <- real	  */
 1057|       |    /* case 1314:  integer   <- real	  */
 1058|      0|    case 1414:	/* real	     <- real	  */
  ------------------
  |  Branch (1058:5): [True: 0, False: 8]
  ------------------
 1059|       |
 1060|      0|	{
 1061|      0|	    double *px = REAL(x);
 1062|      0|	    if (ALTREP(y))
  ------------------
  |  Branch (1062:10): [True: 0, False: 0]
  ------------------
 1063|      0|		MATRIX_ASSIGN_LOOP(px[ij] = REAL_ELT(y, k););
  ------------------
  |  |  920|      0|#define MATRIX_ASSIGN_LOOP(CODE) do {			\
  |  |  921|      0|	R_xlen_t k = 0, NR = nr, ij;			\
  |  |  922|      0|	if (anyIdxNA)					\
  |  |  ------------------
  |  |  |  Branch (922:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  923|      0|	    for (int j = 0; j < ncs; j++) {		\
  |  |  ------------------
  |  |  |  Branch (923:22): [True: 0, False: 0]
  |  |  ------------------
  |  |  924|      0|		int jj = psc[j];			\
  |  |  925|      0|		if (jj != NA_INTEGER) {			\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (925:7): [True: 0, False: 0]
  |  |  ------------------
  |  |  926|      0|		    jj = jj - 1;			\
  |  |  927|      0|		    R_xlen_t offset = jj * NR;		\
  |  |  928|      0|		    for (int i = 0; i < nrs; i++) {	\
  |  |  ------------------
  |  |  |  Branch (928:23): [True: 0, False: 0]
  |  |  ------------------
  |  |  929|      0|			int ii = psr[i];		\
  |  |  930|      0|			if (ii != NA_INTEGER) {		\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (930:8): [True: 0, False: 0]
  |  |  ------------------
  |  |  931|      0|			    ij = ii + offset - 1;	\
  |  |  932|      0|			    do { CODE } while (0);	\
  |  |  ------------------
  |  |  |  Branch (932:27): [Folded, False: 0]
  |  |  ------------------
  |  |  933|      0|			    k++;			\
  |  |  934|      0|			    if (k == ny) k = 0;		\
  |  |  ------------------
  |  |  |  Branch (934:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  935|      0|			}				\
  |  |  936|      0|		    }					\
  |  |  937|      0|		}					\
  |  |  938|      0|	    }						\
  |  |  939|      0|	else						\
  |  |  940|      0|	    for (int j = 0; j < ncs; j++) {		\
  |  |  ------------------
  |  |  |  Branch (940:22): [True: 0, False: 0]
  |  |  ------------------
  |  |  941|      0|		int jj = psc[j] - 1;			\
  |  |  942|      0|		R_xlen_t offset = jj * NR;		\
  |  |  943|      0|		for (int i = 0; i < nrs; i++) {		\
  |  |  ------------------
  |  |  |  Branch (943:19): [True: 0, False: 0]
  |  |  ------------------
  |  |  944|      0|		    int ii = psr[i];			\
  |  |  945|      0|		    ij = ii + offset - 1;		\
  |  |  946|      0|		    do { CODE } while (0);		\
  |  |  ------------------
  |  |  |  Branch (946:26): [Folded, False: 0]
  |  |  ------------------
  |  |  947|      0|		    k++;				\
  |  |  948|      0|		    if (k == ny) k = 0;			\
  |  |  ------------------
  |  |  |  Branch (948:11): [True: 0, False: 0]
  |  |  ------------------
  |  |  949|      0|		}					\
  |  |  950|      0|	    }						\
  |  |  951|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (951:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1064|      0|	    else {
 1065|      0|		double *py = REAL0(y);
 1066|      0|		MATRIX_ASSIGN_LOOP(px[ij] = py[k];);
  ------------------
  |  |  920|      0|#define MATRIX_ASSIGN_LOOP(CODE) do {			\
  |  |  921|      0|	R_xlen_t k = 0, NR = nr, ij;			\
  |  |  922|      0|	if (anyIdxNA)					\
  |  |  ------------------
  |  |  |  Branch (922:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  923|      0|	    for (int j = 0; j < ncs; j++) {		\
  |  |  ------------------
  |  |  |  Branch (923:22): [True: 0, False: 0]
  |  |  ------------------
  |  |  924|      0|		int jj = psc[j];			\
  |  |  925|      0|		if (jj != NA_INTEGER) {			\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (925:7): [True: 0, False: 0]
  |  |  ------------------
  |  |  926|      0|		    jj = jj - 1;			\
  |  |  927|      0|		    R_xlen_t offset = jj * NR;		\
  |  |  928|      0|		    for (int i = 0; i < nrs; i++) {	\
  |  |  ------------------
  |  |  |  Branch (928:23): [True: 0, False: 0]
  |  |  ------------------
  |  |  929|      0|			int ii = psr[i];		\
  |  |  930|      0|			if (ii != NA_INTEGER) {		\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (930:8): [True: 0, False: 0]
  |  |  ------------------
  |  |  931|      0|			    ij = ii + offset - 1;	\
  |  |  932|      0|			    do { CODE } while (0);	\
  |  |  ------------------
  |  |  |  Branch (932:27): [Folded, False: 0]
  |  |  ------------------
  |  |  933|      0|			    k++;			\
  |  |  934|      0|			    if (k == ny) k = 0;		\
  |  |  ------------------
  |  |  |  Branch (934:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  935|      0|			}				\
  |  |  936|      0|		    }					\
  |  |  937|      0|		}					\
  |  |  938|      0|	    }						\
  |  |  939|      0|	else						\
  |  |  940|      0|	    for (int j = 0; j < ncs; j++) {		\
  |  |  ------------------
  |  |  |  Branch (940:22): [True: 0, False: 0]
  |  |  ------------------
  |  |  941|      0|		int jj = psc[j] - 1;			\
  |  |  942|      0|		R_xlen_t offset = jj * NR;		\
  |  |  943|      0|		for (int i = 0; i < nrs; i++) {		\
  |  |  ------------------
  |  |  |  Branch (943:19): [True: 0, False: 0]
  |  |  ------------------
  |  |  944|      0|		    int ii = psr[i];			\
  |  |  945|      0|		    ij = ii + offset - 1;		\
  |  |  946|      0|		    do { CODE } while (0);		\
  |  |  ------------------
  |  |  |  Branch (946:26): [Folded, False: 0]
  |  |  ------------------
  |  |  947|      0|		    k++;				\
  |  |  948|      0|		    if (k == ny) k = 0;			\
  |  |  ------------------
  |  |  |  Branch (948:11): [True: 0, False: 0]
  |  |  ------------------
  |  |  949|      0|		}					\
  |  |  950|      0|	    }						\
  |  |  951|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (951:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1067|      0|	    }
 1068|      0|	}
 1069|      0|	break;
 1070|       |
 1071|      0|    case 1510:	/* complex   <- logical	  */
  ------------------
  |  Branch (1071:5): [True: 0, False: 8]
  ------------------
 1072|      0|    case 1513:	/* complex   <- integer	  */
  ------------------
  |  Branch (1072:5): [True: 0, False: 8]
  ------------------
 1073|       |
 1074|      0|	{
 1075|      0|	    Rcomplex *px = COMPLEX(x);
 1076|      0|	    MATRIX_ASSIGN_LOOP({
  ------------------
  |  |  920|      0|#define MATRIX_ASSIGN_LOOP(CODE) do {			\
  |  |  921|      0|	R_xlen_t k = 0, NR = nr, ij;			\
  |  |  922|      0|	if (anyIdxNA)					\
  |  |  ------------------
  |  |  |  Branch (922:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  923|      0|	    for (int j = 0; j < ncs; j++) {		\
  |  |  ------------------
  |  |  |  Branch (923:22): [True: 0, False: 0]
  |  |  ------------------
  |  |  924|      0|		int jj = psc[j];			\
  |  |  925|      0|		if (jj != NA_INTEGER) {			\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (925:7): [True: 0, False: 0]
  |  |  ------------------
  |  |  926|      0|		    jj = jj - 1;			\
  |  |  927|      0|		    R_xlen_t offset = jj * NR;		\
  |  |  928|      0|		    for (int i = 0; i < nrs; i++) {	\
  |  |  ------------------
  |  |  |  Branch (928:23): [True: 0, False: 0]
  |  |  ------------------
  |  |  929|      0|			int ii = psr[i];		\
  |  |  930|      0|			if (ii != NA_INTEGER) {		\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (930:8): [True: 0, False: 0]
  |  |  ------------------
  |  |  931|      0|			    ij = ii + offset - 1;	\
  |  |  932|      0|			    do { CODE } while (0);	\
  |  |  ------------------
  |  |  |  Branch (932:13): [True: 0, False: 0]
  |  |  |  Branch (932:27): [Folded, False: 0]
  |  |  ------------------
  |  |  933|      0|			    k++;			\
  |  |  934|      0|			    if (k == ny) k = 0;		\
  |  |  ------------------
  |  |  |  Branch (934:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  935|      0|			}				\
  |  |  936|      0|		    }					\
  |  |  937|      0|		}					\
  |  |  938|      0|	    }						\
  |  |  939|      0|	else						\
  |  |  940|      0|	    for (int j = 0; j < ncs; j++) {		\
  |  |  ------------------
  |  |  |  Branch (940:22): [True: 0, False: 0]
  |  |  ------------------
  |  |  941|      0|		int jj = psc[j] - 1;			\
  |  |  942|      0|		R_xlen_t offset = jj * NR;		\
  |  |  943|      0|		for (int i = 0; i < nrs; i++) {		\
  |  |  ------------------
  |  |  |  Branch (943:19): [True: 0, False: 0]
  |  |  ------------------
  |  |  944|      0|		    int ii = psr[i];			\
  |  |  945|      0|		    ij = ii + offset - 1;		\
  |  |  946|      0|		    do { CODE } while (0);		\
  |  |  ------------------
  |  |  |  Branch (946:12): [True: 0, False: 0]
  |  |  |  Branch (946:26): [Folded, False: 0]
  |  |  ------------------
  |  |  947|      0|		    k++;				\
  |  |  948|      0|		    if (k == ny) k = 0;			\
  |  |  ------------------
  |  |  |  Branch (948:11): [True: 0, False: 0]
  |  |  ------------------
  |  |  949|      0|		}					\
  |  |  950|      0|	    }						\
  |  |  951|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (951:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1077|      0|		    int iy = INTEGER_ELT(y, k);
 1078|      0|		    if (iy == NA_INTEGER) {
 1079|      0|			px[ij].r = NA_REAL;
 1080|      0|			px[ij].i = 0.0;
 1081|      0|		    }
 1082|      0|		    else {
 1083|      0|			px[ij].r = iy;
 1084|      0|			px[ij].i = 0.0;
 1085|      0|		    }
 1086|      0|		});
 1087|      0|	}
 1088|      0|	break;
 1089|       |
 1090|      0|    case 1514:	/* complex   <- real	  */
  ------------------
  |  Branch (1090:5): [True: 0, False: 8]
  ------------------
 1091|       |
 1092|      0|	{
 1093|      0|	    Rcomplex *px = COMPLEX(x);
 1094|      0|	    MATRIX_ASSIGN_LOOP({
  ------------------
  |  |  920|      0|#define MATRIX_ASSIGN_LOOP(CODE) do {			\
  |  |  921|      0|	R_xlen_t k = 0, NR = nr, ij;			\
  |  |  922|      0|	if (anyIdxNA)					\
  |  |  ------------------
  |  |  |  Branch (922:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  923|      0|	    for (int j = 0; j < ncs; j++) {		\
  |  |  ------------------
  |  |  |  Branch (923:22): [True: 0, False: 0]
  |  |  ------------------
  |  |  924|      0|		int jj = psc[j];			\
  |  |  925|      0|		if (jj != NA_INTEGER) {			\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (925:7): [True: 0, False: 0]
  |  |  ------------------
  |  |  926|      0|		    jj = jj - 1;			\
  |  |  927|      0|		    R_xlen_t offset = jj * NR;		\
  |  |  928|      0|		    for (int i = 0; i < nrs; i++) {	\
  |  |  ------------------
  |  |  |  Branch (928:23): [True: 0, False: 0]
  |  |  ------------------
  |  |  929|      0|			int ii = psr[i];		\
  |  |  930|      0|			if (ii != NA_INTEGER) {		\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (930:8): [True: 0, False: 0]
  |  |  ------------------
  |  |  931|      0|			    ij = ii + offset - 1;	\
  |  |  932|      0|			    do { CODE } while (0);	\
  |  |  ------------------
  |  |  |  Branch (932:13): [True: 0, False: 0]
  |  |  |  Branch (932:27): [Folded, False: 0]
  |  |  ------------------
  |  |  933|      0|			    k++;			\
  |  |  934|      0|			    if (k == ny) k = 0;		\
  |  |  ------------------
  |  |  |  Branch (934:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  935|      0|			}				\
  |  |  936|      0|		    }					\
  |  |  937|      0|		}					\
  |  |  938|      0|	    }						\
  |  |  939|      0|	else						\
  |  |  940|      0|	    for (int j = 0; j < ncs; j++) {		\
  |  |  ------------------
  |  |  |  Branch (940:22): [True: 0, False: 0]
  |  |  ------------------
  |  |  941|      0|		int jj = psc[j] - 1;			\
  |  |  942|      0|		R_xlen_t offset = jj * NR;		\
  |  |  943|      0|		for (int i = 0; i < nrs; i++) {		\
  |  |  ------------------
  |  |  |  Branch (943:19): [True: 0, False: 0]
  |  |  ------------------
  |  |  944|      0|		    int ii = psr[i];			\
  |  |  945|      0|		    ij = ii + offset - 1;		\
  |  |  946|      0|		    do { CODE } while (0);		\
  |  |  ------------------
  |  |  |  Branch (946:12): [True: 0, False: 0]
  |  |  |  Branch (946:26): [Folded, False: 0]
  |  |  ------------------
  |  |  947|      0|		    k++;				\
  |  |  948|      0|		    if (k == ny) k = 0;			\
  |  |  ------------------
  |  |  |  Branch (948:11): [True: 0, False: 0]
  |  |  ------------------
  |  |  949|      0|		}					\
  |  |  950|      0|	    }						\
  |  |  951|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (951:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1095|      0|		    double ry = REAL_ELT(y, k);
 1096|      0|		    if (ISNA(ry)) {
 1097|      0|			px[ij].r = NA_REAL;
 1098|      0|			px[ij].i = 0.0;
 1099|      0|		    }
 1100|      0|		    else {
 1101|      0|			px[ij].r = ry;
 1102|      0|			px[ij].i = 0.0;
 1103|      0|		    }
 1104|      0|		});
 1105|      0|	}
 1106|      0|	break;
 1107|       |
 1108|       |    /* case 1015:  logical   <- complex	  */
 1109|       |    /* case 1315:  integer   <- complex	  */
 1110|       |    /* case 1415:  real	     <- complex	  */
 1111|      0|    case 1515:	/* complex   <- complex	  */
  ------------------
  |  Branch (1111:5): [True: 0, False: 8]
  ------------------
 1112|       |
 1113|      0|	{
 1114|      0|	    Rcomplex *px = COMPLEX(x);
 1115|      0|	    MATRIX_ASSIGN_LOOP(px[ij] = COMPLEX_ELT(y, k););
  ------------------
  |  |  920|      0|#define MATRIX_ASSIGN_LOOP(CODE) do {			\
  |  |  921|      0|	R_xlen_t k = 0, NR = nr, ij;			\
  |  |  922|      0|	if (anyIdxNA)					\
  |  |  ------------------
  |  |  |  Branch (922:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  923|      0|	    for (int j = 0; j < ncs; j++) {		\
  |  |  ------------------
  |  |  |  Branch (923:22): [True: 0, False: 0]
  |  |  ------------------
  |  |  924|      0|		int jj = psc[j];			\
  |  |  925|      0|		if (jj != NA_INTEGER) {			\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (925:7): [True: 0, False: 0]
  |  |  ------------------
  |  |  926|      0|		    jj = jj - 1;			\
  |  |  927|      0|		    R_xlen_t offset = jj * NR;		\
  |  |  928|      0|		    for (int i = 0; i < nrs; i++) {	\
  |  |  ------------------
  |  |  |  Branch (928:23): [True: 0, False: 0]
  |  |  ------------------
  |  |  929|      0|			int ii = psr[i];		\
  |  |  930|      0|			if (ii != NA_INTEGER) {		\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (930:8): [True: 0, False: 0]
  |  |  ------------------
  |  |  931|      0|			    ij = ii + offset - 1;	\
  |  |  932|      0|			    do { CODE } while (0);	\
  |  |  ------------------
  |  |  |  Branch (932:27): [Folded, False: 0]
  |  |  ------------------
  |  |  933|      0|			    k++;			\
  |  |  934|      0|			    if (k == ny) k = 0;		\
  |  |  ------------------
  |  |  |  Branch (934:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  935|      0|			}				\
  |  |  936|      0|		    }					\
  |  |  937|      0|		}					\
  |  |  938|      0|	    }						\
  |  |  939|      0|	else						\
  |  |  940|      0|	    for (int j = 0; j < ncs; j++) {		\
  |  |  ------------------
  |  |  |  Branch (940:22): [True: 0, False: 0]
  |  |  ------------------
  |  |  941|      0|		int jj = psc[j] - 1;			\
  |  |  942|      0|		R_xlen_t offset = jj * NR;		\
  |  |  943|      0|		for (int i = 0; i < nrs; i++) {		\
  |  |  ------------------
  |  |  |  Branch (943:19): [True: 0, False: 0]
  |  |  ------------------
  |  |  944|      0|		    int ii = psr[i];			\
  |  |  945|      0|		    ij = ii + offset - 1;		\
  |  |  946|      0|		    do { CODE } while (0);		\
  |  |  ------------------
  |  |  |  Branch (946:26): [Folded, False: 0]
  |  |  ------------------
  |  |  947|      0|		    k++;				\
  |  |  948|      0|		    if (k == ny) k = 0;			\
  |  |  ------------------
  |  |  |  Branch (948:11): [True: 0, False: 0]
  |  |  ------------------
  |  |  949|      0|		}					\
  |  |  950|      0|	    }						\
  |  |  951|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (951:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1116|      0|	}
 1117|      0|	break;
 1118|       |
 1119|      0|    case 1610:	/* character <- logical	  */
  ------------------
  |  Branch (1119:5): [True: 0, False: 8]
  ------------------
 1120|      0|    case 1613:	/* character <- integer	  */
  ------------------
  |  Branch (1120:5): [True: 0, False: 8]
  ------------------
 1121|      0|    case 1614:	/* character <- real	  */
  ------------------
  |  Branch (1121:5): [True: 0, False: 8]
  ------------------
 1122|      0|    case 1615:	/* character <- complex	  */
  ------------------
  |  Branch (1122:5): [True: 0, False: 8]
  ------------------
 1123|      8|    case 1616:	/* character <- character */
  ------------------
  |  Branch (1123:5): [True: 8, False: 0]
  ------------------
 1124|       |    /* case 1016:  logical   <- character */
 1125|       |    /* case 1316:  integer   <- character */
 1126|       |    /* case 1416:  real	     <- character */
 1127|       |    /* case 1516:  complex   <- character */
 1128|       |
 1129|      8|	MATRIX_ASSIGN_LOOP(SET_STRING_ELT(x, ij, STRING_ELT(y, k)););
  ------------------
  |  |  920|      8|#define MATRIX_ASSIGN_LOOP(CODE) do {			\
  |  |  921|      8|	R_xlen_t k = 0, NR = nr, ij;			\
  |  |  922|      8|	if (anyIdxNA)					\
  |  |  ------------------
  |  |  |  Branch (922:6): [True: 0, False: 8]
  |  |  ------------------
  |  |  923|      8|	    for (int j = 0; j < ncs; j++) {		\
  |  |  ------------------
  |  |  |  Branch (923:22): [True: 0, False: 0]
  |  |  ------------------
  |  |  924|      0|		int jj = psc[j];			\
  |  |  925|      0|		if (jj != NA_INTEGER) {			\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (925:7): [True: 0, False: 0]
  |  |  ------------------
  |  |  926|      0|		    jj = jj - 1;			\
  |  |  927|      0|		    R_xlen_t offset = jj * NR;		\
  |  |  928|      0|		    for (int i = 0; i < nrs; i++) {	\
  |  |  ------------------
  |  |  |  Branch (928:23): [True: 0, False: 0]
  |  |  ------------------
  |  |  929|      0|			int ii = psr[i];		\
  |  |  930|      0|			if (ii != NA_INTEGER) {		\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (930:8): [True: 0, False: 0]
  |  |  ------------------
  |  |  931|      0|			    ij = ii + offset - 1;	\
  |  |  932|      0|			    do { CODE } while (0);	\
  |  |  ------------------
  |  |  |  Branch (932:27): [Folded, False: 0]
  |  |  ------------------
  |  |  933|      0|			    k++;			\
  |  |  934|      0|			    if (k == ny) k = 0;		\
  |  |  ------------------
  |  |  |  Branch (934:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  935|      0|			}				\
  |  |  936|      0|		    }					\
  |  |  937|      0|		}					\
  |  |  938|      0|	    }						\
  |  |  939|      8|	else						\
  |  |  940|     16|	    for (int j = 0; j < ncs; j++) {		\
  |  |  ------------------
  |  |  |  Branch (940:22): [True: 8, False: 8]
  |  |  ------------------
  |  |  941|      8|		int jj = psc[j] - 1;			\
  |  |  942|      8|		R_xlen_t offset = jj * NR;		\
  |  |  943|  1.31k|		for (int i = 0; i < nrs; i++) {		\
  |  |  ------------------
  |  |  |  Branch (943:19): [True: 1.30k, False: 8]
  |  |  ------------------
  |  |  944|  1.30k|		    int ii = psr[i];			\
  |  |  945|  1.30k|		    ij = ii + offset - 1;		\
  |  |  946|  1.30k|		    do { CODE } while (0);		\
  |  |  ------------------
  |  |  |  Branch (946:26): [Folded, False: 1.30k]
  |  |  ------------------
  |  |  947|  1.30k|		    k++;				\
  |  |  948|  1.30k|		    if (k == ny) k = 0;			\
  |  |  ------------------
  |  |  |  Branch (948:11): [True: 8, False: 1.29k]
  |  |  ------------------
  |  |  949|  1.30k|		}					\
  |  |  950|      8|	    }						\
  |  |  951|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (951:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1130|      8|	break;
 1131|       |
 1132|      0|    case 1919: /* vector <- vector */
  ------------------
  |  Branch (1132:5): [True: 0, False: 8]
  ------------------
 1133|       |
 1134|       |	/* set NAMED or RHS values to NAMEDMAX if they might be used more
 1135|       |	   than once (PR15098)*/
 1136|      0|	if (ny < ncs * nrs)
  ------------------
  |  Branch (1136:6): [True: 0, False: 0]
  ------------------
 1137|      0|	    for (R_xlen_t i = 0; i < ny; i++)
  ------------------
  |  Branch (1137:27): [True: 0, False: 0]
  ------------------
 1138|      0|		ENSURE_NAMEDMAX(VECTOR_ELT(y, i));
 1139|       |
 1140|      0|	MATRIX_ASSIGN_LOOP(SET_VECTOR_ELT(x, ij, VECTOR_ELT_FIX_NAMED(y, k)););
  ------------------
  |  |  920|      0|#define MATRIX_ASSIGN_LOOP(CODE) do {			\
  |  |  921|      0|	R_xlen_t k = 0, NR = nr, ij;			\
  |  |  922|      0|	if (anyIdxNA)					\
  |  |  ------------------
  |  |  |  Branch (922:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  923|      0|	    for (int j = 0; j < ncs; j++) {		\
  |  |  ------------------
  |  |  |  Branch (923:22): [True: 0, False: 0]
  |  |  ------------------
  |  |  924|      0|		int jj = psc[j];			\
  |  |  925|      0|		if (jj != NA_INTEGER) {			\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (925:7): [True: 0, False: 0]
  |  |  ------------------
  |  |  926|      0|		    jj = jj - 1;			\
  |  |  927|      0|		    R_xlen_t offset = jj * NR;		\
  |  |  928|      0|		    for (int i = 0; i < nrs; i++) {	\
  |  |  ------------------
  |  |  |  Branch (928:23): [True: 0, False: 0]
  |  |  ------------------
  |  |  929|      0|			int ii = psr[i];		\
  |  |  930|      0|			if (ii != NA_INTEGER) {		\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (930:8): [True: 0, False: 0]
  |  |  ------------------
  |  |  931|      0|			    ij = ii + offset - 1;	\
  |  |  932|      0|			    do { CODE } while (0);	\
  |  |  ------------------
  |  |  |  Branch (932:27): [Folded, False: 0]
  |  |  ------------------
  |  |  933|      0|			    k++;			\
  |  |  934|      0|			    if (k == ny) k = 0;		\
  |  |  ------------------
  |  |  |  Branch (934:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  935|      0|			}				\
  |  |  936|      0|		    }					\
  |  |  937|      0|		}					\
  |  |  938|      0|	    }						\
  |  |  939|      0|	else						\
  |  |  940|      0|	    for (int j = 0; j < ncs; j++) {		\
  |  |  ------------------
  |  |  |  Branch (940:22): [True: 0, False: 0]
  |  |  ------------------
  |  |  941|      0|		int jj = psc[j] - 1;			\
  |  |  942|      0|		R_xlen_t offset = jj * NR;		\
  |  |  943|      0|		for (int i = 0; i < nrs; i++) {		\
  |  |  ------------------
  |  |  |  Branch (943:19): [True: 0, False: 0]
  |  |  ------------------
  |  |  944|      0|		    int ii = psr[i];			\
  |  |  945|      0|		    ij = ii + offset - 1;		\
  |  |  946|      0|		    do { CODE } while (0);		\
  |  |  ------------------
  |  |  |  Branch (946:26): [Folded, False: 0]
  |  |  ------------------
  |  |  947|      0|		    k++;				\
  |  |  948|      0|		    if (k == ny) k = 0;			\
  |  |  ------------------
  |  |  |  Branch (948:11): [True: 0, False: 0]
  |  |  ------------------
  |  |  949|      0|		}					\
  |  |  950|      0|	    }						\
  |  |  951|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (951:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1141|      0|	break;
 1142|       |
 1143|      0|    case 2424: /* raw   <- raw   */
  ------------------
  |  Branch (1143:5): [True: 0, False: 8]
  ------------------
 1144|       |
 1145|      0|	{
 1146|      0|	    Rbyte *px = RAW(x);
 1147|      0|	    MATRIX_ASSIGN_LOOP(px[ij] = RAW_ELT(y, k););
  ------------------
  |  |  920|      0|#define MATRIX_ASSIGN_LOOP(CODE) do {			\
  |  |  921|      0|	R_xlen_t k = 0, NR = nr, ij;			\
  |  |  922|      0|	if (anyIdxNA)					\
  |  |  ------------------
  |  |  |  Branch (922:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  923|      0|	    for (int j = 0; j < ncs; j++) {		\
  |  |  ------------------
  |  |  |  Branch (923:22): [True: 0, False: 0]
  |  |  ------------------
  |  |  924|      0|		int jj = psc[j];			\
  |  |  925|      0|		if (jj != NA_INTEGER) {			\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (925:7): [True: 0, False: 0]
  |  |  ------------------
  |  |  926|      0|		    jj = jj - 1;			\
  |  |  927|      0|		    R_xlen_t offset = jj * NR;		\
  |  |  928|      0|		    for (int i = 0; i < nrs; i++) {	\
  |  |  ------------------
  |  |  |  Branch (928:23): [True: 0, False: 0]
  |  |  ------------------
  |  |  929|      0|			int ii = psr[i];		\
  |  |  930|      0|			if (ii != NA_INTEGER) {		\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (930:8): [True: 0, False: 0]
  |  |  ------------------
  |  |  931|      0|			    ij = ii + offset - 1;	\
  |  |  932|      0|			    do { CODE } while (0);	\
  |  |  ------------------
  |  |  |  Branch (932:27): [Folded, False: 0]
  |  |  ------------------
  |  |  933|      0|			    k++;			\
  |  |  934|      0|			    if (k == ny) k = 0;		\
  |  |  ------------------
  |  |  |  Branch (934:12): [True: 0, False: 0]
  |  |  ------------------
  |  |  935|      0|			}				\
  |  |  936|      0|		    }					\
  |  |  937|      0|		}					\
  |  |  938|      0|	    }						\
  |  |  939|      0|	else						\
  |  |  940|      0|	    for (int j = 0; j < ncs; j++) {		\
  |  |  ------------------
  |  |  |  Branch (940:22): [True: 0, False: 0]
  |  |  ------------------
  |  |  941|      0|		int jj = psc[j] - 1;			\
  |  |  942|      0|		R_xlen_t offset = jj * NR;		\
  |  |  943|      0|		for (int i = 0; i < nrs; i++) {		\
  |  |  ------------------
  |  |  |  Branch (943:19): [True: 0, False: 0]
  |  |  ------------------
  |  |  944|      0|		    int ii = psr[i];			\
  |  |  945|      0|		    ij = ii + offset - 1;		\
  |  |  946|      0|		    do { CODE } while (0);		\
  |  |  ------------------
  |  |  |  Branch (946:26): [Folded, False: 0]
  |  |  ------------------
  |  |  947|      0|		    k++;				\
  |  |  948|      0|		    if (k == ny) k = 0;			\
  |  |  ------------------
  |  |  |  Branch (948:11): [True: 0, False: 0]
  |  |  ------------------
  |  |  949|      0|		}					\
  |  |  950|      0|	    }						\
  |  |  951|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (951:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1148|      0|	}
 1149|      0|	break;
 1150|       |
 1151|      0|    default:
  ------------------
  |  Branch (1151:5): [True: 0, False: 8]
  ------------------
 1152|      0|	error(_("incompatible types (from %s to %s) in matrix subset assignment"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("incompatible types (from %s to %s) in matrix subset assignment"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1153|      0|		  R_typeToChar(x), R_typeToChar(y));
 1154|      8|    }
 1155|      8|    UNPROTECT(2);
  ------------------
  |  |  358|      8|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1156|      8|    return x;
 1157|      8|}
subassign.c:SimpleListAssign:
 1421|    233|{
 1422|    233|    SEXP indx, sub = CAR(s);
 1423|    233|    int ii, n, nx;
 1424|    233|    R_xlen_t stretch = 1;
 1425|       |
 1426|    233|    if (length(s) > 1)
  ------------------
  |  |  987|    233|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1426:9): [True: 0, False: 233]
  ------------------
 1427|      0|	error(_("invalid number of subscripts to list assign"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid number of subscripts to list assign"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1428|       |
 1429|    233|    PROTECT(sub = GetOneIndex(sub, ind));
  ------------------
  |  |  357|    233|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1430|    233|    PROTECT(indx = makeSubscript(x, sub, &stretch, R_NilValue));
  ------------------
  |  |  357|    233|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1431|       |
 1432|    233|    n = length(indx);
  ------------------
  |  |  987|    233|#define length(x)		Rf_length(x)
  ------------------
 1433|    233|    if (n > 1)
  ------------------
  |  Branch (1433:9): [True: 0, False: 233]
  ------------------
 1434|      0|	error(_("invalid subscript in list assign"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid subscript in list assign"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1435|       |
 1436|    233|    nx = length(x);
  ------------------
  |  |  987|    233|#define length(x)		Rf_length(x)
  ------------------
 1437|       |
 1438|    233|    if (stretch) {
  ------------------
  |  Branch (1438:9): [True: 0, False: 233]
  ------------------
 1439|      0|	SEXP t = CAR(s);
 1440|      0|	SEXP yi = PROTECT(allocList((int)(stretch - nx)));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1441|       |	/* This is general enough for only usage */
 1442|      0|	if(isString(t) && length(t) == stretch - nx) {
  ------------------
  |  |  966|      0|#define isString		Rf_isString
  ------------------
              	if(isString(t) && length(t) == stretch - nx) {
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1442:5): [True: 0, False: 0]
  |  Branch (1442:20): [True: 0, False: 0]
  ------------------
 1443|      0|	    SEXP z = yi;
 1444|      0|	    int i;
 1445|      0|	    for(i = 0; i < LENGTH(t); i++, z = CDR(z))
  ------------------
  |  Branch (1445:17): [True: 0, False: 0]
  ------------------
 1446|      0|		SET_TAG(z, installTrChar(STRING_ELT(t, i)));
  ------------------
  |  |  937|      0|#define installTrChar		Rf_installTrChar
  ------------------
 1447|      0|	}
 1448|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1449|      0|	PROTECT(x = listAppend(x, yi));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1450|      0|	nx = (int) stretch;
 1451|      0|    }
 1452|    233|    else PROTECT(x);
  ------------------
  |  |  357|    233|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1453|       |
 1454|    233|    if (n == 1) {
  ------------------
  |  Branch (1454:9): [True: 233, False: 0]
  ------------------
 1455|    233|	ii = asInteger(indx);
  ------------------
  |  |  885|    233|#define asInteger		Rf_asInteger
  ------------------
 1456|    233|	if (ii != NA_INTEGER) {
  ------------------
  |  |   56|    233|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (1456:6): [True: 233, False: 0]
  ------------------
 1457|    233|	    ii = ii - 1;
 1458|    233|	    SEXP xi = nthcdr(x, ii % nx);
  ------------------
  |  | 1009|    233|#define nthcdr			Rf_nthcdr
  ------------------
 1459|    233|	    if (MAYBE_SHARED(y) && CAR(xi) != y)
  ------------------
  |  Branch (1459:10): [True: 233, False: 0]
  |  Branch (1459:29): [True: 233, False: 0]
  ------------------
 1460|    233|		y = R_FixupRHS(x, y);
 1461|    233|	    SETCAR(xi, y);
 1462|    233|	}
 1463|    233|    }
 1464|    233|    UNPROTECT(3);
  ------------------
  |  |  358|    233|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1465|    233|    return x;
 1466|    233|}
subassign.c:GetOneIndex:
 1397|    233|{
 1398|    233|    if (ind < 0 || ind+1 > length(sub))
  ------------------
  |  |  987|    233|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1398:9): [True: 0, False: 233]
  |  Branch (1398:20): [True: 0, False: 233]
  ------------------
 1399|      0|	error("internal error: index %d from length %d", ind, length(sub));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error("internal error: index %d from length %d", ind, length(sub));
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
 1400|    233|    if (length(sub) > 1) {
  ------------------
  |  |  987|    233|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1400:9): [True: 0, False: 233]
  ------------------
 1401|      0|	switch (TYPEOF(sub)) {
 1402|      0|	case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1402:2): [True: 0, False: 0]
  ------------------
 1403|      0|	    sub = ScalarInteger(INTEGER_ELT(sub, ind));
  ------------------
  |  | 1022|      0|#define ScalarInteger		Rf_ScalarInteger
  ------------------
 1404|      0|	    break;
 1405|      0|	case REALSXP:
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1405:2): [True: 0, False: 0]
  ------------------
 1406|      0|	    sub = ScalarReal(REAL_ELT(sub, ind));
  ------------------
  |  | 1024|      0|#define ScalarReal		Rf_ScalarReal
  ------------------
 1407|      0|	    break;
 1408|      0|	case STRSXP:
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1408:2): [True: 0, False: 0]
  ------------------
 1409|      0|	    sub = ScalarString(STRING_ELT(sub, ind));
  ------------------
  |  | 1025|      0|#define ScalarString		Rf_ScalarString
  ------------------
 1410|      0|	    break;
 1411|      0|	default:
  ------------------
  |  Branch (1411:2): [True: 0, False: 0]
  ------------------
 1412|      0|	    error(_("invalid subscript in list assign"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("invalid subscript in list assign"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1413|      0|	}
 1414|      0|    }
 1415|    233|    return sub;
 1416|    233|}
subassign.c:SubassignTypeFix:
  331|  2.17k|{
  332|       |    /* A rather pointless optimization, but level 2 used to be handled
  333|       |       differently */
  334|  2.17k|    bool redo_which = true;
  335|  2.17k|    int which = 100 * TYPEOF(*x) + TYPEOF(*y);
  336|       |    /* coercion can lose the object bit */
  337|  2.17k|    bool x_is_object = OBJECT(*x);
  338|       |
  339|  2.17k|    switch (which) {
  340|      0|    case 1000:	/* logical    <- null       */
  ------------------
  |  Branch (340:5): [True: 0, False: 2.17k]
  ------------------
  341|      0|    case 1300:	/* integer    <- null       */
  ------------------
  |  Branch (341:5): [True: 0, False: 2.17k]
  ------------------
  342|      0|    case 1400:	/* real	      <- null       */
  ------------------
  |  Branch (342:5): [True: 0, False: 2.17k]
  ------------------
  343|      0|    case 1500:	/* complex    <- null       */
  ------------------
  |  Branch (343:5): [True: 0, False: 2.17k]
  ------------------
  344|      0|    case 1600:	/* character  <- null       */
  ------------------
  |  Branch (344:5): [True: 0, False: 2.17k]
  ------------------
  345|      0|    case 1900:  /* vector     <- null       */
  ------------------
  |  Branch (345:5): [True: 0, False: 2.17k]
  ------------------
  346|      0|    case 2000:  /* expression <- null       */
  ------------------
  |  Branch (346:5): [True: 0, False: 2.17k]
  ------------------
  347|      0|    case 2400:	/* raw        <- null       */
  ------------------
  |  Branch (347:5): [True: 0, False: 2.17k]
  ------------------
  348|       |
  349|      0|    case 1010:	/* logical    <- logical    */
  ------------------
  |  Branch (349:5): [True: 0, False: 2.17k]
  ------------------
  350|      0|    case 1310:	/* integer    <- logical    */
  ------------------
  |  Branch (350:5): [True: 0, False: 2.17k]
  ------------------
  351|      0|    case 1410:	/* real	      <- logical    */
  ------------------
  |  Branch (351:5): [True: 0, False: 2.17k]
  ------------------
  352|      0|    case 1510:	/* complex    <- logical    */
  ------------------
  |  Branch (352:5): [True: 0, False: 2.17k]
  ------------------
  353|      0|    case 1313:	/* integer    <- integer    */
  ------------------
  |  Branch (353:5): [True: 0, False: 2.17k]
  ------------------
  354|      0|    case 1413:	/* real	      <- integer    */
  ------------------
  |  Branch (354:5): [True: 0, False: 2.17k]
  ------------------
  355|      0|    case 1513:	/* complex    <- integer    */
  ------------------
  |  Branch (355:5): [True: 0, False: 2.17k]
  ------------------
  356|  2.05k|    case 1414:	/* real	      <- real	    */
  ------------------
  |  Branch (356:5): [True: 2.05k, False: 117]
  ------------------
  357|  2.05k|    case 1514:	/* complex    <- real	    */
  ------------------
  |  Branch (357:5): [True: 0, False: 2.17k]
  ------------------
  358|  2.05k|    case 1515:	/* complex    <- complex    */
  ------------------
  |  Branch (358:5): [True: 0, False: 2.17k]
  ------------------
  359|  2.07k|    case 1616:	/* character  <- character  */
  ------------------
  |  Branch (359:5): [True: 16, False: 2.15k]
  ------------------
  360|  2.12k|    case 1919:  /* vector     <- vector     */
  ------------------
  |  Branch (360:5): [True: 56, False: 2.11k]
  ------------------
  361|  2.12k|    case 2020:	/* expression <- expression */
  ------------------
  |  Branch (361:5): [True: 0, False: 2.17k]
  ------------------
  362|  2.12k|    case 2424:	/* raw        <- raw        */
  ------------------
  |  Branch (362:5): [True: 0, False: 2.17k]
  ------------------
  363|       |
  364|  2.12k|	redo_which = false;
  365|  2.12k|	break;
  366|       |
  367|      0|    case 1013:	/* logical    <- integer    */
  ------------------
  |  Branch (367:5): [True: 0, False: 2.17k]
  ------------------
  368|       |
  369|      0|	*x = coerceVector(*x, INTSXP);
  ------------------
  |  |  895|      0|#define coerceVector		Rf_coerceVector
  ------------------
              	*x = coerceVector(*x, INTSXP);
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  370|      0|	break;
  371|       |
  372|     35|    case 1014:	/* logical    <- real	    */
  ------------------
  |  Branch (372:5): [True: 35, False: 2.13k]
  ------------------
  373|     35|    case 1314:	/* integer    <- real	    */
  ------------------
  |  Branch (373:5): [True: 0, False: 2.17k]
  ------------------
  374|       |
  375|     35|	*x = coerceVector(*x, REALSXP);
  ------------------
  |  |  895|     35|#define coerceVector		Rf_coerceVector
  ------------------
              	*x = coerceVector(*x, REALSXP);
  ------------------
  |  |  124|     35|#define REALSXP	    14	  /* real variables */
  ------------------
  376|     35|	break;
  377|       |
  378|      0|    case 1015:	/* logical    <- complex    */
  ------------------
  |  Branch (378:5): [True: 0, False: 2.17k]
  ------------------
  379|      0|    case 1315:	/* integer    <- complex    */
  ------------------
  |  Branch (379:5): [True: 0, False: 2.17k]
  ------------------
  380|      0|    case 1415:	/* real	      <- complex    */
  ------------------
  |  Branch (380:5): [True: 0, False: 2.17k]
  ------------------
  381|       |
  382|      0|	*x = coerceVector(*x, CPLXSXP);
  ------------------
  |  |  895|      0|#define coerceVector		Rf_coerceVector
  ------------------
              	*x = coerceVector(*x, CPLXSXP);
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  383|      0|	break;
  384|       |
  385|      0|    case 1610:	/* character  <- logical    */
  ------------------
  |  Branch (385:5): [True: 0, False: 2.17k]
  ------------------
  386|      0|    case 1613:	/* character  <- integer    */
  ------------------
  |  Branch (386:5): [True: 0, False: 2.17k]
  ------------------
  387|      0|    case 1614:	/* character  <- real	    */
  ------------------
  |  Branch (387:5): [True: 0, False: 2.17k]
  ------------------
  388|      0|    case 1615:	/* character  <- complex    */
  ------------------
  |  Branch (388:5): [True: 0, False: 2.17k]
  ------------------
  389|       |
  390|      0|	*y = coerceVector(*y, STRSXP);
  ------------------
  |  |  895|      0|#define coerceVector		Rf_coerceVector
  ------------------
              	*y = coerceVector(*y, STRSXP);
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  391|      0|	break;
  392|       |
  393|      0|    case 1016:	/* logical    <- character  */
  ------------------
  |  Branch (393:5): [True: 0, False: 2.17k]
  ------------------
  394|      0|    case 1316:	/* integer    <- character  */
  ------------------
  |  Branch (394:5): [True: 0, False: 2.17k]
  ------------------
  395|      0|    case 1416:	/* real	      <- character  */
  ------------------
  |  Branch (395:5): [True: 0, False: 2.17k]
  ------------------
  396|      0|    case 1516:	/* complex    <- character  */
  ------------------
  |  Branch (396:5): [True: 0, False: 2.17k]
  ------------------
  397|       |
  398|      0|	*x = coerceVector(*x, STRSXP);
  ------------------
  |  |  895|      0|#define coerceVector		Rf_coerceVector
  ------------------
              	*x = coerceVector(*x, STRSXP);
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  399|      0|	break;
  400|       |
  401|      0|    case 1901:  /* vector     <- symbol   */
  ------------------
  |  Branch (401:5): [True: 0, False: 2.17k]
  ------------------
  402|      0|    case 1902:	/* vector     <- pairlist */
  ------------------
  |  Branch (402:5): [True: 0, False: 2.17k]
  ------------------
  403|      0|    case 1904:  /* vector     <- environment   */
  ------------------
  |  Branch (403:5): [True: 0, False: 2.17k]
  ------------------
  404|      0|    case 1905:  /* vector     <- promise   */
  ------------------
  |  Branch (404:5): [True: 0, False: 2.17k]
  ------------------
  405|      0|    case 1906:  /* vector     <- language   */
  ------------------
  |  Branch (405:5): [True: 0, False: 2.17k]
  ------------------
  406|      0|    case 1910:  /* vector     <- logical    */
  ------------------
  |  Branch (406:5): [True: 0, False: 2.17k]
  ------------------
  407|      0|    case 1913:  /* vector     <- integer    */
  ------------------
  |  Branch (407:5): [True: 0, False: 2.17k]
  ------------------
  408|      0|    case 1914:  /* vector     <- real       */
  ------------------
  |  Branch (408:5): [True: 0, False: 2.17k]
  ------------------
  409|      0|    case 1915:  /* vector     <- complex    */
  ------------------
  |  Branch (409:5): [True: 0, False: 2.17k]
  ------------------
  410|     10|    case 1916:  /* vector     <- character  */
  ------------------
  |  Branch (410:5): [True: 10, False: 2.16k]
  ------------------
  411|     10|    case 1920:  /* vector     <- expression  */
  ------------------
  |  Branch (411:5): [True: 0, False: 2.17k]
  ------------------
  412|     10|    case 1921:  /* vector     <- bytecode   */
  ------------------
  |  Branch (412:5): [True: 0, False: 2.17k]
  ------------------
  413|     10|    case 1922:  /* vector     <- external pointer */
  ------------------
  |  Branch (413:5): [True: 0, False: 2.17k]
  ------------------
  414|     10|    case 1923:  /* vector     <- weak reference */
  ------------------
  |  Branch (414:5): [True: 0, False: 2.17k]
  ------------------
  415|     10|    case 1924:  /* vector     <- raw */
  ------------------
  |  Branch (415:5): [True: 0, False: 2.17k]
  ------------------
  416|     10|    case 1903: case 1907: case 1908: case 1999: /* functions */
  ------------------
  |  Branch (416:5): [True: 0, False: 2.17k]
  |  Branch (416:16): [True: 0, False: 2.17k]
  |  Branch (416:27): [True: 0, False: 2.17k]
  |  Branch (416:38): [True: 0, False: 2.17k]
  ------------------
  417|       |
  418|     10|	if (level == 1) {
  ------------------
  |  Branch (418:6): [True: 0, False: 10]
  ------------------
  419|       |	    /* Coerce the RHS into a list */
  420|      0|	    *y = coerceVector(*y, VECSXP);
  ------------------
  |  |  895|      0|#define coerceVector		Rf_coerceVector
  ------------------
              	    *y = coerceVector(*y, VECSXP);
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  421|     10|	} else {
  422|       |	    /* Nothing to do here: duplicate when used (if needed) */
  423|     10|	    redo_which = false;
  424|     10|	}
  425|     10|	break;
  426|       |
  427|      0|    case 1925: /* vector <- S4|OBJ */
  ------------------
  |  Branch (427:5): [True: 0, False: 2.17k]
  ------------------
  428|       |
  429|      0|	if (level == 1) {
  ------------------
  |  Branch (429:6): [True: 0, False: 0]
  ------------------
  430|       |	    /* Embed the RHS into a list */
  431|      0|	    *y = embedInVector(*y, call);
  432|      0|	} else {
  433|       |	    /* Nothing to do here: duplicate when used (if needed) */
  434|      0|	    redo_which = false;
  435|      0|	}
  436|      0|	break;
  437|       |
  438|      0|    case 1019:  /* logical    <- vector     */
  ------------------
  |  Branch (438:5): [True: 0, False: 2.17k]
  ------------------
  439|      0|    case 1319:  /* integer    <- vector     */
  ------------------
  |  Branch (439:5): [True: 0, False: 2.17k]
  ------------------
  440|      0|    case 1419:  /* real       <- vector     */
  ------------------
  |  Branch (440:5): [True: 0, False: 2.17k]
  ------------------
  441|      0|    case 1519:  /* complex    <- vector     */
  ------------------
  |  Branch (441:5): [True: 0, False: 2.17k]
  ------------------
  442|      0|    case 1619:  /* character  <- vector     */
  ------------------
  |  Branch (442:5): [True: 0, False: 2.17k]
  ------------------
  443|      0|    case 2419:  /* raw        <- vector     */
  ------------------
  |  Branch (443:5): [True: 0, False: 2.17k]
  ------------------
  444|      0|	*x = coerceVector(*x, VECSXP);
  ------------------
  |  |  895|      0|#define coerceVector		Rf_coerceVector
  ------------------
              	*x = coerceVector(*x, VECSXP);
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  445|      0|	break;
  446|       |
  447|      0|    case 1020:  /* logical    <- expression */
  ------------------
  |  Branch (447:5): [True: 0, False: 2.17k]
  ------------------
  448|      0|    case 1320:  /* integer    <- expression */
  ------------------
  |  Branch (448:5): [True: 0, False: 2.17k]
  ------------------
  449|      0|    case 1420:  /* real       <- expression */
  ------------------
  |  Branch (449:5): [True: 0, False: 2.17k]
  ------------------
  450|      0|    case 1520:  /* complex    <- expression */
  ------------------
  |  Branch (450:5): [True: 0, False: 2.17k]
  ------------------
  451|      0|    case 1620:  /* character  <- expression */
  ------------------
  |  Branch (451:5): [True: 0, False: 2.17k]
  ------------------
  452|      0|    case 2420:  /* raw        <- expression */
  ------------------
  |  Branch (452:5): [True: 0, False: 2.17k]
  ------------------
  453|      0|	*x = coerceVector(*x, EXPRSXP);
  ------------------
  |  |  895|      0|#define coerceVector		Rf_coerceVector
  ------------------
              	*x = coerceVector(*x, EXPRSXP);
  ------------------
  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  454|      0|	break;
  455|       |
  456|      0|    case 2001:	/* expression <- symbol	    */
  ------------------
  |  Branch (456:5): [True: 0, False: 2.17k]
  ------------------
  457|      0|    case 2002:  /* expression <- pairlist   */
  ------------------
  |  Branch (457:5): [True: 0, False: 2.17k]
  ------------------
  458|      0|    case 2006:	/* expression <- language   */
  ------------------
  |  Branch (458:5): [True: 0, False: 2.17k]
  ------------------
  459|      0|    case 2010:	/* expression <- logical    */
  ------------------
  |  Branch (459:5): [True: 0, False: 2.17k]
  ------------------
  460|      0|    case 2013:	/* expression <- integer    */
  ------------------
  |  Branch (460:5): [True: 0, False: 2.17k]
  ------------------
  461|      0|    case 2014:	/* expression <- real	    */
  ------------------
  |  Branch (461:5): [True: 0, False: 2.17k]
  ------------------
  462|      0|    case 2015:	/* expression <- complex    */
  ------------------
  |  Branch (462:5): [True: 0, False: 2.17k]
  ------------------
  463|      0|    case 2016:	/* expression <- character  */
  ------------------
  |  Branch (463:5): [True: 0, False: 2.17k]
  ------------------
  464|      0|    case 2019:  /* expression <- vector     */
  ------------------
  |  Branch (464:5): [True: 0, False: 2.17k]
  ------------------
  465|       |
  466|      0|	if (level == 1) {
  ------------------
  |  Branch (466:6): [True: 0, False: 0]
  ------------------
  467|       |	    /* Coerce the RHS into a list */
  468|      0|	    *y = coerceVector(*y, VECSXP);
  ------------------
  |  |  895|      0|#define coerceVector		Rf_coerceVector
  ------------------
              	    *y = coerceVector(*y, VECSXP);
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  469|      0|	} else {
  470|       |	    /* Note : No coercion is needed here. */
  471|       |	    /* We just insert the RHS into the LHS. */
  472|      0|	    redo_which = false;
  473|      0|	}
  474|      0|	break;
  475|       |
  476|      0|    case 2025: /* expression <- S4|OBJ */
  ------------------
  |  Branch (476:5): [True: 0, False: 2.17k]
  ------------------
  477|       |
  478|      0|	if (level == 1) {
  ------------------
  |  Branch (478:6): [True: 0, False: 0]
  ------------------
  479|       |	    /* Embed the RHS into a list */
  480|      0|	    *y = embedInVector(*y, call);
  481|      0|	} else {
  482|       |	    /* Nothing to do here: duplicate when used (if needed) */
  483|      0|	    redo_which = false;
  484|      0|	}
  485|      0|	break;
  486|       |
  487|      0|    case 1025: /* logical   <- S4|OBJ */
  ------------------
  |  Branch (487:5): [True: 0, False: 2.17k]
  ------------------
  488|      0|    case 1325: /* integer   <- S4|OBJ */
  ------------------
  |  Branch (488:5): [True: 0, False: 2.17k]
  ------------------
  489|      0|    case 1425: /* real      <- S4|OBJ */
  ------------------
  |  Branch (489:5): [True: 0, False: 2.17k]
  ------------------
  490|      0|    case 1525: /* complex   <- S4|OBJ */
  ------------------
  |  Branch (490:5): [True: 0, False: 2.17k]
  ------------------
  491|      0|    case 1625: /* character <- S4|OBJ */
  ------------------
  |  Branch (491:5): [True: 0, False: 2.17k]
  ------------------
  492|      0|    case 2425: /* raw       <- S4|OBJ */
  ------------------
  |  Branch (492:5): [True: 0, False: 2.17k]
  ------------------
  493|      0|        if (dispatch_asvector(y, call, rho)) {
  ------------------
  |  Branch (493:13): [True: 0, False: 0]
  ------------------
  494|       |	    /*^^^^^^^^^^^^^^^ creates an unprotected *y; call below may allocate (coerceVector),
  495|       |	      so the new value has to be protected: */
  496|      0|            PROTECT(*y);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  497|      0|            which = SubassignTypeFix(x, y, stretch, level, call, rho);
  498|      0|            UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  499|      0|            return which;
  500|      0|        }
  501|       |
  502|      0|    default:
  ------------------
  |  Branch (502:5): [True: 0, False: 2.17k]
  ------------------
  503|      0|	error(_("incompatible types (from %s to %s) in subassignment type fix"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("incompatible types (from %s to %s) in subassignment type fix"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  504|      0|	      R_typeToChar(*x), R_typeToChar(*y));
  505|  2.17k|    } //--- end switch(which)
  506|       |
  507|  2.17k|    if (stretch) {
  ------------------
  |  Branch (507:9): [True: 20, False: 2.15k]
  ------------------
  508|     20|	PROTECT(*y);
  ------------------
  |  |  357|     20|#define PROTECT(s)	Rf_protect(s)
  ------------------
  509|     20|	*x = EnlargeVector(*x, stretch); // FIXME: 1d-array w/ {dim,dimnames} |--> vector w/ names
  510|     20|	UNPROTECT(1);
  ------------------
  |  |  358|     20|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  511|     20|    }
  512|  2.17k|    SET_OBJECT(*x, x_is_object);
  513|       |
  514|  2.17k|    if(redo_which)
  ------------------
  |  Branch (514:8): [True: 35, False: 2.13k]
  ------------------
  515|     35|	return(100 * TYPEOF(*x) + TYPEOF(*y));
  516|  2.13k|    else
  517|  2.13k|	return(which);
  518|  2.17k|} // SubassignTypeFix
subassign.c:EnlargeVector:
  141|     20|{
  142|     20|    R_xlen_t len, newtruelen;
  143|     20|    SEXP newx, names;
  144|     20|    static SEXP R_CheckBoundsSymbol = NULL;
  145|       |
  146|     20|    if (R_CheckBoundsSymbol == NULL)
  ------------------
  |  Branch (146:9): [True: 2, False: 18]
  ------------------
  147|      2|	R_CheckBoundsSymbol = install("check.bounds");
  ------------------
  |  |  934|      2|#define install			Rf_install
  ------------------
  148|       |
  149|       |    /* Sanity Checks */
  150|     20|    if (!isVector(x))
  ------------------
  |  |  974|     20|#define isVector		Rf_isVector
  ------------------
  |  Branch (150:9): [True: 0, False: 20]
  ------------------
  151|      0|	error(_("attempt to enlarge non-vector"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("attempt to enlarge non-vector"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  152|       |
  153|       |    /* Enlarge the vector itself. */
  154|     20|    len = xlength(x);
  ------------------
  |  | 1049|     20|#define xlength(x)		Rf_xlength(x)
  ------------------
  155|       |    /* x can be a fresh coercion that nothing else keeps alive (from
  156|       |       SubassignTypeFix()), and warning() and EnlargeNames() allocate. */
  157|     20|    PROTECT(x);
  ------------------
  |  |  357|     20|#define PROTECT(s)	Rf_protect(s)
  ------------------
  158|     20|    if (LOGICAL(GetOption1(R_CheckBoundsSymbol))[0])
  ------------------
  |  |  928|     20|#define GetOption1		Rf_GetOption1
  ------------------
  |  Branch (158:9): [True: 0, False: 20]
  ------------------
  159|      0|	warning(_("assignment outside vector/list limits (extending from %lld to %lld)"),
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	warning(_("assignment outside vector/list limits (extending from %lld to %lld)"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  160|      0|		(long long)len, (long long)newlen);
  161|       |
  162|       |    /* if the vector is not shared, is growable, and has room, then
  163|       |       increase its length */
  164|     20|    if (! MAYBE_SHARED(x) &&
  ------------------
  |  Branch (164:9): [True: 20, False: 0]
  ------------------
  165|     20|	IS_GROWABLE(x) &&
  ------------------
  |  Branch (165:2): [True: 0, False: 20]
  ------------------
  166|      0|	XTRUELENGTH(x) >= newlen) {
  ------------------
  |  Branch (166:2): [True: 0, False: 0]
  ------------------
  167|      0|	SET_STDVEC_LENGTH(x, newlen);
  ------------------
  |  |   99|      0|# define SET_STDVEC_LENGTH(x, v) SETLENGTH(x, v)
  ------------------
  168|      0|	if (ATTRIB(x) != R_NilValue) {
  ------------------
  |  Branch (168:6): [True: 0, False: 0]
  ------------------
  169|      0|	    names = getNames(x);
  170|      0|	    if (!isNull(names)) {
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
  |  Branch (170:10): [True: 0, False: 0]
  ------------------
  171|      0|		SEXP newnames = EnlargeNames(names, len, newlen);
  172|      0|		if (names != newnames)
  ------------------
  |  Branch (172:7): [True: 0, False: 0]
  ------------------
  173|      0|		    setAttrib(x, R_NamesSymbol, newnames);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  174|      0|	    }
  175|      0|	    if (getAttrib(x, R_DimSymbol) != R_NilValue)
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
  |  Branch (175:10): [True: 0, False: 0]
  ------------------
  176|      0|		setAttrib(x, R_DimSymbol, R_NilValue);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  177|      0|	    if (getAttrib(x, R_DimNamesSymbol) != R_NilValue)
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
  |  Branch (177:10): [True: 0, False: 0]
  ------------------
  178|      0|		setAttrib(x, R_DimNamesSymbol, R_NilValue);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  179|      0|	}
  180|      0|	UNPROTECT(1); /* x */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  181|      0|	return x;
  182|      0|    }
  183|       |
  184|       |    /* over-committing by 5% seems to be reasonable, but for
  185|       |       experimenting the environment variable R_EXPAND_Frac can be
  186|       |       used to adjust this */
  187|     20|    static double expand_dflt = 1.05;
  188|     20|    static double expand = 0;
  189|     20|    if (expand == 0) {
  ------------------
  |  Branch (189:9): [True: 2, False: 18]
  ------------------
  190|      2|	char *envval = getenv("R_EXPAND_FRAC");
  191|      2|	expand = envval != NULL ? atof(envval) : expand_dflt;
  ------------------
  |  Branch (191:11): [True: 0, False: 2]
  ------------------
  192|      2|	if (expand < 1 || expand > 2) {
  ------------------
  |  Branch (192:6): [True: 0, False: 2]
  |  Branch (192:20): [True: 0, False: 2]
  ------------------
  193|      0|	    expand = expand_dflt;
  194|      0|	    error("bad expand value");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  195|      0|	}
  196|      2|    }
  197|       |
  198|     20|    if (newlen > len) {
  ------------------
  |  Branch (198:9): [True: 20, False: 0]
  ------------------
  199|     20|	double expanded_nlen = (double)newlen * expand;
  200|     20|	if (expanded_nlen <= R_XLEN_T_MAX)
  ------------------
  |  |   76|     20|# define R_XLEN_T_MAX 4503599627370496
  ------------------
  |  Branch (200:6): [True: 20, False: 0]
  ------------------
  201|     20|	    newtruelen = (R_xlen_t) expanded_nlen;
  202|      0|	else
  203|      0|	    newtruelen = newlen;
  204|     20|    }
  205|      0|    else
  206|       |	/* sometimes this is called when no expansion is needed */
  207|      0|	newtruelen = newlen;
  208|       |
  209|       |    /**** for now, don't cross the long vector boundary; drop when
  210|       |	  ALTREP is merged */
  211|       |/*
  212|       |#ifdef ALTREP
  213|       |#error drop the limitation to short vectors
  214|       |#endif
  215|       |
  216|       |    if (newtruelen > R_LEN_T_MAX) newtruelen = newlen;
  217|       |*/
  218|     20|    PROTECT(newx = allocVector(TYPEOF(x), newtruelen));
  ------------------
  |  |  357|     20|#define PROTECT(s)	Rf_protect(s)
  ------------------
  219|       |
  220|       |    /* Copy the elements into place. */
  221|     20|    switch(TYPEOF(x)) {
  222|      0|    case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (222:5): [True: 0, False: 20]
  ------------------
  223|      0|    case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (223:5): [True: 0, False: 20]
  ------------------
  224|      0|	for (R_xlen_t i = 0; i < len; i++)
  ------------------
  |  Branch (224:23): [True: 0, False: 0]
  ------------------
  225|      0|	    INTEGER0(newx)[i] = INTEGER_ELT(x, i);
  226|      0|	for (R_xlen_t i = len; i < newtruelen; i++)
  ------------------
  |  Branch (226:25): [True: 0, False: 0]
  ------------------
  227|      0|	    INTEGER0(newx)[i] = NA_INTEGER;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  228|      0|	break;
  229|      0|    case REALSXP:
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (229:5): [True: 0, False: 20]
  ------------------
  230|      0|	for (R_xlen_t i = 0; i < len; i++)
  ------------------
  |  Branch (230:23): [True: 0, False: 0]
  ------------------
  231|      0|	    REAL0(newx)[i] = REAL_ELT(x, i);
  232|      0|	for (R_xlen_t i = len; i < newtruelen; i++)
  ------------------
  |  Branch (232:25): [True: 0, False: 0]
  ------------------
  233|      0|	    REAL0(newx)[i] = NA_REAL;
  ------------------
  |  |   58|      0|#define NA_REAL		R_NaReal
  ------------------
  234|      0|	break;
  235|      0|    case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (235:5): [True: 0, False: 20]
  ------------------
  236|      0|	for (R_xlen_t i = 0; i < len; i++)
  ------------------
  |  Branch (236:23): [True: 0, False: 0]
  ------------------
  237|      0|	    COMPLEX0(newx)[i] = COMPLEX_ELT(x, i);
  238|      0|	for (R_xlen_t i = len; i < newtruelen; i++) {
  ------------------
  |  Branch (238:25): [True: 0, False: 0]
  ------------------
  239|      0|	    COMPLEX0(newx)[i].r = NA_REAL;
  ------------------
  |  |   58|      0|#define NA_REAL		R_NaReal
  ------------------
  240|      0|	    COMPLEX0(newx)[i].i = NA_REAL;
  ------------------
  |  |   58|      0|#define NA_REAL		R_NaReal
  ------------------
  241|      0|	}
  242|      0|	break;
  243|      0|    case STRSXP:
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (243:5): [True: 0, False: 20]
  ------------------
  244|      0|	for (R_xlen_t i = 0; i < len; i++)
  ------------------
  |  Branch (244:23): [True: 0, False: 0]
  ------------------
  245|      0|	    SET_STRING_ELT(newx, i, STRING_ELT(x, i));
  246|      0|	for (R_xlen_t i = len; i < newtruelen; i++)
  ------------------
  |  Branch (246:25): [True: 0, False: 0]
  ------------------
  247|      0|	    SET_STRING_ELT(newx, i, NA_STRING); /* was R_BlankString  < 1.6.0 */
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  248|      0|	break;
  249|      0|    case EXPRSXP:
  ------------------
  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (249:5): [True: 0, False: 20]
  ------------------
  250|     20|    case VECSXP:
  ------------------
  |  |  131|     20|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (250:5): [True: 20, False: 0]
  ------------------
  251|     20|	for (R_xlen_t i = 0; i < len; i++)
  ------------------
  |  Branch (251:23): [True: 0, False: 20]
  ------------------
  252|      0|	    SET_VECTOR_ELT(newx, i, VECTOR_ELT(x, i));
  253|     40|	for (R_xlen_t i = len; i < newtruelen; i++)
  ------------------
  |  Branch (253:25): [True: 20, False: 20]
  ------------------
  254|     20|	    SET_VECTOR_ELT(newx, i, R_NilValue);
  255|     20|	break;
  256|      0|    case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (256:5): [True: 0, False: 20]
  ------------------
  257|      0|	for (R_xlen_t i = 0; i < len; i++)
  ------------------
  |  Branch (257:23): [True: 0, False: 0]
  ------------------
  258|      0|	    RAW0(newx)[i] = RAW_ELT(x, i);
  259|      0|	for (R_xlen_t i = len; i < newtruelen; i++)
  ------------------
  |  Branch (259:25): [True: 0, False: 0]
  ------------------
  260|      0|	    RAW0(newx)[i] = (Rbyte) 0;
  261|      0|	break;
  262|      0|    default:
  ------------------
  |  Branch (262:5): [True: 0, False: 20]
  ------------------
  263|      0|	UNIMPLEMENTED_TYPE("EnlargeVector", x);
  264|     20|    }
  265|     20|    if (newlen < newtruelen) {
  ------------------
  |  Branch (265:9): [True: 0, False: 20]
  ------------------
  266|      0|	SET_GROWABLE_BIT(newx);
  267|      0|	SET_TRUELENGTH(newx, newtruelen);
  268|      0|	SET_STDVEC_LENGTH(newx, newlen);
  ------------------
  |  |   99|      0|# define SET_STDVEC_LENGTH(x, v) SETLENGTH(x, v)
  ------------------
  269|      0|    }
  270|       |
  271|       |    /* Adjust the attribute list. */
  272|     20|    names = getNames(x);
  273|     20|    if (!isNull(names))
  ------------------
  |  |  956|     20|#define isNull			Rf_isNull
  ------------------
  |  Branch (273:9): [True: 0, False: 20]
  ------------------
  274|      0|	setAttrib(newx, R_NamesSymbol, EnlargeNames(names, len, newlen));
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  275|     20|    copyMostAttrib(x, newx);
  ------------------
  |  |  901|     20|#define copyMostAttrib		Rf_copyMostAttrib
  ------------------
  276|     20|    UNPROTECT(2);
  ------------------
  |  |  358|     20|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  277|     20|    return newx;
  278|     20|}
subassign.c:getNames:
  120|     20|{
  121|       |    /* defer to getAttrib if a 'dim' attribute is present */
  122|     20|    for (SEXP attr = ATTRIB(x); attr != R_NilValue; attr = CDR(attr))
  ------------------
  |  Branch (122:33): [True: 0, False: 20]
  ------------------
  123|      0|	if (TAG(attr) == R_DimSymbol)
  ------------------
  |  Branch (123:6): [True: 0, False: 0]
  ------------------
  124|      0|	    return getAttrib(x, R_NamesSymbol);
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
  125|       |
  126|       |    /* don't use getAttrib since that would mark as immutable */
  127|     20|    for (SEXP attr = ATTRIB(x); attr != R_NilValue; attr = CDR(attr))
  ------------------
  |  Branch (127:33): [True: 0, False: 20]
  ------------------
  128|      0|	if (TAG(attr) == R_NamesSymbol)
  ------------------
  |  Branch (128:6): [True: 0, False: 0]
  ------------------
  129|      0|	    return CAR(attr);
  130|       |
  131|     20|    return R_NilValue;
  132|     20|}

Rf_OneIndex:
  110|     61|{
  111|     61|    SEXP names;
  112|     61|    R_xlen_t i, indx;
  113|     61|    const void *vmax;
  114|       |
  115|     61|    if (pos < 0 && length(s) > 1) {
  ------------------
  |  |  987|     61|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (115:9): [True: 61, False: 0]
  |  Branch (115:20): [True: 0, False: 61]
  ------------------
  116|      0|	ECALL3(call, _("attempt to select more than one element in %s"), "OneIndex");
  ------------------
  |  |   47|      0|#define ECALL3(call, yy, A) if(call == R_NilValue) error(yy, A); else errorcall(call, yy, A);
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               #define ECALL3(call, yy, A) if(call == R_NilValue) error(yy, A); else errorcall(call, yy, A);
  |  |  ------------------
  |  |  |  |  912|      0|#define errorcall		Rf_errorcall
  |  |  ------------------
  |  |  |  Branch (47:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  117|      0|    }
  118|     61|    if (pos < 0 && length(s) < 1) {
  ------------------
  |  |  987|     61|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (118:9): [True: 61, False: 0]
  |  Branch (118:20): [True: 0, False: 61]
  ------------------
  119|      0|	ECALL3(call, _("attempt to select less than one element in %s"), "OneIndex");
  ------------------
  |  |   47|      0|#define ECALL3(call, yy, A) if(call == R_NilValue) error(yy, A); else errorcall(call, yy, A);
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               #define ECALL3(call, yy, A) if(call == R_NilValue) error(yy, A); else errorcall(call, yy, A);
  |  |  ------------------
  |  |  |  |  912|      0|#define errorcall		Rf_errorcall
  |  |  ------------------
  |  |  |  Branch (47:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  120|      0|    }
  121|       |
  122|     61|    if(pos < 0) pos = 0;
  ------------------
  |  Branch (122:8): [True: 61, False: 0]
  ------------------
  123|       |
  124|     61|    indx = -1;
  125|     61|    *newname = R_NilValue;
  126|     61|    switch(TYPEOF(s)) {
  127|      0|    case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (127:5): [True: 0, False: 61]
  ------------------
  128|      0|    case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (128:5): [True: 0, False: 61]
  ------------------
  129|      0|	indx = integerOneIndex(INTEGER_ELT(s, pos), nx, call);
  130|      0|	break;
  131|      0|    case REALSXP:
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (131:5): [True: 0, False: 61]
  ------------------
  132|      0|    {
  133|      0|	double dblind = REAL_ELT(s, pos);
  134|      0|	if(!ISNAN(dblind)) {
  ------------------
  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  ------------------
  |  Branch (134:5): [True: 0, False: 0]
  ------------------
  135|       |	    /* see comment above integerOneIndex */
  136|      0|	    if (dblind >= 1) indx = (R_xlen_t)(dblind - 1);
  ------------------
  |  Branch (136:10): [True: 0, False: 0]
  ------------------
  137|      0|	    else if (dblind > -1 || nx < 2) {
  ------------------
  |  Branch (137:15): [True: 0, False: 0]
  |  Branch (137:30): [True: 0, False: 0]
  ------------------
  138|      0|		ECALL3(call, _("attempt to select less than one element in %s"), "OneIndex <real>");
  ------------------
  |  |   47|      0|#define ECALL3(call, yy, A) if(call == R_NilValue) error(yy, A); else errorcall(call, yy, A);
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               #define ECALL3(call, yy, A) if(call == R_NilValue) error(yy, A); else errorcall(call, yy, A);
  |  |  ------------------
  |  |  |  |  912|      0|#define errorcall		Rf_errorcall
  |  |  ------------------
  |  |  |  Branch (47:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  139|      0|	    } else if (nx == 2 && dblind > -3)
  ------------------
  |  Branch (139:17): [True: 0, False: 0]
  |  Branch (139:28): [True: 0, False: 0]
  ------------------
  140|      0|		indx = 2 + (R_xlen_t) dblind;
  141|      0|	    else {
  142|      0|		ECALL3(call, _("attempt to select more than one element in %s"), "OneIndex <real>");
  ------------------
  |  |   47|      0|#define ECALL3(call, yy, A) if(call == R_NilValue) error(yy, A); else errorcall(call, yy, A);
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               #define ECALL3(call, yy, A) if(call == R_NilValue) error(yy, A); else errorcall(call, yy, A);
  |  |  ------------------
  |  |  |  |  912|      0|#define errorcall		Rf_errorcall
  |  |  ------------------
  |  |  |  Branch (47:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  143|      0|	    }
  144|      0|	}
  145|      0|	break;
  146|      0|    }
  147|     61|    case STRSXP:
  ------------------
  |  |  126|     61|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (147:5): [True: 61, False: 0]
  ------------------
  148|     61|	vmax = vmaxget();
  149|     61|	names = getAttrib(x, R_NamesSymbol);
  ------------------
  |  |  924|     61|#define getAttrib		Rf_getAttrib
  ------------------
  150|     61|	if (names != R_NilValue) {
  ------------------
  |  Branch (150:6): [True: 41, False: 20]
  ------------------
  151|     41|	    PROTECT(names);
  ------------------
  |  |  357|     41|#define PROTECT(s)	Rf_protect(s)
  ------------------
  152|       |	    /* Try for exact match */
  153|    303|	    for (i = 0; i < nx; i++) {
  ------------------
  |  Branch (153:18): [True: 303, False: 0]
  ------------------
  154|    303|		const char *tmp = translateChar(STRING_ELT(names, i));
  ------------------
  |  | 1037|    303|#define translateChar		Rf_translateChar
  ------------------
  155|    303|		if (!tmp[0]) continue;
  ------------------
  |  Branch (155:7): [True: 0, False: 303]
  ------------------
  156|    303|		if (streql(tmp, translateChar(STRING_ELT(s, pos)))) {
  ------------------
  |  | 1498|    303|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 41, False: 262]
  |  |  ------------------
  ------------------
  157|     41|		    indx = i;
  158|     41|		    break;
  159|     41|		}
  160|    303|	    }
  161|       |	    // Try for partial match -- not ever used in current R (partial is 0)
  162|     41|	    if (partial && indx < 0) {
  ------------------
  |  Branch (162:10): [True: 0, False: 41]
  |  Branch (162:21): [True: 0, False: 0]
  ------------------
  163|      0|		size_t l = strlen(translateChar(STRING_ELT(s, pos)));
  ------------------
  |  | 1037|      0|#define translateChar		Rf_translateChar
  ------------------
  164|      0|		for(i = 0; i < nx; i++) {
  ------------------
  |  Branch (164:14): [True: 0, False: 0]
  ------------------
  165|      0|		    const char *tmp = translateChar(STRING_ELT(names, i));
  ------------------
  |  | 1037|      0|#define translateChar		Rf_translateChar
  ------------------
  166|      0|		    if (!tmp[0]) continue;
  ------------------
  |  Branch (166:11): [True: 0, False: 0]
  ------------------
  167|      0|		    if(!strncmp(tmp, translateChar(STRING_ELT(s, pos)), l)) {
  ------------------
  |  | 1037|      0|#define translateChar		Rf_translateChar
  ------------------
  |  Branch (167:10): [True: 0, False: 0]
  ------------------
  168|      0|			if(indx == -1 )
  ------------------
  |  Branch (168:7): [True: 0, False: 0]
  ------------------
  169|      0|			    indx = i;
  170|      0|			else
  171|      0|			    indx = -2;
  172|      0|		    }
  173|      0|		}
  174|      0|	    }
  175|     41|	    UNPROTECT(1); /* names */
  ------------------
  |  |  358|     41|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  176|     41|	}
  177|     61|	if (indx == -1)
  ------------------
  |  Branch (177:6): [True: 20, False: 41]
  ------------------
  178|     20|	    indx = nx;
  179|     61|	*newname = STRING_ELT(s, pos);
  180|     61|	vmaxset(vmax);
  181|     61|	break;
  182|      0|    case SYMSXP:
  ------------------
  |  |  112|      0|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (182:5): [True: 0, False: 61]
  ------------------
  183|      0|	vmax = vmaxget();
  184|      0|	names = getAttrib(x, R_NamesSymbol);
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
  185|      0|	if (names != R_NilValue) {
  ------------------
  |  Branch (185:6): [True: 0, False: 0]
  ------------------
  186|      0|	    PROTECT(names);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  187|      0|	    for (i = 0; i < nx; i++)
  ------------------
  |  Branch (187:18): [True: 0, False: 0]
  ------------------
  188|      0|		if (streql(translateChar(STRING_ELT(names, i)),
  ------------------
  |  | 1498|      0|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  189|      0|			   CHAR(PRINTNAME(s)))) {
  190|      0|		    indx = i;
  191|      0|		    break;
  192|      0|		}
  193|      0|	    UNPROTECT(1); /* names */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  194|      0|	}
  195|      0|	if (indx == -1)
  ------------------
  |  Branch (195:6): [True: 0, False: 0]
  ------------------
  196|      0|	    indx = nx;
  197|      0|	*newname = PRINTNAME(s);
  198|      0|	vmaxset(vmax);
  199|      0|	break;
  200|      0|    default:
  ------------------
  |  Branch (200:5): [True: 0, False: 61]
  ------------------
  201|      0|	ECALL3(call, _("invalid subscript type '%s'"), R_typeToChar(s));
  ------------------
  |  |   47|      0|#define ECALL3(call, yy, A) if(call == R_NilValue) error(yy, A); else errorcall(call, yy, A);
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               #define ECALL3(call, yy, A) if(call == R_NilValue) error(yy, A); else errorcall(call, yy, A);
  |  |  ------------------
  |  |  |  |  912|      0|#define errorcall		Rf_errorcall
  |  |  ------------------
  |  |  |  Branch (47:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  202|     61|    }
  203|     61|    return indx;
  204|     61|}
Rf_get1index:
  209|  18.0k|{
  210|       |/* Get a single index for the [[ and [[<- operators.
  211|       |   Checks that only one index is being selected.
  212|       |   Returns -1 for no match.
  213|       |
  214|       |   s is the subscript
  215|       |   len is the length of the object or dimension, with names its (dim)names.
  216|       |   pos is len-1 or -1 for [[, -1 for [[<-
  217|       |     -1 means use the only element of length-1 s.
  218|       |   pok : is "partial ok" ?
  219|       |	 if pok is -1, warn if partial matching occurs, but allow.
  220|       |*/
  221|  18.0k|    const char *ss, *cur_name;
  222|  18.0k|    const void *vmax;
  223|       |
  224|  18.0k|    int warn_pok = (pok == -1);
  225|  18.0k|    if (warn_pok)
  ------------------
  |  Branch (225:9): [True: 0, False: 18.0k]
  ------------------
  226|      0|	pok = 1;
  227|       |
  228|  18.0k|    if (pos < 0 && length(s) != 1) {
  ------------------
  |  |  987|  18.0k|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (228:9): [True: 18.0k, False: 0]
  |  Branch (228:20): [True: 0, False: 18.0k]
  ------------------
  229|      0|	if (length(s) > 1) {
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (229:6): [True: 0, False: 0]
  ------------------
  230|      0|	    ECALL3(call, _("attempt to select more than one element in %s"), "get1index");
  ------------------
  |  |   47|      0|#define ECALL3(call, yy, A) if(call == R_NilValue) error(yy, A); else errorcall(call, yy, A);
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               #define ECALL3(call, yy, A) if(call == R_NilValue) error(yy, A); else errorcall(call, yy, A);
  |  |  ------------------
  |  |  |  |  912|      0|#define errorcall		Rf_errorcall
  |  |  ------------------
  |  |  |  Branch (47:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  231|      0|	} else {
  232|      0|	    ECALL3(call, _("attempt to select less than one element in %s"), "get1index");
  ------------------
  |  |   47|      0|#define ECALL3(call, yy, A) if(call == R_NilValue) error(yy, A); else errorcall(call, yy, A);
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               #define ECALL3(call, yy, A) if(call == R_NilValue) error(yy, A); else errorcall(call, yy, A);
  |  |  ------------------
  |  |  |  |  912|      0|#define errorcall		Rf_errorcall
  |  |  ------------------
  |  |  |  Branch (47:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  233|      0|	}
  234|  18.0k|    } else if(pos >= length(s)) {
  ------------------
  |  |  987|  18.0k|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (234:15): [True: 0, False: 18.0k]
  ------------------
  235|      0|	ECALL(call, _("internal error in use of recursive indexing"));
  ------------------
  |  |   46|      0|#define ECALL(call, yy)     if(call == R_NilValue) error(yy);    else errorcall(call, yy);
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               #define ECALL(call, yy)     if(call == R_NilValue) error(yy);    else errorcall(call, yy);
  |  |  ------------------
  |  |  |  |  912|      0|#define errorcall		Rf_errorcall
  |  |  ------------------
  |  |  |  Branch (46:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  236|      0|    }
  237|  18.0k|    if(pos < 0) pos = 0;
  ------------------
  |  Branch (237:8): [True: 18.0k, False: 0]
  ------------------
  238|  18.0k|    R_xlen_t indx = -1;
  239|  18.0k|    switch (TYPEOF(s)) {
  240|      0|    case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (240:5): [True: 0, False: 18.0k]
  ------------------
  241|  13.0k|    case INTSXP:
  ------------------
  |  |  123|  13.0k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (241:5): [True: 13.0k, False: 5.00k]
  ------------------
  242|  13.0k|    {
  243|  13.0k|	int i = INTEGER_ELT(s, pos);
  244|  13.0k|	if (i != NA_INTEGER)
  ------------------
  |  |   56|  13.0k|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (244:6): [True: 13.0k, False: 0]
  ------------------
  245|  13.0k|	    indx = integerOneIndex(i, len, call);
  246|  13.0k|	break;
  247|      0|    }
  248|    247|    case REALSXP:
  ------------------
  |  |  124|    247|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (248:5): [True: 247, False: 17.7k]
  ------------------
  249|    247|    {
  250|    247|	double dblind = REAL_ELT(s, pos);
  251|    247|	if(!ISNAN(dblind)) {
  ------------------
  |  |   76|    247|#  define ISNAN(x)     (isnan(x)!=0)
  ------------------
  |  Branch (251:5): [True: 247, False: 0]
  ------------------
  252|       |	    /* see comment above integerOneIndex */
  253|    247|	    if (dblind >= 1) {
  ------------------
  |  Branch (253:10): [True: 247, False: 0]
  ------------------
  254|    247|		if(R_FINITE(dblind)) indx = (R_xlen_t)(dblind - 1);
  ------------------
  |  |   82|    247|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (254:6): [True: 247, False: 0]
  ------------------
  255|    247|	    } else if (dblind > -1 || len < 2) {
  ------------------
  |  Branch (255:17): [True: 0, False: 0]
  |  Branch (255:32): [True: 0, False: 0]
  ------------------
  256|      0|		ECALL3(call,
  ------------------
  |  |   47|      0|#define ECALL3(call, yy, A) if(call == R_NilValue) error(yy, A); else errorcall(call, yy, A);
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               #define ECALL3(call, yy, A) if(call == R_NilValue) error(yy, A); else errorcall(call, yy, A);
  |  |  ------------------
  |  |  |  |  912|      0|#define errorcall		Rf_errorcall
  |  |  ------------------
  |  |  |  Branch (47:32): [True: 0, False: 0]
  |  |  |  Branch (47:58): [True: 0, False: 0]
  |  |  |  Branch (47:87): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  257|      0|		       (dblind <= -1) ? _("invalid negative subscript in %s")
  258|      0|		       : _("attempt to select less than one element in %s"),
  259|      0|		       "get1index <real>");
  260|      0|	    } else if (len == 2 && dblind > -3) // dblind = -2 or -1 {why exception ?}
  ------------------
  |  Branch (260:17): [True: 0, False: 0]
  |  Branch (260:29): [True: 0, False: 0]
  ------------------
  261|      0|		indx = 2 + (R_xlen_t) dblind;
  262|      0|	    else {
  263|      0|		ECALL3(call,
  ------------------
  |  |   47|      0|#define ECALL3(call, yy, A) if(call == R_NilValue) error(yy, A); else errorcall(call, yy, A);
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               #define ECALL3(call, yy, A) if(call == R_NilValue) error(yy, A); else errorcall(call, yy, A);
  |  |  ------------------
  |  |  |  |  912|      0|#define errorcall		Rf_errorcall
  |  |  ------------------
  |  |  |  Branch (47:32): [True: 0, False: 0]
  |  |  |  Branch (47:58): [True: 0, False: 0]
  |  |  |  Branch (47:87): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  264|      0|		       (dblind <= -1) ? _("invalid negative subscript in %s")
  265|      0|		       : _("attempt to select more than one element in %s"),
  266|      0|		       "get1index <real>");
  267|      0|	    }
  268|    247|	}
  269|    247|	break;
  270|      0|    }
  271|  4.75k|    case STRSXP:
  ------------------
  |  |  126|  4.75k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (271:5): [True: 4.75k, False: 13.2k]
  ------------------
  272|       |	/* NA matches nothing */
  273|  4.75k|	if(STRING_ELT(s, pos) == NA_STRING) break;
  ------------------
  |  |  433|  4.75k|#define NA_STRING	R_NaString
  ------------------
  |  Branch (273:5): [True: 0, False: 4.75k]
  ------------------
  274|       |	/* "" matches nothing: see names.Rd */
  275|  4.75k|	if(!CHAR(STRING_ELT(s, pos))[0]) break;
  ------------------
  |  |  203|  4.75k|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (275:5): [True: 0, False: 4.75k]
  ------------------
  276|       |
  277|       |	/* Try for exact match */
  278|  4.75k|	vmax = vmaxget();
  279|  4.75k|	ss = translateChar(STRING_ELT(s, pos));
  ------------------
  |  | 1037|  4.75k|#define translateChar		Rf_translateChar
  ------------------
  280|  25.7k|	for (R_xlen_t i = 0; i < xlength(names); i++)
  ------------------
  |  | 1049|  25.7k|#define xlength(x)		Rf_xlength(x)
  ------------------
  |  Branch (280:23): [True: 23.8k, False: 1.91k]
  ------------------
  281|  23.8k|	    if (STRING_ELT(names, i) != NA_STRING) {
  ------------------
  |  |  433|  23.8k|#define NA_STRING	R_NaString
  ------------------
  |  Branch (281:10): [True: 23.8k, False: 0]
  ------------------
  282|  23.8k|		if (streql(translateChar(STRING_ELT(names, i)), ss)) {
  ------------------
  |  | 1498|  23.8k|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 2.84k, False: 20.9k]
  |  |  ------------------
  ------------------
  283|  2.84k|		    indx = i;
  284|  2.84k|		    break;
  285|  2.84k|		}
  286|  23.8k|	    }
  287|       |	/* Try for partial match */
  288|  4.75k|	if (pok && indx < 0) {
  ------------------
  |  Branch (288:6): [True: 0, False: 4.75k]
  |  Branch (288:13): [True: 0, False: 0]
  ------------------
  289|      0|	    size_t len = strlen(ss);
  290|      0|	    for(R_xlen_t i = 0; i < xlength(names); i++) {
  ------------------
  |  | 1049|      0|#define xlength(x)		Rf_xlength(x)
  ------------------
  |  Branch (290:26): [True: 0, False: 0]
  ------------------
  291|      0|		if (STRING_ELT(names, i) != NA_STRING) {
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  |  Branch (291:7): [True: 0, False: 0]
  ------------------
  292|      0|		    cur_name = translateChar(STRING_ELT(names, i));
  ------------------
  |  | 1037|      0|#define translateChar		Rf_translateChar
  ------------------
  293|      0|		    if(!strncmp(cur_name, ss, len)) {
  ------------------
  |  Branch (293:10): [True: 0, False: 0]
  ------------------
  294|      0|			if(indx == -1) {/* first one */
  ------------------
  |  Branch (294:7): [True: 0, False: 0]
  ------------------
  295|      0|			    indx = i;
  296|      0|			    if (warn_pok) {
  ------------------
  |  Branch (296:12): [True: 0, False: 0]
  ------------------
  297|      0|				if (call == R_NilValue)
  ------------------
  |  Branch (297:9): [True: 0, False: 0]
  ------------------
  298|      0|				    warning(_("partial match of '%s' to '%s'"),
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              				    warning(_("partial match of '%s' to '%s'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  299|      0|					    ss, cur_name);
  300|      0|				else
  301|      0|				    warningcall(call,
  ------------------
  |  | 2018|      0|# define warningcall		Rf_warningcall
  ------------------
  302|      0|						_("partial match of '%s' to '%s'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  303|      0|						ss, cur_name);
  304|      0|			    }
  305|      0|			}
  306|      0|			else {
  307|      0|			    indx = -2;/* more than one partial match */
  308|      0|			    if (warn_pok) /* already given context */
  ------------------
  |  Branch (308:12): [True: 0, False: 0]
  ------------------
  309|      0|				warningcall(R_NilValue,
  ------------------
  |  | 2018|      0|# define warningcall		Rf_warningcall
  ------------------
  310|      0|					    _("further partial match of '%s' to '%s'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  311|      0|					    ss, cur_name);
  312|      0|			    break;
  313|      0|			}
  314|      0|		    }
  315|      0|		}
  316|      0|	    }
  317|      0|	}
  318|  4.75k|	vmaxset(vmax);
  319|  4.75k|	break;
  320|      0|    case SYMSXP:
  ------------------
  |  |  112|      0|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (320:5): [True: 0, False: 18.0k]
  ------------------
  321|      0|	if (s == R_MissingArg) {
  ------------------
  |  Branch (321:6): [True: 0, False: 0]
  ------------------
  322|      0|	    ECALL_MissingSubs(call);
  323|      0|	}
  324|      0|	vmax = vmaxget();
  325|      0|	for (R_xlen_t i = 0; i < xlength(names); i++)
  ------------------
  |  | 1049|      0|#define xlength(x)		Rf_xlength(x)
  ------------------
  |  Branch (325:23): [True: 0, False: 0]
  ------------------
  326|      0|	    if (STRING_ELT(names, i) != NA_STRING &&
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  |  Branch (326:10): [True: 0, False: 0]
  ------------------
  327|      0|		streql(translateChar(STRING_ELT(names, i)),
  ------------------
  |  | 1498|      0|#define streql(s, t)	(!strcmp((s), (t)))
  |  |  ------------------
  |  |  |  Branch (1498:22): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  328|      0|		       CHAR(PRINTNAME(s)))) {
  329|      0|		indx = i;
  330|      0|		vmaxset(vmax);
  331|      0|		break;
  332|      0|	    }
  333|      0|	break;
  334|      0|    default:
  ------------------
  |  Branch (334:5): [True: 0, False: 18.0k]
  ------------------
  335|      0|	ECALL3(call, _("invalid subscript type '%s'"), R_typeToChar(s));
  ------------------
  |  |   47|      0|#define ECALL3(call, yy, A) if(call == R_NilValue) error(yy, A); else errorcall(call, yy, A);
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               #define ECALL3(call, yy, A) if(call == R_NilValue) error(yy, A); else errorcall(call, yy, A);
  |  |  ------------------
  |  |  |  |  912|      0|#define errorcall		Rf_errorcall
  |  |  ------------------
  |  |  |  Branch (47:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  336|  18.0k|    }
  337|  18.0k|    return indx;
  338|  18.0k|}
int_arraySubscript:
 1006|  19.3k|{
 1007|  19.3k|    int nd, ns;
 1008|  19.3k|    R_xlen_t stretch = 0;
 1009|  19.3k|    SEXP dnames, tmp;
 1010|  19.3k|    ns = length(s);
  ------------------
  |  |  987|  19.3k|#define length(x)		Rf_length(x)
  ------------------
 1011|  19.3k|    nd = INTEGER_ELT(dims, dim);
 1012|       |
 1013|  19.3k|    switch (TYPEOF(s)) {
 1014|      0|    case NILSXP:
  ------------------
  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (1014:5): [True: 0, False: 19.3k]
  ------------------
 1015|      0|	return allocVector(INTSXP, 0);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              	return allocVector(INTSXP, 0);
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
 1016|     40|    case LGLSXP:
  ------------------
  |  |  121|     40|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (1016:5): [True: 40, False: 19.2k]
  ------------------
 1017|     40|	return logicalSubscript(s, ns, nd, &stretch, call, dim + 1);
 1018|  8.38k|    case INTSXP:
  ------------------
  |  |  123|  8.38k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1018:5): [True: 8.38k, False: 10.9k]
  ------------------
 1019|  8.38k|	return integerSubscript(s, ns, nd, &stretch, call, x, dim);
 1020|  2.35k|    case REALSXP:
  ------------------
  |  |  124|  2.35k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1020:5): [True: 2.35k, False: 16.9k]
  ------------------
 1021|       |	/* We don't yet allow subscripts > R_SHORT_LEN_MAX */
 1022|  2.35k|	PROTECT(tmp = coerceVector(s, INTSXP));
  ------------------
  |  |  357|  2.35k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1023|  2.35k|	tmp = integerSubscript(tmp, ns, nd, &stretch, call, x, dim);
 1024|  2.35k|	UNPROTECT(1);
  ------------------
  |  |  358|  2.35k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1025|  2.35k|	return tmp;
 1026|  1.17k|    case STRSXP:
  ------------------
  |  |  126|  1.17k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1026:5): [True: 1.17k, False: 18.1k]
  ------------------
 1027|  1.17k|	dnames = getAttrib(x, R_DimNamesSymbol);
  ------------------
  |  |  924|  1.17k|#define getAttrib		Rf_getAttrib
  ------------------
 1028|  1.17k|	if (dnames == R_NilValue) {
  ------------------
  |  Branch (1028:6): [True: 0, False: 1.17k]
  ------------------
 1029|      0|	    ECALL(call, _("no 'dimnames' attribute for array"));
  ------------------
  |  |   46|      0|#define ECALL(call, yy)     if(call == R_NilValue) error(yy);    else errorcall(call, yy);
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               #define ECALL(call, yy)     if(call == R_NilValue) error(yy);    else errorcall(call, yy);
  |  |  ------------------
  |  |  |  |  912|      0|#define errorcall		Rf_errorcall
  |  |  ------------------
  |  |  |  Branch (46:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1030|      0|	}
 1031|  1.17k|	dnames = VECTOR_ELT(dnames, dim);
 1032|  1.17k|	return stringSubscript(s, ns, nd, dnames, &stretch, call, x, dim);
 1033|  7.34k|    case SYMSXP:
  ------------------
  |  |  112|  7.34k|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (1033:5): [True: 7.34k, False: 11.9k]
  ------------------
 1034|  7.34k|	if (s == R_MissingArg)
  ------------------
  |  Branch (1034:6): [True: 7.34k, False: 0]
  ------------------
 1035|  7.34k|	    return nullSubscript(nd);
 1036|      0|    default:
  ------------------
  |  Branch (1036:5): [True: 0, False: 19.3k]
  ------------------
 1037|      0|	ECALL3(call, _("invalid subscript type '%s'"), R_typeToChar(s));
  ------------------
  |  |   47|      0|#define ECALL3(call, yy, A) if(call == R_NilValue) error(yy, A); else errorcall(call, yy, A);
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               #define ECALL3(call, yy, A) if(call == R_NilValue) error(yy, A); else errorcall(call, yy, A);
  |  |  ------------------
  |  |  |  |  912|      0|#define errorcall		Rf_errorcall
  |  |  ------------------
  |  |  |  Branch (47:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1038|  19.3k|    }
 1039|      0|    return R_NilValue;
 1040|  19.3k|}
Rf_makeSubscript:
 1063|  1.07M|{
 1064|  1.07M|    if (! (isVector(x) || isList(x) || isLanguage(x))) {
  ------------------
  |  |  974|  1.07M|#define isVector		Rf_isVector
  ------------------
                  if (! (isVector(x) || isList(x) || isLanguage(x))) {
  ------------------
  |  |  951|    233|#define isList			Rf_isList
  ------------------
                  if (! (isVector(x) || isList(x) || isLanguage(x))) {
  ------------------
  |  |  950|    233|#define isLanguage		Rf_isLanguage
  ------------------
  |  Branch (1064:12): [True: 1.07M, False: 233]
  |  Branch (1064:27): [True: 0, False: 233]
  |  Branch (1064:40): [True: 233, False: 0]
  ------------------
 1065|      0|	ECALL(call, _("subscripting on non-vector"));
  ------------------
  |  |   46|      0|#define ECALL(call, yy)     if(call == R_NilValue) error(yy);    else errorcall(call, yy);
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               #define ECALL(call, yy)     if(call == R_NilValue) error(yy);    else errorcall(call, yy);
  |  |  ------------------
  |  |  |  |  912|      0|#define errorcall		Rf_errorcall
  |  |  ------------------
  |  |  |  Branch (46:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1066|      0|    }
 1067|       |
 1068|  1.07M|    R_xlen_t nx = xlength(x);
  ------------------
  |  | 1049|  1.07M|#define xlength(x)		Rf_xlength(x)
  ------------------
 1069|       |
 1070|       |    /* special case for simple indices -- does not duplicate */
 1071|  1.07M|    if (IS_SCALAR(s, INTSXP)) {
  ------------------
  |  |  123|  1.07M|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1071:9): [True: 1.05M, False: 13.2k]
  ------------------
 1072|  1.05M|	int i = SCALAR_IVAL(s);
 1073|  1.05M|	if (0 < i && i <= nx) {
  ------------------
  |  Branch (1073:6): [True: 1.05M, False: 790]
  |  Branch (1073:15): [True: 1.05M, False: 0]
  ------------------
 1074|  1.05M|	    *stretch = 0;
 1075|  1.05M|	    return s;
 1076|  1.05M|	}
 1077|  1.05M|    }
 1078|  13.2k|    else if (IS_SCALAR(s, REALSXP)) {
  ------------------
  |  |  124|  13.2k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1078:14): [True: 720, False: 12.5k]
  ------------------
 1079|    720|	double di = SCALAR_DVAL(s);
 1080|    720|	if (1 <= di && di <= nx) {
  ------------------
  |  Branch (1080:6): [True: 720, False: 0]
  |  Branch (1080:17): [True: 720, False: 0]
  ------------------
 1081|    720|	    *stretch = 0;
 1082|       |	    /* We could only return a REALSXP if the value is too
 1083|       |	       large for an INTSXP, but, as the calling code can
 1084|       |	       handle REALSXP indices, returning the REALSXP
 1085|       |	       avoids an allocation. */
 1086|    720|	    return s;
 1087|    720|	}
 1088|    720|    }
 1089|       |
 1090|  13.3k|    R_xlen_t ns = xlength(s);
  ------------------
  |  | 1049|  13.3k|#define xlength(x)		Rf_xlength(x)
  ------------------
 1091|  13.3k|    SEXP ans = R_NilValue;
 1092|  13.3k|    switch (TYPEOF(s)) {
 1093|      0|    case NILSXP:
  ------------------
  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (1093:5): [True: 0, False: 13.3k]
  ------------------
 1094|      0|	*stretch = 0;
 1095|      0|	ans = allocVector(INTSXP, 0);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              	ans = allocVector(INTSXP, 0);
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
 1096|      0|	break;
 1097|  4.33k|    case LGLSXP:
  ------------------
  |  |  121|  4.33k|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (1097:5): [True: 4.33k, False: 8.97k]
  ------------------
 1098|  4.33k|	ans = logicalSubscript(s, ns, nx, stretch, call, 0);
 1099|  4.33k|	break;
 1100|  7.33k|    case INTSXP:
  ------------------
  |  |  123|  7.33k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1100:5): [True: 7.33k, False: 5.97k]
  ------------------
 1101|  7.33k|	ans = integerSubscript(s, ns, nx, stretch, call, x, -1);
 1102|  7.33k|	break;
 1103|    966|    case REALSXP:
  ------------------
  |  |  124|    966|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1103:5): [True: 966, False: 12.3k]
  ------------------
 1104|    966|	ans = realSubscript(s, ns, nx, stretch, call, x);
 1105|    966|	break;
 1106|    568|    case STRSXP:
  ------------------
  |  |  126|    568|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1106:5): [True: 568, False: 12.7k]
  ------------------
 1107|    568|    {
 1108|    568|	SEXP names = PROTECT(getAttrib(x, R_NamesSymbol));
  ------------------
  |  |  357|    568|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1109|    568|	ans = stringSubscript(s, ns, nx, names, stretch, call, x, -1);
 1110|    568|	UNPROTECT(1); /* names */
  ------------------
  |  |  358|    568|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1111|    568|	break;
 1112|      0|    }
 1113|    105|    case SYMSXP:
  ------------------
  |  |  112|    105|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (1113:5): [True: 105, False: 13.2k]
  ------------------
 1114|    105|	*stretch = 0;
 1115|    105|	if (s == R_MissingArg) {
  ------------------
  |  Branch (1115:6): [True: 105, False: 0]
  ------------------
 1116|    105|	    ans = nullSubscript(nx);
 1117|    105|	    break;
 1118|    105|	}
 1119|      0|    default:
  ------------------
  |  Branch (1119:5): [True: 0, False: 13.3k]
  ------------------
 1120|      0|	ECALL3(call, _("invalid subscript type '%s'"), R_typeToChar(s));
  ------------------
  |  |   47|      0|#define ECALL3(call, yy, A) if(call == R_NilValue) error(yy, A); else errorcall(call, yy, A);
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               #define ECALL3(call, yy, A) if(call == R_NilValue) error(yy, A); else errorcall(call, yy, A);
  |  |  ------------------
  |  |  |  |  912|      0|#define errorcall		Rf_errorcall
  |  |  ------------------
  |  |  |  Branch (47:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1121|  13.3k|    }
 1122|  13.3k|    return ans;
 1123|  13.3k|}
subscript.c:integerOneIndex:
   91|  13.0k|{
   92|  13.0k|    int indx = -1;
   93|       |
   94|  13.0k|    if (i > 0) /* a regular 1-based index from R */
  ------------------
  |  Branch (94:9): [True: 13.0k, False: 12]
  ------------------
   95|  13.0k|	indx = i - 1;
   96|     12|    else if (i == 0 || len < 2) {
  ------------------
  |  Branch (96:14): [True: 12, False: 0]
  |  Branch (96:24): [True: 0, False: 0]
  ------------------
   97|     12|	ECALL3(call, _("attempt to select less than one element in %s"), "integerOneIndex");
  ------------------
  |  |   47|     12|#define ECALL3(call, yy, A) if(call == R_NilValue) error(yy, A); else errorcall(call, yy, A);
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               #define ECALL3(call, yy, A) if(call == R_NilValue) error(yy, A); else errorcall(call, yy, A);
  |  |  ------------------
  |  |  |  |  912|     12|#define errorcall		Rf_errorcall
  |  |  ------------------
  |  |  |  Branch (47:32): [True: 0, False: 12]
  |  |  ------------------
  ------------------
   98|     12|    } else if (len == 2 && i > -3)
  ------------------
  |  Branch (98:16): [True: 0, False: 0]
  |  Branch (98:28): [True: 0, False: 0]
  ------------------
   99|      0|	indx = 2 + i;
  100|      0|    else {
  101|      0|	ECALL3(call, _("attempt to select more than one element in %s"), "integerOneIndex");
  ------------------
  |  |   47|      0|#define ECALL3(call, yy, A) if(call == R_NilValue) error(yy, A); else errorcall(call, yy, A);
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               #define ECALL3(call, yy, A) if(call == R_NilValue) error(yy, A); else errorcall(call, yy, A);
  |  |  ------------------
  |  |  |  |  912|      0|#define errorcall		Rf_errorcall
  |  |  ------------------
  |  |  |  Branch (47:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  102|      0|    }
  103|  13.0k|    return indx;
  104|  13.0k|}
subscript.c:logicalSubscript:
  589|  5.18k|{
  590|  5.18k|    bool canstretch = *stretch > 0;
  591|  5.18k|    if (!canstretch && ns > nx) {
  ------------------
  |  Branch (591:9): [True: 844, False: 4.33k]
  |  Branch (591:24): [True: 0, False: 844]
  ------------------
  592|      0|	ECALL(call, _("(subscript) logical subscript too long"));
  ------------------
  |  |   46|      0|#define ECALL(call, yy)     if(call == R_NilValue) error(yy);    else errorcall(call, yy);
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               #define ECALL(call, yy)     if(call == R_NilValue) error(yy);    else errorcall(call, yy);
  |  |  ------------------
  |  |  |  |  912|      0|#define errorcall		Rf_errorcall
  |  |  ------------------
  |  |  |  Branch (46:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  593|      0|    }
  594|  5.18k|    *stretch = (ns > nx) ? ns : 0;
  ------------------
  |  Branch (594:16): [True: 0, False: 5.18k]
  ------------------
  595|  5.18k|    if (ns == 0) return(allocVector(INTSXP, 0));
  ------------------
  |  |  875|     46|#define allocVector		Rf_allocVector
  ------------------
                  if (ns == 0) return(allocVector(INTSXP, 0));
  ------------------
  |  |  123|     46|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (595:9): [True: 46, False: 5.13k]
  ------------------
  596|  5.13k|    R_xlen_t count, i, i1, i2,
  597|  5.13k|	nmax = (ns > nx) ? ns : nx;
  ------------------
  |  Branch (597:9): [True: 0, False: 5.13k]
  ------------------
  598|       |
  599|  5.13k|    if (nmax % ns != 0) { // fractional recycling of the logical subscript
  ------------------
  |  Branch (599:9): [True: 0, False: 5.13k]
  ------------------
  600|      0|	if (dimno == 0)
  ------------------
  |  Branch (600:6): [True: 0, False: 0]
  ------------------
  601|      0|	    warningcall(call,
  ------------------
  |  | 2018|      0|# define warningcall		Rf_warningcall
  ------------------
  602|      0|			_("object length is not a multiple of subscript length"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  603|      0|	else
  604|      0|	    warningcall(call,
  ------------------
  |  | 2018|      0|# define warningcall		Rf_warningcall
  ------------------
  605|      0|			_("length of dimension %d is not a multiple of logical subscript length"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  606|      0|			dimno);
  607|      0|    }
  608|       |
  609|  5.13k|    SEXP indx; // result
  610|       |
  611|  5.13k|    const int *ps = LOGICAL_RO(s);    /* Calling LOCICAL_RO here may force a
  612|       |					 large allocation, but no larger than
  613|       |					 the one made by R_alloc below. This
  614|       |					 could use rewriting to better handle
  615|       |					 a sparse logical index. */
  616|  5.13k|#ifdef LONG_VECTOR_SUPPORT
  617|  5.13k|    if (nmax > R_SHORT_LEN_MAX) {
  ------------------
  |  |   77|  5.13k|# define R_SHORT_LEN_MAX 2147483647
  ------------------
  |  Branch (617:9): [True: 0, False: 5.13k]
  ------------------
  618|      0|	if (ns == nmax) { /* no recycling - use fast single-index code */
  ------------------
  |  Branch (618:6): [True: 0, False: 0]
  ------------------
  619|      0|	    const void *vmax = vmaxget();
  620|      0|	    double *buf = (double *) R_alloc(nmax, sizeof(double));
  621|      0|	    count = 0;
  622|      0|	    R_ITERATE_CHECK(NINTERRUPT, nmax, i,
  ------------------
  |  |   53|      0|#define R_ITERATE_CHECK(ncheck, n, i, loop_body) do {			\
  |  |   54|      0|	i = 0;								\
  |  |   55|      0|	LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
  |  |  ------------------
  |  |  |  |   32|      0|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|      0|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|      0|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|      0|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|      0|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|      0|		n : __intr_threshold__;					\
  |  |  |  |   38|      0|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|	LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   44|      0|#define R_ITERATE_CORE(n, i, loop_body) do {	\
  |  |  |  |  |  |  |  |   45|      0|	for (; i < n; ++i) { loop_body }	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (45:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (45:23): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  Branch (45:23): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   46|      0|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (46:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|      0|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|      0|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|      0|	}								\
  |  |  |  |   42|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   56|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (56:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  623|      0|		if (ps[i]) {
  624|      0|		    if (ps[i] == NA_LOGICAL)
  625|      0|			buf[count++] = NA_REAL;
  626|      0|		    else
  627|      0|			buf[count++] = (double)(i + 1);
  628|      0|		});
  629|      0|	    PROTECT(indx = allocVector(REALSXP, count));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  630|      0|	    if (count)
  ------------------
  |  Branch (630:10): [True: 0, False: 0]
  ------------------
  631|      0|		memcpy(REAL(indx), buf, sizeof(double) * count);
  632|      0|	    vmaxset(vmax);
  633|      0|	    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  634|      0|	    return indx;
  635|      0|	}
  636|      0|	count = 0;
  637|       |	/* we only need to scan s once even if we recycle,
  638|       |	   just remember the total count as well as
  639|       |	   the count for the last incomplete chunk (if any) */
  640|      0|	i1 = (ns < nmax) ? (nmax % ns) : 0;
  ------------------
  |  Branch (640:7): [True: 0, False: 0]
  ------------------
  641|      0|	if (i1 > 0) { /* last recycling chunk is incomplete -
  ------------------
  |  Branch (641:6): [True: 0, False: 0]
  ------------------
  642|       |			 we have to get the truncated count as well */
  643|      0|	    R_xlen_t rem = 0;
  644|      0|	    for (i = 0; i < ns; i++) {
  ------------------
  |  Branch (644:18): [True: 0, False: 0]
  ------------------
  645|      0|		if (i == i1) rem = count;
  ------------------
  |  Branch (645:7): [True: 0, False: 0]
  ------------------
  646|      0|		if (ps[i]) count++;
  ------------------
  |  Branch (646:7): [True: 0, False: 0]
  ------------------
  647|      0|	    }
  648|      0|	    count = count * (nmax / ns) + rem;
  649|      0|	} else { /* nested recycling, total is sufficient */
  650|      0|	    for (i = 0; i < ns; i++)
  ------------------
  |  Branch (650:18): [True: 0, False: 0]
  ------------------
  651|      0|		if (ps[i]) count++;
  ------------------
  |  Branch (651:7): [True: 0, False: 0]
  ------------------
  652|      0|	    count *= nmax / ns;
  653|      0|	}
  654|      0|	PROTECT(indx = allocVector(REALSXP, count));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  655|      0|	double *pindx = REAL(indx);
  656|      0|	count = 0;
  657|      0|	MOD_ITERATE_CHECK(NINTERRUPT, nmax, ns, nmax, i, i1, i2,
  ------------------
  |  |  100|      0|#define MOD_ITERATE_CHECK MOD_ITERATE2_CHECK
  |  |  ------------------
  |  |  |  |   92|      0|#define MOD_ITERATE2_CHECK(ncheck, n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |   93|      0|	i = i1 = i2 = 0;						\
  |  |  |  |   94|      0|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |  |  |   33|      0|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |  |  |   34|      0|	     TRUE;							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (34:7): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   35|      0|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |  |  |   36|      0|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (36:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|		n : __intr_threshold__;					\
  |  |  |  |  |  |   38|      0|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   94|      0|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |  |  |  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   84|      0|		}							\
  |  |  |  |  |  |  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   39|      0|	    if (__intr_end__ == n) break;				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (39:10): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      0|	    else R_CheckUserInterrupt();				\
  |  |  |  |  |  |   41|      0|	}								\
  |  |  |  |  |  |   42|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (42:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   95|      0|				  n1, n2, i, i1, i2, loop_body);	\
  |  |  |  |   96|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (96:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  658|      0|	    if (ps[i1]) {
  659|      0|		if (ps[i1] == NA_LOGICAL)
  660|      0|		    pindx[count++] = NA_REAL;
  661|      0|		else
  662|      0|		    pindx[count++] = (double)(i + 1);
  663|      0|	    });
  664|       |
  665|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  666|      0|	return indx;
  667|      0|    }
  668|  5.13k|#endif
  669|       |// else --- the same code for  non-long vectors --------------------------
  670|  5.13k|    if (ns == nmax) {  /* no recycling - use fast single-index code */
  ------------------
  |  Branch (670:9): [True: 5.13k, False: 0]
  ------------------
  671|  5.13k|	const void *vmax = vmaxget();
  672|  5.13k|	int *buf = (int *) R_alloc(nmax, sizeof(int));
  673|  5.13k|	count = 0;
  674|  5.13k|	R_ITERATE_CHECK(NINTERRUPT, nmax, i,
  ------------------
  |  |   53|  5.13k|#define R_ITERATE_CHECK(ncheck, n, i, loop_body) do {			\
  |  |   54|  5.13k|	i = 0;								\
  |  |   55|  5.13k|	LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
  |  |  ------------------
  |  |  |  |   32|  5.13k|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |   33|  5.13k|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |   34|  5.13k|	     TRUE;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:7): [True: 5.13k, Folded]
  |  |  |  |  ------------------
  |  |  |  |   35|  5.13k|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |   36|  5.13k|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (36:28): [True: 5.13k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   37|  5.13k|		n : __intr_threshold__;					\
  |  |  |  |   38|  5.13k|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  5.13k|	LOOP_WITH_INTERRUPT_CHECK(R_ITERATE_CORE, ncheck, n, i, loop_body); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   44|  5.13k|#define R_ITERATE_CORE(n, i, loop_body) do {	\
  |  |  |  |  |  |  |  |   45|  2.00M|	for (; i < n; ++i) { loop_body }	\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (45:9): [True: 718k, False: 5.13k]
  |  |  |  |  |  |  |  |  |  Branch (45:23): [True: 0, False: 427k]
  |  |  |  |  |  |  |  |  |  Branch (45:23): [True: 427k, False: 291k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   46|  5.13k|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (46:14): [Folded, False: 5.13k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   39|  5.13k|	    if (__intr_end__ == n) break;				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:10): [True: 5.13k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   40|  5.13k|	    else R_CheckUserInterrupt();				\
  |  |  |  |   41|  5.13k|	}								\
  |  |  |  |   42|  5.13k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (42:14): [Folded, False: 5.13k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   56|  5.13k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (56:14): [Folded, False: 5.13k]
  |  |  ------------------
  ------------------
  675|  5.13k|	    if (ps[i]) {
  676|  5.13k|		if (ps[i] == NA_LOGICAL)
  677|  5.13k|		    buf[count++] = NA_INTEGER;
  678|  5.13k|		else
  679|  5.13k|		    buf[count++] = (int)(i + 1);
  680|  5.13k|	    });
  681|  5.13k|	PROTECT(indx = allocVector(INTSXP, count));
  ------------------
  |  |  357|  5.13k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  682|  5.13k|	if (count)
  ------------------
  |  Branch (682:6): [True: 3.71k, False: 1.41k]
  ------------------
  683|  3.71k|	    memcpy(INTEGER(indx), buf, sizeof(int) * count);
  684|  5.13k|	vmaxset(vmax);
  685|  5.13k|	UNPROTECT(1);
  ------------------
  |  |  358|  5.13k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  686|  5.13k|	return indx;
  687|  5.13k|    }
  688|       |
  689|      0|    count = 0;
  690|       |    /* we only need to scan s once even if we recycle,
  691|       |       just remember the total count as well as
  692|       |       the count for the last incomplete chunk (if any) */
  693|      0|    i1 = (ns < nmax) ? (nmax % ns) : 0;
  ------------------
  |  Branch (693:10): [True: 0, False: 0]
  ------------------
  694|      0|    if (i1 > 0) { /* last recycling chunk is incomplete -
  ------------------
  |  Branch (694:9): [True: 0, False: 0]
  ------------------
  695|       |		     we have to get the truncated count as well */
  696|      0|	R_xlen_t rem = 0;
  697|      0|	for (i = 0; i < ns; i++) {
  ------------------
  |  Branch (697:14): [True: 0, False: 0]
  ------------------
  698|      0|	    if (i == i1) rem = count;
  ------------------
  |  Branch (698:10): [True: 0, False: 0]
  ------------------
  699|      0|	    if (ps[i]) count++;
  ------------------
  |  Branch (699:10): [True: 0, False: 0]
  ------------------
  700|      0|	}
  701|      0|	count = count * (nmax / ns) + rem;
  702|      0|    } else { /* nested recycling, total is sufficient */
  703|      0|	for (i = 0; i < ns; i++)
  ------------------
  |  Branch (703:14): [True: 0, False: 0]
  ------------------
  704|      0|	    if (ps[i]) count++;
  ------------------
  |  Branch (704:10): [True: 0, False: 0]
  ------------------
  705|      0|	count *= nmax / ns;
  706|      0|    }
  707|      0|    PROTECT(indx = allocVector(INTSXP, count));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  708|      0|    int *pindx = INTEGER(indx);
  709|      0|    count = 0;
  710|      0|    MOD_ITERATE_CHECK(NINTERRUPT, nmax, ns, nmax, i, i1, i2,
  ------------------
  |  |  100|      0|#define MOD_ITERATE_CHECK MOD_ITERATE2_CHECK
  |  |  ------------------
  |  |  |  |   92|      0|#define MOD_ITERATE2_CHECK(ncheck, n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |   93|      0|	i = i1 = i2 = 0;						\
  |  |  |  |   94|      0|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  |  |  ------------------
  |  |  |  |  |  |   32|      0|#define LOOP_WITH_INTERRUPT_CHECK(LOOP, ncheck, n, ...) do {		\
  |  |  |  |  |  |   33|      0|	for (size_t __intr_threshold__ = ncheck;			\
  |  |  |  |  |  |   34|      0|	     TRUE;							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (34:7): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   35|      0|	     __intr_threshold__ += ncheck) {				\
  |  |  |  |  |  |   36|      0|	    size_t __intr_end__ = n < __intr_threshold__ ?		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (36:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|		n : __intr_threshold__;					\
  |  |  |  |  |  |   38|      0|	    LOOP(__intr_end__, __VA_ARGS__);				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   94|      0|	LOOP_WITH_INTERRUPT_CHECK(MOD_ITERATE2_CORE, ncheck, n,		\
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   78|      0|#define MOD_ITERATE2_CORE(n, n1, n2, i, i1, i2, loop_body) do {	\
  |  |  |  |  |  |  |  |  |  |   79|      0|	for (; i < n;							\
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (79:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   80|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (80:12): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   81|      0|		 i2 = (++i2 == n2) ? 0 : i2,				\
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (81:9): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   82|      0|		 ++i) {							\
  |  |  |  |  |  |  |  |  |  |   83|      0|	    loop_body							\
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  |  Branch (83:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   84|      0|		}							\
  |  |  |  |  |  |  |  |  |  |   85|      0|    } while (0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (85:14): [Folded, False: 0]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   39|      0|	    if (__intr_end__ == n) break;				\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (39:10): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      0|	    else R_CheckUserInterrupt();				\
  |  |  |  |  |  |   41|      0|	}								\
  |  |  |  |  |  |   42|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (42:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   95|      0|				  n1, n2, i, i1, i2, loop_body);	\
  |  |  |  |   96|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (96:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  711|      0|	if (ps[i1]) {
  712|      0|	    if (ps[i1] == NA_LOGICAL)
  713|      0|		pindx[count++] = NA_INTEGER;
  714|      0|	    else
  715|      0|		pindx[count++] = (int)(i + 1);
  716|      0|	});
  717|       |
  718|      0|    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  719|      0|    return indx;
  720|  5.13k|}
subscript.c:integerSubscript:
  760|  18.0k|{
  761|  18.0k|    bool isna = false, neg = false,
  762|  18.0k|	canstretch = *stretch > 0;
  763|  18.0k|    *stretch = 0;
  764|  18.0k|    int max = 0;
  765|  18.0k|    const int *ps = INTEGER_RO(s);
  766|  1.39M|    for (R_xlen_t i = 0; i < ns; i++) {
  ------------------
  |  Branch (766:26): [True: 1.37M, False: 18.0k]
  ------------------
  767|  1.37M|	int ii = ps[i];
  768|  1.37M|	if (ii < 0) {
  ------------------
  |  Branch (768:6): [True: 818, False: 1.37M]
  ------------------
  769|    818|	    if (ii == NA_INTEGER)
  ------------------
  |  |   56|    818|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (769:10): [True: 0, False: 818]
  ------------------
  770|      0|		isna = true;
  771|    818|	    else
  772|    818|		neg = true;
  773|    818|	}
  774|  1.37M|	else if (ii > max)
  ------------------
  |  Branch (774:11): [True: 420k, False: 953k]
  ------------------
  775|   420k|	    max = ii;
  776|  1.37M|    }
  777|  18.0k|    if (max > nx) {
  ------------------
  |  Branch (777:9): [True: 0, False: 18.0k]
  ------------------
  778|      0|	if(canstretch) *stretch = max;
  ------------------
  |  Branch (778:5): [True: 0, False: 0]
  ------------------
  779|      0|	else {
  780|      0|	    ECALL_OutOfBounds(x, dim, max, call);
  781|      0|	}
  782|      0|    }
  783|  18.0k|    if (neg) {
  ------------------
  |  Branch (783:9): [True: 804, False: 17.2k]
  ------------------
  784|    804|	if (max == 0 && !isna) return negativeSubscript(s, ns, nx, call);
  ------------------
  |  Branch (784:6): [True: 804, False: 0]
  |  Branch (784:18): [True: 804, False: 0]
  ------------------
  785|      0|	else {
  786|      0|	    ECALL(call, _("only 0's may be mixed with negative subscripts"));
  ------------------
  |  |   46|      0|#define ECALL(call, yy)     if(call == R_NilValue) error(yy);    else errorcall(call, yy);
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               #define ECALL(call, yy)     if(call == R_NilValue) error(yy);    else errorcall(call, yy);
  |  |  ------------------
  |  |  |  |  912|      0|#define errorcall		Rf_errorcall
  |  |  ------------------
  |  |  |  Branch (46:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  787|      0|	}
  788|    804|    }
  789|  17.2k|    else return positiveSubscript(s, ns, nx);
  790|      0|    return R_NilValue;
  791|  18.0k|}
subscript.c:negativeSubscript:
  723|    804|{
  724|    804|    SEXP indx = PROTECT(allocVector(LGLSXP, nx));
  ------------------
  |  |  357|    804|#define PROTECT(s)	Rf_protect(s)
  ------------------
  725|    804|    int *pindx = LOGICAL(indx);
  726|    804|    R_xlen_t i;
  727|  3.30k|    for (i = 0; i < nx; i++)
  ------------------
  |  Branch (727:17): [True: 2.49k, False: 804]
  ------------------
  728|  2.49k|	pindx[i] = 1;
  729|    804|    const int *ps = INTEGER_RO(s);
  730|  1.63k|    for (i = 0; i < ns; i++) {
  ------------------
  |  Branch (730:17): [True: 832, False: 804]
  ------------------
  731|    832|	int ix = ps[i];
  732|    832|	if (ix != 0 && ix != NA_INTEGER && -ix <= nx)
  ------------------
  |  |   56|  1.65k|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (732:6): [True: 818, False: 14]
  |  Branch (732:17): [True: 818, False: 0]
  |  Branch (732:37): [True: 818, False: 0]
  ------------------
  733|    818|	    pindx[-ix - 1] = 0;
  734|    832|    }
  735|    804|    R_xlen_t stretch = 0;
  736|    804|    s = logicalSubscript(indx, nx, nx, &stretch, call, 0);
  737|    804|    UNPROTECT(1);
  ------------------
  |  |  358|    804|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  738|    804|    return s;
  739|    804|}
subscript.c:positiveSubscript:
  742|  17.2k|{
  743|  17.2k|    R_xlen_t i, zct = 0;
  744|  17.2k|    const int *ps = INTEGER_RO(s);
  745|  1.39M|    for (i = 0; i < ns; i++) if (ps[i] == 0) zct++;
  ------------------
  |  Branch (745:17): [True: 1.37M, False: 17.2k]
  |  Branch (745:34): [True: 58, False: 1.37M]
  ------------------
  746|  17.2k|    if (zct) {
  ------------------
  |  Branch (746:9): [True: 58, False: 17.2k]
  ------------------
  747|     58|	SEXP indx = allocVector(INTSXP, (ns - zct));
  ------------------
  |  |  875|     58|#define allocVector		Rf_allocVector
  ------------------
              	SEXP indx = allocVector(INTSXP, (ns - zct));
  ------------------
  |  |  123|     58|#define INTSXP	    13	  /* integer vectors */
  ------------------
  748|     58|	int *pindx = INTEGER(indx);
  749|    116|	for (i = 0, zct = 0; i < ns; i++)
  ------------------
  |  Branch (749:23): [True: 58, False: 58]
  ------------------
  750|     58|	    if (ps[i] != 0)
  ------------------
  |  Branch (750:10): [True: 0, False: 58]
  ------------------
  751|      0|		pindx[zct++] = ps[i];
  752|     58|	return indx;
  753|       |
  754|  17.2k|    } else return s;
  755|  17.2k|}
subscript.c:stringSubscript:
  905|  1.74k|{
  906|       |    /* product may overflow, so check factors as well. */
  907|  1.74k|    bool usehashing = ( ((ns > 1000 && nx) || (nx > 1000 && ns)) || (ns * nx > 15*nx + ns) );
  ------------------
  |  Branch (907:27): [True: 0, False: 1.74k]
  |  Branch (907:40): [True: 0, False: 0]
  |  Branch (907:48): [True: 0, False: 1.74k]
  |  Branch (907:61): [True: 0, False: 0]
  |  Branch (907:69): [True: 0, False: 1.74k]
  ------------------
  908|  1.74k|    int nprotect = 0;
  909|  1.74k|    PROTECT(s);
  ------------------
  |  |  357|  1.74k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  910|  1.74k|    PROTECT(names);
  ------------------
  |  |  357|  1.74k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  911|  1.74k|    nprotect += 2;
  912|       |
  913|  1.74k|    SEXP indx, indexnames = R_NilValue;
  914|  1.74k|    bool canstretch = *stretch > 0;
  915|  1.74k|    *stretch = 0;
  916|  1.74k|    R_xlen_t i, sub,
  917|  1.74k|	nnames = nx,
  918|  1.74k|	extra = nnames;
  919|       |
  920|       |    /* Process each of the subscripts. First we compare with the names
  921|       |     * on the vector and then (if there is no match) with each of the
  922|       |     * previous subscripts, since (if assigning) we may have already
  923|       |     * added an element of that name. (If we are not assigning, any
  924|       |     * nonmatch will have given an error.)
  925|       |     */
  926|       |
  927|  1.74k|    if(usehashing) {
  ------------------
  |  Branch (927:8): [True: 0, False: 1.74k]
  ------------------
  928|       |	/* must be internal, so names contains a character vector */
  929|       |	/* NB: this does not behave in the same way with respect to ""
  930|       |	   and NA names: they will match */
  931|      0|	PROTECT(indx = match(names, s, 0)); /**** guaranteed to be fresh???*/
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  932|      0|	nprotect++;
  933|       |	/* second pass to correct this */
  934|      0|	int *pindx = INTEGER(indx);
  935|      0|	for (i = 0; i < ns; i++)
  ------------------
  |  Branch (935:14): [True: 0, False: 0]
  ------------------
  936|      0|	    if(STRING_ELT(s, i) == NA_STRING || !CHAR(STRING_ELT(s, i))[0])
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
              	    if(STRING_ELT(s, i) == NA_STRING || !CHAR(STRING_ELT(s, i))[0])
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (936:9): [True: 0, False: 0]
  |  Branch (936:42): [True: 0, False: 0]
  ------------------
  937|      0|		pindx[i] = 0;
  938|  1.74k|    } else {
  939|  1.74k|	PROTECT(indx = allocVector(INTSXP, ns));
  ------------------
  |  |  357|  1.74k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  940|  1.74k|	nprotect++;
  941|  1.74k|	int *pindx = INTEGER(indx);
  942|  3.53k|	for (i = 0; i < ns; i++) {
  ------------------
  |  Branch (942:14): [True: 1.78k, False: 1.74k]
  ------------------
  943|  1.78k|	    sub = 0;
  944|  1.78k|	    if (names != R_NilValue) {
  ------------------
  |  Branch (944:10): [True: 1.78k, False: 0]
  ------------------
  945|  20.1k|		for (R_xlen_t j = 0; j < nnames; j++) {
  ------------------
  |  Branch (945:24): [True: 20.0k, False: 130]
  ------------------
  946|  20.0k|		    SEXP names_j = STRING_ELT(names, j);
  947|  20.0k|		    if (NonNullStringMatch(STRING_ELT(s, i), names_j)) {
  ------------------
  |  | 1007|  20.0k|#define NonNullStringMatch	Rf_NonNullStringMatch
  ------------------
  |  Branch (947:11): [True: 1.65k, False: 18.4k]
  ------------------
  948|  1.65k|			sub = j + 1;
  949|  1.65k|			break;
  950|  1.65k|		    }
  951|  20.0k|		}
  952|  1.78k|	    }
  953|  1.78k|	    pindx[i] = (int) sub;
  954|  1.78k|	}
  955|  1.74k|    }
  956|       |
  957|  1.74k|    int *pindx = INTEGER(indx);
  958|  1.74k|    SEXP sindx = NULL;
  959|  3.53k|    for (i = 0; i < ns; i++) {
  ------------------
  |  Branch (959:17): [True: 1.78k, False: 1.74k]
  ------------------
  960|  1.78k|	sub = pindx[i];
  961|  1.78k|	if (sub == 0) {
  ------------------
  |  Branch (961:6): [True: 130, False: 1.65k]
  ------------------
  962|    130|	    if (sindx == NULL) {
  ------------------
  |  Branch (962:10): [True: 130, False: 0]
  ------------------
  963|    130|		sindx = PROTECT(match(s, s, 0));
  ------------------
  |  |  357|    130|#define PROTECT(s)	Rf_protect(s)
  ------------------
  964|    130|		indexnames = PROTECT(allocVector(VECSXP, ns));
  ------------------
  |  |  357|    130|#define PROTECT(s)	Rf_protect(s)
  ------------------
  965|    130|		nprotect += 2;
  966|    260|		for (int z = 0; z < ns; z++)
  ------------------
  |  Branch (966:19): [True: 130, False: 130]
  ------------------
  967|    130|		    SET_VECTOR_ELT(indexnames, z, R_NilValue);
  968|    130|	    }
  969|    130|	    int j = INTEGER(sindx)[i] - 1;
  970|    130|	    if(STRING_ELT(s, i) != NA_STRING && CHAR(STRING_ELT(s, i))[0]) {
  ------------------
  |  |  433|    260|#define NA_STRING	R_NaString
  ------------------
              	    if(STRING_ELT(s, i) != NA_STRING && CHAR(STRING_ELT(s, i))[0]) {
  ------------------
  |  |  203|    130|#define CHAR(x) R_CHAR(x)
  ------------------
  |  Branch (970:9): [True: 130, False: 0]
  |  Branch (970:42): [True: 130, False: 0]
  ------------------
  971|    130|		sub = pindx[j];
  972|    130|		SET_VECTOR_ELT(indexnames, i, STRING_ELT(s, j));
  973|    130|	    }
  974|    130|	}
  975|  1.78k|	if (sub == 0) {
  ------------------
  |  Branch (975:6): [True: 130, False: 1.65k]
  ------------------
  976|    130|	    if (!canstretch) {
  ------------------
  |  Branch (976:10): [True: 0, False: 130]
  ------------------
  977|      0|		ECALL_OutOfBoundsCHAR(x, dim, STRING_ELT(s, i), call);
  978|      0|	    }
  979|    130|	    extra += 1;
  980|    130|	    sub = extra;
  981|    130|	    SET_VECTOR_ELT(indexnames, i, STRING_ELT(s, i));
  982|    130|	}
  983|  1.78k|	pindx[i] = (int) sub;
  984|  1.78k|    }
  985|       |    /* We return the new names as the names attribute of the returned
  986|       |       subscript vector. */
  987|  1.74k|    if (extra != nnames) {
  ------------------
  |  Branch (987:9): [True: 130, False: 1.61k]
  ------------------
  988|    130|	setAttrib(indx, R_UseNamesSymbol, indexnames);
  ------------------
  |  | 1027|    130|#define setAttrib		Rf_setAttrib
  ------------------
  989|    130|	if (canstretch)
  ------------------
  |  Branch (989:6): [True: 130, False: 0]
  ------------------
  990|    130|	    *stretch = extra;
  991|    130|    }
  992|  1.74k|    UNPROTECT(nprotect);
  ------------------
  |  |  358|  1.74k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  993|  1.74k|    return indx;
  994|  1.74k|}
subscript.c:nullSubscript:
  566|  7.45k|{
  567|  7.45k|    SEXP indx;
  568|  7.45k|#ifdef LONG_VECTOR_SUPPORT
  569|  7.45k|    if (n > R_SHORT_LEN_MAX) {
  ------------------
  |  |   77|  7.45k|# define R_SHORT_LEN_MAX 2147483647
  ------------------
  |  Branch (569:9): [True: 0, False: 7.45k]
  ------------------
  570|      0|	indx = allocVector(REALSXP, n);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              	indx = allocVector(REALSXP, n);
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  571|      0|	double *pindx = REAL(indx);
  572|      0|	for (R_xlen_t i = 0; i < n; i++)
  ------------------
  |  Branch (572:23): [True: 0, False: 0]
  ------------------
  573|      0|	    pindx[i] = (double)(i + 1);
  574|      0|    } else
  575|  7.45k|#endif
  576|  7.45k|    {
  577|  7.45k|	indx = allocVector(INTSXP, n);
  ------------------
  |  |  875|  7.45k|#define allocVector		Rf_allocVector
  ------------------
              	indx = allocVector(INTSXP, n);
  ------------------
  |  |  123|  7.45k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  578|  7.45k|	int *pindx = INTEGER(indx);
  579|   623k|	for (int i = 0; i < n; i++)
  ------------------
  |  Branch (579:18): [True: 616k, False: 7.45k]
  ------------------
  580|   616k|	    pindx[i] = i + 1;
  581|  7.45k|    }
  582|  7.45k|    return indx;
  583|  7.45k|}
subscript.c:realSubscript:
  796|    966|{
  797|    966|    bool canstretch = *stretch > 0;
  798|    966|    *stretch = 0;
  799|    966|    double min = 0, max = 0;
  800|    966|    const double *ps = REAL_RO(s);
  801|    966|    bool isna = false;
  802|  2.89k|    for (R_xlen_t i = 0; i < ns; i++) {
  ------------------
  |  Branch (802:26): [True: 1.93k, False: 966]
  ------------------
  803|  1.93k|	double ii = ps[i];
  804|  1.93k|	if (R_FINITE(ii)) {
  ------------------
  |  |   82|  1.93k|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (804:6): [True: 1.93k, False: 0]
  ------------------
  805|  1.93k|	    if (ii < min) min = ii;
  ------------------
  |  Branch (805:10): [True: 0, False: 1.93k]
  ------------------
  806|  1.93k|	    if (ii > max) max = ii;
  ------------------
  |  Branch (806:10): [True: 966, False: 966]
  ------------------
  807|  1.93k|	} else isna = true;
  808|  1.93k|    }
  809|    966|    if (max >= (double)nx+1.) {
  ------------------
  |  Branch (809:9): [True: 0, False: 966]
  ------------------
  810|      0|#ifdef LONG_VECTOR_SUPPORT
  811|       |	/* Avoid an out-of-range conversion to R_xlen_t. */
  812|      0|	if (max > R_XLEN_T_MAX) {
  ------------------
  |  |   76|      0|# define R_XLEN_T_MAX 4503599627370496
  ------------------
  |  Branch (812:6): [True: 0, False: 0]
  ------------------
  813|      0|	    ECALL(call, _("subscript too large"));
  ------------------
  |  |   46|      0|#define ECALL(call, yy)     if(call == R_NilValue) error(yy);    else errorcall(call, yy);
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               #define ECALL(call, yy)     if(call == R_NilValue) error(yy);    else errorcall(call, yy);
  |  |  ------------------
  |  |  |  |  912|      0|#define errorcall		Rf_errorcall
  |  |  ------------------
  |  |  |  Branch (46:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  814|      0|	}
  815|       |#else
  816|       |	if (max > INT_MAX) {
  817|       |	    ECALL(call, _("subscript too large for 32-bit R"));
  818|       |	}
  819|       |#endif
  820|      0|	if(canstretch) *stretch = (R_xlen_t) max;
  ------------------
  |  Branch (820:5): [True: 0, False: 0]
  ------------------
  821|      0|	else {
  822|      0|	    ECALL_OutOfBounds(x, -1, (R_xlen_t) max, call);
  823|      0|	}
  824|      0|    }
  825|    966|    if (min <= -1) {
  ------------------
  |  Branch (825:9): [True: 0, False: 966]
  ------------------
  826|      0|	if (max < 1 && !isna) {
  ------------------
  |  Branch (826:6): [True: 0, False: 0]
  |  Branch (826:17): [True: 0, False: 0]
  ------------------
  827|      0|	    R_xlen_t i, stretch = 0;
  828|      0|	    SEXP indx = PROTECT(allocVector(LGLSXP, nx));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  829|      0|	    int *pindx = LOGICAL(indx);
  830|      0|	    for (i = 0; i < nx; i++) pindx[i] = 1;
  ------------------
  |  Branch (830:18): [True: 0, False: 0]
  ------------------
  831|      0|	    for (i = 0; i < ns; i++) {
  ------------------
  |  Branch (831:18): [True: 0, False: 0]
  ------------------
  832|      0|		double dx = ps[i];
  833|      0|		if (R_FINITE(dx) && dx <= -1  && -dx < (double)nx+1.) {
  ------------------
  |  |   82|      0|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (833:7): [True: 0, False: 0]
  |  Branch (833:23): [True: 0, False: 0]
  |  Branch (833:36): [True: 0, False: 0]
  ------------------
  834|      0|		    R_xlen_t ix = (R_xlen_t)(-dx - 1);
  835|      0|		    pindx[ix] = 0;
  836|      0|		}
  837|      0|	    }
  838|      0|	    s = logicalSubscript(indx, nx, nx, &stretch, call, 0);
  839|      0|	    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  840|      0|	    return s;
  841|      0|	} else {
  842|      0|	    ECALL(call, _("only 0's may be mixed with negative subscripts"));
  ------------------
  |  |   46|      0|#define ECALL(call, yy)     if(call == R_NilValue) error(yy);    else errorcall(call, yy);
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               #define ECALL(call, yy)     if(call == R_NilValue) error(yy);    else errorcall(call, yy);
  |  |  ------------------
  |  |  |  |  912|      0|#define errorcall		Rf_errorcall
  |  |  ------------------
  |  |  |  Branch (46:32): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  843|      0|	}
  844|    966|    } else {
  845|       |	/* Only return a REALSXP index if we need to */
  846|    966|	SEXP indx;
  847|    966|	R_xlen_t i, cnt = 0;
  848|    966|	bool int_ok = true;
  849|       |	/* NB, indices will be truncated eventually,
  850|       |	   so need to do that to take '0' into account */
  851|  2.89k|	for (i = 0; i < ns; i++) {
  ------------------
  |  Branch (851:14): [True: 1.93k, False: 966]
  ------------------
  852|  1.93k|	    double ds = ps[i];
  853|       |#ifdef OLDCODE_LONG_VECTOR
  854|       |	    if (!R_FINITE(ds)) {
  855|       |		if (ds > INT_MAX) int_ok = false;
  856|       |		cnt++;
  857|       |	    } else if ((R_xlen_t) ds != 0) cnt++;
  858|       |#else
  859|  1.93k|	    if (R_FINITE(ds) && ds > INT_MAX) int_ok = false;
  ------------------
  |  |   82|  1.93k|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (859:10): [True: 1.93k, False: 0]
  |  Branch (859:26): [True: 0, False: 1.93k]
  ------------------
  860|  1.93k|	    if (!R_FINITE(ds) || (R_xlen_t) ds != 0) cnt++;
  ------------------
  |  |   82|  1.93k|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (860:10): [True: 0, False: 1.93k]
  |  Branch (860:27): [True: 1.93k, False: 0]
  ------------------
  861|  1.93k|#endif
  862|  1.93k|	}
  863|    966|	if (int_ok) {
  ------------------
  |  Branch (863:6): [True: 966, False: 0]
  ------------------
  864|    966|	    indx = allocVector(INTSXP, cnt);
  ------------------
  |  |  875|    966|#define allocVector		Rf_allocVector
  ------------------
              	    indx = allocVector(INTSXP, cnt);
  ------------------
  |  |  123|    966|#define INTSXP	    13	  /* integer vectors */
  ------------------
  865|    966|	    int *pindx = INTEGER(indx);
  866|  2.89k|	    for (i = 0, cnt = 0; i < ns; i++) {
  ------------------
  |  Branch (866:27): [True: 1.93k, False: 966]
  ------------------
  867|  1.93k|		double ds = ps[i];
  868|  1.93k|		int ia;
  869|  1.93k|		if (!R_FINITE(ds)) ia = NA_INTEGER;
  ------------------
  |  |   82|  1.93k|# define R_FINITE(x)    isfinite(x)
  ------------------
              		if (!R_FINITE(ds)) ia = NA_INTEGER;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (869:7): [True: 0, False: 1.93k]
  ------------------
  870|  1.93k|		else ia = (int) ds;
  871|  1.93k|		if (ia != 0) pindx[cnt++] = ia;
  ------------------
  |  Branch (871:7): [True: 1.93k, False: 0]
  ------------------
  872|  1.93k|	    }
  873|    966|	} else {
  874|      0|	    indx = allocVector(REALSXP, cnt);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              	    indx = allocVector(REALSXP, cnt);
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  875|      0|	    double *pindx = REAL(indx);
  876|      0|	    for (i = 0, cnt = 0; i < ns; i++) {
  ------------------
  |  Branch (876:27): [True: 0, False: 0]
  ------------------
  877|      0|		double ds = ps[i];
  878|      0|		if (!R_FINITE(ds) || (R_xlen_t) ds != 0) pindx[cnt++] = ds;
  ------------------
  |  |   82|      0|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (878:7): [True: 0, False: 0]
  |  Branch (878:24): [True: 0, False: 0]
  ------------------
  879|      0|	    }
  880|      0|	}
  881|    966|	return indx;
  882|    966|    }
  883|      0|    return R_NilValue;
  884|    966|}

Rf_ExtractSubset:
  116|  1.08M|{
  117|  1.08M|    if (x == R_NilValue)
  ------------------
  |  Branch (117:9): [True: 4.50k, False: 1.08M]
  ------------------
  118|  4.50k|	return x;
  119|       |
  120|  1.08M|    SEXP result;
  121|       |
  122|  1.08M|    if (ALTREP(x)) {
  ------------------
  |  Branch (122:9): [True: 50, False: 1.08M]
  ------------------
  123|     50|	result = ALTVEC_EXTRACT_SUBSET(x, indx, call);
  124|     50|	if (result != NULL)
  ------------------
  |  Branch (124:6): [True: 0, False: 50]
  ------------------
  125|      0|	    return result;
  126|     50|    }
  127|       |
  128|  1.08M|    R_xlen_t i, ii, n, nx;
  129|  1.08M|    n = XLENGTH(indx);
  130|  1.08M|    nx = xlength(x);
  ------------------
  |  | 1049|  1.08M|#define xlength(x)		Rf_xlength(x)
  ------------------
  131|  1.08M|    int mode = TYPEOF(x);
  132|       |
  133|       |    /* protect allocation in case _ELT operations need to allocate */
  134|  1.08M|    PROTECT(result = allocVector(mode, n));
  ------------------
  |  |  357|  1.08M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  135|  1.08M|    switch(mode) {
  136|     14|    case LGLSXP:
  ------------------
  |  |  121|     14|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (136:5): [True: 14, False: 1.08M]
  ------------------
  137|     14|	EXTRACT_SUBSET_LOOP(LOGICAL0(result)[i] = LOGICAL_ELT(x, ii),
  ------------------
  |  |   69|     14|#define EXTRACT_SUBSET_LOOP(STDCODE, NACODE) do { \
  |  |   70|     14|	if (TYPEOF(indx) == INTSXP) {		  \
  |  |  ------------------
  |  |  |  |  123|     14|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |  |  Branch (70:6): [True: 14, False: 0]
  |  |  ------------------
  |  |   71|     14|	    const int *pindx = INTEGER_RO(indx);  \
  |  |   72|     36|	    for (i = 0; i < n; i++) {		  \
  |  |  ------------------
  |  |  |  Branch (72:18): [True: 22, False: 14]
  |  |  ------------------
  |  |   73|     22|		ii = pindx[i];			  \
  |  |   74|     22|		if (0 < ii && ii <= nx) {	  \
  |  |  ------------------
  |  |  |  Branch (74:7): [True: 22, False: 0]
  |  |  |  Branch (74:17): [True: 22, False: 0]
  |  |  ------------------
  |  |   75|     22|		    ii--;			  \
  |  |   76|     22|		    STDCODE;			  \
  |  |   77|     22|		}				  \
  |  |   78|     22|		else /* out of bounds or NA */	  \
  |  |   79|     22|		    NACODE;			  \
  |  |   80|     22|	    }					  \
  |  |   81|     14|	}					  \
  |  |   82|     14|	else {					  \
  |  |   83|      0|	    const double *pindx = REAL_RO(indx);  \
  |  |   84|      0|	    for (i = 0; i < n; i++) {		  \
  |  |  ------------------
  |  |  |  Branch (84:18): [True: 0, False: 0]
  |  |  ------------------
  |  |   85|      0|		double di = pindx[i];		  \
  |  |   86|      0|		ii = (R_xlen_t) (di - 1);	  \
  |  |   87|      0|		if (R_FINITE(di) &&		  \
  |  |  ------------------
  |  |  |  |   82|      0|# define R_FINITE(x)    isfinite(x)
  |  |  ------------------
  |  |   88|      0|		    0 <= ii && ii < nx)		  \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, False: 0]
  |  |  |  Branch (88:18): [True: 0, False: 0]
  |  |  ------------------
  |  |   89|      0|		    STDCODE;			  \
  |  |   90|      0|		else				  \
  |  |   91|      0|		    NACODE;			  \
  |  |   92|      0|	    }					  \
  |  |   93|      0|	}					  \
  |  |   94|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (94:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
  |  Branch (137:2): [True: 0, False: 0]
  ------------------
  138|     14|			    LOGICAL0(result)[i] = NA_INTEGER);
  139|     14|	break;
  140|  1.84k|    case INTSXP:
  ------------------
  |  |  123|  1.84k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (140:5): [True: 1.84k, False: 1.08M]
  ------------------
  141|  1.84k|	EXTRACT_SUBSET_LOOP(INTEGER0(result)[i] = INTEGER_ELT(x, ii),
  ------------------
  |  |   69|  1.84k|#define EXTRACT_SUBSET_LOOP(STDCODE, NACODE) do { \
  |  |   70|  1.84k|	if (TYPEOF(indx) == INTSXP) {		  \
  |  |  ------------------
  |  |  |  |  123|  1.84k|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |  |  Branch (70:6): [True: 1.84k, False: 0]
  |  |  ------------------
  |  |   71|  1.84k|	    const int *pindx = INTEGER_RO(indx);  \
  |  |   72|   287k|	    for (i = 0; i < n; i++) {		  \
  |  |  ------------------
  |  |  |  Branch (72:18): [True: 285k, False: 1.84k]
  |  |  ------------------
  |  |   73|   285k|		ii = pindx[i];			  \
  |  |   74|   285k|		if (0 < ii && ii <= nx) {	  \
  |  |  ------------------
  |  |  |  Branch (74:7): [True: 285k, False: 0]
  |  |  |  Branch (74:17): [True: 285k, False: 0]
  |  |  ------------------
  |  |   75|   285k|		    ii--;			  \
  |  |   76|   285k|		    STDCODE;			  \
  |  |   77|   285k|		}				  \
  |  |   78|   285k|		else /* out of bounds or NA */	  \
  |  |   79|   285k|		    NACODE;			  \
  |  |   80|   285k|	    }					  \
  |  |   81|  1.84k|	}					  \
  |  |   82|  1.84k|	else {					  \
  |  |   83|      0|	    const double *pindx = REAL_RO(indx);  \
  |  |   84|      0|	    for (i = 0; i < n; i++) {		  \
  |  |  ------------------
  |  |  |  Branch (84:18): [True: 0, False: 0]
  |  |  ------------------
  |  |   85|      0|		double di = pindx[i];		  \
  |  |   86|      0|		ii = (R_xlen_t) (di - 1);	  \
  |  |   87|      0|		if (R_FINITE(di) &&		  \
  |  |  ------------------
  |  |  |  |   82|      0|# define R_FINITE(x)    isfinite(x)
  |  |  ------------------
  |  |   88|      0|		    0 <= ii && ii < nx)		  \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, False: 0]
  |  |  |  Branch (88:18): [True: 0, False: 0]
  |  |  ------------------
  |  |   89|      0|		    STDCODE;			  \
  |  |   90|      0|		else				  \
  |  |   91|      0|		    NACODE;			  \
  |  |   92|      0|	    }					  \
  |  |   93|      0|	}					  \
  |  |   94|  1.84k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (94:14): [Folded, False: 1.84k]
  |  |  ------------------
  ------------------
  |  Branch (141:2): [True: 0, False: 0]
  ------------------
  142|  1.84k|			    INTEGER0(result)[i] = NA_INTEGER);
  143|  1.84k|	break;
  144|  13.1k|    case REALSXP:
  ------------------
  |  |  124|  13.1k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (144:5): [True: 13.1k, False: 1.07M]
  ------------------
  145|  13.1k|	EXTRACT_SUBSET_LOOP(REAL0(result)[i] = REAL_ELT(x, ii),
  ------------------
  |  |   69|  13.1k|#define EXTRACT_SUBSET_LOOP(STDCODE, NACODE) do { \
  |  |   70|  13.1k|	if (TYPEOF(indx) == INTSXP) {		  \
  |  |  ------------------
  |  |  |  |  123|  13.1k|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |  |  Branch (70:6): [True: 12.6k, False: 483]
  |  |  ------------------
  |  |   71|  12.6k|	    const int *pindx = INTEGER_RO(indx);  \
  |  |   72|  1.29M|	    for (i = 0; i < n; i++) {		  \
  |  |  ------------------
  |  |  |  Branch (72:18): [True: 1.28M, False: 12.6k]
  |  |  ------------------
  |  |   73|  1.28M|		ii = pindx[i];			  \
  |  |   74|  1.28M|		if (0 < ii && ii <= nx) {	  \
  |  |  ------------------
  |  |  |  Branch (74:7): [True: 1.28M, False: 0]
  |  |  |  Branch (74:17): [True: 1.28M, False: 0]
  |  |  ------------------
  |  |   75|  1.28M|		    ii--;			  \
  |  |   76|  1.28M|		    STDCODE;			  \
  |  |   77|  1.28M|		}				  \
  |  |   78|  1.28M|		else /* out of bounds or NA */	  \
  |  |   79|  1.28M|		    NACODE;			  \
  |  |   80|  1.28M|	    }					  \
  |  |   81|  12.6k|	}					  \
  |  |   82|  13.1k|	else {					  \
  |  |   83|    483|	    const double *pindx = REAL_RO(indx);  \
  |  |   84|    966|	    for (i = 0; i < n; i++) {		  \
  |  |  ------------------
  |  |  |  Branch (84:18): [True: 483, False: 483]
  |  |  ------------------
  |  |   85|    483|		double di = pindx[i];		  \
  |  |   86|    483|		ii = (R_xlen_t) (di - 1);	  \
  |  |   87|    483|		if (R_FINITE(di) &&		  \
  |  |  ------------------
  |  |  |  |   82|    483|# define R_FINITE(x)    isfinite(x)
  |  |  ------------------
  |  |   88|    483|		    0 <= ii && ii < nx)		  \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 483, False: 0]
  |  |  |  Branch (88:18): [True: 483, False: 0]
  |  |  ------------------
  |  |   89|    483|		    STDCODE;			  \
  |  |   90|    483|		else				  \
  |  |   91|    483|		    NACODE;			  \
  |  |   92|    483|	    }					  \
  |  |   93|    483|	}					  \
  |  |   94|  13.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (94:14): [Folded, False: 13.1k]
  |  |  ------------------
  ------------------
  |  Branch (145:2): [True: 483, False: 0]
  ------------------
  146|  13.1k|			    REAL0(result)[i] = NA_REAL);
  147|  13.1k|	break;
  148|      0|    case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (148:5): [True: 0, False: 1.08M]
  ------------------
  149|      0|	{
  150|      0|	    Rcomplex NA_CPLX = { .r = NA_REAL, .i = NA_REAL };
  ------------------
  |  |   58|      0|#define NA_REAL		R_NaReal
  ------------------
              	    Rcomplex NA_CPLX = { .r = NA_REAL, .i = NA_REAL };
  ------------------
  |  |   58|      0|#define NA_REAL		R_NaReal
  ------------------
  151|      0|	    EXTRACT_SUBSET_LOOP(COMPLEX0(result)[i] = COMPLEX_ELT(x, ii),
  ------------------
  |  |   69|      0|#define EXTRACT_SUBSET_LOOP(STDCODE, NACODE) do { \
  |  |   70|      0|	if (TYPEOF(indx) == INTSXP) {		  \
  |  |  ------------------
  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |  |  Branch (70:6): [True: 0, False: 0]
  |  |  ------------------
  |  |   71|      0|	    const int *pindx = INTEGER_RO(indx);  \
  |  |   72|      0|	    for (i = 0; i < n; i++) {		  \
  |  |  ------------------
  |  |  |  Branch (72:18): [True: 0, False: 0]
  |  |  ------------------
  |  |   73|      0|		ii = pindx[i];			  \
  |  |   74|      0|		if (0 < ii && ii <= nx) {	  \
  |  |  ------------------
  |  |  |  Branch (74:7): [True: 0, False: 0]
  |  |  |  Branch (74:17): [True: 0, False: 0]
  |  |  ------------------
  |  |   75|      0|		    ii--;			  \
  |  |   76|      0|		    STDCODE;			  \
  |  |   77|      0|		}				  \
  |  |   78|      0|		else /* out of bounds or NA */	  \
  |  |   79|      0|		    NACODE;			  \
  |  |   80|      0|	    }					  \
  |  |   81|      0|	}					  \
  |  |   82|      0|	else {					  \
  |  |   83|      0|	    const double *pindx = REAL_RO(indx);  \
  |  |   84|      0|	    for (i = 0; i < n; i++) {		  \
  |  |  ------------------
  |  |  |  Branch (84:18): [True: 0, False: 0]
  |  |  ------------------
  |  |   85|      0|		double di = pindx[i];		  \
  |  |   86|      0|		ii = (R_xlen_t) (di - 1);	  \
  |  |   87|      0|		if (R_FINITE(di) &&		  \
  |  |  ------------------
  |  |  |  |   82|      0|# define R_FINITE(x)    isfinite(x)
  |  |  ------------------
  |  |   88|      0|		    0 <= ii && ii < nx)		  \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, False: 0]
  |  |  |  Branch (88:18): [True: 0, False: 0]
  |  |  ------------------
  |  |   89|      0|		    STDCODE;			  \
  |  |   90|      0|		else				  \
  |  |   91|      0|		    NACODE;			  \
  |  |   92|      0|	    }					  \
  |  |   93|      0|	}					  \
  |  |   94|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (94:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (151:6): [True: 0, False: 0]
  ------------------
  152|      0|				COMPLEX0(result)[i] = NA_CPLX);
  153|      0|	}
  154|      0|	break;
  155|  1.06M|    case STRSXP:
  ------------------
  |  |  126|  1.06M|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (155:5): [True: 1.06M, False: 15.7k]
  ------------------
  156|  1.06M|	EXTRACT_SUBSET_LOOP(SET_STRING_ELT(result, i, STRING_ELT(x, ii)),
  ------------------
  |  |   69|  1.06M|#define EXTRACT_SUBSET_LOOP(STDCODE, NACODE) do { \
  |  |   70|  1.06M|	if (TYPEOF(indx) == INTSXP) {		  \
  |  |  ------------------
  |  |  |  |  123|  1.06M|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |  |  Branch (70:6): [True: 1.06M, False: 487]
  |  |  ------------------
  |  |   71|  1.06M|	    const int *pindx = INTEGER_RO(indx);  \
  |  |   72|  2.15M|	    for (i = 0; i < n; i++) {		  \
  |  |  ------------------
  |  |  |  Branch (72:18): [True: 1.08M, False: 1.06M]
  |  |  ------------------
  |  |   73|  1.08M|		ii = pindx[i];			  \
  |  |   74|  1.08M|		if (0 < ii && ii <= nx) {	  \
  |  |  ------------------
  |  |  |  Branch (74:7): [True: 1.08M, False: 0]
  |  |  |  Branch (74:17): [True: 1.08M, False: 260]
  |  |  ------------------
  |  |   75|  1.08M|		    ii--;			  \
  |  |   76|  1.08M|		    STDCODE;			  \
  |  |   77|  1.08M|		}				  \
  |  |   78|  1.08M|		else /* out of bounds or NA */	  \
  |  |   79|  1.08M|		    NACODE;			  \
  |  |   80|  1.08M|	    }					  \
  |  |   81|  1.06M|	}					  \
  |  |   82|  1.06M|	else {					  \
  |  |   83|    487|	    const double *pindx = REAL_RO(indx);  \
  |  |   84|    974|	    for (i = 0; i < n; i++) {		  \
  |  |  ------------------
  |  |  |  Branch (84:18): [True: 487, False: 487]
  |  |  ------------------
  |  |   85|    487|		double di = pindx[i];		  \
  |  |   86|    487|		ii = (R_xlen_t) (di - 1);	  \
  |  |   87|    487|		if (R_FINITE(di) &&		  \
  |  |  ------------------
  |  |  |  |   82|    487|# define R_FINITE(x)    isfinite(x)
  |  |  ------------------
  |  |   88|    487|		    0 <= ii && ii < nx)		  \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 487, False: 0]
  |  |  |  Branch (88:18): [True: 487, False: 0]
  |  |  ------------------
  |  |   89|    487|		    STDCODE;			  \
  |  |   90|    487|		else				  \
  |  |   91|    487|		    NACODE;			  \
  |  |   92|    487|	    }					  \
  |  |   93|    487|	}					  \
  |  |   94|  1.06M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (94:14): [Folded, False: 1.06M]
  |  |  ------------------
  ------------------
  |  Branch (156:2): [True: 487, False: 0]
  ------------------
  157|  1.06M|			    SET_STRING_ELT(result, i, NA_STRING));
  158|  1.06M|	break;
  159|    789|    case VECSXP:
  ------------------
  |  |  131|    789|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (159:5): [True: 789, False: 1.08M]
  ------------------
  160|    801|    case EXPRSXP:
  ------------------
  |  |  132|    801|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (160:5): [True: 12, False: 1.08M]
  ------------------
  161|    801|	EXTRACT_SUBSET_LOOP(SET_VECTOR_ELT(result, i,
  ------------------
  |  |   69|    801|#define EXTRACT_SUBSET_LOOP(STDCODE, NACODE) do { \
  |  |   70|    801|	if (TYPEOF(indx) == INTSXP) {		  \
  |  |  ------------------
  |  |  |  |  123|    801|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |  |  Branch (70:6): [True: 801, False: 0]
  |  |  ------------------
  |  |   71|    801|	    const int *pindx = INTEGER_RO(indx);  \
  |  |   72|  7.69k|	    for (i = 0; i < n; i++) {		  \
  |  |  ------------------
  |  |  |  Branch (72:18): [True: 6.89k, False: 801]
  |  |  ------------------
  |  |   73|  6.89k|		ii = pindx[i];			  \
  |  |   74|  6.89k|		if (0 < ii && ii <= nx) {	  \
  |  |  ------------------
  |  |  |  Branch (74:7): [True: 6.89k, False: 0]
  |  |  |  Branch (74:17): [True: 6.89k, False: 0]
  |  |  ------------------
  |  |   75|  6.89k|		    ii--;			  \
  |  |   76|  6.89k|		    STDCODE;			  \
  |  |   77|  6.89k|		}				  \
  |  |   78|  6.89k|		else /* out of bounds or NA */	  \
  |  |   79|  6.89k|		    NACODE;			  \
  |  |   80|  6.89k|	    }					  \
  |  |   81|    801|	}					  \
  |  |   82|    801|	else {					  \
  |  |   83|      0|	    const double *pindx = REAL_RO(indx);  \
  |  |   84|      0|	    for (i = 0; i < n; i++) {		  \
  |  |  ------------------
  |  |  |  Branch (84:18): [True: 0, False: 0]
  |  |  ------------------
  |  |   85|      0|		double di = pindx[i];		  \
  |  |   86|      0|		ii = (R_xlen_t) (di - 1);	  \
  |  |   87|      0|		if (R_FINITE(di) &&		  \
  |  |  ------------------
  |  |  |  |   82|      0|# define R_FINITE(x)    isfinite(x)
  |  |  ------------------
  |  |   88|      0|		    0 <= ii && ii < nx)		  \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, False: 0]
  |  |  |  Branch (88:18): [True: 0, False: 0]
  |  |  ------------------
  |  |   89|      0|		    STDCODE;			  \
  |  |   90|      0|		else				  \
  |  |   91|      0|		    NACODE;			  \
  |  |   92|      0|	    }					  \
  |  |   93|      0|	}					  \
  |  |   94|    801|    } while (0)
  |  |  ------------------
  |  |  |  Branch (94:14): [Folded, False: 801]
  |  |  ------------------
  ------------------
  |  Branch (161:2): [True: 0, False: 0]
  ------------------
  162|    801|					   VECTOR_ELT_FIX_NAMED(x, ii)),
  163|    801|			    SET_VECTOR_ELT(result, i, R_NilValue));
  164|    801|	break;
  165|      0|    case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (165:5): [True: 0, False: 1.08M]
  ------------------
  166|      0|	EXTRACT_SUBSET_LOOP(RAW0(result)[i] = RAW_ELT(x, ii),
  ------------------
  |  |   69|      0|#define EXTRACT_SUBSET_LOOP(STDCODE, NACODE) do { \
  |  |   70|      0|	if (TYPEOF(indx) == INTSXP) {		  \
  |  |  ------------------
  |  |  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |  |  Branch (70:6): [True: 0, False: 0]
  |  |  ------------------
  |  |   71|      0|	    const int *pindx = INTEGER_RO(indx);  \
  |  |   72|      0|	    for (i = 0; i < n; i++) {		  \
  |  |  ------------------
  |  |  |  Branch (72:18): [True: 0, False: 0]
  |  |  ------------------
  |  |   73|      0|		ii = pindx[i];			  \
  |  |   74|      0|		if (0 < ii && ii <= nx) {	  \
  |  |  ------------------
  |  |  |  Branch (74:7): [True: 0, False: 0]
  |  |  |  Branch (74:17): [True: 0, False: 0]
  |  |  ------------------
  |  |   75|      0|		    ii--;			  \
  |  |   76|      0|		    STDCODE;			  \
  |  |   77|      0|		}				  \
  |  |   78|      0|		else /* out of bounds or NA */	  \
  |  |   79|      0|		    NACODE;			  \
  |  |   80|      0|	    }					  \
  |  |   81|      0|	}					  \
  |  |   82|      0|	else {					  \
  |  |   83|      0|	    const double *pindx = REAL_RO(indx);  \
  |  |   84|      0|	    for (i = 0; i < n; i++) {		  \
  |  |  ------------------
  |  |  |  Branch (84:18): [True: 0, False: 0]
  |  |  ------------------
  |  |   85|      0|		double di = pindx[i];		  \
  |  |   86|      0|		ii = (R_xlen_t) (di - 1);	  \
  |  |   87|      0|		if (R_FINITE(di) &&		  \
  |  |  ------------------
  |  |  |  |   82|      0|# define R_FINITE(x)    isfinite(x)
  |  |  ------------------
  |  |   88|      0|		    0 <= ii && ii < nx)		  \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, False: 0]
  |  |  |  Branch (88:18): [True: 0, False: 0]
  |  |  ------------------
  |  |   89|      0|		    STDCODE;			  \
  |  |   90|      0|		else				  \
  |  |   91|      0|		    NACODE;			  \
  |  |   92|      0|	    }					  \
  |  |   93|      0|	}					  \
  |  |   94|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (94:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (166:2): [True: 0, False: 0]
  ------------------
  167|      0|			    RAW0(result)[i] = (Rbyte) 0);
  168|      0|	break;
  169|      0|    case LISTSXP:
  ------------------
  |  |  113|      0|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (169:5): [True: 0, False: 1.08M]
  ------------------
  170|       |	/* cannot happen: pairlists are coerced to lists */
  171|      0|    case LANGSXP:
  ------------------
  |  |  117|      0|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (171:5): [True: 0, False: 1.08M]
  ------------------
  172|       |	/* cannot happen: LANGSXPs are coerced to lists */
  173|      0|    default:
  ------------------
  |  Branch (173:5): [True: 0, False: 1.08M]
  ------------------
  174|      0|	errorcallNotSubsettable(x, call);
  175|  1.08M|    }
  176|  1.08M|    UNPROTECT(1); /* result */
  ------------------
  |  |  358|  1.08M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  177|  1.08M|    return result;
  178|  1.08M|}
do_subset:
  681|  1.77k|{
  682|  1.77k|    SEXP ans;
  683|       |
  684|       |    /* If the first argument is an object and there is an */
  685|       |    /* appropriate method, we dispatch to that method, */
  686|       |    /* otherwise we evaluate the arguments and fall through */
  687|       |    /* to the generic code below.  Note that evaluation */
  688|       |    /* retains any missing argument indicators. */
  689|       |
  690|       |    /* DispatchOrEval internal generic: [ */
  691|  1.77k|    if(R_DispatchOrEvalSP(call, op, "[", args, rho, &ans)) {
  ------------------
  |  Branch (691:8): [True: 0, False: 1.77k]
  ------------------
  692|       |/*     if(DispatchAnyOrEval(call, op, "[", args, rho, &ans, 0, 0)) */
  693|      0|	if (NAMED(ans))
  ------------------
  |  Branch (693:6): [True: 0, False: 0]
  ------------------
  694|      0|	    ENSURE_NAMEDMAX(ans);
  695|      0|	return(ans);
  696|      0|    }
  697|       |
  698|       |    /* Method dispatch has failed, we now */
  699|       |    /* run the generic internal code. */
  700|  1.77k|    return do_subset_dflt(call, op, ans, rho);
  701|  1.77k|}
do_subset_dflt:
  726|  1.08M|{
  727|       |    /* By default we drop extents of length 1 */
  728|       |
  729|       |    /* Handle cases of extracting a single element from a simple vector
  730|       |       or matrix directly to improve speed for these simple cases. */
  731|  1.08M|    SEXP x = CAR(args);
  732|  1.08M|    SEXP cdrArgs = CDR(args);
  733|  1.08M|    SEXP cddrArgs = CDR(cdrArgs);
  734|  1.08M|    if (cdrArgs != R_NilValue && cddrArgs == R_NilValue &&
  ------------------
  |  Branch (734:9): [True: 1.08M, False: 0]
  |  Branch (734:34): [True: 1.07M, False: 9.64k]
  ------------------
  735|  1.07M|	TAG(cdrArgs) == R_NilValue) {
  ------------------
  |  Branch (735:2): [True: 1.07M, False: 0]
  ------------------
  736|       |	/* one index, not named */
  737|  1.07M|	if (ATTRIB(x) == R_NilValue) {
  ------------------
  |  Branch (737:6): [True: 1.06M, False: 9.04k]
  ------------------
  738|  1.06M|	    SEXP s = CAR(cdrArgs);
  739|  1.06M|	    R_xlen_t i = scalarIndex(s);
  740|  1.06M|	    switch (TYPEOF(x)) {
  741|  6.16k|	    case REALSXP:
  ------------------
  |  |  124|  6.16k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (741:6): [True: 6.16k, False: 1.05M]
  ------------------
  742|  6.16k|		if (i >= 1 && i <= XLENGTH(x))
  ------------------
  |  Branch (742:7): [True: 532, False: 5.62k]
  |  Branch (742:17): [True: 532, False: 0]
  ------------------
  743|    532|		    return ScalarReal( REAL_ELT(x, i-1) );
  ------------------
  |  | 1024|    532|#define ScalarReal		Rf_ScalarReal
  ------------------
  744|  5.62k|		break;
  745|  5.62k|	    case INTSXP:
  ------------------
  |  |  123|  3.33k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (745:6): [True: 3.33k, False: 1.05M]
  ------------------
  746|  3.33k|		if (i >= 1 && i <= XLENGTH(x))
  ------------------
  |  Branch (746:7): [True: 1.65k, False: 1.68k]
  |  Branch (746:17): [True: 1.65k, False: 0]
  ------------------
  747|  1.65k|		    return ScalarInteger( INTEGER_ELT(x, i-1) );
  ------------------
  |  | 1022|  1.65k|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  748|  1.68k|		break;
  749|  1.68k|	    case LGLSXP:
  ------------------
  |  |  121|      8|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (749:6): [True: 8, False: 1.06M]
  ------------------
  750|      8|		if (i >= 1 && i <= XLENGTH(x))
  ------------------
  |  Branch (750:7): [True: 0, False: 8]
  |  Branch (750:17): [True: 0, False: 0]
  ------------------
  751|      0|		    return ScalarLogical( LOGICAL_ELT(x, i-1) );
  ------------------
  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  752|      8|		break;
  753|       |//	    do the more rare cases as well, since we've already prepared everything:
  754|      8|	    case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (754:6): [True: 0, False: 1.06M]
  ------------------
  755|      0|		if (i >= 1 && i <= XLENGTH(x))
  ------------------
  |  Branch (755:7): [True: 0, False: 0]
  |  Branch (755:17): [True: 0, False: 0]
  ------------------
  756|      0|		    return ScalarComplex( COMPLEX_ELT(x, i-1) );
  ------------------
  |  | 1021|      0|#define ScalarComplex		Rf_ScalarComplex
  ------------------
  757|      0|		break;
  758|      0|	    case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (758:6): [True: 0, False: 1.06M]
  ------------------
  759|      0|		if (i >= 1 && i <= XLENGTH(x))
  ------------------
  |  Branch (759:7): [True: 0, False: 0]
  |  Branch (759:17): [True: 0, False: 0]
  ------------------
  760|      0|		    return ScalarRaw( RAW_ELT(x, i-1) );
  ------------------
  |  | 1026|      0|#define ScalarRaw		Rf_ScalarRaw
  ------------------
  761|      0|		break;
  762|  1.05M|	    default: break;
  ------------------
  |  Branch (762:6): [True: 1.05M, False: 9.50k]
  ------------------
  763|  1.06M|	    }
  764|  1.06M|	}
  765|  1.07M|    }
  766|  9.64k|    else if (cddrArgs != R_NilValue && CDR(cddrArgs) == R_NilValue &&
  ------------------
  |  Branch (766:14): [True: 9.64k, False: 0]
  |  Branch (766:40): [True: 9.48k, False: 158]
  ------------------
  767|  9.48k|	     TAG(cdrArgs) == R_NilValue && TAG(cddrArgs) == R_NilValue) {
  ------------------
  |  Branch (767:7): [True: 9.48k, False: 0]
  |  Branch (767:37): [True: 9.48k, False: 0]
  ------------------
  768|       |	/* two indices, not named */
  769|  9.48k|	SEXP attr = ATTRIB(x);
  770|  9.48k|	if (TAG(attr) == R_DimSymbol && CDR(attr) == R_NilValue) {
  ------------------
  |  Branch (770:6): [True: 9.48k, False: 0]
  |  Branch (770:34): [True: 3.84k, False: 5.64k]
  ------------------
  771|       |	    /* only attribute of x is 'dim' */
  772|  3.84k|	    SEXP dim = CAR(attr);
  773|  3.84k|	    if (TYPEOF(dim) == INTSXP && LENGTH(dim) == 2) {
  ------------------
  |  |  123|  7.68k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (773:10): [True: 3.84k, False: 0]
  |  Branch (773:35): [True: 3.84k, False: 0]
  ------------------
  774|       |		/* x is a matrix */
  775|  3.84k|		SEXP si = CAR(cdrArgs);
  776|  3.84k|		SEXP sj = CAR(cddrArgs);
  777|  3.84k|		R_xlen_t i = scalarIndex(si);
  778|  3.84k|		R_xlen_t j = scalarIndex(sj);
  779|  3.84k|		int nrow = INTEGER_ELT(dim, 0);
  780|  3.84k|		int ncol = INTEGER_ELT(dim, 1);
  781|  3.84k|		if (i > 0 && j > 0 && i <= nrow && j <= ncol) {
  ------------------
  |  Branch (781:7): [True: 0, False: 3.84k]
  |  Branch (781:16): [True: 0, False: 0]
  |  Branch (781:25): [True: 0, False: 0]
  |  Branch (781:38): [True: 0, False: 0]
  ------------------
  782|       |		    /* indices are legal scalars */
  783|      0|		    R_xlen_t k = i - 1 + nrow * (j - 1);
  784|      0|		    switch (TYPEOF(x)) {
  785|      0|		    case REALSXP:
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (785:7): [True: 0, False: 0]
  ------------------
  786|      0|			if (k < XLENGTH(x))
  ------------------
  |  Branch (786:8): [True: 0, False: 0]
  ------------------
  787|      0|			    return ScalarReal( REAL_ELT(x, k) );
  ------------------
  |  | 1024|      0|#define ScalarReal		Rf_ScalarReal
  ------------------
  788|      0|			break;
  789|      0|		    case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (789:7): [True: 0, False: 0]
  ------------------
  790|      0|			if (k < XLENGTH(x))
  ------------------
  |  Branch (790:8): [True: 0, False: 0]
  ------------------
  791|      0|			    return ScalarInteger( INTEGER_ELT(x, k) );
  ------------------
  |  | 1022|      0|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  792|      0|			break;
  793|      0|		    case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (793:7): [True: 0, False: 0]
  ------------------
  794|      0|			if (k < XLENGTH(x))
  ------------------
  |  Branch (794:8): [True: 0, False: 0]
  ------------------
  795|      0|			    return ScalarLogical( LOGICAL_ELT(x, k) );
  ------------------
  |  | 1023|      0|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  796|      0|			break;
  797|      0|		    case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (797:7): [True: 0, False: 0]
  ------------------
  798|      0|			if (k < XLENGTH(x))
  ------------------
  |  Branch (798:8): [True: 0, False: 0]
  ------------------
  799|      0|			    return ScalarComplex( COMPLEX_ELT(x, k) );
  ------------------
  |  | 1021|      0|#define ScalarComplex		Rf_ScalarComplex
  ------------------
  800|      0|			break;
  801|      0|		    case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (801:7): [True: 0, False: 0]
  ------------------
  802|      0|			if (k < XLENGTH(x))
  ------------------
  |  Branch (802:8): [True: 0, False: 0]
  ------------------
  803|      0|			    return ScalarRaw( RAW_ELT(x, k) );
  ------------------
  |  | 1026|      0|#define ScalarRaw		Rf_ScalarRaw
  ------------------
  804|      0|			break;
  805|      0|		    default: break;
  ------------------
  |  Branch (805:7): [True: 0, False: 0]
  ------------------
  806|      0|		    }
  807|      0|		}
  808|  3.84k|	    }
  809|  3.84k|	}
  810|  9.48k|    }
  811|       |
  812|  1.07M|    PROTECT(args);
  ------------------
  |  |  357|  1.07M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  813|       |
  814|  1.07M|    int drop = 1;
  815|  1.07M|    ExtractDropArg(args, &drop);
  816|       |
  817|       |    /* This was intended for compatibility with S, */
  818|       |    /* but in fact S does not do this. */
  819|       |    /* FIXME: replace the test by isNull ... ? */
  820|       |
  821|  1.07M|    if (x == R_NilValue) {
  ------------------
  |  Branch (821:9): [True: 170, False: 1.07M]
  ------------------
  822|    170|	UNPROTECT(1);
  ------------------
  |  |  358|    170|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  823|    170|	return x;
  824|    170|    }
  825|       |
  826|  1.07M|    SEXP subs = CDR(args);
  827|  1.07M|    int nsubs = length(subs); /* Will be short */
  ------------------
  |  |  987|  1.07M|#define length(x)		Rf_length(x)
  ------------------
  828|  1.07M|    int type = TYPEOF(x);
  829|       |
  830|       |    /* Here coerce pair-based objects into generic vectors. */
  831|       |    /* All subsetting takes place on the generic vector form. */
  832|       |
  833|  1.07M|    SEXP ax = x;
  834|  1.07M|    if (isVector(x))
  ------------------
  |  |  974|  1.07M|#define isVector		Rf_isVector
  ------------------
  |  Branch (834:9): [True: 1.07M, False: 0]
  ------------------
  835|  1.07M|	PROTECT(ax);
  ------------------
  |  |  357|  1.07M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  836|      0|    else if (type == LISTSXP || type == LANGSXP) { // *not* <DOTSXP>[]  :
  ------------------
  |  |  113|      0|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
                  else if (type == LISTSXP || type == LANGSXP) { // *not* <DOTSXP>[]  :
  ------------------
  |  |  117|      0|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (836:14): [True: 0, False: 0]
  |  Branch (836:33): [True: 0, False: 0]
  ------------------
  837|      0|	SEXP dim = getAttrib(x, R_DimSymbol);
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
  838|      0|	int ndim = length(dim);
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  839|      0|	if (ndim > 1) {
  ------------------
  |  Branch (839:6): [True: 0, False: 0]
  ------------------
  840|      0|	    PROTECT(ax = allocArray(VECSXP, dim));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  841|      0|	    setAttrib(ax, R_DimNamesSymbol, getAttrib(x, R_DimNamesSymbol));
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
              	    setAttrib(ax, R_DimNamesSymbol, getAttrib(x, R_DimNamesSymbol));
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
  842|      0|	    setAttrib(ax, R_NamesSymbol, getAttrib(x, R_DimNamesSymbol));
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
              	    setAttrib(ax, R_NamesSymbol, getAttrib(x, R_DimNamesSymbol));
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
  843|      0|	}
  844|      0|	else {
  845|      0|	    PROTECT(ax = allocVector(VECSXP, length(x)));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  846|      0|	    setAttrib(ax, R_NamesSymbol, getAttrib(x, R_NamesSymbol));
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
              	    setAttrib(ax, R_NamesSymbol, getAttrib(x, R_NamesSymbol));
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
  847|      0|	}
  848|      0|	SEXP px; int i;
  849|      0|	for(px = x, i = 0 ; px != R_NilValue ; px = CDR(px))
  ------------------
  |  Branch (849:22): [True: 0, False: 0]
  ------------------
  850|      0|	    SET_VECTOR_ELT(ax, i++, CAR(px));
  851|      0|    }
  852|      0|    else errorcallNotSubsettable(x, call);
  853|       |
  854|       |    /* This is the actual subsetting code. */
  855|       |    /* The separation of arrays and matrices is purely an optimization. */
  856|       |
  857|  1.07M|    SEXP ans;
  858|  1.07M|    if(nsubs < 2) {
  ------------------
  |  Branch (858:8): [True: 1.06M, False: 9.64k]
  ------------------
  859|  1.06M|	SEXP dim = getAttrib(x, R_DimSymbol);
  ------------------
  |  |  924|  1.06M|#define getAttrib		Rf_getAttrib
  ------------------
  860|  1.06M|	int ndim = length(dim);
  ------------------
  |  |  987|  1.06M|#define length(x)		Rf_length(x)
  ------------------
  861|  1.06M|	PROTECT(ans = VectorSubset(ax, (nsubs == 1 ? CAR(subs) : R_MissingArg),
  ------------------
  |  |  357|  2.13M|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  |  |  Branch (357:31): [True: 1.06M, False: 0]
  |  |  ------------------
  ------------------
  862|  1.06M|				   call));
  863|       |	/* one-dimensional arrays went through here, and they should
  864|       |	   have their dimensions dropped only if the result has
  865|       |	   length one and drop == TRUE
  866|       |	*/
  867|  1.06M|	if(ndim == 1) {
  ------------------
  |  Branch (867:5): [True: 0, False: 1.06M]
  ------------------
  868|      0|	    int len = length(ans);
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  869|      0|	    if(!drop || len > 1) {
  ------------------
  |  Branch (869:9): [True: 0, False: 0]
  |  Branch (869:18): [True: 0, False: 0]
  ------------------
  870|       |		// must grab these before the dim is set.
  871|      0|		SEXP nm = PROTECT(getAttrib(ans, R_NamesSymbol));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  872|      0|		SEXP attr = PROTECT(ScalarInteger(length(ans)));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  873|      0|		if(!isNull(getAttrib(dim, R_NamesSymbol)))
  ------------------
  |  |  956|      0|#define isNull			Rf_isNull
  ------------------
              		if(!isNull(getAttrib(dim, R_NamesSymbol)))
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
  |  Branch (873:6): [True: 0, False: 0]
  ------------------
  874|      0|		    setAttrib(attr, R_NamesSymbol, getAttrib(dim, R_NamesSymbol));
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
              		    setAttrib(attr, R_NamesSymbol, getAttrib(dim, R_NamesSymbol));
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
  875|      0|		setAttrib(ans, R_DimSymbol, attr);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  876|      0|		SEXP attrib;
  877|      0|		if((attrib = getAttrib(x, R_DimNamesSymbol)) != R_NilValue) {
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
  |  Branch (877:6): [True: 0, False: 0]
  ------------------
  878|       |		    /* reinstate dimnames, include names of dimnames */
  879|      0|		    SEXP nattrib = PROTECT(duplicate(attrib));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  880|      0|		    SET_VECTOR_ELT(nattrib, 0, nm);
  881|      0|		    setAttrib(ans, R_DimNamesSymbol, nattrib);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  882|      0|		    setAttrib(ans, R_NamesSymbol, R_NilValue);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  883|      0|		    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  884|      0|		}
  885|      0|		UNPROTECT(2);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  886|      0|	    }
  887|      0|	}
  888|  1.06M|    } else {
  889|  9.64k|	if (nsubs != length(getAttrib(x, R_DimSymbol)))
  ------------------
  |  |  987|  9.64k|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (889:6): [True: 0, False: 9.64k]
  ------------------
  890|      0|	    errorcall(call, _("incorrect number of dimensions"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	    errorcall(call, _("incorrect number of dimensions"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  891|  9.64k|	if (nsubs == 2)
  ------------------
  |  Branch (891:6): [True: 9.64k, False: 0]
  ------------------
  892|  9.64k|	    ans = MatrixSubset(ax, subs, call, drop);
  893|      0|	else
  894|      0|	    ans = ArraySubset(ax, subs, call, drop);
  895|  9.64k|	PROTECT(ans);
  ------------------
  |  |  357|  9.64k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  896|  9.64k|    }
  897|       |
  898|       |    /* Note: we do not coerce back to pair-based lists. */
  899|       |    /* They are "defunct" in this version of R. */
  900|       |
  901|  1.07M|    if (type == LANGSXP) {
  ------------------
  |  |  117|  1.07M|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (901:9): [True: 0, False: 1.07M]
  ------------------
  902|      0|	ax = ans;
  903|      0|	PROTECT(ans = allocLang(LENGTH(ax)));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  904|      0|	if ( LENGTH(ax) > 0 ) {
  ------------------
  |  Branch (904:7): [True: 0, False: 0]
  ------------------
  905|      0|	    SEXP px; int i;
  906|      0|	    for(px = ans, i = 0 ; px != R_NilValue ; px = CDR(px))
  ------------------
  |  Branch (906:28): [True: 0, False: 0]
  ------------------
  907|      0|		SETCAR(px, VECTOR_ELT(ax, i++));
  908|      0|	    setAttrib(ans, R_DimSymbol,      getAttrib(ax, R_DimSymbol));
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
              	    setAttrib(ans, R_DimSymbol,      getAttrib(ax, R_DimSymbol));
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
  909|      0|	    setAttrib(ans, R_DimNamesSymbol, getAttrib(ax, R_DimNamesSymbol));
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
              	    setAttrib(ans, R_DimNamesSymbol, getAttrib(ax, R_DimNamesSymbol));
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
  910|      0|	    setAttrib(ans, R_NamesSymbol,    getAttrib(ax, R_NamesSymbol));
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
              	    setAttrib(ans, R_NamesSymbol,    getAttrib(ax, R_NamesSymbol));
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
  911|      0|	    RAISE_NAMED(ans, NAMED(ax)); /* PR#7924 */
  912|      0|	}
  913|      0|    }
  914|  1.07M|    else {
  915|  1.07M|	PROTECT(ans);
  ------------------
  |  |  357|  1.07M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  916|  1.07M|    }
  917|  1.07M|    if (ATTRIB(ans) != R_NilValue) { /* remove probably erroneous attr's */
  ------------------
  |  Branch (917:9): [True: 12.3k, False: 1.06M]
  ------------------
  918|  12.3k|	setAttrib(ans, R_TspSymbol, R_NilValue);
  ------------------
  |  | 1027|  12.3k|#define setAttrib		Rf_setAttrib
  ------------------
  919|       |#ifdef _S4_subsettable
  920|       |	if(!IS_S4_OBJECT(x))
  921|       |#endif
  922|  12.3k|	    setAttrib(ans, R_ClassSymbol, R_NilValue);
  ------------------
  |  | 1027|  12.3k|#define setAttrib		Rf_setAttrib
  ------------------
  923|  12.3k|    }
  924|  1.07M|    UNPROTECT(4);
  ------------------
  |  |  358|  1.07M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  925|  1.07M|    return ans;
  926|  1.07M|}
do_subset2:
  933|  11.3k|{
  934|  11.3k|    SEXP ans;
  935|       |
  936|       |    /* If the first argument is an object and there is */
  937|       |    /* an appropriate method, we dispatch to that method, */
  938|       |    /* otherwise we evaluate the arguments and fall */
  939|       |    /* through to the generic code below.  Note that */
  940|       |    /* evaluation retains any missing argument indicators. */
  941|       |
  942|       |    /* DispatchOrEval internal generic: [[ */
  943|  11.3k|    if(R_DispatchOrEvalSP(call, op, "[[", args, rho, &ans)) {
  ------------------
  |  Branch (943:8): [True: 0, False: 11.3k]
  ------------------
  944|      0|	if (NAMED(ans))
  ------------------
  |  Branch (944:6): [True: 0, False: 0]
  ------------------
  945|      0|	    ENSURE_NAMEDMAX(ans);
  946|      0|	return(ans);
  947|      0|    }
  948|       |
  949|       |    /* Method dispatch has failed. */
  950|       |    /* We now run the generic internal code. */
  951|       |
  952|  11.3k|    return do_subset2_dflt(call, op, ans, rho);
  953|  11.3k|}
do_subset2_dflt:
  956|  21.4k|{
  957|  21.4k|    SEXP ans, dims, dimnames, indx, subs, x;
  958|  21.4k|    int i, ndims, nsubs;
  959|  21.4k|    int drop = 1;
  960|  21.4k|    R_xlen_t offset = 0;
  961|       |
  962|  21.4k|    PROTECT(args);
  ------------------
  |  |  357|  21.4k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  963|  21.4k|    ExtractDropArg(args, &drop);
  964|       |    /* Is partial matching ok?  When the exact arg is NA, a warning is
  965|       |       issued if partial matching occurs.
  966|       |     */
  967|  21.4k|    int exact = ExtractExactArg(args);
  968|  21.4k|    int pok = (exact == -1) ? exact : ! exact;
  ------------------
  |  Branch (968:15): [True: 0, False: 21.4k]
  ------------------
  969|       |
  970|  21.4k|    x = CAR(args);
  971|       |
  972|       |    /* Get the subscripting and dimensioning information */
  973|       |    /* and check that any array subscripting is compatible. */
  974|       |
  975|  21.4k|    subs = CDR(args);
  976|  21.4k|    if(0 == (nsubs = length(subs)))
  ------------------
  |  |  987|  21.4k|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (976:8): [True: 0, False: 21.4k]
  ------------------
  977|      0|	errorcall(call, _("no index specified"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("no index specified"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  978|       |
  979|       |    /* This code was intended for compatibility with S, */
  980|       |    /* but in fact S does not do this.	Will anyone notice? */
  981|  21.4k|    if (x == R_NilValue) {
  ------------------
  |  Branch (981:9): [True: 175, False: 21.3k]
  ------------------
  982|    175|	UNPROTECT(1); /* args */
  ------------------
  |  |  358|    175|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  983|    175|	if(CAR(subs) == R_MissingArg)
  ------------------
  |  Branch (983:5): [True: 0, False: 175]
  ------------------
  984|      0|	    errorcallMissingSubs(x, call);
  985|       |	// else
  986|    175|	return x;
  987|    175|    }
  988|       |
  989|  21.3k|    dims = getAttrib(x, R_DimSymbol);
  ------------------
  |  |  924|  21.3k|#define getAttrib		Rf_getAttrib
  ------------------
  990|  21.3k|    ndims = length(dims);
  ------------------
  |  |  987|  21.3k|#define length(x)		Rf_length(x)
  ------------------
  991|  21.3k|    if(nsubs > 1 && nsubs != ndims)
  ------------------
  |  Branch (991:8): [True: 0, False: 21.3k]
  |  Branch (991:21): [True: 0, False: 0]
  ------------------
  992|      0|	errorcall(call, _("incorrect number of subscripts"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("incorrect number of subscripts"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  993|       |
  994|       |    /* code to allow classes to extend environment */
  995|  21.3k|    if(TYPEOF(x) == OBJSXP) {
  ------------------
  |  |  137|  21.3k|#define OBJSXP      25    /* object, non-vector  */
  ------------------
  |  Branch (995:8): [True: 0, False: 21.3k]
  ------------------
  996|      0|	SEXP xs = x;
  997|      0|	x = R_getS4DataSlot(x, ANYSXP);
  ------------------
  |  |  128|      0|#define ANYSXP	    18	  /* make "any" args work.
  ------------------
  998|      0|	if(x == R_NilValue)
  ------------------
  |  Branch (998:5): [True: 0, False: 0]
  ------------------
  999|      0|	    errorcall(call, _("this %s class is not subsettable"),
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	    errorcall(call, _("this %s class is not subsettable"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1000|      0|		      IS_S4_OBJECT(xs) ? "S4" : "object");
  ------------------
  |  Branch (1000:9): [True: 0, False: 0]
  ------------------
 1001|      0|    }
 1002|  21.3k|    PROTECT(x);
  ------------------
  |  |  357|  21.3k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1003|       |
 1004|       |    /* split out ENVSXP for now */
 1005|  21.3k|    if( TYPEOF(x) == ENVSXP ) {
  ------------------
  |  |  115|  21.3k|#define ENVSXP	     4	  /* environments */
  ------------------
  |  Branch (1005:9): [True: 3.27k, False: 18.0k]
  ------------------
 1006|  3.27k|	if( nsubs != 1 || !isString(CAR(subs)) || length(CAR(subs)) != 1 )
  ------------------
  |  |  966|  3.27k|#define isString		Rf_isString
  ------------------
              	if( nsubs != 1 || !isString(CAR(subs)) || length(CAR(subs)) != 1 )
  ------------------
  |  |  987|  3.27k|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1006:6): [True: 0, False: 3.27k]
  |  Branch (1006:20): [True: 0, False: 3.27k]
  |  Branch (1006:44): [True: 0, False: 3.27k]
  ------------------
 1007|      0|	    errorcall(call, _("wrong arguments for subsetting an environment"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	    errorcall(call, _("wrong arguments for subsetting an environment"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1008|  3.27k|	ans = R_findVarInFrame(x, installTrChar(STRING_ELT(CAR(subs), 0)));
  ------------------
  |  |  937|  3.27k|#define installTrChar		Rf_installTrChar
  ------------------
 1009|  3.27k|	if( TYPEOF(ans) == PROMSXP ) {
  ------------------
  |  |  116|  3.27k|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (1009:6): [True: 512, False: 2.76k]
  ------------------
 1010|    512|	    PROTECT(ans);
  ------------------
  |  |  357|    512|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1011|    512|	    ans = eval(ans, R_GlobalEnv);
  ------------------
  |  |  913|    512|#define eval			Rf_eval
  ------------------
 1012|    512|	    UNPROTECT(1); /* ans */
  ------------------
  |  |  358|    512|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1013|  2.76k|	} else ENSURE_NAMEDMAX(ans);
 1014|       |
 1015|  3.27k|	UNPROTECT(2); /* args, x */
  ------------------
  |  |  358|  3.27k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1016|  3.27k|	if(ans == R_UnboundValue)
  ------------------
  |  Branch (1016:5): [True: 992, False: 2.28k]
  ------------------
 1017|    992|	    return(R_NilValue);
 1018|  2.28k|	if (NAMED(ans))
  ------------------
  |  Branch (1018:6): [True: 2.28k, False: 0]
  ------------------
 1019|  2.28k|	    ENSURE_NAMEDMAX(ans);
 1020|  2.28k|	return ans;
 1021|  3.27k|    }
 1022|       |
 1023|       |    /* back to the regular program */
 1024|  18.0k|    if (!(isVector(x) || isList(x) || isLanguage(x)))
  ------------------
  |  |  974|  18.0k|#define isVector		Rf_isVector
  ------------------
                  if (!(isVector(x) || isList(x) || isLanguage(x)))
  ------------------
  |  |  951|    943|#define isList			Rf_isList
  ------------------
                  if (!(isVector(x) || isList(x) || isLanguage(x)))
  ------------------
  |  |  950|    265|#define isLanguage		Rf_isLanguage
  ------------------
  |  Branch (1024:11): [True: 17.0k, False: 943]
  |  Branch (1024:26): [True: 678, False: 265]
  |  Branch (1024:39): [True: 265, False: 0]
  ------------------
 1025|      0|	errorcallNotSubsettable(x, call);
 1026|       |
 1027|       |#ifndef SWITCH_TO_REFCNT
 1028|       |    int named_x;
 1029|       |    named_x = NAMED(x);  /* x may change below; save this now.  See PR#13411 */
 1030|       |#endif
 1031|       |
 1032|  18.0k|    if(nsubs == 1) { /* vector indexing */
  ------------------
  |  Branch (1032:8): [True: 18.0k, False: 0]
  ------------------
 1033|  18.0k|	SEXP thesub = CAR(subs);
 1034|  18.0k|	int len = length(thesub);
  ------------------
  |  |  987|  18.0k|#define length(x)		Rf_length(x)
  ------------------
 1035|       |
 1036|  18.0k|	if (len > 1) {
  ------------------
  |  Branch (1036:6): [True: 0, False: 18.0k]
  ------------------
 1037|      0|#ifdef SWITCH_TO_REFCNT
 1038|      0|	    if (IS_GETTER_CALL(call)) {
  ------------------
  |  |  554|      0|#define IS_GETTER_CALL(call) (CADR(call) == R_TmpvalSymbol)
  |  |  ------------------
  |  |  |  Branch (554:30): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1039|       |		/* This is (most likely) a getter call in a complex
 1040|       |		   assighment so we duplicate as needed. The original
 1041|       |		   x should have been duplicated if it might be
 1042|       |		   shared, but might get additional references before
 1043|       |		   it arrives here. */
 1044|      0|		if (MAYBE_SHARED(x)) {
  ------------------
  |  Branch (1044:7): [True: 0, False: 0]
  ------------------
 1045|      0|		    x = shallow_duplicate(x);
  ------------------
  |  | 1030|      0|#define shallow_duplicate	Rf_shallow_duplicate
  ------------------
 1046|      0|		    UNPROTECT(1); /* old x */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1047|      0|		    PROTECT(x);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1048|      0|		}
 1049|      0|		x = vectorIndex(x, thesub, 0, len-1, pok, call, TRUE);
  ------------------
  |  | 2017|      0|# define vectorIndex		Rf_vectorIndex
  ------------------
 1050|      0|	    }
 1051|      0|	    else
 1052|      0|		x = vectorIndex(x, thesub, 0, len-1, pok, call, FALSE);
  ------------------
  |  | 2017|      0|# define vectorIndex		Rf_vectorIndex
  ------------------
 1053|       |#else
 1054|       |	    x = vectorIndex(x, thesub, 0, len-1, pok, call, FALSE);
 1055|       |	    named_x = NAMED(x);
 1056|       |#endif
 1057|      0|	    UNPROTECT(1); /* x */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1058|      0|	    PROTECT(x);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1059|      0|	}
 1060|       |
 1061|  18.0k|	SEXP xnames = PROTECT(getAttrib(x, R_NamesSymbol));
  ------------------
  |  |  357|  18.0k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1062|  18.0k|	offset = get1index(thesub, xnames,
  ------------------
  |  | 1911|  18.0k|# define get1index		Rf_get1index
  ------------------
 1063|  18.0k|			   xlength(x), pok, len > 1 ? len-1 : -1, call);
  ------------------
  |  | 1049|  18.0k|#define xlength(x)		Rf_xlength(x)
  ------------------
  |  Branch (1063:24): [True: 0, False: 18.0k]
  ------------------
 1064|  18.0k|	UNPROTECT(1); /* xnames */
  ------------------
  |  |  358|  18.0k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1065|  18.0k|	if (offset < 0 || offset >= xlength(x)) {
  ------------------
  |  | 1049|  16.1k|#define xlength(x)		Rf_xlength(x)
  ------------------
  |  Branch (1065:6): [True: 1.92k, False: 16.1k]
  |  Branch (1065:20): [True: 0, False: 16.1k]
  ------------------
 1066|       |	    /* a bold attempt to get the same behaviour for $ and [[ */
 1067|  1.91k|	    if (offset < 0 && (isNewList(x) ||
  ------------------
  |  |  955|  1.91k|#define isNewList		Rf_isNewList
  ------------------
  |  Branch (1067:10): [True: 1.91k, False: 0]
  |  Branch (1067:25): [True: 1.91k, False: 0]
  ------------------
 1068|      0|			       isExpression(x) ||
  ------------------
  |  |  945|      0|#define isExpression		Rf_isExpression
  ------------------
  |  Branch (1068:11): [True: 0, False: 0]
  ------------------
 1069|      0|			       isList(x) ||
  ------------------
  |  |  951|      0|#define isList			Rf_isList
  ------------------
  |  Branch (1069:11): [True: 0, False: 0]
  ------------------
 1070|  1.91k|			       isLanguage(x))) {
  ------------------
  |  |  950|      0|#define isLanguage		Rf_isLanguage
  ------------------
  |  Branch (1070:11): [True: 0, False: 0]
  ------------------
 1071|  1.91k|		UNPROTECT(2); /* args, x */
  ------------------
  |  |  358|  1.91k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1072|  1.91k|		return R_NilValue;
 1073|  1.91k|	    }
 1074|      0|	    else errorcallOutOfBoundsSEXP(x, -1, thesub, call);
 1075|  1.91k|	}
 1076|  18.0k|    } else { /* nsubs == ndims >= 2 : matrix|array indexing */
 1077|       |	/* Here we use the fact that: */
 1078|       |	/* CAR(R_NilValue) = R_NilValue */
 1079|       |	/* CDR(R_NilValue) = R_NilValue */
 1080|       |
 1081|      0|	int ndn; /* Number of dimnames. Unlikely to be anything but
 1082|       |		    0 or nsubs, but just in case... */
 1083|       |
 1084|      0|	PROTECT(indx = allocVector(INTSXP, nsubs));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1085|      0|	int *pindx = INTEGER(indx);
 1086|      0|	const int *pdims = INTEGER_RO(dims);
 1087|      0|	dimnames = getAttrib(x, R_DimNamesSymbol);
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
 1088|      0|	ndn = length(dimnames);
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
 1089|      0|	for (i = 0; i < nsubs; i++) {
  ------------------
  |  Branch (1089:14): [True: 0, False: 0]
  ------------------
 1090|      0|	    SEXP thesub = CAR(subs);
 1091|      0|	    pindx[i] = (int)
 1092|      0|		get1index(thesub,
  ------------------
  |  | 1911|      0|# define get1index		Rf_get1index
  ------------------
 1093|      0|			  (i < ndn) ? VECTOR_ELT(dimnames, i) : R_NilValue,
  ------------------
  |  Branch (1093:6): [True: 0, False: 0]
  ------------------
 1094|      0|			  pdims[i], pok, -1, call);
 1095|      0|	    subs = CDR(subs);
 1096|      0|	    if (pindx[i] < 0 || pindx[i] >= pdims[i])
  ------------------
  |  Branch (1096:10): [True: 0, False: 0]
  |  Branch (1096:26): [True: 0, False: 0]
  ------------------
 1097|      0|		errorcallOutOfBoundsSEXP(x, i, thesub, call);
 1098|      0|	}
 1099|      0|	offset = 0;
 1100|      0|	for (i = (nsubs - 1); i > 0; i--)
  ------------------
  |  Branch (1100:24): [True: 0, False: 0]
  ------------------
 1101|      0|	    offset = (offset + pindx[i]) * pdims[i - 1];
 1102|      0|	offset += pindx[0];
 1103|      0|	UNPROTECT(1); /* indx */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1104|      0|    }
 1105|       |
 1106|  16.1k|    if(isPairList(x)) {
  ------------------
  |  |  961|  16.1k|#define isPairList		Rf_isPairList
  ------------------
  |  Branch (1106:8): [True: 943, False: 15.1k]
  ------------------
 1107|    943|#ifdef LONG_VECTOR_SUPPORT
 1108|    943|	if (offset > R_SHORT_LEN_MAX)
  ------------------
  |  |   77|    943|# define R_SHORT_LEN_MAX 2147483647
  ------------------
  |  Branch (1108:6): [True: 0, False: 943]
  ------------------
 1109|      0|	    error("invalid subscript for pairlist");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 1110|    943|#endif
 1111|    943|	ans = CAR(nthcdr(x, (int) offset));
  ------------------
  |  | 1009|    943|#define nthcdr			Rf_nthcdr
  ------------------
 1112|       |#ifndef SWITCH_TO_REFCNT
 1113|       |	RAISE_NAMED(ans, named_x);
 1114|       |#endif
 1115|  15.1k|    } else if(isVectorList(x)) {
  ------------------
  |  |  977|  15.1k|#define isVectorList		Rf_isVectorList
  ------------------
  |  Branch (1115:15): [True: 14.1k, False: 1.03k]
  ------------------
 1116|       |	/* did unconditional duplication before 2.4.0 */
 1117|  14.1k|	ans = VECTOR_ELT(x, offset);
 1118|       |#ifndef SWITCH_TO_REFCNT
 1119|       |	RAISE_NAMED(ans, named_x);
 1120|       |#endif
 1121|  14.1k|    } else {
 1122|  1.03k|	ans = PROTECT(allocVector(TYPEOF(x), 1));
  ------------------
  |  |  357|  1.03k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1123|  1.03k|	switch (TYPEOF(x)) {
 1124|      0|	case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (1124:2): [True: 0, False: 1.03k]
  ------------------
 1125|      0|	    LOGICAL0(ans)[0] = LOGICAL_ELT(x, offset);
 1126|      0|	    break;
 1127|     74|	case INTSXP:
  ------------------
  |  |  123|     74|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1127:2): [True: 74, False: 961]
  ------------------
 1128|     74|	    INTEGER0(ans)[0] = INTEGER_ELT(x, offset);
 1129|     74|	    break;
 1130|    809|	case REALSXP:
  ------------------
  |  |  124|    809|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1130:2): [True: 809, False: 226]
  ------------------
 1131|    809|	    REAL0(ans)[0] = REAL_ELT(x, offset);
 1132|    809|	    break;
 1133|      0|	case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (1133:2): [True: 0, False: 1.03k]
  ------------------
 1134|      0|	    COMPLEX0(ans)[0] = COMPLEX_ELT(x, offset);
 1135|      0|	    break;
 1136|    140|	case STRSXP:
  ------------------
  |  |  126|    140|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1136:2): [True: 140, False: 895]
  ------------------
 1137|    140|	    SET_STRING_ELT(ans, 0, STRING_ELT(x, offset));
 1138|    140|	    break;
 1139|      0|	case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (1139:2): [True: 0, False: 1.03k]
  ------------------
 1140|      0|	    RAW0(ans)[0] = RAW_ELT(x, offset);
 1141|      0|	    break;
 1142|      0|	default:
  ------------------
  |  Branch (1142:2): [True: 0, False: 1.03k]
  ------------------
 1143|      0|	    UNIMPLEMENTED_TYPE("do_subset2", x);
 1144|  1.03k|	}
 1145|  1.02k|	UNPROTECT(1); /* ans */
  ------------------
  |  |  358|  1.02k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1146|  1.02k|    }
 1147|  16.1k|    UNPROTECT(2); /* args, x */
  ------------------
  |  |  358|  16.1k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1148|  16.1k|    return ans;
 1149|  16.1k|}
dispatch_subset2:
 1152|  3.11k|{
 1153|  3.11k|    static SEXP bracket_op = NULL;
 1154|  3.11k|    SEXP args, x_elt;
 1155|  3.11k|    if (isObject(x)) {
  ------------------
  |  |  959|  3.11k|#define isObject		Rf_isObject
  ------------------
  |  Branch (1155:9): [True: 0, False: 3.11k]
  ------------------
 1156|      0|        if (bracket_op == NULL)
  ------------------
  |  Branch (1156:13): [True: 0, False: 0]
  ------------------
 1157|      0|            bracket_op = R_Primitive("[[");
 1158|      0|        PROTECT(args = list2(x, ScalarReal((double)i + 1)));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1159|      0|        x_elt = do_subset2(call, bracket_op, args, rho);
 1160|      0|        UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1161|  3.11k|    } else {
 1162|       |      // FIXME: throw error if not a list
 1163|  3.11k|        x_elt = VECTOR_ELT(x, i);
 1164|  3.11k|    }
 1165|  3.11k|    return(x_elt);
 1166|  3.11k|}
Rf_fixSubset3Args:
 1209|  2.10k|{
 1210|  2.10k|    SEXP input, nlist;
 1211|       |
 1212|       |    /* first translate CADR of args into a string so that we can
 1213|       |       pass it down to DispatchorEval and have it behave correctly */
 1214|       |
 1215|  2.10k|    PROTECT(input = allocVector(STRSXP, 1));
  ------------------
  |  |  357|  2.10k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1216|  2.10k|    nlist = CADR(args);
 1217|  2.10k|    if (TYPEOF(nlist) == PROMSXP)
  ------------------
  |  |  116|  2.10k|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (1217:9): [True: 0, False: 2.10k]
  ------------------
 1218|      0|	nlist = eval(nlist, env);
  ------------------
  |  |  913|      0|#define eval			Rf_eval
  ------------------
 1219|  2.10k|    if(isSymbol(nlist)) {
  ------------------
  |  |  953|  2.10k|#define isSymbol		Rf_isSymbol
  ------------------
  |  Branch (1219:8): [True: 2.10k, False: 0]
  ------------------
 1220|  2.10k|	if (syminp != NULL)
  ------------------
  |  Branch (1220:6): [True: 0, False: 2.10k]
  ------------------
 1221|      0|	    *syminp = nlist;
 1222|  2.10k|	SET_STRING_ELT(input, 0, PRINTNAME(nlist));
 1223|  2.10k|    } else if(isString(nlist) ) {
  ------------------
  |  |  966|      0|#define isString		Rf_isString
  ------------------
  |  Branch (1223:15): [True: 0, False: 0]
  ------------------
 1224|      0|	if (LENGTH(nlist) != 1)
  ------------------
  |  Branch (1224:6): [True: 0, False: 0]
  ------------------
 1225|      0|	    error(_("invalid subscript length"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("invalid subscript length"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1226|      0|	SET_STRING_ELT(input, 0, STRING_ELT(nlist, 0));
 1227|      0|    }
 1228|      0|    else {
 1229|      0|	errorcall(call,_("invalid subscript type '%s'"),
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call,_("invalid subscript type '%s'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1230|      0|		  R_typeToChar(nlist));
 1231|      0|	return R_NilValue; /*-Wall*/
 1232|      0|    }
 1233|       |
 1234|       |    /* replace the second argument with a string */
 1235|       |
 1236|       |    /* Previously this was SETCADR(args, input); */
 1237|       |    /* which could cause problems when nlist was */
 1238|       |    /* ..., as in PR#8718 */
 1239|       |
 1240|  2.10k|    args = shallow_duplicate(args);
  ------------------
  |  | 1030|  2.10k|#define shallow_duplicate	Rf_shallow_duplicate
  ------------------
 1241|  2.10k|    SETCADR(args, input);
 1242|  2.10k|    UNPROTECT(1); /* input */
  ------------------
  |  |  358|  2.10k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1243|  2.10k|    return args;
 1244|  2.10k|}
do_subset3:
 1251|  2.10k|{
 1252|  2.10k|    SEXP ans;
 1253|       |
 1254|  2.10k|    checkArity(op, args);
  ------------------
  |  | 1793|  2.10k|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1255|  2.10k|    PROTECT(args = fixSubset3Args(call, args, env, NULL));
  ------------------
  |  |  357|  2.10k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1256|       |
 1257|       |    /* If the first argument is an object and there is */
 1258|       |    /* an appropriate method, we dispatch to that method, */
 1259|       |    /* otherwise we evaluate the arguments and fall */
 1260|       |    /* through to the generic code below.  Note that */
 1261|       |    /* evaluation retains any missing argument indicators. */
 1262|       |
 1263|       |    /* DispatchOrEval internal generic: $ */
 1264|  2.10k|    if(R_DispatchOrEvalSP(call, op, "$", args, env, &ans)) {
  ------------------
  |  Branch (1264:8): [True: 0, False: 2.10k]
  ------------------
 1265|      0|	UNPROTECT(1); /* args */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1266|      0|	if (NAMED(ans))
  ------------------
  |  Branch (1266:6): [True: 0, False: 0]
  ------------------
 1267|      0|	    ENSURE_NAMEDMAX(ans);
 1268|      0|	return(ans);
 1269|      0|    }
 1270|  2.10k|    PROTECT(ans);
  ------------------
  |  |  357|  2.10k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1271|  2.10k|    ans = R_subset3_dflt(CAR(ans), STRING_ELT(CADR(args), 0), call);
 1272|  2.10k|    UNPROTECT(2); /* args, ans */
  ------------------
  |  |  358|  2.10k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1273|  2.10k|    return ans;
 1274|  2.10k|}
R_subset3_dflt:
 1278|  16.7k|{
 1279|  16.7k|    SEXP y;
 1280|  16.7k|    PROTECT(input);
  ------------------
  |  |  357|  16.7k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1281|  16.7k|    PROTECT(x);
  ------------------
  |  |  357|  16.7k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1282|       |
 1283|       |    /* Optimisation to prevent repeated recalculation */
 1284|  16.7k|    size_t slen = strlen(translateChar(input));
  ------------------
  |  | 1037|  16.7k|#define translateChar		Rf_translateChar
  ------------------
 1285|       |    /* The mechanism to allow a class extending "environment" */
 1286|  16.7k|    if( IS_S4_OBJECT(x) && TYPEOF(x) == OBJSXP ){
  ------------------
  |  |  137|      0|#define OBJSXP      25    /* object, non-vector  */
  ------------------
  |  Branch (1286:9): [True: 0, False: 16.7k]
  |  Branch (1286:28): [True: 0, False: 0]
  ------------------
 1287|      0|	x = R_getS4DataSlot(x, ANYSXP);
  ------------------
  |  |  128|      0|#define ANYSXP	    18	  /* make "any" args work.
  ------------------
 1288|      0|	if(x == R_NilValue)
  ------------------
  |  Branch (1288:5): [True: 0, False: 0]
  ------------------
 1289|      0|	    errorcall(call, "$ operator not defined for this S4 class");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
 1290|       |
 1291|      0|	UNPROTECT(1); /* x */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1292|      0|	PROTECT(x);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1293|      0|    }
 1294|       |
 1295|       |    // isPairList(x)  but *not* <DOTSXP> :
 1296|  16.7k|    if (TYPEOF(x) == LISTSXP || TYPEOF(x) == LANGSXP || TYPEOF(x) == NILSXP) {
  ------------------
  |  |  113|  33.4k|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
                  if (TYPEOF(x) == LISTSXP || TYPEOF(x) == LANGSXP || TYPEOF(x) == NILSXP) {
  ------------------
  |  |  117|  33.4k|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
                  if (TYPEOF(x) == LISTSXP || TYPEOF(x) == LANGSXP || TYPEOF(x) == NILSXP) {
  ------------------
  |  |  111|  15.7k|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (1296:9): [True: 0, False: 16.7k]
  |  Branch (1296:33): [True: 966, False: 15.7k]
  |  Branch (1296:57): [True: 60, False: 15.6k]
  ------------------
 1297|  1.02k|	SEXP xmatch = R_NilValue;
 1298|  1.02k|	int havematch;
 1299|  1.02k|	havematch = 0;
 1300|  1.99k|	for (y = x ; y != R_NilValue ; y = CDR(y)) {
  ------------------
  |  Branch (1300:15): [True: 1.93k, False: 60]
  ------------------
 1301|  1.93k|	    switch(pstrmatch(TAG(y), input, slen)) {
  ------------------
  |  Branch (1301:13): [True: 1.93k, False: 0]
  ------------------
 1302|    966|	    case EXACT_MATCH:
  ------------------
  |  Branch (1302:6): [True: 966, False: 966]
  ------------------
 1303|    966|		y = CAR(y);
 1304|    966|		RAISE_NAMED(y, NAMED(x));
 1305|    966|		UNPROTECT(2); /* input, x */
  ------------------
  |  |  358|    966|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1306|    966|		return y;
 1307|      0|	    case PARTIAL_MATCH:
  ------------------
  |  Branch (1307:6): [True: 0, False: 1.93k]
  ------------------
 1308|      0|		havematch++;
 1309|      0|		xmatch = y;
 1310|      0|#ifdef SWITCH_TO_REFCNT
 1311|      0|		if (IS_GETTER_CALL(call))
  ------------------
  |  |  554|      0|#define IS_GETTER_CALL(call) (CADR(call) == R_TmpvalSymbol)
  |  |  ------------------
  |  |  |  Branch (554:30): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1312|      0|		    MARK_NOT_MUTABLE(y);
 1313|      0|#endif
 1314|      0|		break;
 1315|    966|	    case NO_MATCH:
  ------------------
  |  Branch (1315:6): [True: 966, False: 966]
  ------------------
 1316|    966|		break;
 1317|  1.93k|	    }
 1318|  1.93k|	}
 1319|     60|	if (havematch == 1) { /* unique partial match */
  ------------------
  |  Branch (1319:6): [True: 0, False: 60]
  ------------------
 1320|      0|	    if(R_warn_partial_match_dollar) {
  ------------------
  |  Branch (1320:9): [True: 0, False: 0]
  ------------------
 1321|      0|		SEXP target = TAG(xmatch);
 1322|      0|		SEXP cond =
 1323|      0|		    R_makePartialMatchWarningCondition(call,
 1324|      0|						       input,
 1325|      0|						       target);
 1326|      0|		PROTECT(cond);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1327|      0|		R_signalWarningCondition(cond);
 1328|      0|		UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1329|      0|	    }
 1330|      0|	    y = CAR(xmatch);
 1331|      0|	    RAISE_NAMED(y, NAMED(x));
 1332|      0|	    UNPROTECT(2); /* input, x */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1333|      0|	    return y;
 1334|      0|	}
 1335|     60|	UNPROTECT(2); /* input, x */
  ------------------
  |  |  358|     60|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1336|     60|	return R_NilValue;
 1337|     60|    }
 1338|  15.6k|    else if (isVectorList(x)) {
  ------------------
  |  |  977|  15.6k|#define isVectorList		Rf_isVectorList
  ------------------
  |  Branch (1338:14): [True: 15.6k, False: 32]
  ------------------
 1339|  15.6k|	R_xlen_t i, n, imatch = -1;
 1340|  15.6k|	int havematch;
 1341|  15.6k|	SEXP nlist = getAttrib(x, R_NamesSymbol);
  ------------------
  |  |  924|  15.6k|#define getAttrib		Rf_getAttrib
  ------------------
 1342|       |
 1343|  15.6k|	n = xlength(nlist);
  ------------------
  |  | 1049|  15.6k|#define xlength(x)		Rf_xlength(x)
  ------------------
 1344|  15.6k|	havematch = 0;
 1345|  37.1k|	for (i = 0 ; i < n ; i = i + 1) {
  ------------------
  |  Branch (1345:15): [True: 37.1k, False: 36]
  ------------------
 1346|  37.1k|	    switch(pstrmatch(STRING_ELT(nlist, i), input, slen)) {
  ------------------
  |  Branch (1346:13): [True: 37.1k, False: 0]
  ------------------
 1347|  15.6k|	    case EXACT_MATCH:
  ------------------
  |  Branch (1347:6): [True: 15.6k, False: 21.5k]
  ------------------
 1348|  15.6k|		y = VECTOR_ELT(x, i);
 1349|  15.6k|		RAISE_NAMED(y, NAMED(x));
 1350|  15.6k|		UNPROTECT(2); /* input, x */
  ------------------
  |  |  358|  15.6k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1351|  15.6k|		return y;
 1352|      0|	    case PARTIAL_MATCH:
  ------------------
  |  Branch (1352:6): [True: 0, False: 37.1k]
  ------------------
 1353|      0|		havematch++;
 1354|      0|		if (havematch == 1) {
  ------------------
  |  Branch (1354:7): [True: 0, False: 0]
  ------------------
 1355|       |		    /* partial matches can cause aliasing in eval.c:evalseq
 1356|       |		       This is overkill, but alternative ways to prevent
 1357|       |		       the aliasing appear to be even worse */
 1358|      0|		    y = VECTOR_ELT(x,i);
 1359|      0|#ifdef SWITCH_TO_REFCNT
 1360|      0|		    if (IS_GETTER_CALL(call))
  ------------------
  |  |  554|      0|#define IS_GETTER_CALL(call) (CADR(call) == R_TmpvalSymbol)
  |  |  ------------------
  |  |  |  Branch (554:30): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1361|      0|			MARK_NOT_MUTABLE(y);
 1362|       |#else
 1363|       |		    ENSURE_NAMEDMAX(y);
 1364|       |#endif
 1365|      0|		    SET_VECTOR_ELT(x,i,y);
 1366|      0|		}
 1367|      0|		imatch = i;
 1368|      0|		break;
 1369|  21.5k|	    case NO_MATCH:
  ------------------
  |  Branch (1369:6): [True: 21.5k, False: 15.6k]
  ------------------
 1370|  21.5k|		break;
 1371|  37.1k|	    }
 1372|  37.1k|	}
 1373|     36|	if(havematch == 1) { /* unique partial match */
  ------------------
  |  Branch (1373:5): [True: 0, False: 36]
  ------------------
 1374|      0|	    if(R_warn_partial_match_dollar) {
  ------------------
  |  Branch (1374:9): [True: 0, False: 0]
  ------------------
 1375|      0|		SEXP target = STRING_ELT(nlist, imatch);
 1376|      0|		SEXP cond =
 1377|      0|		    R_makePartialMatchWarningCondition(call,
 1378|      0|						       input,
 1379|      0|						       target);
 1380|      0|		PROTECT(cond);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1381|      0|		R_signalWarningCondition(cond);
 1382|      0|		UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1383|      0|	    }
 1384|      0|	    y = VECTOR_ELT(x, imatch);
 1385|      0|	    RAISE_NAMED(y, NAMED(x));
 1386|      0|	    UNPROTECT(2); /* input, x */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1387|      0|	    return y;
 1388|      0|	}
 1389|     36|	UNPROTECT(2); /* input, x */
  ------------------
  |  |  358|     36|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1390|     36|	return R_NilValue;
 1391|     36|    }
 1392|     32|    else if( isEnvironment(x) ){
  ------------------
  |  |  944|     32|#define isEnvironment		Rf_isEnvironment
  ------------------
  |  Branch (1392:14): [True: 32, False: 0]
  ------------------
 1393|     32|	y = R_findVarInFrame(x, installTrChar(input));
  ------------------
  |  |  937|     32|#define installTrChar		Rf_installTrChar
  ------------------
 1394|     32|	if( TYPEOF(y) == PROMSXP ) {
  ------------------
  |  |  116|     32|#define PROMSXP	     5	  /* promises: [un]evaluated closure arguments */
  ------------------
  |  Branch (1394:6): [True: 0, False: 32]
  ------------------
 1395|      0|	    PROTECT(y);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1396|      0|	    y = eval(y, R_GlobalEnv);
  ------------------
  |  |  913|      0|#define eval			Rf_eval
  ------------------
 1397|      0|	    UNPROTECT(1); /* y */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1398|      0|	}
 1399|     32|	UNPROTECT(2); /* input, x */
  ------------------
  |  |  358|     32|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1400|     32|	if( y != R_UnboundValue ) {
  ------------------
  |  Branch (1400:6): [True: 32, False: 0]
  ------------------
 1401|     32|	    if (NAMED(y))
  ------------------
  |  Branch (1401:10): [True: 32, False: 0]
  ------------------
 1402|     32|		ENSURE_NAMEDMAX(y);
 1403|      0|	    else RAISE_NAMED(y, NAMED(x));
 1404|     32|	    return(y);
 1405|     32|	}
 1406|      0|	return R_NilValue;
 1407|     32|    }
 1408|      0|    else if( isVectorAtomic(x) ){
  ------------------
  |  |  975|      0|#define isVectorAtomic		Rf_isVectorAtomic
  ------------------
  |  Branch (1408:14): [True: 0, False: 0]
  ------------------
 1409|      0|	errorcall(call, "$ operator is invalid for atomic vectors");
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
 1410|      0|    }
 1411|      0|    else /* e.g. a function */
 1412|      0|	errorcallNotSubsettable(x, call);
 1413|      0|    UNPROTECT(2); /* input, x */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1414|      0|    return R_NilValue;
 1415|  16.7k|}
subset.c:VECTOR_ELT_FIX_NAMED:
   48|  6.89k|static R_INLINE SEXP VECTOR_ELT_FIX_NAMED(SEXP y, R_xlen_t i) {
   49|       |    /* if RHS (container or element) has NAMED > 0 set NAMED = NAMEDMAX.
   50|       |       Duplicating might be safer/more consistent (fix bug reported by
   51|       |       Radford Neal; similar to PR15098) */
   52|  6.89k|    SEXP val = VECTOR_ELT(y, i);
   53|  6.89k|    if ((NAMED(y) || NAMED(val)))
  ------------------
  |  Branch (53:10): [True: 6.85k, False: 36]
  |  Branch (53:22): [True: 36, False: 0]
  ------------------
   54|  6.89k|	ENSURE_NAMEDMAX(val);
   55|  6.89k|    return val;
   56|  6.89k|}
subset.c:R_DispatchOrEvalSP:
  654|  15.2k|{
  655|  15.2k|    SEXP prom = NULL;
  656|  15.2k|    if (args != R_NilValue && CAR(args) != R_DotsSymbol) {
  ------------------
  |  Branch (656:9): [True: 15.2k, False: 0]
  |  Branch (656:31): [True: 15.2k, False: 0]
  ------------------
  657|  15.2k|	SEXP x = eval(CAR(args), rho);
  ------------------
  |  |  913|  15.2k|#define eval			Rf_eval
  ------------------
  658|  15.2k|	PROTECT(x);
  ------------------
  |  |  357|  15.2k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  659|  15.2k|	INCREMENT_LINKS(x);
  ------------------
  |  |  540|  15.2k|#define INCREMENT_LINKS(x) do {			\
  |  |  541|  15.2k|	SEXP il__x__ = (x);			\
  |  |  542|  15.2k|	INCREMENT_NAMED(il__x__);		\
  |  |  ------------------
  |  |  |  |  222|  15.2k|# define INCREMENT_NAMED(x) do { } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:43): [Folded, False: 15.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  543|  15.2k|	INCREMENT_REFCNT(il__x__);		\
  |  |  544|  15.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (544:14): [Folded, False: 15.2k]
  |  |  ------------------
  ------------------
  660|  15.2k|	if (! OBJECT(x)) {
  ------------------
  |  Branch (660:6): [True: 14.3k, False: 928]
  ------------------
  661|  14.3k|	    *ans = CONS_NR(x, evalListKeepMissing(CDR(args), rho));
  ------------------
  |  | 1904|  14.3k|# define evalListKeepMissing	Rf_evalListKeepMissing
  ------------------
  662|  14.3k|	    DECREMENT_LINKS(x);
  ------------------
  |  |  545|  14.3k|#define DECREMENT_LINKS(x) do {			\
  |  |  546|  14.3k|	SEXP dl__x__ = (x);			\
  |  |  547|  14.3k|	DECREMENT_NAMED(dl__x__);		\
  |  |  ------------------
  |  |  |  |  223|  14.3k|# define DECREMENT_NAMED(x) do { } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (223:43): [Folded, False: 14.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  548|  14.3k|	DECREMENT_REFCNT(dl__x__);		\
  |  |  549|  14.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (549:14): [Folded, False: 14.3k]
  |  |  ------------------
  ------------------
  663|  14.3k|	    UNPROTECT(1);
  ------------------
  |  |  358|  14.3k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  664|  14.3k|	    return FALSE;
  665|  14.3k|	}
  666|    928|	prom = R_mkEVPROMISE_NR(CAR(args), x);
  667|    928|	args = CONS(prom, CDR(args));
  ------------------
  |  |  309|    928|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
  668|    928|	UNPROTECT(1);
  ------------------
  |  |  358|    928|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  669|    928|    }
  670|    928|    PROTECT(args);
  ------------------
  |  |  357|    928|#define PROTECT(s)	Rf_protect(s)
  ------------------
  671|    928|    int disp = DispatchOrEval(call, op, generic, args, rho, ans, 0, 0);
  ------------------
  |  | 1892|    928|# define DispatchOrEval		Rf_DispatchOrEval
  ------------------
  672|    928|    if (prom) DECREMENT_LINKS(PRVALUE(prom));
  ------------------
  |  |  545|    928|#define DECREMENT_LINKS(x) do {			\
  |  |  546|    928|	SEXP dl__x__ = (x);			\
  |  |  547|    928|	DECREMENT_NAMED(dl__x__);		\
  |  |  ------------------
  |  |  |  |  223|    928|# define DECREMENT_NAMED(x) do { } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (223:43): [Folded, False: 928]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  548|    928|	DECREMENT_REFCNT(dl__x__);		\
  |  |  549|    928|    } while (0)
  |  |  ------------------
  |  |  |  Branch (549:14): [Folded, False: 928]
  |  |  ------------------
  ------------------
  |  Branch (672:9): [True: 928, False: 0]
  ------------------
  673|    928|    UNPROTECT(1);
  ------------------
  |  |  358|    928|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  674|    928|    return disp;
  675|  15.2k|}
subset.c:scalarIndex:
  704|  1.07M|{
  705|  1.07M|    if (ATTRIB(s) == R_NilValue) {
  ------------------
  |  Branch (705:9): [True: 1.07M, False: 2]
  ------------------
  706|  1.07M|	if (IS_SCALAR(s, INTSXP)) {
  ------------------
  |  |  123|  1.07M|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (706:6): [True: 1.05M, False: 11.5k]
  ------------------
  707|  1.05M|	    int ival = SCALAR_IVAL(s);
  708|  1.05M|	    if (ival != NA_INTEGER)
  ------------------
  |  |   56|  1.05M|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (708:10): [True: 1.05M, False: 0]
  ------------------
  709|  1.05M|		return ival;
  710|      0|	    else return -1;
  711|  1.05M|	}
  712|  11.5k|	else if (IS_SCALAR(s, REALSXP)) {
  ------------------
  |  |  124|  11.5k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (712:11): [True: 28, False: 11.5k]
  ------------------
  713|     28|	    double rval = SCALAR_DVAL(s);
  714|       |	    // treat infinite indices as NA, like asInteger
  715|     28|	    if (R_FINITE(rval))
  ------------------
  |  |   82|     28|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (715:10): [True: 28, False: 0]
  ------------------
  716|     28|		return (R_xlen_t) rval;
  717|      0|	    else return -1;
  718|     28|	}
  719|  11.5k|	else return -1;
  720|  1.07M|    }
  721|      2|    else return -1;
  722|  1.07M|}
subset.c:ExtractDropArg:
  627|  1.10M|{
  628|  1.10M|    *drop = asLogical(ExtractArg(el, R_DropSymbol));
  ------------------
  |  |  886|  1.10M|#define asLogical		Rf_asLogical
  ------------------
  629|  1.10M|    if (*drop == NA_LOGICAL) *drop = 1;
  ------------------
  |  |   55|  1.10M|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (629:9): [True: 1.10M, False: 158]
  ------------------
  630|  1.10M|}
subset.c:ExtractArg:
  606|  1.12M|{
  607|  1.12M|    SEXP arg, prev_arg;
  608|  1.12M|    int found = 0;
  609|       |
  610|  3.37M|    for (arg = prev_arg = args; arg != R_NilValue; arg = CDR(arg)) {
  ------------------
  |  Branch (610:33): [True: 2.25M, False: 1.12M]
  ------------------
  611|  2.25M|	if(TAG(arg) == arg_sym) {
  ------------------
  |  Branch (611:5): [True: 1.78k, False: 2.25M]
  ------------------
  612|  1.78k|	    if (arg == prev_arg) /* found at head of args */
  ------------------
  |  Branch (612:10): [True: 0, False: 1.78k]
  ------------------
  613|      0|		args = CDR(args);
  614|  1.78k|	    else
  615|  1.78k|		SETCDR(prev_arg, CDR(arg));
  616|  1.78k|	    found = 1;
  617|  1.78k|	    break;
  618|  1.78k|	}
  619|  2.25M|	else  prev_arg = arg;
  620|  2.25M|    }
  621|  1.12M|    return found ? CAR(arg) : R_NilValue;
  ------------------
  |  Branch (621:12): [True: 1.78k, False: 1.12M]
  ------------------
  622|  1.12M|}
subset.c:VectorSubset:
  184|  1.06M|{
  185|  1.06M|    if (s == R_MissingArg) return duplicate(x);
  ------------------
  |  |  909|      0|#define duplicate		Rf_duplicate
  ------------------
  |  Branch (185:9): [True: 0, False: 1.06M]
  ------------------
  186|       |
  187|       |    /* Check to see if we have special matrix subscripting. */
  188|       |    /* If we do, make a real subscript vector and protect it. */
  189|       |
  190|  1.06M|    PROTECT(s);
  ------------------
  |  |  357|  1.06M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  191|  1.06M|    if (ATTRIB(s) != R_NilValue) { /* pretest to speed up simple case */
  ------------------
  |  Branch (191:9): [True: 508, False: 1.06M]
  ------------------
  192|    508|	SEXP dim = getAttrib(x, R_DimSymbol);
  ------------------
  |  |  924|    508|#define getAttrib		Rf_getAttrib
  ------------------
  193|    508|	if (isMatrix(s) && isArray(x) && ncols(s) == length(dim)) {
  ------------------
  |  |  954|    508|#define isMatrix		Rf_isMatrix
  ------------------
              	if (isMatrix(s) && isArray(x) && ncols(s) == length(dim)) {
  ------------------
  |  |  940|      0|#define isArray			Rf_isArray
  ------------------
              	if (isMatrix(s) && isArray(x) && ncols(s) == length(dim)) {
  ------------------
  |  | 1005|      0|#define ncols			Rf_ncols
  ------------------
              	if (isMatrix(s) && isArray(x) && ncols(s) == length(dim)) {
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (193:6): [True: 0, False: 508]
  |  Branch (193:21): [True: 0, False: 0]
  |  Branch (193:35): [True: 0, False: 0]
  ------------------
  194|      0|	    if (isString(s)) {
  ------------------
  |  |  966|      0|#define isString		Rf_isString
  ------------------
  |  Branch (194:10): [True: 0, False: 0]
  ------------------
  195|      0|		SEXP dnames = PROTECT(GetArrayDimnames(x));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  196|      0| 		s = strmat2intmat(s, dnames, call, x);
  ------------------
  |  | 2000|      0|# define strmat2intmat		Rf_strmat2intmat
  ------------------
  197|      0|		UNPROTECT(2); /* dnames, s */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  198|      0|		PROTECT(s);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  199|      0|	    }
  200|      0|	    if (isInteger(s) || isReal(s)) {
  ------------------
  |  |  949|      0|#define isInteger		Rf_isInteger
  ------------------
              	    if (isInteger(s) || isReal(s)) {
  ------------------
  |  |  963|      0|#define isReal			Rf_isReal
  ------------------
  |  Branch (200:10): [True: 0, False: 0]
  |  Branch (200:26): [True: 0, False: 0]
  ------------------
  201|      0|		s = mat2indsub(dim, s, call, x);
  ------------------
  |  | 1948|      0|# define mat2indsub		Rf_mat2indsub
  ------------------
  202|      0|		UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  203|      0|		PROTECT(s);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  204|      0|	    }
  205|      0|	}
  206|    508|    }
  207|       |
  208|       |    /* Convert to a vector of integer subscripts */
  209|       |    /* in the range 1:length(x). */
  210|  1.06M|    R_xlen_t stretch = 1;
  211|  1.06M|    SEXP indx = PROTECT(makeSubscript(x, s, &stretch, call));
  ------------------
  |  |  357|  1.06M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  212|       |
  213|       |    /* Allocate the result. */
  214|       |
  215|  1.06M|    int mode = TYPEOF(x);
  216|  1.06M|    SEXP result = PROTECT(ExtractSubset(x, indx, call));
  ------------------
  |  |  357|  1.06M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  217|  1.06M|    if (mode == VECSXP || mode == EXPRSXP)
  ------------------
  |  |  131|  2.13M|#define VECSXP	    19	  /* generic vectors */
  ------------------
                  if (mode == VECSXP || mode == EXPRSXP)
  ------------------
  |  |  132|  1.06M|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (217:9): [True: 789, False: 1.06M]
  |  Branch (217:27): [True: 12, False: 1.06M]
  ------------------
  218|       |	/* we do not duplicate the values when extracting the subset,
  219|       |	   so to be conservative mark the result as NAMED = NAMEDMAX */
  220|    801|	ENSURE_NAMEDMAX(result);
  221|       |
  222|  1.06M|    if (result != R_NilValue) {
  ------------------
  |  Branch (222:9): [True: 1.06M, False: 0]
  ------------------
  223|  1.06M|	SEXP attrib, nattrib;
  224|  1.06M|	if (
  225|  1.06M|	    ((attrib = getAttrib(x, R_NamesSymbol)) != R_NilValue) ||
  ------------------
  |  |  924|  1.06M|#define getAttrib		Rf_getAttrib
  ------------------
  |  Branch (225:6): [True: 7.94k, False: 1.06M]
  ------------------
  226|  1.06M|	    ( /* here we might have an array.  Use row names if 1D */
  227|  1.06M|		isArray(x) && length(getAttrib(x, R_DimNamesSymbol)) == 1 &&
  ------------------
  |  |  940|  1.06M|#define isArray			Rf_isArray
  ------------------
              		isArray(x) && length(getAttrib(x, R_DimNamesSymbol)) == 1 &&
  ------------------
  |  |  987|    997|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (227:3): [True: 997, False: 1.06M]
  |  Branch (227:17): [True: 0, False: 997]
  ------------------
  228|      0|		(attrib = getAttrib(x, R_DimNamesSymbol)) != R_NilValue &&
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
  |  Branch (228:3): [True: 0, False: 0]
  ------------------
  229|      0|		(attrib = GetRowNames(attrib)) != R_NilValue
  ------------------
  |  |  931|      0|#define GetRowNames		Rf_GetRowNames
  ------------------
  |  Branch (229:3): [True: 0, False: 0]
  ------------------
  230|  1.06M|		)
  231|  1.06M|	    ) {
  232|  7.94k|	    PROTECT(attrib);
  ------------------
  |  |  357|  7.94k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  233|  7.94k|	    PROTECT(nattrib = ExtractSubset(attrib, indx, call));
  ------------------
  |  |  357|  7.94k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  234|  7.94k|	    setAttrib(result, R_NamesSymbol, nattrib);
  ------------------
  |  | 1027|  7.94k|#define setAttrib		Rf_setAttrib
  ------------------
  235|  7.94k|	    UNPROTECT(2); /* attrib, nattrib */
  ------------------
  |  |  358|  7.94k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  236|  7.94k|	}
  237|  1.06M|	if ((attrib = getAttrib(x, R_SrcrefSymbol)) != R_NilValue &&
  ------------------
  |  |  924|  1.06M|#define getAttrib		Rf_getAttrib
  ------------------
  |  Branch (237:6): [True: 0, False: 1.06M]
  ------------------
  238|      0|	    TYPEOF(attrib) == VECSXP) {
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (238:6): [True: 0, False: 0]
  ------------------
  239|      0|	    PROTECT(nattrib = ExtractSubset(attrib, indx, call));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  240|      0|	    setAttrib(result, R_SrcrefSymbol, nattrib);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
  241|      0|	    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  242|      0|	}
  243|       |	/* FIXME:  this is wrong, because the slots are gone, so result is an invalid object of the S4 class! JMC 3/3/09 */
  244|       |#ifdef _S4_subsettable
  245|       |	if(IS_S4_OBJECT(x)) { /* e.g. contains = "list" */
  246|       |	    setAttrib(result, R_ClassSymbol, getAttrib(x, R_ClassSymbol));
  247|       |	    SET_S4_OBJECT(result);
  248|       |	}
  249|       |#endif
  250|  1.06M|    }
  251|  1.06M|    UNPROTECT(3);
  ------------------
  |  |  358|  1.06M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  252|  1.06M|    return result;
  253|  1.06M|}
subset.c:MatrixSubset:
  309|  9.64k|{
  310|  9.64k|    SEXP attr, result, sr, sc, dim;
  311|  9.64k|    int nr, nc, nrs, ncs;
  312|  9.64k|    R_xlen_t i, j, ii, jj, ij, iijj;
  313|       |
  314|  9.64k|    nr = nrows(x);
  ------------------
  |  | 1008|  9.64k|#define nrows			Rf_nrows
  ------------------
  315|  9.64k|    nc = ncols(x);
  ------------------
  |  | 1005|  9.64k|#define ncols			Rf_ncols
  ------------------
  316|       |
  317|       |    /* Note that "s" is protected on entry. */
  318|       |    /* The following ensures that pointers remain protected. */
  319|  9.64k|    dim = getAttrib(x, R_DimSymbol);
  ------------------
  |  |  924|  9.64k|#define getAttrib		Rf_getAttrib
  ------------------
  320|       |
  321|  9.64k|    sr = SETCAR (s, int_arraySubscript(0, CAR(s),  dim, x, call));
  322|  9.64k|    sc = SETCADR(s, int_arraySubscript(1, CADR(s), dim, x, call));
  323|  9.64k|    nrs = LENGTH(sr);
  324|  9.64k|    ncs = LENGTH(sc);
  325|       |    /* Check this does not overflow: currently only possible on 32-bit */
  326|  9.64k|    if ((double)nrs * (double)ncs > R_XLEN_T_MAX)
  ------------------
  |  |   76|  9.64k|# define R_XLEN_T_MAX 4503599627370496
  ------------------
  |  Branch (326:9): [True: 0, False: 9.64k]
  ------------------
  327|      0|	error(_("dimensions would exceed maximum size of array"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("dimensions would exceed maximum size of array"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  328|  9.64k|    PROTECT(sr);
  ------------------
  |  |  357|  9.64k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  329|  9.64k|    PROTECT(sc);
  ------------------
  |  |  357|  9.64k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  330|  9.64k|    result = allocVector(TYPEOF(x), (R_xlen_t) nrs * (R_xlen_t) ncs);
  ------------------
  |  |  875|  9.64k|#define allocVector		Rf_allocVector
  ------------------
  331|  9.64k|    const int *psr = INTEGER_RO(sr);
  332|  9.64k|    const int *psc = INTEGER_RO(sc);
  333|  9.64k|    PROTECT(result);
  ------------------
  |  |  357|  9.64k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  334|  9.64k|    switch(TYPEOF(x)) {
  335|      0|    case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (335:5): [True: 0, False: 9.64k]
  ------------------
  336|      0|	MATRIX_SUBSET_LOOP(LOGICAL0(result)[ij] = LOGICAL_ELT(x, iijj),
  ------------------
  |  |  282|      0|#define MATRIX_SUBSET_LOOP(STDCODE, NACODE) do {		\
  |  |  283|      0|	for (j = 0; j < ncs; j++) {				\
  |  |  ------------------
  |  |  |  Branch (283:14): [True: 0, False: 0]
  |  |  ------------------
  |  |  284|      0|	    jj = psc[j];					\
  |  |  285|      0|	    if (jj != NA_INTEGER) {				\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (285:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  286|      0|		if (jj < 1 || jj > nc)				\
  |  |  ------------------
  |  |  |  Branch (286:7): [True: 0, False: 0]
  |  |  |  Branch (286:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  287|      0|		    errorcallOutOfBounds(x, 0, jj, call);	\
  |  |  288|      0|		jj--;						\
  |  |  289|      0|	    }							\
  |  |  290|      0|	    for (i = 0; i < nrs; i++) {				\
  |  |  ------------------
  |  |  |  Branch (290:18): [True: 0, False: 0]
  |  |  ------------------
  |  |  291|      0|		ii = psr[i];					\
  |  |  292|      0|		if (ii != NA_INTEGER) {				\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (292:7): [True: 0, False: 0]
  |  |  ------------------
  |  |  293|      0|		    if (ii < 1 || ii > nr)			\
  |  |  ------------------
  |  |  |  Branch (293:11): [True: 0, False: 0]
  |  |  |  Branch (293:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  294|      0|			errorcallOutOfBounds(x, 1, ii, call);	\
  |  |  295|      0|		    ii--;					\
  |  |  296|      0|		}						\
  |  |  297|      0|		ij = i + j * nrs;				\
  |  |  298|      0|		if (ii == NA_INTEGER || jj == NA_INTEGER)	\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |               		if (ii == NA_INTEGER || jj == NA_INTEGER)	\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (298:7): [True: 0, False: 0]
  |  |  |  Branch (298:27): [True: 0, False: 0]
  |  |  ------------------
  |  |  299|      0|		    NACODE;					\
  |  |  300|      0|		else {						\
  |  |  301|      0|		    iijj = ii + jj * nr;			\
  |  |  302|      0|		    STDCODE;					\
  |  |  303|      0|		}						\
  |  |  304|      0|	    }							\
  |  |  305|      0|	}							\
  |  |  306|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (306:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  337|      0|			   LOGICAL0(result)[ij] = NA_LOGICAL);
  338|      0|	break;
  339|     18|    case INTSXP:
  ------------------
  |  |  123|     18|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (339:5): [True: 18, False: 9.62k]
  ------------------
  340|     18|	MATRIX_SUBSET_LOOP(INTEGER0(result)[ij] = INTEGER_ELT(x, iijj),
  ------------------
  |  |  282|     18|#define MATRIX_SUBSET_LOOP(STDCODE, NACODE) do {		\
  |  |  283|     36|	for (j = 0; j < ncs; j++) {				\
  |  |  ------------------
  |  |  |  Branch (283:14): [True: 18, False: 18]
  |  |  ------------------
  |  |  284|     18|	    jj = psc[j];					\
  |  |  285|     18|	    if (jj != NA_INTEGER) {				\
  |  |  ------------------
  |  |  |  |   56|     18|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (285:10): [True: 18, False: 0]
  |  |  ------------------
  |  |  286|     18|		if (jj < 1 || jj > nc)				\
  |  |  ------------------
  |  |  |  Branch (286:7): [True: 0, False: 18]
  |  |  |  Branch (286:17): [True: 0, False: 18]
  |  |  ------------------
  |  |  287|     18|		    errorcallOutOfBounds(x, 0, jj, call);	\
  |  |  288|     18|		jj--;						\
  |  |  289|     18|	    }							\
  |  |  290|     45|	    for (i = 0; i < nrs; i++) {				\
  |  |  ------------------
  |  |  |  Branch (290:18): [True: 27, False: 18]
  |  |  ------------------
  |  |  291|     27|		ii = psr[i];					\
  |  |  292|     27|		if (ii != NA_INTEGER) {				\
  |  |  ------------------
  |  |  |  |   56|     27|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (292:7): [True: 27, False: 0]
  |  |  ------------------
  |  |  293|     27|		    if (ii < 1 || ii > nr)			\
  |  |  ------------------
  |  |  |  Branch (293:11): [True: 0, False: 27]
  |  |  |  Branch (293:21): [True: 0, False: 27]
  |  |  ------------------
  |  |  294|     27|			errorcallOutOfBounds(x, 1, ii, call);	\
  |  |  295|     27|		    ii--;					\
  |  |  296|     27|		}						\
  |  |  297|     27|		ij = i + j * nrs;				\
  |  |  298|     27|		if (ii == NA_INTEGER || jj == NA_INTEGER)	\
  |  |  ------------------
  |  |  |  |   56|     54|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |               		if (ii == NA_INTEGER || jj == NA_INTEGER)	\
  |  |  ------------------
  |  |  |  |   56|     27|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (298:7): [True: 0, False: 27]
  |  |  |  Branch (298:27): [True: 0, False: 27]
  |  |  ------------------
  |  |  299|     27|		    NACODE;					\
  |  |  300|     27|		else {						\
  |  |  301|     27|		    iijj = ii + jj * nr;			\
  |  |  302|     27|		    STDCODE;					\
  |  |  303|     27|		}						\
  |  |  304|     27|	    }							\
  |  |  305|     18|	}							\
  |  |  306|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (306:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
  341|     18|			   INTEGER0(result)[ij] = NA_INTEGER);
  342|     18|	break;
  343|  7.21k|    case REALSXP:
  ------------------
  |  |  124|  7.21k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (343:5): [True: 7.21k, False: 2.43k]
  ------------------
  344|  7.21k|	MATRIX_SUBSET_LOOP(REAL0(result)[ij] = REAL_ELT(x, iijj),
  ------------------
  |  |  282|  7.21k|#define MATRIX_SUBSET_LOOP(STDCODE, NACODE) do {		\
  |  |  283|  60.4k|	for (j = 0; j < ncs; j++) {				\
  |  |  ------------------
  |  |  |  Branch (283:14): [True: 53.2k, False: 7.21k]
  |  |  ------------------
  |  |  284|  53.2k|	    jj = psc[j];					\
  |  |  285|  53.2k|	    if (jj != NA_INTEGER) {				\
  |  |  ------------------
  |  |  |  |   56|  53.2k|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (285:10): [True: 53.2k, False: 0]
  |  |  ------------------
  |  |  286|  53.2k|		if (jj < 1 || jj > nc)				\
  |  |  ------------------
  |  |  |  Branch (286:7): [True: 0, False: 53.2k]
  |  |  |  Branch (286:17): [True: 0, False: 53.2k]
  |  |  ------------------
  |  |  287|  53.2k|		    errorcallOutOfBounds(x, 0, jj, call);	\
  |  |  288|  53.2k|		jj--;						\
  |  |  289|  53.2k|	    }							\
  |  |  290|   609k|	    for (i = 0; i < nrs; i++) {				\
  |  |  ------------------
  |  |  |  Branch (290:18): [True: 556k, False: 53.2k]
  |  |  ------------------
  |  |  291|   556k|		ii = psr[i];					\
  |  |  292|   556k|		if (ii != NA_INTEGER) {				\
  |  |  ------------------
  |  |  |  |   56|   556k|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (292:7): [True: 556k, False: 0]
  |  |  ------------------
  |  |  293|   556k|		    if (ii < 1 || ii > nr)			\
  |  |  ------------------
  |  |  |  Branch (293:11): [True: 0, False: 556k]
  |  |  |  Branch (293:21): [True: 0, False: 556k]
  |  |  ------------------
  |  |  294|   556k|			errorcallOutOfBounds(x, 1, ii, call);	\
  |  |  295|   556k|		    ii--;					\
  |  |  296|   556k|		}						\
  |  |  297|   556k|		ij = i + j * nrs;				\
  |  |  298|   556k|		if (ii == NA_INTEGER || jj == NA_INTEGER)	\
  |  |  ------------------
  |  |  |  |   56|  1.11M|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |               		if (ii == NA_INTEGER || jj == NA_INTEGER)	\
  |  |  ------------------
  |  |  |  |   56|   556k|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (298:7): [True: 0, False: 556k]
  |  |  |  Branch (298:27): [True: 0, False: 556k]
  |  |  ------------------
  |  |  299|   556k|		    NACODE;					\
  |  |  300|   556k|		else {						\
  |  |  301|   556k|		    iijj = ii + jj * nr;			\
  |  |  302|   556k|		    STDCODE;					\
  |  |  303|   556k|		}						\
  |  |  304|   556k|	    }							\
  |  |  305|  53.2k|	}							\
  |  |  306|  7.21k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (306:14): [Folded, False: 7.21k]
  |  |  ------------------
  ------------------
  345|  7.21k|			   REAL0(result)[ij] = NA_REAL);
  346|  7.21k|	break;
  347|      0|    case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (347:5): [True: 0, False: 9.64k]
  ------------------
  348|      0|	{
  349|      0|	    Rcomplex NA_CPLX = { .r = NA_REAL, .i = NA_REAL };
  ------------------
  |  |   58|      0|#define NA_REAL		R_NaReal
  ------------------
              	    Rcomplex NA_CPLX = { .r = NA_REAL, .i = NA_REAL };
  ------------------
  |  |   58|      0|#define NA_REAL		R_NaReal
  ------------------
  350|      0|	    MATRIX_SUBSET_LOOP(COMPLEX0(result)[ij] = COMPLEX_ELT(x, iijj),
  ------------------
  |  |  282|      0|#define MATRIX_SUBSET_LOOP(STDCODE, NACODE) do {		\
  |  |  283|      0|	for (j = 0; j < ncs; j++) {				\
  |  |  ------------------
  |  |  |  Branch (283:14): [True: 0, False: 0]
  |  |  ------------------
  |  |  284|      0|	    jj = psc[j];					\
  |  |  285|      0|	    if (jj != NA_INTEGER) {				\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (285:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  286|      0|		if (jj < 1 || jj > nc)				\
  |  |  ------------------
  |  |  |  Branch (286:7): [True: 0, False: 0]
  |  |  |  Branch (286:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  287|      0|		    errorcallOutOfBounds(x, 0, jj, call);	\
  |  |  288|      0|		jj--;						\
  |  |  289|      0|	    }							\
  |  |  290|      0|	    for (i = 0; i < nrs; i++) {				\
  |  |  ------------------
  |  |  |  Branch (290:18): [True: 0, False: 0]
  |  |  ------------------
  |  |  291|      0|		ii = psr[i];					\
  |  |  292|      0|		if (ii != NA_INTEGER) {				\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (292:7): [True: 0, False: 0]
  |  |  ------------------
  |  |  293|      0|		    if (ii < 1 || ii > nr)			\
  |  |  ------------------
  |  |  |  Branch (293:11): [True: 0, False: 0]
  |  |  |  Branch (293:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  294|      0|			errorcallOutOfBounds(x, 1, ii, call);	\
  |  |  295|      0|		    ii--;					\
  |  |  296|      0|		}						\
  |  |  297|      0|		ij = i + j * nrs;				\
  |  |  298|      0|		if (ii == NA_INTEGER || jj == NA_INTEGER)	\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |               		if (ii == NA_INTEGER || jj == NA_INTEGER)	\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (298:7): [True: 0, False: 0]
  |  |  |  Branch (298:27): [True: 0, False: 0]
  |  |  ------------------
  |  |  299|      0|		    NACODE;					\
  |  |  300|      0|		else {						\
  |  |  301|      0|		    iijj = ii + jj * nr;			\
  |  |  302|      0|		    STDCODE;					\
  |  |  303|      0|		}						\
  |  |  304|      0|	    }							\
  |  |  305|      0|	}							\
  |  |  306|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (306:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  351|      0|			       COMPLEX0(result)[ij] = NA_CPLX);
  352|      0|	}
  353|      0|	break;
  354|  2.41k|    case STRSXP:
  ------------------
  |  |  126|  2.41k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (354:5): [True: 2.41k, False: 7.23k]
  ------------------
  355|  2.41k|	MATRIX_SUBSET_LOOP(SET_STRING_ELT(result, ij, STRING_ELT(x, iijj)),
  ------------------
  |  |  282|  2.41k|#define MATRIX_SUBSET_LOOP(STDCODE, NACODE) do {		\
  |  |  283|  4.96k|	for (j = 0; j < ncs; j++) {				\
  |  |  ------------------
  |  |  |  Branch (283:14): [True: 2.55k, False: 2.41k]
  |  |  ------------------
  |  |  284|  2.55k|	    jj = psc[j];					\
  |  |  285|  2.55k|	    if (jj != NA_INTEGER) {				\
  |  |  ------------------
  |  |  |  |   56|  2.55k|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (285:10): [True: 2.55k, False: 0]
  |  |  ------------------
  |  |  286|  2.55k|		if (jj < 1 || jj > nc)				\
  |  |  ------------------
  |  |  |  Branch (286:7): [True: 0, False: 2.55k]
  |  |  |  Branch (286:17): [True: 0, False: 2.55k]
  |  |  ------------------
  |  |  287|  2.55k|		    errorcallOutOfBounds(x, 0, jj, call);	\
  |  |  288|  2.55k|		jj--;						\
  |  |  289|  2.55k|	    }							\
  |  |  290|  34.4k|	    for (i = 0; i < nrs; i++) {				\
  |  |  ------------------
  |  |  |  Branch (290:18): [True: 31.8k, False: 2.55k]
  |  |  ------------------
  |  |  291|  31.8k|		ii = psr[i];					\
  |  |  292|  31.8k|		if (ii != NA_INTEGER) {				\
  |  |  ------------------
  |  |  |  |   56|  31.8k|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (292:7): [True: 31.8k, False: 0]
  |  |  ------------------
  |  |  293|  31.8k|		    if (ii < 1 || ii > nr)			\
  |  |  ------------------
  |  |  |  Branch (293:11): [True: 0, False: 31.8k]
  |  |  |  Branch (293:21): [True: 0, False: 31.8k]
  |  |  ------------------
  |  |  294|  31.8k|			errorcallOutOfBounds(x, 1, ii, call);	\
  |  |  295|  31.8k|		    ii--;					\
  |  |  296|  31.8k|		}						\
  |  |  297|  31.8k|		ij = i + j * nrs;				\
  |  |  298|  31.8k|		if (ii == NA_INTEGER || jj == NA_INTEGER)	\
  |  |  ------------------
  |  |  |  |   56|  63.7k|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |               		if (ii == NA_INTEGER || jj == NA_INTEGER)	\
  |  |  ------------------
  |  |  |  |   56|  31.8k|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (298:7): [True: 0, False: 31.8k]
  |  |  |  Branch (298:27): [True: 0, False: 31.8k]
  |  |  ------------------
  |  |  299|  31.8k|		    NACODE;					\
  |  |  300|  31.8k|		else {						\
  |  |  301|  31.8k|		    iijj = ii + jj * nr;			\
  |  |  302|  31.8k|		    STDCODE;					\
  |  |  303|  31.8k|		}						\
  |  |  304|  31.8k|	    }							\
  |  |  305|  2.55k|	}							\
  |  |  306|  2.41k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (306:14): [Folded, False: 2.41k]
  |  |  ------------------
  ------------------
  356|  2.41k|			   SET_STRING_ELT(result, ij, NA_STRING));
  357|  2.41k|	break;
  358|      0|    case VECSXP:
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (358:5): [True: 0, False: 9.64k]
  ------------------
  359|      0|    case EXPRSXP:
  ------------------
  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (359:5): [True: 0, False: 9.64k]
  ------------------
  360|      0|	MATRIX_SUBSET_LOOP(SET_VECTOR_ELT(result, ij,
  ------------------
  |  |  282|      0|#define MATRIX_SUBSET_LOOP(STDCODE, NACODE) do {		\
  |  |  283|      0|	for (j = 0; j < ncs; j++) {				\
  |  |  ------------------
  |  |  |  Branch (283:14): [True: 0, False: 0]
  |  |  ------------------
  |  |  284|      0|	    jj = psc[j];					\
  |  |  285|      0|	    if (jj != NA_INTEGER) {				\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (285:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  286|      0|		if (jj < 1 || jj > nc)				\
  |  |  ------------------
  |  |  |  Branch (286:7): [True: 0, False: 0]
  |  |  |  Branch (286:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  287|      0|		    errorcallOutOfBounds(x, 0, jj, call);	\
  |  |  288|      0|		jj--;						\
  |  |  289|      0|	    }							\
  |  |  290|      0|	    for (i = 0; i < nrs; i++) {				\
  |  |  ------------------
  |  |  |  Branch (290:18): [True: 0, False: 0]
  |  |  ------------------
  |  |  291|      0|		ii = psr[i];					\
  |  |  292|      0|		if (ii != NA_INTEGER) {				\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (292:7): [True: 0, False: 0]
  |  |  ------------------
  |  |  293|      0|		    if (ii < 1 || ii > nr)			\
  |  |  ------------------
  |  |  |  Branch (293:11): [True: 0, False: 0]
  |  |  |  Branch (293:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  294|      0|			errorcallOutOfBounds(x, 1, ii, call);	\
  |  |  295|      0|		    ii--;					\
  |  |  296|      0|		}						\
  |  |  297|      0|		ij = i + j * nrs;				\
  |  |  298|      0|		if (ii == NA_INTEGER || jj == NA_INTEGER)	\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |               		if (ii == NA_INTEGER || jj == NA_INTEGER)	\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (298:7): [True: 0, False: 0]
  |  |  |  Branch (298:27): [True: 0, False: 0]
  |  |  ------------------
  |  |  299|      0|		    NACODE;					\
  |  |  300|      0|		else {						\
  |  |  301|      0|		    iijj = ii + jj * nr;			\
  |  |  302|      0|		    STDCODE;					\
  |  |  303|      0|		}						\
  |  |  304|      0|	    }							\
  |  |  305|      0|	}							\
  |  |  306|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (306:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  361|      0|					  VECTOR_ELT_FIX_NAMED(x, iijj)),
  362|      0|			   SET_VECTOR_ELT(result, ij, R_NilValue));
  363|      0|	break;
  364|      0|    case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (364:5): [True: 0, False: 9.64k]
  ------------------
  365|      0|	MATRIX_SUBSET_LOOP(RAW0(result)[ij] = RAW_ELT(x, iijj),
  ------------------
  |  |  282|      0|#define MATRIX_SUBSET_LOOP(STDCODE, NACODE) do {		\
  |  |  283|      0|	for (j = 0; j < ncs; j++) {				\
  |  |  ------------------
  |  |  |  Branch (283:14): [True: 0, False: 0]
  |  |  ------------------
  |  |  284|      0|	    jj = psc[j];					\
  |  |  285|      0|	    if (jj != NA_INTEGER) {				\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (285:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  286|      0|		if (jj < 1 || jj > nc)				\
  |  |  ------------------
  |  |  |  Branch (286:7): [True: 0, False: 0]
  |  |  |  Branch (286:17): [True: 0, False: 0]
  |  |  ------------------
  |  |  287|      0|		    errorcallOutOfBounds(x, 0, jj, call);	\
  |  |  288|      0|		jj--;						\
  |  |  289|      0|	    }							\
  |  |  290|      0|	    for (i = 0; i < nrs; i++) {				\
  |  |  ------------------
  |  |  |  Branch (290:18): [True: 0, False: 0]
  |  |  ------------------
  |  |  291|      0|		ii = psr[i];					\
  |  |  292|      0|		if (ii != NA_INTEGER) {				\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (292:7): [True: 0, False: 0]
  |  |  ------------------
  |  |  293|      0|		    if (ii < 1 || ii > nr)			\
  |  |  ------------------
  |  |  |  Branch (293:11): [True: 0, False: 0]
  |  |  |  Branch (293:21): [True: 0, False: 0]
  |  |  ------------------
  |  |  294|      0|			errorcallOutOfBounds(x, 1, ii, call);	\
  |  |  295|      0|		    ii--;					\
  |  |  296|      0|		}						\
  |  |  297|      0|		ij = i + j * nrs;				\
  |  |  298|      0|		if (ii == NA_INTEGER || jj == NA_INTEGER)	\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |               		if (ii == NA_INTEGER || jj == NA_INTEGER)	\
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |  |  Branch (298:7): [True: 0, False: 0]
  |  |  |  Branch (298:27): [True: 0, False: 0]
  |  |  ------------------
  |  |  299|      0|		    NACODE;					\
  |  |  300|      0|		else {						\
  |  |  301|      0|		    iijj = ii + jj * nr;			\
  |  |  302|      0|		    STDCODE;					\
  |  |  303|      0|		}						\
  |  |  304|      0|	    }							\
  |  |  305|      0|	}							\
  |  |  306|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (306:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  366|      0|			   RAW0(result)[ij] = (Rbyte) 0);
  367|      0|	break;
  368|      0|    default:
  ------------------
  |  Branch (368:5): [True: 0, False: 9.64k]
  ------------------
  369|      0|	errorcall(call, _("matrix subscripting not handled for this type"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("matrix subscripting not handled for this type"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  370|      0|	break;
  371|  9.64k|    }
  372|       |
  373|  9.64k|    if(nrs >= 0 && ncs >= 0) {
  ------------------
  |  Branch (373:8): [True: 9.64k, False: 0]
  |  Branch (373:20): [True: 9.64k, False: 0]
  ------------------
  374|  9.64k|	PROTECT(attr = allocVector(INTSXP, 2));
  ------------------
  |  |  357|  9.64k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  375|  9.64k|	INTEGER0(attr)[0] = nrs;
  376|  9.64k|	INTEGER0(attr)[1] = ncs;
  377|  9.64k|	if(!isNull(getAttrib(dim, R_NamesSymbol)))
  ------------------
  |  |  956|  9.64k|#define isNull			Rf_isNull
  ------------------
              	if(!isNull(getAttrib(dim, R_NamesSymbol)))
  ------------------
  |  |  924|  9.64k|#define getAttrib		Rf_getAttrib
  ------------------
  |  Branch (377:5): [True: 0, False: 9.64k]
  ------------------
  378|      0|	    setAttrib(attr, R_NamesSymbol, getAttrib(dim, R_NamesSymbol));
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
              	    setAttrib(attr, R_NamesSymbol, getAttrib(dim, R_NamesSymbol));
  ------------------
  |  |  924|      0|#define getAttrib		Rf_getAttrib
  ------------------
  379|  9.64k|	setAttrib(result, R_DimSymbol, attr);
  ------------------
  |  | 1027|  9.64k|#define setAttrib		Rf_setAttrib
  ------------------
  380|  9.64k|	UNPROTECT(1);
  ------------------
  |  |  358|  9.64k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  381|  9.64k|    }
  382|       |
  383|       |    /* The matrix elements have been transferred.  Now we need to */
  384|       |    /* transfer the attributes.	 Most importantly, we need to subset */
  385|       |    /* the dimnames of the returned value. */
  386|       |
  387|  9.64k|    if (nrs >= 0 && ncs >= 0) {
  ------------------
  |  Branch (387:9): [True: 9.64k, False: 0]
  |  Branch (387:21): [True: 9.64k, False: 0]
  ------------------
  388|  9.64k|	SEXP dimnames, dimnamesnames, newdimnames;
  389|  9.64k|	dimnames = getAttrib(x, R_DimNamesSymbol);
  ------------------
  |  |  924|  9.64k|#define getAttrib		Rf_getAttrib
  ------------------
  390|  9.64k|	PROTECT(dimnamesnames = getAttrib(dimnames, R_NamesSymbol));
  ------------------
  |  |  357|  9.64k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  391|  9.64k|	if (!isNull(dimnames)) {
  ------------------
  |  |  956|  9.64k|#define isNull			Rf_isNull
  ------------------
  |  Branch (391:6): [True: 5.79k, False: 3.84k]
  ------------------
  392|  5.79k|	    PROTECT(newdimnames = allocVector(VECSXP, 2));
  ------------------
  |  |  357|  5.79k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  393|  5.79k|	    if (TYPEOF(dimnames) == VECSXP) {
  ------------------
  |  |  131|  5.79k|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (393:10): [True: 5.79k, False: 0]
  ------------------
  394|  5.79k|	      SET_VECTOR_ELT(newdimnames, 0,
  395|  5.79k|		    ExtractSubset(VECTOR_ELT(dimnames, 0), sr, call));
  ------------------
  |  |  914|  5.79k|#define ExtractSubset		Rf_ExtractSubset
  ------------------
  396|  5.79k|	      SET_VECTOR_ELT(newdimnames, 1,
  397|  5.79k|		    ExtractSubset(VECTOR_ELT(dimnames, 1), sc, call));
  ------------------
  |  |  914|  5.79k|#define ExtractSubset		Rf_ExtractSubset
  ------------------
  398|  5.79k|	    }
  399|      0|	    else {
  400|      0|	      SET_VECTOR_ELT(newdimnames, 0,
  401|      0|		    ExtractSubset(CAR(dimnames), sr, call));
  ------------------
  |  |  914|      0|#define ExtractSubset		Rf_ExtractSubset
  ------------------
  402|      0|	      SET_VECTOR_ELT(newdimnames, 1,
  403|      0|		    ExtractSubset(CADR(dimnames), sc, call));
  ------------------
  |  |  914|      0|#define ExtractSubset		Rf_ExtractSubset
  ------------------
  404|      0|	    }
  405|  5.79k|	    setAttrib(newdimnames, R_NamesSymbol, dimnamesnames);
  ------------------
  |  | 1027|  5.79k|#define setAttrib		Rf_setAttrib
  ------------------
  406|  5.79k|	    setAttrib(result, R_DimNamesSymbol, newdimnames);
  ------------------
  |  | 1027|  5.79k|#define setAttrib		Rf_setAttrib
  ------------------
  407|  5.79k|	    UNPROTECT(1); /* newdimnames */
  ------------------
  |  |  358|  5.79k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  408|  5.79k|	}
  409|  9.64k|	UNPROTECT(1); /* dimnamesnames */
  ------------------
  |  |  358|  9.64k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  410|  9.64k|    }
  411|       |    /*  Probably should not do this:
  412|       |    copyMostAttrib(x, result); */
  413|  9.64k|    if (drop)
  ------------------
  |  Branch (413:9): [True: 9.60k, False: 40]
  ------------------
  414|  9.60k|	DropDims(result);
  ------------------
  |  |  908|  9.60k|#define DropDims                Rf_DropDims
  ------------------
  415|  9.64k|    UNPROTECT(3);
  ------------------
  |  |  358|  9.64k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  416|  9.64k|    return result;
  417|  9.64k|}
subset.c:ExtractExactArg:
  641|  21.4k|{
  642|  21.4k|    SEXP argval = ExtractArg(args, R_ExactSymbol);
  643|  21.4k|    if(isNull(argval)) return 1; /* Default is true as from R 2.7.0 */
  ------------------
  |  |  956|  21.4k|#define isNull			Rf_isNull
  ------------------
  |  Branch (643:8): [True: 19.8k, False: 1.62k]
  ------------------
  644|  1.62k|    int exact = asLogical(argval);
  ------------------
  |  |  886|  1.62k|#define asLogical		Rf_asLogical
  ------------------
  645|  1.62k|    if (exact == NA_LOGICAL) exact = -1;
  ------------------
  |  |   55|  1.62k|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (645:9): [True: 0, False: 1.62k]
  ------------------
  646|  1.62k|    return exact;
  647|  21.4k|}
subset.c:pstrmatch:
 1181|  39.0k|{
 1182|  39.0k|    const char *st = "";
 1183|  39.0k|    const char *si = "";
 1184|  39.0k|    const void *vmax = vmaxget();
 1185|       |
 1186|  39.0k|    if(target == R_NilValue)
  ------------------
  |  Branch (1186:8): [True: 966, False: 38.1k]
  ------------------
 1187|    966|	return NO_MATCH;
 1188|       |
 1189|  38.1k|    switch (TYPEOF(target)) {
  ------------------
  |  Branch (1189:13): [True: 38.1k, False: 0]
  ------------------
 1190|    966|    case SYMSXP:
  ------------------
  |  |  112|    966|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (1190:5): [True: 966, False: 37.1k]
  ------------------
 1191|    966|	st = CHAR(PRINTNAME(target));
  ------------------
  |  |  203|    966|#define CHAR(x) R_CHAR(x)
  ------------------
 1192|    966|	break;
 1193|  37.1k|    case CHARSXP:
  ------------------
  |  |  120|  37.1k|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  ------------------
  |  Branch (1193:5): [True: 37.1k, False: 966]
  ------------------
 1194|  37.1k|	st = translateChar(target);
  ------------------
  |  | 1037|  37.1k|#define translateChar		Rf_translateChar
  ------------------
 1195|  37.1k|	break;
 1196|  38.1k|    }
 1197|  38.1k|    si = translateChar(input);
  ------------------
  |  | 1037|  38.1k|#define translateChar		Rf_translateChar
  ------------------
 1198|  38.1k|    if(si[0] != '\0' && strncmp(st, si, slen) == 0) {
  ------------------
  |  Branch (1198:8): [True: 38.1k, False: 0]
  |  Branch (1198:25): [True: 16.5k, False: 21.5k]
  ------------------
 1199|  16.5k|	vmaxset(vmax);
 1200|  16.5k|	return (strlen(st) == slen) ?  EXACT_MATCH : PARTIAL_MATCH;
  ------------------
  |  Branch (1200:9): [True: 16.5k, False: 0]
  ------------------
 1201|  21.5k|    } else {
 1202|  21.5k|	vmaxset(vmax);
 1203|  21.5k|	return NO_MATCH;
 1204|  21.5k|    }
 1205|  38.1k|}

fixup_NaRm:
  411|  2.12M|{
  412|       |    /* Need to make sure na.rm is last and exists */
  413|  2.12M|    SEXP na_value = ScalarLogical(FALSE);
  ------------------
  |  | 1023|  2.12M|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  414|  2.12M|    bool seen_NaRm = false;
  415|  4.24M|    for(SEXP a = args, prev = R_NilValue; a != R_NilValue; a = CDR(a)) {
  ------------------
  |  Branch (415:43): [True: 2.12M, False: 2.12M]
  ------------------
  416|  2.12M|	if(TAG(a) == R_NaRmSymbol) {
  ------------------
  |  Branch (416:5): [True: 177, False: 2.12M]
  ------------------
  417|    177|	    if(seen_NaRm)
  ------------------
  |  Branch (417:9): [True: 0, False: 177]
  ------------------
  418|      0|	        error(_("formal argument \"%s\" matched by multiple actual arguments"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	        error(_("formal argument \"%s\" matched by multiple actual arguments"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  419|      0|		      "na.rm");
  420|    177|	    seen_NaRm = true;
  421|    177|	    if(CDR(a) == R_NilValue) return args;
  ------------------
  |  Branch (421:9): [True: 177, False: 0]
  ------------------
  422|      0|	    na_value = CAR(a);
  423|      0|	    if(prev == R_NilValue) args = CDR(a);
  ------------------
  |  Branch (423:9): [True: 0, False: 0]
  ------------------
  424|      0|	    else SETCDR(prev, CDR(a));
  425|      0|	}
  426|  2.12M|	prev = a;
  427|  2.12M|    }
  428|       |
  429|  2.12M|    PROTECT(na_value);
  ------------------
  |  |  357|  2.12M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  430|  2.12M|    SEXP t = CONS(na_value, R_NilValue);
  ------------------
  |  |  309|  2.12M|#define CONS(a, b)	Rf_cons((a), (b))		/* data lists */
  ------------------
  431|  2.12M|    UNPROTECT(1);
  ------------------
  |  |  358|  2.12M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  432|  2.12M|    PROTECT(t);
  ------------------
  |  |  357|  2.12M|#define PROTECT(s)	Rf_protect(s)
  ------------------
  433|  2.12M|    SET_TAG(t, R_NaRmSymbol);
  434|  2.12M|    if (args == R_NilValue)
  ------------------
  |  Branch (434:9): [True: 0, False: 2.12M]
  ------------------
  435|      0|	args = t;
  436|  2.12M|    else {
  437|  2.12M|	SEXP r = args;
  438|  2.12M|	while (CDR(r) != R_NilValue) r = CDR(r);
  ------------------
  |  Branch (438:9): [True: 327, False: 2.12M]
  ------------------
  439|  2.12M|	SETCDR(r, t);
  440|  2.12M|    }
  441|  2.12M|    UNPROTECT(1);
  ------------------
  |  |  358|  2.12M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  442|  2.12M|    return args;
  443|  2.12M|}
do_summary:
  545|  2.39k|{
  546|  2.39k|    checkArity(op, args);
  ------------------
  |  | 1793|  2.39k|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  547|  2.39k|    if(PRIMVAL(op) == 1) { /* mean */
  ------------------
  |  | 1347|  2.39k|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (547:8): [True: 0, False: 2.39k]
  ------------------
  548|      0|	SEXP x = CAR(args);
  549|      0|	switch(TYPEOF(x)) {
  550|      0|	case LGLSXP:  return logical_mean(x);
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (550:2): [True: 0, False: 0]
  ------------------
  551|      0|	case INTSXP:  return integer_mean(x);
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (551:2): [True: 0, False: 0]
  ------------------
  552|      0|	case REALSXP: return real_mean(x);
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (552:2): [True: 0, False: 0]
  ------------------
  553|      0|	case CPLXSXP: return complex_mean(x);
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (553:2): [True: 0, False: 0]
  ------------------
  554|      0|	default:
  ------------------
  |  Branch (554:2): [True: 0, False: 0]
  ------------------
  555|      0|	    error(R_MSG_type, R_typeToChar(x));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(R_MSG_type, R_typeToChar(x));
  ------------------
  |  |   33|      0|#define R_MSG_type	_("invalid 'type' (%s) of argument")
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  ------------------
  556|      0|	    return R_NilValue; // -Wall on clang 4.2
  557|      0|	}
  558|      0|    }
  559|       |
  560|  2.39k|    SEXP ans, call2;
  561|       |    /* match to foo(..., na.rm=FALSE) */
  562|  2.39k|    PROTECT(args = fixup_NaRm(args));
  ------------------
  |  |  357|  2.39k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  563|  2.39k|    PROTECT(call2 = shallow_duplicate(call));
  ------------------
  |  |  357|  2.39k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  564|  2.39k|    R_args_enable_refcnt(args);
  565|  2.39k|    SETCDR(call2, args);
  566|       |
  567|  2.39k|    if (DispatchGroup("Summary", call2, op, args, env, &ans)) {
  ------------------
  |  | 1891|  2.39k|# define DispatchGroup		Rf_DispatchGroup
  ------------------
  |  Branch (567:9): [True: 0, False: 2.39k]
  ------------------
  568|      0|	UNPROTECT(2); /* call2, args */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  569|      0|	SETCDR(call2, R_NilValue); /* clear refcnt on args */
  570|      0|	R_try_clear_args_refcnt(args);
  571|      0|	return(ans);
  572|      0|    }
  573|  2.39k|    UNPROTECT(1); /* call2 */
  ------------------
  |  |  358|  2.39k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  574|  2.39k|    SETCDR(call2, R_NilValue); /* clear refcnt on args */
  575|  2.39k|    R_try_clear_args_refcnt(args);
  576|       |
  577|       |#ifdef DEBUG_Summary
  578|       |    REprintf("C do_summary(op%s, *): did NOT dispatch\n", PRIMNAME(op));
  579|       |#endif
  580|       |
  581|  2.39k|    ans = matchArgExact(R_NaRmSymbol, &args);
  ------------------
  |  | 1950|  2.39k|# define matchArgExact		Rf_matchArgExact
  ------------------
  582|  2.39k|    bool narm = asBool2(ans, call);
  ------------------
  |  | 1865|  2.39k|# define asBool2	       	Rf_asBool2
  ------------------
  583|       |
  584|  2.39k|    if (ALTREP(CAR(args)) && CDDR(args) == R_NilValue &&
  ------------------
  |  Branch (584:9): [True: 0, False: 2.39k]
  |  Branch (584:30): [True: 0, False: 0]
  ------------------
  585|      0|	(CDR(args) == R_NilValue || TAG(CDR(args)) == R_NaRmSymbol)) {
  ------------------
  |  Branch (585:3): [True: 0, False: 0]
  |  Branch (585:30): [True: 0, False: 0]
  ------------------
  586|      0|	SEXP toret = NULL;
  587|      0|	SEXP vec = CAR(args);
  588|      0|	switch(PRIMVAL(op)) {
  ------------------
  |  | 1347|      0|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  589|      0|	case 0:
  ------------------
  |  Branch (589:2): [True: 0, False: 0]
  ------------------
  590|      0|	    if(TYPEOF(vec) == INTSXP) 
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (590:9): [True: 0, False: 0]
  ------------------
  591|      0|		toret = ALTINTEGER_SUM(vec, narm);
  592|      0|	    else if (TYPEOF(vec) == REALSXP)
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (592:15): [True: 0, False: 0]
  ------------------
  593|      0|		toret = ALTREAL_SUM(vec, narm);
  594|      0|	    break; 
  595|      0|	case 2:
  ------------------
  |  Branch (595:2): [True: 0, False: 0]
  ------------------
  596|      0|	    if(TYPEOF(vec) == INTSXP) 
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (596:9): [True: 0, False: 0]
  ------------------
  597|      0|		toret = ALTINTEGER_MIN(vec, narm);
  598|      0|	    else if (TYPEOF(vec) == REALSXP)
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (598:15): [True: 0, False: 0]
  ------------------
  599|      0|		toret = ALTREAL_MIN(vec, narm);
  600|      0|	    break;
  601|      0|	case 3:
  ------------------
  |  Branch (601:2): [True: 0, False: 0]
  ------------------
  602|      0|	    if(TYPEOF(vec) == INTSXP) 
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (602:9): [True: 0, False: 0]
  ------------------
  603|      0|		toret = ALTINTEGER_MAX(vec, narm);
  604|      0|	    else if (TYPEOF(vec) == REALSXP)
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (604:15): [True: 0, False: 0]
  ------------------
  605|      0|		toret = ALTREAL_MAX(vec, narm);
  606|      0|	    break;
  607|      0|	default:
  ------------------
  |  Branch (607:2): [True: 0, False: 0]
  ------------------
  608|      0|	    break;
  609|      0|	}
  610|      0|	if(toret != NULL) {
  ------------------
  |  Branch (610:5): [True: 0, False: 0]
  ------------------
  611|      0|	    UNPROTECT(1); /* args */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  612|      0|	    return toret;
  613|      0|	}
  614|      0|    }
  615|       |
  616|  2.39k|    bool int_a, real_a, complex_a,
  617|  2.39k|	empty = true;// <==> only zero-length arguments, or NA with na.rm=T
  618|  2.39k|    int updated = 0; //
  619|       |	/* updated = NA_INTEGER if encountered NA,
  620|       |	   updated != 0 , as soon as (i)tmp (do_summary),
  621|       |	   or *value ([ir]min / max) is assigned;  */
  622|  2.39k|    SEXP a;
  623|  2.39k|    double tmp = 0.0, s;
  624|  2.39k|    Rcomplex ztmp, zcum={.r = 0.0, .i = 0.0} /* -Wall */;
  625|  2.39k|    int itmp = 0, icum = 0, warn = 0 /* dummy */;
  626|  2.39k|    bool use_isum = true; // indicating if isum() should used; otherwise irsum()
  627|  2.39k|    isum_INT iLtmp = (isum_INT)0, iLcum = iLtmp; // for isum() only
  ------------------
  |  |   51|  2.39k|# define isum_INT LONG_INT
  |  |  ------------------
  |  |  |  | 2592|  2.39k|# define LONG_INT int64_t
  |  |  ------------------
  ------------------
  628|  2.39k|    SEXPTYPE ans_type;/* only INTEGER, REAL, COMPLEX or STRSXP here */
  629|       |
  630|  2.39k|    int iop = PRIMVAL(op);
  ------------------
  |  | 1347|  2.39k|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  631|  2.39k|    switch(iop) {
  632|  1.24k|    case 0:/* sum */
  ------------------
  |  Branch (632:5): [True: 1.24k, False: 1.14k]
  ------------------
  633|       |    /* we need to find out if _all_ the arguments are integer or logical
  634|       |       in advance, as we might overflow before we find out.  NULL is
  635|       |       documented to be the same as integer(0).
  636|       |    */
  637|  1.24k|	a = args;
  638|  1.24k|        complex_a = real_a = false;
  639|  2.48k|	while (a != R_NilValue) {
  ------------------
  |  Branch (639:9): [True: 1.24k, False: 1.24k]
  ------------------
  640|  1.24k|            switch(TYPEOF(CAR(a))) {
  641|      0|	    case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (641:6): [True: 0, False: 1.24k]
  ------------------
  642|      2|	    case LGLSXP:
  ------------------
  |  |  121|      2|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (642:6): [True: 2, False: 1.24k]
  ------------------
  643|      2|	    case NILSXP:
  ------------------
  |  |  111|      2|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (643:6): [True: 0, False: 1.24k]
  ------------------
  644|      2|		break;
  645|  1.24k|	    case REALSXP:
  ------------------
  |  |  124|  1.24k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (645:6): [True: 1.24k, False: 2]
  ------------------
  646|  1.24k|		real_a = true;
  647|  1.24k|		break;
  648|      0|	    case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (648:6): [True: 0, False: 1.24k]
  ------------------
  649|      0|		complex_a = true;
  650|      0|		break;
  651|      0|	    default:
  ------------------
  |  Branch (651:6): [True: 0, False: 1.24k]
  ------------------
  652|      0|		a = CAR(a); goto invalid_type;
  653|  1.24k|            }
  654|  1.24k|	    a = CDR(a);
  655|  1.24k|	}
  656|  1.24k|        if(complex_a) {
  ------------------
  |  Branch (656:12): [True: 0, False: 1.24k]
  ------------------
  657|      0|            ans_type = CPLXSXP;
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  658|  1.24k|        } else if(real_a) {
  ------------------
  |  Branch (658:19): [True: 1.24k, False: 2]
  ------------------
  659|  1.24k|            ans_type = REALSXP;
  ------------------
  |  |  124|  1.24k|#define REALSXP	    14	  /* real variables */
  ------------------
  660|  1.24k|        } else {
  661|      2|            ans_type = INTSXP; iLcum = (isum_INT)0;
  ------------------
  |  |  123|      2|#define INTSXP	    13	  /* integer vectors */
  ------------------
  662|      2|        }
  663|  1.24k|	DbgP3("do_summary: sum(.. na.rm=%d): ans_type = %s\n",
  664|  1.24k|	      narm, type2char(ans_type));
  665|  1.24k|	zcum.r = zcum.i = 0.; icum = 0;
  666|  1.24k|	break;
  667|       |
  668|      0|    case 2:/* min */
  ------------------
  |  Branch (668:5): [True: 0, False: 2.39k]
  ------------------
  669|      0|	DbgP2("do_summary: min(.. na.rm=%d) ", narm);
  670|      0|	ans_type = INTSXP;
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  671|      0|	zcum.r = R_PosInf;
  672|      0|	icum = INT_MAX;
  673|      0|	break;
  674|       |
  675|    504|    case 3:/* max */
  ------------------
  |  Branch (675:5): [True: 504, False: 1.88k]
  ------------------
  676|    504|	DbgP2("do_summary: max(.. na.rm=%d) ", narm);
  677|    504|	ans_type = INTSXP;
  ------------------
  |  |  123|    504|#define INTSXP	    13	  /* integer vectors */
  ------------------
  678|    504|	zcum.r = R_NegInf;;
  679|    504|	icum = R_INT_MIN;
  ------------------
  |  |   36|    504|#define R_INT_MIN	(1+INT_MIN)
  ------------------
  680|    504|	break;
  681|       |
  682|    644|    case 4:/* prod */
  ------------------
  |  Branch (682:5): [True: 644, False: 1.74k]
  ------------------
  683|    644|	ans_type = REALSXP;
  ------------------
  |  |  124|    644|#define REALSXP	    14	  /* real variables */
  ------------------
  684|    644|	zcum.r = 1.;
  685|    644|	zcum.i = 0.;
  686|    644|	break;
  687|       |
  688|      0|    default:
  ------------------
  |  Branch (688:5): [True: 0, False: 2.39k]
  ------------------
  689|      0|	errorcall(call,
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
  690|      0|		  _("internal error ('op = %d' in do_summary).\t Call a Guru"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  691|      0|		  iop);
  692|      0|	return R_NilValue;/*-Wall */
  693|  2.39k|    }
  694|       |
  695|  2.39k|    SEXP stmp = NA_STRING,
  ------------------
  |  |  433|  2.39k|#define NA_STRING	R_NaString
  ------------------
  696|  2.39k|	 scum = PROTECT(NA_STRING);
  ------------------
  |  |  357|  2.39k|#define PROTECT(s)	Rf_protect(s)
  ------------------
  697|       |    /*-- now loop over all arguments.  Do the 'op' switch INSIDE : */
  698|  5.28k|    while (args != R_NilValue) {
  ------------------
  |  Branch (698:12): [True: 2.89k, False: 2.39k]
  ------------------
  699|  2.89k|	a = CAR(args);
  700|  2.89k|	int_a = false;// int_a = true  <-->  a is INTEGER
  701|  2.89k|	real_a = false;
  702|       |
  703|  2.89k|	if(xlength(a) > 0) {
  ------------------
  |  | 1049|  2.89k|#define xlength(x)		Rf_xlength(x)
  ------------------
  |  Branch (703:5): [True: 2.89k, False: 0]
  ------------------
  704|  2.89k|	    updated = 0;/*- GLOBAL -*/
  705|       |
  706|  2.89k|	    switch(iop) {
  ------------------
  |  Branch (706:13): [True: 2.89k, False: 0]
  ------------------
  707|      0|	    case 2:/* min */
  ------------------
  |  Branch (707:6): [True: 0, False: 2.89k]
  ------------------
  708|  1.00k|	    case 3:/* max */
  ------------------
  |  Branch (708:6): [True: 1.00k, False: 1.88k]
  ------------------
  709|       |
  710|  1.00k|		switch(TYPEOF(a)) {
  711|      0|		case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (711:3): [True: 0, False: 1.00k]
  ------------------
  712|    652|		case INTSXP:
  ------------------
  |  |  123|    652|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (712:3): [True: 652, False: 356]
  ------------------
  713|    652|		    int_a = true;
  714|    652|		    if (iop == 2) updated = imin(a, &itmp, narm);
  ------------------
  |  Branch (714:11): [True: 0, False: 652]
  ------------------
  715|    652|		    else	  updated = imax(a, &itmp, narm);
  716|    652|		    break;
  717|    356|		case REALSXP:
  ------------------
  |  |  124|    356|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (717:3): [True: 356, False: 652]
  ------------------
  718|    356|		    real_a = true;
  719|    356|		    if(ans_type == INTSXP) {/* change to REAL */
  ------------------
  |  |  123|    356|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (719:10): [True: 179, False: 177]
  ------------------
  720|    179|			ans_type = REALSXP;
  ------------------
  |  |  124|    179|#define REALSXP	    14	  /* real variables */
  ------------------
  721|    179|			if(!empty) zcum.r = Int2Real(icum);
  ------------------
  |  |   38|      2|#define Int2Real(i)	((i == NA_INTEGER) ? NA_REAL : (double)i)
  |  |  ------------------
  |  |  |  |   56|      2|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |               #define Int2Real(i)	((i == NA_INTEGER) ? NA_REAL : (double)i)
  |  |  ------------------
  |  |  |  |   58|      0|#define NA_REAL		R_NaReal
  |  |  ------------------
  |  |  |  Branch (38:22): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (721:7): [True: 2, False: 177]
  ------------------
  722|    179|		    }
  723|    356|		    if (iop == 2) updated = rmin(a, &tmp, narm);
  ------------------
  |  Branch (723:11): [True: 0, False: 356]
  ------------------
  724|    356|		    else	  updated = rmax(a, &tmp, narm);
  725|    356|		    break;
  726|      0|		case STRSXP:
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (726:3): [True: 0, False: 1.00k]
  ------------------
  727|      0|		    if(!empty && ans_type == INTSXP) {
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (727:10): [True: 0, False: 0]
  |  Branch (727:20): [True: 0, False: 0]
  ------------------
  728|      0|			scum = StringFromInteger(icum, &warn);
  ------------------
  |  | 1995|      0|# define StringFromInteger	Rf_StringFromInteger
  ------------------
  729|      0|			UNPROTECT(1); /* scum */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  730|      0|			PROTECT(scum);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  731|      0|		    } else if(!empty && ans_type == REALSXP) {
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (731:17): [True: 0, False: 0]
  |  Branch (731:27): [True: 0, False: 0]
  ------------------
  732|      0|			scum = StringFromReal(zcum.r, &warn);
  ------------------
  |  | 1997|      0|# define StringFromReal		Rf_StringFromReal
  ------------------
  733|      0|			UNPROTECT(1); /* scum */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  734|      0|			PROTECT(scum);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  735|      0|		    }
  736|      0|		    ans_type = STRSXP;
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  737|      0|		    if (iop == 2) updated = smin(a, &stmp, narm);
  ------------------
  |  Branch (737:11): [True: 0, False: 0]
  ------------------
  738|      0|		    else updated = smax(a, &stmp, narm);
  739|      0|		    break;
  740|      0|		default:
  ------------------
  |  Branch (740:3): [True: 0, False: 1.00k]
  ------------------
  741|      0|		    goto invalid_type;
  742|  1.00k|		}
  743|       |
  744|  1.00k|		if(updated) {/* 'a' had non-NA elements; --> "add" tmp or itmp*/
  ------------------
  |  Branch (744:6): [True: 978, False: 30]
  ------------------
  745|    978|		    DbgP1(" updated:");
  746|    978|		    if(ans_type == INTSXP) {
  ------------------
  |  |  123|    978|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (746:10): [True: 652, False: 326]
  ------------------
  747|    652|			DbgP3(" INT: (old)icum= %ld, itmp=%ld\n", icum,itmp);
  748|    652|			if (icum == NA_INTEGER); /* NA trumps anything */
  ------------------
  |  |   56|    652|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (748:8): [True: 0, False: 652]
  ------------------
  749|    652|			else if (itmp == NA_INTEGER ||
  ------------------
  |  |   56|  1.30k|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (749:13): [True: 0, False: 652]
  ------------------
  750|    652|			    (iop == 2 && itmp < icum) || /* min */
  ------------------
  |  Branch (750:9): [True: 0, False: 652]
  |  Branch (750:21): [True: 0, False: 0]
  ------------------
  751|    652|			    (iop == 3 && itmp > icum))   /* max */
  ------------------
  |  Branch (751:9): [True: 652, False: 0]
  |  Branch (751:21): [True: 518, False: 134]
  ------------------
  752|    518|			    icum = itmp;
  753|    652|		    } else if(ans_type == REALSXP) {
  ------------------
  |  |  124|    326|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (753:17): [True: 326, False: 0]
  ------------------
  754|    326|			if (int_a) tmp = Int2Real(itmp);
  ------------------
  |  |   38|      0|#define Int2Real(i)	((i == NA_INTEGER) ? NA_REAL : (double)i)
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |               #define Int2Real(i)	((i == NA_INTEGER) ? NA_REAL : (double)i)
  |  |  ------------------
  |  |  |  |   58|      0|#define NA_REAL		R_NaReal
  |  |  ------------------
  |  |  |  Branch (38:22): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (754:8): [True: 0, False: 326]
  ------------------
  755|    326|			DbgP3(" REAL: (old)cum= %g, tmp=%g\n", zcum.r,tmp);
  756|    326|			if (ISNA(zcum.r)); /* NA trumps anything */
  ------------------
  |  |   64|    326|#define ISNA(x)	       R_IsNA(x)
  |  |  ------------------
  |  |  |  Branch (64:24): [True: 0, False: 326]
  |  |  ------------------
  ------------------
  757|    326|			else if (ISNAN(tmp)) {
  ------------------
  |  |   76|    326|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 326]
  |  |  ------------------
  ------------------
  758|      0|			    if (ISNA(tmp)) zcum.r = tmp;
  ------------------
  |  |   64|      0|#define ISNA(x)	       R_IsNA(x)
  |  |  ------------------
  |  |  |  Branch (64:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  759|      0|			    else zcum.r += tmp;/* NA or NaN */
  760|    326|			} else if(
  761|    326|			    (iop == 2 && tmp < zcum.r) ||
  ------------------
  |  Branch (761:9): [True: 0, False: 326]
  |  Branch (761:21): [True: 0, False: 0]
  ------------------
  762|    326|			    (iop == 3 && tmp > zcum.r))	zcum.r = tmp;
  ------------------
  |  Branch (762:9): [True: 326, False: 0]
  |  Branch (762:21): [True: 194, False: 132]
  ------------------
  763|    326|		    } else if(ans_type == STRSXP) {
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (763:17): [True: 0, False: 0]
  ------------------
  764|      0|			if(int_a)
  ------------------
  |  Branch (764:7): [True: 0, False: 0]
  ------------------
  765|      0|			   stmp = StringFromInteger(itmp, &warn);
  ------------------
  |  | 1995|      0|# define StringFromInteger	Rf_StringFromInteger
  ------------------
  766|      0|			else if(real_a)
  ------------------
  |  Branch (766:12): [True: 0, False: 0]
  ------------------
  767|      0|			   stmp = StringFromReal(tmp, &warn);
  ------------------
  |  | 1997|      0|# define StringFromReal		Rf_StringFromReal
  ------------------
  768|       |
  769|      0|			if(empty)
  ------------------
  |  Branch (769:7): [True: 0, False: 0]
  ------------------
  770|      0|			    scum = stmp;
  771|      0|			else if (scum != NA_STRING) {
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  |  Branch (771:13): [True: 0, False: 0]
  ------------------
  772|      0|			    PROTECT(stmp);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  773|      0|			    if(stmp == NA_STRING ||
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  |  Branch (773:11): [True: 0, False: 0]
  ------------------
  774|      0|			       (iop == 2 && stmp != scum && Scollate(stmp, scum) < 0) ||
  ------------------
  |  | 1990|      0|# define Scollate		Rf_Scollate
  ------------------
  |  Branch (774:12): [True: 0, False: 0]
  |  Branch (774:24): [True: 0, False: 0]
  |  Branch (774:40): [True: 0, False: 0]
  ------------------
  775|      0|			       (iop == 3 && stmp != scum && Scollate(stmp, scum) > 0) )
  ------------------
  |  | 1990|      0|# define Scollate		Rf_Scollate
  ------------------
  |  Branch (775:12): [True: 0, False: 0]
  |  Branch (775:24): [True: 0, False: 0]
  |  Branch (775:40): [True: 0, False: 0]
  ------------------
  776|      0|				scum = stmp;
  777|      0|			    UNPROTECT(1); /* stmp */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  778|      0|			}
  779|      0|			UNPROTECT(1); /* scum */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  780|      0|			PROTECT(scum);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  781|      0|		    }
  782|    978|		}/*updated*/ else {
  783|       |		    /*-- in what cases does this happen here at all?
  784|       |		      -- if there are no non-missing elements.
  785|       |		     */
  786|     30|		    DbgP2(" NOT updated [!! RARE !!]: int_a=%s\n", int_a ? "TRUE" : "FALSE");
  787|     30|		}
  788|       |
  789|  1.00k|		break;/*--- end of  min() / max() ---*/
  790|       |
  791|  1.24k|	    case 0:/* sum */
  ------------------
  |  Branch (791:6): [True: 1.24k, False: 1.65k]
  ------------------
  792|  1.24k|		switch(TYPEOF(a)) {
  793|      2|		case LGLSXP:
  ------------------
  |  |  121|      2|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (793:3): [True: 2, False: 1.24k]
  ------------------
  794|      2|		case INTSXP:
  ------------------
  |  |  123|      2|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (794:3): [True: 0, False: 1.24k]
  ------------------
  795|      2|#ifdef LONG_INT
  796|      2|		    updated = (use_isum ?
  ------------------
  |  Branch (796:18): [True: 2, False: 0]
  ------------------
  797|      2|			       isum(a, &iLtmp, narm, call) :
  798|      2|			       risum(a,  &tmp, narm));
  799|      2|		    DbgP2(" int|lgl: updated=%d ", updated);
  800|      2|		    if(updated == NA_INTEGER)
  ------------------
  |  |   56|      2|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (800:10): [True: 0, False: 2]
  ------------------
  801|      0|			goto na_answer;
  802|      2|		    else if(use_isum && updated == 42) {
  ------------------
  |  Branch (802:15): [True: 2, False: 0]
  |  Branch (802:27): [True: 0, False: 2]
  ------------------
  803|       |			// impending integer overflow --> switch to irsum()
  804|      0|			use_isum = false;
  805|      0|			if(ans_type == INTSXP) ans_type = REALSXP;
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
              			if(ans_type == INTSXP) ans_type = REALSXP;
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (805:7): [True: 0, False: 0]
  ------------------
  806|       |			// re-sum() 'a' (a waste, rare; FIXME ?) :
  807|      0|			risum(a, &tmp, narm);
  808|      0|			zcum.r = (double) iLcum + tmp;
  809|      0|			DbgP3(" .. switching type to REAL, tmp=%g, zcum.r=%g",
  810|      0|			      tmp, zcum.r);
  811|      0|		    }
  812|      2|		    else if(updated) {
  ------------------
  |  Branch (812:15): [True: 2, False: 0]
  ------------------
  813|       |			// iLtmp is LONG_INT i.e. at least 64bit
  814|      2|			if(ans_type == INTSXP) {
  ------------------
  |  |  123|      2|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (814:7): [True: 2, False: 0]
  ------------------
  815|      2|			    s = (double) iLcum + (double) iLtmp;
  816|      2|			    if(s > INT_MAX || s < R_INT_MIN ||
  ------------------
  |  |   36|      4|#define R_INT_MIN	(1+INT_MIN)
  ------------------
  |  Branch (816:11): [True: 0, False: 2]
  |  Branch (816:26): [True: 0, False: 2]
  ------------------
  817|      2|			       iLtmp < -LONG_INT_MAX || LONG_INT_MAX < iLtmp) {
  ------------------
  |  | 2593|      4|# define LONG_INT_MAX INT64_MAX
  ------------------
              			       iLtmp < -LONG_INT_MAX || LONG_INT_MAX < iLtmp) {
  ------------------
  |  | 2593|      2|# define LONG_INT_MAX INT64_MAX
  ------------------
  |  Branch (817:11): [True: 0, False: 2]
  |  Branch (817:36): [True: 0, False: 2]
  ------------------
  818|      0|				ans_type = REALSXP;
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  819|      0|				zcum.r = s;
  820|      0|				DbgP2(" int_1 switch: zcum.r = s = %g\n", s);
  821|      2|			    } else if(s < -(double)LONG_INT_MAX || (double)LONG_INT_MAX < s) {
  ------------------
  |  | 2593|      4|# define LONG_INT_MAX INT64_MAX
  ------------------
              			    } else if(s < -(double)LONG_INT_MAX || (double)LONG_INT_MAX < s) {
  ------------------
  |  | 2593|      2|# define LONG_INT_MAX INT64_MAX
  ------------------
  |  Branch (821:18): [True: 0, False: 2]
  |  Branch (821:47): [True: 0, False: 2]
  ------------------
  822|      0|				use_isum = false;
  823|      0|				ans_type = REALSXP;
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  824|      0|				zcum.r = s;
  825|      0|				DbgP2(" int_2 switch: zcum.r = s = %g\n", s);
  826|      0|			    }
  827|      2|			    else {
  828|      2|				iLcum += iLtmp;
  829|      2|				DbgP3(" int_3: (iLtmp,iLcum) = (%ld,%ld)\n",
  830|      2|				      iLtmp, iLcum);
  831|      2|			    }
  832|      2|			} else { // dealt with NA_INTEGER already above
  833|      0|			    zcum.r += use_isum ? (double)iLtmp : tmp;
  ------------------
  |  Branch (833:18): [True: 0, False: 0]
  ------------------
  834|      0|			    DbgP3(" dbl: (*tmp, zcum.r) = (%g,%g)\n",
  835|      0|				  use_isum ? (double)iLtmp : tmp, zcum.r);
  836|      0|			}
  837|      2|		    }
  838|       |#else
  839|       |		    updated = isum(a, &iLtmp, narm, call);
  840|       |		    if(updated) {
  841|       |			if(iLtmp == NA_INTEGER) goto na_answer;
  842|       |			if(ans_type == INTSXP) {
  843|       |			    s = (double) icum + (double) iLtmp;
  844|       |			    if(s > INT_MAX || s < R_INT_MIN){
  845|       |				warningcall(call,_(
  846|       |				  "Integer overflow - use sum(as.numeric(.))"));
  847|       |				goto na_answer;
  848|       |			    }
  849|       |			    else icum += iLtmp;
  850|       |			} else
  851|       |			    zcum.r += Int2Real(iLtmp);
  852|       |		    }
  853|       |#endif
  854|      2|		    break;
  855|  1.24k|		case REALSXP:
  ------------------
  |  |  124|  1.24k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (855:3): [True: 1.24k, False: 2]
  ------------------
  856|  1.24k|		    if(ans_type == INTSXP) {
  ------------------
  |  |  123|  1.24k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (856:10): [True: 0, False: 1.24k]
  ------------------
  857|      0|			ans_type = REALSXP;
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  858|      0|			if(!empty) zcum.r = Int2Real(iLcum);
  ------------------
  |  |   38|      0|#define Int2Real(i)	((i == NA_INTEGER) ? NA_REAL : (double)i)
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |               #define Int2Real(i)	((i == NA_INTEGER) ? NA_REAL : (double)i)
  |  |  ------------------
  |  |  |  |   58|      0|#define NA_REAL		R_NaReal
  |  |  ------------------
  |  |  |  Branch (38:22): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (858:7): [True: 0, False: 0]
  ------------------
  859|      0|		    }
  860|  1.24k|		    updated = rsum(a, &tmp, narm);
  861|  1.24k|		    if(updated) {
  ------------------
  |  Branch (861:10): [True: 1.24k, False: 0]
  ------------------
  862|  1.24k|			zcum.r += tmp;
  863|  1.24k|		    }
  864|  1.24k|		    break;
  865|      0|		case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (865:3): [True: 0, False: 1.24k]
  ------------------
  866|      0|		    if(ans_type == INTSXP) {
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (866:10): [True: 0, False: 0]
  ------------------
  867|      0|			ans_type = CPLXSXP;
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  868|      0|			if(!empty) zcum.r = Int2Real(iLcum);
  ------------------
  |  |   38|      0|#define Int2Real(i)	((i == NA_INTEGER) ? NA_REAL : (double)i)
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |               #define Int2Real(i)	((i == NA_INTEGER) ? NA_REAL : (double)i)
  |  |  ------------------
  |  |  |  |   58|      0|#define NA_REAL		R_NaReal
  |  |  ------------------
  |  |  |  Branch (38:22): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (868:7): [True: 0, False: 0]
  ------------------
  869|      0|		    } else if (ans_type == REALSXP)
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (869:18): [True: 0, False: 0]
  ------------------
  870|      0|			ans_type = CPLXSXP;
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  871|      0|		    updated = csum(a, &ztmp, narm);
  872|      0|		    if(updated) {
  ------------------
  |  Branch (872:10): [True: 0, False: 0]
  ------------------
  873|      0|			zcum.r += ztmp.r;
  874|      0|			zcum.i += ztmp.i;
  875|      0|		    }
  876|      0|		    break;
  877|      0|		default:
  ------------------
  |  Branch (877:3): [True: 0, False: 1.24k]
  ------------------
  878|      0|		    goto invalid_type;
  879|  1.24k|		}
  880|       |
  881|  1.24k|		break;/* sum() part */
  882|       |
  883|  1.24k|	    case 4:/* prod */
  ------------------
  |  Branch (883:6): [True: 644, False: 2.25k]
  ------------------
  884|       |
  885|    644|		switch(TYPEOF(a)) {
  886|      0|		case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (886:3): [True: 0, False: 644]
  ------------------
  887|    644|		case INTSXP:
  ------------------
  |  |  123|    644|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (887:3): [True: 644, False: 0]
  ------------------
  888|    644|		case REALSXP:
  ------------------
  |  |  124|    644|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (888:3): [True: 0, False: 644]
  ------------------
  889|    644|		    if(TYPEOF(a) == REALSXP)
  ------------------
  |  |  124|    644|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (889:10): [True: 0, False: 644]
  ------------------
  890|      0|			updated = rprod(a, &tmp, narm);
  891|    644|		    else
  892|    644|			updated = iprod(a, &tmp, narm);
  893|    644|		    if(updated) {
  ------------------
  |  Branch (893:10): [True: 644, False: 0]
  ------------------
  894|    644|			zcum.r *= tmp;
  895|    644|			zcum.i *= tmp;
  896|    644|		    }
  897|    644|		    break;
  898|      0|		case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (898:3): [True: 0, False: 644]
  ------------------
  899|      0|		    ans_type = CPLXSXP;
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  900|      0|		    updated = cprod(a, &ztmp, narm);
  901|      0|		    if(updated) {
  ------------------
  |  Branch (901:10): [True: 0, False: 0]
  ------------------
  902|      0|			Rcomplex z;
  903|      0|			z.r = zcum.r;
  904|      0|			z.i = zcum.i;
  905|      0|			zcum.r = z.r * ztmp.r - z.i * ztmp.i;
  906|      0|			zcum.i = z.r * ztmp.i + z.i * ztmp.r;
  907|      0|		    }
  908|      0|		    break;
  909|      0|		default:
  ------------------
  |  Branch (909:3): [True: 0, False: 644]
  ------------------
  910|      0|		    goto invalid_type;
  911|    644|		}
  912|       |
  913|    644|		break;/* prod() part */
  914|       |
  915|  2.89k|	    } /* switch(iop) */
  916|       |
  917|  2.89k|	} else { /* len(a)=0 */
  918|       |	    /* Even though this has length zero it can still be invalid,
  919|       |	       e.g. list() or raw() */
  920|      0|	    switch(TYPEOF(a)) {
  921|      0|	    case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (921:6): [True: 0, False: 0]
  ------------------
  922|      0|	    case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (922:6): [True: 0, False: 0]
  ------------------
  923|      0|	    case REALSXP:
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (923:6): [True: 0, False: 0]
  ------------------
  924|      0|	    case NILSXP:  /* OK historically, e.g. PR#1283 */
  ------------------
  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (924:6): [True: 0, False: 0]
  ------------------
  925|      0|		break;
  926|      0|	    case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (926:6): [True: 0, False: 0]
  ------------------
  927|      0|		if (iop == 2 || iop == 3) goto invalid_type;
  ------------------
  |  Branch (927:7): [True: 0, False: 0]
  |  Branch (927:19): [True: 0, False: 0]
  ------------------
  928|      0|		break;
  929|      0|	    case STRSXP:
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (929:6): [True: 0, False: 0]
  ------------------
  930|      0|		if (iop == 2 || iop == 3) {
  ------------------
  |  Branch (930:7): [True: 0, False: 0]
  |  Branch (930:19): [True: 0, False: 0]
  ------------------
  931|      0|		    if(!empty && ans_type == INTSXP) {
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (931:10): [True: 0, False: 0]
  |  Branch (931:20): [True: 0, False: 0]
  ------------------
  932|      0|			scum = StringFromInteger(icum, &warn);
  ------------------
  |  | 1995|      0|# define StringFromInteger	Rf_StringFromInteger
  ------------------
  933|      0|			UNPROTECT(1); /* scum */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  934|      0|			PROTECT(scum);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  935|      0|		    } else if(!empty && ans_type == REALSXP) {
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (935:17): [True: 0, False: 0]
  |  Branch (935:27): [True: 0, False: 0]
  ------------------
  936|      0|			scum = StringFromReal(zcum.r, &warn);
  ------------------
  |  | 1997|      0|# define StringFromReal		Rf_StringFromReal
  ------------------
  937|      0|			UNPROTECT(1); /* scum */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  938|      0|			PROTECT(scum);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  939|      0|		    }
  940|      0|		    ans_type = STRSXP;
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  941|      0|		    break;
  942|      0|		}
  943|      0|	    default:
  ------------------
  |  Branch (943:6): [True: 0, False: 0]
  ------------------
  944|      0|		goto invalid_type;
  945|      0|	    }
  946|      0|	    if(ans_type < TYPEOF(a) && ans_type != CPLXSXP) {
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (946:9): [True: 0, False: 0]
  |  Branch (946:33): [True: 0, False: 0]
  ------------------
  947|      0|		if(!empty && ans_type == INTSXP)
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (947:6): [True: 0, False: 0]
  |  Branch (947:16): [True: 0, False: 0]
  ------------------
  948|      0|		    zcum.r = Int2Real(icum);
  ------------------
  |  |   38|      0|#define Int2Real(i)	((i == NA_INTEGER) ? NA_REAL : (double)i)
  |  |  ------------------
  |  |  |  |   56|      0|#define NA_INTEGER	R_NaInt
  |  |  ------------------
  |  |               #define Int2Real(i)	((i == NA_INTEGER) ? NA_REAL : (double)i)
  |  |  ------------------
  |  |  |  |   58|      0|#define NA_REAL		R_NaReal
  |  |  ------------------
  |  |  |  Branch (38:22): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  949|      0|		ans_type = TYPEOF(a);
  950|      0|	    }
  951|      0|	}
  952|  2.89k|	DbgP3(" .. upd.=%d, empty=%d", updated, (int)empty);
  953|  2.89k|	if(empty && updated) empty=false;
  ------------------
  |  Branch (953:5): [True: 2.42k, False: 474]
  |  Branch (953:14): [True: 2.39k, False: 30]
  ------------------
  954|  2.89k|	DbgP2(", new empty=%d\n", (int)empty);
  955|  2.89k|	args = CDR(args);
  956|  2.89k|    } /*-- while(..) loop over args */
  957|       |
  958|       |    /*-------------------------------------------------------*/
  959|  2.39k|    if(empty && (iop == 2 || iop == 3)) {
  ------------------
  |  Branch (959:8): [True: 0, False: 2.39k]
  |  Branch (959:18): [True: 0, False: 0]
  |  Branch (959:30): [True: 0, False: 0]
  ------------------
  960|      0|	if(ans_type == STRSXP) {
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (960:5): [True: 0, False: 0]
  ------------------
  961|      0|	    warningcall(call, _("no non-missing arguments, returning NA"));
  ------------------
  |  | 2018|      0|# define warningcall		Rf_warningcall
  ------------------
              	    warningcall(call, _("no non-missing arguments, returning NA"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  962|      0|	} else {
  963|      0|	    if(iop == 2)
  ------------------
  |  Branch (963:9): [True: 0, False: 0]
  ------------------
  964|      0|		warningcall(call, _("no non-missing arguments to min; returning Inf"));
  ------------------
  |  | 2018|      0|# define warningcall		Rf_warningcall
  ------------------
              		warningcall(call, _("no non-missing arguments to min; returning Inf"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  965|      0|	    else
  966|      0|		warningcall(call, _("no non-missing arguments to max; returning -Inf"));
  ------------------
  |  | 2018|      0|# define warningcall		Rf_warningcall
  ------------------
              		warningcall(call, _("no non-missing arguments to max; returning -Inf"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  967|      0|	    ans_type = REALSXP;
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  968|      0|	}
  969|      0|    }
  970|       |
  971|  2.39k|    ans = allocVector(ans_type, 1);
  ------------------
  |  |  875|  2.39k|#define allocVector		Rf_allocVector
  ------------------
  972|  2.39k|    switch(ans_type) {
  ------------------
  |  Branch (972:12): [True: 2.39k, False: 0]
  ------------------
  973|    327|    case INTSXP:   INTEGER(ans)[0] = (iop == 0) ? (int)iLcum : icum; break;
  ------------------
  |  |  123|    327|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (973:5): [True: 327, False: 2.06k]
  |  Branch (973:38): [True: 2, False: 325]
  ------------------
  974|  2.06k|    case REALSXP:  REAL(ans)[0] = zcum.r; break;
  ------------------
  |  |  124|  2.06k|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (974:5): [True: 2.06k, False: 327]
  ------------------
  975|      0|    case CPLXSXP:  COMPLEX(ans)[0].r = zcum.r; COMPLEX(ans)[0].i = zcum.i;break;
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (975:5): [True: 0, False: 2.39k]
  ------------------
  976|      0|    case STRSXP:   SET_STRING_ELT(ans, 0, scum); break;
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (976:5): [True: 0, False: 2.39k]
  ------------------
  977|  2.39k|    }
  978|  2.39k|    UNPROTECT(2); /* scum, args */
  ------------------
  |  |  358|  2.39k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  979|  2.39k|    return ans;
  980|       |
  981|      0|na_answer: /* only sum(INTSXP, ...) case currently used */
  982|      0|    ans = allocVector(ans_type, 1);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
  983|      0|    switch(ans_type) {
  ------------------
  |  Branch (983:12): [True: 0, False: 0]
  ------------------
  984|      0|    case INTSXP:	INTEGER(ans)[0] = NA_INTEGER; break;
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
                  case INTSXP:	INTEGER(ans)[0] = NA_INTEGER; break;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (984:5): [True: 0, False: 0]
  ------------------
  985|      0|    case REALSXP:	REAL(ans)[0] = NA_REAL; break;
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
                  case REALSXP:	REAL(ans)[0] = NA_REAL; break;
  ------------------
  |  |   58|      0|#define NA_REAL		R_NaReal
  ------------------
  |  Branch (985:5): [True: 0, False: 0]
  ------------------
  986|      0|    case CPLXSXP:	COMPLEX(ans)[0].r = COMPLEX(ans)[0].i = NA_REAL; break;
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
                  case CPLXSXP:	COMPLEX(ans)[0].r = COMPLEX(ans)[0].i = NA_REAL; break;
  ------------------
  |  |   58|      0|#define NA_REAL		R_NaReal
  ------------------
  |  Branch (986:5): [True: 0, False: 0]
  ------------------
  987|      0|    case STRSXP:        SET_STRING_ELT(ans, 0, NA_STRING); break;
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
                  case STRSXP:        SET_STRING_ELT(ans, 0, NA_STRING); break;
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  |  Branch (987:5): [True: 0, False: 0]
  ------------------
  988|      0|    }
  989|      0|    UNPROTECT(2); /* scum, args */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  990|      0|    return ans;
  991|       |
  992|      0|invalid_type:
  993|      0|    errorcall(call, R_MSG_type, R_typeToChar(a));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
                  errorcall(call, R_MSG_type, R_typeToChar(a));
  ------------------
  |  |   33|      0|#define R_MSG_type	_("invalid 'type' (%s) of argument")
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  ------------------
  994|      0|    return R_NilValue;
  995|      0|}/* do_summary */
do_first_min:
 1029|      4|{
 1030|      4|    SEXP sx = CAR(args), ans;
 1031|      4|    int nprot = 1;
 1032|      4|    R_xlen_t i, n, indx = -1;
 1033|       |
 1034|      4|    checkArity(op, args);
  ------------------
  |  | 1793|      4|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1035|      4|    if (OBJECT(sx) && !isDataFrame(sx)) {
  ------------------
  |  |  943|      0|#define isDataFrame		Rf_isDataFrame
  ------------------
  |  Branch (1035:9): [True: 0, False: 4]
  |  Branch (1035:23): [True: 0, False: 0]
  ------------------
 1036|      0|	SEXP call = PROTECT(lang2(install("xtfrm"), sx)); nprot++;
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1037|      0|	PROTECT(sx = eval(call, rho)); nprot++;
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1038|      0|    } else
 1039|      4|    if (!isNumeric(sx)) {
  ------------------
  |  |  957|      4|#define isNumeric		Rf_isNumeric
  ------------------
  |  Branch (1039:9): [True: 0, False: 4]
  ------------------
 1040|      0|	PROTECT(sx = coerceVector(CAR(args), REALSXP)); nprot++;
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1041|      0|    }
 1042|      4|    n = XLENGTH(sx);
 1043|      4|    switch(TYPEOF(sx)) {
  ------------------
  |  Branch (1043:12): [True: 4, False: 0]
  ------------------
 1044|      4|    case LGLSXP: // with only (TRUE, FALSE, NA) -- may be fast
  ------------------
  |  |  121|      4|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (1044:5): [True: 4, False: 0]
  ------------------
 1045|      4|    {
 1046|      4|	int *r = LOGICAL(sx);
 1047|      4|	if(PRIMVAL(op) == 0) { /* which.min */
  ------------------
  |  | 1347|      4|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (1047:5): [True: 0, False: 4]
  ------------------
 1048|      0|	    for (i = 0; i < n; i++)
  ------------------
  |  Branch (1048:18): [True: 0, False: 0]
  ------------------
 1049|      0|		if (r[i] == FALSE) {
  ------------------
  |  Branch (1049:7): [True: 0, False: 0]
  ------------------
 1050|      0|		    indx = i; break; // found FALSE: done
 1051|      0|		} else if (indx == -1 && r[i] != NA_LOGICAL) {
  ------------------
  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (1051:14): [True: 0, False: 0]
  |  Branch (1051:28): [True: 0, False: 0]
  ------------------
 1052|      0|		    indx = i; // first TRUE
 1053|      0|		}
 1054|      4|	} else { /* which.max */
 1055|      4|	    for (i = 0; i < n; i++)
  ------------------
  |  Branch (1055:18): [True: 4, False: 0]
  ------------------
 1056|      4|		if (r[i] == TRUE) {
  ------------------
  |  Branch (1056:7): [True: 4, False: 0]
  ------------------
 1057|      4|		    indx = i; break; // found TRUE: done
 1058|      4|		} else if (indx == -1 && r[i] != NA_LOGICAL) {
  ------------------
  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (1058:14): [True: 0, False: 0]
  |  Branch (1058:28): [True: 0, False: 0]
  ------------------
 1059|      0|		    indx = i; // first FALSE
 1060|      0|		}
 1061|      4|	}
 1062|      4|    }
 1063|      4|    break;
 1064|       |
 1065|      0|    case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1065:5): [True: 0, False: 4]
  ------------------
 1066|      0|    {
 1067|      0|	int s, *r = INTEGER(sx);
 1068|      0|	if(PRIMVAL(op) == 0) { /* which.min */
  ------------------
  |  | 1347|      0|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (1068:5): [True: 0, False: 0]
  ------------------
 1069|      0|	    s = INT_MAX;
 1070|      0|	    for (i = 0; i < n; i++)
  ------------------
  |  Branch (1070:18): [True: 0, False: 0]
  ------------------
 1071|      0|		if (r[i] != NA_INTEGER && (r[i] < s || indx == -1)) {
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (1071:7): [True: 0, False: 0]
  |  Branch (1071:30): [True: 0, False: 0]
  |  Branch (1071:42): [True: 0, False: 0]
  ------------------
 1072|      0|		    s = r[i]; indx = i;
 1073|      0|		}
 1074|      0|	} else { /* which.max */
 1075|      0|	    s = INT_MIN;
 1076|      0|	    for (i = 0; i < n; i++)
  ------------------
  |  Branch (1076:18): [True: 0, False: 0]
  ------------------
 1077|      0|		if (r[i] != NA_INTEGER && (r[i] > s || indx == -1)) {
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (1077:7): [True: 0, False: 0]
  |  Branch (1077:30): [True: 0, False: 0]
  |  Branch (1077:42): [True: 0, False: 0]
  ------------------
 1078|      0|		    s = r[i]; indx = i;
 1079|      0|		}
 1080|      0|	}
 1081|      0|    }
 1082|      0|    break;
 1083|       |
 1084|      0|    case REALSXP:
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1084:5): [True: 0, False: 4]
  ------------------
 1085|      0|    {
 1086|      0|	double s, *r = REAL(sx);
 1087|      0|	if(PRIMVAL(op) == 0) { /* which.min */
  ------------------
  |  | 1347|      0|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (1087:5): [True: 0, False: 0]
  ------------------
 1088|      0|	    s = R_PosInf;
 1089|      0|	    for (i = 0; i < n; i++)
  ------------------
  |  Branch (1089:18): [True: 0, False: 0]
  ------------------
 1090|      0|		if ( !ISNAN(r[i]) && (r[i] < s || indx == -1) ) {
  ------------------
  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  ------------------
  |  Branch (1090:8): [True: 0, False: 0]
  |  Branch (1090:25): [True: 0, False: 0]
  |  Branch (1090:37): [True: 0, False: 0]
  ------------------
 1091|      0|		    s = r[i]; indx = i;
 1092|      0|		}
 1093|      0|	} else { /* which.max */
 1094|      0|	    s = R_NegInf;
 1095|      0|	    for (i = 0; i < n; i++)
  ------------------
  |  Branch (1095:18): [True: 0, False: 0]
  ------------------
 1096|      0|		if ( !ISNAN(r[i]) && (r[i] > s || indx == -1) ) {
  ------------------
  |  |   76|      0|#  define ISNAN(x)     (isnan(x)!=0)
  ------------------
  |  Branch (1096:8): [True: 0, False: 0]
  |  Branch (1096:25): [True: 0, False: 0]
  |  Branch (1096:37): [True: 0, False: 0]
  ------------------
 1097|      0|		    s = r[i]; indx = i;
 1098|      0|		}
 1099|      0|	}
 1100|      0|    }
 1101|      4|    } // switch()
 1102|       |
 1103|       |
 1104|      4|    i = (indx != -1);
 1105|      4|    bool large = (indx + 1) > INT_MAX;
 1106|      4|    PROTECT(ans = allocVector(large ? REALSXP : INTSXP, i ? 1 : 0));
  ------------------
  |  |  357|     16|#define PROTECT(s)	Rf_protect(s)
  |  |  ------------------
  |  |  |  Branch (357:31): [True: 0, False: 4]
  |  |  |  Branch (357:31): [True: 4, False: 0]
  |  |  ------------------
  ------------------
 1107|      4|    if (i) {
  ------------------
  |  Branch (1107:9): [True: 4, False: 0]
  ------------------
 1108|      4|	if(large)
  ------------------
  |  Branch (1108:5): [True: 0, False: 4]
  ------------------
 1109|      0|	    REAL(ans)[0] = (double)indx + 1;
 1110|      4|	else
 1111|      4|	    INTEGER(ans)[0] = (int)indx + 1;
 1112|      4|	if (getAttrib(sx, R_NamesSymbol) != R_NilValue) { /* preserve names */
  ------------------
  |  |  924|      4|#define getAttrib		Rf_getAttrib
  ------------------
  |  Branch (1112:6): [True: 4, False: 0]
  ------------------
 1113|      4|	    SEXP ansnam;
 1114|      4|	    PROTECT(ansnam =
  ------------------
  |  |  357|      4|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1115|      4|		    ScalarString(STRING_ELT(getAttrib(sx, R_NamesSymbol), indx)));
 1116|      4|	    setAttrib(ans, R_NamesSymbol, ansnam);
  ------------------
  |  | 1027|      4|#define setAttrib		Rf_setAttrib
  ------------------
 1117|      4|	    UNPROTECT(1);
  ------------------
  |  |  358|      4|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1118|      4|	}
 1119|      4|    }
 1120|      4|    UNPROTECT(nprot);
  ------------------
  |  |  358|      4|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1121|      4|    return ans;
 1122|      4|}
do_which:
 1127|  1.73k|{
 1128|  1.73k|    checkArity(op, args);
  ------------------
  |  | 1793|  1.73k|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1129|  1.73k|    SEXP v = CAR(args);
 1130|  1.73k|    if (!isLogical(v))
  ------------------
  |  |  952|  1.73k|#define isLogical		Rf_isLogical
  ------------------
  |  Branch (1130:9): [True: 0, False: 1.73k]
  ------------------
 1131|      0|	error(_("argument to 'which' is not logical"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("argument to 'which' is not logical"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1132|  1.73k|    R_xlen_t len = xlength(v), i, j = 0;
  ------------------
  |  | 1049|  1.73k|#define xlength(x)		Rf_xlength(x)
  ------------------
 1133|  1.73k|    SEXP ans;
 1134|  1.73k|#ifdef LONG_VECTOR_SUPPORT
 1135|  1.73k|    if (len > R_SHORT_LEN_MAX) {
  ------------------
  |  |   77|  1.73k|# define R_SHORT_LEN_MAX 2147483647
  ------------------
  |  Branch (1135:9): [True: 0, False: 1.73k]
  ------------------
 1136|      0|    R_xlen_t xoffset = 1; // 1 for 1-based indexing of response
 1137|      0|    double *buf = (double *) R_alloc(len, sizeof(double));
 1138|      0|    ITERATE_BY_REGION(v, ptr, idx, nb, int, LOGICAL, {
  ------------------
  |  |  251|      0|#define ITERATE_BY_REGION(sx, px, idx, nb, etype, vtype, expr) do {	\
  |  |  252|      0|	ITERATE_BY_REGION_PARTIAL(sx, px, idx, nb, etype, vtype,	\
  |  |  ------------------
  |  |  |  |  220|      0|				  strt, nfull, expr) do {		\
  |  |  |  |  221|      0|	const etype *px = (etype *) DATAPTR_OR_NULL(sx);		\
  |  |  |  |  222|      0|	if (px != NULL) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  223|      0|	    R_xlen_t idx = strt;					\
  |  |  |  |  224|      0|	    (void) idx; /* variable may be unused in expr */		\
  |  |  |  |  225|      0|	    R_xlen_t nb = nfull;					\
  |  |  |  |  226|      0|	    px += strt;							\
  |  |  |  |  227|      0|	    if (nb > 0) {                                               \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (227:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  228|      0|	        expr							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (228:10): [True: 0, False: 0]
  |  |  |  |  |  Branch (228:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  229|      0|	    }                                                           \
  |  |  |  |  230|      0|	}								\
  |  |  |  |  231|      0|	else ITERATE_BY_REGION_PARTIAL0(sx, px, idx, nb, etype, vtype,	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  191|      0|				   strt, nfull, expr) do {		\
  |  |  |  |  |  |  192|      0|	etype __ibr_buf__[GET_REGION_BUFSIZE];				\
  |  |  |  |  |  |  193|      0|	R_xlen_t __ibr_n__ = strt + nfull;				\
  |  |  |  |  |  |  194|      0|	R_xlen_t nb;							\
  |  |  |  |  |  |  195|      0|	for (R_xlen_t idx = strt; idx < __ibr_n__; idx += nb) {		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (195:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  196|      0|	    nb = __ibr_n__  - idx > GET_REGION_BUFSIZE ?		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  181|      0|#define GET_REGION_BUFSIZE 512
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (196:11): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  197|      0|		GET_REGION_BUFSIZE :  __ibr_n__ - idx;			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  181|      0|#define GET_REGION_BUFSIZE 512
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  198|      0|	    etype *px = (etype *) GET_REGION_PTR(sx, idx, nb,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  187|      0|    (ALTREP(x) == 0 ? type(x) + (i) : (type##_GET_REGION(x, i, n, buf), buf))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (187:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  199|      0|	                                         __ibr_buf__, vtype);	\
  |  |  |  |  |  |  200|      0|	    expr							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|      0|	 }							        \
  |  |  |  |  |  |  202|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  232|      0|					strt, nfull, expr);		\
  |  |  |  |  233|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (233:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  253|      0|				  0, XLENGTH(sx), expr);		\
  |  |  254|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (254:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1139|      0|	    for(R_xlen_t i = 0; i < nb; i++) {
 1140|      0|		if(ptr[i] == TRUE) {
 1141|      0|		    buf[j] = (double)(xoffset + i); // offset has +1 built in
 1142|      0|		    j++;
 1143|      0|		}
 1144|      0|	    }
 1145|      0|	    xoffset += nb; // move to beginning of next buffer (+1 since R-based)
 1146|      0|	});
 1147|       |
 1148|      0|    len = j;
 1149|      0|    PROTECT(ans = allocVector(REALSXP, len));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1150|       |    // buf has doubles in it, memcopy if we found any indices.
 1151|      0|    if(len) memcpy(REAL(ans), buf, sizeof(double) * len);
  ------------------
  |  Branch (1151:8): [True: 0, False: 0]
  ------------------
 1152|      0|    } else
 1153|  1.73k|#endif
 1154|  1.73k|    {
 1155|  1.73k|    int ioffset = 1;
 1156|  1.73k|    int *buf = (int *) R_alloc(len, sizeof(int));
 1157|       |    /* use iteration macros to be ALTREP safe and pull ptr retrieval out of tight loop */
 1158|  1.73k|    ITERATE_BY_REGION(v, ptr, idx, nb, int, LOGICAL, {
  ------------------
  |  |  251|  1.73k|#define ITERATE_BY_REGION(sx, px, idx, nb, etype, vtype, expr) do {	\
  |  |  252|  1.73k|	ITERATE_BY_REGION_PARTIAL(sx, px, idx, nb, etype, vtype,	\
  |  |  ------------------
  |  |  |  |  220|  1.73k|				  strt, nfull, expr) do {		\
  |  |  |  |  221|  1.73k|	const etype *px = (etype *) DATAPTR_OR_NULL(sx);		\
  |  |  |  |  222|  1.73k|	if (px != NULL) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:6): [True: 1.73k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  223|  1.73k|	    R_xlen_t idx = strt;					\
  |  |  |  |  224|  1.73k|	    (void) idx; /* variable may be unused in expr */		\
  |  |  |  |  225|  1.73k|	    R_xlen_t nb = nfull;					\
  |  |  |  |  226|  1.73k|	    px += strt;							\
  |  |  |  |  227|  1.73k|	    if (nb > 0) {                                               \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (227:10): [True: 1.73k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  228|  1.46M|	        expr							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (228:10): [True: 203k, False: 111k]
  |  |  |  |  |  Branch (228:10): [True: 314k, False: 1.73k]
  |  |  |  |  ------------------
  |  |  |  |  229|  1.73k|	    }                                                           \
  |  |  |  |  230|  1.73k|	}								\
  |  |  |  |  231|  1.73k|	else ITERATE_BY_REGION_PARTIAL0(sx, px, idx, nb, etype, vtype,	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  191|      0|				   strt, nfull, expr) do {		\
  |  |  |  |  |  |  192|      0|	etype __ibr_buf__[GET_REGION_BUFSIZE];				\
  |  |  |  |  |  |  193|      0|	R_xlen_t __ibr_n__ = strt + nfull;				\
  |  |  |  |  |  |  194|      0|	R_xlen_t nb;							\
  |  |  |  |  |  |  195|      0|	for (R_xlen_t idx = strt; idx < __ibr_n__; idx += nb) {		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (195:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  196|      0|	    nb = __ibr_n__  - idx > GET_REGION_BUFSIZE ?		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  181|      0|#define GET_REGION_BUFSIZE 512
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (196:11): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  197|      0|		GET_REGION_BUFSIZE :  __ibr_n__ - idx;			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  181|      0|#define GET_REGION_BUFSIZE 512
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  198|      0|	    etype *px = (etype *) GET_REGION_PTR(sx, idx, nb,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  187|      0|    (ALTREP(x) == 0 ? type(x) + (i) : (type##_GET_REGION(x, i, n, buf), buf))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (187:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  199|      0|	                                         __ibr_buf__, vtype);	\
  |  |  |  |  |  |  200|      0|	    expr							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|      0|	 }							        \
  |  |  |  |  |  |  202|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  232|  1.73k|					strt, nfull, expr);		\
  |  |  |  |  233|  1.73k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (233:14): [Folded, False: 1.73k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  253|  1.73k|				  0, XLENGTH(sx), expr);		\
  |  |  254|  1.73k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (254:14): [Folded, False: 1.73k]
  |  |  ------------------
  ------------------
 1159|  1.73k|	    for(int i = 0; i < nb; i++) {
 1160|  1.73k|		if(ptr[i] == TRUE) {
 1161|  1.73k|		    buf[j] = ioffset + i; // offset has +1 built in
 1162|  1.73k|		    j++;
 1163|  1.73k|		}
 1164|  1.73k|	    }
 1165|  1.73k|	    ioffset += nb; // move to beginning of next buffer
 1166|  1.73k|	});
 1167|       |
 1168|  1.73k|    len = j;
 1169|       |    // buf has ints in it and we're returning ints, memcopy if we found any indices;
 1170|  1.73k|    PROTECT(ans = allocVector(INTSXP, len));
  ------------------
  |  |  357|  1.73k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1171|  1.73k|    if(len) memcpy(INTEGER(ans), buf, sizeof(int) * len);
  ------------------
  |  Branch (1171:8): [True: 1.00k, False: 730]
  ------------------
 1172|  1.73k|    }
 1173|       |
 1174|  1.73k|    SEXP v_nms = getAttrib(v, R_NamesSymbol);
  ------------------
  |  |  924|  1.73k|#define getAttrib		Rf_getAttrib
  ------------------
 1175|  1.73k|    if (v_nms != R_NilValue) {
  ------------------
  |  Branch (1175:9): [True: 0, False: 1.73k]
  ------------------
 1176|      0|	SEXP ans_nms = PROTECT(allocVector(STRSXP, len));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1177|      0|#ifdef LONG_VECTOR_SUPPORT
 1178|      0|	if (TYPEOF(ans) == REALSXP)
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1178:6): [True: 0, False: 0]
  ------------------
 1179|      0|	for (i = 0; i < len; i++) {
  ------------------
  |  Branch (1179:14): [True: 0, False: 0]
  ------------------
 1180|      0|	    SET_STRING_ELT(ans_nms, i,
 1181|      0|			   STRING_ELT(v_nms, (R_xlen_t)REAL(ans)[i] - 1));
 1182|      0|	}
 1183|      0|	else
 1184|      0|#endif
 1185|      0|	for (i = 0; i < len; i++) {
  ------------------
  |  Branch (1185:14): [True: 0, False: 0]
  ------------------
 1186|      0|	    SET_STRING_ELT(ans_nms, i,
 1187|      0|			   STRING_ELT(v_nms, (R_xlen_t)INTEGER(ans)[i] - 1));
 1188|      0|	}
 1189|      0|	setAttrib(ans, R_NamesSymbol, ans_nms);
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
 1190|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1191|      0|    }
 1192|  1.73k|    UNPROTECT(1);
  ------------------
  |  |  358|  1.73k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1193|  1.73k|    return ans;
 1194|  1.73k|}
do_pmin:
 1201|    854|{
 1202|    854|    int narm = asLogical(CAR(args));
  ------------------
  |  |  886|    854|#define asLogical		Rf_asLogical
  ------------------
 1203|    854|    if(narm == NA_LOGICAL)
  ------------------
  |  |   55|    854|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (1203:8): [True: 0, False: 854]
  ------------------
 1204|      0|	error(_("invalid '%s' value"), "na.rm");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' value"), "na.rm");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1205|    854|    args = CDR(args);
 1206|    854|    if(args == R_NilValue) error(_("no arguments"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  if(args == R_NilValue) error(_("no arguments"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (1206:8): [True: 0, False: 854]
  ------------------
 1207|    854|    SEXP x = CAR(args);
 1208|       |
 1209|    854|    SEXPTYPE anstype = TYPEOF(x);
 1210|    854|    switch(anstype) {
 1211|      0|    case NILSXP:
  ------------------
  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (1211:5): [True: 0, False: 854]
  ------------------
 1212|      0|    case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (1212:5): [True: 0, False: 854]
  ------------------
 1213|      0|    case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1213:5): [True: 0, False: 854]
  ------------------
 1214|    854|    case REALSXP:
  ------------------
  |  |  124|    854|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1214:5): [True: 854, False: 0]
  ------------------
 1215|    854|    case STRSXP:
  ------------------
  |  |  126|    854|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1215:5): [True: 0, False: 854]
  ------------------
 1216|    854|	break;
 1217|      0|    default:
  ------------------
  |  Branch (1217:5): [True: 0, False: 854]
  ------------------
 1218|      0|	error(_("invalid input type"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid input type"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1219|    854|    }
 1220|    854|    SEXP a = CDR(args);
 1221|    854|    if(a == R_NilValue) return x; /* one input */
  ------------------
  |  Branch (1221:8): [True: 0, False: 854]
  ------------------
 1222|       |
 1223|    854|    R_xlen_t n, len = xlength(x), /* not LENGTH, as NULL is allowed */
  ------------------
  |  | 1049|    854|#define xlength(x)		Rf_xlength(x)
  ------------------
 1224|    854|	i, i1; 
 1225|  1.70k|    for(; a != R_NilValue; a = CDR(a)) {
  ------------------
  |  Branch (1225:11): [True: 854, False: 854]
  ------------------
 1226|    854|	x = CAR(a);
 1227|    854|	SEXPTYPE type = TYPEOF(x);
 1228|    854|	switch(type) {
 1229|      0|	case NILSXP:
  ------------------
  |  |  111|      0|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (1229:2): [True: 0, False: 854]
  ------------------
 1230|      0|	case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (1230:2): [True: 0, False: 854]
  ------------------
 1231|      0|	case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1231:2): [True: 0, False: 854]
  ------------------
 1232|    854|	case REALSXP:
  ------------------
  |  |  124|    854|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1232:2): [True: 854, False: 0]
  ------------------
 1233|    854|	case STRSXP:
  ------------------
  |  |  126|    854|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1233:2): [True: 0, False: 854]
  ------------------
 1234|    854|	    break;
 1235|      0|	default:
  ------------------
  |  Branch (1235:2): [True: 0, False: 854]
  ------------------
 1236|      0|	    error(_("invalid input type"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("invalid input type"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1237|    854|	}
 1238|    854|	if(type > anstype) anstype = type;
  ------------------
  |  Branch (1238:5): [True: 0, False: 854]
  ------------------
 1239|    854|	n = xlength(x);
  ------------------
  |  | 1049|    854|#define xlength(x)		Rf_xlength(x)
  ------------------
 1240|    854|	if ((len > 0) ^ (n > 0)) {
  ------------------
  |  Branch (1240:6): [True: 0, False: 854]
  ------------------
 1241|       |	    // till 2.15.0:  error(_("cannot mix 0-length vectors with others"));
 1242|      0|	    len = 0;
 1243|      0|	    break;
 1244|      0|	}
 1245|    854|	len = imax2(len, n);
  ------------------
  |  |   34|    854|#define imax2(x, y) ((x < y) ? y : x)
  |  |  ------------------
  |  |  |  Branch (34:22): [True: 210, False: 644]
  |  |  ------------------
  ------------------
 1246|    854|    }
 1247|    854|    if(anstype < INTSXP) anstype = INTSXP;
  ------------------
  |  |  123|    854|#define INTSXP	    13	  /* integer vectors */
  ------------------
                  if(anstype < INTSXP) anstype = INTSXP;
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1247:8): [True: 0, False: 854]
  ------------------
 1248|    854|    if(len == 0) return allocVector(anstype, 0);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
  |  Branch (1248:8): [True: 0, False: 854]
  ------------------
 1249|       |    /* Check for fractional recycling (added in 2.14.0) */
 1250|  2.56k|    for(a = args; a != R_NilValue; a = CDR(a)) {
  ------------------
  |  Branch (1250:19): [True: 1.70k, False: 854]
  ------------------
 1251|  1.70k|	n = xlength(CAR(a));
  ------------------
  |  | 1049|  1.70k|#define xlength(x)		Rf_xlength(x)
  ------------------
 1252|  1.70k|	if (len % n) {
  ------------------
  |  Branch (1252:6): [True: 0, False: 1.70k]
  ------------------
 1253|      0|	    warning(_("an argument will be fractionally recycled"));
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	    warning(_("an argument will be fractionally recycled"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1254|      0|	    break;
 1255|      0|	}
 1256|  1.70k|    }
 1257|       |
 1258|    854|    SEXP ans = PROTECT(allocVector(anstype, len));
  ------------------
  |  |  357|    854|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1259|    854|    switch(anstype) {
 1260|      0|    case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1260:5): [True: 0, False: 854]
  ------------------
 1261|      0|    {
 1262|      0|	int *r,  *ra = INTEGER(ans), tmp;
 1263|      0|	PROTECT(x = coerceVector(CAR(args), anstype));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1264|      0|	r = INTEGER(x);
 1265|      0|	n = XLENGTH(x);
 1266|      0|	xcopyIntegerWithRecycle(ra, r, 0, len, n);
 1267|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1268|      0|	for(a = CDR(args); a != R_NilValue; a = CDR(a)) {
  ------------------
  |  Branch (1268:21): [True: 0, False: 0]
  ------------------
 1269|      0|	    x = CAR(a);
 1270|      0|	    PROTECT(x = coerceVector(CAR(a), anstype));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1271|      0|	    n = XLENGTH(x);
 1272|      0|	    r = INTEGER(x);
 1273|      0|	    MOD_ITERATE1(len, n, i, i1, {
  ------------------
  |  |   67|      0|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |   68|      0|	i = i1 = 0;					\
  |  |   69|      0|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  ------------------
  |  |  |  |   59|      0|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |   60|      0|	for (; i < n;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (60:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   61|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (61:12): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   62|      0|		 ++i) {							\
  |  |  |  |   63|      0|	    loop_body							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   64|      0|		}							\
  |  |  |  |   65|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   70|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (70:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1274|      0|		tmp = r[i1];
 1275|      0|		if(PRIMVAL(op) == 1) {
 1276|      0|		    if( (narm && ra[i] == NA_INTEGER) ||
 1277|      0|			(ra[i] != NA_INTEGER && tmp != NA_INTEGER
 1278|      0|			 && tmp > ra[i]) ||
 1279|      0|			(!narm && tmp == NA_INTEGER) )
 1280|      0|			ra[i] = tmp;
 1281|      0|		} else {
 1282|      0|		    if( (narm && ra[i] == NA_INTEGER) ||
 1283|      0|			(ra[i] != NA_INTEGER && tmp != NA_INTEGER
 1284|      0|			 && tmp < ra[i]) ||
 1285|      0|			(!narm && tmp == NA_INTEGER) )
 1286|      0|			ra[i] = tmp;
 1287|      0|		}
 1288|      0|	    });
 1289|      0|	    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1290|      0|	}
 1291|      0|    }
 1292|      0|	break;
 1293|    854|    case REALSXP:
  ------------------
  |  |  124|    854|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1293:5): [True: 854, False: 0]
  ------------------
 1294|    854|    {
 1295|    854|	double *r, *ra = REAL(ans), tmp;
 1296|    854|	PROTECT(x = coerceVector(CAR(args), anstype));
  ------------------
  |  |  357|    854|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1297|    854|	r = REAL(x);
 1298|    854|	n = XLENGTH(x);
 1299|    854|	xcopyRealWithRecycle(ra, r, 0, len, n);
 1300|    854|	UNPROTECT(1);
  ------------------
  |  |  358|    854|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1301|  1.70k|	for(a = CDR(args); a != R_NilValue; a = CDR(a)) {
  ------------------
  |  Branch (1301:21): [True: 854, False: 854]
  ------------------
 1302|    854|	    PROTECT(x = coerceVector(CAR(a), anstype));
  ------------------
  |  |  357|    854|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1303|    854|	    n = XLENGTH(x);
 1304|    854|	    r = REAL(x);
 1305|    854|	    MOD_ITERATE1(len, n, i, i1, {
  ------------------
  |  |   67|    854|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |   68|    854|	i = i1 = 0;					\
  |  |   69|    854|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  ------------------
  |  |  |  |   59|    854|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |   60|   105k|	for (; i < n;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (60:9): [True: 104k, False: 854]
  |  |  |  |  ------------------
  |  |  |  |   61|   104k|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (61:12): [True: 12.7k, False: 91.9k]
  |  |  |  |  ------------------
  |  |  |  |   62|   104k|		 ++i) {							\
  |  |  |  |   63|  1.30M|	    loop_body							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:6): [True: 0, False: 52.3k]
  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (63:6): [True: 52.3k, False: 0]
  |  |  |  |  |  Branch (63:6): [True: 52.3k, False: 0]
  |  |  |  |  |  Branch (63:6): [True: 46.0k, False: 6.35k]
  |  |  |  |  |  Branch (63:6): [True: 6.35k, False: 0]
  |  |  |  |  |  Branch (63:6): [True: 0, False: 6.35k]
  |  |  |  |  |  Branch (63:6): [True: 0, False: 52.3k]
  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (63:6): [True: 52.3k, False: 0]
  |  |  |  |  |  Branch (63:6): [True: 52.3k, False: 0]
  |  |  |  |  |  Branch (63:6): [True: 36.2k, False: 16.1k]
  |  |  |  |  |  Branch (63:6): [True: 16.1k, False: 0]
  |  |  |  |  |  Branch (63:6): [True: 0, False: 16.1k]
  |  |  |  |  |  Branch (63:6): [True: 52.3k, False: 52.3k]
  |  |  |  |  ------------------
  |  |  |  |   64|   104k|		}							\
  |  |  |  |   65|    854|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:14): [Folded, False: 854]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   70|    854|    } while (0)
  |  |  ------------------
  |  |  |  Branch (70:14): [Folded, False: 854]
  |  |  ------------------
  ------------------
 1306|    854|		tmp = r[i1];
 1307|    854|		if(PRIMVAL(op) == 1) {
 1308|    854|		    if( (narm && ISNAN(ra[i])) ||
 1309|    854|			(!ISNAN(ra[i]) && !ISNAN(tmp) && tmp > ra[i]) ||
 1310|    854|			(!narm && ISNAN(tmp)) )
 1311|    854|			ra[i] = tmp;
 1312|    854|		} else {
 1313|    854|		    if( (narm && ISNAN(ra[i])) ||
 1314|    854|			(!ISNAN(ra[i]) && !ISNAN(tmp) && tmp < ra[i]) ||
 1315|    854|			(!narm && ISNAN(tmp)) )
 1316|    854|			ra[i] = tmp;
 1317|    854|		}
 1318|    854|	    });
 1319|    854|	    UNPROTECT(1);
  ------------------
  |  |  358|    854|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1320|    854|	}
 1321|    854|    }
 1322|    854|	break;
 1323|      0|    case STRSXP:
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1323:5): [True: 0, False: 854]
  ------------------
 1324|      0|    {
 1325|      0|	PROTECT(x = coerceVector(CAR(args), anstype));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1326|      0|	n = XLENGTH(x);
 1327|      0|	xcopyStringWithRecycle(ans, x, 0, len, n);
 1328|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1329|      0|	for(a = CDR(args); a != R_NilValue; a = CDR(a)) {
  ------------------
  |  Branch (1329:21): [True: 0, False: 0]
  ------------------
 1330|      0|	    SEXP tmp, t2;
 1331|      0|	    PROTECT(x = coerceVector(CAR(a), anstype));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1332|      0|	    n = XLENGTH(x);
 1333|      0|	    MOD_ITERATE1(len, n, i, i1, {
  ------------------
  |  |   67|      0|#define MOD_ITERATE1(n, n1, i, i1, loop_body) do {	\
  |  |   68|      0|	i = i1 = 0;					\
  |  |   69|      0|	MOD_ITERATE1_CORE(n, n1, i, i1, loop_body);	\
  |  |  ------------------
  |  |  |  |   59|      0|#define MOD_ITERATE1_CORE(n, n1, i, i1, loop_body) do {	\
  |  |  |  |   60|      0|	for (; i < n;							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (60:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   61|      0|	     i1 = (++i1 == n1) ? 0 : i1,				\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (61:12): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   62|      0|		 ++i) {							\
  |  |  |  |   63|      0|	    loop_body							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  |  Branch (63:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   64|      0|		}							\
  |  |  |  |   65|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   70|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (70:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1334|      0|		tmp = STRING_ELT(x, i1);
 1335|      0|		t2 = STRING_ELT(ans, i);
 1336|      0|		if(PRIMVAL(op) == 1) {
 1337|      0|		    if( (narm && t2 == NA_STRING) ||
 1338|      0|			(t2 != NA_STRING && tmp != NA_STRING && tmp != t2 && Scollate(tmp, t2) > 0) ||
 1339|      0|			(!narm && tmp == NA_STRING) )
 1340|      0|			SET_STRING_ELT(ans, i, tmp);
 1341|      0|		} else {
 1342|      0|		    if( (narm && t2 == NA_STRING) ||
 1343|      0|			(t2 != NA_STRING && tmp != NA_STRING && tmp != t2 && Scollate(tmp, t2) < 0) ||
 1344|      0|			(!narm && tmp == NA_STRING) )
 1345|      0|			SET_STRING_ELT(ans, i, tmp);
 1346|      0|		}
 1347|      0|	    });
 1348|      0|	    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1349|      0|	}
 1350|      0|    }
 1351|      0|	break;
 1352|      0|    default:
  ------------------
  |  Branch (1352:5): [True: 0, False: 854]
  ------------------
 1353|      0|	break;
 1354|    854|    }
 1355|    854|    UNPROTECT(1);
  ------------------
  |  |  358|    854|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1356|    854|    return ans;
 1357|    854|}
summary.c:imax:
  265|    652|{
  266|    652|    int s = 0 /* -Wall */;
  267|    652|    bool updated = false;
  268|       |
  269|    652|    ITERATE_BY_REGION(sx, x, i, nbatch, int, INTEGER, {
  ------------------
  |  |  251|    652|#define ITERATE_BY_REGION(sx, px, idx, nb, etype, vtype, expr) do {	\
  |  |  252|    652|	ITERATE_BY_REGION_PARTIAL(sx, px, idx, nb, etype, vtype,	\
  |  |  ------------------
  |  |  |  |  220|    652|				  strt, nfull, expr) do {		\
  |  |  |  |  221|    652|	const etype *px = (etype *) DATAPTR_OR_NULL(sx);		\
  |  |  |  |  222|    652|	if (px != NULL) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:6): [True: 652, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  223|    652|	    R_xlen_t idx = strt;					\
  |  |  |  |  224|    652|	    (void) idx; /* variable may be unused in expr */		\
  |  |  |  |  225|    652|	    R_xlen_t nb = nfull;					\
  |  |  |  |  226|    652|	    px += strt;							\
  |  |  |  |  227|    652|	    if (nb > 0) {                                               \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (227:10): [True: 652, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  228|  7.17k|	        expr							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (228:10): [True: 652, False: 0]
  |  |  |  |  |  Branch (228:10): [True: 0, False: 0]
  |  |  |  |  |  Branch (228:10): [True: 652, False: 0]
  |  |  |  |  |  Branch (228:10): [True: 0, False: 0]
  |  |  |  |  |  Branch (228:10): [True: 652, False: 0]
  |  |  |  |  |  Branch (228:10): [True: 652, False: 652]
  |  |  |  |  ------------------
  |  |  |  |  229|    652|	    }                                                           \
  |  |  |  |  230|    652|	}								\
  |  |  |  |  231|    652|	else ITERATE_BY_REGION_PARTIAL0(sx, px, idx, nb, etype, vtype,	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  191|      0|				   strt, nfull, expr) do {		\
  |  |  |  |  |  |  192|      0|	etype __ibr_buf__[GET_REGION_BUFSIZE];				\
  |  |  |  |  |  |  193|      0|	R_xlen_t __ibr_n__ = strt + nfull;				\
  |  |  |  |  |  |  194|      0|	R_xlen_t nb;							\
  |  |  |  |  |  |  195|      0|	for (R_xlen_t idx = strt; idx < __ibr_n__; idx += nb) {		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (195:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  196|      0|	    nb = __ibr_n__  - idx > GET_REGION_BUFSIZE ?		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  181|      0|#define GET_REGION_BUFSIZE 512
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (196:11): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  197|      0|		GET_REGION_BUFSIZE :  __ibr_n__ - idx;			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  181|      0|#define GET_REGION_BUFSIZE 512
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  198|      0|	    etype *px = (etype *) GET_REGION_PTR(sx, idx, nb,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  187|      0|    (ALTREP(x) == 0 ? type(x) + (i) : (type##_GET_REGION(x, i, n, buf), buf))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (187:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  199|      0|	                                         __ibr_buf__, vtype);	\
  |  |  |  |  |  |  200|      0|	    expr							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|      0|	 }							        \
  |  |  |  |  |  |  202|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  232|    652|					strt, nfull, expr);		\
  |  |  |  |  233|    652|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (233:14): [Folded, False: 652]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  253|    652|				  0, XLENGTH(sx), expr);		\
  |  |  254|    652|    } while (0)
  |  |  ------------------
  |  |  |  Branch (254:14): [Folded, False: 652]
  |  |  ------------------
  ------------------
  270|    652|	    for (R_xlen_t k = 0; k < nbatch; k++) {
  271|    652|		if (x[k] != NA_INTEGER) {
  272|    652|		    if (!updated || s < x[k]) {
  273|    652|			s = x[k];
  274|    652|			if(!updated) updated = true;
  275|    652|		    }
  276|    652|		} else if (!narm) {
  277|    652|		    *value = NA_INTEGER;
  278|    652|		    return(true);
  279|    652|		}
  280|    652|	    }
  281|    652|	});
  282|    652|    *value = s;
  283|    652|    return updated;
  284|    652|}
summary.c:rmax:
  287|    356|{
  288|    356|    double s = 0.0 /* -Wall */;
  289|    356|    bool updated = false;
  290|       |
  291|       |    ITERATE_BY_REGION(sx, x, iii, nbatch, double, REAL, {
  ------------------
  |  |  251|    356|#define ITERATE_BY_REGION(sx, px, idx, nb, etype, vtype, expr) do {	\
  |  |  252|    356|	ITERATE_BY_REGION_PARTIAL(sx, px, idx, nb, etype, vtype,	\
  |  |  ------------------
  |  |  |  |  220|    356|				  strt, nfull, expr) do {		\
  |  |  |  |  221|    356|	const etype *px = (etype *) DATAPTR_OR_NULL(sx);		\
  |  |  |  |  222|    356|	if (px != NULL) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:6): [True: 356, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  223|    356|	    R_xlen_t idx = strt;					\
  |  |  |  |  224|    356|	    (void) idx; /* variable may be unused in expr */		\
  |  |  |  |  225|    356|	    R_xlen_t nb = nfull;					\
  |  |  |  |  226|    356|	    px += strt;							\
  |  |  |  |  227|    356|	    if (nb > 0) {                                               \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (227:10): [True: 356, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  228|   397k|	        expr							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (228:10): [True: 0, False: 0]
  |  |  |  |  |  Branch (228:10): [True: 0, False: 0]
  |  |  |  |  |  Branch (228:10): [True: 0, False: 2.26k]
  |  |  |  |  |  Branch (228:10): [True: 326, False: 47.5k]
  |  |  |  |  |  Branch (228:10): [True: 159, False: 47.3k]
  |  |  |  |  |  Branch (228:10): [True: 326, False: 159]
  |  |  |  |  |  Branch (228:10): [True: 2.26k, False: 47.8k]
  |  |  |  |  |  Branch (228:10): [True: 50.1k, False: 356]
  |  |  |  |  ------------------
  |  |  |  |  229|    356|	    }                                                           \
  |  |  |  |  230|    356|	}								\
  |  |  |  |  231|    356|	else ITERATE_BY_REGION_PARTIAL0(sx, px, idx, nb, etype, vtype,	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  191|      0|				   strt, nfull, expr) do {		\
  |  |  |  |  |  |  192|      0|	etype __ibr_buf__[GET_REGION_BUFSIZE];				\
  |  |  |  |  |  |  193|      0|	R_xlen_t __ibr_n__ = strt + nfull;				\
  |  |  |  |  |  |  194|      0|	R_xlen_t nb;							\
  |  |  |  |  |  |  195|      0|	for (R_xlen_t idx = strt; idx < __ibr_n__; idx += nb) {		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (195:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  196|      0|	    nb = __ibr_n__  - idx > GET_REGION_BUFSIZE ?		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  181|      0|#define GET_REGION_BUFSIZE 512
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (196:11): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  197|      0|		GET_REGION_BUFSIZE :  __ibr_n__ - idx;			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  181|      0|#define GET_REGION_BUFSIZE 512
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  198|      0|	    etype *px = (etype *) GET_REGION_PTR(sx, idx, nb,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  187|      0|    (ALTREP(x) == 0 ? type(x) + (i) : (type##_GET_REGION(x, i, n, buf), buf))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (187:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  199|      0|	                                         __ibr_buf__, vtype);	\
  |  |  |  |  |  |  200|      0|	    expr							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|      0|	 }							        \
  |  |  |  |  |  |  202|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  232|    356|					strt, nfull, expr);		\
  |  |  |  |  233|    356|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (233:14): [Folded, False: 356]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  253|    356|				  0, XLENGTH(sx), expr);		\
  |  |  254|    356|    } while (0)
  |  |  ------------------
  |  |  |  Branch (254:14): [Folded, False: 356]
  |  |  ------------------
  ------------------
  292|    356|	    for (R_xlen_t k = 0; k < nbatch; k++) {
  293|    356|		if (ISNAN(x[k])) {/* Na(N) */
  294|    356|		    if (!narm) {
  295|    356|			if(!ISNA(s)) s = x[k]; /* so any NA trumps all NaNs */
  296|    356|			if(!updated) updated = true;
  297|    356|		    }
  298|    356|		}
  299|    356|		else if (!updated || x[k] > s) { /* Never true if s is NA/NaN */
  300|    356|		    s = x[k];
  301|    356|		    if(!updated) updated = true;
  302|    356|		}
  303|    356|	    }
  304|    356|	});
  305|    356|    *value = s;
  306|    356|    return updated;
  307|    356|}
summary.c:isum:
   53|      2|{
   54|      2|    LONG_INT s = 0;  // at least 64-bit
  ------------------
  |  | 2592|      2|# define LONG_INT int64_t
  ------------------
   55|      2|    int updated = 0;
   56|      2|#ifdef LONG_VECTOR_SUPPORT
   57|      2|    int ii = R_INT_MIN; // need > 2^32 entries to overflow; checking earlier is a waste
  ------------------
  |  |   36|      2|#define R_INT_MIN	(1+INT_MIN)
  ------------------
   58|       |/* NOTE: cannot use 64-bit *value to pass NA_INTEGER: that is "regular" 64bit int
   59|       | *      -> pass the NA information via return value ('updated').
   60|       | * After the first 2^32 entries, only check every 1000th time (related to GET_REGION_BUFSIZE=512 ?)
   61|       | * Assume LONG_INT_MAX >= 2^63-1 >=~ 9.223e18 >  (1000 * 9000..0L = 9 * 10^18)
   62|       | */
   63|      2|# define ISUM_OVERFLOW_CHECK do {					\
   64|      2|	if (ii++ > 1000) {						\
   65|      2|	    if (s > 9000000000000000L || s < -9000000000000000L) {	\
   66|      2|		DbgP2("|OVERFLOW triggered: s=%ld|", s);		\
   67|       |		/* *value = s; no use, TODO continue from 'k' */	\
   68|      2|		return 42; /* was overflow, NA; now switch to irsum()*/ \
   69|      2|	    }								\
   70|      2|	    ii = 0;							\
   71|      2|	}								\
   72|      2|    } while (0)
   73|       |#else
   74|       |# define ISUM_OVERFLOW_CHECK do { } while(0)
   75|       |#endif
   76|       |
   77|       |    /**** assumes INTEGER(sx) and LOGICAL(sx) are identical!! */
   78|      2|    ITERATE_BY_REGION(sx, x, i, nbatch, int, INTEGER, {
  ------------------
  |  |  251|      2|#define ITERATE_BY_REGION(sx, px, idx, nb, etype, vtype, expr) do {	\
  |  |  252|      2|	ITERATE_BY_REGION_PARTIAL(sx, px, idx, nb, etype, vtype,	\
  |  |  ------------------
  |  |  |  |  220|      2|				  strt, nfull, expr) do {		\
  |  |  |  |  221|      2|	const etype *px = (etype *) DATAPTR_OR_NULL(sx);		\
  |  |  |  |  222|      2|	if (px != NULL) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:6): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  223|      2|	    R_xlen_t idx = strt;					\
  |  |  |  |  224|      2|	    (void) idx; /* variable may be unused in expr */		\
  |  |  |  |  225|      2|	    R_xlen_t nb = nfull;					\
  |  |  |  |  226|      2|	    px += strt;							\
  |  |  |  |  227|      2|	    if (nb > 0) {                                               \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (227:10): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  228|     22|	        expr							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (228:10): [True: 2, False: 0]
  |  |  |  |  |  Branch (228:10): [True: 0, False: 0]
  |  |  |  |  |  Branch (228:10): [True: 0, False: 0]
  |  |  |  |  |  Branch (228:10): [True: 0, False: 2]
  |  |  |  |  |  Branch (228:10): [Folded, False: 2]
  |  |  |  |  |  Branch (228:10): [True: 0, False: 0]
  |  |  |  |  |  Branch (228:10): [True: 2, False: 0]
  |  |  |  |  |  Branch (228:10): [True: 2, False: 2]
  |  |  |  |  ------------------
  |  |  |  |  229|      2|	    }                                                           \
  |  |  |  |  230|      2|	}								\
  |  |  |  |  231|      2|	else ITERATE_BY_REGION_PARTIAL0(sx, px, idx, nb, etype, vtype,	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  191|      0|				   strt, nfull, expr) do {		\
  |  |  |  |  |  |  192|      0|	etype __ibr_buf__[GET_REGION_BUFSIZE];				\
  |  |  |  |  |  |  193|      0|	R_xlen_t __ibr_n__ = strt + nfull;				\
  |  |  |  |  |  |  194|      0|	R_xlen_t nb;							\
  |  |  |  |  |  |  195|      0|	for (R_xlen_t idx = strt; idx < __ibr_n__; idx += nb) {		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (195:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  196|      0|	    nb = __ibr_n__  - idx > GET_REGION_BUFSIZE ?		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  181|      0|#define GET_REGION_BUFSIZE 512
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (196:11): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  197|      0|		GET_REGION_BUFSIZE :  __ibr_n__ - idx;			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  181|      0|#define GET_REGION_BUFSIZE 512
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  198|      0|	    etype *px = (etype *) GET_REGION_PTR(sx, idx, nb,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  187|      0|    (ALTREP(x) == 0 ? type(x) + (i) : (type##_GET_REGION(x, i, n, buf), buf))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (187:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  199|      0|	                                         __ibr_buf__, vtype);	\
  |  |  |  |  |  |  200|      0|	    expr							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [Folded, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|      0|	 }							        \
  |  |  |  |  |  |  202|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  232|      2|					strt, nfull, expr);		\
  |  |  |  |  233|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (233:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  253|      2|				  0, XLENGTH(sx), expr);		\
  |  |  254|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (254:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
   79|      2|	    for (R_xlen_t k = 0; k < nbatch; k++) {
   80|      2|		if (x[k] != NA_INTEGER) {
   81|      2|		    if(!updated) updated = 1;
   82|      2|		    s += x[k];
   83|      2|		    ISUM_OVERFLOW_CHECK;
   84|      2|		} else if (!narm) {
   85|       |		    // updated = NA_INTEGER;
   86|      2|		    return NA_INTEGER;
   87|      2|		}
   88|      2|	    }
   89|      2|	});
   90|      2|    *value = s;
   91|      2|    return updated;
   92|      2|#undef ISUM_OVERFLOW_CHECK
   93|      2|}
summary.c:rsum:
  153|  1.24k|{
  154|  1.24k|    LDOUBLE s = 0.0;
  ------------------
  |  | 2582|  1.24k|# define LDOUBLE long double
  ------------------
  155|  1.24k|    bool updated = false;
  156|       |
  157|  1.24k|    ITERATE_BY_REGION(sx, x, i, nbatch, double, REAL, {
  ------------------
  |  |  251|  1.24k|#define ITERATE_BY_REGION(sx, px, idx, nb, etype, vtype, expr) do {	\
  |  |  252|  1.24k|	ITERATE_BY_REGION_PARTIAL(sx, px, idx, nb, etype, vtype,	\
  |  |  ------------------
  |  |  |  |  220|  1.24k|				  strt, nfull, expr) do {		\
  |  |  |  |  221|  1.24k|	const etype *px = (etype *) DATAPTR_OR_NULL(sx);		\
  |  |  |  |  222|  1.24k|	if (px != NULL) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:6): [True: 1.24k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  223|  1.24k|	    R_xlen_t idx = strt;					\
  |  |  |  |  224|  1.24k|	    (void) idx; /* variable may be unused in expr */		\
  |  |  |  |  225|  1.24k|	    R_xlen_t nb = nfull;					\
  |  |  |  |  226|  1.24k|	    px += strt;							\
  |  |  |  |  227|  1.24k|	    if (nb > 0) {                                               \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (227:10): [True: 1.24k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  228|  20.7k|	        expr							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (228:10): [True: 2.61k, False: 0]
  |  |  |  |  |  Branch (228:10): [True: 0, False: 0]
  |  |  |  |  |  Branch (228:10): [True: 1.24k, False: 1.37k]
  |  |  |  |  |  Branch (228:10): [True: 2.61k, False: 1.24k]
  |  |  |  |  ------------------
  |  |  |  |  229|  1.24k|	    }                                                           \
  |  |  |  |  230|  1.24k|	}								\
  |  |  |  |  231|  1.24k|	else ITERATE_BY_REGION_PARTIAL0(sx, px, idx, nb, etype, vtype,	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  191|      0|				   strt, nfull, expr) do {		\
  |  |  |  |  |  |  192|      0|	etype __ibr_buf__[GET_REGION_BUFSIZE];				\
  |  |  |  |  |  |  193|      0|	R_xlen_t __ibr_n__ = strt + nfull;				\
  |  |  |  |  |  |  194|      0|	R_xlen_t nb;							\
  |  |  |  |  |  |  195|      0|	for (R_xlen_t idx = strt; idx < __ibr_n__; idx += nb) {		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (195:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  196|      0|	    nb = __ibr_n__  - idx > GET_REGION_BUFSIZE ?		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  181|      0|#define GET_REGION_BUFSIZE 512
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (196:11): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  197|      0|		GET_REGION_BUFSIZE :  __ibr_n__ - idx;			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  181|      0|#define GET_REGION_BUFSIZE 512
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  198|      0|	    etype *px = (etype *) GET_REGION_PTR(sx, idx, nb,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  187|      0|    (ALTREP(x) == 0 ? type(x) + (i) : (type##_GET_REGION(x, i, n, buf), buf))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (187:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  199|      0|	                                         __ibr_buf__, vtype);	\
  |  |  |  |  |  |  200|      0|	    expr							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|      0|	 }							        \
  |  |  |  |  |  |  202|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  232|  1.24k|					strt, nfull, expr);		\
  |  |  |  |  233|  1.24k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (233:14): [Folded, False: 1.24k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  253|  1.24k|				  0, XLENGTH(sx), expr);		\
  |  |  254|  1.24k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (254:14): [Folded, False: 1.24k]
  |  |  ------------------
  ------------------
  158|  1.24k|	    for (R_xlen_t k = 0; k < nbatch; k++) {
  159|  1.24k|		if (!narm || !ISNAN(x[k])) {
  160|  1.24k|		    if(!updated) updated = true;
  161|  1.24k|		    s += x[k];
  162|  1.24k|		}
  163|  1.24k|	    }
  164|  1.24k|	});
  165|  1.24k|    if(s > DBL_MAX) *value = R_PosInf;
  ------------------
  |  Branch (165:8): [True: 0, False: 1.24k]
  ------------------
  166|  1.24k|    else if (s < -DBL_MAX) *value = R_NegInf;
  ------------------
  |  Branch (166:14): [True: 0, False: 1.24k]
  ------------------
  167|  1.24k|    else *value = (double) s;
  168|       |
  169|  1.24k|    return updated;
  170|  1.24k|}
summary.c:iprod:
  335|    644|{
  336|    644|    LDOUBLE s = 1.0;
  ------------------
  |  | 2582|    644|# define LDOUBLE long double
  ------------------
  337|    644|    bool updated = false;
  338|       |
  339|       |    /**** assumes INTEGER(sx) and LOGICAL(sx) are identical!! */
  340|    644|    ITERATE_BY_REGION(sx, x, i, nbatch, int, INTEGER, {
  ------------------
  |  |  251|    644|#define ITERATE_BY_REGION(sx, px, idx, nb, etype, vtype, expr) do {	\
  |  |  252|    644|	ITERATE_BY_REGION_PARTIAL(sx, px, idx, nb, etype, vtype,	\
  |  |  ------------------
  |  |  |  |  220|    644|				  strt, nfull, expr) do {		\
  |  |  |  |  221|    644|	const etype *px = (etype *) DATAPTR_OR_NULL(sx);		\
  |  |  |  |  222|    644|	if (px != NULL) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:6): [True: 644, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  223|    644|	    R_xlen_t idx = strt;					\
  |  |  |  |  224|    644|	    (void) idx; /* variable may be unused in expr */		\
  |  |  |  |  225|    644|	    R_xlen_t nb = nfull;					\
  |  |  |  |  226|    644|	    px += strt;							\
  |  |  |  |  227|    644|	    if (nb > 0) {                                               \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (227:10): [True: 644, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  228|  11.5k|	        expr							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (228:10): [True: 644, False: 644]
  |  |  |  |  |  Branch (228:10): [True: 0, False: 0]
  |  |  |  |  |  Branch (228:10): [True: 0, False: 0]
  |  |  |  |  |  Branch (228:10): [True: 1.28k, False: 0]
  |  |  |  |  |  Branch (228:10): [True: 0, False: 1.28k]
  |  |  |  |  |  Branch (228:10): [True: 1.28k, False: 644]
  |  |  |  |  ------------------
  |  |  |  |  229|    644|	    }                                                           \
  |  |  |  |  230|    644|	}								\
  |  |  |  |  231|    644|	else ITERATE_BY_REGION_PARTIAL0(sx, px, idx, nb, etype, vtype,	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  191|      0|				   strt, nfull, expr) do {		\
  |  |  |  |  |  |  192|      0|	etype __ibr_buf__[GET_REGION_BUFSIZE];				\
  |  |  |  |  |  |  193|      0|	R_xlen_t __ibr_n__ = strt + nfull;				\
  |  |  |  |  |  |  194|      0|	R_xlen_t nb;							\
  |  |  |  |  |  |  195|      0|	for (R_xlen_t idx = strt; idx < __ibr_n__; idx += nb) {		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (195:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  196|      0|	    nb = __ibr_n__  - idx > GET_REGION_BUFSIZE ?		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  181|      0|#define GET_REGION_BUFSIZE 512
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (196:11): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  197|      0|		GET_REGION_BUFSIZE :  __ibr_n__ - idx;			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  181|      0|#define GET_REGION_BUFSIZE 512
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  198|      0|	    etype *px = (etype *) GET_REGION_PTR(sx, idx, nb,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  187|      0|    (ALTREP(x) == 0 ? type(x) + (i) : (type##_GET_REGION(x, i, n, buf), buf))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (187:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  199|      0|	                                         __ibr_buf__, vtype);	\
  |  |  |  |  |  |  200|      0|	    expr							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|      0|	 }							        \
  |  |  |  |  |  |  202|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  232|    644|					strt, nfull, expr);		\
  |  |  |  |  233|    644|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (233:14): [Folded, False: 644]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  253|    644|				  0, XLENGTH(sx), expr);		\
  |  |  254|    644|    } while (0)
  |  |  ------------------
  |  |  |  Branch (254:14): [Folded, False: 644]
  |  |  ------------------
  ------------------
  341|    644|	    for (R_xlen_t k = 0; k < nbatch; k++) {
  342|    644|		if (x[k] != NA_INTEGER) {
  343|    644|		    s *= x[k];
  344|    644|		    if(!updated) updated = true;
  345|    644|		}
  346|    644|		else if (!narm) {
  347|    644|		    if(!updated) updated = true;
  348|    644|		    *value = NA_REAL;
  349|    644|		    return updated;
  350|    644|		}
  351|       |
  352|    644|		if(ISNAN(s)) {  /* how can this happen? */
  353|    644|		    *value = NA_REAL;
  354|    644|		    return updated;
  355|    644|		}
  356|    644|	    }
  357|    644|	});
  358|       |
  359|       |    // This could over/underflow (does in package POT)
  360|    644|    if(s > DBL_MAX) *value = R_PosInf;
  ------------------
  |  Branch (360:8): [True: 0, False: 644]
  ------------------
  361|    644|    else if (s < -DBL_MAX) *value = R_NegInf;
  ------------------
  |  Branch (361:14): [True: 0, False: 644]
  ------------------
  362|    644|    else *value = (double) s;
  363|       |
  364|    644|    return updated;
  365|    644|}

R_FileExists:
   81|    158|{
   82|    158|    struct stat sb;
   83|    158|    return stat(R_ExpandFileName(path), &sb) == 0;
   84|    158|}
R_fopen:
  143|     36|{
  144|     36|    return(filename ? fopen(filename, fixmode(mode)) : NULL );
  ------------------
  |  |  138|     36|#define fixmode(mode) (mode)
  ------------------
  |  Branch (144:12): [True: 36, False: 0]
  ------------------
  145|     36|}
R_HomeDir:
  232|     14|{
  233|     14|    return getenv("R_HOME");
  234|     14|}
do_interactive:
  238|      8|{
  239|      8|    checkArity(op, args);
  ------------------
  |  | 1793|      8|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  240|      8|    return ScalarLogical( (R_Interactive) ? 1 : 0 );
  ------------------
  |  | 1023|      8|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  |  Branch (240:27): [True: 8, False: 0]
  ------------------
  241|      8|}
R_popen:
  295|      4|{
  296|      4|    FILE *fp;
  297|       |#ifdef OLD__APPLE__
  298|       |    /* Luke recommends this to fix PR#1140 */
  299|       |    /* As of 2016-01-06 on El Capitan this may no longer be needed -- LT */
  300|       |    sigset_t ss;
  301|       |    sigemptyset(&ss);
  302|       |    sigaddset(&ss, SIGPROF);
  303|       |    sigprocmask(SIG_BLOCK, &ss,  NULL);
  304|       |    fp = popen(command, type);
  305|       |    sigprocmask(SIG_UNBLOCK, &ss, NULL);
  306|       |#else
  307|      4|    fp = popen(command, type);
  308|      4|#endif
  309|      4|    return fp;
  310|      4|}
do_getenv:
  368|     80|{
  369|     80|    int i, j;
  370|     80|    SEXP ans;
  371|       |
  372|     80|    checkArity(op, args);
  ------------------
  |  | 1793|     80|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  373|       |
  374|     80|    if (!isString(CAR(args)))
  ------------------
  |  |  966|     80|#define isString		Rf_isString
  ------------------
  |  Branch (374:9): [True: 0, False: 80]
  ------------------
  375|      0|	error(_("wrong type for argument"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("wrong type for argument"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  376|       |
  377|     80|    if (!isString(CADR(args)) || LENGTH(CADR(args)) != 1)
  ------------------
  |  |  966|     80|#define isString		Rf_isString
  ------------------
  |  Branch (377:9): [True: 0, False: 80]
  |  Branch (377:34): [True: 0, False: 80]
  ------------------
  378|      0|	error(_("wrong type for argument"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("wrong type for argument"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  379|       |
  380|     80|    i = LENGTH(CAR(args));
  381|     80|    if (i == 0) { // full list of environment variables
  ------------------
  |  Branch (381:9): [True: 0, False: 80]
  ------------------
  382|       |#ifdef Win32
  383|       |	int n = 0, N;
  384|       |	wchar_t **w;
  385|       |	for (i = 0, w = _wenviron; *w != NULL; i++, w++)
  386|       |	    n = max(n, wcslen(*w));
  387|       |	N = 4*n+1;
  388|       |	char buf[N];
  389|       |	PROTECT(ans = allocVector(STRSXP, i));
  390|       |	for (i = 0, w = _wenviron; *w != NULL; i++, w++) {
  391|       |	    wcstoutf8(buf, *w, sizeof(buf));
  392|       |	    SET_STRING_ELT(ans, i, mkCharCE(buf, CE_UTF8));
  393|       |	}
  394|       |#else
  395|      0|	char **e;
  396|      0|	for (i = 0, e = environ; *e != NULL; i++, e++);
  ------------------
  |  Branch (396:27): [True: 0, False: 0]
  ------------------
  397|      0|	PROTECT(ans = allocVector(STRSXP, i));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  398|      0|	for (i = 0, e = environ; *e != NULL; i++, e++)
  ------------------
  |  Branch (398:27): [True: 0, False: 0]
  ------------------
  399|      0|	    SET_STRING_ELT(ans, i, mkChar(*e));
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
  400|      0|#endif
  401|     80|    } else {
  402|     80|	PROTECT(ans = allocVector(STRSXP, i));
  ------------------
  |  |  357|     80|#define PROTECT(s)	Rf_protect(s)
  ------------------
  403|    160|	for (j = 0; j < i; j++) {
  ------------------
  |  Branch (403:14): [True: 80, False: 80]
  ------------------
  404|       |#ifdef Win32
  405|       |	    const wchar_t *wnm = wtransChar(STRING_ELT(CAR(args), j));
  406|       |	    wchar_t *w = _wgetenv(wnm);
  407|       |	    if (w == NULL)
  408|       |		SET_STRING_ELT(ans, j, STRING_ELT(CADR(args), 0));
  409|       |	    else {
  410|       |		int n = wcslen(w), N = 4*n+1; /* UTF-16 maps to <= 4 UTF-8 */
  411|       |		R_CheckStack2(N);
  412|       |		char buf[N];
  413|       |		wcstoutf8(buf, w, sizeof(buf));
  414|       |		SET_STRING_ELT(ans, j, mkCharCE(buf, CE_UTF8));
  415|       |	    }
  416|       |#else
  417|     80|	    char *s = getenv(translateChar(STRING_ELT(CAR(args), j)));
  ------------------
  |  | 1037|     80|#define translateChar		Rf_translateChar
  ------------------
  418|     80|	    if (s == NULL)
  ------------------
  |  Branch (418:10): [True: 57, False: 23]
  ------------------
  419|     57|		SET_STRING_ELT(ans, j, STRING_ELT(CADR(args), 0));
  420|     23|	    else {
  421|     23|		SEXP tmp;
  422|     23|		if(known_to_be_latin1) tmp = mkCharCE(s, CE_LATIN1);
  ------------------
  |  |  999|      0|#define mkCharCE		Rf_mkCharCE
  ------------------
  |  Branch (422:6): [True: 0, False: 23]
  ------------------
  423|     23|		else if(known_to_be_utf8) tmp = mkCharCE(s, CE_UTF8);
  ------------------
  |  |  999|      0|#define mkCharCE		Rf_mkCharCE
  ------------------
  |  Branch (423:11): [True: 0, False: 23]
  ------------------
  424|     23|		else tmp = mkChar(s);
  ------------------
  |  |  998|     23|#define mkChar			Rf_mkChar
  ------------------
  425|     23|		SET_STRING_ELT(ans, j, tmp);
  426|     23|	    }
  427|     80|#endif
  428|     80|	}
  429|     80|    }
  430|     80|    UNPROTECT(1);
  ------------------
  |  |  358|     80|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  431|     80|    return (ans);
  432|     80|}
do_setenv:
  463|     30|{
  464|     30|#if defined(HAVE_PUTENV) || defined(HAVE_SETENV)
  465|       |
  466|     30|    checkArity(op, args);
  ------------------
  |  | 1793|     30|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  467|       |
  468|     30|    SEXP nm = CAR(args);
  469|     30|    if (!isString(nm))
  ------------------
  |  |  966|     30|#define isString		Rf_isString
  ------------------
  |  Branch (469:9): [True: 0, False: 30]
  ------------------
  470|      0|	error(_("wrong type for argument"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("wrong type for argument"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  471|     30|    SEXP val = CADR(args);
  472|     30|    if (!isString(val))
  ------------------
  |  |  966|     30|#define isString		Rf_isString
  ------------------
  |  Branch (472:9): [True: 0, False: 30]
  ------------------
  473|      0|	error(_("wrong type for argument"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("wrong type for argument"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  474|     30|    if(LENGTH(nm) != LENGTH(val))
  ------------------
  |  Branch (474:8): [True: 0, False: 30]
  ------------------
  475|      0|	error(_("'%s' and '%s' are of different lengths"), "names", "val");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'%s' and '%s' are of different lengths"), "names", "val");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  476|       |
  477|     30|    int i, n = LENGTH(val);
  478|     30|    SEXP ans = PROTECT(allocVector(LGLSXP, n));
  ------------------
  |  |  357|     30|#define PROTECT(s)	Rf_protect(s)
  ------------------
  479|     30|#ifdef HAVE_SETENV
  480|     60|    for (i = 0; i < n; i++)
  ------------------
  |  Branch (480:17): [True: 30, False: 30]
  ------------------
  481|     30|	LOGICAL(ans)[i] = setenv(translateChar(STRING_ELT(nm, i)),
  ------------------
  |  | 1037|     30|#define translateChar		Rf_translateChar
  ------------------
  482|     30|				 translateChar(STRING_ELT(val, i)),
  ------------------
  |  | 1037|     30|#define translateChar		Rf_translateChar
  ------------------
  483|     30|				 1) == 0;
  484|       |#elif defined(Win32)
  485|       |    for (i = 0; i < n; i++)
  486|       |	LOGICAL(ans)[i] = Rwputenv(wtransChar(STRING_ELT(nm, i)),
  487|       |				   wtransChar(STRING_ELT(val, i))) == 0;
  488|       |#else
  489|       |    for (i = 0; i < n; i++)
  490|       |	LOGICAL(ans)[i] = Rputenv(translateChar(STRING_ELT(nm, i)),
  491|       |				  translateChar(STRING_ELT(val, i))) == 0;
  492|       |#endif
  493|     30|    UNPROTECT(1);
  ------------------
  |  |  358|     30|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  494|     30|    return ans;
  495|       |#else
  496|       |    error(_("'Sys.setenv' is not available on this system"));
  497|       |    return R_NilValue; /* -Wall */
  498|       |#endif
  499|     30|}
do_unsetenv:
  503|     26|{
  504|     26|    checkArity(op, args);
  ------------------
  |  | 1793|     26|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  505|       |
  506|     26|    SEXP nm = CAR(args);
  507|     26|    if (!isString(nm))
  ------------------
  |  |  966|     26|#define isString		Rf_isString
  ------------------
  |  Branch (507:9): [True: 0, False: 26]
  ------------------
  508|      0|	error(_("wrong type for argument"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("wrong type for argument"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  509|     26|    int i, n = LENGTH(nm);
  510|       |
  511|     26|#if defined(HAVE_UNSETENV) || defined(HAVE_PUTENV_UNSET) || defined(HAVE_PUTENV_UNSET2)
  512|     26|#ifdef HAVE_UNSETENV
  513|     52|    for (i = 0; i < n; i++) unsetenv(translateChar(STRING_ELT(nm, i)));
  ------------------
  |  | 1037|     26|#define translateChar		Rf_translateChar
  ------------------
  |  Branch (513:17): [True: 26, False: 26]
  ------------------
  514|       |#elif defined(HAVE_PUTENV_UNSET)
  515|       |    for (i = 0; i < n; i++) {
  516|       |	char buf[1000];
  517|       |	snprintf(buf, 1000, "%s",  translateChar(STRING_ELT(nm, i)));
  518|       |	putenv(buf);
  519|       |    }
  520|       |#elif defined(HAVE_PUTENV_UNSET2)
  521|       |# ifdef Win32
  522|       |    for (i = 0; i < n; i++) {
  523|       |	const wchar_t *w = wtransChar(STRING_ELT(nm, i));
  524|       |	wchar_t buf[2*wcslen(w)];
  525|       |	wcscpy(buf, w);
  526|       |	wcscat(buf, L"=");
  527|       |	_wputenv(buf);
  528|       |    }
  529|       |# else
  530|       |    for (i = 0; i < n; i++) {
  531|       |	char buf[1000];
  532|       |	snprintf(buf, 1000, "%s=", translateChar(STRING_ELT(nm, i)));
  533|       |	putenv(buf);
  534|       |    }
  535|       |# endif
  536|       |#endif
  537|       |
  538|       |#elif defined(HAVE_PUTENV) || defined(HAVE_SETENV)
  539|       |    warning(_("this system cannot unset environment variables: setting to \"\""));
  540|       |    n = LENGTH(nm);
  541|       |    for (i = 0; i < n; i++) {
  542|       |#ifdef HAVE_SETENV
  543|       |	setenv(translateChar(STRING_ELT(nm, i)), "", 1);
  544|       |#else
  545|       |	Rputenv(translateChar(STRING_ELT(nm, i)), "");
  546|       |#endif
  547|       |    }
  548|       |
  549|       |#else
  550|       |    warning(_("'Sys.unsetenv' is not available on this system"));
  551|       |#endif
  552|       |
  553|     26|    SEXP ans = PROTECT(allocVector(LGLSXP, n));
  ------------------
  |  |  357|     26|#define PROTECT(s)	Rf_protect(s)
  ------------------
  554|     52|    for (i = 0; i < n; i++)
  ------------------
  |  Branch (554:17): [True: 26, False: 26]
  ------------------
  555|     26|	LOGICAL(ans)[i] = !getenv(translateChar(STRING_ELT(nm, i)));
  ------------------
  |  | 1037|     26|#define translateChar		Rf_translateChar
  ------------------
  556|     26|    UNPROTECT(1);
  ------------------
  |  |  358|     26|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  557|     26|    return ans;
  558|     26|}
Rf_getCharCE:
  982|  6.35M|{
  983|  6.35M|    CHECK_CHARSXP(x);
  ------------------
  |  |  974|  6.35M|#define CHECK_CHARSXP(x) do { \
  |  |  975|  6.35M|    SEXP __x__ = (x);            \
  |  |  976|  6.35M|    if(TYPEOF(__x__) != CHARSXP) \
  |  |  ------------------
  |  |  |  |  120|  6.35M|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  ------------------
  |  |  |  Branch (976:8): [True: 0, False: 6.35M]
  |  |  ------------------
  |  |  977|  6.35M|	error(_("'%s' must be called on a CHARSXP, but got '%s'"), \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	error(_("'%s' must be called on a CHARSXP, but got '%s'"), \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  |  978|      0|	      __func__, R_typeToChar(__x__));			   \
  |  |  979|  6.35M|} while(0);
  |  |  ------------------
  |  |  |  Branch (979:9): [Folded, False: 6.35M]
  |  |  ------------------
  ------------------
  984|  6.35M|    if(IS_UTF8(x)) return CE_UTF8;
  ------------------
  |  Branch (984:8): [True: 0, False: 6.35M]
  ------------------
  985|  6.35M|    else if(IS_LATIN1(x)) return CE_LATIN1;
  ------------------
  |  Branch (985:13): [True: 0, False: 6.35M]
  ------------------
  986|  6.35M|    else if(IS_BYTES(x)) return CE_BYTES;
  ------------------
  |  Branch (986:13): [True: 0, False: 6.35M]
  ------------------
  987|  6.35M|    else return CE_NATIVE;
  988|  6.35M|}
Rf_translateChar:
 1879|  3.59M|{
 1880|  3.59M|    CHECK_CHARSXP(x);
  ------------------
  |  |  974|  3.59M|#define CHECK_CHARSXP(x) do { \
  |  |  975|  3.59M|    SEXP __x__ = (x);            \
  |  |  976|  3.59M|    if(TYPEOF(__x__) != CHARSXP) \
  |  |  ------------------
  |  |  |  |  120|  3.59M|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  ------------------
  |  |  |  Branch (976:8): [True: 0, False: 3.59M]
  |  |  ------------------
  |  |  977|  3.59M|	error(_("'%s' must be called on a CHARSXP, but got '%s'"), \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	error(_("'%s' must be called on a CHARSXP, but got '%s'"), \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  |  978|      0|	      __func__, R_typeToChar(__x__));			   \
  |  |  979|  3.59M|} while(0);
  |  |  ------------------
  |  |  |  Branch (979:9): [Folded, False: 3.59M]
  |  |  ------------------
  ------------------
 1881|  3.59M|    nttype_t t = needsTranslation(x);
 1882|  3.59M|    const char *ans = CHAR(x);
  ------------------
  |  |  203|  3.59M|#define CHAR(x) R_CHAR(x)
  ------------------
 1883|  3.59M|    if (t == NT_NONE) return ans;
  ------------------
  |  Branch (1883:9): [True: 3.59M, False: 0]
  ------------------
 1884|       |
 1885|      0|    R_StringBuffer cbuff = {NULL, 0, MAXELTSIZE};
  ------------------
  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  ------------------
 1886|      0|    translateToNative(ans, &cbuff, t, 0);
 1887|      0|    return copyAndFreeStringBuffer(&cbuff);
 1888|  3.59M|}
Rf_translateCharFP:
 1893|  3.07k|{
 1894|  3.07k|    CHECK_CHARSXP(x);
  ------------------
  |  |  974|  3.07k|#define CHECK_CHARSXP(x) do { \
  |  |  975|  3.07k|    SEXP __x__ = (x);            \
  |  |  976|  3.07k|    if(TYPEOF(__x__) != CHARSXP) \
  |  |  ------------------
  |  |  |  |  120|  3.07k|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  ------------------
  |  |  |  Branch (976:8): [True: 0, False: 3.07k]
  |  |  ------------------
  |  |  977|  3.07k|	error(_("'%s' must be called on a CHARSXP, but got '%s'"), \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	error(_("'%s' must be called on a CHARSXP, but got '%s'"), \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  |  978|      0|	      __func__, R_typeToChar(__x__));			   \
  |  |  979|  3.07k|} while(0);
  |  |  ------------------
  |  |  |  Branch (979:9): [Folded, False: 3.07k]
  |  |  ------------------
  ------------------
 1895|  3.07k|    nttype_t t = needsTranslation(x);
 1896|  3.07k|    const char *ans = CHAR(x);
  ------------------
  |  |  203|  3.07k|#define CHAR(x) R_CHAR(x)
  ------------------
 1897|  3.07k|    if (t == NT_NONE) return ans;
  ------------------
  |  Branch (1897:9): [True: 3.07k, False: 0]
  ------------------
 1898|       |
 1899|      0|    R_StringBuffer cbuff = {NULL, 0, MAXELTSIZE};
  ------------------
  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  ------------------
 1900|      0|    translateToNative(ans, &cbuff, t, 1);
 1901|      0|    return copyAndFreeStringBuffer(&cbuff);
 1902|  3.07k|}
Rf_translateCharFP2:
 1908|  2.58k|{
 1909|  2.58k|    CHECK_CHARSXP(x);
  ------------------
  |  |  974|  2.58k|#define CHECK_CHARSXP(x) do { \
  |  |  975|  2.58k|    SEXP __x__ = (x);            \
  |  |  976|  2.58k|    if(TYPEOF(__x__) != CHARSXP) \
  |  |  ------------------
  |  |  |  |  120|  2.58k|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  ------------------
  |  |  |  Branch (976:8): [True: 0, False: 2.58k]
  |  |  ------------------
  |  |  977|  2.58k|	error(_("'%s' must be called on a CHARSXP, but got '%s'"), \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	error(_("'%s' must be called on a CHARSXP, but got '%s'"), \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  |  978|      0|	      __func__, R_typeToChar(__x__));			   \
  |  |  979|  2.58k|} while(0);
  |  |  ------------------
  |  |  |  Branch (979:9): [Folded, False: 2.58k]
  |  |  ------------------
  ------------------
 1910|  2.58k|    nttype_t t = needsTranslation(x);
 1911|  2.58k|    const char *ans = CHAR(x);
  ------------------
  |  |  203|  2.58k|#define CHAR(x) R_CHAR(x)
  ------------------
 1912|  2.58k|    if (t == NT_NONE) return ans;
  ------------------
  |  Branch (1912:9): [True: 2.58k, False: 0]
  ------------------
 1913|       |
 1914|      0|    R_StringBuffer cbuff = {NULL, 0, MAXELTSIZE};
  ------------------
  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  ------------------
 1915|      0|    if (translateToNative(ans, &cbuff, t, 2))
  ------------------
  |  Branch (1915:9): [True: 0, False: 0]
  ------------------
 1916|      0|	return NULL; /* buffer already released */
 1917|      0|    return copyAndFreeStringBuffer(&cbuff);
 1918|      0|}
Rf_installTrChar:
 1921|  4.26M|{
 1922|  4.26M|    CHECK_CHARSXP(x);
  ------------------
  |  |  974|  4.26M|#define CHECK_CHARSXP(x) do { \
  |  |  975|  4.26M|    SEXP __x__ = (x);            \
  |  |  976|  4.26M|    if(TYPEOF(__x__) != CHARSXP) \
  |  |  ------------------
  |  |  |  |  120|  4.26M|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  ------------------
  |  |  |  Branch (976:8): [True: 0, False: 4.26M]
  |  |  ------------------
  |  |  977|  4.26M|	error(_("'%s' must be called on a CHARSXP, but got '%s'"), \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	error(_("'%s' must be called on a CHARSXP, but got '%s'"), \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  |  978|      0|	      __func__, R_typeToChar(__x__));			   \
  |  |  979|  4.26M|} while(0);
  |  |  ------------------
  |  |  |  Branch (979:9): [Folded, False: 4.26M]
  |  |  ------------------
  ------------------
 1923|  4.26M|    nttype_t t = needsTranslation(x);
 1924|  4.26M|    if (t == NT_NONE) return installNoTrChar(x);
  ------------------
  |  |  936|  4.26M|#define installNoTrChar		Rf_installNoTrChar
  ------------------
  |  Branch (1924:9): [True: 4.26M, False: 0]
  ------------------
 1925|       |
 1926|      0|    R_StringBuffer cbuff = {NULL, 0, MAXELTSIZE};
  ------------------
  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  ------------------
 1927|       |    // For back-compatibility this allows installing
 1928|       |    // symbols with escapes, with a warning.  The warning is signalled
 1929|       |    // once the buffer has been released, as options(warn = 2) makes it
 1930|       |    // an error.
 1931|      0|    bool failed = translateToNative(CHAR(x), &cbuff, t, 0);
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 1932|      0|    char err_buff[256];
 1933|      0|    if (failed)
  ------------------
  |  Branch (1933:9): [True: 0, False: 0]
  ------------------
 1934|      0|	truncateForMessage(err_buff, cbuff.data);
 1935|       |
 1936|       |    /* install() raises this itself, but then the buffer would leak. */
 1937|      0|    if (strlen(cbuff.data) > MAXIDSIZE) {
  ------------------
  |  | 1175|      0|#define MAXIDSIZE 10000	/* Largest symbol size,
  ------------------
  |  Branch (1937:9): [True: 0, False: 0]
  ------------------
 1938|      0|	R_FreeStringBuffer(&cbuff);
 1939|      0|	error(_("variable names are limited to %d bytes"), MAXIDSIZE);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("variable names are limited to %d bytes"), MAXIDSIZE);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
              	error(_("variable names are limited to %d bytes"), MAXIDSIZE);
  ------------------
  |  | 1175|      0|#define MAXIDSIZE 10000	/* Largest symbol size,
  ------------------
 1940|      0|    }
 1941|      0|    SEXP Sans = install(cbuff.data);
  ------------------
  |  |  934|      0|#define install			Rf_install
  ------------------
 1942|      0|    R_FreeStringBuffer(&cbuff);
 1943|      0|    if (failed)
  ------------------
  |  Branch (1943:9): [True: 0, False: 0]
  ------------------
 1944|      0|	warning(_("unable to translate '%s' to native encoding"), err_buff);
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	warning(_("unable to translate '%s' to native encoding"), err_buff);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1945|      0|    return Sans;
 1946|  4.26M|}
Rf_trCharUTF8:
 2079|      4|{
 2080|      4|    CHECK_CHARSXP(x);
  ------------------
  |  |  974|      4|#define CHECK_CHARSXP(x) do { \
  |  |  975|      4|    SEXP __x__ = (x);            \
  |  |  976|      4|    if(TYPEOF(__x__) != CHARSXP) \
  |  |  ------------------
  |  |  |  |  120|      4|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  |  |  ------------------
  |  |  |  Branch (976:8): [True: 0, False: 4]
  |  |  ------------------
  |  |  977|      4|	error(_("'%s' must be called on a CHARSXP, but got '%s'"), \
  |  |  ------------------
  |  |  |  |   88|      0|#define error Rf_error
  |  |  ------------------
  |  |               	error(_("'%s' must be called on a CHARSXP, but got '%s'"), \
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  |  978|      0|	      __func__, R_typeToChar(__x__));			   \
  |  |  979|      4|} while(0);
  |  |  ------------------
  |  |  |  Branch (979:9): [Folded, False: 4]
  |  |  ------------------
  ------------------
 2081|      4|    nttype_t t = needsTranslationUTF8(x);
 2082|      4|    const char *ans = CHAR(x);
  ------------------
  |  |  203|      4|#define CHAR(x) R_CHAR(x)
  ------------------
 2083|      4|    if (t == NT_NONE) return ans;
  ------------------
  |  Branch (2083:9): [True: 4, False: 0]
  ------------------
 2084|       |
 2085|      0|    R_StringBuffer cbuff = {NULL, 0, MAXELTSIZE};
  ------------------
  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  ------------------
 2086|      0|    translateToUTF8(ans, &cbuff, t, 1);
 2087|      0|    return copyAndFreeStringBuffer(&cbuff);
 2088|      4|}
R_isWriteableDir:
 2650|      6|{
 2651|       |#ifdef Win32
 2652|       |    struct _stati64 sb;
 2653|       |#else
 2654|      6|    struct stat sb;
 2655|      6|#endif
 2656|      6|    int isdir = 0;
 2657|      6|    if(!path) return 0;
  ------------------
  |  Branch (2657:8): [True: 6, False: 0]
  ------------------
 2658|       |#ifdef Win32
 2659|       |    if(_stati64(path, &sb) == 0) {
 2660|       |#else
 2661|      0|    if(stat(path, &sb) == 0) {
  ------------------
  |  Branch (2661:8): [True: 0, False: 0]
  ------------------
 2662|      0|#endif
 2663|      0|	isdir = (sb.st_mode & S_IFDIR) > 0; /* is a directory */
 2664|      0|#ifdef HAVE_ACCESS
 2665|       |	/* We want to know if the directory is writable by this user,
 2666|       |	   which mode does not tell us */
 2667|       |	isdir &= (access(path, W_OK) == 0);
 2668|      0|#endif
 2669|      0|    }
 2670|      0|    return isdir;
 2671|      6|}
R_reInitTempDir:
 2689|      2|{
 2690|      2|    char *tmp = NULL, *tm;
 2691|      2|    size_t len;
 2692|       |
 2693|      2|#define ERROR_MAYBE_DIE(MSG_) do {		\
 2694|      2|    if(die_on_fail)				\
 2695|      2|	R_Suicide(MSG_);			\
 2696|      2|    else					\
 2697|      2|	errorcall(R_NilValue, MSG_);            \
 2698|      2|} while (0)
 2699|       |
 2700|      2|    if(R_TempDir) return; /* someone else set it */
  ------------------
  |  Branch (2700:8): [True: 0, False: 2]
  ------------------
 2701|       |    /* getenv("R_SESSION_TMPDIR");   no longer set in R.sh */
 2702|       |
 2703|      2|    tm = getenv("TMPDIR");
 2704|      2|    if (!R_isWriteableDir(tm)) {
  ------------------
  |  Branch (2704:9): [True: 2, False: 0]
  ------------------
 2705|      2|	tm = getenv("TMP");
 2706|      2|	if (!R_isWriteableDir(tm)) {
  ------------------
  |  Branch (2706:6): [True: 2, False: 0]
  ------------------
 2707|      2|	    tm = getenv("TEMP");
 2708|      2|	    if (!R_isWriteableDir(tm)) {
  ------------------
  |  Branch (2708:10): [True: 2, False: 0]
  ------------------
 2709|       |#ifdef Win32
 2710|       |		tm = getenv("R_USER"); /* this one will succeed */
 2711|       |		if (!tm)
 2712|       |		    ERROR_MAYBE_DIE(_("'R_USER' not set"));
 2713|       |#else
 2714|      2|		tm = "/tmp";
 2715|      2|#endif
 2716|      2|	    }
 2717|      2|	}
 2718|      2|    }
 2719|       |
 2720|       |    /* make sure no spaces in path */
 2721|      2|    int hasspace = 0;
 2722|      2|    char *p;
 2723|     10|    for (p = tm; *p; p++)
  ------------------
  |  Branch (2723:18): [True: 8, False: 2]
  ------------------
 2724|      8|	if (isspace(*p)) { hasspace = 1; break; }
  ------------------
  |  Branch (2724:6): [True: 0, False: 8]
  ------------------
 2725|       |#ifdef Win32
 2726|       |    char *suffix = "\\RtmpXXXXXX";
 2727|       |    if (hasspace) {
 2728|       |	DWORD res = GetShortPathName(tm, NULL, 0);
 2729|       |	if (res > 0) {
 2730|       |	    len = res + strlen(suffix);
 2731|       |	    tmp = (char *)malloc(len);
 2732|       |	    if (!tmp)
 2733|       |		ERROR_MAYBE_DIE(_("cannot allocate 'R_TempDir'"));
 2734|       |	    DWORD res1 = GetShortPathName(tm, tmp, res);
 2735|       |	    if (res1 > 0 && res1 < res)
 2736|       |		strcat(tmp, suffix);
 2737|       |	    else { /* very unlikely */
 2738|       |		free(tmp);
 2739|       |		tmp = NULL;
 2740|       |	    }
 2741|       |	}
 2742|       |	if (tmp) {
 2743|       |	    /* GetShortPathName may return a long name, so check again */
 2744|       |	    hasspace = 0;
 2745|       |	    for (p = tmp; *p; p++)
 2746|       |		if (isspace(*p)) { hasspace = 1; break; }
 2747|       |	}
 2748|       |    }
 2749|       |#else
 2750|      2|    char *suffix = "/RtmpXXXXXX";
 2751|      2|#endif
 2752|      2|    if (hasspace) {
  ------------------
  |  Branch (2752:9): [True: 0, False: 2]
  ------------------
 2753|      0|	if (tmp)
  ------------------
  |  Branch (2753:6): [True: 0, False: 0]
  ------------------
 2754|      0|	    free(tmp);
 2755|      0|	ERROR_MAYBE_DIE(_("'R_TempDir' contains space"));
  ------------------
  |  | 2693|      0|#define ERROR_MAYBE_DIE(MSG_) do {		\
  |  | 2694|      0|    if(die_on_fail)				\
  |  |  ------------------
  |  |  |  Branch (2694:8): [True: 0, False: 0]
  |  |  ------------------
  |  | 2695|      0|	R_Suicide(MSG_);			\
  |  | 2696|      0|    else					\
  |  | 2697|      0|	errorcall(R_NilValue, MSG_);            \
  |  |  ------------------
  |  |  |  |  912|      0|#define errorcall		Rf_errorcall
  |  |  ------------------
  |  | 2698|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (2698:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2756|      0|    }
 2757|      2|    if (!tmp) {
  ------------------
  |  Branch (2757:9): [True: 2, False: 0]
  ------------------
 2758|      2|	len = strlen(tm) + strlen(suffix) + 1;
 2759|      2|	tmp = (char *)malloc(len);
 2760|      2|	if (!tmp)
  ------------------
  |  Branch (2760:6): [True: 0, False: 2]
  ------------------
 2761|      0|	    ERROR_MAYBE_DIE(_("cannot allocate 'R_TempDir'"));
  ------------------
  |  | 2693|      0|#define ERROR_MAYBE_DIE(MSG_) do {		\
  |  | 2694|      0|    if(die_on_fail)				\
  |  |  ------------------
  |  |  |  Branch (2694:8): [True: 0, False: 0]
  |  |  ------------------
  |  | 2695|      0|	R_Suicide(MSG_);			\
  |  | 2696|      0|    else					\
  |  | 2697|      0|	errorcall(R_NilValue, MSG_);            \
  |  |  ------------------
  |  |  |  |  912|      0|#define errorcall		Rf_errorcall
  |  |  ------------------
  |  | 2698|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (2698:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2762|      2|	strcpy(tmp, tm);
 2763|      2|	strcat(tmp, suffix);
 2764|      2|    }
 2765|      2|    if(!mkdtemp(tmp)) {
  ------------------
  |  Branch (2765:8): [True: 0, False: 2]
  ------------------
 2766|      0|	free(tmp);
 2767|      0|	ERROR_MAYBE_DIE(_("cannot create 'R_TempDir'"));
  ------------------
  |  | 2693|      0|#define ERROR_MAYBE_DIE(MSG_) do {		\
  |  | 2694|      0|    if(die_on_fail)				\
  |  |  ------------------
  |  |  |  Branch (2694:8): [True: 0, False: 0]
  |  |  ------------------
  |  | 2695|      0|	R_Suicide(MSG_);			\
  |  | 2696|      0|    else					\
  |  | 2697|      0|	errorcall(R_NilValue, MSG_);            \
  |  |  ------------------
  |  |  |  |  912|      0|#define errorcall		Rf_errorcall
  |  |  ------------------
  |  | 2698|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (2698:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2768|      0|    }
 2769|      2|#ifndef Win32
 2770|      2|# ifdef HAVE_SETENV
 2771|      2|    if(setenv("R_SESSION_TMPDIR", tmp, 1)) {
  ------------------
  |  Branch (2771:8): [True: 0, False: 2]
  ------------------
 2772|      0|	free(tmp);
 2773|      0|	errorcall(R_NilValue, _("unable to set R_SESSION_TMPDIR"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(R_NilValue, _("unable to set R_SESSION_TMPDIR"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2774|      0|    }
 2775|       |# elif defined(HAVE_PUTENV)
 2776|       |    {
 2777|       |	len = strlen(tmp) + 20;
 2778|       |	char * buf = (char *) malloc((len) * sizeof(char));
 2779|       |	if(buf) {
 2780|       |	    snprintf(buf, len, "R_SESSION_TMPDIR=%s", tmp);
 2781|       |	    if(putenv(buf)) {
 2782|       |		free(tmp);
 2783|       |		free(buf);
 2784|       |		errorcall(R_NilValue, _("unable to set R_SESSION_TMPDIR"));
 2785|       |	    }
 2786|       |	    /* no free here: storage remains in use */
 2787|       |	} else {
 2788|       |	    free(tmp);
 2789|       |	    errorcall(R_NilValue, _("unable to set R_SESSION_TMPDIR"));
 2790|       |	}
 2791|       |    }
 2792|       |# endif
 2793|      2|#endif
 2794|      2|    R_TempDir = tmp;
 2795|      2|    Sys_TempDir = tmp;
 2796|      2|}
Rf_InitTempDir:
 2798|      2|attribute_hidden void InitTempDir(void) {
 2799|      2|    R_reInitTempDir(/* die_on_fail = */ TRUE);
 2800|      2|}
R_tmpnam2:
 2814|      2|{
 2815|      2|    unsigned int n, pid = getpid();
 2816|       |#ifdef Win32
 2817|       |    char filesep[] = "\\";
 2818|       |#else
 2819|      2|    char filesep[] = "/";
 2820|      2|#endif
 2821|       |
 2822|      2|    if(!prefix) prefix = "";	/* NULL */
  ------------------
  |  Branch (2822:8): [True: 2, False: 0]
  ------------------
 2823|      2|    if(!fileext) fileext = "";  /*  "   */
  ------------------
  |  Branch (2823:8): [True: 0, False: 2]
  ------------------
 2824|       |
 2825|      2|    for (n = 0; n < 100; n++) {
  ------------------
  |  Branch (2825:17): [True: 2, False: 0]
  ------------------
 2826|       |	/* try a random number at the end.  Need at least 6 hex digits */
 2827|      2|	int r1 = rand();
 2828|      2|#if RAND_MAX > 16777215
 2829|      2|# define TMPNAM2_SNPRINTF(BUF, SIZE) \
 2830|      2|	snprintf(BUF, SIZE, "%s%s%s%x%x%s", tempdir, filesep, prefix, pid, r1, fileext)
 2831|       |#else
 2832|       |	int r2 = rand();
 2833|       |# define TMPNAM2_SNPRINTF(BUF, SIZE) \
 2834|       |	snprintf(BUF, SIZE, "%s%s%s%x%x%x%s", tempdir, filesep, prefix, pid, r1, r2, fileext)
 2835|       |#endif
 2836|      2|	size_t needed = TMPNAM2_SNPRINTF(NULL, 0) + 1;
  ------------------
  |  | 2830|      2|	snprintf(BUF, SIZE, "%s%s%s%x%x%s", tempdir, filesep, prefix, pid, r1, fileext)
  ------------------
 2837|      2|#ifdef Unix
 2838|      2|	if (needed > R_PATH_MAX)
  ------------------
  |  | 1150|      2|# define R_PATH_MAX PATH_MAX
  ------------------
  |  Branch (2838:6): [True: 0, False: 2]
  ------------------
 2839|      0|	    error(_("temporary name too long"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("temporary name too long"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2840|      2|#endif
 2841|      2|	char *res = (char *) malloc(needed);
 2842|      2|	if(!res)
  ------------------
  |  Branch (2842:5): [True: 0, False: 2]
  ------------------
 2843|      0|	    error(_("allocation failed in R_tmpnam2"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("allocation failed in R_tmpnam2"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2844|      2|	TMPNAM2_SNPRINTF(res, needed);
  ------------------
  |  | 2830|      2|	snprintf(BUF, SIZE, "%s%s%s%x%x%s", tempdir, filesep, prefix, pid, r1, fileext)
  ------------------
 2845|      2|	if (!R_FileExists(res))
  ------------------
  |  Branch (2845:6): [True: 2, False: 0]
  ------------------
 2846|      2|	    return res;
 2847|      0|	free(res);
 2848|      0|    }
 2849|      0|    error(_("cannot find unused tempfile name"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  error(_("cannot find unused tempfile name"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2850|      0|}
resetTimeLimits:
 2877|    104|{
 2878|    104|    double data[5];
 2879|    104|    R_getProcTime(data);
 2880|       |
 2881|    104|    elapsedLimit = (elapsedLimitValue > 0) ? data[2] + elapsedLimitValue : -1.0;
  ------------------
  |  Branch (2881:20): [True: 0, False: 104]
  ------------------
 2882|    104|    if (elapsedLimit2 > 0.0 &&
  ------------------
  |  Branch (2882:9): [True: 0, False: 104]
  ------------------
 2883|      0|	(elapsedLimit <= 0.0 || elapsedLimit2 < elapsedLimit))
  ------------------
  |  Branch (2883:3): [True: 0, False: 0]
  |  Branch (2883:26): [True: 0, False: 0]
  ------------------
 2884|      0|	elapsedLimit = elapsedLimit2;
 2885|       |
 2886|       |#ifdef Win32
 2887|       |    cpuLimit = (cpuLimitValue > 0) ? data[0] + data[1] + cpuLimitValue : -1.0;
 2888|       |#else
 2889|    104|    cpuLimit = (cpuLimitValue > 0) ? data[0] + data[1] + data[3] + data[4] + cpuLimitValue : -1.0;
  ------------------
  |  Branch (2889:16): [True: 0, False: 104]
  ------------------
 2890|    104|#endif
 2891|    104|    if (cpuLimit2 > 0.0 && (cpuLimit <= 0.0 || cpuLimit2 < cpuLimit))
  ------------------
  |  Branch (2891:9): [True: 0, False: 104]
  |  Branch (2891:29): [True: 0, False: 0]
  |  Branch (2891:48): [True: 0, False: 0]
  ------------------
 2892|      0|	cpuLimit = cpuLimit2;
 2893|    104|}
do_glob:
 3013|      2|{
 3014|      2|    SEXP x, ans;
 3015|      2|    R_xlen_t i, n;
 3016|      2|    int res, dirmark;
 3017|      2|    bool initialized = false;
 3018|      2|    glob_t globbuf;
 3019|       |#ifdef Win32
 3020|       |    R_StringBuffer cbuff = {NULL, 0, MAXELTSIZE};
 3021|       |#endif
 3022|       |
 3023|      2|    checkArity(op, args);
  ------------------
  |  | 1793|      2|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 3024|      2|    if (!isString(x = CAR(args)))
  ------------------
  |  |  966|      2|#define isString		Rf_isString
  ------------------
  |  Branch (3024:9): [True: 0, False: 2]
  ------------------
 3025|      0|	error(_("invalid '%s' argument"), "paths");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "paths");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3026|      2|    if (!XLENGTH(x)) return allocVector(STRSXP, 0);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
                  if (!XLENGTH(x)) return allocVector(STRSXP, 0);
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (3026:9): [True: 0, False: 2]
  ------------------
 3027|      2|    dirmark = asLogical(CADR(args));
  ------------------
  |  |  886|      2|#define asLogical		Rf_asLogical
  ------------------
 3028|      2|    if (dirmark == NA_LOGICAL)
  ------------------
  |  |   55|      2|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (3028:9): [True: 0, False: 2]
  ------------------
 3029|      0|	error(_("invalid '%s' argument"), "dirmark");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "dirmark");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3030|       |#ifndef GLOB_MARK
 3031|       |    if (dirmark)
 3032|       |	error(_("'dirmark = TRUE' is not supported on this platform"));
 3033|       |#endif
 3034|       |
 3035|      4|    for (i = 0; i < XLENGTH(x); i++) {
  ------------------
  |  Branch (3035:17): [True: 2, False: 2]
  ------------------
 3036|      2|	SEXP el = STRING_ELT(x, i);
 3037|      2|	if (el == NA_STRING) continue;
  ------------------
  |  |  433|      2|#define NA_STRING	R_NaString
  ------------------
  |  Branch (3037:6): [True: 0, False: 2]
  ------------------
 3038|       |#ifdef Win32
 3039|       |	res = dos_wglob(filenameToWchar(el, FALSE),
 3040|       |			(dirmark ? GLOB_MARK : 0) |
 3041|       |			GLOB_QUOTE | (initialized ? GLOB_APPEND : 0),
 3042|       |			NULL, &globbuf);
 3043|       |	if (res == GLOB_NOSPACE)
 3044|       |	    error(_("internal out-of-memory condition"));
 3045|       |#else
 3046|      2|	res = glob(translateChar(el),
  ------------------
  |  | 1037|      2|#define translateChar		Rf_translateChar
  ------------------
 3047|      2|# ifdef GLOB_MARK
 3048|      2|		   (dirmark ? GLOB_MARK : 0) |
  ------------------
  |  Branch (3048:7): [True: 0, False: 2]
  ------------------
 3049|      2|# endif
 3050|      2|		   GLOB_QUOTE | (initialized ? GLOB_APPEND : 0),
  ------------------
  |  | 3009|      2|#  define GLOB_QUOTE 0
  ------------------
  |  Branch (3050:20): [True: 0, False: 2]
  ------------------
 3051|      2|		   NULL, &globbuf);
 3052|      2|# ifdef GLOB_ABORTED
 3053|      2|	if (res == GLOB_ABORTED)
  ------------------
  |  Branch (3053:6): [True: 0, False: 2]
  ------------------
 3054|      0|	    warning(_("read error on '%s'"), translateChar(el));
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	    warning(_("read error on '%s'"), translateChar(el));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
              	    warning(_("read error on '%s'"), translateChar(el));
  ------------------
  |  | 1037|      0|#define translateChar		Rf_translateChar
  ------------------
 3055|      2|# endif
 3056|      2|# ifdef GLOB_NOSPACE
 3057|      2|	if (res == GLOB_NOSPACE)
  ------------------
  |  Branch (3057:6): [True: 0, False: 2]
  ------------------
 3058|      0|	    error(_("internal out-of-memory condition"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("internal out-of-memory condition"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3059|      2|# endif
 3060|      2|#endif
 3061|      2|	initialized = true;
 3062|      2|    }
 3063|      2|    n = initialized ? globbuf.gl_pathc : 0;
  ------------------
  |  Branch (3063:9): [True: 2, False: 0]
  ------------------
 3064|      2|    PROTECT(ans = allocVector(STRSXP, n));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3065|      2|    for (i = 0; i < n; i++)
  ------------------
  |  Branch (3065:17): [True: 0, False: 2]
  ------------------
 3066|       |#ifdef Win32
 3067|       |    {
 3068|       |	wchar_t *w = globbuf.gl_pathv[i];
 3069|       |	char *buf;
 3070|       |	size_t nb = wcstoutf8(NULL, w, (size_t)INT_MAX + 2);
 3071|       |	buf = R_AllocStringBuffer(nb, &cbuff);
 3072|       |	wcstoutf8(buf, w, nb);
 3073|       |	SET_STRING_ELT(ans, i, mkCharCE(buf, CE_UTF8));
 3074|       |    }
 3075|       |#else
 3076|      0|	SET_STRING_ELT(ans, i, mkChar(globbuf.gl_pathv[i]));
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
 3077|      2|#endif
 3078|      2|    UNPROTECT(1);
  ------------------
  |  |  358|      2|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 3079|       |#ifdef Win32
 3080|       |    R_FreeStringBufferL(&cbuff);
 3081|       |#endif
 3082|      2|    if (initialized) globfree(&globbuf);
  ------------------
  |  Branch (3082:9): [True: 2, False: 0]
  ------------------
 3083|      2|    return ans;
 3084|      2|}
R_isatty:
 3141|      2|{
 3142|       |#ifdef Win32
 3143|       |    if (R_is_redirection_tty(fd))
 3144|       |	return 1;
 3145|       |#endif
 3146|      2|    return isatty(fd);
 3147|      2|}
sysutils.c:needsTranslation:
 1705|  7.86M|{
 1706|  7.86M|    if (IS_ASCII(x)) return NT_NONE;
  ------------------
  |  Branch (1706:9): [True: 7.85M, False: 7.97k]
  ------------------
 1707|  7.97k|    if (IS_UTF8(x)) {
  ------------------
  |  Branch (1707:9): [True: 0, False: 7.97k]
  ------------------
 1708|      0|	if (utf8locale || x == NA_STRING) return NT_NONE;
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  |  Branch (1708:6): [True: 0, False: 0]
  |  Branch (1708:20): [True: 0, False: 0]
  ------------------
 1709|      0|	return NT_FROM_UTF8;
 1710|      0|    }
 1711|  7.97k|    if (IS_LATIN1(x)) {
  ------------------
  |  Branch (1711:9): [True: 0, False: 7.97k]
  ------------------
 1712|      0|	if (x == NA_STRING || latin1locale) return NT_NONE;
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  |  Branch (1712:6): [True: 0, False: 0]
  |  Branch (1712:24): [True: 0, False: 0]
  ------------------
 1713|      0|	return NT_FROM_LATIN1;
 1714|      0|    }
 1715|  7.97k|    if (IS_BYTES(x))
  ------------------
  |  Branch (1715:9): [True: 0, False: 7.97k]
  ------------------
 1716|      0|	error(_("translating strings with \"bytes\" encoding is not allowed"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("translating strings with \"bytes\" encoding is not allowed"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1717|  7.97k|    return NT_NONE;
 1718|  7.97k|}
sysutils.c:needsTranslationUTF8:
 1971|      4|{
 1972|      4|    if (IS_UTF8(x) || IS_ASCII(x) || x == NA_STRING) return NT_NONE;
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  |  Branch (1972:9): [True: 0, False: 4]
  |  Branch (1972:23): [True: 4, False: 0]
  |  Branch (1972:38): [True: 0, False: 0]
  ------------------
 1973|      0|    if (IS_BYTES(x))
  ------------------
  |  Branch (1973:9): [True: 0, False: 0]
  ------------------
 1974|      0|	error(_("translating strings with \"bytes\" encoding is not allowed"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("translating strings with \"bytes\" encoding is not allowed"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1975|      0|    if (IS_LATIN1(x) || latin1locale) return NT_FROM_LATIN1;
  ------------------
  |  Branch (1975:9): [True: 0, False: 0]
  |  Branch (1975:25): [True: 0, False: 0]
  ------------------
 1976|      0|    if (utf8locale) return NT_NONE;
  ------------------
  |  Branch (1976:9): [True: 0, False: 0]
  ------------------
 1977|      0|    return NT_FROM_NATIVE;
 1978|      0|}

Rf_currentTime:
   94|    106|{
   95|    106|    double ans = NA_REAL;
  ------------------
  |  |   58|    106|#define NA_REAL		R_NaReal
  ------------------
   96|       |
   97|    106|#ifdef HAVE_TIMESPEC_GET
   98|    106|    struct timespec tp;
   99|    106|    int res = timespec_get(&tp, TIME_UTC);
  100|    106|    if(res != 0)
  ------------------
  |  Branch (100:8): [True: 106, False: 0]
  ------------------
  101|    106|	ans = (double) tp.tv_sec + 1e-9 * (double) tp.tv_nsec;
  102|       |#elif defined(HAVE_CLOCK_GETTIME) && defined(CLOCK_REALTIME)
  103|       |    /* Has 2038 issue if time_t: tv.tv_sec is 32-bit. */
  104|       |    struct timespec tp;
  105|       |    int res = clock_gettime(CLOCK_REALTIME, &tp);
  106|       |    if(res == 0)
  107|       |	ans = (double) tp.tv_sec + 1e-9 * (double) tp.tv_nsec;
  108|       |
  109|       |#elif defined(HAVE_GETTIMEOFDAY)
  110|       |    /* macOS , mingw.org, used on mingw-w64.
  111|       |       Has 2038 issue if time_t: tv.tv_sec is 32-bit.
  112|       |     */
  113|       |    struct timeval tv;
  114|       |    int res = gettimeofday(&tv, NULL);
  115|       |    if(res == 0)
  116|       |	ans = (double) tv.tv_sec + 1e-6 * (double) tv.tv_usec;
  117|       |
  118|       |#else
  119|       |    /* No known current OSes */
  120|       |    time_t res = time(NULL);
  121|       |    if(res != (time_t)(-1)) /* -1 must be an error as the real value -1
  122|       |			       was ca 1969 */
  123|       |	ans = (double) res;
  124|       |#endif
  125|       |
  126|       |#ifndef HAVE_POSIX_LEAPSECONDS
  127|       |    /* No known current OSes */
  128|       |    /* Disallowed by POSIX (1988-):
  129|       |       http://www.mail-archive.com/leapsecs@rom.usno.navy.mil/msg00109.html
  130|       |       https://en.wikipedia.org/wiki/Unix_time
  131|       |    */
  132|       |    if (!ISNAN(ans)) {
  133|       |	ans -= n_leapseconds;
  134|       |    }
  135|       |#endif
  136|    106|    return ans;
  137|    106|}
Rf_TimeToSeed:
  151|      2|{
  152|      2|    unsigned int seed, pid = getpid();
  153|      2|#if defined(HAVE_CLOCK_GETTIME) && defined(CLOCK_REALTIME)
  154|      2|    {
  155|      2|	struct timespec tp;
  156|      2|	clock_gettime(CLOCK_REALTIME, &tp);
  157|      2|	seed = (unsigned int)(((uint_least64_t) tp.tv_nsec << 16) ^ tp.tv_sec);
  158|      2|    }
  159|       |#elif defined(HAVE_GETTIMEOFDAY)
  160|       |    {
  161|       |	struct timeval tv;
  162|       |	gettimeofday (&tv, NULL);
  163|       |	seed = (unsigned int)(((uint_least64_t) tv.tv_usec << 16) ^ tv.tv_sec);
  164|       |    }
  165|       |#else
  166|       |    /* C89, so must work */
  167|       |    seed = (Int32) time(NULL);
  168|       |#endif
  169|      2|    seed ^= (pid <<16);
  170|      2|    return seed;
  171|      2|}

Rf_any_duplicated:
  992|     66|{
  993|     66|    R_xlen_t result = 0;
  994|     66|    int nmax = NA_INTEGER;
  ------------------
  |  |   56|     66|#define NA_INTEGER	R_NaInt
  ------------------
  995|       |
  996|     66|    if (!isVector(x)) error(_("'duplicated' applies only to vectors"));
  ------------------
  |  |  974|     66|#define isVector		Rf_isVector
  ------------------
                  if (!isVector(x)) error(_("'duplicated' applies only to vectors"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  if (!isVector(x)) error(_("'duplicated' applies only to vectors"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (996:9): [True: 0, False: 66]
  ------------------
  997|     66|    R_xlen_t i, n = XLENGTH(x);
  998|       |
  999|     66|    if(DUP_KNOWN_SORTED(x)) {
  ------------------
  |  |  833|     66|    ((TYPEOF(x) == INTSXP && KNOWN_SORTED(INTEGER_IS_SORTED(x))) ||	\
  |  |  ------------------
  |  |  |  |  123|    132|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |                   ((TYPEOF(x) == INTSXP && KNOWN_SORTED(INTEGER_IS_SORTED(x))) ||	\
  |  |  ------------------
  |  |  |  | 1162|      2|#define KNOWN_SORTED(sorted) (sorted == SORTED_DECR ||			\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1162:31): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 1163|      2|			      sorted == SORTED_INCR ||			\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1163:10): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 1164|      2|			      sorted == SORTED_DECR_NA_1ST ||		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1164:10): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 1165|      2|			      sorted == SORTED_INCR_NA_1ST)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1165:10): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (833:7): [True: 2, False: 64]
  |  |  ------------------
  |  |  834|     66|     (TYPEOF(x) == REALSXP && KNOWN_SORTED(REAL_IS_SORTED(x))))
  |  |  ------------------
  |  |  |  |  124|    132|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |                    (TYPEOF(x) == REALSXP && KNOWN_SORTED(REAL_IS_SORTED(x))))
  |  |  ------------------
  |  |  |  | 1162|      0|#define KNOWN_SORTED(sorted) (sorted == SORTED_DECR ||			\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1162:31): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1163|      0|			      sorted == SORTED_INCR ||			\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1163:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1164|      0|			      sorted == SORTED_DECR_NA_1ST ||		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1164:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1165|      0|			      sorted == SORTED_INCR_NA_1ST)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1165:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (834:7): [True: 0, False: 66]
  |  |  ------------------
  ------------------
 1000|      0|    	return sorted_any_duplicated(x, from_last);
 1001|      0|    }
 1002|       |
 1003|     66|    DUPLICATED_INIT;
  ------------------
  |  |  644|     66|    HashData data = { 0 };					\
  |  |  645|     66|    HashTableSetup(x, &data, nmax);				\
  |  |  646|     66|    data.useUTF8 = FALSE; data.useCache = TRUE;			\
  |  |  647|     66|    duplicatedInit(x, &data);
  ------------------
 1004|     66|    PROTECT(data.HashTable);
  ------------------
  |  |  357|     66|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1005|       |
 1006|     66|    if(from_last) {
  ------------------
  |  Branch (1006:8): [True: 0, False: 66]
  ------------------
 1007|      0|	for (i = n-1; i >= 0; i--) {
  ------------------
  |  Branch (1007:16): [True: 0, False: 0]
  ------------------
 1008|      0|	    if(isDuplicated(x, i, &data)) { result = ++i; break; }
  ------------------
  |  Branch (1008:9): [True: 0, False: 0]
  ------------------
 1009|      0|	}
 1010|     66|    } else {
 1011|    624|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1011:14): [True: 558, False: 66]
  ------------------
 1012|    558|	    if(isDuplicated(x, i, &data)) { result = ++i; break; }
  ------------------
  |  Branch (1012:9): [True: 0, False: 558]
  ------------------
 1013|    558|	}
 1014|     66|    }
 1015|     66|    UNPROTECT(1);
  ------------------
  |  |  358|     66|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1016|     66|    return result;
 1017|     66|}
do_duplicated:
 1111|  1.11k|{
 1112|  1.11k|    checkArity(op, args);
  ------------------
  |  | 1793|  1.11k|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1113|  1.11k|    SEXP x = CAR(args);
 1114|  1.11k|    SEXP incomp = CADR(args);
 1115|  1.11k|    if (length(CADDR(args)) < 1)
  ------------------
  |  |  987|  1.11k|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1115:9): [True: 0, False: 1.11k]
  ------------------
 1116|      0|	error(_("'fromLast' must be length 1"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'fromLast' must be length 1"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1117|  1.11k|    int fromLast = asLogical(CADDR(args));
  ------------------
  |  |  886|  1.11k|#define asLogical		Rf_asLogical
  ------------------
 1118|  1.11k|    if (fromLast == NA_LOGICAL)
  ------------------
  |  |   55|  1.11k|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (1118:9): [True: 0, False: 1.11k]
  ------------------
 1119|      0|	error(_("'fromLast' must be TRUE or FALSE"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'fromLast' must be TRUE or FALSE"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1120|  1.11k|    Rboolean fL = (Rboolean) fromLast;
 1121|       |
 1122|       |    /* handle zero length vectors, and NULL */
 1123|  1.11k|    R_xlen_t n = xlength(x);
  ------------------
  |  | 1049|  1.11k|#define xlength(x)		Rf_xlength(x)
  ------------------
 1124|  1.11k|    if (n == 0)
  ------------------
  |  Branch (1124:9): [True: 24, False: 1.09k]
  ------------------
 1125|     24|	return(PRIMVAL(op) <= 1
  ------------------
  |  | 1347|     24|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (1125:9): [True: 24, False: 0]
  ------------------
 1126|     24|	       ? allocVector(PRIMVAL(op) != 1 ? LGLSXP : TYPEOF(x), 0)
  ------------------
  |  |  875|     24|#define allocVector		Rf_allocVector
  ------------------
              	       ? allocVector(PRIMVAL(op) != 1 ? LGLSXP : TYPEOF(x), 0)
  ------------------
  |  | 1347|     24|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
              	       ? allocVector(PRIMVAL(op) != 1 ? LGLSXP : TYPEOF(x), 0)
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (1126:23): [True: 0, False: 24]
  ------------------
 1127|     24|	       : ScalarInteger(0));
  ------------------
  |  | 1022|      0|#define ScalarInteger		Rf_ScalarInteger
  ------------------
 1128|       |
 1129|  1.09k|    if (!isVector(x)) {
  ------------------
  |  |  974|  1.09k|#define isVector		Rf_isVector
  ------------------
  |  Branch (1129:9): [True: 0, False: 1.09k]
  ------------------
 1130|      0|	error(_("%s() applies only to vectors"),
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("%s() applies only to vectors"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1131|      0|	      (PRIMVAL(op) == 0 ? "duplicated" :
  ------------------
  |  | 1347|      0|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (1131:9): [True: 0, False: 0]
  ------------------
 1132|      0|	       (PRIMVAL(op) == 1 ? "unique" : /* 2 */ "anyDuplicated")));
  ------------------
  |  | 1347|      0|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (1132:10): [True: 0, False: 0]
  ------------------
 1133|      0|    }
 1134|  1.09k|    int nmax = NA_INTEGER;
  ------------------
  |  |   56|  1.09k|#define NA_INTEGER	R_NaInt
  ------------------
 1135|  1.09k|    if (PRIMVAL(op) <= 1) {
  ------------------
  |  | 1347|  1.09k|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (1135:9): [True: 1.02k, False: 66]
  ------------------
 1136|  1.02k|	nmax = asInteger(CADDDR(args));
  ------------------
  |  |  885|  1.02k|#define asInteger		Rf_asInteger
  ------------------
 1137|  1.02k|	if (nmax != NA_INTEGER && nmax <= 0)
  ------------------
  |  |   56|  2.05k|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (1137:6): [True: 0, False: 1.02k]
  |  Branch (1137:28): [True: 0, False: 0]
  ------------------
 1138|      0|	    error(_("'nmax' must be positive"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	    error(_("'nmax' must be positive"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1139|  1.02k|    }
 1140|       |
 1141|  1.09k|    SEXP dup;
 1142|  1.09k|    if(length(incomp) && /* S has FALSE to mean empty */
  ------------------
  |  |  987|  2.18k|#define length(x)		Rf_length(x)
  |  |  ------------------
  |  |  |  Branch (987:20): [True: 1.09k, False: 0]
  |  |  ------------------
  ------------------
 1143|  1.09k|       !(isLogical(incomp) && length(incomp) == 1 &&
  ------------------
  |  |  952|  1.09k|#define isLogical		Rf_isLogical
  ------------------
                     !(isLogical(incomp) && length(incomp) == 1 &&
  ------------------
  |  |  987|  1.09k|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1143:10): [True: 1.09k, False: 0]
  |  Branch (1143:31): [True: 1.09k, False: 0]
  ------------------
 1144|  1.09k|	 LOGICAL_ELT(incomp, 0) == 0)) {
  ------------------
  |  Branch (1144:3): [True: 1.09k, False: 0]
  ------------------
 1145|      0|	if(PRIMVAL(op) == 2) {
  ------------------
  |  | 1347|      0|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (1145:5): [True: 0, False: 0]
  ------------------
 1146|       |	    /* return R's 1-based index :*/
 1147|      0|	    R_xlen_t ind  = any_duplicated3(x, incomp, fL);
  ------------------
  |  |  878|      0|#define any_duplicated3		Rf_any_duplicated3
  ------------------
 1148|      0|	    if(ind > INT_MAX) return ScalarReal((double) ind);
  ------------------
  |  | 1024|      0|#define ScalarReal		Rf_ScalarReal
  ------------------
  |  Branch (1148:9): [True: 0, False: 0]
  ------------------
 1149|      0|	    else return ScalarInteger((int)ind);
  ------------------
  |  | 1022|      0|#define ScalarInteger		Rf_ScalarInteger
  ------------------
 1150|      0|	} else
 1151|      0|	    dup = duplicated3(x, incomp, fL, nmax);
 1152|      0|    }
 1153|  1.09k|    else {
 1154|  1.09k|	if(PRIMVAL(op) == 2) {
  ------------------
  |  | 1347|  1.09k|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (1154:5): [True: 66, False: 1.02k]
  ------------------
 1155|     66|	    R_xlen_t ind  = any_duplicated(x, fL);
  ------------------
  |  |  877|     66|#define any_duplicated		Rf_any_duplicated
  ------------------
 1156|     66|	    if(ind > INT_MAX) return ScalarReal((double) ind);
  ------------------
  |  | 1024|      0|#define ScalarReal		Rf_ScalarReal
  ------------------
  |  Branch (1156:9): [True: 0, False: 66]
  ------------------
 1157|     66|	    else return ScalarInteger((int)ind);
  ------------------
  |  | 1022|     66|#define ScalarInteger		Rf_ScalarInteger
  ------------------
 1158|     66|	} else
 1159|  1.02k|	    dup = Duplicated(x, fL, nmax);
 1160|  1.09k|    }
 1161|  1.02k|    if (PRIMVAL(op) == 0) /* "duplicated()" */
  ------------------
  |  | 1347|  1.02k|#define PRIMVAL(x)	(R_FunTab[PRIMOFFSET(x)].code)
  ------------------
  |  Branch (1161:9): [True: 0, False: 1.02k]
  ------------------
 1162|      0|	return dup;
 1163|       |    /*	ELSE
 1164|       |	use the results of "duplicated" to get "unique" */
 1165|       |
 1166|       |    /* count unique entries */
 1167|  1.02k|    R_xlen_t i, k = 0;
 1168|  1.02k|    PROTECT(dup);
  ------------------
  |  |  357|  1.02k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1169|  1.02k|    ITERATE_BY_REGION(dup, duptr, idx, nb, int, LOGICAL, {
  ------------------
  |  |  251|  1.02k|#define ITERATE_BY_REGION(sx, px, idx, nb, etype, vtype, expr) do {	\
  |  |  252|  1.02k|	ITERATE_BY_REGION_PARTIAL(sx, px, idx, nb, etype, vtype,	\
  |  |  ------------------
  |  |  |  |  220|  1.02k|				  strt, nfull, expr) do {		\
  |  |  |  |  221|  1.02k|	const etype *px = (etype *) DATAPTR_OR_NULL(sx);		\
  |  |  |  |  222|  1.02k|	if (px != NULL) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:6): [True: 1.02k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  223|  1.02k|	    R_xlen_t idx = strt;					\
  |  |  |  |  224|  1.02k|	    (void) idx; /* variable may be unused in expr */		\
  |  |  |  |  225|  1.02k|	    R_xlen_t nb = nfull;					\
  |  |  |  |  226|  1.02k|	    px += strt;							\
  |  |  |  |  227|  1.02k|	    if (nb > 0) {                                               \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (227:10): [True: 1.02k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  228|   492k|	        expr							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (228:10): [True: 98.3k, False: 2]
  |  |  |  |  |  Branch (228:10): [True: 98.3k, False: 1.02k]
  |  |  |  |  ------------------
  |  |  |  |  229|  1.02k|	    }                                                           \
  |  |  |  |  230|  1.02k|	}								\
  |  |  |  |  231|  1.02k|	else ITERATE_BY_REGION_PARTIAL0(sx, px, idx, nb, etype, vtype,	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  191|      0|				   strt, nfull, expr) do {		\
  |  |  |  |  |  |  192|      0|	etype __ibr_buf__[GET_REGION_BUFSIZE];				\
  |  |  |  |  |  |  193|      0|	R_xlen_t __ibr_n__ = strt + nfull;				\
  |  |  |  |  |  |  194|      0|	R_xlen_t nb;							\
  |  |  |  |  |  |  195|      0|	for (R_xlen_t idx = strt; idx < __ibr_n__; idx += nb) {		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (195:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  196|      0|	    nb = __ibr_n__  - idx > GET_REGION_BUFSIZE ?		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  181|      0|#define GET_REGION_BUFSIZE 512
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (196:11): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  197|      0|		GET_REGION_BUFSIZE :  __ibr_n__ - idx;			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  181|      0|#define GET_REGION_BUFSIZE 512
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  198|      0|	    etype *px = (etype *) GET_REGION_PTR(sx, idx, nb,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  187|      0|    (ALTREP(x) == 0 ? type(x) + (i) : (type##_GET_REGION(x, i, n, buf), buf))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (187:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  199|      0|	                                         __ibr_buf__, vtype);	\
  |  |  |  |  |  |  200|      0|	    expr							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|      0|	 }							        \
  |  |  |  |  |  |  202|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  232|  1.02k|					strt, nfull, expr);		\
  |  |  |  |  233|  1.02k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (233:14): [Folded, False: 1.02k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  253|  1.02k|				  0, XLENGTH(sx), expr);		\
  |  |  254|  1.02k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (254:14): [Folded, False: 1.02k]
  |  |  ------------------
  ------------------
 1170|  1.02k|	    for(R_xlen_t j=0; j < nb; j++)
 1171|  1.02k|		if(duptr[j] == 0) k++;
 1172|  1.02k|	});
 1173|       |
 1174|  1.02k|    SEXP ans = PROTECT(allocVector(TYPEOF(x), k));
  ------------------
  |  |  357|  1.02k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1175|       |
 1176|  1.02k|    k = 0;
 1177|  1.02k|    switch (TYPEOF(x)) {
 1178|      0|    case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (1178:5): [True: 0, False: 1.02k]
  ------------------
 1179|      0|	for (i = 0; i < n; i++)
  ------------------
  |  Branch (1179:14): [True: 0, False: 0]
  ------------------
 1180|      0|	    if (LOGICAL_ELT(dup, i) == 0)
  ------------------
  |  Branch (1180:10): [True: 0, False: 0]
  ------------------
 1181|      0|		LOGICAL0(ans)[k++] = LOGICAL_ELT(x, i);
 1182|      0|	break;
 1183|      8|    case INTSXP:
  ------------------
  |  |  123|      8|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1183:5): [True: 8, False: 1.02k]
  ------------------
 1184|      8|	ITERATE_BY_REGION(dup, duptr, idx, nb, int, LOGICAL, {
  ------------------
  |  |  251|      8|#define ITERATE_BY_REGION(sx, px, idx, nb, etype, vtype, expr) do {	\
  |  |  252|      8|	ITERATE_BY_REGION_PARTIAL(sx, px, idx, nb, etype, vtype,	\
  |  |  ------------------
  |  |  |  |  220|      8|				  strt, nfull, expr) do {		\
  |  |  |  |  221|      8|	const etype *px = (etype *) DATAPTR_OR_NULL(sx);		\
  |  |  |  |  222|      8|	if (px != NULL) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:6): [True: 8, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  223|      8|	    R_xlen_t idx = strt;					\
  |  |  |  |  224|      8|	    (void) idx; /* variable may be unused in expr */		\
  |  |  |  |  225|      8|	    R_xlen_t nb = nfull;					\
  |  |  |  |  226|      8|	    px += strt;							\
  |  |  |  |  227|      8|	    if (nb > 0) {                                               \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (227:10): [True: 8, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  228|     48|	        expr							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (228:10): [True: 8, False: 0]
  |  |  |  |  |  Branch (228:10): [True: 8, False: 8]
  |  |  |  |  ------------------
  |  |  |  |  229|      8|	    }                                                           \
  |  |  |  |  230|      8|	}								\
  |  |  |  |  231|      8|	else ITERATE_BY_REGION_PARTIAL0(sx, px, idx, nb, etype, vtype,	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  191|      0|				   strt, nfull, expr) do {		\
  |  |  |  |  |  |  192|      0|	etype __ibr_buf__[GET_REGION_BUFSIZE];				\
  |  |  |  |  |  |  193|      0|	R_xlen_t __ibr_n__ = strt + nfull;				\
  |  |  |  |  |  |  194|      0|	R_xlen_t nb;							\
  |  |  |  |  |  |  195|      0|	for (R_xlen_t idx = strt; idx < __ibr_n__; idx += nb) {		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (195:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  196|      0|	    nb = __ibr_n__  - idx > GET_REGION_BUFSIZE ?		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  181|      0|#define GET_REGION_BUFSIZE 512
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (196:11): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  197|      0|		GET_REGION_BUFSIZE :  __ibr_n__ - idx;			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  181|      0|#define GET_REGION_BUFSIZE 512
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  198|      0|	    etype *px = (etype *) GET_REGION_PTR(sx, idx, nb,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  187|      0|    (ALTREP(x) == 0 ? type(x) + (i) : (type##_GET_REGION(x, i, n, buf), buf))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (187:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  199|      0|	                                         __ibr_buf__, vtype);	\
  |  |  |  |  |  |  200|      0|	    expr							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|      0|	 }							        \
  |  |  |  |  |  |  202|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  232|      8|					strt, nfull, expr);		\
  |  |  |  |  233|      8|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (233:14): [Folded, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  253|      8|				  0, XLENGTH(sx), expr);		\
  |  |  254|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (254:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1185|      8|		for(R_xlen_t j = 0; j < nb; j++) {
 1186|      8|		    if(duptr[j] == 0)
 1187|      8|			INTEGER0(ans)[k++] = INTEGER_ELT(x, idx + j);
 1188|      8|		}
 1189|      8|	    });
 1190|      8|	break;
 1191|    966|    case REALSXP:
  ------------------
  |  |  124|    966|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1191:5): [True: 966, False: 62]
  ------------------
 1192|    966|	ITERATE_BY_REGION(dup, duptr, idx, nb, int, LOGICAL, {
  ------------------
  |  |  251|    966|#define ITERATE_BY_REGION(sx, px, idx, nb, etype, vtype, expr) do {	\
  |  |  252|    966|	ITERATE_BY_REGION_PARTIAL(sx, px, idx, nb, etype, vtype,	\
  |  |  ------------------
  |  |  |  |  220|    966|				  strt, nfull, expr) do {		\
  |  |  |  |  221|    966|	const etype *px = (etype *) DATAPTR_OR_NULL(sx);		\
  |  |  |  |  222|    966|	if (px != NULL) {						\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (222:6): [True: 966, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  223|    966|	    R_xlen_t idx = strt;					\
  |  |  |  |  224|    966|	    (void) idx; /* variable may be unused in expr */		\
  |  |  |  |  225|    966|	    R_xlen_t nb = nfull;					\
  |  |  |  |  226|    966|	    px += strt;							\
  |  |  |  |  227|    966|	    if (nb > 0) {                                               \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (227:10): [True: 966, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  228|   479k|	        expr							\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (228:10): [True: 95.6k, False: 0]
  |  |  |  |  |  Branch (228:10): [True: 95.6k, False: 966]
  |  |  |  |  ------------------
  |  |  |  |  229|    966|	    }                                                           \
  |  |  |  |  230|    966|	}								\
  |  |  |  |  231|    966|	else ITERATE_BY_REGION_PARTIAL0(sx, px, idx, nb, etype, vtype,	\
  |  |  |  |  ------------------
  |  |  |  |  |  |  191|      0|				   strt, nfull, expr) do {		\
  |  |  |  |  |  |  192|      0|	etype __ibr_buf__[GET_REGION_BUFSIZE];				\
  |  |  |  |  |  |  193|      0|	R_xlen_t __ibr_n__ = strt + nfull;				\
  |  |  |  |  |  |  194|      0|	R_xlen_t nb;							\
  |  |  |  |  |  |  195|      0|	for (R_xlen_t idx = strt; idx < __ibr_n__; idx += nb) {		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (195:28): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  196|      0|	    nb = __ibr_n__  - idx > GET_REGION_BUFSIZE ?		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  181|      0|#define GET_REGION_BUFSIZE 512
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (196:11): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  197|      0|		GET_REGION_BUFSIZE :  __ibr_n__ - idx;			\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  181|      0|#define GET_REGION_BUFSIZE 512
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  198|      0|	    etype *px = (etype *) GET_REGION_PTR(sx, idx, nb,		\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  187|      0|    (ALTREP(x) == 0 ? type(x) + (i) : (type##_GET_REGION(x, i, n, buf), buf))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (187:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  199|      0|	                                         __ibr_buf__, vtype);	\
  |  |  |  |  |  |  200|      0|	    expr							\
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (200:6): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  201|      0|	 }							        \
  |  |  |  |  |  |  202|      0|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (202:14): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  232|    966|					strt, nfull, expr);		\
  |  |  |  |  233|    966|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (233:14): [Folded, False: 966]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  253|    966|				  0, XLENGTH(sx), expr);		\
  |  |  254|    966|    } while (0)
  |  |  ------------------
  |  |  |  Branch (254:14): [Folded, False: 966]
  |  |  ------------------
  ------------------
 1193|    966|		for(R_xlen_t j = 0; j < nb; j++) {
 1194|    966|		    if(duptr[j] == 0)
 1195|    966|			REAL0(ans)[k++] = REAL_ELT(x, idx + j);
 1196|    966|		}
 1197|    966|	    });
 1198|    966|	break;
 1199|      0|    case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (1199:5): [True: 0, False: 1.02k]
  ------------------
 1200|      0|	for (i = 0; i < n; i++)
  ------------------
  |  Branch (1200:14): [True: 0, False: 0]
  ------------------
 1201|      0|	    if (LOGICAL_ELT(dup, i) == 0)
  ------------------
  |  Branch (1201:10): [True: 0, False: 0]
  ------------------
 1202|      0|		COMPLEX0(ans)[k++] = COMPLEX_ELT(x, i);
 1203|      0|	break;
 1204|     54|    case STRSXP:
  ------------------
  |  |  126|     54|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1204:5): [True: 54, False: 974]
  ------------------
 1205|  2.72k|	for (i = 0; i < n; i++)
  ------------------
  |  Branch (1205:14): [True: 2.66k, False: 54]
  ------------------
 1206|  2.66k|	    if (LOGICAL_ELT(dup, i) == 0)
  ------------------
  |  Branch (1206:10): [True: 2.66k, False: 2]
  ------------------
 1207|  2.66k|		SET_STRING_ELT(ans, k++, STRING_ELT(x, i));
 1208|     54|	break;
 1209|      0|    case EXPRSXP:
  ------------------
  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (1209:5): [True: 0, False: 1.02k]
  ------------------
 1210|      0|    case VECSXP:
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (1210:5): [True: 0, False: 1.02k]
  ------------------
 1211|      0|	for (i = 0; i < n; i++)
  ------------------
  |  Branch (1211:14): [True: 0, False: 0]
  ------------------
 1212|      0|	    if (LOGICAL_ELT(dup, i) == 0)
  ------------------
  |  Branch (1212:10): [True: 0, False: 0]
  ------------------
 1213|      0|		SET_VECTOR_ELT(ans, k++, VECTOR_ELT(x, i));
 1214|      0|	break;
 1215|      0|    case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (1215:5): [True: 0, False: 1.02k]
  ------------------
 1216|      0|	for (i = 0; i < n; i++)
  ------------------
  |  Branch (1216:14): [True: 0, False: 0]
  ------------------
 1217|      0|	    if (LOGICAL_ELT(dup, i) == 0)
  ------------------
  |  Branch (1217:10): [True: 0, False: 0]
  ------------------
 1218|      0|		RAW0(ans)[k++] = RAW_ELT(x, i);
 1219|      0|	break;
 1220|      0|    default:
  ------------------
  |  Branch (1220:5): [True: 0, False: 1.02k]
  ------------------
 1221|      0|	UNIMPLEMENTED_TYPE("duplicated", x);
 1222|  1.02k|    }
 1223|  1.02k|    UNPROTECT(2);
  ------------------
  |  |  358|  1.02k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1224|  1.02k|    return ans;
 1225|  1.02k|}
Rf_match:
 1528|    130|{
 1529|       |    return match5(itable, ix, nmatch, NULL, R_BaseEnv);
 1530|    130|}
do_match:
 1535|  2.10M|{
 1536|  2.10M|    checkArity(op, args);
  ------------------
  |  | 1793|  2.10M|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1537|       |
 1538|  2.10M|    if ((!OBJECT(CAR (args)) && !isVector(CAR (args)) && !isNull(CAR (args))) ||
  ------------------
  |  |  974|  2.10M|#define isVector		Rf_isVector
  ------------------
                  if ((!OBJECT(CAR (args)) && !isVector(CAR (args)) && !isNull(CAR (args))) ||
  ------------------
  |  |  956|  1.68k|#define isNull			Rf_isNull
  ------------------
  |  Branch (1538:10): [True: 2.10M, False: 0]
  |  Branch (1538:33): [True: 1.68k, False: 2.10M]
  |  Branch (1538:58): [True: 0, False: 1.68k]
  ------------------
 1539|  2.10M|	(!OBJECT(CADR(args)) && !isVector(CADR(args)) && !isNull(CADR(args))))
  ------------------
  |  |  974|  2.10M|#define isVector		Rf_isVector
  ------------------
              	(!OBJECT(CADR(args)) && !isVector(CADR(args)) && !isNull(CADR(args))))
  ------------------
  |  |  956|     34|#define isNull			Rf_isNull
  ------------------
  |  Branch (1539:3): [True: 2.10M, False: 0]
  |  Branch (1539:26): [True: 34, False: 2.10M]
  |  Branch (1539:51): [True: 0, False: 34]
  ------------------
 1540|      0|	error(_("'match' requires vector arguments"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'match' requires vector arguments"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1541|       |
 1542|  2.10M|    int nomatch = asInteger(CADDR(args));
  ------------------
  |  |  885|  2.10M|#define asInteger		Rf_asInteger
  ------------------
 1543|  2.10M|    SEXP incomp = CADDDR(args);
 1544|       |
 1545|  2.10M|    if (isNull(incomp) || /* S has FALSE to mean empty */
  ------------------
  |  |  956|  2.10M|#define isNull			Rf_isNull
  ------------------
  |  Branch (1545:9): [True: 2.10M, False: 0]
  ------------------
 1546|      0|	(length(incomp) == 1 && isLogical(incomp) &&
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
              	(length(incomp) == 1 && isLogical(incomp) &&
  ------------------
  |  |  952|      0|#define isLogical		Rf_isLogical
  ------------------
  |  Branch (1546:3): [True: 0, False: 0]
  |  Branch (1546:26): [True: 0, False: 0]
  ------------------
 1547|      0|	 LOGICAL_ELT(incomp, 0) == 0))
  ------------------
  |  Branch (1547:3): [True: 0, False: 0]
  ------------------
 1548|  2.10M|	return match5(CADR(args), CAR(args), nomatch, NULL, env);
 1549|      0|    else
 1550|      0|	return match5(CADR(args), CAR(args), nomatch, incomp, env);
 1551|  2.10M|}
do_pmatch:
 1569|  2.40k|{
 1570|  2.40k|    checkArity(op, args);
  ------------------
  |  | 1793|  2.40k|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1571|  2.40k|    SEXP input  = CAR(args), // = x     in R
 1572|  2.40k|	target = CADR(args), // = table  "
 1573|  2.40k|	ans;
 1574|  2.40k|    R_xlen_t n_input = XLENGTH(input);
 1575|       |
 1576|  2.40k|    int n_target = LENGTH(target), // not allowed to be long
 1577|  2.40k|	no_match = asInteger(CADDR(args)),
  ------------------
  |  |  885|  2.40k|#define asInteger		Rf_asInteger
  ------------------
 1578|  2.40k|	dups_ok  = asLogical(CADDDR(args));
  ------------------
  |  |  886|  2.40k|#define asLogical		Rf_asLogical
  ------------------
 1579|  2.40k|    if (dups_ok == NA_LOGICAL)
  ------------------
  |  |   55|  2.40k|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (1579:9): [True: 0, False: 2.40k]
  ------------------
 1580|      0|	error(_("invalid '%s' argument"), "duplicates.ok");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "duplicates.ok");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1581|  2.40k|    Rboolean no_dups = !dups_ok;
 1582|       |
 1583|  2.40k|    if (!isString(input) || !isString(target))
  ------------------
  |  |  966|  2.40k|#define isString		Rf_isString
  ------------------
                  if (!isString(input) || !isString(target))
  ------------------
  |  |  966|  2.40k|#define isString		Rf_isString
  ------------------
  |  Branch (1583:9): [True: 0, False: 2.40k]
  |  Branch (1583:29): [True: 0, False: 2.40k]
  ------------------
 1584|      0|	error(_("argument is not of mode character"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("argument is not of mode character"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1585|       |
 1586|  2.40k|    int *used = NULL;
 1587|  2.40k|    if(no_dups) {
  ------------------
  |  Branch (1587:8): [True: 1.03k, False: 1.36k]
  ------------------
 1588|  1.03k|	used = (int *) R_alloc((size_t) n_target, sizeof(int));
 1589|  3.83k|	for (int j = 0; j < n_target; j++) used[j] = 0;
  ------------------
  |  Branch (1589:18): [True: 2.80k, False: 1.03k]
  ------------------
 1590|  1.03k|    }
 1591|       |
 1592|  2.40k|    Rboolean useBytes = FALSE, useUTF8 = FALSE;
 1593|  4.99k|    for(R_xlen_t i = 0; i < n_input; i++) {
  ------------------
  |  Branch (1593:25): [True: 2.59k, False: 2.40k]
  ------------------
 1594|  2.59k|	if(IS_BYTES(STRING_ELT(input, i))) {
  ------------------
  |  Branch (1594:5): [True: 0, False: 2.59k]
  ------------------
 1595|      0|	    useBytes = TRUE;
 1596|      0|	    useUTF8 = FALSE;
 1597|      0|	    break;
 1598|  2.59k|	} else if(ENC_KNOWN(STRING_ELT(input, i))) {
  ------------------
  |  Branch (1598:12): [True: 0, False: 2.59k]
  ------------------
 1599|      0|	    useUTF8 = TRUE;
 1600|      0|	}
 1601|  2.59k|    }
 1602|  2.40k|    if(!useBytes) {
  ------------------
  |  Branch (1602:8): [True: 2.40k, False: 0]
  ------------------
 1603|  12.7k|	for(R_xlen_t i = 0; i < n_target; i++) {
  ------------------
  |  Branch (1603:22): [True: 10.3k, False: 2.40k]
  ------------------
 1604|  10.3k|	    if(IS_BYTES(STRING_ELT(target, i))) {
  ------------------
  |  Branch (1604:9): [True: 0, False: 10.3k]
  ------------------
 1605|      0|		useBytes = TRUE;
 1606|      0|		useUTF8 = FALSE;
 1607|      0|		break;
 1608|  10.3k|	    } else if(ENC_KNOWN(STRING_ELT(target, i))) {
  ------------------
  |  Branch (1608:16): [True: 0, False: 10.3k]
  ------------------
 1609|      0|		useUTF8 = TRUE;
 1610|      0|	    }
 1611|  10.3k|	}
 1612|  2.40k|    }
 1613|       |
 1614|  2.40k|    const char **in, **tar;
 1615|  2.40k|    in  = (const char **) R_alloc((size_t) n_input,  sizeof(char *));
 1616|  2.40k|    tar = (const char **) R_alloc((size_t) n_target, sizeof(char *));
 1617|  2.40k|    PROTECT(ans = allocVector(INTSXP, n_input));
  ------------------
  |  |  357|  2.40k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1618|  2.40k|    int *ians = INTEGER0(ans);
 1619|  2.40k|    if(useBytes) {
  ------------------
  |  Branch (1619:8): [True: 0, False: 2.40k]
  ------------------
 1620|      0|	for(R_xlen_t i = 0; i < n_input; i++) {
  ------------------
  |  Branch (1620:22): [True: 0, False: 0]
  ------------------
 1621|      0|	    in[i] = CHAR(STRING_ELT(input, i));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 1622|      0|	    ians[i] = 0;
 1623|      0|	}
 1624|      0|	for(int j = 0; j < n_target; j++)
  ------------------
  |  Branch (1624:17): [True: 0, False: 0]
  ------------------
 1625|      0|	    tar[j] = CHAR(STRING_ELT(target, j));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 1626|      0|    }
 1627|  2.40k|    else if(useUTF8) {
  ------------------
  |  Branch (1627:13): [True: 0, False: 2.40k]
  ------------------
 1628|      0|	for(R_xlen_t i = 0; i < n_input; i++) {
  ------------------
  |  Branch (1628:22): [True: 0, False: 0]
  ------------------
 1629|      0|	    in[i] = translateCharUTF8(STRING_ELT(input, i));
  ------------------
  |  | 1039|      0|#define translateCharUTF8      	Rf_translateCharUTF8
  ------------------
 1630|      0|	    ians[i] = 0;
 1631|      0|	}
 1632|      0|	for(int j = 0; j < n_target; j++)
  ------------------
  |  Branch (1632:17): [True: 0, False: 0]
  ------------------
 1633|      0|	    tar[j] = translateCharUTF8(STRING_ELT(target, j));
  ------------------
  |  | 1039|      0|#define translateCharUTF8      	Rf_translateCharUTF8
  ------------------
 1634|  2.40k|    } else {
 1635|  4.99k|	for(R_xlen_t i = 0; i < n_input; i++) {
  ------------------
  |  Branch (1635:22): [True: 2.59k, False: 2.40k]
  ------------------
 1636|  2.59k|	    in[i] = translateChar(STRING_ELT(input, i));
  ------------------
  |  | 1037|  2.59k|#define translateChar		Rf_translateChar
  ------------------
 1637|  2.59k|	    ians[i] = 0;
 1638|  2.59k|	}
 1639|  12.7k|	for(int j = 0; j < n_target; j++)
  ------------------
  |  Branch (1639:17): [True: 10.3k, False: 2.40k]
  ------------------
 1640|  10.3k|	    tar[j] = translateChar(STRING_ELT(target, j));
  ------------------
  |  | 1037|  10.3k|#define translateChar		Rf_translateChar
  ------------------
 1641|  2.40k|    }
 1642|       |    /* First pass, exact matching */
 1643|  2.40k|    R_xlen_t nexact = 0;
 1644|       |    /* Compromise when hashing used changed in 3.2.0 (PR#15697) */
 1645|  2.40k|    if (n_input <= 100 || n_target <= 100) {
  ------------------
  |  Branch (1645:9): [True: 2.40k, False: 0]
  |  Branch (1645:27): [True: 0, False: 0]
  ------------------
 1646|  4.99k|	for (R_xlen_t i = 0; i < n_input; i++) {
  ------------------
  |  Branch (1646:23): [True: 2.59k, False: 2.40k]
  ------------------
 1647|  2.59k|	    const char *ss = in[i];
 1648|  2.59k|	    if (strlen(ss) == 0) continue;
  ------------------
  |  Branch (1648:10): [True: 0, False: 2.59k]
  ------------------
 1649|  7.74k|	    for (int j = 0; j < n_target; j++) {
  ------------------
  |  Branch (1649:22): [True: 7.74k, False: 2]
  ------------------
 1650|  7.74k|		if (no_dups && used[j]) continue;
  ------------------
  |  Branch (1650:7): [True: 2.66k, False: 5.07k]
  |  Branch (1650:18): [True: 192, False: 2.47k]
  ------------------
 1651|  7.55k|		if (strcmp(ss, tar[j]) == 0) {
  ------------------
  |  Branch (1651:7): [True: 2.59k, False: 4.95k]
  ------------------
 1652|  2.59k|		    ians[i] = j + 1;
 1653|  2.59k|		    if (no_dups) used[j] = 1;
  ------------------
  |  Branch (1653:11): [True: 1.22k, False: 1.36k]
  ------------------
 1654|  2.59k|		    nexact++;
 1655|  2.59k|		    break;
 1656|  2.59k|		}
 1657|  7.55k|	    }
 1658|  2.59k|	}
 1659|  2.40k|    } else {
 1660|      0|	HashData data = { 0 };
 1661|      0|	HashTableSetup(target, &data, NA_INTEGER);
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
 1662|       |	/* the table is only referenced from the C struct, and shash() can
 1663|       |	   allocate via translateCharUTF8() -> R_alloc() */
 1664|      0|	PROTECT(data.HashTable);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1665|      0|	data.useUTF8 = useUTF8;
 1666|      0|	data.nomatch = 0;
 1667|      0|	DoHashing(target, &data);
 1668|      0|	for (R_xlen_t i = 0; i < n_input; i++) {
  ------------------
  |  Branch (1668:23): [True: 0, False: 0]
  ------------------
 1669|      0|	    if (strlen(in[i]) == 0) /* don't look up "" */
  ------------------
  |  Branch (1669:10): [True: 0, False: 0]
  ------------------
 1670|      0|		continue;
 1671|      0|	    int j = Lookup(target, input, i, &data);
 1672|      0|	    if ((j == 0) || (no_dups && used[j - 1])) continue;
  ------------------
  |  Branch (1672:10): [True: 0, False: 0]
  |  Branch (1672:23): [True: 0, False: 0]
  |  Branch (1672:34): [True: 0, False: 0]
  ------------------
 1673|      0|	    if (no_dups) used[j - 1] = 1;
  ------------------
  |  Branch (1673:10): [True: 0, False: 0]
  ------------------
 1674|      0|	    ians[i] = j;
 1675|      0|	    nexact++;
 1676|      0|	}
 1677|      0|	UNPROTECT(1); /* data.HashTable */
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1678|      0|    }
 1679|       |
 1680|  2.40k|    if(nexact < n_input) {
  ------------------
  |  Branch (1680:8): [True: 2, False: 2.39k]
  ------------------
 1681|       |	/* Second pass, partial matching */
 1682|      4|	for (R_xlen_t i = 0; i < n_input; i++) {
  ------------------
  |  Branch (1682:23): [True: 2, False: 2]
  ------------------
 1683|      2|	    const char *ss;
 1684|      2|	    if (ians[i]) continue;
  ------------------
  |  Branch (1684:10): [True: 0, False: 2]
  ------------------
 1685|      2|	    ss = in[i];
 1686|      2|	    size_t temp = strlen(ss);
 1687|      2|	    if (temp == 0) continue;
  ------------------
  |  Branch (1687:10): [True: 0, False: 2]
  ------------------
 1688|      2|	    int mtch = 0,
 1689|      2|		mtch_count = 0;
 1690|      6|	    for (int j = 0; j < n_target; j++) {
  ------------------
  |  Branch (1690:22): [True: 4, False: 2]
  ------------------
 1691|      4|		if (!(((size_t)i * n_target + j) & 0x1fff))
  ------------------
  |  Branch (1691:7): [True: 2, False: 2]
  ------------------
 1692|      2|		    R_CheckUserInterrupt();
 1693|      4|		if (no_dups && used[j]) continue;
  ------------------
  |  Branch (1693:7): [True: 4, False: 0]
  |  Branch (1693:18): [True: 0, False: 4]
  ------------------
 1694|      4|		if (strncmp(ss, tar[j], temp) == 0) {
  ------------------
  |  Branch (1694:7): [True: 0, False: 4]
  ------------------
 1695|      0|		    mtch = j + 1;
 1696|      0|		    mtch_count++;
 1697|      0|		}
 1698|      4|	    }
 1699|      2|	    if (mtch > 0 && mtch_count == 1) {
  ------------------
  |  Branch (1699:10): [True: 0, False: 2]
  |  Branch (1699:22): [True: 0, False: 0]
  ------------------
 1700|      0|		if(no_dups) used[mtch - 1] = 1;
  ------------------
  |  Branch (1700:6): [True: 0, False: 0]
  ------------------
 1701|      0|		ians[i] = mtch;
 1702|      0|	    }
 1703|      2|	}
 1704|       |	/* Third pass, set no matches */
 1705|      4|	for (R_xlen_t i = 0; i < n_input; i++)
  ------------------
  |  Branch (1705:23): [True: 2, False: 2]
  ------------------
 1706|      2|	    if(ians[i] == 0) ians[i] = no_match;
  ------------------
  |  Branch (1706:9): [True: 2, False: 0]
  ------------------
 1707|       |
 1708|      2|    }
 1709|  2.40k|    UNPROTECT(1);
  ------------------
  |  |  358|  2.40k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1710|  2.40k|    return ans;
 1711|  2.40k|}
do_charmatch:
 1718|    619|{
 1719|    619|    SEXP ans, input, target;
 1720|    619|    const char *ss, *st;
 1721|    619|    Rboolean useBytes = FALSE, useUTF8 = FALSE;
 1722|       |
 1723|    619|    checkArity(op, args);
  ------------------
  |  | 1793|    619|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1724|       |
 1725|    619|    input = CAR(args);
 1726|    619|    R_xlen_t n_input = LENGTH(input);
 1727|    619|    target = CADR(args);
 1728|    619|    int n_target = LENGTH(target);
 1729|       |
 1730|    619|    if (!isString(input) || !isString(target))
  ------------------
  |  |  966|    619|#define isString		Rf_isString
  ------------------
                  if (!isString(input) || !isString(target))
  ------------------
  |  |  966|    619|#define isString		Rf_isString
  ------------------
  |  Branch (1730:9): [True: 0, False: 619]
  |  Branch (1730:29): [True: 0, False: 619]
  ------------------
 1731|      0|	error(_("argument is not of mode character"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("argument is not of mode character"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1732|    619|    int no_match = asInteger(CADDR(args));
  ------------------
  |  |  885|    619|#define asInteger		Rf_asInteger
  ------------------
 1733|       |
 1734|  1.23k|    for(R_xlen_t i = 0; i < n_input; i++) {
  ------------------
  |  Branch (1734:25): [True: 619, False: 619]
  ------------------
 1735|    619|	if(IS_BYTES(STRING_ELT(input, i))) {
  ------------------
  |  Branch (1735:5): [True: 0, False: 619]
  ------------------
 1736|      0|	    useBytes = TRUE;
 1737|      0|	    useUTF8 = FALSE;
 1738|      0|	    break;
 1739|    619|	} else if(ENC_KNOWN(STRING_ELT(input, i))) {
  ------------------
  |  Branch (1739:12): [True: 0, False: 619]
  ------------------
 1740|      0|	    useUTF8 = TRUE;
 1741|      0|	}
 1742|    619|    }
 1743|    619|    if(!useBytes) {
  ------------------
  |  Branch (1743:8): [True: 619, False: 0]
  ------------------
 1744|  40.7k|	for(int i = 0; i < n_target; i++) {
  ------------------
  |  Branch (1744:17): [True: 40.0k, False: 619]
  ------------------
 1745|  40.0k|	    if(IS_BYTES(STRING_ELT(target, i))) {
  ------------------
  |  Branch (1745:9): [True: 0, False: 40.0k]
  ------------------
 1746|      0|		useBytes = TRUE;
 1747|      0|		useUTF8 = FALSE;
 1748|      0|		break;
 1749|  40.0k|	    } else if(ENC_KNOWN(STRING_ELT(target, i))) {
  ------------------
  |  Branch (1749:16): [True: 0, False: 40.0k]
  ------------------
 1750|      0|		useUTF8 = TRUE;
 1751|      0|	    }
 1752|  40.0k|	}
 1753|    619|    }
 1754|       |
 1755|    619|    PROTECT(ans = allocVector(INTSXP, n_input));
  ------------------
  |  |  357|    619|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1756|    619|    int *ians = INTEGER0(ans);
 1757|       |
 1758|    619|    const void *vmax = vmaxget();  // prudence: .Internal does this too.
 1759|  1.23k|    for(R_xlen_t i = 0; i < n_input; i++) {
  ------------------
  |  Branch (1759:25): [True: 619, False: 619]
  ------------------
 1760|    619|	if(useBytes)
  ------------------
  |  Branch (1760:5): [True: 0, False: 619]
  ------------------
 1761|      0|	    ss = CHAR(STRING_ELT(input, i));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 1762|    619|	else if(useUTF8)
  ------------------
  |  Branch (1762:10): [True: 0, False: 619]
  ------------------
 1763|      0|	    ss = translateCharUTF8(STRING_ELT(input, i));
  ------------------
  |  | 1039|      0|#define translateCharUTF8      	Rf_translateCharUTF8
  ------------------
 1764|    619|	else
 1765|    619|	    ss = translateChar(STRING_ELT(input, i));
  ------------------
  |  | 1037|    619|#define translateChar		Rf_translateChar
  ------------------
 1766|    619|	size_t temp = strlen(ss);
 1767|    619|	int imatch = NA_INTEGER;
  ------------------
  |  |   56|    619|#define NA_INTEGER	R_NaInt
  ------------------
 1768|    619|	Rboolean perfect = FALSE;
 1769|       |	/* we could reset vmax here too: worth it? */
 1770|  40.7k|	for(int j = 0; j < n_target; j++) {
  ------------------
  |  Branch (1770:17): [True: 40.0k, False: 619]
  ------------------
 1771|  40.0k|	    if(useBytes)
  ------------------
  |  Branch (1771:9): [True: 0, False: 40.0k]
  ------------------
 1772|      0|		st = CHAR(STRING_ELT(target, j));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
 1773|  40.0k|	    else if(useUTF8)
  ------------------
  |  Branch (1773:14): [True: 0, False: 40.0k]
  ------------------
 1774|      0|		st = translateCharUTF8(STRING_ELT(target, j));
  ------------------
  |  | 1039|      0|#define translateCharUTF8      	Rf_translateCharUTF8
  ------------------
 1775|  40.0k|	    else
 1776|  40.0k|		st = translateChar(STRING_ELT(target, j));
  ------------------
  |  | 1037|  40.0k|#define translateChar		Rf_translateChar
  ------------------
 1777|  40.0k|	    int k = strncmp(ss, st, temp);
 1778|  40.0k|	    if (k == 0) {
  ------------------
  |  Branch (1778:10): [True: 757, False: 39.3k]
  ------------------
 1779|    757|		if (strlen(st) == temp) {
  ------------------
  |  Branch (1779:7): [True: 8, False: 749]
  ------------------
 1780|      8|		    if (perfect)
  ------------------
  |  Branch (1780:11): [True: 0, False: 8]
  ------------------
 1781|      0|			imatch = 0;
 1782|      8|		    else {
 1783|      8|			perfect = TRUE;
 1784|      8|			imatch = j + 1;
 1785|      8|		    }
 1786|      8|		}
 1787|    749|		else if (!perfect) {
  ------------------
  |  Branch (1787:12): [True: 747, False: 2]
  ------------------
 1788|    747|		    if (imatch == NA_INTEGER)
  ------------------
  |  |   56|    747|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (1788:11): [True: 81, False: 666]
  ------------------
 1789|     81|			imatch = j + 1;
 1790|    666|		    else
 1791|    666|			imatch = 0;
 1792|    747|		}
 1793|    757|	    }
 1794|  40.0k|	}
 1795|    619|	ians[i] = (imatch == NA_INTEGER) ? no_match : imatch;
  ------------------
  |  |   56|    619|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (1795:12): [True: 530, False: 89]
  ------------------
 1796|    619|	vmaxset(vmax);
 1797|    619|    }
 1798|    619|    UNPROTECT(1);
  ------------------
  |  |  358|    619|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1799|    619|    return ans;
 1800|    619|}
do_matchcall:
 1881|    966|{
 1882|    966|    SEXP formals, actuals, rlist;
 1883|    966|    SEXP funcall, f, b, rval, sysp, t1, t2, tail;
 1884|       |//    RCNTXT *cptr;
 1885|    966|    int expdots;
 1886|       |
 1887|    966|    checkArity(op,args);
  ------------------
  |  | 1793|    966|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1888|       |
 1889|    966|    funcall = CADR(args);
 1890|       |
 1891|    966|    if (TYPEOF(funcall) == EXPRSXP)
  ------------------
  |  |  132|    966|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (1891:9): [True: 0, False: 966]
  ------------------
 1892|      0|	funcall = VECTOR_ELT(funcall, 0);
 1893|       |
 1894|    966|    if (TYPEOF(funcall) != LANGSXP)
  ------------------
  |  |  117|    966|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
  |  Branch (1894:9): [True: 0, False: 966]
  ------------------
 1895|      0|	error(_("invalid '%s' argument"), "call");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "call");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1896|       |
 1897|    966|    b = CAR(args);
 1898|    966|    if (TYPEOF(b) != CLOSXP)
  ------------------
  |  |  114|    966|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (1898:9): [True: 0, False: 966]
  ------------------
 1899|      0|	error(_("invalid '%s' argument"), "definition");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "definition");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1900|       |
 1901|    966|    sysp = CAR(CDDDR(args));
 1902|    966|    if (!isEnvironment(sysp))
  ------------------
  |  |  944|    966|#define isEnvironment		Rf_isEnvironment
  ------------------
  |  Branch (1902:9): [True: 0, False: 966]
  ------------------
 1903|      0|	error(_("'envir' must be an environment"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'envir' must be an environment"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1904|       |
 1905|       |    /* Do we expand ... ? */
 1906|       |
 1907|    966|    expdots = asLogical(CAR(CDDR(args)));
  ------------------
  |  |  886|    966|#define asLogical		Rf_asLogical
  ------------------
 1908|    966|    if (expdots == NA_LOGICAL)
  ------------------
  |  |   55|    966|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (1908:9): [True: 0, False: 966]
  ------------------
 1909|      0|	error(_("invalid '%s' argument"), "expand.dots");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "expand.dots");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1910|       |
 1911|       |    /* Get the formals and match the actual args */
 1912|       |
 1913|    966|    formals = FORMALS(b);
 1914|    966|    PROTECT(actuals = shallow_duplicate(CDR(funcall)));
  ------------------
  |  |  357|    966|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1915|       |
 1916|       |    /* If there is a ... symbol then expand it out in the sysp env
 1917|       |       We need to take some care since the ... might be in the middle
 1918|       |       of the actuals  */
 1919|       |
 1920|    966|    t2 = R_MissingArg;
 1921|  4.83k|    for (t1=actuals ; t1!=R_NilValue ; t1 = CDR(t1) ) {
  ------------------
  |  Branch (1921:23): [True: 3.86k, False: 966]
  ------------------
 1922|  3.86k|	if (CAR(t1) == R_DotsSymbol) {
  ------------------
  |  Branch (1922:6): [True: 0, False: 3.86k]
  ------------------
 1923|      0|	    t2 = subDots(sysp);
 1924|      0|	    break;
 1925|      0|	}
 1926|  3.86k|    }
 1927|       |    /* now to splice t2 into the correct spot in actuals */
 1928|    966|    if (t2 != R_MissingArg ) {	/* so we did something above */
  ------------------
  |  Branch (1928:9): [True: 0, False: 966]
  ------------------
 1929|      0|	if( CAR(actuals) == R_DotsSymbol ) {
  ------------------
  |  Branch (1929:6): [True: 0, False: 0]
  ------------------
 1930|      0|	    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1931|      0|	    actuals = listAppend(t2, CDR(actuals));
  ------------------
  |  |  995|      0|#define listAppend		Rf_listAppend
  ------------------
 1932|      0|	    PROTECT(actuals);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1933|      0|	}
 1934|      0|	else {
 1935|      0|	    for(t1=actuals; t1!=R_NilValue; t1=CDR(t1)) {
  ------------------
  |  Branch (1935:22): [True: 0, False: 0]
  ------------------
 1936|      0|		if( CADR(t1) == R_DotsSymbol ) {
  ------------------
  |  Branch (1936:7): [True: 0, False: 0]
  ------------------
 1937|      0|		    tail = CDDR(t1);
 1938|      0|		    SETCDR(t1, t2);
 1939|      0|		    listAppend(actuals,tail);
  ------------------
  |  |  995|      0|#define listAppend		Rf_listAppend
  ------------------
 1940|      0|		    break;
 1941|      0|		}
 1942|      0|	    }
 1943|      0|	}
 1944|    966|    } else { /* get rid of it */
 1945|    966|	if( CAR(actuals) == R_DotsSymbol ) {
  ------------------
  |  Branch (1945:6): [True: 0, False: 966]
  ------------------
 1946|      0|	    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1947|      0|	    actuals = CDR(actuals);
 1948|      0|	    PROTECT(actuals);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1949|      0|	}
 1950|    966|	else {
 1951|  4.83k|	    for(t1=actuals; t1!=R_NilValue; t1=CDR(t1)) {
  ------------------
  |  Branch (1951:22): [True: 3.86k, False: 966]
  ------------------
 1952|  3.86k|		if( CADR(t1) == R_DotsSymbol ) {
  ------------------
  |  Branch (1952:7): [True: 0, False: 3.86k]
  ------------------
 1953|      0|		    tail = CDDR(t1);
 1954|      0|		    SETCDR(t1, tail);
 1955|      0|		    break;
 1956|      0|		}
 1957|  3.86k|	    }
 1958|    966|	}
 1959|    966|    }
 1960|    966|    rlist = matchArgs_RC(formals, actuals, call);
  ------------------
  |  | 1952|    966|# define matchArgs_RC		Rf_matchArgs_RC
  ------------------
 1961|       |
 1962|       |    /* Attach the argument names as tags */
 1963|       |
 1964|  5.79k|    for (f = formals, b = rlist; b != R_NilValue; b = CDR(b), f = CDR(f)) {
  ------------------
  |  Branch (1964:34): [True: 4.83k, False: 966]
  ------------------
 1965|  4.83k|	SET_TAG(b, TAG(f));
 1966|  4.83k|    }
 1967|       |
 1968|       |
 1969|       |    /* Handle the dots */
 1970|       |
 1971|    966|    PROTECT(rlist = ExpandDots(rlist, expdots));
  ------------------
  |  |  357|    966|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1972|       |
 1973|       |    /* Eliminate any unmatched formals and any that match R_DotSymbol */
 1974|       |    /* This needs to be after ExpandDots as the DOTSXP might match ... */
 1975|       |
 1976|    966|    rlist = StripUnmatched(rlist);
 1977|       |
 1978|    966|    PROTECT(rval = allocSExp(LANGSXP));
  ------------------
  |  |  357|    966|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1979|    966|    SETCAR(rval, lazy_duplicate(CAR(funcall)));
  ------------------
  |  |  985|    966|#define lazy_duplicate		Rf_lazy_duplicate
  ------------------
 1980|    966|    SETCDR(rval, rlist);
 1981|    966|    UNPROTECT(3);
  ------------------
  |  |  358|    966|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1982|    966|    return rval;
 1983|    966|}
do_makeunique:
 2188|      2|{
 2189|      2|    SEXP names, sep, ans, dup, newx;
 2190|      2|    int i, cnt, *cnts, dp;
 2191|      2|    int n, len, maxlen = 0;
 2192|      2|    HashData data = { 0 };
 2193|      2|    const char *csep, *ss;
 2194|      2|    const void *vmax;
 2195|       |
 2196|      2|    checkArity(op, args);
  ------------------
  |  | 1793|      2|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 2197|      2|    names = CAR(args);
 2198|      2|    if(!isString(names))
  ------------------
  |  |  966|      2|#define isString		Rf_isString
  ------------------
  |  Branch (2198:8): [True: 0, False: 2]
  ------------------
 2199|      0|	error(_("'names' must be a character vector"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'names' must be a character vector"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2200|      2|    n = LENGTH(names);
 2201|      2|    sep = CADR(args);
 2202|      2|    if(!isString(sep) || LENGTH(sep) != 1)
  ------------------
  |  |  966|      2|#define isString		Rf_isString
  ------------------
  |  Branch (2202:8): [True: 0, False: 2]
  |  Branch (2202:26): [True: 0, False: 2]
  ------------------
 2203|      0|	error(_("'%s' must be a character string"), "sep");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'%s' must be a character string"), "sep");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 2204|      2|    csep = translateChar(STRING_ELT(sep, 0));
  ------------------
  |  | 1037|      2|#define translateChar		Rf_translateChar
  ------------------
 2205|      2|    PROTECT(ans = allocVector(STRSXP, n));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2206|      2|    vmax = vmaxget();
 2207|     14|    for(i = 0; i < n; i++) {
  ------------------
  |  Branch (2207:16): [True: 12, False: 2]
  ------------------
 2208|     12|	SET_STRING_ELT(ans, i, STRING_ELT(names, i));
 2209|     12|	len = (int) strlen(translateChar(STRING_ELT(names, i)));
  ------------------
  |  | 1037|     12|#define translateChar		Rf_translateChar
  ------------------
 2210|     12|	if(len > maxlen) maxlen = len;
  ------------------
  |  Branch (2210:5): [True: 4, False: 8]
  ------------------
 2211|     12|	vmaxset(vmax);
 2212|     12|    }
 2213|      2|    if(n > 1) {
  ------------------
  |  Branch (2213:8): [True: 2, False: 0]
  ------------------
 2214|       |	/* +2 for terminator and rounding error */
 2215|      2|	size_t sz = maxlen + (int) strlen(csep)
 2216|      2|	    + (int) (log((double)n)/log(10.0)) + 2;
 2217|      2|	char buf[sz];
 2218|      2|	if(n < 10000) {
  ------------------
  |  Branch (2218:5): [True: 2, False: 0]
  ------------------
 2219|      2|	    R_CheckStack2((size_t)n * sizeof(int));
 2220|      2|	    cnts = (int *) alloca(((size_t) n) * sizeof(int));
  ------------------
  |  | 2567|      2|# define alloca(x) __builtin_alloca((x))
  ------------------
 2221|      2|	} else {
 2222|       |	    /* This is going to be slow so use expensive allocation
 2223|       |	       that will be recovered if interrupted. */
 2224|      0|	    cnts = (int *) R_alloc((size_t) n,	sizeof(int));
 2225|      0|	}
 2226|     14|	for(i = 0; i < n; i++) cnts[i] = 1;
  ------------------
  |  Branch (2226:13): [True: 12, False: 2]
  ------------------
 2227|      2|	data.nomatch = 0;
 2228|      2|	PROTECT(newx = allocVector(STRSXP, 1));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2229|      2|	PROTECT(dup = duplicated2(names, &data));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2230|      2|	PROTECT(data.HashTable);
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2231|      2|	vmax = vmaxget();
 2232|     12|	for(i = 1; i < n; i++) { /* first cannot be a duplicate */
  ------------------
  |  Branch (2232:13): [True: 10, False: 2]
  ------------------
 2233|     10|	    dp = INTEGER_ELT(dup, i); /* 1-based number of first occurrence */
 2234|     10|	    if(dp == 0) continue;
  ------------------
  |  Branch (2234:9): [True: 10, False: 0]
  ------------------
 2235|      0|	    ss = translateChar(STRING_ELT(names, i));
  ------------------
  |  | 1037|      0|#define translateChar		Rf_translateChar
  ------------------
 2236|       |	    /* Try appending 1,2,3, ..., n-1 until it is not already in use */
 2237|      0|	    for(cnt = cnts[dp - 1]; cnt < n; cnt++) {
  ------------------
  |  Branch (2237:30): [True: 0, False: 0]
  ------------------
 2238|      0|		snprintf(buf, sz, "%s%s%d", ss, csep, cnt);
 2239|      0|		SET_STRING_ELT(newx, 0, mkChar(buf));
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
 2240|      0|		if(Lookup(ans, newx, 0, &data) == data.nomatch) break;
  ------------------
  |  Branch (2240:6): [True: 0, False: 0]
  ------------------
 2241|      0|	    }
 2242|      0|	    SET_STRING_ELT(ans, i, STRING_ELT(newx, 0));
 2243|      0|	    /* insert it */ (void) isDuplicated(ans, i, &data);
 2244|      0|	    cnts[dp - 1] = cnt+1; /* cache the first unused cnt value */
 2245|      0|	    vmaxset(vmax);
 2246|      0|	}
 2247|      2|	UNPROTECT(3);
  ------------------
  |  |  358|      2|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2248|      2|    }
 2249|      2|    UNPROTECT(1);
  ------------------
  |  |  358|      2|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2250|      2|    return ans;
 2251|      2|}
unique.c:HashTableSetup:
  473|  2.58k|{
  474|  2.58k|    d->useUTF8 = FALSE;
  475|  2.58k|    d->useCache = TRUE;
  476|  2.58k|    switch (TYPEOF(x)) {
  477|      0|    case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (477:5): [True: 0, False: 2.58k]
  ------------------
  478|      0|	d->hash = lhash;
  479|      0|	d->equal = lequal;
  480|      0|	d->nmax = d->M = 4;
  481|      0|	d->K = 2; /* unused */
  482|      0|	break;
  483|     54|    case INTSXP:
  ------------------
  |  |  123|     54|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (483:5): [True: 54, False: 2.53k]
  ------------------
  484|     54|    {
  485|     54|	d->hash = ihash;
  486|     54|	d->equal = iequal;
  487|     54|#ifdef LONG_VECTOR_SUPPORT
  488|     54|	R_xlen_t nn = XLENGTH(x);
  489|     54|	if (nn > IMAX) nn = IMAX;
  ------------------
  |  |  471|     54|#define IMAX 4294967296L
  ------------------
              	if (nn > IMAX) nn = IMAX;
  ------------------
  |  |  471|      0|#define IMAX 4294967296L
  ------------------
  |  Branch (489:6): [True: 0, False: 54]
  ------------------
  490|     54|	MKsetup(nn, d, nmax);
  491|       |#else
  492|       |	MKsetup(LENGTH(x), d, nmax);
  493|       |#endif
  494|     54|    }
  495|     54|	break;
  496|    966|    case REALSXP:
  ------------------
  |  |  124|    966|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (496:5): [True: 966, False: 1.62k]
  ------------------
  497|    966|	d->hash = rhash;
  498|    966|	d->equal = requal;
  499|    966|	MKsetup(XLENGTH(x), d, nmax);
  500|    966|	break;
  501|      0|    case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (501:5): [True: 0, False: 2.58k]
  ------------------
  502|      0|	d->hash = chash;
  503|      0|	d->equal = cequal;
  504|      0|	MKsetup(XLENGTH(x), d, nmax);
  505|      0|	break;
  506|  1.56k|    case STRSXP:
  ------------------
  |  |  126|  1.56k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (506:5): [True: 1.56k, False: 1.02k]
  ------------------
  507|  1.56k|	d->hash = shash;
  508|  1.56k|	d->equal = sequal;
  509|  1.56k|	MKsetup(XLENGTH(x), d, nmax);
  510|  1.56k|	break;
  511|      0|    case RAWSXP:
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (511:5): [True: 0, False: 2.58k]
  ------------------
  512|      0|	d->hash = rawhash;
  513|      0|	d->equal = rawequal;
  514|      0|	d->nmax = d->M = 256;
  515|      0|	d->K = 8; /* unused */
  516|      0|	break;
  517|      0|    case EXPRSXP:
  ------------------
  |  |  132|      0|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (517:5): [True: 0, False: 2.58k]
  ------------------
  518|      0|    case VECSXP:
  ------------------
  |  |  131|      0|#define VECSXP	    19	  /* generic vectors */
  ------------------
  |  Branch (518:5): [True: 0, False: 2.58k]
  ------------------
  519|      0|	d->hash = vhash;
  520|      0|	d->equal = vequal;
  521|      0|	MKsetup(XLENGTH(x), d, nmax);
  522|      0|	break;
  523|      0|    default:
  ------------------
  |  Branch (523:5): [True: 0, False: 2.58k]
  ------------------
  524|      0|	UNIMPLEMENTED_TYPE("HashTableSetup", x);
  525|  2.58k|    }
  526|  2.58k|#ifdef LONG_VECTOR_SUPPORT
  527|  2.58k|    d->isLong = IS_LONG_VEC(x);
  528|  2.58k|    if (d->isLong) {
  ------------------
  |  Branch (528:9): [True: 0, False: 2.58k]
  ------------------
  529|      0|	d->HashTable = allocVector(REALSXP, (R_xlen_t) d->M);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              	d->HashTable = allocVector(REALSXP, (R_xlen_t) d->M);
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  530|      0|	for (R_xlen_t i = 0; i < d->M; i++) HTDATA_DBL(d)[i] = NIL;
  ------------------
  |  |   83|      0|#define HTDATA_DBL(d) (REAL0((d)->HashTable))
  ------------------
              	for (R_xlen_t i = 0; i < d->M; i++) HTDATA_DBL(d)[i] = NIL;
  ------------------
  |  |   51|      0|#define NIL -1
  ------------------
  |  Branch (530:23): [True: 0, False: 0]
  ------------------
  531|      0|    } else
  532|  2.58k|#endif
  533|  2.58k|    {
  534|  2.58k|	d->HashTable = allocVector(INTSXP, (R_xlen_t) d->M);
  ------------------
  |  |  875|  2.58k|#define allocVector		Rf_allocVector
  ------------------
              	d->HashTable = allocVector(INTSXP, (R_xlen_t) d->M);
  ------------------
  |  |  123|  2.58k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  535|   312k|	for (R_xlen_t i = 0; i < d->M; i++) HTDATA_INT(d)[i] = NIL;
  ------------------
  |  |   82|   309k|#define HTDATA_INT(d) (INTEGER0((d)->HashTable))
  ------------------
              	for (R_xlen_t i = 0; i < d->M; i++) HTDATA_INT(d)[i] = NIL;
  ------------------
  |  |   51|   309k|#define NIL -1
  ------------------
  |  Branch (535:23): [True: 309k, False: 2.58k]
  ------------------
  536|  2.58k|    }
  537|  2.58k|}
unique.c:ihash:
  119|  1.61k|{
  120|  1.61k|    int xi = INTEGER_ELT(x, indx);
  121|  1.61k|    if (xi == NA_INTEGER) return 0;
  ------------------
  |  |   56|  1.61k|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (121:9): [True: 0, False: 1.61k]
  ------------------
  122|  1.61k|    return scatter((unsigned int) xi, d);
  123|  1.61k|}
unique.c:scatter:
  107|   379k|{
  108|   379k|    return 3141592653U * key >> (32 - d->K);
  109|   379k|}
unique.c:iequal:
  247|    780|{
  248|    780|    if (i < 0 || j < 0) return 0;
  ------------------
  |  Branch (248:9): [True: 0, False: 780]
  |  Branch (248:18): [True: 0, False: 780]
  ------------------
  249|    780|    return (INTEGER_ELT(x, i) == INTEGER_ELT(y, j));
  250|    780|}
unique.c:MKsetup:
  450|  2.58k|{
  451|  2.58k|#ifdef LONG_VECTOR_SUPPORT
  452|       |    /* M = 2^32 is safe, hence n <= 2^31 -1 */
  453|  2.58k|    if(n < 0) /* protect against overflow to -ve */
  ------------------
  |  Branch (453:8): [True: 0, False: 2.58k]
  ------------------
  454|      0|	error(_("length %lld is too large for hashing"), (long long)n);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("length %lld is too large for hashing"), (long long)n);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  455|       |#else
  456|       |    if(n < 0 || n >= 1073741824) /* protect against overflow to -ve */
  457|       |	error(_("length %d is too large for hashing"), n);
  458|       |#endif
  459|       |
  460|  2.58k|    if (nmax != NA_INTEGER && nmax != 1) n = nmax;
  ------------------
  |  |   56|  5.17k|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (460:9): [True: 0, False: 2.58k]
  |  Branch (460:31): [True: 0, False: 0]
  ------------------
  461|  2.58k|    size_t n2 = 2U * (size_t) n;
  462|  2.58k|    d->M = 2;
  463|  2.58k|    d->K = 1;
  464|  7.23k|    while (d->M < n2) {
  ------------------
  |  Branch (464:12): [True: 4.65k, False: 2.58k]
  ------------------
  465|  4.65k|	d->M *= 2;
  466|  4.65k|	d->K++;
  467|  4.65k|    }
  468|  2.58k|    d->nmax = n;
  469|  2.58k|}
unique.c:rhash:
  135|  95.6k|{
  136|       |    /* There is a problem with signed 0s under IEC60559 */
  137|  95.6k|    double xi = REAL_ELT(x, indx);
  138|  95.6k|    double tmp = (xi == 0.0) ? 0.0 : xi;
  ------------------
  |  Branch (138:18): [True: 966, False: 94.7k]
  ------------------
  139|       |    /* need to use both 32-byte chunks or endianness is an issue */
  140|       |    /* we want all NaNs except NA equal, and all NAs equal */
  141|  95.6k|    if (R_IsNA(tmp)) tmp = NA_REAL;
  ------------------
  |  |   58|      0|#define NA_REAL		R_NaReal
  ------------------
  |  Branch (141:9): [True: 0, False: 95.6k]
  ------------------
  142|  95.6k|    else if (R_IsNaN(tmp)) tmp = R_NaN;
  ------------------
  |  Branch (142:14): [True: 0, False: 95.6k]
  ------------------
  143|  95.6k|#if 2*SIZEOF_INT == SIZEOF_DOUBLE
  144|  95.6k|    {
  145|  95.6k|	union foo tmpu;
  146|  95.6k|	tmpu.d = tmp;
  147|  95.6k|	return scatter(tmpu.u[0] + tmpu.u[1], d);
  148|  95.6k|    }
  149|       |#else
  150|       |    return scatter(*((unsigned int *) (&tmp)), d);
  151|       |#endif
  152|  95.6k|}
unique.c:requal:
  254|  29.8k|{
  255|  29.8k|    if (i < 0 || j < 0) return 0;
  ------------------
  |  Branch (255:9): [True: 0, False: 29.8k]
  |  Branch (255:18): [True: 0, False: 29.8k]
  ------------------
  256|  29.8k|    double xi = REAL_ELT(x, i);
  257|  29.8k|    double yj = REAL_ELT(y, j);
  258|  29.8k|    if (!ISNAN(xi) && !ISNAN(yj))
  ------------------
  |  |   76|  59.7k|#  define ISNAN(x)     (isnan(x)!=0)
  ------------------
                  if (!ISNAN(xi) && !ISNAN(yj))
  ------------------
  |  |   76|  29.8k|#  define ISNAN(x)     (isnan(x)!=0)
  ------------------
  |  Branch (258:9): [True: 29.8k, False: 0]
  |  Branch (258:23): [True: 29.8k, False: 0]
  ------------------
  259|  29.8k|	return (xi == yj);
  260|      0|    else if (R_IsNA(xi) && R_IsNA(yj)) return 1;
  ------------------
  |  Branch (260:14): [True: 0, False: 0]
  |  Branch (260:28): [True: 0, False: 0]
  ------------------
  261|      0|    else if (R_IsNaN(xi) && R_IsNaN(yj)) return 1;
  ------------------
  |  Branch (261:14): [True: 0, False: 0]
  |  Branch (261:29): [True: 0, False: 0]
  ------------------
  262|      0|    else return 0;
  263|  29.8k|}
unique.c:shash:
  211|   282k|{
  212|   282k|    unsigned int k;
  213|   282k|    const char *p;
  214|   282k|    if (d->inHashtab) {
  ------------------
  |  Branch (214:9): [True: 0, False: 282k]
  ------------------
  215|      0|	SEXP xi = STRING_ELT(x, indx);
  216|      0|	int noTrans = (IS_BYTES(xi) || IS_ASCII(xi)) ? TRUE : FALSE;
  ------------------
  |  Branch (216:17): [True: 0, False: 0]
  |  Branch (216:33): [True: 0, False: 0]
  ------------------
  217|      0|	if (d->useCache && noTrans)
  ------------------
  |  Branch (217:6): [True: 0, False: 0]
  |  Branch (217:21): [True: 0, False: 0]
  ------------------
  218|      0|	    return scatter(PTRHASH(xi), d);
  219|      0|	const void *vmax = vmaxget();
  220|      0|	p = noTrans ? CHAR(xi) : translateCharUTF8(xi);
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
              	p = noTrans ? CHAR(xi) : translateCharUTF8(xi);
  ------------------
  |  | 1039|      0|#define translateCharUTF8      	Rf_translateCharUTF8
  ------------------
  |  Branch (220:6): [True: 0, False: 0]
  ------------------
  221|      0|	k = 0;
  222|      0|	for (; *p; p++)
  ------------------
  |  Branch (222:9): [True: 0, False: 0]
  ------------------
  223|       |	    /* multiplier was 8 but 11 isn't a power of 2 */
  224|      0|	    k = 11 * k + (unsigned int) *p;
  225|      0|	vmaxset(vmax); /* discard any memory used by translateChar */
  226|      0|	return scatter(k, d);
  227|      0|    }
  228|   282k|    if(!d->useUTF8 && d->useCache) return cshash(x, indx, d);
  ------------------
  |  Branch (228:8): [True: 282k, False: 0]
  |  Branch (228:23): [True: 282k, False: 0]
  ------------------
  229|      0|    const void *vmax = vmaxget();
  230|       |    /* Not having d->useCache really should not happen anymore. */
  231|      0|    p = translateCharUTF8(STRING_ELT(x, indx));
  ------------------
  |  | 1039|      0|#define translateCharUTF8      	Rf_translateCharUTF8
  ------------------
  232|      0|    k = 0;
  233|      0|    for (; *p; p++)
  ------------------
  |  Branch (233:12): [True: 0, False: 0]
  ------------------
  234|      0|	k = 11 * k + (unsigned int) *p; /* was 8 but 11 isn't a power of 2 */
  235|      0|    vmaxset(vmax); /* discard any memory used by translateChar */
  236|      0|    return scatter(k, d);
  237|   282k|}
unique.c:PTRHASH:
  195|   282k|{
  196|   282k|    intptr_t z = (intptr_t) x;
  197|   282k|    unsigned int z1 = (unsigned int)(z & 0xffffffff), z2 = 0;
  198|   282k|#if SIZEOF_LONG == 8
  199|   282k|    z2 = (unsigned int)(z/0x100000000L);
  200|   282k|#endif
  201|   282k|    return z1 ^ z2;
  202|   282k|}
unique.c:cshash:
  206|   282k|{
  207|   282k|    return scatter(PTRHASH(STRING_ELT(x, indx)), d);
  208|   282k|}
unique.c:sequal:
  289|   156k|{
  290|   156k|    if (i < 0 || j < 0) return 0;
  ------------------
  |  Branch (290:9): [True: 0, False: 156k]
  |  Branch (290:18): [True: 0, False: 156k]
  ------------------
  291|   156k|    SEXP xi = STRING_ELT(x, i);
  292|   156k|    SEXP yj = STRING_ELT(y, j);
  293|       |    /* Two strings which have the same address must be the same,
  294|       |       so avoid looking at the contents */
  295|   156k|    if (xi == yj) return 1;
  ------------------
  |  Branch (295:9): [True: 6.13k, False: 150k]
  ------------------
  296|       |    /* Then if either is NA the other cannot be */
  297|       |    /* Once all CHARSXPs are cached, Seql will handle this */
  298|   150k|    if (xi == NA_STRING || yj == NA_STRING)
  ------------------
  |  |  433|   301k|#define NA_STRING	R_NaString
  ------------------
                  if (xi == NA_STRING || yj == NA_STRING)
  ------------------
  |  |  433|   150k|#define NA_STRING	R_NaString
  ------------------
  |  Branch (298:9): [True: 0, False: 150k]
  |  Branch (298:28): [True: 37.2k, False: 113k]
  ------------------
  299|  37.2k|	return 0;
  300|       |    /* another pre-test to avoid the call to Seql */
  301|   113k|    if (IS_CACHED(xi) && IS_CACHED(yj) && ENC_KNOWN(xi) == ENC_KNOWN(yj))
  ------------------
  |  Branch (301:9): [True: 113k, False: 0]
  |  Branch (301:26): [True: 113k, False: 0]
  |  Branch (301:43): [True: 113k, False: 0]
  ------------------
  302|   113k|	return 0;
  303|       |    /* Translating latin1 to UTF-8 never shortens a string, so a shorter string
  304|       |       that needs no translation (ASCII, UTF-8, or native in a UTF-8 locale)
  305|       |       cannot equal it: ==> spares translating a long latin1 string on every probe. */
  306|      0|    if (IS_LATIN1(xi) != IS_LATIN1(yj)) {
  ------------------
  |  Branch (306:9): [True: 0, False: 0]
  ------------------
  307|      0|	SEXP l = IS_LATIN1(xi) ? xi : yj,
  ------------------
  |  Branch (307:11): [True: 0, False: 0]
  ------------------
  308|      0|	     o = IS_LATIN1(xi) ? yj : xi;
  ------------------
  |  Branch (308:11): [True: 0, False: 0]
  ------------------
  309|      0|	if (LENGTH(o) < LENGTH(l) && (utf8locale || IS_ASCII(o) || IS_UTF8(o)))
  ------------------
  |  Branch (309:6): [True: 0, False: 0]
  |  Branch (309:32): [True: 0, False: 0]
  |  Branch (309:46): [True: 0, False: 0]
  |  Branch (309:61): [True: 0, False: 0]
  ------------------
  310|      0|	    return 0;
  311|      0|    }
  312|      0|    return Seql(xi, yj);
  ------------------
  |  | 1988|      0|# define Seql			Rf_Seql
  ------------------
  313|      0|}
unique.c:duplicatedInit:
  573|  1.05k|{
  574|  1.05k|    Rboolean stop = FALSE;
  575|       |
  576|  1.05k|    if(TYPEOF(x) == STRSXP) {
  ------------------
  |  |  126|  1.05k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (576:8): [True: 88, False: 968]
  ------------------
  577|     88|	R_xlen_t i, n = XLENGTH(x);
  578|  3.28k|	for(i = 0; i < n; i++) {
  ------------------
  |  Branch (578:13): [True: 3.19k, False: 88]
  ------------------
  579|  3.19k|	    if(IS_BYTES(STRING_ELT(x, i))) {
  ------------------
  |  Branch (579:9): [True: 0, False: 3.19k]
  ------------------
  580|      0|		d->useUTF8 = FALSE;
  581|      0|		stop = TRUE;
  582|      0|		break;
  583|      0|	    }
  584|  3.19k|	    if(ENC_KNOWN(STRING_ELT(x, i))) {
  ------------------
  |  Branch (584:9): [True: 0, False: 3.19k]
  ------------------
  585|      0|		d->useUTF8 = TRUE;
  586|      0|	    }
  587|       |	    /* uncached strings are currently not properly supported */
  588|  3.19k|	    if(!IS_CACHED(STRING_ELT(x, i))) {
  ------------------
  |  Branch (588:9): [True: 0, False: 3.19k]
  ------------------
  589|      0|		d->useCache = FALSE;
  590|      0|		stop = TRUE;
  591|      0|		break;
  592|      0|	    }
  593|  3.19k|	}
  594|    968|    } else if (TYPEOF(x) == VECSXP || TYPEOF(x) == EXPRSXP) {
  ------------------
  |  |  131|  1.93k|#define VECSXP	    19	  /* generic vectors */
  ------------------
                  } else if (TYPEOF(x) == VECSXP || TYPEOF(x) == EXPRSXP) {
  ------------------
  |  |  132|    968|#define EXPRSXP	    20	  /* expressions vectors */
  ------------------
  |  Branch (594:16): [True: 0, False: 968]
  |  Branch (594:39): [True: 0, False: 968]
  ------------------
  595|      0|	R_xlen_t i, n = XLENGTH(x);
  596|      0|	for(i = 0; i < n; i++)
  ------------------
  |  Branch (596:13): [True: 0, False: 0]
  ------------------
  597|      0|	    if (duplicatedInit(VECTOR_ELT(x, i), d)) {
  ------------------
  |  Branch (597:10): [True: 0, False: 0]
  ------------------
  598|      0|		stop = TRUE;
  599|      0|		break;
  600|      0|	    }
  601|    968|    } else if (TYPEOF(x) == LANGSXP || TYPEOF(x) == LISTSXP) {
  ------------------
  |  |  117|  1.93k|#define LANGSXP	     6	  /* language constructs (special lists) */
  ------------------
                  } else if (TYPEOF(x) == LANGSXP || TYPEOF(x) == LISTSXP) {
  ------------------
  |  |  113|    968|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
  |  Branch (601:16): [True: 0, False: 968]
  |  Branch (601:40): [True: 0, False: 968]
  ------------------
  602|      0|	for(SEXP head = x; head != R_NilValue; head = CDR(head))
  ------------------
  |  Branch (602:21): [True: 0, False: 0]
  ------------------
  603|      0|	    if (duplicatedInit(CAR(head), d)) {
  ------------------
  |  Branch (603:10): [True: 0, False: 0]
  ------------------
  604|      0|		stop = TRUE;
  605|      0|		break;
  606|      0|	    }
  607|       |
  608|    968|    } else if (TYPEOF(x) == CLOSXP) {
  ------------------
  |  |  114|    968|#define CLOSXP	     3	  /* closures */
  ------------------
  |  Branch (608:16): [True: 0, False: 968]
  ------------------
  609|      0|	if (duplicatedInit(BODY_EXPR(x), d))
  ------------------
  |  | 1220|      0|#define BODY_EXPR(e) R_ClosureExpr(e)
  ------------------
  |  Branch (609:6): [True: 0, False: 0]
  ------------------
  610|      0|	    stop = TRUE;
  611|      0|    }
  612|  1.05k|    return stop;
  613|  1.05k|}
unique.c:isDuplicated:
  544|   116k|{
  545|   116k|#ifdef LONG_VECTOR_SUPPORT
  546|   116k|    if (d->isLong) {
  ------------------
  |  Branch (546:9): [True: 0, False: 116k]
  ------------------
  547|      0|	double *h = HTDATA_DBL(d);
  ------------------
  |  |   83|      0|#define HTDATA_DBL(d) (REAL0((d)->HashTable))
  ------------------
  548|      0|	hlen i = d->hash(x, indx, d);
  549|      0|	while (h[i] != NIL) {
  ------------------
  |  |   51|      0|#define NIL -1
  ------------------
  |  Branch (549:9): [True: 0, False: 0]
  ------------------
  550|      0|	    if (d->equal(x, (R_xlen_t) h[i], x, indx))
  ------------------
  |  Branch (550:10): [True: 0, False: 0]
  ------------------
  551|      0|		return h[i] >= 0 ? 1 : 0;
  ------------------
  |  Branch (551:10): [True: 0, False: 0]
  ------------------
  552|      0|	    i = (i + 1) % d->M;
  553|      0|	}
  554|      0|	if (d->nmax-- < 0) error("hash table is full");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  |  Branch (554:6): [True: 0, False: 0]
  ------------------
  555|      0|	h[i] = (double) indx;
  556|      0|    } else
  557|   116k|#endif
  558|   116k|    {
  559|   116k|	int *h = HTDATA_INT(d);
  ------------------
  |  |   82|   116k|#define HTDATA_INT(d) (INTEGER0((d)->HashTable))
  ------------------
  560|   116k|	hlen i = d->hash(x, indx, d);
  561|   150k|	while (h[i] != NIL) {
  ------------------
  |  |   51|   150k|#define NIL -1
  ------------------
  |  Branch (561:9): [True: 34.1k, False: 116k]
  ------------------
  562|  34.1k|	    if (d->equal(x, h[i], x, indx))
  ------------------
  |  Branch (562:10): [True: 2, False: 34.1k]
  ------------------
  563|      2|		return h[i] >= 0 ? 1 : 0;
  ------------------
  |  Branch (563:10): [True: 2, False: 0]
  ------------------
  564|  34.1k|	    i = (i + 1) % d->M;
  565|  34.1k|	}
  566|   116k|	if (d->nmax-- < 0) error("hash table is full");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  |  Branch (566:6): [True: 0, False: 116k]
  ------------------
  567|   116k|	h[i] = (int) indx;
  568|   116k|    }
  569|   116k|    return 0;
  570|   116k|}
unique.c:Duplicated:
  837|  1.02k|{
  838|  1.02k|    SEXP ans;
  839|  1.02k|    int *v;
  840|       |
  841|  1.02k|    if (!isVector(x)) error(_("'duplicated' applies only to vectors"));
  ------------------
  |  |  974|  1.02k|#define isVector		Rf_isVector
  ------------------
                  if (!isVector(x)) error(_("'duplicated' applies only to vectors"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  if (!isVector(x)) error(_("'duplicated' applies only to vectors"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (841:9): [True: 0, False: 1.02k]
  ------------------
  842|  1.02k|    R_xlen_t i, n = XLENGTH(x);
  843|  1.02k|    if(n == 0)
  ------------------
  |  Branch (843:8): [True: 0, False: 1.02k]
  ------------------
  844|      0|	return allocVector(LGLSXP, 0);
  ------------------
  |  |  875|      0|#define allocVector		Rf_allocVector
  ------------------
              	return allocVector(LGLSXP, 0);
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  845|  1.02k|    else if (n == 1)
  ------------------
  |  Branch (845:14): [True: 38, False: 990]
  ------------------
  846|     38|	return ScalarLogical(FALSE);
  ------------------
  |  | 1023|     38|#define ScalarLogical		Rf_ScalarLogical
  ------------------
  847|       |
  848|    990|    if(DUP_KNOWN_SORTED(x)) {
  ------------------
  |  |  833|    990|    ((TYPEOF(x) == INTSXP && KNOWN_SORTED(INTEGER_IS_SORTED(x))) ||	\
  |  |  ------------------
  |  |  |  |  123|  1.98k|#define INTSXP	    13	  /* integer vectors */
  |  |  ------------------
  |  |                   ((TYPEOF(x) == INTSXP && KNOWN_SORTED(INTEGER_IS_SORTED(x))) ||	\
  |  |  ------------------
  |  |  |  | 1162|      0|#define KNOWN_SORTED(sorted) (sorted == SORTED_DECR ||			\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1162:31): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1163|      0|			      sorted == SORTED_INCR ||			\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1163:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1164|      0|			      sorted == SORTED_DECR_NA_1ST ||		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1164:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1165|      0|			      sorted == SORTED_INCR_NA_1ST)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1165:10): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (833:7): [True: 0, False: 990]
  |  |  ------------------
  |  |  834|    990|     (TYPEOF(x) == REALSXP && KNOWN_SORTED(REAL_IS_SORTED(x))))
  |  |  ------------------
  |  |  |  |  124|  1.98k|#define REALSXP	    14	  /* real variables */
  |  |  ------------------
  |  |                    (TYPEOF(x) == REALSXP && KNOWN_SORTED(REAL_IS_SORTED(x))))
  |  |  ------------------
  |  |  |  | 1162|    966|#define KNOWN_SORTED(sorted) (sorted == SORTED_DECR ||			\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1162:31): [True: 0, False: 966]
  |  |  |  |  ------------------
  |  |  |  | 1163|    966|			      sorted == SORTED_INCR ||			\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1163:10): [True: 0, False: 966]
  |  |  |  |  ------------------
  |  |  |  | 1164|    966|			      sorted == SORTED_DECR_NA_1ST ||		\
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1164:10): [True: 0, False: 966]
  |  |  |  |  ------------------
  |  |  |  | 1165|    966|			      sorted == SORTED_INCR_NA_1ST)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1165:10): [True: 0, False: 966]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (834:7): [True: 966, False: 24]
  |  |  ------------------
  ------------------
  849|      0|    	return sorted_Duplicated(x, from_last, nmax);
  850|      0|    }
  851|    990|    DUPLICATED_INIT;
  ------------------
  |  |  644|    990|    HashData data = { 0 };					\
  |  |  645|    990|    HashTableSetup(x, &data, nmax);				\
  |  |  646|    990|    data.useUTF8 = FALSE; data.useCache = TRUE;			\
  |  |  647|    990|    duplicatedInit(x, &data);
  ------------------
  852|       |
  853|    990|    PROTECT(data.HashTable);
  ------------------
  |  |  357|    990|#define PROTECT(s)	Rf_protect(s)
  ------------------
  854|    990|    PROTECT(ans = allocVector(LGLSXP, n));
  ------------------
  |  |  357|    990|#define PROTECT(s)	Rf_protect(s)
  ------------------
  855|       |
  856|    990|    v = LOGICAL(ans);
  857|       |
  858|    990|    if(from_last)
  ------------------
  |  Branch (858:8): [True: 0, False: 990]
  ------------------
  859|      0|	for (i = n-1; i >= 0; i--) {
  ------------------
  |  Branch (859:16): [True: 0, False: 0]
  ------------------
  860|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  861|      0|	    v[i] = isDuplicated(x, i, &data);
  862|      0|	}
  863|    990|    else
  864|  99.2k|	for (i = 0; i < n; i++) {
  ------------------
  |  Branch (864:14): [True: 98.3k, False: 990]
  ------------------
  865|       |//	    if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
  866|  98.3k|	    v[i] = isDuplicated(x, i, &data);
  867|  98.3k|	}
  868|       |
  869|    990|    UNPROTECT(2);
  ------------------
  |  |  358|    990|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  870|    990|    return ans;
  871|    990|}
unique.c:match5:
 1350|  2.10M|{
 1351|  2.10M|    R_xlen_t n = xlength(ix);
  ------------------
  |  | 1049|  2.10M|#define xlength(x)		Rf_xlength(x)
  ------------------
 1352|       |    /* handle zero length arguments */
 1353|  2.10M|    if (n == 0) return allocVector(INTSXP, 0);
  ------------------
  |  |  875|  1.80k|#define allocVector		Rf_allocVector
  ------------------
                  if (n == 0) return allocVector(INTSXP, 0);
  ------------------
  |  |  123|  1.80k|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1353:9): [True: 1.80k, False: 2.10M]
  ------------------
 1354|       |
 1355|  2.10M|    SEXP ans;
 1356|  2.10M|    if (length(itable) == 0) {
  ------------------
  |  |  987|  2.10M|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (1356:9): [True: 744, False: 2.10M]
  ------------------
 1357|    744|	ans = allocVector(INTSXP, n);
  ------------------
  |  |  875|    744|#define allocVector		Rf_allocVector
  ------------------
              	ans = allocVector(INTSXP, n);
  ------------------
  |  |  123|    744|#define INTSXP	    13	  /* integer vectors */
  ------------------
 1358|    744|	int *pa = INTEGER0(ans);
 1359|  30.9k|	for (R_xlen_t i = 0; i < n; i++) pa[i] = nmatch;
  ------------------
  |  Branch (1359:23): [True: 30.2k, False: 744]
  ------------------
 1360|    744|	return ans;
 1361|    744|    }
 1362|       |
 1363|  2.10M|    SEXP x, table;
 1364|  2.10M|    int nprot = 2; /* x, table */
 1365|  2.10M|    PROTECT_INDEX xpi, tbpi;
 1366|       |
 1367|  2.10M|    bool D1; /* special case  <Date> o <character> */
 1368|  2.10M|    if ((D1 = isObject(ix)     && inherits(ix,     "Date") && isValidString(itable)) ||
  ------------------
  |  |  959|  2.10M|#define isObject		Rf_isObject
  ------------------
                  if ((D1 = isObject(ix)     && inherits(ix,     "Date") && isValidString(itable)) ||
  ------------------
  |  |  933|      0|#define inherits		Rf_inherits
  ------------------
                  if ((D1 = isObject(ix)     && inherits(ix,     "Date") && isValidString(itable)) ||
  ------------------
  |  |  972|      0|#define isValidString		Rf_isValidString
  ------------------
  |  Branch (1368:9): [True: 0, False: 2.10M]
  |  Branch (1368:15): [True: 0, False: 2.10M]
  |  Branch (1368:35): [True: 0, False: 0]
  |  Branch (1368:63): [True: 0, False: 0]
  ------------------
 1369|  2.10M|	(     isObject(itable) && inherits(itable, "Date") && isValidString(ix))) {
  ------------------
  |  |  959|  2.10M|#define isObject		Rf_isObject
  ------------------
              	(     isObject(itable) && inherits(itable, "Date") && isValidString(ix))) {
  ------------------
  |  |  933|      0|#define inherits		Rf_inherits
  ------------------
              	(     isObject(itable) && inherits(itable, "Date") && isValidString(ix))) {
  ------------------
  |  |  972|      0|#define isValidString		Rf_isValidString
  ------------------
  |  Branch (1369:8): [True: 0, False: 2.10M]
  |  Branch (1369:28): [True: 0, False: 0]
  |  Branch (1369:56): [True: 0, False: 0]
  ------------------
 1370|       |	/* Do *not* translate the <Date> to integer below (which later would be coerced
 1371|       |	 * to character: e.g, as.character(as.vector(as.Date("2025-06-26"))) |--> "20265"
 1372|       |	 * but rather *do*  as.Date(<character>) for the other, and then compare (the numbers of)
 1373|       |	 * as.vector(<Date>).
 1374|       |	*/
 1375|      0|	SEXP call, form_Ymd = PROTECT(mkString("%Y-%m-%d"));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1376|      0|	nprot += 2; /* form_Ymd, call */
 1377|      0|	if(D1) { // table := as.Date.character(itable, "%Y-%m-%d")
  ------------------
  |  Branch (1377:5): [True: 0, False: 0]
  ------------------
 1378|      0|	    PROTECT(call = lang3(install("as.Date.character"), itable, form_Ymd));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1379|      0|	    PROTECT_WITH_INDEX(table = eval(call, env), &tbpi);
  ------------------
  |  |  366|      0|#define PROTECT_WITH_INDEX(x,i) R_ProtectWithIndex(x,i)
  ------------------
 1380|       |
 1381|      0|	    REPROTECT(         table = match_transform(table, env), tbpi);
  ------------------
  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
 1382|      0|	    PROTECT_WITH_INDEX(x     = match_transform(ix,    env), &xpi);
  ------------------
  |  |  366|      0|#define PROTECT_WITH_INDEX(x,i) R_ProtectWithIndex(x,i)
  ------------------
 1383|      0|	} else { // x := as.Date.character(ix, "%Y-%m-%d")
 1384|      0|	    PROTECT(call = lang3(install("as.Date.character"), ix, form_Ymd));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1385|      0|	    PROTECT_WITH_INDEX(x = eval(call, env), &xpi);
  ------------------
  |  |  366|      0|#define PROTECT_WITH_INDEX(x,i) R_ProtectWithIndex(x,i)
  ------------------
 1386|       |
 1387|      0|	    REPROTECT(         x     = match_transform(x,      env),   xpi);
  ------------------
  |  |  367|      0|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
 1388|      0|	    PROTECT_WITH_INDEX(table = match_transform(itable, env), &tbpi);
  ------------------
  |  |  366|      0|#define PROTECT_WITH_INDEX(x,i) R_ProtectWithIndex(x,i)
  ------------------
 1389|      0|	}
 1390|  2.10M|    } else { /* regular cases */
 1391|  2.10M|	PROTECT_WITH_INDEX(x     = match_transform(ix,     env),  &xpi);
  ------------------
  |  |  366|  2.10M|#define PROTECT_WITH_INDEX(x,i) R_ProtectWithIndex(x,i)
  ------------------
 1392|  2.10M|        PROTECT_WITH_INDEX(table = match_transform(itable, env), &tbpi);
  ------------------
  |  |  366|  2.10M|#define PROTECT_WITH_INDEX(x,i) R_ProtectWithIndex(x,i)
  ------------------
 1393|  2.10M|    }
 1394|       |
 1395|  2.10M|    SEXPTYPE type;
 1396|       |    /* Coerce to a common type; type == NILSXP is ok here.
 1397|       |     * Note that above we coerce factors and "POSIXlt", only to character.
 1398|       |     * Hence, coerce to character or to `higher' type
 1399|       |     * (given that we have "Vector" or NULL) */
 1400|  2.10M|    if(TYPEOF(x) >= STRSXP || TYPEOF(table) >= STRSXP) type = STRSXP;
  ------------------
  |  |  126|  4.20M|#define STRSXP	    16	  /* string vectors */
  ------------------
                  if(TYPEOF(x) >= STRSXP || TYPEOF(table) >= STRSXP) type = STRSXP;
  ------------------
  |  |  126|    124|#define STRSXP	    16	  /* string vectors */
  ------------------
                  if(TYPEOF(x) >= STRSXP || TYPEOF(table) >= STRSXP) type = STRSXP;
  ------------------
  |  |  126|  2.10M|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1400:8): [True: 2.10M, False: 124]
  |  Branch (1400:31): [True: 0, False: 124]
  ------------------
 1401|    124|    else type = TYPEOF(x) < TYPEOF(table) ? TYPEOF(table) : TYPEOF(x);
  ------------------
  |  Branch (1401:17): [True: 0, False: 124]
  ------------------
 1402|  2.10M|    REPROTECT(x	    = coerceVector(x,	  type),  xpi);
  ------------------
  |  |  367|  2.10M|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
 1403|  2.10M|    REPROTECT(table = coerceVector(table, type), tbpi);
  ------------------
  |  |  367|  2.10M|#define REPROTECT(x,i) R_Reprotect(x,i)
  ------------------
 1404|       |
 1405|       |    // special case scalar x -- for speed only :
 1406|  2.10M|    if(XLENGTH(x) == 1 && !incomp) {
  ------------------
  |  Branch (1406:8): [True: 2.10M, False: 1.53k]
  |  Branch (1406:27): [True: 2.10M, False: 0]
  ------------------
 1407|  2.10M|      int val = nmatch;
 1408|  2.10M|      int ntable = LENGTH(table);
 1409|  2.10M|      switch (type) {
  ------------------
  |  Branch (1409:15): [True: 2.10M, False: 0]
  ------------------
 1410|  2.10M|      case STRSXP: {
  ------------------
  |  |  126|  2.10M|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1410:7): [True: 2.10M, False: 72]
  ------------------
 1411|  2.10M|	  SEXP x_val = STRING_ELT(x,0);
 1412|  12.5M|	  for (int i=0; i < ntable; i++) if (Seql(STRING_ELT(table,i), x_val)) {
  ------------------
  |  | 1988|  10.4M|# define Seql			Rf_Seql
  ------------------
  |  Branch (1412:18): [True: 10.4M, False: 2.10M]
  |  Branch (1412:39): [True: 965, False: 10.4M]
  ------------------
 1413|    965|		  val = i + 1; break;
 1414|    965|	      }
 1415|  2.10M|	  break; }
 1416|      0|      case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (1416:7): [True: 0, False: 2.10M]
  ------------------
 1417|     72|      case INTSXP: {
  ------------------
  |  |  123|     72|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1417:7): [True: 72, False: 2.10M]
  ------------------
 1418|     72|	  int x_val = INTEGER_ELT(x, 0),
 1419|     72|	      *table_p = INTEGER(table);
 1420|    336|	  for (int i=0; i < ntable; i++) if (table_p[i] == x_val) {
  ------------------
  |  Branch (1420:18): [True: 272, False: 64]
  |  Branch (1420:39): [True: 8, False: 264]
  ------------------
 1421|      8|		  val = i + 1; break;
 1422|      8|	      }
 1423|     72|	  break; }
 1424|      0|      case REALSXP: {
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1424:7): [True: 0, False: 2.10M]
  ------------------
 1425|      0|	  double xv = REAL_ELT(x, 0);
 1426|       |	  // pblm with signed 0s under IEC60559
 1427|      0|	  double x_val = (xv == 0.) ? 0. : xv;
  ------------------
  |  Branch (1427:19): [True: 0, False: 0]
  ------------------
 1428|      0|	  double *table_p = REAL(table);
 1429|       |	  /* we want all NaNs except NA equal, and all NAs equal */
 1430|      0|	  if (R_IsNA(x_val)) {
  ------------------
  |  Branch (1430:8): [True: 0, False: 0]
  ------------------
 1431|      0|	      for (int i=0; i < ntable; i++) if (R_IsNA(table_p[i])) {
  ------------------
  |  Branch (1431:22): [True: 0, False: 0]
  |  Branch (1431:43): [True: 0, False: 0]
  ------------------
 1432|      0|		      val = i + 1; break;
 1433|      0|		  }
 1434|      0|	  }
 1435|      0|	  else if (R_IsNaN(x_val)) {
  ------------------
  |  Branch (1435:13): [True: 0, False: 0]
  ------------------
 1436|      0|	      for (int i=0; i < ntable; i++) if (R_IsNaN(table_p[i])) {
  ------------------
  |  Branch (1436:22): [True: 0, False: 0]
  |  Branch (1436:43): [True: 0, False: 0]
  ------------------
 1437|      0|		      val = i + 1; break;
 1438|      0|		  }
 1439|      0|	  }
 1440|      0|	  else {
 1441|      0|	      for (int i=0; i < ntable; i++) if (table_p[i] == x_val) {
  ------------------
  |  Branch (1441:22): [True: 0, False: 0]
  |  Branch (1441:43): [True: 0, False: 0]
  ------------------
 1442|      0|		      val = i + 1; break;
 1443|      0|	      }
 1444|      0|	  }
 1445|      0|	  break; }
 1446|      0|      case CPLXSXP: {
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (1446:7): [True: 0, False: 2.10M]
  ------------------
 1447|      0|	  Rcomplex x_val = COMPLEX_ELT(x, 0),
 1448|      0|	      *table_p = COMPLEX(table);
 1449|      0|	  for (int i=0; i < ntable; i++)
  ------------------
  |  Branch (1449:18): [True: 0, False: 0]
  ------------------
 1450|      0|	      if (cplx_eq(table_p[i], x_val)) {
  ------------------
  |  Branch (1450:12): [True: 0, False: 0]
  ------------------
 1451|      0|		  val = i + 1; break;
 1452|      0|	      }
 1453|      0|	  break; }
 1454|      0|      case RAWSXP: {
  ------------------
  |  |  136|      0|#define RAWSXP      24    /* raw bytes */
  ------------------
  |  Branch (1454:7): [True: 0, False: 2.10M]
  ------------------
 1455|      0|	  Rbyte x_val = RAW_ELT(x, 0),
 1456|      0|	      *table_p = RAW(table);
 1457|      0|	  for (int i=0; i < ntable; i++) if (table_p[i] == x_val) {
  ------------------
  |  Branch (1457:18): [True: 0, False: 0]
  |  Branch (1457:39): [True: 0, False: 0]
  ------------------
 1458|      0|		  val = i + 1; break;
 1459|      0|	      }
 1460|      0|	  break; }
 1461|  2.10M|      }
 1462|  2.10M|      PROTECT(ans = ScalarInteger(val)); nprot++;
  ------------------
  |  |  357|  2.10M|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1463|  2.10M|    }
 1464|  1.53k|    else { // regular case
 1465|  1.53k|	HashData data = { 0 };
 1466|  1.53k|	if (incomp) { PROTECT(incomp = coerceVector(incomp, type)); nprot++; }
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  |  Branch (1466:6): [True: 0, False: 1.53k]
  ------------------
 1467|  1.53k|	data.nomatch = nmatch;
 1468|  1.53k|	HashTableSetup(table, &data, NA_INTEGER);
  ------------------
  |  |   56|  1.53k|#define NA_INTEGER	R_NaInt
  ------------------
 1469|  1.53k|	PROTECT(data.HashTable); nprot++;
  ------------------
  |  |  357|  1.53k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1470|  1.53k|	if(type == STRSXP) {
  ------------------
  |  |  126|  1.53k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1470:5): [True: 1.47k, False: 52]
  ------------------
 1471|  1.47k|	    Rboolean useBytes = FALSE;
 1472|  1.47k|	    Rboolean useUTF8 = FALSE;
 1473|  1.47k|	    Rboolean useCache = TRUE;
 1474|   263k|	    for(R_xlen_t i = 0; i < xlength(x); i++) {
  ------------------
  |  | 1049|   263k|#define xlength(x)		Rf_xlength(x)
  ------------------
  |  Branch (1474:26): [True: 262k, False: 1.47k]
  ------------------
 1475|   262k|		SEXP s = STRING_ELT(x, i);
 1476|   262k|		if(IS_BYTES(s)) {
  ------------------
  |  Branch (1476:6): [True: 0, False: 262k]
  ------------------
 1477|      0|		    useBytes = TRUE;
 1478|      0|		    useUTF8 = FALSE;
 1479|      0|		    break;
 1480|      0|		}
 1481|   262k|		if(ENC_KNOWN(s)) {
  ------------------
  |  Branch (1481:6): [True: 0, False: 262k]
  ------------------
 1482|      0|		    useUTF8 = TRUE;
 1483|      0|		}
 1484|   262k|		if(!IS_CACHED(s)) {
  ------------------
  |  Branch (1484:6): [True: 0, False: 262k]
  ------------------
 1485|      0|		    useCache = FALSE;
 1486|      0|		    break;
 1487|      0|		}
 1488|   262k|	    }
 1489|  1.47k|	    if(!useBytes || useCache) {
  ------------------
  |  Branch (1489:9): [True: 1.47k, False: 0]
  |  Branch (1489:22): [True: 0, False: 0]
  ------------------
 1490|  18.2k|		for(int i = 0; i < LENGTH(table); i++) {
  ------------------
  |  Branch (1490:18): [True: 16.7k, False: 1.47k]
  ------------------
 1491|  16.7k|		    SEXP s = STRING_ELT(table, i);
 1492|  16.7k|		    if(IS_BYTES(s)) {
  ------------------
  |  Branch (1492:10): [True: 0, False: 16.7k]
  ------------------
 1493|      0|			useBytes = TRUE;
 1494|      0|			useUTF8 = FALSE;
 1495|      0|			break;
 1496|      0|		    }
 1497|  16.7k|		    if(ENC_KNOWN(s)) {
  ------------------
  |  Branch (1497:10): [True: 0, False: 16.7k]
  ------------------
 1498|      0|			useUTF8 = TRUE;
 1499|      0|		    }
 1500|  16.7k|		    if(!IS_CACHED(s)) {
  ------------------
  |  Branch (1500:10): [True: 0, False: 16.7k]
  ------------------
 1501|      0|			useCache = FALSE;
 1502|      0|			break;
 1503|      0|		    }
 1504|  16.7k|		}
 1505|  1.47k|	    }
 1506|  1.47k|	    if(useUTF8) {
  ------------------
  |  Branch (1506:9): [True: 0, False: 1.47k]
  ------------------
 1507|      0|		x = PROTECT(asUTF8(x)); nprot++;
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1508|      0|		table = PROTECT(asUTF8(table)); nprot++;
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1509|      0|	    }
 1510|  1.47k|	    data.useUTF8 = useUTF8;
 1511|  1.47k|	    data.useCache = useCache;
 1512|  1.47k|	}
 1513|  1.53k|	DoHashing(table, &data);
 1514|  1.53k|	if (incomp) UndoHashing(incomp, table, &data);
  ------------------
  |  Branch (1514:6): [True: 0, False: 1.53k]
  ------------------
 1515|  1.53k|	ans = HashLookup(table, x, &data);
 1516|  1.53k|    }
 1517|  2.10M|    UNPROTECT(nprot);
  ------------------
  |  |  358|  2.10M|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1518|  2.10M|    return ans;
 1519|  2.10M|} // end{ match5 }
unique.c:match_transform:
 1298|  4.20M|{
 1299|  4.20M|    if(OBJECT(s)) {
  ------------------
  |  Branch (1299:8): [True: 0, False: 4.20M]
  ------------------
 1300|      0|	if(inherits(s, "factor")) return asCharacterFactor(s);
  ------------------
  |  |  933|      0|#define inherits		Rf_inherits
  ------------------
              	if(inherits(s, "factor")) return asCharacterFactor(s);
  ------------------
  |  |  883|      0|#define asCharacterFactor	Rf_asCharacterFactor
  ------------------
  |  Branch (1300:5): [True: 0, False: 0]
  ------------------
 1301|       |	/*
 1302|       |	else if(inherits(s, "POSIXlt")) { // and maybe more classes in the future:
 1303|       |					  // Call R's (generic) as.character(s):
 1304|       |	    SEXP call, r;
 1305|       |	    PROTECT(call = lang2(R_AsCharacterSymbol, s));
 1306|       |	    r = eval(call, env);
 1307|       |	    UNPROTECT(1);
 1308|       |	    return r;
 1309|       |	}
 1310|       |	*/
 1311|      0|	else {
 1312|      0|	    SEXP call, r;
 1313|      0|	    PROTECT(call = lang2(install("mtfrm"), s));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1314|      0|	    r = eval(call, env);
  ------------------
  |  |  913|      0|#define eval			Rf_eval
  ------------------
 1315|      0|	    UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1316|      0|	    return r;
 1317|      0|	}
 1318|      0|    }
 1319|       |    /* else */
 1320|  4.20M|    return duplicate(s);
  ------------------
  |  |  909|  4.20M|#define duplicate		Rf_duplicate
  ------------------
 1321|  4.20M|}
unique.c:HashLookup:
 1267|  1.53k|{
 1268|  1.53k|    SEXP ans;
 1269|  1.53k|    R_xlen_t i, n;
 1270|       |
 1271|  1.53k|    n = XLENGTH(x);
 1272|  1.53k|    PROTECT(ans = allocVector(INTSXP, n));
  ------------------
  |  |  357|  1.53k|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1273|  1.53k|    int *pa = INTEGER0(ans);
 1274|       |
 1275|  1.53k|    switch (TYPEOF(x)) {
 1276|     52|    case INTSXP:
  ------------------
  |  |  123|     52|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (1276:5): [True: 52, False: 1.47k]
  ------------------
 1277|    832|	for (i = 0; i < n; i++)
  ------------------
  |  Branch (1277:14): [True: 780, False: 52]
  ------------------
 1278|    780|	    pa[i] = iLookup(table, x, i, d);
 1279|     52|	break;
 1280|      0|    case REALSXP:
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (1280:5): [True: 0, False: 1.53k]
  ------------------
 1281|      0|	for (i = 0; i < n; i++)
  ------------------
  |  Branch (1281:14): [True: 0, False: 0]
  ------------------
 1282|      0|	    pa[i] = rLookup(table, x, i, d);
 1283|      0|	break;
 1284|  1.47k|    case STRSXP:
  ------------------
  |  |  126|  1.47k|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1284:5): [True: 1.47k, False: 52]
  ------------------
 1285|   263k|	for (i = 0; i < n; i++)
  ------------------
  |  Branch (1285:14): [True: 262k, False: 1.47k]
  ------------------
 1286|   262k|	    pa[i] = sLookup(table, x, i, d);
 1287|  1.47k|	break;
 1288|      0|    default:
  ------------------
  |  Branch (1288:5): [True: 0, False: 1.53k]
  ------------------
 1289|      0|	for (i = 0; i < n; i++)
  ------------------
  |  Branch (1289:14): [True: 0, False: 0]
  ------------------
 1290|      0|	    pa[i] = Lookup(table, x, i, d);
 1291|  1.53k|    }
 1292|       |
 1293|  1.53k|    UNPROTECT(1);
  ------------------
  |  |  358|  1.53k|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1294|  1.53k|    return ans;
 1295|  1.53k|}
unique.c:iLookup:
 1246|    780|    {								\
 1247|    780|	int *h = HTDATA_INT(d);					\
  ------------------
  |  |   82|    780|#define HTDATA_INT(d) (INTEGER0((d)->HashTable))
  ------------------
 1248|    780|	hlen i = HASHFUN(x, indx, d);				\
 1249|    780|	while (h[i] != NIL) {					\
  ------------------
  |  |   51|    780|#define NIL -1
  ------------------
  |  Branch (1249:9): [True: 780, False: 0]
  ------------------
 1250|    780|	    if (EQLFUN(table, h[i], x, indx))			\
  ------------------
  |  Branch (1250:10): [True: 780, False: 0]
  ------------------
 1251|    780|		return h[i] >= 0 ? h[i] + 1 : d->nomatch;	\
  ------------------
  |  Branch (1251:10): [True: 780, False: 0]
  ------------------
 1252|    780|	    i = (i + 1) % d->M;					\
 1253|      0|	}							\
 1254|    780|	return d->nomatch;					\
 1255|    780|    }
unique.c:sLookup:
 1246|   262k|    {								\
 1247|   262k|	int *h = HTDATA_INT(d);					\
  ------------------
  |  |   82|   262k|#define HTDATA_INT(d) (INTEGER0((d)->HashTable))
  ------------------
 1248|   262k|	hlen i = HASHFUN(x, indx, d);				\
 1249|   408k|	while (h[i] != NIL) {					\
  ------------------
  |  |   51|   408k|#define NIL -1
  ------------------
  |  Branch (1249:9): [True: 152k, False: 255k]
  ------------------
 1250|   152k|	    if (EQLFUN(table, h[i], x, indx))			\
  ------------------
  |  Branch (1250:10): [True: 6.13k, False: 146k]
  ------------------
 1251|   152k|		return h[i] >= 0 ? h[i] + 1 : d->nomatch;	\
  ------------------
  |  Branch (1251:10): [True: 6.13k, False: 0]
  ------------------
 1252|   152k|	    i = (i + 1) % d->M;					\
 1253|   146k|	}							\
 1254|   262k|	return d->nomatch;					\
 1255|   262k|    }
unique.c:DoHashing:
 1229|  1.53k|{
 1230|  1.53k|    R_xlen_t i, n = XLENGTH(table);
 1231|  19.0k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1231:17): [True: 17.5k, False: 1.53k]
  ------------------
 1232|       |//	if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
 1233|  17.5k|	(void) isDuplicated(table, i, d);
 1234|  17.5k|    }
 1235|  1.53k|}
unique.c:ExpandDots:
 1824|  5.79k|{
 1825|  5.79k|    SEXP r;
 1826|  5.79k|    if (s == R_NilValue)
  ------------------
  |  Branch (1826:9): [True: 966, False: 4.83k]
  ------------------
 1827|    966|	return s;
 1828|  4.83k|    if (TYPEOF(CAR(s)) == DOTSXP ) {
  ------------------
  |  |  127|  4.83k|#define DOTSXP	    17	  /* dot-dot-dot object */
  ------------------
  |  Branch (1828:9): [True: 966, False: 3.86k]
  ------------------
 1829|    966|	SET_TYPEOF(CAR(s), LISTSXP);	/* a safe mutation */
  ------------------
  |  |  113|    966|#define LISTSXP	     2	  /* lists of dotted pairs */
  ------------------
 1830|    966|	if (expdots) {
  ------------------
  |  Branch (1830:6): [True: 0, False: 966]
  ------------------
 1831|      0|	    r = CAR(s);
 1832|      0|	    while (CDR(r) != R_NilValue ) {
  ------------------
  |  Branch (1832:13): [True: 0, False: 0]
  ------------------
 1833|      0|		SET_ARGUSED(r, 1);
  ------------------
  |  |   53|      0|#define SET_ARGUSED(x,v) SETLEVELS(x,v)
  ------------------
 1834|      0|		r = CDR(r);
 1835|      0|	    }
 1836|      0|	    SET_ARGUSED(r, 1);
  ------------------
  |  |   53|      0|#define SET_ARGUSED(x,v) SETLEVELS(x,v)
  ------------------
 1837|      0|	    SETCDR(r, ExpandDots(CDR(s), expdots));
 1838|      0|	    return CAR(s);
 1839|      0|	}
 1840|    966|    }
 1841|  3.86k|    else
 1842|  3.86k|	SET_ARGUSED(s, 0);
  ------------------
  |  |   53|  3.86k|#define SET_ARGUSED(x,v) SETLEVELS(x,v)
  ------------------
 1843|  4.83k|    SETCDR(s, ExpandDots(CDR(s), expdots));
 1844|  4.83k|    return s;
 1845|  4.83k|}
unique.c:StripUnmatched:
 1808|  5.79k|{
 1809|  5.79k|    if (s == R_NilValue) return s;
  ------------------
  |  Branch (1809:9): [True: 966, False: 4.83k]
  ------------------
 1810|       |
 1811|  4.83k|    if (CAR(s) == R_MissingArg && !ARGUSED(s) ) {
  ------------------
  |  |   52|  3.86k|#define ARGUSED(x) LEVELS(x)
  ------------------
  |  Branch (1811:9): [True: 3.86k, False: 966]
  |  Branch (1811:35): [True: 3.86k, False: 0]
  ------------------
 1812|  3.86k|	return StripUnmatched(CDR(s));
 1813|  3.86k|    }
 1814|    966|    else if (CAR(s) == R_DotsSymbol ) {
  ------------------
  |  Branch (1814:14): [True: 0, False: 966]
  ------------------
 1815|      0|	return StripUnmatched(CDR(s));
 1816|      0|    }
 1817|    966|    else {
 1818|    966|	SETCDR(s, StripUnmatched(CDR(s)));
 1819|    966|	return s;
 1820|    966|    }
 1821|  4.83k|}
unique.c:duplicated2:
 2167|      2|{
 2168|      2|    SEXP ans;
 2169|      2|    int i, n;
 2170|       |
 2171|      2|    n = LENGTH(x);
 2172|      2|    HashTableSetup(x, d, NA_INTEGER);
  ------------------
  |  |   56|      2|#define NA_INTEGER	R_NaInt
  ------------------
 2173|      2|    PROTECT(d->HashTable);
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2174|      2|    PROTECT(ans = allocVector(INTSXP, n));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
 2175|       |
 2176|      2|    int *h = HTDATA_INT(d);
  ------------------
  |  |   82|      2|#define HTDATA_INT(d) (INTEGER0((d)->HashTable))
  ------------------
 2177|      2|    int *v = INTEGER0(ans);
 2178|     34|    for (i = 0; i < d->M; i++) h[i] = NIL;
  ------------------
  |  |   51|     32|#define NIL -1
  ------------------
  |  Branch (2178:17): [True: 32, False: 2]
  ------------------
 2179|     14|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (2179:17): [True: 12, False: 2]
  ------------------
 2180|       |//	if ((i+1) % NINTERRUPT == 0) R_CheckUserInterrupt();
 2181|     12|	v[i] = isDuplicated2(x, i, d);
 2182|     12|    }
 2183|      2|    UNPROTECT(2);
  ------------------
  |  |  358|      2|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 2184|      2|    return ans;
 2185|      2|}
unique.c:isDuplicated2:
 2154|     12|{
 2155|     12|    int *h = HTDATA_INT(d);
  ------------------
  |  |   82|     12|#define HTDATA_INT(d) (INTEGER0((d)->HashTable))
  ------------------
 2156|     12|    hlen i = d->hash(x, indx, d);
 2157|     13|    while (h[i] != NIL) {
  ------------------
  |  |   51|     13|#define NIL -1
  ------------------
  |  Branch (2157:12): [True: 1, False: 12]
  ------------------
 2158|      1|	if (d->equal(x, h[i], x, indx))
  ------------------
  |  Branch (2158:6): [True: 0, False: 1]
  ------------------
 2159|      0|	    return h[i] + 1;
 2160|      1|	i = (i + 1) % d->M;
 2161|      1|    }
 2162|     12|    h[i] = indx;
 2163|     12|    return 0;
 2164|     12|}

Rf_nrows:
   82|  10.7k|{
   83|  10.7k|    if (isVector(s) || isList(s)) {
  ------------------
  |  |  974|  10.7k|#define isVector		Rf_isVector
  ------------------
                  if (isVector(s) || isList(s)) {
  ------------------
  |  |  951|      0|#define isList			Rf_isList
  ------------------
  |  Branch (83:9): [True: 10.7k, False: 0]
  |  Branch (83:24): [True: 0, False: 0]
  ------------------
   84|  10.7k|	SEXP t = getAttrib(s, R_DimSymbol);
  ------------------
  |  |  924|  10.7k|#define getAttrib		Rf_getAttrib
  ------------------
   85|  10.7k|	if (t == R_NilValue) return LENGTH(s);
  ------------------
  |  Branch (85:6): [True: 0, False: 10.7k]
  ------------------
   86|  10.7k|	return INTEGER(t)[0];
   87|  10.7k|    } else
   88|      0|	error(_("object is not a matrix"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("object is not a matrix"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
   89|      0|    return -1;
   90|  10.7k|}
Rf_ncols:
   94|  11.0k|{
   95|  11.0k|    if (isVector(s) || isList(s)) {
  ------------------
  |  |  974|  11.0k|#define isVector		Rf_isVector
  ------------------
                  if (isVector(s) || isList(s)) {
  ------------------
  |  |  951|      0|#define isList			Rf_isList
  ------------------
  |  Branch (95:9): [True: 11.0k, False: 0]
  |  Branch (95:24): [True: 0, False: 0]
  ------------------
   96|  11.0k|	SEXP t = getAttrib(s, R_DimSymbol);
  ------------------
  |  |  924|  11.0k|#define getAttrib		Rf_getAttrib
  ------------------
   97|  11.0k|	if (t == R_NilValue) return 1;
  ------------------
  |  Branch (97:6): [True: 0, False: 11.0k]
  ------------------
   98|  11.0k|	if (LENGTH(t) >= 2) return INTEGER(t)[1];
  ------------------
  |  Branch (98:6): [True: 11.0k, False: 0]
  ------------------
   99|       |	/* This is a 1D (or possibly 0D array) */
  100|      0|	return 1;
  101|  11.0k|    } else
  102|      0|	error(_("object is not a matrix"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("object is not a matrix"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  103|      0|    return -1;/*NOTREACHED*/
  104|  11.0k|}
Rf_asChar:
  137|    196|{
  138|    196|	if (isVectorAtomic(x) && XLENGTH(x) >= 1) {
  ------------------
  |  |  975|    196|#define isVectorAtomic		Rf_isVectorAtomic
  ------------------
  |  Branch (138:6): [True: 196, False: 0]
  |  Branch (138:27): [True: 196, False: 0]
  ------------------
  139|    196|	    int w, d, e, wi, di, ei;
  140|    196|	    char buf[MAXELTSIZE];  /* Probably 100 would suffice */
  141|       |
  142|    196|	    switch (TYPEOF(x)) {
  143|      0|	    case LGLSXP:
  ------------------
  |  |  121|      0|#define LGLSXP	    10	  /* logical vectors */
  ------------------
  |  Branch (143:6): [True: 0, False: 196]
  ------------------
  144|      0|		if (LOGICAL(x)[0] == NA_LOGICAL)
  ------------------
  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (144:7): [True: 0, False: 0]
  ------------------
  145|      0|		    return NA_STRING;
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  146|      0|		if (LOGICAL(x)[0])
  ------------------
  |  Branch (146:7): [True: 0, False: 0]
  ------------------
  147|      0|		    snprintf(buf, MAXELTSIZE, "TRUE");
  ------------------
  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  ------------------
  148|      0|		else
  149|      0|		    snprintf(buf, MAXELTSIZE, "FALSE");
  ------------------
  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  ------------------
  150|      0|		return mkChar(buf);
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
  151|      0|	    case INTSXP:
  ------------------
  |  |  123|      0|#define INTSXP	    13	  /* integer vectors */
  ------------------
  |  Branch (151:6): [True: 0, False: 196]
  ------------------
  152|      0|		if (INTEGER(x)[0] == NA_INTEGER)
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (152:7): [True: 0, False: 0]
  ------------------
  153|      0|		    return NA_STRING;
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  154|      0|		snprintf(buf, MAXELTSIZE, "%d", INTEGER(x)[0]);
  ------------------
  |  |   85|      0|#define MAXELTSIZE 8192 /* Used as a default for string buffer sizes,
  ------------------
  155|      0|		return mkChar(buf);
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
  156|      0|	    case REALSXP:
  ------------------
  |  |  124|      0|#define REALSXP	    14	  /* real variables */
  ------------------
  |  Branch (156:6): [True: 0, False: 196]
  ------------------
  157|      0|		PrintDefaults();
  ------------------
  |  | 1975|      0|# define PrintDefaults		Rf_PrintDefaults
  ------------------
  158|      0|		formatReal(REAL(x), 1, &w, &d, &e, 0);
  ------------------
  |  |   41|      0|#define formatReal         Rf_formatReal
  ------------------
  159|      0|		return mkChar(EncodeReal0(REAL(x)[0], w, d, e, OutDec));
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
              		return mkChar(EncodeReal0(REAL(x)[0], w, d, e, OutDec));
  ------------------
  |  |   46|      0|#define EncodeReal0        Rf_EncodeReal0
  ------------------
  160|      0|	    case CPLXSXP:
  ------------------
  |  |  125|      0|#define CPLXSXP	    15	  /* complex variables */
  ------------------
  |  Branch (160:6): [True: 0, False: 196]
  ------------------
  161|      0|		PrintDefaults();
  ------------------
  |  | 1975|      0|# define PrintDefaults		Rf_PrintDefaults
  ------------------
  162|      0|		formatComplex(COMPLEX(x), 1, &w, &d, &e, &wi, &di, &ei, 0);
  ------------------
  |  |   42|      0|#define formatComplex      Rf_formatComplex
  ------------------
  163|      0|		return mkChar(EncodeComplex(COMPLEX(x)[0], w, d, e, wi, di, ei, OutDec));
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
              		return mkChar(EncodeComplex(COMPLEX(x)[0], w, d, e, wi, di, ei, OutDec));
  ------------------
  |  |   47|      0|#define EncodeComplex      Rf_EncodeComplex
  ------------------
  164|    196|	    case STRSXP:
  ------------------
  |  |  126|    196|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (164:6): [True: 196, False: 0]
  ------------------
  165|    196|		return STRING_ELT(x, 0);
  166|      0|	    default:
  ------------------
  |  Branch (166:6): [True: 0, False: 196]
  ------------------
  167|      0|		return NA_STRING;
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  168|    196|	    }
  169|    196|	} else if(TYPEOF(x) == CHARSXP) {
  ------------------
  |  |  120|      0|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  ------------------
  |  Branch (169:12): [True: 0, False: 0]
  ------------------
  170|      0|	    return x;
  171|      0|	} else if(TYPEOF(x) == SYMSXP)
  ------------------
  |  |  112|      0|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (171:12): [True: 0, False: 0]
  ------------------
  172|      0|	    return PRINTNAME(x);
  173|      0|    return NA_STRING;
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  174|    196|}
Rf_str2type:
  242|  1.06M|{
  243|  1.06M|    int i;
  244|  20.1M|    for (i = 0; TypeTable[i].str; i++) {
  ------------------
  |  Branch (244:17): [True: 20.1M, False: 0]
  ------------------
  245|  20.1M|	if (!strcmp(s, TypeTable[i].str))
  ------------------
  |  Branch (245:6): [True: 1.06M, False: 19.0M]
  ------------------
  246|  1.06M|	    return (SEXPTYPE) TypeTable[i].type;
  247|  20.1M|    }
  248|       |
  249|       |    /* SEXPTYPE is an unsigned int, so the compiler warns us w/o the cast. */
  250|      0|    return (SEXPTYPE) -1;
  251|  1.06M|}
Rf_InitTypeTables:
  271|      2|void InitTypeTables(void) {
  272|       |
  273|       |    /* Type2Table */
  274|     66|    for (int type = 0; type < MAX_NUM_SEXPTYPE; type++) {
  ------------------
  |  |  184|     66|#define MAX_NUM_SEXPTYPE (1<<TYPE_BITS)
  |  |  ------------------
  |  |  |  |  183|     66|#define TYPE_BITS 5
  |  |  ------------------
  ------------------
  |  Branch (274:24): [True: 64, False: 2]
  ------------------
  275|     64|	int j = findTypeInTypeTable(type);
  276|       |
  277|     64|	if (j != -1) {
  ------------------
  |  Branch (277:6): [True: 48, False: 16]
  ------------------
  278|     48|	    const char *cstr = TypeTable[j].str;
  279|     48|	    SEXP rchar = PROTECT(mkChar(cstr));
  ------------------
  |  |  357|     48|#define PROTECT(s)	Rf_protect(s)
  ------------------
  280|     48|	    SEXP rstr = ScalarString(rchar);
  ------------------
  |  | 1025|     48|#define ScalarString		Rf_ScalarString
  ------------------
  281|     48|	    MARK_NOT_MUTABLE(rstr);
  282|     48|	    R_PreserveObject(rstr);
  283|     48|	    SEXP rsym = install(cstr);
  ------------------
  |  |  934|     48|#define install			Rf_install
  ------------------
  284|       |
  285|     48|	    Type2Table[type].cstrName = cstr;
  286|     48|	    Type2Table[type].rcharName = rchar;
  287|     48|	    Type2Table[type].rstrName = rstr;
  288|     48|	    Type2Table[type].rsymName = rsym;
  289|     48|	    UNPROTECT(1); /* rchar */
  ------------------
  |  |  358|     48|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  290|     48|	} else {
  291|     16|	    Type2Table[type].cstrName = NULL;
  292|     16|	    Type2Table[type].rcharName = NULL;
  293|     16|	    Type2Table[type].rstrName = NULL;
  294|       |	    Type2Table[type].rsymName = NULL;
  295|     16|	}
  296|     64|    }
  297|      2|}
Rf_type2str_nowarn:
  300|  5.58k|{
  301|       |    // if (t >= 0 && t < MAX_NUM_SEXPTYPE) { /* branch not really needed */
  302|  5.58k|	SEXP res = Type2Table[t].rcharName;
  303|  5.58k|	if (res != NULL) return res;
  ------------------
  |  Branch (303:6): [True: 5.57k, False: 16]
  ------------------
  304|       |    // }
  305|     16|    return R_NilValue;
  306|  5.58k|}
Rf_type2str:
  309|  5.53k|{
  310|  5.53k|    SEXP s = type2str_nowarn(t);
  ------------------
  |  | 1043|  5.53k|#define type2str_nowarn		Rf_type2str_nowarn
  ------------------
  311|  5.53k|    if (s != R_NilValue) {
  ------------------
  |  Branch (311:9): [True: 5.53k, False: 0]
  ------------------
  312|  5.53k|	return s;
  313|  5.53k|    }
  314|      0|    warning(_("type %d is unimplemented in '%s'"), t, "type2str");
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
                  warning(_("type %d is unimplemented in '%s'"), t, "type2str");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  315|      0|    char buf[50];
  316|      0|    snprintf(buf, 50, "unknown type #%d", t);
  317|      0|    return mkChar(buf);
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
  318|  5.53k|}
Rf_type2rstr:
  321|  6.94k|{
  322|       |    // if (t < MAX_NUM_SEXPTYPE) {
  323|  6.94k|	SEXP res = Type2Table[t].rstrName;
  324|  6.94k|	if (res != NULL) return res;
  ------------------
  |  Branch (324:6): [True: 6.94k, False: 0]
  ------------------
  325|       |    // }
  326|      0|    error(_("type %d is unimplemented in '%s'"), t,
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  error(_("type %d is unimplemented in '%s'"), t,
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  327|      0|	  "type2ImmutableScalarString");
  328|      0|    return R_NilValue; /* for -Wall */
  329|  6.94k|}
Rf_isBlankString:
  448|  1.10M|{
  449|  1.10M|    if(mbcslocale) {
  ------------------
  |  Branch (449:8): [True: 0, False: 1.10M]
  ------------------
  450|      0|	wchar_t wc; size_t used; mbstate_t mb_st;
  451|      0|	mbs_init(&mb_st);
  ------------------
  |  | 2459|      0|#define mbs_init(x) memset(x, 0, sizeof(mbstate_t))
  ------------------
  452|       |	// This does not allow for surrogate pairs, but all blanks are in BMP
  453|      0|	while( (used = Mbrtowc(&wc, s, R_MB_CUR_MAX, &mb_st)) ) {
  ------------------
  |  | 1954|      0|# define Mbrtowc		Rf_mbrtowc
  ------------------
  |  Branch (453:9): [True: 0, False: 0]
  ------------------
  454|      0|	    if(!iswspace((wint_t) wc)) return FALSE;
  ------------------
  |  Branch (454:9): [True: 0, False: 0]
  ------------------
  455|      0|	    s += used;
  456|      0|	}
  457|      0|    } else
  458|  1.11M|	while (*s)
  ------------------
  |  Branch (458:9): [True: 456k, False: 656k]
  ------------------
  459|   456k|	    if (!isspace((int)*s++)) return FALSE;
  ------------------
  |  Branch (459:10): [True: 450k, False: 6.24k]
  ------------------
  460|   656k|    return TRUE;
  461|  1.10M|}
Rf_StringTrue:
  474|     58|{
  475|     58|    int i;
  476|    222|    for (i = 0; truenames[i]; i++)
  ------------------
  |  Branch (476:17): [True: 198, False: 24]
  ------------------
  477|    198|	if (!strcmp(name, truenames[i]))
  ------------------
  |  Branch (477:6): [True: 34, False: 164]
  ------------------
  478|     34|	    return TRUE;
  479|     24|    return FALSE;
  480|     58|}
Rf_StringFalse:
  484|     58|{
  485|     58|    int i;
  486|    246|    for (i = 0; falsenames[i]; i++)
  ------------------
  |  Branch (486:17): [True: 210, False: 36]
  ------------------
  487|    210|	if (!strcmp(name, falsenames[i]))
  ------------------
  |  Branch (487:6): [True: 22, False: 188]
  ------------------
  488|     22|	    return TRUE;
  489|     36|    return FALSE;
  490|     58|}
Rf_EnsureString:
  494|  8.41M|{
  495|  8.41M|    switch(TYPEOF(s)) {
  496|    114|    case SYMSXP:
  ------------------
  |  |  112|    114|#define SYMSXP	     1	  /* symbols */
  ------------------
  |  Branch (496:5): [True: 114, False: 8.41M]
  ------------------
  497|    114|	s = PRINTNAME(s);
  498|    114|	break;
  499|      0|    case STRSXP:
  ------------------
  |  |  126|      0|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (499:5): [True: 0, False: 8.41M]
  ------------------
  500|      0|	s = STRING_ELT(s, 0);
  501|      0|	break;
  502|  4.20M|    case CHARSXP:
  ------------------
  |  |  120|  4.20M|#define CHARSXP	     9	  /* "scalar" string type (internal only)*/
  ------------------
  |  Branch (502:5): [True: 4.20M, False: 4.21M]
  ------------------
  503|  4.20M|	break;
  504|  4.21M|    case NILSXP:
  ------------------
  |  |  111|  4.21M|#define NILSXP	     0	  /* nil = NULL */
  ------------------
  |  Branch (504:5): [True: 4.21M, False: 4.20M]
  ------------------
  505|  4.21M|	s = R_BlankString;
  506|  4.21M|	break;
  507|      0|    default:
  ------------------
  |  Branch (507:5): [True: 0, False: 8.41M]
  ------------------
  508|      0|	error(_("invalid tag in name extraction"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid tag in name extraction"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  509|  8.41M|    }
  510|  8.41M|    return s;
  511|  8.41M|}
Rf_checkArityCall:
  515|  30.8M|{
  516|  30.8M|    if (PRIMARITY(op) >= 0 && PRIMARITY(op) != length(args)) {
  ------------------
  |  | 1348|  30.8M|#define PRIMARITY(x)	(R_FunTab[PRIMOFFSET(x)].arity)
  ------------------
                  if (PRIMARITY(op) >= 0 && PRIMARITY(op) != length(args)) {
  ------------------
  |  | 1348|  27.6M|#define PRIMARITY(x)	(R_FunTab[PRIMOFFSET(x)].arity)
  ------------------
                  if (PRIMARITY(op) >= 0 && PRIMARITY(op) != length(args)) {
  ------------------
  |  |  987|  27.6M|#define length(x)		Rf_length(x)
  ------------------
  |  Branch (516:9): [True: 27.6M, False: 3.19M]
  |  Branch (516:31): [True: 0, False: 27.6M]
  ------------------
  517|       |	/* FIXME: ngettext reguires unsigned long, but %u would seem appropriate */
  518|      0|	if (PRIMINTERNAL(op))
  ------------------
  |  | 1351|      0|#define PRIMINTERNAL(x) (((R_FunTab[PRIMOFFSET(x)].eval)%100)/10)
  |  |  ------------------
  |  |  |  |  913|      0|#define eval			Rf_eval
  |  |  ------------------
  |  |  |  Branch (1351:25): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  519|      0|	    error(ngettext("%d argument passed to .Internal(%s) which requires %d",
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  520|      0|		     "%d arguments passed to .Internal(%s) which requires %d",
  521|      0|			   (unsigned long) length(args)),
  522|      0|		  length(args), PRIMNAME(op), PRIMARITY(op));
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
              		  length(args), PRIMNAME(op), PRIMARITY(op));
  ------------------
  |  | 1346|      0|#define PRIMNAME(x)	(R_FunTab[PRIMOFFSET(x)].name)
  ------------------
              		  length(args), PRIMNAME(op), PRIMARITY(op));
  ------------------
  |  | 1348|      0|#define PRIMARITY(x)	(R_FunTab[PRIMOFFSET(x)].arity)
  ------------------
  523|      0|	else
  524|      0|	    errorcall(call,
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
  525|      0|		      ngettext("%d argument passed to '%s' which requires %d",
  526|      0|			       "%d arguments passed to '%s' which requires %d",
  527|      0|			       (unsigned long) length(args)),
  528|      0|		      length(args), PRIMNAME(op), PRIMARITY(op));
  ------------------
  |  |  987|      0|#define length(x)		Rf_length(x)
  ------------------
              		      length(args), PRIMNAME(op), PRIMARITY(op));
  ------------------
  |  | 1346|      0|#define PRIMNAME(x)	(R_FunTab[PRIMOFFSET(x)].name)
  ------------------
              		      length(args), PRIMNAME(op), PRIMARITY(op));
  ------------------
  |  | 1348|      0|#define PRIMARITY(x)	(R_FunTab[PRIMOFFSET(x)].arity)
  ------------------
  529|      0|    }
  530|  30.8M|}
Rf_check1arg:
  533|  15.9M|{
  534|  15.9M|    SEXP tag = TAG(arg);
  535|  15.9M|    if (tag == R_NilValue) return;
  ------------------
  |  Branch (535:9): [True: 15.9M, False: 0]
  ------------------
  536|      0|    const char *supplied = CHAR(PRINTNAME(tag));
  ------------------
  |  |  203|      0|#define CHAR(x) R_CHAR(x)
  ------------------
  537|      0|    size_t ns = strlen(supplied);
  538|      0|    if (ns > strlen(formal) || strncmp(supplied, formal, ns))
  ------------------
  |  Branch (538:9): [True: 0, False: 0]
  |  Branch (538:32): [True: 0, False: 0]
  ------------------
  539|      0|	errorcall(call, _("supplied argument name '%s' does not match '%s'"),
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	errorcall(call, _("supplied argument name '%s' does not match '%s'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  540|      0|		  supplied, formal);
  541|      0|    if (R_warn_partial_match_args && ns > 0 && ns < strlen(formal)) {
  ------------------
  |  Branch (541:9): [True: 0, False: 0]
  |  Branch (541:38): [True: 0, False: 0]
  |  Branch (541:48): [True: 0, False: 0]
  ------------------
  542|      0|	SEXP fsym = install(formal);
  ------------------
  |  |  934|      0|#define install			Rf_install
  ------------------
  543|      0|	SEXP cond = R_makePartialArgumentMatchWarningCondition(call, tag, fsym);
  544|      0|	PROTECT(cond);
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
  545|      0|	R_signalWarningCondition(cond);
  546|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  547|      0|    }
  548|      0|}
Rf_nthcdr:
  551|  11.5k|{
  552|  11.5k|    if (isPairList(s)) {
  ------------------
  |  |  961|  11.5k|#define isPairList		Rf_isPairList
  ------------------
  |  Branch (552:9): [True: 11.5k, False: 0]
  ------------------
  553|  19.6k|	while( n-- > 0 ) {
  ------------------
  |  Branch (553:9): [True: 8.15k, False: 11.5k]
  ------------------
  554|  8.15k|	    if (s == R_NilValue)
  ------------------
  |  Branch (554:10): [True: 0, False: 8.15k]
  ------------------
  555|      0|		error(_("'nthcdr' list shorter than %d"), n);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("'nthcdr' list shorter than %d"), n);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  556|  8.15k|	    s = CDR(s);
  557|  8.15k|	}
  558|  11.5k|	return s;
  559|  11.5k|    }
  560|      0|    else error(_("'nthcdr' needs a list to CDR down"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
                  else error(_("'nthcdr' needs a list to CDR down"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  561|      0|    return R_NilValue;/* for -Wall */
  562|  11.5k|}
R_listCompact:
  566|  2.10M|SEXP R_listCompact(SEXP s, bool keep_initial) {
  567|  2.10M|    if(!keep_initial)
  ------------------
  |  Branch (567:8): [True: 0, False: 2.10M]
  ------------------
  568|       |    // skip initial NULL values
  569|      0|	while (s != R_NilValue && CAR(s) == R_NilValue)
  ------------------
  |  Branch (569:9): [True: 0, False: 0]
  |  Branch (569:28): [True: 0, False: 0]
  ------------------
  570|      0|	    s = CDR(s);
  571|       |
  572|  2.10M|    SEXP val = s;
  573|  2.10M|    SEXP prev = s;
  574|  6.31M|    while (s != R_NilValue) {
  ------------------
  |  Branch (574:12): [True: 4.21M, False: 2.10M]
  ------------------
  575|  4.21M|	s = CDR(s);
  576|  4.21M|	if (CAR(s) == R_NilValue) // skip it
  ------------------
  |  Branch (576:6): [True: 2.10M, False: 2.10M]
  ------------------
  577|  2.10M|	    SETCDR(prev, CDR(s));
  578|  2.10M|	else
  579|  2.10M|	    prev = s;
  580|  4.21M|    }
  581|  2.10M|    return val;
  582|  2.10M|}
do_nargs:
  587|  2.10k|{
  588|  2.10k|    RCNTXT *cptr;
  589|  2.10k|    int nargs = NA_INTEGER;
  ------------------
  |  |   56|  2.10k|#define NA_INTEGER	R_NaInt
  ------------------
  590|       |
  591|  2.10k|    checkArity(op, args);
  ------------------
  |  | 1793|  2.10k|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  592|  2.10k|    for (cptr = R_GlobalContext; cptr != NULL; cptr = cptr->nextcontext) {
  ------------------
  |  Branch (592:34): [True: 2.10k, False: 0]
  ------------------
  593|  2.10k|	if ((cptr->callflag & CTXT_FUNCTION) && cptr->cloenv == rho) {
  ------------------
  |  Branch (593:6): [True: 2.10k, False: 0]
  |  Branch (593:42): [True: 2.10k, False: 0]
  ------------------
  594|  2.10k|	    nargs = length(cptr->promargs);
  ------------------
  |  |  987|  2.10k|#define length(x)		Rf_length(x)
  ------------------
  595|  2.10k|	    break;
  596|  2.10k|	}
  597|  2.10k|    }
  598|  2.10k|    return ScalarInteger(nargs);
  ------------------
  |  | 1022|  2.10k|#define ScalarInteger		Rf_ScalarInteger
  ------------------
  599|  2.10k|}
do_basename:
  905|     14|{
  906|     14|    SEXP ans, s = R_NilValue;	/* -Wall */
  907|     14|    const char fsp = FILESEP[0];
  ------------------
  |  |  993|     14|# define FILESEP     "/"
  ------------------
  908|     14|    const char *pp;
  909|     14|    int i, n;
  910|       |
  911|     14|    checkArity(op, args);
  ------------------
  |  | 1793|     14|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  912|     14|    if (TYPEOF(s = CAR(args)) != STRSXP)
  ------------------
  |  |  126|     14|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (912:9): [True: 0, False: 14]
  ------------------
  913|      0|	error(_("a character vector argument expected"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("a character vector argument expected"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  914|     14|    PROTECT(ans = allocVector(STRSXP, n = LENGTH(s)));
  ------------------
  |  |  357|     14|#define PROTECT(s)	Rf_protect(s)
  ------------------
  915|     28|    for(i = 0; i < n; i++) {
  ------------------
  |  Branch (915:16): [True: 14, False: 14]
  ------------------
  916|     14|	if (STRING_ELT(s, i) == NA_STRING)
  ------------------
  |  |  433|     14|#define NA_STRING	R_NaString
  ------------------
  |  Branch (916:6): [True: 0, False: 14]
  ------------------
  917|      0|	    SET_STRING_ELT(ans, i, NA_STRING);
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
  918|     14|	else {
  919|     14|	    pp = R_ExpandFileName(translateCharFP(STRING_ELT(s, i)));
  ------------------
  |  | 2003|     14|# define translateCharFP	Rf_translateCharFP
  ------------------
  920|     14|	    size_t ll = strlen(pp);
  921|     14|	    if (ll > R_PATH_MAX - 1)
  ------------------
  |  | 1150|     14|# define R_PATH_MAX PATH_MAX
  ------------------
  |  Branch (921:10): [True: 0, False: 14]
  ------------------
  922|      0|		error(_("path too long"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("path too long"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  923|       |	    /* remove trailing file separator(s) */
  924|     14|	    while(ll && pp[ll-1] == fsp) ll--;
  ------------------
  |  Branch (924:12): [True: 14, False: 0]
  |  Branch (924:18): [True: 0, False: 14]
  ------------------
  925|     14|	    size_t ff = ll;
  926|       |	    /* find start of file part */
  927|    114|	    while(ff && pp[ff-1] != fsp) ff--;
  ------------------
  |  Branch (927:12): [True: 114, False: 0]
  |  Branch (927:18): [True: 100, False: 14]
  ------------------
  928|     14|	    SET_STRING_ELT(ans, i, mkCharLenCE(pp+ff, (int)(ll-ff), CE_NATIVE));
  ------------------
  |  | 1001|     14|#define mkCharLenCE		Rf_mkCharLenCE
  ------------------
  929|     14|	}
  930|     14|    }
  931|     14|    UNPROTECT(1);
  ------------------
  |  |  358|     14|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  932|     14|    return(ans);
  933|     14|}
do_dirname:
 1013|     28|{
 1014|     28|    SEXP ans, s = R_NilValue;	/* -Wall */
 1015|     28|    const char fsp = FILESEP[0];
  ------------------
  |  |  993|     28|# define FILESEP     "/"
  ------------------
 1016|     28|    const char *pp;
 1017|     28|    int i, n;
 1018|       |
 1019|     28|    checkArity(op, args);
  ------------------
  |  | 1793|     28|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1020|     28|    if (TYPEOF(s = CAR(args)) != STRSXP)
  ------------------
  |  |  126|     28|#define STRSXP	    16	  /* string vectors */
  ------------------
  |  Branch (1020:9): [True: 0, False: 28]
  ------------------
 1021|      0|	error(_("a character vector argument expected"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("a character vector argument expected"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1022|     28|    PROTECT(ans = allocVector(STRSXP, n = LENGTH(s)));
  ------------------
  |  |  357|     28|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1023|     56|    for(i = 0; i < n; i++) {
  ------------------
  |  Branch (1023:16): [True: 28, False: 28]
  ------------------
 1024|     28|	if (STRING_ELT(s, i) == NA_STRING)
  ------------------
  |  |  433|     28|#define NA_STRING	R_NaString
  ------------------
  |  Branch (1024:6): [True: 0, False: 28]
  ------------------
 1025|      0|	    SET_STRING_ELT(ans, i, NA_STRING);
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
 1026|     28|	else {
 1027|     28|	    pp = R_ExpandFileName(translateCharFP(STRING_ELT(s, i)));
  ------------------
  |  | 2003|     28|# define translateCharFP	Rf_translateCharFP
  ------------------
 1028|     28|	    size_t ll = strlen(pp);
 1029|     28|	    if (ll > R_PATH_MAX - 1)
  ------------------
  |  | 1150|     28|# define R_PATH_MAX PATH_MAX
  ------------------
  |  Branch (1029:10): [True: 0, False: 28]
  ------------------
 1030|      0|		error(_("path too long"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              		error(_("path too long"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1031|     28|	    if (ll) { // svMisc calls this with ""
  ------------------
  |  Branch (1031:10): [True: 28, False: 0]
  ------------------
 1032|       |		/* remove trailing file separator(s) */
 1033|     28|		while(ll && pp[ll-1] == fsp) ll--;
  ------------------
  |  Branch (1033:9): [True: 28, False: 0]
  |  Branch (1033:15): [True: 0, False: 28]
  ------------------
 1034|     28|		if (!ll) { /* only separators */
  ------------------
  |  Branch (1034:7): [True: 0, False: 28]
  ------------------
 1035|      0|		    SET_STRING_ELT(ans, i, mkCharLenCE(&fsp, 1, CE_NATIVE));
  ------------------
  |  | 1001|      0|#define mkCharLenCE		Rf_mkCharLenCE
  ------------------
 1036|      0|		    continue;
 1037|      0|		}
 1038|       |		/* remove file part */
 1039|    234|		while(ll && pp[ll-1] != fsp) ll--;
  ------------------
  |  Branch (1039:9): [True: 234, False: 0]
  |  Branch (1039:15): [True: 206, False: 28]
  ------------------
 1040|     28|		if (!ll) { /* only file part */
  ------------------
  |  Branch (1040:7): [True: 0, False: 28]
  ------------------
 1041|      0|		    SET_STRING_ELT(ans, i, mkChar("."));
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
 1042|      0|		    continue;
 1043|      0|		}
 1044|       |		/* remove separator(s) after directory part */
 1045|     56|		while(ll && pp[ll-1] == fsp) ll--;
  ------------------
  |  Branch (1045:9): [True: 56, False: 0]
  |  Branch (1045:15): [True: 28, False: 28]
  ------------------
 1046|     28|		if (!ll) { /* only single part */
  ------------------
  |  Branch (1046:7): [True: 0, False: 28]
  ------------------
 1047|      0|		    SET_STRING_ELT(ans, i, mkCharLenCE(&fsp, 1, CE_NATIVE));
  ------------------
  |  | 1001|      0|#define mkCharLenCE		Rf_mkCharLenCE
  ------------------
 1048|      0|		    continue;
 1049|      0|		}
 1050|     28|		SET_STRING_ELT(ans, i, mkCharLenCE(pp, (int)ll, CE_NATIVE));
  ------------------
  |  | 1001|     28|#define mkCharLenCE		Rf_mkCharLenCE
  ------------------
 1051|     28|	    } else
 1052|       |		/* empty pathname is invalid, but returned */
 1053|      0|		SET_STRING_ELT(ans, i, mkChar(""));
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
 1054|     28|	}
 1055|     28|    }
 1056|     28|    UNPROTECT(1);
  ------------------
  |  |  358|     28|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1057|     28|    return(ans);
 1058|     28|}
do_normalizepath:
 1068|     42|{
 1069|     42|    SEXP ans, paths = CAR(args), elp;
 1070|     42|    int i, n = LENGTH(paths);
 1071|     42|    const char *path;
 1072|     42|    char abspath[R_PATH_MAX+1];
 1073|       |
 1074|     42|    checkArity(op, args);
  ------------------
  |  | 1793|     42|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1075|     42|    if (!isString(paths))
  ------------------
  |  |  966|     42|#define isString		Rf_isString
  ------------------
  |  Branch (1075:9): [True: 0, False: 42]
  ------------------
 1076|      0|	error(_("'path' must be a character vector"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'path' must be a character vector"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1077|       |
 1078|     42|    int mustWork = asLogical(CADDR(args)); /* 1, NA_LOGICAL or 0 */
  ------------------
  |  |  886|     42|#define asLogical		Rf_asLogical
  ------------------
 1079|       |
 1080|       |/* Does any platform not have this? */
 1081|     42|#ifdef HAVE_REALPATH
 1082|     42|    PROTECT(ans = allocVector(STRSXP, n));
  ------------------
  |  |  357|     42|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1083|     84|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1083:17): [True: 42, False: 42]
  ------------------
 1084|     42|	elp = STRING_ELT(paths, i);
 1085|     42|	if (elp == NA_STRING) {
  ------------------
  |  |  433|     42|#define NA_STRING	R_NaString
  ------------------
  |  Branch (1085:6): [True: 0, False: 42]
  ------------------
 1086|      0|	    SET_STRING_ELT(ans, i, NA_STRING);
  ------------------
  |  |  433|      0|#define NA_STRING	R_NaString
  ------------------
 1087|      0|	    if (mustWork == 1)
  ------------------
  |  Branch (1087:10): [True: 0, False: 0]
  ------------------
 1088|      0|		error("path[%d]=NA", i+1);
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 1089|      0|	    else if (mustWork == NA_LOGICAL)
  ------------------
  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (1089:15): [True: 0, False: 0]
  ------------------
 1090|      0|		warning("path[%d]=NA", i+1);
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
 1091|      0|	    continue;
 1092|      0|	}
 1093|     42|	path = translateCharFP2(elp);
  ------------------
  |  | 2004|     42|# define translateCharFP2	Rf_translateCharFP2
  ------------------
 1094|     42|	if (path) {
  ------------------
  |  Branch (1094:6): [True: 42, False: 0]
  ------------------
 1095|     42|	    char *res = realpath(path, abspath);
 1096|     42|	    if (res)
  ------------------
  |  Branch (1096:10): [True: 42, False: 0]
  ------------------
 1097|     42|		SET_STRING_ELT(ans, i, mkChar(abspath));
  ------------------
  |  |  998|     42|#define mkChar			Rf_mkChar
  ------------------
 1098|      0|	    else {
 1099|      0|		SET_STRING_ELT(ans, i, elp);
 1100|       |		/* and report the problem */
 1101|      0|		if (mustWork == 1)
  ------------------
  |  Branch (1101:7): [True: 0, False: 0]
  ------------------
 1102|      0|		    error("path[%d]=\"%s\": %s", i+1, path, strerror(errno));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
 1103|      0|		else if (mustWork == NA_LOGICAL)
  ------------------
  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  ------------------
  |  Branch (1103:12): [True: 0, False: 0]
  ------------------
 1104|      0|		    warning("path[%d]=\"%s\": %s", i+1, path, strerror(errno));
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
 1105|      0|	    }
 1106|     42|	}
 1107|      0|	else if (mustWork == 1) error("fatal translation error");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  |  Branch (1107:11): [True: 0, False: 0]
  ------------------
 1108|      0|	else SET_STRING_ELT(ans, i, elp);
 1109|     42|    }
 1110|       |#else
 1111|       |    bool OK;
 1112|       |    warning("this platform does not have realpath so the results may not be canonical");
 1113|       |    PROTECT(ans = allocVector(STRSXP, n));
 1114|       |    for (i = 0; i < n; i++) {
 1115|       |	elp = STRING_ELT(paths, i);
 1116|       |	if (elp == NA_STRING) {
 1117|       |	    SET_STRING_ELT(ans, i, NA_STRING);
 1118|       |	    if (mustWork == 1)
 1119|       |		error("path[%d]=NA", i+1);
 1120|       |	    else if (mustWork == NA_LOGICAL)
 1121|       |		warning("path[%d]=NA", i+1);
 1122|       |	    continue;
 1123|       |	}
 1124|       |	path = translateCharFP(elp);
 1125|       |	OK = strlen(path) <= R_PATH_MAX;
 1126|       |	if (OK) {
 1127|       |	    if (path[0] == '/') strncpy(abspath, path, R_PATH_MAX);
 1128|       |	    else {
 1129|       |		OK = getcwd(abspath, R_PATH_MAX) != NULL;
 1130|       |		OK = OK && (strlen(path) + strlen(abspath) + 1 <= R_PATH_MAX);
 1131|       |		if (OK) {strcat(abspath, "/"); strcat(abspath, path);}
 1132|       |	    }
 1133|       |	}
 1134|       |	/* we need to check that this exists */
 1135|       |	if (OK) OK = (access(abspath, 0 /* F_OK */) == 0);
 1136|       |	if (OK) SET_STRING_ELT(ans, i, mkChar(abspath));
 1137|       |	else {
 1138|       |	    SET_STRING_ELT(ans, i, elp);
 1139|       |	    /* and report the problem */
 1140|       |	    if (mustWork == 1)
 1141|       |		error("path[%d]=\"%s\": %s", i+1, path, strerror(errno));
 1142|       |	    else if (mustWork == NA_LOGICAL)
 1143|       |		warning("path[%d]=\"%s\": %s", i+1, path, strerror(errno));
 1144|       |	}
 1145|       |    }
 1146|       |#endif
 1147|     42|    UNPROTECT(1);
  ------------------
  |  |  358|     42|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1148|     42|    return ans;
 1149|     42|}
Rf_markKnown:
 1335|   346k|{
 1336|   346k|    int ienc = 0;
 1337|   346k|    if(ENC_KNOWN(ref)) {
  ------------------
  |  Branch (1337:8): [True: 0, False: 346k]
  ------------------
 1338|      0|	if(known_to_be_latin1) ienc = CE_LATIN1;
  ------------------
  |  Branch (1338:5): [True: 0, False: 0]
  ------------------
 1339|      0|	if(known_to_be_utf8) ienc = CE_UTF8;
  ------------------
  |  Branch (1339:5): [True: 0, False: 0]
  ------------------
 1340|      0|    }
 1341|   346k|    return mkCharCE(s, ienc);
  ------------------
  |  |  999|   346k|#define mkCharCE		Rf_mkCharCE
  ------------------
 1342|   346k|}
Rf_utf8clen:
 1360|     84|{
 1361|       |    /* This allows through 8-bit chars 10xxxxxx, which are invalid */
 1362|     84|    if ((c & 0xc0) != 0xc0) return 1;
  ------------------
  |  Branch (1362:9): [True: 84, False: 0]
  ------------------
 1363|      0|    return 1 + utf8_table4[c & 0x3f];
 1364|     84|}
mbcsTruncateToValid:
 1679|     28|{
 1680|     28|    if (!mbcslocale || *s == '\0')
  ------------------
  |  Branch (1680:9): [True: 28, False: 0]
  |  Branch (1680:24): [True: 0, False: 0]
  ------------------
 1681|     28|	return s;
 1682|       |
 1683|      0|    mbstate_t mb_st;
 1684|      0|    size_t slen = strlen(s); /* at least 1 */
 1685|      0|    size_t goodlen = 0;
 1686|       |
 1687|      0|    mbs_init(&mb_st);
  ------------------
  |  | 2459|      0|#define mbs_init(x) memset(x, 0, sizeof(mbstate_t))
  ------------------
 1688|       |
 1689|      0|    if (utf8locale) {
  ------------------
  |  Branch (1689:9): [True: 0, False: 0]
  ------------------
 1690|       |	/* UTF-8 is self-synchronizing so we can look back from the end
 1691|       |	   for the first non-continuation byte */
 1692|      0|	goodlen = slen - 1; /* at least 0 */
 1693|       |	/* for char == signed char we assume 2's complement representation */
 1694|      0|	while (goodlen && ((s[goodlen] & '\xC0') == '\x80'))
  ------------------
  |  Branch (1694:9): [True: 0, False: 0]
  |  Branch (1694:20): [True: 0, False: 0]
  ------------------
 1695|      0|	    --goodlen;
 1696|      0|    }
 1697|      0|    while(goodlen < slen) {
  ------------------
  |  Branch (1697:11): [True: 0, False: 0]
  ------------------
 1698|      0|	size_t res;
 1699|      0|	res = mbrtowc(NULL, s + goodlen, slen - goodlen, &mb_st);
 1700|      0|	if (res == (size_t) -1 || res == (size_t) -2) {
  ------------------
  |  Branch (1700:6): [True: 0, False: 0]
  |  Branch (1700:28): [True: 0, False: 0]
  ------------------
 1701|       |	    /* strip off all remaining characters */
 1702|      0|	    for(;goodlen < slen; goodlen++)
  ------------------
  |  Branch (1702:11): [True: 0, False: 0]
  ------------------
 1703|      0|		s[goodlen] = '\0';
 1704|      0|	    return s;
 1705|      0|	}
 1706|      0|	goodlen += res;
 1707|      0|    }
 1708|      0|    return s;
 1709|      0|}
Rf_strchr:
 1774|    450|{
 1775|    450|    mbstate_t mb_st;
 1776|    450|    size_t used;
 1777|       |
 1778|    450|    if(!mbcslocale || utf8locale) return strchr(s, c);
  ------------------
  |  Branch (1778:8): [True: 450, False: 0]
  |  Branch (1778:23): [True: 0, False: 0]
  ------------------
 1779|      0|    mbs_init(&mb_st);
  ------------------
  |  | 2459|      0|#define mbs_init(x) memset(x, 0, sizeof(mbstate_t))
  ------------------
 1780|      0|    while( (used = Mbrtowc(NULL, s, R_MB_CUR_MAX, &mb_st)) ) {
  ------------------
  |  | 1954|      0|# define Mbrtowc		Rf_mbrtowc
  ------------------
  |  Branch (1780:12): [True: 0, False: 0]
  ------------------
 1781|      0|	if(*s == c) return s;
  ------------------
  |  Branch (1781:5): [True: 0, False: 0]
  ------------------
 1782|      0|	s += used;
 1783|      0|    }
 1784|      0|    return (char *)NULL;
 1785|      0|}
Rf_strrchr:
 1789|     12|{
 1790|     12|    char *plast = NULL;
 1791|     12|    mbstate_t mb_st;
 1792|     12|    size_t used;
 1793|       |
 1794|     12|    if(!mbcslocale || utf8locale) return strrchr(s, c);
  ------------------
  |  Branch (1794:8): [True: 12, False: 0]
  |  Branch (1794:23): [True: 0, False: 0]
  ------------------
 1795|      0|    mbs_init(&mb_st);
  ------------------
  |  | 2459|      0|#define mbs_init(x) memset(x, 0, sizeof(mbstate_t))
  ------------------
 1796|      0|    while( (used = Mbrtowc(NULL, s, R_MB_CUR_MAX, &mb_st)) ) {
  ------------------
  |  | 1954|      0|# define Mbrtowc		Rf_mbrtowc
  ------------------
  |  Branch (1796:12): [True: 0, False: 0]
  ------------------
 1797|      0|	if(*s == c) plast = s;
  ------------------
  |  Branch (1797:5): [True: 0, False: 0]
  ------------------
 1798|      0|	s += used;
 1799|      0|    }
 1800|      0|    return plast;
 1801|     12|}
Rf_strchr_const:
 1804|    108|{
 1805|    108|    mbstate_t mb_st;
 1806|    108|    size_t used;
 1807|       |
 1808|    108|    if(!mbcslocale || utf8locale) return strchr(s, c);
  ------------------
  |  Branch (1808:8): [True: 108, False: 0]
  |  Branch (1808:23): [True: 0, False: 0]
  ------------------
 1809|      0|    mbs_init(&mb_st);
  ------------------
  |  | 2459|      0|#define mbs_init(x) memset(x, 0, sizeof(mbstate_t))
  ------------------
 1810|      0|    while( (used = Mbrtowc(NULL, s, R_MB_CUR_MAX, &mb_st)) ) {
  ------------------
  |  | 1954|      0|# define Mbrtowc		Rf_mbrtowc
  ------------------
  |  Branch (1810:12): [True: 0, False: 0]
  ------------------
 1811|      0|	if(*s == c) return s;
  ------------------
  |  Branch (1811:5): [True: 0, False: 0]
  ------------------
 1812|      0|	s += used;
 1813|      0|    }
 1814|      0|    return (const char *)NULL;
 1815|      0|}
Rf_strrchr_const:
 1819|  2.23k|{
 1820|  2.23k|    const char *plast = NULL;
 1821|  2.23k|    mbstate_t mb_st;
 1822|  2.23k|    size_t used;
 1823|       |
 1824|  2.23k|    if(!mbcslocale || utf8locale) return strrchr(s, c);
  ------------------
  |  Branch (1824:8): [True: 2.23k, False: 0]
  |  Branch (1824:23): [True: 0, False: 0]
  ------------------
 1825|      0|    mbs_init(&mb_st);
  ------------------
  |  | 2459|      0|#define mbs_init(x) memset(x, 0, sizeof(mbstate_t))
  ------------------
 1826|      0|    while( (used = Mbrtowc(NULL, s, R_MB_CUR_MAX, &mb_st)) ) {
  ------------------
  |  | 1954|      0|# define Mbrtowc		Rf_mbrtowc
  ------------------
  |  Branch (1826:12): [True: 0, False: 0]
  ------------------
 1827|      0|	if(*s == c) plast = s;
  ------------------
  |  Branch (1827:5): [True: 0, False: 0]
  ------------------
 1828|      0|	s += used;
 1829|      0|    }
 1830|      0|    return plast;
 1831|  2.23k|}
R_strtod5:
 2178|   429k|{
 2179|   429k|    LDOUBLE ans = 0.0;
  ------------------
  |  | 2582|   429k|# define LDOUBLE long double
  ------------------
 2180|   429k|    int sign = 1;
 2181|   429k|    const char *p = str;
 2182|       |
 2183|       |    /* optional whitespace */
 2184|   429k|    while (isspace(*p)) p++;
  ------------------
  |  Branch (2184:12): [True: 2.93k, False: 429k]
  ------------------
 2185|       |
 2186|   429k|    if (NA && strncmp(p, "NA", 2) == 0) {
  ------------------
  |  Branch (2186:9): [True: 0, False: 429k]
  |  Branch (2186:15): [True: 0, False: 0]
  ------------------
 2187|      0|	ans = NA_REAL;
  ------------------
  |  |   58|      0|#define NA_REAL		R_NaReal
  ------------------
 2188|      0|	p += 2;
 2189|      0|	goto done;
 2190|      0|    }
 2191|       |
 2192|       |   /* optional sign */
 2193|   429k|    switch (*p) {
 2194|  2.97k|    case '-': sign = -1;
  ------------------
  |  Branch (2194:5): [True: 2.97k, False: 426k]
  ------------------
 2195|  4.29k|    case '+': p++;
  ------------------
  |  Branch (2195:5): [True: 1.31k, False: 427k]
  ------------------
 2196|   429k|    default: ;
  ------------------
  |  Branch (2196:5): [True: 424k, False: 4.29k]
  ------------------
 2197|   429k|    }
 2198|       |
 2199|   429k|    if (strncasecmp(p, "NaN", 3) == 0) {
  ------------------
  |  Branch (2199:9): [True: 333, False: 428k]
  ------------------
 2200|    333|	ans = R_NaN;
 2201|    333|	p += 3;
 2202|    333|	goto done;
 2203|       |    /* C99 specifies this: must come first to avoid 'inf' match */
 2204|   428k|    } else if (strncasecmp(p, "infinity", 8) == 0) {
  ------------------
  |  Branch (2204:16): [True: 240, False: 428k]
  ------------------
 2205|    240|	ans = R_PosInf;
 2206|    240|	p += 8;
 2207|    240|	goto done;
 2208|   428k|    } else if (strncasecmp(p, "Inf", 3) == 0) {
  ------------------
  |  Branch (2208:16): [True: 667, False: 427k]
  ------------------
 2209|    667|	ans = R_PosInf;
 2210|    667|	p += 3;
 2211|    667|	goto done;
 2212|    667|    }
 2213|       |
 2214|   427k|    int n, expn = 0;
 2215|   427k|    if(strlen(p) > 2 && p[0] == '0' && (p[1] == 'x' || p[1] == 'X')) { // Hexadecimal "0x....."
  ------------------
  |  Branch (2215:8): [True: 321k, False: 106k]
  |  Branch (2215:25): [True: 8.85k, False: 312k]
  |  Branch (2215:41): [True: 4.82k, False: 4.03k]
  |  Branch (2215:56): [True: 1.62k, False: 2.41k]
  ------------------
 2216|       |	/* Prior to 4.5.0 this did not allow forms such as 0x1.234
 2217|       |	   without an exponent.: C99 allow this and implicitly
 2218|       |	   appends "p0"".
 2219|       |
 2220|       |	   Changed following PR#18805
 2221|       |	 */
 2222|  6.44k|	int exph = -1;
 2223|       |
 2224|       |	/* This will overflow to Inf if appropriate */
 2225|  34.3k|	for(p += 2; p; p++) {
  ------------------
  |  Branch (2225:14): [True: 34.3k, False: 0]
  ------------------
 2226|  34.3k|	    if('0' <= *p && *p <= '9') ans = 16*ans + (*p -'0');
  ------------------
  |  Branch (2226:9): [True: 31.3k, False: 3.00k]
  |  Branch (2226:22): [True: 19.5k, False: 11.8k]
  ------------------
 2227|  14.8k|	    else if('a' <= *p && *p <= 'f') ans = 16*ans + (*p -'a' + 10);
  ------------------
  |  Branch (2227:14): [True: 6.59k, False: 8.20k]
  |  Branch (2227:27): [True: 6.25k, False: 339]
  ------------------
 2228|  8.54k|	    else if('A' <= *p && *p <= 'F') ans = 16*ans + (*p -'A' + 10);
  ------------------
  |  Branch (2228:14): [True: 5.52k, False: 3.02k]
  |  Branch (2228:27): [True: 599, False: 4.92k]
  ------------------
 2229|  7.94k|	    else if(*p == dec) {exph = 0; continue;}
  ------------------
  |  Branch (2229:14): [True: 1.50k, False: 6.44k]
  ------------------
 2230|  6.44k|	    else break;
 2231|  26.4k|	    if (exph >= 0) exph += 4;
  ------------------
  |  Branch (2231:10): [True: 21.3k, False: 5.07k]
  ------------------
 2232|  26.4k|	}
 2233|  6.44k|#define strtod_EXACT_CLAUSE						\
 2234|  6.44k|	if(exact && ans > 0x1.fffffffffffffp52) {			\
 2235|  6.44k|	    if(exact == NA_LOGICAL)					\
 2236|  6.44k|		warning(_(						\
 2237|  6.44k|		"accuracy loss in conversion from \"%s\" to numeric"),	\
 2238|  6.44k|			str);						\
 2239|  6.44k|	    else {							\
 2240|  6.44k|		ans = NA_REAL;						\
 2241|  6.44k|		p = str; /* back out */					\
 2242|  6.44k|		goto done;						\
 2243|  6.44k|	    }								\
 2244|  6.44k|	}
 2245|  6.44k|	strtod_EXACT_CLAUSE;
  ------------------
  |  | 2234|  6.44k|	if(exact && ans > 0x1.fffffffffffffp52) {			\
  |  |  ------------------
  |  |  |  Branch (2234:5): [True: 0, False: 6.44k]
  |  |  |  Branch (2234:14): [True: 0, False: 0]
  |  |  ------------------
  |  | 2235|      0|	    if(exact == NA_LOGICAL)					\
  |  |  ------------------
  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  ------------------
  |  |  |  Branch (2235:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 2236|      0|		warning(_(						\
  |  |  ------------------
  |  |  |  |   89|      0|#define warning Rf_warning
  |  |  ------------------
  |  |               		warning(_(						\
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 2237|      0|		"accuracy loss in conversion from \"%s\" to numeric"),	\
  |  | 2238|      0|			str);						\
  |  | 2239|      0|	    else {							\
  |  | 2240|      0|		ans = NA_REAL;						\
  |  |  ------------------
  |  |  |  |   58|      0|#define NA_REAL		R_NaReal
  |  |  ------------------
  |  | 2241|      0|		p = str; /* back out */					\
  |  | 2242|      0|		goto done;						\
  |  | 2243|      0|	    }								\
  |  | 2244|      0|	}
  ------------------
 2246|       |	/* Binary exponent, if any */
 2247|  6.44k|	if (*p == 'p' || *p == 'P') {
  ------------------
  |  Branch (2247:6): [True: 273, False: 6.16k]
  |  Branch (2247:19): [True: 4.53k, False: 1.63k]
  ------------------
 2248|  4.80k|	    int expsign = 1;
 2249|  4.80k|	    switch(*++p) {
 2250|    298|	    case '-': expsign = -1;
  ------------------
  |  Branch (2250:6): [True: 298, False: 4.50k]
  ------------------
 2251|  3.91k|	    case '+': p++;
  ------------------
  |  Branch (2251:6): [True: 3.61k, False: 1.18k]
  ------------------
 2252|  4.80k|	    default: ;
  ------------------
  |  Branch (2252:6): [True: 886, False: 3.91k]
  ------------------
 2253|  4.80k|	    }
 2254|  4.80k|#define MAX_EXPONENT_PREFIX 9999
 2255|       |	    /* exponents beyond ca +1024/-1076 over/underflow
 2256|       |	       Limit exponent from PR#16358.
 2257|       |	     */
 2258|  4.80k|	    int ndig = 0;
 2259|  9.61k|	    for (n = 0; *p >= '0' && *p <= '9'; p++, ndig++)
  ------------------
  |  Branch (2259:18): [True: 4.97k, False: 4.64k]
  |  Branch (2259:31): [True: 4.81k, False: 161]
  ------------------
 2260|  4.81k|		n = (n < MAX_EXPONENT_PREFIX) ? n * 10 + (*p - '0') : n;
  ------------------
  |  | 2254|  4.81k|#define MAX_EXPONENT_PREFIX 9999
  ------------------
  |  Branch (2260:7): [True: 4.45k, False: 360]
  ------------------
 2261|  4.80k|	    if (ndig == 0) {
  ------------------
  |  Branch (2261:10): [True: 820, False: 3.98k]
  ------------------
 2262|    820|		ans = NA_REAL;
  ------------------
  |  |   58|    820|#define NA_REAL		R_NaReal
  ------------------
 2263|    820|		p = str; /* back out */
 2264|    820|		goto done;
 2265|    820|	    }
 2266|  3.98k|	    expn += expsign * n;
 2267|  3.98k|	}
 2268|  5.62k|	if (ans != 0.0) { /* PR#15976:  allow big exponents on 0 */
  ------------------
  |  Branch (2268:6): [True: 4.89k, False: 723]
  ------------------
 2269|  4.89k|	    if(exph > 0)
  ------------------
  |  Branch (2269:9): [True: 1.08k, False: 3.80k]
  ------------------
 2270|  1.08k|		expn -= exph;
 2271|       |	    /* ldexp() scales exactly, rounding once for a subnormal result:
 2272|       |	       a factor 2^-expn overflows for expn <= -1024 (cf PR#17199) */
 2273|  4.89k|#ifdef HAVE_LONG_DOUBLE
 2274|  4.89k|	    ans = ldexpl(ans, expn);
 2275|       |#else
 2276|       |	    ans = ldexp(ans, expn);
 2277|       |#endif
 2278|  4.89k|	}
 2279|  5.62k|	goto done;
 2280|  6.44k|    } // end {hexadecimal case}
 2281|       |
 2282|   421k|    int ndigits = 0;
 2283|   909k|    for ( ; *p >= '0' && *p <= '9'; p++, ndigits++) ans = 10*ans + (*p - '0');
  ------------------
  |  Branch (2283:13): [True: 794k, False: 115k]
  |  Branch (2283:26): [True: 488k, False: 306k]
  ------------------
 2284|   421k|    if (*p == dec)
  ------------------
  |  Branch (2284:9): [True: 2.16k, False: 419k]
  ------------------
 2285|  5.09k|	for (p++; *p >= '0' && *p <= '9'; p++, ndigits++, expn--)
  ------------------
  |  Branch (2285:12): [True: 3.03k, False: 2.06k]
  |  Branch (2285:25): [True: 2.92k, False: 104]
  ------------------
 2286|  2.92k|	    ans = 10*ans + (*p - '0');
 2287|   421k|    if (ndigits == 0) {
  ------------------
  |  Branch (2287:9): [True: 7.57k, False: 413k]
  ------------------
 2288|  7.57k|	ans = NA_REAL;
  ------------------
  |  |   58|  7.57k|#define NA_REAL		R_NaReal
  ------------------
 2289|  7.57k|	p = str; /* back out */
 2290|  7.57k|	goto done;
 2291|  7.57k|    }
 2292|   827k|    strtod_EXACT_CLAUSE;
  ------------------
  |  | 2234|   413k|	if(exact && ans > 0x1.fffffffffffffp52) {			\
  |  |  ------------------
  |  |  |  Branch (2234:5): [True: 0, False: 413k]
  |  |  |  Branch (2234:14): [True: 0, False: 0]
  |  |  ------------------
  |  | 2235|      0|	    if(exact == NA_LOGICAL)					\
  |  |  ------------------
  |  |  |  |   55|      0|#define NA_LOGICAL	R_NaInt
  |  |  ------------------
  |  |  |  Branch (2235:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 2236|      0|		warning(_(						\
  |  |  ------------------
  |  |  |  |   89|      0|#define warning Rf_warning
  |  |  ------------------
  |  |               		warning(_(						\
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  | 2237|      0|		"accuracy loss in conversion from \"%s\" to numeric"),	\
  |  | 2238|      0|			str);						\
  |  | 2239|      0|	    else {							\
  |  | 2240|      0|		ans = NA_REAL;						\
  |  |  ------------------
  |  |  |  |   58|      0|#define NA_REAL		R_NaReal
  |  |  ------------------
  |  | 2241|      0|		p = str; /* back out */					\
  |  | 2242|      0|		goto done;						\
  |  | 2243|      0|	    }								\
  |  | 2244|      0|	}
  ------------------
 2293|       |
 2294|   827k|    if (*p == 'e' || *p == 'E') {
  ------------------
  |  Branch (2294:9): [True: 300k, False: 113k]
  |  Branch (2294:22): [True: 378, False: 113k]
  ------------------
 2295|   300k|	int ndigits = 0;
 2296|   300k|	int expsign = 1;
 2297|   300k|	switch(*++p) {
 2298|  4.77k|	case '-': expsign = -1;
  ------------------
  |  Branch (2298:2): [True: 4.77k, False: 295k]
  ------------------
 2299|  4.97k|	case '+': p++;
  ------------------
  |  Branch (2299:2): [True: 198, False: 300k]
  ------------------
 2300|   300k|	default: ;
  ------------------
  |  Branch (2300:2): [True: 295k, False: 4.97k]
  ------------------
 2301|   300k|	}
 2302|       |	/* The test for n is in response to PR#16358; which was
 2303|       |	   parsing 1e999999999999.
 2304|       |	   It's not right if the exponent is very large, but the
 2305|       |	   overflow or underflow below will handle it.
 2306|       |	   1e308 is already Inf, but negative exponents can go down to -323
 2307|       |	   before undeflowing to zero.  And people could do perverse things
 2308|       |	   like 0.00000001e312.
 2309|       |	*/
 2310|       |	// C17 §6.4.4.2 requires a non-empty 'digit sequence'
 2311|   941k|	for (n = 0; *p >= '0' && *p <= '9'; p++, ndigits++)
  ------------------
  |  Branch (2311:14): [True: 646k, False: 294k]
  |  Branch (2311:27): [True: 641k, False: 5.63k]
  ------------------
 2312|   641k|	    n = (n < MAX_EXPONENT_PREFIX) ? n * 10 + (*p - '0') : n;
  ------------------
  |  | 2254|   641k|#define MAX_EXPONENT_PREFIX 9999
  ------------------
  |  Branch (2312:10): [True: 600k, False: 41.1k]
  ------------------
 2313|   300k|	if (ndigits == 0) {
  ------------------
  |  Branch (2313:6): [True: 4.68k, False: 295k]
  ------------------
 2314|  4.68k|	    ans = NA_REAL;
  ------------------
  |  |   58|  4.68k|#define NA_REAL		R_NaReal
  ------------------
 2315|  4.68k|	    p = str; /* back out */
 2316|  4.68k|	    goto done;
 2317|  4.68k|	}
 2318|   295k|	expn += expsign * n;
 2319|   295k|    }
 2320|       |
 2321|       |    /* avoid unnecessary underflow for large negative exponents */
 2322|   409k|    if (expn + ndigits < -300) {
  ------------------
  |  Branch (2322:9): [True: 1.13k, False: 408k]
  ------------------
 2323|  2.93k|	for (n = 0; n < ndigits; n++) ans /= 10.0;
  ------------------
  |  Branch (2323:14): [True: 1.80k, False: 1.13k]
  ------------------
 2324|  1.13k|	expn += ndigits;
 2325|  1.13k|    }
 2326|   409k|    LDOUBLE p10 = 10., fac = 1.0;
  ------------------
  |  | 2582|   409k|# define LDOUBLE long double
  ------------------
 2327|   409k|    if (expn < -307) { /* use underflow, not overflow */
  ------------------
  |  Branch (2327:9): [True: 1.04k, False: 408k]
  ------------------
 2328|  11.5k|	for (n = -expn, fac = 1.0; n; n >>= 1, p10 *= p10)
  ------------------
  |  Branch (2328:29): [True: 10.5k, False: 1.04k]
  ------------------
 2329|  10.5k|	    if (n & 1) fac /= p10;
  ------------------
  |  Branch (2329:10): [True: 6.51k, False: 4.00k]
  ------------------
 2330|  1.04k|	ans *= fac;
 2331|   408k|    } else if (expn < 0) { /* positive powers are exact */
  ------------------
  |  Branch (2331:16): [True: 4.27k, False: 403k]
  ------------------
 2332|  20.8k|	for (n = -expn, fac = 1.0; n; n >>= 1, p10 *= p10)
  ------------------
  |  Branch (2332:29): [True: 16.5k, False: 4.27k]
  ------------------
 2333|  16.5k|	    if (n & 1) fac *= p10;
  ------------------
  |  Branch (2333:10): [True: 8.25k, False: 8.27k]
  ------------------
 2334|  4.27k|	ans /= fac;
 2335|   403k|    } else if (ans != 0.0) { /* PR#15976:  allow big exponents on 0, e.g. 0E4933 */
  ------------------
  |  Branch (2335:16): [True: 314k, False: 89.4k]
  ------------------
 2336|  1.79M|	for (n = expn, fac = 1.0; n; n >>= 1, p10 *= p10)
  ------------------
  |  Branch (2336:28): [True: 1.47M, False: 314k]
  ------------------
 2337|  1.47M|	    if (n & 1) fac *= p10;
  ------------------
  |  Branch (2337:10): [True: 1.15M, False: 320k]
  ------------------
 2338|   314k|	ans *= fac;
 2339|   314k|    }
 2340|       |
 2341|       |    /* explicit overflow to infinity */
 2342|   409k|    if (ans > DBL_MAX) {
  ------------------
  |  Branch (2342:9): [True: 2.78k, False: 406k]
  ------------------
 2343|  2.78k|	if (endptr) *endptr = (char *) p;
  ------------------
  |  Branch (2343:6): [True: 2.78k, False: 0]
  ------------------
 2344|  2.78k|	return (sign > 0) ? R_PosInf : R_NegInf;
  ------------------
  |  Branch (2344:9): [True: 2.34k, False: 443]
  ------------------
 2345|  2.78k|    }
 2346|       |
 2347|   426k|done:
 2348|   426k|    if (endptr) *endptr = (char *) p;
  ------------------
  |  Branch (2348:9): [True: 426k, False: 266]
  ------------------
 2349|   426k|    return sign * (double) ans;
 2350|   409k|}
R_strtod:
 2360|   428k|{
 2361|   428k|    return R_strtod5(str, endptr, '.', FALSE, FALSE);
 2362|   428k|}
R_atof:
 2365|    266|{
 2366|       |    return R_strtod5(str, NULL, '.', FALSE, FALSE);
 2367|    266|}
Rf_Scollate:
 2764|  63.4k|{
 2765|  63.4k|    return strcoll(translateChar(a), translateChar(b));
  ------------------
  |  | 1037|  63.4k|#define translateChar		Rf_translateChar
  ------------------
                  return strcoll(translateChar(a), translateChar(b));
  ------------------
  |  | 1037|  63.4k|#define translateChar		Rf_translateChar
  ------------------
 2766|  63.4k|}
Rstrdup:
 3247|    792|{
 3248|    792|    size_t nb = strlen(s) + 1;
 3249|    792|    void *cpy = malloc(nb);
 3250|    792|    if (cpy == NULL) error("allocation error in Rstrdup");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  |  Branch (3250:9): [True: 0, False: 792]
  ------------------
 3251|    792|    memcpy (cpy, s, nb);
 3252|    792|    return (char *) cpy;
 3253|    792|}
do_compareNumericVersion:
 3291|     38|{
 3292|     38|    SEXP ans, x, y;
 3293|     38|    int i, nx, ny, na;
 3294|       |
 3295|     38|    checkArity(op, args);
  ------------------
  |  | 1793|     38|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 3296|       |
 3297|     38|    x = CAR(args); args = CDR(args);
 3298|     38|    y = CAR(args);
 3299|       |
 3300|     38|    if(!isVector(x))
  ------------------
  |  |  974|     38|#define isVector		Rf_isVector
  ------------------
  |  Branch (3300:8): [True: 0, False: 38]
  ------------------
 3301|      0|	error(_("invalid '%s' argument"), "x");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "x");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3302|     38|    if(!isVector(y))
  ------------------
  |  |  974|     38|#define isVector		Rf_isVector
  ------------------
  |  Branch (3302:8): [True: 0, False: 38]
  ------------------
 3303|      0|	error(_("invalid '%s' argument"), "y");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "y");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3304|     38|    nx = LENGTH(x);
 3305|     38|    ny = LENGTH(y);
 3306|     38|    if(nx > 0 && ny > 0)
  ------------------
  |  Branch (3306:8): [True: 38, False: 0]
  |  Branch (3306:18): [True: 38, False: 0]
  ------------------
 3307|     38|	na = nx > ny ? nx : ny;
  ------------------
  |  Branch (3307:7): [True: 0, False: 38]
  ------------------
 3308|      0|    else
 3309|      0|	na = 0;
 3310|     38|    PROTECT(ans = allocVector(INTSXP, na));
  ------------------
  |  |  357|     38|#define PROTECT(s)	Rf_protect(s)
  ------------------
 3311|     76|    for(i = 0; i < na; i++) {
  ------------------
  |  Branch (3311:16): [True: 38, False: 38]
  ------------------
 3312|     38|	INTEGER(ans)[i] =
 3313|     38|	    compareNumericVersion(VECTOR_ELT(x, i % nx),
 3314|     38|				  VECTOR_ELT(y, i % ny));
 3315|     38|    }
 3316|     38|    UNPROTECT(1);
  ------------------
  |  |  358|     38|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 3317|     38|    return ans;
 3318|     38|}
Rasprintf_malloc:
 3321|      6|{
 3322|      6|    va_list ap;
 3323|       |
 3324|      6|    *str = NULL;
 3325|       |
 3326|      6|    va_start(ap, fmt);
 3327|       |    /* could optimize by using non-zero initial size, large
 3328|       |       enough so that most prints with fill */
 3329|       |    /* trio does not accept NULL as str */
 3330|      6|    char dummy[1];
 3331|      6|    int ret = vsnprintf(dummy, 0, fmt, ap);
 3332|      6|    va_end(ap);
 3333|       |
 3334|      6|    if (ret <= 0)
  ------------------
  |  Branch (3334:9): [True: 0, False: 6]
  ------------------
 3335|       |	/* error or empty print */
 3336|      0|	return ret;
 3337|       |
 3338|      6|    size_t needed = ret + 1;
 3339|      6|    char *buf = (char *) malloc(needed);
 3340|      6|    if (!buf) {
  ------------------
  |  Branch (3340:9): [True: 0, False: 6]
  ------------------
 3341|      0|	errno = ENOMEM;
 3342|      0|	return -1;
 3343|      0|    }
 3344|       |
 3345|      6|    va_start(ap, fmt);
 3346|      6|    ret = vsnprintf(buf, needed, fmt, ap);
 3347|      6|    va_end(ap);
 3348|       |
 3349|      6|    if (ret < 0 || (size_t)ret >= needed)
  ------------------
  |  Branch (3349:9): [True: 0, False: 6]
  |  Branch (3349:20): [True: 0, False: 6]
  ------------------
 3350|       |	/* error */
 3351|      0|	free(buf);
 3352|      6|    else
 3353|      6|	*str = buf;
 3354|      6|    return ret;
 3355|      6|}
util.c:findTypeInTypeTable:
  262|     64| {
  263|  1.04k|    for (int i = 0; TypeTable[i].str; i++)
  ------------------
  |  Branch (263:21): [True: 1.03k, False: 16]
  ------------------
  264|  1.03k|	if (TypeTable[i].type == t) return i;
  ------------------
  |  Branch (264:6): [True: 48, False: 984]
  ------------------
  265|       |
  266|     16|    return -1;
  267|     64|}
util.c:compareNumericVersion:
 3256|     38|{
 3257|     38|    int i, nx, ny, nc, *ix, *iy;
 3258|     38|    if(!isInteger(x))
  ------------------
  |  |  949|     38|#define isInteger		Rf_isInteger
  ------------------
  |  Branch (3258:8): [True: 0, False: 38]
  ------------------
 3259|      0|	error(_("invalid '%s' argument"), "x");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "x");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3260|     38|    if(!isInteger(y))
  ------------------
  |  |  949|     38|#define isInteger		Rf_isInteger
  ------------------
  |  Branch (3260:8): [True: 0, False: 38]
  ------------------
 3261|      0|	error(_("invalid '%s' argument"), "y");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "y");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 3262|     38|    nx = LENGTH(x);
 3263|     38|    ny = LENGTH(y);
 3264|     38|    nc =  nx > ny ? ny : nx;
  ------------------
  |  Branch (3264:11): [True: 0, False: 38]
  ------------------
 3265|     38|    if(nc == 0)
  ------------------
  |  Branch (3265:8): [True: 0, False: 38]
  ------------------
 3266|      0|	return NA_INTEGER;
  ------------------
  |  |   56|      0|#define NA_INTEGER	R_NaInt
  ------------------
 3267|     38|    ix = INTEGER(x);
 3268|     38|    iy = INTEGER(y);
 3269|     88|    for(i = 0; i < nc; i++) {
  ------------------
  |  Branch (3269:16): [True: 76, False: 12]
  ------------------
 3270|     76|	if(ix[i] > iy[i])
  ------------------
  |  Branch (3270:5): [True: 26, False: 50]
  ------------------
 3271|     26|	    return 1;
 3272|     50|	if(ix[i] < iy[i])
  ------------------
  |  Branch (3272:5): [True: 0, False: 50]
  ------------------
 3273|      0|	    return -1;
 3274|     50|    }
 3275|     12|    if(nc < nx) {
  ------------------
  |  Branch (3275:8): [True: 0, False: 12]
  ------------------
 3276|      0|	for(i = nc; i < nx; i++) {
  ------------------
  |  Branch (3276:14): [True: 0, False: 0]
  ------------------
 3277|      0|	    if(ix[i] > 0)
  ------------------
  |  Branch (3277:9): [True: 0, False: 0]
  ------------------
 3278|      0|		return 1;
 3279|      0|	}
 3280|     12|    } else if(nc < ny) {
  ------------------
  |  Branch (3280:15): [True: 0, False: 12]
  ------------------
 3281|      0|	for(i = nc; i < ny; i++) {
  ------------------
  |  Branch (3281:14): [True: 0, False: 0]
  ------------------
 3282|      0|	    if(iy[i] > 0)
  ------------------
  |  Branch (3282:9): [True: 0, False: 0]
  ------------------
 3283|      0|		return -1;
 3284|      0|	}
 3285|      0|    }
 3286|     12|    return 0;
 3287|     12|}

do_version:
   49|      2|{
   50|      2|    SEXP value, names;
   51|      2|    char buf[128];
   52|      2|    int i = 0;
   53|       |
   54|      2|    checkArity(op, args);
  ------------------
  |  | 1793|      2|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
   55|      2|#ifndef Win32
   56|      2|    PROTECT(value = allocVector(VECSXP,14));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
   57|      2|    PROTECT(names = allocVector(STRSXP,14));
  ------------------
  |  |  357|      2|#define PROTECT(s)	Rf_protect(s)
  ------------------
   58|       |#else
   59|       |    PROTECT(value = allocVector(VECSXP,15));
   60|       |    PROTECT(names = allocVector(STRSXP,15));
   61|       |#endif
   62|       |
   63|      2|    SET_STRING_ELT(names, i, mkChar("platform"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
   64|      2|    SET_VECTOR_ELT(value, i++, mkString(R_PLATFORM));
  ------------------
  |  | 1003|      2|#define mkString		Rf_mkString
  ------------------
                  SET_VECTOR_ELT(value, i++, mkString(R_PLATFORM));
  ------------------
  |  | 1101|      2|#define R_PLATFORM "x86_64-pc-linux-gnu"
  ------------------
   65|      2|    SET_STRING_ELT(names, i, mkChar("arch"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
   66|      2|    SET_VECTOR_ELT(value, i++, mkString(R_CPU));
  ------------------
  |  | 1003|      2|#define mkString		Rf_mkString
  ------------------
                  SET_VECTOR_ELT(value, i++, mkString(R_CPU));
  ------------------
  |  | 1088|      2|#define R_CPU "x86_64"
  ------------------
   67|      2|    SET_STRING_ELT(names, i, mkChar("os"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
   68|      2|    SET_VECTOR_ELT(value, i++, mkString(R_OS));
  ------------------
  |  | 1003|      2|#define mkString		Rf_mkString
  ------------------
                  SET_VECTOR_ELT(value, i++, mkString(R_OS));
  ------------------
  |  | 1098|      2|#define R_OS "linux-gnu"
  ------------------
   69|       |#ifdef Win32
   70|       |    SET_STRING_ELT(names, i, mkChar("crt"));
   71|       |    SET_VECTOR_ELT(value, i++, mkString(R_CRT));
   72|       |#endif
   73|       |
   74|      2|    snprintf(buf, 128, "%s, %s", R_CPU, R_OS);
  ------------------
  |  | 1088|      2|#define R_CPU "x86_64"
  ------------------
                  snprintf(buf, 128, "%s, %s", R_CPU, R_OS);
  ------------------
  |  | 1098|      2|#define R_OS "linux-gnu"
  ------------------
   75|      2|    SET_STRING_ELT(names, i, mkChar("system"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
   76|      2|    SET_VECTOR_ELT(value, i++, mkString(buf));
  ------------------
  |  | 1003|      2|#define mkString		Rf_mkString
  ------------------
   77|       |
   78|      2|    SET_STRING_ELT(names, i, mkChar("status"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
   79|      2|    SET_VECTOR_ELT(value, i++, mkString(R_STATUS));
  ------------------
  |  | 1003|      2|#define mkString		Rf_mkString
  ------------------
                  SET_VECTOR_ELT(value, i++, mkString(R_STATUS));
  ------------------
  |  |   14|      2|#define R_STATUS "Under development (unstable)"
  ------------------
   80|      2|    SET_STRING_ELT(names, i, mkChar("major"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
   81|      2|    SET_VECTOR_ELT(value, i++, mkString(R_MAJOR));
  ------------------
  |  | 1003|      2|#define mkString		Rf_mkString
  ------------------
                  SET_VECTOR_ELT(value, i++, mkString(R_MAJOR));
  ------------------
  |  |   12|      2|#define R_MAJOR  "4"
  ------------------
   82|      2|    SET_STRING_ELT(names, i, mkChar("minor"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
   83|      2|    SET_VECTOR_ELT(value, i++, mkString(R_MINOR));
  ------------------
  |  | 1003|      2|#define mkString		Rf_mkString
  ------------------
                  SET_VECTOR_ELT(value, i++, mkString(R_MINOR));
  ------------------
  |  |   13|      2|#define R_MINOR  "7.0"
  ------------------
   84|      2|    SET_STRING_ELT(names, i, mkChar("year"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
   85|      2|    SET_VECTOR_ELT(value, i++, mkString(R_YEAR));
  ------------------
  |  | 1003|      2|#define mkString		Rf_mkString
  ------------------
                  SET_VECTOR_ELT(value, i++, mkString(R_YEAR));
  ------------------
  |  |   15|      2|#define R_YEAR   "2026"
  ------------------
   86|      2|    SET_STRING_ELT(names, i, mkChar("month"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
   87|      2|    SET_VECTOR_ELT(value, i++, mkString(R_MONTH));
  ------------------
  |  | 1003|      2|#define mkString		Rf_mkString
  ------------------
                  SET_VECTOR_ELT(value, i++, mkString(R_MONTH));
  ------------------
  |  |   16|      2|#define R_MONTH  "11"
  ------------------
   88|      2|    SET_STRING_ELT(names, i, mkChar("day"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
   89|      2|    SET_VECTOR_ELT(value, i++, mkString(R_DAY));
  ------------------
  |  | 1003|      2|#define mkString		Rf_mkString
  ------------------
                  SET_VECTOR_ELT(value, i++, mkString(R_DAY));
  ------------------
  |  |   17|      2|#define R_DAY    "28"
  ------------------
   90|       |
   91|      2|    SET_STRING_ELT(names, i, mkChar("svn rev"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
   92|      2|    snprintf(buf, 128, "%d", R_SVN_REVISION);
  ------------------
  |  |   18|      2|#define R_SVN_REVISION 91005
  ------------------
   93|      2|    SET_VECTOR_ELT(value, i++, mkString(buf));
  ------------------
  |  | 1003|      2|#define mkString		Rf_mkString
  ------------------
   94|      2|    SET_STRING_ELT(names, i, mkChar("language"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
   95|      2|    SET_VECTOR_ELT(value, i++, mkString("R"));
  ------------------
  |  | 1003|      2|#define mkString		Rf_mkString
  ------------------
   96|       |
   97|      2|    PrintVersionString(buf, 128);
  ------------------
  |  | 1981|      2|# define PrintVersionString    	Rf_PrintVersionString
  ------------------
   98|      2|    SET_STRING_ELT(names, i, mkChar("version.string"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
   99|      2|    SET_VECTOR_ELT(value, i++, mkString(buf));
  ------------------
  |  | 1003|      2|#define mkString		Rf_mkString
  ------------------
  100|      2|    SET_STRING_ELT(names, i, mkChar("nickname"));
  ------------------
  |  |  998|      2|#define mkChar			Rf_mkChar
  ------------------
  101|      2|    SET_VECTOR_ELT(value, i++, mkString(R_NICK));
  ------------------
  |  | 1003|      2|#define mkString		Rf_mkString
  ------------------
                  SET_VECTOR_ELT(value, i++, mkString(R_NICK));
  ------------------
  |  |   10|      2|#define R_NICK "Unsuffered Consequences"
  ------------------
  102|       |
  103|      2|    setAttrib(value, R_NamesSymbol, names);
  ------------------
  |  | 1027|      2|#define setAttrib		Rf_setAttrib
  ------------------
  104|      2|    UNPROTECT(2);
  ------------------
  |  |  358|      2|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  105|      2|    return value;
  106|      2|}
Rf_PrintVersionString:
  121|      2|{
  122|       |    
  123|      2|#ifndef Win32
  124|      2|# define _R_PV_EXTRA_ ""
  125|       |#else
  126|       |# define _R_PV_EXTRA_ " " R_CRT
  127|       |#endif
  128|      2|    if(R_SVN_REVISION <= 0) {// 'svn info' failed in ../../Makefile.in
  ------------------
  |  |   18|      2|#define R_SVN_REVISION 91005
  ------------------
  |  Branch (128:8): [Folded, False: 2]
  ------------------
  129|      0|	snprintf(s, len, "R version %s.%s %s (%s-%s-%s%s)",
  130|      0|		R_MAJOR, R_MINOR, R_STATUS, R_YEAR, R_MONTH, R_DAY,
  ------------------
  |  |   12|      0|#define R_MAJOR  "4"
  ------------------
              		R_MAJOR, R_MINOR, R_STATUS, R_YEAR, R_MONTH, R_DAY,
  ------------------
  |  |   13|      0|#define R_MINOR  "7.0"
  ------------------
              		R_MAJOR, R_MINOR, R_STATUS, R_YEAR, R_MONTH, R_DAY,
  ------------------
  |  |   14|      0|#define R_STATUS "Under development (unstable)"
  ------------------
              		R_MAJOR, R_MINOR, R_STATUS, R_YEAR, R_MONTH, R_DAY,
  ------------------
  |  |   15|      0|#define R_YEAR   "2026"
  ------------------
              		R_MAJOR, R_MINOR, R_STATUS, R_YEAR, R_MONTH, R_DAY,
  ------------------
  |  |   16|      0|#define R_MONTH  "11"
  ------------------
              		R_MAJOR, R_MINOR, R_STATUS, R_YEAR, R_MONTH, R_DAY,
  ------------------
  |  |   17|      0|#define R_DAY    "28"
  ------------------
  131|      0|	        _R_PV_EXTRA_);
  ------------------
  |  |  124|      0|# define _R_PV_EXTRA_ ""
  ------------------
  132|      2|    } else if(strlen(R_STATUS) == 0) {
  ------------------
  |  |   14|      2|#define R_STATUS "Under development (unstable)"
  ------------------
  |  Branch (132:15): [Folded, False: 2]
  ------------------
  133|      0|	snprintf(s, len, "R version %s.%s (%s-%s-%s%s)",
  134|      0|		R_MAJOR, R_MINOR, R_YEAR, R_MONTH, R_DAY, _R_PV_EXTRA_);
  ------------------
  |  |   12|      0|#define R_MAJOR  "4"
  ------------------
              		R_MAJOR, R_MINOR, R_YEAR, R_MONTH, R_DAY, _R_PV_EXTRA_);
  ------------------
  |  |   13|      0|#define R_MINOR  "7.0"
  ------------------
              		R_MAJOR, R_MINOR, R_YEAR, R_MONTH, R_DAY, _R_PV_EXTRA_);
  ------------------
  |  |   15|      0|#define R_YEAR   "2026"
  ------------------
              		R_MAJOR, R_MINOR, R_YEAR, R_MONTH, R_DAY, _R_PV_EXTRA_);
  ------------------
  |  |   16|      0|#define R_MONTH  "11"
  ------------------
              		R_MAJOR, R_MINOR, R_YEAR, R_MONTH, R_DAY, _R_PV_EXTRA_);
  ------------------
  |  |   17|      0|#define R_DAY    "28"
  ------------------
              		R_MAJOR, R_MINOR, R_YEAR, R_MONTH, R_DAY, _R_PV_EXTRA_);
  ------------------
  |  |  124|      0|# define _R_PV_EXTRA_ ""
  ------------------
  135|      2|    } else if(strcmp(R_STATUS, "Under development (unstable)") == 0) {
  ------------------
  |  |   14|      2|#define R_STATUS "Under development (unstable)"
  ------------------
  |  Branch (135:15): [True: 2, Folded]
  ------------------
  136|      2|	snprintf(s, len, "R %s (%s-%s-%s r%d%s)",
  137|      2|		R_STATUS, R_YEAR, R_MONTH, R_DAY, R_SVN_REVISION,
  ------------------
  |  |   14|      2|#define R_STATUS "Under development (unstable)"
  ------------------
              		R_STATUS, R_YEAR, R_MONTH, R_DAY, R_SVN_REVISION,
  ------------------
  |  |   15|      2|#define R_YEAR   "2026"
  ------------------
              		R_STATUS, R_YEAR, R_MONTH, R_DAY, R_SVN_REVISION,
  ------------------
  |  |   16|      2|#define R_MONTH  "11"
  ------------------
              		R_STATUS, R_YEAR, R_MONTH, R_DAY, R_SVN_REVISION,
  ------------------
  |  |   17|      2|#define R_DAY    "28"
  ------------------
              		R_STATUS, R_YEAR, R_MONTH, R_DAY, R_SVN_REVISION,
  ------------------
  |  |   18|      2|#define R_SVN_REVISION 91005
  ------------------
  138|      2|	        _R_PV_EXTRA_);
  ------------------
  |  |  124|      2|# define _R_PV_EXTRA_ ""
  ------------------
  139|      2|    } else {
  140|      0|	snprintf(s, len, "R version %s.%s %s (%s-%s-%s r%d%s)",
  141|      0|		R_MAJOR, R_MINOR, R_STATUS, R_YEAR, R_MONTH, R_DAY,
  ------------------
  |  |   12|      0|#define R_MAJOR  "4"
  ------------------
              		R_MAJOR, R_MINOR, R_STATUS, R_YEAR, R_MONTH, R_DAY,
  ------------------
  |  |   13|      0|#define R_MINOR  "7.0"
  ------------------
              		R_MAJOR, R_MINOR, R_STATUS, R_YEAR, R_MONTH, R_DAY,
  ------------------
  |  |   14|      0|#define R_STATUS "Under development (unstable)"
  ------------------
              		R_MAJOR, R_MINOR, R_STATUS, R_YEAR, R_MONTH, R_DAY,
  ------------------
  |  |   15|      0|#define R_YEAR   "2026"
  ------------------
              		R_MAJOR, R_MINOR, R_STATUS, R_YEAR, R_MONTH, R_DAY,
  ------------------
  |  |   16|      0|#define R_MONTH  "11"
  ------------------
              		R_MAJOR, R_MINOR, R_STATUS, R_YEAR, R_MONTH, R_DAY,
  ------------------
  |  |   17|      0|#define R_DAY    "28"
  ------------------
  142|      0|		R_SVN_REVISION, _R_PV_EXTRA_);
  ------------------
  |  |   18|      0|#define R_SVN_REVISION 91005
  ------------------
              		R_SVN_REVISION, _R_PV_EXTRA_);
  ------------------
  |  |  124|      0|# define _R_PV_EXTRA_ ""
  ------------------
  143|      0|    }
  144|      2|#undef _R_PV_EXTRA_
  145|      2|}
do_internalsID:
  171|     10|{
  172|     10|    return mkString(R_INTERNALS_UUID);
  ------------------
  |  | 1003|     10|#define mkString		Rf_mkString
  ------------------
                  return mkString(R_INTERNALS_UUID);
  ------------------
  |  |  116|     10|#define R_INTERNALS_UUID "2fdf6c18-697a-4ba7-b8ef-11c0d92f1327"
  ------------------
  173|     10|}

Rf_fround:
   34|  3.86k|double fround(double x, double digits) {
   35|  3.86k|#define MAX_DIGITS (DBL_MAX_10_EXP + DBL_DIG) /* typically = 308+15 = 323
   36|       |    * was DBL_MAX_10_EXP (= 308, IEEE) till R 3.6.x; before,
   37|       |    * was (DBL_DIG - 1)  till R 0.99  */
   38|  3.86k|    const static int max10e = (int) DBL_MAX_10_EXP; // == 308 ("IEEE")
   39|       |
   40|       |    /* Note that large digits make sense for very small numbers */
   41|  3.86k|    if (ISNAN(x) || ISNAN(digits))
  ------------------
  |  |   76|  7.72k|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 3.86k]
  |  |  ------------------
  ------------------
                  if (ISNAN(x) || ISNAN(digits))
  ------------------
  |  |   76|  3.86k|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 3.86k]
  |  |  ------------------
  ------------------
   42|      0|	return x + digits;
   43|  3.86k|    if(!R_FINITE(x)) return x;
  ------------------
  |  |   82|  3.86k|# define R_FINITE(x)    isfinite(x)
  ------------------
  |  Branch (43:8): [True: 0, False: 3.86k]
  ------------------
   44|       |
   45|  3.86k|    if (digits > MAX_DIGITS || x == 0.)
  ------------------
  |  |   35|  7.72k|#define MAX_DIGITS (DBL_MAX_10_EXP + DBL_DIG) /* typically = 308+15 = 323
  ------------------
  |  Branch (45:9): [True: 0, False: 3.86k]
  |  Branch (45:32): [True: 306, False: 3.55k]
  ------------------
   46|    306|	return x;
   47|  3.55k|    else if(digits < -max10e) // includes -Inf {aka ML_NEGINF}
  ------------------
  |  Branch (47:13): [True: 0, False: 3.55k]
  ------------------
   48|      0|	return 0.;
   49|  3.55k|    else if (digits == 0.) // common
  ------------------
  |  Branch (49:14): [True: 0, False: 3.55k]
  ------------------
   50|      0|	return nearbyint(x);
   51|       |
   52|  3.55k|    int dig = (int)floor(digits + 0.5);
   53|  3.55k|    double sgn = +1.;
   54|  3.55k|    if(x < 0.) {
  ------------------
  |  Branch (54:8): [True: 87, False: 3.47k]
  ------------------
   55|     87|	sgn = -1.;
   56|     87|	x = -x;
   57|     87|    } // now  x > 0
   58|  3.55k|    double l10x = M_LOG10_2*(0.5 + logb(x)); // ~= log10(x), but cheaper (presumably)
  ------------------
  |  |  154|  3.55k|#define M_LOG10_2	0.301029995663981195213738894724	/* log10(2) */
  ------------------
   59|  3.55k|    if(l10x + dig > DBL_DIG) // rounding to so many digits that no rounding is needed
  ------------------
  |  Branch (59:8): [True: 0, False: 3.55k]
  ------------------
   60|      0|	return sgn * x;
   61|  3.55k|    else {
   62|  3.55k|	double pow10, x10, i10,
   63|  3.55k|	    xd, xu; // x, rounded _d_own or _u_p
   64|  3.55k|	if (dig <= max10e) { // both pow10 := 10^d and x10 := x * pow10 do *not* overflow
  ------------------
  |  Branch (64:6): [True: 3.55k, False: 0]
  ------------------
   65|  3.55k|	    pow10 = R_pow_di(10., dig);
   66|  3.55k|	    x10 = x * pow10;
   67|  3.55k|	    i10 = floor(x10);
   68|  3.55k|	    xd =    i10     / pow10;
   69|  3.55k|	    xu = ceil (x10) / pow10;
   70|  3.55k|	} else { // DBL_MAX_10_EXP =: max10e < dig <= DBL_DIG - l10x: case of |x| << 1; ~ 10^-305
   71|      0|	    int e10 = dig - max10e; // > 0
   72|      0|	    double
   73|      0|		p10 = R_pow_di(10., e10);
   74|      0|	    pow10   = R_pow_di(10., max10e);
   75|      0|	    x10 = (x * pow10) * p10;
   76|      0|	    i10 = floor(x10);
   77|      0|	    xd =    i10     / pow10 / p10;
   78|      0|	    xu = ceil (x10) / pow10 / p10;
   79|      0|	}
   80|  3.55k|	double
   81|  3.55k|	    du = xu - x,
   82|  3.55k|	    dd = x  - xd;
   83|       |	//  D =  du - dd
   84|       |	//  return sgn * ((D < 0 || (is_odd_i10 && D == 0)) ? xu : xd);
   85|  3.55k|	return sgn * ((du < dd || (fmod(i10, 2.) == 1 && du == dd)) ? xu : xd);
  ------------------
  |  Branch (85:17): [True: 1.90k, False: 1.65k]
  |  Branch (85:29): [True: 796, False: 858]
  |  Branch (85:51): [True: 0, False: 796]
  ------------------
   86|  3.55k|    }
   87|  3.55k|}

Rf_sign:
   36|  3.86k|{
   37|  3.86k|    if (ISNAN(x))
  ------------------
  |  |   76|  3.86k|#  define ISNAN(x)     (isnan(x)!=0)
  |  |  ------------------
  |  |  |  Branch (76:24): [True: 0, False: 3.86k]
  |  |  ------------------
  ------------------
   38|      0|	return x;
   39|  3.86k|    return ((x > 0) ? 1 : ((x == 0)? 0 : -1));
  ------------------
  |  Branch (39:13): [True: 3.47k, False: 393]
  |  Branch (39:28): [True: 306, False: 87]
  ------------------
   40|  3.86k|}

Rf_InitFunctionHashing:
   58|      2|{
   59|      2|    R_osDynSymbol->loadLibrary = loadLibrary;
   60|      2|    R_osDynSymbol->dlsym = R_local_dlsym;
   61|      2|    R_osDynSymbol->closeLibrary = closeLibrary;
   62|      2|    R_osDynSymbol->getError = getSystemError;
   63|       |
   64|      2|    R_osDynSymbol->deleteCachedSymbols = Rf_deleteCachedSymbols;
   65|      2|    R_osDynSymbol->lookupCachedSymbol = Rf_lookupCachedSymbol;
   66|       |
   67|      2|    R_osDynSymbol->getFullDLLPath = getFullDLLPath;
   68|      2|}
dynload.c:loadLibrary:
   78|     12|{
   79|     12|    void *handle;
   80|     12|    int openFlag = 0;
   81|       |
   82|     12|    openFlag = computeDLOpenFlag(asLocal, now);
   83|     12|    handle = (void *) dlopen(path,openFlag);
   84|       |
   85|     12|    return(handle);
   86|     12|}
dynload.c:computeDLOpenFlag:
  107|     12|{
  108|       |#if !defined(RTLD_LOCAL) || !defined(RTLD_GLOBAL) || !defined(RTLD_NOW) || !defined(RTLD_LAZY)
  109|       |    static char *warningMessages[] = {
  110|       |	N_("Explicit local dynamic loading not supported on this platform. Using default."),
  111|       |	N_("Explicit global dynamic loading not supported on this platform. Using default."),
  112|       |	N_("Explicit non-lazy dynamic loading not supported on this platform. Using default."),
  113|       |	N_("Explicit lazy dynamic loading not supported on this platform. Using default.")
  114|       |    };
  115|       |    /* Define a local macro for issuing the warnings.
  116|       |       This allows us to redefine it easily so that it only emits the
  117|       |       warning once as in
  118|       |       DL_WARN(i) if(warningMessages[i]) {\
  119|       |       warning(warningMessages[i]); \
  120|       |       warningMessages[i] = NULL; \
  121|       |       }
  122|       |       or to control the emission via the options currently in effect at
  123|       |       call time.
  124|       |    */
  125|       |# define DL_WARN(i) \
  126|       |    if(asInteger(GetOption1(install("warn"))) == 1 || \
  127|       |       asInteger(GetOption1(install("verbose"))) > 0) \
  128|       |	warning(_(warningMessages[i]))
  129|       |#endif
  130|       |
  131|     12|    int openFlag = 0;		/* Default value so no-ops for undefined
  132|       |				   flags should do nothing in the
  133|       |				   resulting dlopen(). */
  134|       |
  135|     12|    if(asLocal != 0) {
  ------------------
  |  Branch (135:8): [True: 12, False: 0]
  ------------------
  136|       |#ifndef RTLD_LOCAL
  137|       |	DL_WARN(0);
  138|       |#else
  139|     12|	openFlag = RTLD_LOCAL;
  140|     12|#endif
  141|     12|    } else {
  142|       |#ifndef RTLD_GLOBAL
  143|       |	DL_WARN(1);
  144|       |#else
  145|      0|	openFlag = RTLD_GLOBAL;
  146|      0|#endif
  147|      0|    }
  148|       |
  149|     12|    if(now != 0) {
  ------------------
  |  Branch (149:8): [True: 12, False: 0]
  ------------------
  150|       |#ifndef RTLD_NOW
  151|       |	DL_WARN(2);
  152|       |#else
  153|     12|	openFlag |= RTLD_NOW;
  154|     12|#endif
  155|     12|    } else {
  156|       |#ifndef RTLD_LAZY
  157|       |	DL_WARN(3);
  158|       |#else
  159|      0|	openFlag |= RTLD_LAZY;
  160|      0|#endif
  161|      0|    }
  162|       |
  163|     12|    return(openFlag);
  164|     12|}
dynload.c:R_local_dlsym:
  178|     12|{
  179|     12|    fn_ptr tmp;
  180|     12|    tmp.p = dlsym(info->handle, name);
  181|     12|    return tmp.fn;
  182|     12|}
dynload.c:getFullDLLPath:
  200|     10|{
  201|     10|    size_t needed = 0;
  202|       |
  203|     10|    if(path[0] == '~') {
  ------------------
  |  Branch (203:8): [True: 0, False: 10]
  ------------------
  204|      0|	const char *expanded = R_ExpandFileName(path);
  205|      0|	needed = strlen(expanded);
  206|      0|	if (bufsize >= needed + 1)
  ------------------
  |  Branch (206:6): [True: 0, False: 0]
  ------------------
  207|      0|	    strcpy(buf, expanded);
  208|     10|    } else if(path[0] != '/') {
  ------------------
  |  Branch (208:15): [True: 0, False: 10]
  ------------------
  209|      0|#ifdef HAVE_GETCWD
  210|      0|	if(!getcwd(buf, bufsize))
  ------------------
  |  Branch (210:5): [True: 0, False: 0]
  ------------------
  211|      0|#endif
  212|       |	    /* NOTE: also when bufsize is small */
  213|      0|	    errorcall(call, _("cannot get working directory!"));
  ------------------
  |  |  912|      0|#define errorcall		Rf_errorcall
  ------------------
              	    errorcall(call, _("cannot get working directory!"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  214|      0|	needed = strlen(buf) + 1 + strlen(path);
  215|      0|	if (bufsize >= needed + 1) {
  ------------------
  |  Branch (215:6): [True: 0, False: 0]
  ------------------
  216|      0|	    strcat(buf, "/");
  217|      0|	    strcat(buf, path);
  218|      0|	}
  219|      0|    }
  220|     10|    else {
  221|     10|	needed = strlen(path);
  222|     10|	if (bufsize >= needed + 1)
  ------------------
  |  Branch (222:6): [True: 10, False: 0]
  ------------------
  223|     10|	    strcpy(buf, path);
  224|     10|    }
  225|     10|    return needed;
  226|     10|}

R_ExpandFileName_readline:
  506|    454|{
  507|    454|    char *s2 = tilde_expand_word(s);
  508|    454|    size_t len = strlen(s2);
  509|       |
  510|    454|    strncpy(buff, s2, R_PATH_MAX);
  ------------------
  |  | 1150|    454|# define R_PATH_MAX PATH_MAX
  ------------------
  511|    454|    if(len >= R_PATH_MAX) {
  ------------------
  |  | 1150|    454|# define R_PATH_MAX PATH_MAX
  ------------------
  |  Branch (511:8): [True: 0, False: 454]
  ------------------
  512|      0|	buff[R_PATH_MAX-1] = '\0';
  ------------------
  |  | 1150|      0|# define R_PATH_MAX PATH_MAX
  ------------------
  513|      0|	warning(_("expanded path length %lld would be too long for\n%s\n"),
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	warning(_("expanded path length %lld would be too long for\n%s\n"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  514|      0|	        (long long)len, s);
  515|      0|    }
  516|    454|    free(s2);
  517|    454|    return buff;
  518|    454|}
set_rl_word_breaks:
  771|      2|{
  772|      2|    static char p1[201], p2[203];
  773|      2|    strncpy(p1, str, 200); p1[200]= '\0';
  774|      2|    strncpy(p2, p1, 200); p2[200] = '\0';
  775|      2|    strcat(p2, "[]");
  776|      2|    rl_basic_word_break_characters = p2;
  777|      2|    rl_completer_word_break_characters = p1;
  778|      2|}
Rstd_ResetConsole:
 1191|  3.07k|{
 1192|  3.07k|}
Rstd_FlushConsole:
 1198|  3.07k|{
 1199|       |    /* fflush(stdin);  really work on Solaris on pipes */
 1200|  3.07k|}
Rstd_ClearerrConsole:
 1205|  3.07k|{
 1206|       |    clearerr(stdin);
 1207|  3.07k|}
sys-std.c:nop:
  325|  3.38M|static void nop(void){}

R_OpenInitFile:
   69|      2|{
   70|      2|    char buf[R_PATH_MAX], *home, *p = getenv("R_PROFILE_USER");
   71|      2|    FILE *fp;
   72|       |
   73|      2|    fp = NULL;
   74|      2|    if (LoadInitFile) {
  ------------------
  |  Branch (74:9): [True: 0, False: 2]
  ------------------
   75|      0|	if(p) {
  ------------------
  |  Branch (75:5): [True: 0, False: 0]
  ------------------
   76|      0|	    if(!*p) return NULL;  /* set to "" */
  ------------------
  |  Branch (76:9): [True: 0, False: 0]
  ------------------
   77|      0|	    return R_fopen(R_ExpandFileName(p), "r");
   78|      0|	}
   79|      0|	if((fp = R_fopen(".Rprofile", "r")))
  ------------------
  |  Branch (79:5): [True: 0, False: 0]
  ------------------
   80|      0|	    return fp;
   81|      0|	if((home = getenv("HOME")) == NULL)
  ------------------
  |  Branch (81:5): [True: 0, False: 0]
  ------------------
   82|      0|	    return NULL;
   83|      0|	snprintf(buf, R_PATH_MAX, "%s/.Rprofile", home);
  ------------------
  |  | 1150|      0|# define R_PATH_MAX PATH_MAX
  ------------------
   84|      0|	if((fp = R_fopen(buf, "r")))
  ------------------
  |  Branch (84:5): [True: 0, False: 0]
  ------------------
   85|      0|	    return fp;
   86|      0|    }
   87|      2|    return fp;
   88|      2|}
R_ExpandFileName:
  187|    454|{
  188|    454|#if defined(HAVE_LIBREADLINE) && defined(HAVE_TILDE_EXPAND_WORD)
  189|    454|    if(UsingReadline) {
  ------------------
  |  Branch (189:8): [True: 454, False: 0]
  ------------------
  190|    454|	const char * c = R_ExpandFileName_readline(s, newFileName);
  191|       |	/* we can return the result only if tilde_expand is not broken */
  192|    454|	if (!c || c[0]!='~' || (c[1]!='\0' && c[1]!='/'))
  ------------------
  |  Branch (192:6): [True: 0, False: 454]
  |  Branch (192:12): [True: 454, False: 0]
  |  Branch (192:26): [True: 0, False: 0]
  |  Branch (192:40): [True: 0, False: 0]
  ------------------
  193|    454|	    return c;
  194|    454|    }
  195|      0|#endif
  196|      0|    return R_ExpandFileName_unix(s, newFileName);
  197|    454|}
R_setStartTime:
  217|      2|{
  218|      2|#ifdef HAVE_SYSCONF
  219|      2|    clk_tck = (double) sysconf(_SC_CLK_TCK);
  220|       |#else
  221|       |# ifndef CLK_TCK
  222|       |/* this is in ticks/second, generally 60 on BSD style Unix, 100? on SysV
  223|       | */
  224|       |#  ifdef HZ
  225|       |#   define CLK_TCK HZ
  226|       |#  else
  227|       |#   define CLK_TCK 60
  228|       |#  endif
  229|       |# endif /* not CLK_TCK */
  230|       |    clk_tck = (double) CLK_TCK;
  231|       |#endif
  232|       |    /* printf("CLK_TCK = %d\n", CLK_TCK); */
  233|      2|    StartTime = currentTime();
  ------------------
  |  | 1882|      2|# define currentTime		Rf_currentTime
  ------------------
  234|      2|}
R_getProcTime:
  243|    104|{
  244|       |    /* docs say this is rounded to the nearest ms */
  245|    104|    double et = currentTime() - StartTime;
  ------------------
  |  | 1882|    104|# define currentTime		Rf_currentTime
  ------------------
  246|    104|    data[2] = 1e-3 * rint(1000*et);
  247|    104|#ifdef HAVE_GETRUSAGE
  248|       |    /* all known current OSes */
  249|    104|    struct rusage self, children;
  250|    104|    getrusage(RUSAGE_SELF, &self);
  251|    104|    getrusage(RUSAGE_CHILDREN, &children);
  252|    104|    data[0] = (double)     self.ru_utime.tv_sec + 1e-3 * (double)(    self.ru_utime.tv_usec/1000);
  253|    104|    data[1] = (double)     self.ru_stime.tv_sec + 1e-3 * (double)(    self.ru_stime.tv_usec/1000);
  254|    104|    data[3] = (double) children.ru_utime.tv_sec + 1e-3 * (double)(children.ru_utime.tv_usec/1000);
  255|    104|    data[4] = (double) children.ru_stime.tv_sec + 1e-3 * (double)(children.ru_stime.tv_usec/1000);
  256|       |#else
  257|       |    /* Not known to be currently used */
  258|       |    struct tms timeinfo;
  259|       |    times(&timeinfo);
  260|       |    data[0] = fround(timeinfo.tms_utime / clk_tck, 3);
  261|       |    data[1] = fround(timeinfo.tms_stime / clk_tck, 3);
  262|       |    data[3] = fround(timeinfo.tms_cutime / clk_tck, 3);
  263|       |    data[4] = fround(timeinfo.tms_cstime / clk_tck, 3);
  264|       |#endif
  265|    104|}
do_system:
  895|      4|{
  896|      4|    SEXP tlist = R_NilValue;
  897|      4|    int intern = 0;
  898|      4|    int timeout = 0;
  899|      4|    int consignals = 0;
  900|       |
  901|      4|    checkArity(op, args);
  ------------------
  |  | 1793|      4|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
  902|      4|    if (!isValidStringF(CAR(args)))
  ------------------
  |  |  973|      4|#define isValidStringF		Rf_isValidStringF
  ------------------
  |  Branch (902:9): [True: 0, False: 4]
  ------------------
  903|      0|	error(_("non-empty character argument expected"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("non-empty character argument expected"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  904|      4|    intern = asLogical(CADR(args));
  ------------------
  |  |  886|      4|#define asLogical		Rf_asLogical
  ------------------
  905|      4|    if (intern == NA_INTEGER)
  ------------------
  |  |   56|      4|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (905:9): [True: 0, False: 4]
  ------------------
  906|      0|	error(_("'intern' must be logical and not NA"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'intern' must be logical and not NA"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  907|      4|    timeout = asInteger(CADDR(args));
  ------------------
  |  |  885|      4|#define asInteger		Rf_asInteger
  ------------------
  908|      4|    if (timeout == NA_INTEGER || timeout < 0)
  ------------------
  |  |   56|      8|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (908:9): [True: 0, False: 4]
  |  Branch (908:34): [True: 0, False: 4]
  ------------------
  909|      0|	error(_("invalid '%s' argument"), "timeout");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("invalid '%s' argument"), "timeout");
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  910|      4|    consignals = asLogical(CADDDR(args));
  ------------------
  |  |  886|      4|#define asLogical		Rf_asLogical
  ------------------
  911|      4|    if (consignals == NA_INTEGER)
  ------------------
  |  |   56|      4|#define NA_INTEGER	R_NaInt
  ------------------
  |  Branch (911:9): [True: 0, False: 4]
  ------------------
  912|      0|	error(_("'receive.console.signals' must be logical and not NA"));
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
              	error(_("'receive.console.signals' must be logical and not NA"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  913|      4|    const char *cmd = translateCharFP(STRING_ELT(CAR(args), 0));
  ------------------
  |  | 2003|      4|# define translateCharFP	Rf_translateCharFP
  ------------------
  914|       |
  915|      4|    int last_is_amp = 0;
  916|       |    /* command ending with & is not supported by timeout */
  917|      4|    const void *vmax = vmaxget();
  918|      4|    const char *c = trCharUTF8(STRING_ELT(CAR(args), 0));
  ------------------
  |  | 2005|      4|# define trCharUTF8      	Rf_trCharUTF8
  ------------------
  919|      4|    int len = 0;
  920|     88|    for(;*c; c += len) {
  ------------------
  |  Branch (920:10): [True: 84, False: 4]
  ------------------
  921|     84|	len = utf8clen(*c);
  ------------------
  |  | 2013|     84|# define utf8clen		Rf_utf8clen
  ------------------
  922|     84|	if (len == 1) {
  ------------------
  |  Branch (922:6): [True: 84, False: 0]
  ------------------
  923|     84|	    if (*c == '&')
  ------------------
  |  Branch (923:10): [True: 0, False: 84]
  ------------------
  924|      0|		last_is_amp = 1;
  925|     84|	    else if (*c != ' ' && *c != '\t' && *c != '\r' && *c != '\n')
  ------------------
  |  Branch (925:15): [True: 78, False: 6]
  |  Branch (925:28): [True: 78, False: 0]
  |  Branch (925:42): [True: 78, False: 0]
  |  Branch (925:56): [True: 78, False: 0]
  ------------------
  926|     78|		last_is_amp = 0;
  927|     84|	} else
  928|      0|	    last_is_amp = 0;
  929|     84|    }
  930|      4|    vmaxset(vmax);
  931|      4|    if (last_is_amp && timeout > 0)
  ------------------
  |  Branch (931:9): [True: 0, False: 4]
  |  Branch (931:24): [True: 0, False: 0]
  ------------------
  932|      0|	error("Timeout with background running processes is not supported.");
  ------------------
  |  |   88|      0|#define error Rf_error
  ------------------
  933|       |
  934|      4|    if (intern) { /* intern = TRUE */
  ------------------
  |  Branch (934:9): [True: 4, False: 0]
  ------------------
  935|      4|	FILE *fp;
  936|      4|	char *x = "r",
  937|      4|#ifdef HAVE_GETLINE
  938|      4|	    *buf = NULL;
  939|      4|	size_t buf_len = 0;
  940|       |#else
  941|       |	    buf[INTERN_BUFSIZE + MB_LEN_MAX],
  942|       |	    buf2[MB_LEN_MAX + 1]; /* overflow bytes from MBCS truncation */
  943|       |#endif
  944|      4|	int i, j, res;
  945|      4|	SEXP tchar, rval;
  946|       |
  947|      4|	PROTECT(tlist);
  ------------------
  |  |  357|      4|#define PROTECT(s)	Rf_protect(s)
  ------------------
  948|      4|	errno = 0; /* precaution */
  949|      4|	if (timeout == 0)
  ------------------
  |  Branch (949:6): [True: 4, False: 0]
  ------------------
  950|      4|	    fp = R_popen(cmd, x);
  951|      0|	else
  952|      0|	    fp = R_popen_timeout(cmd, x, timeout);
  953|      4|	if(!fp)
  ------------------
  |  Branch (953:5): [True: 0, False: 4]
  ------------------
  954|      0|	    cmdError(cmd, _("cannot popen '%s', probable reason '%s'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  955|      0|		     cmd, strerror(errno));
  956|      4|#ifdef HAVE_GETLINE
  957|      4|        size_t read;
  958|      8|        for(i = 0; (read = getline(&buf, &buf_len, fp)) != (size_t)-1; i++) {
  ------------------
  |  Branch (958:20): [True: 4, False: 4]
  ------------------
  959|      4|	    if (buf[read - 1] == '\n')
  ------------------
  |  Branch (959:10): [True: 4, False: 0]
  ------------------
  960|       |#else
  961|       |	size_t read = 0;
  962|       |	size_t truncb = 0; /* number of overflow bytes from MBCS truncation */
  963|       |	buf[0] = '\0';
  964|       |	for (i = 0; fgets(buf + truncb, INTERN_BUFSIZE, fp) || truncb; i++) {
  965|       |	    buf2[0] = '\0';
  966|       |	    read = strlen(buf);
  967|       |	    if (read >= INTERN_BUFSIZE - 1 + truncb) {
  968|       |		warning(_("line %d may be truncated in call to system(, intern = TRUE)"), i + 1);
  969|       |		/* save trailing bytes in buf2 in case they are from incomplete
  970|       |		   multi-byte character, and hence will be removed from buf by
  971|       |		   mbcsTruncateToValid */
  972|       |		memcpy(buf2, buf + read - MB_LEN_MAX, MB_LEN_MAX);
  973|       |		buf2[MB_LEN_MAX] = '\0';
  974|       |		mbcsTruncateToValid(buf);
  975|       |		truncb = read - strlen(buf);
  976|       |	    }
  977|       |	    else truncb = 0;
  978|       |
  979|       |	    if (read > 0 && buf[read-1] == '\n')
  980|       |#endif
  981|      4|		buf[read - 1] = '\0'; /* chop final CR */
  982|      4|	    tchar = mkChar(buf);
  ------------------
  |  |  998|      4|#define mkChar			Rf_mkChar
  ------------------
  983|      4|	    UNPROTECT(1);
  ------------------
  |  |  358|      4|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
  984|      4|	    PROTECT(tlist = CONS(tchar, tlist));
  ------------------
  |  |  357|      4|#define PROTECT(s)	Rf_protect(s)
  ------------------
  985|       |#ifndef HAVE_GETLINE
  986|       |	    if (truncb > 0 && truncb <= MB_LEN_MAX) 
  987|       |		/* recover overflow bytes and prepend them for next line */
  988|       |		strcpy(buf, buf2 + (MB_LEN_MAX - truncb));
  989|       |#endif
  990|      4|	}
  991|      4|#ifdef HAVE_GETLINE
  992|      4|        if (buf != NULL)
  ------------------
  |  Branch (992:13): [True: 4, False: 0]
  ------------------
  993|      4|          free(buf);
  994|      4|#endif
  995|      4|	if (timeout == 0)
  ------------------
  |  Branch (995:6): [True: 4, False: 0]
  ------------------
  996|      4|	    res = pclose(fp);
  997|      0|	else 
  998|      0|	    res = R_pclose_timeout(fp);
  999|       |
 1000|       |	/* On Solaris, pclose sometimes returns -1 and sets errno to ESPIPE
 1001|       |	   (Illegal seek). In that case, do_system reports 0 exit status and
 1002|       |	   displays a warning via warn_status. ESPIPE is not mentioned by
 1003|       |	   POSIX as possible outcome of pclose. */
 1004|       |
 1005|      4|#ifdef HAVE_SYS_WAIT_H
 1006|      4|	if (WIFEXITED(res)) res = WEXITSTATUS(res);
  ------------------
  |  Branch (1006:6): [True: 4, False: 0]
  ------------------
 1007|      0|	else res = 0;
 1008|       |#else
 1009|       |	/* assume that this is shifted if a multiple of 256 */
 1010|       |	if ((res % 256) == 0) res = res/256;
 1011|       |#endif
 1012|      4|	if ((res & 0xff)  == 127) {/* 127, aka -1 */
  ------------------
  |  Branch (1012:6): [True: 0, False: 4]
  ------------------
 1013|      0|	    if (errno)
  ------------------
  |  Branch (1013:10): [True: 0, False: 0]
  ------------------
 1014|      0|		cmdError(cmd, _("error in running command: '%s'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1015|      0|			 strerror(errno));
 1016|      0|	    else
 1017|      0|		cmdError(cmd, _("error in running command"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1018|      0|	}
 1019|       |
 1020|      4|	if (timeout && tost.timedout) {
  ------------------
  |  Branch (1020:6): [True: 0, False: 4]
  |  Branch (1020:17): [True: 0, False: 0]
  ------------------
 1021|      0|	    res = 124;
 1022|      0|	    warning(_("command '%s' timed out after %ds"), cmd, timeout);
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	    warning(_("command '%s' timed out after %ds"), cmd, timeout);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1023|      0|	} else
 1024|      4|	    warn_status(cmd, res);
 1025|       |
 1026|      4|	rval = PROTECT(allocVector(STRSXP, i));
  ------------------
  |  |  357|      4|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1027|      8|	for (j = (i - 1); j >= 0; j--) {
  ------------------
  |  Branch (1027:20): [True: 4, False: 4]
  ------------------
 1028|      4|	    SET_STRING_ELT(rval, j, CAR(tlist));
 1029|      4|	    tlist = CDR(tlist);
 1030|      4|	}
 1031|      4|	if(res) {
  ------------------
  |  Branch (1031:5): [True: 0, False: 4]
  ------------------
 1032|      0|	    SEXP lsym = install("status");
  ------------------
  |  |  934|      0|#define install			Rf_install
  ------------------
 1033|      0|	    setAttrib(rval, lsym, ScalarInteger(res));
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
              	    setAttrib(rval, lsym, ScalarInteger(res));
  ------------------
  |  | 1022|      0|#define ScalarInteger		Rf_ScalarInteger
  ------------------
 1034|      0|	    if(errno) {
  ------------------
  |  Branch (1034:9): [True: 0, False: 0]
  ------------------
 1035|      0|		lsym = install("errmsg");
  ------------------
  |  |  934|      0|#define install			Rf_install
  ------------------
 1036|      0|		setAttrib(rval, lsym, mkString(strerror(errno)));
  ------------------
  |  | 1027|      0|#define setAttrib		Rf_setAttrib
  ------------------
              		setAttrib(rval, lsym, mkString(strerror(errno)));
  ------------------
  |  | 1003|      0|#define mkString		Rf_mkString
  ------------------
 1037|      0|	    }
 1038|      0|	}
 1039|      4|	UNPROTECT(2);
  ------------------
  |  |  358|      4|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1040|      4|	return rval;
 1041|      4|    }
 1042|      0|    else { /* intern =  FALSE */
 1043|       |#ifdef HAVE_AQUA
 1044|       |	R_Busy(1);
 1045|       |#endif
 1046|      0|	tlist = PROTECT(allocVector(INTSXP, 1));
  ------------------
  |  |  357|      0|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1047|      0|	fflush(stdout);
 1048|      0|	int res;
 1049|       |	/* When running background processes (last_is_amp) in interactive mode,
 1050|       |	   Ctrl+C (SIGINT) should just interrupt the currently executing R
 1051|       |	   loop or cancel currently edited command, but it should not kill
 1052|       |	   the background processes (PR#17764). The C library system() runs
 1053|       |	   background processes as (orphaned) processes in the same process
 1054|       |	   group as R, so they receive SIGINT, and may terminate themselves
 1055|       |	   consequently, such as R itself used to. Applications that leave
 1056|       |	   the SIG_IGN disposition of SIGINT (set by system()) alone will not
 1057|       |	   be terminated.
 1058|       |
 1059|       |	   We hence use R_system_timeout (even without a real timeout), which
 1060|       |	   runs the task in a new process group, and hence does not receive
 1061|       |	   SIGINT as a result of Ctrl+C from R console. However, we only
 1062|       |	   use R_system_timeout in this case, because it has undesirable
 1063|       |	   consequences for job control (SIGTSTP, SIGCONT missed, so Ctrl+Z does
 1064|       |	   not suspend) and termination (SIGHUP missed, so terminal close does
 1065|       |	   not terminate).
 1066|       |
 1067|       |	   When running a background process (last_is_amp, normally via
 1068|       |	   wait=FALSE), which serves as an implementation of a foreground
 1069|       |	   operation (such as clusterApply()), one can use
 1070|       |	   receive.console.signals=TRUE to force the non-timeout
 1071|       |	   implementation. */
 1072|      0|	if (timeout == 0 && (!R_Interactive || !last_is_amp || consignals))
  ------------------
  |  Branch (1072:6): [True: 0, False: 0]
  |  Branch (1072:23): [True: 0, False: 0]
  |  Branch (1072:41): [True: 0, False: 0]
  |  Branch (1072:57): [True: 0, False: 0]
  ------------------
 1073|      0|	    res = R_system(cmd);
 1074|      0|	else 
 1075|      0|	    res = R_system_timeout(cmd, timeout);
 1076|      0|	if (res == 127) 
  ------------------
  |  Branch (1076:6): [True: 0, False: 0]
  ------------------
 1077|      0|	    warning(_("error in running command"));
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	    warning(_("error in running command"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1078|      0|	if (timeout && tost.timedout) {
  ------------------
  |  Branch (1078:6): [True: 0, False: 0]
  |  Branch (1078:17): [True: 0, False: 0]
  ------------------
 1079|      0|	    res = 124;
 1080|      0|	    warning(_("command '%s' timed out after %ds"), cmd, timeout);
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	    warning(_("command '%s' timed out after %ds"), cmd, timeout);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
 1081|      0|	} 
 1082|      0|	INTEGER(tlist)[0] = res;
 1083|       |#ifdef HAVE_AQUA
 1084|       |	R_Busy(0);
 1085|       |#endif
 1086|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1087|      0|	R_Visible = 0;
 1088|      0|	return tlist;
 1089|      0|    }
 1090|      4|}
do_sysinfo:
 1104|      4|{
 1105|      4|    SEXP ans, ansnames;
 1106|      4|    struct utsname name;
 1107|      4|    char *login;
 1108|       |
 1109|      4|    checkArity(op, args);
  ------------------
  |  | 1793|      4|#define checkArity(a,b) Rf_checkArityCall(a,b,call)
  ------------------
 1110|      4|    PROTECT(ans = allocVector(STRSXP, 8));
  ------------------
  |  |  357|      4|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1111|      4|    if(uname(&name) == -1) {
  ------------------
  |  Branch (1111:8): [True: 0, False: 4]
  ------------------
 1112|      0|	UNPROTECT(1);
  ------------------
  |  |  358|      0|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1113|      0|	return R_NilValue;
 1114|      0|    }
 1115|      4|    SET_STRING_ELT(ans, 0, mkChar(name.sysname));
  ------------------
  |  |  998|      4|#define mkChar			Rf_mkChar
  ------------------
 1116|      4|    SET_STRING_ELT(ans, 1, mkChar(name.release));
  ------------------
  |  |  998|      4|#define mkChar			Rf_mkChar
  ------------------
 1117|      4|    SET_STRING_ELT(ans, 2, mkChar(name.version));
  ------------------
  |  |  998|      4|#define mkChar			Rf_mkChar
  ------------------
 1118|      4|    SET_STRING_ELT(ans, 3, mkChar(name.nodename));
  ------------------
  |  |  998|      4|#define mkChar			Rf_mkChar
  ------------------
 1119|      4|    SET_STRING_ELT(ans, 4, mkChar(name.machine));
  ------------------
  |  |  998|      4|#define mkChar			Rf_mkChar
  ------------------
 1120|      4|    login = getlogin();
 1121|      4|    SET_STRING_ELT(ans, 5, login ? mkChar(login) : mkChar("unknown"));
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
                  SET_STRING_ELT(ans, 5, login ? mkChar(login) : mkChar("unknown"));
  ------------------
  |  |  998|      4|#define mkChar			Rf_mkChar
  ------------------
  |  Branch (1121:28): [True: 0, False: 4]
  ------------------
 1122|      4|#if defined(HAVE_PWD_H) && defined(HAVE_GETPWUID) && defined(HAVE_GETUID)
 1123|      4|    {
 1124|      4|	struct passwd *stpwd;
 1125|      4|	stpwd = getpwuid(getuid());
 1126|      4|	SET_STRING_ELT(ans, 6, stpwd ? mkChar(stpwd->pw_name) : mkChar("unknown"));
  ------------------
  |  |  998|      4|#define mkChar			Rf_mkChar
  ------------------
              	SET_STRING_ELT(ans, 6, stpwd ? mkChar(stpwd->pw_name) : mkChar("unknown"));
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
  |  Branch (1126:25): [True: 4, False: 0]
  ------------------
 1127|      4|    }
 1128|       |#else
 1129|       |    SET_STRING_ELT(ans, 6, mkChar("unknown"));
 1130|       |#endif
 1131|      4|#if defined(HAVE_PWD_H) && defined(HAVE_GETPWUID) && defined(HAVE_GETEUID)
 1132|      4|    {
 1133|      4|	struct passwd *stpwd;
 1134|      4|	stpwd = getpwuid(geteuid());
 1135|      4|	SET_STRING_ELT(ans, 7, stpwd ? mkChar(stpwd->pw_name) : mkChar("unknown"));
  ------------------
  |  |  998|      4|#define mkChar			Rf_mkChar
  ------------------
              	SET_STRING_ELT(ans, 7, stpwd ? mkChar(stpwd->pw_name) : mkChar("unknown"));
  ------------------
  |  |  998|      0|#define mkChar			Rf_mkChar
  ------------------
  |  Branch (1135:25): [True: 4, False: 0]
  ------------------
 1136|      4|    }
 1137|       |#else
 1138|       |    SET_STRING_ELT(ans, 7, mkChar("unknown"));
 1139|       |#endif
 1140|      4|    PROTECT(ansnames = allocVector(STRSXP, 8));
  ------------------
  |  |  357|      4|#define PROTECT(s)	Rf_protect(s)
  ------------------
 1141|      4|    SET_STRING_ELT(ansnames, 0, mkChar("sysname"));
  ------------------
  |  |  998|      4|#define mkChar			Rf_mkChar
  ------------------
 1142|      4|    SET_STRING_ELT(ansnames, 1, mkChar("release"));
  ------------------
  |  |  998|      4|#define mkChar			Rf_mkChar
  ------------------
 1143|      4|    SET_STRING_ELT(ansnames, 2, mkChar("version"));
  ------------------
  |  |  998|      4|#define mkChar			Rf_mkChar
  ------------------
 1144|      4|    SET_STRING_ELT(ansnames, 3, mkChar("nodename"));
  ------------------
  |  |  998|      4|#define mkChar			Rf_mkChar
  ------------------
 1145|      4|    SET_STRING_ELT(ansnames, 4, mkChar("machine"));
  ------------------
  |  |  998|      4|#define mkChar			Rf_mkChar
  ------------------
 1146|      4|    SET_STRING_ELT(ansnames, 5, mkChar("login"));
  ------------------
  |  |  998|      4|#define mkChar			Rf_mkChar
  ------------------
 1147|      4|    SET_STRING_ELT(ansnames, 6, mkChar("user"));
  ------------------
  |  |  998|      4|#define mkChar			Rf_mkChar
  ------------------
 1148|      4|    SET_STRING_ELT(ansnames, 7, mkChar("effective_user"));
  ------------------
  |  |  998|      4|#define mkChar			Rf_mkChar
  ------------------
 1149|      4|    setAttrib(ans, R_NamesSymbol, ansnames);
  ------------------
  |  | 1027|      4|#define setAttrib		Rf_setAttrib
  ------------------
 1150|      4|    UNPROTECT(2);
  ------------------
  |  |  358|      4|#define UNPROTECT(n)	Rf_unprotect(n)
  ------------------
 1151|      4|    return ans;
 1152|      4|}
R_ProcessEvents:
 1169|  3.38M|{
 1170|       |#ifdef HAVE_AQUA
 1171|       |    /* disable ProcessEvents in child,
 1172|       |       since we can't call CoreFoundation there. */
 1173|       |    if (ptr_R_ProcessEvents && !R_isForkedChild) ptr_R_ProcessEvents();
 1174|       |#else
 1175|       |    /* We might in due course want to always inhibit in a child */
 1176|  3.38M|    if (ptr_R_ProcessEvents) ptr_R_ProcessEvents();
  ------------------
  |  Branch (1176:9): [True: 0, False: 3.38M]
  ------------------
 1177|  3.38M|#endif
 1178|  3.38M|    R_PolledEvents();
 1179|  3.38M|    if (cpuLimit > 0.0 || elapsedLimit > 0.0)
  ------------------
  |  Branch (1179:9): [True: 0, False: 3.38M]
  |  Branch (1179:27): [True: 0, False: 3.38M]
  ------------------
 1180|      0|	R_CheckTimeLimits();
 1181|  3.38M|}
fpu_setup:
 1205|      2|{
 1206|      2|    if (start) {
  ------------------
  |  Branch (1206:9): [True: 2, False: 0]
  ------------------
 1207|       |#ifdef __FreeBSD__
 1208|       |    fpsetmask(0);
 1209|       |#endif
 1210|       |
 1211|       |#if (defined(__i386) || defined(__x86_64)) && defined(__INTEL_COMPILER) && __INTEL_COMPILER > 800
 1212|       |    _MM_SET_FLUSH_ZERO_MODE(_MM_FLUSH_ZERO_OFF);
 1213|       |    _MM_SET_DENORMALS_ZERO_MODE(_MM_DENORMALS_ZERO_OFF);
 1214|       |#endif
 1215|       |
 1216|       |#if defined(__ARM_ARCH) && defined(__ARM_32BIT_STATE) && defined(__ARM_FP)
 1217|       |    uint32_t fpscr;
 1218|       |
 1219|       |    __asm__ volatile("vmrs %0, fpscr" : "=r"(fpscr));
 1220|       |    /* clear/disable DN (default NaN) and FZ (flush to zero) bits */
 1221|       |    fpscr = fpscr & 0xfcffffff;
 1222|       |    __asm__ volatile("vmsr fpscr, %0" : : "r"(fpscr));
 1223|       |#elif defined(__ARM_ARCH) && defined(__ARM_64BIT_STATE) && defined(__ARM_FP)
 1224|       |    uint64_t fpcr;
 1225|       |
 1226|       |    __asm__ volatile("mrs %0, fpcr" : "=r"(fpcr));
 1227|       |    /* clear/disable DN (default NaN) and FZ (flush to zero) bits */
 1228|       |    fpcr = fpcr & 0xfffffffffcffffff;
 1229|       |    __asm__ volatile("msr fpcr, %0" : : "r"(fpcr));
 1230|       |#endif
 1231|      2|    } else {
 1232|       |#ifdef __FreeBSD__
 1233|       |    fpsetmask(~0);
 1234|       |#endif
 1235|      0|    }
 1236|      2|}
sys-unix.c:warn_status:
  853|      4|{
  854|      4|    if (!res)
  ------------------
  |  Branch (854:9): [True: 4, False: 0]
  ------------------
  855|      4|	return;
  856|       |
  857|      0|    if (errno)
  ------------------
  |  Branch (857:9): [True: 0, False: 0]
  ------------------
  858|       |	/* FIXME: TK: non-zero errno is a sign of an error only when
  859|       |	   a function that modified it also signals an error by its
  860|       |	   return value, usually -1 or EOF. We should not be reporting
  861|       |	   an error here (CERT ERR30-C).*/
  862|       |	/* on Solaris, if the command ends with non-zero status and timeout
  863|       |	   is 0, "Illegal seek" error is reported; the timeout version
  864|       |	   works this around by restoring errno on success */
  865|      0|	warning(_("running command '%s' had status %d and error message '%s'"),
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	warning(_("running command '%s' had status %d and error message '%s'"),
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  866|      0|		cmd, res, strerror(errno));
  867|      0|    else
  868|      0|	warning(_("running command '%s' had status %d"), cmd, res);
  ------------------
  |  |   89|      0|#define warning Rf_warning
  ------------------
              	warning(_("running command '%s' had status %d"), cmd, res);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  869|      0|}

R_ResetConsole:
   79|  3.07k|void R_ResetConsole(void) { ptr_R_ResetConsole(); }
R_FlushConsole:
   81|  3.07k|void R_FlushConsole(void) { ptr_R_FlushConsole(); }
R_ClearerrConsole:
   83|  3.07k|void R_ClearerrConsole(void) { ptr_R_ClearerrConsole(); }
R_setupHistory:
  120|      2|{
  121|      2|    int value, ierr;
  122|      2|    char *p;
  123|       |
  124|      2|    if ((R_HistoryFile = getenv("R_HISTFILE")) == NULL)
  ------------------
  |  Branch (124:9): [True: 2, False: 0]
  ------------------
  125|      2|	R_HistoryFile = ".Rhistory";
  126|      2|    R_HistorySize = 512;
  127|      2|    if ((p = getenv("R_HISTSIZE"))) {
  ------------------
  |  Branch (127:9): [True: 0, False: 2]
  ------------------
  128|      0|	value = (int) R_Decode2Long(p, &ierr);
  129|      0|	if (ierr != 0 || value < 0)
  ------------------
  |  Branch (129:6): [True: 0, False: 0]
  |  Branch (129:19): [True: 0, False: 0]
  ------------------
  130|      0|	    R_ShowMessage("WARNING: invalid R_HISTSIZE ignored;");
  131|      0|	else
  132|      0|	    R_HistorySize = value;
  133|      0|    }
  134|      2|}
Rf_initialize_R:
  191|      2|{
  192|      2|    int i, ioff = 1, j;
  193|      2|    Rboolean useX11 = TRUE, useTk = FALSE;
  194|      2|    char *p, msg[MSGSIZE], cmdlines[10000], **avv;
  195|      2|    structRstart rstart;
  196|      2|    Rstart Rp = &rstart;
  197|      2|    Rboolean force_interactive = FALSE;
  198|       |
  199|      2|    if (num_initialized++) {
  ------------------
  |  Branch (199:9): [True: 0, False: 2]
  ------------------
  200|      0|	fprintf(stderr, "%s", "R is already initialized\n");
  201|      0|	exit(1);
  202|      0|    }
  203|       |
  204|       |
  205|      2|#if defined(HAVE_SYS_RESOURCE_H) && defined(HAVE_GETRLIMIT)
  206|      2|{
  207|       |    /* getrlimit is POSIX:
  208|       |       https://pubs.opengroup.org/onlinepubs/9699919799/functions/getrlimit.html
  209|       |    */
  210|      2|    struct rlimit rlim;
  211|       |
  212|      2|    R_CStackDir = C_STACK_DIRECTION;
  ------------------
  |  |   14|      2|#define C_STACK_DIRECTION 1
  ------------------
  213|       |    
  214|       |
  215|      2|    if(getrlimit(RLIMIT_STACK, &rlim) == 0) {
  ------------------
  |  Branch (215:8): [True: 2, False: 0]
  ------------------
  216|       |	/* 'unlimited' is represented by RLIM_INFINITY, which is a
  217|       |	   very large (but maybe not the largest) representable value.
  218|       |
  219|       |	   The standard allows the values RLIM_SAVED_CUR and
  220|       |	   RLIB_SAVED_MAX, apparently used on 32-bit AIX.  
  221|       |	   (http://www.ibm.com/support/knowledgecenter/ssw_aix_61/com.ibm.aix.basetrf1/getrlimit_64.htm)
  222|       |
  223|       |	   These may or may not be different from RLIM_INFINITY (they
  224|       |	   are the same on Linux and macOS but not Solaris where they
  225|       |	   are larger).  We will assume that unrepresentable limits
  226|       |	   are very large.
  227|       |
  228|       |	   This is cautious: it is extremely unlikely that the soft
  229|       |	   limit is either unlimited or unrepresentable.
  230|       |	*/
  231|      2|	rlim_t lim = rlim.rlim_cur;
  232|      2|#if defined(RLIM_SAVED_CUR) && defined(RLIM_SAVED_MAX)
  233|      2|	if (lim == RLIM_SAVED_CUR || lim == RLIM_SAVED_MAX) 
  ------------------
  |  Branch (233:6): [True: 0, False: 2]
  |  Branch (233:31): [True: 0, False: 2]
  ------------------
  234|      0|	    lim = RLIM_INFINITY;
  235|      2|#endif
  236|      2|	if (lim != RLIM_INFINITY) R_CStackLimit = (uintptr_t) lim;
  ------------------
  |  Branch (236:6): [True: 2, False: 0]
  ------------------
  237|      2|    }
  238|      2|#if defined(HAVE_LIBC_STACK_END)
  239|      2|    {
  240|      2|	R_CStackStart = (uintptr_t) __libc_stack_end;
  241|       |	/* The libc stack end is not exactly at the stack start, so one
  242|       |	   cannot access __libc_stack_end - R_CStackLimit/getrlimit + 1. We
  243|       |	   have to find the real stack start that matches getrlimit.
  244|       |
  245|       |	   A modern alternative to __libc_stack_end and to parsing /proc/maps
  246|       |	   directly is pthread_getattr_np; it doesn't provide the exact stack
  247|       |	   start, either, but provides a matching stack size smaller than 
  248|       |	   the one obtained from getrlimit. However, pthread_getattr_np
  249|       |	   may have not worked properly on old Linux distributions. */
  250|       |	
  251|       |	/* based on GDB relocatable.c */
  252|      2|	FILE *f;
  253|      2|	f = fopen("/proc/self/maps", "r");
  254|      2|	if (f) {
  ------------------
  |  Branch (254:6): [True: 2, False: 0]
  ------------------
  255|    340|	    for(;;) {
  256|    340|		int c;
  257|    340|		unsigned long start, end;
  258|       |
  259|    340|		if (fscanf(f, "%lx-%lx", &start, &end) == 2 &&
  ------------------
  |  Branch (259:7): [True: 340, False: 0]
  ------------------
  260|    340|		    R_CStackStart >= (uintptr_t)start &&
  ------------------
  |  Branch (260:7): [True: 340, False: 0]
  ------------------
  261|    340|		    R_CStackStart < (uintptr_t)end) {
  ------------------
  |  Branch (261:7): [True: 2, False: 338]
  ------------------
  262|       |		    
  263|       |		    /* would this be ok for R_CStackDir == -1? */
  264|      2|		    R_CStackStart = (uintptr_t) ((R_CStackDir == 1) ? end : start);
  ------------------
  |  Branch (264:36): [True: 2, False: 0]
  ------------------
  265|      2|		    break;
  266|      2|		}
  267|  31.8k|		for(c = getc(f); c != '\n' && c != EOF; c = getc(f));
  ------------------
  |  Branch (267:20): [True: 31.5k, False: 338]
  |  Branch (267:33): [True: 31.5k, False: 0]
  ------------------
  268|    338|		if (c == EOF) {
  ------------------
  |  Branch (268:7): [True: 0, False: 338]
  ------------------
  269|       |		    /* could also abort here, but R will usually work with
  270|       |		       R_CStackStart set just for __libc_stack_end */
  271|      0|		    fprintf(stderr, "WARNING: Error parsing /proc/self/maps!\n");
  272|      0|		    break;
  273|      0|		}
  274|    338|	    }
  275|      2|	    fclose(f);
  276|      2|	}
  277|      2|    }
  278|       |#elif defined(HAVE_KERN_USRSTACK)
  279|       |    {
  280|       |	/* Borrowed from mzscheme/gc/os_dep.c */
  281|       |	int nm[2] = {CTL_KERN, KERN_USRSTACK};
  282|       |	void * base;
  283|       |	size_t len = sizeof(void *);
  284|       |	(void) sysctl(nm, 2, &base, &len, NULL, 0);
  285|       |	R_CStackStart = (uintptr_t) base;
  286|       |    }
  287|       |#elif defined(HAVE_THR_STKSEGMENT)
  288|       |    {
  289|       |	/* Solaris */
  290|       |	stack_t stack;
  291|       |	if (thr_stksegment(&stack))
  292|       |	    R_Suicide("Cannot obtain stack information (thr_stksegment).");
  293|       |	R_CStackStart = (uintptr_t) stack.ss_sp;
  294|       |	/* This _may_ have to be adjusted for a (perhaps theoretical) platform
  295|       |	   where the stack would grow upwards.
  296|       |
  297|       |	   The stack size could be updated based on stack.ss_size, but experiments
  298|       |	   suggest getrlimit is safe here. */
  299|       |    }
  300|       |#else
  301|       |    if(R_running_as_main_program) {
  302|       |	/* This is not the main program, but unless embedded it is
  303|       |	   near the top, 5540 bytes away when checked. */
  304|       |	R_CStackStart = (uintptr_t) &i + (6000 * R_CStackDir);
  305|       |    }
  306|       |#endif
  307|      2|    if(R_CStackStart == (uintptr_t)(-1)) R_CStackLimit = (uintptr_t)(-1); /* never set */
  ------------------
  |  Branch (307:8): [True: 0, False: 2]
  ------------------
  308|       |
  309|       |    /* setup_Rmainloop includes (disabled) code to test stack detection */
  310|      2|}
  311|      2|#endif
  312|       |
  313|      2|    ptr_R_Suicide = Rstd_Suicide;
  314|      2|    ptr_R_ShowMessage = Rstd_ShowMessage;
  315|      2|    ptr_R_ReadConsole = Rstd_ReadConsole;
  316|      2|    ptr_R_WriteConsole = Rstd_WriteConsole;
  317|      2|    ptr_R_ResetConsole = Rstd_ResetConsole;
  318|      2|    ptr_R_FlushConsole = Rstd_FlushConsole;
  319|      2|    ptr_R_ClearerrConsole = Rstd_ClearerrConsole;
  320|      2|    ptr_R_Busy = Rstd_Busy;
  321|      2|    ptr_R_CleanUp = Rstd_CleanUp;
  322|      2|    ptr_R_ShowFiles = Rstd_ShowFiles;
  323|      2|    ptr_R_ChooseFile = Rstd_ChooseFile;
  324|      2|    ptr_R_loadhistory = Rstd_loadhistory;
  325|      2|    ptr_R_savehistory = Rstd_savehistory;
  326|      2|    ptr_R_addhistory = Rstd_addhistory;
  327|      2|    ptr_R_EditFile = NULL; /* for future expansion */
  328|      2|    R_timeout_handler = NULL;
  329|      2|    R_timeout_val = 0;
  330|       |
  331|      2|    R_GlobalContext = NULL; /* Make R_Suicide less messy... */
  332|       |
  333|      2|    if((R_Home = R_HomeDir()) == NULL)
  ------------------
  |  Branch (333:8): [True: 0, False: 2]
  ------------------
  334|      0|	R_Suicide("R home directory is not defined");
  335|      2|    BindDomain(R_Home);
  ------------------
  |  | 1870|      2|# define BindDomain		Rf_BindDomain
  ------------------
  336|       |
  337|      2|    process_system_Renviron();
  338|       |
  339|      2|    R_setStartTime();
  340|      2|    R_DefParamsEx(Rp, RSTART_VERSION);
  ------------------
  |  |   47|      2|#define RSTART_VERSION 1 /* version 1 introduced in R 4.2.0 */
  ------------------
  341|       |    /* Store the command line arguments before they are processed
  342|       |       by the R option handler.
  343|       |     */
  344|      2|    R_set_command_line_arguments(ac, av);
  345|      2|    cmdlines[0] = '\0';
  346|       |
  347|       |    /* first task is to select the GUI.
  348|       |       If run from the shell script, only Tk|tk|X11|x11 are allowed.
  349|       |     */
  350|     10|    for(i = 0, avv = av; i < ac; i++, avv++) {
  ------------------
  |  Branch (350:26): [True: 8, False: 2]
  ------------------
  351|      8|	if (!strcmp(*avv, "--args"))
  ------------------
  |  Branch (351:6): [True: 0, False: 8]
  ------------------
  352|      0|	    break;
  353|      8|	if(!strncmp(*avv, "--gui", 5) || !strncmp(*avv, "-g", 2)) {
  ------------------
  |  Branch (353:5): [True: 0, False: 8]
  |  Branch (353:35): [True: 0, False: 8]
  ------------------
  354|      0|	    if(!strncmp(*avv, "--gui", 5) && strlen(*avv) >= 7)
  ------------------
  |  Branch (354:9): [True: 0, False: 0]
  |  Branch (354:39): [True: 0, False: 0]
  ------------------
  355|      0|		p = &(*avv)[6];
  356|      0|	    else {
  357|      0|		if(i+1 < ac) {
  ------------------
  |  Branch (357:6): [True: 0, False: 0]
  ------------------
  358|      0|		    avv++; p = *avv; ioff++;
  359|      0|		} else {
  360|      0|		    snprintf(msg, MSGSIZE,
  ------------------
  |  |  189|      0|#define MSGSIZE R_PATH_MAX + 128
  |  |  ------------------
  |  |  |  | 1150|      0|# define R_PATH_MAX PATH_MAX
  |  |  ------------------
  ------------------
  361|      0|			    _("WARNING: --gui or -g without value ignored"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  362|      0|		    R_ShowMessage(msg);
  363|      0|		    p = "X11";
  364|      0|		}
  365|      0|	    }
  366|      0|	    if(!strcmp(p, "none"))
  ------------------
  |  Branch (366:9): [True: 0, False: 0]
  ------------------
  367|      0|		useX11 = FALSE; // not allowed from R.sh
  368|       |#ifdef HAVE_AQUA
  369|       |	    else if(!strcmp(p, "aqua"))
  370|       |		useaqua = TRUE; // not allowed from R.sh but used by R.app
  371|       |#endif
  372|      0|	    else if(!strcmp(p, "X11") || !strcmp(p, "x11"))
  ------------------
  |  Branch (372:14): [True: 0, False: 0]
  |  Branch (372:35): [True: 0, False: 0]
  ------------------
  373|      0|		useX11 = TRUE;
  374|      0|	    else if(!strcmp(p, "Tk") || !strcmp(p, "tk"))
  ------------------
  |  Branch (374:14): [True: 0, False: 0]
  |  Branch (374:34): [True: 0, False: 0]
  ------------------
  375|      0|		useTk = TRUE;
  376|      0|	    else {
  377|       |#ifdef HAVE_X11
  378|       |		snprintf(msg, MSGSIZE,
  379|       |			 _("WARNING: unknown gui '%s', using X11\n"), p);
  380|       |#else
  381|      0|		snprintf(msg, MSGSIZE,
  ------------------
  |  |  189|      0|#define MSGSIZE R_PATH_MAX + 128
  |  |  ------------------
  |  |  |  | 1150|      0|# define R_PATH_MAX PATH_MAX
  |  |  ------------------
  ------------------
  382|      0|			 _("WARNING: unknown gui '%s', using none\n"), p);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  383|      0|#endif
  384|      0|		R_ShowMessage(msg);
  385|      0|	    }
  386|       |	    /* now remove it/them */
  387|      0|	    for(j = i; j < ac - ioff; j++)
  ------------------
  |  Branch (387:17): [True: 0, False: 0]
  ------------------
  388|      0|		av[j] = av[j + ioff];
  389|      0|	    ac -= ioff;
  390|      0|	    break;
  391|      0|	}
  392|      8|    }
  393|       |
  394|       |#ifdef HAVE_X11
  395|       |    if(useX11) R_GUIType = "X11";
  396|       |#endif /* HAVE_X11 */
  397|       |
  398|       |#ifdef HAVE_AQUA
  399|       |    if(useaqua) R_GUIType = "AQUA";
  400|       |#endif
  401|       |
  402|       |#ifdef HAVE_TCLTK
  403|       |    if(useTk) R_GUIType = "Tk";
  404|       |#endif
  405|       |
  406|      2|    R_common_command_line(&ac, av, Rp);
  407|      2|    while (--ac) {
  ------------------
  |  Branch (407:12): [True: 0, False: 2]
  ------------------
  408|      0|	if (**++av == '-') {
  ------------------
  |  Branch (408:6): [True: 0, False: 0]
  ------------------
  409|      0|	    if(!strcmp(*av, "--no-readline")) {
  ------------------
  |  Branch (409:9): [True: 0, False: 0]
  ------------------
  410|      0|		UsingReadline = FALSE;
  411|      0|	    } else if(!strcmp(*av, "-f")) {
  ------------------
  |  Branch (411:16): [True: 0, False: 0]
  ------------------
  412|      0|		ac--; av++;
  413|      0|#define R_INIT_TREAT_F(_AV_)						\
  414|      0|		Rp->R_Interactive = FALSE;				\
  415|      0|		if(strcmp(_AV_, "-")) {					\
  416|      0|		    if(strlen(_AV_) >= R_PATH_MAX) {			\
  417|      0|			snprintf(msg, MSGSIZE,				\
  418|      0|				 _("path given in -f/--file is too long"));	\
  419|      0|			R_Suicide(msg);					\
  420|      0|		    }							\
  421|      0|		    char path[R_PATH_MAX], *p = path;			\
  422|      0|		    p = unescape_arg(p, _AV_);				\
  423|      0|		    *p = '\0';						\
  424|      0|		    ifp = R_fopen(path, "r");				\
  425|      0|		    if(!ifp) {						\
  426|      0|			snprintf(msg, MSGSIZE,				\
  427|      0|				 _("cannot open file '%s': %s"),	\
  428|      0|				 path, strerror(errno));		\
  429|      0|			R_Suicide(msg);					\
  430|      0|		    }							\
  431|      0|		}
  432|      0|		R_INIT_TREAT_F(*av);
  ------------------
  |  |  414|      0|		Rp->R_Interactive = FALSE;				\
  |  |  415|      0|		if(strcmp(_AV_, "-")) {					\
  |  |  ------------------
  |  |  |  Branch (415:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  416|      0|		    if(strlen(_AV_) >= R_PATH_MAX) {			\
  |  |  ------------------
  |  |  |  | 1150|      0|# define R_PATH_MAX PATH_MAX
  |  |  ------------------
  |  |  |  Branch (416:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  417|      0|			snprintf(msg, MSGSIZE,				\
  |  |  ------------------
  |  |  |  |  189|      0|#define MSGSIZE R_PATH_MAX + 128
  |  |  |  |  ------------------
  |  |  |  |  |  | 1150|      0|# define R_PATH_MAX PATH_MAX
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  418|      0|				 _("path given in -f/--file is too long"));	\
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  |  419|      0|			R_Suicide(msg);					\
  |  |  420|      0|		    }							\
  |  |  421|      0|		    char path[R_PATH_MAX], *p = path;			\
  |  |  422|      0|		    p = unescape_arg(p, _AV_);				\
  |  |  423|      0|		    *p = '\0';						\
  |  |  424|      0|		    ifp = R_fopen(path, "r");				\
  |  |  425|      0|		    if(!ifp) {						\
  |  |  ------------------
  |  |  |  Branch (425:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  426|      0|			snprintf(msg, MSGSIZE,				\
  |  |  ------------------
  |  |  |  |  189|      0|#define MSGSIZE R_PATH_MAX + 128
  |  |  |  |  ------------------
  |  |  |  |  |  | 1150|      0|# define R_PATH_MAX PATH_MAX
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  427|      0|				 _("cannot open file '%s': %s"),	\
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  |  428|      0|				 path, strerror(errno));		\
  |  |  429|      0|			R_Suicide(msg);					\
  |  |  430|      0|		    }							\
  |  |  431|      0|		}
  ------------------
  433|       |
  434|      0|	    } else if(!strncmp(*av, "--file=", 7)) {
  ------------------
  |  Branch (434:16): [True: 0, False: 0]
  ------------------
  435|       |
  436|      0|		R_INIT_TREAT_F((*av)+7);
  ------------------
  |  |  414|      0|		Rp->R_Interactive = FALSE;				\
  |  |  415|      0|		if(strcmp(_AV_, "-")) {					\
  |  |  ------------------
  |  |  |  Branch (415:6): [True: 0, False: 0]
  |  |  ------------------
  |  |  416|      0|		    if(strlen(_AV_) >= R_PATH_MAX) {			\
  |  |  ------------------
  |  |  |  | 1150|      0|# define R_PATH_MAX PATH_MAX
  |  |  ------------------
  |  |  |  Branch (416:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  417|      0|			snprintf(msg, MSGSIZE,				\
  |  |  ------------------
  |  |  |  |  189|      0|#define MSGSIZE R_PATH_MAX + 128
  |  |  |  |  ------------------
  |  |  |  |  |  | 1150|      0|# define R_PATH_MAX PATH_MAX
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  418|      0|				 _("path given in -f/--file is too long"));	\
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  |  419|      0|			R_Suicide(msg);					\
  |  |  420|      0|		    }							\
  |  |  421|      0|		    char path[R_PATH_MAX], *p = path;			\
  |  |  422|      0|		    p = unescape_arg(p, _AV_);				\
  |  |  423|      0|		    *p = '\0';						\
  |  |  424|      0|		    ifp = R_fopen(path, "r");				\
  |  |  425|      0|		    if(!ifp) {						\
  |  |  ------------------
  |  |  |  Branch (425:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  426|      0|			snprintf(msg, MSGSIZE,				\
  |  |  ------------------
  |  |  |  |  189|      0|#define MSGSIZE R_PATH_MAX + 128
  |  |  |  |  ------------------
  |  |  |  |  |  | 1150|      0|# define R_PATH_MAX PATH_MAX
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  427|      0|				 _("cannot open file '%s': %s"),	\
  |  |  ------------------
  |  |  |  | 2536|      0|#   define _(String) gettext (String)
  |  |  ------------------
  |  |  428|      0|				 path, strerror(errno));		\
  |  |  429|      0|			R_Suicide(msg);					\
  |  |  430|      0|		    }							\
  |  |  431|      0|		}
  ------------------
  437|       |
  438|      0|	    } else if(!strcmp(*av, "-e")) {
  ------------------
  |  Branch (438:16): [True: 0, False: 0]
  ------------------
  439|      0|		ac--; av++;
  440|      0|		Rp->R_Interactive = FALSE;
  441|      0|		if(strlen(cmdlines) + strlen(*av) + 2 <= 10000) {
  ------------------
  |  Branch (441:6): [True: 0, False: 0]
  ------------------
  442|      0|		    char *p = cmdlines+strlen(cmdlines);
  443|      0|		    p = unescape_arg(p, *av);
  444|      0|		    *p++ = '\n'; *p = '\0';
  445|      0|		} else {
  446|      0|		    snprintf(msg, MSGSIZE, _("WARNING: '-e %s' omitted as input is too long\n"), *av);
  ------------------
  |  |  189|      0|#define MSGSIZE R_PATH_MAX + 128
  |  |  ------------------
  |  |  |  | 1150|      0|# define R_PATH_MAX PATH_MAX
  |  |  ------------------
  ------------------
              		    snprintf(msg, MSGSIZE, _("WARNING: '-e %s' omitted as input is too long\n"), *av);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  447|      0|		    R_ShowMessage(msg);
  448|      0|		}
  449|      0|	    } else if(!strcmp(*av, "--args")) {
  ------------------
  |  Branch (449:16): [True: 0, False: 0]
  ------------------
  450|      0|		break;
  451|      0|	    } else if(!strcmp(*av, "--interactive")) {
  ------------------
  |  Branch (451:16): [True: 0, False: 0]
  ------------------
  452|      0|		force_interactive = TRUE;
  453|      0|		break;
  454|      0|	    } else {
  455|       |#ifdef HAVE_AQUA
  456|       |		// r27492: in 2003 launching from 'Finder OSX' passed this
  457|       |		if(!strncmp(*av, "-psn", 4)) break; else
  458|       |#endif
  459|      0|		snprintf(msg, MSGSIZE, _("WARNING: unknown option '%s'\n"), *av);
  ------------------
  |  |  189|      0|#define MSGSIZE R_PATH_MAX + 128
  |  |  ------------------
  |  |  |  | 1150|      0|# define R_PATH_MAX PATH_MAX
  |  |  ------------------
  ------------------
              		snprintf(msg, MSGSIZE, _("WARNING: unknown option '%s'\n"), *av);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  460|      0|		R_ShowMessage(msg);
  461|      0|	    }
  462|      0|	} else {
  463|      0|	    snprintf(msg, MSGSIZE, _("ARGUMENT '%s' __ignored__\n"), *av);
  ------------------
  |  |  189|      0|#define MSGSIZE R_PATH_MAX + 128
  |  |  ------------------
  |  |  |  | 1150|      0|# define R_PATH_MAX PATH_MAX
  |  |  ------------------
  ------------------
              	    snprintf(msg, MSGSIZE, _("ARGUMENT '%s' __ignored__\n"), *av);
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  464|      0|	    R_ShowMessage(msg);
  465|      0|	}
  466|      0|    }
  467|       |
  468|      2|    if(strlen(cmdlines)) { /* had at least one -e option */
  ------------------
  |  Branch (468:8): [True: 0, False: 2]
  ------------------
  469|      0|	size_t res;
  470|      0|	char *tm;
  471|      0|	static char ifile[R_PATH_MAX] = "\0";
  472|      0|	int ifd;
  473|       |
  474|      0|	if(ifp) R_Suicide(_("cannot use -e with -f or --file"));    
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (474:5): [True: 0, False: 0]
  ------------------
  475|       |	/* tmpfile() does not respect TMPDIR on some systems (PR#17925).
  476|       |	   R_TempDir is not initialized, yet. */
  477|      0|	tm = getenv("TMPDIR");
  478|      0|	if (!R_isWriteableDir(tm)) {
  ------------------
  |  Branch (478:6): [True: 0, False: 0]
  ------------------
  479|      0|	    tm = getenv("TMP");
  480|      0|	    if (!R_isWriteableDir(tm)) {
  ------------------
  |  Branch (480:10): [True: 0, False: 0]
  ------------------
  481|      0|		tm = getenv("TEMP");
  482|      0|		if (!R_isWriteableDir(tm))
  ------------------
  |  Branch (482:7): [True: 0, False: 0]
  ------------------
  483|      0|		    tm = "/tmp";
  484|      0|	    }
  485|      0|	}
  486|      0|	snprintf(ifile, R_PATH_MAX, "%s/Rscript%x.XXXXXX", tm, getpid());
  ------------------
  |  | 1150|      0|# define R_PATH_MAX PATH_MAX
  ------------------
  487|      0|	ifd = mkstemp(ifile);
  488|      0|	if (ifd >= 0) /* -1 on error, can be 0 if stdin is closed */
  ------------------
  |  Branch (488:6): [True: 0, False: 0]
  ------------------
  489|      0|	    ifp = fdopen(ifd, "w+");
  490|      0|	if(!ifp) R_Suicide(_("creating temporary file for '-e' failed"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  |  Branch (490:5): [True: 0, False: 0]
  ------------------
  491|      0|	unlink(ifile);
  492|      0|	res = fwrite(cmdlines, 1, strlen(cmdlines), ifp);
  493|      0|	if(res != strlen(cmdlines)) R_Suicide("fwrite error in initialize_R");
  ------------------
  |  Branch (493:5): [True: 0, False: 0]
  ------------------
  494|      0|	fflush(ifp);
  495|      0|	rewind(ifp);
  496|      0|    }
  497|      2|    if (ifp && Rp->SaveAction != SA_SAVE) Rp->SaveAction = SA_NOSAVE;
  ------------------
  |  Branch (497:9): [True: 0, False: 2]
  |  Branch (497:16): [True: 0, False: 0]
  ------------------
  498|       |
  499|      2|    R_SetParams(Rp);
  500|       |
  501|      2|    if(!Rp->NoRenviron) {
  ------------------
  |  Branch (501:8): [True: 0, False: 2]
  ------------------
  502|      0|	process_site_Renviron();
  503|      0|	process_user_Renviron();
  504|       |
  505|       |	/* allow for R_MAX_[VN]SIZE and R_[VN]SIZE in user/site Renviron */
  506|      0|	R_SizeFromEnv(Rp);
  507|      0|	R_SetParams(Rp);
  508|      0|    }
  509|       |
  510|       |
  511|       |    /* On Unix the console is a file; we just use stdio to write on it */
  512|       |
  513|       |#ifdef HAVE_AQUA
  514|       |    if(useaqua)
  515|       |	R_Interactive = useaqua;
  516|       |    else
  517|       |#endif
  518|      2|	R_Interactive = R_Interactive && (force_interactive || R_isatty(0));
  ------------------
  |  Branch (518:18): [True: 2, False: 0]
  |  Branch (518:36): [True: 0, False: 2]
  |  Branch (518:57): [True: 0, False: 2]
  ------------------
  519|       |
  520|       |#ifdef HAVE_AQUA
  521|       |    /* for Aqua and non-dumb terminal use callbacks instead of connections
  522|       |       and pretty-print warnings/errors (ESS = dumb terminal) */
  523|       |    if(useaqua || 
  524|       |       (R_Interactive && getenv("TERM") && strcmp(getenv("TERM"), "dumb"))) {
  525|       |	R_Outputfile = NULL;
  526|       |	R_Consolefile = NULL;
  527|       |	ptr_R_WriteConsoleEx = Rstd_WriteConsoleEx;
  528|       |	ptr_R_WriteConsole = NULL;
  529|       |    } else {
  530|       |#endif
  531|      2|	R_Outputfile = stdout;
  532|      2|	R_Consolefile = stderr;
  533|       |#ifdef HAVE_AQUA
  534|       |    }
  535|       |#endif
  536|       |
  537|       |
  538|       |/*
  539|       | *  Since users' expectations for save/no-save will differ, we decided
  540|       | *  that they should be forced to specify in the non-interactive case.
  541|       | */
  542|      2|    if (!R_Interactive && Rp->SaveAction != SA_SAVE &&
  ------------------
  |  Branch (542:9): [True: 2, False: 0]
  |  Branch (542:27): [True: 2, False: 0]
  ------------------
  543|      2|	Rp->SaveAction != SA_NOSAVE)
  ------------------
  |  Branch (543:2): [True: 0, False: 2]
  ------------------
  544|      0|	R_Suicide(_("you must specify '--save', '--no-save' or '--vanilla'"));
  ------------------
  |  | 2536|      0|#   define _(String) gettext (String)
  ------------------
  545|       |
  546|      2|    R_setupHistory();
  547|      2|    if (R_RestoreHistory)
  ------------------
  |  Branch (547:9): [True: 0, False: 2]
  ------------------
  548|      0|	Rstd_read_history(R_HistoryFile);
  549|      2|    fpu_setup(1);
  550|       |
  551|      2|    return(0);
  552|      2|}
R_EnsureFDLimit:
  626|      2|attribute_hidden int R_EnsureFDLimit(int desired) {
  627|       |
  628|      2|#if defined(HAVE_SYS_RESOURCE_H) && defined(HAVE_SETRLIMIT) && defined(HAVE_GETRLIMIT)
  629|      2|    struct rlimit rlim;
  630|      2|    if (getrlimit(RLIMIT_NOFILE, &rlim))
  ------------------
  |  Branch (630:9): [True: 0, False: 2]
  ------------------
  631|      0|	return -1;
  632|      2|    rlim_t lim = rlim.rlim_cur;
  633|      2|#if defined(RLIM_SAVED_CUR) && defined(RLIM_SAVED_MAX)
  634|      2|    if (lim == RLIM_SAVED_CUR || lim == RLIM_SAVED_MAX) 
  ------------------
  |  Branch (634:9): [True: 0, False: 2]
  |  Branch (634:34): [True: 0, False: 2]
  ------------------
  635|      0|	lim = RLIM_INFINITY;
  636|      2|#endif
  637|      2|    if (lim == RLIM_INFINITY || lim >= desired)
  ------------------
  |  Branch (637:9): [True: 0, False: 2]
  |  Branch (637:33): [True: 2, False: 0]
  ------------------
  638|      2|	return desired;
  639|       |
  640|       |    /* increase the limit */
  641|      0|    rlim_t hlim = rlim.rlim_max;
  642|      0|#if defined(RLIM_SAVED_CUR) && defined(RLIM_SAVED_MAX)
  643|      0|    if (hlim == RLIM_SAVED_CUR || hlim == RLIM_SAVED_MAX) 
  ------------------
  |  Branch (643:9): [True: 0, False: 0]
  |  Branch (643:35): [True: 0, False: 0]
  ------------------
  644|      0|	hlim = RLIM_INFINITY;
  645|      0|#endif
  646|      0|    if (hlim == RLIM_INFINITY || hlim >= desired)
  ------------------
  |  Branch (646:9): [True: 0, False: 0]
  |  Branch (646:34): [True: 0, False: 0]
  ------------------
  647|      0|	rlim.rlim_cur = (rlim_t) desired;
  648|      0|    else
  649|      0|	rlim.rlim_cur = hlim;
  650|      0|    if (setrlimit(RLIMIT_NOFILE, &rlim))
  ------------------
  |  Branch (650:9): [True: 0, False: 0]
  ------------------
  651|      0|	return (int) lim; /* also could return error */
  652|       |    
  653|      0|    return (int) rlim.rlim_cur;
  654|       |#else
  655|       |    return -1;
  656|       |#endif
  657|      0|}

deflate_decompress.c:get_unaligned_leword:
  514|   609k|{
  515|   609k|	STATIC_ASSERT(WORDBITS == 32 || WORDBITS == 64);
  ------------------
  |  |  297|   609k|#define STATIC_ASSERT(expr)	((void)sizeof(char[1 - 2 * !(expr)]))
  ------------------
  516|   609k|	if (WORDBITS == 32)
  ------------------
  |  |  128|   609k|#define WORDBITS	(8 * WORDBYTES)
  |  |  ------------------
  |  |  |  |  125|   609k|#define WORDBYTES	((int)sizeof(machine_word_t))
  |  |  ------------------
  ------------------
  |  Branch (516:6): [Folded, False: 609k]
  ------------------
  517|      0|		return get_unaligned_le32(p);
  518|   609k|	else
  519|   609k|		return get_unaligned_le64(p);
  520|   609k|}
deflate_decompress.c:get_unaligned_le64:
  502|   609k|{
  503|   609k|	if (UNALIGNED_ACCESS_IS_FAST)
  ------------------
  |  |  402|   609k|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  ------------------
  |  |  |  Branch (402:36): [True: 609k, Folded]
  |  |  ------------------
  ------------------
  504|   609k|		return le64_bswap(load_u64_unaligned(p));
  ------------------
  |  |  376|   609k|#define le64_bswap(v) (CPU_IS_LITTLE_ENDIAN() ? (v) : bswap64(v))
  |  |  ------------------
  |  |  |  |  312|   609k|#  define CPU_IS_LITTLE_ENDIAN()  (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (312:35): [True: 609k, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  505|      0|	else
  506|      0|		return ((u64)p[7] << 56) | ((u64)p[6] << 48) |
  507|      0|			((u64)p[5] << 40) | ((u64)p[4] << 32) |
  508|      0|			((u64)p[3] << 24) | ((u64)p[2] << 16) |
  509|      0|			((u64)p[1] << 8) | p[0];
  510|   609k|}
deflate_decompress.c:load_u64_unaligned:
  436|   609k|load_##type##_unaligned(const void *p)				\
  437|   609k|{								\
  438|   609k|	type v;							\
  439|   609k|								\
  440|   609k|	MEMCOPY(&v, p, sizeof(v));				\
  ------------------
  |  |  429|   609k|#  define MEMCOPY	memcpy
  ------------------
  441|   609k|	return v;						\
  442|   609k|}								\
deflate_decompress.c:bsr32:
  611|   259k|{
  612|   259k|#if defined(__GNUC__) || __has_builtin(__builtin_clz)
  613|   259k|	return 31 - __builtin_clz(v);
  614|       |#elif defined(_MSC_VER)
  615|       |	unsigned long i;
  616|       |
  617|       |	_BitScanReverse(&i, v);
  618|       |	return i;
  619|       |#else
  620|       |	unsigned i = 0;
  621|       |
  622|       |	while ((v >>= 1) != 0)
  623|       |		i++;
  624|       |	return i;
  625|       |#endif
  626|   259k|}
deflate_decompress.c:store_machine_word_t_unaligned:
  445|  2.72M|store_##type##_unaligned(type v, void *p)			\
  446|  2.72M|{								\
  447|  2.72M|	MEMCOPY(p, &v, sizeof(v));				\
  ------------------
  |  |  429|  2.72M|#  define MEMCOPY	memcpy
  ------------------
  448|  2.72M|}
deflate_decompress.c:load_machine_word_t_unaligned:
  436|  2.71M|load_##type##_unaligned(const void *p)				\
  437|  2.71M|{								\
  438|  2.71M|	type v;							\
  439|  2.71M|								\
  440|  2.71M|	MEMCOPY(&v, p, sizeof(v));				\
  ------------------
  |  |  429|  2.71M|#  define MEMCOPY	memcpy
  ------------------
  441|  2.71M|	return v;						\
  442|  2.71M|}								\
zlib_decompress.c:get_unaligned_be16:
  473|  1.53k|{
  474|  1.53k|	if (UNALIGNED_ACCESS_IS_FAST)
  ------------------
  |  |  402|  1.53k|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  ------------------
  |  |  |  Branch (402:36): [True: 1.53k, Folded]
  |  |  ------------------
  ------------------
  475|  1.53k|		return be16_bswap(load_u16_unaligned(p));
  ------------------
  |  |  377|  1.53k|#define be16_bswap(v) (CPU_IS_LITTLE_ENDIAN() ? bswap16(v) : (v))
  |  |  ------------------
  |  |  |  |  312|  1.53k|#  define CPU_IS_LITTLE_ENDIAN()  (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (312:35): [True: 1.53k, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  476|      0|	else
  477|      0|		return ((u16)p[0] << 8) | p[1];
  478|  1.53k|}
zlib_decompress.c:bswap16:
  330|  1.53k|{
  331|  1.53k|#if defined(__GNUC__) || __has_builtin(__builtin_bswap16)
  332|  1.53k|	return __builtin_bswap16(v);
  333|       |#elif defined(_MSC_VER)
  334|       |	return _byteswap_ushort(v);
  335|       |#else
  336|       |	return (v << 8) | (v >> 8);
  337|       |#endif
  338|  1.53k|}
zlib_decompress.c:load_u16_unaligned:
  436|  1.53k|load_##type##_unaligned(const void *p)				\
  437|  1.53k|{								\
  438|  1.53k|	type v;							\
  439|  1.53k|								\
  440|  1.53k|	MEMCOPY(&v, p, sizeof(v));				\
  ------------------
  |  |  429|  1.53k|#  define MEMCOPY	memcpy
  ------------------
  441|  1.53k|	return v;						\
  442|  1.53k|}								\
zlib_decompress.c:get_unaligned_be32:
  492|  1.53k|{
  493|  1.53k|	if (UNALIGNED_ACCESS_IS_FAST)
  ------------------
  |  |  402|  1.53k|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  ------------------
  |  |  |  Branch (402:36): [True: 1.53k, Folded]
  |  |  ------------------
  ------------------
  494|  1.53k|		return be32_bswap(load_u32_unaligned(p));
  ------------------
  |  |  378|  1.53k|#define be32_bswap(v) (CPU_IS_LITTLE_ENDIAN() ? bswap32(v) : (v))
  |  |  ------------------
  |  |  |  |  312|  1.53k|#  define CPU_IS_LITTLE_ENDIAN()  (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (312:35): [True: 1.53k, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  495|      0|	else
  496|      0|		return ((u32)p[0] << 24) | ((u32)p[1] << 16) |
  497|      0|			((u32)p[2] << 8) | p[3];
  498|  1.53k|}
zlib_decompress.c:bswap32:
  342|  1.53k|{
  343|  1.53k|#if defined(__GNUC__) || __has_builtin(__builtin_bswap32)
  344|  1.53k|	return __builtin_bswap32(v);
  345|       |#elif defined(_MSC_VER)
  346|       |	return _byteswap_ulong(v);
  347|       |#else
  348|       |	return ((v & 0x000000FF) << 24) |
  349|       |	       ((v & 0x0000FF00) << 8) |
  350|       |	       ((v & 0x00FF0000) >> 8) |
  351|       |	       ((v & 0xFF000000) >> 24);
  352|       |#endif
  353|  1.53k|}
zlib_decompress.c:load_u32_unaligned:
  436|  1.53k|load_##type##_unaligned(const void *p)				\
  437|  1.53k|{								\
  438|  1.53k|	type v;							\
  439|  1.53k|								\
  440|  1.53k|	MEMCOPY(&v, p, sizeof(v));				\
  ------------------
  |  |  429|  1.53k|#  define MEMCOPY	memcpy
  ------------------
  441|  1.53k|	return v;						\
  442|  1.53k|}								\

libdeflate_adler32:
  158|  1.53k|{
  159|  1.53k|	if (buffer == NULL) /* Return initial value. */
  ------------------
  |  Branch (159:6): [True: 0, False: 1.53k]
  ------------------
  160|      0|		return 1;
  161|  1.53k|	return adler32_impl(adler, buffer, len);
  162|  1.53k|}
adler32.c:dispatch_adler32:
  142|      2|{
  143|      2|	adler32_func_t f = arch_select_adler32_func();
  ------------------
  |  |  134|      2|#define arch_select_adler32_func	arch_select_adler32_func
  ------------------
  144|       |
  145|      2|	if (f == NULL)
  ------------------
  |  Branch (145:6): [True: 0, False: 2]
  ------------------
  146|      0|		f = DEFAULT_IMPL;
  ------------------
  |  |  132|      0|#  define DEFAULT_IMPL adler32_generic
  ------------------
  147|       |
  148|      2|	adler32_impl = f;
  149|      2|	return f(adler, p, len);
  150|      2|}

cpu_features.c:disable_cpu_features_for_testing:
   89|      2|{
   90|      2|}

deflate_decompress.c:deflate_decompress_bmi2:
   49|  1.53k|{
   50|  1.53k|	u8 *out_next = out;
   51|  1.53k|	u8 * const out_end = out_next + out_nbytes_avail;
   52|  1.53k|	u8 * const out_fastloop_end =
   53|  1.53k|		out_end - MIN(out_nbytes_avail, FASTLOOP_MAX_BYTES_WRITTEN);
  ------------------
  |  |  294|  1.53k|#define MIN(a, b)		((a) <= (b) ? (a) : (b))
  |  |  ------------------
  |  |  |  Branch (294:21): [True: 359, False: 1.17k]
  |  |  ------------------
  ------------------
   54|       |
   55|       |	/* Input bitstream state; see deflate_decompress.c for documentation */
   56|  1.53k|	const u8 *in_next = in;
   57|  1.53k|	const u8 * const in_end = in_next + in_nbytes;
   58|  1.53k|	const u8 * const in_fastloop_end =
   59|  1.53k|		in_end - MIN(in_nbytes, FASTLOOP_MAX_BYTES_READ);
  ------------------
  |  |  294|  3.06k|#define MIN(a, b)		((a) <= (b) ? (a) : (b))
  |  |  ------------------
  |  |  |  Branch (294:21): [True: 0, False: 1.53k]
  |  |  |  Branch (294:29): [True: 1.53k, Folded]
  |  |  |  Branch (294:41): [True: 1.53k, Folded]
  |  |  ------------------
  ------------------
   60|  1.53k|	bitbuf_t bitbuf = 0;
   61|  1.53k|	bitbuf_t saved_bitbuf;
   62|  1.53k|	u32 bitsleft = 0;
   63|  1.53k|	size_t overread_count = 0;
   64|       |
   65|  1.53k|	bool is_final_block;
   66|  1.53k|	unsigned block_type;
   67|  1.53k|	unsigned num_litlen_syms;
   68|  1.53k|	unsigned num_offset_syms;
   69|  1.53k|	bitbuf_t litlen_tablemask;
   70|  1.53k|	u32 entry;
   71|       |
   72|  1.70k|next_block:
   73|       |	/* Starting to read the next block */
   74|  1.70k|	;
   75|       |
   76|  1.70k|	STATIC_ASSERT(CAN_CONSUME(1 + 2 + 5 + 5 + 4 + 3));
  ------------------
  |  |  297|  1.70k|#define STATIC_ASSERT(expr)	((void)sizeof(char[1 - 2 * !(expr)]))
  ------------------
   77|  1.70k|	REFILL_BITS();
  ------------------
  |  |  236|  1.70k|#define REFILL_BITS()							\
  |  |  237|  1.70k|do {									\
  |  |  238|  1.70k|	if (UNALIGNED_ACCESS_IS_FAST &&					\
  |  |  ------------------
  |  |  |  |  402|  3.41k|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (402:36): [True: 1.70k, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  239|  1.70k|	    likely(in_end - in_next >= sizeof(bitbuf_t))) {		\
  |  |  ------------------
  |  |  |  |  217|  1.70k|#  define likely(expr)		__builtin_expect(!!(expr), 1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (217:25): [True: 1.70k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  240|  1.70k|		REFILL_BITS_BRANCHLESS();				\
  |  |  ------------------
  |  |  |  |  206|  1.70k|#define REFILL_BITS_BRANCHLESS()					\
  |  |  |  |  207|  1.70k|do {									\
  |  |  |  |  208|  1.70k|	bitbuf |= get_unaligned_leword(in_next) << (u8)bitsleft;	\
  |  |  |  |  209|  1.70k|	in_next += sizeof(bitbuf_t) - 1;				\
  |  |  |  |  210|  1.70k|	in_next -= (bitsleft >> 3) & 0x7;				\
  |  |  |  |  211|  1.70k|	bitsleft |= MAX_BITSLEFT & ~7;					\
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|  1.70k|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|  1.70k|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 1.70k, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|  1.70k|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  212|  1.70k|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (212:10): [Folded, False: 1.70k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  241|  1.70k|	} else {							\
  |  |  242|      0|		while ((u8)bitsleft < CONSUMABLE_NBITS) {		\
  |  |  ------------------
  |  |  |  |  125|      0|#define CONSUMABLE_NBITS	(MAX_BITSLEFT - 7)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|      0|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (242:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  243|      0|			if (likely(in_next != in_end)) {		\
  |  |  ------------------
  |  |  |  |  217|      0|#  define likely(expr)		__builtin_expect(!!(expr), 1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (217:25): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  244|      0|				bitbuf |= (bitbuf_t)*in_next++ <<	\
  |  |  245|      0|					  (u8)bitsleft;			\
  |  |  246|      0|			} else {					\
  |  |  247|      0|				overread_count++;			\
  |  |  248|      0|				SAFETY_CHECK(overread_count <=		\
  |  |  ------------------
  |  |  |  |   60|      0|#  define SAFETY_CHECK(expr)	if (unlikely(!(expr))) return LIBDEFLATE_BAD_DATA
  |  |  |  |  ------------------
  |  |  |  |  |  |  224|      0|#  define unlikely(expr)	__builtin_expect(!!(expr), 0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (224:26): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  249|      0|					     sizeof(bitbuf_t));		\
  |  |  250|      0|			}						\
  |  |  251|      0|			bitsleft += 8;					\
  |  |  252|      0|		}							\
  |  |  253|      0|	}								\
  |  |  254|  1.70k|} while (0)
  |  |  ------------------
  |  |  |  Branch (254:10): [Folded, False: 1.70k]
  |  |  ------------------
  ------------------
   78|       |
   79|       |	/* BFINAL: 1 bit */
   80|  1.70k|	is_final_block = bitbuf & BITMASK(1);
  ------------------
  |  |  109|  1.70k|#define BITMASK(n)	(((bitbuf_t)1 << (n)) - 1)
  ------------------
   81|       |
   82|       |	/* BTYPE: 2 bits */
   83|  1.70k|	block_type = (bitbuf >> 1) & BITMASK(2);
  ------------------
  |  |  109|  1.70k|#define BITMASK(n)	(((bitbuf_t)1 << (n)) - 1)
  ------------------
   84|       |
   85|  1.70k|	if (block_type == DEFLATE_BLOCKTYPE_DYNAMIC_HUFFMAN) {
  ------------------
  |  |   11|  1.70k|#define DEFLATE_BLOCKTYPE_DYNAMIC_HUFFMAN	2
  ------------------
  |  Branch (85:6): [True: 1.08k, False: 623]
  ------------------
   86|       |
   87|       |		/* Dynamic Huffman block */
   88|       |
   89|       |		/* The order in which precode lengths are stored */
   90|  1.08k|		static const u8 deflate_precode_lens_permutation[DEFLATE_NUM_PRECODE_SYMS] = {
   91|  1.08k|			16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15
   92|  1.08k|		};
   93|       |
   94|  1.08k|		unsigned num_explicit_precode_lens;
   95|  1.08k|		unsigned i;
   96|       |
   97|       |		/* Read the codeword length counts. */
   98|       |
   99|  1.08k|		STATIC_ASSERT(DEFLATE_NUM_LITLEN_SYMS == 257 + BITMASK(5));
  ------------------
  |  |  297|  1.08k|#define STATIC_ASSERT(expr)	((void)sizeof(char[1 - 2 * !(expr)]))
  ------------------
  100|  1.08k|		num_litlen_syms = 257 + ((bitbuf >> 3) & BITMASK(5));
  ------------------
  |  |  109|  1.08k|#define BITMASK(n)	(((bitbuf_t)1 << (n)) - 1)
  ------------------
  101|       |
  102|  1.08k|		STATIC_ASSERT(DEFLATE_NUM_OFFSET_SYMS == 1 + BITMASK(5));
  ------------------
  |  |  297|  1.08k|#define STATIC_ASSERT(expr)	((void)sizeof(char[1 - 2 * !(expr)]))
  ------------------
  103|  1.08k|		num_offset_syms = 1 + ((bitbuf >> 8) & BITMASK(5));
  ------------------
  |  |  109|  1.08k|#define BITMASK(n)	(((bitbuf_t)1 << (n)) - 1)
  ------------------
  104|       |
  105|  1.08k|		STATIC_ASSERT(DEFLATE_NUM_PRECODE_SYMS == 4 + BITMASK(4));
  ------------------
  |  |  297|  1.08k|#define STATIC_ASSERT(expr)	((void)sizeof(char[1 - 2 * !(expr)]))
  ------------------
  106|  1.08k|		num_explicit_precode_lens = 4 + ((bitbuf >> 13) & BITMASK(4));
  ------------------
  |  |  109|  1.08k|#define BITMASK(n)	(((bitbuf_t)1 << (n)) - 1)
  ------------------
  107|       |
  108|  1.08k|		d->static_codes_loaded = false;
  109|       |
  110|       |		/*
  111|       |		 * Read the precode codeword lengths.
  112|       |		 *
  113|       |		 * A 64-bit bitbuffer is just one bit too small to hold the
  114|       |		 * maximum number of precode lens, so to minimize branches we
  115|       |		 * merge one len with the previous fields.
  116|       |		 */
  117|  1.08k|		STATIC_ASSERT(DEFLATE_MAX_PRE_CODEWORD_LEN == (1 << 3) - 1);
  ------------------
  |  |  297|  1.08k|#define STATIC_ASSERT(expr)	((void)sizeof(char[1 - 2 * !(expr)]))
  ------------------
  118|  1.08k|		if (CAN_CONSUME(3 * (DEFLATE_NUM_PRECODE_SYMS - 1))) {
  ------------------
  |  |  151|  1.08k|#define CAN_CONSUME(n)	(CONSUMABLE_NBITS >= (n))
  |  |  ------------------
  |  |  |  |  125|  1.08k|#define CONSUMABLE_NBITS	(MAX_BITSLEFT - 7)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|  1.08k|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|  1.08k|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|  1.08k|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (151:24): [True: 1.08k, Folded]
  |  |  ------------------
  ------------------
  119|  1.08k|			d->u.precode_lens[deflate_precode_lens_permutation[0]] =
  120|  1.08k|				(bitbuf >> 17) & BITMASK(3);
  ------------------
  |  |  109|  1.08k|#define BITMASK(n)	(((bitbuf_t)1 << (n)) - 1)
  ------------------
  121|  1.08k|			bitbuf >>= 20;
  122|  1.08k|			bitsleft -= 20;
  123|  1.08k|			REFILL_BITS();
  ------------------
  |  |  236|  1.08k|#define REFILL_BITS()							\
  |  |  237|  1.08k|do {									\
  |  |  238|  1.08k|	if (UNALIGNED_ACCESS_IS_FAST &&					\
  |  |  ------------------
  |  |  |  |  402|  2.17k|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (402:36): [True: 1.08k, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  239|  1.08k|	    likely(in_end - in_next >= sizeof(bitbuf_t))) {		\
  |  |  ------------------
  |  |  |  |  217|  1.08k|#  define likely(expr)		__builtin_expect(!!(expr), 1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (217:25): [True: 1.08k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  240|  1.08k|		REFILL_BITS_BRANCHLESS();				\
  |  |  ------------------
  |  |  |  |  206|  1.08k|#define REFILL_BITS_BRANCHLESS()					\
  |  |  |  |  207|  1.08k|do {									\
  |  |  |  |  208|  1.08k|	bitbuf |= get_unaligned_leword(in_next) << (u8)bitsleft;	\
  |  |  |  |  209|  1.08k|	in_next += sizeof(bitbuf_t) - 1;				\
  |  |  |  |  210|  1.08k|	in_next -= (bitsleft >> 3) & 0x7;				\
  |  |  |  |  211|  1.08k|	bitsleft |= MAX_BITSLEFT & ~7;					\
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|  1.08k|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|  1.08k|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 1.08k, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|  1.08k|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  212|  1.08k|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (212:10): [Folded, False: 1.08k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  241|  1.08k|	} else {							\
  |  |  242|      0|		while ((u8)bitsleft < CONSUMABLE_NBITS) {		\
  |  |  ------------------
  |  |  |  |  125|      0|#define CONSUMABLE_NBITS	(MAX_BITSLEFT - 7)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|      0|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (242:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  243|      0|			if (likely(in_next != in_end)) {		\
  |  |  ------------------
  |  |  |  |  217|      0|#  define likely(expr)		__builtin_expect(!!(expr), 1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (217:25): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  244|      0|				bitbuf |= (bitbuf_t)*in_next++ <<	\
  |  |  245|      0|					  (u8)bitsleft;			\
  |  |  246|      0|			} else {					\
  |  |  247|      0|				overread_count++;			\
  |  |  248|      0|				SAFETY_CHECK(overread_count <=		\
  |  |  ------------------
  |  |  |  |   60|      0|#  define SAFETY_CHECK(expr)	if (unlikely(!(expr))) return LIBDEFLATE_BAD_DATA
  |  |  |  |  ------------------
  |  |  |  |  |  |  224|      0|#  define unlikely(expr)	__builtin_expect(!!(expr), 0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (224:26): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  249|      0|					     sizeof(bitbuf_t));		\
  |  |  250|      0|			}						\
  |  |  251|      0|			bitsleft += 8;					\
  |  |  252|      0|		}							\
  |  |  253|      0|	}								\
  |  |  254|  1.08k|} while (0)
  |  |  ------------------
  |  |  |  Branch (254:10): [Folded, False: 1.08k]
  |  |  ------------------
  ------------------
  124|  1.08k|			i = 1;
  125|  14.7k|			do {
  126|  14.7k|				d->u.precode_lens[deflate_precode_lens_permutation[i]] =
  127|  14.7k|					bitbuf & BITMASK(3);
  ------------------
  |  |  109|  14.7k|#define BITMASK(n)	(((bitbuf_t)1 << (n)) - 1)
  ------------------
  128|  14.7k|				bitbuf >>= 3;
  129|  14.7k|				bitsleft -= 3;
  130|  14.7k|			} while (++i < num_explicit_precode_lens);
  ------------------
  |  Branch (130:13): [True: 13.6k, False: 1.08k]
  ------------------
  131|  1.08k|		} else {
  132|      0|			bitbuf >>= 17;
  133|      0|			bitsleft -= 17;
  134|      0|			i = 0;
  135|      0|			do {
  136|      0|				if ((u8)bitsleft < 3)
  ------------------
  |  Branch (136:9): [True: 0, False: 0]
  ------------------
  137|      0|					REFILL_BITS();
  ------------------
  |  |  236|      0|#define REFILL_BITS()							\
  |  |  237|      0|do {									\
  |  |  238|      0|	if (UNALIGNED_ACCESS_IS_FAST &&					\
  |  |  ------------------
  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  239|      0|	    likely(in_end - in_next >= sizeof(bitbuf_t))) {		\
  |  |  ------------------
  |  |  |  |  217|      0|#  define likely(expr)		__builtin_expect(!!(expr), 1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (217:25): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  240|      0|		REFILL_BITS_BRANCHLESS();				\
  |  |  ------------------
  |  |  |  |  206|      0|#define REFILL_BITS_BRANCHLESS()					\
  |  |  |  |  207|      0|do {									\
  |  |  |  |  208|      0|	bitbuf |= get_unaligned_leword(in_next) << (u8)bitsleft;	\
  |  |  |  |  209|      0|	in_next += sizeof(bitbuf_t) - 1;				\
  |  |  |  |  210|      0|	in_next -= (bitsleft >> 3) & 0x7;				\
  |  |  |  |  211|      0|	bitsleft |= MAX_BITSLEFT & ~7;					\
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|      0|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  212|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (212:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  241|      0|	} else {							\
  |  |  242|      0|		while ((u8)bitsleft < CONSUMABLE_NBITS) {		\
  |  |  ------------------
  |  |  |  |  125|      0|#define CONSUMABLE_NBITS	(MAX_BITSLEFT - 7)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|      0|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (242:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  243|      0|			if (likely(in_next != in_end)) {		\
  |  |  ------------------
  |  |  |  |  217|      0|#  define likely(expr)		__builtin_expect(!!(expr), 1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (217:25): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  244|      0|				bitbuf |= (bitbuf_t)*in_next++ <<	\
  |  |  245|      0|					  (u8)bitsleft;			\
  |  |  246|      0|			} else {					\
  |  |  247|      0|				overread_count++;			\
  |  |  248|      0|				SAFETY_CHECK(overread_count <=		\
  |  |  ------------------
  |  |  |  |   60|      0|#  define SAFETY_CHECK(expr)	if (unlikely(!(expr))) return LIBDEFLATE_BAD_DATA
  |  |  |  |  ------------------
  |  |  |  |  |  |  224|      0|#  define unlikely(expr)	__builtin_expect(!!(expr), 0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (224:26): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  249|      0|					     sizeof(bitbuf_t));		\
  |  |  250|      0|			}						\
  |  |  251|      0|			bitsleft += 8;					\
  |  |  252|      0|		}							\
  |  |  253|      0|	}								\
  |  |  254|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (254:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
  138|      0|				d->u.precode_lens[deflate_precode_lens_permutation[i]] =
  139|      0|					bitbuf & BITMASK(3);
  ------------------
  |  |  109|      0|#define BITMASK(n)	(((bitbuf_t)1 << (n)) - 1)
  ------------------
  140|      0|				bitbuf >>= 3;
  141|      0|				bitsleft -= 3;
  142|      0|			} while (++i < num_explicit_precode_lens);
  ------------------
  |  Branch (142:13): [True: 0, False: 0]
  ------------------
  143|      0|		}
  144|  5.91k|		for (; i < DEFLATE_NUM_PRECODE_SYMS; i++)
  ------------------
  |  |   26|  5.91k|#define DEFLATE_NUM_PRECODE_SYMS		19
  ------------------
  |  Branch (144:10): [True: 4.82k, False: 1.08k]
  ------------------
  145|  4.82k|			d->u.precode_lens[deflate_precode_lens_permutation[i]] = 0;
  146|       |
  147|       |		/* Build the decode table for the precode. */
  148|  1.08k|		SAFETY_CHECK(build_precode_decode_table(d));
  ------------------
  |  |   60|  1.08k|#  define SAFETY_CHECK(expr)	if (unlikely(!(expr))) return LIBDEFLATE_BAD_DATA
  |  |  ------------------
  |  |  |  |  224|  1.08k|#  define unlikely(expr)	__builtin_expect(!!(expr), 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (224:26): [True: 0, False: 1.08k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  149|       |
  150|       |		/* Decode the litlen and offset codeword lengths. */
  151|  1.08k|		i = 0;
  152|   170k|		do {
  153|   170k|			unsigned presym;
  154|   170k|			u8 rep_val;
  155|   170k|			unsigned rep_count;
  156|       |
  157|   170k|			if ((u8)bitsleft < DEFLATE_MAX_PRE_CODEWORD_LEN + 7)
  ------------------
  |  |   39|   170k|#define DEFLATE_MAX_PRE_CODEWORD_LEN		7
  ------------------
  |  Branch (157:8): [True: 11.9k, False: 158k]
  ------------------
  158|  11.9k|				REFILL_BITS();
  ------------------
  |  |  236|  11.9k|#define REFILL_BITS()							\
  |  |  237|  11.9k|do {									\
  |  |  238|  11.9k|	if (UNALIGNED_ACCESS_IS_FAST &&					\
  |  |  ------------------
  |  |  |  |  402|  23.9k|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (402:36): [True: 11.9k, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  239|  11.9k|	    likely(in_end - in_next >= sizeof(bitbuf_t))) {		\
  |  |  ------------------
  |  |  |  |  217|  11.9k|#  define likely(expr)		__builtin_expect(!!(expr), 1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (217:25): [True: 11.9k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  240|  11.9k|		REFILL_BITS_BRANCHLESS();				\
  |  |  ------------------
  |  |  |  |  206|  11.9k|#define REFILL_BITS_BRANCHLESS()					\
  |  |  |  |  207|  11.9k|do {									\
  |  |  |  |  208|  11.9k|	bitbuf |= get_unaligned_leword(in_next) << (u8)bitsleft;	\
  |  |  |  |  209|  11.9k|	in_next += sizeof(bitbuf_t) - 1;				\
  |  |  |  |  210|  11.9k|	in_next -= (bitsleft >> 3) & 0x7;				\
  |  |  |  |  211|  11.9k|	bitsleft |= MAX_BITSLEFT & ~7;					\
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|  11.9k|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|  11.9k|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 11.9k, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|  11.9k|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  212|  11.9k|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (212:10): [Folded, False: 11.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  241|  11.9k|	} else {							\
  |  |  242|      0|		while ((u8)bitsleft < CONSUMABLE_NBITS) {		\
  |  |  ------------------
  |  |  |  |  125|      0|#define CONSUMABLE_NBITS	(MAX_BITSLEFT - 7)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|      0|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (242:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  243|      0|			if (likely(in_next != in_end)) {		\
  |  |  ------------------
  |  |  |  |  217|      0|#  define likely(expr)		__builtin_expect(!!(expr), 1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (217:25): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  244|      0|				bitbuf |= (bitbuf_t)*in_next++ <<	\
  |  |  245|      0|					  (u8)bitsleft;			\
  |  |  246|      0|			} else {					\
  |  |  247|      0|				overread_count++;			\
  |  |  248|      0|				SAFETY_CHECK(overread_count <=		\
  |  |  ------------------
  |  |  |  |   60|      0|#  define SAFETY_CHECK(expr)	if (unlikely(!(expr))) return LIBDEFLATE_BAD_DATA
  |  |  |  |  ------------------
  |  |  |  |  |  |  224|      0|#  define unlikely(expr)	__builtin_expect(!!(expr), 0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (224:26): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  249|      0|					     sizeof(bitbuf_t));		\
  |  |  250|      0|			}						\
  |  |  251|      0|			bitsleft += 8;					\
  |  |  252|      0|		}							\
  |  |  253|      0|	}								\
  |  |  254|  11.9k|} while (0)
  |  |  ------------------
  |  |  |  Branch (254:10): [Folded, False: 11.9k]
  |  |  ------------------
  ------------------
  159|       |
  160|       |			/*
  161|       |			 * The code below assumes that the precode decode table
  162|       |			 * doesn't have any subtables.
  163|       |			 */
  164|   170k|			STATIC_ASSERT(PRECODE_TABLEBITS == DEFLATE_MAX_PRE_CODEWORD_LEN);
  ------------------
  |  |  297|   170k|#define STATIC_ASSERT(expr)	((void)sizeof(char[1 - 2 * !(expr)]))
  ------------------
  165|       |
  166|       |			/* Decode the next precode symbol. */
  167|   170k|			entry = d->u.l.precode_decode_table[
  168|   170k|				bitbuf & BITMASK(DEFLATE_MAX_PRE_CODEWORD_LEN)];
  ------------------
  |  |  109|   170k|#define BITMASK(n)	(((bitbuf_t)1 << (n)) - 1)
  ------------------
  169|   170k|			bitbuf >>= (u8)entry;
  170|   170k|			bitsleft -= entry; /* optimization: subtract full entry */
  171|   170k|			presym = entry >> 16;
  172|       |
  173|   170k|			if (presym < 16) {
  ------------------
  |  Branch (173:8): [True: 156k, False: 14.0k]
  ------------------
  174|       |				/* Explicit codeword length */
  175|   156k|				d->u.l.lens[i++] = presym;
  176|   156k|				continue;
  177|   156k|			}
  178|       |
  179|       |			/* Run-length encoded codeword lengths */
  180|       |
  181|       |			/*
  182|       |			 * Note: we don't need to immediately verify that the
  183|       |			 * repeat count doesn't overflow the number of elements,
  184|       |			 * since we've sized the lens array to have enough extra
  185|       |			 * space to allow for the worst-case overrun (138 zeroes
  186|       |			 * when only 1 length was remaining).
  187|       |			 *
  188|       |			 * In the case of the small repeat counts (presyms 16
  189|       |			 * and 17), it is fastest to always write the maximum
  190|       |			 * number of entries.  That gets rid of branches that
  191|       |			 * would otherwise be required.
  192|       |			 *
  193|       |			 * It is not just because of the numerical order that
  194|       |			 * our checks go in the order 'presym < 16', 'presym ==
  195|       |			 * 16', and 'presym == 17'.  For typical data this is
  196|       |			 * ordered from most frequent to least frequent case.
  197|       |			 */
  198|  14.0k|			STATIC_ASSERT(DEFLATE_MAX_LENS_OVERRUN == 138 - 1);
  ------------------
  |  |  297|  14.0k|#define STATIC_ASSERT(expr)	((void)sizeof(char[1 - 2 * !(expr)]))
  ------------------
  199|       |
  200|  14.0k|			if (presym == 16) {
  ------------------
  |  Branch (200:8): [True: 4.32k, False: 9.70k]
  ------------------
  201|       |				/* Repeat the previous length 3 - 6 times. */
  202|  4.32k|				SAFETY_CHECK(i != 0);
  ------------------
  |  |   60|  4.32k|#  define SAFETY_CHECK(expr)	if (unlikely(!(expr))) return LIBDEFLATE_BAD_DATA
  |  |  ------------------
  |  |  |  |  224|  4.32k|#  define unlikely(expr)	__builtin_expect(!!(expr), 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (224:26): [True: 0, False: 4.32k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  203|  4.32k|				rep_val = d->u.l.lens[i - 1];
  204|  4.32k|				STATIC_ASSERT(3 + BITMASK(2) == 6);
  ------------------
  |  |  297|  4.32k|#define STATIC_ASSERT(expr)	((void)sizeof(char[1 - 2 * !(expr)]))
  ------------------
  205|  4.32k|				rep_count = 3 + (bitbuf & BITMASK(2));
  ------------------
  |  |  109|  4.32k|#define BITMASK(n)	(((bitbuf_t)1 << (n)) - 1)
  ------------------
  206|  4.32k|				bitbuf >>= 2;
  207|  4.32k|				bitsleft -= 2;
  208|  4.32k|				d->u.l.lens[i + 0] = rep_val;
  209|  4.32k|				d->u.l.lens[i + 1] = rep_val;
  210|  4.32k|				d->u.l.lens[i + 2] = rep_val;
  211|  4.32k|				d->u.l.lens[i + 3] = rep_val;
  212|  4.32k|				d->u.l.lens[i + 4] = rep_val;
  213|  4.32k|				d->u.l.lens[i + 5] = rep_val;
  214|  4.32k|				i += rep_count;
  215|  9.70k|			} else if (presym == 17) {
  ------------------
  |  Branch (215:15): [True: 7.91k, False: 1.79k]
  ------------------
  216|       |				/* Repeat zero 3 - 10 times. */
  217|  7.91k|				STATIC_ASSERT(3 + BITMASK(3) == 10);
  ------------------
  |  |  297|  7.91k|#define STATIC_ASSERT(expr)	((void)sizeof(char[1 - 2 * !(expr)]))
  ------------------
  218|  7.91k|				rep_count = 3 + (bitbuf & BITMASK(3));
  ------------------
  |  |  109|  7.91k|#define BITMASK(n)	(((bitbuf_t)1 << (n)) - 1)
  ------------------
  219|  7.91k|				bitbuf >>= 3;
  220|  7.91k|				bitsleft -= 3;
  221|  7.91k|				d->u.l.lens[i + 0] = 0;
  222|  7.91k|				d->u.l.lens[i + 1] = 0;
  223|  7.91k|				d->u.l.lens[i + 2] = 0;
  224|  7.91k|				d->u.l.lens[i + 3] = 0;
  225|  7.91k|				d->u.l.lens[i + 4] = 0;
  226|  7.91k|				d->u.l.lens[i + 5] = 0;
  227|  7.91k|				d->u.l.lens[i + 6] = 0;
  228|  7.91k|				d->u.l.lens[i + 7] = 0;
  229|  7.91k|				d->u.l.lens[i + 8] = 0;
  230|  7.91k|				d->u.l.lens[i + 9] = 0;
  231|  7.91k|				i += rep_count;
  232|  7.91k|			} else {
  233|       |				/* Repeat zero 11 - 138 times. */
  234|  1.79k|				STATIC_ASSERT(11 + BITMASK(7) == 138);
  ------------------
  |  |  297|  1.79k|#define STATIC_ASSERT(expr)	((void)sizeof(char[1 - 2 * !(expr)]))
  ------------------
  235|  1.79k|				rep_count = 11 + (bitbuf & BITMASK(7));
  ------------------
  |  |  109|  1.79k|#define BITMASK(n)	(((bitbuf_t)1 << (n)) - 1)
  ------------------
  236|  1.79k|				bitbuf >>= 7;
  237|  1.79k|				bitsleft -= 7;
  238|  1.79k|				memset(&d->u.l.lens[i], 0,
  239|  1.79k|				       rep_count * sizeof(d->u.l.lens[i]));
  240|  1.79k|				i += rep_count;
  241|  1.79k|			}
  242|   170k|		} while (i < num_litlen_syms + num_offset_syms);
  ------------------
  |  Branch (242:12): [True: 169k, False: 1.08k]
  ------------------
  243|       |
  244|       |		/* Unnecessary, but check this for consistency with zlib. */
  245|  1.08k|		SAFETY_CHECK(i == num_litlen_syms + num_offset_syms);
  ------------------
  |  |   60|  1.08k|#  define SAFETY_CHECK(expr)	if (unlikely(!(expr))) return LIBDEFLATE_BAD_DATA
  |  |  ------------------
  |  |  |  |  224|  1.08k|#  define unlikely(expr)	__builtin_expect(!!(expr), 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (224:26): [True: 0, False: 1.08k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  246|       |
  247|  1.08k|	} else if (block_type == DEFLATE_BLOCKTYPE_UNCOMPRESSED) {
  ------------------
  |  |    9|    623|#define DEFLATE_BLOCKTYPE_UNCOMPRESSED		0
  ------------------
  |  Branch (247:13): [True: 0, False: 623]
  ------------------
  248|      0|		u16 len, nlen;
  249|       |
  250|       |		/*
  251|       |		 * Uncompressed block: copy 'len' bytes literally from the input
  252|       |		 * buffer to the output buffer.
  253|       |		 */
  254|       |
  255|      0|		bitsleft -= 3; /* for BTYPE and BFINAL */
  256|       |
  257|       |		/*
  258|       |		 * Align the bitstream to the next byte boundary.  This means
  259|       |		 * the next byte boundary as if we were reading a byte at a
  260|       |		 * time.  Therefore, we have to rewind 'in_next' by any bytes
  261|       |		 * that have been refilled but not actually consumed yet (not
  262|       |		 * counting overread bytes, which don't increment 'in_next').
  263|       |		 */
  264|      0|		bitsleft = (u8)bitsleft;
  265|      0|		SAFETY_CHECK(overread_count <= (bitsleft >> 3));
  ------------------
  |  |   60|      0|#  define SAFETY_CHECK(expr)	if (unlikely(!(expr))) return LIBDEFLATE_BAD_DATA
  |  |  ------------------
  |  |  |  |  224|      0|#  define unlikely(expr)	__builtin_expect(!!(expr), 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (224:26): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  266|      0|		in_next -= (bitsleft >> 3) - overread_count;
  267|      0|		overread_count = 0;
  268|      0|		bitbuf = 0;
  269|      0|		bitsleft = 0;
  270|       |
  271|      0|		SAFETY_CHECK(in_end - in_next >= 4);
  ------------------
  |  |   60|      0|#  define SAFETY_CHECK(expr)	if (unlikely(!(expr))) return LIBDEFLATE_BAD_DATA
  |  |  ------------------
  |  |  |  |  224|      0|#  define unlikely(expr)	__builtin_expect(!!(expr), 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (224:26): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  272|      0|		len = get_unaligned_le16(in_next);
  273|      0|		nlen = get_unaligned_le16(in_next + 2);
  274|      0|		in_next += 4;
  275|       |
  276|      0|		SAFETY_CHECK(len == (u16)~nlen);
  ------------------
  |  |   60|      0|#  define SAFETY_CHECK(expr)	if (unlikely(!(expr))) return LIBDEFLATE_BAD_DATA
  |  |  ------------------
  |  |  |  |  224|      0|#  define unlikely(expr)	__builtin_expect(!!(expr), 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (224:26): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  277|      0|		if (unlikely(len > out_end - out_next))
  ------------------
  |  |  224|      0|#  define unlikely(expr)	__builtin_expect(!!(expr), 0)
  |  |  ------------------
  |  |  |  Branch (224:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  278|      0|			return LIBDEFLATE_INSUFFICIENT_SPACE;
  279|      0|		SAFETY_CHECK(len <= in_end - in_next);
  ------------------
  |  |   60|      0|#  define SAFETY_CHECK(expr)	if (unlikely(!(expr))) return LIBDEFLATE_BAD_DATA
  |  |  ------------------
  |  |  |  |  224|      0|#  define unlikely(expr)	__builtin_expect(!!(expr), 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (224:26): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  280|       |
  281|      0|		memcpy(out_next, in_next, len);
  282|      0|		in_next += len;
  283|      0|		out_next += len;
  284|       |
  285|      0|		goto block_done;
  286|       |
  287|    623|	} else {
  288|    623|		unsigned i;
  289|       |
  290|    623|		SAFETY_CHECK(block_type == DEFLATE_BLOCKTYPE_STATIC_HUFFMAN);
  ------------------
  |  |   60|    623|#  define SAFETY_CHECK(expr)	if (unlikely(!(expr))) return LIBDEFLATE_BAD_DATA
  |  |  ------------------
  |  |  |  |  224|    623|#  define unlikely(expr)	__builtin_expect(!!(expr), 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (224:26): [True: 0, False: 623]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  291|       |
  292|       |		/*
  293|       |		 * Static Huffman block: build the decode tables for the static
  294|       |		 * codes.  Skip doing so if the tables are already set up from
  295|       |		 * an earlier static block; this speeds up decompression of
  296|       |		 * degenerate input of many empty or very short static blocks.
  297|       |		 *
  298|       |		 * Afterwards, the remainder is the same as decompressing a
  299|       |		 * dynamic Huffman block.
  300|       |		 */
  301|       |
  302|    623|		bitbuf >>= 3; /* for BTYPE and BFINAL */
  303|    623|		bitsleft -= 3;
  304|       |
  305|    623|		if (d->static_codes_loaded)
  ------------------
  |  Branch (305:7): [True: 304, False: 319]
  ------------------
  306|    304|			goto have_decode_tables;
  307|       |
  308|    319|		d->static_codes_loaded = true;
  309|       |
  310|    319|		STATIC_ASSERT(DEFLATE_NUM_LITLEN_SYMS == 288);
  ------------------
  |  |  297|    319|#define STATIC_ASSERT(expr)	((void)sizeof(char[1 - 2 * !(expr)]))
  ------------------
  311|    319|		STATIC_ASSERT(DEFLATE_NUM_OFFSET_SYMS == 32);
  ------------------
  |  |  297|    319|#define STATIC_ASSERT(expr)	((void)sizeof(char[1 - 2 * !(expr)]))
  ------------------
  312|       |
  313|  46.2k|		for (i = 0; i < 144; i++)
  ------------------
  |  Branch (313:15): [True: 45.9k, False: 319]
  ------------------
  314|  45.9k|			d->u.l.lens[i] = 8;
  315|  36.0k|		for (; i < 256; i++)
  ------------------
  |  Branch (315:10): [True: 35.7k, False: 319]
  ------------------
  316|  35.7k|			d->u.l.lens[i] = 9;
  317|  7.97k|		for (; i < 280; i++)
  ------------------
  |  Branch (317:10): [True: 7.65k, False: 319]
  ------------------
  318|  7.65k|			d->u.l.lens[i] = 7;
  319|  2.87k|		for (; i < 288; i++)
  ------------------
  |  Branch (319:10): [True: 2.55k, False: 319]
  ------------------
  320|  2.55k|			d->u.l.lens[i] = 8;
  321|       |
  322|  10.5k|		for (; i < 288 + 32; i++)
  ------------------
  |  Branch (322:10): [True: 10.2k, False: 319]
  ------------------
  323|  10.2k|			d->u.l.lens[i] = 5;
  324|       |
  325|    319|		num_litlen_syms = 288;
  326|    319|		num_offset_syms = 32;
  327|    319|	}
  328|       |
  329|       |	/* Decompressing a Huffman block (either dynamic or static) */
  330|       |
  331|  1.40k|	SAFETY_CHECK(build_offset_decode_table(d, num_litlen_syms, num_offset_syms));
  ------------------
  |  |   60|  1.40k|#  define SAFETY_CHECK(expr)	if (unlikely(!(expr))) return LIBDEFLATE_BAD_DATA
  |  |  ------------------
  |  |  |  |  224|  1.40k|#  define unlikely(expr)	__builtin_expect(!!(expr), 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (224:26): [True: 0, False: 1.40k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  332|  1.40k|	SAFETY_CHECK(build_litlen_decode_table(d, num_litlen_syms, num_offset_syms));
  ------------------
  |  |   60|  1.40k|#  define SAFETY_CHECK(expr)	if (unlikely(!(expr))) return LIBDEFLATE_BAD_DATA
  |  |  ------------------
  |  |  |  |  224|  1.40k|#  define unlikely(expr)	__builtin_expect(!!(expr), 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (224:26): [True: 0, False: 1.40k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  333|  1.70k|have_decode_tables:
  334|  1.70k|	litlen_tablemask = BITMASK(d->litlen_tablebits);
  ------------------
  |  |  109|  1.70k|#define BITMASK(n)	(((bitbuf_t)1 << (n)) - 1)
  ------------------
  335|       |
  336|       |	/*
  337|       |	 * This is the "fastloop" for decoding literals and matches.  It does
  338|       |	 * bounds checks on in_next and out_next in the loop conditions so that
  339|       |	 * additional bounds checks aren't needed inside the loop body.
  340|       |	 *
  341|       |	 * To reduce latency, the bitbuffer is refilled and the next litlen
  342|       |	 * decode table entry is preloaded before each loop iteration.
  343|       |	 */
  344|  1.70k|	if (in_next >= in_fastloop_end || out_next >= out_fastloop_end)
  ------------------
  |  Branch (344:6): [True: 0, False: 1.70k]
  |  Branch (344:36): [True: 359, False: 1.34k]
  ------------------
  345|    359|		goto generic_loop;
  346|  1.34k|	REFILL_BITS_IN_FASTLOOP();
  ------------------
  |  |  260|  1.34k|#define REFILL_BITS_IN_FASTLOOP()					\
  |  |  261|  1.34k|do {									\
  |  |  262|  1.34k|	STATIC_ASSERT(UNALIGNED_ACCESS_IS_FAST ||			\
  |  |  ------------------
  |  |  |  |  297|  1.34k|#define STATIC_ASSERT(expr)	((void)sizeof(char[1 - 2 * !(expr)]))
  |  |  ------------------
  |  |  263|  1.34k|		      FASTLOOP_PRELOADABLE_NBITS == CONSUMABLE_NBITS);	\
  |  |  264|  1.34k|	if (UNALIGNED_ACCESS_IS_FAST) {					\
  |  |  ------------------
  |  |  |  |  402|  1.34k|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (402:36): [True: 1.34k, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  265|  1.34k|		REFILL_BITS_BRANCHLESS();				\
  |  |  ------------------
  |  |  |  |  206|  1.34k|#define REFILL_BITS_BRANCHLESS()					\
  |  |  |  |  207|  1.34k|do {									\
  |  |  |  |  208|  1.34k|	bitbuf |= get_unaligned_leword(in_next) << (u8)bitsleft;	\
  |  |  |  |  209|  1.34k|	in_next += sizeof(bitbuf_t) - 1;				\
  |  |  |  |  210|  1.34k|	in_next -= (bitsleft >> 3) & 0x7;				\
  |  |  |  |  211|  1.34k|	bitsleft |= MAX_BITSLEFT & ~7;					\
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|  1.34k|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|  1.34k|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 1.34k, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|  1.34k|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  212|  1.34k|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (212:10): [Folded, False: 1.34k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  266|  1.34k|	} else {							\
  |  |  267|      0|		while ((u8)bitsleft < CONSUMABLE_NBITS) {		\
  |  |  ------------------
  |  |  |  |  125|      0|#define CONSUMABLE_NBITS	(MAX_BITSLEFT - 7)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|      0|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (267:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  268|      0|			bitbuf |= (bitbuf_t)*in_next++ << (u8)bitsleft;	\
  |  |  269|      0|			bitsleft += 8;					\
  |  |  270|      0|		}							\
  |  |  271|      0|	}								\
  |  |  272|  1.34k|} while (0)
  |  |  ------------------
  |  |  |  Branch (272:10): [Folded, False: 1.34k]
  |  |  ------------------
  ------------------
  347|  1.34k|	entry = d->u.litlen_decode_table[bitbuf & litlen_tablemask];
  348|   470k|	do {
  349|   470k|		u32 length, offset, lit;
  350|   470k|		const u8 *src;
  351|   470k|		u8 *dst;
  352|       |
  353|       |		/*
  354|       |		 * Consume the bits for the litlen decode table entry.  Save the
  355|       |		 * original bitbuf for later, in case the extra match length
  356|       |		 * bits need to be extracted from it.
  357|       |		 */
  358|   470k|		saved_bitbuf = bitbuf;
  359|   470k|		bitbuf >>= (u8)entry;
  360|   470k|		bitsleft -= entry; /* optimization: subtract full entry */
  361|       |
  362|       |		/*
  363|       |		 * Begin by checking for a "fast" literal, i.e. a literal that
  364|       |		 * doesn't need a subtable.
  365|       |		 */
  366|   470k|		if (entry & HUFFDEC_LITERAL) {
  ------------------
  |  |  420|   470k|#define HUFFDEC_LITERAL			0x80000000
  ------------------
  |  Branch (366:7): [True: 290k, False: 180k]
  ------------------
  367|       |			/*
  368|       |			 * On 64-bit platforms, we decode up to 2 extra fast
  369|       |			 * literals in addition to the primary item, as this
  370|       |			 * increases performance and still leaves enough bits
  371|       |			 * remaining for what follows.  We could actually do 3,
  372|       |			 * assuming LITLEN_TABLEBITS=11, but that actually
  373|       |			 * decreases performance slightly (perhaps by messing
  374|       |			 * with the branch prediction of the conditional refill
  375|       |			 * that happens later while decoding the match offset).
  376|       |			 *
  377|       |			 * Note: the definitions of FASTLOOP_MAX_BYTES_WRITTEN
  378|       |			 * and FASTLOOP_MAX_BYTES_READ need to be updated if the
  379|       |			 * number of extra literals decoded here is changed.
  380|       |			 */
  381|   290k|			if (/* enough bits for 2 fast literals + length + offset preload? */
  382|   290k|			    CAN_CONSUME_AND_THEN_PRELOAD(2 * LITLEN_TABLEBITS +
  ------------------
  |  |  160|   580k|	(CONSUMABLE_NBITS >= (consume_nbits) &&				\
  |  |  ------------------
  |  |  |  |  125|   290k|#define CONSUMABLE_NBITS	(MAX_BITSLEFT - 7)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|   290k|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|   290k|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|   290k|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (160:3): [True: 0, Folded]
  |  |  ------------------
  |  |  161|   580k|	 FASTLOOP_PRELOADABLE_NBITS >= (consume_nbits) + (preload_nbits))
  |  |  ------------------
  |  |  |  |  136|      0|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS : CONSUMABLE_NBITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS : CONSUMABLE_NBITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  ------------------
  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS : CONSUMABLE_NBITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  125|      0|#define CONSUMABLE_NBITS	(MAX_BITSLEFT - 7)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|      0|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (161:3): [True: 0, Folded]
  |  |  ------------------
  ------------------
  383|   290k|							 LENGTH_MAXBITS,
  384|   290k|							 OFFSET_TABLEBITS) &&
  385|       |			    /* enough bits for 2 fast literals + slow literal + litlen preload? */
  386|      0|			    CAN_CONSUME_AND_THEN_PRELOAD(2 * LITLEN_TABLEBITS +
  ------------------
  |  |  160|      0|	(CONSUMABLE_NBITS >= (consume_nbits) &&				\
  |  |  ------------------
  |  |  |  |  125|      0|#define CONSUMABLE_NBITS	(MAX_BITSLEFT - 7)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|      0|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (160:3): [True: 0, Folded]
  |  |  ------------------
  |  |  161|      0|	 FASTLOOP_PRELOADABLE_NBITS >= (consume_nbits) + (preload_nbits))
  |  |  ------------------
  |  |  |  |  136|      0|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS : CONSUMABLE_NBITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS : CONSUMABLE_NBITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  ------------------
  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS : CONSUMABLE_NBITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  125|      0|#define CONSUMABLE_NBITS	(MAX_BITSLEFT - 7)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|      0|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (161:3): [True: 0, Folded]
  |  |  ------------------
  ------------------
  387|   290k|							 DEFLATE_MAX_LITLEN_CODEWORD_LEN,
  388|   290k|							 LITLEN_TABLEBITS)) {
  389|       |				/* 1st extra fast literal */
  390|   290k|				lit = entry >> 16;
  391|   290k|				entry = d->u.litlen_decode_table[bitbuf & litlen_tablemask];
  392|   290k|				saved_bitbuf = bitbuf;
  393|   290k|				bitbuf >>= (u8)entry;
  394|   290k|				bitsleft -= entry;
  395|   290k|				*out_next++ = lit;
  396|   290k|				if (entry & HUFFDEC_LITERAL) {
  ------------------
  |  |  420|   290k|#define HUFFDEC_LITERAL			0x80000000
  ------------------
  |  Branch (396:9): [True: 84.1k, False: 205k]
  ------------------
  397|       |					/* 2nd extra fast literal */
  398|  84.1k|					lit = entry >> 16;
  399|  84.1k|					entry = d->u.litlen_decode_table[bitbuf & litlen_tablemask];
  400|  84.1k|					saved_bitbuf = bitbuf;
  401|  84.1k|					bitbuf >>= (u8)entry;
  402|  84.1k|					bitsleft -= entry;
  403|  84.1k|					*out_next++ = lit;
  404|  84.1k|					if (entry & HUFFDEC_LITERAL) {
  ------------------
  |  |  420|  84.1k|#define HUFFDEC_LITERAL			0x80000000
  ------------------
  |  Branch (404:10): [True: 58.8k, False: 25.2k]
  ------------------
  405|       |						/*
  406|       |						 * Another fast literal, but
  407|       |						 * this one is in lieu of the
  408|       |						 * primary item, so it doesn't
  409|       |						 * count as one of the extras.
  410|       |						 */
  411|  58.8k|						lit = entry >> 16;
  412|  58.8k|						entry = d->u.litlen_decode_table[bitbuf & litlen_tablemask];
  413|  58.8k|						REFILL_BITS_IN_FASTLOOP();
  ------------------
  |  |  260|  58.8k|#define REFILL_BITS_IN_FASTLOOP()					\
  |  |  261|  58.8k|do {									\
  |  |  262|  58.8k|	STATIC_ASSERT(UNALIGNED_ACCESS_IS_FAST ||			\
  |  |  ------------------
  |  |  |  |  297|  58.8k|#define STATIC_ASSERT(expr)	((void)sizeof(char[1 - 2 * !(expr)]))
  |  |  ------------------
  |  |  263|  58.8k|		      FASTLOOP_PRELOADABLE_NBITS == CONSUMABLE_NBITS);	\
  |  |  264|  58.8k|	if (UNALIGNED_ACCESS_IS_FAST) {					\
  |  |  ------------------
  |  |  |  |  402|  58.8k|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (402:36): [True: 58.8k, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  265|  58.8k|		REFILL_BITS_BRANCHLESS();				\
  |  |  ------------------
  |  |  |  |  206|  58.8k|#define REFILL_BITS_BRANCHLESS()					\
  |  |  |  |  207|  58.8k|do {									\
  |  |  |  |  208|  58.8k|	bitbuf |= get_unaligned_leword(in_next) << (u8)bitsleft;	\
  |  |  |  |  209|  58.8k|	in_next += sizeof(bitbuf_t) - 1;				\
  |  |  |  |  210|  58.8k|	in_next -= (bitsleft >> 3) & 0x7;				\
  |  |  |  |  211|  58.8k|	bitsleft |= MAX_BITSLEFT & ~7;					\
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|  58.8k|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|  58.8k|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 58.8k, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|  58.8k|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  212|  58.8k|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (212:10): [Folded, False: 58.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  266|  58.8k|	} else {							\
  |  |  267|      0|		while ((u8)bitsleft < CONSUMABLE_NBITS) {		\
  |  |  ------------------
  |  |  |  |  125|      0|#define CONSUMABLE_NBITS	(MAX_BITSLEFT - 7)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|      0|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (267:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  268|      0|			bitbuf |= (bitbuf_t)*in_next++ << (u8)bitsleft;	\
  |  |  269|      0|			bitsleft += 8;					\
  |  |  270|      0|		}							\
  |  |  271|      0|	}								\
  |  |  272|  58.8k|} while (0)
  |  |  ------------------
  |  |  |  Branch (272:10): [Folded, False: 58.8k]
  |  |  ------------------
  ------------------
  414|  58.8k|						*out_next++ = lit;
  415|  58.8k|						continue;
  416|  58.8k|					}
  417|  84.1k|				}
  418|   290k|			} else {
  419|       |				/*
  420|       |				 * Decode a literal.  While doing so, preload
  421|       |				 * the next litlen decode table entry and refill
  422|       |				 * the bitbuffer.  To reduce latency, we've
  423|       |				 * arranged for there to be enough "preloadable"
  424|       |				 * bits remaining to do the table preload
  425|       |				 * independently of the refill.
  426|       |				 */
  427|      0|				STATIC_ASSERT(CAN_CONSUME_AND_THEN_PRELOAD(
  ------------------
  |  |  297|      0|#define STATIC_ASSERT(expr)	((void)sizeof(char[1 - 2 * !(expr)]))
  ------------------
  428|      0|						LITLEN_TABLEBITS, LITLEN_TABLEBITS));
  429|      0|				lit = entry >> 16;
  430|      0|				entry = d->u.litlen_decode_table[bitbuf & litlen_tablemask];
  431|      0|				REFILL_BITS_IN_FASTLOOP();
  ------------------
  |  |  260|      0|#define REFILL_BITS_IN_FASTLOOP()					\
  |  |  261|      0|do {									\
  |  |  262|      0|	STATIC_ASSERT(UNALIGNED_ACCESS_IS_FAST ||			\
  |  |  ------------------
  |  |  |  |  297|      0|#define STATIC_ASSERT(expr)	((void)sizeof(char[1 - 2 * !(expr)]))
  |  |  ------------------
  |  |  263|      0|		      FASTLOOP_PRELOADABLE_NBITS == CONSUMABLE_NBITS);	\
  |  |  264|      0|	if (UNALIGNED_ACCESS_IS_FAST) {					\
  |  |  ------------------
  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  265|      0|		REFILL_BITS_BRANCHLESS();				\
  |  |  ------------------
  |  |  |  |  206|      0|#define REFILL_BITS_BRANCHLESS()					\
  |  |  |  |  207|      0|do {									\
  |  |  |  |  208|      0|	bitbuf |= get_unaligned_leword(in_next) << (u8)bitsleft;	\
  |  |  |  |  209|      0|	in_next += sizeof(bitbuf_t) - 1;				\
  |  |  |  |  210|      0|	in_next -= (bitsleft >> 3) & 0x7;				\
  |  |  |  |  211|      0|	bitsleft |= MAX_BITSLEFT & ~7;					\
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|      0|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  212|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (212:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  266|      0|	} else {							\
  |  |  267|      0|		while ((u8)bitsleft < CONSUMABLE_NBITS) {		\
  |  |  ------------------
  |  |  |  |  125|      0|#define CONSUMABLE_NBITS	(MAX_BITSLEFT - 7)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|      0|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (267:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  268|      0|			bitbuf |= (bitbuf_t)*in_next++ << (u8)bitsleft;	\
  |  |  269|      0|			bitsleft += 8;					\
  |  |  270|      0|		}							\
  |  |  271|      0|	}								\
  |  |  272|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (272:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
  432|      0|				*out_next++ = lit;
  433|      0|				continue;
  434|      0|			}
  435|   290k|		}
  436|       |
  437|       |		/*
  438|       |		 * It's not a literal entry, so it can be a length entry, a
  439|       |		 * subtable pointer entry, or an end-of-block entry.  Detect the
  440|       |		 * two unlikely cases by testing the HUFFDEC_EXCEPTIONAL flag.
  441|       |		 */
  442|   411k|		if (unlikely(entry & HUFFDEC_EXCEPTIONAL)) {
  ------------------
  |  |  224|   411k|#  define unlikely(expr)	__builtin_expect(!!(expr), 0)
  |  |  ------------------
  |  |  |  Branch (224:26): [True: 1.55k, False: 410k]
  |  |  ------------------
  ------------------
  443|       |			/* Subtable pointer or end-of-block entry */
  444|       |
  445|  1.55k|			if (unlikely(entry & HUFFDEC_END_OF_BLOCK))
  ------------------
  |  |  224|  1.55k|#  define unlikely(expr)	__builtin_expect(!!(expr), 0)
  |  |  ------------------
  |  |  |  Branch (224:26): [True: 160, False: 1.39k]
  |  |  ------------------
  ------------------
  446|    160|				goto block_done;
  447|       |
  448|       |			/*
  449|       |			 * A subtable is required.  Load and consume the
  450|       |			 * subtable entry.  The subtable entry can be of any
  451|       |			 * type: literal, length, or end-of-block.
  452|       |			 */
  453|  1.39k|			entry = d->u.litlen_decode_table[(entry >> 16) +
  454|  1.39k|				EXTRACT_VARBITS(bitbuf, (entry >> 8) & 0x3F)];
  ------------------
  |  |   38|  1.39k|#  define EXTRACT_VARBITS(word, count)	((word) & BITMASK(count))
  |  |  ------------------
  |  |  |  |  109|  1.39k|#define BITMASK(n)	(((bitbuf_t)1 << (n)) - 1)
  |  |  ------------------
  ------------------
  455|  1.39k|			saved_bitbuf = bitbuf;
  456|  1.39k|			bitbuf >>= (u8)entry;
  457|  1.39k|			bitsleft -= entry;
  458|       |
  459|       |			/*
  460|       |			 * 32-bit platforms that use the byte-at-a-time refill
  461|       |			 * method have to do a refill here for there to always
  462|       |			 * be enough bits to decode a literal that requires a
  463|       |			 * subtable, then preload the next litlen decode table
  464|       |			 * entry; or to decode a match length that requires a
  465|       |			 * subtable, then preload the offset decode table entry.
  466|       |			 */
  467|  1.39k|			if (!CAN_CONSUME_AND_THEN_PRELOAD(DEFLATE_MAX_LITLEN_CODEWORD_LEN,
  ------------------
  |  |  160|  2.79k|	(CONSUMABLE_NBITS >= (consume_nbits) &&				\
  |  |  ------------------
  |  |  |  |  125|  1.39k|#define CONSUMABLE_NBITS	(MAX_BITSLEFT - 7)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|  1.39k|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|  1.39k|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|  1.39k|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (160:3): [True: 0, Folded]
  |  |  ------------------
  |  |  161|  2.79k|	 FASTLOOP_PRELOADABLE_NBITS >= (consume_nbits) + (preload_nbits))
  |  |  ------------------
  |  |  |  |  136|      0|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS : CONSUMABLE_NBITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS : CONSUMABLE_NBITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  ------------------
  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS : CONSUMABLE_NBITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  125|      0|#define CONSUMABLE_NBITS	(MAX_BITSLEFT - 7)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|      0|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (161:3): [True: 0, Folded]
  |  |  ------------------
  ------------------
  468|  1.39k|							  LITLEN_TABLEBITS) ||
  469|      0|			    !CAN_CONSUME_AND_THEN_PRELOAD(LENGTH_MAXBITS,
  ------------------
  |  |  160|      0|	(CONSUMABLE_NBITS >= (consume_nbits) &&				\
  |  |  ------------------
  |  |  |  |  125|      0|#define CONSUMABLE_NBITS	(MAX_BITSLEFT - 7)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|      0|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (160:3): [True: 0, Folded]
  |  |  ------------------
  |  |  161|      0|	 FASTLOOP_PRELOADABLE_NBITS >= (consume_nbits) + (preload_nbits))
  |  |  ------------------
  |  |  |  |  136|      0|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS : CONSUMABLE_NBITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS : CONSUMABLE_NBITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  ------------------
  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS : CONSUMABLE_NBITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  125|      0|#define CONSUMABLE_NBITS	(MAX_BITSLEFT - 7)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|      0|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (161:3): [True: 0, Folded]
  |  |  ------------------
  ------------------
  470|  1.39k|							  OFFSET_TABLEBITS))
  471|      0|				REFILL_BITS_IN_FASTLOOP();
  ------------------
  |  |  260|      0|#define REFILL_BITS_IN_FASTLOOP()					\
  |  |  261|      0|do {									\
  |  |  262|      0|	STATIC_ASSERT(UNALIGNED_ACCESS_IS_FAST ||			\
  |  |  ------------------
  |  |  |  |  297|      0|#define STATIC_ASSERT(expr)	((void)sizeof(char[1 - 2 * !(expr)]))
  |  |  ------------------
  |  |  263|      0|		      FASTLOOP_PRELOADABLE_NBITS == CONSUMABLE_NBITS);	\
  |  |  264|      0|	if (UNALIGNED_ACCESS_IS_FAST) {					\
  |  |  ------------------
  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  265|      0|		REFILL_BITS_BRANCHLESS();				\
  |  |  ------------------
  |  |  |  |  206|      0|#define REFILL_BITS_BRANCHLESS()					\
  |  |  |  |  207|      0|do {									\
  |  |  |  |  208|      0|	bitbuf |= get_unaligned_leword(in_next) << (u8)bitsleft;	\
  |  |  |  |  209|      0|	in_next += sizeof(bitbuf_t) - 1;				\
  |  |  |  |  210|      0|	in_next -= (bitsleft >> 3) & 0x7;				\
  |  |  |  |  211|      0|	bitsleft |= MAX_BITSLEFT & ~7;					\
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|      0|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  212|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (212:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  266|      0|	} else {							\
  |  |  267|      0|		while ((u8)bitsleft < CONSUMABLE_NBITS) {		\
  |  |  ------------------
  |  |  |  |  125|      0|#define CONSUMABLE_NBITS	(MAX_BITSLEFT - 7)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|      0|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (267:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  268|      0|			bitbuf |= (bitbuf_t)*in_next++ << (u8)bitsleft;	\
  |  |  269|      0|			bitsleft += 8;					\
  |  |  270|      0|		}							\
  |  |  271|      0|	}								\
  |  |  272|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (272:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
  472|  1.39k|			if (entry & HUFFDEC_LITERAL) {
  ------------------
  |  |  420|  1.39k|#define HUFFDEC_LITERAL			0x80000000
  ------------------
  |  Branch (472:8): [True: 1.37k, False: 26]
  ------------------
  473|       |				/* Decode a literal that required a subtable. */
  474|  1.37k|				lit = entry >> 16;
  475|  1.37k|				entry = d->u.litlen_decode_table[bitbuf & litlen_tablemask];
  476|  1.37k|				REFILL_BITS_IN_FASTLOOP();
  ------------------
  |  |  260|  1.37k|#define REFILL_BITS_IN_FASTLOOP()					\
  |  |  261|  1.37k|do {									\
  |  |  262|  1.37k|	STATIC_ASSERT(UNALIGNED_ACCESS_IS_FAST ||			\
  |  |  ------------------
  |  |  |  |  297|  1.37k|#define STATIC_ASSERT(expr)	((void)sizeof(char[1 - 2 * !(expr)]))
  |  |  ------------------
  |  |  263|  1.37k|		      FASTLOOP_PRELOADABLE_NBITS == CONSUMABLE_NBITS);	\
  |  |  264|  1.37k|	if (UNALIGNED_ACCESS_IS_FAST) {					\
  |  |  ------------------
  |  |  |  |  402|  1.37k|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (402:36): [True: 1.37k, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  265|  1.37k|		REFILL_BITS_BRANCHLESS();				\
  |  |  ------------------
  |  |  |  |  206|  1.37k|#define REFILL_BITS_BRANCHLESS()					\
  |  |  |  |  207|  1.37k|do {									\
  |  |  |  |  208|  1.37k|	bitbuf |= get_unaligned_leword(in_next) << (u8)bitsleft;	\
  |  |  |  |  209|  1.37k|	in_next += sizeof(bitbuf_t) - 1;				\
  |  |  |  |  210|  1.37k|	in_next -= (bitsleft >> 3) & 0x7;				\
  |  |  |  |  211|  1.37k|	bitsleft |= MAX_BITSLEFT & ~7;					\
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|  1.37k|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|  1.37k|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 1.37k, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|  1.37k|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  212|  1.37k|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (212:10): [Folded, False: 1.37k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  266|  1.37k|	} else {							\
  |  |  267|      0|		while ((u8)bitsleft < CONSUMABLE_NBITS) {		\
  |  |  ------------------
  |  |  |  |  125|      0|#define CONSUMABLE_NBITS	(MAX_BITSLEFT - 7)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|      0|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (267:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  268|      0|			bitbuf |= (bitbuf_t)*in_next++ << (u8)bitsleft;	\
  |  |  269|      0|			bitsleft += 8;					\
  |  |  270|      0|		}							\
  |  |  271|      0|	}								\
  |  |  272|  1.37k|} while (0)
  |  |  ------------------
  |  |  |  Branch (272:10): [Folded, False: 1.37k]
  |  |  ------------------
  ------------------
  477|  1.37k|				*out_next++ = lit;
  478|  1.37k|				continue;
  479|  1.37k|			}
  480|     26|			if (unlikely(entry & HUFFDEC_END_OF_BLOCK))
  ------------------
  |  |  224|     26|#  define unlikely(expr)	__builtin_expect(!!(expr), 0)
  |  |  ------------------
  |  |  |  Branch (224:26): [True: 16, False: 10]
  |  |  ------------------
  ------------------
  481|     16|				goto block_done;
  482|       |			/* Else, it's a length that required a subtable. */
  483|     26|		}
  484|       |
  485|       |		/*
  486|       |		 * Decode the match length: the length base value associated
  487|       |		 * with the litlen symbol (which we extract from the decode
  488|       |		 * table entry), plus the extra length bits.  We don't need to
  489|       |		 * consume the extra length bits here, as they were included in
  490|       |		 * the bits consumed by the entry earlier.  We also don't need
  491|       |		 * to check for too-long matches here, as this is inside the
  492|       |		 * fastloop where it's already been verified that the output
  493|       |		 * buffer has enough space remaining to copy a max-length match.
  494|       |		 */
  495|   410k|		length = entry >> 16;
  496|   410k|		length += EXTRACT_VARBITS8(saved_bitbuf, entry) >> (u8)(entry >> 8);
  ------------------
  |  |   41|   410k|#  define EXTRACT_VARBITS8(word, count)	((word) & BITMASK((u8)(count)))
  |  |  ------------------
  |  |  |  |  109|   410k|#define BITMASK(n)	(((bitbuf_t)1 << (n)) - 1)
  |  |  ------------------
  ------------------
  497|       |
  498|       |		/*
  499|       |		 * Decode the match offset.  There are enough "preloadable" bits
  500|       |		 * remaining to preload the offset decode table entry, but a
  501|       |		 * refill might be needed before consuming it.
  502|       |		 */
  503|   410k|		STATIC_ASSERT(CAN_CONSUME_AND_THEN_PRELOAD(LENGTH_MAXFASTBITS,
  ------------------
  |  |  297|   410k|#define STATIC_ASSERT(expr)	((void)sizeof(char[1 - 2 * !(expr)]))
  ------------------
  504|   410k|							   OFFSET_TABLEBITS));
  505|   410k|		entry = d->offset_decode_table[bitbuf & BITMASK(OFFSET_TABLEBITS)];
  ------------------
  |  |  109|   410k|#define BITMASK(n)	(((bitbuf_t)1 << (n)) - 1)
  ------------------
  506|   410k|		if (CAN_CONSUME_AND_THEN_PRELOAD(OFFSET_MAXBITS,
  ------------------
  |  |  160|   410k|	(CONSUMABLE_NBITS >= (consume_nbits) &&				\
  |  |  ------------------
  |  |  |  |  125|   410k|#define CONSUMABLE_NBITS	(MAX_BITSLEFT - 7)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|   410k|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|   410k|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|   410k|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (160:3): [True: 0, Folded]
  |  |  ------------------
  |  |  161|   410k|	 FASTLOOP_PRELOADABLE_NBITS >= (consume_nbits) + (preload_nbits))
  |  |  ------------------
  |  |  |  |  136|      0|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS : CONSUMABLE_NBITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS : CONSUMABLE_NBITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  ------------------
  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS : CONSUMABLE_NBITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  125|      0|#define CONSUMABLE_NBITS	(MAX_BITSLEFT - 7)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|      0|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (161:3): [True: 0, Folded]
  |  |  ------------------
  ------------------
  507|   410k|						 LITLEN_TABLEBITS)) {
  508|       |			/*
  509|       |			 * Decoding a match offset on a 64-bit platform.  We may
  510|       |			 * need to refill once, but then we can decode the whole
  511|       |			 * offset and preload the next litlen table entry.
  512|       |			 */
  513|   410k|			if (unlikely(entry & HUFFDEC_EXCEPTIONAL)) {
  ------------------
  |  |  224|   410k|#  define unlikely(expr)	__builtin_expect(!!(expr), 0)
  |  |  ------------------
  |  |  |  Branch (224:26): [True: 394, False: 409k]
  |  |  ------------------
  ------------------
  514|       |				/* Offset codeword requires a subtable */
  515|    394|				if (unlikely((u8)bitsleft < OFFSET_MAXBITS +
  ------------------
  |  |  224|  4.72k|#  define unlikely(expr)	__builtin_expect(!!(expr), 0)
  |  |  ------------------
  |  |  |  Branch (224:26): [True: 18, False: 376]
  |  |  |  Branch (224:46): [True: 0, Folded]
  |  |  |  Branch (224:46): [True: 0, Folded]
  |  |  |  Branch (224:46): [True: 0, Folded]
  |  |  |  Branch (224:46): [True: 0, Folded]
  |  |  |  Branch (224:46): [True: 394, Folded]
  |  |  |  Branch (224:46): [True: 394, Folded]
  |  |  |  Branch (224:46): [Folded, False: 394]
  |  |  ------------------
  ------------------
  516|    394|					     LITLEN_TABLEBITS - PRELOAD_SLACK))
  517|     18|					REFILL_BITS_IN_FASTLOOP();
  ------------------
  |  |  260|     18|#define REFILL_BITS_IN_FASTLOOP()					\
  |  |  261|     18|do {									\
  |  |  262|     18|	STATIC_ASSERT(UNALIGNED_ACCESS_IS_FAST ||			\
  |  |  ------------------
  |  |  |  |  297|     18|#define STATIC_ASSERT(expr)	((void)sizeof(char[1 - 2 * !(expr)]))
  |  |  ------------------
  |  |  263|     18|		      FASTLOOP_PRELOADABLE_NBITS == CONSUMABLE_NBITS);	\
  |  |  264|     18|	if (UNALIGNED_ACCESS_IS_FAST) {					\
  |  |  ------------------
  |  |  |  |  402|     18|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (402:36): [True: 18, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  265|     18|		REFILL_BITS_BRANCHLESS();				\
  |  |  ------------------
  |  |  |  |  206|     18|#define REFILL_BITS_BRANCHLESS()					\
  |  |  |  |  207|     18|do {									\
  |  |  |  |  208|     18|	bitbuf |= get_unaligned_leword(in_next) << (u8)bitsleft;	\
  |  |  |  |  209|     18|	in_next += sizeof(bitbuf_t) - 1;				\
  |  |  |  |  210|     18|	in_next -= (bitsleft >> 3) & 0x7;				\
  |  |  |  |  211|     18|	bitsleft |= MAX_BITSLEFT & ~7;					\
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|     18|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|     18|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 18, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|     18|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  212|     18|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (212:10): [Folded, False: 18]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  266|     18|	} else {							\
  |  |  267|      0|		while ((u8)bitsleft < CONSUMABLE_NBITS) {		\
  |  |  ------------------
  |  |  |  |  125|      0|#define CONSUMABLE_NBITS	(MAX_BITSLEFT - 7)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|      0|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (267:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  268|      0|			bitbuf |= (bitbuf_t)*in_next++ << (u8)bitsleft;	\
  |  |  269|      0|			bitsleft += 8;					\
  |  |  270|      0|		}							\
  |  |  271|      0|	}								\
  |  |  272|     18|} while (0)
  |  |  ------------------
  |  |  |  Branch (272:10): [Folded, False: 18]
  |  |  ------------------
  ------------------
  518|    394|				bitbuf >>= OFFSET_TABLEBITS;
  ------------------
  |  |  374|    394|#define OFFSET_TABLEBITS	8
  ------------------
  519|    394|				bitsleft -= OFFSET_TABLEBITS;
  ------------------
  |  |  374|    394|#define OFFSET_TABLEBITS	8
  ------------------
  520|    394|				entry = d->offset_decode_table[(entry >> 16) +
  521|    394|					EXTRACT_VARBITS(bitbuf, (entry >> 8) & 0x3F)];
  ------------------
  |  |   38|    394|#  define EXTRACT_VARBITS(word, count)	((word) & BITMASK(count))
  |  |  ------------------
  |  |  |  |  109|    394|#define BITMASK(n)	(((bitbuf_t)1 << (n)) - 1)
  |  |  ------------------
  ------------------
  522|   409k|			} else if (unlikely((u8)bitsleft < OFFSET_MAXFASTBITS +
  ------------------
  |  |  224|  4.91M|#  define unlikely(expr)	__builtin_expect(!!(expr), 0)
  |  |  ------------------
  |  |  |  Branch (224:26): [True: 238, False: 409k]
  |  |  |  Branch (224:46): [True: 0, Folded]
  |  |  |  Branch (224:46): [True: 0, Folded]
  |  |  |  Branch (224:46): [True: 0, Folded]
  |  |  |  Branch (224:46): [True: 0, Folded]
  |  |  |  Branch (224:46): [True: 409k, Folded]
  |  |  |  Branch (224:46): [True: 409k, Folded]
  |  |  |  Branch (224:46): [Folded, False: 409k]
  |  |  ------------------
  ------------------
  523|   409k|					    LITLEN_TABLEBITS - PRELOAD_SLACK))
  524|    238|				REFILL_BITS_IN_FASTLOOP();
  ------------------
  |  |  260|    238|#define REFILL_BITS_IN_FASTLOOP()					\
  |  |  261|    238|do {									\
  |  |  262|    238|	STATIC_ASSERT(UNALIGNED_ACCESS_IS_FAST ||			\
  |  |  ------------------
  |  |  |  |  297|    238|#define STATIC_ASSERT(expr)	((void)sizeof(char[1 - 2 * !(expr)]))
  |  |  ------------------
  |  |  263|    238|		      FASTLOOP_PRELOADABLE_NBITS == CONSUMABLE_NBITS);	\
  |  |  264|    238|	if (UNALIGNED_ACCESS_IS_FAST) {					\
  |  |  ------------------
  |  |  |  |  402|    238|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (402:36): [True: 238, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  265|    238|		REFILL_BITS_BRANCHLESS();				\
  |  |  ------------------
  |  |  |  |  206|    238|#define REFILL_BITS_BRANCHLESS()					\
  |  |  |  |  207|    238|do {									\
  |  |  |  |  208|    238|	bitbuf |= get_unaligned_leword(in_next) << (u8)bitsleft;	\
  |  |  |  |  209|    238|	in_next += sizeof(bitbuf_t) - 1;				\
  |  |  |  |  210|    238|	in_next -= (bitsleft >> 3) & 0x7;				\
  |  |  |  |  211|    238|	bitsleft |= MAX_BITSLEFT & ~7;					\
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|    238|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|    238|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 238, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|    238|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  212|    238|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (212:10): [Folded, False: 238]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  266|    238|	} else {							\
  |  |  267|      0|		while ((u8)bitsleft < CONSUMABLE_NBITS) {		\
  |  |  ------------------
  |  |  |  |  125|      0|#define CONSUMABLE_NBITS	(MAX_BITSLEFT - 7)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|      0|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (267:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  268|      0|			bitbuf |= (bitbuf_t)*in_next++ << (u8)bitsleft;	\
  |  |  269|      0|			bitsleft += 8;					\
  |  |  270|      0|		}							\
  |  |  271|      0|	}								\
  |  |  272|    238|} while (0)
  |  |  ------------------
  |  |  |  Branch (272:10): [Folded, False: 238]
  |  |  ------------------
  ------------------
  525|   410k|		} else {
  526|       |			/* Decoding a match offset on a 32-bit platform */
  527|      0|			REFILL_BITS_IN_FASTLOOP();
  ------------------
  |  |  260|      0|#define REFILL_BITS_IN_FASTLOOP()					\
  |  |  261|      0|do {									\
  |  |  262|      0|	STATIC_ASSERT(UNALIGNED_ACCESS_IS_FAST ||			\
  |  |  ------------------
  |  |  |  |  297|      0|#define STATIC_ASSERT(expr)	((void)sizeof(char[1 - 2 * !(expr)]))
  |  |  ------------------
  |  |  263|      0|		      FASTLOOP_PRELOADABLE_NBITS == CONSUMABLE_NBITS);	\
  |  |  264|      0|	if (UNALIGNED_ACCESS_IS_FAST) {					\
  |  |  ------------------
  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  265|      0|		REFILL_BITS_BRANCHLESS();				\
  |  |  ------------------
  |  |  |  |  206|      0|#define REFILL_BITS_BRANCHLESS()					\
  |  |  |  |  207|      0|do {									\
  |  |  |  |  208|      0|	bitbuf |= get_unaligned_leword(in_next) << (u8)bitsleft;	\
  |  |  |  |  209|      0|	in_next += sizeof(bitbuf_t) - 1;				\
  |  |  |  |  210|      0|	in_next -= (bitsleft >> 3) & 0x7;				\
  |  |  |  |  211|      0|	bitsleft |= MAX_BITSLEFT & ~7;					\
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|      0|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  212|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (212:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  266|      0|	} else {							\
  |  |  267|      0|		while ((u8)bitsleft < CONSUMABLE_NBITS) {		\
  |  |  ------------------
  |  |  |  |  125|      0|#define CONSUMABLE_NBITS	(MAX_BITSLEFT - 7)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|      0|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (267:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  268|      0|			bitbuf |= (bitbuf_t)*in_next++ << (u8)bitsleft;	\
  |  |  269|      0|			bitsleft += 8;					\
  |  |  270|      0|		}							\
  |  |  271|      0|	}								\
  |  |  272|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (272:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
  528|      0|			if (unlikely(entry & HUFFDEC_EXCEPTIONAL)) {
  ------------------
  |  |  224|      0|#  define unlikely(expr)	__builtin_expect(!!(expr), 0)
  |  |  ------------------
  |  |  |  Branch (224:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  529|       |				/* Offset codeword requires a subtable */
  530|      0|				bitbuf >>= OFFSET_TABLEBITS;
  ------------------
  |  |  374|      0|#define OFFSET_TABLEBITS	8
  ------------------
  531|      0|				bitsleft -= OFFSET_TABLEBITS;
  ------------------
  |  |  374|      0|#define OFFSET_TABLEBITS	8
  ------------------
  532|      0|				entry = d->offset_decode_table[(entry >> 16) +
  533|      0|					EXTRACT_VARBITS(bitbuf, (entry >> 8) & 0x3F)];
  ------------------
  |  |   38|      0|#  define EXTRACT_VARBITS(word, count)	((word) & BITMASK(count))
  |  |  ------------------
  |  |  |  |  109|      0|#define BITMASK(n)	(((bitbuf_t)1 << (n)) - 1)
  |  |  ------------------
  ------------------
  534|      0|				REFILL_BITS_IN_FASTLOOP();
  ------------------
  |  |  260|      0|#define REFILL_BITS_IN_FASTLOOP()					\
  |  |  261|      0|do {									\
  |  |  262|      0|	STATIC_ASSERT(UNALIGNED_ACCESS_IS_FAST ||			\
  |  |  ------------------
  |  |  |  |  297|      0|#define STATIC_ASSERT(expr)	((void)sizeof(char[1 - 2 * !(expr)]))
  |  |  ------------------
  |  |  263|      0|		      FASTLOOP_PRELOADABLE_NBITS == CONSUMABLE_NBITS);	\
  |  |  264|      0|	if (UNALIGNED_ACCESS_IS_FAST) {					\
  |  |  ------------------
  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  265|      0|		REFILL_BITS_BRANCHLESS();				\
  |  |  ------------------
  |  |  |  |  206|      0|#define REFILL_BITS_BRANCHLESS()					\
  |  |  |  |  207|      0|do {									\
  |  |  |  |  208|      0|	bitbuf |= get_unaligned_leword(in_next) << (u8)bitsleft;	\
  |  |  |  |  209|      0|	in_next += sizeof(bitbuf_t) - 1;				\
  |  |  |  |  210|      0|	in_next -= (bitsleft >> 3) & 0x7;				\
  |  |  |  |  211|      0|	bitsleft |= MAX_BITSLEFT & ~7;					\
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|      0|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  212|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (212:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  266|      0|	} else {							\
  |  |  267|      0|		while ((u8)bitsleft < CONSUMABLE_NBITS) {		\
  |  |  ------------------
  |  |  |  |  125|      0|#define CONSUMABLE_NBITS	(MAX_BITSLEFT - 7)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|      0|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (267:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  268|      0|			bitbuf |= (bitbuf_t)*in_next++ << (u8)bitsleft;	\
  |  |  269|      0|			bitsleft += 8;					\
  |  |  270|      0|		}							\
  |  |  271|      0|	}								\
  |  |  272|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (272:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
  535|       |				/* No further refill needed before extra bits */
  536|      0|				STATIC_ASSERT(CAN_CONSUME(
  ------------------
  |  |  297|      0|#define STATIC_ASSERT(expr)	((void)sizeof(char[1 - 2 * !(expr)]))
  ------------------
  537|      0|					OFFSET_MAXBITS - OFFSET_TABLEBITS));
  538|      0|			} else {
  539|       |				/* No refill needed before extra bits */
  540|      0|				STATIC_ASSERT(CAN_CONSUME(OFFSET_MAXFASTBITS));
  ------------------
  |  |  297|      0|#define STATIC_ASSERT(expr)	((void)sizeof(char[1 - 2 * !(expr)]))
  ------------------
  541|      0|			}
  542|      0|		}
  543|   410k|		saved_bitbuf = bitbuf;
  544|   410k|		bitbuf >>= (u8)entry;
  545|   410k|		bitsleft -= entry; /* optimization: subtract full entry */
  546|   410k|		offset = entry >> 16;
  547|   410k|		offset += EXTRACT_VARBITS8(saved_bitbuf, entry) >> (u8)(entry >> 8);
  ------------------
  |  |   41|   410k|#  define EXTRACT_VARBITS8(word, count)	((word) & BITMASK((u8)(count)))
  |  |  ------------------
  |  |  |  |  109|   410k|#define BITMASK(n)	(((bitbuf_t)1 << (n)) - 1)
  |  |  ------------------
  ------------------
  548|       |
  549|       |		/* Validate the match offset; needed even in the fastloop. */
  550|   410k|		SAFETY_CHECK(offset <= out_next - (const u8 *)out);
  ------------------
  |  |   60|   410k|#  define SAFETY_CHECK(expr)	if (unlikely(!(expr))) return LIBDEFLATE_BAD_DATA
  |  |  ------------------
  |  |  |  |  224|   410k|#  define unlikely(expr)	__builtin_expect(!!(expr), 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (224:26): [True: 0, False: 410k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  551|   410k|		src = out_next - offset;
  552|   410k|		dst = out_next;
  553|   410k|		out_next += length;
  554|       |
  555|       |		/*
  556|       |		 * Before starting to issue the instructions to copy the match,
  557|       |		 * refill the bitbuffer and preload the litlen decode table
  558|       |		 * entry for the next loop iteration.  This can increase
  559|       |		 * performance by allowing the latency of the match copy to
  560|       |		 * overlap with these other operations.  To further reduce
  561|       |		 * latency, we've arranged for there to be enough bits remaining
  562|       |		 * to do the table preload independently of the refill, except
  563|       |		 * on 32-bit platforms using the byte-at-a-time refill method.
  564|       |		 */
  565|   410k|		if (!CAN_CONSUME_AND_THEN_PRELOAD(
  ------------------
  |  |  160|   820k|	(CONSUMABLE_NBITS >= (consume_nbits) &&				\
  |  |  ------------------
  |  |  |  |  125|   410k|#define CONSUMABLE_NBITS	(MAX_BITSLEFT - 7)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|   410k|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|   410k|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|   410k|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (160:3): [True: 0, Folded]
  |  |  |  Branch (160:24): [Folded, False: 410k]
  |  |  ------------------
  |  |  161|   820k|	 FASTLOOP_PRELOADABLE_NBITS >= (consume_nbits) + (preload_nbits))
  |  |  ------------------
  |  |  |  |  136|      0|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS : CONSUMABLE_NBITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS : CONSUMABLE_NBITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  ------------------
  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS : CONSUMABLE_NBITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  125|      0|#define CONSUMABLE_NBITS	(MAX_BITSLEFT - 7)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|      0|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (161:3): [True: 0, Folded]
  |  |  |  Branch (161:34): [Folded, False: 0]
  |  |  ------------------
  ------------------
  566|   410k|			MAX(OFFSET_MAXBITS - OFFSET_TABLEBITS,
  567|   410k|			    OFFSET_MAXFASTBITS),
  568|   410k|			LITLEN_TABLEBITS) &&
  569|      0|		    unlikely((u8)bitsleft < LITLEN_TABLEBITS - PRELOAD_SLACK))
  ------------------
  |  |  224|      0|#  define unlikely(expr)	__builtin_expect(!!(expr), 0)
  |  |  ------------------
  |  |  |  Branch (224:26): [True: 0, False: 0]
  |  |  |  Branch (224:46): [True: 0, Folded]
  |  |  |  Branch (224:46): [True: 0, Folded]
  |  |  |  Branch (224:46): [True: 0, Folded]
  |  |  |  Branch (224:46): [True: 0, Folded]
  |  |  |  Branch (224:46): [True: 0, Folded]
  |  |  |  Branch (224:46): [True: 0, Folded]
  |  |  |  Branch (224:46): [Folded, False: 0]
  |  |  ------------------
  ------------------
  570|      0|			REFILL_BITS_IN_FASTLOOP();
  ------------------
  |  |  260|      0|#define REFILL_BITS_IN_FASTLOOP()					\
  |  |  261|      0|do {									\
  |  |  262|      0|	STATIC_ASSERT(UNALIGNED_ACCESS_IS_FAST ||			\
  |  |  ------------------
  |  |  |  |  297|      0|#define STATIC_ASSERT(expr)	((void)sizeof(char[1 - 2 * !(expr)]))
  |  |  ------------------
  |  |  263|      0|		      FASTLOOP_PRELOADABLE_NBITS == CONSUMABLE_NBITS);	\
  |  |  264|      0|	if (UNALIGNED_ACCESS_IS_FAST) {					\
  |  |  ------------------
  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  265|      0|		REFILL_BITS_BRANCHLESS();				\
  |  |  ------------------
  |  |  |  |  206|      0|#define REFILL_BITS_BRANCHLESS()					\
  |  |  |  |  207|      0|do {									\
  |  |  |  |  208|      0|	bitbuf |= get_unaligned_leword(in_next) << (u8)bitsleft;	\
  |  |  |  |  209|      0|	in_next += sizeof(bitbuf_t) - 1;				\
  |  |  |  |  210|      0|	in_next -= (bitsleft >> 3) & 0x7;				\
  |  |  |  |  211|      0|	bitsleft |= MAX_BITSLEFT & ~7;					\
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|      0|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  212|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (212:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  266|      0|	} else {							\
  |  |  267|      0|		while ((u8)bitsleft < CONSUMABLE_NBITS) {		\
  |  |  ------------------
  |  |  |  |  125|      0|#define CONSUMABLE_NBITS	(MAX_BITSLEFT - 7)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|      0|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (267:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  268|      0|			bitbuf |= (bitbuf_t)*in_next++ << (u8)bitsleft;	\
  |  |  269|      0|			bitsleft += 8;					\
  |  |  270|      0|		}							\
  |  |  271|      0|	}								\
  |  |  272|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (272:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
  571|   410k|		entry = d->u.litlen_decode_table[bitbuf & litlen_tablemask];
  572|   410k|		REFILL_BITS_IN_FASTLOOP();
  ------------------
  |  |  260|   410k|#define REFILL_BITS_IN_FASTLOOP()					\
  |  |  261|   410k|do {									\
  |  |  262|   410k|	STATIC_ASSERT(UNALIGNED_ACCESS_IS_FAST ||			\
  |  |  ------------------
  |  |  |  |  297|   410k|#define STATIC_ASSERT(expr)	((void)sizeof(char[1 - 2 * !(expr)]))
  |  |  ------------------
  |  |  263|   410k|		      FASTLOOP_PRELOADABLE_NBITS == CONSUMABLE_NBITS);	\
  |  |  264|   410k|	if (UNALIGNED_ACCESS_IS_FAST) {					\
  |  |  ------------------
  |  |  |  |  402|   410k|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (402:36): [True: 410k, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  265|   410k|		REFILL_BITS_BRANCHLESS();				\
  |  |  ------------------
  |  |  |  |  206|   410k|#define REFILL_BITS_BRANCHLESS()					\
  |  |  |  |  207|   410k|do {									\
  |  |  |  |  208|   410k|	bitbuf |= get_unaligned_leword(in_next) << (u8)bitsleft;	\
  |  |  |  |  209|   410k|	in_next += sizeof(bitbuf_t) - 1;				\
  |  |  |  |  210|   410k|	in_next -= (bitsleft >> 3) & 0x7;				\
  |  |  |  |  211|   410k|	bitsleft |= MAX_BITSLEFT & ~7;					\
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|   410k|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|   410k|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 410k, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|   410k|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  212|   410k|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (212:10): [Folded, False: 410k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  266|   410k|	} else {							\
  |  |  267|      0|		while ((u8)bitsleft < CONSUMABLE_NBITS) {		\
  |  |  ------------------
  |  |  |  |  125|      0|#define CONSUMABLE_NBITS	(MAX_BITSLEFT - 7)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|      0|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (267:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  268|      0|			bitbuf |= (bitbuf_t)*in_next++ << (u8)bitsleft;	\
  |  |  269|      0|			bitsleft += 8;					\
  |  |  270|      0|		}							\
  |  |  271|      0|	}								\
  |  |  272|   410k|} while (0)
  |  |  ------------------
  |  |  |  Branch (272:10): [Folded, False: 410k]
  |  |  ------------------
  ------------------
  573|       |
  574|       |		/*
  575|       |		 * Copy the match.  On most CPUs the fastest method is a
  576|       |		 * word-at-a-time copy, unconditionally copying about 5 words
  577|       |		 * since this is enough for most matches without being too much.
  578|       |		 *
  579|       |		 * The normal word-at-a-time copy works for offset >= WORDBYTES,
  580|       |		 * which is most cases.  The case of offset == 1 is also common
  581|       |		 * and is worth optimizing for, since it is just RLE encoding of
  582|       |		 * the previous byte, which is the result of compressing long
  583|       |		 * runs of the same byte.
  584|       |		 *
  585|       |		 * Writing past the match 'length' is allowed here, since it's
  586|       |		 * been ensured there is enough output space left for a slight
  587|       |		 * overrun.  FASTLOOP_MAX_BYTES_WRITTEN needs to be updated if
  588|       |		 * the maximum possible overrun here is changed.
  589|       |		 */
  590|   410k|		if (UNALIGNED_ACCESS_IS_FAST && offset >= WORDBYTES) {
  ------------------
  |  |  402|   820k|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  ------------------
  |  |  |  Branch (402:36): [True: 410k, Folded]
  |  |  ------------------
  ------------------
              		if (UNALIGNED_ACCESS_IS_FAST && offset >= WORDBYTES) {
  ------------------
  |  |  125|   410k|#define WORDBYTES	((int)sizeof(machine_word_t))
  ------------------
  |  Branch (590:35): [True: 372k, False: 37.5k]
  ------------------
  591|   372k|			store_word_unaligned(load_word_unaligned(src), dst);
  ------------------
  |  |  458|   372k|#define store_word_unaligned	store_machine_word_t_unaligned
  ------------------
              			store_word_unaligned(load_word_unaligned(src), dst);
  ------------------
  |  |  457|   372k|#define load_word_unaligned	load_machine_word_t_unaligned
  ------------------
  592|   372k|			src += WORDBYTES;
  ------------------
  |  |  125|   372k|#define WORDBYTES	((int)sizeof(machine_word_t))
  ------------------
  593|   372k|			dst += WORDBYTES;
  ------------------
  |  |  125|   372k|#define WORDBYTES	((int)sizeof(machine_word_t))
  ------------------
  594|   372k|			store_word_unaligned(load_word_unaligned(src), dst);
  ------------------
  |  |  458|   372k|#define store_word_unaligned	store_machine_word_t_unaligned
  ------------------
              			store_word_unaligned(load_word_unaligned(src), dst);
  ------------------
  |  |  457|   372k|#define load_word_unaligned	load_machine_word_t_unaligned
  ------------------
  595|   372k|			src += WORDBYTES;
  ------------------
  |  |  125|   372k|#define WORDBYTES	((int)sizeof(machine_word_t))
  ------------------
  596|   372k|			dst += WORDBYTES;
  ------------------
  |  |  125|   372k|#define WORDBYTES	((int)sizeof(machine_word_t))
  ------------------
  597|   372k|			store_word_unaligned(load_word_unaligned(src), dst);
  ------------------
  |  |  458|   372k|#define store_word_unaligned	store_machine_word_t_unaligned
  ------------------
              			store_word_unaligned(load_word_unaligned(src), dst);
  ------------------
  |  |  457|   372k|#define load_word_unaligned	load_machine_word_t_unaligned
  ------------------
  598|   372k|			src += WORDBYTES;
  ------------------
  |  |  125|   372k|#define WORDBYTES	((int)sizeof(machine_word_t))
  ------------------
  599|   372k|			dst += WORDBYTES;
  ------------------
  |  |  125|   372k|#define WORDBYTES	((int)sizeof(machine_word_t))
  ------------------
  600|   372k|			store_word_unaligned(load_word_unaligned(src), dst);
  ------------------
  |  |  458|   372k|#define store_word_unaligned	store_machine_word_t_unaligned
  ------------------
              			store_word_unaligned(load_word_unaligned(src), dst);
  ------------------
  |  |  457|   372k|#define load_word_unaligned	load_machine_word_t_unaligned
  ------------------
  601|   372k|			src += WORDBYTES;
  ------------------
  |  |  125|   372k|#define WORDBYTES	((int)sizeof(machine_word_t))
  ------------------
  602|   372k|			dst += WORDBYTES;
  ------------------
  |  |  125|   372k|#define WORDBYTES	((int)sizeof(machine_word_t))
  ------------------
  603|   372k|			store_word_unaligned(load_word_unaligned(src), dst);
  ------------------
  |  |  458|   372k|#define store_word_unaligned	store_machine_word_t_unaligned
  ------------------
              			store_word_unaligned(load_word_unaligned(src), dst);
  ------------------
  |  |  457|   372k|#define load_word_unaligned	load_machine_word_t_unaligned
  ------------------
  604|   372k|			src += WORDBYTES;
  ------------------
  |  |  125|   372k|#define WORDBYTES	((int)sizeof(machine_word_t))
  ------------------
  605|   372k|			dst += WORDBYTES;
  ------------------
  |  |  125|   372k|#define WORDBYTES	((int)sizeof(machine_word_t))
  ------------------
  606|   508k|			while (dst < out_next) {
  ------------------
  |  Branch (606:11): [True: 136k, False: 372k]
  ------------------
  607|   136k|				store_word_unaligned(load_word_unaligned(src), dst);
  ------------------
  |  |  458|   136k|#define store_word_unaligned	store_machine_word_t_unaligned
  ------------------
              				store_word_unaligned(load_word_unaligned(src), dst);
  ------------------
  |  |  457|   136k|#define load_word_unaligned	load_machine_word_t_unaligned
  ------------------
  608|   136k|				src += WORDBYTES;
  ------------------
  |  |  125|   136k|#define WORDBYTES	((int)sizeof(machine_word_t))
  ------------------
  609|   136k|				dst += WORDBYTES;
  ------------------
  |  |  125|   136k|#define WORDBYTES	((int)sizeof(machine_word_t))
  ------------------
  610|   136k|				store_word_unaligned(load_word_unaligned(src), dst);
  ------------------
  |  |  458|   136k|#define store_word_unaligned	store_machine_word_t_unaligned
  ------------------
              				store_word_unaligned(load_word_unaligned(src), dst);
  ------------------
  |  |  457|   136k|#define load_word_unaligned	load_machine_word_t_unaligned
  ------------------
  611|   136k|				src += WORDBYTES;
  ------------------
  |  |  125|   136k|#define WORDBYTES	((int)sizeof(machine_word_t))
  ------------------
  612|   136k|				dst += WORDBYTES;
  ------------------
  |  |  125|   136k|#define WORDBYTES	((int)sizeof(machine_word_t))
  ------------------
  613|   136k|				store_word_unaligned(load_word_unaligned(src), dst);
  ------------------
  |  |  458|   136k|#define store_word_unaligned	store_machine_word_t_unaligned
  ------------------
              				store_word_unaligned(load_word_unaligned(src), dst);
  ------------------
  |  |  457|   136k|#define load_word_unaligned	load_machine_word_t_unaligned
  ------------------
  614|   136k|				src += WORDBYTES;
  ------------------
  |  |  125|   136k|#define WORDBYTES	((int)sizeof(machine_word_t))
  ------------------
  615|   136k|				dst += WORDBYTES;
  ------------------
  |  |  125|   136k|#define WORDBYTES	((int)sizeof(machine_word_t))
  ------------------
  616|   136k|				store_word_unaligned(load_word_unaligned(src), dst);
  ------------------
  |  |  458|   136k|#define store_word_unaligned	store_machine_word_t_unaligned
  ------------------
              				store_word_unaligned(load_word_unaligned(src), dst);
  ------------------
  |  |  457|   136k|#define load_word_unaligned	load_machine_word_t_unaligned
  ------------------
  617|   136k|				src += WORDBYTES;
  ------------------
  |  |  125|   136k|#define WORDBYTES	((int)sizeof(machine_word_t))
  ------------------
  618|   136k|				dst += WORDBYTES;
  ------------------
  |  |  125|   136k|#define WORDBYTES	((int)sizeof(machine_word_t))
  ------------------
  619|   136k|				store_word_unaligned(load_word_unaligned(src), dst);
  ------------------
  |  |  458|   136k|#define store_word_unaligned	store_machine_word_t_unaligned
  ------------------
              				store_word_unaligned(load_word_unaligned(src), dst);
  ------------------
  |  |  457|   136k|#define load_word_unaligned	load_machine_word_t_unaligned
  ------------------
  620|   136k|				src += WORDBYTES;
  ------------------
  |  |  125|   136k|#define WORDBYTES	((int)sizeof(machine_word_t))
  ------------------
  621|   136k|				dst += WORDBYTES;
  ------------------
  |  |  125|   136k|#define WORDBYTES	((int)sizeof(machine_word_t))
  ------------------
  622|   136k|			}
  623|   372k|		} else if (UNALIGNED_ACCESS_IS_FAST && offset == 1) {
  ------------------
  |  |  402|  75.0k|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  ------------------
  |  |  |  Branch (402:36): [True: 37.5k, Folded]
  |  |  ------------------
  ------------------
  |  Branch (623:42): [True: 4.04k, False: 33.4k]
  ------------------
  624|  4.04k|			machine_word_t v;
  625|       |
  626|       |			/*
  627|       |			 * This part tends to get auto-vectorized, so keep it
  628|       |			 * copying a multiple of 16 bytes at a time.
  629|       |			 */
  630|  4.04k|			v = (machine_word_t)0x0101010101010101 * src[0];
  631|  4.04k|			store_word_unaligned(v, dst);
  ------------------
  |  |  458|  4.04k|#define store_word_unaligned	store_machine_word_t_unaligned
  ------------------
  632|  4.04k|			dst += WORDBYTES;
  ------------------
  |  |  125|  4.04k|#define WORDBYTES	((int)sizeof(machine_word_t))
  ------------------
  633|  4.04k|			store_word_unaligned(v, dst);
  ------------------
  |  |  458|  4.04k|#define store_word_unaligned	store_machine_word_t_unaligned
  ------------------
  634|  4.04k|			dst += WORDBYTES;
  ------------------
  |  |  125|  4.04k|#define WORDBYTES	((int)sizeof(machine_word_t))
  ------------------
  635|  4.04k|			store_word_unaligned(v, dst);
  ------------------
  |  |  458|  4.04k|#define store_word_unaligned	store_machine_word_t_unaligned
  ------------------
  636|  4.04k|			dst += WORDBYTES;
  ------------------
  |  |  125|  4.04k|#define WORDBYTES	((int)sizeof(machine_word_t))
  ------------------
  637|  4.04k|			store_word_unaligned(v, dst);
  ------------------
  |  |  458|  4.04k|#define store_word_unaligned	store_machine_word_t_unaligned
  ------------------
  638|  4.04k|			dst += WORDBYTES;
  ------------------
  |  |  125|  4.04k|#define WORDBYTES	((int)sizeof(machine_word_t))
  ------------------
  639|  4.18k|			while (dst < out_next) {
  ------------------
  |  Branch (639:11): [True: 136, False: 4.04k]
  ------------------
  640|    136|				store_word_unaligned(v, dst);
  ------------------
  |  |  458|    136|#define store_word_unaligned	store_machine_word_t_unaligned
  ------------------
  641|    136|				dst += WORDBYTES;
  ------------------
  |  |  125|    136|#define WORDBYTES	((int)sizeof(machine_word_t))
  ------------------
  642|    136|				store_word_unaligned(v, dst);
  ------------------
  |  |  458|    136|#define store_word_unaligned	store_machine_word_t_unaligned
  ------------------
  643|    136|				dst += WORDBYTES;
  ------------------
  |  |  125|    136|#define WORDBYTES	((int)sizeof(machine_word_t))
  ------------------
  644|    136|				store_word_unaligned(v, dst);
  ------------------
  |  |  458|    136|#define store_word_unaligned	store_machine_word_t_unaligned
  ------------------
  645|    136|				dst += WORDBYTES;
  ------------------
  |  |  125|    136|#define WORDBYTES	((int)sizeof(machine_word_t))
  ------------------
  646|    136|				store_word_unaligned(v, dst);
  ------------------
  |  |  458|    136|#define store_word_unaligned	store_machine_word_t_unaligned
  ------------------
  647|    136|				dst += WORDBYTES;
  ------------------
  |  |  125|    136|#define WORDBYTES	((int)sizeof(machine_word_t))
  ------------------
  648|    136|			}
  649|  33.4k|		} else if (UNALIGNED_ACCESS_IS_FAST) {
  ------------------
  |  |  402|  33.4k|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  ------------------
  |  |  |  Branch (402:36): [True: 33.4k, Folded]
  |  |  ------------------
  ------------------
  650|  33.4k|			store_word_unaligned(load_word_unaligned(src), dst);
  ------------------
  |  |  458|  33.4k|#define store_word_unaligned	store_machine_word_t_unaligned
  ------------------
              			store_word_unaligned(load_word_unaligned(src), dst);
  ------------------
  |  |  457|  33.4k|#define load_word_unaligned	load_machine_word_t_unaligned
  ------------------
  651|  33.4k|			src += offset;
  652|  33.4k|			dst += offset;
  653|  33.4k|			store_word_unaligned(load_word_unaligned(src), dst);
  ------------------
  |  |  458|  33.4k|#define store_word_unaligned	store_machine_word_t_unaligned
  ------------------
              			store_word_unaligned(load_word_unaligned(src), dst);
  ------------------
  |  |  457|  33.4k|#define load_word_unaligned	load_machine_word_t_unaligned
  ------------------
  654|  33.4k|			src += offset;
  655|  33.4k|			dst += offset;
  656|  49.2k|			do {
  657|  49.2k|				store_word_unaligned(load_word_unaligned(src), dst);
  ------------------
  |  |  458|  49.2k|#define store_word_unaligned	store_machine_word_t_unaligned
  ------------------
              				store_word_unaligned(load_word_unaligned(src), dst);
  ------------------
  |  |  457|  49.2k|#define load_word_unaligned	load_machine_word_t_unaligned
  ------------------
  658|  49.2k|				src += offset;
  659|  49.2k|				dst += offset;
  660|  49.2k|				store_word_unaligned(load_word_unaligned(src), dst);
  ------------------
  |  |  458|  49.2k|#define store_word_unaligned	store_machine_word_t_unaligned
  ------------------
              				store_word_unaligned(load_word_unaligned(src), dst);
  ------------------
  |  |  457|  49.2k|#define load_word_unaligned	load_machine_word_t_unaligned
  ------------------
  661|  49.2k|				src += offset;
  662|  49.2k|				dst += offset;
  663|  49.2k|			} while (dst < out_next);
  ------------------
  |  Branch (663:13): [True: 15.7k, False: 33.4k]
  ------------------
  664|  33.4k|		} else {
  665|      0|			*dst++ = *src++;
  666|      0|			*dst++ = *src++;
  667|      0|			do {
  668|      0|				*dst++ = *src++;
  669|      0|			} while (dst < out_next);
  ------------------
  |  Branch (669:13): [True: 0, False: 0]
  ------------------
  670|      0|		}
  671|   470k|	} while (in_next < in_fastloop_end && out_next < out_fastloop_end);
  ------------------
  |  Branch (671:11): [True: 470k, False: 123]
  |  Branch (671:40): [True: 469k, False: 1.05k]
  ------------------
  672|       |
  673|       |	/*
  674|       |	 * This is the generic loop for decoding literals and matches.  This
  675|       |	 * handles cases where in_next and out_next are close to the end of
  676|       |	 * their respective buffers.  Usually this loop isn't performance-
  677|       |	 * critical, as most time is spent in the fastloop above instead.  We
  678|       |	 * therefore omit some optimizations here in favor of smaller code.
  679|       |	 */
  680|  1.53k|generic_loop:
  681|   142k|	for (;;) {
  682|   142k|		u32 length, offset;
  683|   142k|		const u8 *src;
  684|   142k|		u8 *dst;
  685|       |
  686|   142k|		REFILL_BITS();
  ------------------
  |  |  236|   142k|#define REFILL_BITS()							\
  |  |  237|   142k|do {									\
  |  |  238|   142k|	if (UNALIGNED_ACCESS_IS_FAST &&					\
  |  |  ------------------
  |  |  |  |  402|   284k|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (402:36): [True: 142k, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  239|   142k|	    likely(in_end - in_next >= sizeof(bitbuf_t))) {		\
  |  |  ------------------
  |  |  |  |  217|   142k|#  define likely(expr)		__builtin_expect(!!(expr), 1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (217:25): [True: 122k, False: 19.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  240|   122k|		REFILL_BITS_BRANCHLESS();				\
  |  |  ------------------
  |  |  |  |  206|   122k|#define REFILL_BITS_BRANCHLESS()					\
  |  |  |  |  207|   122k|do {									\
  |  |  |  |  208|   122k|	bitbuf |= get_unaligned_leword(in_next) << (u8)bitsleft;	\
  |  |  |  |  209|   122k|	in_next += sizeof(bitbuf_t) - 1;				\
  |  |  |  |  210|   122k|	in_next -= (bitsleft >> 3) & 0x7;				\
  |  |  |  |  211|   122k|	bitsleft |= MAX_BITSLEFT & ~7;					\
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|   122k|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|   122k|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 122k, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|   122k|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  212|   122k|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (212:10): [Folded, False: 122k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  241|   122k|	} else {							\
  |  |  242|  39.6k|		while ((u8)bitsleft < CONSUMABLE_NBITS) {		\
  |  |  ------------------
  |  |  |  |  125|  39.6k|#define CONSUMABLE_NBITS	(MAX_BITSLEFT - 7)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|  39.6k|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|  39.6k|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 39.6k, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|  39.6k|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (242:10): [True: 19.7k, False: 19.8k]
  |  |  ------------------
  |  |  243|  19.7k|			if (likely(in_next != in_end)) {		\
  |  |  ------------------
  |  |  |  |  217|  19.7k|#  define likely(expr)		__builtin_expect(!!(expr), 1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (217:25): [True: 10.5k, False: 9.20k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  244|  10.5k|				bitbuf |= (bitbuf_t)*in_next++ <<	\
  |  |  245|  10.5k|					  (u8)bitsleft;			\
  |  |  246|  10.5k|			} else {					\
  |  |  247|  9.20k|				overread_count++;			\
  |  |  248|  9.20k|				SAFETY_CHECK(overread_count <=		\
  |  |  ------------------
  |  |  |  |   60|  9.20k|#  define SAFETY_CHECK(expr)	if (unlikely(!(expr))) return LIBDEFLATE_BAD_DATA
  |  |  |  |  ------------------
  |  |  |  |  |  |  224|  9.20k|#  define unlikely(expr)	__builtin_expect(!!(expr), 0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (224:26): [True: 0, False: 9.20k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  249|  9.20k|					     sizeof(bitbuf_t));		\
  |  |  250|  9.20k|			}						\
  |  |  251|  19.7k|			bitsleft += 8;					\
  |  |  252|  19.7k|		}							\
  |  |  253|  19.8k|	}								\
  |  |  254|   142k|} while (0)
  |  |  ------------------
  |  |  |  Branch (254:10): [Folded, False: 142k]
  |  |  ------------------
  ------------------
  687|   142k|		entry = d->u.litlen_decode_table[bitbuf & litlen_tablemask];
  688|   142k|		saved_bitbuf = bitbuf;
  689|   142k|		bitbuf >>= (u8)entry;
  690|   142k|		bitsleft -= entry;
  691|   142k|		if (unlikely(entry & HUFFDEC_SUBTABLE_POINTER)) {
  ------------------
  |  |  224|   142k|#  define unlikely(expr)	__builtin_expect(!!(expr), 0)
  |  |  ------------------
  |  |  |  Branch (224:26): [True: 12, False: 142k]
  |  |  ------------------
  ------------------
  692|     12|			entry = d->u.litlen_decode_table[(entry >> 16) +
  693|     12|					EXTRACT_VARBITS(bitbuf, (entry >> 8) & 0x3F)];
  ------------------
  |  |   38|     12|#  define EXTRACT_VARBITS(word, count)	((word) & BITMASK(count))
  |  |  ------------------
  |  |  |  |  109|     12|#define BITMASK(n)	(((bitbuf_t)1 << (n)) - 1)
  |  |  ------------------
  ------------------
  694|     12|			saved_bitbuf = bitbuf;
  695|     12|			bitbuf >>= (u8)entry;
  696|     12|			bitsleft -= entry;
  697|     12|		}
  698|   142k|		length = entry >> 16;
  699|   142k|		if (entry & HUFFDEC_LITERAL) {
  ------------------
  |  |  420|   142k|#define HUFFDEC_LITERAL			0x80000000
  ------------------
  |  Branch (699:7): [True: 104k, False: 37.3k]
  ------------------
  700|   104k|			if (unlikely(out_next == out_end))
  ------------------
  |  |  224|   104k|#  define unlikely(expr)	__builtin_expect(!!(expr), 0)
  |  |  ------------------
  |  |  |  Branch (224:26): [True: 0, False: 104k]
  |  |  ------------------
  ------------------
  701|      0|				return LIBDEFLATE_INSUFFICIENT_SPACE;
  702|   104k|			*out_next++ = length;
  703|   104k|			continue;
  704|   104k|		}
  705|  37.3k|		if (unlikely(entry & HUFFDEC_END_OF_BLOCK))
  ------------------
  |  |  224|  37.3k|#  define unlikely(expr)	__builtin_expect(!!(expr), 0)
  |  |  ------------------
  |  |  |  Branch (224:26): [True: 1.53k, False: 35.8k]
  |  |  ------------------
  ------------------
  706|  1.53k|			goto block_done;
  707|  35.8k|		length += EXTRACT_VARBITS8(saved_bitbuf, entry) >> (u8)(entry >> 8);
  ------------------
  |  |   41|  35.8k|#  define EXTRACT_VARBITS8(word, count)	((word) & BITMASK((u8)(count)))
  |  |  ------------------
  |  |  |  |  109|  35.8k|#define BITMASK(n)	(((bitbuf_t)1 << (n)) - 1)
  |  |  ------------------
  ------------------
  708|  35.8k|		if (unlikely(length > out_end - out_next))
  ------------------
  |  |  224|  35.8k|#  define unlikely(expr)	__builtin_expect(!!(expr), 0)
  |  |  ------------------
  |  |  |  Branch (224:26): [True: 0, False: 35.8k]
  |  |  ------------------
  ------------------
  709|      0|			return LIBDEFLATE_INSUFFICIENT_SPACE;
  710|       |
  711|  35.8k|		if (!CAN_CONSUME(LENGTH_MAXBITS + OFFSET_MAXBITS))
  ------------------
  |  |  151|  35.8k|#define CAN_CONSUME(n)	(CONSUMABLE_NBITS >= (n))
  |  |  ------------------
  |  |  |  |  125|  35.8k|#define CONSUMABLE_NBITS	(MAX_BITSLEFT - 7)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|  35.8k|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|  35.8k|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|  35.8k|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (711:7): [Folded, False: 35.8k]
  ------------------
  712|      0|			REFILL_BITS();
  ------------------
  |  |  236|      0|#define REFILL_BITS()							\
  |  |  237|      0|do {									\
  |  |  238|      0|	if (UNALIGNED_ACCESS_IS_FAST &&					\
  |  |  ------------------
  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  239|      0|	    likely(in_end - in_next >= sizeof(bitbuf_t))) {		\
  |  |  ------------------
  |  |  |  |  217|      0|#  define likely(expr)		__builtin_expect(!!(expr), 1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (217:25): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  240|      0|		REFILL_BITS_BRANCHLESS();				\
  |  |  ------------------
  |  |  |  |  206|      0|#define REFILL_BITS_BRANCHLESS()					\
  |  |  |  |  207|      0|do {									\
  |  |  |  |  208|      0|	bitbuf |= get_unaligned_leword(in_next) << (u8)bitsleft;	\
  |  |  |  |  209|      0|	in_next += sizeof(bitbuf_t) - 1;				\
  |  |  |  |  210|      0|	in_next -= (bitsleft >> 3) & 0x7;				\
  |  |  |  |  211|      0|	bitsleft |= MAX_BITSLEFT & ~7;					\
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|      0|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  212|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (212:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  241|      0|	} else {							\
  |  |  242|      0|		while ((u8)bitsleft < CONSUMABLE_NBITS) {		\
  |  |  ------------------
  |  |  |  |  125|      0|#define CONSUMABLE_NBITS	(MAX_BITSLEFT - 7)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|      0|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (242:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  243|      0|			if (likely(in_next != in_end)) {		\
  |  |  ------------------
  |  |  |  |  217|      0|#  define likely(expr)		__builtin_expect(!!(expr), 1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (217:25): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  244|      0|				bitbuf |= (bitbuf_t)*in_next++ <<	\
  |  |  245|      0|					  (u8)bitsleft;			\
  |  |  246|      0|			} else {					\
  |  |  247|      0|				overread_count++;			\
  |  |  248|      0|				SAFETY_CHECK(overread_count <=		\
  |  |  ------------------
  |  |  |  |   60|      0|#  define SAFETY_CHECK(expr)	if (unlikely(!(expr))) return LIBDEFLATE_BAD_DATA
  |  |  |  |  ------------------
  |  |  |  |  |  |  224|      0|#  define unlikely(expr)	__builtin_expect(!!(expr), 0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (224:26): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  249|      0|					     sizeof(bitbuf_t));		\
  |  |  250|      0|			}						\
  |  |  251|      0|			bitsleft += 8;					\
  |  |  252|      0|		}							\
  |  |  253|      0|	}								\
  |  |  254|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (254:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
  713|  35.8k|		entry = d->offset_decode_table[bitbuf & BITMASK(OFFSET_TABLEBITS)];
  ------------------
  |  |  109|  35.8k|#define BITMASK(n)	(((bitbuf_t)1 << (n)) - 1)
  ------------------
  714|  35.8k|		if (unlikely(entry & HUFFDEC_EXCEPTIONAL)) {
  ------------------
  |  |  224|  35.8k|#  define unlikely(expr)	__builtin_expect(!!(expr), 0)
  |  |  ------------------
  |  |  |  Branch (224:26): [True: 18, False: 35.8k]
  |  |  ------------------
  ------------------
  715|     18|			bitbuf >>= OFFSET_TABLEBITS;
  ------------------
  |  |  374|     18|#define OFFSET_TABLEBITS	8
  ------------------
  716|     18|			bitsleft -= OFFSET_TABLEBITS;
  ------------------
  |  |  374|     18|#define OFFSET_TABLEBITS	8
  ------------------
  717|     18|			entry = d->offset_decode_table[(entry >> 16) +
  718|     18|					EXTRACT_VARBITS(bitbuf, (entry >> 8) & 0x3F)];
  ------------------
  |  |   38|     18|#  define EXTRACT_VARBITS(word, count)	((word) & BITMASK(count))
  |  |  ------------------
  |  |  |  |  109|     18|#define BITMASK(n)	(((bitbuf_t)1 << (n)) - 1)
  |  |  ------------------
  ------------------
  719|     18|			if (!CAN_CONSUME(OFFSET_MAXBITS))
  ------------------
  |  |  151|     18|#define CAN_CONSUME(n)	(CONSUMABLE_NBITS >= (n))
  |  |  ------------------
  |  |  |  |  125|     18|#define CONSUMABLE_NBITS	(MAX_BITSLEFT - 7)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|     18|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|     18|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|     18|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (719:8): [Folded, False: 18]
  ------------------
  720|      0|				REFILL_BITS();
  ------------------
  |  |  236|      0|#define REFILL_BITS()							\
  |  |  237|      0|do {									\
  |  |  238|      0|	if (UNALIGNED_ACCESS_IS_FAST &&					\
  |  |  ------------------
  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  239|      0|	    likely(in_end - in_next >= sizeof(bitbuf_t))) {		\
  |  |  ------------------
  |  |  |  |  217|      0|#  define likely(expr)		__builtin_expect(!!(expr), 1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (217:25): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  240|      0|		REFILL_BITS_BRANCHLESS();				\
  |  |  ------------------
  |  |  |  |  206|      0|#define REFILL_BITS_BRANCHLESS()					\
  |  |  |  |  207|      0|do {									\
  |  |  |  |  208|      0|	bitbuf |= get_unaligned_leword(in_next) << (u8)bitsleft;	\
  |  |  |  |  209|      0|	in_next += sizeof(bitbuf_t) - 1;				\
  |  |  |  |  210|      0|	in_next -= (bitsleft >> 3) & 0x7;				\
  |  |  |  |  211|      0|	bitsleft |= MAX_BITSLEFT & ~7;					\
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|      0|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  212|      0|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (212:10): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  241|      0|	} else {							\
  |  |  242|      0|		while ((u8)bitsleft < CONSUMABLE_NBITS) {		\
  |  |  ------------------
  |  |  |  |  125|      0|#define CONSUMABLE_NBITS	(MAX_BITSLEFT - 7)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|      0|	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  402|      0|#  define UNALIGNED_ACCESS_IS_FAST	1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (402:36): [True: 0, Folded]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               	(UNALIGNED_ACCESS_IS_FAST ? BITBUF_NBITS - 1 : BITBUF_NBITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  106|      0|#define BITBUF_NBITS	(8 * (int)sizeof(bitbuf_t))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (242:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  243|      0|			if (likely(in_next != in_end)) {		\
  |  |  ------------------
  |  |  |  |  217|      0|#  define likely(expr)		__builtin_expect(!!(expr), 1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (217:25): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  244|      0|				bitbuf |= (bitbuf_t)*in_next++ <<	\
  |  |  245|      0|					  (u8)bitsleft;			\
  |  |  246|      0|			} else {					\
  |  |  247|      0|				overread_count++;			\
  |  |  248|      0|				SAFETY_CHECK(overread_count <=		\
  |  |  ------------------
  |  |  |  |   60|      0|#  define SAFETY_CHECK(expr)	if (unlikely(!(expr))) return LIBDEFLATE_BAD_DATA
  |  |  |  |  ------------------
  |  |  |  |  |  |  224|      0|#  define unlikely(expr)	__builtin_expect(!!(expr), 0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (224:26): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  249|      0|					     sizeof(bitbuf_t));		\
  |  |  250|      0|			}						\
  |  |  251|      0|			bitsleft += 8;					\
  |  |  252|      0|		}							\
  |  |  253|      0|	}								\
  |  |  254|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (254:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
  721|     18|		}
  722|  35.8k|		offset = entry >> 16;
  723|  35.8k|		offset += EXTRACT_VARBITS8(bitbuf, entry) >> (u8)(entry >> 8);
  ------------------
  |  |   41|  35.8k|#  define EXTRACT_VARBITS8(word, count)	((word) & BITMASK((u8)(count)))
  |  |  ------------------
  |  |  |  |  109|  35.8k|#define BITMASK(n)	(((bitbuf_t)1 << (n)) - 1)
  |  |  ------------------
  ------------------
  724|  35.8k|		bitbuf >>= (u8)entry;
  725|  35.8k|		bitsleft -= entry;
  726|       |
  727|  35.8k|		SAFETY_CHECK(offset <= out_next - (const u8 *)out);
  ------------------
  |  |   60|  35.8k|#  define SAFETY_CHECK(expr)	if (unlikely(!(expr))) return LIBDEFLATE_BAD_DATA
  |  |  ------------------
  |  |  |  |  224|  35.8k|#  define unlikely(expr)	__builtin_expect(!!(expr), 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (224:26): [True: 0, False: 35.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  728|  35.8k|		src = out_next - offset;
  729|  35.8k|		dst = out_next;
  730|  35.8k|		out_next += length;
  731|       |
  732|  35.8k|		STATIC_ASSERT(DEFLATE_MIN_MATCH_LEN == 3);
  ------------------
  |  |  297|  35.8k|#define STATIC_ASSERT(expr)	((void)sizeof(char[1 - 2 * !(expr)]))
  ------------------
  733|  35.8k|		*dst++ = *src++;
  734|  35.8k|		*dst++ = *src++;
  735|   257k|		do {
  736|   257k|			*dst++ = *src++;
  737|   257k|		} while (dst < out_next);
  ------------------
  |  Branch (737:12): [True: 221k, False: 35.8k]
  ------------------
  738|  35.8k|	}
  739|       |
  740|  1.70k|block_done:
  741|       |	/* Finished decoding a block */
  742|       |
  743|  1.70k|	if (!is_final_block)
  ------------------
  |  Branch (743:6): [True: 176, False: 1.53k]
  ------------------
  744|    176|		goto next_block;
  745|       |
  746|       |	/* That was the last block. */
  747|       |
  748|  1.53k|	bitsleft = (u8)bitsleft;
  749|       |
  750|       |	/*
  751|       |	 * If any of the implicit appended zero bytes were consumed (not just
  752|       |	 * refilled) before hitting end of stream, then the data is bad.
  753|       |	 */
  754|  1.53k|	SAFETY_CHECK(overread_count <= (bitsleft >> 3));
  ------------------
  |  |   60|  1.53k|#  define SAFETY_CHECK(expr)	if (unlikely(!(expr))) return LIBDEFLATE_BAD_DATA
  |  |  ------------------
  |  |  |  |  224|  1.53k|#  define unlikely(expr)	__builtin_expect(!!(expr), 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (224:26): [True: 0, False: 1.53k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  755|       |
  756|       |	/* Optionally return the actual number of bytes consumed. */
  757|  1.53k|	if (actual_in_nbytes_ret) {
  ------------------
  |  Branch (757:6): [True: 1.53k, False: 0]
  ------------------
  758|       |		/* Don't count bytes that were refilled but not consumed. */
  759|  1.53k|		in_next -= (bitsleft >> 3) - overread_count;
  760|       |
  761|  1.53k|		*actual_in_nbytes_ret = in_next - (u8 *)in;
  762|  1.53k|	}
  763|       |
  764|       |	/* Optionally return the actual number of bytes written. */
  765|  1.53k|	if (actual_out_nbytes_ret) {
  ------------------
  |  Branch (765:6): [True: 1.53k, False: 0]
  ------------------
  766|  1.53k|		*actual_out_nbytes_ret = out_next - (u8 *)out;
  767|  1.53k|	} else {
  768|      0|		if (out_next != out_end)
  ------------------
  |  Branch (768:7): [True: 0, False: 0]
  ------------------
  769|      0|			return LIBDEFLATE_SHORT_OUTPUT;
  770|      0|	}
  771|  1.53k|	return LIBDEFLATE_SUCCESS;
  772|  1.53k|}

libdeflate_deflate_decompress_ex:
 1139|  1.53k|{
 1140|  1.53k|	return decompress_impl(d, in, in_nbytes, out, out_nbytes_avail,
 1141|  1.53k|			       actual_in_nbytes_ret, actual_out_nbytes_ret);
 1142|  1.53k|}
libdeflate_alloc_decompressor_ex:
 1157|      2|{
 1158|      2|	struct libdeflate_decompressor *d;
 1159|       |
 1160|       |	/*
 1161|       |	 * Note: if more fields are added to libdeflate_options, this code will
 1162|       |	 * need to be updated to support both the old and new structs.
 1163|       |	 */
 1164|      2|	if (options->sizeof_options != sizeof(*options))
  ------------------
  |  Branch (1164:6): [True: 0, False: 2]
  ------------------
 1165|      0|		return NULL;
 1166|       |
 1167|      2|	d = (options->malloc_func ? options->malloc_func :
  ------------------
  |  Branch (1167:7): [True: 0, False: 2]
  ------------------
 1168|      2|	     libdeflate_default_malloc_func)(sizeof(*d));
 1169|      2|	if (d == NULL)
  ------------------
  |  Branch (1169:6): [True: 0, False: 2]
  ------------------
 1170|      0|		return NULL;
 1171|       |	/*
 1172|       |	 * Note that only certain parts of the decompressor actually must be
 1173|       |	 * initialized here:
 1174|       |	 *
 1175|       |	 * - 'static_codes_loaded' must be initialized to false.
 1176|       |	 *
 1177|       |	 * - The first half of the main portion of each decode table must be
 1178|       |	 *   initialized to any value, to avoid reading from uninitialized
 1179|       |	 *   memory during table expansion in build_decode_table().  (Although,
 1180|       |	 *   this is really just to avoid warnings with dynamic tools like
 1181|       |	 *   valgrind, since build_decode_table() is guaranteed to initialize
 1182|       |	 *   all entries eventually anyway.)
 1183|       |	 *
 1184|       |	 * - 'free_func' must be set.
 1185|       |	 *
 1186|       |	 * But for simplicity, we currently just zero the whole decompressor.
 1187|       |	 */
 1188|      2|	memset(d, 0, sizeof(*d));
 1189|      2|	d->free_func = options->free_func ?
  ------------------
  |  Branch (1189:17): [True: 0, False: 2]
  ------------------
 1190|      2|		       options->free_func : libdeflate_default_free_func;
 1191|      2|	return d;
 1192|      2|}
libdeflate_alloc_decompressor:
 1196|      2|{
 1197|      2|	static const struct libdeflate_options defaults = {
 1198|      2|		.sizeof_options = sizeof(defaults),
 1199|      2|	};
 1200|      2|	return libdeflate_alloc_decompressor_ex(&defaults);
 1201|      2|}
deflate_decompress.c:dispatch_decomp:
 1110|      2|{
 1111|      2|	decompress_func_t f = arch_select_decompress_func();
  ------------------
  |  |   54|      2|#define arch_select_decompress_func	arch_select_decompress_func
  ------------------
 1112|       |
 1113|      2|	if (f == NULL)
  ------------------
  |  Branch (1113:6): [True: 0, False: 2]
  ------------------
 1114|      0|		f = DEFAULT_IMPL;
  ------------------
  |  | 1092|      0|#  define DEFAULT_IMPL deflate_decompress_default
  ------------------
 1115|       |
 1116|      2|	decompress_impl = f;
 1117|      2|	return f(d, in, in_nbytes, out, out_nbytes_avail,
 1118|      2|		 actual_in_nbytes_ret, actual_out_nbytes_ret);
 1119|      2|}
deflate_decompress.c:build_precode_decode_table:
 1009|  1.08k|{
 1010|       |	/* When you change TABLEBITS, you must change ENOUGH, and vice versa! */
 1011|  1.08k|	STATIC_ASSERT(PRECODE_TABLEBITS == 7 && PRECODE_ENOUGH == 128);
  ------------------
  |  |  297|  1.08k|#define STATIC_ASSERT(expr)	((void)sizeof(char[1 - 2 * !(expr)]))
  ------------------
 1012|       |
 1013|  1.08k|	STATIC_ASSERT(ARRAY_LEN(precode_decode_results) ==
  ------------------
  |  |  297|  1.08k|#define STATIC_ASSERT(expr)	((void)sizeof(char[1 - 2 * !(expr)]))
  ------------------
 1014|  1.08k|		      DEFLATE_NUM_PRECODE_SYMS);
 1015|       |
 1016|  1.08k|	return build_decode_table(d->u.l.precode_decode_table,
 1017|  1.08k|				  d->u.precode_lens,
 1018|  1.08k|				  DEFLATE_NUM_PRECODE_SYMS,
  ------------------
  |  |   26|  1.08k|#define DEFLATE_NUM_PRECODE_SYMS		19
  ------------------
 1019|  1.08k|				  precode_decode_results,
 1020|  1.08k|				  PRECODE_TABLEBITS,
  ------------------
  |  |  370|  1.08k|#define PRECODE_TABLEBITS	7
  ------------------
 1021|  1.08k|				  DEFLATE_MAX_PRE_CODEWORD_LEN,
  ------------------
  |  |   39|  1.08k|#define DEFLATE_MAX_PRE_CODEWORD_LEN		7
  ------------------
 1022|  1.08k|				  d->sorted_syms,
 1023|       |				  NULL);
 1024|  1.08k|}
deflate_decompress.c:build_decode_table:
  730|  3.89k|{
  731|  3.89k|	unsigned len_counts[DEFLATE_MAX_CODEWORD_LEN + 1];
  732|  3.89k|	unsigned offsets[DEFLATE_MAX_CODEWORD_LEN + 1];
  733|  3.89k|	unsigned sym;		/* current symbol */
  734|  3.89k|	unsigned codeword;	/* current codeword, bit-reversed */
  735|  3.89k|	unsigned len;		/* current codeword length in bits */
  736|  3.89k|	unsigned count;		/* num codewords remaining with this length */
  737|  3.89k|	u32 codespace_used;	/* codespace used out of '2^max_codeword_len' */
  738|  3.89k|	unsigned cur_table_end; /* end index of current table */
  739|  3.89k|	unsigned subtable_prefix; /* codeword prefix of current subtable */
  740|  3.89k|	unsigned subtable_start;  /* start index of current subtable */
  741|  3.89k|	unsigned subtable_bits;   /* log2 of current subtable length */
  742|       |
  743|       |	/* Count how many codewords have each length, including 0. */
  744|  57.5k|	for (len = 0; len <= max_codeword_len; len++)
  ------------------
  |  Branch (744:16): [True: 53.6k, False: 3.89k]
  ------------------
  745|  53.6k|		len_counts[len] = 0;
  746|   451k|	for (sym = 0; sym < num_syms; sym++)
  ------------------
  |  Branch (746:16): [True: 447k, False: 3.89k]
  ------------------
  747|   447k|		len_counts[lens[sym]]++;
  748|       |
  749|       |	/*
  750|       |	 * Determine the actual maximum codeword length that was used, and
  751|       |	 * decrease table_bits to it if allowed.
  752|       |	 */
  753|  25.5k|	while (max_codeword_len > 1 && len_counts[max_codeword_len] == 0)
  ------------------
  |  Branch (753:9): [True: 25.5k, False: 0]
  |  Branch (753:33): [True: 21.6k, False: 3.89k]
  ------------------
  754|  21.6k|		max_codeword_len--;
  755|  3.89k|	if (table_bits_ret != NULL) {
  ------------------
  |  Branch (755:6): [True: 1.40k, False: 2.48k]
  ------------------
  756|  1.40k|		table_bits = MIN(table_bits, max_codeword_len);
  ------------------
  |  |  294|  1.40k|#define MIN(a, b)		((a) <= (b) ? (a) : (b))
  |  |  ------------------
  |  |  |  Branch (294:21): [True: 176, False: 1.22k]
  |  |  ------------------
  ------------------
  757|  1.40k|		*table_bits_ret = table_bits;
  758|  1.40k|	}
  759|       |
  760|       |	/*
  761|       |	 * Sort the symbols primarily by increasing codeword length and
  762|       |	 * secondarily by increasing symbol value; or equivalently by their
  763|       |	 * codewords in lexicographic order, since a canonical code is assumed.
  764|       |	 *
  765|       |	 * For efficiency, also compute 'codespace_used' in the same pass over
  766|       |	 * 'len_counts[]' used to build 'offsets[]' for sorting.
  767|       |	 */
  768|       |
  769|       |	/* Ensure that 'codespace_used' cannot overflow. */
  770|  3.89k|	STATIC_ASSERT(sizeof(codespace_used) == 4);
  ------------------
  |  |  297|  3.89k|#define STATIC_ASSERT(expr)	((void)sizeof(char[1 - 2 * !(expr)]))
  ------------------
  771|  3.89k|	STATIC_ASSERT(UINT32_MAX / (1U << (DEFLATE_MAX_CODEWORD_LEN - 1)) >=
  ------------------
  |  |  297|  3.89k|#define STATIC_ASSERT(expr)	((void)sizeof(char[1 - 2 * !(expr)]))
  ------------------
  772|  3.89k|		      DEFLATE_MAX_NUM_SYMS);
  773|       |
  774|  3.89k|	offsets[0] = 0;
  775|  3.89k|	offsets[1] = len_counts[0];
  776|  3.89k|	codespace_used = 0;
  777|  28.0k|	for (len = 1; len < max_codeword_len; len++) {
  ------------------
  |  Branch (777:16): [True: 24.1k, False: 3.89k]
  ------------------
  778|  24.1k|		offsets[len + 1] = offsets[len] + len_counts[len];
  779|  24.1k|		codespace_used = (codespace_used << 1) + len_counts[len];
  780|  24.1k|	}
  781|  3.89k|	codespace_used = (codespace_used << 1) + len_counts[len];
  782|       |
  783|   451k|	for (sym = 0; sym < num_syms; sym++)
  ------------------
  |  Branch (783:16): [True: 447k, False: 3.89k]
  ------------------
  784|   447k|		sorted_syms[offsets[lens[sym]]++] = sym;
  785|       |
  786|  3.89k|	sorted_syms += offsets[0]; /* Skip unused symbols */
  787|       |
  788|       |	/* lens[] is done being used, so we can write to decode_table[] now. */
  789|       |
  790|       |	/*
  791|       |	 * Check whether the lengths form a complete code (exactly fills the
  792|       |	 * codespace), an incomplete code (doesn't fill the codespace), or an
  793|       |	 * overfull code (overflows the codespace).  A codeword of length 'n'
  794|       |	 * uses proportion '1/(2^n)' of the codespace.  An overfull code is
  795|       |	 * nonsensical, so is considered invalid.  An incomplete code is
  796|       |	 * considered valid only in two specific cases; see below.
  797|       |	 */
  798|       |
  799|       |	/* overfull code? */
  800|  3.89k|	if (unlikely(codespace_used > (1U << max_codeword_len)))
  ------------------
  |  |  224|  3.89k|#  define unlikely(expr)	__builtin_expect(!!(expr), 0)
  |  |  ------------------
  |  |  |  Branch (224:26): [True: 0, False: 3.89k]
  |  |  ------------------
  ------------------
  801|      0|		return false;
  802|       |
  803|       |	/* incomplete code? */
  804|  3.89k|	if (unlikely(codespace_used < (1U << max_codeword_len))) {
  ------------------
  |  |  224|  3.89k|#  define unlikely(expr)	__builtin_expect(!!(expr), 0)
  |  |  ------------------
  |  |  |  Branch (224:26): [True: 0, False: 3.89k]
  |  |  ------------------
  ------------------
  805|      0|		u32 entry;
  806|      0|		unsigned i;
  807|       |
  808|       |		/*
  809|       |		 * The DEFLATE RFC explicitly allows the offset code to be
  810|       |		 * incomplete in two cases: a code containing just 1 codeword,
  811|       |		 * if that codeword has length 1; and a code containing no
  812|       |		 * codewords.  Note: the list of offset codeword lengths is
  813|       |		 * always nonempty, but lengths of 0 don't count as codewords.
  814|       |		 *
  815|       |		 * The RFC doesn't say whether the same cases are allowed for
  816|       |		 * the litlen and pre codes.  It's actually impossible for no
  817|       |		 * symbols to be used from these codes; however, it's
  818|       |		 * technically possible for only one symbol to be used.  zlib
  819|       |		 * allows 1 codeword for the litlen code, but not the precode.
  820|       |		 * The RFC also doesn't say whether, when there is 1 codeword,
  821|       |		 * that codeword is '0' or '1'.  zlib uses '0'.
  822|       |		 *
  823|       |		 * We accept what zlib accepts, plus a bit more.  First, we
  824|       |		 * don't treat the precode more strictly than the litlen and
  825|       |		 * offset codes.  There's no convincing reason to add a special
  826|       |		 * case for the precode here.
  827|       |		 *
  828|       |		 * Second, we just map each allowed incompete code to a complete
  829|       |		 * code with only real symbols.  To do this, we choose a symbol,
  830|       |		 * either the used symbol (for codes with 1 codeword) or an
  831|       |		 * arbitrary symbol (for empty codes), and give it both
  832|       |		 * codewords '0' and '1'.  zlib instead uses a special ERROR
  833|       |		 * symbol in the part of the codespace the code doesn't use.
  834|       |		 * However, having an ERROR symbol reduces the performance of
  835|       |		 * the Huffman decoder, for no real benefit.  Our approach also
  836|       |		 * avoids having to decide whether '0' or '1' is correct.
  837|       |		 *
  838|       |		 * Like zlib, we still reject all incomplete codes that contain
  839|       |		 * more than 1 codeword or a codeword length greater than 1.
  840|       |		 */
  841|      0|		if (codespace_used == 0) {
  ------------------
  |  Branch (841:7): [True: 0, False: 0]
  ------------------
  842|      0|			sym = 0; /* arbitrary */
  843|      0|		} else {
  844|      0|			if (codespace_used != (1U << (max_codeword_len - 1)) ||
  ------------------
  |  Branch (844:8): [True: 0, False: 0]
  ------------------
  845|      0|			    len_counts[1] != 1)
  ------------------
  |  Branch (845:8): [True: 0, False: 0]
  ------------------
  846|      0|				return false;
  847|      0|			sym = sorted_syms[0];
  848|      0|		}
  849|      0|		entry = make_decode_table_entry(decode_results, sym, 1);
  850|      0|		for (i = 0; i < (1U << table_bits); i++)
  ------------------
  |  Branch (850:15): [True: 0, False: 0]
  ------------------
  851|      0|			decode_table[i] = entry;
  852|      0|		return true;
  853|      0|	}
  854|       |
  855|       |	/*
  856|       |	 * The lengths form a complete code.  Now, enumerate the codewords in
  857|       |	 * lexicographic order and fill the decode table entries for each one.
  858|       |	 *
  859|       |	 * First, process all codewords with len <= table_bits.  Each one gets
  860|       |	 * '2^(table_bits-len)' direct entries in the table.
  861|       |	 *
  862|       |	 * Since DEFLATE uses bit-reversed codewords, these entries aren't
  863|       |	 * consecutive but rather are spaced '2^len' entries apart.  This makes
  864|       |	 * filling them naively somewhat awkward and inefficient, since strided
  865|       |	 * stores are less cache-friendly and preclude the use of word or
  866|       |	 * vector-at-a-time stores to fill multiple entries per instruction.
  867|       |	 *
  868|       |	 * To optimize this, we incrementally double the table size.  When
  869|       |	 * processing codewords with length 'len', the table is treated as
  870|       |	 * having only '2^len' entries, so each codeword uses just one entry.
  871|       |	 * Then, each time 'len' is incremented, the table size is doubled and
  872|       |	 * the first half is copied to the second half.  This significantly
  873|       |	 * improves performance over naively doing strided stores.
  874|       |	 *
  875|       |	 * Note that some entries copied for each table doubling may not have
  876|       |	 * been initialized yet, but it doesn't matter since they're guaranteed
  877|       |	 * to be initialized later (because the Huffman code is complete).
  878|       |	 */
  879|  3.89k|	codeword = 0;
  880|  3.89k|	len = 1;
  881|  12.5k|	while ((count = len_counts[len]) == 0)
  ------------------
  |  Branch (881:9): [True: 8.65k, False: 3.89k]
  ------------------
  882|  8.65k|		len++;
  883|  3.89k|	cur_table_end = 1U << len;
  884|  18.7k|	while (len <= table_bits) {
  ------------------
  |  Branch (884:9): [True: 18.5k, False: 161]
  ------------------
  885|       |		/* Process all 'count' codewords with length 'len' bits. */
  886|   262k|		do {
  887|   262k|			unsigned bit;
  888|       |
  889|       |			/* Fill the first entry for the current codeword. */
  890|   262k|			decode_table[codeword] =
  891|   262k|				make_decode_table_entry(decode_results,
  892|   262k|							*sorted_syms++, len);
  893|       |
  894|   262k|			if (codeword == cur_table_end - 1) {
  ------------------
  |  Branch (894:8): [True: 3.73k, False: 258k]
  ------------------
  895|       |				/* Last codeword (all 1's) */
  896|  7.21k|				for (; len < table_bits; len++) {
  ------------------
  |  Branch (896:12): [True: 3.48k, False: 3.73k]
  ------------------
  897|  3.48k|					memcpy(&decode_table[cur_table_end],
  898|  3.48k|					       decode_table,
  899|  3.48k|					       cur_table_end *
  900|  3.48k|						sizeof(decode_table[0]));
  901|  3.48k|					cur_table_end <<= 1;
  902|  3.48k|				}
  903|  3.73k|				return true;
  904|  3.73k|			}
  905|       |			/*
  906|       |			 * To advance to the lexicographically next codeword in
  907|       |			 * the canonical code, the codeword must be incremented,
  908|       |			 * then 0's must be appended to the codeword as needed
  909|       |			 * to match the next codeword's length.
  910|       |			 *
  911|       |			 * Since the codeword is bit-reversed, appending 0's is
  912|       |			 * a no-op.  However, incrementing it is nontrivial.  To
  913|       |			 * do so efficiently, use the 'bsr' instruction to find
  914|       |			 * the last (highest order) 0 bit in the codeword, set
  915|       |			 * it, and clear any later (higher order) 1 bits.  But
  916|       |			 * 'bsr' actually finds the highest order 1 bit, so to
  917|       |			 * use it first flip all bits in the codeword by XOR'ing
  918|       |			 * it with (1U << len) - 1 == cur_table_end - 1.
  919|       |			 */
  920|   258k|			bit = 1U << bsr32(codeword ^ (cur_table_end - 1));
  921|   258k|			codeword &= bit - 1;
  922|   258k|			codeword |= bit;
  923|   258k|		} while (--count);
  ------------------
  |  Branch (923:12): [True: 243k, False: 14.8k]
  ------------------
  924|       |
  925|       |		/* Advance to the next codeword length. */
  926|  15.5k|		do {
  927|  15.5k|			if (++len <= table_bits) {
  ------------------
  |  Branch (927:8): [True: 15.3k, False: 163]
  ------------------
  928|  15.3k|				memcpy(&decode_table[cur_table_end],
  929|  15.3k|				       decode_table,
  930|  15.3k|				       cur_table_end * sizeof(decode_table[0]));
  931|  15.3k|				cur_table_end <<= 1;
  932|  15.3k|			}
  933|  15.5k|		} while ((count = len_counts[len]) == 0);
  ------------------
  |  Branch (933:12): [True: 669, False: 14.8k]
  ------------------
  934|  14.8k|	}
  935|       |
  936|       |	/* Process codewords with len > table_bits.  These require subtables. */
  937|    161|	cur_table_end = 1U << table_bits;
  938|    161|	subtable_prefix = -1;
  939|    161|	subtable_start = 0;
  940|  1.52k|	for (;;) {
  941|  1.52k|		u32 entry;
  942|  1.52k|		unsigned i;
  943|  1.52k|		unsigned stride;
  944|  1.52k|		unsigned bit;
  945|       |
  946|       |		/*
  947|       |		 * Start a new subtable if the first 'table_bits' bits of the
  948|       |		 * codeword don't match the prefix of the current subtable.
  949|       |		 */
  950|  1.52k|		if ((codeword & ((1U << table_bits) - 1)) != subtable_prefix) {
  ------------------
  |  Branch (950:7): [True: 709, False: 817]
  ------------------
  951|    709|			subtable_prefix = (codeword & ((1U << table_bits) - 1));
  952|    709|			subtable_start = cur_table_end;
  953|       |			/*
  954|       |			 * Calculate the subtable length.  If the codeword has
  955|       |			 * length 'table_bits + n', then the subtable needs
  956|       |			 * '2^n' entries.  But it may need more; if fewer than
  957|       |			 * '2^n' codewords of length 'table_bits + n' remain,
  958|       |			 * then the length will need to be incremented to bring
  959|       |			 * in longer codewords until the subtable can be
  960|       |			 * completely filled.  Note that because the Huffman
  961|       |			 * code is complete, it will always be possible to fill
  962|       |			 * the subtable eventually.
  963|       |			 */
  964|    709|			subtable_bits = len - table_bits;
  965|    709|			codespace_used = count;
  966|    729|			while (codespace_used < (1U << subtable_bits)) {
  ------------------
  |  Branch (966:11): [True: 20, False: 709]
  ------------------
  967|     20|				subtable_bits++;
  968|     20|				codespace_used = (codespace_used << 1) +
  969|     20|					len_counts[table_bits + subtable_bits];
  970|     20|			}
  971|    709|			cur_table_end = subtable_start + (1U << subtable_bits);
  972|       |
  973|       |			/*
  974|       |			 * Create the entry that points from the main table to
  975|       |			 * the subtable.
  976|       |			 */
  977|    709|			decode_table[subtable_prefix] =
  978|    709|				((u32)subtable_start << 16) |
  979|    709|				HUFFDEC_EXCEPTIONAL |
  ------------------
  |  |  423|    709|#define HUFFDEC_EXCEPTIONAL		0x00008000
  ------------------
  980|    709|				HUFFDEC_SUBTABLE_POINTER |
  ------------------
  |  |  426|    709|#define HUFFDEC_SUBTABLE_POINTER	0x00004000
  ------------------
  981|    709|				(subtable_bits << 8) | table_bits;
  982|    709|		}
  983|       |
  984|       |		/* Fill the subtable entries for the current codeword. */
  985|  1.52k|		entry = make_decode_table_entry(decode_results, *sorted_syms++,
  986|  1.52k|						len - table_bits);
  987|  1.52k|		i = subtable_start + (codeword >> table_bits);
  988|  1.52k|		stride = 1U << (len - table_bits);
  989|  1.54k|		do {
  990|  1.54k|			decode_table[i] = entry;
  991|  1.54k|			i += stride;
  992|  1.54k|		} while (i < cur_table_end);
  ------------------
  |  Branch (992:12): [True: 20, False: 1.52k]
  ------------------
  993|       |
  994|       |		/* Advance to the next codeword. */
  995|  1.52k|		if (codeword == (1U << len) - 1) /* last codeword (all 1's)? */
  ------------------
  |  Branch (995:7): [True: 161, False: 1.36k]
  ------------------
  996|    161|			return true;
  997|  1.36k|		bit = 1U << bsr32(codeword ^ ((1U << len) - 1));
  998|  1.36k|		codeword &= bit - 1;
  999|  1.36k|		codeword |= bit;
 1000|  1.36k|		count--;
 1001|  1.38k|		while (count == 0)
  ------------------
  |  Branch (1001:10): [True: 22, False: 1.36k]
  ------------------
 1002|     22|			count = len_counts[++len];
 1003|  1.36k|	}
 1004|    161|}
deflate_decompress.c:make_decode_table_entry:
  389|   263k|{
  390|   263k|	return decode_results[sym] + (len << 8) + len;
  391|   263k|}
deflate_decompress.c:build_offset_decode_table:
 1051|  1.40k|{
 1052|       |	/* When you change TABLEBITS, you must change ENOUGH, and vice versa! */
 1053|  1.40k|	STATIC_ASSERT(OFFSET_TABLEBITS == 8 && OFFSET_ENOUGH == 402);
  ------------------
  |  |  297|  1.40k|#define STATIC_ASSERT(expr)	((void)sizeof(char[1 - 2 * !(expr)]))
  ------------------
 1054|       |
 1055|  1.40k|	STATIC_ASSERT(ARRAY_LEN(offset_decode_results) ==
  ------------------
  |  |  297|  1.40k|#define STATIC_ASSERT(expr)	((void)sizeof(char[1 - 2 * !(expr)]))
  ------------------
 1056|  1.40k|		      DEFLATE_NUM_OFFSET_SYMS);
 1057|       |
 1058|  1.40k|	return build_decode_table(d->offset_decode_table,
 1059|  1.40k|				  d->u.l.lens + num_litlen_syms,
 1060|  1.40k|				  num_offset_syms,
 1061|  1.40k|				  offset_decode_results,
 1062|  1.40k|				  OFFSET_TABLEBITS,
  ------------------
  |  |  374|  1.40k|#define OFFSET_TABLEBITS	8
  ------------------
 1063|  1.40k|				  DEFLATE_MAX_OFFSET_CODEWORD_LEN,
  ------------------
  |  |   41|  1.40k|#define DEFLATE_MAX_OFFSET_CODEWORD_LEN		15
  ------------------
 1064|  1.40k|				  d->sorted_syms,
 1065|       |				  NULL);
 1066|  1.40k|}
deflate_decompress.c:build_litlen_decode_table:
 1030|  1.40k|{
 1031|       |	/* When you change TABLEBITS, you must change ENOUGH, and vice versa! */
 1032|  1.40k|	STATIC_ASSERT(LITLEN_TABLEBITS == 11 && LITLEN_ENOUGH == 2342);
  ------------------
  |  |  297|  1.40k|#define STATIC_ASSERT(expr)	((void)sizeof(char[1 - 2 * !(expr)]))
  ------------------
 1033|       |
 1034|  1.40k|	STATIC_ASSERT(ARRAY_LEN(litlen_decode_results) ==
  ------------------
  |  |  297|  1.40k|#define STATIC_ASSERT(expr)	((void)sizeof(char[1 - 2 * !(expr)]))
  ------------------
 1035|  1.40k|		      DEFLATE_NUM_LITLEN_SYMS);
 1036|       |
 1037|  1.40k|	return build_decode_table(d->u.litlen_decode_table,
 1038|  1.40k|				  d->u.l.lens,
 1039|  1.40k|				  num_litlen_syms,
 1040|  1.40k|				  litlen_decode_results,
 1041|  1.40k|				  LITLEN_TABLEBITS,
  ------------------
  |  |  372|  1.40k|#define LITLEN_TABLEBITS	11
  ------------------
 1042|  1.40k|				  DEFLATE_MAX_LITLEN_CODEWORD_LEN,
  ------------------
  |  |   40|  1.40k|#define DEFLATE_MAX_LITLEN_CODEWORD_LEN		15
  ------------------
 1043|  1.40k|				  d->sorted_syms,
 1044|  1.40k|				  &d->litlen_tablebits);
 1045|  1.40k|}

adler32.c:arch_select_adler32_func:
  107|      2|{
  108|      2|	const u32 features MAYBE_UNUSED = get_x86_cpu_features();
  109|       |
  110|      2|#ifdef adler32_x86_avx512_vl512_vnni
  111|      2|	if ((features & X86_CPU_FEATURE_ZMM) &&
  ------------------
  |  |   46|      2|#define X86_CPU_FEATURE_ZMM		(1 << 5)
  ------------------
  |  Branch (111:6): [True: 0, False: 2]
  ------------------
  112|      0|	    HAVE_AVX512BW(features) && HAVE_AVX512VNNI(features))
  ------------------
  |  |  141|      2|#  define HAVE_AVX512BW(features)	((features) & X86_CPU_FEATURE_AVX512BW)
  |  |  ------------------
  |  |  |  |   47|      0|#define X86_CPU_FEATURE_AVX512BW	(1 << 6)
  |  |  ------------------
  |  |  |  Branch (141:35): [True: 0, False: 0]
  |  |  ------------------
  ------------------
              	    HAVE_AVX512BW(features) && HAVE_AVX512VNNI(features))
  ------------------
  |  |  159|      0|#  define HAVE_AVX512VNNI(features)	((features) & X86_CPU_FEATURE_AVX512VNNI)
  |  |  ------------------
  |  |  |  |   50|      0|#define X86_CPU_FEATURE_AVX512VNNI	(1 << 9)
  |  |  ------------------
  |  |  |  Branch (159:37): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  113|      0|		return adler32_x86_avx512_vl512_vnni;
  ------------------
  |  |   96|      0|#  define adler32_x86_avx512_vl512_vnni	adler32_x86_avx512_vl512_vnni
  ------------------
  114|      2|#endif
  115|      2|#ifdef adler32_x86_avx512_vl256_vnni
  116|      2|	if (HAVE_AVX512BW(features) && HAVE_AVX512VL(features) &&
  ------------------
  |  |  141|      4|#  define HAVE_AVX512BW(features)	((features) & X86_CPU_FEATURE_AVX512BW)
  |  |  ------------------
  |  |  |  |   47|      2|#define X86_CPU_FEATURE_AVX512BW	(1 << 6)
  |  |  ------------------
  |  |  |  Branch (141:35): [True: 0, False: 2]
  |  |  ------------------
  ------------------
              	if (HAVE_AVX512BW(features) && HAVE_AVX512VL(features) &&
  ------------------
  |  |  147|      2|#  define HAVE_AVX512VL(features)	((features) & X86_CPU_FEATURE_AVX512VL)
  |  |  ------------------
  |  |  |  |   48|      0|#define X86_CPU_FEATURE_AVX512VL	(1 << 7)
  |  |  ------------------
  |  |  |  Branch (147:35): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  117|      0|	    HAVE_AVX512VNNI(features))
  ------------------
  |  |  159|      0|#  define HAVE_AVX512VNNI(features)	((features) & X86_CPU_FEATURE_AVX512VNNI)
  |  |  ------------------
  |  |  |  |   50|      0|#define X86_CPU_FEATURE_AVX512VNNI	(1 << 9)
  |  |  ------------------
  |  |  |  Branch (159:37): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  118|      0|		return adler32_x86_avx512_vl256_vnni;
  ------------------
  |  |   84|      0|#  define adler32_x86_avx512_vl256_vnni	adler32_x86_avx512_vl256_vnni
  ------------------
  119|      2|#endif
  120|      2|#ifdef adler32_x86_avx2_vnni
  121|      2|	if (HAVE_AVX2(features) && HAVE_AVXVNNI(features))
  ------------------
  |  |  127|      4|#  define HAVE_AVX2(features)		((features) & X86_CPU_FEATURE_AVX2)
  |  |  ------------------
  |  |  |  |   38|      2|#define X86_CPU_FEATURE_AVX2		(1 << 3)
  |  |  ------------------
  |  |  |  Branch (127:32): [True: 2, False: 0]
  |  |  ------------------
  ------------------
              	if (HAVE_AVX2(features) && HAVE_AVXVNNI(features))
  ------------------
  |  |  165|      2|#  define HAVE_AVXVNNI(features)	((features) & X86_CPU_FEATURE_AVXVNNI)
  |  |  ------------------
  |  |  |  |   51|      2|#define X86_CPU_FEATURE_AVXVNNI		(1 << 10)
  |  |  ------------------
  |  |  |  Branch (165:34): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  122|      0|		return adler32_x86_avx2_vnni;
  ------------------
  |  |   65|      0|#  define adler32_x86_avx2_vnni	adler32_x86_avx2_vnni
  ------------------
  123|      2|#endif
  124|      2|#ifdef adler32_x86_avx2
  125|      2|	if (HAVE_AVX2(features))
  ------------------
  |  |  127|      2|#  define HAVE_AVX2(features)		((features) & X86_CPU_FEATURE_AVX2)
  |  |  ------------------
  |  |  |  |   38|      2|#define X86_CPU_FEATURE_AVX2		(1 << 3)
  |  |  ------------------
  |  |  |  Branch (127:32): [True: 2, False: 0]
  |  |  ------------------
  ------------------
  126|      2|		return adler32_x86_avx2;
  ------------------
  |  |   43|      2|#  define adler32_x86_avx2	adler32_x86_avx2
  ------------------
  127|      0|#endif
  128|      0|#ifdef adler32_x86_sse2
  129|      0|	if (HAVE_SSE2(features))
  ------------------
  |  |  104|      0|#  define HAVE_SSE2(features)		1
  |  |  ------------------
  |  |  |  Branch (104:32): [True: 0, Folded]
  |  |  ------------------
  ------------------
  130|      0|		return adler32_x86_sse2;
  ------------------
  |  |   35|      0|#  define adler32_x86_sse2	adler32_x86_sse2
  ------------------
  131|      0|#endif
  132|      0|	return NULL;
  133|      0|}

adler32.c:adler32_x86_avx2:
  184|  1.53k|{
  185|       |#if USE_VNNI
  186|       |	/* This contains the bytes [VL, VL-1, VL-2, ..., 1]. */
  187|       |	static const u8 _aligned_attribute(VL) raw_mults[VL] = {
  188|       |	#if VL == 64
  189|       |		64, 63, 62, 61, 60, 59, 58, 57, 56, 55, 54, 53, 52, 51, 50, 49,
  190|       |		48, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33,
  191|       |	#endif
  192|       |	#if VL >= 32
  193|       |		32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17,
  194|       |	#endif
  195|       |		16, 15, 14, 13, 12, 11, 10,  9,  8,  7,  6,  5,  4,  3,  2,  1,
  196|       |	};
  197|       |	const vec_t ones = VSET1_8(1);
  198|       |#else
  199|       |	/*
  200|       |	 * This contains the 16-bit values [2*VL, 2*VL - 1, 2*VL - 2, ..., 1].
  201|       |	 * For VL==32 the ordering is weird because it has to match the way that
  202|       |	 * vpunpcklbw and vpunpckhbw work on 128-bit lanes separately.
  203|       |	 */
  204|  1.53k|	static const u16 _aligned_attribute(VL) raw_mults[4][VL / 2] = {
  205|       |	#if VL == 16
  206|       |		{ 32, 31, 30, 29, 28, 27, 26, 25 },
  207|       |		{ 24, 23, 22, 21, 20, 19, 18, 17 },
  208|       |		{ 16, 15, 14, 13, 12, 11, 10, 9  },
  209|       |		{ 8,  7,  6,  5,  4,  3,  2,  1  },
  210|       |	#elif VL == 32
  211|       |		{ 64, 63, 62, 61, 60, 59, 58, 57, 48, 47, 46, 45, 44, 43, 42, 41 },
  212|  1.53k|		{ 56, 55, 54, 53, 52, 51, 50, 49, 40, 39, 38, 37, 36, 35, 34, 33 },
  213|  1.53k|		{ 32, 31, 30, 29, 28, 27, 26, 25, 16, 15, 14, 13, 12, 11, 10,  9 },
  214|  1.53k|		{ 24, 23, 22, 21, 20, 19, 18, 17,  8,  7,  6,  5,  4,  3,  2,  1 },
  215|       |	#else
  216|       |	#  error "unsupported parameters"
  217|       |	#endif
  218|  1.53k|	};
  219|  1.53k|	const vec_t mults_a = VLOAD(raw_mults[0]);
  ------------------
  |  |   90|  1.53k|#  define VLOAD(p)		_mm256_load_si256((const void *)(p))
  ------------------
  220|  1.53k|	const vec_t mults_b = VLOAD(raw_mults[1]);
  ------------------
  |  |   90|  1.53k|#  define VLOAD(p)		_mm256_load_si256((const void *)(p))
  ------------------
  221|  1.53k|	const vec_t mults_c = VLOAD(raw_mults[2]);
  ------------------
  |  |   90|  1.53k|#  define VLOAD(p)		_mm256_load_si256((const void *)(p))
  ------------------
  222|  1.53k|	const vec_t mults_d = VLOAD(raw_mults[3]);
  ------------------
  |  |   90|  1.53k|#  define VLOAD(p)		_mm256_load_si256((const void *)(p))
  ------------------
  223|  1.53k|#endif
  224|  1.53k|	const vec_t zeroes = VSETZERO();
  ------------------
  |  |   98|  1.53k|#  define VSETZERO()		_mm256_setzero_si256()
  ------------------
  225|  1.53k|	u32 s1 = adler & 0xFFFF;
  226|  1.53k|	u32 s2 = adler >> 16;
  227|       |
  228|       |	/*
  229|       |	 * If the length is large and the pointer is misaligned, align it.
  230|       |	 * For smaller lengths, just take the misaligned load penalty.
  231|       |	 */
  232|  1.53k|	if (unlikely(len > 65536 && ((uintptr_t)p & (VL-1)))) {
  ------------------
  |  |  224|  1.55k|#  define unlikely(expr)	__builtin_expect(!!(expr), 0)
  |  |  ------------------
  |  |  |  Branch (224:26): [True: 4, False: 1.52k]
  |  |  |  Branch (224:46): [True: 18, False: 1.51k]
  |  |  |  Branch (224:46): [True: 4, False: 14]
  |  |  ------------------
  ------------------
  233|     64|		do {
  234|     64|			s1 += *p++;
  235|     64|			s2 += s1;
  236|     64|			len--;
  237|     64|		} while ((uintptr_t)p & (VL-1));
  ------------------
  |  |   46|     64|#  define VL			32
  ------------------
  |  Branch (237:12): [True: 60, False: 4]
  ------------------
  238|      4|		s1 %= DIVISOR;
  ------------------
  |  |   31|      4|#define DIVISOR 65521
  ------------------
  239|      4|		s2 %= DIVISOR;
  ------------------
  |  |   31|      4|#define DIVISOR 65521
  ------------------
  240|      4|	}
  241|       |
  242|       |#if USE_VNNI
  243|       |	/*
  244|       |	 * This is Adler-32 using the vpdpbusd instruction from AVX512VNNI or
  245|       |	 * AVX-VNNI.  vpdpbusd multiplies the unsigned bytes of one vector by
  246|       |	 * the signed bytes of another vector and adds the sums in groups of 4
  247|       |	 * to the 32-bit elements of a third vector.  We use it in two ways:
  248|       |	 * multiplying the data bytes by a sequence like 64,63,62,...,1 for
  249|       |	 * calculating part of s2, and multiplying the data bytes by an all-ones
  250|       |	 * sequence 1,1,1,...,1 for calculating s1 and part of s2.  The all-ones
  251|       |	 * trick seems to be faster than the alternative of vpsadbw + vpaddd.
  252|       |	 */
  253|       |	while (len) {
  254|       |		/*
  255|       |		 * Calculate the length of the next data chunk such that s1 and
  256|       |		 * s2 are guaranteed to not exceed UINT32_MAX.
  257|       |		 */
  258|       |		size_t n = MIN(len, MAX_CHUNK_LEN & ~(4*VL - 1));
  259|       |		vec_t mults = VLOAD(raw_mults);
  260|       |		vec_t v_s1 = zeroes;
  261|       |		vec_t v_s2 = zeroes;
  262|       |
  263|       |		s2 += s1 * n;
  264|       |		len -= n;
  265|       |
  266|       |		if (n >= 4*VL) {
  267|       |			vec_t v_s1_b = zeroes;
  268|       |			vec_t v_s1_c = zeroes;
  269|       |			vec_t v_s1_d = zeroes;
  270|       |			vec_t v_s2_b = zeroes;
  271|       |			vec_t v_s2_c = zeroes;
  272|       |			vec_t v_s2_d = zeroes;
  273|       |			vec_t v_s1_sums   = zeroes;
  274|       |			vec_t v_s1_sums_b = zeroes;
  275|       |			vec_t v_s1_sums_c = zeroes;
  276|       |			vec_t v_s1_sums_d = zeroes;
  277|       |			vec_t tmp0, tmp1;
  278|       |
  279|       |			do {
  280|       |				vec_t data_a = VLOADU(p + 0*VL);
  281|       |				vec_t data_b = VLOADU(p + 1*VL);
  282|       |				vec_t data_c = VLOADU(p + 2*VL);
  283|       |				vec_t data_d = VLOADU(p + 3*VL);
  284|       |
  285|       |				/*
  286|       |				 * Workaround for gcc bug where it generates
  287|       |				 * unnecessary move instructions
  288|       |				 * (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107892)
  289|       |				 */
  290|       |			#if GCC_PREREQ(1, 0)
  291|       |				__asm__("" : "+v" (data_a), "+v" (data_b),
  292|       |					     "+v" (data_c), "+v" (data_d));
  293|       |			#endif
  294|       |
  295|       |				v_s2   = VDPBUSD(v_s2,   data_a, mults);
  296|       |				v_s2_b = VDPBUSD(v_s2_b, data_b, mults);
  297|       |				v_s2_c = VDPBUSD(v_s2_c, data_c, mults);
  298|       |				v_s2_d = VDPBUSD(v_s2_d, data_d, mults);
  299|       |
  300|       |				v_s1_sums   = VADD32(v_s1_sums,   v_s1);
  301|       |				v_s1_sums_b = VADD32(v_s1_sums_b, v_s1_b);
  302|       |				v_s1_sums_c = VADD32(v_s1_sums_c, v_s1_c);
  303|       |				v_s1_sums_d = VADD32(v_s1_sums_d, v_s1_d);
  304|       |
  305|       |				v_s1   = VDPBUSD(v_s1,   data_a, ones);
  306|       |				v_s1_b = VDPBUSD(v_s1_b, data_b, ones);
  307|       |				v_s1_c = VDPBUSD(v_s1_c, data_c, ones);
  308|       |				v_s1_d = VDPBUSD(v_s1_d, data_d, ones);
  309|       |
  310|       |				/* Same gcc bug workaround.  See above */
  311|       |			#if GCC_PREREQ(1, 0) && !defined(ARCH_X86_32)
  312|       |				__asm__("" : "+v" (v_s2), "+v" (v_s2_b),
  313|       |					     "+v" (v_s2_c), "+v" (v_s2_d),
  314|       |					     "+v" (v_s1_sums),
  315|       |					     "+v" (v_s1_sums_b),
  316|       |					     "+v" (v_s1_sums_c),
  317|       |					     "+v" (v_s1_sums_d),
  318|       |					     "+v" (v_s1), "+v" (v_s1_b),
  319|       |					     "+v" (v_s1_c), "+v" (v_s1_d));
  320|       |			#endif
  321|       |				p += 4*VL;
  322|       |				n -= 4*VL;
  323|       |			} while (n >= 4*VL);
  324|       |
  325|       |			/*
  326|       |			 * Reduce into v_s1 and v_s2 as follows:
  327|       |			 *
  328|       |			 * v_s2 = v_s2 + v_s2_b + v_s2_c + v_s2_d +
  329|       |			 *	  (4*VL)*(v_s1_sums   + v_s1_sums_b +
  330|       |			 *		  v_s1_sums_c + v_s1_sums_d) +
  331|       |			 *	  (3*VL)*v_s1 + (2*VL)*v_s1_b + VL*v_s1_c
  332|       |			 * v_s1 = v_s1 + v_s1_b + v_s1_c + v_s1_d
  333|       |			 */
  334|       |			tmp0 = VADD32(v_s1, v_s1_b);
  335|       |			tmp1 = VADD32(v_s1, v_s1_c);
  336|       |			v_s1_sums = VADD32_4X(v_s1_sums, v_s1_sums_b,
  337|       |					      v_s1_sums_c, v_s1_sums_d);
  338|       |			v_s1 = VADD32_3X(tmp0, v_s1_c, v_s1_d);
  339|       |			v_s2 = VADD32_7X(VSLL32(v_s1_sums, LOG2_VL + 2),
  340|       |					 VSLL32(tmp0, LOG2_VL + 1),
  341|       |					 VSLL32(tmp1, LOG2_VL),
  342|       |					 v_s2, v_s2_b, v_s2_c, v_s2_d);
  343|       |		}
  344|       |
  345|       |		/* Process the last 0 <= n < 4*VL bytes of the chunk. */
  346|       |		if (n >= 2*VL) {
  347|       |			const vec_t data_a = VLOADU(p + 0*VL);
  348|       |			const vec_t data_b = VLOADU(p + 1*VL);
  349|       |
  350|       |			v_s2 = VADD32(v_s2, VSLL32(v_s1, LOG2_VL + 1));
  351|       |			v_s1 = VDPBUSD(v_s1, data_a, ones);
  352|       |			v_s1 = VDPBUSD(v_s1, data_b, ones);
  353|       |			v_s2 = VDPBUSD(v_s2, data_a, VSET1_8(VL));
  354|       |			v_s2 = VDPBUSD(v_s2, data_a, mults);
  355|       |			v_s2 = VDPBUSD(v_s2, data_b, mults);
  356|       |			p += 2*VL;
  357|       |			n -= 2*VL;
  358|       |		}
  359|       |		if (n) {
  360|       |			/* Process the last 0 < n < 2*VL bytes of the chunk. */
  361|       |			vec_t data;
  362|       |
  363|       |			v_s2 = VADD32(v_s2, VMULLO32(v_s1, VSET1_32(n)));
  364|       |
  365|       |			mults = VADD8(mults, VSET1_8((int)n - VL));
  366|       |			if (n > VL) {
  367|       |				data = VLOADU(p);
  368|       |				v_s1 = VDPBUSD(v_s1, data, ones);
  369|       |				v_s2 = VDPBUSD(v_s2, data, mults);
  370|       |				p += VL;
  371|       |				n -= VL;
  372|       |				mults = VADD8(mults, VSET1_8(-VL));
  373|       |			}
  374|       |			/*
  375|       |			 * Process the last 0 < n <= VL bytes of the chunk.
  376|       |			 * Utilize a masked load if it's available.
  377|       |			 */
  378|       |		#if USE_AVX512
  379|       |			data = VMASKZ_LOADU((mask_t)-1 >> (VL - n), p);
  380|       |		#else
  381|       |			data = zeroes;
  382|       |			memcpy(&data, p, n);
  383|       |		#endif
  384|       |			v_s1 = VDPBUSD(v_s1, data, ones);
  385|       |			v_s2 = VDPBUSD(v_s2, data, mults);
  386|       |			p += n;
  387|       |		}
  388|       |
  389|       |		reduce_to_32bits(v_s1, v_s2, &s1, &s2);
  390|       |		s1 %= DIVISOR;
  391|       |		s2 %= DIVISOR;
  392|       |	}
  393|       |#else /* USE_VNNI */
  394|       |	/*
  395|       |	 * This is Adler-32 for SSE2 and AVX2.
  396|       |	 *
  397|       |	 * To horizontally sum bytes, use psadbw + paddd, where one of the
  398|       |	 * arguments to psadbw is all-zeroes.
  399|       |	 *
  400|       |	 * For the s2 contribution from (2*VL - i)*data[i] for each of the 2*VL
  401|       |	 * bytes of each iteration of the inner loop, use punpck{l,h}bw + paddw
  402|       |	 * to sum, for each i across iterations, byte i into a corresponding
  403|       |	 * 16-bit counter in v_byte_sums_*.  After the inner loop, use pmaddwd
  404|       |	 * to multiply each counter by (2*VL - i), then add the products to s2.
  405|       |	 *
  406|       |	 * An alternative implementation would use pmaddubsw and pmaddwd in the
  407|       |	 * inner loop to do (2*VL - i)*data[i] directly and add the products in
  408|       |	 * groups of 4 to 32-bit counters.  However, on average that approach
  409|       |	 * seems to be slower than the current approach which delays the
  410|       |	 * multiplications.  Also, pmaddubsw requires SSSE3; the current
  411|       |	 * approach keeps the implementation aligned between SSE2 and AVX2.
  412|       |	 *
  413|       |	 * The inner loop processes 2*VL bytes per iteration.  Increasing this
  414|       |	 * to 4*VL doesn't seem to be helpful here.
  415|       |	 */
  416|  4.93k|	while (len) {
  ------------------
  |  Branch (416:9): [True: 3.40k, False: 1.53k]
  ------------------
  417|       |		/*
  418|       |		 * Calculate the length of the next data chunk such that s1 and
  419|       |		 * s2 are guaranteed to not exceed UINT32_MAX, and every
  420|       |		 * v_byte_sums_* counter is guaranteed to not exceed INT16_MAX.
  421|       |		 * It's INT16_MAX, not UINT16_MAX, because v_byte_sums_* are
  422|       |		 * used with pmaddwd which does signed multiplication.  In the
  423|       |		 * SSE2 case this limits chunks to 4096 bytes instead of 5536.
  424|       |		 */
  425|  3.40k|		size_t n = MIN(len, MIN(2 * VL * (INT16_MAX / UINT8_MAX),
  ------------------
  |  |  294|  6.80k|#define MIN(a, b)		((a) <= (b) ? (a) : (b))
  |  |  ------------------
  |  |  |  Branch (294:21): [True: 1.53k, False: 1.86k]
  |  |  |  Branch (294:29): [Folded, False: 3.40k]
  |  |  |  Branch (294:41): [Folded, False: 1.86k]
  |  |  ------------------
  ------------------
  426|  3.40k|					MAX_CHUNK_LEN) & ~(2*VL - 1));
  427|  3.40k|		len -= n;
  428|       |
  429|  3.40k|		if (n >= 2*VL) {
  ------------------
  |  |   46|  3.40k|#  define VL			32
  ------------------
  |  Branch (429:7): [True: 3.36k, False: 33]
  ------------------
  430|  3.36k|			vec_t v_s1 = zeroes;
  ------------------
  |  |   79|  3.36k|#  define vec_t			__m256i
  ------------------
  431|  3.36k|			vec_t v_s1_sums = zeroes;
  ------------------
  |  |   79|  3.36k|#  define vec_t			__m256i
  ------------------
  432|  3.36k|			vec_t v_byte_sums_a = zeroes;
  ------------------
  |  |   79|  3.36k|#  define vec_t			__m256i
  ------------------
  433|  3.36k|			vec_t v_byte_sums_b = zeroes;
  ------------------
  |  |   79|  3.36k|#  define vec_t			__m256i
  ------------------
  434|  3.36k|			vec_t v_byte_sums_c = zeroes;
  ------------------
  |  |   79|  3.36k|#  define vec_t			__m256i
  ------------------
  435|  3.36k|			vec_t v_byte_sums_d = zeroes;
  ------------------
  |  |   79|  3.36k|#  define vec_t			__m256i
  ------------------
  436|  3.36k|			vec_t v_s2;
  ------------------
  |  |   79|  3.36k|#  define vec_t			__m256i
  ------------------
  437|       |
  438|  3.36k|			s2 += s1 * (n & ~(2*VL - 1));
  ------------------
  |  |   46|  3.36k|#  define VL			32
  ------------------
  439|       |
  440|   184k|			do {
  441|   184k|				vec_t data_a = VLOADU(p + 0*VL);
  ------------------
  |  |   79|   184k|#  define vec_t			__m256i
  ------------------
              				vec_t data_a = VLOADU(p + 0*VL);
  ------------------
  |  |   91|   184k|#  define VLOADU(p)		_mm256_loadu_si256((const void *)(p))
  ------------------
  442|   184k|				vec_t data_b = VLOADU(p + 1*VL);
  ------------------
  |  |   79|   184k|#  define vec_t			__m256i
  ------------------
              				vec_t data_b = VLOADU(p + 1*VL);
  ------------------
  |  |   91|   184k|#  define VLOADU(p)		_mm256_loadu_si256((const void *)(p))
  ------------------
  443|       |
  444|   184k|				v_s1_sums = VADD32(v_s1_sums, v_s1);
  ------------------
  |  |   84|   184k|#  define VADD32(a, b)		_mm256_add_epi32((a), (b))
  ------------------
  445|   184k|				v_byte_sums_a = VADD16(v_byte_sums_a,
  ------------------
  |  |   83|   184k|#  define VADD16(a, b)		_mm256_add_epi16((a), (b))
  ------------------
  446|   184k|						       VUNPACKLO8(data_a, zeroes));
  447|   184k|				v_byte_sums_b = VADD16(v_byte_sums_b,
  ------------------
  |  |   83|   184k|#  define VADD16(a, b)		_mm256_add_epi16((a), (b))
  ------------------
  448|   184k|						       VUNPACKHI8(data_a, zeroes));
  449|   184k|				v_byte_sums_c = VADD16(v_byte_sums_c,
  ------------------
  |  |   83|   184k|#  define VADD16(a, b)		_mm256_add_epi16((a), (b))
  ------------------
  450|   184k|						       VUNPACKLO8(data_b, zeroes));
  451|   184k|				v_byte_sums_d = VADD16(v_byte_sums_d,
  ------------------
  |  |   83|   184k|#  define VADD16(a, b)		_mm256_add_epi16((a), (b))
  ------------------
  452|   184k|						       VUNPACKHI8(data_b, zeroes));
  453|   184k|				v_s1 = VADD32(v_s1,
  ------------------
  |  |   84|   184k|#  define VADD32(a, b)		_mm256_add_epi32((a), (b))
  ------------------
  454|   184k|					      VADD32(VSAD8(data_a, zeroes),
  455|   184k|						     VSAD8(data_b, zeroes)));
  456|       |				/*
  457|       |				 * Workaround for gcc bug where it generates
  458|       |				 * unnecessary move instructions
  459|       |				 * (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107892)
  460|       |				 */
  461|       |			#if GCC_PREREQ(1, 0)
  462|       |				__asm__("" : "+x" (v_s1), "+x" (v_s1_sums),
  463|       |					     "+x" (v_byte_sums_a),
  464|       |					     "+x" (v_byte_sums_b),
  465|       |					     "+x" (v_byte_sums_c),
  466|       |					     "+x" (v_byte_sums_d));
  467|       |			#endif
  468|   184k|				p += 2*VL;
  ------------------
  |  |   46|   184k|#  define VL			32
  ------------------
  469|   184k|				n -= 2*VL;
  ------------------
  |  |   46|   184k|#  define VL			32
  ------------------
  470|   184k|			} while (n >= 2*VL);
  ------------------
  |  |   46|   184k|#  define VL			32
  ------------------
  |  Branch (470:13): [True: 181k, False: 3.36k]
  ------------------
  471|       |
  472|       |			/*
  473|       |			 * Calculate v_s2 as (2*VL)*v_s1_sums +
  474|       |			 * [2*VL, 2*VL - 1, 2*VL - 2, ..., 1] * v_byte_sums.
  475|       |			 * Then update s1 and s2 from v_s1 and v_s2.
  476|       |			 */
  477|  3.36k|			v_s2 = VADD32_5X(VSLL32(v_s1_sums, LOG2_VL + 1),
  ------------------
  |  |  128|  3.36k|#define VADD32_5X(a, b, c, d, e) VADD32((a), VADD32_4X((b), (c), (d), (e)))
  |  |  ------------------
  |  |  |  |   84|  3.36k|#  define VADD32(a, b)		_mm256_add_epi32((a), (b))
  |  |  ------------------
  ------------------
  478|  3.36k|					 VMADD16(v_byte_sums_a, mults_a),
  479|  3.36k|					 VMADD16(v_byte_sums_b, mults_b),
  480|  3.36k|					 VMADD16(v_byte_sums_c, mults_c),
  481|  3.36k|					 VMADD16(v_byte_sums_d, mults_d));
  482|  3.36k|			reduce_to_32bits(v_s1, v_s2, &s1, &s2);
  ------------------
  |  |  180|  3.36k|#define reduce_to_32bits	ADD_SUFFIX(reduce_to_32bits)
  |  |  ------------------
  |  |  |  |  104|  3.36k|#define ADD_SUFFIX(name)	CONCAT(name, SUFFIX)
  |  |  |  |  ------------------
  |  |  |  |  |  |  103|  3.36k|#define CONCAT(a, b)		CONCAT_IMPL(a, b)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  102|  3.36k|#define CONCAT_IMPL(a, b)	a##b
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  483|  3.36k|		}
  484|       |		/*
  485|       |		 * Process the last 0 <= n < 2*VL bytes of the chunk using
  486|       |		 * scalar instructions and reduce s1 and s2 mod DIVISOR.
  487|       |		 */
  488|  3.40k|		ADLER32_CHUNK(s1, s2, p, n);
  ------------------
  |  |   75|  3.40k|#define ADLER32_CHUNK(s1, s2, p, n)					\
  |  |   76|  3.40k|do {									\
  |  |   77|  3.40k|	if (n >= 4) {							\
  |  |  ------------------
  |  |  |  Branch (77:6): [True: 1.29k, False: 2.10k]
  |  |  ------------------
  |  |   78|  1.29k|		u32 s1_sum = 0;						\
  |  |   79|  1.29k|		u32 byte_0_sum = 0;					\
  |  |   80|  1.29k|		u32 byte_1_sum = 0;					\
  |  |   81|  1.29k|		u32 byte_2_sum = 0;					\
  |  |   82|  1.29k|		u32 byte_3_sum = 0;					\
  |  |   83|  1.29k|									\
  |  |   84|  11.2k|		do {							\
  |  |   85|  11.2k|			s1_sum += s1;					\
  |  |   86|  11.2k|			s1 += p[0] + p[1] + p[2] + p[3];		\
  |  |   87|  11.2k|			byte_0_sum += p[0];				\
  |  |   88|  11.2k|			byte_1_sum += p[1];				\
  |  |   89|  11.2k|			byte_2_sum += p[2];				\
  |  |   90|  11.2k|			byte_3_sum += p[3];				\
  |  |   91|  11.2k|			p += 4;						\
  |  |   92|  11.2k|			n -= 4;						\
  |  |   93|  11.2k|		} while (n >= 4);					\
  |  |  ------------------
  |  |  |  Branch (93:12): [True: 9.90k, False: 1.29k]
  |  |  ------------------
  |  |   94|  1.29k|		s2 += (4 * (s1_sum + byte_0_sum)) + (3 * byte_1_sum) +	\
  |  |   95|  1.29k|		      (2 * byte_2_sum) + byte_3_sum;			\
  |  |   96|  1.29k|	}								\
  |  |   97|  5.65k|	for (; n; n--, p++) {						\
  |  |  ------------------
  |  |  |  Branch (97:9): [True: 2.25k, False: 3.40k]
  |  |  ------------------
  |  |   98|  2.25k|		s1 += *p;						\
  |  |   99|  2.25k|		s2 += s1;						\
  |  |  100|  2.25k|	}								\
  |  |  101|  3.40k|	s1 %= DIVISOR;							\
  |  |  ------------------
  |  |  |  |   31|  3.40k|#define DIVISOR 65521
  |  |  ------------------
  |  |  102|  3.40k|	s2 %= DIVISOR;							\
  |  |  ------------------
  |  |  |  |   31|  3.40k|#define DIVISOR 65521
  |  |  ------------------
  |  |  103|  3.40k|} while (0)
  |  |  ------------------
  |  |  |  Branch (103:10): [Folded, False: 3.40k]
  |  |  ------------------
  ------------------
  489|  3.40k|	}
  490|  1.53k|#endif /* !USE_VNNI */
  491|  1.53k|	return (s2 << 16) | s1;
  492|  1.53k|}
adler32.c:reduce_to_32bits_avx2:
  136|  3.36k|{
  137|  3.36k|	__m128i v_s1_128, v_s2_128;
  138|       |#if VL == 16
  139|       |	{
  140|       |		v_s1_128 = v_s1;
  141|       |		v_s2_128 = v_s2;
  142|       |	}
  143|       |#else
  144|  3.36k|	{
  145|  3.36k|		__m256i v_s1_256, v_s2_256;
  146|  3.36k|	#if VL == 32
  147|  3.36k|		v_s1_256 = v_s1;
  148|  3.36k|		v_s2_256 = v_s2;
  149|       |	#else
  150|       |		/* Reduce 512 bits to 256 bits. */
  151|       |		v_s1_256 = _mm256_add_epi32(_mm512_extracti64x4_epi64(v_s1, 0),
  152|       |					    _mm512_extracti64x4_epi64(v_s1, 1));
  153|       |		v_s2_256 = _mm256_add_epi32(_mm512_extracti64x4_epi64(v_s2, 0),
  154|       |					    _mm512_extracti64x4_epi64(v_s2, 1));
  155|       |	#endif
  156|       |		/* Reduce 256 bits to 128 bits. */
  157|  3.36k|		v_s1_128 = _mm_add_epi32(_mm256_extracti128_si256(v_s1_256, 0),
  158|  3.36k|					 _mm256_extracti128_si256(v_s1_256, 1));
  159|  3.36k|		v_s2_128 = _mm_add_epi32(_mm256_extracti128_si256(v_s2_256, 0),
  160|  3.36k|					 _mm256_extracti128_si256(v_s2_256, 1));
  161|  3.36k|	}
  162|  3.36k|#endif
  163|       |
  164|       |	/*
  165|       |	 * Reduce 128 bits to 32 bits.
  166|       |	 *
  167|       |	 * If the bytes were summed into v_s1 using psadbw + paddd, then ignore
  168|       |	 * the odd-indexed elements of v_s1_128 since they are zero.
  169|       |	 */
  170|       |#if USE_VNNI
  171|       |	v_s1_128 = _mm_add_epi32(v_s1_128, _mm_shuffle_epi32(v_s1_128, 0x31));
  172|       |#endif
  173|  3.36k|	v_s2_128 = _mm_add_epi32(v_s2_128, _mm_shuffle_epi32(v_s2_128, 0x31));
  174|  3.36k|	v_s1_128 = _mm_add_epi32(v_s1_128, _mm_shuffle_epi32(v_s1_128, 0x02));
  175|  3.36k|	v_s2_128 = _mm_add_epi32(v_s2_128, _mm_shuffle_epi32(v_s2_128, 0x02));
  176|       |
  177|  3.36k|	*s1_p += (u32)_mm_cvtsi128_si32(v_s1_128);
  178|  3.36k|	*s2_p += (u32)_mm_cvtsi128_si32(v_s2_128);
  179|  3.36k|}

libdeflate_init_x86_cpu_features:
  141|      2|{
  142|      2|	u32 max_leaf;
  143|      2|	u32 manufacturer[3];
  144|      2|	u32 family, model;
  145|      2|	u32 a, b, c, d;
  146|      2|	u64 xcr0 = 0;
  147|      2|	u32 features = 0;
  148|       |
  149|       |	/* EAX=0: Highest Function Parameter and Manufacturer ID */
  150|      2|	cpuid(0, 0, &max_leaf, &manufacturer[0], &manufacturer[2],
  151|      2|	      &manufacturer[1]);
  152|      2|	if (max_leaf < 1)
  ------------------
  |  Branch (152:6): [True: 0, False: 2]
  ------------------
  153|      0|		goto out;
  154|       |
  155|       |	/* EAX=1: Processor Info and Feature Bits */
  156|      2|	cpuid(1, 0, &a, &b, &c, &d);
  157|      2|	family = (a >> 8) & 0xf;
  158|      2|	model = (a >> 4) & 0xf;
  159|      2|	if (family == 6 || family == 0xf)
  ------------------
  |  Branch (159:6): [True: 2, False: 0]
  |  Branch (159:21): [True: 0, False: 0]
  ------------------
  160|      2|		model += (a >> 12) & 0xf0;
  161|      2|	if (family == 0xf)
  ------------------
  |  Branch (161:6): [True: 0, False: 2]
  ------------------
  162|      0|		family += (a >> 20) & 0xff;
  163|      2|	if (d & (1 << 26))
  ------------------
  |  Branch (163:6): [True: 2, False: 0]
  ------------------
  164|      2|		features |= X86_CPU_FEATURE_SSE2;
  ------------------
  |  |   35|      2|#define X86_CPU_FEATURE_SSE2		(1 << 0)
  ------------------
  165|       |	/*
  166|       |	 * No known CPUs have pclmulqdq without sse4.1, so in practice code
  167|       |	 * targeting pclmulqdq can use sse4.1 instructions.  But to be safe,
  168|       |	 * explicitly check for both the pclmulqdq and sse4.1 bits.
  169|       |	 */
  170|      2|	if ((c & (1 << 1)) && (c & (1 << 19)))
  ------------------
  |  Branch (170:6): [True: 2, False: 0]
  |  Branch (170:24): [True: 2, False: 0]
  ------------------
  171|      2|		features |= X86_CPU_FEATURE_PCLMULQDQ;
  ------------------
  |  |   36|      2|#define X86_CPU_FEATURE_PCLMULQDQ	(1 << 1)
  ------------------
  172|      2|	if (c & (1 << 27))
  ------------------
  |  Branch (172:6): [True: 2, False: 0]
  ------------------
  173|      2|		xcr0 = read_xcr(0);
  174|      2|	if ((c & (1 << 28)) && ((xcr0 & 0x6) == 0x6))
  ------------------
  |  Branch (174:6): [True: 2, False: 0]
  |  Branch (174:25): [True: 2, False: 0]
  ------------------
  175|      2|		features |= X86_CPU_FEATURE_AVX;
  ------------------
  |  |   37|      2|#define X86_CPU_FEATURE_AVX		(1 << 2)
  ------------------
  176|       |
  177|      2|	if (max_leaf < 7)
  ------------------
  |  Branch (177:6): [True: 0, False: 2]
  ------------------
  178|      0|		goto out;
  179|       |
  180|       |	/* EAX=7, ECX=0: Extended Features */
  181|      2|	cpuid(7, 0, &a, &b, &c, &d);
  182|      2|	if (b & (1 << 8))
  ------------------
  |  Branch (182:6): [True: 2, False: 0]
  ------------------
  183|      2|		features |= X86_CPU_FEATURE_BMI2;
  ------------------
  |  |   39|      2|#define X86_CPU_FEATURE_BMI2		(1 << 4)
  ------------------
  184|      2|	if ((xcr0 & 0x6) == 0x6) {
  ------------------
  |  Branch (184:6): [True: 2, False: 0]
  ------------------
  185|      2|		if (b & (1 << 5))
  ------------------
  |  Branch (185:7): [True: 2, False: 0]
  ------------------
  186|      2|			features |= X86_CPU_FEATURE_AVX2;
  ------------------
  |  |   38|      2|#define X86_CPU_FEATURE_AVX2		(1 << 3)
  ------------------
  187|      2|		if (c & (1 << 10))
  ------------------
  |  Branch (187:7): [True: 0, False: 2]
  ------------------
  188|      0|			features |= X86_CPU_FEATURE_VPCLMULQDQ;
  ------------------
  |  |   49|      0|#define X86_CPU_FEATURE_VPCLMULQDQ	(1 << 8)
  ------------------
  189|      2|	}
  190|      2|	if (os_supports_avx512(xcr0)) {
  ------------------
  |  Branch (190:6): [True: 0, False: 2]
  ------------------
  191|      0|		if (allow_512bit_vectors(manufacturer, family, model))
  ------------------
  |  Branch (191:7): [True: 0, False: 0]
  ------------------
  192|      0|			features |= X86_CPU_FEATURE_ZMM;
  ------------------
  |  |   46|      0|#define X86_CPU_FEATURE_ZMM		(1 << 5)
  ------------------
  193|      0|		if (b & (1 << 30))
  ------------------
  |  Branch (193:7): [True: 0, False: 0]
  ------------------
  194|      0|			features |= X86_CPU_FEATURE_AVX512BW;
  ------------------
  |  |   47|      0|#define X86_CPU_FEATURE_AVX512BW	(1 << 6)
  ------------------
  195|      0|		if (b & (1U << 31))
  ------------------
  |  Branch (195:7): [True: 0, False: 0]
  ------------------
  196|      0|			features |= X86_CPU_FEATURE_AVX512VL;
  ------------------
  |  |   48|      0|#define X86_CPU_FEATURE_AVX512VL	(1 << 7)
  ------------------
  197|      0|		if (c & (1 << 11))
  ------------------
  |  Branch (197:7): [True: 0, False: 0]
  ------------------
  198|      0|			features |= X86_CPU_FEATURE_AVX512VNNI;
  ------------------
  |  |   50|      0|#define X86_CPU_FEATURE_AVX512VNNI	(1 << 9)
  ------------------
  199|      0|	}
  200|       |
  201|       |	/* EAX=7, ECX=1: Extended Features */
  202|      2|	cpuid(7, 1, &a, &b, &c, &d);
  203|      2|	if ((a & (1 << 4)) && ((xcr0 & 0x6) == 0x6))
  ------------------
  |  Branch (203:6): [True: 0, False: 2]
  |  Branch (203:24): [True: 0, False: 0]
  ------------------
  204|      0|		features |= X86_CPU_FEATURE_AVXVNNI;
  ------------------
  |  |   51|      0|#define X86_CPU_FEATURE_AVXVNNI		(1 << 10)
  ------------------
  205|       |
  206|      2|out:
  207|      2|	disable_cpu_features_for_testing(&features, x86_cpu_feature_table,
  208|      2|					 ARRAY_LEN(x86_cpu_feature_table));
  ------------------
  |  |  293|      2|#define ARRAY_LEN(A)		(sizeof(A) / sizeof((A)[0]))
  ------------------
  209|       |
  210|      2|	libdeflate_x86_cpu_features = features | X86_CPU_FEATURES_KNOWN;
  ------------------
  |  |   55|      2|#  define X86_CPU_FEATURES_KNOWN	(1U << 31)
  ------------------
  211|      2|}
cpu_features.c:cpuid:
   37|      8|{
   38|       |#ifdef _MSC_VER
   39|       |	int result[4];
   40|       |
   41|       |	__cpuidex(result, leaf, subleaf);
   42|       |	*a = result[0];
   43|       |	*b = result[1];
   44|       |	*c = result[2];
   45|       |	*d = result[3];
   46|       |#else
   47|      8|	__asm__ volatile("cpuid" : "=a" (*a), "=b" (*b), "=c" (*c), "=d" (*d)
   48|      8|			 : "a" (leaf), "c" (subleaf));
   49|      8|#endif
   50|      8|}
cpu_features.c:read_xcr:
   55|      2|{
   56|       |#ifdef _MSC_VER
   57|       |	return _xgetbv(index);
   58|       |#else
   59|      2|	u32 d, a;
   60|       |
   61|       |	/*
   62|       |	 * Execute the "xgetbv" instruction.  Old versions of binutils do not
   63|       |	 * recognize this instruction, so list the raw bytes instead.
   64|       |	 *
   65|       |	 * This must be 'volatile' to prevent this code from being moved out
   66|       |	 * from under the check for OSXSAVE.
   67|       |	 */
   68|      2|	__asm__ volatile(".byte 0x0f, 0x01, 0xd0" :
   69|      2|			 "=d" (d), "=a" (a) : "c" (index));
   70|       |
   71|      2|	return ((u64)d << 32) | a;
   72|      2|#endif
   73|      2|}
cpu_features.c:os_supports_avx512:
   93|      2|{
   94|       |#ifdef __APPLE__
   95|       |	/*
   96|       |	 * The Darwin kernel had a bug where it could corrupt the opmask
   97|       |	 * registers.  See
   98|       |	 * https://community.intel.com/t5/Software-Tuning-Performance/MacOS-Darwin-kernel-bug-clobbers-AVX-512-opmask-register-state/m-p/1327259
   99|       |	 * Darwin also does not initially set the XCR0 bits for AVX512, but they
  100|       |	 * are set if the thread tries to use AVX512 anyway.  Thus, to safely
  101|       |	 * and consistently use AVX512 on macOS we'd need to check the kernel
  102|       |	 * version as well as detect AVX512 support using a macOS-specific
  103|       |	 * method.  We don't bother with this, especially given Apple's
  104|       |	 * transition to arm64.
  105|       |	 */
  106|       |	return false;
  107|       |#else
  108|      2|	return (xcr0 & 0xe6) == 0xe6;
  109|      2|#endif
  110|      2|}

deflate_decompress.c:get_x86_cpu_features:
   61|      2|{
   62|      2|	if (libdeflate_x86_cpu_features == 0)
  ------------------
  |  Branch (62:6): [True: 2, False: 0]
  ------------------
   63|      2|		libdeflate_init_x86_cpu_features();
   64|      2|	return libdeflate_x86_cpu_features;
   65|      2|}
adler32.c:get_x86_cpu_features:
   61|      2|{
   62|      2|	if (libdeflate_x86_cpu_features == 0)
  ------------------
  |  Branch (62:6): [True: 0, False: 2]
  ------------------
   63|      0|		libdeflate_init_x86_cpu_features();
   64|      2|	return libdeflate_x86_cpu_features;
   65|      2|}

deflate_decompress.c:arch_select_decompress_func:
   47|      2|{
   48|      2|#ifdef deflate_decompress_bmi2
   49|      2|	if (HAVE_BMI2(get_x86_cpu_features()))
  ------------------
  |  |  134|      2|#  define HAVE_BMI2(features)		((features) & X86_CPU_FEATURE_BMI2)
  |  |  ------------------
  |  |  |  |   39|      2|#define X86_CPU_FEATURE_BMI2		(1 << 4)
  |  |  ------------------
  |  |  |  Branch (134:32): [True: 2, False: 0]
  |  |  ------------------
  ------------------
   50|      2|		return deflate_decompress_bmi2;
  ------------------
  |  |   19|      2|#  define deflate_decompress_bmi2	deflate_decompress_bmi2
  ------------------
   51|      0|#endif
   52|      0|	return NULL;
   53|      2|}

libdeflate_zlib_decompress_ex:
   37|  1.53k|{
   38|  1.53k|	const u8 *in_next = in;
   39|  1.53k|	const u8 * const in_end = in_next + in_nbytes;
   40|  1.53k|	u16 hdr;
   41|  1.53k|	size_t actual_in_nbytes;
   42|  1.53k|	size_t actual_out_nbytes;
   43|  1.53k|	enum libdeflate_result result;
   44|       |
   45|  1.53k|	if (in_nbytes < ZLIB_MIN_OVERHEAD)
  ------------------
  |  |   10|  1.53k|#define ZLIB_MIN_OVERHEAD	(ZLIB_MIN_HEADER_SIZE + ZLIB_FOOTER_SIZE)
  |  |  ------------------
  |  |  |  |    8|  1.53k|#define ZLIB_MIN_HEADER_SIZE	2
  |  |  ------------------
  |  |               #define ZLIB_MIN_OVERHEAD	(ZLIB_MIN_HEADER_SIZE + ZLIB_FOOTER_SIZE)
  |  |  ------------------
  |  |  |  |    9|  1.53k|#define ZLIB_FOOTER_SIZE	4
  |  |  ------------------
  ------------------
  |  Branch (45:6): [True: 0, False: 1.53k]
  ------------------
   46|      0|		return LIBDEFLATE_BAD_DATA;
   47|       |
   48|       |	/* 2 byte header: CMF and FLG  */
   49|  1.53k|	hdr = get_unaligned_be16(in_next);
   50|  1.53k|	in_next += 2;
   51|       |
   52|       |	/* FCHECK */
   53|  1.53k|	if ((hdr % 31) != 0)
  ------------------
  |  Branch (53:6): [True: 0, False: 1.53k]
  ------------------
   54|      0|		return LIBDEFLATE_BAD_DATA;
   55|       |
   56|       |	/* CM */
   57|  1.53k|	if (((hdr >> 8) & 0xF) != ZLIB_CM_DEFLATE)
  ------------------
  |  |   12|  1.53k|#define ZLIB_CM_DEFLATE		8
  ------------------
  |  Branch (57:6): [True: 0, False: 1.53k]
  ------------------
   58|      0|		return LIBDEFLATE_BAD_DATA;
   59|       |
   60|       |	/* CINFO */
   61|  1.53k|	if ((hdr >> 12) > ZLIB_CINFO_32K_WINDOW)
  ------------------
  |  |   14|  1.53k|#define ZLIB_CINFO_32K_WINDOW	7
  ------------------
  |  Branch (61:6): [True: 0, False: 1.53k]
  ------------------
   62|      0|		return LIBDEFLATE_BAD_DATA;
   63|       |
   64|       |	/* FDICT */
   65|  1.53k|	if ((hdr >> 5) & 1)
  ------------------
  |  Branch (65:6): [True: 0, False: 1.53k]
  ------------------
   66|      0|		return LIBDEFLATE_BAD_DATA;
   67|       |
   68|       |	/* Compressed data  */
   69|  1.53k|	result = libdeflate_deflate_decompress_ex(d, in_next,
   70|  1.53k|					in_end - ZLIB_FOOTER_SIZE - in_next,
  ------------------
  |  |    9|  1.53k|#define ZLIB_FOOTER_SIZE	4
  ------------------
   71|  1.53k|					out, out_nbytes_avail,
   72|  1.53k|					&actual_in_nbytes, actual_out_nbytes_ret);
   73|  1.53k|	if (result != LIBDEFLATE_SUCCESS)
  ------------------
  |  Branch (73:6): [True: 0, False: 1.53k]
  ------------------
   74|      0|		return result;
   75|       |
   76|  1.53k|	if (actual_out_nbytes_ret)
  ------------------
  |  Branch (76:6): [True: 1.53k, False: 0]
  ------------------
   77|  1.53k|		actual_out_nbytes = *actual_out_nbytes_ret;
   78|      0|	else
   79|      0|		actual_out_nbytes = out_nbytes_avail;
   80|       |
   81|  1.53k|	in_next += actual_in_nbytes;
   82|       |
   83|       |	/* ADLER32  */
   84|  1.53k|	if (libdeflate_adler32(1, out, actual_out_nbytes) !=
  ------------------
  |  Branch (84:6): [True: 0, False: 1.53k]
  ------------------
   85|  1.53k|	    get_unaligned_be32(in_next))
   86|      0|		return LIBDEFLATE_BAD_DATA;
   87|  1.53k|	in_next += 4;
   88|       |
   89|  1.53k|	if (actual_in_nbytes_ret)
  ------------------
  |  Branch (89:6): [True: 0, False: 1.53k]
  ------------------
   90|      0|		*actual_in_nbytes_ret = in_next - (u8 *)in;
   91|       |
   92|  1.53k|	return LIBDEFLATE_SUCCESS;
   93|  1.53k|}
libdeflate_zlib_decompress:
  100|  1.53k|{
  101|  1.53k|	return libdeflate_zlib_decompress_ex(d, in, in_nbytes,
  102|  1.53k|					     out, out_nbytes_avail,
  103|       |					     NULL, actual_out_nbytes_ret);
  104|  1.53k|}

